@minimalstuff/ui 0.0.29 → 0.0.31
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/index.d.ts +21 -3
- package/dist/index.es.js +456 -453
- package/dist/index.umd.js +15 -15
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import D from "@emotion/styled";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { keyframes as
|
|
2
|
+
import * as te from "react";
|
|
3
|
+
import ne, { useEffect as Er, createContext as ct, useContext as xr, useState as me, useRef as lt, Fragment as sn, forwardRef as cn } from "react";
|
|
4
|
+
import { keyframes as wr, useTheme as ut, ThemeProvider as ln, css as Ye, Global as un } from "@emotion/react";
|
|
5
5
|
import { useHotkeys as fn } from "react-hotkeys-hook";
|
|
6
6
|
import dn from "hex-rgb";
|
|
7
|
-
import
|
|
7
|
+
import ft from "tinycolor2";
|
|
8
8
|
import { createPortal as pn } from "react-dom";
|
|
9
9
|
import mn from "react-toggle";
|
|
10
10
|
import hn from "react-select";
|
|
11
|
-
import
|
|
11
|
+
import Ur from "js-cookie";
|
|
12
12
|
const wa = D.button(
|
|
13
13
|
({ theme: e, danger: r = !1, secondary: t = !1 }) => {
|
|
14
14
|
const o = r ? e.colors.red.default : e.colors.blue.default, a = r ? e.colors.red.dark : e.colors.blue.dark, i = t ? o : e.colors.white, l = t ? "transparent" : o;
|
|
@@ -34,7 +34,7 @@ const wa = D.button(
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
|
-
var mr = { exports: {} },
|
|
37
|
+
var mr = { exports: {} }, Se = {};
|
|
38
38
|
/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.production.min.js
|
|
@@ -44,21 +44,21 @@ var mr = { exports: {} }, Ce = {};
|
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
|
-
var
|
|
47
|
+
var Br;
|
|
48
48
|
function vn() {
|
|
49
|
-
if (
|
|
50
|
-
|
|
51
|
-
var e =
|
|
52
|
-
function l(c,
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
for (
|
|
56
|
-
if (c && c.defaultProps) for (
|
|
57
|
-
return { $$typeof: r, type: c, key: g, ref: j, props:
|
|
49
|
+
if (Br) return Se;
|
|
50
|
+
Br = 1;
|
|
51
|
+
var e = ne, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
52
|
+
function l(c, d, v) {
|
|
53
|
+
var p, h = {}, g = null, j = null;
|
|
54
|
+
v !== void 0 && (g = "" + v), d.key !== void 0 && (g = "" + d.key), d.ref !== void 0 && (j = d.ref);
|
|
55
|
+
for (p in d) o.call(d, p) && !i.hasOwnProperty(p) && (h[p] = d[p]);
|
|
56
|
+
if (c && c.defaultProps) for (p in d = c.defaultProps, d) h[p] === void 0 && (h[p] = d[p]);
|
|
57
|
+
return { $$typeof: r, type: c, key: g, ref: j, props: h, _owner: a.current };
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return Se.Fragment = t, Se.jsx = l, Se.jsxs = l, Se;
|
|
60
60
|
}
|
|
61
|
-
var
|
|
61
|
+
var Ce = {};
|
|
62
62
|
/**
|
|
63
63
|
* @license React
|
|
64
64
|
* react-jsx-runtime.development.js
|
|
@@ -68,10 +68,10 @@ var Re = {};
|
|
|
68
68
|
* This source code is licensed under the MIT license found in the
|
|
69
69
|
* LICENSE file in the root directory of this source tree.
|
|
70
70
|
*/
|
|
71
|
-
var
|
|
71
|
+
var Gr;
|
|
72
72
|
function bn() {
|
|
73
|
-
return
|
|
74
|
-
var e =
|
|
73
|
+
return Gr || (Gr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
74
|
+
var e = ne, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), $ = Symbol.iterator, x = "@@iterator";
|
|
75
75
|
function M(n) {
|
|
76
76
|
if (n === null || typeof n != "object")
|
|
77
77
|
return null;
|
|
@@ -81,14 +81,14 @@ function bn() {
|
|
|
81
81
|
var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
82
82
|
function y(n) {
|
|
83
83
|
{
|
|
84
|
-
for (var s = arguments.length, f = new Array(s > 1 ? s - 1 : 0),
|
|
85
|
-
f[
|
|
84
|
+
for (var s = arguments.length, f = new Array(s > 1 ? s - 1 : 0), b = 1; b < s; b++)
|
|
85
|
+
f[b - 1] = arguments[b];
|
|
86
86
|
A("error", n, f);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
function A(n, s, f) {
|
|
90
90
|
{
|
|
91
|
-
var
|
|
91
|
+
var b = _.ReactDebugCurrentFrame, R = b.getStackAddendum();
|
|
92
92
|
R !== "" && (s += "%s", f = f.concat([R]));
|
|
93
93
|
var N = f.map(function(w) {
|
|
94
94
|
return String(w);
|
|
@@ -99,16 +99,16 @@ function bn() {
|
|
|
99
99
|
var I = !1, u = !1, Y = !1, P = !1, rr = !1, $e;
|
|
100
100
|
$e = Symbol.for("react.module.reference");
|
|
101
101
|
function tr(n) {
|
|
102
|
-
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || rr || n === a || n ===
|
|
102
|
+
return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || rr || n === a || n === v || n === p || P || n === j || I || u || Y || typeof n == "object" && n !== null && (n.$$typeof === g || n.$$typeof === h || n.$$typeof === l || n.$$typeof === c || n.$$typeof === d || // This needs to include all possible module reference object
|
|
103
103
|
// types supported by any Flight configuration anywhere since
|
|
104
104
|
// we don't know which Flight build this will end up being used
|
|
105
105
|
// with.
|
|
106
106
|
n.$$typeof === $e || n.getModuleId !== void 0));
|
|
107
107
|
}
|
|
108
108
|
function nr(n, s, f) {
|
|
109
|
-
var
|
|
110
|
-
if (
|
|
111
|
-
return
|
|
109
|
+
var b = n.displayName;
|
|
110
|
+
if (b)
|
|
111
|
+
return b;
|
|
112
112
|
var R = s.displayName || s.name || "";
|
|
113
113
|
return R !== "" ? f + "(" + R + ")" : f;
|
|
114
114
|
}
|
|
@@ -131,9 +131,9 @@ function bn() {
|
|
|
131
131
|
return "Profiler";
|
|
132
132
|
case a:
|
|
133
133
|
return "StrictMode";
|
|
134
|
-
case
|
|
134
|
+
case v:
|
|
135
135
|
return "Suspense";
|
|
136
|
-
case
|
|
136
|
+
case p:
|
|
137
137
|
return "SuspenseList";
|
|
138
138
|
}
|
|
139
139
|
if (typeof n == "object")
|
|
@@ -144,11 +144,11 @@ function bn() {
|
|
|
144
144
|
case l:
|
|
145
145
|
var f = n;
|
|
146
146
|
return Ne(f._context) + ".Provider";
|
|
147
|
-
case
|
|
147
|
+
case d:
|
|
148
148
|
return nr(n, n.render, "ForwardRef");
|
|
149
|
-
case
|
|
150
|
-
var
|
|
151
|
-
return
|
|
149
|
+
case h:
|
|
150
|
+
var b = n.displayName || null;
|
|
151
|
+
return b !== null ? b : H(n.type) || "Memo";
|
|
152
152
|
case g: {
|
|
153
153
|
var R = n, N = R._payload, w = R._init;
|
|
154
154
|
try {
|
|
@@ -160,14 +160,14 @@ function bn() {
|
|
|
160
160
|
}
|
|
161
161
|
return null;
|
|
162
162
|
}
|
|
163
|
-
var
|
|
163
|
+
var re = Object.assign, oe = 0, je, Ie, ve, De, be, Fe, Me;
|
|
164
164
|
function Le() {
|
|
165
165
|
}
|
|
166
166
|
Le.__reactDisabledLog = !0;
|
|
167
167
|
function or() {
|
|
168
168
|
{
|
|
169
169
|
if (oe === 0) {
|
|
170
|
-
je = console.log, Ie = console.info,
|
|
170
|
+
je = console.log, Ie = console.info, ve = console.warn, De = console.error, be = console.group, Fe = console.groupCollapsed, Me = console.groupEnd;
|
|
171
171
|
var n = {
|
|
172
172
|
configurable: !0,
|
|
173
173
|
enumerable: !0,
|
|
@@ -196,25 +196,25 @@ function bn() {
|
|
|
196
196
|
writable: !0
|
|
197
197
|
};
|
|
198
198
|
Object.defineProperties(console, {
|
|
199
|
-
log:
|
|
199
|
+
log: re({}, n, {
|
|
200
200
|
value: je
|
|
201
201
|
}),
|
|
202
|
-
info:
|
|
202
|
+
info: re({}, n, {
|
|
203
203
|
value: Ie
|
|
204
204
|
}),
|
|
205
|
-
warn:
|
|
206
|
-
value:
|
|
205
|
+
warn: re({}, n, {
|
|
206
|
+
value: ve
|
|
207
207
|
}),
|
|
208
|
-
error:
|
|
208
|
+
error: re({}, n, {
|
|
209
209
|
value: De
|
|
210
210
|
}),
|
|
211
|
-
group:
|
|
212
|
-
value:
|
|
211
|
+
group: re({}, n, {
|
|
212
|
+
value: be
|
|
213
213
|
}),
|
|
214
|
-
groupCollapsed:
|
|
214
|
+
groupCollapsed: re({}, n, {
|
|
215
215
|
value: Fe
|
|
216
216
|
}),
|
|
217
|
-
groupEnd:
|
|
217
|
+
groupEnd: re({}, n, {
|
|
218
218
|
value: Me
|
|
219
219
|
})
|
|
220
220
|
});
|
|
@@ -222,39 +222,39 @@ function bn() {
|
|
|
222
222
|
oe < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var ge = _.ReactCurrentDispatcher, ye;
|
|
226
226
|
function se(n, s, f) {
|
|
227
227
|
{
|
|
228
|
-
if (
|
|
228
|
+
if (ye === void 0)
|
|
229
229
|
try {
|
|
230
230
|
throw Error();
|
|
231
231
|
} catch (R) {
|
|
232
|
-
var
|
|
233
|
-
|
|
232
|
+
var b = R.stack.trim().match(/\n( *(at )?)/);
|
|
233
|
+
ye = b && b[1] || "";
|
|
234
234
|
}
|
|
235
235
|
return `
|
|
236
|
-
` +
|
|
236
|
+
` + ye + n;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
var
|
|
239
|
+
var Ee = !1, ce;
|
|
240
240
|
{
|
|
241
241
|
var ir = typeof WeakMap == "function" ? WeakMap : Map;
|
|
242
242
|
ce = new ir();
|
|
243
243
|
}
|
|
244
244
|
function m(n, s) {
|
|
245
|
-
if (!n ||
|
|
245
|
+
if (!n || Ee)
|
|
246
246
|
return "";
|
|
247
247
|
{
|
|
248
248
|
var f = ce.get(n);
|
|
249
249
|
if (f !== void 0)
|
|
250
250
|
return f;
|
|
251
251
|
}
|
|
252
|
-
var
|
|
253
|
-
|
|
252
|
+
var b;
|
|
253
|
+
Ee = !0;
|
|
254
254
|
var R = Error.prepareStackTrace;
|
|
255
255
|
Error.prepareStackTrace = void 0;
|
|
256
256
|
var N;
|
|
257
|
-
N =
|
|
257
|
+
N = ge.current, ge.current = null, or();
|
|
258
258
|
try {
|
|
259
259
|
if (s) {
|
|
260
260
|
var w = function() {
|
|
@@ -268,14 +268,14 @@ function bn() {
|
|
|
268
268
|
try {
|
|
269
269
|
Reflect.construct(w, []);
|
|
270
270
|
} catch (B) {
|
|
271
|
-
|
|
271
|
+
b = B;
|
|
272
272
|
}
|
|
273
273
|
Reflect.construct(n, [], w);
|
|
274
274
|
} else {
|
|
275
275
|
try {
|
|
276
276
|
w.call();
|
|
277
277
|
} catch (B) {
|
|
278
|
-
|
|
278
|
+
b = B;
|
|
279
279
|
}
|
|
280
280
|
n.call(w.prototype);
|
|
281
281
|
}
|
|
@@ -283,14 +283,14 @@ function bn() {
|
|
|
283
283
|
try {
|
|
284
284
|
throw Error();
|
|
285
285
|
} catch (B) {
|
|
286
|
-
|
|
286
|
+
b = B;
|
|
287
287
|
}
|
|
288
288
|
n();
|
|
289
289
|
}
|
|
290
290
|
} catch (B) {
|
|
291
|
-
if (B &&
|
|
291
|
+
if (B && b && typeof B.stack == "string") {
|
|
292
292
|
for (var E = B.stack.split(`
|
|
293
|
-
`), U =
|
|
293
|
+
`), U = b.stack.split(`
|
|
294
294
|
`), F = E.length - 1, L = U.length - 1; F >= 1 && L >= 0 && E[F] !== U[L]; )
|
|
295
295
|
L--;
|
|
296
296
|
for (; F >= 1 && L >= 0; F--, L--)
|
|
@@ -307,12 +307,12 @@ function bn() {
|
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
} finally {
|
|
310
|
-
|
|
310
|
+
Ee = !1, ge.current = N, ar(), Error.prepareStackTrace = R;
|
|
311
311
|
}
|
|
312
312
|
var fe = n ? n.displayName || n.name : "", ie = fe ? se(fe) : "";
|
|
313
313
|
return typeof n == "function" && ce.set(n, ie), ie;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function xe(n, s, f) {
|
|
316
316
|
return m(n, !1);
|
|
317
317
|
}
|
|
318
318
|
function le(n) {
|
|
@@ -327,19 +327,19 @@ function bn() {
|
|
|
327
327
|
if (typeof n == "string")
|
|
328
328
|
return se(n);
|
|
329
329
|
switch (n) {
|
|
330
|
-
case
|
|
330
|
+
case v:
|
|
331
331
|
return se("Suspense");
|
|
332
|
-
case
|
|
332
|
+
case p:
|
|
333
333
|
return se("SuspenseList");
|
|
334
334
|
}
|
|
335
335
|
if (typeof n == "object")
|
|
336
336
|
switch (n.$$typeof) {
|
|
337
|
-
case
|
|
338
|
-
return
|
|
339
|
-
case
|
|
337
|
+
case d:
|
|
338
|
+
return xe(n.render);
|
|
339
|
+
case h:
|
|
340
340
|
return ae(n.type, s, f);
|
|
341
341
|
case g: {
|
|
342
|
-
var
|
|
342
|
+
var b = n, R = b._payload, N = b._init;
|
|
343
343
|
try {
|
|
344
344
|
return ae(N(R), s, f);
|
|
345
345
|
} catch {
|
|
@@ -348,90 +348,90 @@ function bn() {
|
|
|
348
348
|
}
|
|
349
349
|
return "";
|
|
350
350
|
}
|
|
351
|
-
var
|
|
351
|
+
var we = Object.prototype.hasOwnProperty, Ar = {}, $r = _.ReactDebugCurrentFrame;
|
|
352
352
|
function Ve(n) {
|
|
353
353
|
if (n) {
|
|
354
354
|
var s = n._owner, f = ae(n.type, n._source, s ? s.type : null);
|
|
355
|
-
|
|
355
|
+
$r.setExtraStackFrame(f);
|
|
356
356
|
} else
|
|
357
|
-
|
|
357
|
+
$r.setExtraStackFrame(null);
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function Mt(n, s, f, b, R) {
|
|
360
360
|
{
|
|
361
|
-
var N = Function.call.bind(
|
|
361
|
+
var N = Function.call.bind(we);
|
|
362
362
|
for (var w in n)
|
|
363
363
|
if (N(n, w)) {
|
|
364
364
|
var E = void 0;
|
|
365
365
|
try {
|
|
366
366
|
if (typeof n[w] != "function") {
|
|
367
|
-
var U = Error((
|
|
367
|
+
var U = Error((b || "React class") + ": " + f + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
368
368
|
throw U.name = "Invariant Violation", U;
|
|
369
369
|
}
|
|
370
|
-
E = n[w](s, w,
|
|
370
|
+
E = n[w](s, w, b, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
371
371
|
} catch (F) {
|
|
372
372
|
E = F;
|
|
373
373
|
}
|
|
374
|
-
E && !(E instanceof Error) && (Ve(R), y("%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).",
|
|
374
|
+
E && !(E instanceof Error) && (Ve(R), y("%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).", b || "React class", f, w, typeof E), Ve(null)), E instanceof Error && !(E.message in Ar) && (Ar[E.message] = !0, Ve(R), y("Failed %s type: %s", f, E.message), Ve(null));
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
var
|
|
378
|
+
var Lt = Array.isArray;
|
|
379
379
|
function sr(n) {
|
|
380
|
-
return
|
|
380
|
+
return Lt(n);
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Vt(n) {
|
|
383
383
|
{
|
|
384
384
|
var s = typeof Symbol == "function" && Symbol.toStringTag, f = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
385
385
|
return f;
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function Yt(n) {
|
|
389
389
|
try {
|
|
390
|
-
return
|
|
390
|
+
return Nr(n), !1;
|
|
391
391
|
} catch {
|
|
392
392
|
return !0;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function Nr(n) {
|
|
396
396
|
return "" + n;
|
|
397
397
|
}
|
|
398
|
-
function
|
|
399
|
-
if (
|
|
400
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
398
|
+
function jr(n) {
|
|
399
|
+
if (Yt(n))
|
|
400
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Vt(n)), Nr(n);
|
|
401
401
|
}
|
|
402
|
-
var
|
|
402
|
+
var _e = _.ReactCurrentOwner, Wt = {
|
|
403
403
|
key: !0,
|
|
404
404
|
ref: !0,
|
|
405
405
|
__self: !0,
|
|
406
406
|
__source: !0
|
|
407
|
-
},
|
|
407
|
+
}, Ir, Dr, cr;
|
|
408
408
|
cr = {};
|
|
409
|
-
function
|
|
410
|
-
if (
|
|
409
|
+
function zt(n) {
|
|
410
|
+
if (we.call(n, "ref")) {
|
|
411
411
|
var s = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
412
412
|
if (s && s.isReactWarning)
|
|
413
413
|
return !1;
|
|
414
414
|
}
|
|
415
415
|
return n.ref !== void 0;
|
|
416
416
|
}
|
|
417
|
-
function
|
|
418
|
-
if (
|
|
417
|
+
function Ut(n) {
|
|
418
|
+
if (we.call(n, "key")) {
|
|
419
419
|
var s = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
420
420
|
if (s && s.isReactWarning)
|
|
421
421
|
return !1;
|
|
422
422
|
}
|
|
423
423
|
return n.key !== void 0;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
if (typeof n.ref == "string" &&
|
|
427
|
-
var f = H(
|
|
428
|
-
cr[f] || (y('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', H(
|
|
425
|
+
function Bt(n, s) {
|
|
426
|
+
if (typeof n.ref == "string" && _e.current && s && _e.current.stateNode !== s) {
|
|
427
|
+
var f = H(_e.current.type);
|
|
428
|
+
cr[f] || (y('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', H(_e.current.type), n.ref), cr[f] = !0);
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function Gt(n, s) {
|
|
432
432
|
{
|
|
433
433
|
var f = function() {
|
|
434
|
-
|
|
434
|
+
Ir || (Ir = !0, y("%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)", s));
|
|
435
435
|
};
|
|
436
436
|
f.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
437
437
|
get: f,
|
|
@@ -439,10 +439,10 @@ function bn() {
|
|
|
439
439
|
});
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function qt(n, s) {
|
|
443
443
|
{
|
|
444
444
|
var f = function() {
|
|
445
|
-
|
|
445
|
+
Dr || (Dr = !0, y("%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)", s));
|
|
446
446
|
};
|
|
447
447
|
f.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
448
448
|
get: f,
|
|
@@ -450,7 +450,7 @@ function bn() {
|
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
|
-
var
|
|
453
|
+
var Ht = function(n, s, f, b, R, N, w) {
|
|
454
454
|
var E = {
|
|
455
455
|
// This tag allows us to uniquely identify this as a React Element
|
|
456
456
|
$$typeof: r,
|
|
@@ -471,7 +471,7 @@ function bn() {
|
|
|
471
471
|
configurable: !1,
|
|
472
472
|
enumerable: !1,
|
|
473
473
|
writable: !1,
|
|
474
|
-
value:
|
|
474
|
+
value: b
|
|
475
475
|
}), Object.defineProperty(E, "_source", {
|
|
476
476
|
configurable: !1,
|
|
477
477
|
enumerable: !1,
|
|
@@ -479,12 +479,12 @@ function bn() {
|
|
|
479
479
|
value: R
|
|
480
480
|
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
481
481
|
};
|
|
482
|
-
function
|
|
482
|
+
function Kt(n, s, f, b, R) {
|
|
483
483
|
{
|
|
484
484
|
var N, w = {}, E = null, U = null;
|
|
485
|
-
f !== void 0 && (
|
|
485
|
+
f !== void 0 && (jr(f), E = "" + f), Ut(s) && (jr(s.key), E = "" + s.key), zt(s) && (U = s.ref, Bt(s, R));
|
|
486
486
|
for (N in s)
|
|
487
|
-
|
|
487
|
+
we.call(s, N) && !Wt.hasOwnProperty(N) && (w[N] = s[N]);
|
|
488
488
|
if (n && n.defaultProps) {
|
|
489
489
|
var F = n.defaultProps;
|
|
490
490
|
for (N in F)
|
|
@@ -492,25 +492,25 @@ function bn() {
|
|
|
492
492
|
}
|
|
493
493
|
if (E || U) {
|
|
494
494
|
var L = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
495
|
-
E &&
|
|
495
|
+
E && Gt(w, L), U && qt(w, L);
|
|
496
496
|
}
|
|
497
|
-
return
|
|
497
|
+
return Ht(n, E, U, R, b, _e.current, w);
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
var lr = _.ReactCurrentOwner,
|
|
500
|
+
var lr = _.ReactCurrentOwner, Fr = _.ReactDebugCurrentFrame;
|
|
501
501
|
function ue(n) {
|
|
502
502
|
if (n) {
|
|
503
503
|
var s = n._owner, f = ae(n.type, n._source, s ? s.type : null);
|
|
504
|
-
|
|
504
|
+
Fr.setExtraStackFrame(f);
|
|
505
505
|
} else
|
|
506
|
-
|
|
506
|
+
Fr.setExtraStackFrame(null);
|
|
507
507
|
}
|
|
508
508
|
var ur;
|
|
509
509
|
ur = !1;
|
|
510
510
|
function fr(n) {
|
|
511
511
|
return typeof n == "object" && n !== null && n.$$typeof === r;
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Mr() {
|
|
514
514
|
{
|
|
515
515
|
if (lr.current) {
|
|
516
516
|
var n = H(lr.current.type);
|
|
@@ -522,13 +522,13 @@ Check the render method of \`` + n + "`.";
|
|
|
522
522
|
return "";
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Jt(n) {
|
|
526
526
|
return "";
|
|
527
527
|
}
|
|
528
|
-
var
|
|
529
|
-
function
|
|
528
|
+
var Lr = {};
|
|
529
|
+
function Zt(n) {
|
|
530
530
|
{
|
|
531
|
-
var s =
|
|
531
|
+
var s = Mr();
|
|
532
532
|
if (!s) {
|
|
533
533
|
var f = typeof n == "string" ? n : n.displayName || n.name;
|
|
534
534
|
f && (s = `
|
|
@@ -538,27 +538,27 @@ Check the top-level render call using <` + f + ">.");
|
|
|
538
538
|
return s;
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function Vr(n, s) {
|
|
542
542
|
{
|
|
543
543
|
if (!n._store || n._store.validated || n.key != null)
|
|
544
544
|
return;
|
|
545
545
|
n._store.validated = !0;
|
|
546
|
-
var f =
|
|
547
|
-
if (
|
|
546
|
+
var f = Zt(s);
|
|
547
|
+
if (Lr[f])
|
|
548
548
|
return;
|
|
549
|
-
|
|
550
|
-
var
|
|
551
|
-
n && n._owner && n._owner !== lr.current && (
|
|
549
|
+
Lr[f] = !0;
|
|
550
|
+
var b = "";
|
|
551
|
+
n && n._owner && n._owner !== lr.current && (b = " It was passed a child from " + H(n._owner.type) + "."), ue(n), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, b), ue(null);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Yr(n, s) {
|
|
555
555
|
{
|
|
556
556
|
if (typeof n != "object")
|
|
557
557
|
return;
|
|
558
558
|
if (sr(n))
|
|
559
559
|
for (var f = 0; f < n.length; f++) {
|
|
560
|
-
var
|
|
561
|
-
fr(
|
|
560
|
+
var b = n[f];
|
|
561
|
+
fr(b) && Vr(b, s);
|
|
562
562
|
}
|
|
563
563
|
else if (fr(n))
|
|
564
564
|
n._store && (n._store.validated = !0);
|
|
@@ -566,11 +566,11 @@ Check the top-level render call using <` + f + ">.");
|
|
|
566
566
|
var R = M(n);
|
|
567
567
|
if (typeof R == "function" && R !== n.entries)
|
|
568
568
|
for (var N = R.call(n), w; !(w = N.next()).done; )
|
|
569
|
-
fr(w.value) &&
|
|
569
|
+
fr(w.value) && Vr(w.value, s);
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function Xt(n) {
|
|
574
574
|
{
|
|
575
575
|
var s = n.type;
|
|
576
576
|
if (s == null || typeof s == "string")
|
|
@@ -578,15 +578,15 @@ Check the top-level render call using <` + f + ">.");
|
|
|
578
578
|
var f;
|
|
579
579
|
if (typeof s == "function")
|
|
580
580
|
f = s.propTypes;
|
|
581
|
-
else if (typeof s == "object" && (s.$$typeof ===
|
|
581
|
+
else if (typeof s == "object" && (s.$$typeof === d || // Note: Memo only checks outer props here.
|
|
582
582
|
// Inner props are checked in the reconciler.
|
|
583
|
-
s.$$typeof ===
|
|
583
|
+
s.$$typeof === h))
|
|
584
584
|
f = s.propTypes;
|
|
585
585
|
else
|
|
586
586
|
return;
|
|
587
587
|
if (f) {
|
|
588
|
-
var
|
|
589
|
-
|
|
588
|
+
var b = H(s);
|
|
589
|
+
Mt(f, n.props, "prop", b, n);
|
|
590
590
|
} else if (s.PropTypes !== void 0 && !ur) {
|
|
591
591
|
ur = !0;
|
|
592
592
|
var R = H(s);
|
|
@@ -595,76 +595,76 @@ Check the top-level render call using <` + f + ">.");
|
|
|
595
595
|
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function Qt(n) {
|
|
599
599
|
{
|
|
600
600
|
for (var s = Object.keys(n.props), f = 0; f < s.length; f++) {
|
|
601
|
-
var
|
|
602
|
-
if (
|
|
603
|
-
ue(n), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
601
|
+
var b = s[f];
|
|
602
|
+
if (b !== "children" && b !== "key") {
|
|
603
|
+
ue(n), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), ue(null);
|
|
604
604
|
break;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
607
|
n.ref !== null && (ue(n), y("Invalid attribute `ref` supplied to `React.Fragment`."), ue(null));
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
function
|
|
610
|
+
var Wr = {};
|
|
611
|
+
function zr(n, s, f, b, R, N) {
|
|
612
612
|
{
|
|
613
613
|
var w = tr(n);
|
|
614
614
|
if (!w) {
|
|
615
615
|
var E = "";
|
|
616
616
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
617
|
-
var U =
|
|
618
|
-
U ? E += U : E +=
|
|
617
|
+
var U = Jt();
|
|
618
|
+
U ? E += U : E += Mr();
|
|
619
619
|
var F;
|
|
620
620
|
n === null ? F = "null" : sr(n) ? F = "array" : n !== void 0 && n.$$typeof === r ? (F = "<" + (H(n.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : F = typeof n, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, E);
|
|
621
621
|
}
|
|
622
|
-
var L =
|
|
622
|
+
var L = Kt(n, s, f, R, N);
|
|
623
623
|
if (L == null)
|
|
624
624
|
return L;
|
|
625
625
|
if (w) {
|
|
626
626
|
var K = s.children;
|
|
627
627
|
if (K !== void 0)
|
|
628
|
-
if (
|
|
628
|
+
if (b)
|
|
629
629
|
if (sr(K)) {
|
|
630
630
|
for (var fe = 0; fe < K.length; fe++)
|
|
631
|
-
|
|
631
|
+
Yr(K[fe], n);
|
|
632
632
|
Object.freeze && Object.freeze(K);
|
|
633
633
|
} else
|
|
634
634
|
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
635
635
|
else
|
|
636
|
-
|
|
636
|
+
Yr(K, n);
|
|
637
637
|
}
|
|
638
|
-
if (
|
|
639
|
-
var ie = H(n), B = Object.keys(s).filter(function(
|
|
640
|
-
return
|
|
638
|
+
if (we.call(s, "key")) {
|
|
639
|
+
var ie = H(n), B = Object.keys(s).filter(function(an) {
|
|
640
|
+
return an !== "key";
|
|
641
641
|
}), dr = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
642
|
-
if (!
|
|
643
|
-
var
|
|
642
|
+
if (!Wr[ie + dr]) {
|
|
643
|
+
var on = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
|
|
644
644
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
645
645
|
let props = %s;
|
|
646
646
|
<%s {...props} />
|
|
647
647
|
React keys must be passed directly to JSX without using spread:
|
|
648
648
|
let props = %s;
|
|
649
|
-
<%s key={someKey} {...props} />`, dr, ie,
|
|
649
|
+
<%s key={someKey} {...props} />`, dr, ie, on, ie), Wr[ie + dr] = !0;
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
return n === o ?
|
|
652
|
+
return n === o ? Qt(L) : Xt(L), L;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
return
|
|
655
|
+
function en(n, s, f) {
|
|
656
|
+
return zr(n, s, f, !0);
|
|
657
657
|
}
|
|
658
|
-
function
|
|
659
|
-
return
|
|
658
|
+
function rn(n, s, f) {
|
|
659
|
+
return zr(n, s, f, !1);
|
|
660
660
|
}
|
|
661
|
-
var
|
|
662
|
-
|
|
663
|
-
}()),
|
|
661
|
+
var tn = rn, nn = en;
|
|
662
|
+
Ce.Fragment = o, Ce.jsx = tn, Ce.jsxs = nn;
|
|
663
|
+
}()), Ce;
|
|
664
664
|
}
|
|
665
665
|
process.env.NODE_ENV === "production" ? mr.exports = vn() : mr.exports = bn();
|
|
666
666
|
var k = mr.exports;
|
|
667
|
-
|
|
667
|
+
wr({
|
|
668
668
|
"0%": {
|
|
669
669
|
opacity: 0
|
|
670
670
|
},
|
|
@@ -672,7 +672,7 @@ xr({
|
|
|
672
672
|
opacity: 1
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
|
-
|
|
675
|
+
wr({
|
|
676
676
|
to: {
|
|
677
677
|
transform: "rotate(0deg)"
|
|
678
678
|
},
|
|
@@ -680,7 +680,7 @@ xr({
|
|
|
680
680
|
transform: "rotate(360deg)"
|
|
681
681
|
}
|
|
682
682
|
});
|
|
683
|
-
const gn =
|
|
683
|
+
const gn = wr({
|
|
684
684
|
from: {
|
|
685
685
|
opacity: 0,
|
|
686
686
|
transform: "scale(0.95)"
|
|
@@ -689,9 +689,9 @@ const gn = xr({
|
|
|
689
689
|
opacity: 1,
|
|
690
690
|
transform: "scale(1)"
|
|
691
691
|
}
|
|
692
|
-
}),
|
|
692
|
+
}), _r = D.div(({ theme: e }) => ({
|
|
693
693
|
animation: `${e.transitions.delay.normal} ${gn} both`
|
|
694
|
-
})), yn = D(
|
|
694
|
+
})), yn = D(_r)(
|
|
695
695
|
({ show: e, theme: r }) => ({
|
|
696
696
|
zIndex: 99,
|
|
697
697
|
position: "absolute",
|
|
@@ -713,8 +713,8 @@ const gn = xr({
|
|
|
713
713
|
display: "flex",
|
|
714
714
|
gap: "0.35em"
|
|
715
715
|
}));
|
|
716
|
-
function
|
|
717
|
-
|
|
716
|
+
function dt(e, r) {
|
|
717
|
+
Er(() => {
|
|
718
718
|
function t(o) {
|
|
719
719
|
var a;
|
|
720
720
|
e != null && e.current && !((a = e.current) != null && a.contains(o.target)) && r();
|
|
@@ -733,12 +733,12 @@ const xn = "escape", wn = "ArrowUp", _n = "ArrowDown", Sn = {
|
|
|
733
733
|
}
|
|
734
734
|
}, Rn = ct(
|
|
735
735
|
Cn
|
|
736
|
-
),
|
|
737
|
-
function
|
|
736
|
+
), pt = () => xr(Rn);
|
|
737
|
+
function mt(e, r, { enabled: t, disableGlobalCheck: o } = {
|
|
738
738
|
enabled: !0,
|
|
739
739
|
disableGlobalCheck: !1
|
|
740
740
|
}) {
|
|
741
|
-
const { globalHotkeysEnabled: a } =
|
|
741
|
+
const { globalHotkeysEnabled: a } = pt();
|
|
742
742
|
return fn(
|
|
743
743
|
Sn[e],
|
|
744
744
|
(i) => {
|
|
@@ -751,7 +751,7 @@ function ht(e, r, { enabled: t, disableGlobalCheck: o } = {
|
|
|
751
751
|
);
|
|
752
752
|
}
|
|
753
753
|
const Tn = (e = !1) => {
|
|
754
|
-
const [r, t] =
|
|
754
|
+
const [r, t] = me(e);
|
|
755
755
|
return {
|
|
756
756
|
isShowing: r,
|
|
757
757
|
toggle: () => t((l) => !l),
|
|
@@ -785,7 +785,7 @@ function _a({
|
|
|
785
785
|
svgSize: o
|
|
786
786
|
}) {
|
|
787
787
|
const a = lt(null), { isShowing: i, toggle: l, close: c } = Tn();
|
|
788
|
-
return
|
|
788
|
+
return dt(a, c), mt("ESCAPE_KEY", c, { disableGlobalCheck: !0 }), /* @__PURE__ */ k.jsxs(
|
|
789
789
|
On,
|
|
790
790
|
{
|
|
791
791
|
opened: i,
|
|
@@ -800,7 +800,7 @@ function _a({
|
|
|
800
800
|
}
|
|
801
801
|
);
|
|
802
802
|
}
|
|
803
|
-
const
|
|
803
|
+
const ht = D("div", {
|
|
804
804
|
shouldForwardProp: (e) => e !== "danger"
|
|
805
805
|
})(({ theme: e, danger: r }) => ({
|
|
806
806
|
fontSize: "14px",
|
|
@@ -811,11 +811,11 @@ const vt = D("div", {
|
|
|
811
811
|
"&:hover": {
|
|
812
812
|
backgroundColor: e.colors.background
|
|
813
813
|
}
|
|
814
|
-
})), Sa = D(
|
|
814
|
+
})), Sa = D(ht)({
|
|
815
815
|
display: "flex",
|
|
816
816
|
gap: "0.75em",
|
|
817
817
|
alignItems: "center"
|
|
818
|
-
}), Ca = D(
|
|
818
|
+
}), Ca = D(ht.withComponent("a"))({
|
|
819
819
|
width: "100%",
|
|
820
820
|
display: "flex",
|
|
821
821
|
gap: "0.75em",
|
|
@@ -834,7 +834,7 @@ const kn = D.div({
|
|
|
834
834
|
flex: 1,
|
|
835
835
|
alignItems: "center",
|
|
836
836
|
flexDirection: "column"
|
|
837
|
-
}), Pn = D(
|
|
837
|
+
}), Pn = D(_r)(({ theme: e }) => ({
|
|
838
838
|
minWidth: "500px",
|
|
839
839
|
background: e.colors.background,
|
|
840
840
|
padding: "1em",
|
|
@@ -865,9 +865,9 @@ const kn = D.div({
|
|
|
865
865
|
border: 0,
|
|
866
866
|
padding: 0,
|
|
867
867
|
margin: 0
|
|
868
|
-
})),
|
|
868
|
+
})), Q = (e, r) => `rgba(${dn(e, { format: "array" }).slice(0, -1).join(",")},${r})`;
|
|
869
869
|
function X(e) {
|
|
870
|
-
const r =
|
|
870
|
+
const r = ft(e.color);
|
|
871
871
|
if (!r.isValid())
|
|
872
872
|
throw new Error("Invalid color provided");
|
|
873
873
|
return {
|
|
@@ -900,7 +900,7 @@ function We({
|
|
|
900
900
|
multiplicator: t,
|
|
901
901
|
type: o
|
|
902
902
|
}) {
|
|
903
|
-
return
|
|
903
|
+
return ft(e)[o](r * t).toString();
|
|
904
904
|
}
|
|
905
905
|
const Nn = D.div(({ theme: e }) => ({
|
|
906
906
|
zIndex: 9999,
|
|
@@ -909,20 +909,20 @@ const Nn = D.div(({ theme: e }) => ({
|
|
|
909
909
|
left: 0,
|
|
910
910
|
height: "100%",
|
|
911
911
|
width: "100%",
|
|
912
|
-
background:
|
|
912
|
+
background: Q(e.colors.black, 0.35),
|
|
913
913
|
backdropFilter: "blur(0.1em)",
|
|
914
914
|
display: "flex",
|
|
915
915
|
alignItems: "center",
|
|
916
916
|
flexDirection: "column",
|
|
917
917
|
transition: e.transitions.delay.normal
|
|
918
918
|
}));
|
|
919
|
-
var
|
|
919
|
+
var vt = {
|
|
920
920
|
color: void 0,
|
|
921
921
|
size: void 0,
|
|
922
922
|
className: void 0,
|
|
923
923
|
style: void 0,
|
|
924
924
|
attr: void 0
|
|
925
|
-
},
|
|
925
|
+
}, qr = ne.createContext && /* @__PURE__ */ ne.createContext(vt), jn = ["attr", "size", "title"];
|
|
926
926
|
function In(e, r) {
|
|
927
927
|
if (e == null) return {};
|
|
928
928
|
var t = Dn(e, r), o, a;
|
|
@@ -953,7 +953,7 @@ function qe() {
|
|
|
953
953
|
return e;
|
|
954
954
|
}, qe.apply(this, arguments);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Hr(e, r) {
|
|
957
957
|
var t = Object.keys(e);
|
|
958
958
|
if (Object.getOwnPropertySymbols) {
|
|
959
959
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -966,9 +966,9 @@ function qr(e, r) {
|
|
|
966
966
|
function He(e) {
|
|
967
967
|
for (var r = 1; r < arguments.length; r++) {
|
|
968
968
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
969
|
-
r % 2 ?
|
|
969
|
+
r % 2 ? Hr(Object(t), !0).forEach(function(o) {
|
|
970
970
|
Fn(e, o, t[o]);
|
|
971
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) :
|
|
971
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Hr(Object(t)).forEach(function(o) {
|
|
972
972
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
|
|
973
973
|
});
|
|
974
974
|
}
|
|
@@ -991,15 +991,15 @@ function Ln(e, r) {
|
|
|
991
991
|
}
|
|
992
992
|
return (r === "string" ? String : Number)(e);
|
|
993
993
|
}
|
|
994
|
-
function
|
|
995
|
-
return e && e.map((r, t) => /* @__PURE__ */
|
|
994
|
+
function bt(e) {
|
|
995
|
+
return e && e.map((r, t) => /* @__PURE__ */ ne.createElement(r.tag, He({
|
|
996
996
|
key: t
|
|
997
|
-
}, r.attr),
|
|
997
|
+
}, r.attr), bt(r.child)));
|
|
998
998
|
}
|
|
999
999
|
function Vn(e) {
|
|
1000
|
-
return (r) => /* @__PURE__ */
|
|
1000
|
+
return (r) => /* @__PURE__ */ ne.createElement(Yn, qe({
|
|
1001
1001
|
attr: He({}, e.attr)
|
|
1002
|
-
}, r),
|
|
1002
|
+
}, r), bt(e.child));
|
|
1003
1003
|
}
|
|
1004
1004
|
function Yn(e) {
|
|
1005
1005
|
var r = (t) => {
|
|
@@ -1007,22 +1007,22 @@ function Yn(e) {
|
|
|
1007
1007
|
attr: o,
|
|
1008
1008
|
size: a,
|
|
1009
1009
|
title: i
|
|
1010
|
-
} = e, l = In(e, jn), c = a || t.size || "1em",
|
|
1011
|
-
return t.className && (
|
|
1010
|
+
} = e, l = In(e, jn), c = a || t.size || "1em", d;
|
|
1011
|
+
return t.className && (d = t.className), e.className && (d = (d ? d + " " : "") + e.className), /* @__PURE__ */ ne.createElement("svg", qe({
|
|
1012
1012
|
stroke: "currentColor",
|
|
1013
1013
|
fill: "currentColor",
|
|
1014
1014
|
strokeWidth: "0"
|
|
1015
1015
|
}, t.attr, o, l, {
|
|
1016
|
-
className:
|
|
1016
|
+
className: d,
|
|
1017
1017
|
style: He(He({
|
|
1018
1018
|
color: e.color || t.color
|
|
1019
1019
|
}, t.style), e.style),
|
|
1020
1020
|
height: c,
|
|
1021
1021
|
width: c,
|
|
1022
1022
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1023
|
-
}), i && /* @__PURE__ */
|
|
1023
|
+
}), i && /* @__PURE__ */ ne.createElement("title", null, i), e.children);
|
|
1024
1024
|
};
|
|
1025
|
-
return
|
|
1025
|
+
return qr !== void 0 ? /* @__PURE__ */ ne.createElement(qr.Consumer, null, (t) => r(t)) : r(vt);
|
|
1026
1026
|
}
|
|
1027
1027
|
function Wn(e) {
|
|
1028
1028
|
return Vn({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(e);
|
|
@@ -1045,11 +1045,11 @@ function Ta({
|
|
|
1045
1045
|
className: a,
|
|
1046
1046
|
close: i
|
|
1047
1047
|
}) {
|
|
1048
|
-
const l = lt(null), { setGlobalHotkeysEnabled: c } =
|
|
1049
|
-
return
|
|
1048
|
+
const l = lt(null), { setGlobalHotkeysEnabled: c } = pt();
|
|
1049
|
+
return dt(l, i), mt("ESCAPE_KEY", i, { disableGlobalCheck: !0 }), Er(
|
|
1050
1050
|
() => c(!t),
|
|
1051
1051
|
[t, c]
|
|
1052
|
-
), typeof window > "u" ? /* @__PURE__ */ k.jsx(
|
|
1052
|
+
), typeof window > "u" ? /* @__PURE__ */ k.jsx(sn, {}) : t && pn(
|
|
1053
1053
|
/* @__PURE__ */ k.jsx(Nn, { children: /* @__PURE__ */ k.jsxs(Pn, { className: a, ref: l, children: [
|
|
1054
1054
|
(!o || e) && /* @__PURE__ */ k.jsxs(An, { children: [
|
|
1055
1055
|
e && /* @__PURE__ */ k.jsx(zn, { children: e }),
|
|
@@ -1068,7 +1068,7 @@ function Ta({
|
|
|
1068
1068
|
);
|
|
1069
1069
|
}
|
|
1070
1070
|
const Oa = D.img(({ theme: e, size: r = 48 }) => {
|
|
1071
|
-
const t =
|
|
1071
|
+
const t = Q(e.colors.black, 0.1);
|
|
1072
1072
|
return {
|
|
1073
1073
|
height: `${r}px`,
|
|
1074
1074
|
width: `${r}px`,
|
|
@@ -1083,10 +1083,10 @@ const Oa = D.img(({ theme: e, size: r = 48 }) => {
|
|
|
1083
1083
|
return {
|
|
1084
1084
|
userSelect: "none",
|
|
1085
1085
|
cursor: "pointer",
|
|
1086
|
-
backgroundColor: r ?
|
|
1086
|
+
backgroundColor: r ? Q(o, 0.15) : e.colors.secondary,
|
|
1087
1087
|
padding: "10px 20px",
|
|
1088
|
-
border: `1px solid ${r ?
|
|
1089
|
-
borderBottom: `1px solid ${r ?
|
|
1088
|
+
border: `1px solid ${r ? Q(o, 0.1) : e.colors.secondary}`,
|
|
1089
|
+
borderBottom: `1px solid ${r ? Q(o, 0.25) : e.colors.secondary}`,
|
|
1090
1090
|
display: "flex",
|
|
1091
1091
|
gap: "0.35em",
|
|
1092
1092
|
alignItems: "center",
|
|
@@ -1101,12 +1101,12 @@ const Oa = D.img(({ theme: e, size: r = 48 }) => {
|
|
|
1101
1101
|
}), Gn = D.div(({ theme: e }) => ({
|
|
1102
1102
|
zIndex: 1,
|
|
1103
1103
|
position: "relative",
|
|
1104
|
-
border: `1px solid ${
|
|
1104
|
+
border: `1px solid ${Q(e.colors.blue.default, 0.25)}`,
|
|
1105
1105
|
padding: "20px",
|
|
1106
1106
|
marginTop: "-1px"
|
|
1107
1107
|
}));
|
|
1108
1108
|
function ka({ tabs: e }) {
|
|
1109
|
-
const [r, t] =
|
|
1109
|
+
const [r, t] = me(0), o = (a) => {
|
|
1110
1110
|
t(a);
|
|
1111
1111
|
};
|
|
1112
1112
|
return /* @__PURE__ */ k.jsxs("div", { children: [
|
|
@@ -1123,7 +1123,7 @@ function ka({ tabs: e }) {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
c
|
|
1125
1125
|
)) }),
|
|
1126
|
-
/* @__PURE__ */ k.jsx(Gn, { children: /* @__PURE__ */ k.jsx(
|
|
1126
|
+
/* @__PURE__ */ k.jsx(Gn, { children: /* @__PURE__ */ k.jsx(_r, { children: e[r].content }) }, e[r].title)
|
|
1127
1127
|
] });
|
|
1128
1128
|
}
|
|
1129
1129
|
function qn(e) {
|
|
@@ -1171,11 +1171,11 @@ var Kn = /* @__PURE__ */ function() {
|
|
|
1171
1171
|
return o.parentNode && o.parentNode.removeChild(o);
|
|
1172
1172
|
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
|
|
1173
1173
|
}, e;
|
|
1174
|
-
}(), z = "-ms-", Ke = "-moz-", S = "-webkit-",
|
|
1174
|
+
}(), z = "-ms-", Ke = "-moz-", S = "-webkit-", Sr = "comm", Cr = "rule", Rr = "decl", Jn = "@import", gt = "@keyframes", Zn = "@layer", Xn = Math.abs, Ze = String.fromCharCode, Qn = Object.assign;
|
|
1175
1175
|
function eo(e, r) {
|
|
1176
1176
|
return W(e, 0) ^ 45 ? (((r << 2 ^ W(e, 0)) << 2 ^ W(e, 1)) << 2 ^ W(e, 2)) << 2 ^ W(e, 3) : 0;
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function yt(e) {
|
|
1179
1179
|
return e.trim();
|
|
1180
1180
|
}
|
|
1181
1181
|
function ro(e, r) {
|
|
@@ -1196,7 +1196,7 @@ function Oe(e, r, t) {
|
|
|
1196
1196
|
function Z(e) {
|
|
1197
1197
|
return e.length;
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Tr(e) {
|
|
1200
1200
|
return e.length;
|
|
1201
1201
|
}
|
|
1202
1202
|
function ze(e, r) {
|
|
@@ -1205,30 +1205,30 @@ function ze(e, r) {
|
|
|
1205
1205
|
function to(e, r) {
|
|
1206
1206
|
return e.map(r).join("");
|
|
1207
1207
|
}
|
|
1208
|
-
var Xe = 1,
|
|
1208
|
+
var Xe = 1, pe = 1, Et = 0, G = 0, V = 0, he = "";
|
|
1209
1209
|
function Qe(e, r, t, o, a, i, l) {
|
|
1210
|
-
return { value: e, root: r, parent: t, type: o, props: a, children: i, line: Xe, column:
|
|
1210
|
+
return { value: e, root: r, parent: t, type: o, props: a, children: i, line: Xe, column: pe, length: l, return: "" };
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1212
|
+
function Re(e, r) {
|
|
1213
1213
|
return Qn(Qe("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
1214
1214
|
}
|
|
1215
1215
|
function no() {
|
|
1216
1216
|
return V;
|
|
1217
1217
|
}
|
|
1218
1218
|
function oo() {
|
|
1219
|
-
return V = G > 0 ? W(
|
|
1219
|
+
return V = G > 0 ? W(he, --G) : 0, pe--, V === 10 && (pe = 1, Xe--), V;
|
|
1220
1220
|
}
|
|
1221
1221
|
function q() {
|
|
1222
|
-
return V = G <
|
|
1222
|
+
return V = G < Et ? W(he, G++) : 0, pe++, V === 10 && (pe = 1, Xe++), V;
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return W(
|
|
1224
|
+
function ee() {
|
|
1225
|
+
return W(he, G);
|
|
1226
1226
|
}
|
|
1227
1227
|
function Ue() {
|
|
1228
1228
|
return G;
|
|
1229
1229
|
}
|
|
1230
1230
|
function Ae(e, r) {
|
|
1231
|
-
return Oe(
|
|
1231
|
+
return Oe(he, e, r);
|
|
1232
1232
|
}
|
|
1233
1233
|
function ke(e) {
|
|
1234
1234
|
switch (e) {
|
|
@@ -1262,24 +1262,24 @@ function ke(e) {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
return 0;
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return Xe =
|
|
1265
|
+
function xt(e) {
|
|
1266
|
+
return Xe = pe = 1, Et = Z(he = e), G = 0, [];
|
|
1267
1267
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return
|
|
1268
|
+
function wt(e) {
|
|
1269
|
+
return he = "", e;
|
|
1270
1270
|
}
|
|
1271
1271
|
function Be(e) {
|
|
1272
|
-
return
|
|
1272
|
+
return yt(Ae(G - 1, vr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
1273
1273
|
}
|
|
1274
1274
|
function ao(e) {
|
|
1275
|
-
for (; (V =
|
|
1275
|
+
for (; (V = ee()) && V < 33; )
|
|
1276
1276
|
q();
|
|
1277
1277
|
return ke(e) > 2 || ke(V) > 3 ? "" : " ";
|
|
1278
1278
|
}
|
|
1279
1279
|
function io(e, r) {
|
|
1280
1280
|
for (; --r && q() && !(V < 48 || V > 102 || V > 57 && V < 65 || V > 70 && V < 97); )
|
|
1281
1281
|
;
|
|
1282
|
-
return Ae(e, Ue() + (r < 6 &&
|
|
1282
|
+
return Ae(e, Ue() + (r < 6 && ee() == 32 && q() == 32));
|
|
1283
1283
|
}
|
|
1284
1284
|
function vr(e) {
|
|
1285
1285
|
for (; q(); )
|
|
@@ -1301,23 +1301,23 @@ function vr(e) {
|
|
|
1301
1301
|
}
|
|
1302
1302
|
function so(e, r) {
|
|
1303
1303
|
for (; q() && e + V !== 57; )
|
|
1304
|
-
if (e + V === 84 &&
|
|
1304
|
+
if (e + V === 84 && ee() === 47)
|
|
1305
1305
|
break;
|
|
1306
1306
|
return "/*" + Ae(r, G - 1) + "*" + Ze(e === 47 ? e : q());
|
|
1307
1307
|
}
|
|
1308
1308
|
function co(e) {
|
|
1309
|
-
for (; !ke(
|
|
1309
|
+
for (; !ke(ee()); )
|
|
1310
1310
|
q();
|
|
1311
1311
|
return Ae(e, G);
|
|
1312
1312
|
}
|
|
1313
1313
|
function lo(e) {
|
|
1314
|
-
return
|
|
1314
|
+
return wt(Ge("", null, null, null, [""], e = xt(e), 0, [0], e));
|
|
1315
1315
|
}
|
|
1316
|
-
function Ge(e, r, t, o, a, i, l, c,
|
|
1317
|
-
for (var
|
|
1316
|
+
function Ge(e, r, t, o, a, i, l, c, d) {
|
|
1317
|
+
for (var v = 0, p = 0, h = l, g = 0, j = 0, $ = 0, x = 1, M = 1, _ = 1, y = 0, A = "", I = a, u = i, Y = o, P = A; M; )
|
|
1318
1318
|
switch ($ = y, y = q()) {
|
|
1319
1319
|
case 40:
|
|
1320
|
-
if ($ != 108 && W(P,
|
|
1320
|
+
if ($ != 108 && W(P, h - 1) == 58) {
|
|
1321
1321
|
hr(P += C(Be(y), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
1322
1322
|
break;
|
|
1323
1323
|
}
|
|
@@ -1336,17 +1336,17 @@ function Ge(e, r, t, o, a, i, l, c, p) {
|
|
|
1336
1336
|
P += io(Ue() - 1, 7);
|
|
1337
1337
|
continue;
|
|
1338
1338
|
case 47:
|
|
1339
|
-
switch (
|
|
1339
|
+
switch (ee()) {
|
|
1340
1340
|
case 42:
|
|
1341
1341
|
case 47:
|
|
1342
|
-
ze(uo(so(q(), Ue()), r, t),
|
|
1342
|
+
ze(uo(so(q(), Ue()), r, t), d);
|
|
1343
1343
|
break;
|
|
1344
1344
|
default:
|
|
1345
1345
|
P += "/";
|
|
1346
1346
|
}
|
|
1347
1347
|
break;
|
|
1348
1348
|
case 123 * x:
|
|
1349
|
-
c[
|
|
1349
|
+
c[v++] = Z(P) * _;
|
|
1350
1350
|
case 125 * x:
|
|
1351
1351
|
case 59:
|
|
1352
1352
|
case 0:
|
|
@@ -1354,31 +1354,31 @@ function Ge(e, r, t, o, a, i, l, c, p) {
|
|
|
1354
1354
|
case 0:
|
|
1355
1355
|
case 125:
|
|
1356
1356
|
M = 0;
|
|
1357
|
-
case 59 +
|
|
1358
|
-
_ == -1 && (P = C(P, /\f/g, "")), j > 0 && Z(P) -
|
|
1357
|
+
case 59 + p:
|
|
1358
|
+
_ == -1 && (P = C(P, /\f/g, "")), j > 0 && Z(P) - h && ze(j > 32 ? Jr(P + ";", o, t, h - 1) : Jr(C(P, " ", "") + ";", o, t, h - 2), d);
|
|
1359
1359
|
break;
|
|
1360
1360
|
case 59:
|
|
1361
1361
|
P += ";";
|
|
1362
1362
|
default:
|
|
1363
|
-
if (ze(Y =
|
|
1364
|
-
if (
|
|
1365
|
-
Ge(P, r, Y, Y, I, i,
|
|
1363
|
+
if (ze(Y = Kr(P, r, t, v, p, a, c, A, I = [], u = [], h), i), y === 123)
|
|
1364
|
+
if (p === 0)
|
|
1365
|
+
Ge(P, r, Y, Y, I, i, h, c, u);
|
|
1366
1366
|
else
|
|
1367
1367
|
switch (g === 99 && W(P, 3) === 110 ? 100 : g) {
|
|
1368
1368
|
case 100:
|
|
1369
1369
|
case 108:
|
|
1370
1370
|
case 109:
|
|
1371
1371
|
case 115:
|
|
1372
|
-
Ge(e, Y, Y, o && ze(
|
|
1372
|
+
Ge(e, Y, Y, o && ze(Kr(e, Y, Y, 0, 0, a, c, A, a, I = [], h), u), a, u, h, c, o ? I : u);
|
|
1373
1373
|
break;
|
|
1374
1374
|
default:
|
|
1375
1375
|
Ge(P, Y, Y, Y, [""], u, 0, c, u);
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
|
-
|
|
1378
|
+
v = p = j = 0, x = _ = 1, A = P = "", h = l;
|
|
1379
1379
|
break;
|
|
1380
1380
|
case 58:
|
|
1381
|
-
|
|
1381
|
+
h = 1 + Z(P), j = $;
|
|
1382
1382
|
default:
|
|
1383
1383
|
if (x < 1) {
|
|
1384
1384
|
if (y == 123)
|
|
@@ -1388,13 +1388,13 @@ function Ge(e, r, t, o, a, i, l, c, p) {
|
|
|
1388
1388
|
}
|
|
1389
1389
|
switch (P += Ze(y), y * x) {
|
|
1390
1390
|
case 38:
|
|
1391
|
-
_ =
|
|
1391
|
+
_ = p > 0 ? 1 : (P += "\f", -1);
|
|
1392
1392
|
break;
|
|
1393
1393
|
case 44:
|
|
1394
|
-
c[
|
|
1394
|
+
c[v++] = (Z(P) - 1) * _, _ = 1;
|
|
1395
1395
|
break;
|
|
1396
1396
|
case 64:
|
|
1397
|
-
|
|
1397
|
+
ee() === 45 && (P += Be(q())), g = ee(), p = h = Z(A = P += co(Ue())), y++;
|
|
1398
1398
|
break;
|
|
1399
1399
|
case 45:
|
|
1400
1400
|
$ === 45 && Z(P) == 2 && (x = 0);
|
|
@@ -1402,20 +1402,20 @@ function Ge(e, r, t, o, a, i, l, c, p) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
return i;
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1406
|
-
for (var
|
|
1407
|
-
for (var _ = 0, y = Oe(e,
|
|
1408
|
-
(A =
|
|
1409
|
-
return Qe(e, r, t, a === 0 ?
|
|
1405
|
+
function Kr(e, r, t, o, a, i, l, c, d, v, p) {
|
|
1406
|
+
for (var h = a - 1, g = a === 0 ? i : [""], j = Tr(g), $ = 0, x = 0, M = 0; $ < o; ++$)
|
|
1407
|
+
for (var _ = 0, y = Oe(e, h + 1, h = Xn(x = l[$])), A = e; _ < j; ++_)
|
|
1408
|
+
(A = yt(x > 0 ? g[_] + " " + y : C(y, /&\f/g, g[_]))) && (d[M++] = A);
|
|
1409
|
+
return Qe(e, r, t, a === 0 ? Cr : c, d, v, p);
|
|
1410
1410
|
}
|
|
1411
1411
|
function uo(e, r, t) {
|
|
1412
|
-
return Qe(e, r, t,
|
|
1412
|
+
return Qe(e, r, t, Sr, Ze(no()), Oe(e, 2, -2), 0);
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1415
|
-
return Qe(e, r, t,
|
|
1414
|
+
function Jr(e, r, t, o) {
|
|
1415
|
+
return Qe(e, r, t, Rr, Oe(e, 0, o), Oe(e, o + 1, -1), o);
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1418
|
-
for (var t = "", o =
|
|
1417
|
+
function de(e, r) {
|
|
1418
|
+
for (var t = "", o = Tr(e), a = 0; a < o; a++)
|
|
1419
1419
|
t += r(e[a], a, e, r) || "";
|
|
1420
1420
|
return t;
|
|
1421
1421
|
}
|
|
@@ -1424,19 +1424,19 @@ function fo(e, r, t, o) {
|
|
|
1424
1424
|
case Zn:
|
|
1425
1425
|
if (e.children.length) break;
|
|
1426
1426
|
case Jn:
|
|
1427
|
-
case
|
|
1427
|
+
case Rr:
|
|
1428
1428
|
return e.return = e.return || e.value;
|
|
1429
|
-
case _r:
|
|
1430
|
-
return "";
|
|
1431
|
-
case yt:
|
|
1432
|
-
return e.return = e.value + "{" + pe(e.children, o) + "}";
|
|
1433
1429
|
case Sr:
|
|
1430
|
+
return "";
|
|
1431
|
+
case gt:
|
|
1432
|
+
return e.return = e.value + "{" + de(e.children, o) + "}";
|
|
1433
|
+
case Cr:
|
|
1434
1434
|
e.value = e.props.join(",");
|
|
1435
1435
|
}
|
|
1436
|
-
return Z(t =
|
|
1436
|
+
return Z(t = de(e.children, o)) ? e.return = e.value + "{" + t + "}" : "";
|
|
1437
1437
|
}
|
|
1438
1438
|
function po(e) {
|
|
1439
|
-
var r =
|
|
1439
|
+
var r = Tr(e);
|
|
1440
1440
|
return function(t, o, a, i) {
|
|
1441
1441
|
for (var l = "", c = 0; c < r; c++)
|
|
1442
1442
|
l += e[c](t, o, a, i) || "";
|
|
@@ -1455,7 +1455,7 @@ function ho(e) {
|
|
|
1455
1455
|
};
|
|
1456
1456
|
}
|
|
1457
1457
|
var vo = function(r, t, o) {
|
|
1458
|
-
for (var a = 0, i = 0; a = i, i =
|
|
1458
|
+
for (var a = 0, i = 0; a = i, i = ee(), a === 38 && i === 12 && (t[o] = 1), !ke(i); )
|
|
1459
1459
|
q();
|
|
1460
1460
|
return Ae(r, G);
|
|
1461
1461
|
}, bo = function(r, t) {
|
|
@@ -1463,14 +1463,14 @@ var vo = function(r, t, o) {
|
|
|
1463
1463
|
do
|
|
1464
1464
|
switch (ke(a)) {
|
|
1465
1465
|
case 0:
|
|
1466
|
-
a === 38 &&
|
|
1466
|
+
a === 38 && ee() === 12 && (t[o] = 1), r[o] += vo(G - 1, t, o);
|
|
1467
1467
|
break;
|
|
1468
1468
|
case 2:
|
|
1469
1469
|
r[o] += Be(a);
|
|
1470
1470
|
break;
|
|
1471
1471
|
case 4:
|
|
1472
1472
|
if (a === 44) {
|
|
1473
|
-
r[++o] =
|
|
1473
|
+
r[++o] = ee() === 58 ? "&\f" : "", t[o] = r[o].length;
|
|
1474
1474
|
break;
|
|
1475
1475
|
}
|
|
1476
1476
|
default:
|
|
@@ -1479,18 +1479,18 @@ var vo = function(r, t, o) {
|
|
|
1479
1479
|
while (a = q());
|
|
1480
1480
|
return r;
|
|
1481
1481
|
}, go = function(r, t) {
|
|
1482
|
-
return
|
|
1483
|
-
},
|
|
1482
|
+
return wt(bo(xt(r), t));
|
|
1483
|
+
}, Zr = /* @__PURE__ */ new WeakMap(), yo = function(r) {
|
|
1484
1484
|
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
|
|
1485
1485
|
// negative .length indicates that this rule has been already prefixed
|
|
1486
1486
|
r.length < 1)) {
|
|
1487
1487
|
for (var t = r.value, o = r.parent, a = r.column === o.column && r.line === o.line; o.type !== "rule"; )
|
|
1488
1488
|
if (o = o.parent, !o) return;
|
|
1489
|
-
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !
|
|
1490
|
-
|
|
1491
|
-
for (var i = [], l = go(t, i), c = o.props,
|
|
1492
|
-
for (var
|
|
1493
|
-
r.props[
|
|
1489
|
+
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Zr.get(o)) && !a) {
|
|
1490
|
+
Zr.set(r, !0);
|
|
1491
|
+
for (var i = [], l = go(t, i), c = o.props, d = 0, v = 0; d < l.length; d++)
|
|
1492
|
+
for (var p = 0; p < c.length; p++, v++)
|
|
1493
|
+
r.props[v] = i[d] ? l[d].replace(/&\f/g, c[p]) : c[p] + " " + l[d];
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
1496
1496
|
}, Eo = function(r) {
|
|
@@ -1510,35 +1510,35 @@ var vo = function(r, t, o) {
|
|
|
1510
1510
|
for (var l = !!t.parent, c = l ? t.parent.children : (
|
|
1511
1511
|
// global rule at the root level
|
|
1512
1512
|
a
|
|
1513
|
-
),
|
|
1514
|
-
var
|
|
1515
|
-
if (
|
|
1513
|
+
), d = c.length - 1; d >= 0; d--) {
|
|
1514
|
+
var v = c[d];
|
|
1515
|
+
if (v.line < t.line)
|
|
1516
1516
|
break;
|
|
1517
|
-
if (
|
|
1518
|
-
if (wo(
|
|
1517
|
+
if (v.column < t.column) {
|
|
1518
|
+
if (wo(v))
|
|
1519
1519
|
return;
|
|
1520
1520
|
break;
|
|
1521
1521
|
}
|
|
1522
1522
|
}
|
|
1523
|
-
i.forEach(function(
|
|
1524
|
-
console.error('The pseudo class "' +
|
|
1523
|
+
i.forEach(function(p) {
|
|
1524
|
+
console.error('The pseudo class "' + p + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + p.split("-child")[0] + '-of-type".');
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
};
|
|
1529
|
-
},
|
|
1529
|
+
}, _t = function(r) {
|
|
1530
1530
|
return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
|
|
1531
1531
|
}, So = function(r, t) {
|
|
1532
1532
|
for (var o = r - 1; o >= 0; o--)
|
|
1533
|
-
if (!
|
|
1533
|
+
if (!_t(t[o]))
|
|
1534
1534
|
return !0;
|
|
1535
1535
|
return !1;
|
|
1536
|
-
},
|
|
1536
|
+
}, Xr = function(r) {
|
|
1537
1537
|
r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
|
|
1538
1538
|
}, Co = function(r, t, o) {
|
|
1539
|
-
|
|
1539
|
+
_t(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), Xr(r)) : So(t, o) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), Xr(r)));
|
|
1540
1540
|
};
|
|
1541
|
-
function
|
|
1541
|
+
function St(e, r) {
|
|
1542
1542
|
switch (eo(e, r)) {
|
|
1543
1543
|
case 5103:
|
|
1544
1544
|
return S + "print-" + e + e;
|
|
@@ -1623,7 +1623,7 @@ function Ct(e, r) {
|
|
|
1623
1623
|
case 102:
|
|
1624
1624
|
return C(e, /(.+:)(.+)-([^]+)/, "$1" + S + "$2-$3$1" + Ke + (W(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1625
1625
|
case 115:
|
|
1626
|
-
return ~hr(e, "stretch") ?
|
|
1626
|
+
return ~hr(e, "stretch") ? St(C(e, "stretch", "fill-available"), r) + e : e;
|
|
1627
1627
|
}
|
|
1628
1628
|
break;
|
|
1629
1629
|
case 4949:
|
|
@@ -1651,27 +1651,27 @@ function Ct(e, r) {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
var Ro = function(r, t, o, a) {
|
|
1653
1653
|
if (r.length > -1 && !r.return) switch (r.type) {
|
|
1654
|
-
case
|
|
1655
|
-
r.return =
|
|
1654
|
+
case Rr:
|
|
1655
|
+
r.return = St(r.value, r.length);
|
|
1656
1656
|
break;
|
|
1657
|
-
case
|
|
1658
|
-
return
|
|
1657
|
+
case gt:
|
|
1658
|
+
return de([Re(r, {
|
|
1659
1659
|
value: C(r.value, "@", "@" + S)
|
|
1660
1660
|
})], a);
|
|
1661
|
-
case
|
|
1661
|
+
case Cr:
|
|
1662
1662
|
if (r.length) return to(r.props, function(i) {
|
|
1663
1663
|
switch (ro(i, /(::plac\w+|:read-\w+)/)) {
|
|
1664
1664
|
case ":read-only":
|
|
1665
1665
|
case ":read-write":
|
|
1666
|
-
return
|
|
1666
|
+
return de([Re(r, {
|
|
1667
1667
|
props: [C(i, /:(read-\w+)/, ":" + Ke + "$1")]
|
|
1668
1668
|
})], a);
|
|
1669
1669
|
case "::placeholder":
|
|
1670
|
-
return
|
|
1670
|
+
return de([Re(r, {
|
|
1671
1671
|
props: [C(i, /:(plac\w+)/, ":" + S + "input-$1")]
|
|
1672
|
-
}),
|
|
1672
|
+
}), Re(r, {
|
|
1673
1673
|
props: [C(i, /:(plac\w+)/, ":" + Ke + "$1")]
|
|
1674
|
-
}),
|
|
1674
|
+
}), Re(r, {
|
|
1675
1675
|
props: [C(i, /:(plac\w+)/, z + "input-$1")]
|
|
1676
1676
|
})], a);
|
|
1677
1677
|
}
|
|
@@ -1704,22 +1704,22 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1704
1704
|
c.push(x);
|
|
1705
1705
|
}
|
|
1706
1706
|
);
|
|
1707
|
-
var
|
|
1708
|
-
process.env.NODE_ENV !== "production" &&
|
|
1707
|
+
var d, v = [yo, Eo];
|
|
1708
|
+
process.env.NODE_ENV !== "production" && v.push(_o({
|
|
1709
1709
|
get compat() {
|
|
1710
1710
|
return $.compat;
|
|
1711
1711
|
}
|
|
1712
1712
|
}), Co);
|
|
1713
1713
|
{
|
|
1714
|
-
var
|
|
1715
|
-
x.root || (x.return ?
|
|
1714
|
+
var p, h = [fo, process.env.NODE_ENV !== "production" ? function(x) {
|
|
1715
|
+
x.root || (x.return ? p.insert(x.return) : x.value && x.type !== Sr && p.insert(x.value + "{}"));
|
|
1716
1716
|
} : mo(function(x) {
|
|
1717
|
-
|
|
1718
|
-
})], g = po(
|
|
1719
|
-
return
|
|
1717
|
+
p.insert(x);
|
|
1718
|
+
})], g = po(v.concat(a, h)), j = function(M) {
|
|
1719
|
+
return de(lo(M), g);
|
|
1720
1720
|
};
|
|
1721
|
-
|
|
1722
|
-
|
|
1721
|
+
d = function(M, _, y, A) {
|
|
1722
|
+
p = y, process.env.NODE_ENV !== "production" && _.map !== void 0 && (p = {
|
|
1723
1723
|
insert: function(u) {
|
|
1724
1724
|
y.insert(u + _.map);
|
|
1725
1725
|
}
|
|
@@ -1739,7 +1739,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1739
1739
|
nonce: r.nonce,
|
|
1740
1740
|
inserted: i,
|
|
1741
1741
|
registered: {},
|
|
1742
|
-
insert:
|
|
1742
|
+
insert: d
|
|
1743
1743
|
};
|
|
1744
1744
|
return $.sheet.hydrate(c), $;
|
|
1745
1745
|
}, br = { exports: {} }, T = {};
|
|
@@ -1751,28 +1751,28 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1751
1751
|
* This source code is licensed under the MIT license found in the
|
|
1752
1752
|
* LICENSE file in the root directory of this source tree.
|
|
1753
1753
|
*/
|
|
1754
|
-
var
|
|
1754
|
+
var Qr;
|
|
1755
1755
|
function ko() {
|
|
1756
|
-
if (
|
|
1757
|
-
|
|
1758
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110,
|
|
1756
|
+
if (Qr) return T;
|
|
1757
|
+
Qr = 1;
|
|
1758
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, j = e ? Symbol.for("react.memo") : 60115, $ = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
1759
1759
|
function A(u) {
|
|
1760
1760
|
if (typeof u == "object" && u !== null) {
|
|
1761
1761
|
var Y = u.$$typeof;
|
|
1762
1762
|
switch (Y) {
|
|
1763
1763
|
case r:
|
|
1764
1764
|
switch (u = u.type, u) {
|
|
1765
|
-
case
|
|
1766
|
-
case
|
|
1765
|
+
case d:
|
|
1766
|
+
case v:
|
|
1767
1767
|
case o:
|
|
1768
1768
|
case i:
|
|
1769
1769
|
case a:
|
|
1770
|
-
case
|
|
1770
|
+
case h:
|
|
1771
1771
|
return u;
|
|
1772
1772
|
default:
|
|
1773
1773
|
switch (u = u && u.$$typeof, u) {
|
|
1774
1774
|
case c:
|
|
1775
|
-
case
|
|
1775
|
+
case p:
|
|
1776
1776
|
case $:
|
|
1777
1777
|
case j:
|
|
1778
1778
|
case l:
|
|
@@ -1787,10 +1787,10 @@ function ko() {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
}
|
|
1789
1789
|
function I(u) {
|
|
1790
|
-
return A(u) ===
|
|
1790
|
+
return A(u) === v;
|
|
1791
1791
|
}
|
|
1792
|
-
return T.AsyncMode =
|
|
1793
|
-
return I(u) || A(u) ===
|
|
1792
|
+
return T.AsyncMode = d, T.ConcurrentMode = v, T.ContextConsumer = c, T.ContextProvider = l, T.Element = r, T.ForwardRef = p, T.Fragment = o, T.Lazy = $, T.Memo = j, T.Portal = t, T.Profiler = i, T.StrictMode = a, T.Suspense = h, T.isAsyncMode = function(u) {
|
|
1793
|
+
return I(u) || A(u) === d;
|
|
1794
1794
|
}, T.isConcurrentMode = I, T.isContextConsumer = function(u) {
|
|
1795
1795
|
return A(u) === c;
|
|
1796
1796
|
}, T.isContextProvider = function(u) {
|
|
@@ -1798,7 +1798,7 @@ function ko() {
|
|
|
1798
1798
|
}, T.isElement = function(u) {
|
|
1799
1799
|
return typeof u == "object" && u !== null && u.$$typeof === r;
|
|
1800
1800
|
}, T.isForwardRef = function(u) {
|
|
1801
|
-
return A(u) ===
|
|
1801
|
+
return A(u) === p;
|
|
1802
1802
|
}, T.isFragment = function(u) {
|
|
1803
1803
|
return A(u) === o;
|
|
1804
1804
|
}, T.isLazy = function(u) {
|
|
@@ -1812,9 +1812,9 @@ function ko() {
|
|
|
1812
1812
|
}, T.isStrictMode = function(u) {
|
|
1813
1813
|
return A(u) === a;
|
|
1814
1814
|
}, T.isSuspense = function(u) {
|
|
1815
|
-
return A(u) ===
|
|
1815
|
+
return A(u) === h;
|
|
1816
1816
|
}, T.isValidElementType = function(u) {
|
|
1817
|
-
return typeof u == "string" || typeof u == "function" || u === o || u ===
|
|
1817
|
+
return typeof u == "string" || typeof u == "function" || u === o || u === v || u === i || u === a || u === h || u === g || typeof u == "object" && u !== null && (u.$$typeof === $ || u.$$typeof === j || u.$$typeof === l || u.$$typeof === c || u.$$typeof === p || u.$$typeof === M || u.$$typeof === _ || u.$$typeof === y || u.$$typeof === x);
|
|
1818
1818
|
}, T.typeOf = A, T;
|
|
1819
1819
|
}
|
|
1820
1820
|
var O = {};
|
|
@@ -1826,52 +1826,52 @@ var O = {};
|
|
|
1826
1826
|
* This source code is licensed under the MIT license found in the
|
|
1827
1827
|
* LICENSE file in the root directory of this source tree.
|
|
1828
1828
|
*/
|
|
1829
|
-
var
|
|
1829
|
+
var et;
|
|
1830
1830
|
function Po() {
|
|
1831
|
-
return
|
|
1832
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110,
|
|
1831
|
+
return et || (et = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1832
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, j = e ? Symbol.for("react.memo") : 60115, $ = e ? Symbol.for("react.lazy") : 60116, x = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
1833
1833
|
function A(m) {
|
|
1834
1834
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1835
|
-
m === o || m ===
|
|
1835
|
+
m === o || m === v || m === i || m === a || m === h || m === g || typeof m == "object" && m !== null && (m.$$typeof === $ || m.$$typeof === j || m.$$typeof === l || m.$$typeof === c || m.$$typeof === p || m.$$typeof === M || m.$$typeof === _ || m.$$typeof === y || m.$$typeof === x);
|
|
1836
1836
|
}
|
|
1837
1837
|
function I(m) {
|
|
1838
1838
|
if (typeof m == "object" && m !== null) {
|
|
1839
|
-
var
|
|
1840
|
-
switch (
|
|
1839
|
+
var xe = m.$$typeof;
|
|
1840
|
+
switch (xe) {
|
|
1841
1841
|
case r:
|
|
1842
1842
|
var le = m.type;
|
|
1843
1843
|
switch (le) {
|
|
1844
|
-
case
|
|
1845
|
-
case
|
|
1844
|
+
case d:
|
|
1845
|
+
case v:
|
|
1846
1846
|
case o:
|
|
1847
1847
|
case i:
|
|
1848
1848
|
case a:
|
|
1849
|
-
case
|
|
1849
|
+
case h:
|
|
1850
1850
|
return le;
|
|
1851
1851
|
default:
|
|
1852
1852
|
var ae = le && le.$$typeof;
|
|
1853
1853
|
switch (ae) {
|
|
1854
1854
|
case c:
|
|
1855
|
-
case
|
|
1855
|
+
case p:
|
|
1856
1856
|
case $:
|
|
1857
1857
|
case j:
|
|
1858
1858
|
case l:
|
|
1859
1859
|
return ae;
|
|
1860
1860
|
default:
|
|
1861
|
-
return
|
|
1861
|
+
return xe;
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
1864
|
case t:
|
|
1865
|
-
return
|
|
1865
|
+
return xe;
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
|
-
var u =
|
|
1869
|
+
var u = d, Y = v, P = c, rr = l, $e = r, tr = p, nr = o, Ne = $, H = j, re = t, oe = i, je = a, Ie = h, ve = !1;
|
|
1870
1870
|
function De(m) {
|
|
1871
|
-
return
|
|
1871
|
+
return ve || (ve = !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.")), be(m) || I(m) === d;
|
|
1872
1872
|
}
|
|
1873
|
-
function
|
|
1874
|
-
return I(m) ===
|
|
1873
|
+
function be(m) {
|
|
1874
|
+
return I(m) === v;
|
|
1875
1875
|
}
|
|
1876
1876
|
function Fe(m) {
|
|
1877
1877
|
return I(m) === c;
|
|
@@ -1883,34 +1883,34 @@ function Po() {
|
|
|
1883
1883
|
return typeof m == "object" && m !== null && m.$$typeof === r;
|
|
1884
1884
|
}
|
|
1885
1885
|
function or(m) {
|
|
1886
|
-
return I(m) ===
|
|
1886
|
+
return I(m) === p;
|
|
1887
1887
|
}
|
|
1888
1888
|
function ar(m) {
|
|
1889
1889
|
return I(m) === o;
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function ge(m) {
|
|
1892
1892
|
return I(m) === $;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function ye(m) {
|
|
1895
1895
|
return I(m) === j;
|
|
1896
1896
|
}
|
|
1897
1897
|
function se(m) {
|
|
1898
1898
|
return I(m) === t;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function Ee(m) {
|
|
1901
1901
|
return I(m) === i;
|
|
1902
1902
|
}
|
|
1903
1903
|
function ce(m) {
|
|
1904
1904
|
return I(m) === a;
|
|
1905
1905
|
}
|
|
1906
1906
|
function ir(m) {
|
|
1907
|
-
return I(m) ===
|
|
1907
|
+
return I(m) === h;
|
|
1908
1908
|
}
|
|
1909
|
-
O.AsyncMode = u, O.ConcurrentMode = Y, O.ContextConsumer = P, O.ContextProvider = rr, O.Element = $e, O.ForwardRef = tr, O.Fragment = nr, O.Lazy = Ne, O.Memo = H, O.Portal =
|
|
1909
|
+
O.AsyncMode = u, O.ConcurrentMode = Y, O.ContextConsumer = P, O.ContextProvider = rr, O.Element = $e, O.ForwardRef = tr, O.Fragment = nr, O.Lazy = Ne, O.Memo = H, O.Portal = re, O.Profiler = oe, O.StrictMode = je, O.Suspense = Ie, O.isAsyncMode = De, O.isConcurrentMode = be, O.isContextConsumer = Fe, O.isContextProvider = Me, O.isElement = Le, O.isForwardRef = or, O.isFragment = ar, O.isLazy = ge, O.isMemo = ye, O.isPortal = se, O.isProfiler = Ee, O.isStrictMode = ce, O.isSuspense = ir, O.isValidElementType = A, O.typeOf = I;
|
|
1910
1910
|
}()), O;
|
|
1911
1911
|
}
|
|
1912
1912
|
process.env.NODE_ENV === "production" ? br.exports = ko() : br.exports = Po();
|
|
1913
|
-
var Ao = br.exports,
|
|
1913
|
+
var Ao = br.exports, Ct = Ao, $o = {
|
|
1914
1914
|
$$typeof: !0,
|
|
1915
1915
|
render: !0,
|
|
1916
1916
|
defaultProps: !0,
|
|
@@ -1923,9 +1923,9 @@ var Ao = br.exports, Rt = Ao, $o = {
|
|
|
1923
1923
|
displayName: !0,
|
|
1924
1924
|
propTypes: !0,
|
|
1925
1925
|
type: !0
|
|
1926
|
-
},
|
|
1927
|
-
|
|
1928
|
-
|
|
1926
|
+
}, Rt = {};
|
|
1927
|
+
Rt[Ct.ForwardRef] = $o;
|
|
1928
|
+
Rt[Ct.Memo] = No;
|
|
1929
1929
|
var jo = !0;
|
|
1930
1930
|
function Io(e, r, t) {
|
|
1931
1931
|
var o = "";
|
|
@@ -1933,7 +1933,7 @@ function Io(e, r, t) {
|
|
|
1933
1933
|
e[a] !== void 0 ? r.push(e[a] + ";") : o += a + " ";
|
|
1934
1934
|
}), o;
|
|
1935
1935
|
}
|
|
1936
|
-
var
|
|
1936
|
+
var Tt = function(r, t, o) {
|
|
1937
1937
|
var a = r.key + "-" + t.name;
|
|
1938
1938
|
// we only need to add the styles to the registered cache if the
|
|
1939
1939
|
// class name could be used further down
|
|
@@ -1946,7 +1946,7 @@ var Ot = function(r, t, o) {
|
|
|
1946
1946
|
// also, note that this check will be dead code eliminated in the browser
|
|
1947
1947
|
jo === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
|
|
1948
1948
|
}, Do = function(r, t, o) {
|
|
1949
|
-
|
|
1949
|
+
Tt(r, t, o);
|
|
1950
1950
|
var a = r.key + "-" + t.name;
|
|
1951
1951
|
if (r.inserted[t.name] === void 0) {
|
|
1952
1952
|
var i = t;
|
|
@@ -2022,21 +2022,21 @@ var Mo = {
|
|
|
2022
2022
|
strokeMiterlimit: 1,
|
|
2023
2023
|
strokeOpacity: 1,
|
|
2024
2024
|
strokeWidth: 1
|
|
2025
|
-
},
|
|
2025
|
+
}, rt = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
2026
2026
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
2027
2027
|
You can read more about this here:
|
|
2028
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Lo = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Vo = /[A-Z]|^ms/g,
|
|
2028
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Lo = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Vo = /[A-Z]|^ms/g, Ot = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Or = function(r) {
|
|
2029
2029
|
return r.charCodeAt(1) === 45;
|
|
2030
|
-
},
|
|
2030
|
+
}, tt = function(r) {
|
|
2031
2031
|
return r != null && typeof r != "boolean";
|
|
2032
2032
|
}, pr = /* @__PURE__ */ ho(function(e) {
|
|
2033
|
-
return
|
|
2033
|
+
return Or(e) ? e : e.replace(Vo, "-$&").toLowerCase();
|
|
2034
2034
|
}), Je = function(r, t) {
|
|
2035
2035
|
switch (r) {
|
|
2036
2036
|
case "animation":
|
|
2037
2037
|
case "animationName":
|
|
2038
2038
|
if (typeof t == "string")
|
|
2039
|
-
return t.replace(
|
|
2039
|
+
return t.replace(Ot, function(o, a, i) {
|
|
2040
2040
|
return J = {
|
|
2041
2041
|
name: a,
|
|
2042
2042
|
styles: i,
|
|
@@ -2044,26 +2044,26 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
2044
2044
|
}, a;
|
|
2045
2045
|
});
|
|
2046
2046
|
}
|
|
2047
|
-
return Mo[r] !== 1 && !
|
|
2047
|
+
return Mo[r] !== 1 && !Or(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
2048
2048
|
};
|
|
2049
2049
|
if (process.env.NODE_ENV !== "production") {
|
|
2050
|
-
var Yo = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, Wo = ["normal", "none", "initial", "inherit", "unset"], zo = Je, Uo = /^-ms-/, Bo = /-(.)/g,
|
|
2050
|
+
var Yo = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, Wo = ["normal", "none", "initial", "inherit", "unset"], zo = Je, Uo = /^-ms-/, Bo = /-(.)/g, nt = {};
|
|
2051
2051
|
Je = function(r, t) {
|
|
2052
2052
|
if (r === "content" && (typeof t != "string" || Wo.indexOf(t) === -1 && !Yo.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")))
|
|
2053
2053
|
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + t + "\"'`");
|
|
2054
2054
|
var o = zo(r, t);
|
|
2055
|
-
return o !== "" && !
|
|
2055
|
+
return o !== "" && !Or(r) && r.indexOf("-") !== -1 && nt[r] === void 0 && (nt[r] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + r.replace(Uo, "ms-").replace(Bo, function(a, i) {
|
|
2056
2056
|
return i.toUpperCase();
|
|
2057
2057
|
}) + "?")), o;
|
|
2058
2058
|
};
|
|
2059
2059
|
}
|
|
2060
|
-
var
|
|
2060
|
+
var kt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
2061
2061
|
function Pe(e, r, t) {
|
|
2062
2062
|
if (t == null)
|
|
2063
2063
|
return "";
|
|
2064
2064
|
if (t.__emotion_styles !== void 0) {
|
|
2065
2065
|
if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
|
|
2066
|
-
throw new Error(
|
|
2066
|
+
throw new Error(kt);
|
|
2067
2067
|
return t;
|
|
2068
2068
|
}
|
|
2069
2069
|
switch (typeof t) {
|
|
@@ -2099,16 +2099,16 @@ function Pe(e, r, t) {
|
|
|
2099
2099
|
}
|
|
2100
2100
|
case "string":
|
|
2101
2101
|
if (process.env.NODE_ENV !== "production") {
|
|
2102
|
-
var c = [],
|
|
2102
|
+
var c = [], d = t.replace(Ot, function(v, p, h) {
|
|
2103
2103
|
var g = "animation" + c.length;
|
|
2104
|
-
return c.push("const " + g + " = keyframes`" +
|
|
2104
|
+
return c.push("const " + g + " = keyframes`" + h.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + g + "}";
|
|
2105
2105
|
});
|
|
2106
|
-
c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" +
|
|
2106
|
+
c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" + d + "`"]).join(`
|
|
2107
2107
|
`) + `
|
|
2108
2108
|
|
|
2109
2109
|
You should wrap it with \`css\` like this:
|
|
2110
2110
|
|
|
2111
|
-
` + ("css`" +
|
|
2111
|
+
` + ("css`" + d + "`"));
|
|
2112
2112
|
}
|
|
2113
2113
|
break;
|
|
2114
2114
|
}
|
|
@@ -2123,64 +2123,64 @@ function Go(e, r, t) {
|
|
|
2123
2123
|
for (var i in t) {
|
|
2124
2124
|
var l = t[i];
|
|
2125
2125
|
if (typeof l != "object")
|
|
2126
|
-
|
|
2126
|
+
tt(l) && (o += pr(i) + ":" + Je(i, l) + ";");
|
|
2127
2127
|
else {
|
|
2128
2128
|
if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
2129
|
-
throw new Error(
|
|
2129
|
+
throw new Error(kt);
|
|
2130
2130
|
if (Array.isArray(l) && typeof l[0] == "string" && r == null)
|
|
2131
2131
|
for (var c = 0; c < l.length; c++)
|
|
2132
|
-
|
|
2132
|
+
tt(l[c]) && (o += pr(i) + ":" + Je(i, l[c]) + ";");
|
|
2133
2133
|
else {
|
|
2134
|
-
var
|
|
2134
|
+
var d = Pe(e, r, l);
|
|
2135
2135
|
switch (i) {
|
|
2136
2136
|
case "animation":
|
|
2137
2137
|
case "animationName": {
|
|
2138
|
-
o += pr(i) + ":" +
|
|
2138
|
+
o += pr(i) + ":" + d + ";";
|
|
2139
2139
|
break;
|
|
2140
2140
|
}
|
|
2141
2141
|
default:
|
|
2142
|
-
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(Lo), o += i + "{" +
|
|
2142
|
+
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(Lo), o += i + "{" + d + "}";
|
|
2143
2143
|
}
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
2147
|
return o;
|
|
2148
2148
|
}
|
|
2149
|
-
var
|
|
2150
|
-
process.env.NODE_ENV !== "production" && (
|
|
2151
|
-
var J,
|
|
2149
|
+
var ot = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Pt;
|
|
2150
|
+
process.env.NODE_ENV !== "production" && (Pt = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
2151
|
+
var J, at = function(r, t, o) {
|
|
2152
2152
|
if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
|
|
2153
2153
|
return r[0];
|
|
2154
2154
|
var a = !0, i = "";
|
|
2155
2155
|
J = void 0;
|
|
2156
2156
|
var l = r[0];
|
|
2157
|
-
l == null || l.raw === void 0 ? (a = !1, i += Pe(o, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(
|
|
2157
|
+
l == null || l.raw === void 0 ? (a = !1, i += Pe(o, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(rt), i += l[0]);
|
|
2158
2158
|
for (var c = 1; c < r.length; c++)
|
|
2159
|
-
i += Pe(o, t, r[c]), a && (process.env.NODE_ENV !== "production" && l[c] === void 0 && console.error(
|
|
2160
|
-
var
|
|
2161
|
-
process.env.NODE_ENV !== "production" && (i = i.replace(
|
|
2162
|
-
return
|
|
2163
|
-
})),
|
|
2164
|
-
for (var
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
var
|
|
2159
|
+
i += Pe(o, t, r[c]), a && (process.env.NODE_ENV !== "production" && l[c] === void 0 && console.error(rt), i += l[c]);
|
|
2160
|
+
var d;
|
|
2161
|
+
process.env.NODE_ENV !== "production" && (i = i.replace(Pt, function(g) {
|
|
2162
|
+
return d = g, "";
|
|
2163
|
+
})), ot.lastIndex = 0;
|
|
2164
|
+
for (var v = "", p; (p = ot.exec(i)) !== null; )
|
|
2165
|
+
v += "-" + // $FlowFixMe we know it's not null
|
|
2166
|
+
p[1];
|
|
2167
|
+
var h = Fo(i) + v;
|
|
2168
2168
|
return process.env.NODE_ENV !== "production" ? {
|
|
2169
|
-
name:
|
|
2169
|
+
name: h,
|
|
2170
2170
|
styles: i,
|
|
2171
|
-
map:
|
|
2171
|
+
map: d,
|
|
2172
2172
|
next: J,
|
|
2173
2173
|
toString: function() {
|
|
2174
2174
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
2175
2175
|
}
|
|
2176
2176
|
} : {
|
|
2177
|
-
name:
|
|
2177
|
+
name: h,
|
|
2178
2178
|
styles: i,
|
|
2179
2179
|
next: J
|
|
2180
2180
|
};
|
|
2181
2181
|
}, qo = function(r) {
|
|
2182
2182
|
return r();
|
|
2183
|
-
}, Ho =
|
|
2183
|
+
}, Ho = te.useInsertionEffect ? te.useInsertionEffect : !1, Ko = Ho || qo, er = {}.hasOwnProperty, kr = /* @__PURE__ */ te.createContext(
|
|
2184
2184
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
2185
2185
|
// because this module is primarily intended for the browser and node
|
|
2186
2186
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -2191,21 +2191,21 @@ var J, ot = function(r, t, o) {
|
|
|
2191
2191
|
key: "css"
|
|
2192
2192
|
}) : null
|
|
2193
2193
|
);
|
|
2194
|
-
process.env.NODE_ENV !== "production" && (
|
|
2195
|
-
|
|
2194
|
+
process.env.NODE_ENV !== "production" && (kr.displayName = "EmotionCacheContext");
|
|
2195
|
+
kr.Provider;
|
|
2196
2196
|
var Jo = function(r) {
|
|
2197
2197
|
return /* @__PURE__ */ cn(function(t, o) {
|
|
2198
|
-
var a =
|
|
2198
|
+
var a = xr(kr);
|
|
2199
2199
|
return r(t, a, o);
|
|
2200
2200
|
});
|
|
2201
|
-
},
|
|
2202
|
-
process.env.NODE_ENV !== "production" && (
|
|
2203
|
-
var
|
|
2201
|
+
}, At = /* @__PURE__ */ te.createContext({});
|
|
2202
|
+
process.env.NODE_ENV !== "production" && (At.displayName = "EmotionThemeContext");
|
|
2203
|
+
var it = function(r) {
|
|
2204
2204
|
var t = r.split(".");
|
|
2205
2205
|
return t[t.length - 1];
|
|
2206
2206
|
}, Zo = function(r) {
|
|
2207
2207
|
var t = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);
|
|
2208
|
-
if (t || (t = /^([A-Za-z0-9$.]+)@/.exec(r), t)) return
|
|
2208
|
+
if (t || (t = /^([A-Za-z0-9$.]+)@/.exec(r), t)) return it(t[1]);
|
|
2209
2209
|
}, Xo = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), Qo = function(r) {
|
|
2210
2210
|
return r.replace(/\$/g, "-");
|
|
2211
2211
|
}, ea = function(r) {
|
|
@@ -2218,7 +2218,7 @@ var at = function(r) {
|
|
|
2218
2218
|
if (/^[A-Z]/.test(a)) return Qo(a);
|
|
2219
2219
|
}
|
|
2220
2220
|
}
|
|
2221
|
-
}, gr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__",
|
|
2221
|
+
}, gr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", $t = function(r, t) {
|
|
2222
2222
|
if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
|
|
2223
2223
|
t.css.indexOf(":") !== -1)
|
|
2224
2224
|
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + t.css + "`");
|
|
@@ -2232,38 +2232,38 @@ var at = function(r) {
|
|
|
2232
2232
|
return o;
|
|
2233
2233
|
}, ra = function(r) {
|
|
2234
2234
|
var t = r.cache, o = r.serialized, a = r.isStringTag;
|
|
2235
|
-
return
|
|
2235
|
+
return Tt(t, o, a), Ko(function() {
|
|
2236
2236
|
return Do(t, o, a);
|
|
2237
2237
|
}), null;
|
|
2238
|
-
},
|
|
2238
|
+
}, Nt = /* @__PURE__ */ Jo(function(e, r, t) {
|
|
2239
2239
|
var o = e.css;
|
|
2240
2240
|
typeof o == "string" && r.registered[o] !== void 0 && (o = r.registered[o]);
|
|
2241
2241
|
var a = e[gr], i = [o], l = "";
|
|
2242
2242
|
typeof e.className == "string" ? l = Io(r.registered, i, e.className) : e.className != null && (l = e.className + " ");
|
|
2243
|
-
var c =
|
|
2243
|
+
var c = at(i, void 0, te.useContext(At));
|
|
2244
2244
|
if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
|
|
2245
|
-
var
|
|
2246
|
-
|
|
2245
|
+
var d = e[yr];
|
|
2246
|
+
d && (c = at([c, "label:" + d + ";"]));
|
|
2247
2247
|
}
|
|
2248
2248
|
l += r.key + "-" + c.name;
|
|
2249
|
-
var
|
|
2250
|
-
for (var
|
|
2251
|
-
er.call(e,
|
|
2252
|
-
return
|
|
2249
|
+
var v = {};
|
|
2250
|
+
for (var p in e)
|
|
2251
|
+
er.call(e, p) && p !== "css" && p !== gr && (process.env.NODE_ENV === "production" || p !== yr) && (v[p] = e[p]);
|
|
2252
|
+
return v.ref = t, v.className = l, /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(ra, {
|
|
2253
2253
|
cache: r,
|
|
2254
2254
|
serialized: c,
|
|
2255
2255
|
isStringTag: typeof a == "string"
|
|
2256
|
-
}), /* @__PURE__ */
|
|
2256
|
+
}), /* @__PURE__ */ te.createElement(a, v));
|
|
2257
2257
|
});
|
|
2258
|
-
process.env.NODE_ENV !== "production" && (
|
|
2259
|
-
var
|
|
2260
|
-
function
|
|
2261
|
-
return er.call(r, "css") ? k.jsx(
|
|
2258
|
+
process.env.NODE_ENV !== "production" && (Nt.displayName = "EmotionCssPropInternal");
|
|
2259
|
+
var jt = Nt;
|
|
2260
|
+
function Te(e, r, t) {
|
|
2261
|
+
return er.call(r, "css") ? k.jsx(jt, $t(e, r), t) : k.jsx(e, r, t);
|
|
2262
2262
|
}
|
|
2263
|
-
function
|
|
2264
|
-
return er.call(r, "css") ? k.jsxs(
|
|
2263
|
+
function It(e, r, t) {
|
|
2264
|
+
return er.call(r, "css") ? k.jsxs(jt, $t(e, r), t) : k.jsxs(e, r, t);
|
|
2265
2265
|
}
|
|
2266
|
-
const
|
|
2266
|
+
const Pr = D("div", {
|
|
2267
2267
|
shouldForwardProp: (e) => e !== "required" && e !== "inline" && e !== "reverse"
|
|
2268
2268
|
})(({ theme: e, required: r, inline: t, reverse: o }) => ({
|
|
2269
2269
|
display: "flex",
|
|
@@ -2282,7 +2282,7 @@ const kr = D("div", {
|
|
|
2282
2282
|
color: e.colors.red.default,
|
|
2283
2283
|
content: r ? '"*"' : '""'
|
|
2284
2284
|
}
|
|
2285
|
-
})),
|
|
2285
|
+
})), Dt = D.p(({ theme: e }) => ({
|
|
2286
2286
|
fontSize: "12px",
|
|
2287
2287
|
color: e.colors.red.default
|
|
2288
2288
|
}));
|
|
@@ -2295,28 +2295,27 @@ function Pa({
|
|
|
2295
2295
|
required: i = !1,
|
|
2296
2296
|
reverse: l,
|
|
2297
2297
|
inline: c,
|
|
2298
|
-
...
|
|
2298
|
+
...d
|
|
2299
2299
|
}) {
|
|
2300
|
-
const [
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
d(g.checked), a && a(g.name, g.checked);
|
|
2300
|
+
const [v, p] = me(t);
|
|
2301
|
+
function h({ target: g }) {
|
|
2302
|
+
p(g.checked), a && a(g.name, g.checked);
|
|
2304
2303
|
}
|
|
2305
|
-
return /* @__PURE__ */
|
|
2306
|
-
/* @__PURE__ */
|
|
2307
|
-
/* @__PURE__ */
|
|
2304
|
+
return /* @__PURE__ */ It(Pr, { inline: c, reverse: l, required: i, children: [
|
|
2305
|
+
r && /* @__PURE__ */ Te("label", { htmlFor: e, title: r, children: r }),
|
|
2306
|
+
/* @__PURE__ */ Te(
|
|
2308
2307
|
mn,
|
|
2309
2308
|
{
|
|
2310
|
-
...
|
|
2311
|
-
onChange:
|
|
2312
|
-
checked:
|
|
2313
|
-
placeholder:
|
|
2309
|
+
...d,
|
|
2310
|
+
onChange: h,
|
|
2311
|
+
checked: v,
|
|
2312
|
+
placeholder: d.placeholder ?? "Type something...",
|
|
2314
2313
|
name: e,
|
|
2315
2314
|
id: e,
|
|
2316
2315
|
css: { width: "fit-content" }
|
|
2317
2316
|
}
|
|
2318
2317
|
),
|
|
2319
|
-
o.length > 0 && o.map((g) => /* @__PURE__ */
|
|
2318
|
+
o.length > 0 && o.map((g) => /* @__PURE__ */ Te(Dt, { children: g }, g))
|
|
2320
2319
|
] });
|
|
2321
2320
|
}
|
|
2322
2321
|
const Aa = D.form({
|
|
@@ -2328,9 +2327,9 @@ const Aa = D.form({
|
|
|
2328
2327
|
width: "100%",
|
|
2329
2328
|
color: e.colors.font,
|
|
2330
2329
|
backgroundColor: e.colors.secondary,
|
|
2331
|
-
padding: "0.75em",
|
|
2332
|
-
border: `1px solid ${e.colors.grey.
|
|
2333
|
-
borderBottom: `2px solid ${e.colors.grey.
|
|
2330
|
+
padding: "0.75em 1em",
|
|
2331
|
+
border: `1px solid ${Q(e.colors.grey.default, 0.25)}`,
|
|
2332
|
+
borderBottom: `2px solid ${Q(e.colors.grey.default, 0.25)}`,
|
|
2334
2333
|
borderRadius: e.borders.radius.m,
|
|
2335
2334
|
transition: e.transitions.delay.normal,
|
|
2336
2335
|
"&:focus": {
|
|
@@ -2351,25 +2350,27 @@ function $a({
|
|
|
2351
2350
|
errors: o = [],
|
|
2352
2351
|
onChange: a,
|
|
2353
2352
|
required: i = !1,
|
|
2354
|
-
|
|
2353
|
+
formFieldClassname: l,
|
|
2354
|
+
...c
|
|
2355
2355
|
}) {
|
|
2356
|
-
const [
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2356
|
+
const [d, v] = me(t), p = ({ target: h }) => {
|
|
2357
|
+
v(h.value), a && a(h.name, h.value);
|
|
2358
|
+
};
|
|
2359
|
+
return Er(() => {
|
|
2360
|
+
v(t);
|
|
2361
|
+
}, [t]), /* @__PURE__ */ k.jsxs(Pr, { className: l, required: i, children: [
|
|
2362
|
+
r && /* @__PURE__ */ k.jsx("label", { htmlFor: e, title: r, children: r }),
|
|
2362
2363
|
/* @__PURE__ */ k.jsx(
|
|
2363
2364
|
ta,
|
|
2364
2365
|
{
|
|
2365
|
-
...
|
|
2366
|
+
...c,
|
|
2366
2367
|
name: e,
|
|
2367
|
-
onChange:
|
|
2368
|
-
value:
|
|
2369
|
-
placeholder:
|
|
2368
|
+
onChange: p,
|
|
2369
|
+
value: d,
|
|
2370
|
+
placeholder: c.placeholder || r || "Type something..."
|
|
2370
2371
|
}
|
|
2371
2372
|
),
|
|
2372
|
-
o.length > 0 && o.map((
|
|
2373
|
+
o.length > 0 && o.map((h) => /* @__PURE__ */ k.jsx(Dt, { children: h }, h))
|
|
2373
2374
|
] });
|
|
2374
2375
|
}
|
|
2375
2376
|
function Na({
|
|
@@ -2382,29 +2383,29 @@ function Na({
|
|
|
2382
2383
|
required: l = !1,
|
|
2383
2384
|
...c
|
|
2384
2385
|
}) {
|
|
2385
|
-
const
|
|
2386
|
+
const d = ut(), [v, p] = me(
|
|
2386
2387
|
() => o.find((g) => g.value === t) ?? null
|
|
2387
|
-
),
|
|
2388
|
-
a == null || a(g.value),
|
|
2388
|
+
), h = (g) => {
|
|
2389
|
+
a == null || a(g.value), p(g);
|
|
2389
2390
|
};
|
|
2390
|
-
return /* @__PURE__ */
|
|
2391
|
-
r && /* @__PURE__ */
|
|
2392
|
-
/* @__PURE__ */
|
|
2391
|
+
return /* @__PURE__ */ It(Pr, { required: l, children: [
|
|
2392
|
+
r && /* @__PURE__ */ Te("label", { htmlFor: e, title: `${e} field`, children: r }),
|
|
2393
|
+
/* @__PURE__ */ Te(
|
|
2393
2394
|
hn,
|
|
2394
2395
|
{
|
|
2395
|
-
onChange: (g) =>
|
|
2396
|
+
onChange: (g) => h(g),
|
|
2396
2397
|
options: o,
|
|
2397
2398
|
isDisabled: c.disabled,
|
|
2398
2399
|
menuPlacement: "auto",
|
|
2399
2400
|
formatOptionLabel: i ? (g, j) => i(g, j) : void 0,
|
|
2400
|
-
css: { width: "100%", color:
|
|
2401
|
+
css: { width: "100%", color: d.colors.black },
|
|
2401
2402
|
className: c.className,
|
|
2402
|
-
value:
|
|
2403
|
+
value: v
|
|
2403
2404
|
}
|
|
2404
2405
|
)
|
|
2405
2406
|
] });
|
|
2406
2407
|
}
|
|
2407
|
-
const
|
|
2408
|
+
const st = "__minimstuff_dark_theme__", na = !0, oa = {
|
|
2408
2409
|
radius: {
|
|
2409
2410
|
xs: "1px",
|
|
2410
2411
|
s: "2px",
|
|
@@ -2453,7 +2454,7 @@ const it = "__minimstuff_dark_theme__", na = !0, oa = {
|
|
|
2453
2454
|
}),
|
|
2454
2455
|
red: X({ color: "red" }),
|
|
2455
2456
|
yellow: X({ color: "#ffc107" }),
|
|
2456
|
-
boxShadow: `0 0 1em 0 ${
|
|
2457
|
+
boxShadow: `0 0 1em 0 ${Q("#111", 0.4)}`
|
|
2457
2458
|
}, ua = {
|
|
2458
2459
|
font: "#333",
|
|
2459
2460
|
background: "#f0eef6",
|
|
@@ -2475,8 +2476,8 @@ const it = "__minimstuff_dark_theme__", na = !0, oa = {
|
|
|
2475
2476
|
yellow: X({
|
|
2476
2477
|
color: "#ffc107"
|
|
2477
2478
|
}),
|
|
2478
|
-
boxShadow: `0 0 1em 0 ${
|
|
2479
|
-
},
|
|
2479
|
+
boxShadow: `0 0 1em 0 ${Q("#aaa", 0.4)}`
|
|
2480
|
+
}, Ft = ct({
|
|
2480
2481
|
isDarkTheme: !0,
|
|
2481
2482
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2482
2483
|
toggleDarkTheme: (e) => {
|
|
@@ -2486,11 +2487,11 @@ function ja({
|
|
|
2486
2487
|
children: e,
|
|
2487
2488
|
onPreferenceChange: r
|
|
2488
2489
|
}) {
|
|
2489
|
-
const [t, o] =
|
|
2490
|
-
const i =
|
|
2490
|
+
const [t, o] = me(() => {
|
|
2491
|
+
const i = Ur.get(st);
|
|
2491
2492
|
return i ? i === "true" : na;
|
|
2492
2493
|
}), a = (i) => {
|
|
2493
|
-
o(i), r == null || r(i),
|
|
2494
|
+
o(i), r == null || r(i), Ur.set(st, String(i));
|
|
2494
2495
|
};
|
|
2495
2496
|
return /* @__PURE__ */ k.jsx(
|
|
2496
2497
|
ln,
|
|
@@ -2500,7 +2501,7 @@ function ja({
|
|
|
2500
2501
|
colors: t ? la : ua
|
|
2501
2502
|
},
|
|
2502
2503
|
children: /* @__PURE__ */ k.jsxs(
|
|
2503
|
-
|
|
2504
|
+
Ft.Provider,
|
|
2504
2505
|
{
|
|
2505
2506
|
value: {
|
|
2506
2507
|
isDarkTheme: t,
|
|
@@ -2516,7 +2517,7 @@ function ja({
|
|
|
2516
2517
|
);
|
|
2517
2518
|
}
|
|
2518
2519
|
function fa() {
|
|
2519
|
-
const e =
|
|
2520
|
+
const e = ut(), r = Ye({
|
|
2520
2521
|
"*": {
|
|
2521
2522
|
boxSizing: "border-box",
|
|
2522
2523
|
outline: 0,
|
|
@@ -2617,7 +2618,7 @@ function fa() {
|
|
|
2617
2618
|
});
|
|
2618
2619
|
return /* @__PURE__ */ k.jsx(un, { styles: [r, t, o, a] });
|
|
2619
2620
|
}
|
|
2620
|
-
const Ia = () =>
|
|
2621
|
+
const Ia = () => xr(Ft);
|
|
2621
2622
|
export {
|
|
2622
2623
|
wa as Button,
|
|
2623
2624
|
Pa as Checkbox,
|
|
@@ -2644,10 +2645,12 @@ export {
|
|
|
2644
2645
|
zn as TextEllipsis,
|
|
2645
2646
|
$a as Textbox,
|
|
2646
2647
|
ja as ThemeContextProvider,
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2648
|
+
Ft as _ThemeContext,
|
|
2649
|
+
X as generateFadedColors,
|
|
2650
|
+
Q as rgba,
|
|
2651
|
+
dt as useClickOutside,
|
|
2652
|
+
pt as useGlobalHotkeys,
|
|
2653
|
+
mt as useShortcut,
|
|
2651
2654
|
Ia as useThemeSwitcher,
|
|
2652
2655
|
Tn as useToggle
|
|
2653
2656
|
};
|