this.gui 0.0.3 → 0.0.6
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/README.md +30 -8
- package/dist/Styles.md +446 -0
- package/dist/context.md +942 -0
- package/dist/style.css +1 -0
- package/dist/this-gui.es.js +2453 -0
- package/dist/this-gui.umd.js +51 -0
- package/package.json +46 -21
- package/dist/this.gui.js +0 -1
- package/index.js +0 -0
- package/jsdoc.json +0 -53
- package/webpack.config.cjs +0 -24
|
@@ -0,0 +1,2453 @@
|
|
|
1
|
+
import un from "react";
|
|
2
|
+
function kn(r) {
|
|
3
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
4
|
+
}
|
|
5
|
+
var qe = { exports: {} }, Te = {};
|
|
6
|
+
/**
|
|
7
|
+
* @license React
|
|
8
|
+
* react-jsx-runtime.production.min.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
var Kr;
|
|
16
|
+
function In() {
|
|
17
|
+
if (Kr)
|
|
18
|
+
return Te;
|
|
19
|
+
Kr = 1;
|
|
20
|
+
var r = un, u = Symbol.for("react.element"), s = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function S(y, h, w) {
|
|
22
|
+
var b, _ = {}, z = null, M = null;
|
|
23
|
+
w !== void 0 && (z = "" + w), h.key !== void 0 && (z = "" + h.key), h.ref !== void 0 && (M = h.ref);
|
|
24
|
+
for (b in h)
|
|
25
|
+
n.call(h, b) && !m.hasOwnProperty(b) && (_[b] = h[b]);
|
|
26
|
+
if (y && y.defaultProps)
|
|
27
|
+
for (b in h = y.defaultProps, h)
|
|
28
|
+
_[b] === void 0 && (_[b] = h[b]);
|
|
29
|
+
return { $$typeof: u, type: y, key: z, ref: M, props: _, _owner: o.current };
|
|
30
|
+
}
|
|
31
|
+
return Te.Fragment = s, Te.jsx = S, Te.jsxs = S, Te;
|
|
32
|
+
}
|
|
33
|
+
var Ee = {};
|
|
34
|
+
/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-jsx-runtime.development.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/
|
|
43
|
+
var Xr;
|
|
44
|
+
function Nn() {
|
|
45
|
+
return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var r = un, u = Symbol.for("react.element"), s = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), y = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), G = Symbol.iterator, D = "@@iterator";
|
|
47
|
+
function V(e) {
|
|
48
|
+
if (e === null || typeof e != "object")
|
|
49
|
+
return null;
|
|
50
|
+
var a = G && e[G] || e[D];
|
|
51
|
+
return typeof a == "function" ? a : null;
|
|
52
|
+
}
|
|
53
|
+
var B = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
|
+
function F(e) {
|
|
55
|
+
{
|
|
56
|
+
for (var a = arguments.length, c = new Array(a > 1 ? a - 1 : 0), v = 1; v < a; v++)
|
|
57
|
+
c[v - 1] = arguments[v];
|
|
58
|
+
U("error", e, c);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function U(e, a, c) {
|
|
62
|
+
{
|
|
63
|
+
var v = B.ReactDebugCurrentFrame, k = v.getStackAddendum();
|
|
64
|
+
k !== "" && (a += "%s", c = c.concat([k]));
|
|
65
|
+
var q = c.map(function($) {
|
|
66
|
+
return String($);
|
|
67
|
+
});
|
|
68
|
+
q.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, q);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
var Y = !1, f = !1, te = !1, ye = !1, ve = !1, ue;
|
|
72
|
+
ue = Symbol.for("react.module.reference");
|
|
73
|
+
function be(e) {
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === n || e === m || ve || e === o || e === w || e === b || ye || e === M || Y || f || te || typeof e == "object" && e !== null && (e.$$typeof === z || e.$$typeof === _ || e.$$typeof === S || e.$$typeof === y || e.$$typeof === h || // This needs to include all possible module reference object
|
|
75
|
+
// types supported by any Flight configuration anywhere since
|
|
76
|
+
// we don't know which Flight build this will end up being used
|
|
77
|
+
// with.
|
|
78
|
+
e.$$typeof === ue || e.getModuleId !== void 0));
|
|
79
|
+
}
|
|
80
|
+
function ce(e, a, c) {
|
|
81
|
+
var v = e.displayName;
|
|
82
|
+
if (v)
|
|
83
|
+
return v;
|
|
84
|
+
var k = a.displayName || a.name || "";
|
|
85
|
+
return k !== "" ? c + "(" + k + ")" : c;
|
|
86
|
+
}
|
|
87
|
+
function le(e) {
|
|
88
|
+
return e.displayName || "Context";
|
|
89
|
+
}
|
|
90
|
+
function K(e) {
|
|
91
|
+
if (e == null)
|
|
92
|
+
return null;
|
|
93
|
+
if (typeof e.tag == "number" && F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
94
|
+
return e.displayName || e.name || null;
|
|
95
|
+
if (typeof e == "string")
|
|
96
|
+
return e;
|
|
97
|
+
switch (e) {
|
|
98
|
+
case n:
|
|
99
|
+
return "Fragment";
|
|
100
|
+
case s:
|
|
101
|
+
return "Portal";
|
|
102
|
+
case m:
|
|
103
|
+
return "Profiler";
|
|
104
|
+
case o:
|
|
105
|
+
return "StrictMode";
|
|
106
|
+
case w:
|
|
107
|
+
return "Suspense";
|
|
108
|
+
case b:
|
|
109
|
+
return "SuspenseList";
|
|
110
|
+
}
|
|
111
|
+
if (typeof e == "object")
|
|
112
|
+
switch (e.$$typeof) {
|
|
113
|
+
case y:
|
|
114
|
+
var a = e;
|
|
115
|
+
return le(a) + ".Consumer";
|
|
116
|
+
case S:
|
|
117
|
+
var c = e;
|
|
118
|
+
return le(c._context) + ".Provider";
|
|
119
|
+
case h:
|
|
120
|
+
return ce(e, e.render, "ForwardRef");
|
|
121
|
+
case _:
|
|
122
|
+
var v = e.displayName || null;
|
|
123
|
+
return v !== null ? v : K(e.type) || "Memo";
|
|
124
|
+
case z: {
|
|
125
|
+
var k = e, q = k._payload, $ = k._init;
|
|
126
|
+
try {
|
|
127
|
+
return K($(q));
|
|
128
|
+
} catch {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
var X = Object.assign, ae = 0, Q, ne, oe, fe, i, d, P;
|
|
136
|
+
function R() {
|
|
137
|
+
}
|
|
138
|
+
R.__reactDisabledLog = !0;
|
|
139
|
+
function g() {
|
|
140
|
+
{
|
|
141
|
+
if (ae === 0) {
|
|
142
|
+
Q = console.log, ne = console.info, oe = console.warn, fe = console.error, i = console.group, d = console.groupCollapsed, P = console.groupEnd;
|
|
143
|
+
var e = {
|
|
144
|
+
configurable: !0,
|
|
145
|
+
enumerable: !0,
|
|
146
|
+
value: R,
|
|
147
|
+
writable: !0
|
|
148
|
+
};
|
|
149
|
+
Object.defineProperties(console, {
|
|
150
|
+
info: e,
|
|
151
|
+
log: e,
|
|
152
|
+
warn: e,
|
|
153
|
+
error: e,
|
|
154
|
+
group: e,
|
|
155
|
+
groupCollapsed: e,
|
|
156
|
+
groupEnd: e
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
ae++;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function C() {
|
|
163
|
+
{
|
|
164
|
+
if (ae--, ae === 0) {
|
|
165
|
+
var e = {
|
|
166
|
+
configurable: !0,
|
|
167
|
+
enumerable: !0,
|
|
168
|
+
writable: !0
|
|
169
|
+
};
|
|
170
|
+
Object.defineProperties(console, {
|
|
171
|
+
log: X({}, e, {
|
|
172
|
+
value: Q
|
|
173
|
+
}),
|
|
174
|
+
info: X({}, e, {
|
|
175
|
+
value: ne
|
|
176
|
+
}),
|
|
177
|
+
warn: X({}, e, {
|
|
178
|
+
value: oe
|
|
179
|
+
}),
|
|
180
|
+
error: X({}, e, {
|
|
181
|
+
value: fe
|
|
182
|
+
}),
|
|
183
|
+
group: X({}, e, {
|
|
184
|
+
value: i
|
|
185
|
+
}),
|
|
186
|
+
groupCollapsed: X({}, e, {
|
|
187
|
+
value: d
|
|
188
|
+
}),
|
|
189
|
+
groupEnd: X({}, e, {
|
|
190
|
+
value: P
|
|
191
|
+
})
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
ae < 0 && F("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
var T = B.ReactCurrentDispatcher, E;
|
|
198
|
+
function x(e, a, c) {
|
|
199
|
+
{
|
|
200
|
+
if (E === void 0)
|
|
201
|
+
try {
|
|
202
|
+
throw Error();
|
|
203
|
+
} catch (k) {
|
|
204
|
+
var v = k.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
+
E = v && v[1] || "";
|
|
206
|
+
}
|
|
207
|
+
return `
|
|
208
|
+
` + E + e;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
var A = !1, j;
|
|
212
|
+
{
|
|
213
|
+
var J = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
j = new J();
|
|
215
|
+
}
|
|
216
|
+
function l(e, a) {
|
|
217
|
+
if (!e || A)
|
|
218
|
+
return "";
|
|
219
|
+
{
|
|
220
|
+
var c = j.get(e);
|
|
221
|
+
if (c !== void 0)
|
|
222
|
+
return c;
|
|
223
|
+
}
|
|
224
|
+
var v;
|
|
225
|
+
A = !0;
|
|
226
|
+
var k = Error.prepareStackTrace;
|
|
227
|
+
Error.prepareStackTrace = void 0;
|
|
228
|
+
var q;
|
|
229
|
+
q = T.current, T.current = null, g();
|
|
230
|
+
try {
|
|
231
|
+
if (a) {
|
|
232
|
+
var $ = function() {
|
|
233
|
+
throw Error();
|
|
234
|
+
};
|
|
235
|
+
if (Object.defineProperty($.prototype, "props", {
|
|
236
|
+
set: function() {
|
|
237
|
+
throw Error();
|
|
238
|
+
}
|
|
239
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
|
+
try {
|
|
241
|
+
Reflect.construct($, []);
|
|
242
|
+
} catch (Z) {
|
|
243
|
+
v = Z;
|
|
244
|
+
}
|
|
245
|
+
Reflect.construct(e, [], $);
|
|
246
|
+
} else {
|
|
247
|
+
try {
|
|
248
|
+
$.call();
|
|
249
|
+
} catch (Z) {
|
|
250
|
+
v = Z;
|
|
251
|
+
}
|
|
252
|
+
e.call($.prototype);
|
|
253
|
+
}
|
|
254
|
+
} else {
|
|
255
|
+
try {
|
|
256
|
+
throw Error();
|
|
257
|
+
} catch (Z) {
|
|
258
|
+
v = Z;
|
|
259
|
+
}
|
|
260
|
+
e();
|
|
261
|
+
}
|
|
262
|
+
} catch (Z) {
|
|
263
|
+
if (Z && v && typeof Z.stack == "string") {
|
|
264
|
+
for (var O = Z.stack.split(`
|
|
265
|
+
`), H = v.stack.split(`
|
|
266
|
+
`), W = O.length - 1, L = H.length - 1; W >= 1 && L >= 0 && O[W] !== H[L]; )
|
|
267
|
+
L--;
|
|
268
|
+
for (; W >= 1 && L >= 0; W--, L--)
|
|
269
|
+
if (O[W] !== H[L]) {
|
|
270
|
+
if (W !== 1 || L !== 1)
|
|
271
|
+
do
|
|
272
|
+
if (W--, L--, L < 0 || O[W] !== H[L]) {
|
|
273
|
+
var re = `
|
|
274
|
+
` + O[W].replace(" at new ", " at ");
|
|
275
|
+
return e.displayName && re.includes("<anonymous>") && (re = re.replace("<anonymous>", e.displayName)), typeof e == "function" && j.set(e, re), re;
|
|
276
|
+
}
|
|
277
|
+
while (W >= 1 && L >= 0);
|
|
278
|
+
break;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
} finally {
|
|
282
|
+
A = !1, T.current = q, C(), Error.prepareStackTrace = k;
|
|
283
|
+
}
|
|
284
|
+
var me = e ? e.displayName || e.name : "", se = me ? x(me) : "";
|
|
285
|
+
return typeof e == "function" && j.set(e, se), se;
|
|
286
|
+
}
|
|
287
|
+
function ee(e, a, c) {
|
|
288
|
+
return l(e, !1);
|
|
289
|
+
}
|
|
290
|
+
function de(e) {
|
|
291
|
+
var a = e.prototype;
|
|
292
|
+
return !!(a && a.isReactComponent);
|
|
293
|
+
}
|
|
294
|
+
function ie(e, a, c) {
|
|
295
|
+
if (e == null)
|
|
296
|
+
return "";
|
|
297
|
+
if (typeof e == "function")
|
|
298
|
+
return l(e, de(e));
|
|
299
|
+
if (typeof e == "string")
|
|
300
|
+
return x(e);
|
|
301
|
+
switch (e) {
|
|
302
|
+
case w:
|
|
303
|
+
return x("Suspense");
|
|
304
|
+
case b:
|
|
305
|
+
return x("SuspenseList");
|
|
306
|
+
}
|
|
307
|
+
if (typeof e == "object")
|
|
308
|
+
switch (e.$$typeof) {
|
|
309
|
+
case h:
|
|
310
|
+
return ee(e.render);
|
|
311
|
+
case _:
|
|
312
|
+
return ie(e.type, a, c);
|
|
313
|
+
case z: {
|
|
314
|
+
var v = e, k = v._payload, q = v._init;
|
|
315
|
+
try {
|
|
316
|
+
return ie(q(k), a, c);
|
|
317
|
+
} catch {
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return "";
|
|
322
|
+
}
|
|
323
|
+
var ge = Object.prototype.hasOwnProperty, qr = {}, Dr = B.ReactDebugCurrentFrame;
|
|
324
|
+
function Re(e) {
|
|
325
|
+
if (e) {
|
|
326
|
+
var a = e._owner, c = ie(e.type, e._source, a ? a.type : null);
|
|
327
|
+
Dr.setExtraStackFrame(c);
|
|
328
|
+
} else
|
|
329
|
+
Dr.setExtraStackFrame(null);
|
|
330
|
+
}
|
|
331
|
+
function fn(e, a, c, v, k) {
|
|
332
|
+
{
|
|
333
|
+
var q = Function.call.bind(ge);
|
|
334
|
+
for (var $ in e)
|
|
335
|
+
if (q(e, $)) {
|
|
336
|
+
var O = void 0;
|
|
337
|
+
try {
|
|
338
|
+
if (typeof e[$] != "function") {
|
|
339
|
+
var H = Error((v || "React class") + ": " + c + " type `" + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[$] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
|
+
throw H.name = "Invariant Violation", H;
|
|
341
|
+
}
|
|
342
|
+
O = e[$](a, $, v, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
|
+
} catch (W) {
|
|
344
|
+
O = W;
|
|
345
|
+
}
|
|
346
|
+
O && !(O instanceof Error) && (Re(k), F("%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).", v || "React class", c, $, typeof O), Re(null)), O instanceof Error && !(O.message in qr) && (qr[O.message] = !0, Re(k), F("Failed %s type: %s", c, O.message), Re(null));
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
var dn = Array.isArray;
|
|
351
|
+
function xe(e) {
|
|
352
|
+
return dn(e);
|
|
353
|
+
}
|
|
354
|
+
function pn(e) {
|
|
355
|
+
{
|
|
356
|
+
var a = typeof Symbol == "function" && Symbol.toStringTag, c = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
357
|
+
return c;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
function mn(e) {
|
|
361
|
+
try {
|
|
362
|
+
return Mr(e), !1;
|
|
363
|
+
} catch {
|
|
364
|
+
return !0;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
function Mr(e) {
|
|
368
|
+
return "" + e;
|
|
369
|
+
}
|
|
370
|
+
function Fr(e) {
|
|
371
|
+
if (mn(e))
|
|
372
|
+
return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pn(e)), Mr(e);
|
|
373
|
+
}
|
|
374
|
+
var he = B.ReactCurrentOwner, yn = {
|
|
375
|
+
key: !0,
|
|
376
|
+
ref: !0,
|
|
377
|
+
__self: !0,
|
|
378
|
+
__source: !0
|
|
379
|
+
}, Wr, Yr, je;
|
|
380
|
+
je = {};
|
|
381
|
+
function vn(e) {
|
|
382
|
+
if (ge.call(e, "ref")) {
|
|
383
|
+
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
384
|
+
if (a && a.isReactWarning)
|
|
385
|
+
return !1;
|
|
386
|
+
}
|
|
387
|
+
return e.ref !== void 0;
|
|
388
|
+
}
|
|
389
|
+
function bn(e) {
|
|
390
|
+
if (ge.call(e, "key")) {
|
|
391
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
392
|
+
if (a && a.isReactWarning)
|
|
393
|
+
return !1;
|
|
394
|
+
}
|
|
395
|
+
return e.key !== void 0;
|
|
396
|
+
}
|
|
397
|
+
function gn(e, a) {
|
|
398
|
+
if (typeof e.ref == "string" && he.current && a && he.current.stateNode !== a) {
|
|
399
|
+
var c = K(he.current.type);
|
|
400
|
+
je[c] || (F('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', K(he.current.type), e.ref), je[c] = !0);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function hn(e, a) {
|
|
404
|
+
{
|
|
405
|
+
var c = function() {
|
|
406
|
+
Wr || (Wr = !0, F("%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)", a));
|
|
407
|
+
};
|
|
408
|
+
c.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
409
|
+
get: c,
|
|
410
|
+
configurable: !0
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function Tn(e, a) {
|
|
415
|
+
{
|
|
416
|
+
var c = function() {
|
|
417
|
+
Yr || (Yr = !0, F("%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)", a));
|
|
418
|
+
};
|
|
419
|
+
c.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
420
|
+
get: c,
|
|
421
|
+
configurable: !0
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
var En = function(e, a, c, v, k, q, $) {
|
|
426
|
+
var O = {
|
|
427
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
428
|
+
$$typeof: u,
|
|
429
|
+
// Built-in properties that belong on the element
|
|
430
|
+
type: e,
|
|
431
|
+
key: a,
|
|
432
|
+
ref: c,
|
|
433
|
+
props: $,
|
|
434
|
+
// Record the component responsible for creating this element.
|
|
435
|
+
_owner: q
|
|
436
|
+
};
|
|
437
|
+
return O._store = {}, Object.defineProperty(O._store, "validated", {
|
|
438
|
+
configurable: !1,
|
|
439
|
+
enumerable: !1,
|
|
440
|
+
writable: !0,
|
|
441
|
+
value: !1
|
|
442
|
+
}), Object.defineProperty(O, "_self", {
|
|
443
|
+
configurable: !1,
|
|
444
|
+
enumerable: !1,
|
|
445
|
+
writable: !1,
|
|
446
|
+
value: v
|
|
447
|
+
}), Object.defineProperty(O, "_source", {
|
|
448
|
+
configurable: !1,
|
|
449
|
+
enumerable: !1,
|
|
450
|
+
writable: !1,
|
|
451
|
+
value: k
|
|
452
|
+
}), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O;
|
|
453
|
+
};
|
|
454
|
+
function Rn(e, a, c, v, k) {
|
|
455
|
+
{
|
|
456
|
+
var q, $ = {}, O = null, H = null;
|
|
457
|
+
c !== void 0 && (Fr(c), O = "" + c), bn(a) && (Fr(a.key), O = "" + a.key), vn(a) && (H = a.ref, gn(a, k));
|
|
458
|
+
for (q in a)
|
|
459
|
+
ge.call(a, q) && !yn.hasOwnProperty(q) && ($[q] = a[q]);
|
|
460
|
+
if (e && e.defaultProps) {
|
|
461
|
+
var W = e.defaultProps;
|
|
462
|
+
for (q in W)
|
|
463
|
+
$[q] === void 0 && ($[q] = W[q]);
|
|
464
|
+
}
|
|
465
|
+
if (O || H) {
|
|
466
|
+
var L = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
467
|
+
O && hn($, L), H && Tn($, L);
|
|
468
|
+
}
|
|
469
|
+
return En(e, O, H, k, v, he.current, $);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
var Oe = B.ReactCurrentOwner, Lr = B.ReactDebugCurrentFrame;
|
|
473
|
+
function pe(e) {
|
|
474
|
+
if (e) {
|
|
475
|
+
var a = e._owner, c = ie(e.type, e._source, a ? a.type : null);
|
|
476
|
+
Lr.setExtraStackFrame(c);
|
|
477
|
+
} else
|
|
478
|
+
Lr.setExtraStackFrame(null);
|
|
479
|
+
}
|
|
480
|
+
var Se;
|
|
481
|
+
Se = !1;
|
|
482
|
+
function Ce(e) {
|
|
483
|
+
return typeof e == "object" && e !== null && e.$$typeof === u;
|
|
484
|
+
}
|
|
485
|
+
function Br() {
|
|
486
|
+
{
|
|
487
|
+
if (Oe.current) {
|
|
488
|
+
var e = K(Oe.current.type);
|
|
489
|
+
if (e)
|
|
490
|
+
return `
|
|
491
|
+
|
|
492
|
+
Check the render method of \`` + e + "`.";
|
|
493
|
+
}
|
|
494
|
+
return "";
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
function Pn(e) {
|
|
498
|
+
{
|
|
499
|
+
if (e !== void 0) {
|
|
500
|
+
var a = e.fileName.replace(/^.*[\\\/]/, ""), c = e.lineNumber;
|
|
501
|
+
return `
|
|
502
|
+
|
|
503
|
+
Check your code at ` + a + ":" + c + ".";
|
|
504
|
+
}
|
|
505
|
+
return "";
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
var Ur = {};
|
|
509
|
+
function _n(e) {
|
|
510
|
+
{
|
|
511
|
+
var a = Br();
|
|
512
|
+
if (!a) {
|
|
513
|
+
var c = typeof e == "string" ? e : e.displayName || e.name;
|
|
514
|
+
c && (a = `
|
|
515
|
+
|
|
516
|
+
Check the top-level render call using <` + c + ">.");
|
|
517
|
+
}
|
|
518
|
+
return a;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
function Vr(e, a) {
|
|
522
|
+
{
|
|
523
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
524
|
+
return;
|
|
525
|
+
e._store.validated = !0;
|
|
526
|
+
var c = _n(a);
|
|
527
|
+
if (Ur[c])
|
|
528
|
+
return;
|
|
529
|
+
Ur[c] = !0;
|
|
530
|
+
var v = "";
|
|
531
|
+
e && e._owner && e._owner !== Oe.current && (v = " It was passed a child from " + K(e._owner.type) + "."), pe(e), F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, v), pe(null);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
function Gr(e, a) {
|
|
535
|
+
{
|
|
536
|
+
if (typeof e != "object")
|
|
537
|
+
return;
|
|
538
|
+
if (xe(e))
|
|
539
|
+
for (var c = 0; c < e.length; c++) {
|
|
540
|
+
var v = e[c];
|
|
541
|
+
Ce(v) && Vr(v, a);
|
|
542
|
+
}
|
|
543
|
+
else if (Ce(e))
|
|
544
|
+
e._store && (e._store.validated = !0);
|
|
545
|
+
else if (e) {
|
|
546
|
+
var k = V(e);
|
|
547
|
+
if (typeof k == "function" && k !== e.entries)
|
|
548
|
+
for (var q = k.call(e), $; !($ = q.next()).done; )
|
|
549
|
+
Ce($.value) && Vr($.value, a);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
function xn(e) {
|
|
554
|
+
{
|
|
555
|
+
var a = e.type;
|
|
556
|
+
if (a == null || typeof a == "string")
|
|
557
|
+
return;
|
|
558
|
+
var c;
|
|
559
|
+
if (typeof a == "function")
|
|
560
|
+
c = a.propTypes;
|
|
561
|
+
else if (typeof a == "object" && (a.$$typeof === h || // Note: Memo only checks outer props here.
|
|
562
|
+
// Inner props are checked in the reconciler.
|
|
563
|
+
a.$$typeof === _))
|
|
564
|
+
c = a.propTypes;
|
|
565
|
+
else
|
|
566
|
+
return;
|
|
567
|
+
if (c) {
|
|
568
|
+
var v = K(a);
|
|
569
|
+
fn(c, e.props, "prop", v, e);
|
|
570
|
+
} else if (a.PropTypes !== void 0 && !Se) {
|
|
571
|
+
Se = !0;
|
|
572
|
+
var k = K(a);
|
|
573
|
+
F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
574
|
+
}
|
|
575
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
function jn(e) {
|
|
579
|
+
{
|
|
580
|
+
for (var a = Object.keys(e.props), c = 0; c < a.length; c++) {
|
|
581
|
+
var v = a[c];
|
|
582
|
+
if (v !== "children" && v !== "key") {
|
|
583
|
+
pe(e), F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), pe(null);
|
|
584
|
+
break;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
e.ref !== null && (pe(e), F("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
var Jr = {};
|
|
591
|
+
function Hr(e, a, c, v, k, q) {
|
|
592
|
+
{
|
|
593
|
+
var $ = be(e);
|
|
594
|
+
if (!$) {
|
|
595
|
+
var O = "";
|
|
596
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
597
|
+
var H = Pn(k);
|
|
598
|
+
H ? O += H : O += Br();
|
|
599
|
+
var W;
|
|
600
|
+
e === null ? W = "null" : xe(e) ? W = "array" : e !== void 0 && e.$$typeof === u ? (W = "<" + (K(e.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, O);
|
|
601
|
+
}
|
|
602
|
+
var L = Rn(e, a, c, k, q);
|
|
603
|
+
if (L == null)
|
|
604
|
+
return L;
|
|
605
|
+
if ($) {
|
|
606
|
+
var re = a.children;
|
|
607
|
+
if (re !== void 0)
|
|
608
|
+
if (v)
|
|
609
|
+
if (xe(re)) {
|
|
610
|
+
for (var me = 0; me < re.length; me++)
|
|
611
|
+
Gr(re[me], e);
|
|
612
|
+
Object.freeze && Object.freeze(re);
|
|
613
|
+
} else
|
|
614
|
+
F("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
615
|
+
else
|
|
616
|
+
Gr(re, e);
|
|
617
|
+
}
|
|
618
|
+
if (ge.call(a, "key")) {
|
|
619
|
+
var se = K(e), Z = Object.keys(a).filter(function(An) {
|
|
620
|
+
return An !== "key";
|
|
621
|
+
}), $e = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
622
|
+
if (!Jr[se + $e]) {
|
|
623
|
+
var wn = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
|
|
624
|
+
F(`A props object containing a "key" prop is being spread into JSX:
|
|
625
|
+
let props = %s;
|
|
626
|
+
<%s {...props} />
|
|
627
|
+
React keys must be passed directly to JSX without using spread:
|
|
628
|
+
let props = %s;
|
|
629
|
+
<%s key={someKey} {...props} />`, $e, se, wn, se), Jr[se + $e] = !0;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
return e === n ? jn(L) : xn(L), L;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
function On(e, a, c) {
|
|
636
|
+
return Hr(e, a, c, !0);
|
|
637
|
+
}
|
|
638
|
+
function Sn(e, a, c) {
|
|
639
|
+
return Hr(e, a, c, !1);
|
|
640
|
+
}
|
|
641
|
+
var Cn = Sn, $n = On;
|
|
642
|
+
Ee.Fragment = n, Ee.jsx = Cn, Ee.jsxs = $n;
|
|
643
|
+
}()), Ee;
|
|
644
|
+
}
|
|
645
|
+
process.env.NODE_ENV === "production" ? qe.exports = In() : qe.exports = Nn();
|
|
646
|
+
var p = qe.exports, De = { exports: {} }, Pe = { exports: {} }, I = {};
|
|
647
|
+
/** @license React v16.13.1
|
|
648
|
+
* react-is.production.min.js
|
|
649
|
+
*
|
|
650
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
651
|
+
*
|
|
652
|
+
* This source code is licensed under the MIT license found in the
|
|
653
|
+
* LICENSE file in the root directory of this source tree.
|
|
654
|
+
*/
|
|
655
|
+
var Zr;
|
|
656
|
+
function zn() {
|
|
657
|
+
if (Zr)
|
|
658
|
+
return I;
|
|
659
|
+
Zr = 1;
|
|
660
|
+
var r = typeof Symbol == "function" && Symbol.for, u = r ? Symbol.for("react.element") : 60103, s = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, o = r ? Symbol.for("react.strict_mode") : 60108, m = r ? Symbol.for("react.profiler") : 60114, S = r ? Symbol.for("react.provider") : 60109, y = r ? Symbol.for("react.context") : 60110, h = r ? Symbol.for("react.async_mode") : 60111, w = r ? Symbol.for("react.concurrent_mode") : 60111, b = r ? Symbol.for("react.forward_ref") : 60112, _ = r ? Symbol.for("react.suspense") : 60113, z = r ? Symbol.for("react.suspense_list") : 60120, M = r ? Symbol.for("react.memo") : 60115, G = r ? Symbol.for("react.lazy") : 60116, D = r ? Symbol.for("react.block") : 60121, V = r ? Symbol.for("react.fundamental") : 60117, B = r ? Symbol.for("react.responder") : 60118, F = r ? Symbol.for("react.scope") : 60119;
|
|
661
|
+
function U(f) {
|
|
662
|
+
if (typeof f == "object" && f !== null) {
|
|
663
|
+
var te = f.$$typeof;
|
|
664
|
+
switch (te) {
|
|
665
|
+
case u:
|
|
666
|
+
switch (f = f.type, f) {
|
|
667
|
+
case h:
|
|
668
|
+
case w:
|
|
669
|
+
case n:
|
|
670
|
+
case m:
|
|
671
|
+
case o:
|
|
672
|
+
case _:
|
|
673
|
+
return f;
|
|
674
|
+
default:
|
|
675
|
+
switch (f = f && f.$$typeof, f) {
|
|
676
|
+
case y:
|
|
677
|
+
case b:
|
|
678
|
+
case G:
|
|
679
|
+
case M:
|
|
680
|
+
case S:
|
|
681
|
+
return f;
|
|
682
|
+
default:
|
|
683
|
+
return te;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
case s:
|
|
687
|
+
return te;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
function Y(f) {
|
|
692
|
+
return U(f) === w;
|
|
693
|
+
}
|
|
694
|
+
return I.AsyncMode = h, I.ConcurrentMode = w, I.ContextConsumer = y, I.ContextProvider = S, I.Element = u, I.ForwardRef = b, I.Fragment = n, I.Lazy = G, I.Memo = M, I.Portal = s, I.Profiler = m, I.StrictMode = o, I.Suspense = _, I.isAsyncMode = function(f) {
|
|
695
|
+
return Y(f) || U(f) === h;
|
|
696
|
+
}, I.isConcurrentMode = Y, I.isContextConsumer = function(f) {
|
|
697
|
+
return U(f) === y;
|
|
698
|
+
}, I.isContextProvider = function(f) {
|
|
699
|
+
return U(f) === S;
|
|
700
|
+
}, I.isElement = function(f) {
|
|
701
|
+
return typeof f == "object" && f !== null && f.$$typeof === u;
|
|
702
|
+
}, I.isForwardRef = function(f) {
|
|
703
|
+
return U(f) === b;
|
|
704
|
+
}, I.isFragment = function(f) {
|
|
705
|
+
return U(f) === n;
|
|
706
|
+
}, I.isLazy = function(f) {
|
|
707
|
+
return U(f) === G;
|
|
708
|
+
}, I.isMemo = function(f) {
|
|
709
|
+
return U(f) === M;
|
|
710
|
+
}, I.isPortal = function(f) {
|
|
711
|
+
return U(f) === s;
|
|
712
|
+
}, I.isProfiler = function(f) {
|
|
713
|
+
return U(f) === m;
|
|
714
|
+
}, I.isStrictMode = function(f) {
|
|
715
|
+
return U(f) === o;
|
|
716
|
+
}, I.isSuspense = function(f) {
|
|
717
|
+
return U(f) === _;
|
|
718
|
+
}, I.isValidElementType = function(f) {
|
|
719
|
+
return typeof f == "string" || typeof f == "function" || f === n || f === w || f === m || f === o || f === _ || f === z || typeof f == "object" && f !== null && (f.$$typeof === G || f.$$typeof === M || f.$$typeof === S || f.$$typeof === y || f.$$typeof === b || f.$$typeof === V || f.$$typeof === B || f.$$typeof === F || f.$$typeof === D);
|
|
720
|
+
}, I.typeOf = U, I;
|
|
721
|
+
}
|
|
722
|
+
var N = {};
|
|
723
|
+
/** @license React v16.13.1
|
|
724
|
+
* react-is.development.js
|
|
725
|
+
*
|
|
726
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
727
|
+
*
|
|
728
|
+
* This source code is licensed under the MIT license found in the
|
|
729
|
+
* LICENSE file in the root directory of this source tree.
|
|
730
|
+
*/
|
|
731
|
+
var Qr;
|
|
732
|
+
function qn() {
|
|
733
|
+
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
734
|
+
var r = typeof Symbol == "function" && Symbol.for, u = r ? Symbol.for("react.element") : 60103, s = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, o = r ? Symbol.for("react.strict_mode") : 60108, m = r ? Symbol.for("react.profiler") : 60114, S = r ? Symbol.for("react.provider") : 60109, y = r ? Symbol.for("react.context") : 60110, h = r ? Symbol.for("react.async_mode") : 60111, w = r ? Symbol.for("react.concurrent_mode") : 60111, b = r ? Symbol.for("react.forward_ref") : 60112, _ = r ? Symbol.for("react.suspense") : 60113, z = r ? Symbol.for("react.suspense_list") : 60120, M = r ? Symbol.for("react.memo") : 60115, G = r ? Symbol.for("react.lazy") : 60116, D = r ? Symbol.for("react.block") : 60121, V = r ? Symbol.for("react.fundamental") : 60117, B = r ? Symbol.for("react.responder") : 60118, F = r ? Symbol.for("react.scope") : 60119;
|
|
735
|
+
function U(l) {
|
|
736
|
+
return typeof l == "string" || typeof l == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
737
|
+
l === n || l === w || l === m || l === o || l === _ || l === z || typeof l == "object" && l !== null && (l.$$typeof === G || l.$$typeof === M || l.$$typeof === S || l.$$typeof === y || l.$$typeof === b || l.$$typeof === V || l.$$typeof === B || l.$$typeof === F || l.$$typeof === D);
|
|
738
|
+
}
|
|
739
|
+
function Y(l) {
|
|
740
|
+
if (typeof l == "object" && l !== null) {
|
|
741
|
+
var ee = l.$$typeof;
|
|
742
|
+
switch (ee) {
|
|
743
|
+
case u:
|
|
744
|
+
var de = l.type;
|
|
745
|
+
switch (de) {
|
|
746
|
+
case h:
|
|
747
|
+
case w:
|
|
748
|
+
case n:
|
|
749
|
+
case m:
|
|
750
|
+
case o:
|
|
751
|
+
case _:
|
|
752
|
+
return de;
|
|
753
|
+
default:
|
|
754
|
+
var ie = de && de.$$typeof;
|
|
755
|
+
switch (ie) {
|
|
756
|
+
case y:
|
|
757
|
+
case b:
|
|
758
|
+
case G:
|
|
759
|
+
case M:
|
|
760
|
+
case S:
|
|
761
|
+
return ie;
|
|
762
|
+
default:
|
|
763
|
+
return ee;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
case s:
|
|
767
|
+
return ee;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
var f = h, te = w, ye = y, ve = S, ue = u, be = b, ce = n, le = G, K = M, X = s, ae = m, Q = o, ne = _, oe = !1;
|
|
772
|
+
function fe(l) {
|
|
773
|
+
return oe || (oe = !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.")), i(l) || Y(l) === h;
|
|
774
|
+
}
|
|
775
|
+
function i(l) {
|
|
776
|
+
return Y(l) === w;
|
|
777
|
+
}
|
|
778
|
+
function d(l) {
|
|
779
|
+
return Y(l) === y;
|
|
780
|
+
}
|
|
781
|
+
function P(l) {
|
|
782
|
+
return Y(l) === S;
|
|
783
|
+
}
|
|
784
|
+
function R(l) {
|
|
785
|
+
return typeof l == "object" && l !== null && l.$$typeof === u;
|
|
786
|
+
}
|
|
787
|
+
function g(l) {
|
|
788
|
+
return Y(l) === b;
|
|
789
|
+
}
|
|
790
|
+
function C(l) {
|
|
791
|
+
return Y(l) === n;
|
|
792
|
+
}
|
|
793
|
+
function T(l) {
|
|
794
|
+
return Y(l) === G;
|
|
795
|
+
}
|
|
796
|
+
function E(l) {
|
|
797
|
+
return Y(l) === M;
|
|
798
|
+
}
|
|
799
|
+
function x(l) {
|
|
800
|
+
return Y(l) === s;
|
|
801
|
+
}
|
|
802
|
+
function A(l) {
|
|
803
|
+
return Y(l) === m;
|
|
804
|
+
}
|
|
805
|
+
function j(l) {
|
|
806
|
+
return Y(l) === o;
|
|
807
|
+
}
|
|
808
|
+
function J(l) {
|
|
809
|
+
return Y(l) === _;
|
|
810
|
+
}
|
|
811
|
+
N.AsyncMode = f, N.ConcurrentMode = te, N.ContextConsumer = ye, N.ContextProvider = ve, N.Element = ue, N.ForwardRef = be, N.Fragment = ce, N.Lazy = le, N.Memo = K, N.Portal = X, N.Profiler = ae, N.StrictMode = Q, N.Suspense = ne, N.isAsyncMode = fe, N.isConcurrentMode = i, N.isContextConsumer = d, N.isContextProvider = P, N.isElement = R, N.isForwardRef = g, N.isFragment = C, N.isLazy = T, N.isMemo = E, N.isPortal = x, N.isProfiler = A, N.isStrictMode = j, N.isSuspense = J, N.isValidElementType = U, N.typeOf = Y;
|
|
812
|
+
}()), N;
|
|
813
|
+
}
|
|
814
|
+
var en;
|
|
815
|
+
function cn() {
|
|
816
|
+
return en || (en = 1, process.env.NODE_ENV === "production" ? Pe.exports = zn() : Pe.exports = qn()), Pe.exports;
|
|
817
|
+
}
|
|
818
|
+
/*
|
|
819
|
+
object-assign
|
|
820
|
+
(c) Sindre Sorhus
|
|
821
|
+
@license MIT
|
|
822
|
+
*/
|
|
823
|
+
var we, rn;
|
|
824
|
+
function Dn() {
|
|
825
|
+
if (rn)
|
|
826
|
+
return we;
|
|
827
|
+
rn = 1;
|
|
828
|
+
var r = Object.getOwnPropertySymbols, u = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
|
|
829
|
+
function n(m) {
|
|
830
|
+
if (m == null)
|
|
831
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
832
|
+
return Object(m);
|
|
833
|
+
}
|
|
834
|
+
function o() {
|
|
835
|
+
try {
|
|
836
|
+
if (!Object.assign)
|
|
837
|
+
return !1;
|
|
838
|
+
var m = new String("abc");
|
|
839
|
+
if (m[5] = "de", Object.getOwnPropertyNames(m)[0] === "5")
|
|
840
|
+
return !1;
|
|
841
|
+
for (var S = {}, y = 0; y < 10; y++)
|
|
842
|
+
S["_" + String.fromCharCode(y)] = y;
|
|
843
|
+
var h = Object.getOwnPropertyNames(S).map(function(b) {
|
|
844
|
+
return S[b];
|
|
845
|
+
});
|
|
846
|
+
if (h.join("") !== "0123456789")
|
|
847
|
+
return !1;
|
|
848
|
+
var w = {};
|
|
849
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(b) {
|
|
850
|
+
w[b] = b;
|
|
851
|
+
}), Object.keys(Object.assign({}, w)).join("") === "abcdefghijklmnopqrst";
|
|
852
|
+
} catch {
|
|
853
|
+
return !1;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
return we = o() ? Object.assign : function(m, S) {
|
|
857
|
+
for (var y, h = n(m), w, b = 1; b < arguments.length; b++) {
|
|
858
|
+
y = Object(arguments[b]);
|
|
859
|
+
for (var _ in y)
|
|
860
|
+
u.call(y, _) && (h[_] = y[_]);
|
|
861
|
+
if (r) {
|
|
862
|
+
w = r(y);
|
|
863
|
+
for (var z = 0; z < w.length; z++)
|
|
864
|
+
s.call(y, w[z]) && (h[w[z]] = y[w[z]]);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
return h;
|
|
868
|
+
}, we;
|
|
869
|
+
}
|
|
870
|
+
var Ae, nn;
|
|
871
|
+
function Me() {
|
|
872
|
+
if (nn)
|
|
873
|
+
return Ae;
|
|
874
|
+
nn = 1;
|
|
875
|
+
var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
876
|
+
return Ae = r, Ae;
|
|
877
|
+
}
|
|
878
|
+
var ke, tn;
|
|
879
|
+
function ln() {
|
|
880
|
+
return tn || (tn = 1, ke = Function.call.bind(Object.prototype.hasOwnProperty)), ke;
|
|
881
|
+
}
|
|
882
|
+
var Ie, an;
|
|
883
|
+
function Mn() {
|
|
884
|
+
if (an)
|
|
885
|
+
return Ie;
|
|
886
|
+
an = 1;
|
|
887
|
+
var r = function() {
|
|
888
|
+
};
|
|
889
|
+
if (process.env.NODE_ENV !== "production") {
|
|
890
|
+
var u = Me(), s = {}, n = ln();
|
|
891
|
+
r = function(m) {
|
|
892
|
+
var S = "Warning: " + m;
|
|
893
|
+
typeof console < "u" && console.error(S);
|
|
894
|
+
try {
|
|
895
|
+
throw new Error(S);
|
|
896
|
+
} catch {
|
|
897
|
+
}
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
function o(m, S, y, h, w) {
|
|
901
|
+
if (process.env.NODE_ENV !== "production") {
|
|
902
|
+
for (var b in m)
|
|
903
|
+
if (n(m, b)) {
|
|
904
|
+
var _;
|
|
905
|
+
try {
|
|
906
|
+
if (typeof m[b] != "function") {
|
|
907
|
+
var z = Error(
|
|
908
|
+
(h || "React class") + ": " + y + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof m[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
909
|
+
);
|
|
910
|
+
throw z.name = "Invariant Violation", z;
|
|
911
|
+
}
|
|
912
|
+
_ = m[b](S, b, h, y, null, u);
|
|
913
|
+
} catch (G) {
|
|
914
|
+
_ = G;
|
|
915
|
+
}
|
|
916
|
+
if (_ && !(_ instanceof Error) && r(
|
|
917
|
+
(h || "React class") + ": type specification of " + y + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof _ + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
918
|
+
), _ instanceof Error && !(_.message in s)) {
|
|
919
|
+
s[_.message] = !0;
|
|
920
|
+
var M = w ? w() : "";
|
|
921
|
+
r(
|
|
922
|
+
"Failed " + y + " type: " + _.message + (M ?? "")
|
|
923
|
+
);
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
return o.resetWarningCache = function() {
|
|
929
|
+
process.env.NODE_ENV !== "production" && (s = {});
|
|
930
|
+
}, Ie = o, Ie;
|
|
931
|
+
}
|
|
932
|
+
var Ne, on;
|
|
933
|
+
function Fn() {
|
|
934
|
+
if (on)
|
|
935
|
+
return Ne;
|
|
936
|
+
on = 1;
|
|
937
|
+
var r = cn(), u = Dn(), s = Me(), n = ln(), o = Mn(), m = function() {
|
|
938
|
+
};
|
|
939
|
+
process.env.NODE_ENV !== "production" && (m = function(y) {
|
|
940
|
+
var h = "Warning: " + y;
|
|
941
|
+
typeof console < "u" && console.error(h);
|
|
942
|
+
try {
|
|
943
|
+
throw new Error(h);
|
|
944
|
+
} catch {
|
|
945
|
+
}
|
|
946
|
+
});
|
|
947
|
+
function S() {
|
|
948
|
+
return null;
|
|
949
|
+
}
|
|
950
|
+
return Ne = function(y, h) {
|
|
951
|
+
var w = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
|
|
952
|
+
function _(i) {
|
|
953
|
+
var d = i && (w && i[w] || i[b]);
|
|
954
|
+
if (typeof d == "function")
|
|
955
|
+
return d;
|
|
956
|
+
}
|
|
957
|
+
var z = "<<anonymous>>", M = {
|
|
958
|
+
array: B("array"),
|
|
959
|
+
bigint: B("bigint"),
|
|
960
|
+
bool: B("boolean"),
|
|
961
|
+
func: B("function"),
|
|
962
|
+
number: B("number"),
|
|
963
|
+
object: B("object"),
|
|
964
|
+
string: B("string"),
|
|
965
|
+
symbol: B("symbol"),
|
|
966
|
+
any: F(),
|
|
967
|
+
arrayOf: U,
|
|
968
|
+
element: Y(),
|
|
969
|
+
elementType: f(),
|
|
970
|
+
instanceOf: te,
|
|
971
|
+
node: be(),
|
|
972
|
+
objectOf: ve,
|
|
973
|
+
oneOf: ye,
|
|
974
|
+
oneOfType: ue,
|
|
975
|
+
shape: le,
|
|
976
|
+
exact: K
|
|
977
|
+
};
|
|
978
|
+
function G(i, d) {
|
|
979
|
+
return i === d ? i !== 0 || 1 / i === 1 / d : i !== i && d !== d;
|
|
980
|
+
}
|
|
981
|
+
function D(i, d) {
|
|
982
|
+
this.message = i, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
|
|
983
|
+
}
|
|
984
|
+
D.prototype = Error.prototype;
|
|
985
|
+
function V(i) {
|
|
986
|
+
if (process.env.NODE_ENV !== "production")
|
|
987
|
+
var d = {}, P = 0;
|
|
988
|
+
function R(C, T, E, x, A, j, J) {
|
|
989
|
+
if (x = x || z, j = j || E, J !== s) {
|
|
990
|
+
if (h) {
|
|
991
|
+
var l = new Error(
|
|
992
|
+
"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"
|
|
993
|
+
);
|
|
994
|
+
throw l.name = "Invariant Violation", l;
|
|
995
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
996
|
+
var ee = x + ":" + E;
|
|
997
|
+
!d[ee] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
998
|
+
P < 3 && (m(
|
|
999
|
+
"You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + x + "`. 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."
|
|
1000
|
+
), d[ee] = !0, P++);
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
return T[E] == null ? C ? T[E] === null ? new D("The " + A + " `" + j + "` is marked as required " + ("in `" + x + "`, but its value is `null`.")) : new D("The " + A + " `" + j + "` is marked as required in " + ("`" + x + "`, but its value is `undefined`.")) : null : i(T, E, x, A, j);
|
|
1004
|
+
}
|
|
1005
|
+
var g = R.bind(null, !1);
|
|
1006
|
+
return g.isRequired = R.bind(null, !0), g;
|
|
1007
|
+
}
|
|
1008
|
+
function B(i) {
|
|
1009
|
+
function d(P, R, g, C, T, E) {
|
|
1010
|
+
var x = P[R], A = Q(x);
|
|
1011
|
+
if (A !== i) {
|
|
1012
|
+
var j = ne(x);
|
|
1013
|
+
return new D(
|
|
1014
|
+
"Invalid " + C + " `" + T + "` of type " + ("`" + j + "` supplied to `" + g + "`, expected ") + ("`" + i + "`."),
|
|
1015
|
+
{ expectedType: i }
|
|
1016
|
+
);
|
|
1017
|
+
}
|
|
1018
|
+
return null;
|
|
1019
|
+
}
|
|
1020
|
+
return V(d);
|
|
1021
|
+
}
|
|
1022
|
+
function F() {
|
|
1023
|
+
return V(S);
|
|
1024
|
+
}
|
|
1025
|
+
function U(i) {
|
|
1026
|
+
function d(P, R, g, C, T) {
|
|
1027
|
+
if (typeof i != "function")
|
|
1028
|
+
return new D("Property `" + T + "` of component `" + g + "` has invalid PropType notation inside arrayOf.");
|
|
1029
|
+
var E = P[R];
|
|
1030
|
+
if (!Array.isArray(E)) {
|
|
1031
|
+
var x = Q(E);
|
|
1032
|
+
return new D("Invalid " + C + " `" + T + "` of type " + ("`" + x + "` supplied to `" + g + "`, expected an array."));
|
|
1033
|
+
}
|
|
1034
|
+
for (var A = 0; A < E.length; A++) {
|
|
1035
|
+
var j = i(E, A, g, C, T + "[" + A + "]", s);
|
|
1036
|
+
if (j instanceof Error)
|
|
1037
|
+
return j;
|
|
1038
|
+
}
|
|
1039
|
+
return null;
|
|
1040
|
+
}
|
|
1041
|
+
return V(d);
|
|
1042
|
+
}
|
|
1043
|
+
function Y() {
|
|
1044
|
+
function i(d, P, R, g, C) {
|
|
1045
|
+
var T = d[P];
|
|
1046
|
+
if (!y(T)) {
|
|
1047
|
+
var E = Q(T);
|
|
1048
|
+
return new D("Invalid " + g + " `" + C + "` of type " + ("`" + E + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
1049
|
+
}
|
|
1050
|
+
return null;
|
|
1051
|
+
}
|
|
1052
|
+
return V(i);
|
|
1053
|
+
}
|
|
1054
|
+
function f() {
|
|
1055
|
+
function i(d, P, R, g, C) {
|
|
1056
|
+
var T = d[P];
|
|
1057
|
+
if (!r.isValidElementType(T)) {
|
|
1058
|
+
var E = Q(T);
|
|
1059
|
+
return new D("Invalid " + g + " `" + C + "` of type " + ("`" + E + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
1060
|
+
}
|
|
1061
|
+
return null;
|
|
1062
|
+
}
|
|
1063
|
+
return V(i);
|
|
1064
|
+
}
|
|
1065
|
+
function te(i) {
|
|
1066
|
+
function d(P, R, g, C, T) {
|
|
1067
|
+
if (!(P[R] instanceof i)) {
|
|
1068
|
+
var E = i.name || z, x = fe(P[R]);
|
|
1069
|
+
return new D("Invalid " + C + " `" + T + "` of type " + ("`" + x + "` supplied to `" + g + "`, expected ") + ("instance of `" + E + "`."));
|
|
1070
|
+
}
|
|
1071
|
+
return null;
|
|
1072
|
+
}
|
|
1073
|
+
return V(d);
|
|
1074
|
+
}
|
|
1075
|
+
function ye(i) {
|
|
1076
|
+
if (!Array.isArray(i))
|
|
1077
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? m(
|
|
1078
|
+
"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])."
|
|
1079
|
+
) : m("Invalid argument supplied to oneOf, expected an array.")), S;
|
|
1080
|
+
function d(P, R, g, C, T) {
|
|
1081
|
+
for (var E = P[R], x = 0; x < i.length; x++)
|
|
1082
|
+
if (G(E, i[x]))
|
|
1083
|
+
return null;
|
|
1084
|
+
var A = JSON.stringify(i, function(J, l) {
|
|
1085
|
+
var ee = ne(l);
|
|
1086
|
+
return ee === "symbol" ? String(l) : l;
|
|
1087
|
+
});
|
|
1088
|
+
return new D("Invalid " + C + " `" + T + "` of value `" + String(E) + "` " + ("supplied to `" + g + "`, expected one of " + A + "."));
|
|
1089
|
+
}
|
|
1090
|
+
return V(d);
|
|
1091
|
+
}
|
|
1092
|
+
function ve(i) {
|
|
1093
|
+
function d(P, R, g, C, T) {
|
|
1094
|
+
if (typeof i != "function")
|
|
1095
|
+
return new D("Property `" + T + "` of component `" + g + "` has invalid PropType notation inside objectOf.");
|
|
1096
|
+
var E = P[R], x = Q(E);
|
|
1097
|
+
if (x !== "object")
|
|
1098
|
+
return new D("Invalid " + C + " `" + T + "` of type " + ("`" + x + "` supplied to `" + g + "`, expected an object."));
|
|
1099
|
+
for (var A in E)
|
|
1100
|
+
if (n(E, A)) {
|
|
1101
|
+
var j = i(E, A, g, C, T + "." + A, s);
|
|
1102
|
+
if (j instanceof Error)
|
|
1103
|
+
return j;
|
|
1104
|
+
}
|
|
1105
|
+
return null;
|
|
1106
|
+
}
|
|
1107
|
+
return V(d);
|
|
1108
|
+
}
|
|
1109
|
+
function ue(i) {
|
|
1110
|
+
if (!Array.isArray(i))
|
|
1111
|
+
return process.env.NODE_ENV !== "production" && m("Invalid argument supplied to oneOfType, expected an instance of array."), S;
|
|
1112
|
+
for (var d = 0; d < i.length; d++) {
|
|
1113
|
+
var P = i[d];
|
|
1114
|
+
if (typeof P != "function")
|
|
1115
|
+
return m(
|
|
1116
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(P) + " at index " + d + "."
|
|
1117
|
+
), S;
|
|
1118
|
+
}
|
|
1119
|
+
function R(g, C, T, E, x) {
|
|
1120
|
+
for (var A = [], j = 0; j < i.length; j++) {
|
|
1121
|
+
var J = i[j], l = J(g, C, T, E, x, s);
|
|
1122
|
+
if (l == null)
|
|
1123
|
+
return null;
|
|
1124
|
+
l.data && n(l.data, "expectedType") && A.push(l.data.expectedType);
|
|
1125
|
+
}
|
|
1126
|
+
var ee = A.length > 0 ? ", expected one of type [" + A.join(", ") + "]" : "";
|
|
1127
|
+
return new D("Invalid " + E + " `" + x + "` supplied to " + ("`" + T + "`" + ee + "."));
|
|
1128
|
+
}
|
|
1129
|
+
return V(R);
|
|
1130
|
+
}
|
|
1131
|
+
function be() {
|
|
1132
|
+
function i(d, P, R, g, C) {
|
|
1133
|
+
return X(d[P]) ? null : new D("Invalid " + g + " `" + C + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
1134
|
+
}
|
|
1135
|
+
return V(i);
|
|
1136
|
+
}
|
|
1137
|
+
function ce(i, d, P, R, g) {
|
|
1138
|
+
return new D(
|
|
1139
|
+
(i || "React class") + ": " + d + " type `" + P + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + g + "`."
|
|
1140
|
+
);
|
|
1141
|
+
}
|
|
1142
|
+
function le(i) {
|
|
1143
|
+
function d(P, R, g, C, T) {
|
|
1144
|
+
var E = P[R], x = Q(E);
|
|
1145
|
+
if (x !== "object")
|
|
1146
|
+
return new D("Invalid " + C + " `" + T + "` of type `" + x + "` " + ("supplied to `" + g + "`, expected `object`."));
|
|
1147
|
+
for (var A in i) {
|
|
1148
|
+
var j = i[A];
|
|
1149
|
+
if (typeof j != "function")
|
|
1150
|
+
return ce(g, C, T, A, ne(j));
|
|
1151
|
+
var J = j(E, A, g, C, T + "." + A, s);
|
|
1152
|
+
if (J)
|
|
1153
|
+
return J;
|
|
1154
|
+
}
|
|
1155
|
+
return null;
|
|
1156
|
+
}
|
|
1157
|
+
return V(d);
|
|
1158
|
+
}
|
|
1159
|
+
function K(i) {
|
|
1160
|
+
function d(P, R, g, C, T) {
|
|
1161
|
+
var E = P[R], x = Q(E);
|
|
1162
|
+
if (x !== "object")
|
|
1163
|
+
return new D("Invalid " + C + " `" + T + "` of type `" + x + "` " + ("supplied to `" + g + "`, expected `object`."));
|
|
1164
|
+
var A = u({}, P[R], i);
|
|
1165
|
+
for (var j in A) {
|
|
1166
|
+
var J = i[j];
|
|
1167
|
+
if (n(i, j) && typeof J != "function")
|
|
1168
|
+
return ce(g, C, T, j, ne(J));
|
|
1169
|
+
if (!J)
|
|
1170
|
+
return new D(
|
|
1171
|
+
"Invalid " + C + " `" + T + "` key `" + j + "` supplied to `" + g + "`.\nBad object: " + JSON.stringify(P[R], null, " ") + `
|
|
1172
|
+
Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
1173
|
+
);
|
|
1174
|
+
var l = J(E, j, g, C, T + "." + j, s);
|
|
1175
|
+
if (l)
|
|
1176
|
+
return l;
|
|
1177
|
+
}
|
|
1178
|
+
return null;
|
|
1179
|
+
}
|
|
1180
|
+
return V(d);
|
|
1181
|
+
}
|
|
1182
|
+
function X(i) {
|
|
1183
|
+
switch (typeof i) {
|
|
1184
|
+
case "number":
|
|
1185
|
+
case "string":
|
|
1186
|
+
case "undefined":
|
|
1187
|
+
return !0;
|
|
1188
|
+
case "boolean":
|
|
1189
|
+
return !i;
|
|
1190
|
+
case "object":
|
|
1191
|
+
if (Array.isArray(i))
|
|
1192
|
+
return i.every(X);
|
|
1193
|
+
if (i === null || y(i))
|
|
1194
|
+
return !0;
|
|
1195
|
+
var d = _(i);
|
|
1196
|
+
if (d) {
|
|
1197
|
+
var P = d.call(i), R;
|
|
1198
|
+
if (d !== i.entries) {
|
|
1199
|
+
for (; !(R = P.next()).done; )
|
|
1200
|
+
if (!X(R.value))
|
|
1201
|
+
return !1;
|
|
1202
|
+
} else
|
|
1203
|
+
for (; !(R = P.next()).done; ) {
|
|
1204
|
+
var g = R.value;
|
|
1205
|
+
if (g && !X(g[1]))
|
|
1206
|
+
return !1;
|
|
1207
|
+
}
|
|
1208
|
+
} else
|
|
1209
|
+
return !1;
|
|
1210
|
+
return !0;
|
|
1211
|
+
default:
|
|
1212
|
+
return !1;
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
function ae(i, d) {
|
|
1216
|
+
return i === "symbol" ? !0 : d ? d["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && d instanceof Symbol : !1;
|
|
1217
|
+
}
|
|
1218
|
+
function Q(i) {
|
|
1219
|
+
var d = typeof i;
|
|
1220
|
+
return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" : ae(d, i) ? "symbol" : d;
|
|
1221
|
+
}
|
|
1222
|
+
function ne(i) {
|
|
1223
|
+
if (typeof i > "u" || i === null)
|
|
1224
|
+
return "" + i;
|
|
1225
|
+
var d = Q(i);
|
|
1226
|
+
if (d === "object") {
|
|
1227
|
+
if (i instanceof Date)
|
|
1228
|
+
return "date";
|
|
1229
|
+
if (i instanceof RegExp)
|
|
1230
|
+
return "regexp";
|
|
1231
|
+
}
|
|
1232
|
+
return d;
|
|
1233
|
+
}
|
|
1234
|
+
function oe(i) {
|
|
1235
|
+
var d = ne(i);
|
|
1236
|
+
switch (d) {
|
|
1237
|
+
case "array":
|
|
1238
|
+
case "object":
|
|
1239
|
+
return "an " + d;
|
|
1240
|
+
case "boolean":
|
|
1241
|
+
case "date":
|
|
1242
|
+
case "regexp":
|
|
1243
|
+
return "a " + d;
|
|
1244
|
+
default:
|
|
1245
|
+
return d;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
function fe(i) {
|
|
1249
|
+
return !i.constructor || !i.constructor.name ? z : i.constructor.name;
|
|
1250
|
+
}
|
|
1251
|
+
return M.checkPropTypes = o, M.resetWarningCache = o.resetWarningCache, M.PropTypes = M, M;
|
|
1252
|
+
}, Ne;
|
|
1253
|
+
}
|
|
1254
|
+
var ze, sn;
|
|
1255
|
+
function Wn() {
|
|
1256
|
+
if (sn)
|
|
1257
|
+
return ze;
|
|
1258
|
+
sn = 1;
|
|
1259
|
+
var r = Me();
|
|
1260
|
+
function u() {
|
|
1261
|
+
}
|
|
1262
|
+
function s() {
|
|
1263
|
+
}
|
|
1264
|
+
return s.resetWarningCache = u, ze = function() {
|
|
1265
|
+
function n(S, y, h, w, b, _) {
|
|
1266
|
+
if (_ !== r) {
|
|
1267
|
+
var z = new Error(
|
|
1268
|
+
"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"
|
|
1269
|
+
);
|
|
1270
|
+
throw z.name = "Invariant Violation", z;
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
n.isRequired = n;
|
|
1274
|
+
function o() {
|
|
1275
|
+
return n;
|
|
1276
|
+
}
|
|
1277
|
+
var m = {
|
|
1278
|
+
array: n,
|
|
1279
|
+
bigint: n,
|
|
1280
|
+
bool: n,
|
|
1281
|
+
func: n,
|
|
1282
|
+
number: n,
|
|
1283
|
+
object: n,
|
|
1284
|
+
string: n,
|
|
1285
|
+
symbol: n,
|
|
1286
|
+
any: n,
|
|
1287
|
+
arrayOf: o,
|
|
1288
|
+
element: n,
|
|
1289
|
+
elementType: n,
|
|
1290
|
+
instanceOf: o,
|
|
1291
|
+
node: n,
|
|
1292
|
+
objectOf: o,
|
|
1293
|
+
oneOf: o,
|
|
1294
|
+
oneOfType: o,
|
|
1295
|
+
shape: o,
|
|
1296
|
+
exact: o,
|
|
1297
|
+
checkPropTypes: s,
|
|
1298
|
+
resetWarningCache: u
|
|
1299
|
+
};
|
|
1300
|
+
return m.PropTypes = m, m;
|
|
1301
|
+
}, ze;
|
|
1302
|
+
}
|
|
1303
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1304
|
+
var Yn = cn(), Ln = !0;
|
|
1305
|
+
De.exports = Fn()(Yn.isElement, Ln);
|
|
1306
|
+
} else
|
|
1307
|
+
De.exports = Wn()();
|
|
1308
|
+
var Bn = De.exports;
|
|
1309
|
+
const t = /* @__PURE__ */ kn(Bn);
|
|
1310
|
+
const Fe = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1311
|
+
const o = r ? "heading--primary" : "heading--secondary";
|
|
1312
|
+
return /* @__PURE__ */ p.jsx(
|
|
1313
|
+
"div",
|
|
1314
|
+
{
|
|
1315
|
+
className: ["heading", `heading--${u}`, o].join(" "),
|
|
1316
|
+
...n,
|
|
1317
|
+
children: s
|
|
1318
|
+
}
|
|
1319
|
+
);
|
|
1320
|
+
};
|
|
1321
|
+
Fe.propTypes = {
|
|
1322
|
+
/**
|
|
1323
|
+
* Is this the primary style for the component?
|
|
1324
|
+
*/
|
|
1325
|
+
primary: t.bool,
|
|
1326
|
+
/**
|
|
1327
|
+
* Size of the component
|
|
1328
|
+
*/
|
|
1329
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1330
|
+
/**
|
|
1331
|
+
* Content to be rendered inside the component
|
|
1332
|
+
*/
|
|
1333
|
+
children: t.node.isRequired
|
|
1334
|
+
};
|
|
1335
|
+
Fe.defaultProps = {
|
|
1336
|
+
primary: !1,
|
|
1337
|
+
size: "medium"
|
|
1338
|
+
};
|
|
1339
|
+
const We = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1340
|
+
const o = r ? "paragraph--primary" : "paragraph--secondary";
|
|
1341
|
+
return /* @__PURE__ */ p.jsx(
|
|
1342
|
+
"div",
|
|
1343
|
+
{
|
|
1344
|
+
className: ["paragraph", `paragraph--${u}`, o].join(" "),
|
|
1345
|
+
...n,
|
|
1346
|
+
children: s
|
|
1347
|
+
}
|
|
1348
|
+
);
|
|
1349
|
+
};
|
|
1350
|
+
We.propTypes = {
|
|
1351
|
+
/**
|
|
1352
|
+
* Is this the primary style for the component?
|
|
1353
|
+
*/
|
|
1354
|
+
primary: t.bool,
|
|
1355
|
+
/**
|
|
1356
|
+
* Size of the component
|
|
1357
|
+
*/
|
|
1358
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1359
|
+
/**
|
|
1360
|
+
* Content to be rendered inside the component
|
|
1361
|
+
*/
|
|
1362
|
+
children: t.node.isRequired
|
|
1363
|
+
};
|
|
1364
|
+
We.defaultProps = {
|
|
1365
|
+
primary: !1,
|
|
1366
|
+
size: "medium"
|
|
1367
|
+
};
|
|
1368
|
+
const Ye = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1369
|
+
const o = r ? "label--primary" : "label--secondary";
|
|
1370
|
+
return /* @__PURE__ */ p.jsx(
|
|
1371
|
+
"div",
|
|
1372
|
+
{
|
|
1373
|
+
className: ["label", `label--${u}`, o].join(" "),
|
|
1374
|
+
...n,
|
|
1375
|
+
children: s
|
|
1376
|
+
}
|
|
1377
|
+
);
|
|
1378
|
+
};
|
|
1379
|
+
Ye.propTypes = {
|
|
1380
|
+
/**
|
|
1381
|
+
* Is this the primary style for the component?
|
|
1382
|
+
*/
|
|
1383
|
+
primary: t.bool,
|
|
1384
|
+
/**
|
|
1385
|
+
* Size of the component
|
|
1386
|
+
*/
|
|
1387
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1388
|
+
/**
|
|
1389
|
+
* Content to be rendered inside the component
|
|
1390
|
+
*/
|
|
1391
|
+
children: t.node.isRequired
|
|
1392
|
+
};
|
|
1393
|
+
Ye.defaultProps = {
|
|
1394
|
+
primary: !1,
|
|
1395
|
+
size: "medium"
|
|
1396
|
+
};
|
|
1397
|
+
const Le = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1398
|
+
const o = r ? "caption--primary" : "caption--secondary";
|
|
1399
|
+
return /* @__PURE__ */ p.jsx(
|
|
1400
|
+
"div",
|
|
1401
|
+
{
|
|
1402
|
+
className: ["caption", `caption--${u}`, o].join(" "),
|
|
1403
|
+
...n,
|
|
1404
|
+
children: s
|
|
1405
|
+
}
|
|
1406
|
+
);
|
|
1407
|
+
};
|
|
1408
|
+
Le.propTypes = {
|
|
1409
|
+
/**
|
|
1410
|
+
* Is this the primary style for the component?
|
|
1411
|
+
*/
|
|
1412
|
+
primary: t.bool,
|
|
1413
|
+
/**
|
|
1414
|
+
* Size of the component
|
|
1415
|
+
*/
|
|
1416
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1417
|
+
/**
|
|
1418
|
+
* Content to be rendered inside the component
|
|
1419
|
+
*/
|
|
1420
|
+
children: t.node.isRequired
|
|
1421
|
+
};
|
|
1422
|
+
Le.defaultProps = {
|
|
1423
|
+
primary: !1,
|
|
1424
|
+
size: "medium"
|
|
1425
|
+
};
|
|
1426
|
+
const Be = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1427
|
+
const o = r ? "container--primary" : "container--secondary";
|
|
1428
|
+
return /* @__PURE__ */ p.jsx(
|
|
1429
|
+
"div",
|
|
1430
|
+
{
|
|
1431
|
+
className: ["container", `container--${u}`, o].join(" "),
|
|
1432
|
+
...n,
|
|
1433
|
+
children: s
|
|
1434
|
+
}
|
|
1435
|
+
);
|
|
1436
|
+
};
|
|
1437
|
+
Be.propTypes = {
|
|
1438
|
+
/**
|
|
1439
|
+
* Is this the primary style for the component?
|
|
1440
|
+
*/
|
|
1441
|
+
primary: t.bool,
|
|
1442
|
+
/**
|
|
1443
|
+
* Size of the component
|
|
1444
|
+
*/
|
|
1445
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1446
|
+
/**
|
|
1447
|
+
* Content to be rendered inside the component
|
|
1448
|
+
*/
|
|
1449
|
+
children: t.node.isRequired
|
|
1450
|
+
};
|
|
1451
|
+
Be.defaultProps = {
|
|
1452
|
+
primary: !1,
|
|
1453
|
+
size: "medium"
|
|
1454
|
+
};
|
|
1455
|
+
const Ue = ({ primary: r, size: u, label: s, noBorder: n, children: o, ...m }) => {
|
|
1456
|
+
const S = r ? "button--primary" : "button--secondary", y = u === "small" ? "button--small" : u === "large" ? "button--large" : "button--medium", h = n ? "button--no-border" : "";
|
|
1457
|
+
return /* @__PURE__ */ p.jsx(
|
|
1458
|
+
"button",
|
|
1459
|
+
{
|
|
1460
|
+
type: "button",
|
|
1461
|
+
className: `button ${S} ${y} ${h} rounded px-4 py-2`,
|
|
1462
|
+
...m,
|
|
1463
|
+
children: o || s
|
|
1464
|
+
}
|
|
1465
|
+
);
|
|
1466
|
+
};
|
|
1467
|
+
Ue.propTypes = {
|
|
1468
|
+
primary: t.bool,
|
|
1469
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1470
|
+
label: t.string,
|
|
1471
|
+
noBorder: t.bool,
|
|
1472
|
+
// New prop for no border button
|
|
1473
|
+
children: t.node
|
|
1474
|
+
};
|
|
1475
|
+
Ue.defaultProps = {
|
|
1476
|
+
primary: !1,
|
|
1477
|
+
size: "medium",
|
|
1478
|
+
label: "",
|
|
1479
|
+
noBorder: !1
|
|
1480
|
+
// Default no border to false
|
|
1481
|
+
};
|
|
1482
|
+
const Ve = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1483
|
+
const o = r ? "link--primary" : "link--secondary";
|
|
1484
|
+
return /* @__PURE__ */ p.jsx(
|
|
1485
|
+
"div",
|
|
1486
|
+
{
|
|
1487
|
+
className: ["link", `link--${u}`, o].join(" "),
|
|
1488
|
+
...n,
|
|
1489
|
+
children: s
|
|
1490
|
+
}
|
|
1491
|
+
);
|
|
1492
|
+
};
|
|
1493
|
+
Ve.propTypes = {
|
|
1494
|
+
/**
|
|
1495
|
+
* Is this the primary style for the component?
|
|
1496
|
+
*/
|
|
1497
|
+
primary: t.bool,
|
|
1498
|
+
/**
|
|
1499
|
+
* Size of the component
|
|
1500
|
+
*/
|
|
1501
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1502
|
+
/**
|
|
1503
|
+
* Content to be rendered inside the component
|
|
1504
|
+
*/
|
|
1505
|
+
children: t.node.isRequired
|
|
1506
|
+
};
|
|
1507
|
+
Ve.defaultProps = {
|
|
1508
|
+
primary: !1,
|
|
1509
|
+
size: "medium"
|
|
1510
|
+
};
|
|
1511
|
+
const _e = ({ name: r, size: u, color: s, ...n }) => {
|
|
1512
|
+
const o = u ? `icon--${u}` : "", m = s ? `icon--${s}` : "";
|
|
1513
|
+
return /* @__PURE__ */ p.jsx(
|
|
1514
|
+
"svg",
|
|
1515
|
+
{
|
|
1516
|
+
className: ["icon", o, m].join(" ").trim(),
|
|
1517
|
+
...n,
|
|
1518
|
+
children: /* @__PURE__ */ p.jsx("use", { xlinkHref: `#icon-${r}` })
|
|
1519
|
+
}
|
|
1520
|
+
);
|
|
1521
|
+
};
|
|
1522
|
+
_e.propTypes = {
|
|
1523
|
+
/**
|
|
1524
|
+
* Name of the icon (should correspond to an existing SVG symbol)
|
|
1525
|
+
*/
|
|
1526
|
+
name: t.string.isRequired,
|
|
1527
|
+
/**
|
|
1528
|
+
* Size of the icon
|
|
1529
|
+
*/
|
|
1530
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1531
|
+
/**
|
|
1532
|
+
* Color variant of the icon
|
|
1533
|
+
*/
|
|
1534
|
+
color: t.oneOf([
|
|
1535
|
+
"primary",
|
|
1536
|
+
"secondary",
|
|
1537
|
+
"success",
|
|
1538
|
+
"danger",
|
|
1539
|
+
"warning",
|
|
1540
|
+
"info"
|
|
1541
|
+
])
|
|
1542
|
+
};
|
|
1543
|
+
_e.defaultProps = {
|
|
1544
|
+
size: "medium",
|
|
1545
|
+
color: "primary"
|
|
1546
|
+
};
|
|
1547
|
+
const Ge = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1548
|
+
const o = r ? "checkbox--primary" : "checkbox--secondary";
|
|
1549
|
+
return /* @__PURE__ */ p.jsx(
|
|
1550
|
+
"div",
|
|
1551
|
+
{
|
|
1552
|
+
className: ["checkbox", `checkbox--${u}`, o].join(" "),
|
|
1553
|
+
...n,
|
|
1554
|
+
children: s
|
|
1555
|
+
}
|
|
1556
|
+
);
|
|
1557
|
+
};
|
|
1558
|
+
Ge.propTypes = {
|
|
1559
|
+
/**
|
|
1560
|
+
* Is this the primary style for the component?
|
|
1561
|
+
*/
|
|
1562
|
+
primary: t.bool,
|
|
1563
|
+
/**
|
|
1564
|
+
* Size of the component
|
|
1565
|
+
*/
|
|
1566
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1567
|
+
/**
|
|
1568
|
+
* Content to be rendered inside the component
|
|
1569
|
+
*/
|
|
1570
|
+
children: t.node.isRequired
|
|
1571
|
+
};
|
|
1572
|
+
Ge.defaultProps = {
|
|
1573
|
+
primary: !1,
|
|
1574
|
+
size: "medium"
|
|
1575
|
+
};
|
|
1576
|
+
const Je = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1577
|
+
const o = r ? "radiobutton--primary" : "radiobutton--secondary";
|
|
1578
|
+
return /* @__PURE__ */ p.jsx(
|
|
1579
|
+
"div",
|
|
1580
|
+
{
|
|
1581
|
+
className: ["radiobutton", `radiobutton--${u}`, o].join(" "),
|
|
1582
|
+
...n,
|
|
1583
|
+
children: s
|
|
1584
|
+
}
|
|
1585
|
+
);
|
|
1586
|
+
};
|
|
1587
|
+
Je.propTypes = {
|
|
1588
|
+
/**
|
|
1589
|
+
* Is this the primary style for the component?
|
|
1590
|
+
*/
|
|
1591
|
+
primary: t.bool,
|
|
1592
|
+
/**
|
|
1593
|
+
* Size of the component
|
|
1594
|
+
*/
|
|
1595
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1596
|
+
/**
|
|
1597
|
+
* Content to be rendered inside the component
|
|
1598
|
+
*/
|
|
1599
|
+
children: t.node.isRequired
|
|
1600
|
+
};
|
|
1601
|
+
Je.defaultProps = {
|
|
1602
|
+
primary: !1,
|
|
1603
|
+
size: "medium"
|
|
1604
|
+
};
|
|
1605
|
+
const He = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1606
|
+
const o = r ? "toggle--primary" : "toggle--secondary";
|
|
1607
|
+
return /* @__PURE__ */ p.jsx(
|
|
1608
|
+
"div",
|
|
1609
|
+
{
|
|
1610
|
+
className: ["toggle", `toggle--${u}`, o].join(" "),
|
|
1611
|
+
...n,
|
|
1612
|
+
children: s
|
|
1613
|
+
}
|
|
1614
|
+
);
|
|
1615
|
+
};
|
|
1616
|
+
He.propTypes = {
|
|
1617
|
+
/**
|
|
1618
|
+
* Is this the primary style for the component?
|
|
1619
|
+
*/
|
|
1620
|
+
primary: t.bool,
|
|
1621
|
+
/**
|
|
1622
|
+
* Size of the component
|
|
1623
|
+
*/
|
|
1624
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1625
|
+
/**
|
|
1626
|
+
* Content to be rendered inside the component
|
|
1627
|
+
*/
|
|
1628
|
+
children: t.node.isRequired
|
|
1629
|
+
};
|
|
1630
|
+
He.defaultProps = {
|
|
1631
|
+
primary: !1,
|
|
1632
|
+
size: "medium"
|
|
1633
|
+
};
|
|
1634
|
+
const Ke = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1635
|
+
const o = r ? "textinput--primary" : "textinput--secondary";
|
|
1636
|
+
return /* @__PURE__ */ p.jsx(
|
|
1637
|
+
"div",
|
|
1638
|
+
{
|
|
1639
|
+
className: ["textinput", `textinput--${u}`, o].join(" "),
|
|
1640
|
+
...n,
|
|
1641
|
+
children: s
|
|
1642
|
+
}
|
|
1643
|
+
);
|
|
1644
|
+
};
|
|
1645
|
+
Ke.propTypes = {
|
|
1646
|
+
/**
|
|
1647
|
+
* Is this the primary style for the component?
|
|
1648
|
+
*/
|
|
1649
|
+
primary: t.bool,
|
|
1650
|
+
/**
|
|
1651
|
+
* Size of the component
|
|
1652
|
+
*/
|
|
1653
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1654
|
+
/**
|
|
1655
|
+
* Content to be rendered inside the component
|
|
1656
|
+
*/
|
|
1657
|
+
children: t.node.isRequired
|
|
1658
|
+
};
|
|
1659
|
+
Ke.defaultProps = {
|
|
1660
|
+
primary: !1,
|
|
1661
|
+
size: "medium"
|
|
1662
|
+
};
|
|
1663
|
+
const Xe = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1664
|
+
const o = r ? "textarea--primary" : "textarea--secondary";
|
|
1665
|
+
return /* @__PURE__ */ p.jsx(
|
|
1666
|
+
"div",
|
|
1667
|
+
{
|
|
1668
|
+
className: ["textarea", `textarea--${u}`, o].join(" "),
|
|
1669
|
+
...n,
|
|
1670
|
+
children: s
|
|
1671
|
+
}
|
|
1672
|
+
);
|
|
1673
|
+
};
|
|
1674
|
+
Xe.propTypes = {
|
|
1675
|
+
/**
|
|
1676
|
+
* Is this the primary style for the component?
|
|
1677
|
+
*/
|
|
1678
|
+
primary: t.bool,
|
|
1679
|
+
/**
|
|
1680
|
+
* Size of the component
|
|
1681
|
+
*/
|
|
1682
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1683
|
+
/**
|
|
1684
|
+
* Content to be rendered inside the component
|
|
1685
|
+
*/
|
|
1686
|
+
children: t.node.isRequired
|
|
1687
|
+
};
|
|
1688
|
+
Xe.defaultProps = {
|
|
1689
|
+
primary: !1,
|
|
1690
|
+
size: "medium"
|
|
1691
|
+
};
|
|
1692
|
+
const Ze = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1693
|
+
const o = r ? "select--primary" : "select--secondary";
|
|
1694
|
+
return /* @__PURE__ */ p.jsx(
|
|
1695
|
+
"div",
|
|
1696
|
+
{
|
|
1697
|
+
className: ["select", `select--${u}`, o].join(" "),
|
|
1698
|
+
...n,
|
|
1699
|
+
children: s
|
|
1700
|
+
}
|
|
1701
|
+
);
|
|
1702
|
+
};
|
|
1703
|
+
Ze.propTypes = {
|
|
1704
|
+
/**
|
|
1705
|
+
* Is this the primary style for the component?
|
|
1706
|
+
*/
|
|
1707
|
+
primary: t.bool,
|
|
1708
|
+
/**
|
|
1709
|
+
* Size of the component
|
|
1710
|
+
*/
|
|
1711
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1712
|
+
/**
|
|
1713
|
+
* Content to be rendered inside the component
|
|
1714
|
+
*/
|
|
1715
|
+
children: t.node.isRequired
|
|
1716
|
+
};
|
|
1717
|
+
Ze.defaultProps = {
|
|
1718
|
+
primary: !1,
|
|
1719
|
+
size: "medium"
|
|
1720
|
+
};
|
|
1721
|
+
const Qe = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1722
|
+
const o = r ? "slider--primary" : "slider--secondary";
|
|
1723
|
+
return /* @__PURE__ */ p.jsx(
|
|
1724
|
+
"div",
|
|
1725
|
+
{
|
|
1726
|
+
className: ["slider", `slider--${u}`, o].join(" "),
|
|
1727
|
+
...n,
|
|
1728
|
+
children: s
|
|
1729
|
+
}
|
|
1730
|
+
);
|
|
1731
|
+
};
|
|
1732
|
+
Qe.propTypes = {
|
|
1733
|
+
/**
|
|
1734
|
+
* Is this the primary style for the component?
|
|
1735
|
+
*/
|
|
1736
|
+
primary: t.bool,
|
|
1737
|
+
/**
|
|
1738
|
+
* Size of the component
|
|
1739
|
+
*/
|
|
1740
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1741
|
+
/**
|
|
1742
|
+
* Content to be rendered inside the component
|
|
1743
|
+
*/
|
|
1744
|
+
children: t.node.isRequired
|
|
1745
|
+
};
|
|
1746
|
+
Qe.defaultProps = {
|
|
1747
|
+
primary: !1,
|
|
1748
|
+
size: "medium"
|
|
1749
|
+
};
|
|
1750
|
+
const er = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1751
|
+
const o = r ? "rangeinput--primary" : "rangeinput--secondary";
|
|
1752
|
+
return /* @__PURE__ */ p.jsx(
|
|
1753
|
+
"div",
|
|
1754
|
+
{
|
|
1755
|
+
className: ["rangeinput", `rangeinput--${u}`, o].join(" "),
|
|
1756
|
+
...n,
|
|
1757
|
+
children: s
|
|
1758
|
+
}
|
|
1759
|
+
);
|
|
1760
|
+
};
|
|
1761
|
+
er.propTypes = {
|
|
1762
|
+
/**
|
|
1763
|
+
* Is this the primary style for the component?
|
|
1764
|
+
*/
|
|
1765
|
+
primary: t.bool,
|
|
1766
|
+
/**
|
|
1767
|
+
* Size of the component
|
|
1768
|
+
*/
|
|
1769
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1770
|
+
/**
|
|
1771
|
+
* Content to be rendered inside the component
|
|
1772
|
+
*/
|
|
1773
|
+
children: t.node.isRequired
|
|
1774
|
+
};
|
|
1775
|
+
er.defaultProps = {
|
|
1776
|
+
primary: !1,
|
|
1777
|
+
size: "medium"
|
|
1778
|
+
};
|
|
1779
|
+
const rr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1780
|
+
const o = r ? "image--primary" : "image--secondary";
|
|
1781
|
+
return /* @__PURE__ */ p.jsx(
|
|
1782
|
+
"div",
|
|
1783
|
+
{
|
|
1784
|
+
className: ["image", `image--${u}`, o].join(" "),
|
|
1785
|
+
...n,
|
|
1786
|
+
children: s
|
|
1787
|
+
}
|
|
1788
|
+
);
|
|
1789
|
+
};
|
|
1790
|
+
rr.propTypes = {
|
|
1791
|
+
/**
|
|
1792
|
+
* Is this the primary style for the component?
|
|
1793
|
+
*/
|
|
1794
|
+
primary: t.bool,
|
|
1795
|
+
/**
|
|
1796
|
+
* Size of the component
|
|
1797
|
+
*/
|
|
1798
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1799
|
+
/**
|
|
1800
|
+
* Content to be rendered inside the component
|
|
1801
|
+
*/
|
|
1802
|
+
children: t.node.isRequired
|
|
1803
|
+
};
|
|
1804
|
+
rr.defaultProps = {
|
|
1805
|
+
primary: !1,
|
|
1806
|
+
size: "medium"
|
|
1807
|
+
};
|
|
1808
|
+
const nr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1809
|
+
const o = r ? "video--primary" : "video--secondary";
|
|
1810
|
+
return /* @__PURE__ */ p.jsx(
|
|
1811
|
+
"div",
|
|
1812
|
+
{
|
|
1813
|
+
className: ["video", `video--${u}`, o].join(" "),
|
|
1814
|
+
...n,
|
|
1815
|
+
children: s
|
|
1816
|
+
}
|
|
1817
|
+
);
|
|
1818
|
+
};
|
|
1819
|
+
nr.propTypes = {
|
|
1820
|
+
/**
|
|
1821
|
+
* Is this the primary style for the component?
|
|
1822
|
+
*/
|
|
1823
|
+
primary: t.bool,
|
|
1824
|
+
/**
|
|
1825
|
+
* Size of the component
|
|
1826
|
+
*/
|
|
1827
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1828
|
+
/**
|
|
1829
|
+
* Content to be rendered inside the component
|
|
1830
|
+
*/
|
|
1831
|
+
children: t.node.isRequired
|
|
1832
|
+
};
|
|
1833
|
+
nr.defaultProps = {
|
|
1834
|
+
primary: !1,
|
|
1835
|
+
size: "medium"
|
|
1836
|
+
};
|
|
1837
|
+
const tr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1838
|
+
const o = r ? "audio--primary" : "audio--secondary";
|
|
1839
|
+
return /* @__PURE__ */ p.jsx(
|
|
1840
|
+
"div",
|
|
1841
|
+
{
|
|
1842
|
+
className: ["audio", `audio--${u}`, o].join(" "),
|
|
1843
|
+
...n,
|
|
1844
|
+
children: s
|
|
1845
|
+
}
|
|
1846
|
+
);
|
|
1847
|
+
};
|
|
1848
|
+
tr.propTypes = {
|
|
1849
|
+
/**
|
|
1850
|
+
* Is this the primary style for the component?
|
|
1851
|
+
*/
|
|
1852
|
+
primary: t.bool,
|
|
1853
|
+
/**
|
|
1854
|
+
* Size of the component
|
|
1855
|
+
*/
|
|
1856
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1857
|
+
/**
|
|
1858
|
+
* Content to be rendered inside the component
|
|
1859
|
+
*/
|
|
1860
|
+
children: t.node.isRequired
|
|
1861
|
+
};
|
|
1862
|
+
tr.defaultProps = {
|
|
1863
|
+
primary: !1,
|
|
1864
|
+
size: "medium"
|
|
1865
|
+
};
|
|
1866
|
+
const ar = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1867
|
+
const o = r ? "divider--primary" : "divider--secondary";
|
|
1868
|
+
return /* @__PURE__ */ p.jsx(
|
|
1869
|
+
"div",
|
|
1870
|
+
{
|
|
1871
|
+
className: ["divider", `divider--${u}`, o].join(" "),
|
|
1872
|
+
...n,
|
|
1873
|
+
children: s
|
|
1874
|
+
}
|
|
1875
|
+
);
|
|
1876
|
+
};
|
|
1877
|
+
ar.propTypes = {
|
|
1878
|
+
/**
|
|
1879
|
+
* Is this the primary style for the component?
|
|
1880
|
+
*/
|
|
1881
|
+
primary: t.bool,
|
|
1882
|
+
/**
|
|
1883
|
+
* Size of the component
|
|
1884
|
+
*/
|
|
1885
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1886
|
+
/**
|
|
1887
|
+
* Content to be rendered inside the component
|
|
1888
|
+
*/
|
|
1889
|
+
children: t.node.isRequired
|
|
1890
|
+
};
|
|
1891
|
+
ar.defaultProps = {
|
|
1892
|
+
primary: !1,
|
|
1893
|
+
size: "medium"
|
|
1894
|
+
};
|
|
1895
|
+
const or = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1896
|
+
const o = r ? "spacer--primary" : "spacer--secondary";
|
|
1897
|
+
return /* @__PURE__ */ p.jsx(
|
|
1898
|
+
"div",
|
|
1899
|
+
{
|
|
1900
|
+
className: ["spacer", `spacer--${u}`, o].join(" "),
|
|
1901
|
+
...n,
|
|
1902
|
+
children: s
|
|
1903
|
+
}
|
|
1904
|
+
);
|
|
1905
|
+
};
|
|
1906
|
+
or.propTypes = {
|
|
1907
|
+
/**
|
|
1908
|
+
* Is this the primary style for the component?
|
|
1909
|
+
*/
|
|
1910
|
+
primary: t.bool,
|
|
1911
|
+
/**
|
|
1912
|
+
* Size of the component
|
|
1913
|
+
*/
|
|
1914
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1915
|
+
/**
|
|
1916
|
+
* Content to be rendered inside the component
|
|
1917
|
+
*/
|
|
1918
|
+
children: t.node.isRequired
|
|
1919
|
+
};
|
|
1920
|
+
or.defaultProps = {
|
|
1921
|
+
primary: !1,
|
|
1922
|
+
size: "medium"
|
|
1923
|
+
};
|
|
1924
|
+
const ir = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1925
|
+
const o = r ? "tooltip--primary" : "tooltip--secondary";
|
|
1926
|
+
return /* @__PURE__ */ p.jsx(
|
|
1927
|
+
"div",
|
|
1928
|
+
{
|
|
1929
|
+
className: ["tooltip", `tooltip--${u}`, o].join(" "),
|
|
1930
|
+
...n,
|
|
1931
|
+
children: s
|
|
1932
|
+
}
|
|
1933
|
+
);
|
|
1934
|
+
};
|
|
1935
|
+
ir.propTypes = {
|
|
1936
|
+
/**
|
|
1937
|
+
* Is this the primary style for the component?
|
|
1938
|
+
*/
|
|
1939
|
+
primary: t.bool,
|
|
1940
|
+
/**
|
|
1941
|
+
* Size of the component
|
|
1942
|
+
*/
|
|
1943
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1944
|
+
/**
|
|
1945
|
+
* Content to be rendered inside the component
|
|
1946
|
+
*/
|
|
1947
|
+
children: t.node.isRequired
|
|
1948
|
+
};
|
|
1949
|
+
ir.defaultProps = {
|
|
1950
|
+
primary: !1,
|
|
1951
|
+
size: "medium"
|
|
1952
|
+
};
|
|
1953
|
+
const sr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1954
|
+
const o = r ? "badge--primary" : "badge--secondary";
|
|
1955
|
+
return /* @__PURE__ */ p.jsx(
|
|
1956
|
+
"div",
|
|
1957
|
+
{
|
|
1958
|
+
className: ["badge", `badge--${u}`, o].join(" "),
|
|
1959
|
+
...n,
|
|
1960
|
+
children: s
|
|
1961
|
+
}
|
|
1962
|
+
);
|
|
1963
|
+
};
|
|
1964
|
+
sr.propTypes = {
|
|
1965
|
+
/**
|
|
1966
|
+
* Is this the primary style for the component?
|
|
1967
|
+
*/
|
|
1968
|
+
primary: t.bool,
|
|
1969
|
+
/**
|
|
1970
|
+
* Size of the component
|
|
1971
|
+
*/
|
|
1972
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
1973
|
+
/**
|
|
1974
|
+
* Content to be rendered inside the component
|
|
1975
|
+
*/
|
|
1976
|
+
children: t.node.isRequired
|
|
1977
|
+
};
|
|
1978
|
+
sr.defaultProps = {
|
|
1979
|
+
primary: !1,
|
|
1980
|
+
size: "medium"
|
|
1981
|
+
};
|
|
1982
|
+
const ur = ({ primary: r, size: u, children: s, ...n }) => {
|
|
1983
|
+
const o = r ? "tag--primary" : "tag--secondary";
|
|
1984
|
+
return /* @__PURE__ */ p.jsx(
|
|
1985
|
+
"div",
|
|
1986
|
+
{
|
|
1987
|
+
className: ["tag", `tag--${u}`, o].join(" "),
|
|
1988
|
+
...n,
|
|
1989
|
+
children: s
|
|
1990
|
+
}
|
|
1991
|
+
);
|
|
1992
|
+
};
|
|
1993
|
+
ur.propTypes = {
|
|
1994
|
+
/**
|
|
1995
|
+
* Is this the primary style for the component?
|
|
1996
|
+
*/
|
|
1997
|
+
primary: t.bool,
|
|
1998
|
+
/**
|
|
1999
|
+
* Size of the component
|
|
2000
|
+
*/
|
|
2001
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
2002
|
+
/**
|
|
2003
|
+
* Content to be rendered inside the component
|
|
2004
|
+
*/
|
|
2005
|
+
children: t.node.isRequired
|
|
2006
|
+
};
|
|
2007
|
+
ur.defaultProps = {
|
|
2008
|
+
primary: !1,
|
|
2009
|
+
size: "medium"
|
|
2010
|
+
};
|
|
2011
|
+
const cr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
2012
|
+
const o = r ? "loader--primary" : "loader--secondary";
|
|
2013
|
+
return /* @__PURE__ */ p.jsx(
|
|
2014
|
+
"div",
|
|
2015
|
+
{
|
|
2016
|
+
className: ["loader", `loader--${u}`, o].join(" "),
|
|
2017
|
+
...n,
|
|
2018
|
+
children: s
|
|
2019
|
+
}
|
|
2020
|
+
);
|
|
2021
|
+
};
|
|
2022
|
+
cr.propTypes = {
|
|
2023
|
+
/**
|
|
2024
|
+
* Is this the primary style for the component?
|
|
2025
|
+
*/
|
|
2026
|
+
primary: t.bool,
|
|
2027
|
+
/**
|
|
2028
|
+
* Size of the component
|
|
2029
|
+
*/
|
|
2030
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
2031
|
+
/**
|
|
2032
|
+
* Content to be rendered inside the component
|
|
2033
|
+
*/
|
|
2034
|
+
children: t.node.isRequired
|
|
2035
|
+
};
|
|
2036
|
+
cr.defaultProps = {
|
|
2037
|
+
primary: !1,
|
|
2038
|
+
size: "medium"
|
|
2039
|
+
};
|
|
2040
|
+
const lr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
2041
|
+
const o = r ? "spinner--primary" : "spinner--secondary";
|
|
2042
|
+
return /* @__PURE__ */ p.jsx(
|
|
2043
|
+
"div",
|
|
2044
|
+
{
|
|
2045
|
+
className: ["spinner", `spinner--${u}`, o].join(" "),
|
|
2046
|
+
...n,
|
|
2047
|
+
children: s
|
|
2048
|
+
}
|
|
2049
|
+
);
|
|
2050
|
+
};
|
|
2051
|
+
lr.propTypes = {
|
|
2052
|
+
/**
|
|
2053
|
+
* Is this the primary style for the component?
|
|
2054
|
+
*/
|
|
2055
|
+
primary: t.bool,
|
|
2056
|
+
/**
|
|
2057
|
+
* Size of the component
|
|
2058
|
+
*/
|
|
2059
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
2060
|
+
/**
|
|
2061
|
+
* Content to be rendered inside the component
|
|
2062
|
+
*/
|
|
2063
|
+
children: t.node.isRequired
|
|
2064
|
+
};
|
|
2065
|
+
lr.defaultProps = {
|
|
2066
|
+
primary: !1,
|
|
2067
|
+
size: "medium"
|
|
2068
|
+
};
|
|
2069
|
+
const fr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
2070
|
+
const o = r ? "progressbar--primary" : "progressbar--secondary";
|
|
2071
|
+
return /* @__PURE__ */ p.jsx(
|
|
2072
|
+
"div",
|
|
2073
|
+
{
|
|
2074
|
+
className: ["progressbar", `progressbar--${u}`, o].join(" "),
|
|
2075
|
+
...n,
|
|
2076
|
+
children: s
|
|
2077
|
+
}
|
|
2078
|
+
);
|
|
2079
|
+
};
|
|
2080
|
+
fr.propTypes = {
|
|
2081
|
+
/**
|
|
2082
|
+
* Is this the primary style for the component?
|
|
2083
|
+
*/
|
|
2084
|
+
primary: t.bool,
|
|
2085
|
+
/**
|
|
2086
|
+
* Size of the component
|
|
2087
|
+
*/
|
|
2088
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
2089
|
+
/**
|
|
2090
|
+
* Content to be rendered inside the component
|
|
2091
|
+
*/
|
|
2092
|
+
children: t.node.isRequired
|
|
2093
|
+
};
|
|
2094
|
+
fr.defaultProps = {
|
|
2095
|
+
primary: !1,
|
|
2096
|
+
size: "medium"
|
|
2097
|
+
};
|
|
2098
|
+
const dr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
2099
|
+
const o = r ? "alert--primary" : "alert--secondary";
|
|
2100
|
+
return /* @__PURE__ */ p.jsx(
|
|
2101
|
+
"div",
|
|
2102
|
+
{
|
|
2103
|
+
className: ["alert", `alert--${u}`, o].join(" "),
|
|
2104
|
+
...n,
|
|
2105
|
+
children: s
|
|
2106
|
+
}
|
|
2107
|
+
);
|
|
2108
|
+
};
|
|
2109
|
+
dr.propTypes = {
|
|
2110
|
+
/**
|
|
2111
|
+
* Is this the primary style for the component?
|
|
2112
|
+
*/
|
|
2113
|
+
primary: t.bool,
|
|
2114
|
+
/**
|
|
2115
|
+
* Size of the component
|
|
2116
|
+
*/
|
|
2117
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
2118
|
+
/**
|
|
2119
|
+
* Content to be rendered inside the component
|
|
2120
|
+
*/
|
|
2121
|
+
children: t.node.isRequired
|
|
2122
|
+
};
|
|
2123
|
+
dr.defaultProps = {
|
|
2124
|
+
primary: !1,
|
|
2125
|
+
size: "medium"
|
|
2126
|
+
};
|
|
2127
|
+
const pr = ({ primary: r, size: u, children: s, ...n }) => {
|
|
2128
|
+
const o = r ? "snackbar--primary" : "snackbar--secondary";
|
|
2129
|
+
return /* @__PURE__ */ p.jsx(
|
|
2130
|
+
"div",
|
|
2131
|
+
{
|
|
2132
|
+
className: ["snackbar", `snackbar--${u}`, o].join(" "),
|
|
2133
|
+
...n,
|
|
2134
|
+
children: s
|
|
2135
|
+
}
|
|
2136
|
+
);
|
|
2137
|
+
};
|
|
2138
|
+
pr.propTypes = {
|
|
2139
|
+
/**
|
|
2140
|
+
* Is this the primary style for the component?
|
|
2141
|
+
*/
|
|
2142
|
+
primary: t.bool,
|
|
2143
|
+
/**
|
|
2144
|
+
* Size of the component
|
|
2145
|
+
*/
|
|
2146
|
+
size: t.oneOf(["small", "medium", "large"]),
|
|
2147
|
+
/**
|
|
2148
|
+
* Content to be rendered inside the component
|
|
2149
|
+
*/
|
|
2150
|
+
children: t.node.isRequired
|
|
2151
|
+
};
|
|
2152
|
+
pr.defaultProps = {
|
|
2153
|
+
primary: !1,
|
|
2154
|
+
size: "medium"
|
|
2155
|
+
};
|
|
2156
|
+
const Un = {
|
|
2157
|
+
Text: {
|
|
2158
|
+
Heading: Fe,
|
|
2159
|
+
Paragraph: We,
|
|
2160
|
+
Label: Ye,
|
|
2161
|
+
Caption: Le
|
|
2162
|
+
},
|
|
2163
|
+
Interactive: {
|
|
2164
|
+
Container: Be,
|
|
2165
|
+
Button: Ue,
|
|
2166
|
+
Link: Ve,
|
|
2167
|
+
Icon: _e,
|
|
2168
|
+
Checkbox: Ge,
|
|
2169
|
+
RadioButton: Je,
|
|
2170
|
+
Toggle: He,
|
|
2171
|
+
TextInput: Ke,
|
|
2172
|
+
TextArea: Xe,
|
|
2173
|
+
Select: Ze,
|
|
2174
|
+
Slider: Qe,
|
|
2175
|
+
RangeInput: er
|
|
2176
|
+
},
|
|
2177
|
+
Media: {
|
|
2178
|
+
Image: rr,
|
|
2179
|
+
Video: nr,
|
|
2180
|
+
Audio: tr,
|
|
2181
|
+
Icon: _e
|
|
2182
|
+
// Reusing the Icon component
|
|
2183
|
+
},
|
|
2184
|
+
Visual: {
|
|
2185
|
+
Divider: ar,
|
|
2186
|
+
Spacer: or,
|
|
2187
|
+
Tooltip: ir,
|
|
2188
|
+
Badge: sr,
|
|
2189
|
+
Tag: ur
|
|
2190
|
+
},
|
|
2191
|
+
Feedback: {
|
|
2192
|
+
Loader: cr,
|
|
2193
|
+
Spinner: lr,
|
|
2194
|
+
ProgressBar: fr,
|
|
2195
|
+
Alert: dr,
|
|
2196
|
+
Snackbar: pr
|
|
2197
|
+
}
|
|
2198
|
+
};
|
|
2199
|
+
const mr = ({ links: r, logo: u, userControls: s }) => {
|
|
2200
|
+
const n = ({ url: o, label: m, isActive: S, ...y }) => /* @__PURE__ */ p.jsx(
|
|
2201
|
+
"a",
|
|
2202
|
+
{
|
|
2203
|
+
href: o,
|
|
2204
|
+
className: `navbar__link ${S ? "navbar__link--active" : ""}`,
|
|
2205
|
+
...y,
|
|
2206
|
+
children: m
|
|
2207
|
+
}
|
|
2208
|
+
);
|
|
2209
|
+
return n.propTypes = {
|
|
2210
|
+
url: t.string.isRequired,
|
|
2211
|
+
label: t.string.isRequired,
|
|
2212
|
+
isActive: t.bool
|
|
2213
|
+
}, n.defaultProps = {
|
|
2214
|
+
isActive: !1
|
|
2215
|
+
}, /* @__PURE__ */ p.jsxs("nav", { className: "navbar", children: [
|
|
2216
|
+
/* @__PURE__ */ p.jsx("div", { className: "navbar__logo", children: u }),
|
|
2217
|
+
/* @__PURE__ */ p.jsx("ul", { className: "navbar__links", children: r.map((o, m) => /* @__PURE__ */ p.jsx("li", { className: "navbar__item", children: /* @__PURE__ */ p.jsx(
|
|
2218
|
+
n,
|
|
2219
|
+
{
|
|
2220
|
+
url: o.url,
|
|
2221
|
+
label: o.label,
|
|
2222
|
+
isActive: o.isActive
|
|
2223
|
+
}
|
|
2224
|
+
) }, m)) }),
|
|
2225
|
+
/* @__PURE__ */ p.jsx("div", { className: "navbar__controls", children: s })
|
|
2226
|
+
] });
|
|
2227
|
+
};
|
|
2228
|
+
mr.propTypes = {
|
|
2229
|
+
/**
|
|
2230
|
+
* Array of navigation links
|
|
2231
|
+
*/
|
|
2232
|
+
links: t.arrayOf(
|
|
2233
|
+
t.shape({
|
|
2234
|
+
url: t.string.isRequired,
|
|
2235
|
+
label: t.string.isRequired,
|
|
2236
|
+
isActive: t.bool
|
|
2237
|
+
// Optional prop to indicate active link
|
|
2238
|
+
})
|
|
2239
|
+
).isRequired,
|
|
2240
|
+
/**
|
|
2241
|
+
* Logo component or element
|
|
2242
|
+
*/
|
|
2243
|
+
logo: t.node,
|
|
2244
|
+
/**
|
|
2245
|
+
* User control elements (e.g., login/logout buttons)
|
|
2246
|
+
*/
|
|
2247
|
+
userControls: t.node
|
|
2248
|
+
};
|
|
2249
|
+
mr.defaultProps = {
|
|
2250
|
+
logo: null,
|
|
2251
|
+
userControls: null
|
|
2252
|
+
};
|
|
2253
|
+
const yr = (r) => /* @__PURE__ */ p.jsx("div", { className: "sidebar", ...r });
|
|
2254
|
+
yr.propTypes = {
|
|
2255
|
+
// Define prop types here
|
|
2256
|
+
};
|
|
2257
|
+
yr.defaultProps = {
|
|
2258
|
+
// Define default props here
|
|
2259
|
+
};
|
|
2260
|
+
const vr = (r) => /* @__PURE__ */ p.jsx("div", { className: "breadcrumbs", ...r });
|
|
2261
|
+
vr.propTypes = {
|
|
2262
|
+
// Define prop types here
|
|
2263
|
+
};
|
|
2264
|
+
vr.defaultProps = {
|
|
2265
|
+
// Define default props here
|
|
2266
|
+
};
|
|
2267
|
+
const br = (r) => /* @__PURE__ */ p.jsx("div", { className: "inputgroup", ...r });
|
|
2268
|
+
br.propTypes = {
|
|
2269
|
+
// Define prop types here
|
|
2270
|
+
};
|
|
2271
|
+
br.defaultProps = {
|
|
2272
|
+
// Define default props here
|
|
2273
|
+
};
|
|
2274
|
+
const gr = (r) => /* @__PURE__ */ p.jsx("div", { className: "inputwithlabel", ...r });
|
|
2275
|
+
gr.propTypes = {
|
|
2276
|
+
// Define prop types here
|
|
2277
|
+
};
|
|
2278
|
+
gr.defaultProps = {
|
|
2279
|
+
// Define default props here
|
|
2280
|
+
};
|
|
2281
|
+
const hr = (r) => /* @__PURE__ */ p.jsx("div", { className: "searchbar", ...r });
|
|
2282
|
+
hr.propTypes = {
|
|
2283
|
+
// Define prop types here
|
|
2284
|
+
};
|
|
2285
|
+
hr.defaultProps = {
|
|
2286
|
+
// Define default props here
|
|
2287
|
+
};
|
|
2288
|
+
const Tr = (r) => /* @__PURE__ */ p.jsx("div", { className: "fileupload", ...r });
|
|
2289
|
+
Tr.propTypes = {
|
|
2290
|
+
// Define prop types here
|
|
2291
|
+
};
|
|
2292
|
+
Tr.defaultProps = {
|
|
2293
|
+
// Define default props here
|
|
2294
|
+
};
|
|
2295
|
+
const Er = (r) => /* @__PURE__ */ p.jsx("div", { className: "formfield", ...r });
|
|
2296
|
+
Er.propTypes = {
|
|
2297
|
+
// Define prop types here
|
|
2298
|
+
};
|
|
2299
|
+
Er.defaultProps = {
|
|
2300
|
+
// Define default props here
|
|
2301
|
+
};
|
|
2302
|
+
const Rr = (r) => /* @__PURE__ */ p.jsx("div", { className: "iconbutton", ...r });
|
|
2303
|
+
Rr.propTypes = {
|
|
2304
|
+
// Define prop types here
|
|
2305
|
+
};
|
|
2306
|
+
Rr.defaultProps = {
|
|
2307
|
+
// Define default props here
|
|
2308
|
+
};
|
|
2309
|
+
const Pr = (r) => /* @__PURE__ */ p.jsx("div", { className: "buttongroup", ...r });
|
|
2310
|
+
Pr.propTypes = {
|
|
2311
|
+
// Define prop types here
|
|
2312
|
+
};
|
|
2313
|
+
Pr.defaultProps = {
|
|
2314
|
+
// Define default props here
|
|
2315
|
+
};
|
|
2316
|
+
const _r = (r) => /* @__PURE__ */ p.jsx("div", { className: "imagewithcaption", ...r });
|
|
2317
|
+
_r.propTypes = {
|
|
2318
|
+
// Define prop types here
|
|
2319
|
+
};
|
|
2320
|
+
_r.defaultProps = {
|
|
2321
|
+
// Define default props here
|
|
2322
|
+
};
|
|
2323
|
+
const xr = (r) => /* @__PURE__ */ p.jsx("div", { className: "videowithdescription", ...r });
|
|
2324
|
+
xr.propTypes = {
|
|
2325
|
+
// Define prop types here
|
|
2326
|
+
};
|
|
2327
|
+
xr.defaultProps = {
|
|
2328
|
+
// Define default props here
|
|
2329
|
+
};
|
|
2330
|
+
const jr = (r) => /* @__PURE__ */ p.jsx("div", { className: "avatarwithname", ...r });
|
|
2331
|
+
jr.propTypes = {
|
|
2332
|
+
// Define prop types here
|
|
2333
|
+
};
|
|
2334
|
+
jr.defaultProps = {
|
|
2335
|
+
// Define default props here
|
|
2336
|
+
};
|
|
2337
|
+
const Or = (r) => /* @__PURE__ */ p.jsx("div", { className: "audioplayer", ...r });
|
|
2338
|
+
Or.propTypes = {
|
|
2339
|
+
// Define prop types here
|
|
2340
|
+
};
|
|
2341
|
+
Or.defaultProps = {
|
|
2342
|
+
// Define default props here
|
|
2343
|
+
};
|
|
2344
|
+
const Sr = (r) => /* @__PURE__ */ p.jsx("div", { className: "card", ...r });
|
|
2345
|
+
Sr.propTypes = {
|
|
2346
|
+
// Define prop types here
|
|
2347
|
+
};
|
|
2348
|
+
Sr.defaultProps = {
|
|
2349
|
+
// Define default props here
|
|
2350
|
+
};
|
|
2351
|
+
const Cr = (r) => /* @__PURE__ */ p.jsx("div", { className: "mediacard", ...r });
|
|
2352
|
+
Cr.propTypes = {
|
|
2353
|
+
// Define prop types here
|
|
2354
|
+
};
|
|
2355
|
+
Cr.defaultProps = {
|
|
2356
|
+
// Define default props here
|
|
2357
|
+
};
|
|
2358
|
+
const $r = (r) => /* @__PURE__ */ p.jsx("div", { className: "list", ...r });
|
|
2359
|
+
$r.propTypes = {
|
|
2360
|
+
// Define prop types here
|
|
2361
|
+
};
|
|
2362
|
+
$r.defaultProps = {
|
|
2363
|
+
// Define default props here
|
|
2364
|
+
};
|
|
2365
|
+
const wr = (r) => /* @__PURE__ */ p.jsx("div", { className: "accordion", ...r });
|
|
2366
|
+
wr.propTypes = {
|
|
2367
|
+
// Define prop types here
|
|
2368
|
+
};
|
|
2369
|
+
wr.defaultProps = {
|
|
2370
|
+
// Define default props here
|
|
2371
|
+
};
|
|
2372
|
+
const Ar = (r) => /* @__PURE__ */ p.jsx("div", { className: "notification", ...r });
|
|
2373
|
+
Ar.propTypes = {
|
|
2374
|
+
// Define prop types here
|
|
2375
|
+
};
|
|
2376
|
+
Ar.defaultProps = {
|
|
2377
|
+
// Define default props here
|
|
2378
|
+
};
|
|
2379
|
+
const kr = (r) => /* @__PURE__ */ p.jsx("div", { className: "modal", ...r });
|
|
2380
|
+
kr.propTypes = {
|
|
2381
|
+
// Define prop types here
|
|
2382
|
+
};
|
|
2383
|
+
kr.defaultProps = {
|
|
2384
|
+
// Define default props here
|
|
2385
|
+
};
|
|
2386
|
+
const Ir = (r) => /* @__PURE__ */ p.jsx("div", { className: "datatable", ...r });
|
|
2387
|
+
Ir.propTypes = {
|
|
2388
|
+
// Define prop types here
|
|
2389
|
+
};
|
|
2390
|
+
Ir.defaultProps = {
|
|
2391
|
+
// Define default props here
|
|
2392
|
+
};
|
|
2393
|
+
const Nr = (r) => /* @__PURE__ */ p.jsx("div", { className: "pricingtable", ...r });
|
|
2394
|
+
Nr.propTypes = {
|
|
2395
|
+
// Define prop types here
|
|
2396
|
+
};
|
|
2397
|
+
Nr.defaultProps = {
|
|
2398
|
+
// Define default props here
|
|
2399
|
+
};
|
|
2400
|
+
const zr = (r) => /* @__PURE__ */ p.jsx("div", { className: "comparisontable", ...r });
|
|
2401
|
+
zr.propTypes = {
|
|
2402
|
+
// Define prop types here
|
|
2403
|
+
};
|
|
2404
|
+
zr.defaultProps = {
|
|
2405
|
+
// Define default props here
|
|
2406
|
+
};
|
|
2407
|
+
const Vn = {
|
|
2408
|
+
Navigation: {
|
|
2409
|
+
Navbar: mr,
|
|
2410
|
+
Sidebar: yr,
|
|
2411
|
+
Breadcrumbs: vr
|
|
2412
|
+
},
|
|
2413
|
+
FormElements: {
|
|
2414
|
+
InputGroup: br,
|
|
2415
|
+
InputWithLabel: gr,
|
|
2416
|
+
SearchBar: hr,
|
|
2417
|
+
FileUpload: Tr,
|
|
2418
|
+
FormField: Er
|
|
2419
|
+
},
|
|
2420
|
+
ButtonsWithIcons: {
|
|
2421
|
+
IconButton: Rr,
|
|
2422
|
+
ButtonGroup: Pr
|
|
2423
|
+
},
|
|
2424
|
+
MediaMolecules: {
|
|
2425
|
+
ImageWithCaption: _r,
|
|
2426
|
+
VideoWithDescription: xr,
|
|
2427
|
+
AvatarWithName: jr,
|
|
2428
|
+
AudioPlayer: Or
|
|
2429
|
+
},
|
|
2430
|
+
ContentDisplay: {
|
|
2431
|
+
Card: Sr,
|
|
2432
|
+
MediaCard: Cr,
|
|
2433
|
+
List: $r,
|
|
2434
|
+
Accordion: wr
|
|
2435
|
+
},
|
|
2436
|
+
FeedbackMolecules: {
|
|
2437
|
+
Notification: Ar,
|
|
2438
|
+
Modal: kr
|
|
2439
|
+
},
|
|
2440
|
+
Tables: {
|
|
2441
|
+
DataTable: Ir,
|
|
2442
|
+
PricingTable: Nr,
|
|
2443
|
+
ComparisonTable: zr
|
|
2444
|
+
}
|
|
2445
|
+
}, Jn = {
|
|
2446
|
+
atoms: Un,
|
|
2447
|
+
molecules: Vn
|
|
2448
|
+
// ... other categories
|
|
2449
|
+
};
|
|
2450
|
+
export {
|
|
2451
|
+
Jn as GUI,
|
|
2452
|
+
Jn as default
|
|
2453
|
+
};
|