@ntbjs/react-components 1.3.0-rc.59 → 1.3.0-rc.6-patch.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +8 -7
- package/{ActionButton-b2345555.js → ActionButton-dea072f4.js} +16 -19
- package/{Alert-d69a3f95.js → Alert-347a66eb.js} +24 -20
- package/{AssetAction-9622c4f9.js → AssetGallery-f24a8bb1.js} +651 -606
- package/AssetPreviewTopBar-b64d4665.js +99 -0
- package/{Badge-e984e6f5.js → Badge-b5d734ce.js} +49 -28
- package/{Button-090fb526.js → Button-211d92ec.js} +85 -94
- package/{Checkbox-ad9c9e54.js → Checkbox-b6f6fabf.js} +35 -30
- package/{CompactAutocompleteSelect-26949125.js → CompactAutocompleteSelect-15a10abb.js} +114 -82
- package/{CompactStarRating-65bf27e5.js → CompactStarRating-821494e0.js} +94 -83
- package/{CompactTextInput-60edc635.js → CompactTextInput-ca8a67af.js} +106 -110
- package/{ContextMenu-4eb8fdc5.js → ContextMenu-d269f2b4.js} +6 -6
- package/{ContextMenuItem-c536b460.js → ContextMenuItem-960e1acf.js} +26 -22
- package/{InputGroup-a89a0ea3.js → InputGroup-b5ebae07.js} +6 -6
- package/{Instructions-dbd4514c.js → Instructions-6bfa0f6e.js} +81 -97
- package/{MultiLevelCheckboxSelect-3d5d5f2c.js → MultiLevelCheckboxSelect-b145322d.js} +164 -102
- package/{MultiSelect-cdfe6ffa.js → MultiSelect-b2459602.js} +101 -71
- package/{Popover-52d29ca6.js → Popover-ec433aaf.js} +40 -41
- package/{Radio-55db4781.js → Radio-2ab61f91.js} +22 -21
- package/{SectionSeparator-af8dc1ce.js → SectionSeparator-a28c6af2.js} +6 -6
- package/{Switch-04ecd8d0.js → Switch-e3289575.js} +27 -25
- package/{Tab-e43241f0.js → Tab-91278790.js} +7 -7
- package/{Tabs-cfc08c6b.js → Tabs-2a0f1d84.js} +43 -39
- package/{TextArea-44b4d3c4.js → TextArea-8c8757d9.js} +125 -93
- package/{TextInput-c3c71881.js → TextInput-4cac4342.js} +50 -48
- package/{Tooltip-a68a7e49.js → Tooltip-978b6cdd.js} +13 -13
- package/{VerificationStatusIcon-7b0e23fe.js → VerificationStatusIcon-ad0159e3.js} +30 -20
- package/{close-1751121a.js → close-ebf2f3cf.js} +12 -8
- package/data/Alert/index.js +2 -2
- package/data/Badge/index.js +2 -2
- package/data/Popover/index.js +3 -3
- package/data/Tab/index.js +2 -2
- package/data/Tabs/index.js +3 -3
- package/data/Tooltip/index.js +3 -3
- package/data/index.js +9 -9
- package/{defaultTheme-cd01e6c2.js → defaultTheme-44832997.js} +261 -213
- package/edit-note-c47d292e.js +41 -0
- package/{expand-more-d74e2bd2.js → expand-more-94585605.js} +12 -8
- package/inputs/ActionButton/index.js +2 -2
- package/inputs/Button/index.js +6 -6
- package/inputs/Checkbox/index.js +2 -2
- package/inputs/CompactAutocompleteSelect/index.js +13 -13
- package/inputs/CompactStarRating/index.js +10 -10
- package/inputs/CompactTextInput/index.js +11 -11
- package/inputs/MultiSelect/index.js +4 -4
- package/inputs/Radio/index.js +2 -2
- package/inputs/Switch/index.js +2 -2
- package/inputs/TextArea/index.js +11 -11
- package/inputs/TextInput/index.js +3 -3
- package/inputs/index.js +28 -28
- package/layout/InputGroup/index.js +2 -2
- package/layout/SectionSeparator/index.js +2 -2
- package/layout/index.js +3 -3
- package/package.json +1 -2
- package/{react-select-creatable.esm-383b1e78.js → react-select-creatable.esm-2f23d6c6.js} +1285 -1414
- package/{shift-away-subtle-631cd794.js → shift-away-subtle-22739ae8.js} +1 -1
- package/ssr/index.js +3 -1
- package/styles/config.scss +2 -2
- package/warning-circle-24522402.js +41 -0
- package/widgets/AssetGallery/index.js +32 -34
- package/widgets/AssetPreview/AssetPreviewTopBar/index.js +3 -3
- package/widgets/ContextMenu/ContextMenuItem/index.js +2 -2
- package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +6 -6
- package/widgets/ContextMenu/index.js +2 -2
- package/widgets/Instructions/index.js +17 -16
- package/widgets/index.js +35 -37
- package/AssetPreviewTopBar-b1fe3188.js +0 -104
- package/edit-note-cefe2215.js +0 -37
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var defaultTheme$1 = require('./defaultTheme-cd01e6c2.js');
|
|
5
4
|
var reactDom = require('react-dom');
|
|
6
5
|
|
|
7
6
|
function _interopNamespace(e) {
|
|
@@ -13,190 +12,228 @@ function _interopNamespace(e) {
|
|
|
13
12
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
13
|
Object.defineProperty(n, k, d.get ? d : {
|
|
15
14
|
enumerable: true,
|
|
16
|
-
get: function () {
|
|
15
|
+
get: function () {
|
|
16
|
+
return e[k];
|
|
17
|
+
}
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
21
|
}
|
|
21
|
-
n[
|
|
22
|
+
n['default'] = e;
|
|
22
23
|
return Object.freeze(n);
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
27
|
|
|
27
28
|
function _extends() {
|
|
28
|
-
|
|
29
|
-
for (var
|
|
30
|
-
var
|
|
31
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
32
|
-
}
|
|
33
|
-
return n;
|
|
34
|
-
}, _extends.apply(null, arguments);
|
|
35
|
-
}
|
|
29
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
30
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
31
|
+
var source = arguments[i];
|
|
36
32
|
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
for (var key in source) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
35
|
+
target[key] = source[key];
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
44
|
-
}, _typeof(o);
|
|
40
|
+
return target;
|
|
41
|
+
};
|
|
42
|
+
return _extends.apply(this, arguments);
|
|
45
43
|
}
|
|
46
44
|
|
|
47
|
-
function
|
|
48
|
-
if (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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;
|
|
54
55
|
}
|
|
55
|
-
return ("string" === r ? String : Number)(t);
|
|
56
|
-
}
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
var i = toPrimitive(t, "string");
|
|
60
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
57
|
+
return obj;
|
|
61
58
|
}
|
|
62
59
|
|
|
63
|
-
function
|
|
64
|
-
|
|
65
|
-
value: t,
|
|
66
|
-
enumerable: !0,
|
|
67
|
-
configurable: !0,
|
|
68
|
-
writable: !0
|
|
69
|
-
}) : e[r] = t, e;
|
|
70
|
-
}
|
|
60
|
+
function ownKeys(object, enumerableOnly) {
|
|
61
|
+
var keys = Object.keys(object);
|
|
71
62
|
|
|
72
|
-
function ownKeys(e, r) {
|
|
73
|
-
var t = Object.keys(e);
|
|
74
63
|
if (Object.getOwnPropertySymbols) {
|
|
75
|
-
var
|
|
76
|
-
|
|
77
|
-
return Object.getOwnPropertyDescriptor(
|
|
78
|
-
})),
|
|
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);
|
|
79
68
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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));
|
|
89
80
|
});
|
|
90
81
|
}
|
|
91
|
-
|
|
82
|
+
|
|
83
|
+
return target;
|
|
92
84
|
}
|
|
93
85
|
|
|
94
|
-
function _classCallCheck(
|
|
95
|
-
if (!(
|
|
86
|
+
function _classCallCheck(instance, Constructor) {
|
|
87
|
+
if (!(instance instanceof Constructor)) {
|
|
88
|
+
throw new TypeError("Cannot call a class as a function");
|
|
89
|
+
}
|
|
96
90
|
}
|
|
97
91
|
|
|
98
|
-
function _defineProperties(
|
|
99
|
-
for (var
|
|
100
|
-
var
|
|
101
|
-
|
|
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);
|
|
102
99
|
}
|
|
103
100
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
|
-
function _setPrototypeOf(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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);
|
|
114
117
|
}
|
|
115
118
|
|
|
116
|
-
function _inherits(
|
|
117
|
-
if (
|
|
118
|
-
|
|
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, {
|
|
119
125
|
constructor: {
|
|
120
|
-
value:
|
|
121
|
-
writable:
|
|
122
|
-
configurable:
|
|
126
|
+
value: subClass,
|
|
127
|
+
writable: true,
|
|
128
|
+
configurable: true
|
|
123
129
|
}
|
|
124
|
-
})
|
|
125
|
-
|
|
126
|
-
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(subClass, "prototype", {
|
|
132
|
+
writable: false
|
|
133
|
+
});
|
|
134
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
127
135
|
}
|
|
128
136
|
|
|
129
|
-
function _getPrototypeOf(
|
|
130
|
-
|
|
131
|
-
return
|
|
132
|
-
}
|
|
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);
|
|
133
142
|
}
|
|
134
143
|
|
|
135
144
|
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
|
+
|
|
136
149
|
try {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
return
|
|
141
|
-
}
|
|
150
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
151
|
+
return true;
|
|
152
|
+
} catch (e) {
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
142
155
|
}
|
|
143
156
|
|
|
144
|
-
function
|
|
145
|
-
|
|
146
|
-
|
|
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);
|
|
147
165
|
}
|
|
148
166
|
|
|
149
|
-
function
|
|
150
|
-
if (
|
|
151
|
-
|
|
152
|
-
|
|
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;
|
|
173
|
+
}
|
|
174
|
+
|
|
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);
|
|
153
183
|
}
|
|
154
184
|
|
|
155
|
-
function _createSuper(
|
|
156
|
-
var
|
|
157
|
-
return function () {
|
|
158
|
-
var
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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);
|
|
165
199
|
};
|
|
166
200
|
}
|
|
167
201
|
|
|
168
|
-
function _arrayLikeToArray(
|
|
169
|
-
(
|
|
170
|
-
|
|
171
|
-
|
|
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;
|
|
172
210
|
}
|
|
173
211
|
|
|
174
|
-
function _arrayWithoutHoles(
|
|
175
|
-
if (Array.isArray(
|
|
212
|
+
function _arrayWithoutHoles(arr) {
|
|
213
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
176
214
|
}
|
|
177
215
|
|
|
178
|
-
function _iterableToArray(
|
|
179
|
-
if (
|
|
216
|
+
function _iterableToArray(iter) {
|
|
217
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
180
218
|
}
|
|
181
219
|
|
|
182
|
-
function _unsupportedIterableToArray(
|
|
183
|
-
if (
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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);
|
|
188
227
|
}
|
|
189
228
|
|
|
190
229
|
function _nonIterableSpread() {
|
|
191
230
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
192
231
|
}
|
|
193
232
|
|
|
194
|
-
function _toConsumableArray(
|
|
195
|
-
return _arrayWithoutHoles(
|
|
233
|
+
function _toConsumableArray(arr) {
|
|
234
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
196
235
|
}
|
|
197
236
|
|
|
198
|
-
var isDevelopment$2 = false;
|
|
199
|
-
|
|
200
237
|
/*
|
|
201
238
|
|
|
202
239
|
Based off glamor's StyleSheet, thanks Sunil ❤️
|
|
@@ -219,9 +256,10 @@ styleSheet.flush()
|
|
|
219
256
|
- empties the stylesheet of all its contents
|
|
220
257
|
|
|
221
258
|
*/
|
|
222
|
-
|
|
259
|
+
// $FlowFixMe
|
|
223
260
|
function sheetForTag(tag) {
|
|
224
261
|
if (tag.sheet) {
|
|
262
|
+
// $FlowFixMe
|
|
225
263
|
return tag.sheet;
|
|
226
264
|
} // this weirdness brought to you by firefox
|
|
227
265
|
|
|
@@ -230,13 +268,10 @@ function sheetForTag(tag) {
|
|
|
230
268
|
|
|
231
269
|
for (var i = 0; i < document.styleSheets.length; i++) {
|
|
232
270
|
if (document.styleSheets[i].ownerNode === tag) {
|
|
271
|
+
// $FlowFixMe
|
|
233
272
|
return document.styleSheets[i];
|
|
234
273
|
}
|
|
235
|
-
}
|
|
236
|
-
// TS can't understand it though so we make it stop complaining here
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
return undefined;
|
|
274
|
+
}
|
|
240
275
|
}
|
|
241
276
|
|
|
242
277
|
function createStyleElement(options) {
|
|
@@ -277,7 +312,7 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
277
312
|
_this.tags.push(tag);
|
|
278
313
|
};
|
|
279
314
|
|
|
280
|
-
this.isSpeedy = options.speedy === undefined ?
|
|
315
|
+
this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
|
|
281
316
|
this.tags = [];
|
|
282
317
|
this.ctr = 0;
|
|
283
318
|
this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
|
|
@@ -305,6 +340,18 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
305
340
|
|
|
306
341
|
var tag = this.tags[this.tags.length - 1];
|
|
307
342
|
|
|
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
|
+
|
|
308
355
|
if (this.isSpeedy) {
|
|
309
356
|
var sheet = sheetForTag(tag);
|
|
310
357
|
|
|
@@ -313,6 +360,9 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
313
360
|
// the big drawback is that the css won't be editable in devtools
|
|
314
361
|
sheet.insertRule(rule, sheet.cssRules.length);
|
|
315
362
|
} 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
|
+
}
|
|
316
366
|
}
|
|
317
367
|
} else {
|
|
318
368
|
tag.appendChild(document.createTextNode(rule));
|
|
@@ -322,13 +372,16 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
322
372
|
};
|
|
323
373
|
|
|
324
374
|
_proto.flush = function flush() {
|
|
375
|
+
// $FlowFixMe
|
|
325
376
|
this.tags.forEach(function (tag) {
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
|
|
377
|
+
return tag.parentNode && tag.parentNode.removeChild(tag);
|
|
329
378
|
});
|
|
330
379
|
this.tags = [];
|
|
331
380
|
this.ctr = 0;
|
|
381
|
+
|
|
382
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
383
|
+
this._alreadyInsertedOrderInsensitiveRule = false;
|
|
384
|
+
}
|
|
332
385
|
};
|
|
333
386
|
|
|
334
387
|
return StyleSheet;
|
|
@@ -933,11 +986,11 @@ function rulesheet (callback) {
|
|
|
933
986
|
}
|
|
934
987
|
|
|
935
988
|
var weakMemoize = function weakMemoize(func) {
|
|
989
|
+
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
|
|
936
990
|
var cache = new WeakMap();
|
|
937
991
|
return function (arg) {
|
|
938
992
|
if (cache.has(arg)) {
|
|
939
|
-
//
|
|
940
|
-
// This allows us to remove `undefined` from the return value
|
|
993
|
+
// $FlowFixMe
|
|
941
994
|
return cache.get(arg);
|
|
942
995
|
}
|
|
943
996
|
|
|
@@ -947,7 +1000,7 @@ var weakMemoize = function weakMemoize(func) {
|
|
|
947
1000
|
};
|
|
948
1001
|
};
|
|
949
1002
|
|
|
950
|
-
function memoize(fn) {
|
|
1003
|
+
function memoize$1(fn) {
|
|
951
1004
|
var cache = Object.create(null);
|
|
952
1005
|
return function (arg) {
|
|
953
1006
|
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
@@ -955,8 +1008,6 @@ function memoize(fn) {
|
|
|
955
1008
|
};
|
|
956
1009
|
}
|
|
957
1010
|
|
|
958
|
-
var isBrowser$3 = typeof document !== 'undefined';
|
|
959
|
-
|
|
960
1011
|
var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
|
|
961
1012
|
var previous = 0;
|
|
962
1013
|
var character = 0;
|
|
@@ -1035,8 +1086,8 @@ var compat = function compat(element) {
|
|
|
1035
1086
|
return;
|
|
1036
1087
|
}
|
|
1037
1088
|
|
|
1038
|
-
var value = element.value
|
|
1039
|
-
|
|
1089
|
+
var value = element.value,
|
|
1090
|
+
parent = element.parent;
|
|
1040
1091
|
var isImplicitRule = element.column === parent.column && element.line === parent.line;
|
|
1041
1092
|
|
|
1042
1093
|
while (parent.type !== 'rule') {
|
|
@@ -1081,6 +1132,114 @@ var removeLabel = function removeLabel(element) {
|
|
|
1081
1132
|
}
|
|
1082
1133
|
}
|
|
1083
1134
|
};
|
|
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
|
+
};
|
|
1084
1243
|
|
|
1085
1244
|
/* eslint-disable no-fallthrough */
|
|
1086
1245
|
|
|
@@ -1294,9 +1453,13 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
|
1294
1453
|
}
|
|
1295
1454
|
};
|
|
1296
1455
|
|
|
1297
|
-
var
|
|
1298
|
-
|
|
1299
|
-
|
|
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
|
+
};
|
|
1300
1463
|
});
|
|
1301
1464
|
});
|
|
1302
1465
|
var defaultStylisPlugins = [prefixer];
|
|
@@ -1304,7 +1467,11 @@ var defaultStylisPlugins = [prefixer];
|
|
|
1304
1467
|
var createCache = function createCache(options) {
|
|
1305
1468
|
var key = options.key;
|
|
1306
1469
|
|
|
1307
|
-
if (
|
|
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') {
|
|
1308
1475
|
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
|
|
1309
1476
|
// document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
|
|
1310
1477
|
// note this very very intentionally targets all style elements regardless of the key to ensure
|
|
@@ -1322,7 +1489,6 @@ var createCache = function createCache(options) {
|
|
|
1322
1489
|
if (dataEmotionAttribute.indexOf(' ') === -1) {
|
|
1323
1490
|
return;
|
|
1324
1491
|
}
|
|
1325
|
-
|
|
1326
1492
|
document.head.appendChild(node);
|
|
1327
1493
|
node.setAttribute('data-s', '');
|
|
1328
1494
|
});
|
|
@@ -1330,16 +1496,23 @@ var createCache = function createCache(options) {
|
|
|
1330
1496
|
|
|
1331
1497
|
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
|
|
1332
1498
|
|
|
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
|
+
|
|
1333
1506
|
var inserted = {};
|
|
1334
1507
|
var container;
|
|
1335
1508
|
var nodesToHydrate = [];
|
|
1336
1509
|
|
|
1337
|
-
if (isBrowser$
|
|
1510
|
+
if (isBrowser$4) {
|
|
1338
1511
|
container = options.container || document.head;
|
|
1339
1512
|
Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
|
|
1340
1513
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1341
1514
|
document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
|
|
1342
|
-
var attrib = node.getAttribute("data-emotion").split(' ');
|
|
1515
|
+
var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
|
|
1343
1516
|
|
|
1344
1517
|
for (var i = 1; i < attrib.length; i++) {
|
|
1345
1518
|
inserted[attrib[i]] = true;
|
|
@@ -1353,9 +1526,28 @@ var createCache = function createCache(options) {
|
|
|
1353
1526
|
|
|
1354
1527
|
var omnipresentPlugins = [compat, removeLabel];
|
|
1355
1528
|
|
|
1356
|
-
if (
|
|
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) {
|
|
1357
1539
|
var currentSheet;
|
|
1358
|
-
var finalizingPlugins = [stringify,
|
|
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) {
|
|
1359
1551
|
currentSheet.insert(rule);
|
|
1360
1552
|
})];
|
|
1361
1553
|
var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
@@ -1367,6 +1559,14 @@ var createCache = function createCache(options) {
|
|
|
1367
1559
|
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
1368
1560
|
currentSheet = sheet;
|
|
1369
1561
|
|
|
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
|
+
|
|
1370
1570
|
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
1371
1571
|
|
|
1372
1572
|
if (shouldCache) {
|
|
@@ -1380,7 +1580,8 @@ var createCache = function createCache(options) {
|
|
|
1380
1580
|
|
|
1381
1581
|
var _stylis = function _stylis(styles) {
|
|
1382
1582
|
return serialize(compile(styles), _serializer);
|
|
1383
|
-
};
|
|
1583
|
+
}; // $FlowFixMe
|
|
1584
|
+
|
|
1384
1585
|
|
|
1385
1586
|
var serverStylisCache = getServerStylisCache(stylisPlugins)(key);
|
|
1386
1587
|
|
|
@@ -1406,6 +1607,12 @@ var createCache = function createCache(options) {
|
|
|
1406
1607
|
cache.inserted[name] = true;
|
|
1407
1608
|
}
|
|
1408
1609
|
|
|
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
|
+
|
|
1409
1616
|
return rules;
|
|
1410
1617
|
} else {
|
|
1411
1618
|
// in compat mode, we put the styles on the inserted cache so
|
|
@@ -1443,7 +1650,213 @@ var createCache = function createCache(options) {
|
|
|
1443
1650
|
return cache;
|
|
1444
1651
|
};
|
|
1445
1652
|
|
|
1446
|
-
var reactIs =
|
|
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;
|
|
1447
1860
|
var FORWARD_REF_STATICS = {
|
|
1448
1861
|
'$$typeof': true,
|
|
1449
1862
|
render: true,
|
|
@@ -1463,14 +1876,13 @@ var TYPE_STATICS = {};
|
|
|
1463
1876
|
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
1464
1877
|
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
1465
1878
|
|
|
1466
|
-
var isBrowser$
|
|
1467
|
-
|
|
1879
|
+
var isBrowser$3 = typeof document !== 'undefined';
|
|
1468
1880
|
function getRegisteredStyles(registered, registeredStyles, classNames) {
|
|
1469
1881
|
var rawClassName = '';
|
|
1470
1882
|
classNames.split(' ').forEach(function (className) {
|
|
1471
1883
|
if (registered[className] !== undefined) {
|
|
1472
1884
|
registeredStyles.push(registered[className] + ";");
|
|
1473
|
-
} else
|
|
1885
|
+
} else {
|
|
1474
1886
|
rawClassName += className + " ";
|
|
1475
1887
|
}
|
|
1476
1888
|
});
|
|
@@ -1488,7 +1900,7 @@ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
|
|
|
1488
1900
|
// in node since emotion-server relies on whether a style is in
|
|
1489
1901
|
// the registered cache to know whether a style is global or not
|
|
1490
1902
|
// also, note that this check will be dead code eliminated in the browser
|
|
1491
|
-
isBrowser$
|
|
1903
|
+
isBrowser$3 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
|
|
1492
1904
|
cache.registered[className] = serialized.styles;
|
|
1493
1905
|
}
|
|
1494
1906
|
};
|
|
@@ -1503,14 +1915,14 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
|
|
|
1503
1915
|
do {
|
|
1504
1916
|
var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
|
|
1505
1917
|
|
|
1506
|
-
if (!isBrowser$
|
|
1918
|
+
if (!isBrowser$3 && maybeStyles !== undefined) {
|
|
1507
1919
|
stylesForSSR += maybeStyles;
|
|
1508
1920
|
}
|
|
1509
1921
|
|
|
1510
1922
|
current = current.next;
|
|
1511
1923
|
} while (current !== undefined);
|
|
1512
1924
|
|
|
1513
|
-
if (!isBrowser$
|
|
1925
|
+
if (!isBrowser$3 && stylesForSSR.length !== 0) {
|
|
1514
1926
|
return stylesForSSR;
|
|
1515
1927
|
}
|
|
1516
1928
|
}
|
|
@@ -1604,7 +2016,6 @@ var unitlessKeys = {
|
|
|
1604
2016
|
opacity: 1,
|
|
1605
2017
|
order: 1,
|
|
1606
2018
|
orphans: 1,
|
|
1607
|
-
scale: 1,
|
|
1608
2019
|
tabSize: 1,
|
|
1609
2020
|
widows: 1,
|
|
1610
2021
|
zIndex: 1,
|
|
@@ -1621,8 +2032,16 @@ var unitlessKeys = {
|
|
|
1621
2032
|
strokeWidth: 1
|
|
1622
2033
|
};
|
|
1623
2034
|
|
|
1624
|
-
|
|
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
|
+
}
|
|
1625
2042
|
|
|
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).";
|
|
1626
2045
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
1627
2046
|
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
1628
2047
|
|
|
@@ -1663,6 +2082,34 @@ var processStyleValue = function processStyleValue(key, value) {
|
|
|
1663
2082
|
return value;
|
|
1664
2083
|
};
|
|
1665
2084
|
|
|
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
|
+
|
|
1666
2113
|
var noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
|
|
1667
2114
|
|
|
1668
2115
|
function handleInterpolation(mergedProps, registered, interpolation) {
|
|
@@ -1670,11 +2117,12 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1670
2117
|
return '';
|
|
1671
2118
|
}
|
|
1672
2119
|
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
2120
|
+
if (interpolation.__emotion_styles !== undefined) {
|
|
2121
|
+
if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
|
|
2122
|
+
throw new Error(noComponentSelectorMessage);
|
|
2123
|
+
}
|
|
1676
2124
|
|
|
1677
|
-
return
|
|
2125
|
+
return interpolation;
|
|
1678
2126
|
}
|
|
1679
2127
|
|
|
1680
2128
|
switch (typeof interpolation) {
|
|
@@ -1685,21 +2133,17 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1685
2133
|
|
|
1686
2134
|
case 'object':
|
|
1687
2135
|
{
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
if (keyframes.anim === 1) {
|
|
2136
|
+
if (interpolation.anim === 1) {
|
|
1691
2137
|
cursor = {
|
|
1692
|
-
name:
|
|
1693
|
-
styles:
|
|
2138
|
+
name: interpolation.name,
|
|
2139
|
+
styles: interpolation.styles,
|
|
1694
2140
|
next: cursor
|
|
1695
2141
|
};
|
|
1696
|
-
return
|
|
2142
|
+
return interpolation.name;
|
|
1697
2143
|
}
|
|
1698
2144
|
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
if (serializedStyles.styles !== undefined) {
|
|
1702
|
-
var next = serializedStyles.next;
|
|
2145
|
+
if (interpolation.styles !== undefined) {
|
|
2146
|
+
var next = interpolation.next;
|
|
1703
2147
|
|
|
1704
2148
|
if (next !== undefined) {
|
|
1705
2149
|
// not the most efficient thing ever but this is a pretty rare case
|
|
@@ -1714,7 +2158,12 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1714
2158
|
}
|
|
1715
2159
|
}
|
|
1716
2160
|
|
|
1717
|
-
var styles =
|
|
2161
|
+
var styles = interpolation.styles + ";";
|
|
2162
|
+
|
|
2163
|
+
if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
|
|
2164
|
+
styles += interpolation.map;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
1718
2167
|
return styles;
|
|
1719
2168
|
}
|
|
1720
2169
|
|
|
@@ -1728,21 +2177,37 @@ function handleInterpolation(mergedProps, registered, interpolation) {
|
|
|
1728
2177
|
var result = interpolation(mergedProps);
|
|
1729
2178
|
cursor = previousCursor;
|
|
1730
2179
|
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}`");
|
|
1731
2182
|
}
|
|
1732
2183
|
|
|
1733
2184
|
break;
|
|
1734
2185
|
}
|
|
1735
|
-
} // finalize string values (regular strings and functions interpolated into css calls)
|
|
1736
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
|
+
} // finalize string values (regular strings and functions interpolated into css calls)
|
|
1737
2203
|
|
|
1738
|
-
var asString = interpolation;
|
|
1739
2204
|
|
|
1740
2205
|
if (registered == null) {
|
|
1741
|
-
return
|
|
2206
|
+
return interpolation;
|
|
1742
2207
|
}
|
|
1743
2208
|
|
|
1744
|
-
var cached = registered[
|
|
1745
|
-
return cached !== undefined ? cached :
|
|
2209
|
+
var cached = registered[interpolation];
|
|
2210
|
+
return cached !== undefined ? cached : interpolation;
|
|
1746
2211
|
}
|
|
1747
2212
|
|
|
1748
2213
|
function createStringFromObject(mergedProps, registered, obj) {
|
|
@@ -1753,43 +2218,44 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1753
2218
|
string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
|
|
1754
2219
|
}
|
|
1755
2220
|
} else {
|
|
1756
|
-
for (var
|
|
1757
|
-
var value = obj[
|
|
2221
|
+
for (var _key in obj) {
|
|
2222
|
+
var value = obj[_key];
|
|
1758
2223
|
|
|
1759
2224
|
if (typeof value !== 'object') {
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
if (
|
|
1763
|
-
string +=
|
|
1764
|
-
} else if (isProcessableValue(asString)) {
|
|
1765
|
-
string += processStyleName(key) + ":" + processStyleValue(key, asString) + ";";
|
|
2225
|
+
if (registered != null && registered[value] !== undefined) {
|
|
2226
|
+
string += _key + "{" + registered[value] + "}";
|
|
2227
|
+
} else if (isProcessableValue(value)) {
|
|
2228
|
+
string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
|
|
1766
2229
|
}
|
|
1767
2230
|
} else {
|
|
1768
|
-
if (
|
|
2231
|
+
if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
|
|
1769
2232
|
throw new Error(noComponentSelectorMessage);
|
|
1770
2233
|
}
|
|
1771
2234
|
|
|
1772
2235
|
if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
|
|
1773
2236
|
for (var _i = 0; _i < value.length; _i++) {
|
|
1774
2237
|
if (isProcessableValue(value[_i])) {
|
|
1775
|
-
string += processStyleName(
|
|
2238
|
+
string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
|
|
1776
2239
|
}
|
|
1777
2240
|
}
|
|
1778
2241
|
} else {
|
|
1779
2242
|
var interpolated = handleInterpolation(mergedProps, registered, value);
|
|
1780
2243
|
|
|
1781
|
-
switch (
|
|
2244
|
+
switch (_key) {
|
|
1782
2245
|
case 'animation':
|
|
1783
2246
|
case 'animationName':
|
|
1784
2247
|
{
|
|
1785
|
-
string += processStyleName(
|
|
2248
|
+
string += processStyleName(_key) + ":" + interpolated + ";";
|
|
1786
2249
|
break;
|
|
1787
2250
|
}
|
|
1788
2251
|
|
|
1789
2252
|
default:
|
|
1790
2253
|
{
|
|
2254
|
+
if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
|
|
2255
|
+
console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
|
|
2256
|
+
}
|
|
1791
2257
|
|
|
1792
|
-
string +=
|
|
2258
|
+
string += _key + "{" + interpolated + "}";
|
|
1793
2259
|
}
|
|
1794
2260
|
}
|
|
1795
2261
|
}
|
|
@@ -1800,11 +2266,17 @@ function createStringFromObject(mergedProps, registered, obj) {
|
|
|
1800
2266
|
return string;
|
|
1801
2267
|
}
|
|
1802
2268
|
|
|
1803
|
-
var labelPattern = /label:\s*([^\s
|
|
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
|
|
1804
2275
|
// keyframes are stored on the SerializedStyles object as a linked list
|
|
1805
2276
|
|
|
2277
|
+
|
|
1806
2278
|
var cursor;
|
|
1807
|
-
function serializeStyles(args, registered, mergedProps) {
|
|
2279
|
+
var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
1808
2280
|
if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
|
|
1809
2281
|
return args[0];
|
|
1810
2282
|
}
|
|
@@ -1818,9 +2290,11 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
1818
2290
|
stringMode = false;
|
|
1819
2291
|
styles += handleInterpolation(mergedProps, registered, strings);
|
|
1820
2292
|
} else {
|
|
1821
|
-
|
|
2293
|
+
if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
|
|
2294
|
+
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
2295
|
+
}
|
|
1822
2296
|
|
|
1823
|
-
styles +=
|
|
2297
|
+
styles += strings[0];
|
|
1824
2298
|
} // we start at 1 since we've already handled the first arg
|
|
1825
2299
|
|
|
1826
2300
|
|
|
@@ -1828,10 +2302,21 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
1828
2302
|
styles += handleInterpolation(mergedProps, registered, args[i]);
|
|
1829
2303
|
|
|
1830
2304
|
if (stringMode) {
|
|
1831
|
-
|
|
2305
|
+
if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
|
|
2306
|
+
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
2307
|
+
}
|
|
1832
2308
|
|
|
1833
|
-
styles +=
|
|
2309
|
+
styles += strings[i];
|
|
1834
2310
|
}
|
|
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
|
+
});
|
|
1835
2320
|
} // using a global regex with .exec is stateful so lastIndex has to be reset each time
|
|
1836
2321
|
|
|
1837
2322
|
|
|
@@ -1840,30 +2325,44 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
1840
2325
|
var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
|
|
1841
2326
|
|
|
1842
2327
|
while ((match = labelPattern.exec(styles)) !== null) {
|
|
1843
|
-
identifierName += '-' +
|
|
2328
|
+
identifierName += '-' + // $FlowFixMe we know it's not null
|
|
2329
|
+
match[1];
|
|
1844
2330
|
}
|
|
1845
2331
|
|
|
1846
2332
|
var name = murmur2(styles) + identifierName;
|
|
1847
2333
|
|
|
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
|
+
|
|
1848
2347
|
return {
|
|
1849
2348
|
name: name,
|
|
1850
2349
|
styles: styles,
|
|
1851
2350
|
next: cursor
|
|
1852
2351
|
};
|
|
1853
|
-
}
|
|
2352
|
+
};
|
|
1854
2353
|
|
|
1855
|
-
var isBrowser$
|
|
2354
|
+
var isBrowser$2 = typeof document !== 'undefined';
|
|
1856
2355
|
|
|
1857
2356
|
var syncFallback = function syncFallback(create) {
|
|
1858
2357
|
return create();
|
|
1859
2358
|
};
|
|
1860
2359
|
|
|
1861
2360
|
var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
|
|
1862
|
-
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$
|
|
2361
|
+
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
|
|
2362
|
+
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React__namespace.useLayoutEffect;
|
|
1863
2363
|
|
|
1864
|
-
var
|
|
1865
|
-
|
|
1866
|
-
var isBrowser = typeof document !== 'undefined';
|
|
2364
|
+
var isBrowser$1 = typeof document !== 'undefined';
|
|
2365
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
1867
2366
|
|
|
1868
2367
|
var EmotionCacheContext = /* #__PURE__ */React__namespace.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1869
2368
|
// because this module is primarily intended for the browser and node
|
|
@@ -1875,9 +2374,14 @@ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
|
|
|
1875
2374
|
key: 'css'
|
|
1876
2375
|
}) : null);
|
|
1877
2376
|
|
|
2377
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2378
|
+
EmotionCacheContext.displayName = 'EmotionCacheContext';
|
|
2379
|
+
}
|
|
2380
|
+
|
|
1878
2381
|
EmotionCacheContext.Provider;
|
|
1879
2382
|
|
|
1880
2383
|
var withEmotionCache = function withEmotionCache(func) {
|
|
2384
|
+
// $FlowFixMe
|
|
1881
2385
|
return /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
1882
2386
|
// the cache will never be null in the browser
|
|
1883
2387
|
var cache = React.useContext(EmotionCacheContext);
|
|
@@ -1885,7 +2389,7 @@ var withEmotionCache = function withEmotionCache(func) {
|
|
|
1885
2389
|
});
|
|
1886
2390
|
};
|
|
1887
2391
|
|
|
1888
|
-
if (!isBrowser) {
|
|
2392
|
+
if (!isBrowser$1) {
|
|
1889
2393
|
withEmotionCache = function withEmotionCache(func) {
|
|
1890
2394
|
return function (props) {
|
|
1891
2395
|
var cache = React.useContext(EmotionCacheContext);
|
|
@@ -1911,25 +2415,81 @@ if (!isBrowser) {
|
|
|
1911
2415
|
|
|
1912
2416
|
var ThemeContext = /* #__PURE__ */React__namespace.createContext({});
|
|
1913
2417
|
|
|
1914
|
-
|
|
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
|
+
};
|
|
1915
2464
|
|
|
1916
2465
|
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
|
2466
|
+
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
|
1917
2467
|
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
|
+
}
|
|
1918
2472
|
|
|
1919
2473
|
var newProps = {};
|
|
1920
2474
|
|
|
1921
|
-
for (var
|
|
1922
|
-
if (
|
|
1923
|
-
newProps[
|
|
2475
|
+
for (var key in props) {
|
|
2476
|
+
if (hasOwnProperty.call(props, key)) {
|
|
2477
|
+
newProps[key] = props[key];
|
|
1924
2478
|
}
|
|
1925
2479
|
}
|
|
1926
2480
|
|
|
1927
|
-
newProps[typePropName] = type; //
|
|
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
|
+
}
|
|
1928
2488
|
|
|
1929
2489
|
return newProps;
|
|
1930
2490
|
};
|
|
1931
2491
|
|
|
1932
|
-
var Insertion = function Insertion(_ref) {
|
|
2492
|
+
var Insertion$1 = function Insertion(_ref) {
|
|
1933
2493
|
var cache = _ref.cache,
|
|
1934
2494
|
serialized = _ref.serialized,
|
|
1935
2495
|
isStringTag = _ref.isStringTag;
|
|
@@ -1938,7 +2498,7 @@ var Insertion = function Insertion(_ref) {
|
|
|
1938
2498
|
return insertStyles(cache, serialized, isStringTag);
|
|
1939
2499
|
});
|
|
1940
2500
|
|
|
1941
|
-
if (!isBrowser && rules !== undefined) {
|
|
2501
|
+
if (!isBrowser$1 && rules !== undefined) {
|
|
1942
2502
|
var _ref2;
|
|
1943
2503
|
|
|
1944
2504
|
var serializedNames = serialized.name;
|
|
@@ -1978,35 +2538,175 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
|
1978
2538
|
|
|
1979
2539
|
var serialized = serializeStyles(registeredStyles, undefined, React__namespace.useContext(ThemeContext));
|
|
1980
2540
|
|
|
1981
|
-
|
|
1982
|
-
|
|
2541
|
+
if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
|
|
2542
|
+
var labelFromStack = props[labelPropName];
|
|
1983
2543
|
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
newProps[_key2] = props[_key2];
|
|
2544
|
+
if (labelFromStack) {
|
|
2545
|
+
serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);
|
|
1987
2546
|
}
|
|
1988
2547
|
}
|
|
1989
2548
|
|
|
1990
|
-
|
|
2549
|
+
className += cache.key + "-" + serialized.name;
|
|
2550
|
+
var newProps = {};
|
|
1991
2551
|
|
|
1992
|
-
|
|
1993
|
-
|
|
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];
|
|
2555
|
+
}
|
|
1994
2556
|
}
|
|
1995
2557
|
|
|
1996
|
-
|
|
2558
|
+
newProps.ref = ref;
|
|
2559
|
+
newProps.className = className;
|
|
2560
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Insertion$1, {
|
|
1997
2561
|
cache: cache,
|
|
1998
2562
|
serialized: serialized,
|
|
1999
2563
|
isStringTag: typeof WrappedComponent === 'string'
|
|
2000
2564
|
}), /*#__PURE__*/React__namespace.createElement(WrappedComponent, newProps));
|
|
2001
2565
|
});
|
|
2002
2566
|
|
|
2567
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2568
|
+
Emotion.displayName = 'EmotionCssPropInternal';
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2003
2571
|
var Emotion$1 = Emotion;
|
|
2004
2572
|
|
|
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
|
+
|
|
2005
2705
|
var jsx = function jsx(type, props) {
|
|
2006
|
-
// eslint-disable-next-line prefer-rest-params
|
|
2007
2706
|
var args = arguments;
|
|
2008
2707
|
|
|
2009
|
-
if (props == null || !
|
|
2708
|
+
if (props == null || !hasOwnProperty.call(props, 'css')) {
|
|
2709
|
+
// $FlowFixMe
|
|
2010
2710
|
return React__namespace.createElement.apply(undefined, args);
|
|
2011
2711
|
}
|
|
2012
2712
|
|
|
@@ -2017,1138 +2717,413 @@ var jsx = function jsx(type, props) {
|
|
|
2017
2717
|
|
|
2018
2718
|
for (var i = 2; i < argsLength; i++) {
|
|
2019
2719
|
createElementArgArray[i] = args[i];
|
|
2020
|
-
}
|
|
2720
|
+
} // $FlowFixMe
|
|
2721
|
+
|
|
2021
2722
|
|
|
2022
2723
|
return React__namespace.createElement.apply(null, createElementArgArray);
|
|
2023
2724
|
};
|
|
2024
2725
|
|
|
2025
|
-
|
|
2026
|
-
|
|
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
|
+
}
|
|
2027
2739
|
|
|
2028
|
-
|
|
2029
|
-
|
|
2740
|
+
var styles = props.styles;
|
|
2741
|
+
var serialized = serializeStyles([styles], undefined, React__namespace.useContext(ThemeContext));
|
|
2030
2742
|
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
args[_key] = arguments[_key];
|
|
2034
|
-
}
|
|
2743
|
+
if (!isBrowser$1) {
|
|
2744
|
+
var _ref;
|
|
2035
2745
|
|
|
2036
|
-
|
|
2037
|
-
|
|
2746
|
+
var serializedNames = serialized.name;
|
|
2747
|
+
var serializedStyles = serialized.styles;
|
|
2748
|
+
var next = serialized.next;
|
|
2038
2749
|
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
name: name,
|
|
2044
|
-
styles: "@keyframes " + name + "{" + insertable.styles + "}",
|
|
2045
|
-
anim: 1,
|
|
2046
|
-
toString: function toString() {
|
|
2047
|
-
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
2750
|
+
while (next !== undefined) {
|
|
2751
|
+
serializedNames += ' ' + next.name;
|
|
2752
|
+
serializedStyles += next.styles;
|
|
2753
|
+
next = next.next;
|
|
2048
2754
|
}
|
|
2049
|
-
};
|
|
2050
|
-
}
|
|
2051
2755
|
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2756
|
+
var shouldCache = cache.compat === true;
|
|
2757
|
+
var rules = cache.insert("", {
|
|
2758
|
+
name: serializedNames,
|
|
2759
|
+
styles: serializedStyles
|
|
2760
|
+
}, cache.sheet, shouldCache);
|
|
2055
2761
|
|
|
2056
|
-
|
|
2057
|
-
|
|
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
|
-
}
|
|
2762
|
+
if (shouldCache) {
|
|
2763
|
+
return null;
|
|
2079
2764
|
}
|
|
2080
|
-
return a;
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
2083
2765
|
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
}
|
|
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
|
|
2087
2773
|
|
|
2088
|
-
function _slicedToArray(r, e) {
|
|
2089
|
-
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
2090
|
-
}
|
|
2091
2774
|
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
2096
|
-
if (e.includes(n)) continue;
|
|
2097
|
-
t[n] = r[n];
|
|
2098
|
-
}
|
|
2099
|
-
return t;
|
|
2100
|
-
}
|
|
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
|
|
2101
2778
|
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
var
|
|
2109
|
-
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
2110
|
-
}
|
|
2111
|
-
return i;
|
|
2112
|
-
}
|
|
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
|
|
2113
2786
|
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
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];
|
|
2118
2791
|
}
|
|
2119
|
-
}));
|
|
2120
|
-
}
|
|
2121
2792
|
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
|
2125
|
-
*/
|
|
2793
|
+
if (node !== null) {
|
|
2794
|
+
rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
|
|
2126
2795
|
|
|
2127
|
-
|
|
2128
|
-
|
|
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
|
|
2137
|
-
});
|
|
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));
|
|
2150
|
-
}
|
|
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 [];
|
|
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));
|
|
2796
|
+
node.setAttribute('data-emotion', key);
|
|
2797
|
+
sheet.hydrate([node]);
|
|
2216
2798
|
}
|
|
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
|
-
}
|
|
2258
|
-
|
|
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
|
-
};
|
|
2322
|
-
}
|
|
2323
2799
|
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
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
|
|
2800
|
+
sheetRef.current = [sheet, rehydrating];
|
|
2801
|
+
return function () {
|
|
2802
|
+
sheet.flush();
|
|
2402
2803
|
};
|
|
2403
|
-
}
|
|
2404
|
-
|
|
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
|
+
}
|
|
2405
2814
|
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
if (alignment) {
|
|
2410
|
-
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
2815
|
+
if (serialized.next !== undefined) {
|
|
2816
|
+
// insert keyframes
|
|
2817
|
+
insertStyles(cache, serialized.next, true);
|
|
2411
2818
|
}
|
|
2412
|
-
|
|
2413
|
-
|
|
2819
|
+
|
|
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
|
+
}
|
|
2826
|
+
|
|
2827
|
+
cache.insert("", serialized, sheet, false);
|
|
2828
|
+
}, [cache, serialized.name]);
|
|
2829
|
+
return null;
|
|
2830
|
+
});
|
|
2831
|
+
|
|
2832
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
2833
|
+
Global.displayName = 'EmotionGlobal';
|
|
2414
2834
|
}
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
2420
|
-
*/
|
|
2421
|
-
const autoPlacement = function (options) {
|
|
2422
|
-
if (options === void 0) {
|
|
2423
|
-
options = {};
|
|
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];
|
|
2424
2839
|
}
|
|
2425
|
-
return {
|
|
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
2840
|
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
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 {};
|
|
2841
|
+
return serializeStyles(args);
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
var keyframes = function keyframes() {
|
|
2845
|
+
var insertable = css$2.apply(void 0, arguments);
|
|
2846
|
+
var name = "animation-" + insertable.name; // $FlowFixMe
|
|
2847
|
+
|
|
2848
|
+
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_";
|
|
2505
2854
|
}
|
|
2506
2855
|
};
|
|
2507
2856
|
};
|
|
2508
2857
|
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
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
|
|
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.');
|
|
2588
2879
|
}
|
|
2589
|
-
};
|
|
2590
|
-
}
|
|
2591
2880
|
|
|
2592
|
-
|
|
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;
|
|
2881
|
+
toAdd = '';
|
|
2595
2882
|
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
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;
|
|
2883
|
+
for (var k in arg) {
|
|
2884
|
+
if (arg[k] && k) {
|
|
2885
|
+
toAdd && (toAdd += ' ');
|
|
2886
|
+
toAdd += k;
|
|
2616
2887
|
}
|
|
2617
|
-
|
|
2618
|
-
resetPlacement = initialPlacement;
|
|
2619
|
-
break;
|
|
2888
|
+
}
|
|
2620
2889
|
}
|
|
2890
|
+
|
|
2891
|
+
break;
|
|
2621
2892
|
}
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
}
|
|
2627
|
-
};
|
|
2893
|
+
|
|
2894
|
+
default:
|
|
2895
|
+
{
|
|
2896
|
+
toAdd = arg;
|
|
2628
2897
|
}
|
|
2629
|
-
}
|
|
2630
|
-
return {};
|
|
2631
2898
|
}
|
|
2632
|
-
|
|
2899
|
+
|
|
2900
|
+
if (toAdd) {
|
|
2901
|
+
cls && (cls += ' ');
|
|
2902
|
+
cls += toAdd;
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
return cls;
|
|
2633
2907
|
};
|
|
2634
2908
|
|
|
2635
|
-
function
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
};
|
|
2642
|
-
}
|
|
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 = {};
|
|
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;
|
|
2654
2915
|
}
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
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
|
-
}
|
|
2916
|
+
|
|
2917
|
+
return rawClassName + css(registeredStyles);
|
|
2918
|
+
}
|
|
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;
|
|
2699
2931
|
}
|
|
2700
2932
|
}
|
|
2701
|
-
};
|
|
2702
|
-
};
|
|
2703
2933
|
|
|
2704
|
-
|
|
2705
|
-
|
|
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);
|
|
2934
|
+
if (!isBrowser$1) {
|
|
2935
|
+
return rules;
|
|
2726
2936
|
}
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
if (options === void 0) {
|
|
2738
|
-
options = {};
|
|
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));
|
|
2739
2947
|
}
|
|
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
|
-
}
|
|
2769
2948
|
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
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 {};
|
|
2949
|
+
return null;
|
|
2950
|
+
};
|
|
2951
|
+
|
|
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');
|
|
2831
2959
|
}
|
|
2960
|
+
|
|
2961
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
2962
|
+
args[_key] = arguments[_key];
|
|
2963
|
+
}
|
|
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;
|
|
2832
2970
|
};
|
|
2833
|
-
};
|
|
2834
2971
|
|
|
2835
|
-
|
|
2836
|
-
|
|
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
|
+
}
|
|
2837
2976
|
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
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
|
|
2977
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
2978
|
+
args[_key2] = arguments[_key2];
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
return merge(cache.registered, css, classnames(args));
|
|
2865
2982
|
};
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
y: mainAxis * mainAxisMulti
|
|
2872
|
-
} : {
|
|
2873
|
-
x: mainAxis * mainAxisMulti,
|
|
2874
|
-
y: crossAxis * crossAxisMulti
|
|
2983
|
+
|
|
2984
|
+
var content = {
|
|
2985
|
+
css: css,
|
|
2986
|
+
cx: cx,
|
|
2987
|
+
theme: React__namespace.useContext(ThemeContext)
|
|
2875
2988
|
};
|
|
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';
|
|
2876
2999
|
}
|
|
2877
3000
|
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
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
|
-
};
|
|
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.');
|
|
2915
3015
|
}
|
|
2916
|
-
};
|
|
2917
|
-
};
|
|
2918
3016
|
|
|
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 = {};
|
|
3017
|
+
globalContext[globalKey] = true;
|
|
2927
3018
|
}
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
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
|
-
};
|
|
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;
|
|
2993
3049
|
}
|
|
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 = {};
|
|
3002
3050
|
}
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
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
|
-
};
|
|
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;
|
|
3068
|
+
|
|
3069
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
3070
|
+
key = sourceKeys[i];
|
|
3071
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
3072
|
+
target[key] = source[key];
|
|
3073
|
+
}
|
|
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];
|
|
3061
3091
|
}
|
|
3062
|
-
}
|
|
3063
|
-
};
|
|
3092
|
+
}
|
|
3064
3093
|
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
const size = function (options) {
|
|
3072
|
-
if (options === void 0) {
|
|
3073
|
-
options = {};
|
|
3094
|
+
return target;
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
3098
|
+
if (!raw) {
|
|
3099
|
+
raw = strings.slice(0);
|
|
3074
3100
|
}
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
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 {};
|
|
3101
|
+
|
|
3102
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
3103
|
+
raw: {
|
|
3104
|
+
value: Object.freeze(raw)
|
|
3145
3105
|
}
|
|
3146
|
-
};
|
|
3147
|
-
}
|
|
3106
|
+
}));
|
|
3107
|
+
}
|
|
3148
3108
|
|
|
3149
|
-
|
|
3150
|
-
|
|
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) {
|
|
3118
|
+
return {
|
|
3119
|
+
...rect,
|
|
3120
|
+
top: rect.y,
|
|
3121
|
+
left: rect.x,
|
|
3122
|
+
right: rect.x + rect.width,
|
|
3123
|
+
bottom: rect.y + rect.height
|
|
3124
|
+
};
|
|
3151
3125
|
}
|
|
3126
|
+
|
|
3152
3127
|
function getNodeName(node) {
|
|
3153
3128
|
if (isNode(node)) {
|
|
3154
3129
|
return (node.nodeName || '').toLowerCase();
|
|
@@ -3160,32 +3135,24 @@ function getNodeName(node) {
|
|
|
3160
3135
|
}
|
|
3161
3136
|
function getWindow(node) {
|
|
3162
3137
|
var _node$ownerDocument;
|
|
3163
|
-
return (node == null
|
|
3138
|
+
return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
3164
3139
|
}
|
|
3165
3140
|
function getDocumentElement(node) {
|
|
3166
3141
|
var _ref;
|
|
3167
3142
|
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
3168
3143
|
}
|
|
3169
3144
|
function isNode(value) {
|
|
3170
|
-
if (!hasWindow()) {
|
|
3171
|
-
return false;
|
|
3172
|
-
}
|
|
3173
3145
|
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
3174
3146
|
}
|
|
3175
3147
|
function isElement(value) {
|
|
3176
|
-
if (!hasWindow()) {
|
|
3177
|
-
return false;
|
|
3178
|
-
}
|
|
3179
3148
|
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
3180
3149
|
}
|
|
3181
3150
|
function isHTMLElement(value) {
|
|
3182
|
-
if (!hasWindow()) {
|
|
3183
|
-
return false;
|
|
3184
|
-
}
|
|
3185
3151
|
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
3186
3152
|
}
|
|
3187
3153
|
function isShadowRoot(value) {
|
|
3188
|
-
|
|
3154
|
+
// Browsers without `ShadowRoot` support.
|
|
3155
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
3189
3156
|
return false;
|
|
3190
3157
|
}
|
|
3191
3158
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
@@ -3246,14 +3213,10 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
3246
3213
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
3247
3214
|
const win = getWindow(scrollableAncestor);
|
|
3248
3215
|
if (isBody) {
|
|
3249
|
-
|
|
3250
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
3216
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
3251
3217
|
}
|
|
3252
3218
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
3253
3219
|
}
|
|
3254
|
-
function getFrameElement(win) {
|
|
3255
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
3256
|
-
}
|
|
3257
3220
|
|
|
3258
3221
|
function getCssDimensions(element) {
|
|
3259
3222
|
const css = getComputedStyle$1(element);
|
|
@@ -3356,9 +3319,8 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
3356
3319
|
if (domElement) {
|
|
3357
3320
|
const win = getWindow(domElement);
|
|
3358
3321
|
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
3359
|
-
let
|
|
3360
|
-
|
|
3361
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
3322
|
+
let currentIFrame = win.frameElement;
|
|
3323
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
3362
3324
|
const iframeScale = getScale(currentIFrame);
|
|
3363
3325
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
3364
3326
|
const css = getComputedStyle$1(currentIFrame);
|
|
@@ -3370,8 +3332,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
3370
3332
|
height *= iframeScale.y;
|
|
3371
3333
|
x += left;
|
|
3372
3334
|
y += top;
|
|
3373
|
-
|
|
3374
|
-
currentIFrame = getFrameElement(currentWin);
|
|
3335
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
3375
3336
|
}
|
|
3376
3337
|
}
|
|
3377
3338
|
return rectToClientRect({
|
|
@@ -3382,19 +3343,14 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
3382
3343
|
});
|
|
3383
3344
|
}
|
|
3384
3345
|
|
|
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
|
-
|
|
3389
3346
|
// https://samthor.au/2021/observing-dom/
|
|
3390
3347
|
function observeMove(element, onMove) {
|
|
3391
3348
|
let io = null;
|
|
3392
3349
|
let timeoutId;
|
|
3393
3350
|
const root = getDocumentElement(element);
|
|
3394
3351
|
function cleanup() {
|
|
3395
|
-
var _io;
|
|
3396
3352
|
clearTimeout(timeoutId);
|
|
3397
|
-
|
|
3353
|
+
io && io.disconnect();
|
|
3398
3354
|
io = null;
|
|
3399
3355
|
}
|
|
3400
3356
|
function refresh(skip, threshold) {
|
|
@@ -3405,13 +3361,12 @@ function observeMove(element, onMove) {
|
|
|
3405
3361
|
threshold = 1;
|
|
3406
3362
|
}
|
|
3407
3363
|
cleanup();
|
|
3408
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
3409
3364
|
const {
|
|
3410
3365
|
left,
|
|
3411
3366
|
top,
|
|
3412
3367
|
width,
|
|
3413
3368
|
height
|
|
3414
|
-
} =
|
|
3369
|
+
} = element.getBoundingClientRect();
|
|
3415
3370
|
if (!skip) {
|
|
3416
3371
|
onMove();
|
|
3417
3372
|
}
|
|
@@ -3435,25 +3390,13 @@ function observeMove(element, onMove) {
|
|
|
3435
3390
|
return refresh();
|
|
3436
3391
|
}
|
|
3437
3392
|
if (!ratio) {
|
|
3438
|
-
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
3439
|
-
// to prevent an infinite loop of updates.
|
|
3440
3393
|
timeoutId = setTimeout(() => {
|
|
3441
3394
|
refresh(false, 1e-7);
|
|
3442
|
-
},
|
|
3395
|
+
}, 100);
|
|
3443
3396
|
} else {
|
|
3444
3397
|
refresh(false, ratio);
|
|
3445
3398
|
}
|
|
3446
3399
|
}
|
|
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
|
-
}
|
|
3457
3400
|
isFirstUpdate = false;
|
|
3458
3401
|
}
|
|
3459
3402
|
|
|
@@ -3513,8 +3456,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
3513
3456
|
resizeObserver.unobserve(floating);
|
|
3514
3457
|
cancelAnimationFrame(reobserveFrame);
|
|
3515
3458
|
reobserveFrame = requestAnimationFrame(() => {
|
|
3516
|
-
|
|
3517
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
3459
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
3518
3460
|
});
|
|
3519
3461
|
}
|
|
3520
3462
|
update();
|
|
@@ -3531,7 +3473,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
3531
3473
|
}
|
|
3532
3474
|
function frameLoop() {
|
|
3533
3475
|
const nextRefRect = getBoundingClientRect(reference);
|
|
3534
|
-
if (prevRefRect &&
|
|
3476
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
3535
3477
|
update();
|
|
3536
3478
|
}
|
|
3537
3479
|
prevRefRect = nextRefRect;
|
|
@@ -3539,13 +3481,12 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
3539
3481
|
}
|
|
3540
3482
|
update();
|
|
3541
3483
|
return () => {
|
|
3542
|
-
var _resizeObserver2;
|
|
3543
3484
|
ancestors.forEach(ancestor => {
|
|
3544
3485
|
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
3545
3486
|
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
3546
3487
|
});
|
|
3547
|
-
cleanupIo
|
|
3548
|
-
|
|
3488
|
+
cleanupIo && cleanupIo();
|
|
3489
|
+
resizeObserver && resizeObserver.disconnect();
|
|
3549
3490
|
resizeObserver = null;
|
|
3550
3491
|
if (animationFrame) {
|
|
3551
3492
|
cancelAnimationFrame(frameId);
|
|
@@ -3553,75 +3494,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
3553
3494
|
};
|
|
3554
3495
|
}
|
|
3555
3496
|
|
|
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;
|
|
3497
|
+
var index = typeof document !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
|
3625
3498
|
|
|
3626
3499
|
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
3627
3500
|
// ==============================
|
|
@@ -4420,7 +4293,7 @@ var _ref2$2 = process.env.NODE_ENV === "production" ? {
|
|
|
4420
4293
|
} : {
|
|
4421
4294
|
name: "tj5bde-Svg",
|
|
4422
4295
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
4423
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6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AgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
|
|
4296
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09P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jb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",
|
|
4424
4297
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
|
|
4425
4298
|
};
|
|
4426
4299
|
var Svg = function Svg(_ref) {
|
|
@@ -4555,7 +4428,7 @@ var LoadingDot = function LoadingDot(_ref6) {
|
|
|
4555
4428
|
height: '1em',
|
|
4556
4429
|
verticalAlign: 'top',
|
|
4557
4430
|
width: '1em'
|
|
4558
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJ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ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
|
|
4431
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT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mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")
|
|
4559
4432
|
});
|
|
4560
4433
|
};
|
|
4561
4434
|
var LoadingIndicator = function LoadingIndicator(_ref7) {
|
|
@@ -5051,7 +4924,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
5051
4924
|
} : {
|
|
5052
4925
|
name: "1f43avz-a11yText-A11yText",
|
|
5053
4926
|
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;",
|
|
5054
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
4927
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
|
|
5055
4928
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
5056
4929
|
};
|
|
5057
4930
|
var A11yText = function A11yText(props) {
|
|
@@ -5595,7 +5468,7 @@ function DummyInput(_ref) {
|
|
|
5595
5468
|
opacity: 0,
|
|
5596
5469
|
position: 'relative',
|
|
5597
5470
|
transform: 'scale(.01)'
|
|
5598
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
5471
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
|
|
5599
5472
|
}));
|
|
5600
5473
|
}
|
|
5601
5474
|
|
|
@@ -5708,7 +5581,7 @@ var LOCK_STYLES = {
|
|
|
5708
5581
|
height: '100%'
|
|
5709
5582
|
};
|
|
5710
5583
|
function preventTouchMove(e) {
|
|
5711
|
-
|
|
5584
|
+
e.preventDefault();
|
|
5712
5585
|
}
|
|
5713
5586
|
function allowTouchMove(e) {
|
|
5714
5587
|
e.stopPropagation();
|
|
@@ -6330,12 +6203,10 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
6330
6203
|
var lastSelectedValue = selectValue[selectValue.length - 1];
|
|
6331
6204
|
var newValueArray = selectValue.slice(0, selectValue.length - 1);
|
|
6332
6205
|
var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
});
|
|
6338
|
-
}
|
|
6206
|
+
_this.onChange(newValue, {
|
|
6207
|
+
action: 'pop-value',
|
|
6208
|
+
removedValue: lastSelectedValue
|
|
6209
|
+
});
|
|
6339
6210
|
};
|
|
6340
6211
|
_this.getFocusedOptionId = function (focusedOption) {
|
|
6341
6212
|
return getFocusedOptionId(_this.state.focusableOptionsWithIds, focusedOption);
|