this.gui 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/this-gui.es.js +727 -647
- package/dist/this-gui.umd.js +17 -17
- package/package.json +2 -1
- package/src/App.jsx +19 -43
- package/src/CreatePage.jsx +61 -0
- package/src/MDXEditor.jsx +51 -0
- package/src/PageDashboard.jsx +56 -0
- package/src/SiteBuilder.jsx +95 -26
- package/src/scripts/postinstall.js +41 -30
- package/src/stories/Atoms/Button/Button.css +259 -58
- package/src/stories/Atoms/Button/Button.jsx +8 -11
- package/src/stories/Atoms/Button/Button.stories.jsx +65 -40
- package/src/stories/Atoms/Container/Container.css +420 -39
- package/src/stories/Atoms/Container/Container.jsx +98 -36
- package/src/stories/Atoms/Container/Container.stories.jsx +120 -79
- package/src/stories/Atoms/Link/Link.css +6 -26
- package/src/stories/Atoms/Link/Link.jsx +11 -21
- package/src/themes/styles/neurons/light.css +94 -204
package/dist/this-gui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import he, { useState as B, useEffect as
|
|
1
|
+
import he, { useState as B, useEffect as Ce, useRef as Ye } from "react";
|
|
2
2
|
function Zr(r) {
|
|
3
3
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
4
4
|
}
|
|
5
|
-
var Be = { exports: {} },
|
|
5
|
+
var Be = { exports: {} }, Oe = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,19 +14,19 @@ var Be = { exports: {} }, Te = {};
|
|
|
14
14
|
*/
|
|
15
15
|
var Lr;
|
|
16
16
|
function jo() {
|
|
17
|
-
if (Lr) return
|
|
17
|
+
if (Lr) return Oe;
|
|
18
18
|
Lr = 1;
|
|
19
19
|
var r = he, o = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
20
|
function c(i, u, f) {
|
|
21
|
-
var p, h = {},
|
|
22
|
-
f !== void 0 && (
|
|
21
|
+
var p, h = {}, v = null, j = null;
|
|
22
|
+
f !== void 0 && (v = "" + f), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (j = u.ref);
|
|
23
23
|
for (p in u) n.call(u, p) && !l.hasOwnProperty(p) && (h[p] = u[p]);
|
|
24
24
|
if (i && i.defaultProps) for (p in u = i.defaultProps, u) h[p] === void 0 && (h[p] = u[p]);
|
|
25
|
-
return { $$typeof: o, type: i, key:
|
|
25
|
+
return { $$typeof: o, type: i, key: v, ref: j, props: h, _owner: d.current };
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return Oe.Fragment = t, Oe.jsx = c, Oe.jsxs = c, Oe;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var Te = {};
|
|
30
30
|
/**
|
|
31
31
|
* @license React
|
|
32
32
|
* react-jsx-runtime.development.js
|
|
@@ -39,27 +39,27 @@ var Ce = {};
|
|
|
39
39
|
var Dr;
|
|
40
40
|
function wo() {
|
|
41
41
|
return Dr || (Dr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
42
|
-
var r = he, o = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), i = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"),
|
|
42
|
+
var r = he, o = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), i = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), E = Symbol.iterator, C = "@@iterator";
|
|
43
43
|
function N(s) {
|
|
44
44
|
if (s === null || typeof s != "object")
|
|
45
45
|
return null;
|
|
46
|
-
var y =
|
|
46
|
+
var y = E && s[E] || s[C];
|
|
47
47
|
return typeof y == "function" ? y : null;
|
|
48
48
|
}
|
|
49
49
|
var P = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
50
|
-
function
|
|
50
|
+
function $(s) {
|
|
51
51
|
{
|
|
52
|
-
for (var y = arguments.length,
|
|
53
|
-
|
|
54
|
-
A("error", s,
|
|
52
|
+
for (var y = arguments.length, _ = new Array(y > 1 ? y - 1 : 0), R = 1; R < y; R++)
|
|
53
|
+
_[R - 1] = arguments[R];
|
|
54
|
+
A("error", s, _);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
function A(s, y,
|
|
57
|
+
function A(s, y, _) {
|
|
58
58
|
{
|
|
59
59
|
var R = P.ReactDebugCurrentFrame, W = R.getStackAddendum();
|
|
60
|
-
W !== "" && (y += "%s",
|
|
61
|
-
var G =
|
|
62
|
-
return String(
|
|
60
|
+
W !== "" && (y += "%s", _ = _.concat([W]));
|
|
61
|
+
var G = _.map(function(z) {
|
|
62
|
+
return String(z);
|
|
63
63
|
});
|
|
64
64
|
G.unshift("Warning: " + y), Function.prototype.apply.call(console[s], console, G);
|
|
65
65
|
}
|
|
@@ -67,18 +67,18 @@ function wo() {
|
|
|
67
67
|
var F = !1, g = !1, K = !1, te = !1, oe = !1, le;
|
|
68
68
|
le = Symbol.for("react.module.reference");
|
|
69
69
|
function de(s) {
|
|
70
|
-
return !!(typeof s == "string" || typeof s == "function" || s === n || s === l || oe || s === d || s === f || s === p || te || s ===
|
|
70
|
+
return !!(typeof s == "string" || typeof s == "function" || s === n || s === l || oe || s === d || s === f || s === p || te || s === j || F || g || K || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === h || s.$$typeof === c || s.$$typeof === i || s.$$typeof === u || // This needs to include all possible module reference object
|
|
71
71
|
// types supported by any Flight configuration anywhere since
|
|
72
72
|
// we don't know which Flight build this will end up being used
|
|
73
73
|
// with.
|
|
74
74
|
s.$$typeof === le || s.getModuleId !== void 0));
|
|
75
75
|
}
|
|
76
|
-
function ie(s, y,
|
|
76
|
+
function ie(s, y, _) {
|
|
77
77
|
var R = s.displayName;
|
|
78
78
|
if (R)
|
|
79
79
|
return R;
|
|
80
80
|
var W = y.displayName || y.name || "";
|
|
81
|
-
return W !== "" ?
|
|
81
|
+
return W !== "" ? _ + "(" + W + ")" : _;
|
|
82
82
|
}
|
|
83
83
|
function ne(s) {
|
|
84
84
|
return s.displayName || "Context";
|
|
@@ -86,7 +86,7 @@ function wo() {
|
|
|
86
86
|
function J(s) {
|
|
87
87
|
if (s == null)
|
|
88
88
|
return null;
|
|
89
|
-
if (typeof s.tag == "number" &&
|
|
89
|
+
if (typeof s.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
90
90
|
return s.displayName || s.name || null;
|
|
91
91
|
if (typeof s == "string")
|
|
92
92
|
return s;
|
|
@@ -110,17 +110,17 @@ function wo() {
|
|
|
110
110
|
var y = s;
|
|
111
111
|
return ne(y) + ".Consumer";
|
|
112
112
|
case c:
|
|
113
|
-
var
|
|
114
|
-
return ne(
|
|
113
|
+
var _ = s;
|
|
114
|
+
return ne(_._context) + ".Provider";
|
|
115
115
|
case u:
|
|
116
116
|
return ie(s, s.render, "ForwardRef");
|
|
117
117
|
case h:
|
|
118
118
|
var R = s.displayName || null;
|
|
119
119
|
return R !== null ? R : J(s.type) || "Memo";
|
|
120
|
-
case
|
|
121
|
-
var W = s, G = W._payload,
|
|
120
|
+
case v: {
|
|
121
|
+
var W = s, G = W._payload, z = W._init;
|
|
122
122
|
try {
|
|
123
|
-
return J(
|
|
123
|
+
return J(z(G));
|
|
124
124
|
} catch {
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
@@ -128,18 +128,18 @@ function wo() {
|
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
|
-
var H = Object.assign,
|
|
132
|
-
function
|
|
131
|
+
var H = Object.assign, Q = 0, X, ee, k, Z, m, w, b;
|
|
132
|
+
function O() {
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
function
|
|
134
|
+
O.__reactDisabledLog = !0;
|
|
135
|
+
function T() {
|
|
136
136
|
{
|
|
137
|
-
if (
|
|
138
|
-
X = console.log,
|
|
137
|
+
if (Q === 0) {
|
|
138
|
+
X = console.log, ee = console.info, k = console.warn, Z = console.error, m = console.group, w = console.groupCollapsed, b = console.groupEnd;
|
|
139
139
|
var s = {
|
|
140
140
|
configurable: !0,
|
|
141
141
|
enumerable: !0,
|
|
142
|
-
value:
|
|
142
|
+
value: O,
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
@@ -152,12 +152,12 @@ function wo() {
|
|
|
152
152
|
groupEnd: s
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
Q++;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
function L() {
|
|
159
159
|
{
|
|
160
|
-
if (
|
|
160
|
+
if (Q--, Q === 0) {
|
|
161
161
|
var s = {
|
|
162
162
|
configurable: !0,
|
|
163
163
|
enumerable: !0,
|
|
@@ -168,30 +168,30 @@ function wo() {
|
|
|
168
168
|
value: X
|
|
169
169
|
}),
|
|
170
170
|
info: H({}, s, {
|
|
171
|
-
value:
|
|
171
|
+
value: ee
|
|
172
172
|
}),
|
|
173
173
|
warn: H({}, s, {
|
|
174
|
-
value:
|
|
174
|
+
value: k
|
|
175
175
|
}),
|
|
176
176
|
error: H({}, s, {
|
|
177
|
-
value:
|
|
177
|
+
value: Z
|
|
178
178
|
}),
|
|
179
179
|
group: H({}, s, {
|
|
180
180
|
value: m
|
|
181
181
|
}),
|
|
182
182
|
groupCollapsed: H({}, s, {
|
|
183
|
-
value:
|
|
183
|
+
value: w
|
|
184
184
|
}),
|
|
185
185
|
groupEnd: H({}, s, {
|
|
186
|
-
value:
|
|
186
|
+
value: b
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
|
-
|
|
190
|
+
Q < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
var
|
|
194
|
-
function M(s, y,
|
|
193
|
+
var S = P.ReactCurrentDispatcher, q;
|
|
194
|
+
function M(s, y, _) {
|
|
195
195
|
{
|
|
196
196
|
if (q === void 0)
|
|
197
197
|
try {
|
|
@@ -204,48 +204,48 @@ function wo() {
|
|
|
204
204
|
` + q + s;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
var
|
|
207
|
+
var V = !1, I;
|
|
208
208
|
{
|
|
209
209
|
var ce = typeof WeakMap == "function" ? WeakMap : Map;
|
|
210
210
|
I = new ce();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
if (!s ||
|
|
212
|
+
function x(s, y) {
|
|
213
|
+
if (!s || V)
|
|
214
214
|
return "";
|
|
215
215
|
{
|
|
216
|
-
var
|
|
217
|
-
if (
|
|
218
|
-
return
|
|
216
|
+
var _ = I.get(s);
|
|
217
|
+
if (_ !== void 0)
|
|
218
|
+
return _;
|
|
219
219
|
}
|
|
220
220
|
var R;
|
|
221
|
-
|
|
221
|
+
V = !0;
|
|
222
222
|
var W = Error.prepareStackTrace;
|
|
223
223
|
Error.prepareStackTrace = void 0;
|
|
224
224
|
var G;
|
|
225
|
-
G =
|
|
225
|
+
G = S.current, S.current = null, T();
|
|
226
226
|
try {
|
|
227
227
|
if (y) {
|
|
228
|
-
var
|
|
228
|
+
var z = function() {
|
|
229
229
|
throw Error();
|
|
230
230
|
};
|
|
231
|
-
if (Object.defineProperty(
|
|
231
|
+
if (Object.defineProperty(z.prototype, "props", {
|
|
232
232
|
set: function() {
|
|
233
233
|
throw Error();
|
|
234
234
|
}
|
|
235
235
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
236
236
|
try {
|
|
237
|
-
Reflect.construct(
|
|
237
|
+
Reflect.construct(z, []);
|
|
238
238
|
} catch (fe) {
|
|
239
239
|
R = fe;
|
|
240
240
|
}
|
|
241
|
-
Reflect.construct(s, [],
|
|
241
|
+
Reflect.construct(s, [], z);
|
|
242
242
|
} else {
|
|
243
243
|
try {
|
|
244
|
-
|
|
244
|
+
z.call();
|
|
245
245
|
} catch (fe) {
|
|
246
246
|
R = fe;
|
|
247
247
|
}
|
|
248
|
-
s.call(
|
|
248
|
+
s.call(z.prototype);
|
|
249
249
|
}
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
@@ -259,39 +259,39 @@ function wo() {
|
|
|
259
259
|
if (fe && R && typeof fe.stack == "string") {
|
|
260
260
|
for (var D = fe.stack.split(`
|
|
261
261
|
`), ue = R.stack.split(`
|
|
262
|
-
`),
|
|
262
|
+
`), re = D.length - 1, se = ue.length - 1; re >= 1 && se >= 0 && D[re] !== ue[se]; )
|
|
263
263
|
se--;
|
|
264
|
-
for (;
|
|
265
|
-
if (D[
|
|
266
|
-
if (
|
|
264
|
+
for (; re >= 1 && se >= 0; re--, se--)
|
|
265
|
+
if (D[re] !== ue[se]) {
|
|
266
|
+
if (re !== 1 || se !== 1)
|
|
267
267
|
do
|
|
268
|
-
if (
|
|
268
|
+
if (re--, se--, se < 0 || D[re] !== ue[se]) {
|
|
269
269
|
var me = `
|
|
270
|
-
` + D[
|
|
270
|
+
` + D[re].replace(" at new ", " at ");
|
|
271
271
|
return s.displayName && me.includes("<anonymous>") && (me = me.replace("<anonymous>", s.displayName)), typeof s == "function" && I.set(s, me), me;
|
|
272
272
|
}
|
|
273
|
-
while (
|
|
273
|
+
while (re >= 1 && se >= 0);
|
|
274
274
|
break;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
} finally {
|
|
278
|
-
|
|
278
|
+
V = !1, S.current = G, L(), Error.prepareStackTrace = W;
|
|
279
279
|
}
|
|
280
280
|
var xe = s ? s.displayName || s.name : "", ge = xe ? M(xe) : "";
|
|
281
281
|
return typeof s == "function" && I.set(s, ge), ge;
|
|
282
282
|
}
|
|
283
|
-
function pe(s, y,
|
|
284
|
-
return
|
|
283
|
+
function pe(s, y, _) {
|
|
284
|
+
return x(s, !1);
|
|
285
285
|
}
|
|
286
286
|
function ve(s) {
|
|
287
287
|
var y = s.prototype;
|
|
288
288
|
return !!(y && y.isReactComponent);
|
|
289
289
|
}
|
|
290
|
-
function ye(s, y,
|
|
290
|
+
function ye(s, y, _) {
|
|
291
291
|
if (s == null)
|
|
292
292
|
return "";
|
|
293
293
|
if (typeof s == "function")
|
|
294
|
-
return
|
|
294
|
+
return x(s, ve(s));
|
|
295
295
|
if (typeof s == "string")
|
|
296
296
|
return M(s);
|
|
297
297
|
switch (s) {
|
|
@@ -305,41 +305,41 @@ function wo() {
|
|
|
305
305
|
case u:
|
|
306
306
|
return pe(s.render);
|
|
307
307
|
case h:
|
|
308
|
-
return ye(s.type, y,
|
|
309
|
-
case
|
|
308
|
+
return ye(s.type, y, _);
|
|
309
|
+
case v: {
|
|
310
310
|
var R = s, W = R._payload, G = R._init;
|
|
311
311
|
try {
|
|
312
|
-
return ye(G(W), y,
|
|
312
|
+
return ye(G(W), y, _);
|
|
313
313
|
} catch {
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
return "";
|
|
318
318
|
}
|
|
319
|
-
var je = Object.prototype.hasOwnProperty,
|
|
319
|
+
var je = Object.prototype.hasOwnProperty, Tr = {}, Cr = P.ReactDebugCurrentFrame;
|
|
320
320
|
function Ne(s) {
|
|
321
321
|
if (s) {
|
|
322
|
-
var y = s._owner,
|
|
323
|
-
|
|
322
|
+
var y = s._owner, _ = ye(s.type, s._source, y ? y.type : null);
|
|
323
|
+
Cr.setExtraStackFrame(_);
|
|
324
324
|
} else
|
|
325
|
-
|
|
325
|
+
Cr.setExtraStackFrame(null);
|
|
326
326
|
}
|
|
327
|
-
function Qa(s, y,
|
|
327
|
+
function Qa(s, y, _, R, W) {
|
|
328
328
|
{
|
|
329
329
|
var G = Function.call.bind(je);
|
|
330
|
-
for (var
|
|
331
|
-
if (G(s,
|
|
330
|
+
for (var z in s)
|
|
331
|
+
if (G(s, z)) {
|
|
332
332
|
var D = void 0;
|
|
333
333
|
try {
|
|
334
|
-
if (typeof s[
|
|
335
|
-
var ue = Error((R || "React class") + ": " +
|
|
334
|
+
if (typeof s[z] != "function") {
|
|
335
|
+
var ue = Error((R || "React class") + ": " + _ + " type `" + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
336
336
|
throw ue.name = "Invariant Violation", ue;
|
|
337
337
|
}
|
|
338
|
-
D = s[
|
|
339
|
-
} catch (
|
|
340
|
-
D =
|
|
338
|
+
D = s[z](y, z, R, _, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
339
|
+
} catch (re) {
|
|
340
|
+
D = re;
|
|
341
341
|
}
|
|
342
|
-
D && !(D instanceof Error) && (Ne(W),
|
|
342
|
+
D && !(D instanceof Error) && (Ne(W), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", R || "React class", _, z, typeof D), Ne(null)), D instanceof Error && !(D.message in Tr) && (Tr[D.message] = !0, Ne(W), $("Failed %s type: %s", _, D.message), Ne(null));
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
@@ -349,8 +349,8 @@ function wo() {
|
|
|
349
349
|
}
|
|
350
350
|
function ro(s) {
|
|
351
351
|
{
|
|
352
|
-
var y = typeof Symbol == "function" && Symbol.toStringTag,
|
|
353
|
-
return
|
|
352
|
+
var y = typeof Symbol == "function" && Symbol.toStringTag, _ = y && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
353
|
+
return _;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
function ao(s) {
|
|
@@ -365,15 +365,15 @@ function wo() {
|
|
|
365
365
|
}
|
|
366
366
|
function Rr(s) {
|
|
367
367
|
if (ao(s))
|
|
368
|
-
return
|
|
368
|
+
return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ro(s)), Nr(s);
|
|
369
369
|
}
|
|
370
370
|
var we = P.ReactCurrentOwner, oo = {
|
|
371
371
|
key: !0,
|
|
372
372
|
ref: !0,
|
|
373
373
|
__self: !0,
|
|
374
374
|
__source: !0
|
|
375
|
-
}, Er, kr,
|
|
376
|
-
|
|
375
|
+
}, Er, kr, $e;
|
|
376
|
+
$e = {};
|
|
377
377
|
function so(s) {
|
|
378
378
|
if (je.call(s, "ref")) {
|
|
379
379
|
var y = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
@@ -392,41 +392,41 @@ function wo() {
|
|
|
392
392
|
}
|
|
393
393
|
function to(s, y) {
|
|
394
394
|
if (typeof s.ref == "string" && we.current && y && we.current.stateNode !== y) {
|
|
395
|
-
var
|
|
396
|
-
|
|
395
|
+
var _ = J(we.current.type);
|
|
396
|
+
$e[_] || ($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', J(we.current.type), s.ref), $e[_] = !0);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
function lo(s, y) {
|
|
400
400
|
{
|
|
401
|
-
var
|
|
402
|
-
Er || (Er = !0,
|
|
401
|
+
var _ = function() {
|
|
402
|
+
Er || (Er = !0, $("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", y));
|
|
403
403
|
};
|
|
404
|
-
|
|
405
|
-
get:
|
|
404
|
+
_.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
405
|
+
get: _,
|
|
406
406
|
configurable: !0
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
function io(s, y) {
|
|
411
411
|
{
|
|
412
|
-
var
|
|
413
|
-
kr || (kr = !0,
|
|
412
|
+
var _ = function() {
|
|
413
|
+
kr || (kr = !0, $("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", y));
|
|
414
414
|
};
|
|
415
|
-
|
|
416
|
-
get:
|
|
415
|
+
_.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
416
|
+
get: _,
|
|
417
417
|
configurable: !0
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
var co = function(s, y,
|
|
421
|
+
var co = function(s, y, _, R, W, G, z) {
|
|
422
422
|
var D = {
|
|
423
423
|
// This tag allows us to uniquely identify this as a React Element
|
|
424
424
|
$$typeof: o,
|
|
425
425
|
// Built-in properties that belong on the element
|
|
426
426
|
type: s,
|
|
427
427
|
key: y,
|
|
428
|
-
ref:
|
|
429
|
-
props:
|
|
428
|
+
ref: _,
|
|
429
|
+
props: z,
|
|
430
430
|
// Record the component responsible for creating this element.
|
|
431
431
|
_owner: G
|
|
432
432
|
};
|
|
@@ -447,29 +447,29 @@ function wo() {
|
|
|
447
447
|
value: W
|
|
448
448
|
}), Object.freeze && (Object.freeze(D.props), Object.freeze(D)), D;
|
|
449
449
|
};
|
|
450
|
-
function uo(s, y,
|
|
450
|
+
function uo(s, y, _, R, W) {
|
|
451
451
|
{
|
|
452
|
-
var G,
|
|
453
|
-
|
|
452
|
+
var G, z = {}, D = null, ue = null;
|
|
453
|
+
_ !== void 0 && (Rr(_), D = "" + _), no(y) && (Rr(y.key), D = "" + y.key), so(y) && (ue = y.ref, to(y, W));
|
|
454
454
|
for (G in y)
|
|
455
|
-
je.call(y, G) && !oo.hasOwnProperty(G) && (
|
|
455
|
+
je.call(y, G) && !oo.hasOwnProperty(G) && (z[G] = y[G]);
|
|
456
456
|
if (s && s.defaultProps) {
|
|
457
|
-
var
|
|
458
|
-
for (G in
|
|
459
|
-
|
|
457
|
+
var re = s.defaultProps;
|
|
458
|
+
for (G in re)
|
|
459
|
+
z[G] === void 0 && (z[G] = re[G]);
|
|
460
460
|
}
|
|
461
461
|
if (D || ue) {
|
|
462
462
|
var se = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
463
|
-
D && lo(
|
|
463
|
+
D && lo(z, se), ue && io(z, se);
|
|
464
464
|
}
|
|
465
|
-
return co(s, D, ue, W, R, we.current,
|
|
465
|
+
return co(s, D, ue, W, R, we.current, z);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
var
|
|
468
|
+
var Se = P.ReactCurrentOwner, Pr = P.ReactDebugCurrentFrame;
|
|
469
469
|
function be(s) {
|
|
470
470
|
if (s) {
|
|
471
|
-
var y = s._owner,
|
|
472
|
-
Pr.setExtraStackFrame(
|
|
471
|
+
var y = s._owner, _ = ye(s.type, s._source, y ? y.type : null);
|
|
472
|
+
Pr.setExtraStackFrame(_);
|
|
473
473
|
} else
|
|
474
474
|
Pr.setExtraStackFrame(null);
|
|
475
475
|
}
|
|
@@ -478,10 +478,10 @@ function wo() {
|
|
|
478
478
|
function Ae(s) {
|
|
479
479
|
return typeof s == "object" && s !== null && s.$$typeof === o;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function $r() {
|
|
482
482
|
{
|
|
483
|
-
if (
|
|
484
|
-
var s = J(
|
|
483
|
+
if (Se.current) {
|
|
484
|
+
var s = J(Se.current.type);
|
|
485
485
|
if (s)
|
|
486
486
|
return `
|
|
487
487
|
|
|
@@ -493,15 +493,15 @@ Check the render method of \`` + s + "`.";
|
|
|
493
493
|
function fo(s) {
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
|
-
var
|
|
496
|
+
var Sr = {};
|
|
497
497
|
function po(s) {
|
|
498
498
|
{
|
|
499
|
-
var y =
|
|
499
|
+
var y = $r();
|
|
500
500
|
if (!y) {
|
|
501
|
-
var
|
|
502
|
-
|
|
501
|
+
var _ = typeof s == "string" ? s : s.displayName || s.name;
|
|
502
|
+
_ && (y = `
|
|
503
503
|
|
|
504
|
-
Check the top-level render call using <` +
|
|
504
|
+
Check the top-level render call using <` + _ + ">.");
|
|
505
505
|
}
|
|
506
506
|
return y;
|
|
507
507
|
}
|
|
@@ -511,12 +511,12 @@ Check the top-level render call using <` + x + ">.");
|
|
|
511
511
|
if (!s._store || s._store.validated || s.key != null)
|
|
512
512
|
return;
|
|
513
513
|
s._store.validated = !0;
|
|
514
|
-
var
|
|
515
|
-
if (
|
|
514
|
+
var _ = po(y);
|
|
515
|
+
if (Sr[_])
|
|
516
516
|
return;
|
|
517
|
-
|
|
517
|
+
Sr[_] = !0;
|
|
518
518
|
var R = "";
|
|
519
|
-
s && s._owner && s._owner !==
|
|
519
|
+
s && s._owner && s._owner !== Se.current && (R = " It was passed a child from " + J(s._owner.type) + "."), be(s), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', _, R), be(null);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
function Ar(s, y) {
|
|
@@ -524,8 +524,8 @@ Check the top-level render call using <` + x + ">.");
|
|
|
524
524
|
if (typeof s != "object")
|
|
525
525
|
return;
|
|
526
526
|
if (Pe(s))
|
|
527
|
-
for (var
|
|
528
|
-
var R = s[
|
|
527
|
+
for (var _ = 0; _ < s.length; _++) {
|
|
528
|
+
var R = s[_];
|
|
529
529
|
Ae(R) && qr(R, y);
|
|
530
530
|
}
|
|
531
531
|
else if (Ae(s))
|
|
@@ -533,8 +533,8 @@ Check the top-level render call using <` + x + ">.");
|
|
|
533
533
|
else if (s) {
|
|
534
534
|
var W = N(s);
|
|
535
535
|
if (typeof W == "function" && W !== s.entries)
|
|
536
|
-
for (var G = W.call(s),
|
|
537
|
-
Ae(
|
|
536
|
+
for (var G = W.call(s), z; !(z = G.next()).done; )
|
|
537
|
+
Ae(z.value) && qr(z.value, y);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
@@ -543,54 +543,54 @@ Check the top-level render call using <` + x + ">.");
|
|
|
543
543
|
var y = s.type;
|
|
544
544
|
if (y == null || typeof y == "string")
|
|
545
545
|
return;
|
|
546
|
-
var
|
|
546
|
+
var _;
|
|
547
547
|
if (typeof y == "function")
|
|
548
|
-
|
|
548
|
+
_ = y.propTypes;
|
|
549
549
|
else if (typeof y == "object" && (y.$$typeof === u || // Note: Memo only checks outer props here.
|
|
550
550
|
// Inner props are checked in the reconciler.
|
|
551
551
|
y.$$typeof === h))
|
|
552
|
-
|
|
552
|
+
_ = y.propTypes;
|
|
553
553
|
else
|
|
554
554
|
return;
|
|
555
|
-
if (
|
|
555
|
+
if (_) {
|
|
556
556
|
var R = J(y);
|
|
557
|
-
Qa(
|
|
557
|
+
Qa(_, s.props, "prop", R, s);
|
|
558
558
|
} else if (y.PropTypes !== void 0 && !qe) {
|
|
559
559
|
qe = !0;
|
|
560
560
|
var W = J(y);
|
|
561
|
-
|
|
561
|
+
$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
|
|
562
562
|
}
|
|
563
|
-
typeof y.getDefaultProps == "function" && !y.getDefaultProps.isReactClassApproved &&
|
|
563
|
+
typeof y.getDefaultProps == "function" && !y.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
function ho(s) {
|
|
567
567
|
{
|
|
568
|
-
for (var y = Object.keys(s.props),
|
|
569
|
-
var R = y[
|
|
568
|
+
for (var y = Object.keys(s.props), _ = 0; _ < y.length; _++) {
|
|
569
|
+
var R = y[_];
|
|
570
570
|
if (R !== "children" && R !== "key") {
|
|
571
|
-
be(s),
|
|
571
|
+
be(s), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", R), be(null);
|
|
572
572
|
break;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
s.ref !== null && (be(s),
|
|
575
|
+
s.ref !== null && (be(s), $("Invalid attribute `ref` supplied to `React.Fragment`."), be(null));
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
var Mr = {};
|
|
579
|
-
function Ir(s, y,
|
|
579
|
+
function Ir(s, y, _, R, W, G) {
|
|
580
580
|
{
|
|
581
|
-
var
|
|
582
|
-
if (!
|
|
581
|
+
var z = de(s);
|
|
582
|
+
if (!z) {
|
|
583
583
|
var D = "";
|
|
584
584
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (D += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
585
585
|
var ue = fo();
|
|
586
|
-
ue ? D += ue : D +=
|
|
587
|
-
var
|
|
588
|
-
s === null ?
|
|
586
|
+
ue ? D += ue : D += $r();
|
|
587
|
+
var re;
|
|
588
|
+
s === null ? re = "null" : Pe(s) ? re = "array" : s !== void 0 && s.$$typeof === o ? (re = "<" + (J(s.type) || "Unknown") + " />", D = " Did you accidentally export a JSX literal instead of a component?") : re = typeof s, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", re, D);
|
|
589
589
|
}
|
|
590
|
-
var se = uo(s, y,
|
|
590
|
+
var se = uo(s, y, _, W, G);
|
|
591
591
|
if (se == null)
|
|
592
592
|
return se;
|
|
593
|
-
if (
|
|
593
|
+
if (z) {
|
|
594
594
|
var me = y.children;
|
|
595
595
|
if (me !== void 0)
|
|
596
596
|
if (R)
|
|
@@ -599,7 +599,7 @@ Check the top-level render call using <` + x + ">.");
|
|
|
599
599
|
Ar(me[xe], s);
|
|
600
600
|
Object.freeze && Object.freeze(me);
|
|
601
601
|
} else
|
|
602
|
-
|
|
602
|
+
$("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
603
603
|
else
|
|
604
604
|
Ar(me, s);
|
|
605
605
|
}
|
|
@@ -609,7 +609,7 @@ Check the top-level render call using <` + x + ">.");
|
|
|
609
609
|
}), Me = fe.length > 0 ? "{key: someKey, " + fe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
610
610
|
if (!Mr[ge + Me]) {
|
|
611
611
|
var xo = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
|
|
612
|
-
|
|
612
|
+
$(`A props object containing a "key" prop is being spread into JSX:
|
|
613
613
|
let props = %s;
|
|
614
614
|
<%s {...props} />
|
|
615
615
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -620,15 +620,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
620
620
|
return s === n ? ho(se) : mo(se), se;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
function yo(s, y,
|
|
624
|
-
return Ir(s, y,
|
|
623
|
+
function yo(s, y, _) {
|
|
624
|
+
return Ir(s, y, _, !0);
|
|
625
625
|
}
|
|
626
|
-
function go(s, y,
|
|
627
|
-
return Ir(s, y,
|
|
626
|
+
function go(s, y, _) {
|
|
627
|
+
return Ir(s, y, _, !1);
|
|
628
628
|
}
|
|
629
629
|
var vo = go, bo = yo;
|
|
630
|
-
|
|
631
|
-
}()),
|
|
630
|
+
Te.Fragment = n, Te.jsx = vo, Te.jsxs = bo;
|
|
631
|
+
}()), Te;
|
|
632
632
|
}
|
|
633
633
|
process.env.NODE_ENV === "production" ? Be.exports = jo() : Be.exports = wo();
|
|
634
634
|
var a = Be.exports, We = { exports: {} }, Re = { exports: {} }, Y = {};
|
|
@@ -641,10 +641,10 @@ var a = Be.exports, We = { exports: {} }, Re = { exports: {} }, Y = {};
|
|
|
641
641
|
* LICENSE file in the root directory of this source tree.
|
|
642
642
|
*/
|
|
643
643
|
var Fr;
|
|
644
|
-
function
|
|
644
|
+
function Oo() {
|
|
645
645
|
if (Fr) return Y;
|
|
646
646
|
Fr = 1;
|
|
647
|
-
var r = typeof Symbol == "function" && Symbol.for, o = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, d = r ? Symbol.for("react.strict_mode") : 60108, l = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, i = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, f = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, h = r ? Symbol.for("react.suspense") : 60113,
|
|
647
|
+
var r = typeof Symbol == "function" && Symbol.for, o = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, d = r ? Symbol.for("react.strict_mode") : 60108, l = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, i = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, f = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, h = r ? Symbol.for("react.suspense") : 60113, v = r ? Symbol.for("react.suspense_list") : 60120, j = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, C = r ? Symbol.for("react.block") : 60121, N = r ? Symbol.for("react.fundamental") : 60117, P = r ? Symbol.for("react.responder") : 60118, $ = r ? Symbol.for("react.scope") : 60119;
|
|
648
648
|
function A(g) {
|
|
649
649
|
if (typeof g == "object" && g !== null) {
|
|
650
650
|
var K = g.$$typeof;
|
|
@@ -662,8 +662,8 @@ function To() {
|
|
|
662
662
|
switch (g = g && g.$$typeof, g) {
|
|
663
663
|
case i:
|
|
664
664
|
case p:
|
|
665
|
-
case
|
|
666
|
-
case
|
|
665
|
+
case E:
|
|
666
|
+
case j:
|
|
667
667
|
case c:
|
|
668
668
|
return g;
|
|
669
669
|
default:
|
|
@@ -678,7 +678,7 @@ function To() {
|
|
|
678
678
|
function F(g) {
|
|
679
679
|
return A(g) === f;
|
|
680
680
|
}
|
|
681
|
-
return Y.AsyncMode = u, Y.ConcurrentMode = f, Y.ContextConsumer = i, Y.ContextProvider = c, Y.Element = o, Y.ForwardRef = p, Y.Fragment = n, Y.Lazy =
|
|
681
|
+
return Y.AsyncMode = u, Y.ConcurrentMode = f, Y.ContextConsumer = i, Y.ContextProvider = c, Y.Element = o, Y.ForwardRef = p, Y.Fragment = n, Y.Lazy = E, Y.Memo = j, Y.Portal = t, Y.Profiler = l, Y.StrictMode = d, Y.Suspense = h, Y.isAsyncMode = function(g) {
|
|
682
682
|
return F(g) || A(g) === u;
|
|
683
683
|
}, Y.isConcurrentMode = F, Y.isContextConsumer = function(g) {
|
|
684
684
|
return A(g) === i;
|
|
@@ -691,9 +691,9 @@ function To() {
|
|
|
691
691
|
}, Y.isFragment = function(g) {
|
|
692
692
|
return A(g) === n;
|
|
693
693
|
}, Y.isLazy = function(g) {
|
|
694
|
-
return A(g) ===
|
|
694
|
+
return A(g) === E;
|
|
695
695
|
}, Y.isMemo = function(g) {
|
|
696
|
-
return A(g) ===
|
|
696
|
+
return A(g) === j;
|
|
697
697
|
}, Y.isPortal = function(g) {
|
|
698
698
|
return A(g) === t;
|
|
699
699
|
}, Y.isProfiler = function(g) {
|
|
@@ -703,7 +703,7 @@ function To() {
|
|
|
703
703
|
}, Y.isSuspense = function(g) {
|
|
704
704
|
return A(g) === h;
|
|
705
705
|
}, Y.isValidElementType = function(g) {
|
|
706
|
-
return typeof g == "string" || typeof g == "function" || g === n || g === f || g === l || g === d || g === h || g ===
|
|
706
|
+
return typeof g == "string" || typeof g == "function" || g === n || g === f || g === l || g === d || g === h || g === v || typeof g == "object" && g !== null && (g.$$typeof === E || g.$$typeof === j || g.$$typeof === c || g.$$typeof === i || g.$$typeof === p || g.$$typeof === N || g.$$typeof === P || g.$$typeof === $ || g.$$typeof === C);
|
|
707
707
|
}, Y.typeOf = A, Y;
|
|
708
708
|
}
|
|
709
709
|
var U = {};
|
|
@@ -715,20 +715,20 @@ var U = {};
|
|
|
715
715
|
* This source code is licensed under the MIT license found in the
|
|
716
716
|
* LICENSE file in the root directory of this source tree.
|
|
717
717
|
*/
|
|
718
|
-
var
|
|
719
|
-
function
|
|
720
|
-
return
|
|
721
|
-
var r = typeof Symbol == "function" && Symbol.for, o = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, d = r ? Symbol.for("react.strict_mode") : 60108, l = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, i = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, f = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, h = r ? Symbol.for("react.suspense") : 60113,
|
|
722
|
-
function A(
|
|
723
|
-
return typeof
|
|
724
|
-
|
|
718
|
+
var zr;
|
|
719
|
+
function To() {
|
|
720
|
+
return zr || (zr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
721
|
+
var r = typeof Symbol == "function" && Symbol.for, o = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, d = r ? Symbol.for("react.strict_mode") : 60108, l = r ? Symbol.for("react.profiler") : 60114, c = r ? Symbol.for("react.provider") : 60109, i = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, f = r ? Symbol.for("react.concurrent_mode") : 60111, p = r ? Symbol.for("react.forward_ref") : 60112, h = r ? Symbol.for("react.suspense") : 60113, v = r ? Symbol.for("react.suspense_list") : 60120, j = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, C = r ? Symbol.for("react.block") : 60121, N = r ? Symbol.for("react.fundamental") : 60117, P = r ? Symbol.for("react.responder") : 60118, $ = r ? Symbol.for("react.scope") : 60119;
|
|
722
|
+
function A(x) {
|
|
723
|
+
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
724
|
+
x === n || x === f || x === l || x === d || x === h || x === v || typeof x == "object" && x !== null && (x.$$typeof === E || x.$$typeof === j || x.$$typeof === c || x.$$typeof === i || x.$$typeof === p || x.$$typeof === N || x.$$typeof === P || x.$$typeof === $ || x.$$typeof === C);
|
|
725
725
|
}
|
|
726
|
-
function F(
|
|
727
|
-
if (typeof
|
|
728
|
-
var pe =
|
|
726
|
+
function F(x) {
|
|
727
|
+
if (typeof x == "object" && x !== null) {
|
|
728
|
+
var pe = x.$$typeof;
|
|
729
729
|
switch (pe) {
|
|
730
730
|
case o:
|
|
731
|
-
var ve =
|
|
731
|
+
var ve = x.type;
|
|
732
732
|
switch (ve) {
|
|
733
733
|
case u:
|
|
734
734
|
case f:
|
|
@@ -742,8 +742,8 @@ function Co() {
|
|
|
742
742
|
switch (ye) {
|
|
743
743
|
case i:
|
|
744
744
|
case p:
|
|
745
|
-
case
|
|
746
|
-
case
|
|
745
|
+
case E:
|
|
746
|
+
case j:
|
|
747
747
|
case c:
|
|
748
748
|
return ye;
|
|
749
749
|
default:
|
|
@@ -755,52 +755,52 @@ function Co() {
|
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
var g = u, K = f, te = i, oe = c, le = o, de = p, ie = n, ne =
|
|
759
|
-
function
|
|
760
|
-
return
|
|
758
|
+
var g = u, K = f, te = i, oe = c, le = o, de = p, ie = n, ne = E, J = j, H = t, Q = l, X = d, ee = h, k = !1;
|
|
759
|
+
function Z(x) {
|
|
760
|
+
return k || (k = !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.")), m(x) || F(x) === u;
|
|
761
761
|
}
|
|
762
|
-
function m(
|
|
763
|
-
return F(
|
|
762
|
+
function m(x) {
|
|
763
|
+
return F(x) === f;
|
|
764
764
|
}
|
|
765
|
-
function
|
|
766
|
-
return F(
|
|
765
|
+
function w(x) {
|
|
766
|
+
return F(x) === i;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return F(
|
|
768
|
+
function b(x) {
|
|
769
|
+
return F(x) === c;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
772
|
-
return typeof
|
|
771
|
+
function O(x) {
|
|
772
|
+
return typeof x == "object" && x !== null && x.$$typeof === o;
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
return F(
|
|
774
|
+
function T(x) {
|
|
775
|
+
return F(x) === p;
|
|
776
776
|
}
|
|
777
|
-
function L(
|
|
778
|
-
return F(
|
|
777
|
+
function L(x) {
|
|
778
|
+
return F(x) === n;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
781
|
-
return F(
|
|
780
|
+
function S(x) {
|
|
781
|
+
return F(x) === E;
|
|
782
782
|
}
|
|
783
|
-
function q(
|
|
784
|
-
return F(
|
|
783
|
+
function q(x) {
|
|
784
|
+
return F(x) === j;
|
|
785
785
|
}
|
|
786
|
-
function M(
|
|
787
|
-
return F(
|
|
786
|
+
function M(x) {
|
|
787
|
+
return F(x) === t;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
790
|
-
return F(
|
|
789
|
+
function V(x) {
|
|
790
|
+
return F(x) === l;
|
|
791
791
|
}
|
|
792
|
-
function I(
|
|
793
|
-
return F(
|
|
792
|
+
function I(x) {
|
|
793
|
+
return F(x) === d;
|
|
794
794
|
}
|
|
795
|
-
function ce(
|
|
796
|
-
return F(
|
|
795
|
+
function ce(x) {
|
|
796
|
+
return F(x) === h;
|
|
797
797
|
}
|
|
798
|
-
U.AsyncMode = g, U.ConcurrentMode = K, U.ContextConsumer = te, U.ContextProvider = oe, U.Element = le, U.ForwardRef = de, U.Fragment = ie, U.Lazy = ne, U.Memo = J, U.Portal = H, U.Profiler =
|
|
798
|
+
U.AsyncMode = g, U.ConcurrentMode = K, U.ContextConsumer = te, U.ContextProvider = oe, U.Element = le, U.ForwardRef = de, U.Fragment = ie, U.Lazy = ne, U.Memo = J, U.Portal = H, U.Profiler = Q, U.StrictMode = X, U.Suspense = ee, U.isAsyncMode = Z, U.isConcurrentMode = m, U.isContextConsumer = w, U.isContextProvider = b, U.isElement = O, U.isForwardRef = T, U.isFragment = L, U.isLazy = S, U.isMemo = q, U.isPortal = M, U.isProfiler = V, U.isStrictMode = I, U.isSuspense = ce, U.isValidElementType = A, U.typeOf = F;
|
|
799
799
|
}()), U;
|
|
800
800
|
}
|
|
801
|
-
var
|
|
801
|
+
var Vr;
|
|
802
802
|
function Qr() {
|
|
803
|
-
return
|
|
803
|
+
return Vr || (Vr = 1, process.env.NODE_ENV === "production" ? Re.exports = Oo() : Re.exports = To()), Re.exports;
|
|
804
804
|
}
|
|
805
805
|
/*
|
|
806
806
|
object-assign
|
|
@@ -808,7 +808,7 @@ object-assign
|
|
|
808
808
|
@license MIT
|
|
809
809
|
*/
|
|
810
810
|
var Ie, Br;
|
|
811
|
-
function
|
|
811
|
+
function Co() {
|
|
812
812
|
if (Br) return Ie;
|
|
813
813
|
Br = 1;
|
|
814
814
|
var r = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
@@ -846,8 +846,8 @@ function Oo() {
|
|
|
846
846
|
o.call(i, h) && (u[h] = i[h]);
|
|
847
847
|
if (r) {
|
|
848
848
|
f = r(i);
|
|
849
|
-
for (var
|
|
850
|
-
t.call(i, f[
|
|
849
|
+
for (var v = 0; v < f.length; v++)
|
|
850
|
+
t.call(i, f[v]) && (u[f[v]] = i[f[v]]);
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
return u;
|
|
@@ -888,22 +888,22 @@ function No() {
|
|
|
888
888
|
var h;
|
|
889
889
|
try {
|
|
890
890
|
if (typeof l[p] != "function") {
|
|
891
|
-
var
|
|
891
|
+
var v = Error(
|
|
892
892
|
(u || "React class") + ": " + i + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
893
893
|
);
|
|
894
|
-
throw
|
|
894
|
+
throw v.name = "Invariant Violation", v;
|
|
895
895
|
}
|
|
896
896
|
h = l[p](c, p, u, i, null, o);
|
|
897
|
-
} catch (
|
|
898
|
-
h =
|
|
897
|
+
} catch (E) {
|
|
898
|
+
h = E;
|
|
899
899
|
}
|
|
900
900
|
if (h && !(h instanceof Error) && r(
|
|
901
901
|
(u || "React class") + ": type specification of " + i + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
902
902
|
), h instanceof Error && !(h.message in t)) {
|
|
903
903
|
t[h.message] = !0;
|
|
904
|
-
var
|
|
904
|
+
var j = f ? f() : "";
|
|
905
905
|
r(
|
|
906
|
-
"Failed " + i + " type: " + h.message + (
|
|
906
|
+
"Failed " + i + " type: " + h.message + (j ?? "")
|
|
907
907
|
);
|
|
908
908
|
}
|
|
909
909
|
}
|
|
@@ -913,11 +913,11 @@ function No() {
|
|
|
913
913
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
914
914
|
}, Fe = d, Fe;
|
|
915
915
|
}
|
|
916
|
-
var
|
|
916
|
+
var ze, Hr;
|
|
917
917
|
function Ro() {
|
|
918
|
-
if (Hr) return
|
|
918
|
+
if (Hr) return ze;
|
|
919
919
|
Hr = 1;
|
|
920
|
-
var r = Qr(), o =
|
|
920
|
+
var r = Qr(), o = Co(), t = Ue(), n = ea(), d = No(), l = function() {
|
|
921
921
|
};
|
|
922
922
|
process.env.NODE_ENV !== "production" && (l = function(i) {
|
|
923
923
|
var u = "Warning: " + i;
|
|
@@ -930,14 +930,14 @@ function Ro() {
|
|
|
930
930
|
function c() {
|
|
931
931
|
return null;
|
|
932
932
|
}
|
|
933
|
-
return
|
|
933
|
+
return ze = function(i, u) {
|
|
934
934
|
var f = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
935
935
|
function h(m) {
|
|
936
|
-
var
|
|
937
|
-
if (typeof
|
|
938
|
-
return
|
|
936
|
+
var w = m && (f && m[f] || m[p]);
|
|
937
|
+
if (typeof w == "function")
|
|
938
|
+
return w;
|
|
939
939
|
}
|
|
940
|
-
var
|
|
940
|
+
var v = "<<anonymous>>", j = {
|
|
941
941
|
array: P("array"),
|
|
942
942
|
bigint: P("bigint"),
|
|
943
943
|
bool: P("boolean"),
|
|
@@ -946,7 +946,7 @@ function Ro() {
|
|
|
946
946
|
object: P("object"),
|
|
947
947
|
string: P("string"),
|
|
948
948
|
symbol: P("symbol"),
|
|
949
|
-
any:
|
|
949
|
+
any: $(),
|
|
950
950
|
arrayOf: A,
|
|
951
951
|
element: F(),
|
|
952
952
|
elementType: g(),
|
|
@@ -958,209 +958,209 @@ function Ro() {
|
|
|
958
958
|
shape: ne,
|
|
959
959
|
exact: J
|
|
960
960
|
};
|
|
961
|
-
function
|
|
962
|
-
return m ===
|
|
961
|
+
function E(m, w) {
|
|
962
|
+
return m === w ? m !== 0 || 1 / m === 1 / w : m !== m && w !== w;
|
|
963
963
|
}
|
|
964
|
-
function
|
|
965
|
-
this.message = m, this.data =
|
|
964
|
+
function C(m, w) {
|
|
965
|
+
this.message = m, this.data = w && typeof w == "object" ? w : {}, this.stack = "";
|
|
966
966
|
}
|
|
967
|
-
|
|
967
|
+
C.prototype = Error.prototype;
|
|
968
968
|
function N(m) {
|
|
969
969
|
if (process.env.NODE_ENV !== "production")
|
|
970
|
-
var
|
|
971
|
-
function
|
|
972
|
-
if (M = M ||
|
|
970
|
+
var w = {}, b = 0;
|
|
971
|
+
function O(L, S, q, M, V, I, ce) {
|
|
972
|
+
if (M = M || v, I = I || q, ce !== t) {
|
|
973
973
|
if (u) {
|
|
974
|
-
var
|
|
974
|
+
var x = new Error(
|
|
975
975
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
976
976
|
);
|
|
977
|
-
throw
|
|
977
|
+
throw x.name = "Invariant Violation", x;
|
|
978
978
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
979
979
|
var pe = M + ":" + q;
|
|
980
|
-
!
|
|
981
|
-
|
|
980
|
+
!w[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
981
|
+
b < 3 && (l(
|
|
982
982
|
"You are manually calling a React.PropTypes validation function for the `" + I + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
983
|
-
),
|
|
983
|
+
), w[pe] = !0, b++);
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
|
-
return
|
|
986
|
+
return S[q] == null ? L ? S[q] === null ? new C("The " + V + " `" + I + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new C("The " + V + " `" + I + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : m(S, q, M, V, I);
|
|
987
987
|
}
|
|
988
|
-
var
|
|
989
|
-
return
|
|
988
|
+
var T = O.bind(null, !1);
|
|
989
|
+
return T.isRequired = O.bind(null, !0), T;
|
|
990
990
|
}
|
|
991
991
|
function P(m) {
|
|
992
|
-
function
|
|
993
|
-
var M =
|
|
994
|
-
if (
|
|
995
|
-
var I =
|
|
996
|
-
return new
|
|
997
|
-
"Invalid " + L + " `" +
|
|
992
|
+
function w(b, O, T, L, S, q) {
|
|
993
|
+
var M = b[O], V = X(M);
|
|
994
|
+
if (V !== m) {
|
|
995
|
+
var I = ee(M);
|
|
996
|
+
return new C(
|
|
997
|
+
"Invalid " + L + " `" + S + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected ") + ("`" + m + "`."),
|
|
998
998
|
{ expectedType: m }
|
|
999
999
|
);
|
|
1000
1000
|
}
|
|
1001
1001
|
return null;
|
|
1002
1002
|
}
|
|
1003
|
-
return N(
|
|
1003
|
+
return N(w);
|
|
1004
1004
|
}
|
|
1005
|
-
function
|
|
1005
|
+
function $() {
|
|
1006
1006
|
return N(c);
|
|
1007
1007
|
}
|
|
1008
1008
|
function A(m) {
|
|
1009
|
-
function
|
|
1009
|
+
function w(b, O, T, L, S) {
|
|
1010
1010
|
if (typeof m != "function")
|
|
1011
|
-
return new
|
|
1012
|
-
var q =
|
|
1011
|
+
return new C("Property `" + S + "` of component `" + T + "` has invalid PropType notation inside arrayOf.");
|
|
1012
|
+
var q = b[O];
|
|
1013
1013
|
if (!Array.isArray(q)) {
|
|
1014
1014
|
var M = X(q);
|
|
1015
|
-
return new
|
|
1015
|
+
return new C("Invalid " + L + " `" + S + "` of type " + ("`" + M + "` supplied to `" + T + "`, expected an array."));
|
|
1016
1016
|
}
|
|
1017
|
-
for (var
|
|
1018
|
-
var I = m(q,
|
|
1017
|
+
for (var V = 0; V < q.length; V++) {
|
|
1018
|
+
var I = m(q, V, T, L, S + "[" + V + "]", t);
|
|
1019
1019
|
if (I instanceof Error)
|
|
1020
1020
|
return I;
|
|
1021
1021
|
}
|
|
1022
1022
|
return null;
|
|
1023
1023
|
}
|
|
1024
|
-
return N(
|
|
1024
|
+
return N(w);
|
|
1025
1025
|
}
|
|
1026
1026
|
function F() {
|
|
1027
|
-
function m(
|
|
1028
|
-
var
|
|
1029
|
-
if (!i(
|
|
1030
|
-
var q = X(
|
|
1031
|
-
return new
|
|
1027
|
+
function m(w, b, O, T, L) {
|
|
1028
|
+
var S = w[b];
|
|
1029
|
+
if (!i(S)) {
|
|
1030
|
+
var q = X(S);
|
|
1031
|
+
return new C("Invalid " + T + " `" + L + "` of type " + ("`" + q + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
1032
1032
|
}
|
|
1033
1033
|
return null;
|
|
1034
1034
|
}
|
|
1035
1035
|
return N(m);
|
|
1036
1036
|
}
|
|
1037
1037
|
function g() {
|
|
1038
|
-
function m(
|
|
1039
|
-
var
|
|
1040
|
-
if (!r.isValidElementType(
|
|
1041
|
-
var q = X(
|
|
1042
|
-
return new
|
|
1038
|
+
function m(w, b, O, T, L) {
|
|
1039
|
+
var S = w[b];
|
|
1040
|
+
if (!r.isValidElementType(S)) {
|
|
1041
|
+
var q = X(S);
|
|
1042
|
+
return new C("Invalid " + T + " `" + L + "` of type " + ("`" + q + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
1043
1043
|
}
|
|
1044
1044
|
return null;
|
|
1045
1045
|
}
|
|
1046
1046
|
return N(m);
|
|
1047
1047
|
}
|
|
1048
1048
|
function K(m) {
|
|
1049
|
-
function
|
|
1050
|
-
if (!(
|
|
1051
|
-
var q = m.name ||
|
|
1052
|
-
return new
|
|
1049
|
+
function w(b, O, T, L, S) {
|
|
1050
|
+
if (!(b[O] instanceof m)) {
|
|
1051
|
+
var q = m.name || v, M = Z(b[O]);
|
|
1052
|
+
return new C("Invalid " + L + " `" + S + "` of type " + ("`" + M + "` supplied to `" + T + "`, expected ") + ("instance of `" + q + "`."));
|
|
1053
1053
|
}
|
|
1054
1054
|
return null;
|
|
1055
1055
|
}
|
|
1056
|
-
return N(
|
|
1056
|
+
return N(w);
|
|
1057
1057
|
}
|
|
1058
1058
|
function te(m) {
|
|
1059
1059
|
if (!Array.isArray(m))
|
|
1060
1060
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? l(
|
|
1061
1061
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1062
1062
|
) : l("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
1063
|
-
function
|
|
1064
|
-
for (var q =
|
|
1065
|
-
if (
|
|
1063
|
+
function w(b, O, T, L, S) {
|
|
1064
|
+
for (var q = b[O], M = 0; M < m.length; M++)
|
|
1065
|
+
if (E(q, m[M]))
|
|
1066
1066
|
return null;
|
|
1067
|
-
var
|
|
1068
|
-
var pe =
|
|
1069
|
-
return pe === "symbol" ? String(
|
|
1067
|
+
var V = JSON.stringify(m, function(ce, x) {
|
|
1068
|
+
var pe = ee(x);
|
|
1069
|
+
return pe === "symbol" ? String(x) : x;
|
|
1070
1070
|
});
|
|
1071
|
-
return new
|
|
1071
|
+
return new C("Invalid " + L + " `" + S + "` of value `" + String(q) + "` " + ("supplied to `" + T + "`, expected one of " + V + "."));
|
|
1072
1072
|
}
|
|
1073
|
-
return N(
|
|
1073
|
+
return N(w);
|
|
1074
1074
|
}
|
|
1075
1075
|
function oe(m) {
|
|
1076
|
-
function
|
|
1076
|
+
function w(b, O, T, L, S) {
|
|
1077
1077
|
if (typeof m != "function")
|
|
1078
|
-
return new
|
|
1079
|
-
var q =
|
|
1078
|
+
return new C("Property `" + S + "` of component `" + T + "` has invalid PropType notation inside objectOf.");
|
|
1079
|
+
var q = b[O], M = X(q);
|
|
1080
1080
|
if (M !== "object")
|
|
1081
|
-
return new
|
|
1082
|
-
for (var
|
|
1083
|
-
if (n(q,
|
|
1084
|
-
var I = m(q,
|
|
1081
|
+
return new C("Invalid " + L + " `" + S + "` of type " + ("`" + M + "` supplied to `" + T + "`, expected an object."));
|
|
1082
|
+
for (var V in q)
|
|
1083
|
+
if (n(q, V)) {
|
|
1084
|
+
var I = m(q, V, T, L, S + "." + V, t);
|
|
1085
1085
|
if (I instanceof Error)
|
|
1086
1086
|
return I;
|
|
1087
1087
|
}
|
|
1088
1088
|
return null;
|
|
1089
1089
|
}
|
|
1090
|
-
return N(
|
|
1090
|
+
return N(w);
|
|
1091
1091
|
}
|
|
1092
1092
|
function le(m) {
|
|
1093
1093
|
if (!Array.isArray(m))
|
|
1094
1094
|
return process.env.NODE_ENV !== "production" && l("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
1095
|
-
for (var
|
|
1096
|
-
var
|
|
1097
|
-
if (typeof
|
|
1095
|
+
for (var w = 0; w < m.length; w++) {
|
|
1096
|
+
var b = m[w];
|
|
1097
|
+
if (typeof b != "function")
|
|
1098
1098
|
return l(
|
|
1099
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1099
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + k(b) + " at index " + w + "."
|
|
1100
1100
|
), c;
|
|
1101
1101
|
}
|
|
1102
|
-
function T
|
|
1103
|
-
for (var
|
|
1104
|
-
var ce = m[I],
|
|
1105
|
-
if (
|
|
1102
|
+
function O(T, L, S, q, M) {
|
|
1103
|
+
for (var V = [], I = 0; I < m.length; I++) {
|
|
1104
|
+
var ce = m[I], x = ce(T, L, S, q, M, t);
|
|
1105
|
+
if (x == null)
|
|
1106
1106
|
return null;
|
|
1107
|
-
|
|
1107
|
+
x.data && n(x.data, "expectedType") && V.push(x.data.expectedType);
|
|
1108
1108
|
}
|
|
1109
|
-
var pe =
|
|
1110
|
-
return new
|
|
1109
|
+
var pe = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
1110
|
+
return new C("Invalid " + q + " `" + M + "` supplied to " + ("`" + S + "`" + pe + "."));
|
|
1111
1111
|
}
|
|
1112
|
-
return N(
|
|
1112
|
+
return N(O);
|
|
1113
1113
|
}
|
|
1114
1114
|
function de() {
|
|
1115
|
-
function m(
|
|
1116
|
-
return H(
|
|
1115
|
+
function m(w, b, O, T, L) {
|
|
1116
|
+
return H(w[b]) ? null : new C("Invalid " + T + " `" + L + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
1117
1117
|
}
|
|
1118
1118
|
return N(m);
|
|
1119
1119
|
}
|
|
1120
|
-
function ie(m,
|
|
1121
|
-
return new
|
|
1122
|
-
(m || "React class") + ": " +
|
|
1120
|
+
function ie(m, w, b, O, T) {
|
|
1121
|
+
return new C(
|
|
1122
|
+
(m || "React class") + ": " + w + " type `" + b + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + T + "`."
|
|
1123
1123
|
);
|
|
1124
1124
|
}
|
|
1125
1125
|
function ne(m) {
|
|
1126
|
-
function
|
|
1127
|
-
var q =
|
|
1126
|
+
function w(b, O, T, L, S) {
|
|
1127
|
+
var q = b[O], M = X(q);
|
|
1128
1128
|
if (M !== "object")
|
|
1129
|
-
return new
|
|
1130
|
-
for (var
|
|
1131
|
-
var I = m[
|
|
1129
|
+
return new C("Invalid " + L + " `" + S + "` of type `" + M + "` " + ("supplied to `" + T + "`, expected `object`."));
|
|
1130
|
+
for (var V in m) {
|
|
1131
|
+
var I = m[V];
|
|
1132
1132
|
if (typeof I != "function")
|
|
1133
|
-
return ie(
|
|
1134
|
-
var ce = I(q,
|
|
1133
|
+
return ie(T, L, S, V, ee(I));
|
|
1134
|
+
var ce = I(q, V, T, L, S + "." + V, t);
|
|
1135
1135
|
if (ce)
|
|
1136
1136
|
return ce;
|
|
1137
1137
|
}
|
|
1138
1138
|
return null;
|
|
1139
1139
|
}
|
|
1140
|
-
return N(
|
|
1140
|
+
return N(w);
|
|
1141
1141
|
}
|
|
1142
1142
|
function J(m) {
|
|
1143
|
-
function
|
|
1144
|
-
var q =
|
|
1143
|
+
function w(b, O, T, L, S) {
|
|
1144
|
+
var q = b[O], M = X(q);
|
|
1145
1145
|
if (M !== "object")
|
|
1146
|
-
return new
|
|
1147
|
-
var
|
|
1148
|
-
for (var I in
|
|
1146
|
+
return new C("Invalid " + L + " `" + S + "` of type `" + M + "` " + ("supplied to `" + T + "`, expected `object`."));
|
|
1147
|
+
var V = o({}, b[O], m);
|
|
1148
|
+
for (var I in V) {
|
|
1149
1149
|
var ce = m[I];
|
|
1150
1150
|
if (n(m, I) && typeof ce != "function")
|
|
1151
|
-
return ie(
|
|
1151
|
+
return ie(T, L, S, I, ee(ce));
|
|
1152
1152
|
if (!ce)
|
|
1153
|
-
return new
|
|
1154
|
-
"Invalid " + L + " `" +
|
|
1153
|
+
return new C(
|
|
1154
|
+
"Invalid " + L + " `" + S + "` key `" + I + "` supplied to `" + T + "`.\nBad object: " + JSON.stringify(b[O], null, " ") + `
|
|
1155
1155
|
Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
1156
1156
|
);
|
|
1157
|
-
var
|
|
1158
|
-
if (
|
|
1159
|
-
return
|
|
1157
|
+
var x = ce(q, I, T, L, S + "." + I, t);
|
|
1158
|
+
if (x)
|
|
1159
|
+
return x;
|
|
1160
1160
|
}
|
|
1161
1161
|
return null;
|
|
1162
1162
|
}
|
|
1163
|
-
return N(
|
|
1163
|
+
return N(w);
|
|
1164
1164
|
}
|
|
1165
1165
|
function H(m) {
|
|
1166
1166
|
switch (typeof m) {
|
|
@@ -1175,17 +1175,17 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
1175
1175
|
return m.every(H);
|
|
1176
1176
|
if (m === null || i(m))
|
|
1177
1177
|
return !0;
|
|
1178
|
-
var
|
|
1179
|
-
if (
|
|
1180
|
-
var
|
|
1181
|
-
if (
|
|
1182
|
-
for (; !(
|
|
1183
|
-
if (!H(
|
|
1178
|
+
var w = h(m);
|
|
1179
|
+
if (w) {
|
|
1180
|
+
var b = w.call(m), O;
|
|
1181
|
+
if (w !== m.entries) {
|
|
1182
|
+
for (; !(O = b.next()).done; )
|
|
1183
|
+
if (!H(O.value))
|
|
1184
1184
|
return !1;
|
|
1185
1185
|
} else
|
|
1186
|
-
for (; !(
|
|
1187
|
-
var
|
|
1188
|
-
if (
|
|
1186
|
+
for (; !(O = b.next()).done; ) {
|
|
1187
|
+
var T = O.value;
|
|
1188
|
+
if (T && !H(T[1]))
|
|
1189
1189
|
return !1;
|
|
1190
1190
|
}
|
|
1191
1191
|
} else
|
|
@@ -1195,61 +1195,61 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
1195
1195
|
return !1;
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1199
|
-
return m === "symbol" ? !0 :
|
|
1198
|
+
function Q(m, w) {
|
|
1199
|
+
return m === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1;
|
|
1200
1200
|
}
|
|
1201
1201
|
function X(m) {
|
|
1202
|
-
var
|
|
1203
|
-
return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" :
|
|
1202
|
+
var w = typeof m;
|
|
1203
|
+
return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : Q(w, m) ? "symbol" : w;
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function ee(m) {
|
|
1206
1206
|
if (typeof m > "u" || m === null)
|
|
1207
1207
|
return "" + m;
|
|
1208
|
-
var
|
|
1209
|
-
if (
|
|
1208
|
+
var w = X(m);
|
|
1209
|
+
if (w === "object") {
|
|
1210
1210
|
if (m instanceof Date)
|
|
1211
1211
|
return "date";
|
|
1212
1212
|
if (m instanceof RegExp)
|
|
1213
1213
|
return "regexp";
|
|
1214
1214
|
}
|
|
1215
|
-
return
|
|
1215
|
+
return w;
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1218
|
-
var
|
|
1219
|
-
switch (
|
|
1217
|
+
function k(m) {
|
|
1218
|
+
var w = ee(m);
|
|
1219
|
+
switch (w) {
|
|
1220
1220
|
case "array":
|
|
1221
1221
|
case "object":
|
|
1222
|
-
return "an " +
|
|
1222
|
+
return "an " + w;
|
|
1223
1223
|
case "boolean":
|
|
1224
1224
|
case "date":
|
|
1225
1225
|
case "regexp":
|
|
1226
|
-
return "a " +
|
|
1226
|
+
return "a " + w;
|
|
1227
1227
|
default:
|
|
1228
|
-
return
|
|
1228
|
+
return w;
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return !m.constructor || !m.constructor.name ?
|
|
1231
|
+
function Z(m) {
|
|
1232
|
+
return !m.constructor || !m.constructor.name ? v : m.constructor.name;
|
|
1233
1233
|
}
|
|
1234
|
-
return
|
|
1235
|
-
},
|
|
1234
|
+
return j.checkPropTypes = d, j.resetWarningCache = d.resetWarningCache, j.PropTypes = j, j;
|
|
1235
|
+
}, ze;
|
|
1236
1236
|
}
|
|
1237
|
-
var
|
|
1237
|
+
var Ve, Gr;
|
|
1238
1238
|
function Eo() {
|
|
1239
|
-
if (Gr) return
|
|
1239
|
+
if (Gr) return Ve;
|
|
1240
1240
|
Gr = 1;
|
|
1241
1241
|
var r = Ue();
|
|
1242
1242
|
function o() {
|
|
1243
1243
|
}
|
|
1244
1244
|
function t() {
|
|
1245
1245
|
}
|
|
1246
|
-
return t.resetWarningCache = o,
|
|
1246
|
+
return t.resetWarningCache = o, Ve = function() {
|
|
1247
1247
|
function n(c, i, u, f, p, h) {
|
|
1248
1248
|
if (h !== r) {
|
|
1249
|
-
var
|
|
1249
|
+
var v = new Error(
|
|
1250
1250
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1251
1251
|
);
|
|
1252
|
-
throw
|
|
1252
|
+
throw v.name = "Invariant Violation", v;
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
1255
|
n.isRequired = n;
|
|
@@ -1280,15 +1280,15 @@ function Eo() {
|
|
|
1280
1280
|
resetWarningCache: o
|
|
1281
1281
|
};
|
|
1282
1282
|
return l.PropTypes = l, l;
|
|
1283
|
-
},
|
|
1283
|
+
}, Ve;
|
|
1284
1284
|
}
|
|
1285
1285
|
if (process.env.NODE_ENV !== "production") {
|
|
1286
1286
|
var ko = Qr(), Po = !0;
|
|
1287
1287
|
We.exports = Ro()(ko.isElement, Po);
|
|
1288
1288
|
} else
|
|
1289
1289
|
We.exports = Eo()();
|
|
1290
|
-
var
|
|
1291
|
-
const e = /* @__PURE__ */ Zr(
|
|
1290
|
+
var $o = We.exports;
|
|
1291
|
+
const e = /* @__PURE__ */ Zr($o);
|
|
1292
1292
|
var ra = { exports: {} };
|
|
1293
1293
|
/*!
|
|
1294
1294
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -1325,8 +1325,8 @@ var ra = { exports: {} };
|
|
|
1325
1325
|
r.exports ? (t.default = t, r.exports = t) : window.classNames = t;
|
|
1326
1326
|
})();
|
|
1327
1327
|
})(ra);
|
|
1328
|
-
var
|
|
1329
|
-
const
|
|
1328
|
+
var So = ra.exports;
|
|
1329
|
+
const ae = /* @__PURE__ */ Zr(So), aa = ({
|
|
1330
1330
|
level: r = 1,
|
|
1331
1331
|
// 1 to 5
|
|
1332
1332
|
align: o = "left",
|
|
@@ -1338,7 +1338,7 @@ const Z = /* @__PURE__ */ Zr($o), aa = ({
|
|
|
1338
1338
|
style: c = {},
|
|
1339
1339
|
...i
|
|
1340
1340
|
}) => {
|
|
1341
|
-
const u = `h${r}`, f =
|
|
1341
|
+
const u = `h${r}`, f = ae("heading", l, {
|
|
1342
1342
|
[`heading--align-${o}`]: o,
|
|
1343
1343
|
"heading--bold": t,
|
|
1344
1344
|
[`heading--${n}`]: n
|
|
@@ -1400,7 +1400,7 @@ const oa = ({
|
|
|
1400
1400
|
style: i = {},
|
|
1401
1401
|
...u
|
|
1402
1402
|
}) => {
|
|
1403
|
-
const f =
|
|
1403
|
+
const f = ae("paragraph", c, {
|
|
1404
1404
|
[`paragraph--size-${o}`]: o,
|
|
1405
1405
|
[`paragraph--align-${t}`]: t,
|
|
1406
1406
|
[`paragraph--weight-${n}`]: n,
|
|
@@ -1466,7 +1466,7 @@ const sa = ({
|
|
|
1466
1466
|
style: c = {},
|
|
1467
1467
|
...i
|
|
1468
1468
|
}) => {
|
|
1469
|
-
const u =
|
|
1469
|
+
const u = ae("label", l, {
|
|
1470
1470
|
[`label--color-${o}`]: o,
|
|
1471
1471
|
"label--background": t && o !== "secondary",
|
|
1472
1472
|
[`label--shape-${n}`]: n,
|
|
@@ -1525,7 +1525,7 @@ const na = ({
|
|
|
1525
1525
|
className: d = "",
|
|
1526
1526
|
style: l = {}
|
|
1527
1527
|
}) => {
|
|
1528
|
-
const c =
|
|
1528
|
+
const c = ae("caption", {
|
|
1529
1529
|
[`caption--${o}`]: o,
|
|
1530
1530
|
[`caption--${t}`]: t !== "normal",
|
|
1531
1531
|
[`caption--${n}`]: n
|
|
@@ -1579,52 +1579,118 @@ na.propTypes = {
|
|
|
1579
1579
|
style: e.object
|
|
1580
1580
|
};
|
|
1581
1581
|
const ta = ({
|
|
1582
|
-
|
|
1583
|
-
border: o =
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1582
|
+
size: r = "small",
|
|
1583
|
+
border: o = "on",
|
|
1584
|
+
align: t = "center",
|
|
1585
|
+
fluid: n = !1,
|
|
1586
|
+
padding: d = "md",
|
|
1587
|
+
marginTop: l = "md",
|
|
1588
|
+
marginBottom: c = "md",
|
|
1589
|
+
marginLeft: i = "md",
|
|
1590
|
+
marginRight: u = "md",
|
|
1591
|
+
position: f = "relative",
|
|
1592
|
+
rounded: p = !0,
|
|
1593
|
+
borderColor: h,
|
|
1594
|
+
backgroundColor: v,
|
|
1595
|
+
children: j
|
|
1592
1596
|
}) => {
|
|
1593
|
-
const
|
|
1594
|
-
"container
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1597
|
+
const E = [
|
|
1598
|
+
"container",
|
|
1599
|
+
`container--size-${r}`,
|
|
1600
|
+
`container--align-${t}`,
|
|
1601
|
+
`container--position-${f}`,
|
|
1602
|
+
`container--padding-${d}`,
|
|
1603
|
+
`container--mt-${l}`,
|
|
1604
|
+
`container--mb-${c}`,
|
|
1605
|
+
`container--ml-${i}`,
|
|
1606
|
+
`container--mr-${u}`,
|
|
1607
|
+
o === "on" ? "container--border" : "",
|
|
1608
|
+
n ? "container--fluid" : "",
|
|
1609
|
+
p ? "container--rounded" : "",
|
|
1610
|
+
v ? `container--bg-${v}` : "",
|
|
1611
|
+
h ? `container--border-${h}` : ""
|
|
1612
|
+
// Add class if borderColor is set
|
|
1613
|
+
].join(" ");
|
|
1614
|
+
return /* @__PURE__ */ a.jsx("div", { className: E, children: j });
|
|
1602
1615
|
};
|
|
1603
1616
|
ta.propTypes = {
|
|
1604
|
-
/** Content to be wrapped inside the container */
|
|
1605
|
-
children: e.node.isRequired,
|
|
1606
|
-
/** Add a border to the container */
|
|
1607
|
-
border: e.bool,
|
|
1608
|
-
/** Size of the container */
|
|
1609
1617
|
size: e.oneOf(["small", "medium", "large"]),
|
|
1610
|
-
|
|
1611
|
-
rounded: e.bool,
|
|
1612
|
-
/** Fluid container (full width) */
|
|
1613
|
-
fluid: e.bool,
|
|
1614
|
-
/** Text alignment within the container */
|
|
1618
|
+
border: e.oneOf(["on", "off"]),
|
|
1615
1619
|
align: e.oneOf(["left", "center", "right"]),
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1620
|
+
fluid: e.bool,
|
|
1621
|
+
padding: e.oneOf(["sm", "md", "lg"]),
|
|
1622
|
+
marginTop: e.oneOf(["sm", "md", "lg"]),
|
|
1623
|
+
marginBottom: e.oneOf(["sm", "md", "lg"]),
|
|
1624
|
+
marginLeft: e.oneOf(["sm", "md", "lg"]),
|
|
1625
|
+
marginRight: e.oneOf(["sm", "md", "lg"]),
|
|
1626
|
+
position: e.oneOf(["relative", "static", "fixed", "absolute", "sticky"]),
|
|
1627
|
+
rounded: e.bool,
|
|
1628
|
+
borderColor: e.oneOf([
|
|
1629
|
+
"none",
|
|
1630
|
+
"primary",
|
|
1631
|
+
"secondary",
|
|
1632
|
+
"link",
|
|
1633
|
+
"focus",
|
|
1634
|
+
"info",
|
|
1635
|
+
"warning",
|
|
1636
|
+
"alert",
|
|
1637
|
+
"success",
|
|
1638
|
+
"neutral",
|
|
1639
|
+
"dark",
|
|
1640
|
+
"classy-1",
|
|
1641
|
+
"classy-2",
|
|
1642
|
+
"classy-3",
|
|
1643
|
+
"classy-4",
|
|
1644
|
+
"classy-5",
|
|
1645
|
+
"small-switch-1",
|
|
1646
|
+
"small-switch-2",
|
|
1647
|
+
"natural-1",
|
|
1648
|
+
"natural-2",
|
|
1649
|
+
"natural-3",
|
|
1650
|
+
"grey-friend-1",
|
|
1651
|
+
"grey-friend-2",
|
|
1652
|
+
"shade-1",
|
|
1653
|
+
"shade-2",
|
|
1654
|
+
"shade-3",
|
|
1655
|
+
"shade-4"
|
|
1656
|
+
]),
|
|
1657
|
+
backgroundColor: e.oneOf([
|
|
1658
|
+
"none",
|
|
1659
|
+
// For no background color
|
|
1660
|
+
"primary",
|
|
1661
|
+
"secondary",
|
|
1662
|
+
"link",
|
|
1663
|
+
"focus",
|
|
1664
|
+
"info",
|
|
1665
|
+
"warning",
|
|
1666
|
+
"alert",
|
|
1667
|
+
"success",
|
|
1668
|
+
"neutral",
|
|
1669
|
+
"dark",
|
|
1670
|
+
"classy-1",
|
|
1671
|
+
"classy-2",
|
|
1672
|
+
"classy-3",
|
|
1673
|
+
"classy-4",
|
|
1674
|
+
"classy-5",
|
|
1675
|
+
"small-switch-1",
|
|
1676
|
+
"small-switch-2",
|
|
1677
|
+
"natural-1",
|
|
1678
|
+
"natural-2",
|
|
1679
|
+
"natural-3",
|
|
1680
|
+
"grey-friend-1",
|
|
1681
|
+
"grey-friend-2",
|
|
1682
|
+
"shade-1",
|
|
1683
|
+
"shade-2",
|
|
1684
|
+
"shade-3",
|
|
1685
|
+
"shade-4"
|
|
1686
|
+
]),
|
|
1687
|
+
children: e.node
|
|
1622
1688
|
};
|
|
1623
1689
|
const la = ({
|
|
1624
|
-
variant: r = "
|
|
1625
|
-
// '
|
|
1626
|
-
color: o,
|
|
1627
|
-
//
|
|
1690
|
+
variant: r = "solid",
|
|
1691
|
+
// 'solid' or 'outline'
|
|
1692
|
+
color: o = "primary-color",
|
|
1693
|
+
// Default to primary color
|
|
1628
1694
|
size: t = "medium",
|
|
1629
1695
|
label: n = "",
|
|
1630
1696
|
noBorder: d = !1,
|
|
@@ -1633,19 +1699,39 @@ const la = ({
|
|
|
1633
1699
|
style: i = {},
|
|
1634
1700
|
...u
|
|
1635
1701
|
}) => {
|
|
1636
|
-
const f = `button--${r}`, p =
|
|
1637
|
-
return /* @__PURE__ */ a.jsx("button", { type: "button", className:
|
|
1702
|
+
const f = `button--${r}`, p = `button--${o}`, h = `button--${t}`, j = `button ${f} ${p} ${h} ${d ? "button--no-border" : ""} ${c}`.trim();
|
|
1703
|
+
return /* @__PURE__ */ a.jsx("button", { type: "button", className: j, style: i, ...u, children: l || n });
|
|
1638
1704
|
};
|
|
1639
1705
|
la.propTypes = {
|
|
1640
|
-
variant: e.oneOf(["
|
|
1706
|
+
variant: e.oneOf(["solid", "outline"]),
|
|
1707
|
+
// Updated variants
|
|
1641
1708
|
color: e.oneOf([
|
|
1642
|
-
"
|
|
1643
|
-
"
|
|
1644
|
-
"
|
|
1645
|
-
"
|
|
1646
|
-
"
|
|
1647
|
-
"
|
|
1709
|
+
"primary-color",
|
|
1710
|
+
"secondary-color",
|
|
1711
|
+
"info-color",
|
|
1712
|
+
"warning-color",
|
|
1713
|
+
"alert-color",
|
|
1714
|
+
"success-color",
|
|
1715
|
+
"neutral-color",
|
|
1716
|
+
"dark-color",
|
|
1717
|
+
"classy-color-1",
|
|
1718
|
+
"classy-color-2",
|
|
1719
|
+
"classy-color-3",
|
|
1720
|
+
"classy-color-4",
|
|
1721
|
+
"classy-color-5",
|
|
1722
|
+
"small-switch-color-1",
|
|
1723
|
+
"small-switch-color-2",
|
|
1724
|
+
"natural-color-1",
|
|
1725
|
+
"natural-color-2",
|
|
1726
|
+
"natural-color-3",
|
|
1727
|
+
"grey-friend-1",
|
|
1728
|
+
"grey-friend-2",
|
|
1729
|
+
"shade-1",
|
|
1730
|
+
"shade-2",
|
|
1731
|
+
"shade-3",
|
|
1732
|
+
"shade-4"
|
|
1648
1733
|
]),
|
|
1734
|
+
// Updated color prop
|
|
1649
1735
|
size: e.oneOf(["small", "medium", "large"]),
|
|
1650
1736
|
label: e.string,
|
|
1651
1737
|
noBorder: e.bool,
|
|
@@ -1657,7 +1743,9 @@ const ia = ({
|
|
|
1657
1743
|
text: r,
|
|
1658
1744
|
href: o,
|
|
1659
1745
|
underline: t = !0,
|
|
1746
|
+
// Controls underline
|
|
1660
1747
|
bold: n = !1,
|
|
1748
|
+
// Controls bold text
|
|
1661
1749
|
newWindow: d = !1,
|
|
1662
1750
|
external: l = !1,
|
|
1663
1751
|
experimentalPreview: c = !1,
|
|
@@ -1665,26 +1753,27 @@ const ia = ({
|
|
|
1665
1753
|
style: u = {},
|
|
1666
1754
|
...f
|
|
1667
1755
|
}) => {
|
|
1668
|
-
const [p, h] = B(!1),
|
|
1756
|
+
const [p, h] = B(!1), v = () => {
|
|
1669
1757
|
c && h(!0);
|
|
1670
|
-
},
|
|
1758
|
+
}, j = () => {
|
|
1671
1759
|
c && h(!1);
|
|
1672
|
-
},
|
|
1673
|
-
"
|
|
1674
|
-
"
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
}
|
|
1760
|
+
}, E = {
|
|
1761
|
+
textDecoration: t ? "underline" : "none",
|
|
1762
|
+
fontWeight: n ? "bold" : "normal",
|
|
1763
|
+
...u
|
|
1764
|
+
// Include any additional styles passed via props
|
|
1765
|
+
};
|
|
1678
1766
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1679
1767
|
/* @__PURE__ */ a.jsxs(
|
|
1680
1768
|
"a",
|
|
1681
1769
|
{
|
|
1682
1770
|
href: o,
|
|
1683
|
-
className:
|
|
1771
|
+
className: `link ${i}`,
|
|
1772
|
+
style: E,
|
|
1684
1773
|
target: d ? "_blank" : "_self",
|
|
1685
1774
|
rel: d ? "noopener noreferrer" : void 0,
|
|
1686
|
-
onMouseDown:
|
|
1687
|
-
onMouseUp:
|
|
1775
|
+
onMouseDown: v,
|
|
1776
|
+
onMouseUp: j,
|
|
1688
1777
|
onBlur: () => h(!1),
|
|
1689
1778
|
...f,
|
|
1690
1779
|
children: [
|
|
@@ -1698,23 +1787,14 @@ const ia = ({
|
|
|
1698
1787
|
] });
|
|
1699
1788
|
};
|
|
1700
1789
|
ia.propTypes = {
|
|
1701
|
-
/** Text content of the link */
|
|
1702
1790
|
text: e.string.isRequired,
|
|
1703
|
-
/** URL the link points to */
|
|
1704
1791
|
href: e.string.isRequired,
|
|
1705
|
-
/** Whether the link is underlined */
|
|
1706
1792
|
underline: e.bool,
|
|
1707
|
-
/** Whether the link text is bold */
|
|
1708
1793
|
bold: e.bool,
|
|
1709
|
-
/** Whether the link opens in a new window */
|
|
1710
1794
|
newWindow: e.bool,
|
|
1711
|
-
/** Whether the link is external */
|
|
1712
1795
|
external: e.bool,
|
|
1713
|
-
/** Enable experimental preview on press */
|
|
1714
1796
|
experimentalPreview: e.bool,
|
|
1715
|
-
/** Additional CSS classes */
|
|
1716
1797
|
className: e.string,
|
|
1717
|
-
/** Inline styles */
|
|
1718
1798
|
style: e.object
|
|
1719
1799
|
};
|
|
1720
1800
|
const ca = ({
|
|
@@ -1728,13 +1808,13 @@ const ca = ({
|
|
|
1728
1808
|
style: i = {},
|
|
1729
1809
|
...u
|
|
1730
1810
|
}) => {
|
|
1731
|
-
const f =
|
|
1811
|
+
const f = ae("icon-container", c, {
|
|
1732
1812
|
"icon-container--background": o,
|
|
1733
1813
|
[`icon-container--shape-${n}`]: n,
|
|
1734
1814
|
[`icon-container--size-${d}`]: d,
|
|
1735
1815
|
[`icon-container--align-${l}`]: l,
|
|
1736
1816
|
[`icon-container--color-${t}`]: o
|
|
1737
|
-
}), p =
|
|
1817
|
+
}), p = ae("icon", {
|
|
1738
1818
|
[`icon--color-${t}`]: !o,
|
|
1739
1819
|
[`icon--size-${d}`]: d
|
|
1740
1820
|
});
|
|
@@ -1793,7 +1873,7 @@ const da = ({
|
|
|
1793
1873
|
className: u = "",
|
|
1794
1874
|
...f
|
|
1795
1875
|
}) => {
|
|
1796
|
-
const p =
|
|
1876
|
+
const p = ae("checkbox", u, {
|
|
1797
1877
|
[`checkbox--${n}`]: n,
|
|
1798
1878
|
[`checkbox--${d}`]: d !== "normal",
|
|
1799
1879
|
[l]: l,
|
|
@@ -1870,7 +1950,7 @@ const ua = ({
|
|
|
1870
1950
|
className: f = "",
|
|
1871
1951
|
...p
|
|
1872
1952
|
}) => {
|
|
1873
|
-
const h =
|
|
1953
|
+
const h = ae("radio-button", f, {
|
|
1874
1954
|
[`radio-button--${n}`]: n,
|
|
1875
1955
|
[`radio-button--${d}`]: d !== "normal",
|
|
1876
1956
|
[l]: l,
|
|
@@ -2022,13 +2102,13 @@ const pa = ({
|
|
|
2022
2102
|
backgroundColor: f,
|
|
2023
2103
|
borderColor: p,
|
|
2024
2104
|
borderRadius: h,
|
|
2025
|
-
disabled:
|
|
2026
|
-
readOnly:
|
|
2027
|
-
required:
|
|
2028
|
-
autoFocus:
|
|
2105
|
+
disabled: v = !1,
|
|
2106
|
+
readOnly: j = !1,
|
|
2107
|
+
required: E = !1,
|
|
2108
|
+
autoFocus: C = !1,
|
|
2029
2109
|
maxLength: N,
|
|
2030
2110
|
minLength: P,
|
|
2031
|
-
pattern:
|
|
2111
|
+
pattern: $,
|
|
2032
2112
|
isValid: A,
|
|
2033
2113
|
error: F,
|
|
2034
2114
|
helperText: g,
|
|
@@ -2041,11 +2121,11 @@ const pa = ({
|
|
|
2041
2121
|
tabIndex: ne,
|
|
2042
2122
|
spellCheck: J = !0,
|
|
2043
2123
|
autoComplete: H = "on",
|
|
2044
|
-
inputMode:
|
|
2124
|
+
inputMode: Q,
|
|
2045
2125
|
step: X,
|
|
2046
|
-
className:
|
|
2047
|
-
style:
|
|
2048
|
-
...
|
|
2126
|
+
className: ee = "",
|
|
2127
|
+
style: k = {},
|
|
2128
|
+
...Z
|
|
2049
2129
|
}) => {
|
|
2050
2130
|
const m = [
|
|
2051
2131
|
"text-input",
|
|
@@ -2053,9 +2133,9 @@ const pa = ({
|
|
|
2053
2133
|
`text-input--${c}`,
|
|
2054
2134
|
F ? "text-input--error" : "",
|
|
2055
2135
|
le ? "text-input--loading" : "",
|
|
2056
|
-
|
|
2136
|
+
ee
|
|
2057
2137
|
].join(" ").trim();
|
|
2058
|
-
return /* @__PURE__ */ a.jsxs("div", { className: m, style: { backgroundColor: f, borderColor: p, borderRadius: h, fontFamily: i, fontSize: u, ...
|
|
2138
|
+
return /* @__PURE__ */ a.jsxs("div", { className: m, style: { backgroundColor: f, borderColor: p, borderRadius: h, fontFamily: i, fontSize: u, ...k }, children: [
|
|
2059
2139
|
/* @__PURE__ */ a.jsx(
|
|
2060
2140
|
"input",
|
|
2061
2141
|
{
|
|
@@ -2064,22 +2144,22 @@ const pa = ({
|
|
|
2064
2144
|
defaultValue: o,
|
|
2065
2145
|
onChange: t,
|
|
2066
2146
|
placeholder: n,
|
|
2067
|
-
disabled:
|
|
2068
|
-
readOnly:
|
|
2069
|
-
required:
|
|
2147
|
+
disabled: v,
|
|
2148
|
+
readOnly: j,
|
|
2149
|
+
required: E,
|
|
2070
2150
|
maxLength: N,
|
|
2071
2151
|
minLength: P,
|
|
2072
|
-
pattern:
|
|
2152
|
+
pattern: $,
|
|
2073
2153
|
"aria-label": de,
|
|
2074
2154
|
"aria-describedby": ie,
|
|
2075
2155
|
tabIndex: ne,
|
|
2076
2156
|
spellCheck: J,
|
|
2077
2157
|
autoComplete: H,
|
|
2078
|
-
inputMode:
|
|
2158
|
+
inputMode: Q,
|
|
2079
2159
|
step: X,
|
|
2080
2160
|
className: "text-input__input",
|
|
2081
|
-
autoFocus:
|
|
2082
|
-
...
|
|
2161
|
+
autoFocus: C,
|
|
2162
|
+
...Z
|
|
2083
2163
|
}
|
|
2084
2164
|
),
|
|
2085
2165
|
te && r && /* @__PURE__ */ a.jsx("button", { className: "text-input__clear-button", onClick: oe, "aria-label": "Clear input", children: "×" }),
|
|
@@ -2163,13 +2243,13 @@ const ma = ({
|
|
|
2163
2243
|
fontSize: f = "16px",
|
|
2164
2244
|
color: p = "primary",
|
|
2165
2245
|
backgroundColor: h = "transparent",
|
|
2166
|
-
collapsible:
|
|
2167
|
-
collapseAt:
|
|
2168
|
-
maxLength:
|
|
2169
|
-
disabled:
|
|
2246
|
+
collapsible: v = !1,
|
|
2247
|
+
collapseAt: j = 100,
|
|
2248
|
+
maxLength: E,
|
|
2249
|
+
disabled: C = !1,
|
|
2170
2250
|
readOnly: N = !1,
|
|
2171
2251
|
required: P = !1,
|
|
2172
|
-
onChange:
|
|
2252
|
+
onChange: $,
|
|
2173
2253
|
onBlur: A,
|
|
2174
2254
|
onFocus: F,
|
|
2175
2255
|
autoResize: g = !1,
|
|
@@ -2180,16 +2260,16 @@ const ma = ({
|
|
|
2180
2260
|
style: de = {},
|
|
2181
2261
|
...ie
|
|
2182
2262
|
}) => {
|
|
2183
|
-
const [ne, J] = B(
|
|
2184
|
-
|
|
2185
|
-
},
|
|
2263
|
+
const [ne, J] = B(v && (r == null ? void 0 : r.length) > j), H = (ee) => {
|
|
2264
|
+
v && ee.target.value.length > j && J(!1), $ && $(ee);
|
|
2265
|
+
}, Q = ae("textarea", le, {
|
|
2186
2266
|
[`textarea--${p}`]: p,
|
|
2187
2267
|
"textarea--bold": c,
|
|
2188
2268
|
"textarea--italic": i,
|
|
2189
2269
|
"textarea--underline": u,
|
|
2190
|
-
"textarea--disabled":
|
|
2270
|
+
"textarea--disabled": C,
|
|
2191
2271
|
"textarea--error": K,
|
|
2192
|
-
"textarea--collapsible":
|
|
2272
|
+
"textarea--collapsible": v && ne
|
|
2193
2273
|
}), X = {
|
|
2194
2274
|
...de,
|
|
2195
2275
|
fontSize: f,
|
|
@@ -2206,11 +2286,11 @@ const ma = ({
|
|
|
2206
2286
|
placeholder: t,
|
|
2207
2287
|
rows: n,
|
|
2208
2288
|
cols: d,
|
|
2209
|
-
maxLength:
|
|
2289
|
+
maxLength: E,
|
|
2210
2290
|
readOnly: N,
|
|
2211
|
-
disabled:
|
|
2291
|
+
disabled: C,
|
|
2212
2292
|
required: P,
|
|
2213
|
-
className:
|
|
2293
|
+
className: Q,
|
|
2214
2294
|
style: X,
|
|
2215
2295
|
onChange: H,
|
|
2216
2296
|
onBlur: A,
|
|
@@ -2264,7 +2344,7 @@ const ha = ({
|
|
|
2264
2344
|
className: i = "",
|
|
2265
2345
|
...u
|
|
2266
2346
|
}) => {
|
|
2267
|
-
const f =
|
|
2347
|
+
const f = ae("select", i, {
|
|
2268
2348
|
[`select--${c}`]: c,
|
|
2269
2349
|
// Dynamically apply color class
|
|
2270
2350
|
"select--disabled": n
|
|
@@ -2353,20 +2433,20 @@ const ya = ({
|
|
|
2353
2433
|
// Single or dual handle slider
|
|
2354
2434
|
disabled: p = !1,
|
|
2355
2435
|
className: h = "",
|
|
2356
|
-
...
|
|
2436
|
+
...v
|
|
2357
2437
|
}) => {
|
|
2358
|
-
const [
|
|
2359
|
-
|
|
2360
|
-
|
|
2438
|
+
const [j, E] = B(n);
|
|
2439
|
+
Ce(() => {
|
|
2440
|
+
E(n);
|
|
2361
2441
|
}, [n]);
|
|
2362
|
-
const
|
|
2363
|
-
const g = [...
|
|
2364
|
-
g[F] = Number(A.target.value), !(f && g[0] > g[1]) && (
|
|
2365
|
-
}, N = (
|
|
2442
|
+
const C = (A, F) => {
|
|
2443
|
+
const g = [...j];
|
|
2444
|
+
g[F] = Number(A.target.value), !(f && g[0] > g[1]) && (E(g), d && d(g));
|
|
2445
|
+
}, N = (j[0] - r) / (o - r) * 100, P = f ? (j[1] - r) / (o - r) * 100 : N, $ = ae("slider", h, {
|
|
2366
2446
|
[`slider--${l}`]: l,
|
|
2367
2447
|
"slider--disabled": p
|
|
2368
2448
|
});
|
|
2369
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
2449
|
+
return /* @__PURE__ */ a.jsxs("div", { className: $, children: [
|
|
2370
2450
|
u && /* @__PURE__ */ a.jsx("label", { className: "slider__label", children: u }),
|
|
2371
2451
|
/* @__PURE__ */ a.jsxs("div", { className: "slider__wrapper", children: [
|
|
2372
2452
|
/* @__PURE__ */ a.jsx("div", { className: "slider__track" }),
|
|
@@ -2388,12 +2468,12 @@ const ya = ({
|
|
|
2388
2468
|
min: r,
|
|
2389
2469
|
max: o,
|
|
2390
2470
|
step: t,
|
|
2391
|
-
value:
|
|
2392
|
-
onChange: (A) =>
|
|
2471
|
+
value: j[0],
|
|
2472
|
+
onChange: (A) => C(A, 0),
|
|
2393
2473
|
disabled: p,
|
|
2394
2474
|
className: "slider__thumb",
|
|
2395
2475
|
style: { left: `${N}%`, "--thumb-color": `var(--${c}-color)` },
|
|
2396
|
-
...
|
|
2476
|
+
...v
|
|
2397
2477
|
}
|
|
2398
2478
|
),
|
|
2399
2479
|
f && /* @__PURE__ */ a.jsx(
|
|
@@ -2403,20 +2483,20 @@ const ya = ({
|
|
|
2403
2483
|
min: r,
|
|
2404
2484
|
max: o,
|
|
2405
2485
|
step: t,
|
|
2406
|
-
value:
|
|
2407
|
-
onChange: (A) =>
|
|
2486
|
+
value: j[1],
|
|
2487
|
+
onChange: (A) => C(A, 1),
|
|
2408
2488
|
disabled: p,
|
|
2409
2489
|
className: "slider__thumb",
|
|
2410
2490
|
style: { left: `${P}%`, "--thumb-color": `var(--${c}-color)` },
|
|
2411
|
-
...
|
|
2491
|
+
...v
|
|
2412
2492
|
}
|
|
2413
2493
|
)
|
|
2414
2494
|
] }),
|
|
2415
2495
|
i && /* @__PURE__ */ a.jsx("div", { className: "slider__values", children: f ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
2416
|
-
/* @__PURE__ */ a.jsx("span", { children:
|
|
2496
|
+
/* @__PURE__ */ a.jsx("span", { children: j[0] }),
|
|
2417
2497
|
" - ",
|
|
2418
|
-
/* @__PURE__ */ a.jsx("span", { children:
|
|
2419
|
-
] }) : /* @__PURE__ */ a.jsx("span", { children:
|
|
2498
|
+
/* @__PURE__ */ a.jsx("span", { children: j[1] })
|
|
2499
|
+
] }) : /* @__PURE__ */ a.jsx("span", { children: j[0] }) })
|
|
2420
2500
|
] });
|
|
2421
2501
|
};
|
|
2422
2502
|
ya.propTypes = {
|
|
@@ -2499,11 +2579,11 @@ const ga = ({
|
|
|
2499
2579
|
className: p = "",
|
|
2500
2580
|
...h
|
|
2501
2581
|
}) => {
|
|
2502
|
-
const
|
|
2582
|
+
const v = ae("range", p, {
|
|
2503
2583
|
[`range--${l}`]: l,
|
|
2504
2584
|
"range--disabled": f
|
|
2505
|
-
}),
|
|
2506
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
2585
|
+
}), j = (n - r) / (o - r) * 100;
|
|
2586
|
+
return /* @__PURE__ */ a.jsxs("div", { className: v, children: [
|
|
2507
2587
|
u && /* @__PURE__ */ a.jsx("label", { className: "range__label", children: u }),
|
|
2508
2588
|
/* @__PURE__ */ a.jsx("div", { className: "range__wrapper", children: /* @__PURE__ */ a.jsx(
|
|
2509
2589
|
"input",
|
|
@@ -2518,7 +2598,7 @@ const ga = ({
|
|
|
2518
2598
|
className: "range__input",
|
|
2519
2599
|
...h,
|
|
2520
2600
|
style: {
|
|
2521
|
-
background: `linear-gradient(to right, var(--${l}-color) ${
|
|
2601
|
+
background: `linear-gradient(to right, var(--${l}-color) ${j}%, var(--neutral-color) ${j}%)`,
|
|
2522
2602
|
"--thumb-color": `var(--${c}-color)`
|
|
2523
2603
|
// Setting the thumb color dynamically
|
|
2524
2604
|
}
|
|
@@ -2616,14 +2696,14 @@ const va = ({
|
|
|
2616
2696
|
// 'center', 'top', 'left'
|
|
2617
2697
|
fallbackSrc: p = "/fallback.jpg",
|
|
2618
2698
|
srcSet: h,
|
|
2619
|
-
sizes:
|
|
2620
|
-
lazyLoad:
|
|
2621
|
-
onClickExpand:
|
|
2622
|
-
hoverIcons:
|
|
2699
|
+
sizes: v,
|
|
2700
|
+
lazyLoad: j = !0,
|
|
2701
|
+
onClickExpand: E,
|
|
2702
|
+
hoverIcons: C = [],
|
|
2623
2703
|
hoverCaption: N,
|
|
2624
2704
|
hoverIconPosition: P = "center",
|
|
2625
2705
|
// 'center', 'top-right'
|
|
2626
|
-
size:
|
|
2706
|
+
size: $ = "md",
|
|
2627
2707
|
// 'xs', 'sm', 'md', 'lg', 'xl'
|
|
2628
2708
|
className: A = "",
|
|
2629
2709
|
style: F = {},
|
|
@@ -2634,17 +2714,17 @@ const va = ({
|
|
|
2634
2714
|
}, J = () => {
|
|
2635
2715
|
le(!0);
|
|
2636
2716
|
}, H = () => {
|
|
2637
|
-
i !== "expanded" && i !== "flat" && ie(!0),
|
|
2638
|
-
},
|
|
2717
|
+
i !== "expanded" && i !== "flat" && ie(!0), E && E();
|
|
2718
|
+
}, Q = () => {
|
|
2639
2719
|
ie(!1);
|
|
2640
|
-
}, X =
|
|
2720
|
+
}, X = ae("image", A, {
|
|
2641
2721
|
[`image--${i}`]: i,
|
|
2642
2722
|
[`image--${u}`]: u,
|
|
2643
2723
|
[`image--${f}`]: f,
|
|
2644
|
-
[`image--size-${
|
|
2724
|
+
[`image--size-${$}`]: $,
|
|
2645
2725
|
"image--loaded": K,
|
|
2646
2726
|
"image--error": oe
|
|
2647
|
-
}),
|
|
2727
|
+
}), ee = i !== "flat" && (C.length > 0 || N);
|
|
2648
2728
|
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
2649
2729
|
/* @__PURE__ */ a.jsxs("figure", { className: "image-figure", style: F, ...g, children: [
|
|
2650
2730
|
!K && !oe && /* @__PURE__ */ a.jsx("div", { className: "image__placeholder", children: "Loading..." }),
|
|
@@ -2655,38 +2735,38 @@ const va = ({
|
|
|
2655
2735
|
alt: o,
|
|
2656
2736
|
width: t,
|
|
2657
2737
|
height: n,
|
|
2658
|
-
loading:
|
|
2738
|
+
loading: j ? d : "eager",
|
|
2659
2739
|
title: l,
|
|
2660
2740
|
className: X,
|
|
2661
2741
|
srcSet: h,
|
|
2662
|
-
sizes:
|
|
2742
|
+
sizes: v,
|
|
2663
2743
|
onLoad: ne,
|
|
2664
2744
|
onError: J,
|
|
2665
2745
|
onClick: i !== "flat" ? H : void 0,
|
|
2666
2746
|
role: i === "expanded" ? "img" : "button",
|
|
2667
2747
|
tabIndex: i !== "flat" ? "0" : void 0,
|
|
2668
|
-
onKeyPress: (
|
|
2669
|
-
(
|
|
2748
|
+
onKeyPress: (k) => {
|
|
2749
|
+
(k.key === "Enter" || k.key === " ") && i !== "flat" && H();
|
|
2670
2750
|
}
|
|
2671
2751
|
}
|
|
2672
2752
|
),
|
|
2673
2753
|
c && /* @__PURE__ */ a.jsx("figcaption", { className: "image__caption", children: c }),
|
|
2674
|
-
|
|
2754
|
+
ee && /* @__PURE__ */ a.jsxs("div", { className: "image__overlay", children: [
|
|
2675
2755
|
N && /* @__PURE__ */ a.jsx("div", { className: "image__overlay-caption", children: N }),
|
|
2676
|
-
|
|
2756
|
+
C.length > 0 && /* @__PURE__ */ a.jsx(
|
|
2677
2757
|
"div",
|
|
2678
2758
|
{
|
|
2679
|
-
className:
|
|
2759
|
+
className: ae("image__overlay-icons", {
|
|
2680
2760
|
"image__overlay-icons--center": P === "center",
|
|
2681
2761
|
"image__overlay-icons--top-right": P === "top-right"
|
|
2682
2762
|
}),
|
|
2683
|
-
children:
|
|
2763
|
+
children: C.map((k, Z) => /* @__PURE__ */ a.jsx(k, { className: "image__overlay-icon" }, Z))
|
|
2684
2764
|
}
|
|
2685
2765
|
)
|
|
2686
2766
|
] })
|
|
2687
2767
|
] }),
|
|
2688
|
-
de && /* @__PURE__ */ a.jsx("div", { className: "image__modal", onClick:
|
|
2689
|
-
/* @__PURE__ */ a.jsx("button", { className: "image__modal-close", onClick:
|
|
2768
|
+
de && /* @__PURE__ */ a.jsx("div", { className: "image__modal", onClick: Q, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ a.jsxs("div", { className: "image__modal-content", onClick: (k) => k.stopPropagation(), children: [
|
|
2769
|
+
/* @__PURE__ */ a.jsx("button", { className: "image__modal-close", onClick: Q, "aria-label": "Close", children: "×" }),
|
|
2690
2770
|
/* @__PURE__ */ a.jsx("img", { src: r, alt: o, className: "image__modal-img" }),
|
|
2691
2771
|
c && /* @__PURE__ */ a.jsx("div", { className: "image__modal-caption", children: c })
|
|
2692
2772
|
] }) })
|
|
@@ -2750,21 +2830,21 @@ const ba = ({
|
|
|
2750
2830
|
onEnd: p,
|
|
2751
2831
|
showControlsOnHover: h = !0
|
|
2752
2832
|
}) => {
|
|
2753
|
-
const
|
|
2754
|
-
|
|
2755
|
-
},
|
|
2833
|
+
const v = Ye(null), [j, E] = B(!1), [C, N] = B(!1), P = () => {
|
|
2834
|
+
j ? v.current.pause() : v.current.play(), E(!j);
|
|
2835
|
+
}, $ = () => N(!0), A = () => N(!1);
|
|
2756
2836
|
return /* @__PURE__ */ a.jsxs(
|
|
2757
2837
|
"div",
|
|
2758
2838
|
{
|
|
2759
|
-
className: `video-container ${h &&
|
|
2760
|
-
onMouseEnter:
|
|
2839
|
+
className: `video-container ${h && C ? "show-controls" : ""}`,
|
|
2840
|
+
onMouseEnter: $,
|
|
2761
2841
|
onMouseLeave: A,
|
|
2762
2842
|
style: { width: c, height: i },
|
|
2763
2843
|
children: [
|
|
2764
2844
|
/* @__PURE__ */ a.jsx(
|
|
2765
2845
|
"video",
|
|
2766
2846
|
{
|
|
2767
|
-
ref:
|
|
2847
|
+
ref: v,
|
|
2768
2848
|
src: r,
|
|
2769
2849
|
poster: o,
|
|
2770
2850
|
autoPlay: t,
|
|
@@ -2777,7 +2857,7 @@ const ba = ({
|
|
|
2777
2857
|
style: { width: "100%", height: "100%" }
|
|
2778
2858
|
}
|
|
2779
2859
|
),
|
|
2780
|
-
/* @__PURE__ */ a.jsx("div", { className: "video-controls", children: /* @__PURE__ */ a.jsx("button", { onClick: P, children:
|
|
2860
|
+
/* @__PURE__ */ a.jsx("div", { className: "video-controls", children: /* @__PURE__ */ a.jsx("button", { onClick: P, children: j ? "Pause" : "Play" }) })
|
|
2781
2861
|
]
|
|
2782
2862
|
}
|
|
2783
2863
|
);
|
|
@@ -2910,19 +2990,19 @@ function ja(r) {
|
|
|
2910
2990
|
function wa(r) {
|
|
2911
2991
|
return _e({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" }, child: [] }] })(r);
|
|
2912
2992
|
}
|
|
2913
|
-
function
|
|
2993
|
+
function zo(r) {
|
|
2914
2994
|
return _e({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M64 468V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12v176.4l195.5-181C352.1 22.3 384 36.6 384 64v384c0 27.4-31.9 41.7-52.5 24.6L136 292.7V468c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12z" }, child: [] }] })(r);
|
|
2915
2995
|
}
|
|
2916
|
-
function
|
|
2996
|
+
function Vo(r) {
|
|
2917
2997
|
return _e({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M384 44v424c0 6.6-5.4 12-12 12h-48c-6.6 0-12-5.4-12-12V291.6l-195.5 181C95.9 489.7 64 475.4 64 448V64c0-27.4 31.9-41.7 52.5-24.6L312 219.3V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12z" }, child: [] }] })(r);
|
|
2918
2998
|
}
|
|
2919
|
-
function
|
|
2999
|
+
function Oa(r) {
|
|
2920
3000
|
return _e({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z" }, child: [] }] })(r);
|
|
2921
3001
|
}
|
|
2922
|
-
function
|
|
3002
|
+
function Ta(r) {
|
|
2923
3003
|
return _e({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z" }, child: [] }] })(r);
|
|
2924
3004
|
}
|
|
2925
|
-
const
|
|
3005
|
+
const Ca = ({
|
|
2926
3006
|
src: r,
|
|
2927
3007
|
autoPlay: o = !1,
|
|
2928
3008
|
loop: t = !1,
|
|
@@ -2933,45 +3013,45 @@ const Oa = ({
|
|
|
2933
3013
|
style: i = {},
|
|
2934
3014
|
...u
|
|
2935
3015
|
}) => {
|
|
2936
|
-
const f = Ye(null), [p, h] = B(o), [
|
|
2937
|
-
|
|
2938
|
-
const
|
|
2939
|
-
|
|
2940
|
-
}, [
|
|
3016
|
+
const f = Ye(null), [p, h] = B(o), [v, j] = B(n), [E, C] = B(n ? 0 : 1), [N, P] = B(0), [$, A] = B(0), [F, g] = B(!1);
|
|
3017
|
+
Ce(() => {
|
|
3018
|
+
const k = f.current;
|
|
3019
|
+
k && (k.volume = E, k.muted = v, o && k.play().catch(() => h(!1)));
|
|
3020
|
+
}, [E, v, o]);
|
|
2941
3021
|
const K = () => {
|
|
2942
|
-
const
|
|
2943
|
-
|
|
3022
|
+
const k = f.current;
|
|
3023
|
+
k && (p ? k.pause() : k.play().catch(() => h(!1)), h(!p));
|
|
2944
3024
|
}, te = () => {
|
|
2945
|
-
const
|
|
2946
|
-
|
|
3025
|
+
const k = f.current;
|
|
3026
|
+
k && P(k.currentTime);
|
|
2947
3027
|
}, oe = () => {
|
|
2948
|
-
const
|
|
2949
|
-
|
|
2950
|
-
}, le = (
|
|
2951
|
-
const
|
|
2952
|
-
|
|
3028
|
+
const k = f.current;
|
|
3029
|
+
k && A(k.duration);
|
|
3030
|
+
}, le = (k) => {
|
|
3031
|
+
const Z = parseFloat(k.target.value);
|
|
3032
|
+
C(Z), j(Z === 0);
|
|
2953
3033
|
}, de = () => {
|
|
2954
|
-
|
|
2955
|
-
}, ie = (
|
|
2956
|
-
const
|
|
2957
|
-
m && (m.currentTime =
|
|
2958
|
-
}, ne = (
|
|
2959
|
-
if (isNaN(
|
|
2960
|
-
const
|
|
2961
|
-
return `${
|
|
2962
|
-
}, J = (
|
|
2963
|
-
de(), g((
|
|
2964
|
-
}, H = (
|
|
2965
|
-
|
|
3034
|
+
j(!v), C(v ? 1 : 0);
|
|
3035
|
+
}, ie = (k) => {
|
|
3036
|
+
const Z = parseFloat(k.target.value), m = f.current;
|
|
3037
|
+
m && (m.currentTime = Z, P(Z));
|
|
3038
|
+
}, ne = (k) => {
|
|
3039
|
+
if (isNaN(k)) return "00:00";
|
|
3040
|
+
const Z = Math.floor(k / 60), m = Math.floor(k % 60), w = m < 10 ? `0${m}` : m;
|
|
3041
|
+
return `${Z}:${w}`;
|
|
3042
|
+
}, J = (k) => {
|
|
3043
|
+
de(), g((Z) => !Z), k.stopPropagation();
|
|
3044
|
+
}, H = (k) => {
|
|
3045
|
+
k.target.closest(".audio__volume-container") || g(!1);
|
|
2966
3046
|
};
|
|
2967
|
-
|
|
3047
|
+
Ce(() => (F ? document.addEventListener("click", H) : document.removeEventListener("click", H), () => {
|
|
2968
3048
|
document.removeEventListener("click", H);
|
|
2969
3049
|
}), [F]);
|
|
2970
|
-
const
|
|
3050
|
+
const Q = `audio--${d}`, X = `audio--${l}`, ee = `audio ${Q} ${X} ${c}`.trim();
|
|
2971
3051
|
return /* @__PURE__ */ a.jsxs(
|
|
2972
3052
|
"div",
|
|
2973
3053
|
{
|
|
2974
|
-
className:
|
|
3054
|
+
className: ee,
|
|
2975
3055
|
style: i,
|
|
2976
3056
|
...u,
|
|
2977
3057
|
children: [
|
|
@@ -3003,7 +3083,7 @@ const Oa = ({
|
|
|
3003
3083
|
type: "range",
|
|
3004
3084
|
className: "audio__seek-slider",
|
|
3005
3085
|
min: "0",
|
|
3006
|
-
max:
|
|
3086
|
+
max: $,
|
|
3007
3087
|
step: "0.1",
|
|
3008
3088
|
value: N,
|
|
3009
3089
|
onChange: ie,
|
|
@@ -3013,7 +3093,7 @@ const Oa = ({
|
|
|
3013
3093
|
/* @__PURE__ */ a.jsxs("div", { className: "audio__time", children: [
|
|
3014
3094
|
/* @__PURE__ */ a.jsx("span", { children: ne(N) }),
|
|
3015
3095
|
" / ",
|
|
3016
|
-
/* @__PURE__ */ a.jsx("span", { children: ne(
|
|
3096
|
+
/* @__PURE__ */ a.jsx("span", { children: ne($) })
|
|
3017
3097
|
] })
|
|
3018
3098
|
] }),
|
|
3019
3099
|
/* @__PURE__ */ a.jsxs("div", { className: "audio__volume-container", children: [
|
|
@@ -3022,8 +3102,8 @@ const Oa = ({
|
|
|
3022
3102
|
{
|
|
3023
3103
|
className: "audio__mute",
|
|
3024
3104
|
onClick: J,
|
|
3025
|
-
"aria-label":
|
|
3026
|
-
children:
|
|
3105
|
+
"aria-label": v ? "Unmute" : "Mute",
|
|
3106
|
+
children: v ? /* @__PURE__ */ a.jsx(Oa, {}) : /* @__PURE__ */ a.jsx(Ta, {})
|
|
3027
3107
|
}
|
|
3028
3108
|
),
|
|
3029
3109
|
/* @__PURE__ */ a.jsx(
|
|
@@ -3034,7 +3114,7 @@ const Oa = ({
|
|
|
3034
3114
|
min: "0",
|
|
3035
3115
|
max: "1",
|
|
3036
3116
|
step: "0.01",
|
|
3037
|
-
value:
|
|
3117
|
+
value: v ? 0 : E,
|
|
3038
3118
|
onChange: le,
|
|
3039
3119
|
"aria-label": "Volume Slider"
|
|
3040
3120
|
}
|
|
@@ -3044,7 +3124,7 @@ const Oa = ({
|
|
|
3044
3124
|
}
|
|
3045
3125
|
);
|
|
3046
3126
|
};
|
|
3047
|
-
|
|
3127
|
+
Ca.propTypes = {
|
|
3048
3128
|
/** Source URL of the audio file */
|
|
3049
3129
|
src: e.string.isRequired,
|
|
3050
3130
|
/** Autoplay the audio on load */
|
|
@@ -3088,7 +3168,7 @@ const Na = ({
|
|
|
3088
3168
|
style: l = {},
|
|
3089
3169
|
...c
|
|
3090
3170
|
}) => {
|
|
3091
|
-
const i =
|
|
3171
|
+
const i = ae("divider", d, {
|
|
3092
3172
|
[`divider--${r}`]: r,
|
|
3093
3173
|
[`divider--${o}`]: o,
|
|
3094
3174
|
[`divider--align-${t}`]: t,
|
|
@@ -3142,7 +3222,7 @@ const Ra = ({
|
|
|
3142
3222
|
responsive: n = !0
|
|
3143
3223
|
// Responsive spacer
|
|
3144
3224
|
}) => {
|
|
3145
|
-
const d =
|
|
3225
|
+
const d = ae(
|
|
3146
3226
|
"spacer",
|
|
3147
3227
|
`spacer--${r}`,
|
|
3148
3228
|
`spacer--${o}`,
|
|
@@ -3278,9 +3358,9 @@ const Pa = ({
|
|
|
3278
3358
|
style: p = {},
|
|
3279
3359
|
...h
|
|
3280
3360
|
}) => {
|
|
3281
|
-
const
|
|
3282
|
-
|
|
3283
|
-
},
|
|
3361
|
+
const v = (E) => {
|
|
3362
|
+
E.stopPropagation(), l && l();
|
|
3363
|
+
}, j = ae(
|
|
3284
3364
|
"tag",
|
|
3285
3365
|
`tag--${t}`,
|
|
3286
3366
|
`tag--${o}`,
|
|
@@ -3294,14 +3374,14 @@ const Pa = ({
|
|
|
3294
3374
|
return /* @__PURE__ */ a.jsxs(
|
|
3295
3375
|
"div",
|
|
3296
3376
|
{
|
|
3297
|
-
className:
|
|
3377
|
+
className: j,
|
|
3298
3378
|
style: p,
|
|
3299
3379
|
onClick: u ? null : c,
|
|
3300
3380
|
...h,
|
|
3301
3381
|
children: [
|
|
3302
3382
|
i && /* @__PURE__ */ a.jsx("span", { className: "tag__icon", children: i }),
|
|
3303
3383
|
/* @__PURE__ */ a.jsx("span", { className: "tag__label", children: r }),
|
|
3304
|
-
d && !u && /* @__PURE__ */ a.jsx("button", { className: "tag__remove", onClick:
|
|
3384
|
+
d && !u && /* @__PURE__ */ a.jsx("button", { className: "tag__remove", onClick: v, "aria-label": "Remove tag", children: "×" })
|
|
3305
3385
|
]
|
|
3306
3386
|
}
|
|
3307
3387
|
);
|
|
@@ -3344,7 +3424,7 @@ Pa.propTypes = {
|
|
|
3344
3424
|
className: e.string,
|
|
3345
3425
|
style: e.object
|
|
3346
3426
|
};
|
|
3347
|
-
const
|
|
3427
|
+
const $a = ({
|
|
3348
3428
|
variant: r = "spinner",
|
|
3349
3429
|
// 'spinner', 'dots', 'bars'
|
|
3350
3430
|
color: o = "primary",
|
|
@@ -3356,7 +3436,7 @@ const Sa = ({
|
|
|
3356
3436
|
style: l = {},
|
|
3357
3437
|
...c
|
|
3358
3438
|
}) => {
|
|
3359
|
-
const i =
|
|
3439
|
+
const i = ae("loader", d, {
|
|
3360
3440
|
[`loader--${r}`]: r,
|
|
3361
3441
|
[`loader--${o}`]: o && o !== "custom",
|
|
3362
3442
|
[`loader--size-${t}`]: t
|
|
@@ -3375,7 +3455,7 @@ const Sa = ({
|
|
|
3375
3455
|
] })
|
|
3376
3456
|
] });
|
|
3377
3457
|
};
|
|
3378
|
-
|
|
3458
|
+
$a.propTypes = {
|
|
3379
3459
|
/** Variant of the loader */
|
|
3380
3460
|
variant: e.oneOf(["spinner", "dots", "bars"]),
|
|
3381
3461
|
/** Color of the loader */
|
|
@@ -3389,7 +3469,7 @@ Sa.propTypes = {
|
|
|
3389
3469
|
/** Inline styles */
|
|
3390
3470
|
style: e.object
|
|
3391
3471
|
};
|
|
3392
|
-
const
|
|
3472
|
+
const Sa = ({
|
|
3393
3473
|
size: r = "medium",
|
|
3394
3474
|
color: o = "primary",
|
|
3395
3475
|
// Ensure this prop is passed correctly
|
|
@@ -3405,7 +3485,7 @@ const $a = ({
|
|
|
3405
3485
|
...h
|
|
3406
3486
|
}) => {
|
|
3407
3487
|
if (!t) return null;
|
|
3408
|
-
const
|
|
3488
|
+
const v = ae(
|
|
3409
3489
|
"spinner",
|
|
3410
3490
|
`spinner--${c}`,
|
|
3411
3491
|
`spinner--${o}`,
|
|
@@ -3419,7 +3499,7 @@ const $a = ({
|
|
|
3419
3499
|
return /* @__PURE__ */ a.jsxs(
|
|
3420
3500
|
"div",
|
|
3421
3501
|
{
|
|
3422
|
-
className:
|
|
3502
|
+
className: v,
|
|
3423
3503
|
style: { animationDuration: d, borderWidth: l, ...p },
|
|
3424
3504
|
role: "status",
|
|
3425
3505
|
"aria-label": n,
|
|
@@ -3431,7 +3511,7 @@ const $a = ({
|
|
|
3431
3511
|
}
|
|
3432
3512
|
);
|
|
3433
3513
|
};
|
|
3434
|
-
|
|
3514
|
+
Sa.propTypes = {
|
|
3435
3515
|
size: e.oneOf(["small", "medium", "large"]),
|
|
3436
3516
|
color: e.oneOf([
|
|
3437
3517
|
"primary",
|
|
@@ -3534,11 +3614,11 @@ const Aa = ({
|
|
|
3534
3614
|
// Optional icon element
|
|
3535
3615
|
...u
|
|
3536
3616
|
}) => {
|
|
3537
|
-
const f = `alert--${r}`, p = o ? `alert--${o}` : "",
|
|
3617
|
+
const f = `alert--${r}`, p = o ? `alert--${o}` : "", v = `alert ${f} ${p} ${c ? "alert--dismissible" : ""} ${n}`.trim();
|
|
3538
3618
|
return /* @__PURE__ */ a.jsxs(
|
|
3539
3619
|
"div",
|
|
3540
3620
|
{
|
|
3541
|
-
className:
|
|
3621
|
+
className: v,
|
|
3542
3622
|
style: d,
|
|
3543
3623
|
role: "alert",
|
|
3544
3624
|
"aria-live": "assertive",
|
|
@@ -3583,13 +3663,13 @@ const Ma = ({
|
|
|
3583
3663
|
className: i = ""
|
|
3584
3664
|
}) => {
|
|
3585
3665
|
const [u, f] = B(!0);
|
|
3586
|
-
|
|
3666
|
+
Ce(() => {
|
|
3587
3667
|
const h = setTimeout(() => {
|
|
3588
3668
|
f(!1), d && d();
|
|
3589
3669
|
}, o);
|
|
3590
3670
|
return () => clearTimeout(h);
|
|
3591
3671
|
}, [o, d]);
|
|
3592
|
-
const p =
|
|
3672
|
+
const p = ae("snackbar", i, {
|
|
3593
3673
|
[`snackbar--${l}`]: l,
|
|
3594
3674
|
[`snackbar--${c}`]: c,
|
|
3595
3675
|
"snackbar--visible": u,
|
|
@@ -3658,7 +3738,7 @@ const Ia = ({
|
|
|
3658
3738
|
style: i = {},
|
|
3659
3739
|
...u
|
|
3660
3740
|
}) => {
|
|
3661
|
-
const f =
|
|
3741
|
+
const f = ae("logo", c, {
|
|
3662
3742
|
[`logo--size-${t}`]: t,
|
|
3663
3743
|
[`logo--shape-${n}`]: n,
|
|
3664
3744
|
[`logo--background-${d}`]: d
|
|
@@ -3836,15 +3916,15 @@ const Bo = {
|
|
|
3836
3916
|
Range: ga,
|
|
3837
3917
|
Image: va,
|
|
3838
3918
|
Video: ba,
|
|
3839
|
-
Audio:
|
|
3919
|
+
Audio: Ca,
|
|
3840
3920
|
Divider: Na,
|
|
3841
3921
|
Spacer: Ra,
|
|
3842
3922
|
Tooltip: Ea,
|
|
3843
3923
|
Badge: ka,
|
|
3844
3924
|
Tag: Pa,
|
|
3845
|
-
Loader:
|
|
3925
|
+
Loader: $a,
|
|
3846
3926
|
Logo: Ia,
|
|
3847
|
-
Spinner:
|
|
3927
|
+
Spinner: Sa,
|
|
3848
3928
|
ProgressBar: qa,
|
|
3849
3929
|
Alert: Aa,
|
|
3850
3930
|
Snackbar: Ma,
|
|
@@ -4017,14 +4097,14 @@ const Xe = ({
|
|
|
4017
4097
|
onSelect: l,
|
|
4018
4098
|
showArrow: c
|
|
4019
4099
|
}) => {
|
|
4020
|
-
const [i, u] = B(!1), [f, p] = B(""), [h,
|
|
4100
|
+
const [i, u] = B(!1), [f, p] = B(""), [h, v] = B(r), j = () => u(!i), E = (N) => {
|
|
4021
4101
|
const P = N.target.value;
|
|
4022
|
-
p(P),
|
|
4102
|
+
p(P), v(
|
|
4023
4103
|
r.filter(
|
|
4024
|
-
(
|
|
4104
|
+
($) => $.toLowerCase().includes(P.toLowerCase())
|
|
4025
4105
|
)
|
|
4026
4106
|
);
|
|
4027
|
-
},
|
|
4107
|
+
}, C = (N) => {
|
|
4028
4108
|
u(!1), p(""), l(N);
|
|
4029
4109
|
};
|
|
4030
4110
|
return /* @__PURE__ */ a.jsxs("div", { className: `dropdown dropdown--${n} dropdown--${t}`, children: [
|
|
@@ -4032,7 +4112,7 @@ const Xe = ({
|
|
|
4032
4112
|
"button",
|
|
4033
4113
|
{
|
|
4034
4114
|
className: "dropdown__toggle",
|
|
4035
|
-
onClick:
|
|
4115
|
+
onClick: j,
|
|
4036
4116
|
"aria-expanded": i,
|
|
4037
4117
|
children: [
|
|
4038
4118
|
f || o,
|
|
@@ -4047,7 +4127,7 @@ const Xe = ({
|
|
|
4047
4127
|
type: "text",
|
|
4048
4128
|
className: "dropdown__search",
|
|
4049
4129
|
value: f,
|
|
4050
|
-
onChange:
|
|
4130
|
+
onChange: E,
|
|
4051
4131
|
placeholder: "Search..."
|
|
4052
4132
|
}
|
|
4053
4133
|
),
|
|
@@ -4055,7 +4135,7 @@ const Xe = ({
|
|
|
4055
4135
|
"li",
|
|
4056
4136
|
{
|
|
4057
4137
|
className: "dropdown__item",
|
|
4058
|
-
onClick: () =>
|
|
4138
|
+
onClick: () => C(N),
|
|
4059
4139
|
children: N
|
|
4060
4140
|
},
|
|
4061
4141
|
P
|
|
@@ -4346,42 +4426,42 @@ const ir = ({
|
|
|
4346
4426
|
showMedia: u = !0,
|
|
4347
4427
|
...f
|
|
4348
4428
|
}) => {
|
|
4349
|
-
const p = Ye(null), [h,
|
|
4350
|
-
|
|
4351
|
-
const
|
|
4352
|
-
|
|
4353
|
-
}, [
|
|
4429
|
+
const p = Ye(null), [h, v] = B(o), [j, E] = B(n), [C, N] = B(n ? 0 : 1), [P, $] = B(0), [A, F] = B(0), [g, K] = B(r[0]), [te, oe] = B(0);
|
|
4430
|
+
Ce(() => {
|
|
4431
|
+
const b = p.current;
|
|
4432
|
+
b && (b.volume = C, b.muted = j, o && b.play().catch(() => v(!1)));
|
|
4433
|
+
}, [C, j, o, g]);
|
|
4354
4434
|
const le = () => {
|
|
4355
|
-
const
|
|
4356
|
-
|
|
4435
|
+
const b = p.current;
|
|
4436
|
+
b && (h ? b.pause() : b.play().catch(() => v(!1)), v(!h));
|
|
4357
4437
|
}, de = () => {
|
|
4358
|
-
const
|
|
4359
|
-
|
|
4438
|
+
const b = p.current;
|
|
4439
|
+
b && $(b.currentTime);
|
|
4360
4440
|
}, ie = () => {
|
|
4361
|
-
const
|
|
4362
|
-
|
|
4363
|
-
}, ne = (
|
|
4364
|
-
const
|
|
4365
|
-
N(
|
|
4441
|
+
const b = p.current;
|
|
4442
|
+
b && F(b.duration);
|
|
4443
|
+
}, ne = (b) => {
|
|
4444
|
+
const O = parseFloat(b.target.value);
|
|
4445
|
+
N(O), E(O === 0);
|
|
4366
4446
|
}, J = () => {
|
|
4367
|
-
|
|
4368
|
-
}, H = (
|
|
4369
|
-
const
|
|
4370
|
-
|
|
4371
|
-
},
|
|
4372
|
-
if (isNaN(
|
|
4373
|
-
const
|
|
4374
|
-
return `${
|
|
4447
|
+
E(!j), N(j ? 1 : 0);
|
|
4448
|
+
}, H = (b) => {
|
|
4449
|
+
const O = parseFloat(b.target.value), T = p.current;
|
|
4450
|
+
T && (T.currentTime = O, $(O));
|
|
4451
|
+
}, Q = (b) => {
|
|
4452
|
+
if (isNaN(b)) return "00:00";
|
|
4453
|
+
const O = Math.floor(b / 60), T = Math.floor(b % 60), L = T < 10 ? `0${T}` : T;
|
|
4454
|
+
return `${O}:${L}`;
|
|
4375
4455
|
}, X = () => {
|
|
4376
|
-
const
|
|
4377
|
-
oe(
|
|
4378
|
-
},
|
|
4379
|
-
const
|
|
4380
|
-
oe(
|
|
4381
|
-
},
|
|
4382
|
-
K(
|
|
4383
|
-
},
|
|
4384
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
4456
|
+
const b = (te + 1) % r.length;
|
|
4457
|
+
oe(b), K(r[b]);
|
|
4458
|
+
}, ee = () => {
|
|
4459
|
+
const b = (te - 1 + r.length) % r.length;
|
|
4460
|
+
oe(b), K(r[b]);
|
|
4461
|
+
}, k = (b, O) => {
|
|
4462
|
+
K(b), oe(O), v(!1);
|
|
4463
|
+
}, Z = `audio-player--${d}`, m = `audio-player--${l}`, w = `audio-player ${Z} ${m} ${c}`.trim();
|
|
4464
|
+
return /* @__PURE__ */ a.jsxs("div", { className: w, style: i, ...f, children: [
|
|
4385
4465
|
u && g.image && /* @__PURE__ */ a.jsx("div", { className: "audio-player__media", children: /* @__PURE__ */ a.jsx("img", { src: g.image, alt: g.title }) }),
|
|
4386
4466
|
/* @__PURE__ */ a.jsx("div", { className: "audio-player__track-name", children: g.title }),
|
|
4387
4467
|
/* @__PURE__ */ a.jsxs("div", { className: "audio-player__controls", children: [
|
|
@@ -4401,9 +4481,9 @@ const ir = ({
|
|
|
4401
4481
|
"button",
|
|
4402
4482
|
{
|
|
4403
4483
|
className: "audio-player__prev",
|
|
4404
|
-
onClick:
|
|
4484
|
+
onClick: ee,
|
|
4405
4485
|
"aria-label": "Previous Track",
|
|
4406
|
-
children: /* @__PURE__ */ a.jsx(
|
|
4486
|
+
children: /* @__PURE__ */ a.jsx(zo, {})
|
|
4407
4487
|
}
|
|
4408
4488
|
),
|
|
4409
4489
|
/* @__PURE__ */ a.jsx(
|
|
@@ -4421,7 +4501,7 @@ const ir = ({
|
|
|
4421
4501
|
className: "audio-player__next",
|
|
4422
4502
|
onClick: X,
|
|
4423
4503
|
"aria-label": "Next Track",
|
|
4424
|
-
children: /* @__PURE__ */ a.jsx(
|
|
4504
|
+
children: /* @__PURE__ */ a.jsx(Vo, {})
|
|
4425
4505
|
}
|
|
4426
4506
|
)
|
|
4427
4507
|
] }),
|
|
@@ -4440,9 +4520,9 @@ const ir = ({
|
|
|
4440
4520
|
}
|
|
4441
4521
|
),
|
|
4442
4522
|
/* @__PURE__ */ a.jsxs("div", { className: "audio-player__time", children: [
|
|
4443
|
-
|
|
4523
|
+
Q(P),
|
|
4444
4524
|
" / ",
|
|
4445
|
-
|
|
4525
|
+
Q(A)
|
|
4446
4526
|
] })
|
|
4447
4527
|
] }),
|
|
4448
4528
|
/* @__PURE__ */ a.jsxs("div", { className: "audio-player__volume-container", children: [
|
|
@@ -4451,8 +4531,8 @@ const ir = ({
|
|
|
4451
4531
|
{
|
|
4452
4532
|
className: "audio-player__mute",
|
|
4453
4533
|
onClick: J,
|
|
4454
|
-
"aria-label":
|
|
4455
|
-
children:
|
|
4534
|
+
"aria-label": j ? "Unmute" : "Mute",
|
|
4535
|
+
children: j ? /* @__PURE__ */ a.jsx(Oa, {}) : /* @__PURE__ */ a.jsx(Ta, {})
|
|
4456
4536
|
}
|
|
4457
4537
|
),
|
|
4458
4538
|
/* @__PURE__ */ a.jsx(
|
|
@@ -4463,20 +4543,20 @@ const ir = ({
|
|
|
4463
4543
|
min: "0",
|
|
4464
4544
|
max: "1",
|
|
4465
4545
|
step: "0.01",
|
|
4466
|
-
value:
|
|
4546
|
+
value: j ? 0 : C,
|
|
4467
4547
|
onChange: ne,
|
|
4468
4548
|
"aria-label": "Volume Slider"
|
|
4469
4549
|
}
|
|
4470
4550
|
)
|
|
4471
4551
|
] }),
|
|
4472
|
-
/* @__PURE__ */ a.jsx("div", { className: "audio-player__playlist", children: /* @__PURE__ */ a.jsx("ul", { children: r.map((
|
|
4552
|
+
/* @__PURE__ */ a.jsx("div", { className: "audio-player__playlist", children: /* @__PURE__ */ a.jsx("ul", { children: r.map((b, O) => /* @__PURE__ */ a.jsx(
|
|
4473
4553
|
"li",
|
|
4474
4554
|
{
|
|
4475
|
-
className: `audio-player__track ${
|
|
4476
|
-
onClick: () =>
|
|
4477
|
-
children:
|
|
4555
|
+
className: `audio-player__track ${O === te ? "active" : ""}`,
|
|
4556
|
+
onClick: () => k(b, O),
|
|
4557
|
+
children: b.title
|
|
4478
4558
|
},
|
|
4479
|
-
|
|
4559
|
+
O
|
|
4480
4560
|
)) }) })
|
|
4481
4561
|
] });
|
|
4482
4562
|
};
|
|
@@ -4534,7 +4614,7 @@ const cr = ({
|
|
|
4534
4614
|
width: i,
|
|
4535
4615
|
...u
|
|
4536
4616
|
}) => {
|
|
4537
|
-
const [f, p] = B(!1), [h,
|
|
4617
|
+
const [f, p] = B(!1), [h, v] = B(!0), j = () => p(!f), E = () => v(!1);
|
|
4538
4618
|
return h ? /* @__PURE__ */ a.jsxs(
|
|
4539
4619
|
"div",
|
|
4540
4620
|
{
|
|
@@ -4546,8 +4626,8 @@ const cr = ({
|
|
|
4546
4626
|
},
|
|
4547
4627
|
...u,
|
|
4548
4628
|
children: [
|
|
4549
|
-
d && /* @__PURE__ */ a.jsx("button", { className: "card__expand", onClick:
|
|
4550
|
-
l && /* @__PURE__ */ a.jsx("button", { className: "card__remove", onClick:
|
|
4629
|
+
d && /* @__PURE__ */ a.jsx("button", { className: "card__expand", onClick: j, children: f ? "Close" : "Expand" }),
|
|
4630
|
+
l && /* @__PURE__ */ a.jsx("button", { className: "card__remove", onClick: E, children: "×" }),
|
|
4551
4631
|
/* @__PURE__ */ a.jsx(
|
|
4552
4632
|
"div",
|
|
4553
4633
|
{
|
|
@@ -5106,11 +5186,11 @@ wr.propTypes = {
|
|
|
5106
5186
|
wr.defaultProps = {
|
|
5107
5187
|
primary: !1
|
|
5108
5188
|
};
|
|
5109
|
-
const
|
|
5189
|
+
const Or = ({ children: r, primary: o, ...t }) => {
|
|
5110
5190
|
const n = o ? "heroimagevideo--primary" : "heroimagevideo--secondary";
|
|
5111
5191
|
return /* @__PURE__ */ a.jsx("div", { className: ["heroimagevideo", n].join(" "), ...t, children: r });
|
|
5112
5192
|
};
|
|
5113
|
-
|
|
5193
|
+
Or.propTypes = {
|
|
5114
5194
|
/**
|
|
5115
5195
|
* Primary style for the layout
|
|
5116
5196
|
*/
|
|
@@ -5120,7 +5200,7 @@ Tr.propTypes = {
|
|
|
5120
5200
|
*/
|
|
5121
5201
|
children: e.node.isRequired
|
|
5122
5202
|
};
|
|
5123
|
-
|
|
5203
|
+
Or.defaultProps = {
|
|
5124
5204
|
primary: !1
|
|
5125
5205
|
};
|
|
5126
5206
|
const Ho = {
|
|
@@ -5132,7 +5212,7 @@ const Ho = {
|
|
|
5132
5212
|
Tabs: _r,
|
|
5133
5213
|
Accordion: jr,
|
|
5134
5214
|
HeroBanner: wr,
|
|
5135
|
-
HeroImageVideo:
|
|
5215
|
+
HeroImageVideo: Or
|
|
5136
5216
|
}, Fa = ({ children: r, ...o }) => /* @__PURE__ */ a.jsx("div", { className: "admindashboard", ...o, children: r });
|
|
5137
5217
|
Fa.propTypes = {
|
|
5138
5218
|
/**
|
|
@@ -5140,15 +5220,15 @@ Fa.propTypes = {
|
|
|
5140
5220
|
*/
|
|
5141
5221
|
children: e.node.isRequired
|
|
5142
5222
|
};
|
|
5143
|
-
const
|
|
5144
|
-
|
|
5223
|
+
const za = ({ children: r, ...o }) => /* @__PURE__ */ a.jsx("div", { className: "sidebartopnav", ...o, children: r });
|
|
5224
|
+
za.propTypes = {
|
|
5145
5225
|
/**
|
|
5146
5226
|
* Children components to be rendered inside the template
|
|
5147
5227
|
*/
|
|
5148
5228
|
children: e.node.isRequired
|
|
5149
5229
|
};
|
|
5150
|
-
const
|
|
5151
|
-
|
|
5230
|
+
const Va = ({ children: r, ...o }) => /* @__PURE__ */ a.jsx("div", { className: "productpage", ...o, children: r });
|
|
5231
|
+
Va.propTypes = {
|
|
5152
5232
|
/**
|
|
5153
5233
|
* Children components to be rendered inside the template
|
|
5154
5234
|
*/
|
|
@@ -5226,8 +5306,8 @@ Za.propTypes = {
|
|
|
5226
5306
|
};
|
|
5227
5307
|
const Go = {
|
|
5228
5308
|
AdminDashboard: Fa,
|
|
5229
|
-
SidebarTopNav:
|
|
5230
|
-
ProductPage:
|
|
5309
|
+
SidebarTopNav: za,
|
|
5310
|
+
ProductPage: Va,
|
|
5231
5311
|
ShoppingCart: Ba,
|
|
5232
5312
|
SignInPage: Wa,
|
|
5233
5313
|
RegistrationPage: Ya,
|