@cleartrip/ct-design-rating 1.4.0-SNAPSHOT-testpeekCarousel.0 → 1.4.0-SNAPSHOT-rnwStable4Dec25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,28 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('styled-components'), require('react'), require('@cleartrip/ct-design-container'), require('@cleartrip/ct-design-icons')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'styled-components', 'react', '@cleartrip/ct-design-container', '@cleartrip/ct-design-icons'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CTDesignSystemRating = {}, global.jsxRuntime, null, global.React, global.ctDesignContainer, global.ctDesignIcons));
5
- })(this, (function (exports, jsxRuntime, styledComponents, react, ctDesignContainer, ctDesignIcons) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('@cleartrip/ct-design-container'), require('@cleartrip/ct-design-icons')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', '@cleartrip/ct-design-container', '@cleartrip/ct-design-icons'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CTDesignSystemRating = {}, global.jsxRuntime, global.React, global.ctDesignContainer, global.ctDesignIcons));
5
+ })(this, (function (exports, jsxRuntime, React, ctDesignContainer, ctDesignIcons) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n.default = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
6
26
 
7
27
  /******************************************************************************
8
28
  Copyright (c) Microsoft Corporation.
@@ -37,22 +57,26 @@
37
57
 
38
58
  var border = {
39
59
  radius: {
40
- 0: '0px',
41
- 2: '2px',
42
- 4: '4px',
43
- 6: '6px',
44
- 8: '8px',
45
- 12: '12px',
46
- 16: '16px',
47
- 30: '30px',
48
- 32: '32px',
49
- '50P': '50%'
60
+ 0: 0,
61
+ 2: 2,
62
+ 4: 4,
63
+ 6: 6,
64
+ 8: 8,
65
+ 12: 12,
66
+ 16: 16,
67
+ 20: 20,
68
+ 24: 24,
69
+ 30: 30,
70
+ 32: 32,
71
+ '50P': '50%',
72
+ 60: 60
50
73
  },
51
74
  width: {
52
- none: '0px',
53
- sm: '1px',
54
- md: '1.5px',
55
- lg: '2px'
75
+ none: 0,
76
+ sm: 1,
77
+ md: 1.5,
78
+ lg: 2,
79
+ xl: 5
56
80
  },
57
81
  style: {
58
82
  solid: 'solid',
@@ -62,37 +86,54 @@
62
86
  };
63
87
  var colors = {
64
88
  alert: '#DF9641',
65
- alertBg: '#FCF7F0',
66
89
  alert100: '#FFF8D4',
67
- alertText: '#DF9641',
68
90
  alert500: '#A06800',
91
+ alertBg: '#FCF7F0',
92
+ alertText: '#DF9641',
93
+ aqua100: '#082395',
94
+ aqua250: '#081C82',
69
95
  bgPrimary: '#ED6521',
70
96
  bgPrimaryHover: '#CE4501',
97
+ black: '#1A1A1A',
71
98
  blue100: '#ECF3FF',
72
99
  blue500: '#0F6BFF',
73
100
  blue900: '#0E3A81',
74
101
  bluePrimary500: '#2A55E5',
75
102
  blueSecondary: '#F0F5FF',
103
+ blueSky500: '#3C6CE6',
76
104
  brand: '#FF4F17',
77
105
  brandBg: '#FEF3ED',
78
106
  brandText: '#FF4F17',
107
+ brown: '#231B18',
108
+ coralpink: '#F48B6E',
79
109
  curacao250: '#9FE3EA',
80
110
  curacao900: '#032529',
111
+ darkGrey: '#313131',
112
+ darkNeutral300: '#E0E0E0',
81
113
  disabled100: '#E6E6E6',
82
114
  disabled250: '#DDDDDD',
83
115
  disabledLight: '#EFEFEF',
84
116
  disabledText: '#B3B3B3',
117
+ grapetini900: '#5f1ab6',
118
+ gray100: '#2E3042',
119
+ gray250: '#1A1C23',
120
+ gray500: '#ffffffb1',
121
+ greenFresh500: '#61C149',
85
122
  highlightBg: 'rgba(255, 255, 255, 0.2)',
123
+ lightCyan: '#ECF9FB',
124
+ lightSkyBlue: '#88CDFF',
86
125
  line: '#E7E7E7',
87
126
  lineDarkNeutral300: '#E0E0E0',
127
+ link: '#0F6BFF',
88
128
  link2: '#3366CC',
89
129
  link2Hover: '#1A469D',
90
- link: '#0F6BFF',
91
130
  linkBg: '#EFF3FB',
92
131
  linkText: '#0F6BFF',
93
132
  margarita100: '#F2FAF0',
94
133
  margarita250: '#C0E6B6',
95
134
  margarita750: '#3A742C',
135
+ mintCream: '#F0FAF6',
136
+ neutral50: '#FFFFFF80',
96
137
  neutral100: '#FFFFFF',
97
138
  neutral200: '#FAFAFD',
98
139
  neutral300: '#F3F3F3',
@@ -102,34 +143,27 @@
102
143
  neutral700: '#808080',
103
144
  neutral900: '#1A1A1A',
104
145
  orange100: '#FFF1EC',
146
+ orange200: '#FFF1ED',
105
147
  orange250: '#FFB8A5',
106
148
  orange500: '#FF4F17',
107
- pinaColada250: '#FEE3A0',
108
149
  pinaColada100: '#FFF9EC',
150
+ pinaColada250: '#FEE3A0',
109
151
  pinaColada750: '#98700B',
152
+ pinkVibrant500: '#EF4E9B',
110
153
  primaryNeutral900: '#212121',
154
+ purple100: '#350041',
155
+ purple250: '#130016',
156
+ purpleRoyal500: '#8B39F1',
157
+ sandGrey100: '#fef5f2',
111
158
  shadow: '#1a1a1a14',
159
+ success: '#11A670',
112
160
  success500: '#11A670',
113
161
  success600: '#0DA86D',
114
- success: '#11A670',
115
162
  successBg: '#ECF8F4',
116
163
  successText: '#11A670',
117
- warning: '#C83232',
118
- warningBg: '#FBEFEF',
119
- warningText: '#C83232',
120
- yellowSecondary: '#FFC200',
121
- purple100: '#350041',
122
- purple250: '#130016',
123
- gray100: '#2E3042',
124
- gray250: '#1A1C23',
125
- aqua100: '#082395',
126
- aqua250: '#081C82',
127
- black: '#1A1A1A',
128
- grapetini900: '#5f1ab6',
129
- transparent: '#00000000',
130
- superGreen500: '#B5EF85',
131
164
  superBlue25: '#EBEFFF',
132
165
  superBlue500: '#4D43FE',
166
+ superGreen500: '#B5EF85',
133
167
  superGrey50: '#F9FAFB',
134
168
  superGrey200: '#EAECF0',
135
169
  superGrey300: '#D0D5DD',
@@ -137,12 +171,14 @@
137
171
  superGrey500: '#667085',
138
172
  superGrey700: '#344054',
139
173
  superGrey800: '#1D2939',
140
- systemRed500: '#FA2617',
141
174
  systemGreen500: '#12B76A',
142
- neutral50: '#FFFFFF80',
143
- coralpink: '#F48B6E',
144
- brown: '#231B18',
145
- green700: '#006A29'
175
+ systemRed500: '#FA2617',
176
+ transparent: '#00000000',
177
+ warning: '#C83232',
178
+ warningBg: '#FBEFEF',
179
+ warningText: '#C83232',
180
+ yellowSecondary: '#FFC200',
181
+ yellowSun500: '#FDBA12'
146
182
  };
147
183
  var elevation = {
148
184
  bottomE1: '0px 1px 0px #E7E7E7',
@@ -158,41 +194,52 @@
158
194
  modalBlurHeavy: 'rgb(0 0 0 / 12%) 0px 9px 22px 18px'
159
195
  };
160
196
  var size = {
161
- 0: '0px',
162
- 1: '4px',
163
- 2: '8px',
164
- '2.5': '10px',
165
- 3: '12px',
166
- 4: '16px',
167
- 5: '20px',
168
- 6: '24px',
169
- 7: '28px',
170
- 8: '32px',
171
- 9: '36px',
172
- 10: '40px',
173
- 11: '44px',
174
- 12: '48px',
175
- 13: '52px',
176
- 14: '56px',
177
- 15: '60px',
178
- 50: '200px'
197
+ 0: 0,
198
+ 0.5: 2,
199
+ 1: 4,
200
+ 2: 8,
201
+ '2.5': 10,
202
+ 3: 12,
203
+ 4: 16,
204
+ 5: 20,
205
+ 6: 24,
206
+ 7: 28,
207
+ 8: 32,
208
+ 9: 36,
209
+ 10: 40,
210
+ 11: 44,
211
+ 12: 48,
212
+ 13: 52,
213
+ 14: 56,
214
+ 15: 60,
215
+ 16: 64,
216
+ 19: 76,
217
+ 20: 80,
218
+ 50: 200,
219
+ 55: 220,
220
+ '50P': '50%',
221
+ '100P': '100%'
179
222
  };
180
223
  var spacing = {
181
- 0: '0px',
182
- 1: '4px',
183
- 2: '8px',
184
- 3: '12px',
185
- 4: '16px',
186
- 5: '20px',
187
- 6: '24px',
188
- 7: '28px',
189
- 8: '32px',
190
- 9: '36px',
191
- 10: '40px',
192
- 11: '44px',
193
- 12: '48px',
194
- 13: '52px',
195
- 14: '56px'
224
+ 0: 0,
225
+ 0.5: 2,
226
+ 0.75: 3,
227
+ 1: 4,
228
+ 1.5: 6,
229
+ 2: 8,
230
+ 3: 12,
231
+ 4: 16,
232
+ 5: 20,
233
+ 6: 24,
234
+ 7: 28,
235
+ 8: 32,
236
+ 9: 36,
237
+ 10: 40,
238
+ 11: 44,
239
+ 12: 48,
240
+ 13: 52,
241
+ 14: 56,
242
+ 16: 64
196
243
  };
197
244
  var typography = {
198
245
  weight: {
@@ -202,41 +249,2064 @@
202
249
  normal: 400
203
250
  },
204
251
  size: {
205
- 10: '10px',
206
- 12: '12px',
207
- 14: '14px',
208
- 16: '16px',
209
- 20: '20px',
210
- 24: '24px',
211
- 32: '32px',
212
- 40: '40px',
213
- 48: '48px'
252
+ 10: 10,
253
+ 12: 12,
254
+ 14: 14,
255
+ 16: 16,
256
+ 20: 20,
257
+ 24: 24,
258
+ 32: 32,
259
+ 40: 40,
260
+ 48: 48
214
261
  },
215
262
  lineHeight: {
216
- 12: '12px',
217
- 14: '14px',
218
- 16: '16px',
219
- 18: '18px',
220
- 20: '20px',
221
- 22: '22px',
222
- 24: '24px',
223
- 28: '28px',
224
- 32: '32px',
225
- 40: '40px',
226
- 48: '48px',
227
- 56: '56px'
263
+ 12: 12,
264
+ 14: 14,
265
+ 16: 16,
266
+ 18: 18,
267
+ 20: 20,
268
+ 22: 22,
269
+ 24: 24,
270
+ 28: 28,
271
+ 32: 32,
272
+ 40: 40,
273
+ 48: 48,
274
+ 56: 56
228
275
  },
229
276
  letterSpacing: {
230
- nPoint75: '-0.75px',
231
- nPoint5: '-0.5px',
232
- nPoint4: '-0.4px',
233
- nPoint25: '-0.25px',
234
- zero: '0px',
235
- point4: '0.4px',
236
- point5: '0.5px',
237
- point75: '0.75px'
277
+ nPoint75: -0.75,
278
+ nPoint5: -0.5,
279
+ nPoint4: -0.4,
280
+ nPoint25: -0.25,
281
+ zero: 0,
282
+ point4: 0.4,
283
+ point5: 0.5,
284
+ point75: 0.75
285
+ }
286
+ };
287
+
288
+ function _extends$1() {
289
+ return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
290
+ for (var e = 1; e < arguments.length; e++) {
291
+ var t = arguments[e];
292
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
293
+ }
294
+ return n;
295
+ }, _extends$1.apply(null, arguments);
296
+ }
297
+
298
+ var isDevelopment$3 = false;
299
+
300
+ /*
301
+
302
+ Based off glamor's StyleSheet, thanks Sunil ❤️
303
+
304
+ high performance StyleSheet for css-in-js systems
305
+
306
+ - uses multiple style tags behind the scenes for millions of rules
307
+ - uses `insertRule` for appending in production for *much* faster performance
308
+
309
+ // usage
310
+
311
+ import { StyleSheet } from '@emotion/sheet'
312
+
313
+ let styleSheet = new StyleSheet({ key: '', container: document.head })
314
+
315
+ styleSheet.insert('#box { border: 1px solid red; }')
316
+ - appends a css rule into the stylesheet
317
+
318
+ styleSheet.flush()
319
+ - empties the stylesheet of all its contents
320
+
321
+ */
322
+
323
+ function sheetForTag(tag) {
324
+ if (tag.sheet) {
325
+ return tag.sheet;
326
+ } // this weirdness brought to you by firefox
327
+
328
+ /* istanbul ignore next */
329
+
330
+ for (var i = 0; i < document.styleSheets.length; i++) {
331
+ if (document.styleSheets[i].ownerNode === tag) {
332
+ return document.styleSheets[i];
333
+ }
334
+ } // this function should always return with a value
335
+ // TS can't understand it though so we make it stop complaining here
336
+
337
+ return undefined;
338
+ }
339
+ function createStyleElement(options) {
340
+ var tag = document.createElement('style');
341
+ tag.setAttribute('data-emotion', options.key);
342
+ if (options.nonce !== undefined) {
343
+ tag.setAttribute('nonce', options.nonce);
344
+ }
345
+ tag.appendChild(document.createTextNode(''));
346
+ tag.setAttribute('data-s', '');
347
+ return tag;
348
+ }
349
+ var StyleSheet = /*#__PURE__*/function () {
350
+ // Using Node instead of HTMLElement since container may be a ShadowRoot
351
+ function StyleSheet(options) {
352
+ var _this = this;
353
+ this._insertTag = function (tag) {
354
+ var before;
355
+ if (_this.tags.length === 0) {
356
+ if (_this.insertionPoint) {
357
+ before = _this.insertionPoint.nextSibling;
358
+ } else if (_this.prepend) {
359
+ before = _this.container.firstChild;
360
+ } else {
361
+ before = _this.before;
362
+ }
363
+ } else {
364
+ before = _this.tags[_this.tags.length - 1].nextSibling;
365
+ }
366
+ _this.container.insertBefore(tag, before);
367
+ _this.tags.push(tag);
368
+ };
369
+ this.isSpeedy = options.speedy === undefined ? !isDevelopment$3 : options.speedy;
370
+ this.tags = [];
371
+ this.ctr = 0;
372
+ this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
373
+
374
+ this.key = options.key;
375
+ this.container = options.container;
376
+ this.prepend = options.prepend;
377
+ this.insertionPoint = options.insertionPoint;
378
+ this.before = null;
379
+ }
380
+ var _proto = StyleSheet.prototype;
381
+ _proto.hydrate = function hydrate(nodes) {
382
+ nodes.forEach(this._insertTag);
383
+ };
384
+ _proto.insert = function insert(rule) {
385
+ // the max length is how many rules we have per style tag, it's 65000 in speedy mode
386
+ // it's 1 in dev because we insert source maps that map a single rule to a location
387
+ // and you can only have one source map per style tag
388
+ if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
389
+ this._insertTag(createStyleElement(this));
390
+ }
391
+ var tag = this.tags[this.tags.length - 1];
392
+ if (this.isSpeedy) {
393
+ var sheet = sheetForTag(tag);
394
+ try {
395
+ // this is the ultrafast version, works across browsers
396
+ // the big drawback is that the css won't be editable in devtools
397
+ sheet.insertRule(rule, sheet.cssRules.length);
398
+ } catch (e) {}
399
+ } else {
400
+ tag.appendChild(document.createTextNode(rule));
401
+ }
402
+ this.ctr++;
403
+ };
404
+ _proto.flush = function flush() {
405
+ this.tags.forEach(function (tag) {
406
+ var _tag$parentNode;
407
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
408
+ });
409
+ this.tags = [];
410
+ this.ctr = 0;
411
+ };
412
+ return StyleSheet;
413
+ }();
414
+
415
+ var stylisExports = {};
416
+ var stylis = {
417
+ get exports(){ return stylisExports; },
418
+ set exports(v){ stylisExports = v; },
419
+ };
420
+
421
+ (function (module, exports) {
422
+ (function (e, r) {
423
+ r(exports) ;
424
+ })(this, function (e) {
425
+
426
+ var r = "-ms-";
427
+ var a = "-moz-";
428
+ var c = "-webkit-";
429
+ var n = "comm";
430
+ var t = "rule";
431
+ var s = "decl";
432
+ var i = "@page";
433
+ var u = "@media";
434
+ var o = "@import";
435
+ var f = "@charset";
436
+ var l = "@viewport";
437
+ var p = "@supports";
438
+ var h = "@document";
439
+ var v = "@namespace";
440
+ var d = "@keyframes";
441
+ var b = "@font-face";
442
+ var w = "@counter-style";
443
+ var m = "@font-feature-values";
444
+ var g = "@layer";
445
+ var k = Math.abs;
446
+ var $ = String.fromCharCode;
447
+ var x = Object.assign;
448
+ function E(e, r) {
449
+ return M(e, 0) ^ 45 ? (((r << 2 ^ M(e, 0)) << 2 ^ M(e, 1)) << 2 ^ M(e, 2)) << 2 ^ M(e, 3) : 0;
450
+ }
451
+ function y(e) {
452
+ return e.trim();
453
+ }
454
+ function T(e, r) {
455
+ return (e = r.exec(e)) ? e[0] : e;
456
+ }
457
+ function A(e, r, a) {
458
+ return e.replace(r, a);
459
+ }
460
+ function O(e, r) {
461
+ return e.indexOf(r);
462
+ }
463
+ function M(e, r) {
464
+ return e.charCodeAt(r) | 0;
465
+ }
466
+ function C(e, r, a) {
467
+ return e.slice(r, a);
468
+ }
469
+ function R(e) {
470
+ return e.length;
471
+ }
472
+ function S(e) {
473
+ return e.length;
474
+ }
475
+ function z(e, r) {
476
+ return r.push(e), e;
477
+ }
478
+ function N(e, r) {
479
+ return e.map(r).join("");
480
+ }
481
+ e.line = 1;
482
+ e.column = 1;
483
+ e.length = 0;
484
+ e.position = 0;
485
+ e.character = 0;
486
+ e.characters = "";
487
+ function P(r, a, c, n, t, s, i) {
488
+ return {
489
+ value: r,
490
+ root: a,
491
+ parent: c,
492
+ type: n,
493
+ props: t,
494
+ children: s,
495
+ line: e.line,
496
+ column: e.column,
497
+ length: i,
498
+ return: ""
499
+ };
500
+ }
501
+ function j(e, r) {
502
+ return x(P("", null, null, "", null, null, 0), e, {
503
+ length: -e.length
504
+ }, r);
505
+ }
506
+ function U() {
507
+ return e.character;
508
+ }
509
+ function _() {
510
+ e.character = e.position > 0 ? M(e.characters, --e.position) : 0;
511
+ if (e.column--, e.character === 10) e.column = 1, e.line--;
512
+ return e.character;
513
+ }
514
+ function F() {
515
+ e.character = e.position < e.length ? M(e.characters, e.position++) : 0;
516
+ if (e.column++, e.character === 10) e.column = 1, e.line++;
517
+ return e.character;
518
+ }
519
+ function I() {
520
+ return M(e.characters, e.position);
521
+ }
522
+ function L() {
523
+ return e.position;
524
+ }
525
+ function D(r, a) {
526
+ return C(e.characters, r, a);
527
+ }
528
+ function Y(e) {
529
+ switch (e) {
530
+ case 0:
531
+ case 9:
532
+ case 10:
533
+ case 13:
534
+ case 32:
535
+ return 5;
536
+ case 33:
537
+ case 43:
538
+ case 44:
539
+ case 47:
540
+ case 62:
541
+ case 64:
542
+ case 126:
543
+ case 59:
544
+ case 123:
545
+ case 125:
546
+ return 4;
547
+ case 58:
548
+ return 3;
549
+ case 34:
550
+ case 39:
551
+ case 40:
552
+ case 91:
553
+ return 2;
554
+ case 41:
555
+ case 93:
556
+ return 1;
557
+ }
558
+ return 0;
559
+ }
560
+ function K(r) {
561
+ return e.line = e.column = 1, e.length = R(e.characters = r), e.position = 0, [];
562
+ }
563
+ function V(r) {
564
+ return e.characters = "", r;
565
+ }
566
+ function W(r) {
567
+ return y(D(e.position - 1, q(r === 91 ? r + 2 : r === 40 ? r + 1 : r)));
568
+ }
569
+ function B(e) {
570
+ return V(H(K(e)));
571
+ }
572
+ function G(r) {
573
+ while (e.character = I()) if (e.character < 33) F();else break;
574
+ return Y(r) > 2 || Y(e.character) > 3 ? "" : " ";
575
+ }
576
+ function H(r) {
577
+ while (F()) switch (Y(e.character)) {
578
+ case 0:
579
+ z(Q(e.position - 1), r);
580
+ break;
581
+ case 2:
582
+ z(W(e.character), r);
583
+ break;
584
+ default:
585
+ z($(e.character), r);
586
+ }
587
+ return r;
588
+ }
589
+ function Z(r, a) {
590
+ while (--a && F()) if (e.character < 48 || e.character > 102 || e.character > 57 && e.character < 65 || e.character > 70 && e.character < 97) break;
591
+ return D(r, L() + (a < 6 && I() == 32 && F() == 32));
592
+ }
593
+ function q(r) {
594
+ while (F()) switch (e.character) {
595
+ case r:
596
+ return e.position;
597
+ case 34:
598
+ case 39:
599
+ if (r !== 34 && r !== 39) q(e.character);
600
+ break;
601
+ case 40:
602
+ if (r === 41) q(r);
603
+ break;
604
+ case 92:
605
+ F();
606
+ break;
607
+ }
608
+ return e.position;
609
+ }
610
+ function J(r, a) {
611
+ while (F()) if (r + e.character === 47 + 10) break;else if (r + e.character === 42 + 42 && I() === 47) break;
612
+ return "/*" + D(a, e.position - 1) + "*" + $(r === 47 ? r : F());
613
+ }
614
+ function Q(r) {
615
+ while (!Y(I())) F();
616
+ return D(r, e.position);
617
+ }
618
+ function X(e) {
619
+ return V(ee("", null, null, null, [""], e = K(e), 0, [0], e));
620
+ }
621
+ function ee(e, r, a, c, n, t, s, i, u) {
622
+ var o = 0;
623
+ var f = 0;
624
+ var l = s;
625
+ var p = 0;
626
+ var h = 0;
627
+ var v = 0;
628
+ var d = 1;
629
+ var b = 1;
630
+ var w = 1;
631
+ var m = 0;
632
+ var g = "";
633
+ var k = n;
634
+ var x = t;
635
+ var E = c;
636
+ var y = g;
637
+ while (b) switch (v = m, m = F()) {
638
+ case 40:
639
+ if (v != 108 && M(y, l - 1) == 58) {
640
+ if (O(y += A(W(m), "&", "&\f"), "&\f") != -1) w = -1;
641
+ break;
642
+ }
643
+ case 34:
644
+ case 39:
645
+ case 91:
646
+ y += W(m);
647
+ break;
648
+ case 9:
649
+ case 10:
650
+ case 13:
651
+ case 32:
652
+ y += G(v);
653
+ break;
654
+ case 92:
655
+ y += Z(L() - 1, 7);
656
+ continue;
657
+ case 47:
658
+ switch (I()) {
659
+ case 42:
660
+ case 47:
661
+ z(ae(J(F(), L()), r, a), u);
662
+ break;
663
+ default:
664
+ y += "/";
665
+ }
666
+ break;
667
+ case 123 * d:
668
+ i[o++] = R(y) * w;
669
+ case 125 * d:
670
+ case 59:
671
+ case 0:
672
+ switch (m) {
673
+ case 0:
674
+ case 125:
675
+ b = 0;
676
+ case 59 + f:
677
+ if (w == -1) y = A(y, /\f/g, "");
678
+ if (h > 0 && R(y) - l) z(h > 32 ? ce(y + ";", c, a, l - 1) : ce(A(y, " ", "") + ";", c, a, l - 2), u);
679
+ break;
680
+ case 59:
681
+ y += ";";
682
+ default:
683
+ z(E = re(y, r, a, o, f, n, i, g, k = [], x = [], l), t);
684
+ if (m === 123) if (f === 0) ee(y, r, E, E, k, t, l, i, x);else switch (p === 99 && M(y, 3) === 110 ? 100 : p) {
685
+ case 100:
686
+ case 108:
687
+ case 109:
688
+ case 115:
689
+ ee(e, E, E, c && z(re(e, E, E, 0, 0, n, i, g, n, k = [], l), x), n, x, l, i, c ? k : x);
690
+ break;
691
+ default:
692
+ ee(y, E, E, E, [""], x, 0, i, x);
693
+ }
694
+ }
695
+ o = f = h = 0, d = w = 1, g = y = "", l = s;
696
+ break;
697
+ case 58:
698
+ l = 1 + R(y), h = v;
699
+ default:
700
+ if (d < 1) if (m == 123) --d;else if (m == 125 && d++ == 0 && _() == 125) continue;
701
+ switch (y += $(m), m * d) {
702
+ case 38:
703
+ w = f > 0 ? 1 : (y += "\f", -1);
704
+ break;
705
+ case 44:
706
+ i[o++] = (R(y) - 1) * w, w = 1;
707
+ break;
708
+ case 64:
709
+ if (I() === 45) y += W(F());
710
+ p = I(), f = l = R(g = y += Q(L())), m++;
711
+ break;
712
+ case 45:
713
+ if (v === 45 && R(y) == 2) d = 0;
714
+ }
715
+ }
716
+ return t;
717
+ }
718
+ function re(e, r, a, c, n, s, i, u, o, f, l) {
719
+ var p = n - 1;
720
+ var h = n === 0 ? s : [""];
721
+ var v = S(h);
722
+ for (var d = 0, b = 0, w = 0; d < c; ++d) for (var m = 0, g = C(e, p + 1, p = k(b = i[d])), $ = e; m < v; ++m) if ($ = y(b > 0 ? h[m] + " " + g : A(g, /&\f/g, h[m]))) o[w++] = $;
723
+ return P(e, r, a, n === 0 ? t : u, o, f, l);
724
+ }
725
+ function ae(e, r, a) {
726
+ return P(e, r, a, n, $(U()), C(e, 2, -2), 0);
727
+ }
728
+ function ce(e, r, a, c) {
729
+ return P(e, r, a, s, C(e, 0, c), C(e, c + 1, -1), c);
730
+ }
731
+ function ne(e, n, t) {
732
+ switch (E(e, n)) {
733
+ case 5103:
734
+ return c + "print-" + e + e;
735
+ case 5737:
736
+ case 4201:
737
+ case 3177:
738
+ case 3433:
739
+ case 1641:
740
+ case 4457:
741
+ case 2921:
742
+ case 5572:
743
+ case 6356:
744
+ case 5844:
745
+ case 3191:
746
+ case 6645:
747
+ case 3005:
748
+ case 6391:
749
+ case 5879:
750
+ case 5623:
751
+ case 6135:
752
+ case 4599:
753
+ case 4855:
754
+ case 4215:
755
+ case 6389:
756
+ case 5109:
757
+ case 5365:
758
+ case 5621:
759
+ case 3829:
760
+ return c + e + e;
761
+ case 4789:
762
+ return a + e + e;
763
+ case 5349:
764
+ case 4246:
765
+ case 4810:
766
+ case 6968:
767
+ case 2756:
768
+ return c + e + a + e + r + e + e;
769
+ case 5936:
770
+ switch (M(e, n + 11)) {
771
+ case 114:
772
+ return c + e + r + A(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
773
+ case 108:
774
+ return c + e + r + A(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
775
+ case 45:
776
+ return c + e + r + A(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
777
+ }
778
+ case 6828:
779
+ case 4268:
780
+ case 2903:
781
+ return c + e + r + e + e;
782
+ case 6165:
783
+ return c + e + r + "flex-" + e + e;
784
+ case 5187:
785
+ return c + e + A(e, /(\w+).+(:[^]+)/, c + "box-$1$2" + r + "flex-$1$2") + e;
786
+ case 5443:
787
+ return c + e + r + "flex-item-" + A(e, /flex-|-self/g, "") + (!T(e, /flex-|baseline/) ? r + "grid-row-" + A(e, /flex-|-self/g, "") : "") + e;
788
+ case 4675:
789
+ return c + e + r + "flex-line-pack" + A(e, /align-content|flex-|-self/g, "") + e;
790
+ case 5548:
791
+ return c + e + r + A(e, "shrink", "negative") + e;
792
+ case 5292:
793
+ return c + e + r + A(e, "basis", "preferred-size") + e;
794
+ case 6060:
795
+ return c + "box-" + A(e, "-grow", "") + c + e + r + A(e, "grow", "positive") + e;
796
+ case 4554:
797
+ return c + A(e, /([^-])(transform)/g, "$1" + c + "$2") + e;
798
+ case 6187:
799
+ return A(A(A(e, /(zoom-|grab)/, c + "$1"), /(image-set)/, c + "$1"), e, "") + e;
800
+ case 5495:
801
+ case 3959:
802
+ return A(e, /(image-set\([^]*)/, c + "$1" + "$`$1");
803
+ case 4968:
804
+ return A(A(e, /(.+:)(flex-)?(.*)/, c + "box-pack:$3" + r + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + c + e + e;
805
+ case 4200:
806
+ if (!T(e, /flex-|baseline/)) return r + "grid-column-align" + C(e, n) + e;
807
+ break;
808
+ case 2592:
809
+ case 3360:
810
+ return r + A(e, "template-", "") + e;
811
+ case 4384:
812
+ case 3616:
813
+ if (t && t.some(function (e, r) {
814
+ return n = r, T(e.props, /grid-\w+-end/);
815
+ })) {
816
+ return ~O(e + (t = t[n].value), "span") ? e : r + A(e, "-start", "") + e + r + "grid-row-span:" + (~O(t, "span") ? T(t, /\d+/) : +T(t, /\d+/) - +T(e, /\d+/)) + ";";
817
+ }
818
+ return r + A(e, "-start", "") + e;
819
+ case 4896:
820
+ case 4128:
821
+ return t && t.some(function (e) {
822
+ return T(e.props, /grid-\w+-start/);
823
+ }) ? e : r + A(A(e, "-end", "-span"), "span ", "") + e;
824
+ case 4095:
825
+ case 3583:
826
+ case 4068:
827
+ case 2532:
828
+ return A(e, /(.+)-inline(.+)/, c + "$1$2") + e;
829
+ case 8116:
830
+ case 7059:
831
+ case 5753:
832
+ case 5535:
833
+ case 5445:
834
+ case 5701:
835
+ case 4933:
836
+ case 4677:
837
+ case 5533:
838
+ case 5789:
839
+ case 5021:
840
+ case 4765:
841
+ if (R(e) - 1 - n > 6) switch (M(e, n + 1)) {
842
+ case 109:
843
+ if (M(e, n + 4) !== 45) break;
844
+ case 102:
845
+ return A(e, /(.+:)(.+)-([^]+)/, "$1" + c + "$2-$3" + "$1" + a + (M(e, n + 3) == 108 ? "$3" : "$2-$3")) + e;
846
+ case 115:
847
+ return ~O(e, "stretch") ? ne(A(e, "stretch", "fill-available"), n, t) + e : e;
848
+ }
849
+ break;
850
+ case 5152:
851
+ case 5920:
852
+ return A(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (a, c, n, t, s, i, u) {
853
+ return r + c + ":" + n + u + (t ? r + c + "-span:" + (s ? i : +i - +n) + u : "") + e;
854
+ });
855
+ case 4949:
856
+ if (M(e, n + 6) === 121) return A(e, ":", ":" + c) + e;
857
+ break;
858
+ case 6444:
859
+ switch (M(e, M(e, 14) === 45 ? 18 : 11)) {
860
+ case 120:
861
+ return A(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + c + (M(e, 14) === 45 ? "inline-" : "") + "box$3" + "$1" + c + "$2$3" + "$1" + r + "$2box$3") + e;
862
+ case 100:
863
+ return A(e, ":", ":" + r) + e;
864
+ }
865
+ break;
866
+ case 5719:
867
+ case 2647:
868
+ case 2135:
869
+ case 3927:
870
+ case 2391:
871
+ return A(e, "scroll-", "scroll-snap-") + e;
872
+ }
873
+ return e;
874
+ }
875
+ function te(e, r) {
876
+ var a = "";
877
+ var c = S(e);
878
+ for (var n = 0; n < c; n++) a += r(e[n], n, e, r) || "";
879
+ return a;
880
+ }
881
+ function se(e, r, a, c) {
882
+ switch (e.type) {
883
+ case g:
884
+ if (e.children.length) break;
885
+ case o:
886
+ case s:
887
+ return e.return = e.return || e.value;
888
+ case n:
889
+ return "";
890
+ case d:
891
+ return e.return = e.value + "{" + te(e.children, c) + "}";
892
+ case t:
893
+ e.value = e.props.join(",");
894
+ }
895
+ return R(a = te(e.children, c)) ? e.return = e.value + "{" + a + "}" : "";
896
+ }
897
+ function ie(e) {
898
+ var r = S(e);
899
+ return function (a, c, n, t) {
900
+ var s = "";
901
+ for (var i = 0; i < r; i++) s += e[i](a, c, n, t) || "";
902
+ return s;
903
+ };
904
+ }
905
+ function ue(e) {
906
+ return function (r) {
907
+ if (!r.root) if (r = r.return) e(r);
908
+ };
909
+ }
910
+ function oe(e, n, i, u) {
911
+ if (e.length > -1) if (!e.return) switch (e.type) {
912
+ case s:
913
+ e.return = ne(e.value, e.length, i);
914
+ return;
915
+ case d:
916
+ return te([j(e, {
917
+ value: A(e.value, "@", "@" + c)
918
+ })], u);
919
+ case t:
920
+ if (e.length) return N(e.props, function (n) {
921
+ switch (T(n, /(::plac\w+|:read-\w+)/)) {
922
+ case ":read-only":
923
+ case ":read-write":
924
+ return te([j(e, {
925
+ props: [A(n, /:(read-\w+)/, ":" + a + "$1")]
926
+ })], u);
927
+ case "::placeholder":
928
+ return te([j(e, {
929
+ props: [A(n, /:(plac\w+)/, ":" + c + "input-$1")]
930
+ }), j(e, {
931
+ props: [A(n, /:(plac\w+)/, ":" + a + "$1")]
932
+ }), j(e, {
933
+ props: [A(n, /:(plac\w+)/, r + "input-$1")]
934
+ })], u);
935
+ }
936
+ return "";
937
+ });
938
+ }
939
+ }
940
+ function fe(e) {
941
+ switch (e.type) {
942
+ case t:
943
+ e.props = e.props.map(function (r) {
944
+ return N(B(r), function (r, a, c) {
945
+ switch (M(r, 0)) {
946
+ case 12:
947
+ return C(r, 1, R(r));
948
+ case 0:
949
+ case 40:
950
+ case 43:
951
+ case 62:
952
+ case 126:
953
+ return r;
954
+ case 58:
955
+ if (c[++a] === "global") c[a] = "", c[++a] = "\f" + C(c[a], a = 1, -1);
956
+ case 32:
957
+ return a === 1 ? "" : r;
958
+ default:
959
+ switch (a) {
960
+ case 0:
961
+ e = r;
962
+ return S(c) > 1 ? "" : r;
963
+ case a = S(c) - 1:
964
+ case 2:
965
+ return a === 2 ? r + e + e : r + e;
966
+ default:
967
+ return r;
968
+ }
969
+ }
970
+ });
971
+ });
972
+ }
973
+ }
974
+ e.CHARSET = f;
975
+ e.COMMENT = n;
976
+ e.COUNTER_STYLE = w;
977
+ e.DECLARATION = s;
978
+ e.DOCUMENT = h;
979
+ e.FONT_FACE = b;
980
+ e.FONT_FEATURE_VALUES = m;
981
+ e.IMPORT = o;
982
+ e.KEYFRAMES = d;
983
+ e.LAYER = g;
984
+ e.MEDIA = u;
985
+ e.MOZ = a;
986
+ e.MS = r;
987
+ e.NAMESPACE = v;
988
+ e.PAGE = i;
989
+ e.RULESET = t;
990
+ e.SUPPORTS = p;
991
+ e.VIEWPORT = l;
992
+ e.WEBKIT = c;
993
+ e.abs = k;
994
+ e.alloc = K;
995
+ e.append = z;
996
+ e.assign = x;
997
+ e.caret = L;
998
+ e.char = U;
999
+ e.charat = M;
1000
+ e.combine = N;
1001
+ e.comment = ae;
1002
+ e.commenter = J;
1003
+ e.compile = X;
1004
+ e.copy = j;
1005
+ e.dealloc = V;
1006
+ e.declaration = ce;
1007
+ e.delimit = W;
1008
+ e.delimiter = q;
1009
+ e.escaping = Z;
1010
+ e.from = $;
1011
+ e.hash = E;
1012
+ e.identifier = Q;
1013
+ e.indexof = O;
1014
+ e.match = T;
1015
+ e.middleware = ie;
1016
+ e.namespace = fe;
1017
+ e.next = F;
1018
+ e.node = P;
1019
+ e.parse = ee;
1020
+ e.peek = I;
1021
+ e.prefix = ne;
1022
+ e.prefixer = oe;
1023
+ e.prev = _;
1024
+ e.replace = A;
1025
+ e.ruleset = re;
1026
+ e.rulesheet = ue;
1027
+ e.serialize = te;
1028
+ e.sizeof = S;
1029
+ e.slice = D;
1030
+ e.stringify = se;
1031
+ e.strlen = R;
1032
+ e.substr = C;
1033
+ e.token = Y;
1034
+ e.tokenize = B;
1035
+ e.tokenizer = H;
1036
+ e.trim = y;
1037
+ e.whitespace = G;
1038
+ Object.defineProperty(e, "__esModule", {
1039
+ value: true
1040
+ });
1041
+ });
1042
+ })(stylis, stylisExports);
1043
+
1044
+ var weakMemoize = function weakMemoize(func) {
1045
+ var cache = new WeakMap();
1046
+ return function (arg) {
1047
+ if (cache.has(arg)) {
1048
+ // Use non-null assertion because we just checked that the cache `has` it
1049
+ // This allows us to remove `undefined` from the return value
1050
+ return cache.get(arg);
1051
+ }
1052
+ var ret = func(arg);
1053
+ cache.set(arg, ret);
1054
+ return ret;
1055
+ };
1056
+ };
1057
+
1058
+ function memoize(fn) {
1059
+ var cache = Object.create(null);
1060
+ return function (arg) {
1061
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
1062
+ return cache[arg];
1063
+ };
1064
+ }
1065
+
1066
+ var isBrowser$4 = typeof document !== 'undefined';
1067
+ var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
1068
+ var previous = 0;
1069
+ var character = 0;
1070
+ while (true) {
1071
+ previous = character;
1072
+ character = stylisExports.peek(); // &\f
1073
+
1074
+ if (previous === 38 && character === 12) {
1075
+ points[index] = 1;
1076
+ }
1077
+ if (stylisExports.token(character)) {
1078
+ break;
1079
+ }
1080
+ stylisExports.next();
238
1081
  }
1082
+ return stylisExports.slice(begin, stylisExports.position);
239
1083
  };
1084
+ var toRules = function toRules(parsed, points) {
1085
+ // pretend we've started with a comma
1086
+ var index = -1;
1087
+ var character = 44;
1088
+ do {
1089
+ switch (stylisExports.token(character)) {
1090
+ case 0:
1091
+ // &\f
1092
+ if (character === 38 && stylisExports.peek() === 12) {
1093
+ // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
1094
+ // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
1095
+ // and when it should just concatenate the outer and inner selectors
1096
+ // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
1097
+ points[index] = 1;
1098
+ }
1099
+ parsed[index] += identifierWithPointTracking(stylisExports.position - 1, points, index);
1100
+ break;
1101
+ case 2:
1102
+ parsed[index] += stylisExports.delimit(character);
1103
+ break;
1104
+ case 4:
1105
+ // comma
1106
+ if (character === 44) {
1107
+ // colon
1108
+ parsed[++index] = stylisExports.peek() === 58 ? '&\f' : '';
1109
+ points[index] = parsed[index].length;
1110
+ break;
1111
+ }
1112
+
1113
+ // fallthrough
1114
+
1115
+ default:
1116
+ parsed[index] += stylisExports.from(character);
1117
+ }
1118
+ } while (character = stylisExports.next());
1119
+ return parsed;
1120
+ };
1121
+ var getRules = function getRules(value, points) {
1122
+ return stylisExports.dealloc(toRules(stylisExports.alloc(value), points));
1123
+ }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
1124
+
1125
+ var fixedElements = /* #__PURE__ */new WeakMap();
1126
+ var compat = function compat(element) {
1127
+ if (element.type !== 'rule' || !element.parent ||
1128
+ // positive .length indicates that this rule contains pseudo
1129
+ // negative .length indicates that this rule has been already prefixed
1130
+ element.length < 1) {
1131
+ return;
1132
+ }
1133
+ var value = element.value;
1134
+ var parent = element.parent;
1135
+ var isImplicitRule = element.column === parent.column && element.line === parent.line;
1136
+ while (parent.type !== 'rule') {
1137
+ parent = parent.parent;
1138
+ if (!parent) return;
1139
+ } // short-circuit for the simplest case
1140
+
1141
+ if (element.props.length === 1 && value.charCodeAt(0) !== 58
1142
+ /* colon */ && !fixedElements.get(parent)) {
1143
+ return;
1144
+ } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
1145
+ // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
1146
+
1147
+ if (isImplicitRule) {
1148
+ return;
1149
+ }
1150
+ fixedElements.set(element, true);
1151
+ var points = [];
1152
+ var rules = getRules(value, points);
1153
+ var parentRules = parent.props;
1154
+ for (var i = 0, k = 0; i < rules.length; i++) {
1155
+ for (var j = 0; j < parentRules.length; j++, k++) {
1156
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
1157
+ }
1158
+ }
1159
+ };
1160
+ var removeLabel = function removeLabel(element) {
1161
+ if (element.type === 'decl') {
1162
+ var value = element.value;
1163
+ if (
1164
+ // charcode for l
1165
+ value.charCodeAt(0) === 108 &&
1166
+ // charcode for b
1167
+ value.charCodeAt(2) === 98) {
1168
+ // this ignores label
1169
+ element["return"] = '';
1170
+ element.value = '';
1171
+ }
1172
+ }
1173
+ };
1174
+
1175
+ /* eslint-disable no-fallthrough */
1176
+
1177
+ function prefix(value, length) {
1178
+ switch (stylisExports.hash(value, length)) {
1179
+ // color-adjust
1180
+ case 5103:
1181
+ return stylisExports.WEBKIT + 'print-' + value + value;
1182
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1183
+
1184
+ case 5737:
1185
+ case 4201:
1186
+ case 3177:
1187
+ case 3433:
1188
+ case 1641:
1189
+ case 4457:
1190
+ case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1191
+
1192
+ case 5572:
1193
+ case 6356:
1194
+ case 5844:
1195
+ case 3191:
1196
+ case 6645:
1197
+ case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1198
+
1199
+ case 6391:
1200
+ case 5879:
1201
+ case 5623:
1202
+ case 6135:
1203
+ case 4599:
1204
+ case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1205
+
1206
+ case 4215:
1207
+ case 6389:
1208
+ case 5109:
1209
+ case 5365:
1210
+ case 5621:
1211
+ case 3829:
1212
+ return stylisExports.WEBKIT + value + value;
1213
+ // appearance, user-select, transform, hyphens, text-size-adjust
1214
+
1215
+ case 5349:
1216
+ case 4246:
1217
+ case 4810:
1218
+ case 6968:
1219
+ case 2756:
1220
+ return stylisExports.WEBKIT + value + stylisExports.MOZ + value + stylisExports.MS + value + value;
1221
+ // flex, flex-direction
1222
+
1223
+ case 6828:
1224
+ case 4268:
1225
+ return stylisExports.WEBKIT + value + stylisExports.MS + value + value;
1226
+ // order
1227
+
1228
+ case 6165:
1229
+ return stylisExports.WEBKIT + value + stylisExports.MS + 'flex-' + value + value;
1230
+ // align-items
1231
+
1232
+ case 5187:
1233
+ return stylisExports.WEBKIT + value + stylisExports.replace(value, /(\w+).+(:[^]+)/, stylisExports.WEBKIT + 'box-$1$2' + stylisExports.MS + 'flex-$1$2') + value;
1234
+ // align-self
1235
+
1236
+ case 5443:
1237
+ return stylisExports.WEBKIT + value + stylisExports.MS + 'flex-item-' + stylisExports.replace(value, /flex-|-self/, '') + value;
1238
+ // align-content
1239
+
1240
+ case 4675:
1241
+ return stylisExports.WEBKIT + value + stylisExports.MS + 'flex-line-pack' + stylisExports.replace(value, /align-content|flex-|-self/, '') + value;
1242
+ // flex-shrink
1243
+
1244
+ case 5548:
1245
+ return stylisExports.WEBKIT + value + stylisExports.MS + stylisExports.replace(value, 'shrink', 'negative') + value;
1246
+ // flex-basis
1247
+
1248
+ case 5292:
1249
+ return stylisExports.WEBKIT + value + stylisExports.MS + stylisExports.replace(value, 'basis', 'preferred-size') + value;
1250
+ // flex-grow
1251
+
1252
+ case 6060:
1253
+ return stylisExports.WEBKIT + 'box-' + stylisExports.replace(value, '-grow', '') + stylisExports.WEBKIT + value + stylisExports.MS + stylisExports.replace(value, 'grow', 'positive') + value;
1254
+ // transition
1255
+
1256
+ case 4554:
1257
+ return stylisExports.WEBKIT + stylisExports.replace(value, /([^-])(transform)/g, '$1' + stylisExports.WEBKIT + '$2') + value;
1258
+ // cursor
1259
+
1260
+ case 6187:
1261
+ return stylisExports.replace(stylisExports.replace(stylisExports.replace(value, /(zoom-|grab)/, stylisExports.WEBKIT + '$1'), /(image-set)/, stylisExports.WEBKIT + '$1'), value, '') + value;
1262
+ // background, background-image
1263
+
1264
+ case 5495:
1265
+ case 3959:
1266
+ return stylisExports.replace(value, /(image-set\([^]*)/, stylisExports.WEBKIT + '$1' + '$`$1');
1267
+ // justify-content
1268
+
1269
+ case 4968:
1270
+ return stylisExports.replace(stylisExports.replace(value, /(.+:)(flex-)?(.*)/, stylisExports.WEBKIT + 'box-pack:$3' + stylisExports.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + stylisExports.WEBKIT + value + value;
1271
+ // (margin|padding)-inline-(start|end)
1272
+
1273
+ case 4095:
1274
+ case 3583:
1275
+ case 4068:
1276
+ case 2532:
1277
+ return stylisExports.replace(value, /(.+)-inline(.+)/, stylisExports.WEBKIT + '$1$2') + value;
1278
+ // (min|max)?(width|height|inline-size|block-size)
1279
+
1280
+ case 8116:
1281
+ case 7059:
1282
+ case 5753:
1283
+ case 5535:
1284
+ case 5445:
1285
+ case 5701:
1286
+ case 4933:
1287
+ case 4677:
1288
+ case 5533:
1289
+ case 5789:
1290
+ case 5021:
1291
+ case 4765:
1292
+ // stretch, max-content, min-content, fill-available
1293
+ if (stylisExports.strlen(value) - 1 - length > 6) switch (stylisExports.charat(value, length + 1)) {
1294
+ // (m)ax-content, (m)in-content
1295
+ case 109:
1296
+ // -
1297
+ if (stylisExports.charat(value, length + 4) !== 45) break;
1298
+ // (f)ill-available, (f)it-content
1299
+
1300
+ case 102:
1301
+ return stylisExports.replace(value, /(.+:)(.+)-([^]+)/, '$1' + stylisExports.WEBKIT + '$2-$3' + '$1' + stylisExports.MOZ + (stylisExports.charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
1302
+ // (s)tretch
1303
+
1304
+ case 115:
1305
+ return ~stylisExports.indexof(value, 'stretch') ? prefix(stylisExports.replace(value, 'stretch', 'fill-available'), length) + value : value;
1306
+ }
1307
+ break;
1308
+ // position: sticky
1309
+
1310
+ case 4949:
1311
+ // (s)ticky?
1312
+ if (stylisExports.charat(value, length + 1) !== 115) break;
1313
+ // display: (flex|inline-flex)
1314
+
1315
+ case 6444:
1316
+ switch (stylisExports.charat(value, stylisExports.strlen(value) - 3 - (~stylisExports.indexof(value, '!important') && 10))) {
1317
+ // stic(k)y
1318
+ case 107:
1319
+ return stylisExports.replace(value, ':', ':' + stylisExports.WEBKIT) + value;
1320
+ // (inline-)?fl(e)x
1321
+
1322
+ case 101:
1323
+ return stylisExports.replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + stylisExports.WEBKIT + (stylisExports.charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + stylisExports.WEBKIT + '$2$3' + '$1' + stylisExports.MS + '$2box$3') + value;
1324
+ }
1325
+ break;
1326
+ // writing-mode
1327
+
1328
+ case 5936:
1329
+ switch (stylisExports.charat(value, length + 11)) {
1330
+ // vertical-l(r)
1331
+ case 114:
1332
+ return stylisExports.WEBKIT + value + stylisExports.MS + stylisExports.replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
1333
+ // vertical-r(l)
1334
+
1335
+ case 108:
1336
+ return stylisExports.WEBKIT + value + stylisExports.MS + stylisExports.replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
1337
+ // horizontal(-)tb
1338
+
1339
+ case 45:
1340
+ return stylisExports.WEBKIT + value + stylisExports.MS + stylisExports.replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
1341
+ }
1342
+ return stylisExports.WEBKIT + value + stylisExports.MS + value + value;
1343
+ }
1344
+ return value;
1345
+ }
1346
+ var prefixer = function prefixer(element, index, children, callback) {
1347
+ if (element.length > -1) if (!element["return"]) switch (element.type) {
1348
+ case stylisExports.DECLARATION:
1349
+ element["return"] = prefix(element.value, element.length);
1350
+ break;
1351
+ case stylisExports.KEYFRAMES:
1352
+ return stylisExports.serialize([stylisExports.copy(element, {
1353
+ value: stylisExports.replace(element.value, '@', '@' + stylisExports.WEBKIT)
1354
+ })], callback);
1355
+ case stylisExports.RULESET:
1356
+ if (element.length) return stylisExports.combine(element.props, function (value) {
1357
+ switch (stylisExports.match(value, /(::plac\w+|:read-\w+)/)) {
1358
+ // :read-(only|write)
1359
+ case ':read-only':
1360
+ case ':read-write':
1361
+ return stylisExports.serialize([stylisExports.copy(element, {
1362
+ props: [stylisExports.replace(value, /:(read-\w+)/, ':' + stylisExports.MOZ + '$1')]
1363
+ })], callback);
1364
+ // :placeholder
1365
+
1366
+ case '::placeholder':
1367
+ return stylisExports.serialize([stylisExports.copy(element, {
1368
+ props: [stylisExports.replace(value, /:(plac\w+)/, ':' + stylisExports.WEBKIT + 'input-$1')]
1369
+ }), stylisExports.copy(element, {
1370
+ props: [stylisExports.replace(value, /:(plac\w+)/, ':' + stylisExports.MOZ + '$1')]
1371
+ }), stylisExports.copy(element, {
1372
+ props: [stylisExports.replace(value, /:(plac\w+)/, stylisExports.MS + 'input-$1')]
1373
+ })], callback);
1374
+ }
1375
+ return '';
1376
+ });
1377
+ }
1378
+ };
1379
+ var getServerStylisCache = isBrowser$4 ? undefined : weakMemoize(function () {
1380
+ return memoize(function () {
1381
+ return {};
1382
+ });
1383
+ });
1384
+ var defaultStylisPlugins = [prefixer];
1385
+ var createCache = function createCache(options) {
1386
+ var key = options.key;
1387
+ if (isBrowser$4 && key === 'css') {
1388
+ var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
1389
+ // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
1390
+ // note this very very intentionally targets all style elements regardless of the key to ensure
1391
+ // that creating a cache works inside of render of a React component
1392
+
1393
+ Array.prototype.forEach.call(ssrStyles, function (node) {
1394
+ // we want to only move elements which have a space in the data-emotion attribute value
1395
+ // because that indicates that it is an Emotion 11 server-side rendered style elements
1396
+ // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
1397
+ // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
1398
+ // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
1399
+ // will not result in the Emotion 10 styles being destroyed
1400
+ var dataEmotionAttribute = node.getAttribute('data-emotion');
1401
+ if (dataEmotionAttribute.indexOf(' ') === -1) {
1402
+ return;
1403
+ }
1404
+ document.head.appendChild(node);
1405
+ node.setAttribute('data-s', '');
1406
+ });
1407
+ }
1408
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
1409
+ var inserted = {};
1410
+ var container;
1411
+ var nodesToHydrate = [];
1412
+ if (isBrowser$4) {
1413
+ container = options.container || document.head;
1414
+ Array.prototype.forEach.call(
1415
+ // this means we will ignore elements which don't have a space in them which
1416
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1417
+ document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
1418
+ var attrib = node.getAttribute("data-emotion").split(' ');
1419
+ for (var i = 1; i < attrib.length; i++) {
1420
+ inserted[attrib[i]] = true;
1421
+ }
1422
+ nodesToHydrate.push(node);
1423
+ });
1424
+ }
1425
+ var _insert;
1426
+ var omnipresentPlugins = [compat, removeLabel];
1427
+ if (!getServerStylisCache) {
1428
+ var currentSheet;
1429
+ var finalizingPlugins = [stylisExports.stringify, stylisExports.rulesheet(function (rule) {
1430
+ currentSheet.insert(rule);
1431
+ })];
1432
+ var serializer = stylisExports.middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
1433
+ var stylis = function stylis(styles) {
1434
+ return stylisExports.serialize(stylisExports.compile(styles), serializer);
1435
+ };
1436
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
1437
+ currentSheet = sheet;
1438
+ stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1439
+ if (shouldCache) {
1440
+ cache.inserted[serialized.name] = true;
1441
+ }
1442
+ };
1443
+ } else {
1444
+ var _finalizingPlugins = [stylisExports.stringify];
1445
+ var _serializer = stylisExports.middleware(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
1446
+ var _stylis = function _stylis(styles) {
1447
+ return stylisExports.serialize(stylisExports.compile(styles), _serializer);
1448
+ };
1449
+ var serverStylisCache = getServerStylisCache(stylisPlugins)(key);
1450
+ var getRules = function getRules(selector, serialized) {
1451
+ var name = serialized.name;
1452
+ if (serverStylisCache[name] === undefined) {
1453
+ serverStylisCache[name] = _stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1454
+ }
1455
+ return serverStylisCache[name];
1456
+ };
1457
+ _insert = function _insert(selector, serialized, sheet, shouldCache) {
1458
+ var name = serialized.name;
1459
+ var rules = getRules(selector, serialized);
1460
+ if (cache.compat === undefined) {
1461
+ // in regular mode, we don't set the styles on the inserted cache
1462
+ // since we don't need to and that would be wasting memory
1463
+ // we return them so that they are rendered in a style tag
1464
+ if (shouldCache) {
1465
+ cache.inserted[name] = true;
1466
+ }
1467
+ return rules;
1468
+ } else {
1469
+ // in compat mode, we put the styles on the inserted cache so
1470
+ // that emotion-server can pull out the styles
1471
+ // except when we don't want to cache it which was in Global but now
1472
+ // is nowhere but we don't want to do a major right now
1473
+ // and just in case we're going to leave the case here
1474
+ // it's also not affecting client side bundle size
1475
+ // so it's really not a big deal
1476
+ if (shouldCache) {
1477
+ cache.inserted[name] = rules;
1478
+ } else {
1479
+ return rules;
1480
+ }
1481
+ }
1482
+ };
1483
+ }
1484
+ var cache = {
1485
+ key: key,
1486
+ sheet: new StyleSheet({
1487
+ key: key,
1488
+ container: container,
1489
+ nonce: options.nonce,
1490
+ speedy: options.speedy,
1491
+ prepend: options.prepend,
1492
+ insertionPoint: options.insertionPoint
1493
+ }),
1494
+ nonce: options.nonce,
1495
+ inserted: inserted,
1496
+ registered: {},
1497
+ insert: _insert
1498
+ };
1499
+ cache.sheet.hydrate(nodesToHydrate);
1500
+ return cache;
1501
+ };
1502
+
1503
+ var reactIsExports = {};
1504
+ var reactIs$1 = {
1505
+ get exports(){ return reactIsExports; },
1506
+ set exports(v){ reactIsExports = v; },
1507
+ };
1508
+
1509
+ var reactIs_production_min = {};
1510
+
1511
+ /** @license React v16.13.1
1512
+ * react-is.production.min.js
1513
+ *
1514
+ * Copyright (c) Facebook, Inc. and its affiliates.
1515
+ *
1516
+ * This source code is licensed under the MIT license found in the
1517
+ * LICENSE file in the root directory of this source tree.
1518
+ */
1519
+ var hasRequiredReactIs_production_min;
1520
+ function requireReactIs_production_min() {
1521
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
1522
+ hasRequiredReactIs_production_min = 1;
1523
+ var b = "function" === typeof Symbol && Symbol.for,
1524
+ c = b ? Symbol.for("react.element") : 60103,
1525
+ d = b ? Symbol.for("react.portal") : 60106,
1526
+ e = b ? Symbol.for("react.fragment") : 60107,
1527
+ f = b ? Symbol.for("react.strict_mode") : 60108,
1528
+ g = b ? Symbol.for("react.profiler") : 60114,
1529
+ h = b ? Symbol.for("react.provider") : 60109,
1530
+ k = b ? Symbol.for("react.context") : 60110,
1531
+ l = b ? Symbol.for("react.async_mode") : 60111,
1532
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
1533
+ n = b ? Symbol.for("react.forward_ref") : 60112,
1534
+ p = b ? Symbol.for("react.suspense") : 60113,
1535
+ q = b ? Symbol.for("react.suspense_list") : 60120,
1536
+ r = b ? Symbol.for("react.memo") : 60115,
1537
+ t = b ? Symbol.for("react.lazy") : 60116,
1538
+ v = b ? Symbol.for("react.block") : 60121,
1539
+ w = b ? Symbol.for("react.fundamental") : 60117,
1540
+ x = b ? Symbol.for("react.responder") : 60118,
1541
+ y = b ? Symbol.for("react.scope") : 60119;
1542
+ function z(a) {
1543
+ if ("object" === typeof a && null !== a) {
1544
+ var u = a.$$typeof;
1545
+ switch (u) {
1546
+ case c:
1547
+ switch (a = a.type, a) {
1548
+ case l:
1549
+ case m:
1550
+ case e:
1551
+ case g:
1552
+ case f:
1553
+ case p:
1554
+ return a;
1555
+ default:
1556
+ switch (a = a && a.$$typeof, a) {
1557
+ case k:
1558
+ case n:
1559
+ case t:
1560
+ case r:
1561
+ case h:
1562
+ return a;
1563
+ default:
1564
+ return u;
1565
+ }
1566
+ }
1567
+ case d:
1568
+ return u;
1569
+ }
1570
+ }
1571
+ }
1572
+ function A(a) {
1573
+ return z(a) === m;
1574
+ }
1575
+ reactIs_production_min.AsyncMode = l;
1576
+ reactIs_production_min.ConcurrentMode = m;
1577
+ reactIs_production_min.ContextConsumer = k;
1578
+ reactIs_production_min.ContextProvider = h;
1579
+ reactIs_production_min.Element = c;
1580
+ reactIs_production_min.ForwardRef = n;
1581
+ reactIs_production_min.Fragment = e;
1582
+ reactIs_production_min.Lazy = t;
1583
+ reactIs_production_min.Memo = r;
1584
+ reactIs_production_min.Portal = d;
1585
+ reactIs_production_min.Profiler = g;
1586
+ reactIs_production_min.StrictMode = f;
1587
+ reactIs_production_min.Suspense = p;
1588
+ reactIs_production_min.isAsyncMode = function (a) {
1589
+ return A(a) || z(a) === l;
1590
+ };
1591
+ reactIs_production_min.isConcurrentMode = A;
1592
+ reactIs_production_min.isContextConsumer = function (a) {
1593
+ return z(a) === k;
1594
+ };
1595
+ reactIs_production_min.isContextProvider = function (a) {
1596
+ return z(a) === h;
1597
+ };
1598
+ reactIs_production_min.isElement = function (a) {
1599
+ return "object" === typeof a && null !== a && a.$$typeof === c;
1600
+ };
1601
+ reactIs_production_min.isForwardRef = function (a) {
1602
+ return z(a) === n;
1603
+ };
1604
+ reactIs_production_min.isFragment = function (a) {
1605
+ return z(a) === e;
1606
+ };
1607
+ reactIs_production_min.isLazy = function (a) {
1608
+ return z(a) === t;
1609
+ };
1610
+ reactIs_production_min.isMemo = function (a) {
1611
+ return z(a) === r;
1612
+ };
1613
+ reactIs_production_min.isPortal = function (a) {
1614
+ return z(a) === d;
1615
+ };
1616
+ reactIs_production_min.isProfiler = function (a) {
1617
+ return z(a) === g;
1618
+ };
1619
+ reactIs_production_min.isStrictMode = function (a) {
1620
+ return z(a) === f;
1621
+ };
1622
+ reactIs_production_min.isSuspense = function (a) {
1623
+ return z(a) === p;
1624
+ };
1625
+ reactIs_production_min.isValidElementType = function (a) {
1626
+ 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);
1627
+ };
1628
+ reactIs_production_min.typeOf = z;
1629
+ return reactIs_production_min;
1630
+ }
1631
+
1632
+ (function (module) {
1633
+
1634
+ {
1635
+ module.exports = requireReactIs_production_min();
1636
+ }
1637
+ })(reactIs$1);
1638
+
1639
+ var reactIs = reactIsExports;
1640
+ var FORWARD_REF_STATICS = {
1641
+ '$$typeof': true,
1642
+ render: true,
1643
+ defaultProps: true,
1644
+ displayName: true,
1645
+ propTypes: true
1646
+ };
1647
+ var MEMO_STATICS = {
1648
+ '$$typeof': true,
1649
+ compare: true,
1650
+ defaultProps: true,
1651
+ displayName: true,
1652
+ propTypes: true,
1653
+ type: true
1654
+ };
1655
+ var TYPE_STATICS = {};
1656
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1657
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1658
+
1659
+ var isBrowser$3 = typeof document !== 'undefined';
1660
+ function getRegisteredStyles(registered, registeredStyles, classNames) {
1661
+ var rawClassName = '';
1662
+ classNames.split(' ').forEach(function (className) {
1663
+ if (registered[className] !== undefined) {
1664
+ registeredStyles.push(registered[className] + ";");
1665
+ } else if (className) {
1666
+ rawClassName += className + " ";
1667
+ }
1668
+ });
1669
+ return rawClassName;
1670
+ }
1671
+ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
1672
+ var className = cache.key + "-" + serialized.name;
1673
+ if (
1674
+ // we only need to add the styles to the registered cache if the
1675
+ // class name could be used further down
1676
+ // the tree but if it's a string tag, we know it won't
1677
+ // so we don't have to add it to registered cache.
1678
+ // this improves memory usage since we can avoid storing the whole style string
1679
+ (isStringTag === false ||
1680
+ // we need to always store it if we're in compat mode and
1681
+ // in node since emotion-server relies on whether a style is in
1682
+ // the registered cache to know whether a style is global or not
1683
+ // also, note that this check will be dead code eliminated in the browser
1684
+ isBrowser$3 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1685
+ cache.registered[className] = serialized.styles;
1686
+ }
1687
+ };
1688
+ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1689
+ registerStyles(cache, serialized, isStringTag);
1690
+ var className = cache.key + "-" + serialized.name;
1691
+ if (cache.inserted[serialized.name] === undefined) {
1692
+ var stylesForSSR = '';
1693
+ var current = serialized;
1694
+ do {
1695
+ var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1696
+ if (!isBrowser$3 && maybeStyles !== undefined) {
1697
+ stylesForSSR += maybeStyles;
1698
+ }
1699
+ current = current.next;
1700
+ } while (current !== undefined);
1701
+ if (!isBrowser$3 && stylesForSSR.length !== 0) {
1702
+ return stylesForSSR;
1703
+ }
1704
+ }
1705
+ };
1706
+
1707
+ /* eslint-disable */
1708
+ // Inspired by https://github.com/garycourt/murmurhash-js
1709
+ // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
1710
+ function murmur2(str) {
1711
+ // 'm' and 'r' are mixing constants generated offline.
1712
+ // They're not really 'magic', they just happen to work well.
1713
+ // const m = 0x5bd1e995;
1714
+ // const r = 24;
1715
+ // Initialize the hash
1716
+ var h = 0; // Mix 4 bytes at a time into the hash
1717
+
1718
+ var k,
1719
+ i = 0,
1720
+ len = str.length;
1721
+ for (; len >= 4; ++i, len -= 4) {
1722
+ k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
1723
+ k = /* Math.imul(k, m): */
1724
+ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
1725
+ k ^= /* k >>> r: */
1726
+ k >>> 24;
1727
+ h = /* Math.imul(k, m): */
1728
+ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */
1729
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1730
+ } // Handle the last few bytes of the input array
1731
+
1732
+ switch (len) {
1733
+ case 3:
1734
+ h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
1735
+ case 2:
1736
+ h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
1737
+ case 1:
1738
+ h ^= str.charCodeAt(i) & 0xff;
1739
+ h = /* Math.imul(h, m): */
1740
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1741
+ } // Do a few final mixes of the hash to ensure the last few
1742
+ // bytes are well-incorporated.
1743
+
1744
+ h ^= h >>> 13;
1745
+ h = /* Math.imul(h, m): */
1746
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1747
+ return ((h ^ h >>> 15) >>> 0).toString(36);
1748
+ }
1749
+
1750
+ var unitlessKeys = {
1751
+ animationIterationCount: 1,
1752
+ aspectRatio: 1,
1753
+ borderImageOutset: 1,
1754
+ borderImageSlice: 1,
1755
+ borderImageWidth: 1,
1756
+ boxFlex: 1,
1757
+ boxFlexGroup: 1,
1758
+ boxOrdinalGroup: 1,
1759
+ columnCount: 1,
1760
+ columns: 1,
1761
+ flex: 1,
1762
+ flexGrow: 1,
1763
+ flexPositive: 1,
1764
+ flexShrink: 1,
1765
+ flexNegative: 1,
1766
+ flexOrder: 1,
1767
+ gridRow: 1,
1768
+ gridRowEnd: 1,
1769
+ gridRowSpan: 1,
1770
+ gridRowStart: 1,
1771
+ gridColumn: 1,
1772
+ gridColumnEnd: 1,
1773
+ gridColumnSpan: 1,
1774
+ gridColumnStart: 1,
1775
+ msGridRow: 1,
1776
+ msGridRowSpan: 1,
1777
+ msGridColumn: 1,
1778
+ msGridColumnSpan: 1,
1779
+ fontWeight: 1,
1780
+ lineHeight: 1,
1781
+ opacity: 1,
1782
+ order: 1,
1783
+ orphans: 1,
1784
+ scale: 1,
1785
+ tabSize: 1,
1786
+ widows: 1,
1787
+ zIndex: 1,
1788
+ zoom: 1,
1789
+ WebkitLineClamp: 1,
1790
+ // SVG-related properties
1791
+ fillOpacity: 1,
1792
+ floodOpacity: 1,
1793
+ stopOpacity: 1,
1794
+ strokeDasharray: 1,
1795
+ strokeDashoffset: 1,
1796
+ strokeMiterlimit: 1,
1797
+ strokeOpacity: 1,
1798
+ strokeWidth: 1
1799
+ };
1800
+
1801
+ var isDevelopment$2 = false;
1802
+ var hyphenateRegex = /[A-Z]|^ms/g;
1803
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1804
+ var isCustomProperty = function isCustomProperty(property) {
1805
+ return property.charCodeAt(1) === 45;
1806
+ };
1807
+ var isProcessableValue = function isProcessableValue(value) {
1808
+ return value != null && typeof value !== 'boolean';
1809
+ };
1810
+ var processStyleName = /* #__PURE__ */memoize(function (styleName) {
1811
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
1812
+ });
1813
+ var processStyleValue = function processStyleValue(key, value) {
1814
+ switch (key) {
1815
+ case 'animation':
1816
+ case 'animationName':
1817
+ {
1818
+ if (typeof value === 'string') {
1819
+ return value.replace(animationRegex, function (match, p1, p2) {
1820
+ cursor = {
1821
+ name: p1,
1822
+ styles: p2,
1823
+ next: cursor
1824
+ };
1825
+ return p1;
1826
+ });
1827
+ }
1828
+ }
1829
+ }
1830
+ if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
1831
+ return value + 'px';
1832
+ }
1833
+ return value;
1834
+ };
1835
+ var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
1836
+ function handleInterpolation(mergedProps, registered, interpolation) {
1837
+ if (interpolation == null) {
1838
+ return '';
1839
+ }
1840
+ var componentSelector = interpolation;
1841
+ if (componentSelector.__emotion_styles !== undefined) {
1842
+ return componentSelector;
1843
+ }
1844
+ switch (typeof interpolation) {
1845
+ case 'boolean':
1846
+ {
1847
+ return '';
1848
+ }
1849
+ case 'object':
1850
+ {
1851
+ var keyframes = interpolation;
1852
+ if (keyframes.anim === 1) {
1853
+ cursor = {
1854
+ name: keyframes.name,
1855
+ styles: keyframes.styles,
1856
+ next: cursor
1857
+ };
1858
+ return keyframes.name;
1859
+ }
1860
+ var serializedStyles = interpolation;
1861
+ if (serializedStyles.styles !== undefined) {
1862
+ var next = serializedStyles.next;
1863
+ if (next !== undefined) {
1864
+ // not the most efficient thing ever but this is a pretty rare case
1865
+ // and there will be very few iterations of this generally
1866
+ while (next !== undefined) {
1867
+ cursor = {
1868
+ name: next.name,
1869
+ styles: next.styles,
1870
+ next: cursor
1871
+ };
1872
+ next = next.next;
1873
+ }
1874
+ }
1875
+ var styles = serializedStyles.styles + ";";
1876
+ return styles;
1877
+ }
1878
+ return createStringFromObject(mergedProps, registered, interpolation);
1879
+ }
1880
+ case 'function':
1881
+ {
1882
+ if (mergedProps !== undefined) {
1883
+ var previousCursor = cursor;
1884
+ var result = interpolation(mergedProps);
1885
+ cursor = previousCursor;
1886
+ return handleInterpolation(mergedProps, registered, result);
1887
+ }
1888
+ break;
1889
+ }
1890
+ } // finalize string values (regular strings and functions interpolated into css calls)
1891
+
1892
+ var asString = interpolation;
1893
+ if (registered == null) {
1894
+ return asString;
1895
+ }
1896
+ var cached = registered[asString];
1897
+ return cached !== undefined ? cached : asString;
1898
+ }
1899
+ function createStringFromObject(mergedProps, registered, obj) {
1900
+ var string = '';
1901
+ if (Array.isArray(obj)) {
1902
+ for (var i = 0; i < obj.length; i++) {
1903
+ string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
1904
+ }
1905
+ } else {
1906
+ for (var key in obj) {
1907
+ var value = obj[key];
1908
+ if (typeof value !== 'object') {
1909
+ var asString = value;
1910
+ if (registered != null && registered[asString] !== undefined) {
1911
+ string += key + "{" + registered[asString] + "}";
1912
+ } else if (isProcessableValue(asString)) {
1913
+ string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
1914
+ }
1915
+ } else {
1916
+ if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment$2) {
1917
+ throw new Error(noComponentSelectorMessage);
1918
+ }
1919
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
1920
+ for (var _i = 0; _i < value.length; _i++) {
1921
+ if (isProcessableValue(value[_i])) {
1922
+ string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
1923
+ }
1924
+ }
1925
+ } else {
1926
+ var interpolated = handleInterpolation(mergedProps, registered, value);
1927
+ switch (key) {
1928
+ case 'animation':
1929
+ case 'animationName':
1930
+ {
1931
+ string += processStyleName(key) + ":" + interpolated + ";";
1932
+ break;
1933
+ }
1934
+ default:
1935
+ {
1936
+ string += key + "{" + interpolated + "}";
1937
+ }
1938
+ }
1939
+ }
1940
+ }
1941
+ }
1942
+ }
1943
+ return string;
1944
+ }
1945
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
1946
+ // keyframes are stored on the SerializedStyles object as a linked list
1947
+
1948
+ var cursor;
1949
+ function serializeStyles(args, registered, mergedProps) {
1950
+ if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
1951
+ return args[0];
1952
+ }
1953
+ var stringMode = true;
1954
+ var styles = '';
1955
+ cursor = undefined;
1956
+ var strings = args[0];
1957
+ if (strings == null || strings.raw === undefined) {
1958
+ stringMode = false;
1959
+ styles += handleInterpolation(mergedProps, registered, strings);
1960
+ } else {
1961
+ var asTemplateStringsArr = strings;
1962
+ styles += asTemplateStringsArr[0];
1963
+ } // we start at 1 since we've already handled the first arg
1964
+
1965
+ for (var i = 1; i < args.length; i++) {
1966
+ styles += handleInterpolation(mergedProps, registered, args[i]);
1967
+ if (stringMode) {
1968
+ var templateStringsArr = strings;
1969
+ styles += templateStringsArr[i];
1970
+ }
1971
+ } // using a global regex with .exec is stateful so lastIndex has to be reset each time
1972
+
1973
+ labelPattern.lastIndex = 0;
1974
+ var identifierName = '';
1975
+ var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
1976
+
1977
+ while ((match = labelPattern.exec(styles)) !== null) {
1978
+ identifierName += '-' + match[1];
1979
+ }
1980
+ var name = murmur2(styles) + identifierName;
1981
+ return {
1982
+ name: name,
1983
+ styles: styles,
1984
+ next: cursor
1985
+ };
1986
+ }
1987
+
1988
+ var isBrowser$2 = typeof document !== 'undefined';
1989
+ var syncFallback = function syncFallback(create) {
1990
+ return create();
1991
+ };
1992
+ var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
1993
+ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
1994
+
1995
+ var isDevelopment$1 = false;
1996
+ var isBrowser$1 = typeof document !== 'undefined';
1997
+ var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext(
1998
+ // we're doing this to avoid preconstruct's dead code elimination in this one case
1999
+ // because this module is primarily intended for the browser and node
2000
+ // but it's also required in react native and similar environments sometimes
2001
+ // and we could have a special build just for that
2002
+ // but this is much easier and the native packages
2003
+ // might use a different theme context in the future anyway
2004
+ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
2005
+ key: 'css'
2006
+ }) : null);
2007
+ EmotionCacheContext.Provider;
2008
+ var withEmotionCache = function withEmotionCache(func) {
2009
+ return /*#__PURE__*/React.forwardRef(function (props, ref) {
2010
+ // the cache will never be null in the browser
2011
+ var cache = React.useContext(EmotionCacheContext);
2012
+ return func(props, cache, ref);
2013
+ });
2014
+ };
2015
+ if (!isBrowser$1) {
2016
+ withEmotionCache = function withEmotionCache(func) {
2017
+ return function (props) {
2018
+ var cache = React.useContext(EmotionCacheContext);
2019
+ if (cache === null) {
2020
+ // yes, we're potentially creating this on every render
2021
+ // it doesn't actually matter though since it's only on the server
2022
+ // so there will only every be a single render
2023
+ // that could change in the future because of suspense and etc. but for now,
2024
+ // this works and i don't want to optimise for a future thing that we aren't sure about
2025
+ cache = createCache({
2026
+ key: 'css'
2027
+ });
2028
+ return /*#__PURE__*/React__namespace.createElement(EmotionCacheContext.Provider, {
2029
+ value: cache
2030
+ }, func(props, cache));
2031
+ } else {
2032
+ return func(props, cache);
2033
+ }
2034
+ };
2035
+ };
2036
+ }
2037
+ var ThemeContext$1 = /* #__PURE__ */React__namespace.createContext({});
2038
+ var hasOwn = {}.hasOwnProperty;
2039
+ var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
2040
+ var createEmotionProps = function createEmotionProps(type, props) {
2041
+ var newProps = {};
2042
+ for (var _key in props) {
2043
+ if (hasOwn.call(props, _key)) {
2044
+ newProps[_key] = props[_key];
2045
+ }
2046
+ }
2047
+ newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
2048
+
2049
+ return newProps;
2050
+ };
2051
+ var Insertion$1 = function Insertion(_ref) {
2052
+ var cache = _ref.cache,
2053
+ serialized = _ref.serialized,
2054
+ isStringTag = _ref.isStringTag;
2055
+ registerStyles(cache, serialized, isStringTag);
2056
+ var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
2057
+ return insertStyles(cache, serialized, isStringTag);
2058
+ });
2059
+ if (!isBrowser$1 && rules !== undefined) {
2060
+ var _ref2;
2061
+ var serializedNames = serialized.name;
2062
+ var next = serialized.next;
2063
+ while (next !== undefined) {
2064
+ serializedNames += ' ' + next.name;
2065
+ next = next.next;
2066
+ }
2067
+ return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
2068
+ __html: rules
2069
+ }, _ref2.nonce = cache.sheet.nonce, _ref2));
2070
+ }
2071
+ return null;
2072
+ };
2073
+ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
2074
+ var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
2075
+ // not passing the registered cache to serializeStyles because it would
2076
+ // make certain babel optimisations not possible
2077
+
2078
+ if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
2079
+ cssProp = cache.registered[cssProp];
2080
+ }
2081
+ var WrappedComponent = props[typePropName];
2082
+ var registeredStyles = [cssProp];
2083
+ var className = '';
2084
+ if (typeof props.className === 'string') {
2085
+ className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
2086
+ } else if (props.className != null) {
2087
+ className = props.className + " ";
2088
+ }
2089
+ var serialized = serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext$1));
2090
+ className += cache.key + "-" + serialized.name;
2091
+ var newProps = {};
2092
+ for (var _key2 in props) {
2093
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && !isDevelopment$1) {
2094
+ newProps[_key2] = props[_key2];
2095
+ }
2096
+ }
2097
+ newProps.className = className;
2098
+ if (ref) {
2099
+ newProps.ref = ref;
2100
+ }
2101
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion$1, {
2102
+ cache: cache,
2103
+ serialized: serialized,
2104
+ isStringTag: typeof WrappedComponent === 'string'
2105
+ }), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
2106
+ });
2107
+ var Emotion$1 = Emotion;
2108
+
2109
+ var _extendsExports = {};
2110
+ var _extends = {
2111
+ get exports(){ return _extendsExports; },
2112
+ set exports(v){ _extendsExports = v; },
2113
+ };
2114
+
2115
+ (function (module) {
2116
+ function _extends() {
2117
+ return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {
2118
+ for (var e = 1; e < arguments.length; e++) {
2119
+ var t = arguments[e];
2120
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
2121
+ }
2122
+ return n;
2123
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends.apply(null, arguments);
2124
+ }
2125
+ module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
2126
+ })(_extends);
2127
+
2128
+ var jsx = function jsx(type, props) {
2129
+ // eslint-disable-next-line prefer-rest-params
2130
+ var args = arguments;
2131
+ if (props == null || !hasOwn.call(props, 'css')) {
2132
+ return React__namespace.createElement.apply(undefined, args);
2133
+ }
2134
+ var argsLength = args.length;
2135
+ var createElementArgArray = new Array(argsLength);
2136
+ createElementArgArray[0] = Emotion$1;
2137
+ createElementArgArray[1] = createEmotionProps(type, props);
2138
+ for (var i = 2; i < argsLength; i++) {
2139
+ createElementArgArray[i] = args[i];
2140
+ }
2141
+ return React__namespace.createElement.apply(null, createElementArgArray);
2142
+ };
2143
+ (function (_jsx) {
2144
+ var JSX;
2145
+ (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
2146
+ })(jsx || (jsx = {}));
2147
+
2148
+ // eslint-disable-next-line no-undef
2149
+ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
2150
+
2151
+ var isPropValid = /* #__PURE__ */memoize(function (prop) {
2152
+ return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
2153
+ /* o */ && prop.charCodeAt(1) === 110
2154
+ /* n */ && prop.charCodeAt(2) < 91;
2155
+ }
2156
+ /* Z+1 */);
2157
+
2158
+ var isBrowser = typeof document !== 'undefined';
2159
+ var isDevelopment = false;
2160
+ var testOmitPropsOnStringTag = isPropValid;
2161
+ var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
2162
+ return key !== 'theme';
2163
+ };
2164
+ var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
2165
+ return typeof tag === 'string' &&
2166
+ // 96 is one less than the char code
2167
+ // for "a" so this is checking that
2168
+ // it's a lowercase character
2169
+ tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
2170
+ };
2171
+ var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
2172
+ var shouldForwardProp;
2173
+ if (options) {
2174
+ var optionsShouldForwardProp = options.shouldForwardProp;
2175
+ shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
2176
+ return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
2177
+ } : optionsShouldForwardProp;
2178
+ }
2179
+ if (typeof shouldForwardProp !== 'function' && isReal) {
2180
+ shouldForwardProp = tag.__emotion_forwardProp;
2181
+ }
2182
+ return shouldForwardProp;
2183
+ };
2184
+ var Insertion = function Insertion(_ref) {
2185
+ var cache = _ref.cache,
2186
+ serialized = _ref.serialized,
2187
+ isStringTag = _ref.isStringTag;
2188
+ registerStyles(cache, serialized, isStringTag);
2189
+ var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
2190
+ return insertStyles(cache, serialized, isStringTag);
2191
+ });
2192
+ if (!isBrowser && rules !== undefined) {
2193
+ var _ref2;
2194
+ var serializedNames = serialized.name;
2195
+ var next = serialized.next;
2196
+ while (next !== undefined) {
2197
+ serializedNames += ' ' + next.name;
2198
+ next = next.next;
2199
+ }
2200
+ return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
2201
+ __html: rules
2202
+ }, _ref2.nonce = cache.sheet.nonce, _ref2));
2203
+ }
2204
+ return null;
2205
+ };
2206
+ var createStyled = function createStyled(tag, options) {
2207
+ var isReal = tag.__emotion_real === tag;
2208
+ var baseTag = isReal && tag.__emotion_base || tag;
2209
+ var identifierName;
2210
+ var targetClassName;
2211
+ if (options !== undefined) {
2212
+ identifierName = options.label;
2213
+ targetClassName = options.target;
2214
+ }
2215
+ var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
2216
+ var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
2217
+ var shouldUseAs = !defaultShouldForwardProp('as');
2218
+ return function () {
2219
+ // eslint-disable-next-line prefer-rest-params
2220
+ var args = arguments;
2221
+ var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];
2222
+ if (identifierName !== undefined) {
2223
+ styles.push("label:" + identifierName + ";");
2224
+ }
2225
+ if (args[0] == null || args[0].raw === undefined) {
2226
+ // eslint-disable-next-line prefer-spread
2227
+ styles.push.apply(styles, args);
2228
+ } else {
2229
+ var templateStringsArr = args[0];
2230
+ styles.push(templateStringsArr[0]);
2231
+ var len = args.length;
2232
+ var i = 1;
2233
+ for (; i < len; i++) {
2234
+ styles.push(args[i], templateStringsArr[i]);
2235
+ }
2236
+ }
2237
+ var Styled = withEmotionCache(function (props, cache, ref) {
2238
+ var FinalTag = shouldUseAs && props.as || baseTag;
2239
+ var className = '';
2240
+ var classInterpolations = [];
2241
+ var mergedProps = props;
2242
+ if (props.theme == null) {
2243
+ mergedProps = {};
2244
+ for (var key in props) {
2245
+ mergedProps[key] = props[key];
2246
+ }
2247
+ mergedProps.theme = React__namespace.useContext(ThemeContext$1);
2248
+ }
2249
+ if (typeof props.className === 'string') {
2250
+ className = getRegisteredStyles(cache.registered, classInterpolations, props.className);
2251
+ } else if (props.className != null) {
2252
+ className = props.className + " ";
2253
+ }
2254
+ var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
2255
+ className += cache.key + "-" + serialized.name;
2256
+ if (targetClassName !== undefined) {
2257
+ className += " " + targetClassName;
2258
+ }
2259
+ var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
2260
+ var newProps = {};
2261
+ for (var _key in props) {
2262
+ if (shouldUseAs && _key === 'as') continue;
2263
+ if (finalShouldForwardProp(_key)) {
2264
+ newProps[_key] = props[_key];
2265
+ }
2266
+ }
2267
+ newProps.className = className;
2268
+ if (ref) {
2269
+ newProps.ref = ref;
2270
+ }
2271
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
2272
+ cache: cache,
2273
+ serialized: serialized,
2274
+ isStringTag: typeof FinalTag === 'string'
2275
+ }), /*#__PURE__*/React__namespace.createElement(FinalTag, newProps));
2276
+ });
2277
+ Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
2278
+ Styled.defaultProps = tag.defaultProps;
2279
+ Styled.__emotion_real = Styled;
2280
+ Styled.__emotion_base = baseTag;
2281
+ Styled.__emotion_styles = styles;
2282
+ Styled.__emotion_forwardProp = shouldForwardProp;
2283
+ Object.defineProperty(Styled, 'toString', {
2284
+ value: function value() {
2285
+ if (targetClassName === undefined && isDevelopment) {
2286
+ return 'NO_COMPONENT_SELECTOR';
2287
+ }
2288
+ return "." + targetClassName;
2289
+ }
2290
+ });
2291
+ Styled.withComponent = function (nextTag, nextOptions) {
2292
+ var newStyled = createStyled(nextTag, _extends$1({}, options, nextOptions, {
2293
+ shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
2294
+ }));
2295
+ return newStyled.apply(void 0, styles);
2296
+ };
2297
+ return Styled;
2298
+ };
2299
+ };
2300
+
2301
+ var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr',
2302
+ // SVG
2303
+ 'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];
2304
+
2305
+ // bind it to avoid mutating the original function
2306
+ var styled = createStyled.bind(null);
2307
+ tags.forEach(function (tagName) {
2308
+ styled[tagName] = styled(tagName);
2309
+ });
240
2310
 
241
2311
  var duration = {
242
2312
  shortest: 150,
@@ -247,9 +2317,6 @@
247
2317
  enteringScreen: 225,
248
2318
  leavingScreen: 195
249
2319
  };
250
- var opacity = {
251
- '0.5': 0.5
252
- };
253
2320
  var easing = {
254
2321
  easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',
255
2322
  easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',
@@ -325,8 +2392,7 @@
325
2392
  grapetini900: colors.grapetini900,
326
2393
  pinaColada750: colors.pinaColada750,
327
2394
  neutral50: colors.neutral50,
328
- coralpink: colors.coralpink,
329
- green700: colors.green700
2395
+ coralpink: colors.coralpink
330
2396
  },
331
2397
  button: {
332
2398
  outlinedPrimaryLabel: colors.neutral900,
@@ -400,7 +2466,9 @@
400
2466
  disabledDark: colors.disabled100,
401
2467
  defaultDark: colors.neutral700,
402
2468
  defaultDarkest: colors.neutral900,
403
- grey: colors.neutral500
2469
+ grey: colors.neutral500,
2470
+ secondary2: colors.blue100,
2471
+ sandGrey100: colors.sandGrey100
404
2472
  },
405
2473
  border: {
406
2474
  primary: colors.neutral900,
@@ -464,8 +2532,7 @@
464
2532
  neutral100: colors.neutral100,
465
2533
  pinaColada750: colors.pinaColada750,
466
2534
  pinaColada100: colors.pinaColada100,
467
- brown: colors.brown,
468
- green700: colors.green700
2535
+ brown: colors.brown
469
2536
  },
470
2537
  counter: counter$1,
471
2538
  calendar: {
@@ -474,7 +2541,6 @@
474
2541
  selected: colors.neutral900
475
2542
  }
476
2543
  },
477
- opacity: opacity,
478
2544
  elevation: __assign({}, elevation),
479
2545
  border: __assign({}, border),
480
2546
  spacing: __assign({}, spacing),
@@ -502,10 +2568,7 @@
502
2568
  secondary2: '',
503
2569
  grapetini900: '',
504
2570
  pinaColada750: '',
505
- alert: '',
506
- green700: '',
507
- neutral700: '',
508
- neutral900: ''
2571
+ alert: ''
509
2572
  },
510
2573
  zIndex: zIndex
511
2574
  };
@@ -693,17 +2756,41 @@
693
2756
  })
694
2757
  })
695
2758
  });
696
- var ThemeContext = react.createContext({
2759
+ var ThemeContext = React.createContext({
697
2760
  theme: B2CTheme,
698
2761
  platform: 'mobile'
699
2762
  });
700
2763
  var useTheme = function () {
701
- var themeContext = react.useContext(ThemeContext);
2764
+ var themeContext = React.useContext(ThemeContext);
702
2765
  var theme = (themeContext || {
703
2766
  theme: B2CTheme
704
2767
  }).theme;
705
2768
  return theme;
706
2769
  };
2770
+ var ThemeManagerClass = function () {
2771
+ function ThemeManagerClass() {
2772
+ if (ThemeManagerClass.instance) {
2773
+ throw new Error('You can only create one instance!');
2774
+ }
2775
+ ThemeManagerClass.instance = this;
2776
+ this.theme = B2CTheme;
2777
+ }
2778
+ ThemeManagerClass.prototype.set = function (theme) {
2779
+ switch (theme) {
2780
+ case 'B2C':
2781
+ default:
2782
+ {
2783
+ this.theme = B2CTheme;
2784
+ break;
2785
+ }
2786
+ }
2787
+ };
2788
+ ThemeManagerClass.prototype.get = function () {
2789
+ return this.theme;
2790
+ };
2791
+ return ThemeManagerClass;
2792
+ }();
2793
+ Object.freeze(new ThemeManagerClass());
707
2794
 
708
2795
  exports.StarSizeProps = void 0;
709
2796
  (function (StarSizeProps) {