@ntbjs/react-components 1.3.0-rc.6 → 1.3.0-rc.60

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.
Files changed (68) hide show
  1. package/.eslintrc +7 -8
  2. package/{ActionButton-46735b89.js → ActionButton-607bc22f.js} +19 -16
  3. package/{Alert-13b75102.js → Alert-7bbe87f3.js} +20 -24
  4. package/{AssetGallery-c8b24eb3.js → AssetAction-3c1dbe16.js} +606 -651
  5. package/AssetPreviewTopBar-14bd42d0.js +104 -0
  6. package/{Badge-757b0a39.js → Badge-dc50d116.js} +28 -49
  7. package/{Button-49f82b31.js → Button-86626421.js} +96 -87
  8. package/{Checkbox-68dc38a8.js → Checkbox-876f71f0.js} +30 -35
  9. package/{CompactAutocompleteSelect-755b1869.js → CompactAutocompleteSelect-32a19c92.js} +82 -114
  10. package/{CompactStarRating-bcfb78ac.js → CompactStarRating-7f680abd.js} +83 -94
  11. package/{CompactTextInput-9e507306.js → CompactTextInput-337b6320.js} +110 -106
  12. package/{ContextMenu-4ec3d9f3.js → ContextMenu-b6ba7a22.js} +6 -6
  13. package/{ContextMenuItem-ba2b697e.js → ContextMenuItem-30f7d64d.js} +22 -26
  14. package/{InputGroup-49fbc423.js → InputGroup-d25c66ad.js} +6 -6
  15. package/{Instructions-ab2eb3c7.js → Instructions-702b7c0b.js} +97 -81
  16. package/{MultiLevelCheckboxSelect-b897d605.js → MultiLevelCheckboxSelect-d95f448b.js} +102 -164
  17. package/{MultiSelect-efd60232.js → MultiSelect-0cfc8d6c.js} +71 -101
  18. package/{Popover-569cd272.js → Popover-5e9ab515.js} +41 -40
  19. package/{Radio-32d0513a.js → Radio-8282d0d6.js} +21 -22
  20. package/{SectionSeparator-259a22ed.js → SectionSeparator-c9ec6fac.js} +6 -6
  21. package/{Switch-4a41585f.js → Switch-57f729bb.js} +25 -27
  22. package/{Tab-f499ecbc.js → Tab-572141e4.js} +7 -7
  23. package/{Tabs-a8c77f71.js → Tabs-9dbd5b85.js} +39 -43
  24. package/{TextArea-d17c9516.js → TextArea-41b4f022.js} +93 -125
  25. package/{TextInput-0d109708.js → TextInput-ad10ba15.js} +48 -50
  26. package/{Tooltip-66daf6e3.js → Tooltip-5bbe5971.js} +13 -13
  27. package/{VerificationStatusIcon-d5bfb67a.js → VerificationStatusIcon-10460fe7.js} +20 -30
  28. package/{close-ebf2f3cf.js → close-1751121a.js} +8 -12
  29. package/data/Alert/index.js +2 -2
  30. package/data/Badge/index.js +2 -2
  31. package/data/Popover/index.js +3 -3
  32. package/data/Tab/index.js +2 -2
  33. package/data/Tabs/index.js +3 -3
  34. package/data/Tooltip/index.js +3 -3
  35. package/data/index.js +9 -9
  36. package/{defaultTheme-ea44e34a.js → defaultTheme-06b819a9.js} +213 -261
  37. package/edit-note-cefe2215.js +37 -0
  38. package/{expand-more-94585605.js → expand-more-d74e2bd2.js} +8 -12
  39. package/inputs/ActionButton/index.js +2 -2
  40. package/inputs/Button/index.js +6 -6
  41. package/inputs/Checkbox/index.js +2 -2
  42. package/inputs/CompactAutocompleteSelect/index.js +13 -13
  43. package/inputs/CompactStarRating/index.js +10 -10
  44. package/inputs/CompactTextInput/index.js +11 -11
  45. package/inputs/MultiSelect/index.js +4 -4
  46. package/inputs/Radio/index.js +2 -2
  47. package/inputs/Switch/index.js +2 -2
  48. package/inputs/TextArea/index.js +11 -11
  49. package/inputs/TextInput/index.js +3 -3
  50. package/inputs/index.js +28 -28
  51. package/layout/InputGroup/index.js +2 -2
  52. package/layout/SectionSeparator/index.js +2 -2
  53. package/layout/index.js +3 -3
  54. package/package.json +4 -3
  55. package/{react-select-creatable.esm-2f23d6c6.js → react-select-creatable.esm-3c7b7450.js} +1414 -1285
  56. package/{shift-away-subtle-0bed9a3c.js → shift-away-subtle-16a9f31b.js} +1 -1
  57. package/ssr/index.js +1 -3
  58. package/styles/config.scss +1 -0
  59. package/widgets/AssetGallery/index.js +34 -32
  60. package/widgets/AssetPreview/AssetPreviewTopBar/index.js +3 -3
  61. package/widgets/ContextMenu/ContextMenuItem/index.js +2 -2
  62. package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +6 -6
  63. package/widgets/ContextMenu/index.js +2 -2
  64. package/widgets/Instructions/index.js +16 -17
  65. package/widgets/index.js +37 -35
  66. package/AssetPreviewTopBar-912c3469.js +0 -99
  67. package/edit-note-c47d292e.js +0 -41
  68. package/warning-circle-24522402.js +0 -41
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
+ var defaultTheme$1 = require('./defaultTheme-06b819a9.js');
4
5
  var reactDom = require('react-dom');
5
6
 
6
7
  function _interopNamespace(e) {
@@ -12,228 +13,190 @@ function _interopNamespace(e) {
12
13
  var d = Object.getOwnPropertyDescriptor(e, k);
13
14
  Object.defineProperty(n, k, d.get ? d : {
14
15
  enumerable: true,
15
- get: function () {
16
- return e[k];
17
- }
16
+ get: function () { return e[k]; }
18
17
  });
19
18
  }
20
19
  });
21
20
  }
22
- n['default'] = e;
21
+ n["default"] = e;
23
22
  return Object.freeze(n);
24
23
  }
25
24
 
26
25
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
26
 
28
27
  function _extends() {
29
- _extends = Object.assign ? Object.assign.bind() : function (target) {
30
- for (var i = 1; i < arguments.length; i++) {
31
- var source = arguments[i];
32
-
33
- for (var key in source) {
34
- if (Object.prototype.hasOwnProperty.call(source, key)) {
35
- target[key] = source[key];
36
- }
37
- }
28
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
29
+ for (var e = 1; e < arguments.length; e++) {
30
+ var t = arguments[e];
31
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38
32
  }
33
+ return n;
34
+ }, _extends.apply(null, arguments);
35
+ }
39
36
 
40
- return target;
41
- };
42
- return _extends.apply(this, arguments);
37
+ function _typeof(o) {
38
+ "@babel/helpers - typeof";
39
+
40
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
41
+ return typeof o;
42
+ } : function (o) {
43
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
44
+ }, _typeof(o);
43
45
  }
44
46
 
45
- function _defineProperty(obj, key, value) {
46
- if (key in obj) {
47
- Object.defineProperty(obj, key, {
48
- value: value,
49
- enumerable: true,
50
- configurable: true,
51
- writable: true
52
- });
53
- } else {
54
- obj[key] = value;
47
+ function toPrimitive(t, r) {
48
+ if ("object" != _typeof(t) || !t) return t;
49
+ var e = t[Symbol.toPrimitive];
50
+ if (void 0 !== e) {
51
+ var i = e.call(t, r || "default");
52
+ if ("object" != _typeof(i)) return i;
53
+ throw new TypeError("@@toPrimitive must return a primitive value.");
55
54
  }
55
+ return ("string" === r ? String : Number)(t);
56
+ }
56
57
 
57
- return obj;
58
+ function toPropertyKey(t) {
59
+ var i = toPrimitive(t, "string");
60
+ return "symbol" == _typeof(i) ? i : i + "";
58
61
  }
59
62
 
60
- function ownKeys(object, enumerableOnly) {
61
- var keys = Object.keys(object);
63
+ function _defineProperty(e, r, t) {
64
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
65
+ value: t,
66
+ enumerable: !0,
67
+ configurable: !0,
68
+ writable: !0
69
+ }) : e[r] = t, e;
70
+ }
62
71
 
72
+ function ownKeys(e, r) {
73
+ var t = Object.keys(e);
63
74
  if (Object.getOwnPropertySymbols) {
64
- var symbols = Object.getOwnPropertySymbols(object);
65
- enumerableOnly && (symbols = symbols.filter(function (sym) {
66
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
67
- })), keys.push.apply(keys, symbols);
75
+ var o = Object.getOwnPropertySymbols(e);
76
+ r && (o = o.filter(function (r) {
77
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
78
+ })), t.push.apply(t, o);
68
79
  }
69
-
70
- return keys;
71
- }
72
-
73
- function _objectSpread2(target) {
74
- for (var i = 1; i < arguments.length; i++) {
75
- var source = null != arguments[i] ? arguments[i] : {};
76
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
77
- _defineProperty(target, key, source[key]);
78
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
79
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
80
+ return t;
81
+ }
82
+ function _objectSpread2(e) {
83
+ for (var r = 1; r < arguments.length; r++) {
84
+ var t = null != arguments[r] ? arguments[r] : {};
85
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
86
+ _defineProperty(e, r, t[r]);
87
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
88
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
80
89
  });
81
90
  }
82
-
83
- return target;
91
+ return e;
84
92
  }
85
93
 
86
- function _classCallCheck(instance, Constructor) {
87
- if (!(instance instanceof Constructor)) {
88
- throw new TypeError("Cannot call a class as a function");
89
- }
94
+ function _classCallCheck(a, n) {
95
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
90
96
  }
91
97
 
92
- function _defineProperties(target, props) {
93
- for (var i = 0; i < props.length; i++) {
94
- var descriptor = props[i];
95
- descriptor.enumerable = descriptor.enumerable || false;
96
- descriptor.configurable = true;
97
- if ("value" in descriptor) descriptor.writable = true;
98
- Object.defineProperty(target, descriptor.key, descriptor);
98
+ function _defineProperties(e, r) {
99
+ for (var t = 0; t < r.length; t++) {
100
+ var o = r[t];
101
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
99
102
  }
100
103
  }
101
-
102
- function _createClass(Constructor, protoProps, staticProps) {
103
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
104
- if (staticProps) _defineProperties(Constructor, staticProps);
105
- Object.defineProperty(Constructor, "prototype", {
106
- writable: false
107
- });
108
- return Constructor;
104
+ function _createClass(e, r, t) {
105
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
106
+ writable: !1
107
+ }), e;
109
108
  }
110
109
 
111
- function _setPrototypeOf(o, p) {
112
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
113
- o.__proto__ = p;
114
- return o;
115
- };
116
- return _setPrototypeOf(o, p);
110
+ function _setPrototypeOf(t, e) {
111
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
112
+ return t.__proto__ = e, t;
113
+ }, _setPrototypeOf(t, e);
117
114
  }
118
115
 
119
- function _inherits(subClass, superClass) {
120
- if (typeof superClass !== "function" && superClass !== null) {
121
- throw new TypeError("Super expression must either be null or a function");
122
- }
123
-
124
- subClass.prototype = Object.create(superClass && superClass.prototype, {
116
+ function _inherits(t, e) {
117
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
118
+ t.prototype = Object.create(e && e.prototype, {
125
119
  constructor: {
126
- value: subClass,
127
- writable: true,
128
- configurable: true
120
+ value: t,
121
+ writable: !0,
122
+ configurable: !0
129
123
  }
130
- });
131
- Object.defineProperty(subClass, "prototype", {
132
- writable: false
133
- });
134
- if (superClass) _setPrototypeOf(subClass, superClass);
124
+ }), Object.defineProperty(t, "prototype", {
125
+ writable: !1
126
+ }), e && _setPrototypeOf(t, e);
135
127
  }
136
128
 
137
- function _getPrototypeOf(o) {
138
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
139
- return o.__proto__ || Object.getPrototypeOf(o);
140
- };
141
- return _getPrototypeOf(o);
129
+ function _getPrototypeOf(t) {
130
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
131
+ return t.__proto__ || Object.getPrototypeOf(t);
132
+ }, _getPrototypeOf(t);
142
133
  }
143
134
 
144
135
  function _isNativeReflectConstruct() {
145
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
146
- if (Reflect.construct.sham) return false;
147
- if (typeof Proxy === "function") return true;
148
-
149
136
  try {
150
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
151
- return true;
152
- } catch (e) {
153
- return false;
154
- }
155
- }
156
-
157
- function _typeof(obj) {
158
- "@babel/helpers - typeof";
159
-
160
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
161
- return typeof obj;
162
- } : function (obj) {
163
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
164
- }, _typeof(obj);
137
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
138
+ } catch (t) {}
139
+ return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
140
+ return !!t;
141
+ })();
165
142
  }
166
143
 
167
- function _assertThisInitialized(self) {
168
- if (self === void 0) {
169
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
170
- }
171
-
172
- return self;
144
+ function _assertThisInitialized(e) {
145
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
146
+ return e;
173
147
  }
174
148
 
175
- function _possibleConstructorReturn(self, call) {
176
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
177
- return call;
178
- } else if (call !== void 0) {
179
- throw new TypeError("Derived constructors may only return object or undefined");
180
- }
181
-
182
- return _assertThisInitialized(self);
149
+ function _possibleConstructorReturn(t, e) {
150
+ if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
151
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
152
+ return _assertThisInitialized(t);
183
153
  }
184
154
 
185
- function _createSuper(Derived) {
186
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
187
- return function _createSuperInternal() {
188
- var Super = _getPrototypeOf(Derived),
189
- result;
190
-
191
- if (hasNativeReflectConstruct) {
192
- var NewTarget = _getPrototypeOf(this).constructor;
193
- result = Reflect.construct(Super, arguments, NewTarget);
194
- } else {
195
- result = Super.apply(this, arguments);
196
- }
197
-
198
- return _possibleConstructorReturn(this, result);
155
+ function _createSuper(t) {
156
+ var r = _isNativeReflectConstruct();
157
+ return function () {
158
+ var e,
159
+ o = _getPrototypeOf(t);
160
+ if (r) {
161
+ var s = _getPrototypeOf(this).constructor;
162
+ e = Reflect.construct(o, arguments, s);
163
+ } else e = o.apply(this, arguments);
164
+ return _possibleConstructorReturn(this, e);
199
165
  };
200
166
  }
201
167
 
202
- function _arrayLikeToArray(arr, len) {
203
- if (len == null || len > arr.length) len = arr.length;
204
-
205
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
206
- arr2[i] = arr[i];
207
- }
208
-
209
- return arr2;
168
+ function _arrayLikeToArray(r, a) {
169
+ (null == a || a > r.length) && (a = r.length);
170
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
171
+ return n;
210
172
  }
211
173
 
212
- function _arrayWithoutHoles(arr) {
213
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
174
+ function _arrayWithoutHoles(r) {
175
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
214
176
  }
215
177
 
216
- function _iterableToArray(iter) {
217
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
178
+ function _iterableToArray(r) {
179
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
218
180
  }
219
181
 
220
- function _unsupportedIterableToArray(o, minLen) {
221
- if (!o) return;
222
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
223
- var n = Object.prototype.toString.call(o).slice(8, -1);
224
- if (n === "Object" && o.constructor) n = o.constructor.name;
225
- if (n === "Map" || n === "Set") return Array.from(o);
226
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
182
+ function _unsupportedIterableToArray(r, a) {
183
+ if (r) {
184
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
185
+ var t = {}.toString.call(r).slice(8, -1);
186
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
187
+ }
227
188
  }
228
189
 
229
190
  function _nonIterableSpread() {
230
191
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
231
192
  }
232
193
 
233
- function _toConsumableArray(arr) {
234
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
194
+ function _toConsumableArray(r) {
195
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
235
196
  }
236
197
 
198
+ var isDevelopment$2 = false;
199
+
237
200
  /*
238
201
 
239
202
  Based off glamor's StyleSheet, thanks Sunil ❤️
@@ -256,10 +219,9 @@ styleSheet.flush()
256
219
  - empties the stylesheet of all its contents
257
220
 
258
221
  */
259
- // $FlowFixMe
222
+
260
223
  function sheetForTag(tag) {
261
224
  if (tag.sheet) {
262
- // $FlowFixMe
263
225
  return tag.sheet;
264
226
  } // this weirdness brought to you by firefox
265
227
 
@@ -268,10 +230,13 @@ function sheetForTag(tag) {
268
230
 
269
231
  for (var i = 0; i < document.styleSheets.length; i++) {
270
232
  if (document.styleSheets[i].ownerNode === tag) {
271
- // $FlowFixMe
272
233
  return document.styleSheets[i];
273
234
  }
274
- }
235
+ } // this function should always return with a value
236
+ // TS can't understand it though so we make it stop complaining here
237
+
238
+
239
+ return undefined;
275
240
  }
276
241
 
277
242
  function createStyleElement(options) {
@@ -312,7 +277,7 @@ var StyleSheet = /*#__PURE__*/function () {
312
277
  _this.tags.push(tag);
313
278
  };
314
279
 
315
- this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
280
+ this.isSpeedy = options.speedy === undefined ? !isDevelopment$2 : options.speedy;
316
281
  this.tags = [];
317
282
  this.ctr = 0;
318
283
  this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
@@ -340,18 +305,6 @@ var StyleSheet = /*#__PURE__*/function () {
340
305
 
341
306
  var tag = this.tags[this.tags.length - 1];
342
307
 
343
- if (process.env.NODE_ENV !== 'production') {
344
- var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
345
-
346
- if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
347
- // this would only cause problem in speedy mode
348
- // but we don't want enabling speedy to affect the observable behavior
349
- // so we report this error at all times
350
- 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.');
351
- }
352
- this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
353
- }
354
-
355
308
  if (this.isSpeedy) {
356
309
  var sheet = sheetForTag(tag);
357
310
 
@@ -360,9 +313,6 @@ var StyleSheet = /*#__PURE__*/function () {
360
313
  // the big drawback is that the css won't be editable in devtools
361
314
  sheet.insertRule(rule, sheet.cssRules.length);
362
315
  } catch (e) {
363
- if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
364
- console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
365
- }
366
316
  }
367
317
  } else {
368
318
  tag.appendChild(document.createTextNode(rule));
@@ -372,16 +322,13 @@ var StyleSheet = /*#__PURE__*/function () {
372
322
  };
373
323
 
374
324
  _proto.flush = function flush() {
375
- // $FlowFixMe
376
325
  this.tags.forEach(function (tag) {
377
- return tag.parentNode && tag.parentNode.removeChild(tag);
326
+ var _tag$parentNode;
327
+
328
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
378
329
  });
379
330
  this.tags = [];
380
331
  this.ctr = 0;
381
-
382
- if (process.env.NODE_ENV !== 'production') {
383
- this._alreadyInsertedOrderInsensitiveRule = false;
384
- }
385
332
  };
386
333
 
387
334
  return StyleSheet;
@@ -986,11 +933,11 @@ function rulesheet (callback) {
986
933
  }
987
934
 
988
935
  var weakMemoize = function weakMemoize(func) {
989
- // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
990
936
  var cache = new WeakMap();
991
937
  return function (arg) {
992
938
  if (cache.has(arg)) {
993
- // $FlowFixMe
939
+ // Use non-null assertion because we just checked that the cache `has` it
940
+ // This allows us to remove `undefined` from the return value
994
941
  return cache.get(arg);
995
942
  }
996
943
 
@@ -1000,7 +947,7 @@ var weakMemoize = function weakMemoize(func) {
1000
947
  };
1001
948
  };
1002
949
 
1003
- function memoize$1(fn) {
950
+ function memoize(fn) {
1004
951
  var cache = Object.create(null);
1005
952
  return function (arg) {
1006
953
  if (cache[arg] === undefined) cache[arg] = fn(arg);
@@ -1008,6 +955,8 @@ function memoize$1(fn) {
1008
955
  };
1009
956
  }
1010
957
 
958
+ var isBrowser$3 = typeof document !== 'undefined';
959
+
1011
960
  var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
1012
961
  var previous = 0;
1013
962
  var character = 0;
@@ -1086,8 +1035,8 @@ var compat = function compat(element) {
1086
1035
  return;
1087
1036
  }
1088
1037
 
1089
- var value = element.value,
1090
- parent = element.parent;
1038
+ var value = element.value;
1039
+ var parent = element.parent;
1091
1040
  var isImplicitRule = element.column === parent.column && element.line === parent.line;
1092
1041
 
1093
1042
  while (parent.type !== 'rule') {
@@ -1132,114 +1081,6 @@ var removeLabel = function removeLabel(element) {
1132
1081
  }
1133
1082
  }
1134
1083
  };
1135
- var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
1136
-
1137
- var isIgnoringComment = function isIgnoringComment(element) {
1138
- return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
1139
- };
1140
-
1141
- var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
1142
- return function (element, index, children) {
1143
- if (element.type !== 'rule' || cache.compat) return;
1144
- var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
1145
-
1146
- if (unsafePseudoClasses) {
1147
- var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
1148
- //
1149
- // considering this input:
1150
- // .a {
1151
- // .b /* comm */ {}
1152
- // color: hotpink;
1153
- // }
1154
- // we get output corresponding to this:
1155
- // .a {
1156
- // & {
1157
- // /* comm */
1158
- // color: hotpink;
1159
- // }
1160
- // .b {}
1161
- // }
1162
-
1163
- var commentContainer = isNested ? element.parent.children : // global rule at the root level
1164
- children;
1165
-
1166
- for (var i = commentContainer.length - 1; i >= 0; i--) {
1167
- var node = commentContainer[i];
1168
-
1169
- if (node.line < element.line) {
1170
- break;
1171
- } // it is quite weird but comments are *usually* put at `column: element.column - 1`
1172
- // so we seek *from the end* for the node that is earlier than the rule's `element` and check that
1173
- // this will also match inputs like this:
1174
- // .a {
1175
- // /* comm */
1176
- // .b {}
1177
- // }
1178
- //
1179
- // but that is fine
1180
- //
1181
- // it would be the easiest to change the placement of the comment to be the first child of the rule:
1182
- // .a {
1183
- // .b { /* comm */ }
1184
- // }
1185
- // with such inputs we wouldn't have to search for the comment at all
1186
- // TODO: consider changing this comment placement in the next major version
1187
-
1188
-
1189
- if (node.column < element.column) {
1190
- if (isIgnoringComment(node)) {
1191
- return;
1192
- }
1193
-
1194
- break;
1195
- }
1196
- }
1197
-
1198
- unsafePseudoClasses.forEach(function (unsafePseudoClass) {
1199
- console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
1200
- });
1201
- }
1202
- };
1203
- };
1204
-
1205
- var isImportRule = function isImportRule(element) {
1206
- return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
1207
- };
1208
-
1209
- var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
1210
- for (var i = index - 1; i >= 0; i--) {
1211
- if (!isImportRule(children[i])) {
1212
- return true;
1213
- }
1214
- }
1215
-
1216
- return false;
1217
- }; // use this to remove incorrect elements from further processing
1218
- // so they don't get handed to the `sheet` (or anything else)
1219
- // as that could potentially lead to additional logs which in turn could be overhelming to the user
1220
-
1221
-
1222
- var nullifyElement = function nullifyElement(element) {
1223
- element.type = '';
1224
- element.value = '';
1225
- element["return"] = '';
1226
- element.children = '';
1227
- element.props = '';
1228
- };
1229
-
1230
- var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
1231
- if (!isImportRule(element)) {
1232
- return;
1233
- }
1234
-
1235
- if (element.parent) {
1236
- 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.");
1237
- nullifyElement(element);
1238
- } else if (isPrependedWithRegularRules(index, children)) {
1239
- console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
1240
- nullifyElement(element);
1241
- }
1242
- };
1243
1084
 
1244
1085
  /* eslint-disable no-fallthrough */
1245
1086
 
@@ -1453,13 +1294,9 @@ var prefixer = function prefixer(element, index, children, callback) {
1453
1294
  }
1454
1295
  };
1455
1296
 
1456
- var isBrowser$4 = typeof document !== 'undefined';
1457
- var getServerStylisCache = isBrowser$4 ? undefined : weakMemoize(function () {
1458
- return memoize$1(function () {
1459
- var cache = {};
1460
- return function (name) {
1461
- return cache[name];
1462
- };
1297
+ var getServerStylisCache = isBrowser$3 ? undefined : weakMemoize(function () {
1298
+ return memoize(function () {
1299
+ return {};
1463
1300
  });
1464
1301
  });
1465
1302
  var defaultStylisPlugins = [prefixer];
@@ -1467,11 +1304,7 @@ var defaultStylisPlugins = [prefixer];
1467
1304
  var createCache = function createCache(options) {
1468
1305
  var key = options.key;
1469
1306
 
1470
- if (process.env.NODE_ENV !== 'production' && !key) {
1471
- 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.");
1472
- }
1473
-
1474
- if (isBrowser$4 && key === 'css') {
1307
+ if (isBrowser$3 && key === 'css') {
1475
1308
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
1476
1309
  // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
1477
1310
  // note this very very intentionally targets all style elements regardless of the key to ensure
@@ -1489,6 +1322,7 @@ var createCache = function createCache(options) {
1489
1322
  if (dataEmotionAttribute.indexOf(' ') === -1) {
1490
1323
  return;
1491
1324
  }
1325
+
1492
1326
  document.head.appendChild(node);
1493
1327
  node.setAttribute('data-s', '');
1494
1328
  });
@@ -1496,23 +1330,16 @@ var createCache = function createCache(options) {
1496
1330
 
1497
1331
  var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
1498
1332
 
1499
- if (process.env.NODE_ENV !== 'production') {
1500
- // $FlowFixMe
1501
- if (/[^a-z-]/.test(key)) {
1502
- throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
1503
- }
1504
- }
1505
-
1506
1333
  var inserted = {};
1507
1334
  var container;
1508
1335
  var nodesToHydrate = [];
1509
1336
 
1510
- if (isBrowser$4) {
1337
+ if (isBrowser$3) {
1511
1338
  container = options.container || document.head;
1512
1339
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
1513
1340
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1514
1341
  document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
1515
- var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
1342
+ var attrib = node.getAttribute("data-emotion").split(' ');
1516
1343
 
1517
1344
  for (var i = 1; i < attrib.length; i++) {
1518
1345
  inserted[attrib[i]] = true;
@@ -1526,28 +1353,9 @@ var createCache = function createCache(options) {
1526
1353
 
1527
1354
  var omnipresentPlugins = [compat, removeLabel];
1528
1355
 
1529
- if (process.env.NODE_ENV !== 'production') {
1530
- omnipresentPlugins.push(createUnsafeSelectorsAlarm({
1531
- get compat() {
1532
- return cache.compat;
1533
- }
1534
-
1535
- }), incorrectImportAlarm);
1536
- }
1537
-
1538
- if (isBrowser$4) {
1356
+ if (!getServerStylisCache) {
1539
1357
  var currentSheet;
1540
- var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {
1541
- if (!element.root) {
1542
- if (element["return"]) {
1543
- currentSheet.insert(element["return"]);
1544
- } else if (element.value && element.type !== COMMENT) {
1545
- // insert empty rule in non-production environments
1546
- // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
1547
- currentSheet.insert(element.value + "{}");
1548
- }
1549
- }
1550
- } : rulesheet(function (rule) {
1358
+ var finalizingPlugins = [stringify, rulesheet(function (rule) {
1551
1359
  currentSheet.insert(rule);
1552
1360
  })];
1553
1361
  var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
@@ -1559,14 +1367,6 @@ var createCache = function createCache(options) {
1559
1367
  _insert = function insert(selector, serialized, sheet, shouldCache) {
1560
1368
  currentSheet = sheet;
1561
1369
 
1562
- if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
1563
- currentSheet = {
1564
- insert: function insert(rule) {
1565
- sheet.insert(rule + serialized.map);
1566
- }
1567
- };
1568
- }
1569
-
1570
1370
  stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1571
1371
 
1572
1372
  if (shouldCache) {
@@ -1580,8 +1380,7 @@ var createCache = function createCache(options) {
1580
1380
 
1581
1381
  var _stylis = function _stylis(styles) {
1582
1382
  return serialize(compile(styles), _serializer);
1583
- }; // $FlowFixMe
1584
-
1383
+ };
1585
1384
 
1586
1385
  var serverStylisCache = getServerStylisCache(stylisPlugins)(key);
1587
1386
 
@@ -1607,12 +1406,6 @@ var createCache = function createCache(options) {
1607
1406
  cache.inserted[name] = true;
1608
1407
  }
1609
1408
 
1610
- if ( // using === development instead of !== production
1611
- // because if people do ssr in tests, the source maps showing up would be annoying
1612
- process.env.NODE_ENV === 'development' && serialized.map !== undefined) {
1613
- return rules + serialized.map;
1614
- }
1615
-
1616
1409
  return rules;
1617
1410
  } else {
1618
1411
  // in compat mode, we put the styles on the inserted cache so
@@ -1650,213 +1443,7 @@ var createCache = function createCache(options) {
1650
1443
  return cache;
1651
1444
  };
1652
1445
 
1653
- var reactIs$1 = {exports: {}};
1654
-
1655
- var reactIs_production_min = {};
1656
-
1657
- /** @license React v16.13.1
1658
- * react-is.production.min.js
1659
- *
1660
- * Copyright (c) Facebook, Inc. and its affiliates.
1661
- *
1662
- * This source code is licensed under the MIT license found in the
1663
- * LICENSE file in the root directory of this source tree.
1664
- */
1665
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
1666
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w$1=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
1667
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
1668
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
1669
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
1670
- reactIs_production_min.isValidElementType=function(a){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$1||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
1671
-
1672
- var reactIs_development = {};
1673
-
1674
- /** @license React v16.13.1
1675
- * react-is.development.js
1676
- *
1677
- * Copyright (c) Facebook, Inc. and its affiliates.
1678
- *
1679
- * This source code is licensed under the MIT license found in the
1680
- * LICENSE file in the root directory of this source tree.
1681
- */
1682
-
1683
-
1684
-
1685
- if (process.env.NODE_ENV !== "production") {
1686
- (function() {
1687
-
1688
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1689
- // nor polyfill, then a plain number is used for performance.
1690
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1691
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1692
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1693
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1694
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1695
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1696
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1697
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1698
- // (unstable) APIs that have been removed. Can we remove the symbols?
1699
-
1700
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1701
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1702
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1703
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1704
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1705
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1706
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1707
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1708
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1709
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1710
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1711
-
1712
- function isValidElementType(type) {
1713
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1714
- 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);
1715
- }
1716
-
1717
- function typeOf(object) {
1718
- if (typeof object === 'object' && object !== null) {
1719
- var $$typeof = object.$$typeof;
1720
-
1721
- switch ($$typeof) {
1722
- case REACT_ELEMENT_TYPE:
1723
- var type = object.type;
1724
-
1725
- switch (type) {
1726
- case REACT_ASYNC_MODE_TYPE:
1727
- case REACT_CONCURRENT_MODE_TYPE:
1728
- case REACT_FRAGMENT_TYPE:
1729
- case REACT_PROFILER_TYPE:
1730
- case REACT_STRICT_MODE_TYPE:
1731
- case REACT_SUSPENSE_TYPE:
1732
- return type;
1733
-
1734
- default:
1735
- var $$typeofType = type && type.$$typeof;
1736
-
1737
- switch ($$typeofType) {
1738
- case REACT_CONTEXT_TYPE:
1739
- case REACT_FORWARD_REF_TYPE:
1740
- case REACT_LAZY_TYPE:
1741
- case REACT_MEMO_TYPE:
1742
- case REACT_PROVIDER_TYPE:
1743
- return $$typeofType;
1744
-
1745
- default:
1746
- return $$typeof;
1747
- }
1748
-
1749
- }
1750
-
1751
- case REACT_PORTAL_TYPE:
1752
- return $$typeof;
1753
- }
1754
- }
1755
-
1756
- return undefined;
1757
- } // AsyncMode is deprecated along with isAsyncMode
1758
-
1759
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
1760
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1761
- var ContextConsumer = REACT_CONTEXT_TYPE;
1762
- var ContextProvider = REACT_PROVIDER_TYPE;
1763
- var Element = REACT_ELEMENT_TYPE;
1764
- var ForwardRef = REACT_FORWARD_REF_TYPE;
1765
- var Fragment = REACT_FRAGMENT_TYPE;
1766
- var Lazy = REACT_LAZY_TYPE;
1767
- var Memo = REACT_MEMO_TYPE;
1768
- var Portal = REACT_PORTAL_TYPE;
1769
- var Profiler = REACT_PROFILER_TYPE;
1770
- var StrictMode = REACT_STRICT_MODE_TYPE;
1771
- var Suspense = REACT_SUSPENSE_TYPE;
1772
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1773
-
1774
- function isAsyncMode(object) {
1775
- {
1776
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1777
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1778
-
1779
- 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.');
1780
- }
1781
- }
1782
-
1783
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1784
- }
1785
- function isConcurrentMode(object) {
1786
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1787
- }
1788
- function isContextConsumer(object) {
1789
- return typeOf(object) === REACT_CONTEXT_TYPE;
1790
- }
1791
- function isContextProvider(object) {
1792
- return typeOf(object) === REACT_PROVIDER_TYPE;
1793
- }
1794
- function isElement(object) {
1795
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1796
- }
1797
- function isForwardRef(object) {
1798
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
1799
- }
1800
- function isFragment(object) {
1801
- return typeOf(object) === REACT_FRAGMENT_TYPE;
1802
- }
1803
- function isLazy(object) {
1804
- return typeOf(object) === REACT_LAZY_TYPE;
1805
- }
1806
- function isMemo(object) {
1807
- return typeOf(object) === REACT_MEMO_TYPE;
1808
- }
1809
- function isPortal(object) {
1810
- return typeOf(object) === REACT_PORTAL_TYPE;
1811
- }
1812
- function isProfiler(object) {
1813
- return typeOf(object) === REACT_PROFILER_TYPE;
1814
- }
1815
- function isStrictMode(object) {
1816
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
1817
- }
1818
- function isSuspense(object) {
1819
- return typeOf(object) === REACT_SUSPENSE_TYPE;
1820
- }
1821
-
1822
- reactIs_development.AsyncMode = AsyncMode;
1823
- reactIs_development.ConcurrentMode = ConcurrentMode;
1824
- reactIs_development.ContextConsumer = ContextConsumer;
1825
- reactIs_development.ContextProvider = ContextProvider;
1826
- reactIs_development.Element = Element;
1827
- reactIs_development.ForwardRef = ForwardRef;
1828
- reactIs_development.Fragment = Fragment;
1829
- reactIs_development.Lazy = Lazy;
1830
- reactIs_development.Memo = Memo;
1831
- reactIs_development.Portal = Portal;
1832
- reactIs_development.Profiler = Profiler;
1833
- reactIs_development.StrictMode = StrictMode;
1834
- reactIs_development.Suspense = Suspense;
1835
- reactIs_development.isAsyncMode = isAsyncMode;
1836
- reactIs_development.isConcurrentMode = isConcurrentMode;
1837
- reactIs_development.isContextConsumer = isContextConsumer;
1838
- reactIs_development.isContextProvider = isContextProvider;
1839
- reactIs_development.isElement = isElement;
1840
- reactIs_development.isForwardRef = isForwardRef;
1841
- reactIs_development.isFragment = isFragment;
1842
- reactIs_development.isLazy = isLazy;
1843
- reactIs_development.isMemo = isMemo;
1844
- reactIs_development.isPortal = isPortal;
1845
- reactIs_development.isProfiler = isProfiler;
1846
- reactIs_development.isStrictMode = isStrictMode;
1847
- reactIs_development.isSuspense = isSuspense;
1848
- reactIs_development.isValidElementType = isValidElementType;
1849
- reactIs_development.typeOf = typeOf;
1850
- })();
1851
- }
1852
-
1853
- if (process.env.NODE_ENV === 'production') {
1854
- reactIs$1.exports = reactIs_production_min;
1855
- } else {
1856
- reactIs$1.exports = reactIs_development;
1857
- }
1858
-
1859
- var reactIs = reactIs$1.exports;
1446
+ var reactIs = defaultTheme$1.reactIs.exports;
1860
1447
  var FORWARD_REF_STATICS = {
1861
1448
  '$$typeof': true,
1862
1449
  render: true,
@@ -1876,13 +1463,14 @@ var TYPE_STATICS = {};
1876
1463
  TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1877
1464
  TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1878
1465
 
1879
- var isBrowser$3 = typeof document !== 'undefined';
1466
+ var isBrowser$2 = typeof document !== 'undefined';
1467
+
1880
1468
  function getRegisteredStyles(registered, registeredStyles, classNames) {
1881
1469
  var rawClassName = '';
1882
1470
  classNames.split(' ').forEach(function (className) {
1883
1471
  if (registered[className] !== undefined) {
1884
1472
  registeredStyles.push(registered[className] + ";");
1885
- } else {
1473
+ } else if (className) {
1886
1474
  rawClassName += className + " ";
1887
1475
  }
1888
1476
  });
@@ -1900,7 +1488,7 @@ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
1900
1488
  // in node since emotion-server relies on whether a style is in
1901
1489
  // the registered cache to know whether a style is global or not
1902
1490
  // also, note that this check will be dead code eliminated in the browser
1903
- isBrowser$3 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1491
+ isBrowser$2 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
1904
1492
  cache.registered[className] = serialized.styles;
1905
1493
  }
1906
1494
  };
@@ -1915,14 +1503,14 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1915
1503
  do {
1916
1504
  var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1917
1505
 
1918
- if (!isBrowser$3 && maybeStyles !== undefined) {
1506
+ if (!isBrowser$2 && maybeStyles !== undefined) {
1919
1507
  stylesForSSR += maybeStyles;
1920
1508
  }
1921
1509
 
1922
1510
  current = current.next;
1923
1511
  } while (current !== undefined);
1924
1512
 
1925
- if (!isBrowser$3 && stylesForSSR.length !== 0) {
1513
+ if (!isBrowser$2 && stylesForSSR.length !== 0) {
1926
1514
  return stylesForSSR;
1927
1515
  }
1928
1516
  }
@@ -2016,6 +1604,7 @@ var unitlessKeys = {
2016
1604
  opacity: 1,
2017
1605
  order: 1,
2018
1606
  orphans: 1,
1607
+ scale: 1,
2019
1608
  tabSize: 1,
2020
1609
  widows: 1,
2021
1610
  zIndex: 1,
@@ -2032,16 +1621,8 @@ var unitlessKeys = {
2032
1621
  strokeWidth: 1
2033
1622
  };
2034
1623
 
2035
- function memoize(fn) {
2036
- var cache = Object.create(null);
2037
- return function (arg) {
2038
- if (cache[arg] === undefined) cache[arg] = fn(arg);
2039
- return cache[arg];
2040
- };
2041
- }
1624
+ var isDevelopment$1 = false;
2042
1625
 
2043
- 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";
2044
- 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).";
2045
1626
  var hyphenateRegex = /[A-Z]|^ms/g;
2046
1627
  var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
2047
1628
 
@@ -2082,34 +1663,6 @@ var processStyleValue = function processStyleValue(key, value) {
2082
1663
  return value;
2083
1664
  };
2084
1665
 
2085
- if (process.env.NODE_ENV !== 'production') {
2086
- var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
2087
- var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
2088
- var oldProcessStyleValue = processStyleValue;
2089
- var msPattern = /^-ms-/;
2090
- var hyphenPattern = /-(.)/g;
2091
- var hyphenatedCache = {};
2092
-
2093
- processStyleValue = function processStyleValue(key, value) {
2094
- if (key === 'content') {
2095
- 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) !== "'")) {
2096
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
2097
- }
2098
- }
2099
-
2100
- var processed = oldProcessStyleValue(key, value);
2101
-
2102
- if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
2103
- hyphenatedCache[key] = true;
2104
- 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) {
2105
- return _char.toUpperCase();
2106
- }) + "?");
2107
- }
2108
-
2109
- return processed;
2110
- };
2111
- }
2112
-
2113
1666
  var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
2114
1667
 
2115
1668
  function handleInterpolation(mergedProps, registered, interpolation) {
@@ -2117,12 +1670,11 @@ function handleInterpolation(mergedProps, registered, interpolation) {
2117
1670
  return '';
2118
1671
  }
2119
1672
 
2120
- if (interpolation.__emotion_styles !== undefined) {
2121
- if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
2122
- throw new Error(noComponentSelectorMessage);
2123
- }
1673
+ var componentSelector = interpolation;
1674
+
1675
+ if (componentSelector.__emotion_styles !== undefined) {
2124
1676
 
2125
- return interpolation;
1677
+ return componentSelector;
2126
1678
  }
2127
1679
 
2128
1680
  switch (typeof interpolation) {
@@ -2133,17 +1685,21 @@ function handleInterpolation(mergedProps, registered, interpolation) {
2133
1685
 
2134
1686
  case 'object':
2135
1687
  {
2136
- if (interpolation.anim === 1) {
1688
+ var keyframes = interpolation;
1689
+
1690
+ if (keyframes.anim === 1) {
2137
1691
  cursor = {
2138
- name: interpolation.name,
2139
- styles: interpolation.styles,
1692
+ name: keyframes.name,
1693
+ styles: keyframes.styles,
2140
1694
  next: cursor
2141
1695
  };
2142
- return interpolation.name;
1696
+ return keyframes.name;
2143
1697
  }
2144
1698
 
2145
- if (interpolation.styles !== undefined) {
2146
- var next = interpolation.next;
1699
+ var serializedStyles = interpolation;
1700
+
1701
+ if (serializedStyles.styles !== undefined) {
1702
+ var next = serializedStyles.next;
2147
1703
 
2148
1704
  if (next !== undefined) {
2149
1705
  // not the most efficient thing ever but this is a pretty rare case
@@ -2158,12 +1714,7 @@ function handleInterpolation(mergedProps, registered, interpolation) {
2158
1714
  }
2159
1715
  }
2160
1716
 
2161
- var styles = interpolation.styles + ";";
2162
-
2163
- if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
2164
- styles += interpolation.map;
2165
- }
2166
-
1717
+ var styles = serializedStyles.styles + ";";
2167
1718
  return styles;
2168
1719
  }
2169
1720
 
@@ -2177,37 +1728,21 @@ function handleInterpolation(mergedProps, registered, interpolation) {
2177
1728
  var result = interpolation(mergedProps);
2178
1729
  cursor = previousCursor;
2179
1730
  return handleInterpolation(mergedProps, registered, result);
2180
- } else if (process.env.NODE_ENV !== 'production') {
2181
- 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}`");
2182
1731
  }
2183
1732
 
2184
1733
  break;
2185
1734
  }
2186
-
2187
- case 'string':
2188
- if (process.env.NODE_ENV !== 'production') {
2189
- var matched = [];
2190
- var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
2191
- var fakeVarName = "animation" + matched.length;
2192
- matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
2193
- return "${" + fakeVarName + "}";
2194
- });
2195
-
2196
- if (matched.length) {
2197
- 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 + "`"));
2198
- }
2199
- }
2200
-
2201
- break;
2202
1735
  } // finalize string values (regular strings and functions interpolated into css calls)
2203
1736
 
2204
1737
 
1738
+ var asString = interpolation;
1739
+
2205
1740
  if (registered == null) {
2206
- return interpolation;
1741
+ return asString;
2207
1742
  }
2208
1743
 
2209
- var cached = registered[interpolation];
2210
- return cached !== undefined ? cached : interpolation;
1744
+ var cached = registered[asString];
1745
+ return cached !== undefined ? cached : asString;
2211
1746
  }
2212
1747
 
2213
1748
  function createStringFromObject(mergedProps, registered, obj) {
@@ -2218,44 +1753,43 @@ function createStringFromObject(mergedProps, registered, obj) {
2218
1753
  string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
2219
1754
  }
2220
1755
  } else {
2221
- for (var _key in obj) {
2222
- var value = obj[_key];
1756
+ for (var key in obj) {
1757
+ var value = obj[key];
2223
1758
 
2224
1759
  if (typeof value !== 'object') {
2225
- if (registered != null && registered[value] !== undefined) {
2226
- string += _key + "{" + registered[value] + "}";
2227
- } else if (isProcessableValue(value)) {
2228
- string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
1760
+ var asString = value;
1761
+
1762
+ if (registered != null && registered[asString] !== undefined) {
1763
+ string += key + "{" + registered[asString] + "}";
1764
+ } else if (isProcessableValue(asString)) {
1765
+ string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
2229
1766
  }
2230
1767
  } else {
2231
- if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
1768
+ if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment$1) {
2232
1769
  throw new Error(noComponentSelectorMessage);
2233
1770
  }
2234
1771
 
2235
1772
  if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
2236
1773
  for (var _i = 0; _i < value.length; _i++) {
2237
1774
  if (isProcessableValue(value[_i])) {
2238
- string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
1775
+ string += processStyleName(key) + ":" + processStyleValue(key, value[_i]) + ";";
2239
1776
  }
2240
1777
  }
2241
1778
  } else {
2242
1779
  var interpolated = handleInterpolation(mergedProps, registered, value);
2243
1780
 
2244
- switch (_key) {
1781
+ switch (key) {
2245
1782
  case 'animation':
2246
1783
  case 'animationName':
2247
1784
  {
2248
- string += processStyleName(_key) + ":" + interpolated + ";";
1785
+ string += processStyleName(key) + ":" + interpolated + ";";
2249
1786
  break;
2250
1787
  }
2251
1788
 
2252
1789
  default:
2253
1790
  {
2254
- if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
2255
- console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
2256
- }
2257
1791
 
2258
- string += _key + "{" + interpolated + "}";
1792
+ string += key + "{" + interpolated + "}";
2259
1793
  }
2260
1794
  }
2261
1795
  }
@@ -2266,17 +1800,11 @@ function createStringFromObject(mergedProps, registered, obj) {
2266
1800
  return string;
2267
1801
  }
2268
1802
 
2269
- var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
2270
- var sourceMapPattern;
2271
-
2272
- if (process.env.NODE_ENV !== 'production') {
2273
- sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
2274
- } // this is the cursor for keyframes
1803
+ var labelPattern = /label:\s*([^\s;{]+)\s*(;|$)/g; // this is the cursor for keyframes
2275
1804
  // keyframes are stored on the SerializedStyles object as a linked list
2276
1805
 
2277
-
2278
1806
  var cursor;
2279
- var serializeStyles = function serializeStyles(args, registered, mergedProps) {
1807
+ function serializeStyles(args, registered, mergedProps) {
2280
1808
  if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
2281
1809
  return args[0];
2282
1810
  }
@@ -2290,11 +1818,9 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
2290
1818
  stringMode = false;
2291
1819
  styles += handleInterpolation(mergedProps, registered, strings);
2292
1820
  } else {
2293
- if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
2294
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2295
- }
1821
+ var asTemplateStringsArr = strings;
2296
1822
 
2297
- styles += strings[0];
1823
+ styles += asTemplateStringsArr[0];
2298
1824
  } // we start at 1 since we've already handled the first arg
2299
1825
 
2300
1826
 
@@ -2302,21 +1828,10 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
2302
1828
  styles += handleInterpolation(mergedProps, registered, args[i]);
2303
1829
 
2304
1830
  if (stringMode) {
2305
- if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
2306
- console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2307
- }
1831
+ var templateStringsArr = strings;
2308
1832
 
2309
- styles += strings[i];
1833
+ styles += templateStringsArr[i];
2310
1834
  }
2311
- }
2312
-
2313
- var sourceMap;
2314
-
2315
- if (process.env.NODE_ENV !== 'production') {
2316
- styles = styles.replace(sourceMapPattern, function (match) {
2317
- sourceMap = match;
2318
- return '';
2319
- });
2320
1835
  } // using a global regex with .exec is stateful so lastIndex has to be reset each time
2321
1836
 
2322
1837
 
@@ -2325,44 +1840,30 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
2325
1840
  var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
2326
1841
 
2327
1842
  while ((match = labelPattern.exec(styles)) !== null) {
2328
- identifierName += '-' + // $FlowFixMe we know it's not null
2329
- match[1];
1843
+ identifierName += '-' + match[1];
2330
1844
  }
2331
1845
 
2332
1846
  var name = murmur2(styles) + identifierName;
2333
1847
 
2334
- if (process.env.NODE_ENV !== 'production') {
2335
- // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
2336
- return {
2337
- name: name,
2338
- styles: styles,
2339
- map: sourceMap,
2340
- next: cursor,
2341
- toString: function toString() {
2342
- 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).";
2343
- }
2344
- };
2345
- }
2346
-
2347
1848
  return {
2348
1849
  name: name,
2349
1850
  styles: styles,
2350
1851
  next: cursor
2351
1852
  };
2352
- };
1853
+ }
2353
1854
 
2354
- var isBrowser$2 = typeof document !== 'undefined';
1855
+ var isBrowser$1 = typeof document !== 'undefined';
2355
1856
 
2356
1857
  var syncFallback = function syncFallback(create) {
2357
1858
  return create();
2358
1859
  };
2359
1860
 
2360
1861
  var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
2361
- var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
2362
- var useInsertionEffectWithLayoutFallback = useInsertionEffect || React__namespace.useLayoutEffect;
1862
+ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$1 ? syncFallback : useInsertionEffect || syncFallback;
2363
1863
 
2364
- var isBrowser$1 = typeof document !== 'undefined';
2365
- var hasOwnProperty = {}.hasOwnProperty;
1864
+ var isDevelopment = false;
1865
+
1866
+ var isBrowser = typeof document !== 'undefined';
2366
1867
 
2367
1868
  var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
2368
1869
  // because this module is primarily intended for the browser and node
@@ -2374,14 +1875,9 @@ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
2374
1875
  key: 'css'
2375
1876
  }) : null);
2376
1877
 
2377
- if (process.env.NODE_ENV !== 'production') {
2378
- EmotionCacheContext.displayName = 'EmotionCacheContext';
2379
- }
2380
-
2381
1878
  EmotionCacheContext.Provider;
2382
1879
 
2383
1880
  var withEmotionCache = function withEmotionCache(func) {
2384
- // $FlowFixMe
2385
1881
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
2386
1882
  // the cache will never be null in the browser
2387
1883
  var cache = React.useContext(EmotionCacheContext);
@@ -2389,7 +1885,7 @@ var withEmotionCache = function withEmotionCache(func) {
2389
1885
  });
2390
1886
  };
2391
1887
 
2392
- if (!isBrowser$1) {
1888
+ if (!isBrowser) {
2393
1889
  withEmotionCache = function withEmotionCache(func) {
2394
1890
  return function (props) {
2395
1891
  var cache = React.useContext(EmotionCacheContext);
@@ -2415,81 +1911,25 @@ if (!isBrowser$1) {
2415
1911
 
2416
1912
  var ThemeContext = /* #__PURE__ */React__namespace.createContext({});
2417
1913
 
2418
- if (process.env.NODE_ENV !== 'production') {
2419
- ThemeContext.displayName = 'EmotionThemeContext';
2420
- }
2421
-
2422
- var getLastPart = function getLastPart(functionName) {
2423
- // The match may be something like 'Object.createEmotionProps' or
2424
- // 'Loader.prototype.render'
2425
- var parts = functionName.split('.');
2426
- return parts[parts.length - 1];
2427
- };
2428
-
2429
- var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
2430
- // V8
2431
- var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
2432
- if (match) return getLastPart(match[1]); // Safari / Firefox
2433
-
2434
- match = /^([A-Za-z0-9$.]+)@/.exec(line);
2435
- if (match) return getLastPart(match[1]);
2436
- return undefined;
2437
- };
2438
-
2439
- var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
2440
- // identifiers, thus we only need to replace what is a valid character for JS,
2441
- // but not for CSS.
2442
-
2443
- var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
2444
- return identifier.replace(/\$/g, '-');
2445
- };
2446
-
2447
- var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
2448
- if (!stackTrace) return undefined;
2449
- var lines = stackTrace.split('\n');
2450
-
2451
- for (var i = 0; i < lines.length; i++) {
2452
- var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
2453
-
2454
- if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
2455
-
2456
- if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
2457
- // uppercase letter
2458
-
2459
- if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
2460
- }
2461
-
2462
- return undefined;
2463
- };
1914
+ var hasOwn = {}.hasOwnProperty;
2464
1915
 
2465
1916
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
2466
- var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
2467
1917
  var createEmotionProps = function createEmotionProps(type, props) {
2468
- if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
2469
- props.css.indexOf(':') !== -1) {
2470
- 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 + "`");
2471
- }
2472
1918
 
2473
1919
  var newProps = {};
2474
1920
 
2475
- for (var key in props) {
2476
- if (hasOwnProperty.call(props, key)) {
2477
- newProps[key] = props[key];
1921
+ for (var _key in props) {
1922
+ if (hasOwn.call(props, _key)) {
1923
+ newProps[_key] = props[_key];
2478
1924
  }
2479
1925
  }
2480
1926
 
2481
- newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
2482
- // the label hasn't already been computed
2483
-
2484
- if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
2485
- var label = getLabelFromStackTrace(new Error().stack);
2486
- if (label) newProps[labelPropName] = label;
2487
- }
1927
+ newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:
2488
1928
 
2489
1929
  return newProps;
2490
1930
  };
2491
1931
 
2492
- var Insertion$1 = function Insertion(_ref) {
1932
+ var Insertion = function Insertion(_ref) {
2493
1933
  var cache = _ref.cache,
2494
1934
  serialized = _ref.serialized,
2495
1935
  isStringTag = _ref.isStringTag;
@@ -2498,7 +1938,7 @@ var Insertion$1 = function Insertion(_ref) {
2498
1938
  return insertStyles(cache, serialized, isStringTag);
2499
1939
  });
2500
1940
 
2501
- if (!isBrowser$1 && rules !== undefined) {
1941
+ if (!isBrowser && rules !== undefined) {
2502
1942
  var _ref2;
2503
1943
 
2504
1944
  var serializedNames = serialized.name;
@@ -2538,175 +1978,35 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
2538
1978
 
2539
1979
  var serialized = serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext));
2540
1980
 
2541
- if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
2542
- var labelFromStack = props[labelPropName];
2543
-
2544
- if (labelFromStack) {
2545
- serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);
2546
- }
2547
- }
2548
-
2549
1981
  className += cache.key + "-" + serialized.name;
2550
1982
  var newProps = {};
2551
1983
 
2552
- for (var key in props) {
2553
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2554
- newProps[key] = props[key];
1984
+ for (var _key2 in props) {
1985
+ if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {
1986
+ newProps[_key2] = props[_key2];
2555
1987
  }
2556
1988
  }
2557
1989
 
2558
- newProps.ref = ref;
2559
1990
  newProps.className = className;
2560
- return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion$1, {
1991
+
1992
+ if (ref) {
1993
+ newProps.ref = ref;
1994
+ }
1995
+
1996
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
2561
1997
  cache: cache,
2562
1998
  serialized: serialized,
2563
1999
  isStringTag: typeof WrappedComponent === 'string'
2564
2000
  }), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
2565
2001
  });
2566
2002
 
2567
- if (process.env.NODE_ENV !== 'production') {
2568
- Emotion.displayName = 'EmotionCssPropInternal';
2569
- }
2570
-
2571
2003
  var Emotion$1 = Emotion;
2572
2004
 
2573
- var pkg = {
2574
- name: "@emotion/react",
2575
- version: "11.11.1",
2576
- main: "dist/emotion-react.cjs.js",
2577
- module: "dist/emotion-react.esm.js",
2578
- browser: {
2579
- "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
2580
- },
2581
- exports: {
2582
- ".": {
2583
- module: {
2584
- worker: "./dist/emotion-react.worker.esm.js",
2585
- browser: "./dist/emotion-react.browser.esm.js",
2586
- "default": "./dist/emotion-react.esm.js"
2587
- },
2588
- "import": "./dist/emotion-react.cjs.mjs",
2589
- "default": "./dist/emotion-react.cjs.js"
2590
- },
2591
- "./jsx-runtime": {
2592
- module: {
2593
- worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
2594
- browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
2595
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
2596
- },
2597
- "import": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",
2598
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
2599
- },
2600
- "./_isolated-hnrs": {
2601
- module: {
2602
- worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
2603
- browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
2604
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
2605
- },
2606
- "import": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",
2607
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
2608
- },
2609
- "./jsx-dev-runtime": {
2610
- module: {
2611
- worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
2612
- browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
2613
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
2614
- },
2615
- "import": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",
2616
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
2617
- },
2618
- "./package.json": "./package.json",
2619
- "./types/css-prop": "./types/css-prop.d.ts",
2620
- "./macro": {
2621
- types: {
2622
- "import": "./macro.d.mts",
2623
- "default": "./macro.d.ts"
2624
- },
2625
- "default": "./macro.js"
2626
- }
2627
- },
2628
- types: "types/index.d.ts",
2629
- files: [
2630
- "src",
2631
- "dist",
2632
- "jsx-runtime",
2633
- "jsx-dev-runtime",
2634
- "_isolated-hnrs",
2635
- "types/*.d.ts",
2636
- "macro.*"
2637
- ],
2638
- sideEffects: false,
2639
- author: "Emotion Contributors",
2640
- license: "MIT",
2641
- scripts: {
2642
- "test:typescript": "dtslint types"
2643
- },
2644
- dependencies: {
2645
- "@babel/runtime": "^7.18.3",
2646
- "@emotion/babel-plugin": "^11.11.0",
2647
- "@emotion/cache": "^11.11.0",
2648
- "@emotion/serialize": "^1.1.2",
2649
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
2650
- "@emotion/utils": "^1.2.1",
2651
- "@emotion/weak-memoize": "^0.3.1",
2652
- "hoist-non-react-statics": "^3.3.1"
2653
- },
2654
- peerDependencies: {
2655
- react: ">=16.8.0"
2656
- },
2657
- peerDependenciesMeta: {
2658
- "@types/react": {
2659
- optional: true
2660
- }
2661
- },
2662
- devDependencies: {
2663
- "@definitelytyped/dtslint": "0.0.112",
2664
- "@emotion/css": "11.11.0",
2665
- "@emotion/css-prettifier": "1.1.3",
2666
- "@emotion/server": "11.11.0",
2667
- "@emotion/styled": "11.11.0",
2668
- "html-tag-names": "^1.1.2",
2669
- react: "16.14.0",
2670
- "svg-tag-names": "^1.1.1",
2671
- typescript: "^4.5.5"
2672
- },
2673
- repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
2674
- publishConfig: {
2675
- access: "public"
2676
- },
2677
- "umd:main": "dist/emotion-react.umd.min.js",
2678
- preconstruct: {
2679
- entrypoints: [
2680
- "./index.js",
2681
- "./jsx-runtime.js",
2682
- "./jsx-dev-runtime.js",
2683
- "./_isolated-hnrs.js"
2684
- ],
2685
- umdName: "emotionReact",
2686
- exports: {
2687
- envConditions: [
2688
- "browser",
2689
- "worker"
2690
- ],
2691
- extra: {
2692
- "./types/css-prop": "./types/css-prop.d.ts",
2693
- "./macro": {
2694
- types: {
2695
- "import": "./macro.d.mts",
2696
- "default": "./macro.d.ts"
2697
- },
2698
- "default": "./macro.js"
2699
- }
2700
- }
2701
- }
2702
- }
2703
- };
2704
-
2705
2005
  var jsx = function jsx(type, props) {
2006
+ // eslint-disable-next-line prefer-rest-params
2706
2007
  var args = arguments;
2707
2008
 
2708
- if (props == null || !hasOwnProperty.call(props, 'css')) {
2709
- // $FlowFixMe
2009
+ if (props == null || !hasOwn.call(props, 'css')) {
2710
2010
  return React__namespace.createElement.apply(undefined, args);
2711
2011
  }
2712
2012
 
@@ -2717,413 +2017,1138 @@ var jsx = function jsx(type, props) {
2717
2017
 
2718
2018
  for (var i = 2; i < argsLength; i++) {
2719
2019
  createElementArgArray[i] = args[i];
2720
- } // $FlowFixMe
2721
-
2020
+ }
2722
2021
 
2723
2022
  return React__namespace.createElement.apply(null, createElementArgArray);
2724
2023
  };
2725
2024
 
2726
- var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
2727
- // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
2728
- // initial client-side render from SSR, use place of hydrating tag
2729
-
2730
- var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
2731
- if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
2732
- // probably using the custom createElement which
2733
- // means it will be turned into a className prop
2734
- // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
2735
- props.className || props.css)) {
2736
- console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
2737
- warnedAboutCssPropForGlobal = true;
2738
- }
2025
+ (function (_jsx) {
2026
+ var JSX;
2739
2027
 
2740
- var styles = props.styles;
2741
- var serialized = serializeStyles([styles], undefined, React__namespace.useContext(ThemeContext));
2028
+ (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));
2029
+ })(jsx || (jsx = {}));
2742
2030
 
2743
- if (!isBrowser$1) {
2744
- var _ref;
2031
+ function css$2() {
2032
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2033
+ args[_key] = arguments[_key];
2034
+ }
2745
2035
 
2746
- var serializedNames = serialized.name;
2747
- var serializedStyles = serialized.styles;
2748
- var next = serialized.next;
2036
+ return serializeStyles(args);
2037
+ }
2749
2038
 
2750
- while (next !== undefined) {
2751
- serializedNames += ' ' + next.name;
2752
- serializedStyles += next.styles;
2753
- next = next.next;
2039
+ function keyframes() {
2040
+ var insertable = css$2.apply(void 0, arguments);
2041
+ var name = "animation-" + insertable.name;
2042
+ return {
2043
+ name: name,
2044
+ styles: "@keyframes " + name + "{" + insertable.styles + "}",
2045
+ anim: 1,
2046
+ toString: function toString() {
2047
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
2754
2048
  }
2049
+ };
2050
+ }
2755
2051
 
2756
- var shouldCache = cache.compat === true;
2757
- var rules = cache.insert("", {
2758
- name: serializedNames,
2759
- styles: serializedStyles
2760
- }, cache.sheet, shouldCache);
2052
+ function _arrayWithHoles(r) {
2053
+ if (Array.isArray(r)) return r;
2054
+ }
2761
2055
 
2762
- if (shouldCache) {
2763
- return null;
2056
+ function _iterableToArrayLimit(r, l) {
2057
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
2058
+ if (null != t) {
2059
+ var e,
2060
+ n,
2061
+ i,
2062
+ u,
2063
+ a = [],
2064
+ f = !0,
2065
+ o = !1;
2066
+ try {
2067
+ if (i = (t = t.call(r)).next, 0 === l) {
2068
+ if (Object(t) !== t) return;
2069
+ f = !1;
2070
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
2071
+ } catch (r) {
2072
+ o = !0, n = r;
2073
+ } finally {
2074
+ try {
2075
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
2076
+ } finally {
2077
+ if (o) throw n;
2078
+ }
2764
2079
  }
2080
+ return a;
2081
+ }
2082
+ }
2765
2083
 
2766
- return /*#__PURE__*/React__namespace.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + "-global " + serializedNames, _ref.dangerouslySetInnerHTML = {
2767
- __html: rules
2768
- }, _ref.nonce = cache.sheet.nonce, _ref));
2769
- } // yes, i know these hooks are used conditionally
2770
- // but it is based on a constant that will never change at runtime
2771
- // it's effectively like having two implementations and switching them out
2772
- // so it's not actually breaking anything
2773
-
2774
-
2775
- var sheetRef = React__namespace.useRef();
2776
- useInsertionEffectWithLayoutFallback(function () {
2777
- var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
2778
-
2779
- var sheet = new cache.sheet.constructor({
2780
- key: key,
2781
- nonce: cache.sheet.nonce,
2782
- container: cache.sheet.container,
2783
- speedy: cache.sheet.isSpeedy
2784
- });
2785
- var rehydrating = false; // $FlowFixMe
2786
-
2787
- var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
2788
-
2789
- if (cache.sheet.tags.length) {
2790
- sheet.before = cache.sheet.tags[0];
2791
- }
2084
+ function _nonIterableRest() {
2085
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2086
+ }
2792
2087
 
2793
- if (node !== null) {
2794
- rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
2088
+ function _slicedToArray(r, e) {
2089
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
2090
+ }
2795
2091
 
2796
- node.setAttribute('data-emotion', key);
2797
- sheet.hydrate([node]);
2798
- }
2092
+ function _objectWithoutPropertiesLoose(r, e) {
2093
+ if (null == r) return {};
2094
+ var t = {};
2095
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
2096
+ if (-1 !== e.indexOf(n)) continue;
2097
+ t[n] = r[n];
2098
+ }
2099
+ return t;
2100
+ }
2799
2101
 
2800
- sheetRef.current = [sheet, rehydrating];
2801
- return function () {
2802
- sheet.flush();
2803
- };
2804
- }, [cache]);
2805
- useInsertionEffectWithLayoutFallback(function () {
2806
- var sheetRefCurrent = sheetRef.current;
2807
- var sheet = sheetRefCurrent[0],
2808
- rehydrating = sheetRefCurrent[1];
2809
-
2810
- if (rehydrating) {
2811
- sheetRefCurrent[1] = false;
2812
- return;
2813
- }
2102
+ function _objectWithoutProperties(e, t) {
2103
+ if (null == e) return {};
2104
+ var o,
2105
+ r,
2106
+ i = _objectWithoutPropertiesLoose(e, t);
2107
+ if (Object.getOwnPropertySymbols) {
2108
+ var n = Object.getOwnPropertySymbols(e);
2109
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
2110
+ }
2111
+ return i;
2112
+ }
2814
2113
 
2815
- if (serialized.next !== undefined) {
2816
- // insert keyframes
2817
- insertStyles(cache, serialized.next, true);
2114
+ function _taggedTemplateLiteral(e, t) {
2115
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
2116
+ raw: {
2117
+ value: Object.freeze(t)
2818
2118
  }
2119
+ }));
2120
+ }
2819
2121
 
2820
- if (sheet.tags.length) {
2821
- // if this doesn't exist then it will be null so the style element will be appended
2822
- var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
2823
- sheet.before = element;
2824
- sheet.flush();
2825
- }
2122
+ /**
2123
+ * Custom positioning reference element.
2124
+ * @see https://floating-ui.com/docs/virtual-elements
2125
+ */
2826
2126
 
2827
- cache.insert("", serialized, sheet, false);
2828
- }, [cache, serialized.name]);
2829
- return null;
2127
+ const sides = ['top', 'right', 'bottom', 'left'];
2128
+ const alignments = ['start', 'end'];
2129
+ const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
2130
+ const min = Math.min;
2131
+ const max = Math.max;
2132
+ const round = Math.round;
2133
+ const floor = Math.floor;
2134
+ const createCoords = v => ({
2135
+ x: v,
2136
+ y: v
2830
2137
  });
2831
-
2832
- if (process.env.NODE_ENV !== 'production') {
2833
- Global.displayName = 'EmotionGlobal';
2138
+ const oppositeSideMap = {
2139
+ left: 'right',
2140
+ right: 'left',
2141
+ bottom: 'top',
2142
+ top: 'bottom'
2143
+ };
2144
+ const oppositeAlignmentMap = {
2145
+ start: 'end',
2146
+ end: 'start'
2147
+ };
2148
+ function clamp(start, value, end) {
2149
+ return max(start, min(value, end));
2834
2150
  }
2835
-
2836
- function css$2() {
2837
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2838
- args[_key] = arguments[_key];
2151
+ function evaluate(value, param) {
2152
+ return typeof value === 'function' ? value(param) : value;
2153
+ }
2154
+ function getSide(placement) {
2155
+ return placement.split('-')[0];
2156
+ }
2157
+ function getAlignment(placement) {
2158
+ return placement.split('-')[1];
2159
+ }
2160
+ function getOppositeAxis(axis) {
2161
+ return axis === 'x' ? 'y' : 'x';
2162
+ }
2163
+ function getAxisLength(axis) {
2164
+ return axis === 'y' ? 'height' : 'width';
2165
+ }
2166
+ function getSideAxis(placement) {
2167
+ return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
2168
+ }
2169
+ function getAlignmentAxis(placement) {
2170
+ return getOppositeAxis(getSideAxis(placement));
2171
+ }
2172
+ function getAlignmentSides(placement, rects, rtl) {
2173
+ if (rtl === void 0) {
2174
+ rtl = false;
2175
+ }
2176
+ const alignment = getAlignment(placement);
2177
+ const alignmentAxis = getAlignmentAxis(placement);
2178
+ const length = getAxisLength(alignmentAxis);
2179
+ let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
2180
+ if (rects.reference[length] > rects.floating[length]) {
2181
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
2182
+ }
2183
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
2184
+ }
2185
+ function getExpandedPlacements(placement) {
2186
+ const oppositePlacement = getOppositePlacement(placement);
2187
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
2188
+ }
2189
+ function getOppositeAlignmentPlacement(placement) {
2190
+ return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
2191
+ }
2192
+ function getSideList(side, isStart, rtl) {
2193
+ const lr = ['left', 'right'];
2194
+ const rl = ['right', 'left'];
2195
+ const tb = ['top', 'bottom'];
2196
+ const bt = ['bottom', 'top'];
2197
+ switch (side) {
2198
+ case 'top':
2199
+ case 'bottom':
2200
+ if (rtl) return isStart ? rl : lr;
2201
+ return isStart ? lr : rl;
2202
+ case 'left':
2203
+ case 'right':
2204
+ return isStart ? tb : bt;
2205
+ default:
2206
+ return [];
2839
2207
  }
2208
+ }
2209
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
2210
+ const alignment = getAlignment(placement);
2211
+ let list = getSideList(getSide(placement), direction === 'start', rtl);
2212
+ if (alignment) {
2213
+ list = list.map(side => side + "-" + alignment);
2214
+ if (flipAlignment) {
2215
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
2216
+ }
2217
+ }
2218
+ return list;
2219
+ }
2220
+ function getOppositePlacement(placement) {
2221
+ return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
2222
+ }
2223
+ function expandPaddingObject(padding) {
2224
+ return {
2225
+ top: 0,
2226
+ right: 0,
2227
+ bottom: 0,
2228
+ left: 0,
2229
+ ...padding
2230
+ };
2231
+ }
2232
+ function getPaddingObject(padding) {
2233
+ return typeof padding !== 'number' ? expandPaddingObject(padding) : {
2234
+ top: padding,
2235
+ right: padding,
2236
+ bottom: padding,
2237
+ left: padding
2238
+ };
2239
+ }
2240
+ function rectToClientRect(rect) {
2241
+ const {
2242
+ x,
2243
+ y,
2244
+ width,
2245
+ height
2246
+ } = rect;
2247
+ return {
2248
+ width,
2249
+ height,
2250
+ top: y,
2251
+ left: x,
2252
+ right: x + width,
2253
+ bottom: y + height,
2254
+ x,
2255
+ y
2256
+ };
2257
+ }
2840
2258
 
2841
- return serializeStyles(args);
2259
+ /**
2260
+ * Resolves with an object of overflow side offsets that determine how much the
2261
+ * element is overflowing a given clipping boundary on each side.
2262
+ * - positive = overflowing the boundary by that number of pixels
2263
+ * - negative = how many pixels left before it will overflow
2264
+ * - 0 = lies flush with the boundary
2265
+ * @see https://floating-ui.com/docs/detectOverflow
2266
+ */
2267
+ async function detectOverflow(state, options) {
2268
+ var _await$platform$isEle;
2269
+ if (options === void 0) {
2270
+ options = {};
2271
+ }
2272
+ const {
2273
+ x,
2274
+ y,
2275
+ platform,
2276
+ rects,
2277
+ elements,
2278
+ strategy
2279
+ } = state;
2280
+ const {
2281
+ boundary = 'clippingAncestors',
2282
+ rootBoundary = 'viewport',
2283
+ elementContext = 'floating',
2284
+ altBoundary = false,
2285
+ padding = 0
2286
+ } = evaluate(options, state);
2287
+ const paddingObject = getPaddingObject(padding);
2288
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
2289
+ const element = elements[altBoundary ? altContext : elementContext];
2290
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
2291
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
2292
+ boundary,
2293
+ rootBoundary,
2294
+ strategy
2295
+ }));
2296
+ const rect = elementContext === 'floating' ? {
2297
+ x,
2298
+ y,
2299
+ width: rects.floating.width,
2300
+ height: rects.floating.height
2301
+ } : rects.reference;
2302
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
2303
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
2304
+ x: 1,
2305
+ y: 1
2306
+ } : {
2307
+ x: 1,
2308
+ y: 1
2309
+ };
2310
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
2311
+ elements,
2312
+ rect,
2313
+ offsetParent,
2314
+ strategy
2315
+ }) : rect);
2316
+ return {
2317
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
2318
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
2319
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
2320
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
2321
+ };
2842
2322
  }
2843
2323
 
2844
- var keyframes = function keyframes() {
2845
- var insertable = css$2.apply(void 0, arguments);
2846
- var name = "animation-" + insertable.name; // $FlowFixMe
2324
+ /**
2325
+ * Provides data to position an inner element of the floating element so that it
2326
+ * appears centered to the reference element.
2327
+ * @see https://floating-ui.com/docs/arrow
2328
+ */
2329
+ const arrow = options => ({
2330
+ name: 'arrow',
2331
+ options,
2332
+ async fn(state) {
2333
+ const {
2334
+ x,
2335
+ y,
2336
+ placement,
2337
+ rects,
2338
+ platform,
2339
+ elements,
2340
+ middlewareData
2341
+ } = state;
2342
+ // Since `element` is required, we don't Partial<> the type.
2343
+ const {
2344
+ element,
2345
+ padding = 0
2346
+ } = evaluate(options, state) || {};
2347
+ if (element == null) {
2348
+ return {};
2349
+ }
2350
+ const paddingObject = getPaddingObject(padding);
2351
+ const coords = {
2352
+ x,
2353
+ y
2354
+ };
2355
+ const axis = getAlignmentAxis(placement);
2356
+ const length = getAxisLength(axis);
2357
+ const arrowDimensions = await platform.getDimensions(element);
2358
+ const isYAxis = axis === 'y';
2359
+ const minProp = isYAxis ? 'top' : 'left';
2360
+ const maxProp = isYAxis ? 'bottom' : 'right';
2361
+ const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
2362
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
2363
+ const startDiff = coords[axis] - rects.reference[axis];
2364
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
2365
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
2366
+
2367
+ // DOM platform can return `window` as the `offsetParent`.
2368
+ if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
2369
+ clientSize = elements.floating[clientProp] || rects.floating[length];
2370
+ }
2371
+ const centerToReference = endDiff / 2 - startDiff / 2;
2372
+
2373
+ // If the padding is large enough that it causes the arrow to no longer be
2374
+ // centered, modify the padding so that it is centered.
2375
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
2376
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
2377
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
2378
+
2379
+ // Make sure the arrow doesn't overflow the floating element if the center
2380
+ // point is outside the floating element's bounds.
2381
+ const min$1 = minPadding;
2382
+ const max = clientSize - arrowDimensions[length] - maxPadding;
2383
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
2384
+ const offset = clamp(min$1, center, max);
2385
+
2386
+ // If the reference is small enough that the arrow's padding causes it to
2387
+ // to point to nothing for an aligned placement, adjust the offset of the
2388
+ // floating element itself. To ensure `shift()` continues to take action,
2389
+ // a single reset is performed when this is true.
2390
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
2391
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
2392
+ return {
2393
+ [axis]: coords[axis] + alignmentOffset,
2394
+ data: {
2395
+ [axis]: offset,
2396
+ centerOffset: center - offset - alignmentOffset,
2397
+ ...(shouldAddOffset && {
2398
+ alignmentOffset
2399
+ })
2400
+ },
2401
+ reset: shouldAddOffset
2402
+ };
2403
+ }
2404
+ });
2847
2405
 
2406
+ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
2407
+ const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
2408
+ return allowedPlacementsSortedByAlignment.filter(placement => {
2409
+ if (alignment) {
2410
+ return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
2411
+ }
2412
+ return true;
2413
+ });
2414
+ }
2415
+ /**
2416
+ * Optimizes the visibility of the floating element by choosing the placement
2417
+ * that has the most space available automatically, without needing to specify a
2418
+ * preferred placement. Alternative to `flip`.
2419
+ * @see https://floating-ui.com/docs/autoPlacement
2420
+ */
2421
+ const autoPlacement = function (options) {
2422
+ if (options === void 0) {
2423
+ options = {};
2424
+ }
2848
2425
  return {
2849
- name: name,
2850
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
2851
- anim: 1,
2852
- toString: function toString() {
2853
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
2426
+ name: 'autoPlacement',
2427
+ options,
2428
+ async fn(state) {
2429
+ var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
2430
+ const {
2431
+ rects,
2432
+ middlewareData,
2433
+ placement,
2434
+ platform,
2435
+ elements
2436
+ } = state;
2437
+ const {
2438
+ crossAxis = false,
2439
+ alignment,
2440
+ allowedPlacements = placements,
2441
+ autoAlignment = true,
2442
+ ...detectOverflowOptions
2443
+ } = evaluate(options, state);
2444
+ const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
2445
+ const overflow = await detectOverflow(state, detectOverflowOptions);
2446
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
2447
+ const currentPlacement = placements$1[currentIndex];
2448
+ if (currentPlacement == null) {
2449
+ return {};
2450
+ }
2451
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
2452
+
2453
+ // Make `computeCoords` start from the right place.
2454
+ if (placement !== currentPlacement) {
2455
+ return {
2456
+ reset: {
2457
+ placement: placements$1[0]
2458
+ }
2459
+ };
2460
+ }
2461
+ const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
2462
+ const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
2463
+ placement: currentPlacement,
2464
+ overflows: currentOverflows
2465
+ }];
2466
+ const nextPlacement = placements$1[currentIndex + 1];
2467
+
2468
+ // There are more placements to check.
2469
+ if (nextPlacement) {
2470
+ return {
2471
+ data: {
2472
+ index: currentIndex + 1,
2473
+ overflows: allOverflows
2474
+ },
2475
+ reset: {
2476
+ placement: nextPlacement
2477
+ }
2478
+ };
2479
+ }
2480
+ const placementsSortedByMostSpace = allOverflows.map(d => {
2481
+ const alignment = getAlignment(d.placement);
2482
+ return [d.placement, alignment && crossAxis ?
2483
+ // Check along the mainAxis and main crossAxis side.
2484
+ d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
2485
+ // Check only the mainAxis.
2486
+ d.overflows[0], d.overflows];
2487
+ }).sort((a, b) => a[1] - b[1]);
2488
+ const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
2489
+ // Aligned placements should not check their opposite crossAxis
2490
+ // side.
2491
+ getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
2492
+ const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
2493
+ if (resetPlacement !== placement) {
2494
+ return {
2495
+ data: {
2496
+ index: currentIndex + 1,
2497
+ overflows: allOverflows
2498
+ },
2499
+ reset: {
2500
+ placement: resetPlacement
2501
+ }
2502
+ };
2503
+ }
2504
+ return {};
2854
2505
  }
2855
2506
  };
2856
2507
  };
2857
2508
 
2858
- var classnames = function classnames(args) {
2859
- var len = args.length;
2860
- var i = 0;
2861
- var cls = '';
2862
-
2863
- for (; i < len; i++) {
2864
- var arg = args[i];
2865
- if (arg == null) continue;
2866
- var toAdd = void 0;
2867
-
2868
- switch (typeof arg) {
2869
- case 'boolean':
2870
- break;
2871
-
2872
- case 'object':
2873
- {
2874
- if (Array.isArray(arg)) {
2875
- toAdd = classnames(arg);
2876
- } else {
2877
- if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {
2878
- console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component.');
2509
+ /**
2510
+ * Optimizes the visibility of the floating element by flipping the `placement`
2511
+ * in order to keep it in view when the preferred placement(s) will overflow the
2512
+ * clipping boundary. Alternative to `autoPlacement`.
2513
+ * @see https://floating-ui.com/docs/flip
2514
+ */
2515
+ const flip = function (options) {
2516
+ if (options === void 0) {
2517
+ options = {};
2518
+ }
2519
+ return {
2520
+ name: 'flip',
2521
+ options,
2522
+ async fn(state) {
2523
+ var _middlewareData$arrow, _middlewareData$flip;
2524
+ const {
2525
+ placement,
2526
+ middlewareData,
2527
+ rects,
2528
+ initialPlacement,
2529
+ platform,
2530
+ elements
2531
+ } = state;
2532
+ const {
2533
+ mainAxis: checkMainAxis = true,
2534
+ crossAxis: checkCrossAxis = true,
2535
+ fallbackPlacements: specifiedFallbackPlacements,
2536
+ fallbackStrategy = 'bestFit',
2537
+ fallbackAxisSideDirection = 'none',
2538
+ flipAlignment = true,
2539
+ ...detectOverflowOptions
2540
+ } = evaluate(options, state);
2541
+
2542
+ // If a reset by the arrow was caused due to an alignment offset being
2543
+ // added, we should skip any logic now since `flip()` has already done its
2544
+ // work.
2545
+ // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
2546
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
2547
+ return {};
2548
+ }
2549
+ const side = getSide(placement);
2550
+ const initialSideAxis = getSideAxis(initialPlacement);
2551
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
2552
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
2553
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
2554
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
2555
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
2556
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
2557
+ }
2558
+ const placements = [initialPlacement, ...fallbackPlacements];
2559
+ const overflow = await detectOverflow(state, detectOverflowOptions);
2560
+ const overflows = [];
2561
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
2562
+ if (checkMainAxis) {
2563
+ overflows.push(overflow[side]);
2564
+ }
2565
+ if (checkCrossAxis) {
2566
+ const sides = getAlignmentSides(placement, rects, rtl);
2567
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
2568
+ }
2569
+ overflowsData = [...overflowsData, {
2570
+ placement,
2571
+ overflows
2572
+ }];
2573
+
2574
+ // One or more sides is overflowing.
2575
+ if (!overflows.every(side => side <= 0)) {
2576
+ var _middlewareData$flip2, _overflowsData$filter;
2577
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
2578
+ const nextPlacement = placements[nextIndex];
2579
+ if (nextPlacement) {
2580
+ // Try next placement and re-run the lifecycle.
2581
+ return {
2582
+ data: {
2583
+ index: nextIndex,
2584
+ overflows: overflowsData
2585
+ },
2586
+ reset: {
2587
+ placement: nextPlacement
2879
2588
  }
2589
+ };
2590
+ }
2880
2591
 
2881
- toAdd = '';
2592
+ // First, find the candidates that fit on the mainAxis side of overflow,
2593
+ // then find the placement that fits the best on the main crossAxis side.
2594
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
2882
2595
 
2883
- for (var k in arg) {
2884
- if (arg[k] && k) {
2885
- toAdd && (toAdd += ' ');
2886
- toAdd += k;
2596
+ // Otherwise fallback.
2597
+ if (!resetPlacement) {
2598
+ switch (fallbackStrategy) {
2599
+ case 'bestFit':
2600
+ {
2601
+ var _overflowsData$filter2;
2602
+ const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
2603
+ if (hasFallbackAxisSideDirection) {
2604
+ const currentSideAxis = getSideAxis(d.placement);
2605
+ return currentSideAxis === initialSideAxis ||
2606
+ // Create a bias to the `y` side axis due to horizontal
2607
+ // reading directions favoring greater width.
2608
+ currentSideAxis === 'y';
2609
+ }
2610
+ return true;
2611
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
2612
+ if (placement) {
2613
+ resetPlacement = placement;
2614
+ }
2615
+ break;
2887
2616
  }
2888
- }
2617
+ case 'initialPlacement':
2618
+ resetPlacement = initialPlacement;
2619
+ break;
2889
2620
  }
2890
-
2891
- break;
2892
2621
  }
2893
-
2894
- default:
2895
- {
2896
- toAdd = arg;
2622
+ if (placement !== resetPlacement) {
2623
+ return {
2624
+ reset: {
2625
+ placement: resetPlacement
2626
+ }
2627
+ };
2897
2628
  }
2629
+ }
2630
+ return {};
2898
2631
  }
2899
-
2900
- if (toAdd) {
2901
- cls && (cls += ' ');
2902
- cls += toAdd;
2903
- }
2904
- }
2905
-
2906
- return cls;
2632
+ };
2907
2633
  };
2908
2634
 
2909
- function merge(registered, css, className) {
2910
- var registeredStyles = [];
2911
- var rawClassName = getRegisteredStyles(registered, registeredStyles, className);
2912
-
2913
- if (registeredStyles.length < 2) {
2914
- return className;
2915
- }
2916
-
2917
- return rawClassName + css(registeredStyles);
2635
+ function getSideOffsets(overflow, rect) {
2636
+ return {
2637
+ top: overflow.top - rect.height,
2638
+ right: overflow.right - rect.width,
2639
+ bottom: overflow.bottom - rect.height,
2640
+ left: overflow.left - rect.width
2641
+ };
2918
2642
  }
2919
-
2920
- var Insertion = function Insertion(_ref) {
2921
- var cache = _ref.cache,
2922
- serializedArr = _ref.serializedArr;
2923
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
2924
- var rules = '';
2925
-
2926
- for (var i = 0; i < serializedArr.length; i++) {
2927
- var res = insertStyles(cache, serializedArr[i], false);
2928
-
2929
- if (!isBrowser$1 && res !== undefined) {
2930
- rules += res;
2643
+ function isAnySideFullyClipped(overflow) {
2644
+ return sides.some(side => overflow[side] >= 0);
2645
+ }
2646
+ /**
2647
+ * Provides data to hide the floating element in applicable situations, such as
2648
+ * when it is not in the same clipping context as the reference element.
2649
+ * @see https://floating-ui.com/docs/hide
2650
+ */
2651
+ const hide = function (options) {
2652
+ if (options === void 0) {
2653
+ options = {};
2654
+ }
2655
+ return {
2656
+ name: 'hide',
2657
+ options,
2658
+ async fn(state) {
2659
+ const {
2660
+ rects
2661
+ } = state;
2662
+ const {
2663
+ strategy = 'referenceHidden',
2664
+ ...detectOverflowOptions
2665
+ } = evaluate(options, state);
2666
+ switch (strategy) {
2667
+ case 'referenceHidden':
2668
+ {
2669
+ const overflow = await detectOverflow(state, {
2670
+ ...detectOverflowOptions,
2671
+ elementContext: 'reference'
2672
+ });
2673
+ const offsets = getSideOffsets(overflow, rects.reference);
2674
+ return {
2675
+ data: {
2676
+ referenceHiddenOffsets: offsets,
2677
+ referenceHidden: isAnySideFullyClipped(offsets)
2678
+ }
2679
+ };
2680
+ }
2681
+ case 'escaped':
2682
+ {
2683
+ const overflow = await detectOverflow(state, {
2684
+ ...detectOverflowOptions,
2685
+ altBoundary: true
2686
+ });
2687
+ const offsets = getSideOffsets(overflow, rects.floating);
2688
+ return {
2689
+ data: {
2690
+ escapedOffsets: offsets,
2691
+ escaped: isAnySideFullyClipped(offsets)
2692
+ }
2693
+ };
2694
+ }
2695
+ default:
2696
+ {
2697
+ return {};
2698
+ }
2931
2699
  }
2932
2700
  }
2933
-
2934
- if (!isBrowser$1) {
2935
- return rules;
2936
- }
2937
- });
2938
-
2939
- if (!isBrowser$1 && rules.length !== 0) {
2940
- var _ref2;
2941
-
2942
- return /*#__PURE__*/React__namespace.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedArr.map(function (serialized) {
2943
- return serialized.name;
2944
- }).join(' '), _ref2.dangerouslySetInnerHTML = {
2945
- __html: rules
2946
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
2947
- }
2948
-
2949
- return null;
2701
+ };
2950
2702
  };
2951
2703
 
2952
- var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
2953
- var hasRendered = false;
2954
- var serializedArr = [];
2955
-
2956
- var css = function css() {
2957
- if (hasRendered && process.env.NODE_ENV !== 'production') {
2958
- throw new Error('css can only be used during render');
2704
+ function getBoundingRect(rects) {
2705
+ const minX = min(...rects.map(rect => rect.left));
2706
+ const minY = min(...rects.map(rect => rect.top));
2707
+ const maxX = max(...rects.map(rect => rect.right));
2708
+ const maxY = max(...rects.map(rect => rect.bottom));
2709
+ return {
2710
+ x: minX,
2711
+ y: minY,
2712
+ width: maxX - minX,
2713
+ height: maxY - minY
2714
+ };
2715
+ }
2716
+ function getRectsByLine(rects) {
2717
+ const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
2718
+ const groups = [];
2719
+ let prevRect = null;
2720
+ for (let i = 0; i < sortedRects.length; i++) {
2721
+ const rect = sortedRects[i];
2722
+ if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
2723
+ groups.push([rect]);
2724
+ } else {
2725
+ groups[groups.length - 1].push(rect);
2959
2726
  }
2727
+ prevRect = rect;
2728
+ }
2729
+ return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
2730
+ }
2731
+ /**
2732
+ * Provides improved positioning for inline reference elements that can span
2733
+ * over multiple lines, such as hyperlinks or range selections.
2734
+ * @see https://floating-ui.com/docs/inline
2735
+ */
2736
+ const inline = function (options) {
2737
+ if (options === void 0) {
2738
+ options = {};
2739
+ }
2740
+ return {
2741
+ name: 'inline',
2742
+ options,
2743
+ async fn(state) {
2744
+ const {
2745
+ placement,
2746
+ elements,
2747
+ rects,
2748
+ platform,
2749
+ strategy
2750
+ } = state;
2751
+ // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
2752
+ // ClientRect's bounds, despite the event listener being triggered. A
2753
+ // padding of 2 seems to handle this issue.
2754
+ const {
2755
+ padding = 2,
2756
+ x,
2757
+ y
2758
+ } = evaluate(options, state);
2759
+ const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
2760
+ const clientRects = getRectsByLine(nativeClientRects);
2761
+ const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
2762
+ const paddingObject = getPaddingObject(padding);
2763
+ function getBoundingClientRect() {
2764
+ // There are two rects and they are disjoined.
2765
+ if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
2766
+ // Find the first rect in which the point is fully inside.
2767
+ return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
2768
+ }
2960
2769
 
2961
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2962
- args[_key] = arguments[_key];
2770
+ // There are 2 or more connected rects.
2771
+ if (clientRects.length >= 2) {
2772
+ if (getSideAxis(placement) === 'y') {
2773
+ const firstRect = clientRects[0];
2774
+ const lastRect = clientRects[clientRects.length - 1];
2775
+ const isTop = getSide(placement) === 'top';
2776
+ const top = firstRect.top;
2777
+ const bottom = lastRect.bottom;
2778
+ const left = isTop ? firstRect.left : lastRect.left;
2779
+ const right = isTop ? firstRect.right : lastRect.right;
2780
+ const width = right - left;
2781
+ const height = bottom - top;
2782
+ return {
2783
+ top,
2784
+ bottom,
2785
+ left,
2786
+ right,
2787
+ width,
2788
+ height,
2789
+ x: left,
2790
+ y: top
2791
+ };
2792
+ }
2793
+ const isLeftSide = getSide(placement) === 'left';
2794
+ const maxRight = max(...clientRects.map(rect => rect.right));
2795
+ const minLeft = min(...clientRects.map(rect => rect.left));
2796
+ const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
2797
+ const top = measureRects[0].top;
2798
+ const bottom = measureRects[measureRects.length - 1].bottom;
2799
+ const left = minLeft;
2800
+ const right = maxRight;
2801
+ const width = right - left;
2802
+ const height = bottom - top;
2803
+ return {
2804
+ top,
2805
+ bottom,
2806
+ left,
2807
+ right,
2808
+ width,
2809
+ height,
2810
+ x: left,
2811
+ y: top
2812
+ };
2813
+ }
2814
+ return fallback;
2815
+ }
2816
+ const resetRects = await platform.getElementRects({
2817
+ reference: {
2818
+ getBoundingClientRect
2819
+ },
2820
+ floating: elements.floating,
2821
+ strategy
2822
+ });
2823
+ if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
2824
+ return {
2825
+ reset: {
2826
+ rects: resetRects
2827
+ }
2828
+ };
2829
+ }
2830
+ return {};
2963
2831
  }
2964
-
2965
- var serialized = serializeStyles(args, cache.registered);
2966
- serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`
2967
-
2968
- registerStyles(cache, serialized, false);
2969
- return cache.key + "-" + serialized.name;
2970
2832
  };
2833
+ };
2971
2834
 
2972
- var cx = function cx() {
2973
- if (hasRendered && process.env.NODE_ENV !== 'production') {
2974
- throw new Error('cx can only be used during render');
2975
- }
2976
-
2977
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2978
- args[_key2] = arguments[_key2];
2979
- }
2835
+ // For type backwards-compatibility, the `OffsetOptions` type was also
2836
+ // Derivable.
2980
2837
 
2981
- return merge(cache.registered, css, classnames(args));
2838
+ async function convertValueToCoords(state, options) {
2839
+ const {
2840
+ placement,
2841
+ platform,
2842
+ elements
2843
+ } = state;
2844
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
2845
+ const side = getSide(placement);
2846
+ const alignment = getAlignment(placement);
2847
+ const isVertical = getSideAxis(placement) === 'y';
2848
+ const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
2849
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
2850
+ const rawValue = evaluate(options, state);
2851
+
2852
+ // eslint-disable-next-line prefer-const
2853
+ let {
2854
+ mainAxis,
2855
+ crossAxis,
2856
+ alignmentAxis
2857
+ } = typeof rawValue === 'number' ? {
2858
+ mainAxis: rawValue,
2859
+ crossAxis: 0,
2860
+ alignmentAxis: null
2861
+ } : {
2862
+ mainAxis: rawValue.mainAxis || 0,
2863
+ crossAxis: rawValue.crossAxis || 0,
2864
+ alignmentAxis: rawValue.alignmentAxis
2982
2865
  };
2983
-
2984
- var content = {
2985
- css: css,
2986
- cx: cx,
2987
- theme: React__namespace.useContext(ThemeContext)
2866
+ if (alignment && typeof alignmentAxis === 'number') {
2867
+ crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
2868
+ }
2869
+ return isVertical ? {
2870
+ x: crossAxis * crossAxisMulti,
2871
+ y: mainAxis * mainAxisMulti
2872
+ } : {
2873
+ x: mainAxis * mainAxisMulti,
2874
+ y: crossAxis * crossAxisMulti
2988
2875
  };
2989
- var ele = props.children(content);
2990
- hasRendered = true;
2991
- return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion, {
2992
- cache: cache,
2993
- serializedArr: serializedArr
2994
- }), ele);
2995
- });
2996
-
2997
- if (process.env.NODE_ENV !== 'production') {
2998
- ClassNames.displayName = 'EmotionClassNames';
2999
2876
  }
3000
2877
 
3001
- if (process.env.NODE_ENV !== 'production') {
3002
- var isBrowser = typeof document !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked
3003
-
3004
- var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';
3005
-
3006
- if (isBrowser && !isTestEnv) {
3007
- // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
3008
- var globalContext = // $FlowIgnore
3009
- typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
3010
- : isBrowser ? window : global;
3011
- var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
3012
-
3013
- if (globalContext[globalKey]) {
3014
- console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');
3015
- }
3016
-
3017
- globalContext[globalKey] = true;
2878
+ /**
2879
+ * Modifies the placement by translating the floating element along the
2880
+ * specified axes.
2881
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
2882
+ * object may be passed.
2883
+ * @see https://floating-ui.com/docs/offset
2884
+ */
2885
+ const offset = function (options) {
2886
+ if (options === void 0) {
2887
+ options = 0;
3018
2888
  }
3019
- }
3020
-
3021
- function _arrayWithHoles(arr) {
3022
- if (Array.isArray(arr)) return arr;
3023
- }
3024
-
3025
- function _iterableToArrayLimit(arr, i) {
3026
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
3027
-
3028
- if (_i == null) return;
3029
- var _arr = [];
3030
- var _n = true;
3031
- var _d = false;
3032
-
3033
- var _s, _e;
3034
-
3035
- try {
3036
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
3037
- _arr.push(_s.value);
3038
-
3039
- if (i && _arr.length === i) break;
3040
- }
3041
- } catch (err) {
3042
- _d = true;
3043
- _e = err;
3044
- } finally {
3045
- try {
3046
- if (!_n && _i["return"] != null) _i["return"]();
3047
- } finally {
3048
- if (_d) throw _e;
2889
+ return {
2890
+ name: 'offset',
2891
+ options,
2892
+ async fn(state) {
2893
+ var _middlewareData$offse, _middlewareData$arrow;
2894
+ const {
2895
+ x,
2896
+ y,
2897
+ placement,
2898
+ middlewareData
2899
+ } = state;
2900
+ const diffCoords = await convertValueToCoords(state, options);
2901
+
2902
+ // If the placement is the same and the arrow caused an alignment offset
2903
+ // then we don't need to change the positioning coordinates.
2904
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
2905
+ return {};
2906
+ }
2907
+ return {
2908
+ x: x + diffCoords.x,
2909
+ y: y + diffCoords.y,
2910
+ data: {
2911
+ ...diffCoords,
2912
+ placement
2913
+ }
2914
+ };
3049
2915
  }
3050
- }
3051
-
3052
- return _arr;
3053
- }
3054
-
3055
- function _nonIterableRest() {
3056
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3057
- }
3058
-
3059
- function _slicedToArray(arr, i) {
3060
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
3061
- }
3062
-
3063
- function _objectWithoutPropertiesLoose(source, excluded) {
3064
- if (source == null) return {};
3065
- var target = {};
3066
- var sourceKeys = Object.keys(source);
3067
- var key, i;
2916
+ };
2917
+ };
3068
2918
 
3069
- for (i = 0; i < sourceKeys.length; i++) {
3070
- key = sourceKeys[i];
3071
- if (excluded.indexOf(key) >= 0) continue;
3072
- target[key] = source[key];
2919
+ /**
2920
+ * Optimizes the visibility of the floating element by shifting it in order to
2921
+ * keep it in view when it will overflow the clipping boundary.
2922
+ * @see https://floating-ui.com/docs/shift
2923
+ */
2924
+ const shift = function (options) {
2925
+ if (options === void 0) {
2926
+ options = {};
3073
2927
  }
3074
-
3075
- return target;
3076
- }
3077
-
3078
- function _objectWithoutProperties(source, excluded) {
3079
- if (source == null) return {};
3080
- var target = _objectWithoutPropertiesLoose(source, excluded);
3081
- var key, i;
3082
-
3083
- if (Object.getOwnPropertySymbols) {
3084
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
3085
-
3086
- for (i = 0; i < sourceSymbolKeys.length; i++) {
3087
- key = sourceSymbolKeys[i];
3088
- if (excluded.indexOf(key) >= 0) continue;
3089
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
3090
- target[key] = source[key];
2928
+ return {
2929
+ name: 'shift',
2930
+ options,
2931
+ async fn(state) {
2932
+ const {
2933
+ x,
2934
+ y,
2935
+ placement
2936
+ } = state;
2937
+ const {
2938
+ mainAxis: checkMainAxis = true,
2939
+ crossAxis: checkCrossAxis = false,
2940
+ limiter = {
2941
+ fn: _ref => {
2942
+ let {
2943
+ x,
2944
+ y
2945
+ } = _ref;
2946
+ return {
2947
+ x,
2948
+ y
2949
+ };
2950
+ }
2951
+ },
2952
+ ...detectOverflowOptions
2953
+ } = evaluate(options, state);
2954
+ const coords = {
2955
+ x,
2956
+ y
2957
+ };
2958
+ const overflow = await detectOverflow(state, detectOverflowOptions);
2959
+ const crossAxis = getSideAxis(getSide(placement));
2960
+ const mainAxis = getOppositeAxis(crossAxis);
2961
+ let mainAxisCoord = coords[mainAxis];
2962
+ let crossAxisCoord = coords[crossAxis];
2963
+ if (checkMainAxis) {
2964
+ const minSide = mainAxis === 'y' ? 'top' : 'left';
2965
+ const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
2966
+ const min = mainAxisCoord + overflow[minSide];
2967
+ const max = mainAxisCoord - overflow[maxSide];
2968
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
2969
+ }
2970
+ if (checkCrossAxis) {
2971
+ const minSide = crossAxis === 'y' ? 'top' : 'left';
2972
+ const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
2973
+ const min = crossAxisCoord + overflow[minSide];
2974
+ const max = crossAxisCoord - overflow[maxSide];
2975
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
2976
+ }
2977
+ const limitedCoords = limiter.fn({
2978
+ ...state,
2979
+ [mainAxis]: mainAxisCoord,
2980
+ [crossAxis]: crossAxisCoord
2981
+ });
2982
+ return {
2983
+ ...limitedCoords,
2984
+ data: {
2985
+ x: limitedCoords.x - x,
2986
+ y: limitedCoords.y - y,
2987
+ enabled: {
2988
+ [mainAxis]: checkMainAxis,
2989
+ [crossAxis]: checkCrossAxis
2990
+ }
2991
+ }
2992
+ };
3091
2993
  }
2994
+ };
2995
+ };
2996
+ /**
2997
+ * Built-in `limiter` that will stop `shift()` at a certain point.
2998
+ */
2999
+ const limitShift = function (options) {
3000
+ if (options === void 0) {
3001
+ options = {};
3092
3002
  }
3093
-
3094
- return target;
3095
- }
3096
-
3097
- function _taggedTemplateLiteral(strings, raw) {
3098
- if (!raw) {
3099
- raw = strings.slice(0);
3100
- }
3101
-
3102
- return Object.freeze(Object.defineProperties(strings, {
3103
- raw: {
3104
- value: Object.freeze(raw)
3003
+ return {
3004
+ options,
3005
+ fn(state) {
3006
+ const {
3007
+ x,
3008
+ y,
3009
+ placement,
3010
+ rects,
3011
+ middlewareData
3012
+ } = state;
3013
+ const {
3014
+ offset = 0,
3015
+ mainAxis: checkMainAxis = true,
3016
+ crossAxis: checkCrossAxis = true
3017
+ } = evaluate(options, state);
3018
+ const coords = {
3019
+ x,
3020
+ y
3021
+ };
3022
+ const crossAxis = getSideAxis(placement);
3023
+ const mainAxis = getOppositeAxis(crossAxis);
3024
+ let mainAxisCoord = coords[mainAxis];
3025
+ let crossAxisCoord = coords[crossAxis];
3026
+ const rawOffset = evaluate(offset, state);
3027
+ const computedOffset = typeof rawOffset === 'number' ? {
3028
+ mainAxis: rawOffset,
3029
+ crossAxis: 0
3030
+ } : {
3031
+ mainAxis: 0,
3032
+ crossAxis: 0,
3033
+ ...rawOffset
3034
+ };
3035
+ if (checkMainAxis) {
3036
+ const len = mainAxis === 'y' ? 'height' : 'width';
3037
+ const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
3038
+ const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
3039
+ if (mainAxisCoord < limitMin) {
3040
+ mainAxisCoord = limitMin;
3041
+ } else if (mainAxisCoord > limitMax) {
3042
+ mainAxisCoord = limitMax;
3043
+ }
3044
+ }
3045
+ if (checkCrossAxis) {
3046
+ var _middlewareData$offse, _middlewareData$offse2;
3047
+ const len = mainAxis === 'y' ? 'width' : 'height';
3048
+ const isOriginSide = ['top', 'left'].includes(getSide(placement));
3049
+ const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
3050
+ const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
3051
+ if (crossAxisCoord < limitMin) {
3052
+ crossAxisCoord = limitMin;
3053
+ } else if (crossAxisCoord > limitMax) {
3054
+ crossAxisCoord = limitMax;
3055
+ }
3056
+ }
3057
+ return {
3058
+ [mainAxis]: mainAxisCoord,
3059
+ [crossAxis]: crossAxisCoord
3060
+ };
3105
3061
  }
3106
- }));
3107
- }
3062
+ };
3063
+ };
3108
3064
 
3109
- const min = Math.min;
3110
- const max = Math.max;
3111
- const round = Math.round;
3112
- const floor = Math.floor;
3113
- const createCoords = v => ({
3114
- x: v,
3115
- y: v
3116
- });
3117
- function rectToClientRect(rect) {
3065
+ /**
3066
+ * Provides data that allows you to change the size of the floating element —
3067
+ * for instance, prevent it from overflowing the clipping boundary or match the
3068
+ * width of the reference element.
3069
+ * @see https://floating-ui.com/docs/size
3070
+ */
3071
+ const size = function (options) {
3072
+ if (options === void 0) {
3073
+ options = {};
3074
+ }
3118
3075
  return {
3119
- ...rect,
3120
- top: rect.y,
3121
- left: rect.x,
3122
- right: rect.x + rect.width,
3123
- bottom: rect.y + rect.height
3076
+ name: 'size',
3077
+ options,
3078
+ async fn(state) {
3079
+ var _state$middlewareData, _state$middlewareData2;
3080
+ const {
3081
+ placement,
3082
+ rects,
3083
+ platform,
3084
+ elements
3085
+ } = state;
3086
+ const {
3087
+ apply = () => {},
3088
+ ...detectOverflowOptions
3089
+ } = evaluate(options, state);
3090
+ const overflow = await detectOverflow(state, detectOverflowOptions);
3091
+ const side = getSide(placement);
3092
+ const alignment = getAlignment(placement);
3093
+ const isYAxis = getSideAxis(placement) === 'y';
3094
+ const {
3095
+ width,
3096
+ height
3097
+ } = rects.floating;
3098
+ let heightSide;
3099
+ let widthSide;
3100
+ if (side === 'top' || side === 'bottom') {
3101
+ heightSide = side;
3102
+ widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
3103
+ } else {
3104
+ widthSide = side;
3105
+ heightSide = alignment === 'end' ? 'top' : 'bottom';
3106
+ }
3107
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
3108
+ const maximumClippingWidth = width - overflow.left - overflow.right;
3109
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
3110
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
3111
+ const noShift = !state.middlewareData.shift;
3112
+ let availableHeight = overflowAvailableHeight;
3113
+ let availableWidth = overflowAvailableWidth;
3114
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
3115
+ availableWidth = maximumClippingWidth;
3116
+ }
3117
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
3118
+ availableHeight = maximumClippingHeight;
3119
+ }
3120
+ if (noShift && !alignment) {
3121
+ const xMin = max(overflow.left, 0);
3122
+ const xMax = max(overflow.right, 0);
3123
+ const yMin = max(overflow.top, 0);
3124
+ const yMax = max(overflow.bottom, 0);
3125
+ if (isYAxis) {
3126
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
3127
+ } else {
3128
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
3129
+ }
3130
+ }
3131
+ await apply({
3132
+ ...state,
3133
+ availableWidth,
3134
+ availableHeight
3135
+ });
3136
+ const nextDimensions = await platform.getDimensions(elements.floating);
3137
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
3138
+ return {
3139
+ reset: {
3140
+ rects: true
3141
+ }
3142
+ };
3143
+ }
3144
+ return {};
3145
+ }
3124
3146
  };
3125
- }
3147
+ };
3126
3148
 
3149
+ function hasWindow() {
3150
+ return typeof window !== 'undefined';
3151
+ }
3127
3152
  function getNodeName(node) {
3128
3153
  if (isNode(node)) {
3129
3154
  return (node.nodeName || '').toLowerCase();
@@ -3135,24 +3160,32 @@ function getNodeName(node) {
3135
3160
  }
3136
3161
  function getWindow(node) {
3137
3162
  var _node$ownerDocument;
3138
- return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
3163
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
3139
3164
  }
3140
3165
  function getDocumentElement(node) {
3141
3166
  var _ref;
3142
3167
  return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
3143
3168
  }
3144
3169
  function isNode(value) {
3170
+ if (!hasWindow()) {
3171
+ return false;
3172
+ }
3145
3173
  return value instanceof Node || value instanceof getWindow(value).Node;
3146
3174
  }
3147
3175
  function isElement(value) {
3176
+ if (!hasWindow()) {
3177
+ return false;
3178
+ }
3148
3179
  return value instanceof Element || value instanceof getWindow(value).Element;
3149
3180
  }
3150
3181
  function isHTMLElement(value) {
3182
+ if (!hasWindow()) {
3183
+ return false;
3184
+ }
3151
3185
  return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
3152
3186
  }
3153
3187
  function isShadowRoot(value) {
3154
- // Browsers without `ShadowRoot` support.
3155
- if (typeof ShadowRoot === 'undefined') {
3188
+ if (!hasWindow() || typeof ShadowRoot === 'undefined') {
3156
3189
  return false;
3157
3190
  }
3158
3191
  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
@@ -3213,10 +3246,14 @@ function getOverflowAncestors(node, list, traverseIframes) {
3213
3246
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
3214
3247
  const win = getWindow(scrollableAncestor);
3215
3248
  if (isBody) {
3216
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
3249
+ const frameElement = getFrameElement(win);
3250
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
3217
3251
  }
3218
3252
  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
3219
3253
  }
3254
+ function getFrameElement(win) {
3255
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
3256
+ }
3220
3257
 
3221
3258
  function getCssDimensions(element) {
3222
3259
  const css = getComputedStyle$1(element);
@@ -3319,8 +3356,9 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
3319
3356
  if (domElement) {
3320
3357
  const win = getWindow(domElement);
3321
3358
  const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
3322
- let currentIFrame = win.frameElement;
3323
- while (currentIFrame && offsetParent && offsetWin !== win) {
3359
+ let currentWin = win;
3360
+ let currentIFrame = getFrameElement(currentWin);
3361
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
3324
3362
  const iframeScale = getScale(currentIFrame);
3325
3363
  const iframeRect = currentIFrame.getBoundingClientRect();
3326
3364
  const css = getComputedStyle$1(currentIFrame);
@@ -3332,7 +3370,8 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
3332
3370
  height *= iframeScale.y;
3333
3371
  x += left;
3334
3372
  y += top;
3335
- currentIFrame = getWindow(currentIFrame).frameElement;
3373
+ currentWin = getWindow(currentIFrame);
3374
+ currentIFrame = getFrameElement(currentWin);
3336
3375
  }
3337
3376
  }
3338
3377
  return rectToClientRect({
@@ -3343,14 +3382,19 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
3343
3382
  });
3344
3383
  }
3345
3384
 
3385
+ function rectsAreEqual(a, b) {
3386
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
3387
+ }
3388
+
3346
3389
  // https://samthor.au/2021/observing-dom/
3347
3390
  function observeMove(element, onMove) {
3348
3391
  let io = null;
3349
3392
  let timeoutId;
3350
3393
  const root = getDocumentElement(element);
3351
3394
  function cleanup() {
3395
+ var _io;
3352
3396
  clearTimeout(timeoutId);
3353
- io && io.disconnect();
3397
+ (_io = io) == null || _io.disconnect();
3354
3398
  io = null;
3355
3399
  }
3356
3400
  function refresh(skip, threshold) {
@@ -3361,12 +3405,13 @@ function observeMove(element, onMove) {
3361
3405
  threshold = 1;
3362
3406
  }
3363
3407
  cleanup();
3408
+ const elementRectForRootMargin = element.getBoundingClientRect();
3364
3409
  const {
3365
3410
  left,
3366
3411
  top,
3367
3412
  width,
3368
3413
  height
3369
- } = element.getBoundingClientRect();
3414
+ } = elementRectForRootMargin;
3370
3415
  if (!skip) {
3371
3416
  onMove();
3372
3417
  }
@@ -3390,13 +3435,25 @@ function observeMove(element, onMove) {
3390
3435
  return refresh();
3391
3436
  }
3392
3437
  if (!ratio) {
3438
+ // If the reference is clipped, the ratio is 0. Throttle the refresh
3439
+ // to prevent an infinite loop of updates.
3393
3440
  timeoutId = setTimeout(() => {
3394
3441
  refresh(false, 1e-7);
3395
- }, 100);
3442
+ }, 1000);
3396
3443
  } else {
3397
3444
  refresh(false, ratio);
3398
3445
  }
3399
3446
  }
3447
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
3448
+ // It's possible that even though the ratio is reported as 1, the
3449
+ // element is not actually fully within the IntersectionObserver's root
3450
+ // area anymore. This can happen under performance constraints. This may
3451
+ // be a bug in the browser's IntersectionObserver implementation. To
3452
+ // work around this, we compare the element's bounding rect now with
3453
+ // what it was at the time we created the IntersectionObserver. If they
3454
+ // are not equal then the element moved, so we refresh.
3455
+ refresh();
3456
+ }
3400
3457
  isFirstUpdate = false;
3401
3458
  }
3402
3459
 
@@ -3456,7 +3513,8 @@ function autoUpdate(reference, floating, update, options) {
3456
3513
  resizeObserver.unobserve(floating);
3457
3514
  cancelAnimationFrame(reobserveFrame);
3458
3515
  reobserveFrame = requestAnimationFrame(() => {
3459
- resizeObserver && resizeObserver.observe(floating);
3516
+ var _resizeObserver;
3517
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
3460
3518
  });
3461
3519
  }
3462
3520
  update();
@@ -3473,7 +3531,7 @@ function autoUpdate(reference, floating, update, options) {
3473
3531
  }
3474
3532
  function frameLoop() {
3475
3533
  const nextRefRect = getBoundingClientRect(reference);
3476
- if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
3534
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
3477
3535
  update();
3478
3536
  }
3479
3537
  prevRefRect = nextRefRect;
@@ -3481,12 +3539,13 @@ function autoUpdate(reference, floating, update, options) {
3481
3539
  }
3482
3540
  update();
3483
3541
  return () => {
3542
+ var _resizeObserver2;
3484
3543
  ancestors.forEach(ancestor => {
3485
3544
  ancestorScroll && ancestor.removeEventListener('scroll', update);
3486
3545
  ancestorResize && ancestor.removeEventListener('resize', update);
3487
3546
  });
3488
- cleanupIo && cleanupIo();
3489
- resizeObserver && resizeObserver.disconnect();
3547
+ cleanupIo == null || cleanupIo();
3548
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
3490
3549
  resizeObserver = null;
3491
3550
  if (animationFrame) {
3492
3551
  cancelAnimationFrame(frameId);
@@ -3494,7 +3553,75 @@ function autoUpdate(reference, floating, update, options) {
3494
3553
  };
3495
3554
  }
3496
3555
 
3497
- var index = typeof document !== 'undefined' ? React.useLayoutEffect : React.useEffect;
3556
+ /**
3557
+ * Modifies the placement by translating the floating element along the
3558
+ * specified axes.
3559
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
3560
+ * object may be passed.
3561
+ * @see https://floating-ui.com/docs/offset
3562
+ */
3563
+ offset;
3564
+
3565
+ /**
3566
+ * Optimizes the visibility of the floating element by choosing the placement
3567
+ * that has the most space available automatically, without needing to specify a
3568
+ * preferred placement. Alternative to `flip`.
3569
+ * @see https://floating-ui.com/docs/autoPlacement
3570
+ */
3571
+ autoPlacement;
3572
+
3573
+ /**
3574
+ * Optimizes the visibility of the floating element by shifting it in order to
3575
+ * keep it in view when it will overflow the clipping boundary.
3576
+ * @see https://floating-ui.com/docs/shift
3577
+ */
3578
+ shift;
3579
+
3580
+ /**
3581
+ * Optimizes the visibility of the floating element by flipping the `placement`
3582
+ * in order to keep it in view when the preferred placement(s) will overflow the
3583
+ * clipping boundary. Alternative to `autoPlacement`.
3584
+ * @see https://floating-ui.com/docs/flip
3585
+ */
3586
+ flip;
3587
+
3588
+ /**
3589
+ * Provides data that allows you to change the size of the floating element —
3590
+ * for instance, prevent it from overflowing the clipping boundary or match the
3591
+ * width of the reference element.
3592
+ * @see https://floating-ui.com/docs/size
3593
+ */
3594
+ size;
3595
+
3596
+ /**
3597
+ * Provides data to hide the floating element in applicable situations, such as
3598
+ * when it is not in the same clipping context as the reference element.
3599
+ * @see https://floating-ui.com/docs/hide
3600
+ */
3601
+ hide;
3602
+
3603
+ /**
3604
+ * Provides data to position an inner element of the floating element so that it
3605
+ * appears centered to the reference element.
3606
+ * @see https://floating-ui.com/docs/arrow
3607
+ */
3608
+ arrow;
3609
+
3610
+ /**
3611
+ * Provides improved positioning for inline reference elements that can span
3612
+ * over multiple lines, such as hyperlinks or range selections.
3613
+ * @see https://floating-ui.com/docs/inline
3614
+ */
3615
+ inline;
3616
+
3617
+ /**
3618
+ * Built-in `limiter` that will stop `shift()` at a certain point.
3619
+ */
3620
+ limitShift;
3621
+
3622
+ var isClient = typeof document !== 'undefined';
3623
+
3624
+ var index = isClient ? React.useLayoutEffect : React.useEffect;
3498
3625
 
3499
3626
  var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
3500
3627
  // ==============================
@@ -4293,7 +4420,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
4293
4420
  } : {
4294
4421
  name: "tj5bde-Svg",
4295
4422
  styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
4296
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,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FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",
4423
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChc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CYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
4297
4424
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
4298
4425
  };
4299
4426
  var Svg = function Svg(_ref) {
@@ -4428,7 +4555,7 @@ var LoadingDot = function LoadingDot(_ref6) {
4428
4555
  height: '1em',
4429
4556
  verticalAlign: 'top',
4430
4557
  width: '1em'
4431
- }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsIm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ICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")
4558
+ }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB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uICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
4432
4559
  });
4433
4560
  };
4434
4561
  var LoadingIndicator = function LoadingIndicator(_ref7) {
@@ -4924,7 +5051,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
4924
5051
  } : {
4925
5052
  name: "1f43avz-a11yText-A11yText",
4926
5053
  styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
4927
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
5054
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
4928
5055
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
4929
5056
  };
4930
5057
  var A11yText = function A11yText(props) {
@@ -5468,7 +5595,7 @@ function DummyInput(_ref) {
5468
5595
  opacity: 0,
5469
5596
  position: 'relative',
5470
5597
  transform: 'scale(.01)'
5471
- }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1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B3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
5598
+ }, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0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XG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")
5472
5599
  }));
5473
5600
  }
5474
5601
 
@@ -5581,7 +5708,7 @@ var LOCK_STYLES = {
5581
5708
  height: '100%'
5582
5709
  };
5583
5710
  function preventTouchMove(e) {
5584
- e.preventDefault();
5711
+ if (e.cancelable) e.preventDefault();
5585
5712
  }
5586
5713
  function allowTouchMove(e) {
5587
5714
  e.stopPropagation();
@@ -6203,10 +6330,12 @@ var Select = /*#__PURE__*/function (_Component) {
6203
6330
  var lastSelectedValue = selectValue[selectValue.length - 1];
6204
6331
  var newValueArray = selectValue.slice(0, selectValue.length - 1);
6205
6332
  var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
6206
- _this.onChange(newValue, {
6207
- action: 'pop-value',
6208
- removedValue: lastSelectedValue
6209
- });
6333
+ if (lastSelectedValue) {
6334
+ _this.onChange(newValue, {
6335
+ action: 'pop-value',
6336
+ removedValue: lastSelectedValue
6337
+ });
6338
+ }
6210
6339
  };
6211
6340
  _this.getFocusedOptionId = function (focusedOption) {
6212
6341
  return getFocusedOptionId(_this.state.focusableOptionsWithIds, focusedOption);