@companycam/slab-web 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -0
- package/index.js +272 -43
- package/index.mjs +1520 -1051
- package/lib/Billboard/Billboard.d.ts +57 -0
- package/lib/Button/Button.d.ts +28 -0
- package/lib/InputText/InputText.d.ts +25 -0
- package/lib/ScreenReaderContent/ScreenReaderContent.d.ts +11 -0
- package/lib/shared/Field/Field.d.ts +15 -0
- package/lib/shared/styles.d.ts +1 -1
- package/package.json +9 -3
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import Ie, { useRef as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as se, jsx as V } from "react/jsx-runtime";
|
|
2
|
+
import Ie, { useRef as Dt, useDebugValue as nt, useContext as Ze, createElement as Ft } from "react";
|
|
3
|
+
function Lt(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Ye = { exports: {} }, M = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-is.production.min.js
|
|
@@ -13,73 +13,73 @@ var Le = { exports: {} }, M = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
16
|
+
var ot;
|
|
17
|
+
function jt() {
|
|
18
|
+
if (ot)
|
|
19
19
|
return M;
|
|
20
|
-
|
|
21
|
-
var e = Symbol.for("react.element"),
|
|
22
|
-
|
|
23
|
-
function S(
|
|
24
|
-
if (typeof
|
|
25
|
-
var R =
|
|
20
|
+
ot = 1;
|
|
21
|
+
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), d = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), x;
|
|
22
|
+
x = Symbol.for("react.module.reference");
|
|
23
|
+
function S(c) {
|
|
24
|
+
if (typeof c == "object" && c !== null) {
|
|
25
|
+
var R = c.$$typeof;
|
|
26
26
|
switch (R) {
|
|
27
27
|
case e:
|
|
28
|
-
switch (
|
|
28
|
+
switch (c = c.type, c) {
|
|
29
29
|
case t:
|
|
30
|
-
case
|
|
31
|
-
case
|
|
32
|
-
case
|
|
30
|
+
case o:
|
|
31
|
+
case n:
|
|
32
|
+
case _:
|
|
33
33
|
case v:
|
|
34
|
-
return
|
|
34
|
+
return c;
|
|
35
35
|
default:
|
|
36
|
-
switch (
|
|
37
|
-
case
|
|
38
|
-
case
|
|
39
|
-
case
|
|
40
|
-
case
|
|
36
|
+
switch (c = c && c.$$typeof, c) {
|
|
37
|
+
case d:
|
|
38
|
+
case i:
|
|
39
|
+
case p:
|
|
40
|
+
case $:
|
|
41
41
|
case b:
|
|
42
|
-
case
|
|
43
|
-
return
|
|
42
|
+
case s:
|
|
43
|
+
return c;
|
|
44
44
|
default:
|
|
45
45
|
return R;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
case
|
|
48
|
+
case r:
|
|
49
49
|
return R;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
return M.ContextConsumer =
|
|
53
|
+
return M.ContextConsumer = i, M.ContextProvider = s, M.Element = e, M.ForwardRef = p, M.Fragment = t, M.Lazy = $, M.Memo = b, M.Portal = r, M.Profiler = o, M.StrictMode = n, M.Suspense = _, M.SuspenseList = v, M.isAsyncMode = function() {
|
|
54
54
|
return !1;
|
|
55
55
|
}, M.isConcurrentMode = function() {
|
|
56
56
|
return !1;
|
|
57
|
-
}, M.isContextConsumer = function(
|
|
58
|
-
return S(
|
|
59
|
-
}, M.isContextProvider = function(
|
|
60
|
-
return S(
|
|
61
|
-
}, M.isElement = function(
|
|
62
|
-
return typeof
|
|
63
|
-
}, M.isForwardRef = function(
|
|
64
|
-
return S(
|
|
65
|
-
}, M.isFragment = function(
|
|
66
|
-
return S(
|
|
67
|
-
}, M.isLazy = function(
|
|
68
|
-
return S(
|
|
69
|
-
}, M.isMemo = function(
|
|
70
|
-
return S(
|
|
71
|
-
}, M.isPortal = function(
|
|
72
|
-
return S(
|
|
73
|
-
}, M.isProfiler = function(
|
|
74
|
-
return S(
|
|
75
|
-
}, M.isStrictMode = function(
|
|
76
|
-
return S(
|
|
77
|
-
}, M.isSuspense = function(
|
|
78
|
-
return S(
|
|
79
|
-
}, M.isSuspenseList = function(
|
|
80
|
-
return S(
|
|
81
|
-
}, M.isValidElementType = function(
|
|
82
|
-
return typeof
|
|
57
|
+
}, M.isContextConsumer = function(c) {
|
|
58
|
+
return S(c) === i;
|
|
59
|
+
}, M.isContextProvider = function(c) {
|
|
60
|
+
return S(c) === s;
|
|
61
|
+
}, M.isElement = function(c) {
|
|
62
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
63
|
+
}, M.isForwardRef = function(c) {
|
|
64
|
+
return S(c) === p;
|
|
65
|
+
}, M.isFragment = function(c) {
|
|
66
|
+
return S(c) === t;
|
|
67
|
+
}, M.isLazy = function(c) {
|
|
68
|
+
return S(c) === $;
|
|
69
|
+
}, M.isMemo = function(c) {
|
|
70
|
+
return S(c) === b;
|
|
71
|
+
}, M.isPortal = function(c) {
|
|
72
|
+
return S(c) === r;
|
|
73
|
+
}, M.isProfiler = function(c) {
|
|
74
|
+
return S(c) === o;
|
|
75
|
+
}, M.isStrictMode = function(c) {
|
|
76
|
+
return S(c) === n;
|
|
77
|
+
}, M.isSuspense = function(c) {
|
|
78
|
+
return S(c) === _;
|
|
79
|
+
}, M.isSuspenseList = function(c) {
|
|
80
|
+
return S(c) === v;
|
|
81
|
+
}, M.isValidElementType = function(c) {
|
|
82
|
+
return typeof c == "string" || typeof c == "function" || c === t || c === o || c === n || c === _ || c === v || c === T || typeof c == "object" && c !== null && (c.$$typeof === $ || c.$$typeof === b || c.$$typeof === s || c.$$typeof === i || c.$$typeof === p || c.$$typeof === x || c.getModuleId !== void 0);
|
|
83
83
|
}, M.typeOf = S, M;
|
|
84
84
|
}
|
|
85
85
|
var D = {};
|
|
@@ -92,103 +92,103 @@ var D = {};
|
|
|
92
92
|
* This source code is licensed under the MIT license found in the
|
|
93
93
|
* LICENSE file in the root directory of this source tree.
|
|
94
94
|
*/
|
|
95
|
-
var
|
|
96
|
-
function
|
|
97
|
-
return
|
|
98
|
-
var e = Symbol.for("react.element"),
|
|
99
|
-
|
|
100
|
-
function
|
|
101
|
-
return !!(typeof
|
|
95
|
+
var at;
|
|
96
|
+
function Yt() {
|
|
97
|
+
return at || (at = 1, process.env.NODE_ENV !== "production" && function() {
|
|
98
|
+
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), d = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), x = !1, S = !1, c = !1, R = !1, k = !1, A;
|
|
99
|
+
A = Symbol.for("react.module.reference");
|
|
100
|
+
function w(h) {
|
|
101
|
+
return !!(typeof h == "string" || typeof h == "function" || h === t || h === o || k || h === n || h === _ || h === v || R || h === T || x || S || c || typeof h == "object" && h !== null && (h.$$typeof === $ || h.$$typeof === b || h.$$typeof === s || h.$$typeof === i || h.$$typeof === p || // This needs to include all possible module reference object
|
|
102
102
|
// types supported by any Flight configuration anywhere since
|
|
103
103
|
// we don't know which Flight build this will end up being used
|
|
104
104
|
// with.
|
|
105
|
-
|
|
105
|
+
h.$$typeof === A || h.getModuleId !== void 0));
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
if (typeof
|
|
109
|
-
var
|
|
110
|
-
switch (
|
|
107
|
+
function l(h) {
|
|
108
|
+
if (typeof h == "object" && h !== null) {
|
|
109
|
+
var z = h.$$typeof;
|
|
110
|
+
switch (z) {
|
|
111
111
|
case e:
|
|
112
|
-
var
|
|
113
|
-
switch (
|
|
112
|
+
var H = h.type;
|
|
113
|
+
switch (H) {
|
|
114
114
|
case t:
|
|
115
|
-
case
|
|
116
|
-
case
|
|
117
|
-
case
|
|
115
|
+
case o:
|
|
116
|
+
case n:
|
|
117
|
+
case _:
|
|
118
118
|
case v:
|
|
119
|
-
return
|
|
119
|
+
return H;
|
|
120
120
|
default:
|
|
121
|
-
var
|
|
122
|
-
switch (
|
|
123
|
-
case
|
|
124
|
-
case
|
|
125
|
-
case
|
|
126
|
-
case
|
|
121
|
+
var I = H && H.$$typeof;
|
|
122
|
+
switch (I) {
|
|
123
|
+
case d:
|
|
124
|
+
case i:
|
|
125
|
+
case p:
|
|
126
|
+
case $:
|
|
127
127
|
case b:
|
|
128
|
-
case
|
|
129
|
-
return
|
|
128
|
+
case s:
|
|
129
|
+
return I;
|
|
130
130
|
default:
|
|
131
|
-
return
|
|
131
|
+
return z;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
case
|
|
135
|
-
return
|
|
134
|
+
case r:
|
|
135
|
+
return z;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
141
|
-
return
|
|
139
|
+
var G = i, oe = s, Q = e, re = p, ae = t, ue = $, q = b, J = r, ne = o, W = n, fe = _, ee = v, X = !1, de = !1;
|
|
140
|
+
function ie(h) {
|
|
141
|
+
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
144
|
-
return
|
|
143
|
+
function pe(h) {
|
|
144
|
+
return de || (de = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
return
|
|
146
|
+
function y(h) {
|
|
147
|
+
return l(h) === i;
|
|
148
148
|
}
|
|
149
|
-
function h
|
|
150
|
-
return
|
|
149
|
+
function m(h) {
|
|
150
|
+
return l(h) === s;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
return typeof
|
|
152
|
+
function g(h) {
|
|
153
|
+
return typeof h == "object" && h !== null && h.$$typeof === e;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function C(h) {
|
|
156
|
+
return l(h) === p;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function a(h) {
|
|
159
|
+
return l(h) === t;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
161
|
+
function O(h) {
|
|
162
|
+
return l(h) === $;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
return
|
|
164
|
+
function f(h) {
|
|
165
|
+
return l(h) === b;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
return
|
|
167
|
+
function Y(h) {
|
|
168
|
+
return l(h) === r;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
return
|
|
170
|
+
function N(h) {
|
|
171
|
+
return l(h) === o;
|
|
172
172
|
}
|
|
173
|
-
function P(
|
|
174
|
-
return
|
|
173
|
+
function P(h) {
|
|
174
|
+
return l(h) === n;
|
|
175
175
|
}
|
|
176
|
-
function u(
|
|
177
|
-
return
|
|
176
|
+
function u(h) {
|
|
177
|
+
return l(h) === _;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
179
|
+
function B(h) {
|
|
180
|
+
return l(h) === v;
|
|
181
181
|
}
|
|
182
|
-
D.ContextConsumer =
|
|
182
|
+
D.ContextConsumer = G, D.ContextProvider = oe, D.Element = Q, D.ForwardRef = re, D.Fragment = ae, D.Lazy = ue, D.Memo = q, D.Portal = J, D.Profiler = ne, D.StrictMode = W, D.Suspense = fe, D.SuspenseList = ee, D.isAsyncMode = ie, D.isConcurrentMode = pe, D.isContextConsumer = y, D.isContextProvider = m, D.isElement = g, D.isForwardRef = C, D.isFragment = a, D.isLazy = O, D.isMemo = f, D.isPortal = Y, D.isProfiler = N, D.isStrictMode = P, D.isSuspense = u, D.isSuspenseList = B, D.isValidElementType = w, D.typeOf = l;
|
|
183
183
|
}()), D;
|
|
184
184
|
}
|
|
185
|
-
process.env.NODE_ENV === "production" ?
|
|
186
|
-
var
|
|
187
|
-
function
|
|
188
|
-
function
|
|
189
|
-
for (var
|
|
190
|
-
if (u =
|
|
191
|
-
if (
|
|
185
|
+
process.env.NODE_ENV === "production" ? Ye.exports = jt() : Ye.exports = Yt();
|
|
186
|
+
var Ke = Ye.exports;
|
|
187
|
+
function Vt(e) {
|
|
188
|
+
function r(y, m, g, C, a) {
|
|
189
|
+
for (var O = 0, f = 0, Y = 0, N = 0, P, u, B = 0, h = 0, z, H = z = P = 0, I = 0, Z = 0, Se = 0, K = 0, Ae = g.length, we = Ae - 1, ce, E = "", U = "", Me = "", De = "", he; I < Ae; ) {
|
|
190
|
+
if (u = g.charCodeAt(I), I === we && f + N + Y + O !== 0 && (f !== 0 && (u = f === 47 ? 10 : 47), N = Y = O = 0, Ae++, we++), f + N + Y + O === 0) {
|
|
191
|
+
if (I === we && (0 < Z && (E = E.replace($, "")), 0 < E.trim().length)) {
|
|
192
192
|
switch (u) {
|
|
193
193
|
case 32:
|
|
194
194
|
case 9:
|
|
@@ -197,40 +197,40 @@ function Nt(e) {
|
|
|
197
197
|
case 10:
|
|
198
198
|
break;
|
|
199
199
|
default:
|
|
200
|
-
|
|
200
|
+
E += g.charAt(I);
|
|
201
201
|
}
|
|
202
202
|
u = 59;
|
|
203
203
|
}
|
|
204
204
|
switch (u) {
|
|
205
205
|
case 123:
|
|
206
|
-
for (
|
|
207
|
-
switch (u =
|
|
206
|
+
for (E = E.trim(), P = E.charCodeAt(0), z = 1, K = ++I; I < Ae; ) {
|
|
207
|
+
switch (u = g.charCodeAt(I)) {
|
|
208
208
|
case 123:
|
|
209
|
-
|
|
209
|
+
z++;
|
|
210
210
|
break;
|
|
211
211
|
case 125:
|
|
212
|
-
|
|
212
|
+
z--;
|
|
213
213
|
break;
|
|
214
214
|
case 47:
|
|
215
|
-
switch (u =
|
|
215
|
+
switch (u = g.charCodeAt(I + 1)) {
|
|
216
216
|
case 42:
|
|
217
217
|
case 47:
|
|
218
218
|
e: {
|
|
219
|
-
for (
|
|
220
|
-
switch (
|
|
219
|
+
for (H = I + 1; H < we; ++H)
|
|
220
|
+
switch (g.charCodeAt(H)) {
|
|
221
221
|
case 47:
|
|
222
|
-
if (u === 42 &&
|
|
223
|
-
|
|
222
|
+
if (u === 42 && g.charCodeAt(H - 1) === 42 && I + 2 !== H) {
|
|
223
|
+
I = H + 1;
|
|
224
224
|
break e;
|
|
225
225
|
}
|
|
226
226
|
break;
|
|
227
227
|
case 10:
|
|
228
228
|
if (u === 47) {
|
|
229
|
-
|
|
229
|
+
I = H + 1;
|
|
230
230
|
break e;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
|
|
233
|
+
I = H;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
break;
|
|
@@ -240,380 +240,380 @@ function Nt(e) {
|
|
|
240
240
|
u++;
|
|
241
241
|
case 34:
|
|
242
242
|
case 39:
|
|
243
|
-
for (;
|
|
243
|
+
for (; I++ < we && g.charCodeAt(I) !== u; )
|
|
244
244
|
;
|
|
245
245
|
}
|
|
246
|
-
if (
|
|
246
|
+
if (z === 0)
|
|
247
247
|
break;
|
|
248
|
-
|
|
248
|
+
I++;
|
|
249
249
|
}
|
|
250
|
-
switch (
|
|
250
|
+
switch (z = g.substring(K, I), P === 0 && (P = (E = E.replace(b, "").trim()).charCodeAt(0)), P) {
|
|
251
251
|
case 64:
|
|
252
|
-
switch (0 <
|
|
252
|
+
switch (0 < Z && (E = E.replace($, "")), u = E.charCodeAt(1), u) {
|
|
253
253
|
case 100:
|
|
254
254
|
case 109:
|
|
255
255
|
case 115:
|
|
256
256
|
case 45:
|
|
257
|
-
|
|
257
|
+
Z = m;
|
|
258
258
|
break;
|
|
259
259
|
default:
|
|
260
|
-
|
|
260
|
+
Z = fe;
|
|
261
261
|
}
|
|
262
|
-
if (
|
|
262
|
+
if (z = r(m, Z, z, u, a + 1), K = z.length, 0 < X && (Z = t(fe, E, Se), he = d(3, z, Z, m, J, q, K, u, a, C), E = Z.join(""), he !== void 0 && (K = (z = he.trim()).length) === 0 && (u = 0, z = "")), 0 < K)
|
|
263
263
|
switch (u) {
|
|
264
264
|
case 115:
|
|
265
|
-
|
|
265
|
+
E = E.replace(G, i);
|
|
266
266
|
case 100:
|
|
267
267
|
case 109:
|
|
268
268
|
case 45:
|
|
269
|
-
|
|
269
|
+
z = E + "{" + z + "}";
|
|
270
270
|
break;
|
|
271
271
|
case 107:
|
|
272
|
-
|
|
272
|
+
E = E.replace(k, "$1 $2"), z = E + "{" + z + "}", z = W === 1 || W === 2 && s("@" + z, 3) ? "@-webkit-" + z + "@" + z : "@" + z;
|
|
273
273
|
break;
|
|
274
274
|
default:
|
|
275
|
-
|
|
275
|
+
z = E + z, C === 112 && (z = (U += z, ""));
|
|
276
276
|
}
|
|
277
277
|
else
|
|
278
|
-
|
|
278
|
+
z = "";
|
|
279
279
|
break;
|
|
280
280
|
default:
|
|
281
|
-
|
|
281
|
+
z = r(m, t(m, E, Se), z, C, a + 1);
|
|
282
282
|
}
|
|
283
|
-
Me +=
|
|
283
|
+
Me += z, z = Se = Z = H = P = 0, E = "", u = g.charCodeAt(++I);
|
|
284
284
|
break;
|
|
285
285
|
case 125:
|
|
286
286
|
case 59:
|
|
287
|
-
if (
|
|
288
|
-
switch (
|
|
287
|
+
if (E = (0 < Z ? E.replace($, "") : E).trim(), 1 < (K = E.length))
|
|
288
|
+
switch (H === 0 && (P = E.charCodeAt(0), P === 45 || 96 < P && 123 > P) && (K = (E = E.replace(" ", ":")).length), 0 < X && (he = d(1, E, m, y, J, q, U.length, C, a, C)) !== void 0 && (K = (E = he.trim()).length) === 0 && (E = "\0\0"), P = E.charCodeAt(0), u = E.charCodeAt(1), P) {
|
|
289
289
|
case 0:
|
|
290
290
|
break;
|
|
291
291
|
case 64:
|
|
292
292
|
if (u === 105 || u === 99) {
|
|
293
|
-
De +=
|
|
293
|
+
De += E + g.charAt(I);
|
|
294
294
|
break;
|
|
295
295
|
}
|
|
296
296
|
default:
|
|
297
|
-
|
|
297
|
+
E.charCodeAt(K - 1) !== 58 && (U += o(E, P, u, E.charCodeAt(2)));
|
|
298
298
|
}
|
|
299
|
-
Se =
|
|
299
|
+
Se = Z = H = P = 0, E = "", u = g.charCodeAt(++I);
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
switch (u) {
|
|
303
303
|
case 13:
|
|
304
304
|
case 10:
|
|
305
|
-
|
|
305
|
+
f === 47 ? f = 0 : 1 + P === 0 && C !== 107 && 0 < E.length && (Z = 1, E += "\0"), 0 < X * ie && d(0, E, m, y, J, q, U.length, C, a, C), q = 1, J++;
|
|
306
306
|
break;
|
|
307
307
|
case 59:
|
|
308
308
|
case 125:
|
|
309
|
-
if (
|
|
310
|
-
|
|
309
|
+
if (f + N + Y + O === 0) {
|
|
310
|
+
q++;
|
|
311
311
|
break;
|
|
312
312
|
}
|
|
313
313
|
default:
|
|
314
|
-
switch (
|
|
314
|
+
switch (q++, ce = g.charAt(I), u) {
|
|
315
315
|
case 9:
|
|
316
316
|
case 32:
|
|
317
|
-
if (
|
|
318
|
-
switch (
|
|
317
|
+
if (N + O + f === 0)
|
|
318
|
+
switch (B) {
|
|
319
319
|
case 44:
|
|
320
320
|
case 58:
|
|
321
321
|
case 9:
|
|
322
322
|
case 32:
|
|
323
|
-
|
|
323
|
+
ce = "";
|
|
324
324
|
break;
|
|
325
325
|
default:
|
|
326
|
-
u !== 32 && (
|
|
326
|
+
u !== 32 && (ce = " ");
|
|
327
327
|
}
|
|
328
328
|
break;
|
|
329
329
|
case 0:
|
|
330
|
-
|
|
330
|
+
ce = "\\0";
|
|
331
331
|
break;
|
|
332
332
|
case 12:
|
|
333
|
-
|
|
333
|
+
ce = "\\f";
|
|
334
334
|
break;
|
|
335
335
|
case 11:
|
|
336
|
-
|
|
336
|
+
ce = "\\v";
|
|
337
337
|
break;
|
|
338
338
|
case 38:
|
|
339
|
-
|
|
339
|
+
N + f + O === 0 && (Z = Se = 1, ce = "\f" + ce);
|
|
340
340
|
break;
|
|
341
341
|
case 108:
|
|
342
|
-
if (
|
|
343
|
-
switch (
|
|
342
|
+
if (N + f + O + ne === 0 && 0 < H)
|
|
343
|
+
switch (I - H) {
|
|
344
344
|
case 2:
|
|
345
|
-
|
|
345
|
+
B === 112 && g.charCodeAt(I - 3) === 58 && (ne = B);
|
|
346
346
|
case 8:
|
|
347
|
-
|
|
347
|
+
h === 111 && (ne = h);
|
|
348
348
|
}
|
|
349
349
|
break;
|
|
350
350
|
case 58:
|
|
351
|
-
|
|
351
|
+
N + f + O === 0 && (H = I);
|
|
352
352
|
break;
|
|
353
353
|
case 44:
|
|
354
|
-
|
|
354
|
+
f + Y + N + O === 0 && (Z = 1, ce += "\r");
|
|
355
355
|
break;
|
|
356
356
|
case 34:
|
|
357
357
|
case 39:
|
|
358
|
-
|
|
358
|
+
f === 0 && (N = N === u ? 0 : N === 0 ? u : N);
|
|
359
359
|
break;
|
|
360
360
|
case 91:
|
|
361
|
-
|
|
361
|
+
N + f + Y === 0 && O++;
|
|
362
362
|
break;
|
|
363
363
|
case 93:
|
|
364
|
-
|
|
364
|
+
N + f + Y === 0 && O--;
|
|
365
365
|
break;
|
|
366
366
|
case 41:
|
|
367
|
-
|
|
367
|
+
N + f + O === 0 && Y--;
|
|
368
368
|
break;
|
|
369
369
|
case 40:
|
|
370
|
-
if (
|
|
370
|
+
if (N + f + O === 0) {
|
|
371
371
|
if (P === 0)
|
|
372
|
-
switch (2 *
|
|
372
|
+
switch (2 * B + 3 * h) {
|
|
373
373
|
case 533:
|
|
374
374
|
break;
|
|
375
375
|
default:
|
|
376
376
|
P = 1;
|
|
377
377
|
}
|
|
378
|
-
|
|
378
|
+
Y++;
|
|
379
379
|
}
|
|
380
380
|
break;
|
|
381
381
|
case 64:
|
|
382
|
-
|
|
382
|
+
f + Y + N + O + H + z === 0 && (z = 1);
|
|
383
383
|
break;
|
|
384
384
|
case 42:
|
|
385
385
|
case 47:
|
|
386
|
-
if (!(0 <
|
|
387
|
-
switch (
|
|
386
|
+
if (!(0 < N + O + Y))
|
|
387
|
+
switch (f) {
|
|
388
388
|
case 0:
|
|
389
|
-
switch (2 * u + 3 *
|
|
389
|
+
switch (2 * u + 3 * g.charCodeAt(I + 1)) {
|
|
390
390
|
case 235:
|
|
391
|
-
|
|
391
|
+
f = 47;
|
|
392
392
|
break;
|
|
393
393
|
case 220:
|
|
394
|
-
|
|
394
|
+
K = I, f = 42;
|
|
395
395
|
}
|
|
396
396
|
break;
|
|
397
397
|
case 42:
|
|
398
|
-
u === 47 &&
|
|
398
|
+
u === 47 && B === 42 && K + 2 !== I && (g.charCodeAt(K + 2) === 33 && (U += g.substring(K, I + 1)), ce = "", f = 0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
|
|
401
|
+
f === 0 && (E += ce);
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
h = B, B = u, I++;
|
|
404
404
|
}
|
|
405
|
-
if (
|
|
406
|
-
if (
|
|
407
|
-
return De +
|
|
408
|
-
if (
|
|
409
|
-
switch (
|
|
405
|
+
if (K = U.length, 0 < K) {
|
|
406
|
+
if (Z = m, 0 < X && (he = d(2, U, Z, y, J, q, K, C, a, C), he !== void 0 && (U = he).length === 0))
|
|
407
|
+
return De + U + Me;
|
|
408
|
+
if (U = Z.join(",") + "{" + U + "}", W * ne !== 0) {
|
|
409
|
+
switch (W !== 2 || s(U, 2) || (ne = 0), ne) {
|
|
410
410
|
case 111:
|
|
411
|
-
|
|
411
|
+
U = U.replace(w, ":-moz-$1") + U;
|
|
412
412
|
break;
|
|
413
413
|
case 112:
|
|
414
|
-
|
|
414
|
+
U = U.replace(A, "::-webkit-input-$1") + U.replace(A, "::-moz-$1") + U.replace(A, ":-ms-input-$1") + U;
|
|
415
415
|
}
|
|
416
|
-
|
|
416
|
+
ne = 0;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
return De +
|
|
419
|
+
return De + U + Me;
|
|
420
420
|
}
|
|
421
|
-
function t(
|
|
422
|
-
var
|
|
423
|
-
|
|
424
|
-
var
|
|
425
|
-
switch (
|
|
421
|
+
function t(y, m, g) {
|
|
422
|
+
var C = m.trim().split(c);
|
|
423
|
+
m = C;
|
|
424
|
+
var a = C.length, O = y.length;
|
|
425
|
+
switch (O) {
|
|
426
426
|
case 0:
|
|
427
427
|
case 1:
|
|
428
|
-
var
|
|
429
|
-
for (
|
|
430
|
-
|
|
428
|
+
var f = 0;
|
|
429
|
+
for (y = O === 0 ? "" : y[0] + " "; f < a; ++f)
|
|
430
|
+
m[f] = n(y, m[f], g).trim();
|
|
431
431
|
break;
|
|
432
432
|
default:
|
|
433
|
-
var
|
|
434
|
-
for (
|
|
435
|
-
for (var
|
|
436
|
-
|
|
433
|
+
var Y = f = 0;
|
|
434
|
+
for (m = []; f < a; ++f)
|
|
435
|
+
for (var N = 0; N < O; ++N)
|
|
436
|
+
m[Y++] = n(y[N] + " ", C[f], g).trim();
|
|
437
437
|
}
|
|
438
|
-
return
|
|
438
|
+
return m;
|
|
439
439
|
}
|
|
440
|
-
function
|
|
441
|
-
var
|
|
442
|
-
switch (33 >
|
|
440
|
+
function n(y, m, g) {
|
|
441
|
+
var C = m.charCodeAt(0);
|
|
442
|
+
switch (33 > C && (C = (m = m.trim()).charCodeAt(0)), C) {
|
|
443
443
|
case 38:
|
|
444
|
-
return
|
|
444
|
+
return m.replace(R, "$1" + y.trim());
|
|
445
445
|
case 58:
|
|
446
|
-
return
|
|
446
|
+
return y.trim() + m.replace(R, "$1" + y.trim());
|
|
447
447
|
default:
|
|
448
|
-
if (0 < 1 *
|
|
449
|
-
return
|
|
448
|
+
if (0 < 1 * g && 0 < m.indexOf("\f"))
|
|
449
|
+
return m.replace(R, (y.charCodeAt(0) === 58 ? "" : "$1") + y.trim());
|
|
450
450
|
}
|
|
451
|
-
return
|
|
451
|
+
return y + m;
|
|
452
452
|
}
|
|
453
|
-
function
|
|
454
|
-
var
|
|
455
|
-
if (
|
|
456
|
-
|
|
457
|
-
var
|
|
458
|
-
return
|
|
453
|
+
function o(y, m, g, C) {
|
|
454
|
+
var a = y + ";", O = 2 * m + 3 * g + 4 * C;
|
|
455
|
+
if (O === 944) {
|
|
456
|
+
y = a.indexOf(":", 9) + 1;
|
|
457
|
+
var f = a.substring(y, a.length - 1).trim();
|
|
458
|
+
return f = a.substring(0, y).trim() + f + ";", W === 1 || W === 2 && s(f, 1) ? "-webkit-" + f + f : f;
|
|
459
459
|
}
|
|
460
|
-
if (
|
|
461
|
-
return
|
|
462
|
-
switch (
|
|
460
|
+
if (W === 0 || W === 2 && !s(a, 1))
|
|
461
|
+
return a;
|
|
462
|
+
switch (O) {
|
|
463
463
|
case 1015:
|
|
464
|
-
return
|
|
464
|
+
return a.charCodeAt(10) === 97 ? "-webkit-" + a + a : a;
|
|
465
465
|
case 951:
|
|
466
|
-
return
|
|
466
|
+
return a.charCodeAt(3) === 116 ? "-webkit-" + a + a : a;
|
|
467
467
|
case 963:
|
|
468
|
-
return
|
|
468
|
+
return a.charCodeAt(5) === 110 ? "-webkit-" + a + a : a;
|
|
469
469
|
case 1009:
|
|
470
|
-
if (
|
|
470
|
+
if (a.charCodeAt(4) !== 100)
|
|
471
471
|
break;
|
|
472
472
|
case 969:
|
|
473
473
|
case 942:
|
|
474
|
-
return "-webkit-" +
|
|
474
|
+
return "-webkit-" + a + a;
|
|
475
475
|
case 978:
|
|
476
|
-
return "-webkit-" +
|
|
476
|
+
return "-webkit-" + a + "-moz-" + a + a;
|
|
477
477
|
case 1019:
|
|
478
478
|
case 983:
|
|
479
|
-
return "-webkit-" +
|
|
479
|
+
return "-webkit-" + a + "-moz-" + a + "-ms-" + a + a;
|
|
480
480
|
case 883:
|
|
481
|
-
if (
|
|
482
|
-
return "-webkit-" +
|
|
483
|
-
if (0 <
|
|
484
|
-
return
|
|
481
|
+
if (a.charCodeAt(8) === 45)
|
|
482
|
+
return "-webkit-" + a + a;
|
|
483
|
+
if (0 < a.indexOf("image-set(", 11))
|
|
484
|
+
return a.replace(ue, "$1-webkit-$2") + a;
|
|
485
485
|
break;
|
|
486
486
|
case 932:
|
|
487
|
-
if (
|
|
488
|
-
switch (
|
|
487
|
+
if (a.charCodeAt(4) === 45)
|
|
488
|
+
switch (a.charCodeAt(5)) {
|
|
489
489
|
case 103:
|
|
490
|
-
return "-webkit-box-" +
|
|
490
|
+
return "-webkit-box-" + a.replace("-grow", "") + "-webkit-" + a + "-ms-" + a.replace("grow", "positive") + a;
|
|
491
491
|
case 115:
|
|
492
|
-
return "-webkit-" +
|
|
492
|
+
return "-webkit-" + a + "-ms-" + a.replace("shrink", "negative") + a;
|
|
493
493
|
case 98:
|
|
494
|
-
return "-webkit-" +
|
|
494
|
+
return "-webkit-" + a + "-ms-" + a.replace("basis", "preferred-size") + a;
|
|
495
495
|
}
|
|
496
|
-
return "-webkit-" +
|
|
496
|
+
return "-webkit-" + a + "-ms-" + a + a;
|
|
497
497
|
case 964:
|
|
498
|
-
return "-webkit-" +
|
|
498
|
+
return "-webkit-" + a + "-ms-flex-" + a + a;
|
|
499
499
|
case 1023:
|
|
500
|
-
if (
|
|
500
|
+
if (a.charCodeAt(8) !== 99)
|
|
501
501
|
break;
|
|
502
|
-
return
|
|
502
|
+
return f = a.substring(a.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + f + "-webkit-" + a + "-ms-flex-pack" + f + a;
|
|
503
503
|
case 1005:
|
|
504
|
-
return
|
|
504
|
+
return x.test(a) ? a.replace(T, ":-webkit-") + a.replace(T, ":-moz-") + a : a;
|
|
505
505
|
case 1e3:
|
|
506
|
-
switch (
|
|
506
|
+
switch (f = a.substring(13).trim(), m = f.indexOf("-") + 1, f.charCodeAt(0) + f.charCodeAt(m)) {
|
|
507
507
|
case 226:
|
|
508
|
-
|
|
508
|
+
f = a.replace(l, "tb");
|
|
509
509
|
break;
|
|
510
510
|
case 232:
|
|
511
|
-
|
|
511
|
+
f = a.replace(l, "tb-rl");
|
|
512
512
|
break;
|
|
513
513
|
case 220:
|
|
514
|
-
|
|
514
|
+
f = a.replace(l, "lr");
|
|
515
515
|
break;
|
|
516
516
|
default:
|
|
517
|
-
return
|
|
517
|
+
return a;
|
|
518
518
|
}
|
|
519
|
-
return "-webkit-" +
|
|
519
|
+
return "-webkit-" + a + "-ms-" + f + a;
|
|
520
520
|
case 1017:
|
|
521
|
-
if (
|
|
521
|
+
if (a.indexOf("sticky", 9) === -1)
|
|
522
522
|
break;
|
|
523
523
|
case 975:
|
|
524
|
-
switch (
|
|
524
|
+
switch (m = (a = y).length - 10, f = (a.charCodeAt(m) === 33 ? a.substring(0, m) : a).substring(y.indexOf(":", 7) + 1).trim(), O = f.charCodeAt(0) + (f.charCodeAt(7) | 0)) {
|
|
525
525
|
case 203:
|
|
526
|
-
if (111 >
|
|
526
|
+
if (111 > f.charCodeAt(8))
|
|
527
527
|
break;
|
|
528
528
|
case 115:
|
|
529
|
-
|
|
529
|
+
a = a.replace(f, "-webkit-" + f) + ";" + a;
|
|
530
530
|
break;
|
|
531
531
|
case 207:
|
|
532
532
|
case 102:
|
|
533
|
-
|
|
533
|
+
a = a.replace(f, "-webkit-" + (102 < O ? "inline-" : "") + "box") + ";" + a.replace(f, "-webkit-" + f) + ";" + a.replace(f, "-ms-" + f + "box") + ";" + a;
|
|
534
534
|
}
|
|
535
|
-
return
|
|
535
|
+
return a + ";";
|
|
536
536
|
case 938:
|
|
537
|
-
if (
|
|
538
|
-
switch (
|
|
537
|
+
if (a.charCodeAt(5) === 45)
|
|
538
|
+
switch (a.charCodeAt(6)) {
|
|
539
539
|
case 105:
|
|
540
|
-
return
|
|
540
|
+
return f = a.replace("-items", ""), "-webkit-" + a + "-webkit-box-" + f + "-ms-flex-" + f + a;
|
|
541
541
|
case 115:
|
|
542
|
-
return "-webkit-" +
|
|
542
|
+
return "-webkit-" + a + "-ms-flex-item-" + a.replace(Q, "") + a;
|
|
543
543
|
default:
|
|
544
|
-
return "-webkit-" +
|
|
544
|
+
return "-webkit-" + a + "-ms-flex-line-pack" + a.replace("align-content", "").replace(Q, "") + a;
|
|
545
545
|
}
|
|
546
546
|
break;
|
|
547
547
|
case 973:
|
|
548
548
|
case 989:
|
|
549
|
-
if (
|
|
549
|
+
if (a.charCodeAt(3) !== 45 || a.charCodeAt(4) === 122)
|
|
550
550
|
break;
|
|
551
551
|
case 931:
|
|
552
552
|
case 953:
|
|
553
|
-
if (
|
|
554
|
-
return (
|
|
553
|
+
if (ae.test(y) === !0)
|
|
554
|
+
return (f = y.substring(y.indexOf(":") + 1)).charCodeAt(0) === 115 ? o(y.replace("stretch", "fill-available"), m, g, C).replace(":fill-available", ":stretch") : a.replace(f, "-webkit-" + f) + a.replace(f, "-moz-" + f.replace("fill-", "")) + a;
|
|
555
555
|
break;
|
|
556
556
|
case 962:
|
|
557
|
-
if (
|
|
558
|
-
return
|
|
557
|
+
if (a = "-webkit-" + a + (a.charCodeAt(5) === 102 ? "-ms-" + a : "") + a, g + C === 211 && a.charCodeAt(13) === 105 && 0 < a.indexOf("transform", 10))
|
|
558
|
+
return a.substring(0, a.indexOf(";", 27) + 1).replace(S, "$1-webkit-$2") + a;
|
|
559
559
|
}
|
|
560
|
-
return
|
|
560
|
+
return a;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
var
|
|
564
|
-
return
|
|
562
|
+
function s(y, m) {
|
|
563
|
+
var g = y.indexOf(m === 1 ? ":" : "{"), C = y.substring(0, m !== 3 ? g : 10);
|
|
564
|
+
return g = y.substring(g + 1, y.length - 1), de(m !== 2 ? C : C.replace(re, "$1"), g, m);
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
var
|
|
568
|
-
return
|
|
566
|
+
function i(y, m) {
|
|
567
|
+
var g = o(m, m.charCodeAt(0), m.charCodeAt(1), m.charCodeAt(2));
|
|
568
|
+
return g !== m + ";" ? g.replace(oe, " or ($1)").substring(4) : "(" + m + ")";
|
|
569
569
|
}
|
|
570
|
-
function
|
|
571
|
-
for (var u = 0,
|
|
572
|
-
switch (
|
|
570
|
+
function d(y, m, g, C, a, O, f, Y, N, P) {
|
|
571
|
+
for (var u = 0, B = m, h; u < X; ++u)
|
|
572
|
+
switch (h = ee[u].call(v, y, B, g, C, a, O, f, Y, N, P)) {
|
|
573
573
|
case void 0:
|
|
574
574
|
case !1:
|
|
575
575
|
case !0:
|
|
576
576
|
case null:
|
|
577
577
|
break;
|
|
578
578
|
default:
|
|
579
|
-
|
|
579
|
+
B = h;
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
582
|
-
return
|
|
581
|
+
if (B !== m)
|
|
582
|
+
return B;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
585
|
-
switch (
|
|
584
|
+
function p(y) {
|
|
585
|
+
switch (y) {
|
|
586
586
|
case void 0:
|
|
587
587
|
case null:
|
|
588
|
-
|
|
588
|
+
X = ee.length = 0;
|
|
589
589
|
break;
|
|
590
590
|
default:
|
|
591
|
-
if (typeof
|
|
592
|
-
|
|
593
|
-
else if (typeof
|
|
594
|
-
for (var
|
|
595
|
-
|
|
591
|
+
if (typeof y == "function")
|
|
592
|
+
ee[X++] = y;
|
|
593
|
+
else if (typeof y == "object")
|
|
594
|
+
for (var m = 0, g = y.length; m < g; ++m)
|
|
595
|
+
p(y[m]);
|
|
596
596
|
else
|
|
597
|
-
|
|
597
|
+
ie = !!y | 0;
|
|
598
598
|
}
|
|
599
|
-
return
|
|
599
|
+
return p;
|
|
600
600
|
}
|
|
601
|
-
function
|
|
602
|
-
return
|
|
601
|
+
function _(y) {
|
|
602
|
+
return y = y.prefix, y !== void 0 && (de = null, y ? typeof y != "function" ? W = 1 : (W = 2, de = y) : W = 0), _;
|
|
603
603
|
}
|
|
604
|
-
function v(
|
|
605
|
-
var
|
|
606
|
-
if (33 >
|
|
607
|
-
var
|
|
608
|
-
|
|
604
|
+
function v(y, m) {
|
|
605
|
+
var g = y;
|
|
606
|
+
if (33 > g.charCodeAt(0) && (g = g.trim()), pe = g, g = [pe], 0 < X) {
|
|
607
|
+
var C = d(-1, m, g, g, J, q, 0, 0, 0, 0);
|
|
608
|
+
C !== void 0 && typeof C == "string" && (m = C);
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
return 0 <
|
|
610
|
+
var a = r(fe, g, m, 0, 0);
|
|
611
|
+
return 0 < X && (C = d(-2, a, g, g, J, q, a.length, 0, 0, 0), C !== void 0 && (a = C)), pe = "", ne = 0, q = J = 1, a;
|
|
612
612
|
}
|
|
613
|
-
var b = /^\0+/g,
|
|
614
|
-
return v.use =
|
|
613
|
+
var b = /^\0+/g, $ = /[\0\r\f]/g, T = /: */g, x = /zoo|gra/, S = /([,: ])(transform)/g, c = /,\r+?/g, R = /([\t\r\n ])*\f?&/g, k = /@(k\w+)\s*(\S*)\s*/, A = /::(place)/g, w = /:(read-only)/g, l = /[svh]\w+-[tblr]{2}/, G = /\(\s*(.*)\s*\)/g, oe = /([\s\S]*?);/g, Q = /-self|flex-/g, re = /[^]*?(:[rp][el]a[\w-]+)[^]*/, ae = /stretch|:\s*\w+\-(?:conte|avail)/, ue = /([^-])(image-set\()/, q = 1, J = 1, ne = 0, W = 1, fe = [], ee = [], X = 0, de = null, ie = 0, pe = "";
|
|
614
|
+
return v.use = p, v.set = _, e !== void 0 && _(e), v;
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var Bt = {
|
|
617
617
|
animationIterationCount: 1,
|
|
618
618
|
borderImageOutset: 1,
|
|
619
619
|
borderImageSlice: 1,
|
|
@@ -661,18 +661,18 @@ var It = {
|
|
|
661
661
|
strokeOpacity: 1,
|
|
662
662
|
strokeWidth: 1
|
|
663
663
|
};
|
|
664
|
-
function
|
|
665
|
-
var
|
|
664
|
+
function Ht(e) {
|
|
665
|
+
var r = /* @__PURE__ */ Object.create(null);
|
|
666
666
|
return function(t) {
|
|
667
|
-
return
|
|
667
|
+
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
668
668
|
};
|
|
669
669
|
}
|
|
670
|
-
var
|
|
670
|
+
var Ut = /^((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)-.*))$/, st = /* @__PURE__ */ Ht(
|
|
671
671
|
function(e) {
|
|
672
|
-
return
|
|
672
|
+
return Ut.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
673
673
|
}
|
|
674
674
|
/* Z+1 */
|
|
675
|
-
),
|
|
675
|
+
), Ve = { exports: {} }, F = {};
|
|
676
676
|
/** @license React v16.13.1
|
|
677
677
|
* react-is.production.min.js
|
|
678
678
|
*
|
|
@@ -681,74 +681,74 @@ var Dt = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
681
681
|
* This source code is licensed under the MIT license found in the
|
|
682
682
|
* LICENSE file in the root directory of this source tree.
|
|
683
683
|
*/
|
|
684
|
-
var
|
|
685
|
-
function
|
|
686
|
-
if (
|
|
684
|
+
var it;
|
|
685
|
+
function Gt() {
|
|
686
|
+
if (it)
|
|
687
687
|
return F;
|
|
688
|
-
|
|
689
|
-
var e = typeof Symbol == "function" && Symbol.for,
|
|
690
|
-
function
|
|
691
|
-
if (typeof
|
|
692
|
-
var
|
|
693
|
-
switch (
|
|
694
|
-
case
|
|
695
|
-
switch (
|
|
688
|
+
it = 1;
|
|
689
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, _ = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, $ = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, c = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
690
|
+
function A(l) {
|
|
691
|
+
if (typeof l == "object" && l !== null) {
|
|
692
|
+
var G = l.$$typeof;
|
|
693
|
+
switch (G) {
|
|
694
|
+
case r:
|
|
695
|
+
switch (l = l.type, l) {
|
|
696
|
+
case p:
|
|
696
697
|
case _:
|
|
697
|
-
case
|
|
698
|
-
case
|
|
699
|
-
case
|
|
700
|
-
case a:
|
|
698
|
+
case n:
|
|
699
|
+
case s:
|
|
700
|
+
case o:
|
|
701
701
|
case b:
|
|
702
|
-
return
|
|
702
|
+
return l;
|
|
703
703
|
default:
|
|
704
|
-
switch (
|
|
705
|
-
case
|
|
704
|
+
switch (l = l && l.$$typeof, l) {
|
|
705
|
+
case d:
|
|
706
706
|
case v:
|
|
707
|
-
case
|
|
708
|
-
case
|
|
709
|
-
case
|
|
710
|
-
return
|
|
707
|
+
case x:
|
|
708
|
+
case T:
|
|
709
|
+
case i:
|
|
710
|
+
return l;
|
|
711
711
|
default:
|
|
712
|
-
return
|
|
712
|
+
return G;
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
715
|
case t:
|
|
716
|
-
return
|
|
716
|
+
return G;
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
return
|
|
720
|
+
function w(l) {
|
|
721
|
+
return A(l) === _;
|
|
722
722
|
}
|
|
723
|
-
return F.AsyncMode =
|
|
724
|
-
return
|
|
725
|
-
}, F.isConcurrentMode =
|
|
726
|
-
return
|
|
727
|
-
}, F.isContextProvider = function(
|
|
728
|
-
return
|
|
729
|
-
}, F.isElement = function(
|
|
730
|
-
return typeof
|
|
731
|
-
}, F.isForwardRef = function(
|
|
732
|
-
return
|
|
733
|
-
}, F.isFragment = function(
|
|
734
|
-
return
|
|
735
|
-
}, F.isLazy = function(
|
|
736
|
-
return
|
|
737
|
-
}, F.isMemo = function(
|
|
738
|
-
return
|
|
739
|
-
}, F.isPortal = function(
|
|
740
|
-
return
|
|
741
|
-
}, F.isProfiler = function(
|
|
742
|
-
return
|
|
743
|
-
}, F.isStrictMode = function(
|
|
744
|
-
return
|
|
745
|
-
}, F.isSuspense = function(
|
|
746
|
-
return
|
|
747
|
-
}, F.isValidElementType = function(
|
|
748
|
-
return typeof
|
|
749
|
-
}, F.typeOf =
|
|
723
|
+
return F.AsyncMode = p, F.ConcurrentMode = _, F.ContextConsumer = d, F.ContextProvider = i, F.Element = r, F.ForwardRef = v, F.Fragment = n, F.Lazy = x, F.Memo = T, F.Portal = t, F.Profiler = s, F.StrictMode = o, F.Suspense = b, F.isAsyncMode = function(l) {
|
|
724
|
+
return w(l) || A(l) === p;
|
|
725
|
+
}, F.isConcurrentMode = w, F.isContextConsumer = function(l) {
|
|
726
|
+
return A(l) === d;
|
|
727
|
+
}, F.isContextProvider = function(l) {
|
|
728
|
+
return A(l) === i;
|
|
729
|
+
}, F.isElement = function(l) {
|
|
730
|
+
return typeof l == "object" && l !== null && l.$$typeof === r;
|
|
731
|
+
}, F.isForwardRef = function(l) {
|
|
732
|
+
return A(l) === v;
|
|
733
|
+
}, F.isFragment = function(l) {
|
|
734
|
+
return A(l) === n;
|
|
735
|
+
}, F.isLazy = function(l) {
|
|
736
|
+
return A(l) === x;
|
|
737
|
+
}, F.isMemo = function(l) {
|
|
738
|
+
return A(l) === T;
|
|
739
|
+
}, F.isPortal = function(l) {
|
|
740
|
+
return A(l) === t;
|
|
741
|
+
}, F.isProfiler = function(l) {
|
|
742
|
+
return A(l) === s;
|
|
743
|
+
}, F.isStrictMode = function(l) {
|
|
744
|
+
return A(l) === o;
|
|
745
|
+
}, F.isSuspense = function(l) {
|
|
746
|
+
return A(l) === b;
|
|
747
|
+
}, F.isValidElementType = function(l) {
|
|
748
|
+
return typeof l == "string" || typeof l == "function" || l === n || l === _ || l === s || l === o || l === b || l === $ || typeof l == "object" && l !== null && (l.$$typeof === x || l.$$typeof === T || l.$$typeof === i || l.$$typeof === d || l.$$typeof === v || l.$$typeof === c || l.$$typeof === R || l.$$typeof === k || l.$$typeof === S);
|
|
749
|
+
}, F.typeOf = A, F;
|
|
750
750
|
}
|
|
751
|
-
var
|
|
751
|
+
var L = {};
|
|
752
752
|
/** @license React v16.13.1
|
|
753
753
|
* react-is.development.js
|
|
754
754
|
*
|
|
@@ -757,91 +757,91 @@ var j = {};
|
|
|
757
757
|
* This source code is licensed under the MIT license found in the
|
|
758
758
|
* LICENSE file in the root directory of this source tree.
|
|
759
759
|
*/
|
|
760
|
-
var
|
|
761
|
-
function
|
|
762
|
-
return
|
|
763
|
-
var e = typeof Symbol == "function" && Symbol.for,
|
|
764
|
-
function
|
|
760
|
+
var ct;
|
|
761
|
+
function Wt() {
|
|
762
|
+
return ct || (ct = 1, process.env.NODE_ENV !== "production" && function() {
|
|
763
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, _ = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, $ = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, c = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
764
|
+
function A(u) {
|
|
765
765
|
return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
766
|
-
u ===
|
|
766
|
+
u === n || u === _ || u === s || u === o || u === b || u === $ || typeof u == "object" && u !== null && (u.$$typeof === x || u.$$typeof === T || u.$$typeof === i || u.$$typeof === d || u.$$typeof === v || u.$$typeof === c || u.$$typeof === R || u.$$typeof === k || u.$$typeof === S);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function w(u) {
|
|
769
769
|
if (typeof u == "object" && u !== null) {
|
|
770
|
-
var
|
|
771
|
-
switch (
|
|
772
|
-
case
|
|
773
|
-
var
|
|
774
|
-
switch (
|
|
770
|
+
var B = u.$$typeof;
|
|
771
|
+
switch (B) {
|
|
772
|
+
case r:
|
|
773
|
+
var h = u.type;
|
|
774
|
+
switch (h) {
|
|
775
|
+
case p:
|
|
775
776
|
case _:
|
|
776
|
-
case
|
|
777
|
-
case
|
|
778
|
-
case
|
|
779
|
-
case a:
|
|
777
|
+
case n:
|
|
778
|
+
case s:
|
|
779
|
+
case o:
|
|
780
780
|
case b:
|
|
781
|
-
return
|
|
781
|
+
return h;
|
|
782
782
|
default:
|
|
783
|
-
var
|
|
784
|
-
switch (
|
|
785
|
-
case
|
|
783
|
+
var z = h && h.$$typeof;
|
|
784
|
+
switch (z) {
|
|
785
|
+
case d:
|
|
786
786
|
case v:
|
|
787
|
-
case
|
|
788
|
-
case
|
|
789
|
-
case
|
|
790
|
-
return
|
|
787
|
+
case x:
|
|
788
|
+
case T:
|
|
789
|
+
case i:
|
|
790
|
+
return z;
|
|
791
791
|
default:
|
|
792
|
-
return
|
|
792
|
+
return B;
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
case t:
|
|
796
|
-
return
|
|
796
|
+
return B;
|
|
797
797
|
}
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
|
-
var
|
|
801
|
-
function
|
|
802
|
-
return
|
|
800
|
+
var l = p, G = _, oe = d, Q = i, re = r, ae = v, ue = n, q = x, J = T, ne = t, W = s, fe = o, ee = b, X = !1;
|
|
801
|
+
function de(u) {
|
|
802
|
+
return X || (X = !0, 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.")), ie(u) || w(u) === p;
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
804
|
+
function ie(u) {
|
|
805
|
+
return w(u) === _;
|
|
806
806
|
}
|
|
807
|
-
function
|
|
808
|
-
return
|
|
807
|
+
function pe(u) {
|
|
808
|
+
return w(u) === d;
|
|
809
809
|
}
|
|
810
|
-
function
|
|
811
|
-
return
|
|
810
|
+
function y(u) {
|
|
811
|
+
return w(u) === i;
|
|
812
812
|
}
|
|
813
|
-
function
|
|
814
|
-
return typeof u == "object" && u !== null && u.$$typeof ===
|
|
813
|
+
function m(u) {
|
|
814
|
+
return typeof u == "object" && u !== null && u.$$typeof === r;
|
|
815
815
|
}
|
|
816
|
-
function
|
|
817
|
-
return
|
|
816
|
+
function g(u) {
|
|
817
|
+
return w(u) === v;
|
|
818
818
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
819
|
+
function C(u) {
|
|
820
|
+
return w(u) === n;
|
|
821
821
|
}
|
|
822
|
-
function
|
|
823
|
-
return
|
|
822
|
+
function a(u) {
|
|
823
|
+
return w(u) === x;
|
|
824
824
|
}
|
|
825
|
-
function
|
|
826
|
-
return
|
|
825
|
+
function O(u) {
|
|
826
|
+
return w(u) === T;
|
|
827
827
|
}
|
|
828
|
-
function
|
|
829
|
-
return
|
|
828
|
+
function f(u) {
|
|
829
|
+
return w(u) === t;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
832
|
-
return
|
|
831
|
+
function Y(u) {
|
|
832
|
+
return w(u) === s;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
835
|
-
return
|
|
834
|
+
function N(u) {
|
|
835
|
+
return w(u) === o;
|
|
836
836
|
}
|
|
837
837
|
function P(u) {
|
|
838
|
-
return
|
|
838
|
+
return w(u) === b;
|
|
839
839
|
}
|
|
840
|
-
|
|
841
|
-
}()),
|
|
840
|
+
L.AsyncMode = l, L.ConcurrentMode = G, L.ContextConsumer = oe, L.ContextProvider = Q, L.Element = re, L.ForwardRef = ae, L.Fragment = ue, L.Lazy = q, L.Memo = J, L.Portal = ne, L.Profiler = W, L.StrictMode = fe, L.Suspense = ee, L.isAsyncMode = de, L.isConcurrentMode = ie, L.isContextConsumer = pe, L.isContextProvider = y, L.isElement = m, L.isForwardRef = g, L.isFragment = C, L.isLazy = a, L.isMemo = O, L.isPortal = f, L.isProfiler = Y, L.isStrictMode = N, L.isSuspense = P, L.isValidElementType = A, L.typeOf = w;
|
|
841
|
+
}()), L;
|
|
842
842
|
}
|
|
843
|
-
process.env.NODE_ENV === "production" ?
|
|
844
|
-
var
|
|
843
|
+
process.env.NODE_ENV === "production" ? Ve.exports = Gt() : Ve.exports = Wt();
|
|
844
|
+
var Xt = Ve.exports, Qe = Xt, qt = {
|
|
845
845
|
childContextTypes: !0,
|
|
846
846
|
contextType: !0,
|
|
847
847
|
contextTypes: !0,
|
|
@@ -853,7 +853,7 @@ var Lt = Ye.exports, Ze = Lt, Yt = {
|
|
|
853
853
|
mixins: !0,
|
|
854
854
|
propTypes: !0,
|
|
855
855
|
type: !0
|
|
856
|
-
},
|
|
856
|
+
}, Zt = {
|
|
857
857
|
name: !0,
|
|
858
858
|
length: !0,
|
|
859
859
|
prototype: !0,
|
|
@@ -861,40 +861,40 @@ var Lt = Ye.exports, Ze = Lt, Yt = {
|
|
|
861
861
|
callee: !0,
|
|
862
862
|
arguments: !0,
|
|
863
863
|
arity: !0
|
|
864
|
-
},
|
|
864
|
+
}, Kt = {
|
|
865
865
|
$$typeof: !0,
|
|
866
866
|
render: !0,
|
|
867
867
|
defaultProps: !0,
|
|
868
868
|
displayName: !0,
|
|
869
869
|
propTypes: !0
|
|
870
|
-
},
|
|
870
|
+
}, St = {
|
|
871
871
|
$$typeof: !0,
|
|
872
872
|
compare: !0,
|
|
873
873
|
defaultProps: !0,
|
|
874
874
|
displayName: !0,
|
|
875
875
|
propTypes: !0,
|
|
876
876
|
type: !0
|
|
877
|
-
},
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
function
|
|
881
|
-
return
|
|
877
|
+
}, Je = {};
|
|
878
|
+
Je[Qe.ForwardRef] = Kt;
|
|
879
|
+
Je[Qe.Memo] = St;
|
|
880
|
+
function lt(e) {
|
|
881
|
+
return Qe.isMemo(e) ? St : Je[e.$$typeof] || qt;
|
|
882
882
|
}
|
|
883
|
-
var
|
|
884
|
-
function
|
|
885
|
-
if (typeof
|
|
886
|
-
if (
|
|
887
|
-
var
|
|
888
|
-
|
|
883
|
+
var Qt = Object.defineProperty, Jt = Object.getOwnPropertyNames, ut = Object.getOwnPropertySymbols, er = Object.getOwnPropertyDescriptor, tr = Object.getPrototypeOf, dt = Object.prototype;
|
|
884
|
+
function wt(e, r, t) {
|
|
885
|
+
if (typeof r != "string") {
|
|
886
|
+
if (dt) {
|
|
887
|
+
var n = tr(r);
|
|
888
|
+
n && n !== dt && wt(e, n, t);
|
|
889
889
|
}
|
|
890
|
-
var
|
|
891
|
-
|
|
892
|
-
for (var
|
|
893
|
-
var
|
|
894
|
-
if (!
|
|
895
|
-
var
|
|
890
|
+
var o = Jt(r);
|
|
891
|
+
ut && (o = o.concat(ut(r)));
|
|
892
|
+
for (var s = lt(e), i = lt(r), d = 0; d < o.length; ++d) {
|
|
893
|
+
var p = o[d];
|
|
894
|
+
if (!Zt[p] && !(t && t[p]) && !(i && i[p]) && !(s && s[p])) {
|
|
895
|
+
var _ = er(r, p);
|
|
896
896
|
try {
|
|
897
|
-
|
|
897
|
+
Qt(e, p, _);
|
|
898
898
|
} catch {
|
|
899
899
|
}
|
|
900
900
|
}
|
|
@@ -902,35 +902,35 @@ function yt(e, n, t) {
|
|
|
902
902
|
}
|
|
903
903
|
return e;
|
|
904
904
|
}
|
|
905
|
-
var
|
|
906
|
-
const
|
|
907
|
-
function
|
|
908
|
-
return (
|
|
909
|
-
for (var
|
|
910
|
-
var t = arguments[
|
|
911
|
-
for (var
|
|
912
|
-
Object.prototype.hasOwnProperty.call(t,
|
|
905
|
+
var rr = wt;
|
|
906
|
+
const nr = /* @__PURE__ */ Lt(rr);
|
|
907
|
+
function _e() {
|
|
908
|
+
return (_e = Object.assign || function(e) {
|
|
909
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
910
|
+
var t = arguments[r];
|
|
911
|
+
for (var n in t)
|
|
912
|
+
Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
913
913
|
}
|
|
914
914
|
return e;
|
|
915
915
|
}).apply(this, arguments);
|
|
916
916
|
}
|
|
917
|
-
var
|
|
918
|
-
for (var t = [e[0]],
|
|
919
|
-
t.push(n
|
|
917
|
+
var ft = function(e, r) {
|
|
918
|
+
for (var t = [e[0]], n = 0, o = r.length; n < o; n += 1)
|
|
919
|
+
t.push(r[n], e[n + 1]);
|
|
920
920
|
return t;
|
|
921
|
-
},
|
|
922
|
-
return e !== null && typeof e == "object" && (e.toString ? e.toString() : Object.prototype.toString.call(e)) === "[object Object]" && !
|
|
923
|
-
}, Oe = Object.freeze([]),
|
|
921
|
+
}, Be = function(e) {
|
|
922
|
+
return e !== null && typeof e == "object" && (e.toString ? e.toString() : Object.prototype.toString.call(e)) === "[object Object]" && !Ke.typeOf(e);
|
|
923
|
+
}, Oe = Object.freeze([]), me = Object.freeze({});
|
|
924
924
|
function Ee(e) {
|
|
925
925
|
return typeof e == "function";
|
|
926
926
|
}
|
|
927
927
|
function He(e) {
|
|
928
928
|
return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function et(e) {
|
|
931
931
|
return e && typeof e.styledComponentId == "string";
|
|
932
932
|
}
|
|
933
|
-
var
|
|
933
|
+
var ve = typeof process < "u" && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", tt = typeof window < "u" && "HTMLElement" in window, or = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), ar = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
934
934
|
|
|
935
935
|
`, 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.
|
|
936
936
|
|
|
@@ -972,493 +972,493 @@ as for instance in your render method then you may be running into this limitati
|
|
|
972
972
|
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
|
|
973
973
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
974
974
|
` } : {};
|
|
975
|
-
function
|
|
976
|
-
for (var e = arguments.length <= 0 ? void 0 : arguments[0],
|
|
977
|
-
|
|
978
|
-
return
|
|
979
|
-
e = e.replace(/%[a-z]/,
|
|
975
|
+
function sr() {
|
|
976
|
+
for (var e = arguments.length <= 0 ? void 0 : arguments[0], r = [], t = 1, n = arguments.length; t < n; t += 1)
|
|
977
|
+
r.push(t < 0 || arguments.length <= t ? void 0 : arguments[t]);
|
|
978
|
+
return r.forEach(function(o) {
|
|
979
|
+
e = e.replace(/%[a-z]/, o);
|
|
980
980
|
}), e;
|
|
981
981
|
}
|
|
982
|
-
function
|
|
983
|
-
for (var
|
|
984
|
-
t[
|
|
985
|
-
throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (t.length > 0 ? " Args: " + t.join(", ") : "")) : new Error(
|
|
982
|
+
function xe(e) {
|
|
983
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
984
|
+
t[n - 1] = arguments[n];
|
|
985
|
+
throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (t.length > 0 ? " Args: " + t.join(", ") : "")) : new Error(sr.apply(void 0, [ar[e]].concat(t)).trim());
|
|
986
986
|
}
|
|
987
|
-
var
|
|
987
|
+
var ir = function() {
|
|
988
988
|
function e(t) {
|
|
989
989
|
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
|
|
990
990
|
}
|
|
991
|
-
var
|
|
992
|
-
return
|
|
993
|
-
for (var
|
|
994
|
-
|
|
995
|
-
return
|
|
996
|
-
},
|
|
991
|
+
var r = e.prototype;
|
|
992
|
+
return r.indexOfGroup = function(t) {
|
|
993
|
+
for (var n = 0, o = 0; o < t; o++)
|
|
994
|
+
n += this.groupSizes[o];
|
|
995
|
+
return n;
|
|
996
|
+
}, r.insertRules = function(t, n) {
|
|
997
997
|
if (t >= this.groupSizes.length) {
|
|
998
|
-
for (var
|
|
999
|
-
(
|
|
1000
|
-
this.groupSizes = new Uint32Array(
|
|
1001
|
-
for (var
|
|
1002
|
-
this.groupSizes[
|
|
998
|
+
for (var o = this.groupSizes, s = o.length, i = s; t >= i; )
|
|
999
|
+
(i <<= 1) < 0 && xe(16, "" + t);
|
|
1000
|
+
this.groupSizes = new Uint32Array(i), this.groupSizes.set(o), this.length = i;
|
|
1001
|
+
for (var d = s; d < i; d++)
|
|
1002
|
+
this.groupSizes[d] = 0;
|
|
1003
1003
|
}
|
|
1004
|
-
for (var
|
|
1005
|
-
this.tag.insertRule(
|
|
1006
|
-
},
|
|
1004
|
+
for (var p = this.indexOfGroup(t + 1), _ = 0, v = n.length; _ < v; _++)
|
|
1005
|
+
this.tag.insertRule(p, n[_]) && (this.groupSizes[t]++, p++);
|
|
1006
|
+
}, r.clearGroup = function(t) {
|
|
1007
1007
|
if (t < this.length) {
|
|
1008
|
-
var
|
|
1008
|
+
var n = this.groupSizes[t], o = this.indexOfGroup(t), s = o + n;
|
|
1009
1009
|
this.groupSizes[t] = 0;
|
|
1010
|
-
for (var
|
|
1011
|
-
this.tag.deleteRule(
|
|
1010
|
+
for (var i = o; i < s; i++)
|
|
1011
|
+
this.tag.deleteRule(o);
|
|
1012
1012
|
}
|
|
1013
|
-
},
|
|
1014
|
-
var
|
|
1013
|
+
}, r.getGroup = function(t) {
|
|
1014
|
+
var n = "";
|
|
1015
1015
|
if (t >= this.length || this.groupSizes[t] === 0)
|
|
1016
|
-
return
|
|
1017
|
-
for (var
|
|
1018
|
-
|
|
1016
|
+
return n;
|
|
1017
|
+
for (var o = this.groupSizes[t], s = this.indexOfGroup(t), i = s + o, d = s; d < i; d++)
|
|
1018
|
+
n += this.tag.getRule(d) + `/*!sc*/
|
|
1019
1019
|
`;
|
|
1020
|
-
return
|
|
1020
|
+
return n;
|
|
1021
1021
|
}, e;
|
|
1022
|
-
}(),
|
|
1023
|
-
if (
|
|
1024
|
-
return
|
|
1025
|
-
for (; Ne.has(
|
|
1026
|
-
|
|
1027
|
-
var
|
|
1028
|
-
return process.env.NODE_ENV !== "production" && ((0 |
|
|
1029
|
-
},
|
|
1022
|
+
}(), Pe = /* @__PURE__ */ new Map(), Ne = /* @__PURE__ */ new Map(), Ce = 1, $e = function(e) {
|
|
1023
|
+
if (Pe.has(e))
|
|
1024
|
+
return Pe.get(e);
|
|
1025
|
+
for (; Ne.has(Ce); )
|
|
1026
|
+
Ce++;
|
|
1027
|
+
var r = Ce++;
|
|
1028
|
+
return process.env.NODE_ENV !== "production" && ((0 | r) < 0 || r > 1 << 30) && xe(16, "" + r), Pe.set(e, r), Ne.set(r, e), r;
|
|
1029
|
+
}, cr = function(e) {
|
|
1030
1030
|
return Ne.get(e);
|
|
1031
|
-
},
|
|
1032
|
-
|
|
1033
|
-
},
|
|
1034
|
-
for (var
|
|
1035
|
-
(
|
|
1036
|
-
},
|
|
1037
|
-
for (var t = (
|
|
1038
|
-
`),
|
|
1039
|
-
var
|
|
1040
|
-
if (
|
|
1041
|
-
var
|
|
1042
|
-
if (
|
|
1043
|
-
var
|
|
1044
|
-
|
|
1031
|
+
}, lr = function(e, r) {
|
|
1032
|
+
r >= Ce && (Ce = r + 1), Pe.set(e, r), Ne.set(r, e);
|
|
1033
|
+
}, ur = "style[" + ve + '][data-styled-version="5.3.6"]', dr = new RegExp("^" + ve + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), fr = function(e, r, t) {
|
|
1034
|
+
for (var n, o = t.split(","), s = 0, i = o.length; s < i; s++)
|
|
1035
|
+
(n = o[s]) && e.registerName(r, n);
|
|
1036
|
+
}, pr = function(e, r) {
|
|
1037
|
+
for (var t = (r.textContent || "").split(`/*!sc*/
|
|
1038
|
+
`), n = [], o = 0, s = t.length; o < s; o++) {
|
|
1039
|
+
var i = t[o].trim();
|
|
1040
|
+
if (i) {
|
|
1041
|
+
var d = i.match(dr);
|
|
1042
|
+
if (d) {
|
|
1043
|
+
var p = 0 | parseInt(d[1], 10), _ = d[2];
|
|
1044
|
+
p !== 0 && (lr(_, p), fr(e, _, d[3]), e.getTag().insertRules(p, n)), n.length = 0;
|
|
1045
1045
|
} else
|
|
1046
|
-
|
|
1046
|
+
n.push(i);
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
|
-
},
|
|
1049
|
+
}, _r = function() {
|
|
1050
1050
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
1051
|
-
},
|
|
1052
|
-
var
|
|
1053
|
-
for (var
|
|
1054
|
-
var v = _
|
|
1055
|
-
if (v && v.nodeType === 1 && v.hasAttribute(
|
|
1051
|
+
}, Ct = function(e) {
|
|
1052
|
+
var r = document.head, t = e || r, n = document.createElement("style"), o = function(d) {
|
|
1053
|
+
for (var p = d.childNodes, _ = p.length; _ >= 0; _--) {
|
|
1054
|
+
var v = p[_];
|
|
1055
|
+
if (v && v.nodeType === 1 && v.hasAttribute(ve))
|
|
1056
1056
|
return v;
|
|
1057
1057
|
}
|
|
1058
|
-
}(t),
|
|
1059
|
-
|
|
1060
|
-
var
|
|
1061
|
-
return
|
|
1062
|
-
},
|
|
1058
|
+
}(t), s = o !== void 0 ? o.nextSibling : null;
|
|
1059
|
+
n.setAttribute(ve, "active"), n.setAttribute("data-styled-version", "5.3.6");
|
|
1060
|
+
var i = _r();
|
|
1061
|
+
return i && n.setAttribute("nonce", i), t.insertBefore(n, s), n;
|
|
1062
|
+
}, hr = function() {
|
|
1063
1063
|
function e(t) {
|
|
1064
|
-
var
|
|
1065
|
-
|
|
1066
|
-
if (
|
|
1067
|
-
return
|
|
1068
|
-
for (var
|
|
1069
|
-
var
|
|
1070
|
-
if (
|
|
1071
|
-
return
|
|
1064
|
+
var n = this.element = Ct(t);
|
|
1065
|
+
n.appendChild(document.createTextNode("")), this.sheet = function(o) {
|
|
1066
|
+
if (o.sheet)
|
|
1067
|
+
return o.sheet;
|
|
1068
|
+
for (var s = document.styleSheets, i = 0, d = s.length; i < d; i++) {
|
|
1069
|
+
var p = s[i];
|
|
1070
|
+
if (p.ownerNode === o)
|
|
1071
|
+
return p;
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1074
|
-
}(
|
|
1073
|
+
xe(17);
|
|
1074
|
+
}(n), this.length = 0;
|
|
1075
1075
|
}
|
|
1076
|
-
var
|
|
1077
|
-
return
|
|
1076
|
+
var r = e.prototype;
|
|
1077
|
+
return r.insertRule = function(t, n) {
|
|
1078
1078
|
try {
|
|
1079
|
-
return this.sheet.insertRule(
|
|
1079
|
+
return this.sheet.insertRule(n, t), this.length++, !0;
|
|
1080
1080
|
} catch {
|
|
1081
1081
|
return !1;
|
|
1082
1082
|
}
|
|
1083
|
-
},
|
|
1083
|
+
}, r.deleteRule = function(t) {
|
|
1084
1084
|
this.sheet.deleteRule(t), this.length--;
|
|
1085
|
-
},
|
|
1086
|
-
var
|
|
1087
|
-
return
|
|
1085
|
+
}, r.getRule = function(t) {
|
|
1086
|
+
var n = this.sheet.cssRules[t];
|
|
1087
|
+
return n !== void 0 && typeof n.cssText == "string" ? n.cssText : "";
|
|
1088
1088
|
}, e;
|
|
1089
|
-
}(),
|
|
1089
|
+
}(), mr = function() {
|
|
1090
1090
|
function e(t) {
|
|
1091
|
-
var
|
|
1092
|
-
this.nodes =
|
|
1091
|
+
var n = this.element = Ct(t);
|
|
1092
|
+
this.nodes = n.childNodes, this.length = 0;
|
|
1093
1093
|
}
|
|
1094
|
-
var
|
|
1095
|
-
return
|
|
1094
|
+
var r = e.prototype;
|
|
1095
|
+
return r.insertRule = function(t, n) {
|
|
1096
1096
|
if (t <= this.length && t >= 0) {
|
|
1097
|
-
var
|
|
1098
|
-
return this.element.insertBefore(
|
|
1097
|
+
var o = document.createTextNode(n), s = this.nodes[t];
|
|
1098
|
+
return this.element.insertBefore(o, s || null), this.length++, !0;
|
|
1099
1099
|
}
|
|
1100
1100
|
return !1;
|
|
1101
|
-
},
|
|
1101
|
+
}, r.deleteRule = function(t) {
|
|
1102
1102
|
this.element.removeChild(this.nodes[t]), this.length--;
|
|
1103
|
-
},
|
|
1103
|
+
}, r.getRule = function(t) {
|
|
1104
1104
|
return t < this.length ? this.nodes[t].textContent : "";
|
|
1105
1105
|
}, e;
|
|
1106
|
-
}(),
|
|
1106
|
+
}(), gr = function() {
|
|
1107
1107
|
function e(t) {
|
|
1108
1108
|
this.rules = [], this.length = 0;
|
|
1109
1109
|
}
|
|
1110
|
-
var
|
|
1111
|
-
return
|
|
1112
|
-
return t <= this.length && (this.rules.splice(t, 0,
|
|
1113
|
-
},
|
|
1110
|
+
var r = e.prototype;
|
|
1111
|
+
return r.insertRule = function(t, n) {
|
|
1112
|
+
return t <= this.length && (this.rules.splice(t, 0, n), this.length++, !0);
|
|
1113
|
+
}, r.deleteRule = function(t) {
|
|
1114
1114
|
this.rules.splice(t, 1), this.length--;
|
|
1115
|
-
},
|
|
1115
|
+
}, r.getRule = function(t) {
|
|
1116
1116
|
return t < this.length ? this.rules[t] : "";
|
|
1117
1117
|
}, e;
|
|
1118
|
-
}(),
|
|
1119
|
-
function e(t,
|
|
1120
|
-
t === void 0 && (t =
|
|
1121
|
-
for (var
|
|
1122
|
-
var
|
|
1123
|
-
|
|
1118
|
+
}(), pt = tt, yr = { isServer: !tt, useCSSOMInjection: !or }, Et = function() {
|
|
1119
|
+
function e(t, n, o) {
|
|
1120
|
+
t === void 0 && (t = me), n === void 0 && (n = {}), this.options = _e({}, yr, {}, t), this.gs = n, this.names = new Map(o), this.server = !!t.isServer, !this.server && tt && pt && (pt = !1, function(s) {
|
|
1121
|
+
for (var i = document.querySelectorAll(ur), d = 0, p = i.length; d < p; d++) {
|
|
1122
|
+
var _ = i[d];
|
|
1123
|
+
_ && _.getAttribute(ve) !== "active" && (pr(s, _), _.parentNode && _.parentNode.removeChild(_));
|
|
1124
1124
|
}
|
|
1125
1125
|
}(this));
|
|
1126
1126
|
}
|
|
1127
1127
|
e.registerId = function(t) {
|
|
1128
|
-
return
|
|
1128
|
+
return $e(t);
|
|
1129
1129
|
};
|
|
1130
|
-
var
|
|
1131
|
-
return
|
|
1132
|
-
return
|
|
1133
|
-
},
|
|
1130
|
+
var r = e.prototype;
|
|
1131
|
+
return r.reconstructWithOptions = function(t, n) {
|
|
1132
|
+
return n === void 0 && (n = !0), new e(_e({}, this.options, {}, t), this.gs, n && this.names || void 0);
|
|
1133
|
+
}, r.allocateGSInstance = function(t) {
|
|
1134
1134
|
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
1135
|
-
},
|
|
1136
|
-
return this.tag || (this.tag = (
|
|
1137
|
-
var t,
|
|
1138
|
-
},
|
|
1139
|
-
return this.names.has(t) && this.names.get(t).has(
|
|
1140
|
-
},
|
|
1141
|
-
if (
|
|
1142
|
-
this.names.get(t).add(
|
|
1135
|
+
}, r.getTag = function() {
|
|
1136
|
+
return this.tag || (this.tag = (o = (n = this.options).isServer, s = n.useCSSOMInjection, i = n.target, t = o ? new gr(i) : s ? new hr(i) : new mr(i), new ir(t)));
|
|
1137
|
+
var t, n, o, s, i;
|
|
1138
|
+
}, r.hasNameForId = function(t, n) {
|
|
1139
|
+
return this.names.has(t) && this.names.get(t).has(n);
|
|
1140
|
+
}, r.registerName = function(t, n) {
|
|
1141
|
+
if ($e(t), this.names.has(t))
|
|
1142
|
+
this.names.get(t).add(n);
|
|
1143
1143
|
else {
|
|
1144
|
-
var
|
|
1145
|
-
|
|
1144
|
+
var o = /* @__PURE__ */ new Set();
|
|
1145
|
+
o.add(n), this.names.set(t, o);
|
|
1146
1146
|
}
|
|
1147
|
-
},
|
|
1148
|
-
this.registerName(t,
|
|
1149
|
-
},
|
|
1147
|
+
}, r.insertRules = function(t, n, o) {
|
|
1148
|
+
this.registerName(t, n), this.getTag().insertRules($e(t), o);
|
|
1149
|
+
}, r.clearNames = function(t) {
|
|
1150
1150
|
this.names.has(t) && this.names.get(t).clear();
|
|
1151
|
-
},
|
|
1152
|
-
this.getTag().clearGroup(
|
|
1153
|
-
},
|
|
1151
|
+
}, r.clearRules = function(t) {
|
|
1152
|
+
this.getTag().clearGroup($e(t)), this.clearNames(t);
|
|
1153
|
+
}, r.clearTag = function() {
|
|
1154
1154
|
this.tag = void 0;
|
|
1155
|
-
},
|
|
1155
|
+
}, r.toString = function() {
|
|
1156
1156
|
return function(t) {
|
|
1157
|
-
for (var
|
|
1158
|
-
var
|
|
1159
|
-
if (
|
|
1160
|
-
var
|
|
1161
|
-
if (
|
|
1162
|
-
var v =
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
}),
|
|
1157
|
+
for (var n = t.getTag(), o = n.length, s = "", i = 0; i < o; i++) {
|
|
1158
|
+
var d = cr(i);
|
|
1159
|
+
if (d !== void 0) {
|
|
1160
|
+
var p = t.names.get(d), _ = n.getGroup(i);
|
|
1161
|
+
if (p && _ && p.size) {
|
|
1162
|
+
var v = ve + ".g" + i + '[id="' + d + '"]', b = "";
|
|
1163
|
+
p !== void 0 && p.forEach(function($) {
|
|
1164
|
+
$.length > 0 && (b += $ + ",");
|
|
1165
|
+
}), s += "" + _ + v + '{content:"' + b + `"}/*!sc*/
|
|
1166
1166
|
`;
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
|
-
return
|
|
1170
|
+
return s;
|
|
1171
1171
|
}(this);
|
|
1172
1172
|
}, e;
|
|
1173
|
-
}(),
|
|
1173
|
+
}(), vr = /(a)(d)/gi, _t = function(e) {
|
|
1174
1174
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1175
1175
|
};
|
|
1176
|
-
function
|
|
1177
|
-
var
|
|
1178
|
-
for (
|
|
1179
|
-
t =
|
|
1180
|
-
return (
|
|
1176
|
+
function Ue(e) {
|
|
1177
|
+
var r, t = "";
|
|
1178
|
+
for (r = Math.abs(e); r > 52; r = r / 52 | 0)
|
|
1179
|
+
t = _t(r % 52) + t;
|
|
1180
|
+
return (_t(r % 52) + t).replace(vr, "$1-$2");
|
|
1181
1181
|
}
|
|
1182
|
-
var
|
|
1183
|
-
for (var t =
|
|
1184
|
-
e = 33 * e ^
|
|
1182
|
+
var ge = function(e, r) {
|
|
1183
|
+
for (var t = r.length; t; )
|
|
1184
|
+
e = 33 * e ^ r.charCodeAt(--t);
|
|
1185
1185
|
return e;
|
|
1186
|
-
},
|
|
1187
|
-
return
|
|
1186
|
+
}, kt = function(e) {
|
|
1187
|
+
return ge(5381, e);
|
|
1188
1188
|
};
|
|
1189
|
-
function
|
|
1190
|
-
for (var
|
|
1191
|
-
var t = e[
|
|
1192
|
-
if (Ee(t) && !
|
|
1189
|
+
function br(e) {
|
|
1190
|
+
for (var r = 0; r < e.length; r += 1) {
|
|
1191
|
+
var t = e[r];
|
|
1192
|
+
if (Ee(t) && !et(t))
|
|
1193
1193
|
return !1;
|
|
1194
1194
|
}
|
|
1195
1195
|
return !0;
|
|
1196
1196
|
}
|
|
1197
|
-
var
|
|
1198
|
-
function e(
|
|
1199
|
-
this.rules =
|
|
1197
|
+
var xr = kt("5.3.6"), Sr = function() {
|
|
1198
|
+
function e(r, t, n) {
|
|
1199
|
+
this.rules = r, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && br(r), this.componentId = t, this.baseHash = ge(xr, t), this.baseStyle = n, Et.registerId(t);
|
|
1200
1200
|
}
|
|
1201
|
-
return e.prototype.generateAndInjectStyles = function(
|
|
1202
|
-
var
|
|
1203
|
-
if (this.baseStyle &&
|
|
1204
|
-
if (this.staticRulesId && t.hasNameForId(
|
|
1205
|
-
|
|
1201
|
+
return e.prototype.generateAndInjectStyles = function(r, t, n) {
|
|
1202
|
+
var o = this.componentId, s = [];
|
|
1203
|
+
if (this.baseStyle && s.push(this.baseStyle.generateAndInjectStyles(r, t, n)), this.isStatic && !n.hash)
|
|
1204
|
+
if (this.staticRulesId && t.hasNameForId(o, this.staticRulesId))
|
|
1205
|
+
s.push(this.staticRulesId);
|
|
1206
1206
|
else {
|
|
1207
|
-
var
|
|
1208
|
-
if (!t.hasNameForId(
|
|
1209
|
-
var
|
|
1210
|
-
t.insertRules(
|
|
1207
|
+
var i = be(this.rules, r, t, n).join(""), d = Ue(ge(this.baseHash, i) >>> 0);
|
|
1208
|
+
if (!t.hasNameForId(o, d)) {
|
|
1209
|
+
var p = n(i, "." + d, void 0, o);
|
|
1210
|
+
t.insertRules(o, d, p);
|
|
1211
1211
|
}
|
|
1212
|
-
|
|
1212
|
+
s.push(d), this.staticRulesId = d;
|
|
1213
1213
|
}
|
|
1214
1214
|
else {
|
|
1215
|
-
for (var
|
|
1216
|
-
var
|
|
1217
|
-
if (typeof
|
|
1218
|
-
b +=
|
|
1219
|
-
else if (
|
|
1220
|
-
var
|
|
1221
|
-
v =
|
|
1215
|
+
for (var _ = this.rules.length, v = ge(this.baseHash, n.hash), b = "", $ = 0; $ < _; $++) {
|
|
1216
|
+
var T = this.rules[$];
|
|
1217
|
+
if (typeof T == "string")
|
|
1218
|
+
b += T, process.env.NODE_ENV !== "production" && (v = ge(v, T + $));
|
|
1219
|
+
else if (T) {
|
|
1220
|
+
var x = be(T, r, t, n), S = Array.isArray(x) ? x.join("") : x;
|
|
1221
|
+
v = ge(v, S + $), b += S;
|
|
1222
1222
|
}
|
|
1223
1223
|
}
|
|
1224
1224
|
if (b) {
|
|
1225
|
-
var
|
|
1226
|
-
if (!t.hasNameForId(
|
|
1227
|
-
var R =
|
|
1228
|
-
t.insertRules(
|
|
1225
|
+
var c = Ue(v >>> 0);
|
|
1226
|
+
if (!t.hasNameForId(o, c)) {
|
|
1227
|
+
var R = n(b, "." + c, void 0, o);
|
|
1228
|
+
t.insertRules(o, c, R);
|
|
1229
1229
|
}
|
|
1230
|
-
|
|
1230
|
+
s.push(c);
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
|
-
return
|
|
1233
|
+
return s.join(" ");
|
|
1234
1234
|
}, e;
|
|
1235
|
-
}(),
|
|
1236
|
-
function
|
|
1237
|
-
var
|
|
1238
|
-
function
|
|
1235
|
+
}(), wr = /^\s*\/\/.*$/gm, Cr = [":", "[", ".", "#"];
|
|
1236
|
+
function Er(e) {
|
|
1237
|
+
var r, t, n, o, s = e === void 0 ? me : e, i = s.options, d = i === void 0 ? me : i, p = s.plugins, _ = p === void 0 ? Oe : p, v = new Vt(d), b = [], $ = function(S) {
|
|
1238
|
+
function c(R) {
|
|
1239
1239
|
if (R)
|
|
1240
1240
|
try {
|
|
1241
1241
|
S(R + "}");
|
|
1242
1242
|
} catch {
|
|
1243
1243
|
}
|
|
1244
1244
|
}
|
|
1245
|
-
return function(R,
|
|
1245
|
+
return function(R, k, A, w, l, G, oe, Q, re, ae) {
|
|
1246
1246
|
switch (R) {
|
|
1247
1247
|
case 1:
|
|
1248
|
-
if (
|
|
1249
|
-
return S(
|
|
1248
|
+
if (re === 0 && k.charCodeAt(0) === 64)
|
|
1249
|
+
return S(k + ";"), "";
|
|
1250
1250
|
break;
|
|
1251
1251
|
case 2:
|
|
1252
|
-
if (
|
|
1253
|
-
return
|
|
1252
|
+
if (Q === 0)
|
|
1253
|
+
return k + "/*|*/";
|
|
1254
1254
|
break;
|
|
1255
1255
|
case 3:
|
|
1256
|
-
switch (
|
|
1256
|
+
switch (Q) {
|
|
1257
1257
|
case 102:
|
|
1258
1258
|
case 112:
|
|
1259
|
-
return S(
|
|
1259
|
+
return S(A[0] + k), "";
|
|
1260
1260
|
default:
|
|
1261
|
-
return
|
|
1261
|
+
return k + (ae === 0 ? "/*|*/" : "");
|
|
1262
1262
|
}
|
|
1263
1263
|
case -2:
|
|
1264
|
-
|
|
1264
|
+
k.split("/*|*/}").forEach(c);
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
1267
|
}(function(S) {
|
|
1268
1268
|
b.push(S);
|
|
1269
|
-
}),
|
|
1270
|
-
return
|
|
1269
|
+
}), T = function(S, c, R) {
|
|
1270
|
+
return c === 0 && Cr.indexOf(R[t.length]) !== -1 || R.match(o) ? S : "." + r;
|
|
1271
1271
|
};
|
|
1272
|
-
function
|
|
1273
|
-
|
|
1274
|
-
var
|
|
1275
|
-
return
|
|
1272
|
+
function x(S, c, R, k) {
|
|
1273
|
+
k === void 0 && (k = "&");
|
|
1274
|
+
var A = S.replace(wr, ""), w = c && R ? R + " " + c + " { " + A + " }" : A;
|
|
1275
|
+
return r = k, t = c, n = new RegExp("\\" + t + "\\b", "g"), o = new RegExp("(\\" + t + "\\b){2,}"), v(R || !c ? "" : c, w);
|
|
1276
1276
|
}
|
|
1277
|
-
return v.use([].concat(
|
|
1278
|
-
S === 2 && R.length && R[0].lastIndexOf(t) > 0 && (R[0] = R[0].replace(
|
|
1279
|
-
},
|
|
1277
|
+
return v.use([].concat(_, [function(S, c, R) {
|
|
1278
|
+
S === 2 && R.length && R[0].lastIndexOf(t) > 0 && (R[0] = R[0].replace(n, T));
|
|
1279
|
+
}, $, function(S) {
|
|
1280
1280
|
if (S === -2) {
|
|
1281
|
-
var
|
|
1282
|
-
return b = [],
|
|
1281
|
+
var c = b;
|
|
1282
|
+
return b = [], c;
|
|
1283
1283
|
}
|
|
1284
|
-
}])),
|
|
1285
|
-
return
|
|
1286
|
-
}, 5381).toString() : "",
|
|
1284
|
+
}])), x.hash = _.length ? _.reduce(function(S, c) {
|
|
1285
|
+
return c.name || xe(15), ge(S, c.name);
|
|
1286
|
+
}, 5381).toString() : "", x;
|
|
1287
1287
|
}
|
|
1288
|
-
var
|
|
1289
|
-
|
|
1290
|
-
var
|
|
1291
|
-
function
|
|
1292
|
-
return
|
|
1288
|
+
var At = Ie.createContext();
|
|
1289
|
+
At.Consumer;
|
|
1290
|
+
var $t = Ie.createContext(), kr = ($t.Consumer, new Et()), Ge = Er();
|
|
1291
|
+
function Ar() {
|
|
1292
|
+
return Ze(At) || kr;
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return
|
|
1294
|
+
function $r() {
|
|
1295
|
+
return Ze($t) || Ge;
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1298
|
-
function e(
|
|
1299
|
-
var
|
|
1300
|
-
this.inject = function(
|
|
1301
|
-
|
|
1302
|
-
var
|
|
1303
|
-
|
|
1297
|
+
var zt = function() {
|
|
1298
|
+
function e(r, t) {
|
|
1299
|
+
var n = this;
|
|
1300
|
+
this.inject = function(o, s) {
|
|
1301
|
+
s === void 0 && (s = Ge);
|
|
1302
|
+
var i = n.name + s.hash;
|
|
1303
|
+
o.hasNameForId(n.id, i) || o.insertRules(n.id, i, s(n.rules, i, "@keyframes"));
|
|
1304
1304
|
}, this.toString = function() {
|
|
1305
|
-
return
|
|
1306
|
-
}, this.name =
|
|
1305
|
+
return xe(12, String(n.name));
|
|
1306
|
+
}, this.name = r, this.id = "sc-keyframes-" + r, this.rules = t;
|
|
1307
1307
|
}
|
|
1308
|
-
return e.prototype.getName = function(
|
|
1309
|
-
return
|
|
1308
|
+
return e.prototype.getName = function(r) {
|
|
1309
|
+
return r === void 0 && (r = Ge), this.name + r.hash;
|
|
1310
1310
|
}, e;
|
|
1311
|
-
}(),
|
|
1311
|
+
}(), zr = /([A-Z])/, Tr = /([A-Z])/g, Rr = /^ms-/, Pr = function(e) {
|
|
1312
1312
|
return "-" + e.toLowerCase();
|
|
1313
1313
|
};
|
|
1314
|
-
function
|
|
1315
|
-
return
|
|
1314
|
+
function ht(e) {
|
|
1315
|
+
return zr.test(e) ? e.replace(Tr, Pr).replace(Rr, "-ms-") : e;
|
|
1316
1316
|
}
|
|
1317
|
-
var
|
|
1317
|
+
var mt = function(e) {
|
|
1318
1318
|
return e == null || e === !1 || e === "";
|
|
1319
1319
|
};
|
|
1320
|
-
function
|
|
1320
|
+
function be(e, r, t, n) {
|
|
1321
1321
|
if (Array.isArray(e)) {
|
|
1322
|
-
for (var
|
|
1323
|
-
(
|
|
1324
|
-
return
|
|
1322
|
+
for (var o, s = [], i = 0, d = e.length; i < d; i += 1)
|
|
1323
|
+
(o = be(e[i], r, t, n)) !== "" && (Array.isArray(o) ? s.push.apply(s, o) : s.push(o));
|
|
1324
|
+
return s;
|
|
1325
1325
|
}
|
|
1326
|
-
if (
|
|
1326
|
+
if (mt(e))
|
|
1327
1327
|
return "";
|
|
1328
|
-
if (
|
|
1328
|
+
if (et(e))
|
|
1329
1329
|
return "." + e.styledComponentId;
|
|
1330
1330
|
if (Ee(e)) {
|
|
1331
|
-
if (typeof (
|
|
1331
|
+
if (typeof (_ = e) != "function" || _.prototype && _.prototype.isReactComponent || !r)
|
|
1332
1332
|
return e;
|
|
1333
|
-
var
|
|
1334
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1333
|
+
var p = e(r);
|
|
1334
|
+
return process.env.NODE_ENV !== "production" && Ke.isElement(p) && console.warn(He(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."), be(p, r, t, n);
|
|
1335
1335
|
}
|
|
1336
|
-
var
|
|
1337
|
-
return e instanceof
|
|
1338
|
-
var
|
|
1339
|
-
for (var
|
|
1340
|
-
b.hasOwnProperty(
|
|
1341
|
-
return
|
|
1336
|
+
var _;
|
|
1337
|
+
return e instanceof zt ? t ? (e.inject(t, n), e.getName(n)) : e : Be(e) ? function v(b, $) {
|
|
1338
|
+
var T, x, S = [];
|
|
1339
|
+
for (var c in b)
|
|
1340
|
+
b.hasOwnProperty(c) && !mt(b[c]) && (Array.isArray(b[c]) && b[c].isCss || Ee(b[c]) ? S.push(ht(c) + ":", b[c], ";") : Be(b[c]) ? S.push.apply(S, v(b[c], c)) : S.push(ht(c) + ": " + (T = c, (x = b[c]) == null || typeof x == "boolean" || x === "" ? "" : typeof x != "number" || x === 0 || T in Bt ? String(x).trim() : x + "px") + ";"));
|
|
1341
|
+
return $ ? [$ + " {"].concat(S, ["}"]) : S;
|
|
1342
1342
|
}(e) : e.toString();
|
|
1343
1343
|
}
|
|
1344
|
-
var
|
|
1344
|
+
var gt = function(e) {
|
|
1345
1345
|
return Array.isArray(e) && (e.isCss = !0), e;
|
|
1346
1346
|
};
|
|
1347
|
-
function
|
|
1348
|
-
for (var
|
|
1349
|
-
t[
|
|
1350
|
-
return Ee(e) ||
|
|
1347
|
+
function te(e) {
|
|
1348
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
1349
|
+
t[n - 1] = arguments[n];
|
|
1350
|
+
return Ee(e) || Be(e) ? gt(be(ft(Oe, [e].concat(t)))) : t.length === 0 && e.length === 1 && typeof e[0] == "string" ? e : gt(be(ft(e, t)));
|
|
1351
1351
|
}
|
|
1352
|
-
var
|
|
1352
|
+
var yt = /invalid hook call/i, ze = /* @__PURE__ */ new Set(), Or = function(e, r) {
|
|
1353
1353
|
if (process.env.NODE_ENV !== "production") {
|
|
1354
|
-
var t = "The component " + e + (
|
|
1354
|
+
var t = "The component " + e + (r ? ' with the id of "' + r + '"' : "") + ` has been created dynamically.
|
|
1355
1355
|
You may see this warning because you've called styled inside another component.
|
|
1356
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,
|
|
1356
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`, n = console.error;
|
|
1357
1357
|
try {
|
|
1358
|
-
var
|
|
1359
|
-
console.error = function(
|
|
1360
|
-
if (
|
|
1361
|
-
|
|
1358
|
+
var o = !0;
|
|
1359
|
+
console.error = function(s) {
|
|
1360
|
+
if (yt.test(s))
|
|
1361
|
+
o = !1, ze.delete(t);
|
|
1362
1362
|
else {
|
|
1363
|
-
for (var
|
|
1364
|
-
|
|
1365
|
-
|
|
1363
|
+
for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
1364
|
+
d[p - 1] = arguments[p];
|
|
1365
|
+
n.apply(void 0, [s].concat(d));
|
|
1366
1366
|
}
|
|
1367
|
-
},
|
|
1368
|
-
} catch (
|
|
1369
|
-
|
|
1367
|
+
}, Dt(), o && !ze.has(t) && (console.warn(t), ze.add(t));
|
|
1368
|
+
} catch (s) {
|
|
1369
|
+
yt.test(s.message) && ze.delete(t);
|
|
1370
1370
|
} finally {
|
|
1371
|
-
console.error =
|
|
1371
|
+
console.error = n;
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
|
-
},
|
|
1375
|
-
return t === void 0 && (t =
|
|
1376
|
-
},
|
|
1374
|
+
}, Nr = function(e, r, t) {
|
|
1375
|
+
return t === void 0 && (t = me), e.theme !== t.theme && e.theme || r || t.theme;
|
|
1376
|
+
}, Ir = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Mr = /(^-|-$)/g;
|
|
1377
1377
|
function Fe(e) {
|
|
1378
|
-
return e.replace(
|
|
1378
|
+
return e.replace(Ir, "-").replace(Mr, "");
|
|
1379
1379
|
}
|
|
1380
|
-
var
|
|
1381
|
-
return
|
|
1380
|
+
var Tt = function(e) {
|
|
1381
|
+
return Ue(kt(e) >>> 0);
|
|
1382
1382
|
};
|
|
1383
|
-
function
|
|
1383
|
+
function Te(e) {
|
|
1384
1384
|
return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
1385
1385
|
}
|
|
1386
|
-
var
|
|
1386
|
+
var We = function(e) {
|
|
1387
1387
|
return typeof e == "function" || typeof e == "object" && e !== null && !Array.isArray(e);
|
|
1388
|
-
},
|
|
1388
|
+
}, Dr = function(e) {
|
|
1389
1389
|
return e !== "__proto__" && e !== "constructor" && e !== "prototype";
|
|
1390
1390
|
};
|
|
1391
|
-
function
|
|
1392
|
-
var
|
|
1393
|
-
|
|
1391
|
+
function Fr(e, r, t) {
|
|
1392
|
+
var n = e[t];
|
|
1393
|
+
We(r) && We(n) ? Rt(n, r) : e[t] = r;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1396
|
-
for (var
|
|
1397
|
-
t[
|
|
1398
|
-
for (var
|
|
1399
|
-
var
|
|
1400
|
-
if (
|
|
1401
|
-
for (var
|
|
1402
|
-
|
|
1395
|
+
function Rt(e) {
|
|
1396
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
1397
|
+
t[n - 1] = arguments[n];
|
|
1398
|
+
for (var o = 0, s = t; o < s.length; o++) {
|
|
1399
|
+
var i = s[o];
|
|
1400
|
+
if (We(i))
|
|
1401
|
+
for (var d in i)
|
|
1402
|
+
Dr(d) && Fr(e, i[d], d);
|
|
1403
1403
|
}
|
|
1404
1404
|
return e;
|
|
1405
1405
|
}
|
|
1406
|
-
var
|
|
1407
|
-
|
|
1408
|
-
var
|
|
1409
|
-
function
|
|
1410
|
-
var
|
|
1411
|
-
var
|
|
1412
|
-
|
|
1413
|
-
var
|
|
1414
|
-
return
|
|
1415
|
-
}(
|
|
1416
|
-
return
|
|
1417
|
-
}(e) :
|
|
1418
|
-
|
|
1419
|
-
return e.shouldForwardProp(
|
|
1406
|
+
var Pt = Ie.createContext();
|
|
1407
|
+
Pt.Consumer;
|
|
1408
|
+
var Le = {};
|
|
1409
|
+
function Ot(e, r, t) {
|
|
1410
|
+
var n = et(e), o = !Te(e), s = r.attrs, i = s === void 0 ? Oe : s, d = r.componentId, p = d === void 0 ? function(k, A) {
|
|
1411
|
+
var w = typeof k != "string" ? "sc" : Fe(k);
|
|
1412
|
+
Le[w] = (Le[w] || 0) + 1;
|
|
1413
|
+
var l = w + "-" + Tt("5.3.6" + w + Le[w]);
|
|
1414
|
+
return A ? A + "-" + l : l;
|
|
1415
|
+
}(r.displayName, r.parentComponentId) : d, _ = r.displayName, v = _ === void 0 ? function(k) {
|
|
1416
|
+
return Te(k) ? "styled." + k : "Styled(" + He(k) + ")";
|
|
1417
|
+
}(e) : _, b = r.displayName && r.componentId ? Fe(r.displayName) + "-" + r.componentId : r.componentId || p, $ = n && e.attrs ? Array.prototype.concat(e.attrs, i).filter(Boolean) : i, T = r.shouldForwardProp;
|
|
1418
|
+
n && e.shouldForwardProp && (T = r.shouldForwardProp ? function(k, A, w) {
|
|
1419
|
+
return e.shouldForwardProp(k, A, w) && r.shouldForwardProp(k, A, w);
|
|
1420
1420
|
} : e.shouldForwardProp);
|
|
1421
|
-
var
|
|
1422
|
-
return function(
|
|
1423
|
-
var
|
|
1424
|
-
process.env.NODE_ENV !== "production" &&
|
|
1425
|
-
var
|
|
1426
|
-
|
|
1427
|
-
var
|
|
1428
|
-
return
|
|
1429
|
-
var P, u,
|
|
1430
|
-
for (P in Ee(
|
|
1431
|
-
|
|
1432
|
-
}), [
|
|
1433
|
-
}(
|
|
1434
|
-
var
|
|
1435
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1436
|
-
}(
|
|
1437
|
-
for (var
|
|
1438
|
-
|
|
1439
|
-
return
|
|
1440
|
-
}(
|
|
1421
|
+
var x, S = new Sr(t, b, n ? e.componentStyle : void 0), c = S.isStatic && i.length === 0, R = function(k, A) {
|
|
1422
|
+
return function(w, l, G, oe) {
|
|
1423
|
+
var Q = w.attrs, re = w.componentStyle, ae = w.defaultProps, ue = w.foldedComponentIds, q = w.shouldForwardProp, J = w.styledComponentId, ne = w.target;
|
|
1424
|
+
process.env.NODE_ENV !== "production" && nt(J);
|
|
1425
|
+
var W = function(C, a, O) {
|
|
1426
|
+
C === void 0 && (C = me);
|
|
1427
|
+
var f = _e({}, a, { theme: C }), Y = {};
|
|
1428
|
+
return O.forEach(function(N) {
|
|
1429
|
+
var P, u, B, h = N;
|
|
1430
|
+
for (P in Ee(h) && (h = h(f)), h)
|
|
1431
|
+
f[P] = Y[P] = P === "className" ? (u = Y[P], B = h[P], u && B ? u + " " + B : u || B) : h[P];
|
|
1432
|
+
}), [f, Y];
|
|
1433
|
+
}(Nr(l, Ze(Pt), ae) || me, l, Q), fe = W[0], ee = W[1], X = function(C, a, O, f) {
|
|
1434
|
+
var Y = Ar(), N = $r(), P = a ? C.generateAndInjectStyles(me, Y, N) : C.generateAndInjectStyles(O, Y, N);
|
|
1435
|
+
return process.env.NODE_ENV !== "production" && nt(P), process.env.NODE_ENV !== "production" && !a && f && f(P), P;
|
|
1436
|
+
}(re, oe, fe, process.env.NODE_ENV !== "production" ? w.warnTooManyClasses : void 0), de = G, ie = ee.$as || l.$as || ee.as || l.as || ne, pe = Te(ie), y = ee !== l ? _e({}, l, {}, ee) : l, m = {};
|
|
1437
|
+
for (var g in y)
|
|
1438
|
+
g[0] !== "$" && g !== "as" && (g === "forwardedAs" ? m.as = y[g] : (q ? q(g, st, ie) : !pe || st(g)) && (m[g] = y[g]));
|
|
1439
|
+
return l.style && ee.style !== l.style && (m.style = _e({}, l.style, {}, ee.style)), m.className = Array.prototype.concat(ue, J, X !== J ? X : null, l.className, ee.className).filter(Boolean).join(" "), m.ref = de, Ft(ie, m);
|
|
1440
|
+
}(x, k, A, c);
|
|
1441
1441
|
};
|
|
1442
|
-
return R.displayName = v, (
|
|
1443
|
-
var
|
|
1444
|
-
if (
|
|
1442
|
+
return R.displayName = v, (x = Ie.forwardRef(R)).attrs = $, x.componentStyle = S, x.displayName = v, x.shouldForwardProp = T, x.foldedComponentIds = n ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : Oe, x.styledComponentId = b, x.target = n ? e.target : e, x.withComponent = function(k) {
|
|
1443
|
+
var A = r.componentId, w = function(G, oe) {
|
|
1444
|
+
if (G == null)
|
|
1445
1445
|
return {};
|
|
1446
|
-
var
|
|
1447
|
-
for (
|
|
1448
|
-
|
|
1449
|
-
return
|
|
1450
|
-
}(
|
|
1451
|
-
return
|
|
1452
|
-
}, Object.defineProperty(
|
|
1446
|
+
var Q, re, ae = {}, ue = Object.keys(G);
|
|
1447
|
+
for (re = 0; re < ue.length; re++)
|
|
1448
|
+
Q = ue[re], oe.indexOf(Q) >= 0 || (ae[Q] = G[Q]);
|
|
1449
|
+
return ae;
|
|
1450
|
+
}(r, ["componentId"]), l = A && A + "-" + (Te(k) ? k : Fe(He(k)));
|
|
1451
|
+
return Ot(k, _e({}, w, { attrs: $, componentId: l }), t);
|
|
1452
|
+
}, Object.defineProperty(x, "defaultProps", { get: function() {
|
|
1453
1453
|
return this._foldedDefaultProps;
|
|
1454
|
-
}, set: function(
|
|
1455
|
-
this._foldedDefaultProps =
|
|
1456
|
-
} }), process.env.NODE_ENV !== "production" && (
|
|
1457
|
-
var
|
|
1458
|
-
return function(
|
|
1459
|
-
if (!
|
|
1460
|
-
var
|
|
1461
|
-
console.warn("Over 200 classes were generated for component " +
|
|
1454
|
+
}, set: function(k) {
|
|
1455
|
+
this._foldedDefaultProps = n ? Rt({}, e.defaultProps, k) : k;
|
|
1456
|
+
} }), process.env.NODE_ENV !== "production" && (Or(v, b), x.warnTooManyClasses = function(k, A) {
|
|
1457
|
+
var w = {}, l = !1;
|
|
1458
|
+
return function(G) {
|
|
1459
|
+
if (!l && (w[G] = !0, Object.keys(w).length >= 200)) {
|
|
1460
|
+
var oe = A ? ' with the id of "' + A + '"' : "";
|
|
1461
|
+
console.warn("Over 200 classes were generated for component " + k + oe + `.
|
|
1462
1462
|
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
1463
1463
|
Example:
|
|
1464
1464
|
const Component = styled.div.attrs(props => ({
|
|
@@ -1467,43 +1467,43 @@ Example:
|
|
|
1467
1467
|
},
|
|
1468
1468
|
}))\`width: 100%;\`
|
|
1469
1469
|
|
|
1470
|
-
<Component />`),
|
|
1470
|
+
<Component />`), l = !0, w = {};
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
|
-
}(v, b)),
|
|
1474
|
-
return "." +
|
|
1475
|
-
},
|
|
1473
|
+
}(v, b)), x.toString = function() {
|
|
1474
|
+
return "." + x.styledComponentId;
|
|
1475
|
+
}, o && nr(x, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), x;
|
|
1476
1476
|
}
|
|
1477
|
-
var
|
|
1478
|
-
return function
|
|
1479
|
-
if (
|
|
1480
|
-
return
|
|
1481
|
-
var
|
|
1482
|
-
return t(
|
|
1477
|
+
var Xe = function(e) {
|
|
1478
|
+
return function r(t, n, o) {
|
|
1479
|
+
if (o === void 0 && (o = me), !Ke.isValidElementType(n))
|
|
1480
|
+
return xe(1, String(n));
|
|
1481
|
+
var s = function() {
|
|
1482
|
+
return t(n, o, te.apply(void 0, arguments));
|
|
1483
1483
|
};
|
|
1484
|
-
return
|
|
1485
|
-
return
|
|
1486
|
-
},
|
|
1487
|
-
return
|
|
1488
|
-
},
|
|
1489
|
-
}(
|
|
1484
|
+
return s.withConfig = function(i) {
|
|
1485
|
+
return r(t, n, _e({}, o, {}, i));
|
|
1486
|
+
}, s.attrs = function(i) {
|
|
1487
|
+
return r(t, n, _e({}, o, { attrs: Array.prototype.concat(o.attrs, i).filter(Boolean) }));
|
|
1488
|
+
}, s;
|
|
1489
|
+
}(Ot, e);
|
|
1490
1490
|
};
|
|
1491
1491
|
["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) {
|
|
1492
|
-
|
|
1492
|
+
Xe[e] = Xe(e);
|
|
1493
1493
|
});
|
|
1494
|
-
function
|
|
1494
|
+
function Nt(e) {
|
|
1495
1495
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
1496
|
-
for (var
|
|
1497
|
-
t[
|
|
1498
|
-
var
|
|
1499
|
-
return new
|
|
1496
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
1497
|
+
t[n - 1] = arguments[n];
|
|
1498
|
+
var o = te.apply(void 0, [e].concat(t)).join(""), s = Tt(o);
|
|
1499
|
+
return new zt(s, o);
|
|
1500
1500
|
}
|
|
1501
1501
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
1502
1502
|
Perhaps you're looking to import 'styled-components/native'?
|
|
1503
1503
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && 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.
|
|
1504
1504
|
|
|
1505
1505
|
See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1);
|
|
1506
|
-
const
|
|
1506
|
+
const j = Xe, le = {
|
|
1507
1507
|
add_on: "add_on",
|
|
1508
1508
|
assigned: "assigned",
|
|
1509
1509
|
caution: "caution",
|
|
@@ -1511,56 +1511,56 @@ const ce = We, ae = {
|
|
|
1511
1511
|
info: "info",
|
|
1512
1512
|
success: "success",
|
|
1513
1513
|
upgrade: "upgrade"
|
|
1514
|
-
},
|
|
1514
|
+
}, ke = {
|
|
1515
1515
|
small: "small",
|
|
1516
1516
|
medium: "medium"
|
|
1517
|
-
},
|
|
1517
|
+
}, Lr = (e) => {
|
|
1518
1518
|
switch (e) {
|
|
1519
|
-
case
|
|
1519
|
+
case le.info:
|
|
1520
1520
|
return "var(--cc_color_background_2)";
|
|
1521
|
-
case
|
|
1521
|
+
case le.upgrade:
|
|
1522
1522
|
return "var(--cc_color_brand_upgrade_alpha_20)";
|
|
1523
|
-
case
|
|
1523
|
+
case le.assigned:
|
|
1524
1524
|
return "var(--cc_color_utility_assigned_alpha_20)";
|
|
1525
|
-
case
|
|
1525
|
+
case le.add_on:
|
|
1526
1526
|
return "var(--cc_color_brand_add_on_alpha_20)";
|
|
1527
1527
|
default:
|
|
1528
1528
|
return `var(--cc_color_utility_${e}_alpha_20)`;
|
|
1529
1529
|
}
|
|
1530
|
-
},
|
|
1530
|
+
}, jr = (e) => {
|
|
1531
1531
|
switch (e) {
|
|
1532
|
-
case
|
|
1532
|
+
case le.info:
|
|
1533
1533
|
return "var(--cc_color_border_default)";
|
|
1534
|
-
case
|
|
1534
|
+
case le.upgrade:
|
|
1535
1535
|
return "var(--cc_color_brand_upgrade_alpha_60)";
|
|
1536
|
-
case
|
|
1536
|
+
case le.assigned:
|
|
1537
1537
|
return "var(--cc_color_utility_assigned_alpha_60)";
|
|
1538
|
-
case
|
|
1538
|
+
case le.add_on:
|
|
1539
1539
|
return "var(--cc_color_brand_add_on_alpha_60)";
|
|
1540
1540
|
default:
|
|
1541
1541
|
return `var(--cc_color_utility_${e}_alpha_60)`;
|
|
1542
1542
|
}
|
|
1543
|
-
},
|
|
1543
|
+
}, Yr = j.span`
|
|
1544
1544
|
display: inline-flex;
|
|
1545
1545
|
align-items: center;
|
|
1546
1546
|
justify-content: center;
|
|
1547
1547
|
gap: var(--cc_size_spacing_xs);
|
|
1548
|
-
background-color: ${(e) =>
|
|
1548
|
+
background-color: ${(e) => Lr(e.color || le.info)};
|
|
1549
1549
|
border-radius: var(--cc_size_border_radius_pill);
|
|
1550
1550
|
border: var(--cc_size_border_width_s) solid
|
|
1551
|
-
${(e) =>
|
|
1552
|
-
padding: ${(e) => e.size ===
|
|
1553
|
-
height: ${(e) => e.size ===
|
|
1551
|
+
${(e) => jr(e.color || le.info)};
|
|
1552
|
+
padding: ${(e) => e.size === ke.small ? "6px" : "var(--cc_size_spacing_s)"};
|
|
1553
|
+
height: ${(e) => e.size === ke.small ? "var(--cc_size_avatar_xs)" : "var(--cc_size_avatar_s)"};
|
|
1554
1554
|
line-height: 1.5;
|
|
1555
|
-
`,
|
|
1555
|
+
`, Vr = j.i`
|
|
1556
1556
|
color: var(--cc_color_text_default);
|
|
1557
|
-
font-size: ${(e) => e.size ===
|
|
1557
|
+
font-size: ${(e) => e.size === ke.small ? "11px" : "14px"};
|
|
1558
1558
|
line-height: 0;
|
|
1559
|
-
`,
|
|
1559
|
+
`, Br = j.span`
|
|
1560
1560
|
color: var(--cc_color_text_default);
|
|
1561
1561
|
font-family: 'Averta', system-ui, sans-serif;
|
|
1562
1562
|
font-weight: 600;
|
|
1563
|
-
font-size: ${(e) => e.size ===
|
|
1563
|
+
font-size: ${(e) => e.size === ke.small ? "9px" : "10px"};
|
|
1564
1564
|
text-transform: uppercase;
|
|
1565
1565
|
white-space: nowrap;
|
|
1566
1566
|
overflow: hidden;
|
|
@@ -1571,164 +1571,205 @@ const ce = We, ae = {
|
|
|
1571
1571
|
display: none;
|
|
1572
1572
|
}
|
|
1573
1573
|
`;
|
|
1574
|
-
function
|
|
1574
|
+
function qa({
|
|
1575
1575
|
children: e,
|
|
1576
|
-
color:
|
|
1576
|
+
color: r = le.info,
|
|
1577
1577
|
className: t,
|
|
1578
|
-
iconName:
|
|
1579
|
-
size:
|
|
1580
|
-
style:
|
|
1581
|
-
testId:
|
|
1578
|
+
iconName: n,
|
|
1579
|
+
size: o = ke.medium,
|
|
1580
|
+
style: s,
|
|
1581
|
+
testId: i
|
|
1582
1582
|
}) {
|
|
1583
|
-
return /* @__PURE__ */
|
|
1584
|
-
|
|
1583
|
+
return /* @__PURE__ */ se(
|
|
1584
|
+
Yr,
|
|
1585
1585
|
{
|
|
1586
|
-
size:
|
|
1586
|
+
size: o,
|
|
1587
1587
|
className: t,
|
|
1588
|
-
color:
|
|
1589
|
-
style:
|
|
1590
|
-
"data-testid":
|
|
1588
|
+
color: r,
|
|
1589
|
+
style: s,
|
|
1590
|
+
"data-testid": i,
|
|
1591
1591
|
children: [
|
|
1592
|
-
|
|
1593
|
-
/* @__PURE__ */
|
|
1592
|
+
n ? /* @__PURE__ */ V(Vr, { size: o, className: `mdi mdi-${n}` }) : null,
|
|
1593
|
+
/* @__PURE__ */ V(Br, { size: o, children: e })
|
|
1594
1594
|
]
|
|
1595
1595
|
}
|
|
1596
1596
|
);
|
|
1597
1597
|
}
|
|
1598
|
-
const
|
|
1598
|
+
const Hr = "#0967d2", Ur = "#142334", Gr = "#ffd000", Wr = "#0ce8d6", Xr = "#7949d1", qr = "#bca4e8", Zr = "#ef4e4e", Kr = "#f48585", Qr = "#ffd000", Jr = "#12a537", en = "#3ebd93", tn = "#42608a", rn = "#e76119", nn = "#ffffff", on = "#142334", an = "#f5f7fa", sn = "#192d43", cn = "#ebeff5", ln = "#1f3751", un = "rgba(31, 55, 81, 0.75)", dn = "#142334", fn = "#ffffff", pn = "#4d5a68", _n = "#c3c8cc", hn = "#8191a2", mn = "#a0a7af", gn = "#0967d2", yn = "#6fabf1", vn = "#1f3751", bn = "#ffffff", xn = "#ebeff5", Sn = "#2a415a", wn = "#ef4e4e", Cn = "#f48585", En = "#12a537", kn = "#3ebd93", An = "#e5f1ff", $n = "rgba(255, 255, 255, 0.1)", zn = "#ffffff", Tn = "#142334", Rn = "#ffffff", Pn = "#142334", On = "#4d5a68", Nn = "#c3c8cc", In = "#ffffff", Mn = "#142334", Dn = "#ffffff", Fn = "#142334", Ln = "#0967d2", jn = "#6fabf1", Yn = "#142334", Vn = "#ffffff", Bn = "#4d5a68", Hn = "#c3c8cc", Un = "rgba(20, 35, 52, 0.12)", Gn = "rgba(255, 255, 255, 0.15)", Wn = "rgba(20, 35, 52, 0.2)", Xn = "rgba(255, 255, 255, 0.22)", qn = "#0967d2", Zn = "#6fabf1", Kn = "rgba(20, 35, 52, 0.13)", Qn = "rgba(6, 10, 16, 0.5)", Jn = "rgba(20, 35, 52, 0.13)", eo = "rgba(6, 10, 16, 0.6)", to = "rgba(20, 35, 52, 0.2)", ro = "rgba(6, 10, 16, 0.7)", no = "#31a03c", oo = "#4191ed", ao = "#a227c5", so = "#354b62", io = "#ffd000", co = "#e76119", lo = "#c73732", uo = "#828c95", fo = "#4d5a68", po = "#a227c5", _o = "#e76119", ho = "#31a03c", mo = "#4191ed", go = "#c73732", yo = "#d28e09", vo = "#354b62", bo = "#413ecf", xo = "#d63baa", So = "#745138", wo = "#ffd000", Co = 2, Eo = 4, ko = 8, Ao = 16, $o = 24, zo = 32, To = 48, Ro = 1, Po = 2, Oo = 4, No = 8, Io = 2, Mo = 4, Do = 8, Fo = 16, Lo = 24, jo = 1e3, Yo = 10, Vo = 12, Bo = 14, Ho = 16, Uo = 20, Go = 24, Wo = 32, Xo = 42, qo = 16, Zo = 24, Ko = 32, Qo = 40, Jo = 3, ea = 1, ta = 6, ra = 2, na = 12, oa = 4, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1599
1599
|
__proto__: null,
|
|
1600
|
-
color_background_1_de:
|
|
1601
|
-
color_background_1_le:
|
|
1602
|
-
color_background_2_de:
|
|
1603
|
-
color_background_2_le:
|
|
1604
|
-
color_background_3_de:
|
|
1605
|
-
color_background_3_le:
|
|
1606
|
-
color_background_backdrop:
|
|
1607
|
-
color_border_default_de:
|
|
1608
|
-
color_border_default_le:
|
|
1609
|
-
color_border_input_active_de:
|
|
1610
|
-
color_border_input_active_le:
|
|
1611
|
-
color_border_input_inactive_de:
|
|
1612
|
-
color_border_input_inactive_le:
|
|
1613
|
-
color_brand_accent:
|
|
1614
|
-
color_brand_add_on_de:
|
|
1615
|
-
color_brand_add_on_le:
|
|
1616
|
-
color_brand_primary:
|
|
1617
|
-
color_brand_secondary:
|
|
1618
|
-
color_brand_upgrade:
|
|
1619
|
-
color_button_background_destroy_de:
|
|
1620
|
-
color_button_background_destroy_le:
|
|
1621
|
-
color_button_background_primary_de:
|
|
1622
|
-
color_button_background_primary_le:
|
|
1623
|
-
color_button_background_secondary_de:
|
|
1624
|
-
color_button_background_secondary_le:
|
|
1625
|
-
color_button_background_subtle_de:
|
|
1626
|
-
color_button_background_subtle_le:
|
|
1627
|
-
color_button_background_success_de:
|
|
1628
|
-
color_button_background_success_le:
|
|
1629
|
-
color_button_background_tint_de:
|
|
1630
|
-
color_button_background_tint_le:
|
|
1631
|
-
color_button_text_destroy_de:
|
|
1632
|
-
color_button_text_destroy_le:
|
|
1633
|
-
color_button_text_primary_de:
|
|
1634
|
-
color_button_text_primary_le:
|
|
1635
|
-
color_button_text_secondary_de:
|
|
1636
|
-
color_button_text_secondary_le:
|
|
1637
|
-
color_button_text_subtle_de:
|
|
1638
|
-
color_button_text_subtle_le:
|
|
1639
|
-
color_button_text_success_de:
|
|
1640
|
-
color_button_text_success_le:
|
|
1641
|
-
color_collab_blue:
|
|
1642
|
-
color_collab_brown:
|
|
1643
|
-
color_collab_green:
|
|
1644
|
-
color_collab_magenta:
|
|
1645
|
-
color_collab_navy:
|
|
1646
|
-
color_collab_orange:
|
|
1647
|
-
color_collab_owner:
|
|
1648
|
-
color_collab_plum:
|
|
1649
|
-
color_collab_purple:
|
|
1650
|
-
color_collab_red:
|
|
1651
|
-
color_collab_yellow:
|
|
1652
|
-
color_depth_1_de:
|
|
1653
|
-
color_depth_1_le:
|
|
1654
|
-
color_depth_2_de:
|
|
1655
|
-
color_depth_2_le:
|
|
1656
|
-
color_depth_3_de:
|
|
1657
|
-
color_depth_3_le:
|
|
1658
|
-
color_label_blue:
|
|
1659
|
-
color_label_dark_gray:
|
|
1660
|
-
color_label_green:
|
|
1661
|
-
color_label_light_gray:
|
|
1662
|
-
color_label_navy:
|
|
1663
|
-
color_label_orange:
|
|
1664
|
-
color_label_purple:
|
|
1665
|
-
color_label_red:
|
|
1666
|
-
color_label_yellow:
|
|
1667
|
-
color_link_primary_de:
|
|
1668
|
-
color_link_primary_le:
|
|
1669
|
-
color_link_secondary_de:
|
|
1670
|
-
color_link_secondary_le:
|
|
1671
|
-
color_link_subtle_de:
|
|
1672
|
-
color_link_subtle_le:
|
|
1673
|
-
color_text_default_de:
|
|
1674
|
-
color_text_default_le:
|
|
1675
|
-
color_text_nonessential_de:
|
|
1676
|
-
color_text_nonessential_le:
|
|
1677
|
-
color_text_subtle_de:
|
|
1678
|
-
color_text_subtle_le:
|
|
1679
|
-
color_utility_assigned:
|
|
1680
|
-
color_utility_caution:
|
|
1681
|
-
color_utility_destroy_de:
|
|
1682
|
-
color_utility_destroy_le:
|
|
1683
|
-
color_utility_info:
|
|
1684
|
-
color_utility_success_de:
|
|
1685
|
-
color_utility_success_le:
|
|
1686
|
-
size_avatar_l:
|
|
1687
|
-
size_avatar_m:
|
|
1688
|
-
size_avatar_s:
|
|
1689
|
-
size_avatar_xs:
|
|
1690
|
-
size_border_radius_l:
|
|
1691
|
-
size_border_radius_m:
|
|
1692
|
-
size_border_radius_pill:
|
|
1693
|
-
size_border_radius_s:
|
|
1694
|
-
size_border_radius_xl:
|
|
1695
|
-
size_border_radius_xxl:
|
|
1696
|
-
size_border_width_l:
|
|
1697
|
-
size_border_width_m:
|
|
1698
|
-
size_border_width_s:
|
|
1699
|
-
size_border_width_xl:
|
|
1700
|
-
size_depth_1_blur:
|
|
1701
|
-
size_depth_1_y:
|
|
1702
|
-
size_depth_2_blur:
|
|
1703
|
-
size_depth_2_y:
|
|
1704
|
-
size_depth_3_blur:
|
|
1705
|
-
size_depth_3_y:
|
|
1706
|
-
size_spacing_l:
|
|
1707
|
-
size_spacing_m:
|
|
1708
|
-
size_spacing_s:
|
|
1709
|
-
size_spacing_xl:
|
|
1710
|
-
size_spacing_xs:
|
|
1711
|
-
size_spacing_xxl:
|
|
1712
|
-
size_spacing_xxs:
|
|
1713
|
-
size_text_l:
|
|
1714
|
-
size_text_m:
|
|
1715
|
-
size_text_s:
|
|
1716
|
-
size_text_xl:
|
|
1717
|
-
size_text_xs:
|
|
1718
|
-
size_text_xxl:
|
|
1719
|
-
size_text_xxs:
|
|
1720
|
-
size_text_xxxl:
|
|
1721
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1722
|
-
...
|
|
1723
|
-
},
|
|
1724
|
-
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`,
|
|
1725
|
-
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1600
|
+
color_background_1_de: on,
|
|
1601
|
+
color_background_1_le: nn,
|
|
1602
|
+
color_background_2_de: sn,
|
|
1603
|
+
color_background_2_le: an,
|
|
1604
|
+
color_background_3_de: ln,
|
|
1605
|
+
color_background_3_le: cn,
|
|
1606
|
+
color_background_backdrop: un,
|
|
1607
|
+
color_border_default_de: Gn,
|
|
1608
|
+
color_border_default_le: Un,
|
|
1609
|
+
color_border_input_active_de: Zn,
|
|
1610
|
+
color_border_input_active_le: qn,
|
|
1611
|
+
color_border_input_inactive_de: Xn,
|
|
1612
|
+
color_border_input_inactive_le: Wn,
|
|
1613
|
+
color_brand_accent: Gr,
|
|
1614
|
+
color_brand_add_on_de: qr,
|
|
1615
|
+
color_brand_add_on_le: Xr,
|
|
1616
|
+
color_brand_primary: Hr,
|
|
1617
|
+
color_brand_secondary: Ur,
|
|
1618
|
+
color_brand_upgrade: Wr,
|
|
1619
|
+
color_button_background_destroy_de: Cn,
|
|
1620
|
+
color_button_background_destroy_le: wn,
|
|
1621
|
+
color_button_background_primary_de: yn,
|
|
1622
|
+
color_button_background_primary_le: gn,
|
|
1623
|
+
color_button_background_secondary_de: bn,
|
|
1624
|
+
color_button_background_secondary_le: vn,
|
|
1625
|
+
color_button_background_subtle_de: Sn,
|
|
1626
|
+
color_button_background_subtle_le: xn,
|
|
1627
|
+
color_button_background_success_de: kn,
|
|
1628
|
+
color_button_background_success_le: En,
|
|
1629
|
+
color_button_background_tint_de: $n,
|
|
1630
|
+
color_button_background_tint_le: An,
|
|
1631
|
+
color_button_text_destroy_de: Mn,
|
|
1632
|
+
color_button_text_destroy_le: In,
|
|
1633
|
+
color_button_text_primary_de: Tn,
|
|
1634
|
+
color_button_text_primary_le: zn,
|
|
1635
|
+
color_button_text_secondary_de: Pn,
|
|
1636
|
+
color_button_text_secondary_le: Rn,
|
|
1637
|
+
color_button_text_subtle_de: Nn,
|
|
1638
|
+
color_button_text_subtle_le: On,
|
|
1639
|
+
color_button_text_success_de: Fn,
|
|
1640
|
+
color_button_text_success_le: Dn,
|
|
1641
|
+
color_collab_blue: mo,
|
|
1642
|
+
color_collab_brown: So,
|
|
1643
|
+
color_collab_green: ho,
|
|
1644
|
+
color_collab_magenta: xo,
|
|
1645
|
+
color_collab_navy: vo,
|
|
1646
|
+
color_collab_orange: _o,
|
|
1647
|
+
color_collab_owner: wo,
|
|
1648
|
+
color_collab_plum: bo,
|
|
1649
|
+
color_collab_purple: po,
|
|
1650
|
+
color_collab_red: go,
|
|
1651
|
+
color_collab_yellow: yo,
|
|
1652
|
+
color_depth_1_de: Qn,
|
|
1653
|
+
color_depth_1_le: Kn,
|
|
1654
|
+
color_depth_2_de: eo,
|
|
1655
|
+
color_depth_2_le: Jn,
|
|
1656
|
+
color_depth_3_de: ro,
|
|
1657
|
+
color_depth_3_le: to,
|
|
1658
|
+
color_label_blue: oo,
|
|
1659
|
+
color_label_dark_gray: fo,
|
|
1660
|
+
color_label_green: no,
|
|
1661
|
+
color_label_light_gray: uo,
|
|
1662
|
+
color_label_navy: so,
|
|
1663
|
+
color_label_orange: co,
|
|
1664
|
+
color_label_purple: ao,
|
|
1665
|
+
color_label_red: lo,
|
|
1666
|
+
color_label_yellow: io,
|
|
1667
|
+
color_link_primary_de: jn,
|
|
1668
|
+
color_link_primary_le: Ln,
|
|
1669
|
+
color_link_secondary_de: Vn,
|
|
1670
|
+
color_link_secondary_le: Yn,
|
|
1671
|
+
color_link_subtle_de: Hn,
|
|
1672
|
+
color_link_subtle_le: Bn,
|
|
1673
|
+
color_text_default_de: fn,
|
|
1674
|
+
color_text_default_le: dn,
|
|
1675
|
+
color_text_nonessential_de: mn,
|
|
1676
|
+
color_text_nonessential_le: hn,
|
|
1677
|
+
color_text_subtle_de: _n,
|
|
1678
|
+
color_text_subtle_le: pn,
|
|
1679
|
+
color_utility_assigned: rn,
|
|
1680
|
+
color_utility_caution: Qr,
|
|
1681
|
+
color_utility_destroy_de: Kr,
|
|
1682
|
+
color_utility_destroy_le: Zr,
|
|
1683
|
+
color_utility_info: tn,
|
|
1684
|
+
color_utility_success_de: en,
|
|
1685
|
+
color_utility_success_le: Jr,
|
|
1686
|
+
size_avatar_l: Qo,
|
|
1687
|
+
size_avatar_m: Ko,
|
|
1688
|
+
size_avatar_s: Zo,
|
|
1689
|
+
size_avatar_xs: qo,
|
|
1690
|
+
size_border_radius_l: Do,
|
|
1691
|
+
size_border_radius_m: Mo,
|
|
1692
|
+
size_border_radius_pill: jo,
|
|
1693
|
+
size_border_radius_s: Io,
|
|
1694
|
+
size_border_radius_xl: Fo,
|
|
1695
|
+
size_border_radius_xxl: Lo,
|
|
1696
|
+
size_border_width_l: Oo,
|
|
1697
|
+
size_border_width_m: Po,
|
|
1698
|
+
size_border_width_s: Ro,
|
|
1699
|
+
size_border_width_xl: No,
|
|
1700
|
+
size_depth_1_blur: Jo,
|
|
1701
|
+
size_depth_1_y: ea,
|
|
1702
|
+
size_depth_2_blur: ta,
|
|
1703
|
+
size_depth_2_y: ra,
|
|
1704
|
+
size_depth_3_blur: na,
|
|
1705
|
+
size_depth_3_y: oa,
|
|
1706
|
+
size_spacing_l: $o,
|
|
1707
|
+
size_spacing_m: Ao,
|
|
1708
|
+
size_spacing_s: ko,
|
|
1709
|
+
size_spacing_xl: zo,
|
|
1710
|
+
size_spacing_xs: Eo,
|
|
1711
|
+
size_spacing_xxl: To,
|
|
1712
|
+
size_spacing_xxs: Co,
|
|
1713
|
+
size_text_l: Uo,
|
|
1714
|
+
size_text_m: Ho,
|
|
1715
|
+
size_text_s: Bo,
|
|
1716
|
+
size_text_xl: Go,
|
|
1717
|
+
size_text_xs: Vo,
|
|
1718
|
+
size_text_xxl: Wo,
|
|
1719
|
+
size_text_xxs: Yo,
|
|
1720
|
+
size_text_xxxl: Xo
|
|
1721
|
+
}, Symbol.toStringTag, { value: "Module" })), Re = {
|
|
1722
|
+
...aa
|
|
1723
|
+
}, rt = `font-family: system-ui, -apple-system, BlinkMacSystemFont,
|
|
1724
|
+
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, It = `font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
|
|
1725
|
+
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;`, Mt = (e = !1, r = !1) => {
|
|
1726
|
+
const t = te`
|
|
1727
|
+
outline-width: var(--cc_size_border_width_m);
|
|
1728
|
+
outline-style: solid;
|
|
1729
|
+
`;
|
|
1730
|
+
return e || r ? te`
|
|
1731
|
+
${t}
|
|
1732
|
+
outline-color: ${r && !e ? "var(--cc_color_utility_success)" : "var(--cc_color_utility_destroy)"};
|
|
1733
|
+
` : te`
|
|
1734
|
+
${t}
|
|
1735
|
+
outline-color: var(--cc_color_border_input_active);
|
|
1736
|
+
`;
|
|
1737
|
+
}, sa = ({ disabled: e = !1, readOnly: r = !1 }) => `
|
|
1738
|
+
all: initial;
|
|
1739
|
+
box-sizing: border-box;
|
|
1740
|
+
font-family: inherit;
|
|
1741
|
+
font-weight: 700;
|
|
1742
|
+
max-width: 100%;
|
|
1743
|
+
overflow: visible;
|
|
1744
|
+
display: inline-block;
|
|
1745
|
+
vertical-align: middle;
|
|
1746
|
+
text-align: center;
|
|
1747
|
+
background: none;
|
|
1748
|
+
position: relative;
|
|
1749
|
+
appearance: none;
|
|
1750
|
+
text-decoration: none;
|
|
1751
|
+
touch-action: manipulation;
|
|
1752
|
+
cursor: pointer;
|
|
1753
|
+
user-select: none;
|
|
1754
|
+
-webkit-font-smoothing: antialiased;
|
|
1755
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1756
|
+
|
|
1757
|
+
&:focus-visible {
|
|
1758
|
+
${Mt}
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
${e || r ? te`
|
|
1762
|
+
pointer-events: none;
|
|
1763
|
+
` : ""}
|
|
1764
|
+
${e ? te`
|
|
1765
|
+
opacity: 0.5;
|
|
1766
|
+
cursor: not-allowed;
|
|
1767
|
+
` : ""}
|
|
1768
|
+
`, ia = {
|
|
1769
|
+
small: "var(--cc_size_avatar_m)",
|
|
1770
|
+
medium: "var(--cc_size_avatar_l)",
|
|
1771
|
+
large: "48px"
|
|
1772
|
+
}, ca = te`
|
|
1732
1773
|
margin: -1px;
|
|
1733
1774
|
padding: 0;
|
|
1734
1775
|
width: 1px;
|
|
@@ -1737,106 +1778,241 @@ ve`
|
|
|
1737
1778
|
clip: rect(0 0 0 0);
|
|
1738
1779
|
clip: rect(0, 0, 0, 0);
|
|
1739
1780
|
position: absolute;
|
|
1740
|
-
|
|
1741
|
-
const
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
}, ra = Tt`
|
|
1781
|
+
`, la = (e) => {
|
|
1782
|
+
const r = ["xxl", "xl", "l", "m", "s", "xs", "xxs"], t = e.split(" "), n = [];
|
|
1783
|
+
return t.forEach((o) => {
|
|
1784
|
+
r.includes(o) ? n.push(`var(--cc_size_spacing_${o})`) : n.push("0");
|
|
1785
|
+
}), n.join(" ");
|
|
1786
|
+
}, ua = {
|
|
1787
|
+
large: Re.size_avatar_l,
|
|
1788
|
+
medium: Re.size_avatar_m,
|
|
1789
|
+
small: Re.size_avatar_s,
|
|
1790
|
+
xsmall: Re.size_avatar_xs
|
|
1791
|
+
}, da = Nt`
|
|
1752
1792
|
to {
|
|
1753
1793
|
stroke-dashoffset: 200;
|
|
1754
1794
|
}
|
|
1755
|
-
`,
|
|
1795
|
+
`, fa = Nt`
|
|
1756
1796
|
to {
|
|
1757
1797
|
transform: rotate(1turn);
|
|
1758
1798
|
}
|
|
1759
|
-
`,
|
|
1799
|
+
`, pa = j.span`
|
|
1760
1800
|
display: inline-flex;
|
|
1761
1801
|
flex-direction: ${(e) => e.layout === "vertical" ? "column" : "row"};
|
|
1762
1802
|
align-items: center;
|
|
1763
|
-
`,
|
|
1803
|
+
`, _a = j.span`
|
|
1764
1804
|
font-family: system-ui, sans-serif;
|
|
1765
1805
|
font-weight: 400;
|
|
1766
1806
|
font-size: ${(e) => e.labelFontSize}px;
|
|
1767
1807
|
color: var(--cc_color_text_nonessential);
|
|
1768
1808
|
margin-${(e) => e.layout === "vertical" ? "block-start" : "inline-start"}: 12px;
|
|
1769
|
-
`,
|
|
1809
|
+
`, ha = j.span`
|
|
1770
1810
|
display: block;
|
|
1771
1811
|
position: relative;
|
|
1772
1812
|
width: ${(e) => e.size}px;
|
|
1773
1813
|
height: ${(e) => e.size}px;
|
|
1774
|
-
`,
|
|
1814
|
+
`, ma = j.svg`
|
|
1775
1815
|
position: absolute;
|
|
1776
1816
|
top: 0;
|
|
1777
1817
|
bottom: 0;
|
|
1778
1818
|
left: 0;
|
|
1779
1819
|
right: 0;
|
|
1780
1820
|
transform: rotate(0turn);
|
|
1781
|
-
animation-name: ${
|
|
1821
|
+
animation-name: ${fa};
|
|
1782
1822
|
animation-duration: 0.75s;
|
|
1783
1823
|
animation-iteration-count: infinite;
|
|
1784
1824
|
animation-timing-function: linear;
|
|
1785
|
-
`,
|
|
1825
|
+
`, ga = j.circle`
|
|
1786
1826
|
stroke: ${(e) => e.trackColor};
|
|
1787
1827
|
fill: transparent;
|
|
1788
1828
|
stroke-width: 28;
|
|
1789
|
-
`,
|
|
1829
|
+
`, ya = j.circle`
|
|
1790
1830
|
stroke: ${(e) => e.meterColor};
|
|
1791
1831
|
stroke-width: 28;
|
|
1792
1832
|
fill: transparent;
|
|
1793
1833
|
stroke-dasharray: 540;
|
|
1794
1834
|
stroke-dashoffset: 506;
|
|
1795
|
-
animation-name: ${
|
|
1835
|
+
animation-name: ${da};
|
|
1796
1836
|
animation-duration: 1s;
|
|
1797
1837
|
animation-iteration-count: infinite;
|
|
1798
1838
|
animation-direction: alternate;
|
|
1799
1839
|
animation-timing-function: linear;
|
|
1800
|
-
`,
|
|
1840
|
+
`, va = ({
|
|
1801
1841
|
accessibilityLabel: e,
|
|
1802
|
-
testId:
|
|
1842
|
+
testId: r,
|
|
1803
1843
|
className: t,
|
|
1804
|
-
label:
|
|
1805
|
-
layout:
|
|
1806
|
-
meterColor:
|
|
1807
|
-
size:
|
|
1808
|
-
style:
|
|
1809
|
-
trackColor:
|
|
1844
|
+
label: n,
|
|
1845
|
+
layout: o = "horizontal",
|
|
1846
|
+
meterColor: s = "var(--cc_color_border_input_inactive)",
|
|
1847
|
+
size: i = "medium",
|
|
1848
|
+
style: d,
|
|
1849
|
+
trackColor: p = "var(--cc_color_background_2)"
|
|
1810
1850
|
}) => {
|
|
1811
|
-
const
|
|
1812
|
-
|
|
1851
|
+
const _ = typeof i == "number" ? i : ua[i], v = _ <= 24 ? 12 : 14, b = /* @__PURE__ */ V(
|
|
1852
|
+
ha,
|
|
1813
1853
|
{
|
|
1814
|
-
size:
|
|
1854
|
+
size: _,
|
|
1815
1855
|
className: t,
|
|
1816
|
-
style:
|
|
1817
|
-
"data-testid":
|
|
1818
|
-
children: /* @__PURE__ */
|
|
1819
|
-
|
|
1856
|
+
style: d,
|
|
1857
|
+
"data-testid": r,
|
|
1858
|
+
children: /* @__PURE__ */ se(
|
|
1859
|
+
ma,
|
|
1820
1860
|
{
|
|
1821
1861
|
viewBox: "0 0 200 200",
|
|
1822
1862
|
focusable: "false",
|
|
1823
1863
|
"data-svg-type": "spinner",
|
|
1824
1864
|
children: [
|
|
1825
|
-
/* @__PURE__ */
|
|
1826
|
-
/* @__PURE__ */
|
|
1827
|
-
/* @__PURE__ */
|
|
1828
|
-
/* @__PURE__ */
|
|
1865
|
+
/* @__PURE__ */ V("title", { children: e }),
|
|
1866
|
+
/* @__PURE__ */ se("g", { role: "presentation", children: [
|
|
1867
|
+
/* @__PURE__ */ V(ga, { r: "86", cy: "100", cx: "100", trackColor: p }),
|
|
1868
|
+
/* @__PURE__ */ V(ya, { r: "86", cy: "100", cx: "100", meterColor: s })
|
|
1829
1869
|
] })
|
|
1830
1870
|
]
|
|
1831
1871
|
}
|
|
1832
1872
|
)
|
|
1833
1873
|
}
|
|
1834
1874
|
);
|
|
1835
|
-
return
|
|
1875
|
+
return n ? /* @__PURE__ */ se(pa, { layout: o, children: [
|
|
1836
1876
|
b,
|
|
1837
|
-
/* @__PURE__ */
|
|
1877
|
+
/* @__PURE__ */ V(_a, { labelFontSize: v, layout: o, children: n })
|
|
1838
1878
|
] }) : b;
|
|
1839
|
-
},
|
|
1879
|
+
}, je = {
|
|
1880
|
+
solid: "solid",
|
|
1881
|
+
outline: "outline",
|
|
1882
|
+
minimal: "minimal"
|
|
1883
|
+
}, ba = {
|
|
1884
|
+
small: "0 calc(var(--cc_size_spacing_s) * 1.25)",
|
|
1885
|
+
medium: "0 var(--cc_size_spacing_m)",
|
|
1886
|
+
large: "0 var(--cc_size_spacing_l)"
|
|
1887
|
+
}, qe = {
|
|
1888
|
+
// bump up by 1 because Averta renders smaller than system font
|
|
1889
|
+
small: "calc(var(--cc_size_text_xs) + 1px)",
|
|
1890
|
+
medium: "calc(var(--cc_size_text_s) + 1px)",
|
|
1891
|
+
large: "calc(var(--cc_size_text_m) + 1px)"
|
|
1892
|
+
}, xa = (e) => `
|
|
1893
|
+
color: var(--cc_color_button_text_${e});
|
|
1894
|
+
background: var(--cc_color_button_background_${e});
|
|
1895
|
+
&:hover {
|
|
1896
|
+
background: var(--cc_color_button_background_${e}_darken_10);
|
|
1897
|
+
}
|
|
1898
|
+
`, Sa = (e, r) => e === "destroy" || e === "success" ? `
|
|
1899
|
+
background: transparent;
|
|
1900
|
+
color: var(--cc_color_utility_${e});
|
|
1901
|
+
&:hover {
|
|
1902
|
+
color: var(--cc_color_utility_${e}_darken_10);
|
|
1903
|
+
background: var(--cc_color_button_background_${e}_alpha_10);
|
|
1904
|
+
}
|
|
1905
|
+
${r ? `
|
|
1906
|
+
border-color: var(--cc_color_button_background_${e});
|
|
1907
|
+
&:hover {
|
|
1908
|
+
border-color: var(--cc_color_button_background_${e}_darken_10);
|
|
1909
|
+
}
|
|
1910
|
+
` : null}
|
|
1911
|
+
` : `
|
|
1912
|
+
background: transparent;
|
|
1913
|
+
color: var(--cc_color_link_${e});
|
|
1914
|
+
&:hover {
|
|
1915
|
+
background: var(--cc_color_button_background_${e}_alpha_${e === "subtle" ? "70" : "10"});
|
|
1916
|
+
color: var(--cc_color_link_${e}_darken_15);
|
|
1917
|
+
}
|
|
1918
|
+
${r ? `
|
|
1919
|
+
border-color: var(--cc_color_link_${e});
|
|
1920
|
+
&:hover {
|
|
1921
|
+
border-color: var(--cc_color_link_${e}_darken_10);
|
|
1922
|
+
}
|
|
1923
|
+
` : null}
|
|
1924
|
+
`, wa = j.button`
|
|
1925
|
+
${(e) => sa({ disabled: e.disabled })}
|
|
1926
|
+
-webkit-font-smoothing: antialiased;
|
|
1927
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1928
|
+
line-height: 1.2;
|
|
1929
|
+
display: inline-flex;
|
|
1930
|
+
align-items: center;
|
|
1931
|
+
justify-content: center;
|
|
1932
|
+
gap: ${(e) => `calc(${qe[e.size]} * 0.25 + 4px)`};
|
|
1933
|
+
border: var(--cc_size_border_width_m) solid transparent;
|
|
1934
|
+
border-radius: var(--cc_size_border_radius_l);
|
|
1935
|
+
font-weight: 700;
|
|
1936
|
+
transition: transform 0.25s, color 0.25s, background 0.25s;
|
|
1937
|
+
box-sizing: border-box;
|
|
1938
|
+
${(e) => e.design === je.outline || e.design === je.minimal ? Sa(
|
|
1939
|
+
e.buttonColor,
|
|
1940
|
+
e.design === je.outline
|
|
1941
|
+
) : xa(e.buttonColor)};
|
|
1942
|
+
height: ${(e) => ia[e.size]};
|
|
1943
|
+
padding: ${(e) => ba[e.size]};
|
|
1944
|
+
font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,
|
|
1945
|
+
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1946
|
+
font-size: ${(e) => qe[e.size]};
|
|
1947
|
+
|
|
1948
|
+
&:active {
|
|
1949
|
+
transform: scale(0.98);
|
|
1950
|
+
}
|
|
1951
|
+
`, Ca = j.span`
|
|
1952
|
+
position: relative;
|
|
1953
|
+
white-space: nowrap;
|
|
1954
|
+
overflow: hidden;
|
|
1955
|
+
text-overflow: ellipsis;
|
|
1956
|
+
${(e) => e.isLoading ? te`
|
|
1957
|
+
visibility: hidden;
|
|
1958
|
+
` : null}
|
|
1959
|
+
`, Ea = j(va)`
|
|
1960
|
+
position: absolute;
|
|
1961
|
+
top: 50%;
|
|
1962
|
+
left: 50%;
|
|
1963
|
+
transform: translate3d(-50%, -50%, 0);
|
|
1964
|
+
`, ka = j.i`
|
|
1965
|
+
// make icons render at the font size + 4px
|
|
1966
|
+
font-size: ${(e) => `calc(${qe[e.size]} + 4px)`};
|
|
1967
|
+
// because MD icon font has extra space at top
|
|
1968
|
+
transform: translateY(-0.05ch);
|
|
1969
|
+
top: 0;
|
|
1970
|
+
|
|
1971
|
+
${(e) => e.isLoading ? te`
|
|
1972
|
+
visibility: hidden;
|
|
1973
|
+
` : null}
|
|
1974
|
+
`, vt = ({
|
|
1975
|
+
children: e,
|
|
1976
|
+
color: r = "subtle",
|
|
1977
|
+
design: t = "solid",
|
|
1978
|
+
href: n,
|
|
1979
|
+
icon: o = { position: "before" },
|
|
1980
|
+
loading: s = !1,
|
|
1981
|
+
size: i = "medium",
|
|
1982
|
+
type: d = "button",
|
|
1983
|
+
...p
|
|
1984
|
+
}) => {
|
|
1985
|
+
const _ = o != null && o.name ? /* @__PURE__ */ V(ka, { className: `mdi mdi-${o.name}`, size: i, isLoading: s }) : null;
|
|
1986
|
+
return /* @__PURE__ */ se(
|
|
1987
|
+
wa,
|
|
1988
|
+
{
|
|
1989
|
+
as: n ? "a" : "button",
|
|
1990
|
+
buttonColor: r,
|
|
1991
|
+
href: n,
|
|
1992
|
+
disabled: p.disabled,
|
|
1993
|
+
design: t,
|
|
1994
|
+
size: i,
|
|
1995
|
+
type: n ? void 0 : d,
|
|
1996
|
+
className: p.className,
|
|
1997
|
+
style: p.style,
|
|
1998
|
+
...p,
|
|
1999
|
+
children: [
|
|
2000
|
+
(o == null ? void 0 : o.position) === "before" ? _ : null,
|
|
2001
|
+
/* @__PURE__ */ V(Ca, { isLoading: s, children: e }),
|
|
2002
|
+
(o == null ? void 0 : o.position) === "after" ? _ : null,
|
|
2003
|
+
s ? /* @__PURE__ */ V(
|
|
2004
|
+
Ea,
|
|
2005
|
+
{
|
|
2006
|
+
accessibilityLabel: "Loading",
|
|
2007
|
+
size: i === "large" ? 20 : "xsmall",
|
|
2008
|
+
trackColor: "rgba(0, 0, 0, 0.2)",
|
|
2009
|
+
meterColor: "currentColor"
|
|
2010
|
+
}
|
|
2011
|
+
) : null
|
|
2012
|
+
]
|
|
2013
|
+
}
|
|
2014
|
+
);
|
|
2015
|
+
}, ye = {
|
|
1840
2016
|
xxxl: {
|
|
1841
2017
|
size: "var(--cc_size_text_xxxl)",
|
|
1842
2018
|
family: "heading",
|
|
@@ -1881,7 +2057,7 @@ const ea = (e) => {
|
|
|
1881
2057
|
family: "system",
|
|
1882
2058
|
lineHeight: 1.4
|
|
1883
2059
|
}
|
|
1884
|
-
},
|
|
2060
|
+
}, Aa = j.span`
|
|
1885
2061
|
/* unset all global typography styles */
|
|
1886
2062
|
all: unset;
|
|
1887
2063
|
|
|
@@ -1892,54 +2068,347 @@ const ea = (e) => {
|
|
|
1892
2068
|
color: ${(e) => e.textColor === "inherit" ? "inherit" : `var(--cc_color_text_${e.textColor})`};
|
|
1893
2069
|
|
|
1894
2070
|
/* Use either Averta (heading) or system font stack default */
|
|
1895
|
-
${(e) => e.textFontFamily && e.textFontFamily === "heading" ||
|
|
2071
|
+
${(e) => e.textFontFamily && e.textFontFamily === "heading" || ye[e.size].family === "heading" ? It : rt}
|
|
1896
2072
|
|
|
1897
2073
|
/* Add 1px to font size if heading font family, due to Averta lookin' too small */
|
|
1898
|
-
font-size: ${(e) => e.textFontFamily === "heading" ? `calc(${
|
|
1899
|
-
line-height: ${(e) =>
|
|
2074
|
+
font-size: ${(e) => e.textFontFamily === "heading" ? `calc(${ye[e.size].size} + 1px)` : ye[e.size].size};
|
|
2075
|
+
line-height: ${(e) => ye[e.size].lineHeight};
|
|
1900
2076
|
|
|
1901
2077
|
/* if ccMargin is specified in props, convert spacing tokens to CSS variables */
|
|
1902
|
-
${(e) => e.ccMargin ?
|
|
1903
|
-
margin: ${
|
|
2078
|
+
${(e) => e.ccMargin ? te`
|
|
2079
|
+
margin: ${la(e.ccMargin)};
|
|
1904
2080
|
` : null}
|
|
1905
2081
|
|
|
1906
2082
|
/* if user specifies weight in props OR there is a weight default for the font size, set it in CSS */
|
|
1907
|
-
${(e) => e.weight ||
|
|
1908
|
-
font-weight: ${e.weight ||
|
|
2083
|
+
${(e) => e.weight || ye[e.size].weight ? te`
|
|
2084
|
+
font-weight: ${e.weight || ye[e.size].weight};
|
|
1909
2085
|
` : null}
|
|
1910
2086
|
`;
|
|
1911
|
-
function
|
|
2087
|
+
function bt({
|
|
1912
2088
|
as: e,
|
|
1913
|
-
children:
|
|
2089
|
+
children: r,
|
|
1914
2090
|
color: t = "default",
|
|
1915
|
-
size:
|
|
1916
|
-
family:
|
|
1917
|
-
ccMargin:
|
|
1918
|
-
weight:
|
|
1919
|
-
display:
|
|
1920
|
-
className:
|
|
1921
|
-
style:
|
|
2091
|
+
size: n = "s",
|
|
2092
|
+
family: o,
|
|
2093
|
+
ccMargin: s,
|
|
2094
|
+
weight: i,
|
|
2095
|
+
display: d = "block",
|
|
2096
|
+
className: p,
|
|
2097
|
+
style: _,
|
|
1922
2098
|
...v
|
|
1923
2099
|
}) {
|
|
1924
|
-
return /* @__PURE__ */
|
|
1925
|
-
|
|
2100
|
+
return /* @__PURE__ */ V(
|
|
2101
|
+
Aa,
|
|
1926
2102
|
{
|
|
1927
2103
|
as: e,
|
|
1928
|
-
size:
|
|
1929
|
-
textFontFamily:
|
|
1930
|
-
ccMargin:
|
|
2104
|
+
size: n,
|
|
2105
|
+
textFontFamily: o,
|
|
2106
|
+
ccMargin: s,
|
|
1931
2107
|
textColor: t,
|
|
1932
|
-
weight:
|
|
1933
|
-
textDisplay:
|
|
1934
|
-
className:
|
|
1935
|
-
style:
|
|
2108
|
+
weight: i,
|
|
2109
|
+
textDisplay: d,
|
|
2110
|
+
className: p,
|
|
2111
|
+
style: _,
|
|
1936
2112
|
...v,
|
|
1937
|
-
children:
|
|
2113
|
+
children: r
|
|
2114
|
+
}
|
|
2115
|
+
);
|
|
2116
|
+
}
|
|
2117
|
+
const $a = {
|
|
2118
|
+
success: "var(--cc_color_utility_success)",
|
|
2119
|
+
caution: "var(--cc_color_utility_caution)",
|
|
2120
|
+
destroy: "var(--cc_color_utility_destroy)",
|
|
2121
|
+
info: "var(--cc_color_utility_info)"
|
|
2122
|
+
}, za = j.div`
|
|
2123
|
+
height: 100%;
|
|
2124
|
+
display: flex;
|
|
2125
|
+
align-items: center;
|
|
2126
|
+
justify-content: center;
|
|
2127
|
+
flex-direction: column;
|
|
2128
|
+
`, Ta = j.div`
|
|
2129
|
+
text-align: center;
|
|
2130
|
+
`, Ra = j.div`
|
|
2131
|
+
height: 128px;
|
|
2132
|
+
width: 128px;
|
|
2133
|
+
margin-block-end: var(--cc_size_spacing_xs);
|
|
2134
|
+
`, Pa = j.img`
|
|
2135
|
+
width: 100%;
|
|
2136
|
+
height: 100%;
|
|
2137
|
+
object-fit: contain;
|
|
2138
|
+
`, Oa = j.i`
|
|
2139
|
+
display: block;
|
|
2140
|
+
color: ${(e) => $a[e.iconColor]};
|
|
2141
|
+
font-size: 48px;
|
|
2142
|
+
line-height: 1;
|
|
2143
|
+
margin-block-end: var(--cc_size_spacing_xs);
|
|
2144
|
+
`, Na = j.div`
|
|
2145
|
+
display: flex;
|
|
2146
|
+
flex-direction: column;
|
|
2147
|
+
gap: var(--cc_size_spacing_s);
|
|
2148
|
+
margin-block-start: var(--cc_size_spacing_m);
|
|
2149
|
+
`, Za = ({
|
|
2150
|
+
image: e,
|
|
2151
|
+
className: r,
|
|
2152
|
+
color: t = "info",
|
|
2153
|
+
iconName: n,
|
|
2154
|
+
message: o = "",
|
|
2155
|
+
primaryAction: s,
|
|
2156
|
+
secondaryAction: i,
|
|
2157
|
+
style: d,
|
|
2158
|
+
title: p
|
|
2159
|
+
}) => {
|
|
2160
|
+
var v, b, $, T;
|
|
2161
|
+
return /* @__PURE__ */ se(za, { className: r, style: d, children: [
|
|
2162
|
+
(() => e != null && e.src ? /* @__PURE__ */ V(Ra, { style: e.imageContainerStyle, children: /* @__PURE__ */ V(Pa, { src: e.src, alt: e.alt }) }) : /* @__PURE__ */ V(
|
|
2163
|
+
Oa,
|
|
2164
|
+
{
|
|
2165
|
+
className: `mdi mdi-${n}`,
|
|
2166
|
+
iconColor: t,
|
|
2167
|
+
"aria-hidden": "true"
|
|
2168
|
+
}
|
|
2169
|
+
))(),
|
|
2170
|
+
/* @__PURE__ */ se(Ta, { children: [
|
|
2171
|
+
/* @__PURE__ */ V(
|
|
2172
|
+
bt,
|
|
2173
|
+
{
|
|
2174
|
+
as: "h3",
|
|
2175
|
+
family: "heading",
|
|
2176
|
+
size: "xl",
|
|
2177
|
+
weight: "800",
|
|
2178
|
+
ccMargin: "none none xs",
|
|
2179
|
+
children: p
|
|
2180
|
+
}
|
|
2181
|
+
),
|
|
2182
|
+
/* @__PURE__ */ V(bt, { as: "p", color: "subtle", children: o })
|
|
2183
|
+
] }),
|
|
2184
|
+
/* @__PURE__ */ se(Na, { children: [
|
|
2185
|
+
s ? /* @__PURE__ */ V(
|
|
2186
|
+
vt,
|
|
2187
|
+
{
|
|
2188
|
+
href: s.href,
|
|
2189
|
+
onClick: s.onClick,
|
|
2190
|
+
color: t === "destroy" ? "destroy" : "primary",
|
|
2191
|
+
icon: {
|
|
2192
|
+
name: (v = s.icon) == null ? void 0 : v.name,
|
|
2193
|
+
position: (b = s.icon) == null ? void 0 : b.position
|
|
2194
|
+
},
|
|
2195
|
+
children: s.label
|
|
2196
|
+
}
|
|
2197
|
+
) : null,
|
|
2198
|
+
i ? /* @__PURE__ */ V(
|
|
2199
|
+
vt,
|
|
2200
|
+
{
|
|
2201
|
+
href: i.href,
|
|
2202
|
+
onClick: i.onClick,
|
|
2203
|
+
color: "subtle",
|
|
2204
|
+
icon: {
|
|
2205
|
+
name: ($ = i.icon) == null ? void 0 : $.name,
|
|
2206
|
+
position: (T = i.icon) == null ? void 0 : T.position
|
|
2207
|
+
},
|
|
2208
|
+
children: i.label
|
|
2209
|
+
}
|
|
2210
|
+
) : null
|
|
2211
|
+
] })
|
|
2212
|
+
] });
|
|
2213
|
+
}, Ia = j.span`
|
|
2214
|
+
width: 1px;
|
|
2215
|
+
height: 1px;
|
|
2216
|
+
margin: -1px;
|
|
2217
|
+
padding: 0;
|
|
2218
|
+
position: absolute;
|
|
2219
|
+
top: 0;
|
|
2220
|
+
left: 0;
|
|
2221
|
+
overflow: hidden;
|
|
2222
|
+
clip: rect(0 0 0 0);
|
|
2223
|
+
border: 0;
|
|
2224
|
+
opacity: 0;
|
|
2225
|
+
`, Ka = ({ children: e }) => /* @__PURE__ */ V(Ia, { children: e }), Ma = j.div`
|
|
2226
|
+
position: relative;
|
|
2227
|
+
z-index: 1;
|
|
2228
|
+
${(e) => e.disabled ? te`
|
|
2229
|
+
opacity: 0.5;
|
|
2230
|
+
pointer-events: none;
|
|
2231
|
+
user-select: none;
|
|
2232
|
+
` : null}
|
|
2233
|
+
`, Da = j.div`
|
|
2234
|
+
display: flex;
|
|
2235
|
+
align-items: center;
|
|
2236
|
+
gap: var(--cc_size_spacing_xs);
|
|
2237
|
+
font-size: var(--cc_size_text_xs);
|
|
2238
|
+
font-weight: 400;
|
|
2239
|
+
margin-block-start: var(--cc_size_spacing_xs);
|
|
2240
|
+
color: ${(e) => `var(--cc_color_utility_${e.status})`};
|
|
2241
|
+
`, Fa = j.i`
|
|
2242
|
+
font-size: 18px;
|
|
2243
|
+
flex-shrink: 0;
|
|
2244
|
+
`, La = j.span`
|
|
2245
|
+
${rt}
|
|
2246
|
+
`;
|
|
2247
|
+
function ja({
|
|
2248
|
+
children: e,
|
|
2249
|
+
className: r,
|
|
2250
|
+
disabled: t = !1,
|
|
2251
|
+
id: n,
|
|
2252
|
+
message: o,
|
|
2253
|
+
status: s = "default",
|
|
2254
|
+
style: i
|
|
2255
|
+
}) {
|
|
2256
|
+
const d = {
|
|
2257
|
+
default: "info",
|
|
2258
|
+
error: "destroy",
|
|
2259
|
+
success: "success"
|
|
2260
|
+
}, p = {
|
|
2261
|
+
error: "alert-circle-outline",
|
|
2262
|
+
success: "check-circle-outline"
|
|
2263
|
+
};
|
|
2264
|
+
return /* @__PURE__ */ se(Ma, { className: r, style: i, disabled: t, children: [
|
|
2265
|
+
e,
|
|
2266
|
+
o ? /* @__PURE__ */ se(Da, { status: d[s], children: [
|
|
2267
|
+
s === "success" || s === "error" ? /* @__PURE__ */ V(
|
|
2268
|
+
Fa,
|
|
2269
|
+
{
|
|
2270
|
+
className: `mdi mdi-${p[s]}`,
|
|
2271
|
+
"aria-hidden": "true"
|
|
2272
|
+
}
|
|
2273
|
+
) : null,
|
|
2274
|
+
/* @__PURE__ */ V(La, { id: `${n}-message`, children: o })
|
|
2275
|
+
] }) : null
|
|
2276
|
+
] });
|
|
2277
|
+
}
|
|
2278
|
+
const Ya = j.label`
|
|
2279
|
+
all: initial;
|
|
2280
|
+
${(e) => e.hideLabel ? ca : te`
|
|
2281
|
+
box-sizing: border-box;
|
|
2282
|
+
display: block;
|
|
2283
|
+
${It}
|
|
2284
|
+
font-weight: 600;
|
|
2285
|
+
font-size: calc(var(--cc_size_text_s) + 1px);
|
|
2286
|
+
color: var(--cc_color_text_default);
|
|
2287
|
+
margin-block-end: var(--cc_size_spacing_xs);
|
|
2288
|
+
`}
|
|
2289
|
+
`, Va = j.input`
|
|
2290
|
+
all: initial;
|
|
2291
|
+
box-sizing: border-box;
|
|
2292
|
+
background: transparent;
|
|
2293
|
+
${rt};
|
|
2294
|
+
font-size: var(--cc_size_text_m);
|
|
2295
|
+
color: var(--cc_color_text_default);
|
|
2296
|
+
padding: 0 calc(var(--cc_size_spacing_m) * 0.75);
|
|
2297
|
+
flex: 1;
|
|
2298
|
+
height: ${(e) => e.inputSize === "medium" ? 38 : 48}px;
|
|
2299
|
+
overflow: hidden;
|
|
2300
|
+
max-width: 100%;
|
|
2301
|
+
&::placeholder {
|
|
2302
|
+
color: var(--cc_color_text_nonessential);
|
|
2303
|
+
}
|
|
2304
|
+
`, Ba = j.div`
|
|
2305
|
+
border-width: var(--cc_size_border_width_s);
|
|
2306
|
+
border-style: solid;
|
|
2307
|
+
border-color: ${(e) => e.error ? "var(--cc_color_utility_destroy)" : "var(--cc_color_border_input_inactive)"};
|
|
2308
|
+
display: flex;
|
|
2309
|
+
align-items: center;
|
|
2310
|
+
min-width: 1px;
|
|
2311
|
+
transition: border-color 0.3s;
|
|
2312
|
+
border-radius: ${(e) => e.$type === "search" ? "var(--cc_size_border_radius_pill)" : "var(--cc_size_border_radius_l)"};
|
|
2313
|
+
background: var(--cc_color_background_1);
|
|
2314
|
+
${(e) => e.disabled ? null : te`
|
|
2315
|
+
&:hover {
|
|
2316
|
+
border-color: var(--cc_color_button_background_secondary);
|
|
2317
|
+
}
|
|
2318
|
+
`}
|
|
2319
|
+
|
|
2320
|
+
&:focus-within {
|
|
2321
|
+
${(e) => Mt(e.error, e.success)}
|
|
2322
|
+
border-color: transparent;
|
|
2323
|
+
outline-offset: -2px;
|
|
2324
|
+
}
|
|
2325
|
+
`, Ha = j.i`
|
|
2326
|
+
color: var(--cc_color_text_nonessential);
|
|
2327
|
+
font-size: ${(e) => e.inputSize === "large" ? 22 : 20}px;
|
|
2328
|
+
margin-inline-start: calc(var(--cc_size_spacing_m) * 0.75);
|
|
2329
|
+
line-height: 1;
|
|
2330
|
+
`, xt = j.span`
|
|
2331
|
+
flex-shrink: 0;
|
|
2332
|
+
`, Ua = ({ success: e, error: r }) => e && !r ? "success" : r ? "error" : "default", Ga = ({ type: e }) => {
|
|
2333
|
+
switch (e) {
|
|
2334
|
+
case "email":
|
|
2335
|
+
return "email-outline";
|
|
2336
|
+
case "tel":
|
|
2337
|
+
return "phone-outline";
|
|
2338
|
+
case "search":
|
|
2339
|
+
return "magnify";
|
|
2340
|
+
case "url":
|
|
2341
|
+
return "web";
|
|
2342
|
+
default:
|
|
2343
|
+
return null;
|
|
2344
|
+
}
|
|
2345
|
+
};
|
|
2346
|
+
function Qa({
|
|
2347
|
+
className: e,
|
|
2348
|
+
contentBefore: r,
|
|
2349
|
+
contentAfter: t,
|
|
2350
|
+
error: n = !1,
|
|
2351
|
+
hideLabel: o = !1,
|
|
2352
|
+
id: s,
|
|
2353
|
+
label: i,
|
|
2354
|
+
message: d,
|
|
2355
|
+
name: p,
|
|
2356
|
+
inputSize: _ = "medium",
|
|
2357
|
+
style: v,
|
|
2358
|
+
success: b = !1,
|
|
2359
|
+
testId: $,
|
|
2360
|
+
type: T = "text",
|
|
2361
|
+
...x
|
|
2362
|
+
}) {
|
|
2363
|
+
const S = Ga({ type: T }), c = r || S, R = () => c ? /* @__PURE__ */ V(xt, { children: r || /* @__PURE__ */ V(Ha, { className: `mdi mdi-${S}`, inputSize: _ }) }) : null;
|
|
2364
|
+
return /* @__PURE__ */ se(
|
|
2365
|
+
ja,
|
|
2366
|
+
{
|
|
2367
|
+
id: s,
|
|
2368
|
+
message: d,
|
|
2369
|
+
disabled: x.disabled,
|
|
2370
|
+
className: e,
|
|
2371
|
+
status: Ua({ success: b, error: n }),
|
|
2372
|
+
style: v,
|
|
2373
|
+
children: [
|
|
2374
|
+
/* @__PURE__ */ V(Ya, { htmlFor: s, hideLabel: o, children: i }),
|
|
2375
|
+
/* @__PURE__ */ se(
|
|
2376
|
+
Ba,
|
|
2377
|
+
{
|
|
2378
|
+
disabled: x.disabled || !1,
|
|
2379
|
+
success: b,
|
|
2380
|
+
error: n,
|
|
2381
|
+
$type: T,
|
|
2382
|
+
children: [
|
|
2383
|
+
R(),
|
|
2384
|
+
/* @__PURE__ */ V(
|
|
2385
|
+
Va,
|
|
2386
|
+
{
|
|
2387
|
+
disabled: x.disabled,
|
|
2388
|
+
"aria-labelledby": d ? `${s}-message` : "",
|
|
2389
|
+
"aria-invalid": n,
|
|
2390
|
+
id: s,
|
|
2391
|
+
name: p || s,
|
|
2392
|
+
inputSize: _,
|
|
2393
|
+
"data-testid": $,
|
|
2394
|
+
type: T,
|
|
2395
|
+
...x
|
|
2396
|
+
}
|
|
2397
|
+
),
|
|
2398
|
+
t ? /* @__PURE__ */ V(xt, { children: t }) : null
|
|
2399
|
+
]
|
|
2400
|
+
}
|
|
2401
|
+
)
|
|
2402
|
+
]
|
|
1938
2403
|
}
|
|
1939
2404
|
);
|
|
1940
2405
|
}
|
|
1941
2406
|
export {
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
2407
|
+
qa as Badge,
|
|
2408
|
+
Za as Billboard,
|
|
2409
|
+
vt as Button,
|
|
2410
|
+
Qa as InputText,
|
|
2411
|
+
Ka as ScreenReaderContent,
|
|
2412
|
+
va as Spinner,
|
|
2413
|
+
bt as Text
|
|
1945
2414
|
};
|