@hexure/ui 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +2065 -2066
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Field/Field.d.ts +1 -1
- package/dist/esm/index.js +2040 -2041
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Field/Field.d.ts +1 -1
- package/dist/index.d.ts +54 -54
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { useRef, useDebugValue, useContext, createElement, useEffect, useState } from 'react';
|
|
2
|
-
import Icon from '@mdi/react';
|
|
3
|
-
import { mdiChevronUp, mdiChevronDown, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronLeft, mdiChevronRight, mdiCheck } from '@mdi/js';
|
|
4
|
-
import Numeral from 'numeral';
|
|
5
|
-
import 'moment';
|
|
6
|
-
|
|
1
|
+
import React, { useRef, useDebugValue, useContext, createElement, useEffect, useState } from 'react';
|
|
2
|
+
import Icon from '@mdi/react';
|
|
3
|
+
import { mdiChevronUp, mdiChevronDown, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiClose, mdiChevronLeft, mdiChevronRight, mdiCheck } from '@mdi/js';
|
|
4
|
+
import Numeral from 'numeral';
|
|
5
|
+
import 'moment';
|
|
6
|
+
|
|
7
7
|
/******************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
9
9
|
|
|
@@ -17,1969 +17,1969 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
17
17
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
-
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
22
|
-
|
|
23
|
-
var __assign = function () {
|
|
24
|
-
__assign = Object.assign || function __assign(t) {
|
|
25
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
26
|
-
s = arguments[i];
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
28
|
-
}
|
|
29
|
-
return t;
|
|
30
|
-
};
|
|
31
|
-
return __assign.apply(this, arguments);
|
|
32
|
-
};
|
|
33
|
-
function __rest(s, e) {
|
|
34
|
-
var t = {};
|
|
35
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
36
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
37
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
function __makeTemplateObject(cooked, raw) {
|
|
42
|
-
if (Object.defineProperty) {
|
|
43
|
-
Object.defineProperty(cooked, "raw", {
|
|
44
|
-
value: raw
|
|
45
|
-
});
|
|
46
|
-
} else {
|
|
47
|
-
cooked.raw = raw;
|
|
48
|
-
}
|
|
49
|
-
return cooked;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function getDefaultExportFromCjs (x) {
|
|
53
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
var reactIs$2 = {exports: {}};
|
|
57
|
-
|
|
58
|
-
var reactIs_production_min$1 = {};
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @license React
|
|
62
|
-
* react-is.production.min.js
|
|
63
|
-
*
|
|
64
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
65
|
-
*
|
|
66
|
-
* This source code is licensed under the MIT license found in the
|
|
67
|
-
* LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/
|
|
69
|
-
var hasRequiredReactIs_production_min$1;
|
|
70
|
-
function requireReactIs_production_min$1() {
|
|
71
|
-
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
72
|
-
hasRequiredReactIs_production_min$1 = 1;
|
|
73
|
-
var b = Symbol.for("react.element"),
|
|
74
|
-
c = Symbol.for("react.portal"),
|
|
75
|
-
d = Symbol.for("react.fragment"),
|
|
76
|
-
e = Symbol.for("react.strict_mode"),
|
|
77
|
-
f = Symbol.for("react.profiler"),
|
|
78
|
-
g = Symbol.for("react.provider"),
|
|
79
|
-
h = Symbol.for("react.context"),
|
|
80
|
-
k = Symbol.for("react.server_context"),
|
|
81
|
-
l = Symbol.for("react.forward_ref"),
|
|
82
|
-
m = Symbol.for("react.suspense"),
|
|
83
|
-
n = Symbol.for("react.suspense_list"),
|
|
84
|
-
p = Symbol.for("react.memo"),
|
|
85
|
-
q = Symbol.for("react.lazy"),
|
|
86
|
-
t = Symbol.for("react.offscreen"),
|
|
87
|
-
u;
|
|
88
|
-
u = Symbol.for("react.module.reference");
|
|
89
|
-
function v(a) {
|
|
90
|
-
if ("object" === typeof a && null !== a) {
|
|
91
|
-
var r = a.$$typeof;
|
|
92
|
-
switch (r) {
|
|
93
|
-
case b:
|
|
94
|
-
switch (a = a.type, a) {
|
|
95
|
-
case d:
|
|
96
|
-
case f:
|
|
97
|
-
case e:
|
|
98
|
-
case m:
|
|
99
|
-
case n:
|
|
100
|
-
return a;
|
|
101
|
-
default:
|
|
102
|
-
switch (a = a && a.$$typeof, a) {
|
|
103
|
-
case k:
|
|
104
|
-
case h:
|
|
105
|
-
case l:
|
|
106
|
-
case q:
|
|
107
|
-
case p:
|
|
108
|
-
case g:
|
|
109
|
-
return a;
|
|
110
|
-
default:
|
|
111
|
-
return r;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
case c:
|
|
115
|
-
return r;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
reactIs_production_min$1.ContextConsumer = h;
|
|
120
|
-
reactIs_production_min$1.ContextProvider = g;
|
|
121
|
-
reactIs_production_min$1.Element = b;
|
|
122
|
-
reactIs_production_min$1.ForwardRef = l;
|
|
123
|
-
reactIs_production_min$1.Fragment = d;
|
|
124
|
-
reactIs_production_min$1.Lazy = q;
|
|
125
|
-
reactIs_production_min$1.Memo = p;
|
|
126
|
-
reactIs_production_min$1.Portal = c;
|
|
127
|
-
reactIs_production_min$1.Profiler = f;
|
|
128
|
-
reactIs_production_min$1.StrictMode = e;
|
|
129
|
-
reactIs_production_min$1.Suspense = m;
|
|
130
|
-
reactIs_production_min$1.SuspenseList = n;
|
|
131
|
-
reactIs_production_min$1.isAsyncMode = function () {
|
|
132
|
-
return !1;
|
|
133
|
-
};
|
|
134
|
-
reactIs_production_min$1.isConcurrentMode = function () {
|
|
135
|
-
return !1;
|
|
136
|
-
};
|
|
137
|
-
reactIs_production_min$1.isContextConsumer = function (a) {
|
|
138
|
-
return v(a) === h;
|
|
139
|
-
};
|
|
140
|
-
reactIs_production_min$1.isContextProvider = function (a) {
|
|
141
|
-
return v(a) === g;
|
|
142
|
-
};
|
|
143
|
-
reactIs_production_min$1.isElement = function (a) {
|
|
144
|
-
return "object" === typeof a && null !== a && a.$$typeof === b;
|
|
145
|
-
};
|
|
146
|
-
reactIs_production_min$1.isForwardRef = function (a) {
|
|
147
|
-
return v(a) === l;
|
|
148
|
-
};
|
|
149
|
-
reactIs_production_min$1.isFragment = function (a) {
|
|
150
|
-
return v(a) === d;
|
|
151
|
-
};
|
|
152
|
-
reactIs_production_min$1.isLazy = function (a) {
|
|
153
|
-
return v(a) === q;
|
|
154
|
-
};
|
|
155
|
-
reactIs_production_min$1.isMemo = function (a) {
|
|
156
|
-
return v(a) === p;
|
|
157
|
-
};
|
|
158
|
-
reactIs_production_min$1.isPortal = function (a) {
|
|
159
|
-
return v(a) === c;
|
|
160
|
-
};
|
|
161
|
-
reactIs_production_min$1.isProfiler = function (a) {
|
|
162
|
-
return v(a) === f;
|
|
163
|
-
};
|
|
164
|
-
reactIs_production_min$1.isStrictMode = function (a) {
|
|
165
|
-
return v(a) === e;
|
|
166
|
-
};
|
|
167
|
-
reactIs_production_min$1.isSuspense = function (a) {
|
|
168
|
-
return v(a) === m;
|
|
169
|
-
};
|
|
170
|
-
reactIs_production_min$1.isSuspenseList = function (a) {
|
|
171
|
-
return v(a) === n;
|
|
172
|
-
};
|
|
173
|
-
reactIs_production_min$1.isValidElementType = function (a) {
|
|
174
|
-
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
|
|
175
|
-
};
|
|
176
|
-
reactIs_production_min$1.typeOf = v;
|
|
177
|
-
return reactIs_production_min$1;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
var reactIs_development$1 = {};
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @license React
|
|
184
|
-
* react-is.development.js
|
|
185
|
-
*
|
|
186
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
187
|
-
*
|
|
188
|
-
* This source code is licensed under the MIT license found in the
|
|
189
|
-
* LICENSE file in the root directory of this source tree.
|
|
190
|
-
*/
|
|
191
|
-
var hasRequiredReactIs_development$1;
|
|
192
|
-
function requireReactIs_development$1() {
|
|
193
|
-
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
194
|
-
hasRequiredReactIs_development$1 = 1;
|
|
195
|
-
if (process.env.NODE_ENV !== "production") {
|
|
196
|
-
(function () {
|
|
197
|
-
|
|
198
|
-
// ATTENTION
|
|
199
|
-
// When adding new symbols to this file,
|
|
200
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
201
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
202
|
-
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
203
|
-
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
204
|
-
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
205
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
206
|
-
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
207
|
-
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
208
|
-
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
209
|
-
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
210
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
211
|
-
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
212
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
213
|
-
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
214
|
-
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
215
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
216
|
-
|
|
217
|
-
// -----------------------------------------------------------------------------
|
|
218
|
-
|
|
219
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
220
|
-
var enableCacheElement = false;
|
|
221
|
-
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
222
|
-
|
|
223
|
-
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
224
|
-
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
225
|
-
// issues in DEV builds.
|
|
226
|
-
|
|
227
|
-
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
228
|
-
|
|
229
|
-
var REACT_MODULE_REFERENCE;
|
|
230
|
-
{
|
|
231
|
-
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
232
|
-
}
|
|
233
|
-
function isValidElementType(type) {
|
|
234
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
235
|
-
return true;
|
|
236
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
237
|
-
|
|
238
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
239
|
-
return true;
|
|
240
|
-
}
|
|
241
|
-
if (typeof type === 'object' && type !== null) {
|
|
242
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
243
|
-
// This needs to include all possible module reference object
|
|
244
|
-
// types supported by any Flight configuration anywhere since
|
|
245
|
-
// we don't know which Flight build this will end up being used
|
|
246
|
-
// with.
|
|
247
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
248
|
-
return true;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
return false;
|
|
252
|
-
}
|
|
253
|
-
function typeOf(object) {
|
|
254
|
-
if (typeof object === 'object' && object !== null) {
|
|
255
|
-
var $$typeof = object.$$typeof;
|
|
256
|
-
switch ($$typeof) {
|
|
257
|
-
case REACT_ELEMENT_TYPE:
|
|
258
|
-
var type = object.type;
|
|
259
|
-
switch (type) {
|
|
260
|
-
case REACT_FRAGMENT_TYPE:
|
|
261
|
-
case REACT_PROFILER_TYPE:
|
|
262
|
-
case REACT_STRICT_MODE_TYPE:
|
|
263
|
-
case REACT_SUSPENSE_TYPE:
|
|
264
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
265
|
-
return type;
|
|
266
|
-
default:
|
|
267
|
-
var $$typeofType = type && type.$$typeof;
|
|
268
|
-
switch ($$typeofType) {
|
|
269
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
|
270
|
-
case REACT_CONTEXT_TYPE:
|
|
271
|
-
case REACT_FORWARD_REF_TYPE:
|
|
272
|
-
case REACT_LAZY_TYPE:
|
|
273
|
-
case REACT_MEMO_TYPE:
|
|
274
|
-
case REACT_PROVIDER_TYPE:
|
|
275
|
-
return $$typeofType;
|
|
276
|
-
default:
|
|
277
|
-
return $$typeof;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
case REACT_PORTAL_TYPE:
|
|
281
|
-
return $$typeof;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
return undefined;
|
|
285
|
-
}
|
|
286
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
287
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
288
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
289
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
290
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
291
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
292
|
-
var Memo = REACT_MEMO_TYPE;
|
|
293
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
294
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
295
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
296
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
297
|
-
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
298
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
299
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
300
|
-
|
|
301
|
-
function isAsyncMode(object) {
|
|
302
|
-
{
|
|
303
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
304
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
305
|
-
|
|
306
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
return false;
|
|
310
|
-
}
|
|
311
|
-
function isConcurrentMode(object) {
|
|
312
|
-
{
|
|
313
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
314
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
315
|
-
|
|
316
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
return false;
|
|
320
|
-
}
|
|
321
|
-
function isContextConsumer(object) {
|
|
322
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
323
|
-
}
|
|
324
|
-
function isContextProvider(object) {
|
|
325
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
326
|
-
}
|
|
327
|
-
function isElement(object) {
|
|
328
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
329
|
-
}
|
|
330
|
-
function isForwardRef(object) {
|
|
331
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
332
|
-
}
|
|
333
|
-
function isFragment(object) {
|
|
334
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
335
|
-
}
|
|
336
|
-
function isLazy(object) {
|
|
337
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
338
|
-
}
|
|
339
|
-
function isMemo(object) {
|
|
340
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
341
|
-
}
|
|
342
|
-
function isPortal(object) {
|
|
343
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
344
|
-
}
|
|
345
|
-
function isProfiler(object) {
|
|
346
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
347
|
-
}
|
|
348
|
-
function isStrictMode(object) {
|
|
349
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
350
|
-
}
|
|
351
|
-
function isSuspense(object) {
|
|
352
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
353
|
-
}
|
|
354
|
-
function isSuspenseList(object) {
|
|
355
|
-
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
356
|
-
}
|
|
357
|
-
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
358
|
-
reactIs_development$1.ContextProvider = ContextProvider;
|
|
359
|
-
reactIs_development$1.Element = Element;
|
|
360
|
-
reactIs_development$1.ForwardRef = ForwardRef;
|
|
361
|
-
reactIs_development$1.Fragment = Fragment;
|
|
362
|
-
reactIs_development$1.Lazy = Lazy;
|
|
363
|
-
reactIs_development$1.Memo = Memo;
|
|
364
|
-
reactIs_development$1.Portal = Portal;
|
|
365
|
-
reactIs_development$1.Profiler = Profiler;
|
|
366
|
-
reactIs_development$1.StrictMode = StrictMode;
|
|
367
|
-
reactIs_development$1.Suspense = Suspense;
|
|
368
|
-
reactIs_development$1.SuspenseList = SuspenseList;
|
|
369
|
-
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
370
|
-
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
371
|
-
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
372
|
-
reactIs_development$1.isContextProvider = isContextProvider;
|
|
373
|
-
reactIs_development$1.isElement = isElement;
|
|
374
|
-
reactIs_development$1.isForwardRef = isForwardRef;
|
|
375
|
-
reactIs_development$1.isFragment = isFragment;
|
|
376
|
-
reactIs_development$1.isLazy = isLazy;
|
|
377
|
-
reactIs_development$1.isMemo = isMemo;
|
|
378
|
-
reactIs_development$1.isPortal = isPortal;
|
|
379
|
-
reactIs_development$1.isProfiler = isProfiler;
|
|
380
|
-
reactIs_development$1.isStrictMode = isStrictMode;
|
|
381
|
-
reactIs_development$1.isSuspense = isSuspense;
|
|
382
|
-
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
383
|
-
reactIs_development$1.isValidElementType = isValidElementType;
|
|
384
|
-
reactIs_development$1.typeOf = typeOf;
|
|
385
|
-
})();
|
|
386
|
-
}
|
|
387
|
-
return reactIs_development$1;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
if (process.env.NODE_ENV === 'production') {
|
|
391
|
-
reactIs$2.exports = requireReactIs_production_min$1();
|
|
392
|
-
} else {
|
|
393
|
-
reactIs$2.exports = requireReactIs_development$1();
|
|
394
|
-
}
|
|
395
|
-
var reactIsExports$1 = reactIs$2.exports;
|
|
396
|
-
|
|
397
|
-
function stylis_min(W) {
|
|
398
|
-
function M(d, c, e, h, a) {
|
|
399
|
-
for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
|
|
400
|
-
g = e.charCodeAt(l);
|
|
401
|
-
l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
|
|
402
|
-
if (0 === b + n + v + m) {
|
|
403
|
-
if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
|
|
404
|
-
switch (g) {
|
|
405
|
-
case 32:
|
|
406
|
-
case 9:
|
|
407
|
-
case 59:
|
|
408
|
-
case 13:
|
|
409
|
-
case 10:
|
|
410
|
-
break;
|
|
411
|
-
default:
|
|
412
|
-
f += e.charAt(l);
|
|
413
|
-
}
|
|
414
|
-
g = 59;
|
|
415
|
-
}
|
|
416
|
-
switch (g) {
|
|
417
|
-
case 123:
|
|
418
|
-
f = f.trim();
|
|
419
|
-
q = f.charCodeAt(0);
|
|
420
|
-
k = 1;
|
|
421
|
-
for (t = ++l; l < B;) {
|
|
422
|
-
switch (g = e.charCodeAt(l)) {
|
|
423
|
-
case 123:
|
|
424
|
-
k++;
|
|
425
|
-
break;
|
|
426
|
-
case 125:
|
|
427
|
-
k--;
|
|
428
|
-
break;
|
|
429
|
-
case 47:
|
|
430
|
-
switch (g = e.charCodeAt(l + 1)) {
|
|
431
|
-
case 42:
|
|
432
|
-
case 47:
|
|
433
|
-
a: {
|
|
434
|
-
for (u = l + 1; u < J; ++u) {
|
|
435
|
-
switch (e.charCodeAt(u)) {
|
|
436
|
-
case 47:
|
|
437
|
-
if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
|
|
438
|
-
l = u + 1;
|
|
439
|
-
break a;
|
|
440
|
-
}
|
|
441
|
-
break;
|
|
442
|
-
case 10:
|
|
443
|
-
if (47 === g) {
|
|
444
|
-
l = u + 1;
|
|
445
|
-
break a;
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
l = u;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
break;
|
|
453
|
-
case 91:
|
|
454
|
-
g++;
|
|
455
|
-
case 40:
|
|
456
|
-
g++;
|
|
457
|
-
case 34:
|
|
458
|
-
case 39:
|
|
459
|
-
for (; l++ < J && e.charCodeAt(l) !== g;) {}
|
|
460
|
-
}
|
|
461
|
-
if (0 === k) break;
|
|
462
|
-
l++;
|
|
463
|
-
}
|
|
464
|
-
k = e.substring(t, l);
|
|
465
|
-
0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
|
|
466
|
-
switch (q) {
|
|
467
|
-
case 64:
|
|
468
|
-
0 < r && (f = f.replace(N, ''));
|
|
469
|
-
g = f.charCodeAt(1);
|
|
470
|
-
switch (g) {
|
|
471
|
-
case 100:
|
|
472
|
-
case 109:
|
|
473
|
-
case 115:
|
|
474
|
-
case 45:
|
|
475
|
-
r = c;
|
|
476
|
-
break;
|
|
477
|
-
default:
|
|
478
|
-
r = O;
|
|
479
|
-
}
|
|
480
|
-
k = M(c, r, k, g, a + 1);
|
|
481
|
-
t = k.length;
|
|
482
|
-
0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
|
|
483
|
-
if (0 < t) switch (g) {
|
|
484
|
-
case 115:
|
|
485
|
-
f = f.replace(da, ea);
|
|
486
|
-
case 100:
|
|
487
|
-
case 109:
|
|
488
|
-
case 45:
|
|
489
|
-
k = f + '{' + k + '}';
|
|
490
|
-
break;
|
|
491
|
-
case 107:
|
|
492
|
-
f = f.replace(fa, '$1 $2');
|
|
493
|
-
k = f + '{' + k + '}';
|
|
494
|
-
k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
|
|
495
|
-
break;
|
|
496
|
-
default:
|
|
497
|
-
k = f + k, 112 === h && (k = (p += k, ''));
|
|
498
|
-
} else k = '';
|
|
499
|
-
break;
|
|
500
|
-
default:
|
|
501
|
-
k = M(c, X(c, f, I), k, h, a + 1);
|
|
502
|
-
}
|
|
503
|
-
F += k;
|
|
504
|
-
k = I = r = u = q = 0;
|
|
505
|
-
f = '';
|
|
506
|
-
g = e.charCodeAt(++l);
|
|
507
|
-
break;
|
|
508
|
-
case 125:
|
|
509
|
-
case 59:
|
|
510
|
-
f = (0 < r ? f.replace(N, '') : f).trim();
|
|
511
|
-
if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
|
|
512
|
-
case 0:
|
|
513
|
-
break;
|
|
514
|
-
case 64:
|
|
515
|
-
if (105 === g || 99 === g) {
|
|
516
|
-
G += f + e.charAt(l);
|
|
517
|
-
break;
|
|
518
|
-
}
|
|
519
|
-
default:
|
|
520
|
-
58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
|
|
521
|
-
}
|
|
522
|
-
I = r = u = q = 0;
|
|
523
|
-
f = '';
|
|
524
|
-
g = e.charCodeAt(++l);
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
switch (g) {
|
|
528
|
-
case 13:
|
|
529
|
-
case 10:
|
|
530
|
-
47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
|
|
531
|
-
0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
|
|
532
|
-
z = 1;
|
|
533
|
-
D++;
|
|
534
|
-
break;
|
|
535
|
-
case 59:
|
|
536
|
-
case 125:
|
|
537
|
-
if (0 === b + n + v + m) {
|
|
538
|
-
z++;
|
|
539
|
-
break;
|
|
540
|
-
}
|
|
541
|
-
default:
|
|
542
|
-
z++;
|
|
543
|
-
y = e.charAt(l);
|
|
544
|
-
switch (g) {
|
|
545
|
-
case 9:
|
|
546
|
-
case 32:
|
|
547
|
-
if (0 === n + m + b) switch (x) {
|
|
548
|
-
case 44:
|
|
549
|
-
case 58:
|
|
550
|
-
case 9:
|
|
551
|
-
case 32:
|
|
552
|
-
y = '';
|
|
553
|
-
break;
|
|
554
|
-
default:
|
|
555
|
-
32 !== g && (y = ' ');
|
|
556
|
-
}
|
|
557
|
-
break;
|
|
558
|
-
case 0:
|
|
559
|
-
y = '\\0';
|
|
560
|
-
break;
|
|
561
|
-
case 12:
|
|
562
|
-
y = '\\f';
|
|
563
|
-
break;
|
|
564
|
-
case 11:
|
|
565
|
-
y = '\\v';
|
|
566
|
-
break;
|
|
567
|
-
case 38:
|
|
568
|
-
0 === n + b + m && (r = I = 1, y = '\f' + y);
|
|
569
|
-
break;
|
|
570
|
-
case 108:
|
|
571
|
-
if (0 === n + b + m + E && 0 < u) switch (l - u) {
|
|
572
|
-
case 2:
|
|
573
|
-
112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
|
|
574
|
-
case 8:
|
|
575
|
-
111 === K && (E = K);
|
|
576
|
-
}
|
|
577
|
-
break;
|
|
578
|
-
case 58:
|
|
579
|
-
0 === n + b + m && (u = l);
|
|
580
|
-
break;
|
|
581
|
-
case 44:
|
|
582
|
-
0 === b + v + n + m && (r = 1, y += '\r');
|
|
583
|
-
break;
|
|
584
|
-
case 34:
|
|
585
|
-
case 39:
|
|
586
|
-
0 === b && (n = n === g ? 0 : 0 === n ? g : n);
|
|
587
|
-
break;
|
|
588
|
-
case 91:
|
|
589
|
-
0 === n + b + v && m++;
|
|
590
|
-
break;
|
|
591
|
-
case 93:
|
|
592
|
-
0 === n + b + v && m--;
|
|
593
|
-
break;
|
|
594
|
-
case 41:
|
|
595
|
-
0 === n + b + m && v--;
|
|
596
|
-
break;
|
|
597
|
-
case 40:
|
|
598
|
-
if (0 === n + b + m) {
|
|
599
|
-
if (0 === q) switch (2 * x + 3 * K) {
|
|
600
|
-
case 533:
|
|
601
|
-
break;
|
|
602
|
-
default:
|
|
603
|
-
q = 1;
|
|
604
|
-
}
|
|
605
|
-
v++;
|
|
606
|
-
}
|
|
607
|
-
break;
|
|
608
|
-
case 64:
|
|
609
|
-
0 === b + v + n + m + u + k && (k = 1);
|
|
610
|
-
break;
|
|
611
|
-
case 42:
|
|
612
|
-
case 47:
|
|
613
|
-
if (!(0 < n + m + v)) switch (b) {
|
|
614
|
-
case 0:
|
|
615
|
-
switch (2 * g + 3 * e.charCodeAt(l + 1)) {
|
|
616
|
-
case 235:
|
|
617
|
-
b = 47;
|
|
618
|
-
break;
|
|
619
|
-
case 220:
|
|
620
|
-
t = l, b = 42;
|
|
621
|
-
}
|
|
622
|
-
break;
|
|
623
|
-
case 42:
|
|
624
|
-
47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
0 === b && (f += y);
|
|
628
|
-
}
|
|
629
|
-
K = x;
|
|
630
|
-
x = g;
|
|
631
|
-
l++;
|
|
632
|
-
}
|
|
633
|
-
t = p.length;
|
|
634
|
-
if (0 < t) {
|
|
635
|
-
r = c;
|
|
636
|
-
if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
|
|
637
|
-
p = r.join(',') + '{' + p + '}';
|
|
638
|
-
if (0 !== w * E) {
|
|
639
|
-
2 !== w || L(p, 2) || (E = 0);
|
|
640
|
-
switch (E) {
|
|
641
|
-
case 111:
|
|
642
|
-
p = p.replace(ha, ':-moz-$1') + p;
|
|
643
|
-
break;
|
|
644
|
-
case 112:
|
|
645
|
-
p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
|
|
646
|
-
}
|
|
647
|
-
E = 0;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
return G + p + F;
|
|
651
|
-
}
|
|
652
|
-
function X(d, c, e) {
|
|
653
|
-
var h = c.trim().split(ia);
|
|
654
|
-
c = h;
|
|
655
|
-
var a = h.length,
|
|
656
|
-
m = d.length;
|
|
657
|
-
switch (m) {
|
|
658
|
-
case 0:
|
|
659
|
-
case 1:
|
|
660
|
-
var b = 0;
|
|
661
|
-
for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
|
|
662
|
-
c[b] = Z(d, c[b], e).trim();
|
|
663
|
-
}
|
|
664
|
-
break;
|
|
665
|
-
default:
|
|
666
|
-
var v = b = 0;
|
|
667
|
-
for (c = []; b < a; ++b) {
|
|
668
|
-
for (var n = 0; n < m; ++n) {
|
|
669
|
-
c[v++] = Z(d[n] + ' ', h[b], e).trim();
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
return c;
|
|
674
|
-
}
|
|
675
|
-
function Z(d, c, e) {
|
|
676
|
-
var h = c.charCodeAt(0);
|
|
677
|
-
33 > h && (h = (c = c.trim()).charCodeAt(0));
|
|
678
|
-
switch (h) {
|
|
679
|
-
case 38:
|
|
680
|
-
return c.replace(F, '$1' + d.trim());
|
|
681
|
-
case 58:
|
|
682
|
-
return d.trim() + c.replace(F, '$1' + d.trim());
|
|
683
|
-
default:
|
|
684
|
-
if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
|
|
685
|
-
}
|
|
686
|
-
return d + c;
|
|
687
|
-
}
|
|
688
|
-
function P(d, c, e, h) {
|
|
689
|
-
var a = d + ';',
|
|
690
|
-
m = 2 * c + 3 * e + 4 * h;
|
|
691
|
-
if (944 === m) {
|
|
692
|
-
d = a.indexOf(':', 9) + 1;
|
|
693
|
-
var b = a.substring(d, a.length - 1).trim();
|
|
694
|
-
b = a.substring(0, d).trim() + b + ';';
|
|
695
|
-
return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
|
|
696
|
-
}
|
|
697
|
-
if (0 === w || 2 === w && !L(a, 1)) return a;
|
|
698
|
-
switch (m) {
|
|
699
|
-
case 1015:
|
|
700
|
-
return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
|
|
701
|
-
case 951:
|
|
702
|
-
return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
|
|
703
|
-
case 963:
|
|
704
|
-
return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
|
|
705
|
-
case 1009:
|
|
706
|
-
if (100 !== a.charCodeAt(4)) break;
|
|
707
|
-
case 969:
|
|
708
|
-
case 942:
|
|
709
|
-
return '-webkit-' + a + a;
|
|
710
|
-
case 978:
|
|
711
|
-
return '-webkit-' + a + '-moz-' + a + a;
|
|
712
|
-
case 1019:
|
|
713
|
-
case 983:
|
|
714
|
-
return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
|
|
715
|
-
case 883:
|
|
716
|
-
if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
|
|
717
|
-
if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
|
|
718
|
-
break;
|
|
719
|
-
case 932:
|
|
720
|
-
if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
|
|
721
|
-
case 103:
|
|
722
|
-
return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
|
|
723
|
-
case 115:
|
|
724
|
-
return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
|
|
725
|
-
case 98:
|
|
726
|
-
return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
|
|
727
|
-
}
|
|
728
|
-
return '-webkit-' + a + '-ms-' + a + a;
|
|
729
|
-
case 964:
|
|
730
|
-
return '-webkit-' + a + '-ms-flex-' + a + a;
|
|
731
|
-
case 1023:
|
|
732
|
-
if (99 !== a.charCodeAt(8)) break;
|
|
733
|
-
b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
|
|
734
|
-
return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
|
|
735
|
-
case 1005:
|
|
736
|
-
return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
|
|
737
|
-
case 1e3:
|
|
738
|
-
b = a.substring(13).trim();
|
|
739
|
-
c = b.indexOf('-') + 1;
|
|
740
|
-
switch (b.charCodeAt(0) + b.charCodeAt(c)) {
|
|
741
|
-
case 226:
|
|
742
|
-
b = a.replace(G, 'tb');
|
|
743
|
-
break;
|
|
744
|
-
case 232:
|
|
745
|
-
b = a.replace(G, 'tb-rl');
|
|
746
|
-
break;
|
|
747
|
-
case 220:
|
|
748
|
-
b = a.replace(G, 'lr');
|
|
749
|
-
break;
|
|
750
|
-
default:
|
|
751
|
-
return a;
|
|
752
|
-
}
|
|
753
|
-
return '-webkit-' + a + '-ms-' + b + a;
|
|
754
|
-
case 1017:
|
|
755
|
-
if (-1 === a.indexOf('sticky', 9)) break;
|
|
756
|
-
case 975:
|
|
757
|
-
c = (a = d).length - 10;
|
|
758
|
-
b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
|
|
759
|
-
switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
|
|
760
|
-
case 203:
|
|
761
|
-
if (111 > b.charCodeAt(8)) break;
|
|
762
|
-
case 115:
|
|
763
|
-
a = a.replace(b, '-webkit-' + b) + ';' + a;
|
|
764
|
-
break;
|
|
765
|
-
case 207:
|
|
766
|
-
case 102:
|
|
767
|
-
a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
|
|
768
|
-
}
|
|
769
|
-
return a + ';';
|
|
770
|
-
case 938:
|
|
771
|
-
if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
|
|
772
|
-
case 105:
|
|
773
|
-
return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
|
|
774
|
-
case 115:
|
|
775
|
-
return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
|
|
776
|
-
default:
|
|
777
|
-
return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
|
|
778
|
-
}
|
|
779
|
-
break;
|
|
780
|
-
case 973:
|
|
781
|
-
case 989:
|
|
782
|
-
if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
|
|
783
|
-
case 931:
|
|
784
|
-
case 953:
|
|
785
|
-
if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
|
|
786
|
-
break;
|
|
787
|
-
case 962:
|
|
788
|
-
if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
|
|
789
|
-
}
|
|
790
|
-
return a;
|
|
791
|
-
}
|
|
792
|
-
function L(d, c) {
|
|
793
|
-
var e = d.indexOf(1 === c ? ':' : '{'),
|
|
794
|
-
h = d.substring(0, 3 !== c ? e : 10);
|
|
795
|
-
e = d.substring(e + 1, d.length - 1);
|
|
796
|
-
return R(2 !== c ? h : h.replace(na, '$1'), e, c);
|
|
797
|
-
}
|
|
798
|
-
function ea(d, c) {
|
|
799
|
-
var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
|
|
800
|
-
return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
|
|
801
|
-
}
|
|
802
|
-
function H(d, c, e, h, a, m, b, v, n, q) {
|
|
803
|
-
for (var g = 0, x = c, w; g < A; ++g) {
|
|
804
|
-
switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
|
|
805
|
-
case void 0:
|
|
806
|
-
case !1:
|
|
807
|
-
case !0:
|
|
808
|
-
case null:
|
|
809
|
-
break;
|
|
810
|
-
default:
|
|
811
|
-
x = w;
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
if (x !== c) return x;
|
|
815
|
-
}
|
|
816
|
-
function T(d) {
|
|
817
|
-
switch (d) {
|
|
818
|
-
case void 0:
|
|
819
|
-
case null:
|
|
820
|
-
A = S.length = 0;
|
|
821
|
-
break;
|
|
822
|
-
default:
|
|
823
|
-
if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
|
|
824
|
-
T(d[c]);
|
|
825
|
-
} else Y = !!d | 0;
|
|
826
|
-
}
|
|
827
|
-
return T;
|
|
828
|
-
}
|
|
829
|
-
function U(d) {
|
|
830
|
-
d = d.prefix;
|
|
831
|
-
void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
|
|
832
|
-
return U;
|
|
833
|
-
}
|
|
834
|
-
function B(d, c) {
|
|
835
|
-
var e = d;
|
|
836
|
-
33 > e.charCodeAt(0) && (e = e.trim());
|
|
837
|
-
V = e;
|
|
838
|
-
e = [V];
|
|
839
|
-
if (0 < A) {
|
|
840
|
-
var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
|
|
841
|
-
void 0 !== h && 'string' === typeof h && (c = h);
|
|
842
|
-
}
|
|
843
|
-
var a = M(O, e, c, 0, 0);
|
|
844
|
-
0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
|
|
845
|
-
V = '';
|
|
846
|
-
E = 0;
|
|
847
|
-
z = D = 1;
|
|
848
|
-
return a;
|
|
849
|
-
}
|
|
850
|
-
var ca = /^\0+/g,
|
|
851
|
-
N = /[\0\r\f]/g,
|
|
852
|
-
aa = /: */g,
|
|
853
|
-
ka = /zoo|gra/,
|
|
854
|
-
ma = /([,: ])(transform)/g,
|
|
855
|
-
ia = /,\r+?/g,
|
|
856
|
-
F = /([\t\r\n ])*\f?&/g,
|
|
857
|
-
fa = /@(k\w+)\s*(\S*)\s*/,
|
|
858
|
-
Q = /::(place)/g,
|
|
859
|
-
ha = /:(read-only)/g,
|
|
860
|
-
G = /[svh]\w+-[tblr]{2}/,
|
|
861
|
-
da = /\(\s*(.*)\s*\)/g,
|
|
862
|
-
oa = /([\s\S]*?);/g,
|
|
863
|
-
ba = /-self|flex-/g,
|
|
864
|
-
na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
|
|
865
|
-
la = /stretch|:\s*\w+\-(?:conte|avail)/,
|
|
866
|
-
ja = /([^-])(image-set\()/,
|
|
867
|
-
z = 1,
|
|
868
|
-
D = 1,
|
|
869
|
-
E = 0,
|
|
870
|
-
w = 1,
|
|
871
|
-
O = [],
|
|
872
|
-
S = [],
|
|
873
|
-
A = 0,
|
|
874
|
-
R = null,
|
|
875
|
-
Y = 0,
|
|
876
|
-
V = '';
|
|
877
|
-
B.use = T;
|
|
878
|
-
B.set = U;
|
|
879
|
-
void 0 !== W && U(W);
|
|
880
|
-
return B;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
var unitlessKeys = {
|
|
884
|
-
animationIterationCount: 1,
|
|
885
|
-
borderImageOutset: 1,
|
|
886
|
-
borderImageSlice: 1,
|
|
887
|
-
borderImageWidth: 1,
|
|
888
|
-
boxFlex: 1,
|
|
889
|
-
boxFlexGroup: 1,
|
|
890
|
-
boxOrdinalGroup: 1,
|
|
891
|
-
columnCount: 1,
|
|
892
|
-
columns: 1,
|
|
893
|
-
flex: 1,
|
|
894
|
-
flexGrow: 1,
|
|
895
|
-
flexPositive: 1,
|
|
896
|
-
flexShrink: 1,
|
|
897
|
-
flexNegative: 1,
|
|
898
|
-
flexOrder: 1,
|
|
899
|
-
gridRow: 1,
|
|
900
|
-
gridRowEnd: 1,
|
|
901
|
-
gridRowSpan: 1,
|
|
902
|
-
gridRowStart: 1,
|
|
903
|
-
gridColumn: 1,
|
|
904
|
-
gridColumnEnd: 1,
|
|
905
|
-
gridColumnSpan: 1,
|
|
906
|
-
gridColumnStart: 1,
|
|
907
|
-
msGridRow: 1,
|
|
908
|
-
msGridRowSpan: 1,
|
|
909
|
-
msGridColumn: 1,
|
|
910
|
-
msGridColumnSpan: 1,
|
|
911
|
-
fontWeight: 1,
|
|
912
|
-
lineHeight: 1,
|
|
913
|
-
opacity: 1,
|
|
914
|
-
order: 1,
|
|
915
|
-
orphans: 1,
|
|
916
|
-
tabSize: 1,
|
|
917
|
-
widows: 1,
|
|
918
|
-
zIndex: 1,
|
|
919
|
-
zoom: 1,
|
|
920
|
-
WebkitLineClamp: 1,
|
|
921
|
-
// SVG-related properties
|
|
922
|
-
fillOpacity: 1,
|
|
923
|
-
floodOpacity: 1,
|
|
924
|
-
stopOpacity: 1,
|
|
925
|
-
strokeDasharray: 1,
|
|
926
|
-
strokeDashoffset: 1,
|
|
927
|
-
strokeMiterlimit: 1,
|
|
928
|
-
strokeOpacity: 1,
|
|
929
|
-
strokeWidth: 1
|
|
930
|
-
};
|
|
931
|
-
|
|
932
|
-
function memoize(fn) {
|
|
933
|
-
var cache = Object.create(null);
|
|
934
|
-
return function (arg) {
|
|
935
|
-
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
936
|
-
return cache[arg];
|
|
937
|
-
};
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
941
|
-
|
|
942
|
-
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
943
|
-
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
944
|
-
/* o */ && prop.charCodeAt(1) === 110
|
|
945
|
-
/* n */ && prop.charCodeAt(2) < 91;
|
|
946
|
-
}
|
|
947
|
-
/* Z+1 */);
|
|
948
|
-
|
|
949
|
-
var reactIs$1 = {exports: {}};
|
|
950
|
-
|
|
951
|
-
var reactIs_production_min = {};
|
|
952
|
-
|
|
953
|
-
/** @license React v16.13.1
|
|
954
|
-
* react-is.production.min.js
|
|
955
|
-
*
|
|
956
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
957
|
-
*
|
|
958
|
-
* This source code is licensed under the MIT license found in the
|
|
959
|
-
* LICENSE file in the root directory of this source tree.
|
|
960
|
-
*/
|
|
961
|
-
var hasRequiredReactIs_production_min;
|
|
962
|
-
function requireReactIs_production_min() {
|
|
963
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
964
|
-
hasRequiredReactIs_production_min = 1;
|
|
965
|
-
var b = "function" === typeof Symbol && Symbol.for,
|
|
966
|
-
c = b ? Symbol.for("react.element") : 60103,
|
|
967
|
-
d = b ? Symbol.for("react.portal") : 60106,
|
|
968
|
-
e = b ? Symbol.for("react.fragment") : 60107,
|
|
969
|
-
f = b ? Symbol.for("react.strict_mode") : 60108,
|
|
970
|
-
g = b ? Symbol.for("react.profiler") : 60114,
|
|
971
|
-
h = b ? Symbol.for("react.provider") : 60109,
|
|
972
|
-
k = b ? Symbol.for("react.context") : 60110,
|
|
973
|
-
l = b ? Symbol.for("react.async_mode") : 60111,
|
|
974
|
-
m = b ? Symbol.for("react.concurrent_mode") : 60111,
|
|
975
|
-
n = b ? Symbol.for("react.forward_ref") : 60112,
|
|
976
|
-
p = b ? Symbol.for("react.suspense") : 60113,
|
|
977
|
-
q = b ? Symbol.for("react.suspense_list") : 60120,
|
|
978
|
-
r = b ? Symbol.for("react.memo") : 60115,
|
|
979
|
-
t = b ? Symbol.for("react.lazy") : 60116,
|
|
980
|
-
v = b ? Symbol.for("react.block") : 60121,
|
|
981
|
-
w = b ? Symbol.for("react.fundamental") : 60117,
|
|
982
|
-
x = b ? Symbol.for("react.responder") : 60118,
|
|
983
|
-
y = b ? Symbol.for("react.scope") : 60119;
|
|
984
|
-
function z(a) {
|
|
985
|
-
if ("object" === typeof a && null !== a) {
|
|
986
|
-
var u = a.$$typeof;
|
|
987
|
-
switch (u) {
|
|
988
|
-
case c:
|
|
989
|
-
switch (a = a.type, a) {
|
|
990
|
-
case l:
|
|
991
|
-
case m:
|
|
992
|
-
case e:
|
|
993
|
-
case g:
|
|
994
|
-
case f:
|
|
995
|
-
case p:
|
|
996
|
-
return a;
|
|
997
|
-
default:
|
|
998
|
-
switch (a = a && a.$$typeof, a) {
|
|
999
|
-
case k:
|
|
1000
|
-
case n:
|
|
1001
|
-
case t:
|
|
1002
|
-
case r:
|
|
1003
|
-
case h:
|
|
1004
|
-
return a;
|
|
1005
|
-
default:
|
|
1006
|
-
return u;
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
case d:
|
|
1010
|
-
return u;
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
function A(a) {
|
|
1015
|
-
return z(a) === m;
|
|
1016
|
-
}
|
|
1017
|
-
reactIs_production_min.AsyncMode = l;
|
|
1018
|
-
reactIs_production_min.ConcurrentMode = m;
|
|
1019
|
-
reactIs_production_min.ContextConsumer = k;
|
|
1020
|
-
reactIs_production_min.ContextProvider = h;
|
|
1021
|
-
reactIs_production_min.Element = c;
|
|
1022
|
-
reactIs_production_min.ForwardRef = n;
|
|
1023
|
-
reactIs_production_min.Fragment = e;
|
|
1024
|
-
reactIs_production_min.Lazy = t;
|
|
1025
|
-
reactIs_production_min.Memo = r;
|
|
1026
|
-
reactIs_production_min.Portal = d;
|
|
1027
|
-
reactIs_production_min.Profiler = g;
|
|
1028
|
-
reactIs_production_min.StrictMode = f;
|
|
1029
|
-
reactIs_production_min.Suspense = p;
|
|
1030
|
-
reactIs_production_min.isAsyncMode = function (a) {
|
|
1031
|
-
return A(a) || z(a) === l;
|
|
1032
|
-
};
|
|
1033
|
-
reactIs_production_min.isConcurrentMode = A;
|
|
1034
|
-
reactIs_production_min.isContextConsumer = function (a) {
|
|
1035
|
-
return z(a) === k;
|
|
1036
|
-
};
|
|
1037
|
-
reactIs_production_min.isContextProvider = function (a) {
|
|
1038
|
-
return z(a) === h;
|
|
1039
|
-
};
|
|
1040
|
-
reactIs_production_min.isElement = function (a) {
|
|
1041
|
-
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
1042
|
-
};
|
|
1043
|
-
reactIs_production_min.isForwardRef = function (a) {
|
|
1044
|
-
return z(a) === n;
|
|
1045
|
-
};
|
|
1046
|
-
reactIs_production_min.isFragment = function (a) {
|
|
1047
|
-
return z(a) === e;
|
|
1048
|
-
};
|
|
1049
|
-
reactIs_production_min.isLazy = function (a) {
|
|
1050
|
-
return z(a) === t;
|
|
1051
|
-
};
|
|
1052
|
-
reactIs_production_min.isMemo = function (a) {
|
|
1053
|
-
return z(a) === r;
|
|
1054
|
-
};
|
|
1055
|
-
reactIs_production_min.isPortal = function (a) {
|
|
1056
|
-
return z(a) === d;
|
|
1057
|
-
};
|
|
1058
|
-
reactIs_production_min.isProfiler = function (a) {
|
|
1059
|
-
return z(a) === g;
|
|
1060
|
-
};
|
|
1061
|
-
reactIs_production_min.isStrictMode = function (a) {
|
|
1062
|
-
return z(a) === f;
|
|
1063
|
-
};
|
|
1064
|
-
reactIs_production_min.isSuspense = function (a) {
|
|
1065
|
-
return z(a) === p;
|
|
1066
|
-
};
|
|
1067
|
-
reactIs_production_min.isValidElementType = function (a) {
|
|
1068
|
-
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
1069
|
-
};
|
|
1070
|
-
reactIs_production_min.typeOf = z;
|
|
1071
|
-
return reactIs_production_min;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
var reactIs_development = {};
|
|
1075
|
-
|
|
1076
|
-
/** @license React v16.13.1
|
|
1077
|
-
* react-is.development.js
|
|
1078
|
-
*
|
|
1079
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1080
|
-
*
|
|
1081
|
-
* This source code is licensed under the MIT license found in the
|
|
1082
|
-
* LICENSE file in the root directory of this source tree.
|
|
1083
|
-
*/
|
|
1084
|
-
var hasRequiredReactIs_development;
|
|
1085
|
-
function requireReactIs_development() {
|
|
1086
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
1087
|
-
hasRequiredReactIs_development = 1;
|
|
1088
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1089
|
-
(function () {
|
|
1090
|
-
|
|
1091
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
1092
|
-
// nor polyfill, then a plain number is used for performance.
|
|
1093
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
1094
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
1095
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
1096
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
1097
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
1098
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
1099
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
1100
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
1101
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
1102
|
-
|
|
1103
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
1104
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
1105
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
1106
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
1107
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
1108
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
1109
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
1110
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
1111
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
1112
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
1113
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
1114
|
-
function isValidElementType(type) {
|
|
1115
|
-
return typeof type === 'string' || typeof type === 'function' ||
|
|
1116
|
-
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1117
|
-
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);
|
|
1118
|
-
}
|
|
1119
|
-
function typeOf(object) {
|
|
1120
|
-
if (typeof object === 'object' && object !== null) {
|
|
1121
|
-
var $$typeof = object.$$typeof;
|
|
1122
|
-
switch ($$typeof) {
|
|
1123
|
-
case REACT_ELEMENT_TYPE:
|
|
1124
|
-
var type = object.type;
|
|
1125
|
-
switch (type) {
|
|
1126
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
1127
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
1128
|
-
case REACT_FRAGMENT_TYPE:
|
|
1129
|
-
case REACT_PROFILER_TYPE:
|
|
1130
|
-
case REACT_STRICT_MODE_TYPE:
|
|
1131
|
-
case REACT_SUSPENSE_TYPE:
|
|
1132
|
-
return type;
|
|
1133
|
-
default:
|
|
1134
|
-
var $$typeofType = type && type.$$typeof;
|
|
1135
|
-
switch ($$typeofType) {
|
|
1136
|
-
case REACT_CONTEXT_TYPE:
|
|
1137
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1138
|
-
case REACT_LAZY_TYPE:
|
|
1139
|
-
case REACT_MEMO_TYPE:
|
|
1140
|
-
case REACT_PROVIDER_TYPE:
|
|
1141
|
-
return $$typeofType;
|
|
1142
|
-
default:
|
|
1143
|
-
return $$typeof;
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
case REACT_PORTAL_TYPE:
|
|
1147
|
-
return $$typeof;
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
return undefined;
|
|
1151
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
1152
|
-
|
|
1153
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
1154
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
1155
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1156
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1157
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
1158
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1159
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1160
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
1161
|
-
var Memo = REACT_MEMO_TYPE;
|
|
1162
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
1163
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
1164
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1165
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1166
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
1167
|
-
|
|
1168
|
-
function isAsyncMode(object) {
|
|
1169
|
-
{
|
|
1170
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1171
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1172
|
-
|
|
1173
|
-
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.');
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
1177
|
-
}
|
|
1178
|
-
function isConcurrentMode(object) {
|
|
1179
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
1180
|
-
}
|
|
1181
|
-
function isContextConsumer(object) {
|
|
1182
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1183
|
-
}
|
|
1184
|
-
function isContextProvider(object) {
|
|
1185
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1186
|
-
}
|
|
1187
|
-
function isElement(object) {
|
|
1188
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1189
|
-
}
|
|
1190
|
-
function isForwardRef(object) {
|
|
1191
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1192
|
-
}
|
|
1193
|
-
function isFragment(object) {
|
|
1194
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1195
|
-
}
|
|
1196
|
-
function isLazy(object) {
|
|
1197
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1198
|
-
}
|
|
1199
|
-
function isMemo(object) {
|
|
1200
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1201
|
-
}
|
|
1202
|
-
function isPortal(object) {
|
|
1203
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1204
|
-
}
|
|
1205
|
-
function isProfiler(object) {
|
|
1206
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1207
|
-
}
|
|
1208
|
-
function isStrictMode(object) {
|
|
1209
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1210
|
-
}
|
|
1211
|
-
function isSuspense(object) {
|
|
1212
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1213
|
-
}
|
|
1214
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
1215
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
1216
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1217
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
1218
|
-
reactIs_development.Element = Element;
|
|
1219
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
1220
|
-
reactIs_development.Fragment = Fragment;
|
|
1221
|
-
reactIs_development.Lazy = Lazy;
|
|
1222
|
-
reactIs_development.Memo = Memo;
|
|
1223
|
-
reactIs_development.Portal = Portal;
|
|
1224
|
-
reactIs_development.Profiler = Profiler;
|
|
1225
|
-
reactIs_development.StrictMode = StrictMode;
|
|
1226
|
-
reactIs_development.Suspense = Suspense;
|
|
1227
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1228
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1229
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1230
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
1231
|
-
reactIs_development.isElement = isElement;
|
|
1232
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
1233
|
-
reactIs_development.isFragment = isFragment;
|
|
1234
|
-
reactIs_development.isLazy = isLazy;
|
|
1235
|
-
reactIs_development.isMemo = isMemo;
|
|
1236
|
-
reactIs_development.isPortal = isPortal;
|
|
1237
|
-
reactIs_development.isProfiler = isProfiler;
|
|
1238
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
1239
|
-
reactIs_development.isSuspense = isSuspense;
|
|
1240
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
1241
|
-
reactIs_development.typeOf = typeOf;
|
|
1242
|
-
})();
|
|
1243
|
-
}
|
|
1244
|
-
return reactIs_development;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
if (process.env.NODE_ENV === 'production') {
|
|
1248
|
-
reactIs$1.exports = requireReactIs_production_min();
|
|
1249
|
-
} else {
|
|
1250
|
-
reactIs$1.exports = requireReactIs_development();
|
|
1251
|
-
}
|
|
1252
|
-
var reactIsExports = reactIs$1.exports;
|
|
1253
|
-
|
|
1254
|
-
var reactIs = reactIsExports;
|
|
1255
|
-
|
|
1256
|
-
/**
|
|
1257
|
-
* Copyright 2015, Yahoo! Inc.
|
|
1258
|
-
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
|
1259
|
-
*/
|
|
1260
|
-
var REACT_STATICS = {
|
|
1261
|
-
childContextTypes: true,
|
|
1262
|
-
contextType: true,
|
|
1263
|
-
contextTypes: true,
|
|
1264
|
-
defaultProps: true,
|
|
1265
|
-
displayName: true,
|
|
1266
|
-
getDefaultProps: true,
|
|
1267
|
-
getDerivedStateFromError: true,
|
|
1268
|
-
getDerivedStateFromProps: true,
|
|
1269
|
-
mixins: true,
|
|
1270
|
-
propTypes: true,
|
|
1271
|
-
type: true
|
|
1272
|
-
};
|
|
1273
|
-
var KNOWN_STATICS = {
|
|
1274
|
-
name: true,
|
|
1275
|
-
length: true,
|
|
1276
|
-
prototype: true,
|
|
1277
|
-
caller: true,
|
|
1278
|
-
callee: true,
|
|
1279
|
-
arguments: true,
|
|
1280
|
-
arity: true
|
|
1281
|
-
};
|
|
1282
|
-
var FORWARD_REF_STATICS = {
|
|
1283
|
-
'$$typeof': true,
|
|
1284
|
-
render: true,
|
|
1285
|
-
defaultProps: true,
|
|
1286
|
-
displayName: true,
|
|
1287
|
-
propTypes: true
|
|
1288
|
-
};
|
|
1289
|
-
var MEMO_STATICS = {
|
|
1290
|
-
'$$typeof': true,
|
|
1291
|
-
compare: true,
|
|
1292
|
-
defaultProps: true,
|
|
1293
|
-
displayName: true,
|
|
1294
|
-
propTypes: true,
|
|
1295
|
-
type: true
|
|
1296
|
-
};
|
|
1297
|
-
var TYPE_STATICS = {};
|
|
1298
|
-
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
1299
|
-
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
1300
|
-
function getStatics(component) {
|
|
1301
|
-
// React v16.11 and below
|
|
1302
|
-
if (reactIs.isMemo(component)) {
|
|
1303
|
-
return MEMO_STATICS;
|
|
1304
|
-
} // React v16.12 and above
|
|
1305
|
-
|
|
1306
|
-
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
|
1307
|
-
}
|
|
1308
|
-
var defineProperty = Object.defineProperty;
|
|
1309
|
-
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
1310
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
1311
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1312
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1313
|
-
var objectPrototype = Object.prototype;
|
|
1314
|
-
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
1315
|
-
if (typeof sourceComponent !== 'string') {
|
|
1316
|
-
// don't hoist over string (html) components
|
|
1317
|
-
if (objectPrototype) {
|
|
1318
|
-
var inheritedComponent = getPrototypeOf(sourceComponent);
|
|
1319
|
-
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
|
1320
|
-
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
var keys = getOwnPropertyNames(sourceComponent);
|
|
1324
|
-
if (getOwnPropertySymbols) {
|
|
1325
|
-
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
1326
|
-
}
|
|
1327
|
-
var targetStatics = getStatics(targetComponent);
|
|
1328
|
-
var sourceStatics = getStatics(sourceComponent);
|
|
1329
|
-
for (var i = 0; i < keys.length; ++i) {
|
|
1330
|
-
var key = keys[i];
|
|
1331
|
-
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
1332
|
-
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
1333
|
-
try {
|
|
1334
|
-
// Avoid failures from read-only properties
|
|
1335
|
-
defineProperty(targetComponent, key, descriptor);
|
|
1336
|
-
} catch (e) {}
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
return targetComponent;
|
|
1341
|
-
}
|
|
1342
|
-
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
1343
|
-
var m = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
|
|
1344
|
-
|
|
1345
|
-
function y() {
|
|
1346
|
-
return (y = Object.assign || function (e) {
|
|
1347
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
1348
|
-
var n = arguments[t];
|
|
1349
|
-
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
1350
|
-
}
|
|
1351
|
-
return e;
|
|
1352
|
-
}).apply(this, arguments);
|
|
1353
|
-
}
|
|
1354
|
-
var v = function (e, t) {
|
|
1355
|
-
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
1356
|
-
return n;
|
|
1357
|
-
},
|
|
1358
|
-
g = function (t) {
|
|
1359
|
-
return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
|
|
1360
|
-
},
|
|
1361
|
-
S = Object.freeze([]),
|
|
1362
|
-
w = Object.freeze({});
|
|
1363
|
-
function E(e) {
|
|
1364
|
-
return "function" == typeof e;
|
|
1365
|
-
}
|
|
1366
|
-
function b(e) {
|
|
1367
|
-
return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
|
|
1368
|
-
}
|
|
1369
|
-
function _(e) {
|
|
1370
|
-
return e && "string" == typeof e.styledComponentId;
|
|
1371
|
-
}
|
|
1372
|
-
var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
1373
|
-
C = "undefined" != typeof window && "HTMLElement" in window,
|
|
1374
|
-
I = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
|
|
1375
|
-
O = "production" !== process.env.NODE_ENV ? {
|
|
1376
|
-
1: "Cannot create styled-component for component: %s.\n\n",
|
|
1377
|
-
2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
|
|
1378
|
-
3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
|
|
1379
|
-
4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
|
|
1380
|
-
5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
|
|
1381
|
-
6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
|
|
1382
|
-
7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
|
|
1383
|
-
8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
|
|
1384
|
-
9: "Missing document `<head>`\n\n",
|
|
1385
|
-
10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
|
|
1386
|
-
11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
|
|
1387
|
-
12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
|
|
1388
|
-
13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
|
|
1389
|
-
14: 'ThemeProvider: "theme" prop is required.\n\n',
|
|
1390
|
-
15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
|
|
1391
|
-
16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
|
|
1392
|
-
17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
|
|
1393
|
-
} : {};
|
|
1394
|
-
function R() {
|
|
1395
|
-
for (var e = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, r = arguments.length; n < r; n += 1) t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
|
|
1396
|
-
return t.forEach(function (t) {
|
|
1397
|
-
e = e.replace(/%[a-z]/, t);
|
|
1398
|
-
}), e;
|
|
1399
|
-
}
|
|
1400
|
-
function D(e) {
|
|
1401
|
-
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1402
|
-
throw "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(R.apply(void 0, [O[e]].concat(n)).trim());
|
|
1403
|
-
}
|
|
1404
|
-
var j = function () {
|
|
1405
|
-
function e(e) {
|
|
1406
|
-
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
1407
|
-
}
|
|
1408
|
-
var t = e.prototype;
|
|
1409
|
-
return t.indexOfGroup = function (e) {
|
|
1410
|
-
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
1411
|
-
return t;
|
|
1412
|
-
}, t.insertRules = function (e, t) {
|
|
1413
|
-
if (e >= this.groupSizes.length) {
|
|
1414
|
-
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
|
|
1415
|
-
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
1416
|
-
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
1417
|
-
}
|
|
1418
|
-
for (var i = this.indexOfGroup(e + 1), a = 0, c = t.length; a < c; a++) this.tag.insertRule(i, t[a]) && (this.groupSizes[e]++, i++);
|
|
1419
|
-
}, t.clearGroup = function (e) {
|
|
1420
|
-
if (e < this.length) {
|
|
1421
|
-
var t = this.groupSizes[e],
|
|
1422
|
-
n = this.indexOfGroup(e),
|
|
1423
|
-
r = n + t;
|
|
1424
|
-
this.groupSizes[e] = 0;
|
|
1425
|
-
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
1426
|
-
}
|
|
1427
|
-
}, t.getGroup = function (e) {
|
|
1428
|
-
var t = "";
|
|
1429
|
-
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
1430
|
-
for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += this.tag.getRule(s) + "/*!sc*/\n";
|
|
1431
|
-
return t;
|
|
1432
|
-
}, e;
|
|
1433
|
-
}(),
|
|
1434
|
-
T = new Map(),
|
|
1435
|
-
x = new Map(),
|
|
1436
|
-
k = 1,
|
|
1437
|
-
V = function (e) {
|
|
1438
|
-
if (T.has(e)) return T.get(e);
|
|
1439
|
-
for (; x.has(k);) k++;
|
|
1440
|
-
var t = k++;
|
|
1441
|
-
return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && D(16, "" + t), T.set(e, t), x.set(t, e), t;
|
|
1442
|
-
},
|
|
1443
|
-
z = function (e) {
|
|
1444
|
-
return x.get(e);
|
|
1445
|
-
},
|
|
1446
|
-
B = function (e, t) {
|
|
1447
|
-
t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
|
|
1448
|
-
},
|
|
1449
|
-
M = "style[" + N + '][data-styled-version="5.3.6"]',
|
|
1450
|
-
G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
|
|
1451
|
-
L = function (e, t, n) {
|
|
1452
|
-
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
1453
|
-
},
|
|
1454
|
-
F = function (e, t) {
|
|
1455
|
-
for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
|
|
1456
|
-
var i = n[o].trim();
|
|
1457
|
-
if (i) {
|
|
1458
|
-
var a = i.match(G);
|
|
1459
|
-
if (a) {
|
|
1460
|
-
var c = 0 | parseInt(a[1], 10),
|
|
1461
|
-
u = a[2];
|
|
1462
|
-
0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
1463
|
-
} else r.push(i);
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
},
|
|
1467
|
-
Y = function () {
|
|
1468
|
-
return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
|
|
1469
|
-
},
|
|
1470
|
-
q = function (e) {
|
|
1471
|
-
var t = document.head,
|
|
1472
|
-
n = e || t,
|
|
1473
|
-
r = document.createElement("style"),
|
|
1474
|
-
o = function (e) {
|
|
1475
|
-
for (var t = e.childNodes, n = t.length; n >= 0; n--) {
|
|
1476
|
-
var r = t[n];
|
|
1477
|
-
if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
|
|
1478
|
-
}
|
|
1479
|
-
}(n),
|
|
1480
|
-
s = void 0 !== o ? o.nextSibling : null;
|
|
1481
|
-
r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.6");
|
|
1482
|
-
var i = Y();
|
|
1483
|
-
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
1484
|
-
},
|
|
1485
|
-
H = function () {
|
|
1486
|
-
function e(e) {
|
|
1487
|
-
var t = this.element = q(e);
|
|
1488
|
-
t.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
1489
|
-
if (e.sheet) return e.sheet;
|
|
1490
|
-
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
1491
|
-
var o = t[n];
|
|
1492
|
-
if (o.ownerNode === e) return o;
|
|
1493
|
-
}
|
|
1494
|
-
D(17);
|
|
1495
|
-
}(t), this.length = 0;
|
|
1496
|
-
}
|
|
1497
|
-
var t = e.prototype;
|
|
1498
|
-
return t.insertRule = function (e, t) {
|
|
1499
|
-
try {
|
|
1500
|
-
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
1501
|
-
} catch (e) {
|
|
1502
|
-
return !1;
|
|
1503
|
-
}
|
|
1504
|
-
}, t.deleteRule = function (e) {
|
|
1505
|
-
this.sheet.deleteRule(e), this.length--;
|
|
1506
|
-
}, t.getRule = function (e) {
|
|
1507
|
-
var t = this.sheet.cssRules[e];
|
|
1508
|
-
return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
|
|
1509
|
-
}, e;
|
|
1510
|
-
}(),
|
|
1511
|
-
$ = function () {
|
|
1512
|
-
function e(e) {
|
|
1513
|
-
var t = this.element = q(e);
|
|
1514
|
-
this.nodes = t.childNodes, this.length = 0;
|
|
1515
|
-
}
|
|
1516
|
-
var t = e.prototype;
|
|
1517
|
-
return t.insertRule = function (e, t) {
|
|
1518
|
-
if (e <= this.length && e >= 0) {
|
|
1519
|
-
var n = document.createTextNode(t),
|
|
1520
|
-
r = this.nodes[e];
|
|
1521
|
-
return this.element.insertBefore(n, r || null), this.length++, !0;
|
|
1522
|
-
}
|
|
1523
|
-
return !1;
|
|
1524
|
-
}, t.deleteRule = function (e) {
|
|
1525
|
-
this.element.removeChild(this.nodes[e]), this.length--;
|
|
1526
|
-
}, t.getRule = function (e) {
|
|
1527
|
-
return e < this.length ? this.nodes[e].textContent : "";
|
|
1528
|
-
}, e;
|
|
1529
|
-
}(),
|
|
1530
|
-
W = function () {
|
|
1531
|
-
function e(e) {
|
|
1532
|
-
this.rules = [], this.length = 0;
|
|
1533
|
-
}
|
|
1534
|
-
var t = e.prototype;
|
|
1535
|
-
return t.insertRule = function (e, t) {
|
|
1536
|
-
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
1537
|
-
}, t.deleteRule = function (e) {
|
|
1538
|
-
this.rules.splice(e, 1), this.length--;
|
|
1539
|
-
}, t.getRule = function (e) {
|
|
1540
|
-
return e < this.length ? this.rules[e] : "";
|
|
1541
|
-
}, e;
|
|
1542
|
-
}(),
|
|
1543
|
-
U = C,
|
|
1544
|
-
J = {
|
|
1545
|
-
isServer: !C,
|
|
1546
|
-
useCSSOMInjection: !I
|
|
1547
|
-
},
|
|
1548
|
-
X = function () {
|
|
1549
|
-
function e(e, t, n) {
|
|
1550
|
-
void 0 === e && (e = w), void 0 === t && (t = {}), this.options = y({}, J, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && C && U && (U = !1, function (e) {
|
|
1551
|
-
for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
|
|
1552
|
-
var o = t[n];
|
|
1553
|
-
o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
1554
|
-
}
|
|
1555
|
-
}(this));
|
|
1556
|
-
}
|
|
1557
|
-
e.registerId = function (e) {
|
|
1558
|
-
return V(e);
|
|
1559
|
-
};
|
|
1560
|
-
var t = e.prototype;
|
|
1561
|
-
return t.reconstructWithOptions = function (t, n) {
|
|
1562
|
-
return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
|
|
1563
|
-
}, t.allocateGSInstance = function (e) {
|
|
1564
|
-
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
1565
|
-
}, t.getTag = function () {
|
|
1566
|
-
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new W(o) : r ? new H(o) : new $(o), new j(e)));
|
|
1567
|
-
var e, t, n, r, o;
|
|
1568
|
-
}, t.hasNameForId = function (e, t) {
|
|
1569
|
-
return this.names.has(e) && this.names.get(e).has(t);
|
|
1570
|
-
}, t.registerName = function (e, t) {
|
|
1571
|
-
if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
1572
|
-
var n = new Set();
|
|
1573
|
-
n.add(t), this.names.set(e, n);
|
|
1574
|
-
}
|
|
1575
|
-
}, t.insertRules = function (e, t, n) {
|
|
1576
|
-
this.registerName(e, t), this.getTag().insertRules(V(e), n);
|
|
1577
|
-
}, t.clearNames = function (e) {
|
|
1578
|
-
this.names.has(e) && this.names.get(e).clear();
|
|
1579
|
-
}, t.clearRules = function (e) {
|
|
1580
|
-
this.getTag().clearGroup(V(e)), this.clearNames(e);
|
|
1581
|
-
}, t.clearTag = function () {
|
|
1582
|
-
this.tag = void 0;
|
|
1583
|
-
}, t.toString = function () {
|
|
1584
|
-
return function (e) {
|
|
1585
|
-
for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
|
|
1586
|
-
var s = z(o);
|
|
1587
|
-
if (void 0 !== s) {
|
|
1588
|
-
var i = e.names.get(s),
|
|
1589
|
-
a = t.getGroup(o);
|
|
1590
|
-
if (i && a && i.size) {
|
|
1591
|
-
var c = N + ".g" + o + '[id="' + s + '"]',
|
|
1592
|
-
u = "";
|
|
1593
|
-
void 0 !== i && i.forEach(function (e) {
|
|
1594
|
-
e.length > 0 && (u += e + ",");
|
|
1595
|
-
}), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
|
-
return r;
|
|
1600
|
-
}(this);
|
|
1601
|
-
}, e;
|
|
1602
|
-
}(),
|
|
1603
|
-
Z = /(a)(d)/gi,
|
|
1604
|
-
K = function (e) {
|
|
1605
|
-
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1606
|
-
};
|
|
1607
|
-
function Q(e) {
|
|
1608
|
-
var t,
|
|
1609
|
-
n = "";
|
|
1610
|
-
for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
|
|
1611
|
-
return (K(t % 52) + n).replace(Z, "$1-$2");
|
|
1612
|
-
}
|
|
1613
|
-
var ee = function (e, t) {
|
|
1614
|
-
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
1615
|
-
return e;
|
|
1616
|
-
},
|
|
1617
|
-
te = function (e) {
|
|
1618
|
-
return ee(5381, e);
|
|
1619
|
-
};
|
|
1620
|
-
function ne(e) {
|
|
1621
|
-
for (var t = 0; t < e.length; t += 1) {
|
|
1622
|
-
var n = e[t];
|
|
1623
|
-
if (E(n) && !_(n)) return !1;
|
|
1624
|
-
}
|
|
1625
|
-
return !0;
|
|
1626
|
-
}
|
|
1627
|
-
var re = te("5.3.6"),
|
|
1628
|
-
oe = function () {
|
|
1629
|
-
function e(e, t, n) {
|
|
1630
|
-
this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && ne(e), this.componentId = t, this.baseHash = ee(re, t), this.baseStyle = n, X.registerId(t);
|
|
1631
|
-
}
|
|
1632
|
-
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
1633
|
-
var r = this.componentId,
|
|
1634
|
-
o = [];
|
|
1635
|
-
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
|
|
1636
|
-
if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
|
|
1637
|
-
var s = _e(this.rules, e, t, n).join(""),
|
|
1638
|
-
i = Q(ee(this.baseHash, s) >>> 0);
|
|
1639
|
-
if (!t.hasNameForId(r, i)) {
|
|
1640
|
-
var a = n(s, "." + i, void 0, r);
|
|
1641
|
-
t.insertRules(r, i, a);
|
|
1642
|
-
}
|
|
1643
|
-
o.push(i), this.staticRulesId = i;
|
|
1644
|
-
}
|
|
1645
|
-
} else {
|
|
1646
|
-
for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
|
|
1647
|
-
var h = this.rules[d];
|
|
1648
|
-
if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = ee(u, h + d));else if (h) {
|
|
1649
|
-
var p = _e(h, e, t, n),
|
|
1650
|
-
f = Array.isArray(p) ? p.join("") : p;
|
|
1651
|
-
u = ee(u, f + d), l += f;
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1654
|
-
if (l) {
|
|
1655
|
-
var m = Q(u >>> 0);
|
|
1656
|
-
if (!t.hasNameForId(r, m)) {
|
|
1657
|
-
var y = n(l, "." + m, void 0, r);
|
|
1658
|
-
t.insertRules(r, m, y);
|
|
1659
|
-
}
|
|
1660
|
-
o.push(m);
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
return o.join(" ");
|
|
1664
|
-
}, e;
|
|
1665
|
-
}(),
|
|
1666
|
-
se = /^\s*\/\/.*$/gm,
|
|
1667
|
-
ie = [":", "[", ".", "#"];
|
|
1668
|
-
function ae(e) {
|
|
1669
|
-
var t,
|
|
1670
|
-
n,
|
|
1671
|
-
r,
|
|
1672
|
-
o,
|
|
1673
|
-
s = void 0 === e ? w : e,
|
|
1674
|
-
i = s.options,
|
|
1675
|
-
a = void 0 === i ? w : i,
|
|
1676
|
-
c = s.plugins,
|
|
1677
|
-
u = void 0 === c ? S : c,
|
|
1678
|
-
l = new stylis_min(a),
|
|
1679
|
-
d = [],
|
|
1680
|
-
p = function (e) {
|
|
1681
|
-
function t(t) {
|
|
1682
|
-
if (t) try {
|
|
1683
|
-
e(t + "}");
|
|
1684
|
-
} catch (e) {}
|
|
1685
|
-
}
|
|
1686
|
-
return function (n, r, o, s, i, a, c, u, l, d) {
|
|
1687
|
-
switch (n) {
|
|
1688
|
-
case 1:
|
|
1689
|
-
if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
|
|
1690
|
-
break;
|
|
1691
|
-
case 2:
|
|
1692
|
-
if (0 === u) return r + "/*|*/";
|
|
1693
|
-
break;
|
|
1694
|
-
case 3:
|
|
1695
|
-
switch (u) {
|
|
1696
|
-
case 102:
|
|
1697
|
-
case 112:
|
|
1698
|
-
return e(o[0] + r), "";
|
|
1699
|
-
default:
|
|
1700
|
-
return r + (0 === d ? "/*|*/" : "");
|
|
1701
|
-
}
|
|
1702
|
-
case -2:
|
|
1703
|
-
r.split("/*|*/}").forEach(t);
|
|
1704
|
-
}
|
|
1705
|
-
};
|
|
1706
|
-
}(function (e) {
|
|
1707
|
-
d.push(e);
|
|
1708
|
-
}),
|
|
1709
|
-
f = function (e, r, s) {
|
|
1710
|
-
return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
|
|
1711
|
-
};
|
|
1712
|
-
function m(e, s, i, a) {
|
|
1713
|
-
void 0 === a && (a = "&");
|
|
1714
|
-
var c = e.replace(se, ""),
|
|
1715
|
-
u = s && i ? i + " " + s + " { " + c + " }" : c;
|
|
1716
|
-
return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
|
|
1717
|
-
}
|
|
1718
|
-
return l.use([].concat(u, [function (e, t, o) {
|
|
1719
|
-
2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
|
|
1720
|
-
}, p, function (e) {
|
|
1721
|
-
if (-2 === e) {
|
|
1722
|
-
var t = d;
|
|
1723
|
-
return d = [], t;
|
|
1724
|
-
}
|
|
1725
|
-
}])), m.hash = u.length ? u.reduce(function (e, t) {
|
|
1726
|
-
return t.name || D(15), ee(e, t.name);
|
|
1727
|
-
}, 5381).toString() : "", m;
|
|
1728
|
-
}
|
|
1729
|
-
var ce = React.createContext();
|
|
1730
|
-
ce.Consumer;
|
|
1731
|
-
var le = React.createContext(),
|
|
1732
|
-
de = (le.Consumer, new X()),
|
|
1733
|
-
he = ae();
|
|
1734
|
-
function pe() {
|
|
1735
|
-
return useContext(ce) || de;
|
|
1736
|
-
}
|
|
1737
|
-
function fe() {
|
|
1738
|
-
return useContext(le) || he;
|
|
1739
|
-
}
|
|
1740
|
-
var ye = function () {
|
|
1741
|
-
function e(e, t) {
|
|
1742
|
-
var n = this;
|
|
1743
|
-
this.inject = function (e, t) {
|
|
1744
|
-
void 0 === t && (t = he);
|
|
1745
|
-
var r = n.name + t.hash;
|
|
1746
|
-
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
1747
|
-
}, this.toString = function () {
|
|
1748
|
-
return D(12, String(n.name));
|
|
1749
|
-
}, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
|
|
1750
|
-
}
|
|
1751
|
-
return e.prototype.getName = function (e) {
|
|
1752
|
-
return void 0 === e && (e = he), this.name + e.hash;
|
|
1753
|
-
}, e;
|
|
1754
|
-
}(),
|
|
1755
|
-
ve = /([A-Z])/,
|
|
1756
|
-
ge = /([A-Z])/g,
|
|
1757
|
-
Se = /^ms-/,
|
|
1758
|
-
we = function (e) {
|
|
1759
|
-
return "-" + e.toLowerCase();
|
|
1760
|
-
};
|
|
1761
|
-
function Ee(e) {
|
|
1762
|
-
return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
|
|
1763
|
-
}
|
|
1764
|
-
var be = function (e) {
|
|
1765
|
-
return null == e || !1 === e || "" === e;
|
|
1766
|
-
};
|
|
1767
|
-
function _e(e, n, r, o) {
|
|
1768
|
-
if (Array.isArray(e)) {
|
|
1769
|
-
for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = _e(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
|
|
1770
|
-
return i;
|
|
1771
|
-
}
|
|
1772
|
-
if (be(e)) return "";
|
|
1773
|
-
if (_(e)) return "." + e.styledComponentId;
|
|
1774
|
-
if (E(e)) {
|
|
1775
|
-
if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
|
|
1776
|
-
var u = e(n);
|
|
1777
|
-
return "production" !== process.env.NODE_ENV && reactIsExports$1.isElement(u) && console.warn(b(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _e(u, n, r, o);
|
|
1778
|
-
}
|
|
1779
|
-
var l;
|
|
1780
|
-
return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
|
|
1781
|
-
var r,
|
|
1782
|
-
o,
|
|
1783
|
-
s = [];
|
|
1784
|
-
for (var i in t) t.hasOwnProperty(i) && !be(t[i]) && (Array.isArray(t[i]) && t[i].isCss || E(t[i]) ? s.push(Ee(i) + ":", t[i], ";") : g(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(Ee(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys ? String(o).trim() : o + "px") + ";"));
|
|
1785
|
-
return n ? [n + " {"].concat(s, ["}"]) : s;
|
|
1786
|
-
}(e) : e.toString();
|
|
1787
|
-
}
|
|
1788
|
-
var Ne = function (e) {
|
|
1789
|
-
return Array.isArray(e) && (e.isCss = !0), e;
|
|
1790
|
-
};
|
|
1791
|
-
function Ae(e) {
|
|
1792
|
-
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1793
|
-
return E(e) || g(e) ? Ne(_e(v(S, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : Ne(_e(v(e, n)));
|
|
1794
|
-
}
|
|
1795
|
-
var Ce = /invalid hook call/i,
|
|
1796
|
-
Ie = new Set(),
|
|
1797
|
-
Pe = function (e, t) {
|
|
1798
|
-
if ("production" !== process.env.NODE_ENV) {
|
|
1799
|
-
var n = "The component " + e + (t ? ' with the id of "' + t + '"' : "") + " has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
|
|
1800
|
-
r = console.error;
|
|
1801
|
-
try {
|
|
1802
|
-
var o = !0;
|
|
1803
|
-
console.error = function (e) {
|
|
1804
|
-
if (Ce.test(e)) o = !1, Ie.delete(n);else {
|
|
1805
|
-
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
|
|
1806
|
-
r.apply(void 0, [e].concat(s));
|
|
1807
|
-
}
|
|
1808
|
-
}, useRef(), o && !Ie.has(n) && (console.warn(n), Ie.add(n));
|
|
1809
|
-
} catch (e) {
|
|
1810
|
-
Ce.test(e.message) && Ie.delete(n);
|
|
1811
|
-
} finally {
|
|
1812
|
-
console.error = r;
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
Oe = function (e, t, n) {
|
|
1817
|
-
return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
|
|
1818
|
-
},
|
|
1819
|
-
Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
1820
|
-
De = /(^-|-$)/g;
|
|
1821
|
-
function je(e) {
|
|
1822
|
-
return e.replace(Re, "-").replace(De, "");
|
|
1823
|
-
}
|
|
1824
|
-
var Te = function (e) {
|
|
1825
|
-
return Q(te(e) >>> 0);
|
|
1826
|
-
};
|
|
1827
|
-
function xe(e) {
|
|
1828
|
-
return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
1829
|
-
}
|
|
1830
|
-
var ke = function (e) {
|
|
1831
|
-
return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
|
|
1832
|
-
},
|
|
1833
|
-
Ve = function (e) {
|
|
1834
|
-
return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
|
|
1835
|
-
};
|
|
1836
|
-
function ze(e, t, n) {
|
|
1837
|
-
var r = e[n];
|
|
1838
|
-
ke(t) && ke(r) ? Be(r, t) : e[n] = t;
|
|
1839
|
-
}
|
|
1840
|
-
function Be(e) {
|
|
1841
|
-
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1842
|
-
for (var o = 0, s = n; o < s.length; o++) {
|
|
1843
|
-
var i = s[o];
|
|
1844
|
-
if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
|
|
1845
|
-
}
|
|
1846
|
-
return e;
|
|
1847
|
-
}
|
|
1848
|
-
var Me = React.createContext();
|
|
1849
|
-
Me.Consumer;
|
|
1850
|
-
var Fe = {};
|
|
1851
|
-
function Ye(e, t, n) {
|
|
1852
|
-
var o = _(e),
|
|
1853
|
-
i = !xe(e),
|
|
1854
|
-
a = t.attrs,
|
|
1855
|
-
c = void 0 === a ? S : a,
|
|
1856
|
-
d = t.componentId,
|
|
1857
|
-
h = void 0 === d ? function (e, t) {
|
|
1858
|
-
var n = "string" != typeof e ? "sc" : je(e);
|
|
1859
|
-
Fe[n] = (Fe[n] || 0) + 1;
|
|
1860
|
-
var r = n + "-" + Te("5.3.6" + n + Fe[n]);
|
|
1861
|
-
return t ? t + "-" + r : r;
|
|
1862
|
-
}(t.displayName, t.parentComponentId) : d,
|
|
1863
|
-
p = t.displayName,
|
|
1864
|
-
v = void 0 === p ? function (e) {
|
|
1865
|
-
return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
|
|
1866
|
-
}(e) : p,
|
|
1867
|
-
g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
|
|
1868
|
-
N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
|
|
1869
|
-
A = t.shouldForwardProp;
|
|
1870
|
-
o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
|
|
1871
|
-
return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
|
|
1872
|
-
} : e.shouldForwardProp);
|
|
1873
|
-
var C,
|
|
1874
|
-
I = new oe(n, g, o ? e.componentStyle : void 0),
|
|
1875
|
-
P = I.isStatic && 0 === c.length,
|
|
1876
|
-
O = function (e, t) {
|
|
1877
|
-
return function (e, t, n, r) {
|
|
1878
|
-
var o = e.attrs,
|
|
1879
|
-
i = e.componentStyle,
|
|
1880
|
-
a = e.defaultProps,
|
|
1881
|
-
c = e.foldedComponentIds,
|
|
1882
|
-
d = e.shouldForwardProp,
|
|
1883
|
-
h = e.styledComponentId,
|
|
1884
|
-
p = e.target;
|
|
1885
|
-
"production" !== process.env.NODE_ENV && useDebugValue(h);
|
|
1886
|
-
var m = function (e, t, n) {
|
|
1887
|
-
void 0 === e && (e = w);
|
|
1888
|
-
var r = y({}, t, {
|
|
1889
|
-
theme: e
|
|
1890
|
-
}),
|
|
1891
|
-
o = {};
|
|
1892
|
-
return n.forEach(function (e) {
|
|
1893
|
-
var t,
|
|
1894
|
-
n,
|
|
1895
|
-
s,
|
|
1896
|
-
i = e;
|
|
1897
|
-
for (t in E(i) && (i = i(r)), i) r[t] = o[t] = "className" === t ? (n = o[t], s = i[t], n && s ? n + " " + s : n || s) : i[t];
|
|
1898
|
-
}), [r, o];
|
|
1899
|
-
}(Oe(t, useContext(Me), a) || w, t, o),
|
|
1900
|
-
v = m[0],
|
|
1901
|
-
g = m[1],
|
|
1902
|
-
S = function (e, t, n, r) {
|
|
1903
|
-
var o = pe(),
|
|
1904
|
-
s = fe(),
|
|
1905
|
-
i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
|
|
1906
|
-
return "production" !== process.env.NODE_ENV && useDebugValue(i), "production" !== process.env.NODE_ENV && !t && r && r(i), i;
|
|
1907
|
-
}(i, r, v, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
|
|
1908
|
-
b = n,
|
|
1909
|
-
_ = g.$as || t.$as || g.as || t.as || p,
|
|
1910
|
-
N = xe(_),
|
|
1911
|
-
A = g !== t ? y({}, t, {}, g) : t,
|
|
1912
|
-
C = {};
|
|
1913
|
-
for (var I in A) "$" !== I[0] && "as" !== I && ("forwardedAs" === I ? C.as = A[I] : (d ? d(I, isPropValid, _) : !N || isPropValid(I)) && (C[I] = A[I]));
|
|
1914
|
-
return t.style && g.style !== t.style && (C.style = y({}, t.style, {}, g.style)), C.className = Array.prototype.concat(c, h, S !== h ? S : null, t.className, g.className).filter(Boolean).join(" "), C.ref = b, createElement(_, C);
|
|
1915
|
-
}(C, e, t, P);
|
|
1916
|
-
};
|
|
1917
|
-
return O.displayName = v, (C = React.forwardRef(O)).attrs = N, C.componentStyle = I, C.displayName = v, C.shouldForwardProp = A, C.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : S, C.styledComponentId = g, C.target = o ? e.target : e, C.withComponent = function (e) {
|
|
1918
|
-
var r = t.componentId,
|
|
1919
|
-
o = function (e, t) {
|
|
1920
|
-
if (null == e) return {};
|
|
1921
|
-
var n,
|
|
1922
|
-
r,
|
|
1923
|
-
o = {},
|
|
1924
|
-
s = Object.keys(e);
|
|
1925
|
-
for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
|
|
1926
|
-
return o;
|
|
1927
|
-
}(t, ["componentId"]),
|
|
1928
|
-
s = r && r + "-" + (xe(e) ? e : je(b(e)));
|
|
1929
|
-
return Ye(e, y({}, o, {
|
|
1930
|
-
attrs: N,
|
|
1931
|
-
componentId: s
|
|
1932
|
-
}), n);
|
|
1933
|
-
}, Object.defineProperty(C, "defaultProps", {
|
|
1934
|
-
get: function () {
|
|
1935
|
-
return this._foldedDefaultProps;
|
|
1936
|
-
},
|
|
1937
|
-
set: function (t) {
|
|
1938
|
-
this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
|
|
1939
|
-
}
|
|
1940
|
-
}), "production" !== process.env.NODE_ENV && (Pe(v, g), C.warnTooManyClasses = function (e, t) {
|
|
1941
|
-
var n = {},
|
|
1942
|
-
r = !1;
|
|
1943
|
-
return function (o) {
|
|
1944
|
-
if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
|
|
1945
|
-
var s = t ? ' with the id of "' + t + '"' : "";
|
|
1946
|
-
console.warn("Over 200 classes were generated for component " + e + s + ".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
|
|
1947
|
-
}
|
|
1948
|
-
};
|
|
1949
|
-
}(v, g)), C.toString = function () {
|
|
1950
|
-
return "." + C.styledComponentId;
|
|
1951
|
-
}, i && m(C, e, {
|
|
1952
|
-
attrs: !0,
|
|
1953
|
-
componentStyle: !0,
|
|
1954
|
-
displayName: !0,
|
|
1955
|
-
foldedComponentIds: !0,
|
|
1956
|
-
shouldForwardProp: !0,
|
|
1957
|
-
styledComponentId: !0,
|
|
1958
|
-
target: !0,
|
|
1959
|
-
withComponent: !0
|
|
1960
|
-
}), C;
|
|
1961
|
-
}
|
|
1962
|
-
var qe = function (e) {
|
|
1963
|
-
return function e(t, r, o) {
|
|
1964
|
-
if (void 0 === o && (o = w), !reactIsExports$1.isValidElementType(r)) return D(1, String(r));
|
|
1965
|
-
var s = function () {
|
|
1966
|
-
return t(r, o, Ae.apply(void 0, arguments));
|
|
1967
|
-
};
|
|
1968
|
-
return s.withConfig = function (n) {
|
|
1969
|
-
return e(t, r, y({}, o, {}, n));
|
|
1970
|
-
}, s.attrs = function (n) {
|
|
1971
|
-
return e(t, r, y({}, o, {
|
|
1972
|
-
attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
|
|
1973
|
-
}));
|
|
1974
|
-
}, s;
|
|
1975
|
-
}(Ye, e);
|
|
1976
|
-
};
|
|
1977
|
-
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function (e) {
|
|
1978
|
-
qe[e] = qe(e);
|
|
1979
|
-
});
|
|
1980
|
-
"production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"), "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, 1 === window["__styled-components-init__"] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window["__styled-components-init__"] += 1);
|
|
1981
|
-
var styled = qe;
|
|
1982
|
-
|
|
20
|
+
***************************************************************************** */
|
|
21
|
+
/* global Reflect, Promise */
|
|
22
|
+
|
|
23
|
+
var __assign = function () {
|
|
24
|
+
__assign = Object.assign || function __assign(t) {
|
|
25
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
26
|
+
s = arguments[i];
|
|
27
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
28
|
+
}
|
|
29
|
+
return t;
|
|
30
|
+
};
|
|
31
|
+
return __assign.apply(this, arguments);
|
|
32
|
+
};
|
|
33
|
+
function __rest(s, e) {
|
|
34
|
+
var t = {};
|
|
35
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
37
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
38
|
+
}
|
|
39
|
+
return t;
|
|
40
|
+
}
|
|
41
|
+
function __makeTemplateObject(cooked, raw) {
|
|
42
|
+
if (Object.defineProperty) {
|
|
43
|
+
Object.defineProperty(cooked, "raw", {
|
|
44
|
+
value: raw
|
|
45
|
+
});
|
|
46
|
+
} else {
|
|
47
|
+
cooked.raw = raw;
|
|
48
|
+
}
|
|
49
|
+
return cooked;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function getDefaultExportFromCjs (x) {
|
|
53
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
var reactIs$2 = {exports: {}};
|
|
57
|
+
|
|
58
|
+
var reactIs_production_min$1 = {};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @license React
|
|
62
|
+
* react-is.production.min.js
|
|
63
|
+
*
|
|
64
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the MIT license found in the
|
|
67
|
+
* LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/
|
|
69
|
+
var hasRequiredReactIs_production_min$1;
|
|
70
|
+
function requireReactIs_production_min$1() {
|
|
71
|
+
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
72
|
+
hasRequiredReactIs_production_min$1 = 1;
|
|
73
|
+
var b = Symbol.for("react.element"),
|
|
74
|
+
c = Symbol.for("react.portal"),
|
|
75
|
+
d = Symbol.for("react.fragment"),
|
|
76
|
+
e = Symbol.for("react.strict_mode"),
|
|
77
|
+
f = Symbol.for("react.profiler"),
|
|
78
|
+
g = Symbol.for("react.provider"),
|
|
79
|
+
h = Symbol.for("react.context"),
|
|
80
|
+
k = Symbol.for("react.server_context"),
|
|
81
|
+
l = Symbol.for("react.forward_ref"),
|
|
82
|
+
m = Symbol.for("react.suspense"),
|
|
83
|
+
n = Symbol.for("react.suspense_list"),
|
|
84
|
+
p = Symbol.for("react.memo"),
|
|
85
|
+
q = Symbol.for("react.lazy"),
|
|
86
|
+
t = Symbol.for("react.offscreen"),
|
|
87
|
+
u;
|
|
88
|
+
u = Symbol.for("react.module.reference");
|
|
89
|
+
function v(a) {
|
|
90
|
+
if ("object" === typeof a && null !== a) {
|
|
91
|
+
var r = a.$$typeof;
|
|
92
|
+
switch (r) {
|
|
93
|
+
case b:
|
|
94
|
+
switch (a = a.type, a) {
|
|
95
|
+
case d:
|
|
96
|
+
case f:
|
|
97
|
+
case e:
|
|
98
|
+
case m:
|
|
99
|
+
case n:
|
|
100
|
+
return a;
|
|
101
|
+
default:
|
|
102
|
+
switch (a = a && a.$$typeof, a) {
|
|
103
|
+
case k:
|
|
104
|
+
case h:
|
|
105
|
+
case l:
|
|
106
|
+
case q:
|
|
107
|
+
case p:
|
|
108
|
+
case g:
|
|
109
|
+
return a;
|
|
110
|
+
default:
|
|
111
|
+
return r;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
case c:
|
|
115
|
+
return r;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
reactIs_production_min$1.ContextConsumer = h;
|
|
120
|
+
reactIs_production_min$1.ContextProvider = g;
|
|
121
|
+
reactIs_production_min$1.Element = b;
|
|
122
|
+
reactIs_production_min$1.ForwardRef = l;
|
|
123
|
+
reactIs_production_min$1.Fragment = d;
|
|
124
|
+
reactIs_production_min$1.Lazy = q;
|
|
125
|
+
reactIs_production_min$1.Memo = p;
|
|
126
|
+
reactIs_production_min$1.Portal = c;
|
|
127
|
+
reactIs_production_min$1.Profiler = f;
|
|
128
|
+
reactIs_production_min$1.StrictMode = e;
|
|
129
|
+
reactIs_production_min$1.Suspense = m;
|
|
130
|
+
reactIs_production_min$1.SuspenseList = n;
|
|
131
|
+
reactIs_production_min$1.isAsyncMode = function () {
|
|
132
|
+
return !1;
|
|
133
|
+
};
|
|
134
|
+
reactIs_production_min$1.isConcurrentMode = function () {
|
|
135
|
+
return !1;
|
|
136
|
+
};
|
|
137
|
+
reactIs_production_min$1.isContextConsumer = function (a) {
|
|
138
|
+
return v(a) === h;
|
|
139
|
+
};
|
|
140
|
+
reactIs_production_min$1.isContextProvider = function (a) {
|
|
141
|
+
return v(a) === g;
|
|
142
|
+
};
|
|
143
|
+
reactIs_production_min$1.isElement = function (a) {
|
|
144
|
+
return "object" === typeof a && null !== a && a.$$typeof === b;
|
|
145
|
+
};
|
|
146
|
+
reactIs_production_min$1.isForwardRef = function (a) {
|
|
147
|
+
return v(a) === l;
|
|
148
|
+
};
|
|
149
|
+
reactIs_production_min$1.isFragment = function (a) {
|
|
150
|
+
return v(a) === d;
|
|
151
|
+
};
|
|
152
|
+
reactIs_production_min$1.isLazy = function (a) {
|
|
153
|
+
return v(a) === q;
|
|
154
|
+
};
|
|
155
|
+
reactIs_production_min$1.isMemo = function (a) {
|
|
156
|
+
return v(a) === p;
|
|
157
|
+
};
|
|
158
|
+
reactIs_production_min$1.isPortal = function (a) {
|
|
159
|
+
return v(a) === c;
|
|
160
|
+
};
|
|
161
|
+
reactIs_production_min$1.isProfiler = function (a) {
|
|
162
|
+
return v(a) === f;
|
|
163
|
+
};
|
|
164
|
+
reactIs_production_min$1.isStrictMode = function (a) {
|
|
165
|
+
return v(a) === e;
|
|
166
|
+
};
|
|
167
|
+
reactIs_production_min$1.isSuspense = function (a) {
|
|
168
|
+
return v(a) === m;
|
|
169
|
+
};
|
|
170
|
+
reactIs_production_min$1.isSuspenseList = function (a) {
|
|
171
|
+
return v(a) === n;
|
|
172
|
+
};
|
|
173
|
+
reactIs_production_min$1.isValidElementType = function (a) {
|
|
174
|
+
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
|
|
175
|
+
};
|
|
176
|
+
reactIs_production_min$1.typeOf = v;
|
|
177
|
+
return reactIs_production_min$1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
var reactIs_development$1 = {};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @license React
|
|
184
|
+
* react-is.development.js
|
|
185
|
+
*
|
|
186
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
187
|
+
*
|
|
188
|
+
* This source code is licensed under the MIT license found in the
|
|
189
|
+
* LICENSE file in the root directory of this source tree.
|
|
190
|
+
*/
|
|
191
|
+
var hasRequiredReactIs_development$1;
|
|
192
|
+
function requireReactIs_development$1() {
|
|
193
|
+
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
194
|
+
hasRequiredReactIs_development$1 = 1;
|
|
195
|
+
if (process.env.NODE_ENV !== "production") {
|
|
196
|
+
(function () {
|
|
197
|
+
|
|
198
|
+
// ATTENTION
|
|
199
|
+
// When adding new symbols to this file,
|
|
200
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
201
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
202
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
203
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
204
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
205
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
206
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
207
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
208
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
209
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
210
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
211
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
212
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
213
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
214
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
215
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
216
|
+
|
|
217
|
+
// -----------------------------------------------------------------------------
|
|
218
|
+
|
|
219
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
220
|
+
var enableCacheElement = false;
|
|
221
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
222
|
+
|
|
223
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
224
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
225
|
+
// issues in DEV builds.
|
|
226
|
+
|
|
227
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
228
|
+
|
|
229
|
+
var REACT_MODULE_REFERENCE;
|
|
230
|
+
{
|
|
231
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
232
|
+
}
|
|
233
|
+
function isValidElementType(type) {
|
|
234
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
235
|
+
return true;
|
|
236
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
237
|
+
|
|
238
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
239
|
+
return true;
|
|
240
|
+
}
|
|
241
|
+
if (typeof type === 'object' && type !== null) {
|
|
242
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
243
|
+
// This needs to include all possible module reference object
|
|
244
|
+
// types supported by any Flight configuration anywhere since
|
|
245
|
+
// we don't know which Flight build this will end up being used
|
|
246
|
+
// with.
|
|
247
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
248
|
+
return true;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
return false;
|
|
252
|
+
}
|
|
253
|
+
function typeOf(object) {
|
|
254
|
+
if (typeof object === 'object' && object !== null) {
|
|
255
|
+
var $$typeof = object.$$typeof;
|
|
256
|
+
switch ($$typeof) {
|
|
257
|
+
case REACT_ELEMENT_TYPE:
|
|
258
|
+
var type = object.type;
|
|
259
|
+
switch (type) {
|
|
260
|
+
case REACT_FRAGMENT_TYPE:
|
|
261
|
+
case REACT_PROFILER_TYPE:
|
|
262
|
+
case REACT_STRICT_MODE_TYPE:
|
|
263
|
+
case REACT_SUSPENSE_TYPE:
|
|
264
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
265
|
+
return type;
|
|
266
|
+
default:
|
|
267
|
+
var $$typeofType = type && type.$$typeof;
|
|
268
|
+
switch ($$typeofType) {
|
|
269
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
270
|
+
case REACT_CONTEXT_TYPE:
|
|
271
|
+
case REACT_FORWARD_REF_TYPE:
|
|
272
|
+
case REACT_LAZY_TYPE:
|
|
273
|
+
case REACT_MEMO_TYPE:
|
|
274
|
+
case REACT_PROVIDER_TYPE:
|
|
275
|
+
return $$typeofType;
|
|
276
|
+
default:
|
|
277
|
+
return $$typeof;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
case REACT_PORTAL_TYPE:
|
|
281
|
+
return $$typeof;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return undefined;
|
|
285
|
+
}
|
|
286
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
287
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
288
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
289
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
290
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
291
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
292
|
+
var Memo = REACT_MEMO_TYPE;
|
|
293
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
294
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
295
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
296
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
297
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
298
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
299
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
300
|
+
|
|
301
|
+
function isAsyncMode(object) {
|
|
302
|
+
{
|
|
303
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
304
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
305
|
+
|
|
306
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
function isConcurrentMode(object) {
|
|
312
|
+
{
|
|
313
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
314
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
315
|
+
|
|
316
|
+
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return false;
|
|
320
|
+
}
|
|
321
|
+
function isContextConsumer(object) {
|
|
322
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
323
|
+
}
|
|
324
|
+
function isContextProvider(object) {
|
|
325
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
326
|
+
}
|
|
327
|
+
function isElement(object) {
|
|
328
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
329
|
+
}
|
|
330
|
+
function isForwardRef(object) {
|
|
331
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
332
|
+
}
|
|
333
|
+
function isFragment(object) {
|
|
334
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
335
|
+
}
|
|
336
|
+
function isLazy(object) {
|
|
337
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
338
|
+
}
|
|
339
|
+
function isMemo(object) {
|
|
340
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
341
|
+
}
|
|
342
|
+
function isPortal(object) {
|
|
343
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
344
|
+
}
|
|
345
|
+
function isProfiler(object) {
|
|
346
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
347
|
+
}
|
|
348
|
+
function isStrictMode(object) {
|
|
349
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
350
|
+
}
|
|
351
|
+
function isSuspense(object) {
|
|
352
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
353
|
+
}
|
|
354
|
+
function isSuspenseList(object) {
|
|
355
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
356
|
+
}
|
|
357
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
358
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
359
|
+
reactIs_development$1.Element = Element;
|
|
360
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
361
|
+
reactIs_development$1.Fragment = Fragment;
|
|
362
|
+
reactIs_development$1.Lazy = Lazy;
|
|
363
|
+
reactIs_development$1.Memo = Memo;
|
|
364
|
+
reactIs_development$1.Portal = Portal;
|
|
365
|
+
reactIs_development$1.Profiler = Profiler;
|
|
366
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
367
|
+
reactIs_development$1.Suspense = Suspense;
|
|
368
|
+
reactIs_development$1.SuspenseList = SuspenseList;
|
|
369
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
370
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
371
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
372
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
373
|
+
reactIs_development$1.isElement = isElement;
|
|
374
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
375
|
+
reactIs_development$1.isFragment = isFragment;
|
|
376
|
+
reactIs_development$1.isLazy = isLazy;
|
|
377
|
+
reactIs_development$1.isMemo = isMemo;
|
|
378
|
+
reactIs_development$1.isPortal = isPortal;
|
|
379
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
380
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
381
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
382
|
+
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
383
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
384
|
+
reactIs_development$1.typeOf = typeOf;
|
|
385
|
+
})();
|
|
386
|
+
}
|
|
387
|
+
return reactIs_development$1;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
if (process.env.NODE_ENV === 'production') {
|
|
391
|
+
reactIs$2.exports = requireReactIs_production_min$1();
|
|
392
|
+
} else {
|
|
393
|
+
reactIs$2.exports = requireReactIs_development$1();
|
|
394
|
+
}
|
|
395
|
+
var reactIsExports$1 = reactIs$2.exports;
|
|
396
|
+
|
|
397
|
+
function stylis_min(W) {
|
|
398
|
+
function M(d, c, e, h, a) {
|
|
399
|
+
for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
|
|
400
|
+
g = e.charCodeAt(l);
|
|
401
|
+
l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
|
|
402
|
+
if (0 === b + n + v + m) {
|
|
403
|
+
if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
|
|
404
|
+
switch (g) {
|
|
405
|
+
case 32:
|
|
406
|
+
case 9:
|
|
407
|
+
case 59:
|
|
408
|
+
case 13:
|
|
409
|
+
case 10:
|
|
410
|
+
break;
|
|
411
|
+
default:
|
|
412
|
+
f += e.charAt(l);
|
|
413
|
+
}
|
|
414
|
+
g = 59;
|
|
415
|
+
}
|
|
416
|
+
switch (g) {
|
|
417
|
+
case 123:
|
|
418
|
+
f = f.trim();
|
|
419
|
+
q = f.charCodeAt(0);
|
|
420
|
+
k = 1;
|
|
421
|
+
for (t = ++l; l < B;) {
|
|
422
|
+
switch (g = e.charCodeAt(l)) {
|
|
423
|
+
case 123:
|
|
424
|
+
k++;
|
|
425
|
+
break;
|
|
426
|
+
case 125:
|
|
427
|
+
k--;
|
|
428
|
+
break;
|
|
429
|
+
case 47:
|
|
430
|
+
switch (g = e.charCodeAt(l + 1)) {
|
|
431
|
+
case 42:
|
|
432
|
+
case 47:
|
|
433
|
+
a: {
|
|
434
|
+
for (u = l + 1; u < J; ++u) {
|
|
435
|
+
switch (e.charCodeAt(u)) {
|
|
436
|
+
case 47:
|
|
437
|
+
if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
|
|
438
|
+
l = u + 1;
|
|
439
|
+
break a;
|
|
440
|
+
}
|
|
441
|
+
break;
|
|
442
|
+
case 10:
|
|
443
|
+
if (47 === g) {
|
|
444
|
+
l = u + 1;
|
|
445
|
+
break a;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
l = u;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
break;
|
|
453
|
+
case 91:
|
|
454
|
+
g++;
|
|
455
|
+
case 40:
|
|
456
|
+
g++;
|
|
457
|
+
case 34:
|
|
458
|
+
case 39:
|
|
459
|
+
for (; l++ < J && e.charCodeAt(l) !== g;) {}
|
|
460
|
+
}
|
|
461
|
+
if (0 === k) break;
|
|
462
|
+
l++;
|
|
463
|
+
}
|
|
464
|
+
k = e.substring(t, l);
|
|
465
|
+
0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
|
|
466
|
+
switch (q) {
|
|
467
|
+
case 64:
|
|
468
|
+
0 < r && (f = f.replace(N, ''));
|
|
469
|
+
g = f.charCodeAt(1);
|
|
470
|
+
switch (g) {
|
|
471
|
+
case 100:
|
|
472
|
+
case 109:
|
|
473
|
+
case 115:
|
|
474
|
+
case 45:
|
|
475
|
+
r = c;
|
|
476
|
+
break;
|
|
477
|
+
default:
|
|
478
|
+
r = O;
|
|
479
|
+
}
|
|
480
|
+
k = M(c, r, k, g, a + 1);
|
|
481
|
+
t = k.length;
|
|
482
|
+
0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
|
|
483
|
+
if (0 < t) switch (g) {
|
|
484
|
+
case 115:
|
|
485
|
+
f = f.replace(da, ea);
|
|
486
|
+
case 100:
|
|
487
|
+
case 109:
|
|
488
|
+
case 45:
|
|
489
|
+
k = f + '{' + k + '}';
|
|
490
|
+
break;
|
|
491
|
+
case 107:
|
|
492
|
+
f = f.replace(fa, '$1 $2');
|
|
493
|
+
k = f + '{' + k + '}';
|
|
494
|
+
k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
|
|
495
|
+
break;
|
|
496
|
+
default:
|
|
497
|
+
k = f + k, 112 === h && (k = (p += k, ''));
|
|
498
|
+
} else k = '';
|
|
499
|
+
break;
|
|
500
|
+
default:
|
|
501
|
+
k = M(c, X(c, f, I), k, h, a + 1);
|
|
502
|
+
}
|
|
503
|
+
F += k;
|
|
504
|
+
k = I = r = u = q = 0;
|
|
505
|
+
f = '';
|
|
506
|
+
g = e.charCodeAt(++l);
|
|
507
|
+
break;
|
|
508
|
+
case 125:
|
|
509
|
+
case 59:
|
|
510
|
+
f = (0 < r ? f.replace(N, '') : f).trim();
|
|
511
|
+
if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
|
|
512
|
+
case 0:
|
|
513
|
+
break;
|
|
514
|
+
case 64:
|
|
515
|
+
if (105 === g || 99 === g) {
|
|
516
|
+
G += f + e.charAt(l);
|
|
517
|
+
break;
|
|
518
|
+
}
|
|
519
|
+
default:
|
|
520
|
+
58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
|
|
521
|
+
}
|
|
522
|
+
I = r = u = q = 0;
|
|
523
|
+
f = '';
|
|
524
|
+
g = e.charCodeAt(++l);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
switch (g) {
|
|
528
|
+
case 13:
|
|
529
|
+
case 10:
|
|
530
|
+
47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
|
|
531
|
+
0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
|
|
532
|
+
z = 1;
|
|
533
|
+
D++;
|
|
534
|
+
break;
|
|
535
|
+
case 59:
|
|
536
|
+
case 125:
|
|
537
|
+
if (0 === b + n + v + m) {
|
|
538
|
+
z++;
|
|
539
|
+
break;
|
|
540
|
+
}
|
|
541
|
+
default:
|
|
542
|
+
z++;
|
|
543
|
+
y = e.charAt(l);
|
|
544
|
+
switch (g) {
|
|
545
|
+
case 9:
|
|
546
|
+
case 32:
|
|
547
|
+
if (0 === n + m + b) switch (x) {
|
|
548
|
+
case 44:
|
|
549
|
+
case 58:
|
|
550
|
+
case 9:
|
|
551
|
+
case 32:
|
|
552
|
+
y = '';
|
|
553
|
+
break;
|
|
554
|
+
default:
|
|
555
|
+
32 !== g && (y = ' ');
|
|
556
|
+
}
|
|
557
|
+
break;
|
|
558
|
+
case 0:
|
|
559
|
+
y = '\\0';
|
|
560
|
+
break;
|
|
561
|
+
case 12:
|
|
562
|
+
y = '\\f';
|
|
563
|
+
break;
|
|
564
|
+
case 11:
|
|
565
|
+
y = '\\v';
|
|
566
|
+
break;
|
|
567
|
+
case 38:
|
|
568
|
+
0 === n + b + m && (r = I = 1, y = '\f' + y);
|
|
569
|
+
break;
|
|
570
|
+
case 108:
|
|
571
|
+
if (0 === n + b + m + E && 0 < u) switch (l - u) {
|
|
572
|
+
case 2:
|
|
573
|
+
112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
|
|
574
|
+
case 8:
|
|
575
|
+
111 === K && (E = K);
|
|
576
|
+
}
|
|
577
|
+
break;
|
|
578
|
+
case 58:
|
|
579
|
+
0 === n + b + m && (u = l);
|
|
580
|
+
break;
|
|
581
|
+
case 44:
|
|
582
|
+
0 === b + v + n + m && (r = 1, y += '\r');
|
|
583
|
+
break;
|
|
584
|
+
case 34:
|
|
585
|
+
case 39:
|
|
586
|
+
0 === b && (n = n === g ? 0 : 0 === n ? g : n);
|
|
587
|
+
break;
|
|
588
|
+
case 91:
|
|
589
|
+
0 === n + b + v && m++;
|
|
590
|
+
break;
|
|
591
|
+
case 93:
|
|
592
|
+
0 === n + b + v && m--;
|
|
593
|
+
break;
|
|
594
|
+
case 41:
|
|
595
|
+
0 === n + b + m && v--;
|
|
596
|
+
break;
|
|
597
|
+
case 40:
|
|
598
|
+
if (0 === n + b + m) {
|
|
599
|
+
if (0 === q) switch (2 * x + 3 * K) {
|
|
600
|
+
case 533:
|
|
601
|
+
break;
|
|
602
|
+
default:
|
|
603
|
+
q = 1;
|
|
604
|
+
}
|
|
605
|
+
v++;
|
|
606
|
+
}
|
|
607
|
+
break;
|
|
608
|
+
case 64:
|
|
609
|
+
0 === b + v + n + m + u + k && (k = 1);
|
|
610
|
+
break;
|
|
611
|
+
case 42:
|
|
612
|
+
case 47:
|
|
613
|
+
if (!(0 < n + m + v)) switch (b) {
|
|
614
|
+
case 0:
|
|
615
|
+
switch (2 * g + 3 * e.charCodeAt(l + 1)) {
|
|
616
|
+
case 235:
|
|
617
|
+
b = 47;
|
|
618
|
+
break;
|
|
619
|
+
case 220:
|
|
620
|
+
t = l, b = 42;
|
|
621
|
+
}
|
|
622
|
+
break;
|
|
623
|
+
case 42:
|
|
624
|
+
47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
0 === b && (f += y);
|
|
628
|
+
}
|
|
629
|
+
K = x;
|
|
630
|
+
x = g;
|
|
631
|
+
l++;
|
|
632
|
+
}
|
|
633
|
+
t = p.length;
|
|
634
|
+
if (0 < t) {
|
|
635
|
+
r = c;
|
|
636
|
+
if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
|
|
637
|
+
p = r.join(',') + '{' + p + '}';
|
|
638
|
+
if (0 !== w * E) {
|
|
639
|
+
2 !== w || L(p, 2) || (E = 0);
|
|
640
|
+
switch (E) {
|
|
641
|
+
case 111:
|
|
642
|
+
p = p.replace(ha, ':-moz-$1') + p;
|
|
643
|
+
break;
|
|
644
|
+
case 112:
|
|
645
|
+
p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
|
|
646
|
+
}
|
|
647
|
+
E = 0;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
return G + p + F;
|
|
651
|
+
}
|
|
652
|
+
function X(d, c, e) {
|
|
653
|
+
var h = c.trim().split(ia);
|
|
654
|
+
c = h;
|
|
655
|
+
var a = h.length,
|
|
656
|
+
m = d.length;
|
|
657
|
+
switch (m) {
|
|
658
|
+
case 0:
|
|
659
|
+
case 1:
|
|
660
|
+
var b = 0;
|
|
661
|
+
for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
|
|
662
|
+
c[b] = Z(d, c[b], e).trim();
|
|
663
|
+
}
|
|
664
|
+
break;
|
|
665
|
+
default:
|
|
666
|
+
var v = b = 0;
|
|
667
|
+
for (c = []; b < a; ++b) {
|
|
668
|
+
for (var n = 0; n < m; ++n) {
|
|
669
|
+
c[v++] = Z(d[n] + ' ', h[b], e).trim();
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
return c;
|
|
674
|
+
}
|
|
675
|
+
function Z(d, c, e) {
|
|
676
|
+
var h = c.charCodeAt(0);
|
|
677
|
+
33 > h && (h = (c = c.trim()).charCodeAt(0));
|
|
678
|
+
switch (h) {
|
|
679
|
+
case 38:
|
|
680
|
+
return c.replace(F, '$1' + d.trim());
|
|
681
|
+
case 58:
|
|
682
|
+
return d.trim() + c.replace(F, '$1' + d.trim());
|
|
683
|
+
default:
|
|
684
|
+
if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
|
|
685
|
+
}
|
|
686
|
+
return d + c;
|
|
687
|
+
}
|
|
688
|
+
function P(d, c, e, h) {
|
|
689
|
+
var a = d + ';',
|
|
690
|
+
m = 2 * c + 3 * e + 4 * h;
|
|
691
|
+
if (944 === m) {
|
|
692
|
+
d = a.indexOf(':', 9) + 1;
|
|
693
|
+
var b = a.substring(d, a.length - 1).trim();
|
|
694
|
+
b = a.substring(0, d).trim() + b + ';';
|
|
695
|
+
return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
|
|
696
|
+
}
|
|
697
|
+
if (0 === w || 2 === w && !L(a, 1)) return a;
|
|
698
|
+
switch (m) {
|
|
699
|
+
case 1015:
|
|
700
|
+
return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
|
|
701
|
+
case 951:
|
|
702
|
+
return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
|
|
703
|
+
case 963:
|
|
704
|
+
return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
|
|
705
|
+
case 1009:
|
|
706
|
+
if (100 !== a.charCodeAt(4)) break;
|
|
707
|
+
case 969:
|
|
708
|
+
case 942:
|
|
709
|
+
return '-webkit-' + a + a;
|
|
710
|
+
case 978:
|
|
711
|
+
return '-webkit-' + a + '-moz-' + a + a;
|
|
712
|
+
case 1019:
|
|
713
|
+
case 983:
|
|
714
|
+
return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
|
|
715
|
+
case 883:
|
|
716
|
+
if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
|
|
717
|
+
if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
|
|
718
|
+
break;
|
|
719
|
+
case 932:
|
|
720
|
+
if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
|
|
721
|
+
case 103:
|
|
722
|
+
return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
|
|
723
|
+
case 115:
|
|
724
|
+
return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
|
|
725
|
+
case 98:
|
|
726
|
+
return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
|
|
727
|
+
}
|
|
728
|
+
return '-webkit-' + a + '-ms-' + a + a;
|
|
729
|
+
case 964:
|
|
730
|
+
return '-webkit-' + a + '-ms-flex-' + a + a;
|
|
731
|
+
case 1023:
|
|
732
|
+
if (99 !== a.charCodeAt(8)) break;
|
|
733
|
+
b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
|
|
734
|
+
return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
|
|
735
|
+
case 1005:
|
|
736
|
+
return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
|
|
737
|
+
case 1e3:
|
|
738
|
+
b = a.substring(13).trim();
|
|
739
|
+
c = b.indexOf('-') + 1;
|
|
740
|
+
switch (b.charCodeAt(0) + b.charCodeAt(c)) {
|
|
741
|
+
case 226:
|
|
742
|
+
b = a.replace(G, 'tb');
|
|
743
|
+
break;
|
|
744
|
+
case 232:
|
|
745
|
+
b = a.replace(G, 'tb-rl');
|
|
746
|
+
break;
|
|
747
|
+
case 220:
|
|
748
|
+
b = a.replace(G, 'lr');
|
|
749
|
+
break;
|
|
750
|
+
default:
|
|
751
|
+
return a;
|
|
752
|
+
}
|
|
753
|
+
return '-webkit-' + a + '-ms-' + b + a;
|
|
754
|
+
case 1017:
|
|
755
|
+
if (-1 === a.indexOf('sticky', 9)) break;
|
|
756
|
+
case 975:
|
|
757
|
+
c = (a = d).length - 10;
|
|
758
|
+
b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
|
|
759
|
+
switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
|
|
760
|
+
case 203:
|
|
761
|
+
if (111 > b.charCodeAt(8)) break;
|
|
762
|
+
case 115:
|
|
763
|
+
a = a.replace(b, '-webkit-' + b) + ';' + a;
|
|
764
|
+
break;
|
|
765
|
+
case 207:
|
|
766
|
+
case 102:
|
|
767
|
+
a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
|
|
768
|
+
}
|
|
769
|
+
return a + ';';
|
|
770
|
+
case 938:
|
|
771
|
+
if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
|
|
772
|
+
case 105:
|
|
773
|
+
return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
|
|
774
|
+
case 115:
|
|
775
|
+
return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
|
|
776
|
+
default:
|
|
777
|
+
return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
|
|
778
|
+
}
|
|
779
|
+
break;
|
|
780
|
+
case 973:
|
|
781
|
+
case 989:
|
|
782
|
+
if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
|
|
783
|
+
case 931:
|
|
784
|
+
case 953:
|
|
785
|
+
if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
|
|
786
|
+
break;
|
|
787
|
+
case 962:
|
|
788
|
+
if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
|
|
789
|
+
}
|
|
790
|
+
return a;
|
|
791
|
+
}
|
|
792
|
+
function L(d, c) {
|
|
793
|
+
var e = d.indexOf(1 === c ? ':' : '{'),
|
|
794
|
+
h = d.substring(0, 3 !== c ? e : 10);
|
|
795
|
+
e = d.substring(e + 1, d.length - 1);
|
|
796
|
+
return R(2 !== c ? h : h.replace(na, '$1'), e, c);
|
|
797
|
+
}
|
|
798
|
+
function ea(d, c) {
|
|
799
|
+
var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
|
|
800
|
+
return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
|
|
801
|
+
}
|
|
802
|
+
function H(d, c, e, h, a, m, b, v, n, q) {
|
|
803
|
+
for (var g = 0, x = c, w; g < A; ++g) {
|
|
804
|
+
switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
|
|
805
|
+
case void 0:
|
|
806
|
+
case !1:
|
|
807
|
+
case !0:
|
|
808
|
+
case null:
|
|
809
|
+
break;
|
|
810
|
+
default:
|
|
811
|
+
x = w;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
if (x !== c) return x;
|
|
815
|
+
}
|
|
816
|
+
function T(d) {
|
|
817
|
+
switch (d) {
|
|
818
|
+
case void 0:
|
|
819
|
+
case null:
|
|
820
|
+
A = S.length = 0;
|
|
821
|
+
break;
|
|
822
|
+
default:
|
|
823
|
+
if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
|
|
824
|
+
T(d[c]);
|
|
825
|
+
} else Y = !!d | 0;
|
|
826
|
+
}
|
|
827
|
+
return T;
|
|
828
|
+
}
|
|
829
|
+
function U(d) {
|
|
830
|
+
d = d.prefix;
|
|
831
|
+
void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
|
|
832
|
+
return U;
|
|
833
|
+
}
|
|
834
|
+
function B(d, c) {
|
|
835
|
+
var e = d;
|
|
836
|
+
33 > e.charCodeAt(0) && (e = e.trim());
|
|
837
|
+
V = e;
|
|
838
|
+
e = [V];
|
|
839
|
+
if (0 < A) {
|
|
840
|
+
var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
|
|
841
|
+
void 0 !== h && 'string' === typeof h && (c = h);
|
|
842
|
+
}
|
|
843
|
+
var a = M(O, e, c, 0, 0);
|
|
844
|
+
0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
|
|
845
|
+
V = '';
|
|
846
|
+
E = 0;
|
|
847
|
+
z = D = 1;
|
|
848
|
+
return a;
|
|
849
|
+
}
|
|
850
|
+
var ca = /^\0+/g,
|
|
851
|
+
N = /[\0\r\f]/g,
|
|
852
|
+
aa = /: */g,
|
|
853
|
+
ka = /zoo|gra/,
|
|
854
|
+
ma = /([,: ])(transform)/g,
|
|
855
|
+
ia = /,\r+?/g,
|
|
856
|
+
F = /([\t\r\n ])*\f?&/g,
|
|
857
|
+
fa = /@(k\w+)\s*(\S*)\s*/,
|
|
858
|
+
Q = /::(place)/g,
|
|
859
|
+
ha = /:(read-only)/g,
|
|
860
|
+
G = /[svh]\w+-[tblr]{2}/,
|
|
861
|
+
da = /\(\s*(.*)\s*\)/g,
|
|
862
|
+
oa = /([\s\S]*?);/g,
|
|
863
|
+
ba = /-self|flex-/g,
|
|
864
|
+
na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
|
|
865
|
+
la = /stretch|:\s*\w+\-(?:conte|avail)/,
|
|
866
|
+
ja = /([^-])(image-set\()/,
|
|
867
|
+
z = 1,
|
|
868
|
+
D = 1,
|
|
869
|
+
E = 0,
|
|
870
|
+
w = 1,
|
|
871
|
+
O = [],
|
|
872
|
+
S = [],
|
|
873
|
+
A = 0,
|
|
874
|
+
R = null,
|
|
875
|
+
Y = 0,
|
|
876
|
+
V = '';
|
|
877
|
+
B.use = T;
|
|
878
|
+
B.set = U;
|
|
879
|
+
void 0 !== W && U(W);
|
|
880
|
+
return B;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
var unitlessKeys = {
|
|
884
|
+
animationIterationCount: 1,
|
|
885
|
+
borderImageOutset: 1,
|
|
886
|
+
borderImageSlice: 1,
|
|
887
|
+
borderImageWidth: 1,
|
|
888
|
+
boxFlex: 1,
|
|
889
|
+
boxFlexGroup: 1,
|
|
890
|
+
boxOrdinalGroup: 1,
|
|
891
|
+
columnCount: 1,
|
|
892
|
+
columns: 1,
|
|
893
|
+
flex: 1,
|
|
894
|
+
flexGrow: 1,
|
|
895
|
+
flexPositive: 1,
|
|
896
|
+
flexShrink: 1,
|
|
897
|
+
flexNegative: 1,
|
|
898
|
+
flexOrder: 1,
|
|
899
|
+
gridRow: 1,
|
|
900
|
+
gridRowEnd: 1,
|
|
901
|
+
gridRowSpan: 1,
|
|
902
|
+
gridRowStart: 1,
|
|
903
|
+
gridColumn: 1,
|
|
904
|
+
gridColumnEnd: 1,
|
|
905
|
+
gridColumnSpan: 1,
|
|
906
|
+
gridColumnStart: 1,
|
|
907
|
+
msGridRow: 1,
|
|
908
|
+
msGridRowSpan: 1,
|
|
909
|
+
msGridColumn: 1,
|
|
910
|
+
msGridColumnSpan: 1,
|
|
911
|
+
fontWeight: 1,
|
|
912
|
+
lineHeight: 1,
|
|
913
|
+
opacity: 1,
|
|
914
|
+
order: 1,
|
|
915
|
+
orphans: 1,
|
|
916
|
+
tabSize: 1,
|
|
917
|
+
widows: 1,
|
|
918
|
+
zIndex: 1,
|
|
919
|
+
zoom: 1,
|
|
920
|
+
WebkitLineClamp: 1,
|
|
921
|
+
// SVG-related properties
|
|
922
|
+
fillOpacity: 1,
|
|
923
|
+
floodOpacity: 1,
|
|
924
|
+
stopOpacity: 1,
|
|
925
|
+
strokeDasharray: 1,
|
|
926
|
+
strokeDashoffset: 1,
|
|
927
|
+
strokeMiterlimit: 1,
|
|
928
|
+
strokeOpacity: 1,
|
|
929
|
+
strokeWidth: 1
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
function memoize(fn) {
|
|
933
|
+
var cache = Object.create(null);
|
|
934
|
+
return function (arg) {
|
|
935
|
+
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
936
|
+
return cache[arg];
|
|
937
|
+
};
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
941
|
+
|
|
942
|
+
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
943
|
+
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
944
|
+
/* o */ && prop.charCodeAt(1) === 110
|
|
945
|
+
/* n */ && prop.charCodeAt(2) < 91;
|
|
946
|
+
}
|
|
947
|
+
/* Z+1 */);
|
|
948
|
+
|
|
949
|
+
var reactIs$1 = {exports: {}};
|
|
950
|
+
|
|
951
|
+
var reactIs_production_min = {};
|
|
952
|
+
|
|
953
|
+
/** @license React v16.13.1
|
|
954
|
+
* react-is.production.min.js
|
|
955
|
+
*
|
|
956
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
957
|
+
*
|
|
958
|
+
* This source code is licensed under the MIT license found in the
|
|
959
|
+
* LICENSE file in the root directory of this source tree.
|
|
960
|
+
*/
|
|
961
|
+
var hasRequiredReactIs_production_min;
|
|
962
|
+
function requireReactIs_production_min() {
|
|
963
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
964
|
+
hasRequiredReactIs_production_min = 1;
|
|
965
|
+
var b = "function" === typeof Symbol && Symbol.for,
|
|
966
|
+
c = b ? Symbol.for("react.element") : 60103,
|
|
967
|
+
d = b ? Symbol.for("react.portal") : 60106,
|
|
968
|
+
e = b ? Symbol.for("react.fragment") : 60107,
|
|
969
|
+
f = b ? Symbol.for("react.strict_mode") : 60108,
|
|
970
|
+
g = b ? Symbol.for("react.profiler") : 60114,
|
|
971
|
+
h = b ? Symbol.for("react.provider") : 60109,
|
|
972
|
+
k = b ? Symbol.for("react.context") : 60110,
|
|
973
|
+
l = b ? Symbol.for("react.async_mode") : 60111,
|
|
974
|
+
m = b ? Symbol.for("react.concurrent_mode") : 60111,
|
|
975
|
+
n = b ? Symbol.for("react.forward_ref") : 60112,
|
|
976
|
+
p = b ? Symbol.for("react.suspense") : 60113,
|
|
977
|
+
q = b ? Symbol.for("react.suspense_list") : 60120,
|
|
978
|
+
r = b ? Symbol.for("react.memo") : 60115,
|
|
979
|
+
t = b ? Symbol.for("react.lazy") : 60116,
|
|
980
|
+
v = b ? Symbol.for("react.block") : 60121,
|
|
981
|
+
w = b ? Symbol.for("react.fundamental") : 60117,
|
|
982
|
+
x = b ? Symbol.for("react.responder") : 60118,
|
|
983
|
+
y = b ? Symbol.for("react.scope") : 60119;
|
|
984
|
+
function z(a) {
|
|
985
|
+
if ("object" === typeof a && null !== a) {
|
|
986
|
+
var u = a.$$typeof;
|
|
987
|
+
switch (u) {
|
|
988
|
+
case c:
|
|
989
|
+
switch (a = a.type, a) {
|
|
990
|
+
case l:
|
|
991
|
+
case m:
|
|
992
|
+
case e:
|
|
993
|
+
case g:
|
|
994
|
+
case f:
|
|
995
|
+
case p:
|
|
996
|
+
return a;
|
|
997
|
+
default:
|
|
998
|
+
switch (a = a && a.$$typeof, a) {
|
|
999
|
+
case k:
|
|
1000
|
+
case n:
|
|
1001
|
+
case t:
|
|
1002
|
+
case r:
|
|
1003
|
+
case h:
|
|
1004
|
+
return a;
|
|
1005
|
+
default:
|
|
1006
|
+
return u;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
case d:
|
|
1010
|
+
return u;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
function A(a) {
|
|
1015
|
+
return z(a) === m;
|
|
1016
|
+
}
|
|
1017
|
+
reactIs_production_min.AsyncMode = l;
|
|
1018
|
+
reactIs_production_min.ConcurrentMode = m;
|
|
1019
|
+
reactIs_production_min.ContextConsumer = k;
|
|
1020
|
+
reactIs_production_min.ContextProvider = h;
|
|
1021
|
+
reactIs_production_min.Element = c;
|
|
1022
|
+
reactIs_production_min.ForwardRef = n;
|
|
1023
|
+
reactIs_production_min.Fragment = e;
|
|
1024
|
+
reactIs_production_min.Lazy = t;
|
|
1025
|
+
reactIs_production_min.Memo = r;
|
|
1026
|
+
reactIs_production_min.Portal = d;
|
|
1027
|
+
reactIs_production_min.Profiler = g;
|
|
1028
|
+
reactIs_production_min.StrictMode = f;
|
|
1029
|
+
reactIs_production_min.Suspense = p;
|
|
1030
|
+
reactIs_production_min.isAsyncMode = function (a) {
|
|
1031
|
+
return A(a) || z(a) === l;
|
|
1032
|
+
};
|
|
1033
|
+
reactIs_production_min.isConcurrentMode = A;
|
|
1034
|
+
reactIs_production_min.isContextConsumer = function (a) {
|
|
1035
|
+
return z(a) === k;
|
|
1036
|
+
};
|
|
1037
|
+
reactIs_production_min.isContextProvider = function (a) {
|
|
1038
|
+
return z(a) === h;
|
|
1039
|
+
};
|
|
1040
|
+
reactIs_production_min.isElement = function (a) {
|
|
1041
|
+
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
1042
|
+
};
|
|
1043
|
+
reactIs_production_min.isForwardRef = function (a) {
|
|
1044
|
+
return z(a) === n;
|
|
1045
|
+
};
|
|
1046
|
+
reactIs_production_min.isFragment = function (a) {
|
|
1047
|
+
return z(a) === e;
|
|
1048
|
+
};
|
|
1049
|
+
reactIs_production_min.isLazy = function (a) {
|
|
1050
|
+
return z(a) === t;
|
|
1051
|
+
};
|
|
1052
|
+
reactIs_production_min.isMemo = function (a) {
|
|
1053
|
+
return z(a) === r;
|
|
1054
|
+
};
|
|
1055
|
+
reactIs_production_min.isPortal = function (a) {
|
|
1056
|
+
return z(a) === d;
|
|
1057
|
+
};
|
|
1058
|
+
reactIs_production_min.isProfiler = function (a) {
|
|
1059
|
+
return z(a) === g;
|
|
1060
|
+
};
|
|
1061
|
+
reactIs_production_min.isStrictMode = function (a) {
|
|
1062
|
+
return z(a) === f;
|
|
1063
|
+
};
|
|
1064
|
+
reactIs_production_min.isSuspense = function (a) {
|
|
1065
|
+
return z(a) === p;
|
|
1066
|
+
};
|
|
1067
|
+
reactIs_production_min.isValidElementType = function (a) {
|
|
1068
|
+
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
1069
|
+
};
|
|
1070
|
+
reactIs_production_min.typeOf = z;
|
|
1071
|
+
return reactIs_production_min;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
var reactIs_development = {};
|
|
1075
|
+
|
|
1076
|
+
/** @license React v16.13.1
|
|
1077
|
+
* react-is.development.js
|
|
1078
|
+
*
|
|
1079
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1080
|
+
*
|
|
1081
|
+
* This source code is licensed under the MIT license found in the
|
|
1082
|
+
* LICENSE file in the root directory of this source tree.
|
|
1083
|
+
*/
|
|
1084
|
+
var hasRequiredReactIs_development;
|
|
1085
|
+
function requireReactIs_development() {
|
|
1086
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
1087
|
+
hasRequiredReactIs_development = 1;
|
|
1088
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1089
|
+
(function () {
|
|
1090
|
+
|
|
1091
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
1092
|
+
// nor polyfill, then a plain number is used for performance.
|
|
1093
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
1094
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
1095
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
1096
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
1097
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
1098
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
1099
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
1100
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
1101
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
1102
|
+
|
|
1103
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
1104
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
1105
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
1106
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
1107
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
1108
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
1109
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
1110
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
1111
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
1112
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
1113
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
1114
|
+
function isValidElementType(type) {
|
|
1115
|
+
return typeof type === 'string' || typeof type === 'function' ||
|
|
1116
|
+
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1117
|
+
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);
|
|
1118
|
+
}
|
|
1119
|
+
function typeOf(object) {
|
|
1120
|
+
if (typeof object === 'object' && object !== null) {
|
|
1121
|
+
var $$typeof = object.$$typeof;
|
|
1122
|
+
switch ($$typeof) {
|
|
1123
|
+
case REACT_ELEMENT_TYPE:
|
|
1124
|
+
var type = object.type;
|
|
1125
|
+
switch (type) {
|
|
1126
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
1127
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
1128
|
+
case REACT_FRAGMENT_TYPE:
|
|
1129
|
+
case REACT_PROFILER_TYPE:
|
|
1130
|
+
case REACT_STRICT_MODE_TYPE:
|
|
1131
|
+
case REACT_SUSPENSE_TYPE:
|
|
1132
|
+
return type;
|
|
1133
|
+
default:
|
|
1134
|
+
var $$typeofType = type && type.$$typeof;
|
|
1135
|
+
switch ($$typeofType) {
|
|
1136
|
+
case REACT_CONTEXT_TYPE:
|
|
1137
|
+
case REACT_FORWARD_REF_TYPE:
|
|
1138
|
+
case REACT_LAZY_TYPE:
|
|
1139
|
+
case REACT_MEMO_TYPE:
|
|
1140
|
+
case REACT_PROVIDER_TYPE:
|
|
1141
|
+
return $$typeofType;
|
|
1142
|
+
default:
|
|
1143
|
+
return $$typeof;
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
case REACT_PORTAL_TYPE:
|
|
1147
|
+
return $$typeof;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
return undefined;
|
|
1151
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
1152
|
+
|
|
1153
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
1154
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
1155
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1156
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1157
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
1158
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1159
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1160
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
1161
|
+
var Memo = REACT_MEMO_TYPE;
|
|
1162
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
1163
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
1164
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1165
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1166
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
1167
|
+
|
|
1168
|
+
function isAsyncMode(object) {
|
|
1169
|
+
{
|
|
1170
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1171
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1172
|
+
|
|
1173
|
+
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.');
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
1177
|
+
}
|
|
1178
|
+
function isConcurrentMode(object) {
|
|
1179
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
1180
|
+
}
|
|
1181
|
+
function isContextConsumer(object) {
|
|
1182
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1183
|
+
}
|
|
1184
|
+
function isContextProvider(object) {
|
|
1185
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1186
|
+
}
|
|
1187
|
+
function isElement(object) {
|
|
1188
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1189
|
+
}
|
|
1190
|
+
function isForwardRef(object) {
|
|
1191
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1192
|
+
}
|
|
1193
|
+
function isFragment(object) {
|
|
1194
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1195
|
+
}
|
|
1196
|
+
function isLazy(object) {
|
|
1197
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1198
|
+
}
|
|
1199
|
+
function isMemo(object) {
|
|
1200
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1201
|
+
}
|
|
1202
|
+
function isPortal(object) {
|
|
1203
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1204
|
+
}
|
|
1205
|
+
function isProfiler(object) {
|
|
1206
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1207
|
+
}
|
|
1208
|
+
function isStrictMode(object) {
|
|
1209
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1210
|
+
}
|
|
1211
|
+
function isSuspense(object) {
|
|
1212
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1213
|
+
}
|
|
1214
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
1215
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
1216
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1217
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
1218
|
+
reactIs_development.Element = Element;
|
|
1219
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
1220
|
+
reactIs_development.Fragment = Fragment;
|
|
1221
|
+
reactIs_development.Lazy = Lazy;
|
|
1222
|
+
reactIs_development.Memo = Memo;
|
|
1223
|
+
reactIs_development.Portal = Portal;
|
|
1224
|
+
reactIs_development.Profiler = Profiler;
|
|
1225
|
+
reactIs_development.StrictMode = StrictMode;
|
|
1226
|
+
reactIs_development.Suspense = Suspense;
|
|
1227
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1228
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1229
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1230
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
1231
|
+
reactIs_development.isElement = isElement;
|
|
1232
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
1233
|
+
reactIs_development.isFragment = isFragment;
|
|
1234
|
+
reactIs_development.isLazy = isLazy;
|
|
1235
|
+
reactIs_development.isMemo = isMemo;
|
|
1236
|
+
reactIs_development.isPortal = isPortal;
|
|
1237
|
+
reactIs_development.isProfiler = isProfiler;
|
|
1238
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
1239
|
+
reactIs_development.isSuspense = isSuspense;
|
|
1240
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
1241
|
+
reactIs_development.typeOf = typeOf;
|
|
1242
|
+
})();
|
|
1243
|
+
}
|
|
1244
|
+
return reactIs_development;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
if (process.env.NODE_ENV === 'production') {
|
|
1248
|
+
reactIs$1.exports = requireReactIs_production_min();
|
|
1249
|
+
} else {
|
|
1250
|
+
reactIs$1.exports = requireReactIs_development();
|
|
1251
|
+
}
|
|
1252
|
+
var reactIsExports = reactIs$1.exports;
|
|
1253
|
+
|
|
1254
|
+
var reactIs = reactIsExports;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Copyright 2015, Yahoo! Inc.
|
|
1258
|
+
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
|
1259
|
+
*/
|
|
1260
|
+
var REACT_STATICS = {
|
|
1261
|
+
childContextTypes: true,
|
|
1262
|
+
contextType: true,
|
|
1263
|
+
contextTypes: true,
|
|
1264
|
+
defaultProps: true,
|
|
1265
|
+
displayName: true,
|
|
1266
|
+
getDefaultProps: true,
|
|
1267
|
+
getDerivedStateFromError: true,
|
|
1268
|
+
getDerivedStateFromProps: true,
|
|
1269
|
+
mixins: true,
|
|
1270
|
+
propTypes: true,
|
|
1271
|
+
type: true
|
|
1272
|
+
};
|
|
1273
|
+
var KNOWN_STATICS = {
|
|
1274
|
+
name: true,
|
|
1275
|
+
length: true,
|
|
1276
|
+
prototype: true,
|
|
1277
|
+
caller: true,
|
|
1278
|
+
callee: true,
|
|
1279
|
+
arguments: true,
|
|
1280
|
+
arity: true
|
|
1281
|
+
};
|
|
1282
|
+
var FORWARD_REF_STATICS = {
|
|
1283
|
+
'$$typeof': true,
|
|
1284
|
+
render: true,
|
|
1285
|
+
defaultProps: true,
|
|
1286
|
+
displayName: true,
|
|
1287
|
+
propTypes: true
|
|
1288
|
+
};
|
|
1289
|
+
var MEMO_STATICS = {
|
|
1290
|
+
'$$typeof': true,
|
|
1291
|
+
compare: true,
|
|
1292
|
+
defaultProps: true,
|
|
1293
|
+
displayName: true,
|
|
1294
|
+
propTypes: true,
|
|
1295
|
+
type: true
|
|
1296
|
+
};
|
|
1297
|
+
var TYPE_STATICS = {};
|
|
1298
|
+
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
1299
|
+
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
1300
|
+
function getStatics(component) {
|
|
1301
|
+
// React v16.11 and below
|
|
1302
|
+
if (reactIs.isMemo(component)) {
|
|
1303
|
+
return MEMO_STATICS;
|
|
1304
|
+
} // React v16.12 and above
|
|
1305
|
+
|
|
1306
|
+
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
|
1307
|
+
}
|
|
1308
|
+
var defineProperty = Object.defineProperty;
|
|
1309
|
+
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
1310
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
1311
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1312
|
+
var getPrototypeOf = Object.getPrototypeOf;
|
|
1313
|
+
var objectPrototype = Object.prototype;
|
|
1314
|
+
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
1315
|
+
if (typeof sourceComponent !== 'string') {
|
|
1316
|
+
// don't hoist over string (html) components
|
|
1317
|
+
if (objectPrototype) {
|
|
1318
|
+
var inheritedComponent = getPrototypeOf(sourceComponent);
|
|
1319
|
+
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
|
1320
|
+
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
var keys = getOwnPropertyNames(sourceComponent);
|
|
1324
|
+
if (getOwnPropertySymbols) {
|
|
1325
|
+
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
1326
|
+
}
|
|
1327
|
+
var targetStatics = getStatics(targetComponent);
|
|
1328
|
+
var sourceStatics = getStatics(sourceComponent);
|
|
1329
|
+
for (var i = 0; i < keys.length; ++i) {
|
|
1330
|
+
var key = keys[i];
|
|
1331
|
+
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
1332
|
+
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
1333
|
+
try {
|
|
1334
|
+
// Avoid failures from read-only properties
|
|
1335
|
+
defineProperty(targetComponent, key, descriptor);
|
|
1336
|
+
} catch (e) {}
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
return targetComponent;
|
|
1341
|
+
}
|
|
1342
|
+
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
1343
|
+
var m = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
|
|
1344
|
+
|
|
1345
|
+
function y() {
|
|
1346
|
+
return (y = Object.assign || function (e) {
|
|
1347
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1348
|
+
var n = arguments[t];
|
|
1349
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
1350
|
+
}
|
|
1351
|
+
return e;
|
|
1352
|
+
}).apply(this, arguments);
|
|
1353
|
+
}
|
|
1354
|
+
var v = function (e, t) {
|
|
1355
|
+
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
1356
|
+
return n;
|
|
1357
|
+
},
|
|
1358
|
+
g = function (t) {
|
|
1359
|
+
return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
|
|
1360
|
+
},
|
|
1361
|
+
S = Object.freeze([]),
|
|
1362
|
+
w = Object.freeze({});
|
|
1363
|
+
function E(e) {
|
|
1364
|
+
return "function" == typeof e;
|
|
1365
|
+
}
|
|
1366
|
+
function b(e) {
|
|
1367
|
+
return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
|
|
1368
|
+
}
|
|
1369
|
+
function _(e) {
|
|
1370
|
+
return e && "string" == typeof e.styledComponentId;
|
|
1371
|
+
}
|
|
1372
|
+
var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
1373
|
+
C = "undefined" != typeof window && "HTMLElement" in window,
|
|
1374
|
+
I = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
|
|
1375
|
+
O = "production" !== process.env.NODE_ENV ? {
|
|
1376
|
+
1: "Cannot create styled-component for component: %s.\n\n",
|
|
1377
|
+
2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
|
|
1378
|
+
3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
|
|
1379
|
+
4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
|
|
1380
|
+
5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
|
|
1381
|
+
6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
|
|
1382
|
+
7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
|
|
1383
|
+
8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
|
|
1384
|
+
9: "Missing document `<head>`\n\n",
|
|
1385
|
+
10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
|
|
1386
|
+
11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
|
|
1387
|
+
12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
|
|
1388
|
+
13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
|
|
1389
|
+
14: 'ThemeProvider: "theme" prop is required.\n\n',
|
|
1390
|
+
15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
|
|
1391
|
+
16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
|
|
1392
|
+
17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
|
|
1393
|
+
} : {};
|
|
1394
|
+
function R() {
|
|
1395
|
+
for (var e = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, r = arguments.length; n < r; n += 1) t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
|
|
1396
|
+
return t.forEach(function (t) {
|
|
1397
|
+
e = e.replace(/%[a-z]/, t);
|
|
1398
|
+
}), e;
|
|
1399
|
+
}
|
|
1400
|
+
function D(e) {
|
|
1401
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1402
|
+
throw "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(R.apply(void 0, [O[e]].concat(n)).trim());
|
|
1403
|
+
}
|
|
1404
|
+
var j = function () {
|
|
1405
|
+
function e(e) {
|
|
1406
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
1407
|
+
}
|
|
1408
|
+
var t = e.prototype;
|
|
1409
|
+
return t.indexOfGroup = function (e) {
|
|
1410
|
+
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
1411
|
+
return t;
|
|
1412
|
+
}, t.insertRules = function (e, t) {
|
|
1413
|
+
if (e >= this.groupSizes.length) {
|
|
1414
|
+
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
|
|
1415
|
+
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
1416
|
+
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
1417
|
+
}
|
|
1418
|
+
for (var i = this.indexOfGroup(e + 1), a = 0, c = t.length; a < c; a++) this.tag.insertRule(i, t[a]) && (this.groupSizes[e]++, i++);
|
|
1419
|
+
}, t.clearGroup = function (e) {
|
|
1420
|
+
if (e < this.length) {
|
|
1421
|
+
var t = this.groupSizes[e],
|
|
1422
|
+
n = this.indexOfGroup(e),
|
|
1423
|
+
r = n + t;
|
|
1424
|
+
this.groupSizes[e] = 0;
|
|
1425
|
+
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
1426
|
+
}
|
|
1427
|
+
}, t.getGroup = function (e) {
|
|
1428
|
+
var t = "";
|
|
1429
|
+
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
1430
|
+
for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += this.tag.getRule(s) + "/*!sc*/\n";
|
|
1431
|
+
return t;
|
|
1432
|
+
}, e;
|
|
1433
|
+
}(),
|
|
1434
|
+
T = new Map(),
|
|
1435
|
+
x = new Map(),
|
|
1436
|
+
k = 1,
|
|
1437
|
+
V = function (e) {
|
|
1438
|
+
if (T.has(e)) return T.get(e);
|
|
1439
|
+
for (; x.has(k);) k++;
|
|
1440
|
+
var t = k++;
|
|
1441
|
+
return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && D(16, "" + t), T.set(e, t), x.set(t, e), t;
|
|
1442
|
+
},
|
|
1443
|
+
z = function (e) {
|
|
1444
|
+
return x.get(e);
|
|
1445
|
+
},
|
|
1446
|
+
B = function (e, t) {
|
|
1447
|
+
t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
|
|
1448
|
+
},
|
|
1449
|
+
M = "style[" + N + '][data-styled-version="5.3.6"]',
|
|
1450
|
+
G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
|
|
1451
|
+
L = function (e, t, n) {
|
|
1452
|
+
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
1453
|
+
},
|
|
1454
|
+
F = function (e, t) {
|
|
1455
|
+
for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
|
|
1456
|
+
var i = n[o].trim();
|
|
1457
|
+
if (i) {
|
|
1458
|
+
var a = i.match(G);
|
|
1459
|
+
if (a) {
|
|
1460
|
+
var c = 0 | parseInt(a[1], 10),
|
|
1461
|
+
u = a[2];
|
|
1462
|
+
0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
1463
|
+
} else r.push(i);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
Y = function () {
|
|
1468
|
+
return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
|
|
1469
|
+
},
|
|
1470
|
+
q = function (e) {
|
|
1471
|
+
var t = document.head,
|
|
1472
|
+
n = e || t,
|
|
1473
|
+
r = document.createElement("style"),
|
|
1474
|
+
o = function (e) {
|
|
1475
|
+
for (var t = e.childNodes, n = t.length; n >= 0; n--) {
|
|
1476
|
+
var r = t[n];
|
|
1477
|
+
if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
|
|
1478
|
+
}
|
|
1479
|
+
}(n),
|
|
1480
|
+
s = void 0 !== o ? o.nextSibling : null;
|
|
1481
|
+
r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.6");
|
|
1482
|
+
var i = Y();
|
|
1483
|
+
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
1484
|
+
},
|
|
1485
|
+
H = function () {
|
|
1486
|
+
function e(e) {
|
|
1487
|
+
var t = this.element = q(e);
|
|
1488
|
+
t.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
1489
|
+
if (e.sheet) return e.sheet;
|
|
1490
|
+
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
1491
|
+
var o = t[n];
|
|
1492
|
+
if (o.ownerNode === e) return o;
|
|
1493
|
+
}
|
|
1494
|
+
D(17);
|
|
1495
|
+
}(t), this.length = 0;
|
|
1496
|
+
}
|
|
1497
|
+
var t = e.prototype;
|
|
1498
|
+
return t.insertRule = function (e, t) {
|
|
1499
|
+
try {
|
|
1500
|
+
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
1501
|
+
} catch (e) {
|
|
1502
|
+
return !1;
|
|
1503
|
+
}
|
|
1504
|
+
}, t.deleteRule = function (e) {
|
|
1505
|
+
this.sheet.deleteRule(e), this.length--;
|
|
1506
|
+
}, t.getRule = function (e) {
|
|
1507
|
+
var t = this.sheet.cssRules[e];
|
|
1508
|
+
return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
|
|
1509
|
+
}, e;
|
|
1510
|
+
}(),
|
|
1511
|
+
$ = function () {
|
|
1512
|
+
function e(e) {
|
|
1513
|
+
var t = this.element = q(e);
|
|
1514
|
+
this.nodes = t.childNodes, this.length = 0;
|
|
1515
|
+
}
|
|
1516
|
+
var t = e.prototype;
|
|
1517
|
+
return t.insertRule = function (e, t) {
|
|
1518
|
+
if (e <= this.length && e >= 0) {
|
|
1519
|
+
var n = document.createTextNode(t),
|
|
1520
|
+
r = this.nodes[e];
|
|
1521
|
+
return this.element.insertBefore(n, r || null), this.length++, !0;
|
|
1522
|
+
}
|
|
1523
|
+
return !1;
|
|
1524
|
+
}, t.deleteRule = function (e) {
|
|
1525
|
+
this.element.removeChild(this.nodes[e]), this.length--;
|
|
1526
|
+
}, t.getRule = function (e) {
|
|
1527
|
+
return e < this.length ? this.nodes[e].textContent : "";
|
|
1528
|
+
}, e;
|
|
1529
|
+
}(),
|
|
1530
|
+
W = function () {
|
|
1531
|
+
function e(e) {
|
|
1532
|
+
this.rules = [], this.length = 0;
|
|
1533
|
+
}
|
|
1534
|
+
var t = e.prototype;
|
|
1535
|
+
return t.insertRule = function (e, t) {
|
|
1536
|
+
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
1537
|
+
}, t.deleteRule = function (e) {
|
|
1538
|
+
this.rules.splice(e, 1), this.length--;
|
|
1539
|
+
}, t.getRule = function (e) {
|
|
1540
|
+
return e < this.length ? this.rules[e] : "";
|
|
1541
|
+
}, e;
|
|
1542
|
+
}(),
|
|
1543
|
+
U = C,
|
|
1544
|
+
J = {
|
|
1545
|
+
isServer: !C,
|
|
1546
|
+
useCSSOMInjection: !I
|
|
1547
|
+
},
|
|
1548
|
+
X = function () {
|
|
1549
|
+
function e(e, t, n) {
|
|
1550
|
+
void 0 === e && (e = w), void 0 === t && (t = {}), this.options = y({}, J, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && C && U && (U = !1, function (e) {
|
|
1551
|
+
for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
|
|
1552
|
+
var o = t[n];
|
|
1553
|
+
o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
1554
|
+
}
|
|
1555
|
+
}(this));
|
|
1556
|
+
}
|
|
1557
|
+
e.registerId = function (e) {
|
|
1558
|
+
return V(e);
|
|
1559
|
+
};
|
|
1560
|
+
var t = e.prototype;
|
|
1561
|
+
return t.reconstructWithOptions = function (t, n) {
|
|
1562
|
+
return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
|
|
1563
|
+
}, t.allocateGSInstance = function (e) {
|
|
1564
|
+
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
1565
|
+
}, t.getTag = function () {
|
|
1566
|
+
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new W(o) : r ? new H(o) : new $(o), new j(e)));
|
|
1567
|
+
var e, t, n, r, o;
|
|
1568
|
+
}, t.hasNameForId = function (e, t) {
|
|
1569
|
+
return this.names.has(e) && this.names.get(e).has(t);
|
|
1570
|
+
}, t.registerName = function (e, t) {
|
|
1571
|
+
if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
1572
|
+
var n = new Set();
|
|
1573
|
+
n.add(t), this.names.set(e, n);
|
|
1574
|
+
}
|
|
1575
|
+
}, t.insertRules = function (e, t, n) {
|
|
1576
|
+
this.registerName(e, t), this.getTag().insertRules(V(e), n);
|
|
1577
|
+
}, t.clearNames = function (e) {
|
|
1578
|
+
this.names.has(e) && this.names.get(e).clear();
|
|
1579
|
+
}, t.clearRules = function (e) {
|
|
1580
|
+
this.getTag().clearGroup(V(e)), this.clearNames(e);
|
|
1581
|
+
}, t.clearTag = function () {
|
|
1582
|
+
this.tag = void 0;
|
|
1583
|
+
}, t.toString = function () {
|
|
1584
|
+
return function (e) {
|
|
1585
|
+
for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
|
|
1586
|
+
var s = z(o);
|
|
1587
|
+
if (void 0 !== s) {
|
|
1588
|
+
var i = e.names.get(s),
|
|
1589
|
+
a = t.getGroup(o);
|
|
1590
|
+
if (i && a && i.size) {
|
|
1591
|
+
var c = N + ".g" + o + '[id="' + s + '"]',
|
|
1592
|
+
u = "";
|
|
1593
|
+
void 0 !== i && i.forEach(function (e) {
|
|
1594
|
+
e.length > 0 && (u += e + ",");
|
|
1595
|
+
}), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
return r;
|
|
1600
|
+
}(this);
|
|
1601
|
+
}, e;
|
|
1602
|
+
}(),
|
|
1603
|
+
Z = /(a)(d)/gi,
|
|
1604
|
+
K = function (e) {
|
|
1605
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1606
|
+
};
|
|
1607
|
+
function Q(e) {
|
|
1608
|
+
var t,
|
|
1609
|
+
n = "";
|
|
1610
|
+
for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
|
|
1611
|
+
return (K(t % 52) + n).replace(Z, "$1-$2");
|
|
1612
|
+
}
|
|
1613
|
+
var ee = function (e, t) {
|
|
1614
|
+
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
1615
|
+
return e;
|
|
1616
|
+
},
|
|
1617
|
+
te = function (e) {
|
|
1618
|
+
return ee(5381, e);
|
|
1619
|
+
};
|
|
1620
|
+
function ne(e) {
|
|
1621
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
1622
|
+
var n = e[t];
|
|
1623
|
+
if (E(n) && !_(n)) return !1;
|
|
1624
|
+
}
|
|
1625
|
+
return !0;
|
|
1626
|
+
}
|
|
1627
|
+
var re = te("5.3.6"),
|
|
1628
|
+
oe = function () {
|
|
1629
|
+
function e(e, t, n) {
|
|
1630
|
+
this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && ne(e), this.componentId = t, this.baseHash = ee(re, t), this.baseStyle = n, X.registerId(t);
|
|
1631
|
+
}
|
|
1632
|
+
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
1633
|
+
var r = this.componentId,
|
|
1634
|
+
o = [];
|
|
1635
|
+
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
|
|
1636
|
+
if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
|
|
1637
|
+
var s = _e(this.rules, e, t, n).join(""),
|
|
1638
|
+
i = Q(ee(this.baseHash, s) >>> 0);
|
|
1639
|
+
if (!t.hasNameForId(r, i)) {
|
|
1640
|
+
var a = n(s, "." + i, void 0, r);
|
|
1641
|
+
t.insertRules(r, i, a);
|
|
1642
|
+
}
|
|
1643
|
+
o.push(i), this.staticRulesId = i;
|
|
1644
|
+
}
|
|
1645
|
+
} else {
|
|
1646
|
+
for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
|
|
1647
|
+
var h = this.rules[d];
|
|
1648
|
+
if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = ee(u, h + d));else if (h) {
|
|
1649
|
+
var p = _e(h, e, t, n),
|
|
1650
|
+
f = Array.isArray(p) ? p.join("") : p;
|
|
1651
|
+
u = ee(u, f + d), l += f;
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
if (l) {
|
|
1655
|
+
var m = Q(u >>> 0);
|
|
1656
|
+
if (!t.hasNameForId(r, m)) {
|
|
1657
|
+
var y = n(l, "." + m, void 0, r);
|
|
1658
|
+
t.insertRules(r, m, y);
|
|
1659
|
+
}
|
|
1660
|
+
o.push(m);
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
return o.join(" ");
|
|
1664
|
+
}, e;
|
|
1665
|
+
}(),
|
|
1666
|
+
se = /^\s*\/\/.*$/gm,
|
|
1667
|
+
ie = [":", "[", ".", "#"];
|
|
1668
|
+
function ae(e) {
|
|
1669
|
+
var t,
|
|
1670
|
+
n,
|
|
1671
|
+
r,
|
|
1672
|
+
o,
|
|
1673
|
+
s = void 0 === e ? w : e,
|
|
1674
|
+
i = s.options,
|
|
1675
|
+
a = void 0 === i ? w : i,
|
|
1676
|
+
c = s.plugins,
|
|
1677
|
+
u = void 0 === c ? S : c,
|
|
1678
|
+
l = new stylis_min(a),
|
|
1679
|
+
d = [],
|
|
1680
|
+
p = function (e) {
|
|
1681
|
+
function t(t) {
|
|
1682
|
+
if (t) try {
|
|
1683
|
+
e(t + "}");
|
|
1684
|
+
} catch (e) {}
|
|
1685
|
+
}
|
|
1686
|
+
return function (n, r, o, s, i, a, c, u, l, d) {
|
|
1687
|
+
switch (n) {
|
|
1688
|
+
case 1:
|
|
1689
|
+
if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
|
|
1690
|
+
break;
|
|
1691
|
+
case 2:
|
|
1692
|
+
if (0 === u) return r + "/*|*/";
|
|
1693
|
+
break;
|
|
1694
|
+
case 3:
|
|
1695
|
+
switch (u) {
|
|
1696
|
+
case 102:
|
|
1697
|
+
case 112:
|
|
1698
|
+
return e(o[0] + r), "";
|
|
1699
|
+
default:
|
|
1700
|
+
return r + (0 === d ? "/*|*/" : "");
|
|
1701
|
+
}
|
|
1702
|
+
case -2:
|
|
1703
|
+
r.split("/*|*/}").forEach(t);
|
|
1704
|
+
}
|
|
1705
|
+
};
|
|
1706
|
+
}(function (e) {
|
|
1707
|
+
d.push(e);
|
|
1708
|
+
}),
|
|
1709
|
+
f = function (e, r, s) {
|
|
1710
|
+
return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
|
|
1711
|
+
};
|
|
1712
|
+
function m(e, s, i, a) {
|
|
1713
|
+
void 0 === a && (a = "&");
|
|
1714
|
+
var c = e.replace(se, ""),
|
|
1715
|
+
u = s && i ? i + " " + s + " { " + c + " }" : c;
|
|
1716
|
+
return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
|
|
1717
|
+
}
|
|
1718
|
+
return l.use([].concat(u, [function (e, t, o) {
|
|
1719
|
+
2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
|
|
1720
|
+
}, p, function (e) {
|
|
1721
|
+
if (-2 === e) {
|
|
1722
|
+
var t = d;
|
|
1723
|
+
return d = [], t;
|
|
1724
|
+
}
|
|
1725
|
+
}])), m.hash = u.length ? u.reduce(function (e, t) {
|
|
1726
|
+
return t.name || D(15), ee(e, t.name);
|
|
1727
|
+
}, 5381).toString() : "", m;
|
|
1728
|
+
}
|
|
1729
|
+
var ce = React.createContext();
|
|
1730
|
+
ce.Consumer;
|
|
1731
|
+
var le = React.createContext(),
|
|
1732
|
+
de = (le.Consumer, new X()),
|
|
1733
|
+
he = ae();
|
|
1734
|
+
function pe() {
|
|
1735
|
+
return useContext(ce) || de;
|
|
1736
|
+
}
|
|
1737
|
+
function fe() {
|
|
1738
|
+
return useContext(le) || he;
|
|
1739
|
+
}
|
|
1740
|
+
var ye = function () {
|
|
1741
|
+
function e(e, t) {
|
|
1742
|
+
var n = this;
|
|
1743
|
+
this.inject = function (e, t) {
|
|
1744
|
+
void 0 === t && (t = he);
|
|
1745
|
+
var r = n.name + t.hash;
|
|
1746
|
+
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
1747
|
+
}, this.toString = function () {
|
|
1748
|
+
return D(12, String(n.name));
|
|
1749
|
+
}, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
|
|
1750
|
+
}
|
|
1751
|
+
return e.prototype.getName = function (e) {
|
|
1752
|
+
return void 0 === e && (e = he), this.name + e.hash;
|
|
1753
|
+
}, e;
|
|
1754
|
+
}(),
|
|
1755
|
+
ve = /([A-Z])/,
|
|
1756
|
+
ge = /([A-Z])/g,
|
|
1757
|
+
Se = /^ms-/,
|
|
1758
|
+
we = function (e) {
|
|
1759
|
+
return "-" + e.toLowerCase();
|
|
1760
|
+
};
|
|
1761
|
+
function Ee(e) {
|
|
1762
|
+
return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
|
|
1763
|
+
}
|
|
1764
|
+
var be = function (e) {
|
|
1765
|
+
return null == e || !1 === e || "" === e;
|
|
1766
|
+
};
|
|
1767
|
+
function _e(e, n, r, o) {
|
|
1768
|
+
if (Array.isArray(e)) {
|
|
1769
|
+
for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = _e(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
|
|
1770
|
+
return i;
|
|
1771
|
+
}
|
|
1772
|
+
if (be(e)) return "";
|
|
1773
|
+
if (_(e)) return "." + e.styledComponentId;
|
|
1774
|
+
if (E(e)) {
|
|
1775
|
+
if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
|
|
1776
|
+
var u = e(n);
|
|
1777
|
+
return "production" !== process.env.NODE_ENV && reactIsExports$1.isElement(u) && console.warn(b(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _e(u, n, r, o);
|
|
1778
|
+
}
|
|
1779
|
+
var l;
|
|
1780
|
+
return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
|
|
1781
|
+
var r,
|
|
1782
|
+
o,
|
|
1783
|
+
s = [];
|
|
1784
|
+
for (var i in t) t.hasOwnProperty(i) && !be(t[i]) && (Array.isArray(t[i]) && t[i].isCss || E(t[i]) ? s.push(Ee(i) + ":", t[i], ";") : g(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(Ee(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys ? String(o).trim() : o + "px") + ";"));
|
|
1785
|
+
return n ? [n + " {"].concat(s, ["}"]) : s;
|
|
1786
|
+
}(e) : e.toString();
|
|
1787
|
+
}
|
|
1788
|
+
var Ne = function (e) {
|
|
1789
|
+
return Array.isArray(e) && (e.isCss = !0), e;
|
|
1790
|
+
};
|
|
1791
|
+
function Ae(e) {
|
|
1792
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1793
|
+
return E(e) || g(e) ? Ne(_e(v(S, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : Ne(_e(v(e, n)));
|
|
1794
|
+
}
|
|
1795
|
+
var Ce = /invalid hook call/i,
|
|
1796
|
+
Ie = new Set(),
|
|
1797
|
+
Pe = function (e, t) {
|
|
1798
|
+
if ("production" !== process.env.NODE_ENV) {
|
|
1799
|
+
var n = "The component " + e + (t ? ' with the id of "' + t + '"' : "") + " has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
|
|
1800
|
+
r = console.error;
|
|
1801
|
+
try {
|
|
1802
|
+
var o = !0;
|
|
1803
|
+
console.error = function (e) {
|
|
1804
|
+
if (Ce.test(e)) o = !1, Ie.delete(n);else {
|
|
1805
|
+
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
|
|
1806
|
+
r.apply(void 0, [e].concat(s));
|
|
1807
|
+
}
|
|
1808
|
+
}, useRef(), o && !Ie.has(n) && (console.warn(n), Ie.add(n));
|
|
1809
|
+
} catch (e) {
|
|
1810
|
+
Ce.test(e.message) && Ie.delete(n);
|
|
1811
|
+
} finally {
|
|
1812
|
+
console.error = r;
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
Oe = function (e, t, n) {
|
|
1817
|
+
return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
|
|
1818
|
+
},
|
|
1819
|
+
Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
1820
|
+
De = /(^-|-$)/g;
|
|
1821
|
+
function je(e) {
|
|
1822
|
+
return e.replace(Re, "-").replace(De, "");
|
|
1823
|
+
}
|
|
1824
|
+
var Te = function (e) {
|
|
1825
|
+
return Q(te(e) >>> 0);
|
|
1826
|
+
};
|
|
1827
|
+
function xe(e) {
|
|
1828
|
+
return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
1829
|
+
}
|
|
1830
|
+
var ke = function (e) {
|
|
1831
|
+
return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
|
|
1832
|
+
},
|
|
1833
|
+
Ve = function (e) {
|
|
1834
|
+
return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
|
|
1835
|
+
};
|
|
1836
|
+
function ze(e, t, n) {
|
|
1837
|
+
var r = e[n];
|
|
1838
|
+
ke(t) && ke(r) ? Be(r, t) : e[n] = t;
|
|
1839
|
+
}
|
|
1840
|
+
function Be(e) {
|
|
1841
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1842
|
+
for (var o = 0, s = n; o < s.length; o++) {
|
|
1843
|
+
var i = s[o];
|
|
1844
|
+
if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
|
|
1845
|
+
}
|
|
1846
|
+
return e;
|
|
1847
|
+
}
|
|
1848
|
+
var Me = React.createContext();
|
|
1849
|
+
Me.Consumer;
|
|
1850
|
+
var Fe = {};
|
|
1851
|
+
function Ye(e, t, n) {
|
|
1852
|
+
var o = _(e),
|
|
1853
|
+
i = !xe(e),
|
|
1854
|
+
a = t.attrs,
|
|
1855
|
+
c = void 0 === a ? S : a,
|
|
1856
|
+
d = t.componentId,
|
|
1857
|
+
h = void 0 === d ? function (e, t) {
|
|
1858
|
+
var n = "string" != typeof e ? "sc" : je(e);
|
|
1859
|
+
Fe[n] = (Fe[n] || 0) + 1;
|
|
1860
|
+
var r = n + "-" + Te("5.3.6" + n + Fe[n]);
|
|
1861
|
+
return t ? t + "-" + r : r;
|
|
1862
|
+
}(t.displayName, t.parentComponentId) : d,
|
|
1863
|
+
p = t.displayName,
|
|
1864
|
+
v = void 0 === p ? function (e) {
|
|
1865
|
+
return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
|
|
1866
|
+
}(e) : p,
|
|
1867
|
+
g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
|
|
1868
|
+
N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
|
|
1869
|
+
A = t.shouldForwardProp;
|
|
1870
|
+
o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
|
|
1871
|
+
return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
|
|
1872
|
+
} : e.shouldForwardProp);
|
|
1873
|
+
var C,
|
|
1874
|
+
I = new oe(n, g, o ? e.componentStyle : void 0),
|
|
1875
|
+
P = I.isStatic && 0 === c.length,
|
|
1876
|
+
O = function (e, t) {
|
|
1877
|
+
return function (e, t, n, r) {
|
|
1878
|
+
var o = e.attrs,
|
|
1879
|
+
i = e.componentStyle,
|
|
1880
|
+
a = e.defaultProps,
|
|
1881
|
+
c = e.foldedComponentIds,
|
|
1882
|
+
d = e.shouldForwardProp,
|
|
1883
|
+
h = e.styledComponentId,
|
|
1884
|
+
p = e.target;
|
|
1885
|
+
"production" !== process.env.NODE_ENV && useDebugValue(h);
|
|
1886
|
+
var m = function (e, t, n) {
|
|
1887
|
+
void 0 === e && (e = w);
|
|
1888
|
+
var r = y({}, t, {
|
|
1889
|
+
theme: e
|
|
1890
|
+
}),
|
|
1891
|
+
o = {};
|
|
1892
|
+
return n.forEach(function (e) {
|
|
1893
|
+
var t,
|
|
1894
|
+
n,
|
|
1895
|
+
s,
|
|
1896
|
+
i = e;
|
|
1897
|
+
for (t in E(i) && (i = i(r)), i) r[t] = o[t] = "className" === t ? (n = o[t], s = i[t], n && s ? n + " " + s : n || s) : i[t];
|
|
1898
|
+
}), [r, o];
|
|
1899
|
+
}(Oe(t, useContext(Me), a) || w, t, o),
|
|
1900
|
+
v = m[0],
|
|
1901
|
+
g = m[1],
|
|
1902
|
+
S = function (e, t, n, r) {
|
|
1903
|
+
var o = pe(),
|
|
1904
|
+
s = fe(),
|
|
1905
|
+
i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
|
|
1906
|
+
return "production" !== process.env.NODE_ENV && useDebugValue(i), "production" !== process.env.NODE_ENV && !t && r && r(i), i;
|
|
1907
|
+
}(i, r, v, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
|
|
1908
|
+
b = n,
|
|
1909
|
+
_ = g.$as || t.$as || g.as || t.as || p,
|
|
1910
|
+
N = xe(_),
|
|
1911
|
+
A = g !== t ? y({}, t, {}, g) : t,
|
|
1912
|
+
C = {};
|
|
1913
|
+
for (var I in A) "$" !== I[0] && "as" !== I && ("forwardedAs" === I ? C.as = A[I] : (d ? d(I, isPropValid, _) : !N || isPropValid(I)) && (C[I] = A[I]));
|
|
1914
|
+
return t.style && g.style !== t.style && (C.style = y({}, t.style, {}, g.style)), C.className = Array.prototype.concat(c, h, S !== h ? S : null, t.className, g.className).filter(Boolean).join(" "), C.ref = b, createElement(_, C);
|
|
1915
|
+
}(C, e, t, P);
|
|
1916
|
+
};
|
|
1917
|
+
return O.displayName = v, (C = React.forwardRef(O)).attrs = N, C.componentStyle = I, C.displayName = v, C.shouldForwardProp = A, C.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : S, C.styledComponentId = g, C.target = o ? e.target : e, C.withComponent = function (e) {
|
|
1918
|
+
var r = t.componentId,
|
|
1919
|
+
o = function (e, t) {
|
|
1920
|
+
if (null == e) return {};
|
|
1921
|
+
var n,
|
|
1922
|
+
r,
|
|
1923
|
+
o = {},
|
|
1924
|
+
s = Object.keys(e);
|
|
1925
|
+
for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
|
|
1926
|
+
return o;
|
|
1927
|
+
}(t, ["componentId"]),
|
|
1928
|
+
s = r && r + "-" + (xe(e) ? e : je(b(e)));
|
|
1929
|
+
return Ye(e, y({}, o, {
|
|
1930
|
+
attrs: N,
|
|
1931
|
+
componentId: s
|
|
1932
|
+
}), n);
|
|
1933
|
+
}, Object.defineProperty(C, "defaultProps", {
|
|
1934
|
+
get: function () {
|
|
1935
|
+
return this._foldedDefaultProps;
|
|
1936
|
+
},
|
|
1937
|
+
set: function (t) {
|
|
1938
|
+
this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
|
|
1939
|
+
}
|
|
1940
|
+
}), "production" !== process.env.NODE_ENV && (Pe(v, g), C.warnTooManyClasses = function (e, t) {
|
|
1941
|
+
var n = {},
|
|
1942
|
+
r = !1;
|
|
1943
|
+
return function (o) {
|
|
1944
|
+
if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
|
|
1945
|
+
var s = t ? ' with the id of "' + t + '"' : "";
|
|
1946
|
+
console.warn("Over 200 classes were generated for component " + e + s + ".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
|
|
1947
|
+
}
|
|
1948
|
+
};
|
|
1949
|
+
}(v, g)), C.toString = function () {
|
|
1950
|
+
return "." + C.styledComponentId;
|
|
1951
|
+
}, i && m(C, e, {
|
|
1952
|
+
attrs: !0,
|
|
1953
|
+
componentStyle: !0,
|
|
1954
|
+
displayName: !0,
|
|
1955
|
+
foldedComponentIds: !0,
|
|
1956
|
+
shouldForwardProp: !0,
|
|
1957
|
+
styledComponentId: !0,
|
|
1958
|
+
target: !0,
|
|
1959
|
+
withComponent: !0
|
|
1960
|
+
}), C;
|
|
1961
|
+
}
|
|
1962
|
+
var qe = function (e) {
|
|
1963
|
+
return function e(t, r, o) {
|
|
1964
|
+
if (void 0 === o && (o = w), !reactIsExports$1.isValidElementType(r)) return D(1, String(r));
|
|
1965
|
+
var s = function () {
|
|
1966
|
+
return t(r, o, Ae.apply(void 0, arguments));
|
|
1967
|
+
};
|
|
1968
|
+
return s.withConfig = function (n) {
|
|
1969
|
+
return e(t, r, y({}, o, {}, n));
|
|
1970
|
+
}, s.attrs = function (n) {
|
|
1971
|
+
return e(t, r, y({}, o, {
|
|
1972
|
+
attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
|
|
1973
|
+
}));
|
|
1974
|
+
}, s;
|
|
1975
|
+
}(Ye, e);
|
|
1976
|
+
};
|
|
1977
|
+
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function (e) {
|
|
1978
|
+
qe[e] = qe(e);
|
|
1979
|
+
});
|
|
1980
|
+
"production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"), "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, 1 === window["__styled-components-init__"] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window["__styled-components-init__"] += 1);
|
|
1981
|
+
var styled = qe;
|
|
1982
|
+
|
|
1983
1983
|
var Colors = {
|
|
1984
1984
|
PRIMARY: {
|
|
1985
1985
|
Hex: '#0193D7',
|
|
@@ -2021,8 +2021,8 @@ var FontStyles = {
|
|
|
2021
2021
|
var FontSizes = {
|
|
2022
2022
|
DEFAULT: '14px',
|
|
2023
2023
|
SMALL: '13px',
|
|
2024
|
-
};
|
|
2025
|
-
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
2026
|
var Header$3 = styled.div(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n background: #f5f5f5;\n border: 1px solid #e5e5e5;\n padding: 14px 20px;\n height: 50px;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n background: #f5f5f5;\n border: 1px solid #e5e5e5;\n padding: 14px 20px;\n height: 50px;\n cursor: pointer;\n"])));
|
|
2027
2027
|
var Title$1 = styled.div(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n font-family: ", ";\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n font-family: ", ";\n box-sizing: border-box;\n"])), FontSizes.DEFAULT, Colors.BLACK.Hex, FontStyles.DEFAULT);
|
|
2028
2028
|
var Accordion = function (_a) {
|
|
@@ -2033,8 +2033,8 @@ var Accordion = function (_a) {
|
|
|
2033
2033
|
React.createElement(Icon, { color: Colors.BLACK.Hex, path: open ? mdiChevronUp : mdiChevronDown, size: '24px' })),
|
|
2034
2034
|
open ? children : null));
|
|
2035
2035
|
};
|
|
2036
|
-
var templateObject_1$m, templateObject_2$k;
|
|
2037
|
-
|
|
2036
|
+
var templateObject_1$m, templateObject_2$k;
|
|
2037
|
+
|
|
2038
2038
|
var button_type_mapping = {
|
|
2039
2039
|
primary: {
|
|
2040
2040
|
background_color: Colors.PRIMARY.Hex,
|
|
@@ -2097,8 +2097,8 @@ var Button = function (_a) {
|
|
|
2097
2097
|
React.createElement(Icon, { color: format ? button_type_mapping[format].content_color : '#fff', path: icon, size: small ? '20px' : '24px' }))) : null,
|
|
2098
2098
|
badge && !icon ? (React.createElement(Badge, { "$format": format, "$small": small }, badge)) : null));
|
|
2099
2099
|
};
|
|
2100
|
-
var templateObject_1$l, templateObject_2$j, templateObject_3$g, templateObject_4$8;
|
|
2101
|
-
|
|
2100
|
+
var templateObject_1$l, templateObject_2$j, templateObject_3$g, templateObject_4$8;
|
|
2101
|
+
|
|
2102
2102
|
var StyledComponent = styled.p(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n font-weight: ", ";\n font-style: ", ";\n text-decoration: ", ";\n font-family: 'Roboto', Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n text-align: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n font-weight: ", ";\n font-style: ", ";\n text-decoration: ", ";\n font-family: 'Roboto', Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n text-align: ", ";\n box-sizing: border-box;\n"])), function (props) { return Colors[props.$color].Hex; }, function (props) { return (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT); }, function (props) { return (props.$type === 'small' ? '1.5em' : '1.6em'); }, function (props) { return (props.$type === 'small' ? '1px' : '0px'); }, function (props) { return (props.$type === 'bold' ? '500' : '400'); }, function (props) { return (props.$type === 'italic' ? 'italic' : 'normal'); }, function (props) {
|
|
2103
2103
|
return ['underline', 'line-through'].includes(props.$type) ? props.$type : 'none';
|
|
2104
2104
|
}, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; }, function (props) { return props.$align || 'left'; });
|
|
@@ -2109,8 +2109,8 @@ var Copy = function (_a) {
|
|
|
2109
2109
|
Copy.defaultProps = {
|
|
2110
2110
|
type: 'default',
|
|
2111
2111
|
};
|
|
2112
|
-
var templateObject_1$k;
|
|
2113
|
-
|
|
2112
|
+
var templateObject_1$k;
|
|
2113
|
+
|
|
2114
2114
|
var H1 = styled.h1(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n color: ", ";\n font-size: 30px;\n font-weight: ", ";\n line-height: 1.4em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: 30px;\n font-weight: ", ";\n line-height: 1.4em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"])), Colors.BLACK.Hex, function (props) { return (props.$bold ? '500' : '400'); }, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; });
|
|
2115
2115
|
var H2 = styled.h2(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n color: ", ";\n font-size: 24px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: 24px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"])), Colors.BLACK.Hex, function (props) { return (props.$bold ? '500' : '400'); }, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; });
|
|
2116
2116
|
var H3 = styled.h3(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n color: ", ";\n font-size: 18px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"], ["\n color: ", ";\n font-size: 18px;\n font-weight: ", ";\n line-height: 1.33em;\n font-family: 'Roboto Slab', Roboto, Helvetica, Arial, sans-serif;\n margin: ", ";\n padding: ", ";\n box-sizing: border-box;\n"])), Colors.BLACK.Hex, function (props) { return (props.$bold ? '500' : '400'); }, function (props) { return props.$margin || '0px'; }, function (props) { return props.$padding || '0px'; });
|
|
@@ -2132,9 +2132,9 @@ Heading.defaultProps = {
|
|
|
2132
2132
|
bold: false,
|
|
2133
2133
|
type: 'primary',
|
|
2134
2134
|
};
|
|
2135
|
-
var templateObject_1$j, templateObject_2$i, templateObject_3$f;
|
|
2136
|
-
|
|
2137
|
-
var Wrapper$
|
|
2135
|
+
var templateObject_1$j, templateObject_2$i, templateObject_3$f;
|
|
2136
|
+
|
|
2137
|
+
var Wrapper$c = styled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"])));
|
|
2138
2138
|
var Container$3 = styled.dialog(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n max-width: 600px;\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 40px;\n text-align: center;\n box-sizing: border-box;\n"], ["\n max-width: 600px;\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 40px;\n text-align: center;\n box-sizing: border-box;\n"])));
|
|
2139
2139
|
var Buttons = styled.div(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 30px;\n box-sizing: border-box;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 30px;\n box-sizing: border-box;\n"])));
|
|
2140
2140
|
var ActionDialog = function (_a) {
|
|
@@ -2149,7 +2149,7 @@ var ActionDialog = function (_a) {
|
|
|
2149
2149
|
document.onkeydown = null;
|
|
2150
2150
|
};
|
|
2151
2151
|
}, []);
|
|
2152
|
-
return (React.createElement(Wrapper$
|
|
2152
|
+
return (React.createElement(Wrapper$c, __assign({}, accessibleProps),
|
|
2153
2153
|
React.createElement(Container$3, { open: true },
|
|
2154
2154
|
title ? (React.createElement(Heading, { margin: '0px 0px 20px 0px', type: 'secondary' }, title)) : null,
|
|
2155
2155
|
description ? React.createElement(Copy, { align: 'center' }, description) : null,
|
|
@@ -2157,9 +2157,9 @@ var ActionDialog = function (_a) {
|
|
|
2157
2157
|
secondaryButton ? (React.createElement(Button, __assign({}, secondaryButton, { format: 'secondary', margin: '0px 5px' }))) : null,
|
|
2158
2158
|
primaryButton ? React.createElement(Button, __assign({}, primaryButton, { format: 'primary', margin: '0px 5px' })) : null)) : null)));
|
|
2159
2159
|
};
|
|
2160
|
-
var templateObject_1$i, templateObject_2$h, templateObject_3$e;
|
|
2161
|
-
|
|
2162
|
-
var Wrapper$
|
|
2160
|
+
var templateObject_1$i, templateObject_2$h, templateObject_3$e;
|
|
2161
|
+
|
|
2162
|
+
var Wrapper$b = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n border: 1px solid #f1f1f1;\n border-radius: 4px;\n border-left-width: 4px;\n box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);\n display: flex;\n align-items: flex-start;\n padding: 20px;\n box-sizing: border-box;\n"], ["\n border: 1px solid #f1f1f1;\n border-radius: 4px;\n border-left-width: 4px;\n box-shadow: 0px 4px 12px -6px rgba(0, 0, 0, 0.2);\n display: flex;\n align-items: flex-start;\n padding: 20px;\n box-sizing: border-box;\n"])));
|
|
2163
2163
|
var Content$1 = styled.div(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n margin-left: 20px;\n"], ["\n margin-left: 20px;\n"])));
|
|
2164
2164
|
var Action$1 = styled.div(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-family: ", ";\n font-weight: 500;\n cursor: pointer;\n margin-top: 6px;\n"], ["\n color: ", ";\n font-size: ", ";\n font-family: ", ";\n font-weight: 500;\n cursor: pointer;\n margin-top: 6px;\n"])), Colors.PRIMARY.Hex, FontSizes.DEFAULT, FontStyles.DEFAULT);
|
|
2165
2165
|
var Alert = function (_a) {
|
|
@@ -2182,7 +2182,7 @@ var Alert = function (_a) {
|
|
|
2182
2182
|
icon: mdiCheckboxMarkedCircleOutline,
|
|
2183
2183
|
},
|
|
2184
2184
|
};
|
|
2185
|
-
return (React.createElement(Wrapper$
|
|
2185
|
+
return (React.createElement(Wrapper$b, __assign({}, accessibleProps, { style: { borderLeftColor: type_mapping[type].color } }),
|
|
2186
2186
|
React.createElement("div", { style: { flexShrink: 0 } },
|
|
2187
2187
|
React.createElement(Icon, { color: type_mapping[type].color, path: type_mapping[type].icon, size: '30px' })),
|
|
2188
2188
|
React.createElement(Content$1, null,
|
|
@@ -2190,19 +2190,19 @@ var Alert = function (_a) {
|
|
|
2190
2190
|
description ? React.createElement(Copy, { margin: '6px 0 0 0 !important' }, description) : null,
|
|
2191
2191
|
action ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
|
|
2192
2192
|
};
|
|
2193
|
-
var templateObject_1$h, templateObject_2$g, templateObject_3$d;
|
|
2194
|
-
|
|
2195
|
-
var Wrapper$
|
|
2193
|
+
var templateObject_1$h, templateObject_2$g, templateObject_3$d;
|
|
2194
|
+
|
|
2195
|
+
var Wrapper$a = styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n border: 1px solid ", ";\n border-radius: 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n"], ["\n border: 1px solid ", ";\n border-radius: 8px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n"])), Colors.PRIMARY.Hex);
|
|
2196
2196
|
var Left = styled.div(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n"])));
|
|
2197
2197
|
var Info = styled.div(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n margin-right: 30px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n margin-right: 30px;\n"])));
|
|
2198
2198
|
var Selected = styled.span(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n"], ["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n"])), FontStyles.DEFAULT, Colors.BLACK.Hex);
|
|
2199
2199
|
var Clear = styled.span(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n cursor: pointer;\n padding-left: 10px;\n margin-left: 10px;\n border-left: 1px solid #ccc;\n"], ["\n font-size: 14px;\n font-weight: 400;\n font-family: ", ";\n color: ", ";\n line-height: 1;\n cursor: pointer;\n padding-left: 10px;\n margin-left: 10px;\n border-left: 1px solid #ccc;\n"])), FontStyles.DEFAULT, Colors.PRIMARY.Hex);
|
|
2200
2200
|
var Actions = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"])));
|
|
2201
|
-
var Error$1 = styled.div(templateObject_7$
|
|
2201
|
+
var Error$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n background: rgba(", ", 0.1);\n border-radius: 4px;\n padding: 6px 8px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin-left: 30px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n background: rgba(", ", 0.1);\n border-radius: 4px;\n padding: 6px 8px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin-left: 30px;\n"])), Colors.RED.Rgb);
|
|
2202
2202
|
var ErrorMsg = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: 14px;\n font-weight: 500;\n font-family: ", ";\n line-height: 1em;\n color: ", ";\n margin-left: 8px;\n"], ["\n font-size: 14px;\n font-weight: 500;\n font-family: ", ";\n line-height: 1em;\n color: ", ";\n margin-left: 8px;\n"])), FontStyles.DEFAULT, Colors.RED.Hex);
|
|
2203
2203
|
var BulkActionBar = function (_a) {
|
|
2204
2204
|
var _b = _a.actions, actions = _b === void 0 ? [] : _b, errorMsg = _a.errorMsg, onClear = _a.onClear, _c = _a.selectedCount, selectedCount = _c === void 0 ? 0 : _c, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
|
|
2205
|
-
return (React.createElement(Wrapper$
|
|
2205
|
+
return (React.createElement(Wrapper$a, __assign({}, accessibleProps),
|
|
2206
2206
|
React.createElement(Left, null,
|
|
2207
2207
|
React.createElement(Info, null,
|
|
2208
2208
|
React.createElement(Selected, null,
|
|
@@ -2214,19 +2214,19 @@ var BulkActionBar = function (_a) {
|
|
|
2214
2214
|
React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
|
|
2215
2215
|
React.createElement(ErrorMsg, null, errorMsg))) : null));
|
|
2216
2216
|
};
|
|
2217
|
-
var templateObject_1$g, templateObject_2$f, templateObject_3$c, templateObject_4$7, templateObject_5$5, templateObject_6$3, templateObject_7$
|
|
2218
|
-
|
|
2219
|
-
var Wrapper$
|
|
2217
|
+
var templateObject_1$g, templateObject_2$f, templateObject_3$c, templateObject_4$7, templateObject_5$5, templateObject_6$3, templateObject_7$1, templateObject_8;
|
|
2218
|
+
|
|
2219
|
+
var Wrapper$9 = styled.label(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6em;\n box-sizing: border-box;\n"], ["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6em;\n box-sizing: border-box;\n"])), function (props) { return (props.$disabled ? 'default' : 'pointer'); }, FontSizes.DEFAULT);
|
|
2220
2220
|
var Input$2 = styled.input(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n box-sizing: border-box;\n"], ["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n box-sizing: border-box;\n"])));
|
|
2221
2221
|
var Label$3 = styled.span(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n line-height: 1.6em;\n color: ", ";\n margin-left: 6px;\n box-sizing: border-box;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n line-height: 1.6em;\n color: ", ";\n margin-left: 6px;\n box-sizing: border-box;\n"])), FontStyles.DEFAULT, FontSizes.DEFAULT, Colors.BLACK.Hex);
|
|
2222
2222
|
var Checkbox = function (_a) {
|
|
2223
2223
|
var children = _a.children, disabled = _a.disabled, checked = _a.checked, onChange = _a.onChange, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange"]);
|
|
2224
|
-
return (React.createElement(Wrapper$
|
|
2224
|
+
return (React.createElement(Wrapper$9, __assign({}, accessibleProps),
|
|
2225
2225
|
React.createElement(Input$2, { checked: checked, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, type: 'checkbox' }),
|
|
2226
2226
|
children ? React.createElement(Label$3, null, children) : null));
|
|
2227
2227
|
};
|
|
2228
|
-
var templateObject_1$f, templateObject_2$e, templateObject_3$b;
|
|
2229
|
-
|
|
2228
|
+
var templateObject_1$f, templateObject_2$e, templateObject_3$b;
|
|
2229
|
+
|
|
2230
2230
|
var SelectAll = styled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n padding: 8px 12px;\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n"], ["\n padding: 8px 12px;\n border-bottom: 1px solid ", ";\n box-sizing: border-box;\n"])), Colors.LIGHT_GRAY.Hex);
|
|
2231
2231
|
var Options$1 = styled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n padding: 12px;\n box-sizing: border-box;\n"], ["\n padding: 12px;\n box-sizing: border-box;\n"])));
|
|
2232
2232
|
var Checklist = function (_a) {
|
|
@@ -2256,8 +2256,8 @@ var Checklist = function (_a) {
|
|
|
2256
2256
|
return (React.createElement(Checkbox, __assign({ key: i }, accessibleProps, { checked: checked, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
|
|
2257
2257
|
}))));
|
|
2258
2258
|
};
|
|
2259
|
-
var templateObject_1$e, templateObject_2$d;
|
|
2260
|
-
|
|
2259
|
+
var templateObject_1$e, templateObject_2$d;
|
|
2260
|
+
|
|
2261
2261
|
var Scrim$1 = styled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9998;\n background: ", ";\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9998;\n background: ", ";\n"])), function (_a) {
|
|
2262
2262
|
var $scrim = _a.$scrim;
|
|
2263
2263
|
return ($scrim === 'dark' ? 'rgba(0,0,0,0.8)' : 'transparent');
|
|
@@ -2297,18 +2297,17 @@ var Drawer = function (_a) {
|
|
|
2297
2297
|
primaryButton ? React.createElement(Button, __assign({}, primaryButton, { format: 'primary' })) : null)) : null),
|
|
2298
2298
|
scrim ? React.createElement(Scrim$1, { "$scrim": scrim, onClick: onClose }) : null));
|
|
2299
2299
|
};
|
|
2300
|
-
var templateObject_1$d, templateObject_2$c, templateObject_3$a, templateObject_4$6, templateObject_5$4, templateObject_6$2;
|
|
2301
|
-
|
|
2302
|
-
var
|
|
2303
|
-
var
|
|
2304
|
-
var
|
|
2305
|
-
var
|
|
2306
|
-
var
|
|
2307
|
-
var
|
|
2308
|
-
var Validation = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 4px 0 0 0;\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 4px 0 0 0;\n box-sizing: border-box;\n"])), FontSizes.SMALL, FontStyles.DEFAULT, Colors.RED.Hex);
|
|
2300
|
+
var templateObject_1$d, templateObject_2$c, templateObject_3$a, templateObject_4$6, templateObject_5$4, templateObject_6$2;
|
|
2301
|
+
|
|
2302
|
+
var LabelRow = styled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0 0 4px 0;\n box-sizing: border-box;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0 0 4px 0;\n box-sizing: border-box;\n"])));
|
|
2303
|
+
var Label$2 = styled.label(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n"])), FontSizes.DEFAULT, FontStyles.DEFAULT, Colors.BLACK.Hex);
|
|
2304
|
+
var Required = styled.span(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n color: ", ";\n margin-left: 4px;\n"], ["\n color: ", ";\n margin-left: 4px;\n"])), Colors.RED.Hex);
|
|
2305
|
+
var Action = styled.span(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n cursor: pointer;\n"], ["\n font-size: ", ";\n font-weight: 500;\n line-height: 1em;\n font-family: ", ";\n color: ", ";\n cursor: pointer;\n"])), FontSizes.DEFAULT, FontStyles.DEFAULT, Colors.PRIMARY.Hex);
|
|
2306
|
+
var Description = styled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 0 0 8px 0;\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 0 0 8px 0;\n box-sizing: border-box;\n"])), FontSizes.SMALL, FontStyles.DEFAULT, Colors.BLACK.Hex);
|
|
2307
|
+
var Validation = styled.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 4px 0 0 0;\n box-sizing: border-box;\n"], ["\n font-size: ", ";\n font-weight: 400;\n line-height: 1.3em;\n font-family: ", ";\n color: ", ";\n margin: 4px 0 0 0;\n box-sizing: border-box;\n"])), FontSizes.SMALL, FontStyles.DEFAULT, Colors.RED.Hex);
|
|
2309
2308
|
var Field = function (_a) {
|
|
2310
|
-
var action = _a.action, children = _a.children, validationText = _a.validationText, label = _a.label,
|
|
2311
|
-
return (React.createElement(
|
|
2309
|
+
var action = _a.action, children = _a.children, validationText = _a.validationText, label = _a.label, description = _a.description, required = _a.required, htmlFor = _a.htmlFor, style = _a.style, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style"]);
|
|
2310
|
+
return (React.createElement("div", __assign({ style: style }, accessibleProps),
|
|
2312
2311
|
React.createElement(LabelRow, null,
|
|
2313
2312
|
React.createElement(Label$2, { htmlFor: htmlFor },
|
|
2314
2313
|
label,
|
|
@@ -2318,8 +2317,8 @@ var Field = function (_a) {
|
|
|
2318
2317
|
children,
|
|
2319
2318
|
validationText ? React.createElement(Validation, null, validationText) : null));
|
|
2320
2319
|
};
|
|
2321
|
-
var templateObject_1$c, templateObject_2$b, templateObject_3$9, templateObject_4$5, templateObject_5$3, templateObject_6$1
|
|
2322
|
-
|
|
2320
|
+
var templateObject_1$c, templateObject_2$b, templateObject_3$9, templateObject_4$5, templateObject_5$3, templateObject_6$1;
|
|
2321
|
+
|
|
2323
2322
|
var formatAsPhone = function (number) {
|
|
2324
2323
|
var formatted_value = "".concat(number).replace(/[^0-9.]/g, '');
|
|
2325
2324
|
var size = formatted_value.length;
|
|
@@ -2345,8 +2344,8 @@ var formatAsSsn = function (number) {
|
|
|
2345
2344
|
formatted_value = "".concat(formatted_value.substring(0, 3), "-").concat(formatted_value.substring(3, 5), "-").concat(formatted_value.substring(5, 9));
|
|
2346
2345
|
}
|
|
2347
2346
|
return formatted_value;
|
|
2348
|
-
};
|
|
2349
|
-
|
|
2347
|
+
};
|
|
2348
|
+
|
|
2350
2349
|
var StyledInput = styled.input(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n font-size: ", ";\n font-weight: 400;\n font-family: ", ";\n line-height: 1.28em;\n color: ", ";\n position: relative;\n height: auto;\n padding: 10px;\n opacity: ", ";\n box-shadow: none;\n outline: none;\n margin: 0px;\n text-indent: 0px;\n --webkit-appearance: none;\n box-sizing: border-box;\n display: block;\n width: 100%;\n &:focus {\n border-color: ", ";\n }\n"], ["\n background-color: ", ";\n border-radius: ", ";\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n font-size: ", ";\n font-weight: 400;\n font-family: ", ";\n line-height: 1.28em;\n color: ", ";\n position: relative;\n height: auto;\n padding: 10px;\n opacity: ", ";\n box-shadow: none;\n outline: none;\n margin: 0px;\n text-indent: 0px;\n --webkit-appearance: none;\n box-sizing: border-box;\n display: block;\n width: 100%;\n &:focus {\n border-color: ", ";\n }\n"])), function (props) { return (props.$readOnly ? '#f5f5f5' : '#ffffff'); }, function (props) { return (props.$suffix ? '4px 0px 0px 4px' : '4px'); }, function (props) { return (props.$invalid && !props.$readOnly ? Colors.RED.Hex : '#cccccc'); }, FontSizes.DEFAULT, FontStyles.DEFAULT, function (props) { return (props.$invalid && !props.$readOnly ? Colors.RED.Hex : Colors.BLACK.Hex); }, function (props) { return (props.$readOnly ? 0.6 : 1); }, function (props) { return (props.$readOnly ? '#cccccc' : Colors.PRIMARY.Hex); });
|
|
2351
2350
|
var StyledSuffix = styled.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px;\n height: auto;\n background: #f5f5f5;\n border-width: 1px 1px 1px 0px;\n border-style: solid;\n border-color: #cccccc;\n border-radius: 0px 4px 4px 0px;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n font-size: ", ";\n color: Colors.BLACK.Hex;\n"], ["\n box-sizing: border-box;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px;\n height: auto;\n background: #f5f5f5;\n border-width: 1px 1px 1px 0px;\n border-style: solid;\n border-color: #cccccc;\n border-radius: 0px 4px 4px 0px;\n font-family: ", ";\n font-style: normal;\n font-weight: 400;\n font-size: ", ";\n color: Colors.BLACK.Hex;\n"])), FontStyles.DEFAULT, FontSizes.DEFAULT);
|
|
2352
2351
|
var StyledWrapper = styled.div(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n display: flex;\n"], ["\n display: flex;\n"])));
|
|
@@ -2395,8 +2394,8 @@ var Input$1 = function (_a) {
|
|
|
2395
2394
|
React.createElement(StyledInput, __assign({ "$invalid": invalid, "$readOnly": readOnly, "$suffix": suffix, max: max, maxLength: maxLength, min: min, onBlur: onBlur, onChange: handleInputChange, onKeyDown: onKeyDown, placeholder: placeholder, step: step, type: type, value: formatted_value }, accessibleProps)),
|
|
2396
2395
|
suffix && React.createElement(StyledSuffix, null, suffix)));
|
|
2397
2396
|
};
|
|
2398
|
-
var templateObject_1$b, templateObject_2$a, templateObject_3$8, templateObject_4$4;
|
|
2399
|
-
|
|
2397
|
+
var templateObject_1$b, templateObject_2$a, templateObject_3$8, templateObject_4$4;
|
|
2398
|
+
|
|
2400
2399
|
var Wrapper$8 = styled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 9999;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
|
|
2401
2400
|
var Container$1 = styled.dialog(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n max-width: ", ";\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 0px;\n box-sizing: border-box;\n"], ["\n max-width: ", ";\n width: auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n outline: none;\n border: none;\n position: relative;\n padding: 0px;\n box-sizing: border-box;\n"])), function (props) { return props.$maxWidth || '90vw'; });
|
|
2402
2401
|
var Header$1 = styled.div(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n position: sticky;\n top: 0;\n padding: 20px;\n border-bottom: 1px solid #e5e5e5;\n display: flex;\n align-items: center;\n background: #ffffff;\n box-sizing: border-box;\n"], ["\n position: sticky;\n top: 0;\n padding: 20px;\n border-bottom: 1px solid #e5e5e5;\n display: flex;\n align-items: center;\n background: #ffffff;\n box-sizing: border-box;\n"])));
|
|
@@ -2435,8 +2434,8 @@ var Modal = function (_a) {
|
|
|
2435
2434
|
secondaryButton ? React.createElement(Button, __assign({}, secondaryButton, { format: 'secondary' })) : null,
|
|
2436
2435
|
primaryButton ? (React.createElement(Button, __assign({}, primaryButton, { format: 'primary', margin: '0px 0px 0px 10px' }))) : null)) : null)) : null)));
|
|
2437
2436
|
};
|
|
2438
|
-
var templateObject_1$a, templateObject_2$9, templateObject_3$7, templateObject_4$3, templateObject_5$2, templateObject_6, templateObject_7;
|
|
2439
|
-
|
|
2437
|
+
var templateObject_1$a, templateObject_2$9, templateObject_3$7, templateObject_4$3, templateObject_5$2, templateObject_6, templateObject_7;
|
|
2438
|
+
|
|
2440
2439
|
var Wrapper$7 = styled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n background: #fff;\n border-radius: 8px;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n display: flex;\n flex-direction: column;\n gap: 4px;\n max-height: ", ";\n padding: 10px;\n width: 200px;\n"], ["\n background: #fff;\n border-radius: 8px;\n box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);\n display: flex;\n flex-direction: column;\n gap: 4px;\n max-height: ", ";\n padding: 10px;\n width: 200px;\n"])), function (props) { return props.$maxHeight || '312px'; });
|
|
2441
2440
|
var MenuItem = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n align-items: center;\n border-radius: 8px;\n border: 1px solid transparent;\n display: flex;\n gap: 8px;\n height: 38px;\n padding: 8px;\n &:hover {\n background: rgba(1, 147, 215, 0.1);\n cursor: pointer;\n }\n"], ["\n align-items: center;\n border-radius: 8px;\n border: 1px solid transparent;\n display: flex;\n gap: 8px;\n height: 38px;\n padding: 8px;\n &:hover {\n background: rgba(1, 147, 215, 0.1);\n cursor: pointer;\n }\n"])));
|
|
2442
2441
|
var Title = styled.span(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n font-family: Roboto;\n font-size: 14px;\n font-weight: 400;\n height: auto;\n letter-spacing: 0px;\n line-height: 22px;\n text-align: left;\n"], ["\n font-family: Roboto;\n font-size: 14px;\n font-weight: 400;\n height: auto;\n letter-spacing: 0px;\n line-height: 22px;\n text-align: left;\n"])));
|
|
@@ -2448,8 +2447,8 @@ var MoreMenu = function (_a) {
|
|
|
2448
2447
|
React.createElement(Title, null, item.label)));
|
|
2449
2448
|
})));
|
|
2450
2449
|
};
|
|
2451
|
-
var templateObject_1$9, templateObject_2$8, templateObject_3$6;
|
|
2452
|
-
|
|
2450
|
+
var templateObject_1$9, templateObject_2$8, templateObject_3$6;
|
|
2451
|
+
|
|
2453
2452
|
var Wrapper$6 = styled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
2454
2453
|
var Trigger$1 = styled.div(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n box-sizing: border-box;\n border-radius: ", ";\n height: 40px;\n padding: 0 10px;\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n background-color: ", ";\n background-image: none;\n display: flex;\n align-items: center;\n justify-content: space-between;\n z-index: 1;\n"], ["\n box-sizing: border-box;\n border-radius: ", ";\n height: 40px;\n padding: 0 10px;\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n background-color: ", ";\n background-image: none;\n display: flex;\n align-items: center;\n justify-content: space-between;\n z-index: 1;\n"])), function (props) { return (props.$showOptions ? '4px 4px 0px 0px' : '4px'); }, function (props) {
|
|
2455
2454
|
if (props.$invalid) {
|
|
@@ -2479,8 +2478,8 @@ var MultiSelect = function (_a) {
|
|
|
2479
2478
|
React.createElement(Checklist, { disabled: readOnly, onChange: onChange, options: options, selected: selected, showSelectAll: showSelectAll }))) : null,
|
|
2480
2479
|
showOptions ? React.createElement(Scrim, { onClick: setShowOptions.bind(null, !showOptions) }) : null));
|
|
2481
2480
|
};
|
|
2482
|
-
var templateObject_1$8, templateObject_2$7, templateObject_3$5, templateObject_4$2, templateObject_5$1;
|
|
2483
|
-
|
|
2481
|
+
var templateObject_1$8, templateObject_2$7, templateObject_3$5, templateObject_4$2, templateObject_5$1;
|
|
2482
|
+
|
|
2484
2483
|
var Wrapper$5 = styled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n border-radius: 4px;\n height: 40px;\n background-color: ", ";\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: ", ";\n flex-grow: ", ";\n box-sizing: border-box;\n padding: 10px 0px;\n display: flex;\n align-items: center;\n"], ["\n border-radius: 4px;\n height: 40px;\n background-color: ", ";\n position: relative;\n cursor: pointer;\n border-width: 1px;\n border-style: solid;\n border-color: ", ";\n border-radius: ", ";\n flex-grow: ", ";\n box-sizing: border-box;\n padding: 10px 0px;\n display: flex;\n align-items: center;\n"])), function (props) { return (props.$readOnly ? '#f5f5f5' : '#ffffff'); }, function (props) { return (props.$invalid ? Colors.RED.Hex : '#cccccc'); }, function (_a) {
|
|
2485
2484
|
var $style = _a.$style;
|
|
2486
2485
|
return ($style === null || $style === void 0 ? void 0 : $style.borderRadius) || '4px';
|
|
@@ -2508,8 +2507,8 @@ var Select = function (_a) {
|
|
|
2508
2507
|
React.createElement(IconWrapper$1, null,
|
|
2509
2508
|
React.createElement(Icon, { color: Colors.BLACK.Hex, path: mdiChevronDown, size: '22px' }))));
|
|
2510
2509
|
};
|
|
2511
|
-
var templateObject_1$7, templateObject_2$6, templateObject_3$4;
|
|
2512
|
-
|
|
2510
|
+
var templateObject_1$7, templateObject_2$6, templateObject_3$4;
|
|
2511
|
+
|
|
2513
2512
|
var Wrapper$4 = styled.nav(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"], ["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n column-gap: 10px;\n"])));
|
|
2514
2513
|
var Pagination = function (_a) {
|
|
2515
2514
|
var _b = _a.currentPage, currentPage = _b === void 0 ? 1 : _b, onClick = _a.onClick, _c = _a.pageCount, pageCount = _c === void 0 ? 0 : _c, accessibleProps = __rest(_a, ["currentPage", "onClick", "pageCount"]);
|
|
@@ -2539,8 +2538,8 @@ var Pagination = function (_a) {
|
|
|
2539
2538
|
}); }), value: "".concat(currentPage) }),
|
|
2540
2539
|
React.createElement(Button, { disabled: is_last_page, icon: mdiChevronRight, onClick: handleNextClick, small: true })));
|
|
2541
2540
|
};
|
|
2542
|
-
var templateObject_1$6;
|
|
2543
|
-
|
|
2541
|
+
var templateObject_1$6;
|
|
2542
|
+
|
|
2544
2543
|
var Wrapper$3 = styled.label(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6rm;\n box-sizing: border-box;\n"], ["\n padding: 4px 0;\n cursor: ", ";\n display: flex;\n align-items: center;\n font-size: ", ";\n line-height: 1.6rm;\n box-sizing: border-box;\n"])), function (props) { return (props.$disabled ? 'default' : 'pointer'); }, FontSizes.DEFAULT);
|
|
2545
2544
|
var Input = styled.input(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n"], ["\n font-size: 20px;\n margin: 0px 0px 2px 0px;\n line-height: 1.1em;\n"])));
|
|
2546
2545
|
var Label$1 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n margin-left: 6px;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n color: ", ";\n line-height: 1.6em;\n margin-left: 6px;\n"])), FontStyles.DEFAULT, FontSizes.DEFAULT, Colors.BLACK.Hex);
|
|
@@ -2550,16 +2549,16 @@ var Radio = function (_a) {
|
|
|
2550
2549
|
React.createElement(Input, { checked: checked, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, type: 'radio', value: value }),
|
|
2551
2550
|
React.createElement(Label$1, null, children)));
|
|
2552
2551
|
};
|
|
2553
|
-
var templateObject_1$5, templateObject_2$5, templateObject_3$3;
|
|
2554
|
-
|
|
2552
|
+
var templateObject_1$5, templateObject_2$5, templateObject_3$3;
|
|
2553
|
+
|
|
2555
2554
|
var RadioList = function (_a) {
|
|
2556
2555
|
var disabled = _a.disabled, onChange = _a.onChange, options = _a.options, value = _a.value, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
|
|
2557
2556
|
return (React.createElement(React.Fragment, null, options.map(function (option) {
|
|
2558
2557
|
var label = option.label || option.value;
|
|
2559
2558
|
return (React.createElement(Radio, __assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
|
|
2560
2559
|
})));
|
|
2561
|
-
};
|
|
2562
|
-
|
|
2560
|
+
};
|
|
2561
|
+
|
|
2563
2562
|
var StyledTable = styled.table(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n width: 100%;\n margin-top: 1px;\n table-layout: ", ";\n border-collapse: collapse;\n text-indent: 0px;\n border-spacing: 0px;\n border-color: none;\n box-sizing: border-box;\n"], ["\n width: 100%;\n margin-top: 1px;\n table-layout: ", ";\n border-collapse: collapse;\n text-indent: 0px;\n border-spacing: 0px;\n border-color: none;\n box-sizing: border-box;\n"])), function (props) { return props.$tableLayout || 'auto'; });
|
|
2564
2563
|
var Header = styled.th(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n padding: 12px !important;\n text-align: left;\n font-weight: 500;\n border-bottom: 1px solid #e5e5e5;\n border-top: 1px solid #e5e5e5;\n text-transform: uppercase;\n font-size: 12px;\n font-family: ", ";\n letter-spacing: 1px;\n white-space: nowrap;\n line-height: 1;\n position: relative;\n box-sizing: border-box;\n width: ", ";\n cursor: ", ";\n color: ", ";\n"], ["\n padding: 12px !important;\n text-align: left;\n font-weight: 500;\n border-bottom: 1px solid #e5e5e5;\n border-top: 1px solid #e5e5e5;\n text-transform: uppercase;\n font-size: 12px;\n font-family: ", ";\n letter-spacing: 1px;\n white-space: nowrap;\n line-height: 1;\n position: relative;\n box-sizing: border-box;\n width: ", ";\n cursor: ", ";\n color: ", ";\n"])), FontStyles.DEFAULT, function (props) { return props.$width || 'auto'; }, function (props) { return (props.$isSortable ? 'pointer' : 'default'); }, function (props) { return (props.$isSortable ? Colors.PRIMARY.Hex : Colors.BLACK.Hex); });
|
|
2565
2564
|
var Row = styled.tr(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n cursor: ", ";\n transition: all 0.2s;\n background-color: ", ";\n box-sizing: border-box;\n &:hover {\n background-color: ", ";\n }\n"], ["\n cursor: ", ";\n transition: all 0.2s;\n background-color: ", ";\n box-sizing: border-box;\n &:hover {\n background-color: ", ";\n }\n"])), function (props) { return (props.$isClickable ? 'pointer' : 'default'); }, function (props) { return props.$bgColor; }, function (props) {
|
|
@@ -2583,8 +2582,8 @@ var Table = function (_a) {
|
|
|
2583
2582
|
})));
|
|
2584
2583
|
}))) : null));
|
|
2585
2584
|
};
|
|
2586
|
-
var templateObject_1$4, templateObject_2$4, templateObject_3$2, templateObject_4$1, templateObject_5;
|
|
2587
|
-
|
|
2585
|
+
var templateObject_1$4, templateObject_2$4, templateObject_3$2, templateObject_4$1, templateObject_5;
|
|
2586
|
+
|
|
2588
2587
|
var Wrapper$2 = styled.div(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n display: flex;\n box-sizing: border-box;\n align-items: flex-end;\n border-top: 1px solid #e5e5e5;\n border-bottom: 1px solid #e5e5e5;\n flex-shrink: 0;\n align-self: stretch;\n padding: 0;\n margin: 0;\n"], ["\n display: flex;\n box-sizing: border-box;\n align-items: flex-end;\n border-top: 1px solid #e5e5e5;\n border-bottom: 1px solid #e5e5e5;\n flex-shrink: 0;\n align-self: stretch;\n padding: 0;\n margin: 0;\n"])));
|
|
2589
2588
|
var Tab = styled.div(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n font-size: ", ";\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: 1em;\n padding: 16px 30px 12px;\n margin: 0 0 -1px 0;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n border-bottom-color: ", ";\n cursor: ", ";\n box-sizing: border-box;\n &:hover {\n color: ", ";\n font-weight: 500;\n }\n"], ["\n font-size: ", ";\n font-family: ", ";\n font-weight: ", ";\n color: ", ";\n line-height: 1em;\n padding: 16px 30px 12px;\n margin: 0 0 -1px 0;\n border-bottom-width: 4px;\n border-bottom-style: solid;\n border-bottom-color: ", ";\n cursor: ", ";\n box-sizing: border-box;\n &:hover {\n color: ", ";\n font-weight: 500;\n }\n"])), FontSizes.DEFAULT, FontStyles.DEFAULT, function (props) { return (props.$isActive ? 500 : 400); }, function (props) { return (props.$isActive ? Colors.BLACK.Hex : Colors.MEDIUM_GRAY.Hex); }, function (props) { return (props.$isActive ? Colors.PRIMARY.Hex : 'transparent'); }, function (props) { return (props.$isActive ? 'default' : 'pointer'); }, function (props) { return (props.$isActive ? Colors.BLACK.Hex : Colors.PRIMARY.Hex); });
|
|
2590
2589
|
var Tabs = function (_a) {
|
|
@@ -2595,8 +2594,8 @@ var Tabs = function (_a) {
|
|
|
2595
2594
|
})));
|
|
2596
2595
|
};
|
|
2597
2596
|
Tabs.defaultProps = {};
|
|
2598
|
-
var templateObject_1$3, templateObject_2$3;
|
|
2599
|
-
|
|
2597
|
+
var templateObject_1$3, templateObject_2$3;
|
|
2598
|
+
|
|
2600
2599
|
var Wrapper$1 = styled.div(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: inline-block;\n border-radius: 4px;\n padding: 4px 6px;\n background: ", ";\n color: #ffffff;\n box-sizing: border-box;\n cursor: ", ";\n"], ["\n display: inline-block;\n border-radius: 4px;\n padding: 4px 6px;\n background: ", ";\n color: #ffffff;\n box-sizing: border-box;\n cursor: ", ";\n"])), function (props) { return Colors[props.$color].Hex; }, function (props) { return (props.$removable ? 'pointer' : 'default'); });
|
|
2601
2600
|
var Content = styled.div(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
2602
2601
|
var Label = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n color: #ffffff;\n font-size: ", ";\n font-weight: 500;\n font-family: ", ";\n line-height: 1.2em;\n"], ["\n color: #ffffff;\n font-size: ", ";\n font-weight: 500;\n font-family: ", ";\n line-height: 1.2em;\n"])), FontSizes.SMALL, FontStyles.DEFAULT);
|
|
@@ -2609,8 +2608,8 @@ var Tag = function (_a) {
|
|
|
2609
2608
|
removable ? (React.createElement(Remove, null,
|
|
2610
2609
|
React.createElement(Icon, { color: '#ffffff', path: mdiClose, size: '15px' }))) : null)));
|
|
2611
2610
|
};
|
|
2612
|
-
var templateObject_1$2, templateObject_2$2, templateObject_3$1, templateObject_4;
|
|
2613
|
-
|
|
2611
|
+
var templateObject_1$2, templateObject_2$2, templateObject_3$1, templateObject_4;
|
|
2612
|
+
|
|
2614
2613
|
var Track = styled.div(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n height: 24px;\n border-radius: 12px;\n background: ", ";\n display: flex;\n align-items: center;\n cursor: pointer;\n width: 40px;\n padding: 2px;\n box-sizing: border-box;\n"], ["\n height: 24px;\n border-radius: 12px;\n background: ", ";\n display: flex;\n align-items: center;\n cursor: pointer;\n width: 40px;\n padding: 2px;\n box-sizing: border-box;\n"])), function (props) { return (props.$on ? Colors.GREEN.Hex : Colors.BLACK.Hex); });
|
|
2615
2614
|
var Handle = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n width: 20px;\n height: 20px;\n border-radius: 10px;\n background: #ffffff;\n margin-left: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"], ["\n width: 20px;\n height: 20px;\n border-radius: 10px;\n background: #ffffff;\n margin-left: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n"])), function (props) { return (props.$on ? 'auto' : '0px'); });
|
|
2616
2615
|
var Toggle = function (_a) {
|
|
@@ -2621,8 +2620,8 @@ var Toggle = function (_a) {
|
|
|
2621
2620
|
React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, path: on ? mdiCheck : mdiClose, size: '16px' }))));
|
|
2622
2621
|
};
|
|
2623
2622
|
Toggle.defaultProps = {};
|
|
2624
|
-
var templateObject_1$1, templateObject_2$1;
|
|
2625
|
-
|
|
2623
|
+
var templateObject_1$1, templateObject_2$1;
|
|
2624
|
+
|
|
2626
2625
|
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 40px auto;\n gap: 20px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"], ["\n width: 100%;\n padding: 40px auto;\n gap: 20px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"])));
|
|
2627
2626
|
var Wrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n gap: 10px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"], ["\n gap: 10px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n"])));
|
|
2628
2627
|
var StyledIcon = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n border-radius: 40px;\n background: #f5f5f5;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n border-radius: 40px;\n background: #f5f5f5;\n"])));
|
|
@@ -2636,7 +2635,7 @@ var ZeroState = function (_a) {
|
|
|
2636
2635
|
description && React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', type: 'default' })),
|
|
2637
2636
|
action && (React.createElement(Button, { children: action === null || action === void 0 ? void 0 : action.children, icon: action === null || action === void 0 ? void 0 : action.icon, onClick: action === null || action === void 0 ? void 0 : action.onClick }))));
|
|
2638
2637
|
};
|
|
2639
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
2640
|
-
|
|
2641
|
-
export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, Drawer, Field, Heading, Input$1 as Input, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
|
|
2642
|
-
//# sourceMappingURL=index.js.map
|
|
2638
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
2639
|
+
|
|
2640
|
+
export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, Drawer, Field, Heading, Input$1 as Input, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
|
|
2641
|
+
//# sourceMappingURL=index.js.map
|