mc-react-library 0.2.0 → 0.3.1
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 +15 -2
- package/dist/main.css +1 -1
- package/dist/main.js +3791 -0
- package/package.json +2 -2
- package/dist/mc-react-library.js +0 -3688
package/dist/main.js
ADDED
|
@@ -0,0 +1,3791 @@
|
|
|
1
|
+
import "./main.css";
|
|
2
|
+
import * as ve from "react";
|
|
3
|
+
import Te, { useRef as ue, useEffect as ge, useMemo as pt, useState as Ue, useCallback as oe, useContext as rr, createContext as zn, useLayoutEffect as Kn, cloneElement as nr } from "react";
|
|
4
|
+
import Ke from "react-dom";
|
|
5
|
+
function or(e) {
|
|
6
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
|
+
}
|
|
8
|
+
var Vt = { exports: {} }, at = {};
|
|
9
|
+
/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
var Rr;
|
|
19
|
+
function Qn() {
|
|
20
|
+
if (Rr) return at;
|
|
21
|
+
Rr = 1;
|
|
22
|
+
var e = Te, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function s(u, c, f) {
|
|
24
|
+
var l, d = {}, h = null, g = null;
|
|
25
|
+
f !== void 0 && (h = "" + f), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (g = c.ref);
|
|
26
|
+
for (l in c) n.call(c, l) && !i.hasOwnProperty(l) && (d[l] = c[l]);
|
|
27
|
+
if (u && u.defaultProps) for (l in c = u.defaultProps, c) d[l] === void 0 && (d[l] = c[l]);
|
|
28
|
+
return { $$typeof: t, type: u, key: h, ref: g, props: d, _owner: o.current };
|
|
29
|
+
}
|
|
30
|
+
return at.Fragment = r, at.jsx = s, at.jsxs = s, at;
|
|
31
|
+
}
|
|
32
|
+
var st = {};
|
|
33
|
+
/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-jsx-runtime.development.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/
|
|
42
|
+
var Tr;
|
|
43
|
+
function Xn() {
|
|
44
|
+
return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
+
var e = Te, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, w = "@@iterator";
|
|
46
|
+
function y(a) {
|
|
47
|
+
if (a === null || typeof a != "object")
|
|
48
|
+
return null;
|
|
49
|
+
var m = b && a[b] || a[w];
|
|
50
|
+
return typeof m == "function" ? m : null;
|
|
51
|
+
}
|
|
52
|
+
var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function x(a) {
|
|
54
|
+
{
|
|
55
|
+
for (var m = arguments.length, A = new Array(m > 1 ? m - 1 : 0), D = 1; D < m; D++)
|
|
56
|
+
A[D - 1] = arguments[D];
|
|
57
|
+
C("error", a, A);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function C(a, m, A) {
|
|
61
|
+
{
|
|
62
|
+
var D = T.ReactDebugCurrentFrame, z = D.getStackAddendum();
|
|
63
|
+
z !== "" && (m += "%s", A = A.concat([z]));
|
|
64
|
+
var te = A.map(function(W) {
|
|
65
|
+
return String(W);
|
|
66
|
+
});
|
|
67
|
+
te.unshift("Warning: " + m), Function.prototype.apply.call(console[a], console, te);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
var R = !1, p = !1, S = !1, I = !1, G = !1, X;
|
|
71
|
+
X = Symbol.for("react.module.reference");
|
|
72
|
+
function J(a) {
|
|
73
|
+
return !!(typeof a == "string" || typeof a == "function" || a === n || a === i || G || a === o || a === f || a === l || I || a === g || R || p || S || typeof a == "object" && a !== null && (a.$$typeof === h || a.$$typeof === d || a.$$typeof === s || a.$$typeof === u || a.$$typeof === c || // This needs to include all possible module reference object
|
|
74
|
+
// types supported by any Flight configuration anywhere since
|
|
75
|
+
// we don't know which Flight build this will end up being used
|
|
76
|
+
// with.
|
|
77
|
+
a.$$typeof === X || a.getModuleId !== void 0));
|
|
78
|
+
}
|
|
79
|
+
function Z(a, m, A) {
|
|
80
|
+
var D = a.displayName;
|
|
81
|
+
if (D)
|
|
82
|
+
return D;
|
|
83
|
+
var z = m.displayName || m.name || "";
|
|
84
|
+
return z !== "" ? A + "(" + z + ")" : A;
|
|
85
|
+
}
|
|
86
|
+
function ie(a) {
|
|
87
|
+
return a.displayName || "Context";
|
|
88
|
+
}
|
|
89
|
+
function V(a) {
|
|
90
|
+
if (a == null)
|
|
91
|
+
return null;
|
|
92
|
+
if (typeof a.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
93
|
+
return a.displayName || a.name || null;
|
|
94
|
+
if (typeof a == "string")
|
|
95
|
+
return a;
|
|
96
|
+
switch (a) {
|
|
97
|
+
case n:
|
|
98
|
+
return "Fragment";
|
|
99
|
+
case r:
|
|
100
|
+
return "Portal";
|
|
101
|
+
case i:
|
|
102
|
+
return "Profiler";
|
|
103
|
+
case o:
|
|
104
|
+
return "StrictMode";
|
|
105
|
+
case f:
|
|
106
|
+
return "Suspense";
|
|
107
|
+
case l:
|
|
108
|
+
return "SuspenseList";
|
|
109
|
+
}
|
|
110
|
+
if (typeof a == "object")
|
|
111
|
+
switch (a.$$typeof) {
|
|
112
|
+
case u:
|
|
113
|
+
var m = a;
|
|
114
|
+
return ie(m) + ".Consumer";
|
|
115
|
+
case s:
|
|
116
|
+
var A = a;
|
|
117
|
+
return ie(A._context) + ".Provider";
|
|
118
|
+
case c:
|
|
119
|
+
return Z(a, a.render, "ForwardRef");
|
|
120
|
+
case d:
|
|
121
|
+
var D = a.displayName || null;
|
|
122
|
+
return D !== null ? D : V(a.type) || "Memo";
|
|
123
|
+
case h: {
|
|
124
|
+
var z = a, te = z._payload, W = z._init;
|
|
125
|
+
try {
|
|
126
|
+
return V(W(te));
|
|
127
|
+
} catch {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
134
|
+
var q = Object.assign, $ = 0, ee, re, he, fe, v, O, F;
|
|
135
|
+
function B() {
|
|
136
|
+
}
|
|
137
|
+
B.__reactDisabledLog = !0;
|
|
138
|
+
function P() {
|
|
139
|
+
{
|
|
140
|
+
if ($ === 0) {
|
|
141
|
+
ee = console.log, re = console.info, he = console.warn, fe = console.error, v = console.group, O = console.groupCollapsed, F = console.groupEnd;
|
|
142
|
+
var a = {
|
|
143
|
+
configurable: !0,
|
|
144
|
+
enumerable: !0,
|
|
145
|
+
value: B,
|
|
146
|
+
writable: !0
|
|
147
|
+
};
|
|
148
|
+
Object.defineProperties(console, {
|
|
149
|
+
info: a,
|
|
150
|
+
log: a,
|
|
151
|
+
warn: a,
|
|
152
|
+
error: a,
|
|
153
|
+
group: a,
|
|
154
|
+
groupCollapsed: a,
|
|
155
|
+
groupEnd: a
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
$++;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
function L() {
|
|
162
|
+
{
|
|
163
|
+
if ($--, $ === 0) {
|
|
164
|
+
var a = {
|
|
165
|
+
configurable: !0,
|
|
166
|
+
enumerable: !0,
|
|
167
|
+
writable: !0
|
|
168
|
+
};
|
|
169
|
+
Object.defineProperties(console, {
|
|
170
|
+
log: q({}, a, {
|
|
171
|
+
value: ee
|
|
172
|
+
}),
|
|
173
|
+
info: q({}, a, {
|
|
174
|
+
value: re
|
|
175
|
+
}),
|
|
176
|
+
warn: q({}, a, {
|
|
177
|
+
value: he
|
|
178
|
+
}),
|
|
179
|
+
error: q({}, a, {
|
|
180
|
+
value: fe
|
|
181
|
+
}),
|
|
182
|
+
group: q({}, a, {
|
|
183
|
+
value: v
|
|
184
|
+
}),
|
|
185
|
+
groupCollapsed: q({}, a, {
|
|
186
|
+
value: O
|
|
187
|
+
}),
|
|
188
|
+
groupEnd: q({}, a, {
|
|
189
|
+
value: F
|
|
190
|
+
})
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
$ < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
var j = T.ReactCurrentDispatcher, _;
|
|
197
|
+
function M(a, m, A) {
|
|
198
|
+
{
|
|
199
|
+
if (_ === void 0)
|
|
200
|
+
try {
|
|
201
|
+
throw Error();
|
|
202
|
+
} catch (z) {
|
|
203
|
+
var D = z.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
+
_ = D && D[1] || "";
|
|
205
|
+
}
|
|
206
|
+
return `
|
|
207
|
+
` + _ + a;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
var U = !1, H;
|
|
211
|
+
{
|
|
212
|
+
var ae = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
H = new ae();
|
|
214
|
+
}
|
|
215
|
+
function E(a, m) {
|
|
216
|
+
if (!a || U)
|
|
217
|
+
return "";
|
|
218
|
+
{
|
|
219
|
+
var A = H.get(a);
|
|
220
|
+
if (A !== void 0)
|
|
221
|
+
return A;
|
|
222
|
+
}
|
|
223
|
+
var D;
|
|
224
|
+
U = !0;
|
|
225
|
+
var z = Error.prepareStackTrace;
|
|
226
|
+
Error.prepareStackTrace = void 0;
|
|
227
|
+
var te;
|
|
228
|
+
te = j.current, j.current = null, P();
|
|
229
|
+
try {
|
|
230
|
+
if (m) {
|
|
231
|
+
var W = function() {
|
|
232
|
+
throw Error();
|
|
233
|
+
};
|
|
234
|
+
if (Object.defineProperty(W.prototype, "props", {
|
|
235
|
+
set: function() {
|
|
236
|
+
throw Error();
|
|
237
|
+
}
|
|
238
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
239
|
+
try {
|
|
240
|
+
Reflect.construct(W, []);
|
|
241
|
+
} catch (Re) {
|
|
242
|
+
D = Re;
|
|
243
|
+
}
|
|
244
|
+
Reflect.construct(a, [], W);
|
|
245
|
+
} else {
|
|
246
|
+
try {
|
|
247
|
+
W.call();
|
|
248
|
+
} catch (Re) {
|
|
249
|
+
D = Re;
|
|
250
|
+
}
|
|
251
|
+
a.call(W.prototype);
|
|
252
|
+
}
|
|
253
|
+
} else {
|
|
254
|
+
try {
|
|
255
|
+
throw Error();
|
|
256
|
+
} catch (Re) {
|
|
257
|
+
D = Re;
|
|
258
|
+
}
|
|
259
|
+
a();
|
|
260
|
+
}
|
|
261
|
+
} catch (Re) {
|
|
262
|
+
if (Re && D && typeof Re.stack == "string") {
|
|
263
|
+
for (var Y = Re.stack.split(`
|
|
264
|
+
`), le = D.stack.split(`
|
|
265
|
+
`), ne = Y.length - 1, se = le.length - 1; ne >= 1 && se >= 0 && Y[ne] !== le[se]; )
|
|
266
|
+
se--;
|
|
267
|
+
for (; ne >= 1 && se >= 0; ne--, se--)
|
|
268
|
+
if (Y[ne] !== le[se]) {
|
|
269
|
+
if (ne !== 1 || se !== 1)
|
|
270
|
+
do
|
|
271
|
+
if (ne--, se--, se < 0 || Y[ne] !== le[se]) {
|
|
272
|
+
var ye = `
|
|
273
|
+
` + Y[ne].replace(" at new ", " at ");
|
|
274
|
+
return a.displayName && ye.includes("<anonymous>") && (ye = ye.replace("<anonymous>", a.displayName)), typeof a == "function" && H.set(a, ye), ye;
|
|
275
|
+
}
|
|
276
|
+
while (ne >= 1 && se >= 0);
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
} finally {
|
|
281
|
+
U = !1, j.current = te, L(), Error.prepareStackTrace = z;
|
|
282
|
+
}
|
|
283
|
+
var qe = a ? a.displayName || a.name : "", Or = qe ? M(qe) : "";
|
|
284
|
+
return typeof a == "function" && H.set(a, Or), Or;
|
|
285
|
+
}
|
|
286
|
+
function ce(a, m, A) {
|
|
287
|
+
return E(a, !1);
|
|
288
|
+
}
|
|
289
|
+
function ke(a) {
|
|
290
|
+
var m = a.prototype;
|
|
291
|
+
return !!(m && m.isReactComponent);
|
|
292
|
+
}
|
|
293
|
+
function Ae(a, m, A) {
|
|
294
|
+
if (a == null)
|
|
295
|
+
return "";
|
|
296
|
+
if (typeof a == "function")
|
|
297
|
+
return E(a, ke(a));
|
|
298
|
+
if (typeof a == "string")
|
|
299
|
+
return M(a);
|
|
300
|
+
switch (a) {
|
|
301
|
+
case f:
|
|
302
|
+
return M("Suspense");
|
|
303
|
+
case l:
|
|
304
|
+
return M("SuspenseList");
|
|
305
|
+
}
|
|
306
|
+
if (typeof a == "object")
|
|
307
|
+
switch (a.$$typeof) {
|
|
308
|
+
case c:
|
|
309
|
+
return ce(a.render);
|
|
310
|
+
case d:
|
|
311
|
+
return Ae(a.type, m, A);
|
|
312
|
+
case h: {
|
|
313
|
+
var D = a, z = D._payload, te = D._init;
|
|
314
|
+
try {
|
|
315
|
+
return Ae(te(z), m, A);
|
|
316
|
+
} catch {
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
return "";
|
|
321
|
+
}
|
|
322
|
+
var Me = Object.prototype.hasOwnProperty, rt = {}, gt = T.ReactDebugCurrentFrame;
|
|
323
|
+
function Ve(a) {
|
|
324
|
+
if (a) {
|
|
325
|
+
var m = a._owner, A = Ae(a.type, a._source, m ? m.type : null);
|
|
326
|
+
gt.setExtraStackFrame(A);
|
|
327
|
+
} else
|
|
328
|
+
gt.setExtraStackFrame(null);
|
|
329
|
+
}
|
|
330
|
+
function Oe(a, m, A, D, z) {
|
|
331
|
+
{
|
|
332
|
+
var te = Function.call.bind(Me);
|
|
333
|
+
for (var W in a)
|
|
334
|
+
if (te(a, W)) {
|
|
335
|
+
var Y = void 0;
|
|
336
|
+
try {
|
|
337
|
+
if (typeof a[W] != "function") {
|
|
338
|
+
var le = Error((D || "React class") + ": " + A + " type `" + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[W] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
|
+
throw le.name = "Invariant Violation", le;
|
|
340
|
+
}
|
|
341
|
+
Y = a[W](m, W, D, A, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
|
+
} catch (ne) {
|
|
343
|
+
Y = ne;
|
|
344
|
+
}
|
|
345
|
+
Y && !(Y instanceof Error) && (Ve(z), x("%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).", D || "React class", A, W, typeof Y), Ve(null)), Y instanceof Error && !(Y.message in rt) && (rt[Y.message] = !0, Ve(z), x("Failed %s type: %s", A, Y.message), Ve(null));
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
var We = Array.isArray;
|
|
350
|
+
function Je(a) {
|
|
351
|
+
return We(a);
|
|
352
|
+
}
|
|
353
|
+
function bt(a) {
|
|
354
|
+
{
|
|
355
|
+
var m = typeof Symbol == "function" && Symbol.toStringTag, A = m && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
356
|
+
return A;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
function nt(a) {
|
|
360
|
+
try {
|
|
361
|
+
return ot(a), !1;
|
|
362
|
+
} catch {
|
|
363
|
+
return !0;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
function ot(a) {
|
|
367
|
+
return "" + a;
|
|
368
|
+
}
|
|
369
|
+
function it(a) {
|
|
370
|
+
if (nt(a))
|
|
371
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(a)), ot(a);
|
|
372
|
+
}
|
|
373
|
+
var Pe = T.ReactCurrentOwner, wt = {
|
|
374
|
+
key: !0,
|
|
375
|
+
ref: !0,
|
|
376
|
+
__self: !0,
|
|
377
|
+
__source: !0
|
|
378
|
+
}, hr, yr, jt;
|
|
379
|
+
jt = {};
|
|
380
|
+
function _n(a) {
|
|
381
|
+
if (Me.call(a, "ref")) {
|
|
382
|
+
var m = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
383
|
+
if (m && m.isReactWarning)
|
|
384
|
+
return !1;
|
|
385
|
+
}
|
|
386
|
+
return a.ref !== void 0;
|
|
387
|
+
}
|
|
388
|
+
function Mn(a) {
|
|
389
|
+
if (Me.call(a, "key")) {
|
|
390
|
+
var m = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
391
|
+
if (m && m.isReactWarning)
|
|
392
|
+
return !1;
|
|
393
|
+
}
|
|
394
|
+
return a.key !== void 0;
|
|
395
|
+
}
|
|
396
|
+
function Fn(a, m) {
|
|
397
|
+
if (typeof a.ref == "string" && Pe.current && m && Pe.current.stateNode !== m) {
|
|
398
|
+
var A = V(Pe.current.type);
|
|
399
|
+
jt[A] || (x('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', V(Pe.current.type), a.ref), jt[A] = !0);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
function Bn(a, m) {
|
|
403
|
+
{
|
|
404
|
+
var A = function() {
|
|
405
|
+
hr || (hr = !0, x("%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)", m));
|
|
406
|
+
};
|
|
407
|
+
A.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
408
|
+
get: A,
|
|
409
|
+
configurable: !0
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
function In(a, m) {
|
|
414
|
+
{
|
|
415
|
+
var A = function() {
|
|
416
|
+
yr || (yr = !0, x("%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)", m));
|
|
417
|
+
};
|
|
418
|
+
A.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
419
|
+
get: A,
|
|
420
|
+
configurable: !0
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
var Ln = function(a, m, A, D, z, te, W) {
|
|
425
|
+
var Y = {
|
|
426
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
427
|
+
$$typeof: t,
|
|
428
|
+
// Built-in properties that belong on the element
|
|
429
|
+
type: a,
|
|
430
|
+
key: m,
|
|
431
|
+
ref: A,
|
|
432
|
+
props: W,
|
|
433
|
+
// Record the component responsible for creating this element.
|
|
434
|
+
_owner: te
|
|
435
|
+
};
|
|
436
|
+
return Y._store = {}, Object.defineProperty(Y._store, "validated", {
|
|
437
|
+
configurable: !1,
|
|
438
|
+
enumerable: !1,
|
|
439
|
+
writable: !0,
|
|
440
|
+
value: !1
|
|
441
|
+
}), Object.defineProperty(Y, "_self", {
|
|
442
|
+
configurable: !1,
|
|
443
|
+
enumerable: !1,
|
|
444
|
+
writable: !1,
|
|
445
|
+
value: D
|
|
446
|
+
}), Object.defineProperty(Y, "_source", {
|
|
447
|
+
configurable: !1,
|
|
448
|
+
enumerable: !1,
|
|
449
|
+
writable: !1,
|
|
450
|
+
value: z
|
|
451
|
+
}), Object.freeze && (Object.freeze(Y.props), Object.freeze(Y)), Y;
|
|
452
|
+
};
|
|
453
|
+
function Hn(a, m, A, D, z) {
|
|
454
|
+
{
|
|
455
|
+
var te, W = {}, Y = null, le = null;
|
|
456
|
+
A !== void 0 && (it(A), Y = "" + A), Mn(m) && (it(m.key), Y = "" + m.key), _n(m) && (le = m.ref, Fn(m, z));
|
|
457
|
+
for (te in m)
|
|
458
|
+
Me.call(m, te) && !wt.hasOwnProperty(te) && (W[te] = m[te]);
|
|
459
|
+
if (a && a.defaultProps) {
|
|
460
|
+
var ne = a.defaultProps;
|
|
461
|
+
for (te in ne)
|
|
462
|
+
W[te] === void 0 && (W[te] = ne[te]);
|
|
463
|
+
}
|
|
464
|
+
if (Y || le) {
|
|
465
|
+
var se = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
466
|
+
Y && Bn(W, se), le && In(W, se);
|
|
467
|
+
}
|
|
468
|
+
return Ln(a, Y, le, z, D, Pe.current, W);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
var Dt = T.ReactCurrentOwner, gr = T.ReactDebugCurrentFrame;
|
|
472
|
+
function Ge(a) {
|
|
473
|
+
if (a) {
|
|
474
|
+
var m = a._owner, A = Ae(a.type, a._source, m ? m.type : null);
|
|
475
|
+
gr.setExtraStackFrame(A);
|
|
476
|
+
} else
|
|
477
|
+
gr.setExtraStackFrame(null);
|
|
478
|
+
}
|
|
479
|
+
var _t;
|
|
480
|
+
_t = !1;
|
|
481
|
+
function Mt(a) {
|
|
482
|
+
return typeof a == "object" && a !== null && a.$$typeof === t;
|
|
483
|
+
}
|
|
484
|
+
function br() {
|
|
485
|
+
{
|
|
486
|
+
if (Dt.current) {
|
|
487
|
+
var a = V(Dt.current.type);
|
|
488
|
+
if (a)
|
|
489
|
+
return `
|
|
490
|
+
|
|
491
|
+
Check the render method of \`` + a + "`.";
|
|
492
|
+
}
|
|
493
|
+
return "";
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
function Nn(a) {
|
|
497
|
+
return "";
|
|
498
|
+
}
|
|
499
|
+
var wr = {};
|
|
500
|
+
function Un(a) {
|
|
501
|
+
{
|
|
502
|
+
var m = br();
|
|
503
|
+
if (!m) {
|
|
504
|
+
var A = typeof a == "string" ? a : a.displayName || a.name;
|
|
505
|
+
A && (m = `
|
|
506
|
+
|
|
507
|
+
Check the top-level render call using <` + A + ">.");
|
|
508
|
+
}
|
|
509
|
+
return m;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
function xr(a, m) {
|
|
513
|
+
{
|
|
514
|
+
if (!a._store || a._store.validated || a.key != null)
|
|
515
|
+
return;
|
|
516
|
+
a._store.validated = !0;
|
|
517
|
+
var A = Un(m);
|
|
518
|
+
if (wr[A])
|
|
519
|
+
return;
|
|
520
|
+
wr[A] = !0;
|
|
521
|
+
var D = "";
|
|
522
|
+
a && a._owner && a._owner !== Dt.current && (D = " It was passed a child from " + V(a._owner.type) + "."), Ge(a), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, D), Ge(null);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
function Er(a, m) {
|
|
526
|
+
{
|
|
527
|
+
if (typeof a != "object")
|
|
528
|
+
return;
|
|
529
|
+
if (Je(a))
|
|
530
|
+
for (var A = 0; A < a.length; A++) {
|
|
531
|
+
var D = a[A];
|
|
532
|
+
Mt(D) && xr(D, m);
|
|
533
|
+
}
|
|
534
|
+
else if (Mt(a))
|
|
535
|
+
a._store && (a._store.validated = !0);
|
|
536
|
+
else if (a) {
|
|
537
|
+
var z = y(a);
|
|
538
|
+
if (typeof z == "function" && z !== a.entries)
|
|
539
|
+
for (var te = z.call(a), W; !(W = te.next()).done; )
|
|
540
|
+
Mt(W.value) && xr(W.value, m);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
function Yn(a) {
|
|
545
|
+
{
|
|
546
|
+
var m = a.type;
|
|
547
|
+
if (m == null || typeof m == "string")
|
|
548
|
+
return;
|
|
549
|
+
var A;
|
|
550
|
+
if (typeof m == "function")
|
|
551
|
+
A = m.propTypes;
|
|
552
|
+
else if (typeof m == "object" && (m.$$typeof === c || // Note: Memo only checks outer props here.
|
|
553
|
+
// Inner props are checked in the reconciler.
|
|
554
|
+
m.$$typeof === d))
|
|
555
|
+
A = m.propTypes;
|
|
556
|
+
else
|
|
557
|
+
return;
|
|
558
|
+
if (A) {
|
|
559
|
+
var D = V(m);
|
|
560
|
+
Oe(A, a.props, "prop", D, a);
|
|
561
|
+
} else if (m.PropTypes !== void 0 && !_t) {
|
|
562
|
+
_t = !0;
|
|
563
|
+
var z = V(m);
|
|
564
|
+
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
565
|
+
}
|
|
566
|
+
typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
function Vn(a) {
|
|
570
|
+
{
|
|
571
|
+
for (var m = Object.keys(a.props), A = 0; A < m.length; A++) {
|
|
572
|
+
var D = m[A];
|
|
573
|
+
if (D !== "children" && D !== "key") {
|
|
574
|
+
Ge(a), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), Ge(null);
|
|
575
|
+
break;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
a.ref !== null && (Ge(a), x("Invalid attribute `ref` supplied to `React.Fragment`."), Ge(null));
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
function Ar(a, m, A, D, z, te) {
|
|
582
|
+
{
|
|
583
|
+
var W = J(a);
|
|
584
|
+
if (!W) {
|
|
585
|
+
var Y = "";
|
|
586
|
+
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
587
|
+
var le = Nn();
|
|
588
|
+
le ? Y += le : Y += br();
|
|
589
|
+
var ne;
|
|
590
|
+
a === null ? ne = "null" : Je(a) ? ne = "array" : a !== void 0 && a.$$typeof === t ? (ne = "<" + (V(a.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : ne = typeof a, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ne, Y);
|
|
591
|
+
}
|
|
592
|
+
var se = Hn(a, m, A, z, te);
|
|
593
|
+
if (se == null)
|
|
594
|
+
return se;
|
|
595
|
+
if (W) {
|
|
596
|
+
var ye = m.children;
|
|
597
|
+
if (ye !== void 0)
|
|
598
|
+
if (D)
|
|
599
|
+
if (Je(ye)) {
|
|
600
|
+
for (var qe = 0; qe < ye.length; qe++)
|
|
601
|
+
Er(ye[qe], a);
|
|
602
|
+
Object.freeze && Object.freeze(ye);
|
|
603
|
+
} else
|
|
604
|
+
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
605
|
+
else
|
|
606
|
+
Er(ye, a);
|
|
607
|
+
}
|
|
608
|
+
return a === n ? Vn(se) : Yn(se), se;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
function Wn(a, m, A) {
|
|
612
|
+
return Ar(a, m, A, !0);
|
|
613
|
+
}
|
|
614
|
+
function Jn(a, m, A) {
|
|
615
|
+
return Ar(a, m, A, !1);
|
|
616
|
+
}
|
|
617
|
+
var Gn = Jn, qn = Wn;
|
|
618
|
+
st.Fragment = n, st.jsx = Gn, st.jsxs = qn;
|
|
619
|
+
}()), st;
|
|
620
|
+
}
|
|
621
|
+
process.env.NODE_ENV === "production" ? Vt.exports = Qn() : Vt.exports = Xn();
|
|
622
|
+
var k = Vt.exports;
|
|
623
|
+
const $n = "_button_qg5kh_1", Zn = {
|
|
624
|
+
button: $n
|
|
625
|
+
};
|
|
626
|
+
function Fa(e) {
|
|
627
|
+
return /* @__PURE__ */ k.jsx("button", { className: Zn.button, children: "TEST" });
|
|
628
|
+
}
|
|
629
|
+
const eo = "_archive_doicitation_5woyi_1", to = "_doi_badge_5woyi_8", ro = "_doi_left_5woyi_12", no = "_doi_right_5woyi_28", xt = {
|
|
630
|
+
archive_doicitation: eo,
|
|
631
|
+
doi_badge: to,
|
|
632
|
+
doi_left: ro,
|
|
633
|
+
doi_right: no
|
|
634
|
+
};
|
|
635
|
+
function Ba(e) {
|
|
636
|
+
return /* @__PURE__ */ k.jsx("div", { className: xt.archive_doicitation, children: /* @__PURE__ */ k.jsxs("span", { className: xt.doi_badge, children: [
|
|
637
|
+
/* @__PURE__ */ k.jsx("span", { className: xt.doi_left, children: "DOI" }),
|
|
638
|
+
/* @__PURE__ */ k.jsx(
|
|
639
|
+
"a",
|
|
640
|
+
{
|
|
641
|
+
href: `https://doi.org/10.24435/materialscloud:${e.doi_id}`,
|
|
642
|
+
className: xt.doi_right,
|
|
643
|
+
target: "_blank",
|
|
644
|
+
children: `10.24435/materialscloud:${e.doi_id}`
|
|
645
|
+
}
|
|
646
|
+
)
|
|
647
|
+
] }) });
|
|
648
|
+
}
|
|
649
|
+
function Wt(e, t) {
|
|
650
|
+
if (e.contains) return e.contains(t);
|
|
651
|
+
if (e.compareDocumentPosition) return e === t || !!(e.compareDocumentPosition(t) & 16);
|
|
652
|
+
}
|
|
653
|
+
var Jt = { exports: {} }, Et = { exports: {} }, K = {};
|
|
654
|
+
/** @license React v16.13.1
|
|
655
|
+
* react-is.production.min.js
|
|
656
|
+
*
|
|
657
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
658
|
+
*
|
|
659
|
+
* This source code is licensed under the MIT license found in the
|
|
660
|
+
* LICENSE file in the root directory of this source tree.
|
|
661
|
+
*/
|
|
662
|
+
var Cr;
|
|
663
|
+
function oo() {
|
|
664
|
+
if (Cr) return K;
|
|
665
|
+
Cr = 1;
|
|
666
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
667
|
+
function C(p) {
|
|
668
|
+
if (typeof p == "object" && p !== null) {
|
|
669
|
+
var S = p.$$typeof;
|
|
670
|
+
switch (S) {
|
|
671
|
+
case t:
|
|
672
|
+
switch (p = p.type, p) {
|
|
673
|
+
case c:
|
|
674
|
+
case f:
|
|
675
|
+
case n:
|
|
676
|
+
case i:
|
|
677
|
+
case o:
|
|
678
|
+
case d:
|
|
679
|
+
return p;
|
|
680
|
+
default:
|
|
681
|
+
switch (p = p && p.$$typeof, p) {
|
|
682
|
+
case u:
|
|
683
|
+
case l:
|
|
684
|
+
case b:
|
|
685
|
+
case g:
|
|
686
|
+
case s:
|
|
687
|
+
return p;
|
|
688
|
+
default:
|
|
689
|
+
return S;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
case r:
|
|
693
|
+
return S;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
function R(p) {
|
|
698
|
+
return C(p) === f;
|
|
699
|
+
}
|
|
700
|
+
return K.AsyncMode = c, K.ConcurrentMode = f, K.ContextConsumer = u, K.ContextProvider = s, K.Element = t, K.ForwardRef = l, K.Fragment = n, K.Lazy = b, K.Memo = g, K.Portal = r, K.Profiler = i, K.StrictMode = o, K.Suspense = d, K.isAsyncMode = function(p) {
|
|
701
|
+
return R(p) || C(p) === c;
|
|
702
|
+
}, K.isConcurrentMode = R, K.isContextConsumer = function(p) {
|
|
703
|
+
return C(p) === u;
|
|
704
|
+
}, K.isContextProvider = function(p) {
|
|
705
|
+
return C(p) === s;
|
|
706
|
+
}, K.isElement = function(p) {
|
|
707
|
+
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
708
|
+
}, K.isForwardRef = function(p) {
|
|
709
|
+
return C(p) === l;
|
|
710
|
+
}, K.isFragment = function(p) {
|
|
711
|
+
return C(p) === n;
|
|
712
|
+
}, K.isLazy = function(p) {
|
|
713
|
+
return C(p) === b;
|
|
714
|
+
}, K.isMemo = function(p) {
|
|
715
|
+
return C(p) === g;
|
|
716
|
+
}, K.isPortal = function(p) {
|
|
717
|
+
return C(p) === r;
|
|
718
|
+
}, K.isProfiler = function(p) {
|
|
719
|
+
return C(p) === i;
|
|
720
|
+
}, K.isStrictMode = function(p) {
|
|
721
|
+
return C(p) === o;
|
|
722
|
+
}, K.isSuspense = function(p) {
|
|
723
|
+
return C(p) === d;
|
|
724
|
+
}, K.isValidElementType = function(p) {
|
|
725
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === f || p === i || p === o || p === d || p === h || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === g || p.$$typeof === s || p.$$typeof === u || p.$$typeof === l || p.$$typeof === y || p.$$typeof === T || p.$$typeof === x || p.$$typeof === w);
|
|
726
|
+
}, K.typeOf = C, K;
|
|
727
|
+
}
|
|
728
|
+
var Q = {};
|
|
729
|
+
/** @license React v16.13.1
|
|
730
|
+
* react-is.development.js
|
|
731
|
+
*
|
|
732
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
733
|
+
*
|
|
734
|
+
* This source code is licensed under the MIT license found in the
|
|
735
|
+
* LICENSE file in the root directory of this source tree.
|
|
736
|
+
*/
|
|
737
|
+
var Sr;
|
|
738
|
+
function io() {
|
|
739
|
+
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
740
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
741
|
+
function C(E) {
|
|
742
|
+
return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
743
|
+
E === n || E === f || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === b || E.$$typeof === g || E.$$typeof === s || E.$$typeof === u || E.$$typeof === l || E.$$typeof === y || E.$$typeof === T || E.$$typeof === x || E.$$typeof === w);
|
|
744
|
+
}
|
|
745
|
+
function R(E) {
|
|
746
|
+
if (typeof E == "object" && E !== null) {
|
|
747
|
+
var ce = E.$$typeof;
|
|
748
|
+
switch (ce) {
|
|
749
|
+
case t:
|
|
750
|
+
var ke = E.type;
|
|
751
|
+
switch (ke) {
|
|
752
|
+
case c:
|
|
753
|
+
case f:
|
|
754
|
+
case n:
|
|
755
|
+
case i:
|
|
756
|
+
case o:
|
|
757
|
+
case d:
|
|
758
|
+
return ke;
|
|
759
|
+
default:
|
|
760
|
+
var Ae = ke && ke.$$typeof;
|
|
761
|
+
switch (Ae) {
|
|
762
|
+
case u:
|
|
763
|
+
case l:
|
|
764
|
+
case b:
|
|
765
|
+
case g:
|
|
766
|
+
case s:
|
|
767
|
+
return Ae;
|
|
768
|
+
default:
|
|
769
|
+
return ce;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
case r:
|
|
773
|
+
return ce;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
var p = c, S = f, I = u, G = s, X = t, J = l, Z = n, ie = b, V = g, q = r, $ = i, ee = o, re = d, he = !1;
|
|
778
|
+
function fe(E) {
|
|
779
|
+
return he || (he = !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.")), v(E) || R(E) === c;
|
|
780
|
+
}
|
|
781
|
+
function v(E) {
|
|
782
|
+
return R(E) === f;
|
|
783
|
+
}
|
|
784
|
+
function O(E) {
|
|
785
|
+
return R(E) === u;
|
|
786
|
+
}
|
|
787
|
+
function F(E) {
|
|
788
|
+
return R(E) === s;
|
|
789
|
+
}
|
|
790
|
+
function B(E) {
|
|
791
|
+
return typeof E == "object" && E !== null && E.$$typeof === t;
|
|
792
|
+
}
|
|
793
|
+
function P(E) {
|
|
794
|
+
return R(E) === l;
|
|
795
|
+
}
|
|
796
|
+
function L(E) {
|
|
797
|
+
return R(E) === n;
|
|
798
|
+
}
|
|
799
|
+
function j(E) {
|
|
800
|
+
return R(E) === b;
|
|
801
|
+
}
|
|
802
|
+
function _(E) {
|
|
803
|
+
return R(E) === g;
|
|
804
|
+
}
|
|
805
|
+
function M(E) {
|
|
806
|
+
return R(E) === r;
|
|
807
|
+
}
|
|
808
|
+
function U(E) {
|
|
809
|
+
return R(E) === i;
|
|
810
|
+
}
|
|
811
|
+
function H(E) {
|
|
812
|
+
return R(E) === o;
|
|
813
|
+
}
|
|
814
|
+
function ae(E) {
|
|
815
|
+
return R(E) === d;
|
|
816
|
+
}
|
|
817
|
+
Q.AsyncMode = p, Q.ConcurrentMode = S, Q.ContextConsumer = I, Q.ContextProvider = G, Q.Element = X, Q.ForwardRef = J, Q.Fragment = Z, Q.Lazy = ie, Q.Memo = V, Q.Portal = q, Q.Profiler = $, Q.StrictMode = ee, Q.Suspense = re, Q.isAsyncMode = fe, Q.isConcurrentMode = v, Q.isContextConsumer = O, Q.isContextProvider = F, Q.isElement = B, Q.isForwardRef = P, Q.isFragment = L, Q.isLazy = j, Q.isMemo = _, Q.isPortal = M, Q.isProfiler = U, Q.isStrictMode = H, Q.isSuspense = ae, Q.isValidElementType = C, Q.typeOf = R;
|
|
818
|
+
}()), Q;
|
|
819
|
+
}
|
|
820
|
+
var kr;
|
|
821
|
+
function rn() {
|
|
822
|
+
return kr || (kr = 1, process.env.NODE_ENV === "production" ? Et.exports = oo() : Et.exports = io()), Et.exports;
|
|
823
|
+
}
|
|
824
|
+
/*
|
|
825
|
+
object-assign
|
|
826
|
+
(c) Sindre Sorhus
|
|
827
|
+
@license MIT
|
|
828
|
+
*/
|
|
829
|
+
var Ft, Pr;
|
|
830
|
+
function ao() {
|
|
831
|
+
if (Pr) return Ft;
|
|
832
|
+
Pr = 1;
|
|
833
|
+
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
834
|
+
function n(i) {
|
|
835
|
+
if (i == null)
|
|
836
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
837
|
+
return Object(i);
|
|
838
|
+
}
|
|
839
|
+
function o() {
|
|
840
|
+
try {
|
|
841
|
+
if (!Object.assign)
|
|
842
|
+
return !1;
|
|
843
|
+
var i = new String("abc");
|
|
844
|
+
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
845
|
+
return !1;
|
|
846
|
+
for (var s = {}, u = 0; u < 10; u++)
|
|
847
|
+
s["_" + String.fromCharCode(u)] = u;
|
|
848
|
+
var c = Object.getOwnPropertyNames(s).map(function(l) {
|
|
849
|
+
return s[l];
|
|
850
|
+
});
|
|
851
|
+
if (c.join("") !== "0123456789")
|
|
852
|
+
return !1;
|
|
853
|
+
var f = {};
|
|
854
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(l) {
|
|
855
|
+
f[l] = l;
|
|
856
|
+
}), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
|
|
857
|
+
} catch {
|
|
858
|
+
return !1;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
return Ft = o() ? Object.assign : function(i, s) {
|
|
862
|
+
for (var u, c = n(i), f, l = 1; l < arguments.length; l++) {
|
|
863
|
+
u = Object(arguments[l]);
|
|
864
|
+
for (var d in u)
|
|
865
|
+
t.call(u, d) && (c[d] = u[d]);
|
|
866
|
+
if (e) {
|
|
867
|
+
f = e(u);
|
|
868
|
+
for (var h = 0; h < f.length; h++)
|
|
869
|
+
r.call(u, f[h]) && (c[f[h]] = u[f[h]]);
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return c;
|
|
873
|
+
}, Ft;
|
|
874
|
+
}
|
|
875
|
+
var Bt, jr;
|
|
876
|
+
function ir() {
|
|
877
|
+
if (jr) return Bt;
|
|
878
|
+
jr = 1;
|
|
879
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
880
|
+
return Bt = e, Bt;
|
|
881
|
+
}
|
|
882
|
+
var It, Dr;
|
|
883
|
+
function nn() {
|
|
884
|
+
return Dr || (Dr = 1, It = Function.call.bind(Object.prototype.hasOwnProperty)), It;
|
|
885
|
+
}
|
|
886
|
+
var Lt, _r;
|
|
887
|
+
function so() {
|
|
888
|
+
if (_r) return Lt;
|
|
889
|
+
_r = 1;
|
|
890
|
+
var e = function() {
|
|
891
|
+
};
|
|
892
|
+
if (process.env.NODE_ENV !== "production") {
|
|
893
|
+
var t = ir(), r = {}, n = nn();
|
|
894
|
+
e = function(i) {
|
|
895
|
+
var s = "Warning: " + i;
|
|
896
|
+
typeof console < "u" && console.error(s);
|
|
897
|
+
try {
|
|
898
|
+
throw new Error(s);
|
|
899
|
+
} catch {
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
function o(i, s, u, c, f) {
|
|
904
|
+
if (process.env.NODE_ENV !== "production") {
|
|
905
|
+
for (var l in i)
|
|
906
|
+
if (n(i, l)) {
|
|
907
|
+
var d;
|
|
908
|
+
try {
|
|
909
|
+
if (typeof i[l] != "function") {
|
|
910
|
+
var h = Error(
|
|
911
|
+
(c || "React class") + ": " + u + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
912
|
+
);
|
|
913
|
+
throw h.name = "Invariant Violation", h;
|
|
914
|
+
}
|
|
915
|
+
d = i[l](s, l, c, u, null, t);
|
|
916
|
+
} catch (b) {
|
|
917
|
+
d = b;
|
|
918
|
+
}
|
|
919
|
+
if (d && !(d instanceof Error) && e(
|
|
920
|
+
(c || "React class") + ": type specification of " + u + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
921
|
+
), d instanceof Error && !(d.message in r)) {
|
|
922
|
+
r[d.message] = !0;
|
|
923
|
+
var g = f ? f() : "";
|
|
924
|
+
e(
|
|
925
|
+
"Failed " + u + " type: " + d.message + (g ?? "")
|
|
926
|
+
);
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return o.resetWarningCache = function() {
|
|
932
|
+
process.env.NODE_ENV !== "production" && (r = {});
|
|
933
|
+
}, Lt = o, Lt;
|
|
934
|
+
}
|
|
935
|
+
var Ht, Mr;
|
|
936
|
+
function uo() {
|
|
937
|
+
if (Mr) return Ht;
|
|
938
|
+
Mr = 1;
|
|
939
|
+
var e = rn(), t = ao(), r = ir(), n = nn(), o = so(), i = function() {
|
|
940
|
+
};
|
|
941
|
+
process.env.NODE_ENV !== "production" && (i = function(u) {
|
|
942
|
+
var c = "Warning: " + u;
|
|
943
|
+
typeof console < "u" && console.error(c);
|
|
944
|
+
try {
|
|
945
|
+
throw new Error(c);
|
|
946
|
+
} catch {
|
|
947
|
+
}
|
|
948
|
+
});
|
|
949
|
+
function s() {
|
|
950
|
+
return null;
|
|
951
|
+
}
|
|
952
|
+
return Ht = function(u, c) {
|
|
953
|
+
var f = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
954
|
+
function d(v) {
|
|
955
|
+
var O = v && (f && v[f] || v[l]);
|
|
956
|
+
if (typeof O == "function")
|
|
957
|
+
return O;
|
|
958
|
+
}
|
|
959
|
+
var h = "<<anonymous>>", g = {
|
|
960
|
+
array: T("array"),
|
|
961
|
+
bigint: T("bigint"),
|
|
962
|
+
bool: T("boolean"),
|
|
963
|
+
func: T("function"),
|
|
964
|
+
number: T("number"),
|
|
965
|
+
object: T("object"),
|
|
966
|
+
string: T("string"),
|
|
967
|
+
symbol: T("symbol"),
|
|
968
|
+
any: x(),
|
|
969
|
+
arrayOf: C,
|
|
970
|
+
element: R(),
|
|
971
|
+
elementType: p(),
|
|
972
|
+
instanceOf: S,
|
|
973
|
+
node: J(),
|
|
974
|
+
objectOf: G,
|
|
975
|
+
oneOf: I,
|
|
976
|
+
oneOfType: X,
|
|
977
|
+
shape: ie,
|
|
978
|
+
exact: V
|
|
979
|
+
};
|
|
980
|
+
function b(v, O) {
|
|
981
|
+
return v === O ? v !== 0 || 1 / v === 1 / O : v !== v && O !== O;
|
|
982
|
+
}
|
|
983
|
+
function w(v, O) {
|
|
984
|
+
this.message = v, this.data = O && typeof O == "object" ? O : {}, this.stack = "";
|
|
985
|
+
}
|
|
986
|
+
w.prototype = Error.prototype;
|
|
987
|
+
function y(v) {
|
|
988
|
+
if (process.env.NODE_ENV !== "production")
|
|
989
|
+
var O = {}, F = 0;
|
|
990
|
+
function B(L, j, _, M, U, H, ae) {
|
|
991
|
+
if (M = M || h, H = H || _, ae !== r) {
|
|
992
|
+
if (c) {
|
|
993
|
+
var E = new Error(
|
|
994
|
+
"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"
|
|
995
|
+
);
|
|
996
|
+
throw E.name = "Invariant Violation", E;
|
|
997
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
998
|
+
var ce = M + ":" + _;
|
|
999
|
+
!O[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1000
|
+
F < 3 && (i(
|
|
1001
|
+
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1002
|
+
), O[ce] = !0, F++);
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
return j[_] == null ? L ? j[_] === null ? new w("The " + U + " `" + H + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new w("The " + U + " `" + H + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : v(j, _, M, U, H);
|
|
1006
|
+
}
|
|
1007
|
+
var P = B.bind(null, !1);
|
|
1008
|
+
return P.isRequired = B.bind(null, !0), P;
|
|
1009
|
+
}
|
|
1010
|
+
function T(v) {
|
|
1011
|
+
function O(F, B, P, L, j, _) {
|
|
1012
|
+
var M = F[B], U = ee(M);
|
|
1013
|
+
if (U !== v) {
|
|
1014
|
+
var H = re(M);
|
|
1015
|
+
return new w(
|
|
1016
|
+
"Invalid " + L + " `" + j + "` of type " + ("`" + H + "` supplied to `" + P + "`, expected ") + ("`" + v + "`."),
|
|
1017
|
+
{ expectedType: v }
|
|
1018
|
+
);
|
|
1019
|
+
}
|
|
1020
|
+
return null;
|
|
1021
|
+
}
|
|
1022
|
+
return y(O);
|
|
1023
|
+
}
|
|
1024
|
+
function x() {
|
|
1025
|
+
return y(s);
|
|
1026
|
+
}
|
|
1027
|
+
function C(v) {
|
|
1028
|
+
function O(F, B, P, L, j) {
|
|
1029
|
+
if (typeof v != "function")
|
|
1030
|
+
return new w("Property `" + j + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
|
|
1031
|
+
var _ = F[B];
|
|
1032
|
+
if (!Array.isArray(_)) {
|
|
1033
|
+
var M = ee(_);
|
|
1034
|
+
return new w("Invalid " + L + " `" + j + "` of type " + ("`" + M + "` supplied to `" + P + "`, expected an array."));
|
|
1035
|
+
}
|
|
1036
|
+
for (var U = 0; U < _.length; U++) {
|
|
1037
|
+
var H = v(_, U, P, L, j + "[" + U + "]", r);
|
|
1038
|
+
if (H instanceof Error)
|
|
1039
|
+
return H;
|
|
1040
|
+
}
|
|
1041
|
+
return null;
|
|
1042
|
+
}
|
|
1043
|
+
return y(O);
|
|
1044
|
+
}
|
|
1045
|
+
function R() {
|
|
1046
|
+
function v(O, F, B, P, L) {
|
|
1047
|
+
var j = O[F];
|
|
1048
|
+
if (!u(j)) {
|
|
1049
|
+
var _ = ee(j);
|
|
1050
|
+
return new w("Invalid " + P + " `" + L + "` of type " + ("`" + _ + "` supplied to `" + B + "`, expected a single ReactElement."));
|
|
1051
|
+
}
|
|
1052
|
+
return null;
|
|
1053
|
+
}
|
|
1054
|
+
return y(v);
|
|
1055
|
+
}
|
|
1056
|
+
function p() {
|
|
1057
|
+
function v(O, F, B, P, L) {
|
|
1058
|
+
var j = O[F];
|
|
1059
|
+
if (!e.isValidElementType(j)) {
|
|
1060
|
+
var _ = ee(j);
|
|
1061
|
+
return new w("Invalid " + P + " `" + L + "` of type " + ("`" + _ + "` supplied to `" + B + "`, expected a single ReactElement type."));
|
|
1062
|
+
}
|
|
1063
|
+
return null;
|
|
1064
|
+
}
|
|
1065
|
+
return y(v);
|
|
1066
|
+
}
|
|
1067
|
+
function S(v) {
|
|
1068
|
+
function O(F, B, P, L, j) {
|
|
1069
|
+
if (!(F[B] instanceof v)) {
|
|
1070
|
+
var _ = v.name || h, M = fe(F[B]);
|
|
1071
|
+
return new w("Invalid " + L + " `" + j + "` of type " + ("`" + M + "` supplied to `" + P + "`, expected ") + ("instance of `" + _ + "`."));
|
|
1072
|
+
}
|
|
1073
|
+
return null;
|
|
1074
|
+
}
|
|
1075
|
+
return y(O);
|
|
1076
|
+
}
|
|
1077
|
+
function I(v) {
|
|
1078
|
+
if (!Array.isArray(v))
|
|
1079
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1080
|
+
"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])."
|
|
1081
|
+
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1082
|
+
function O(F, B, P, L, j) {
|
|
1083
|
+
for (var _ = F[B], M = 0; M < v.length; M++)
|
|
1084
|
+
if (b(_, v[M]))
|
|
1085
|
+
return null;
|
|
1086
|
+
var U = JSON.stringify(v, function(ae, E) {
|
|
1087
|
+
var ce = re(E);
|
|
1088
|
+
return ce === "symbol" ? String(E) : E;
|
|
1089
|
+
});
|
|
1090
|
+
return new w("Invalid " + L + " `" + j + "` of value `" + String(_) + "` " + ("supplied to `" + P + "`, expected one of " + U + "."));
|
|
1091
|
+
}
|
|
1092
|
+
return y(O);
|
|
1093
|
+
}
|
|
1094
|
+
function G(v) {
|
|
1095
|
+
function O(F, B, P, L, j) {
|
|
1096
|
+
if (typeof v != "function")
|
|
1097
|
+
return new w("Property `" + j + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
|
|
1098
|
+
var _ = F[B], M = ee(_);
|
|
1099
|
+
if (M !== "object")
|
|
1100
|
+
return new w("Invalid " + L + " `" + j + "` of type " + ("`" + M + "` supplied to `" + P + "`, expected an object."));
|
|
1101
|
+
for (var U in _)
|
|
1102
|
+
if (n(_, U)) {
|
|
1103
|
+
var H = v(_, U, P, L, j + "." + U, r);
|
|
1104
|
+
if (H instanceof Error)
|
|
1105
|
+
return H;
|
|
1106
|
+
}
|
|
1107
|
+
return null;
|
|
1108
|
+
}
|
|
1109
|
+
return y(O);
|
|
1110
|
+
}
|
|
1111
|
+
function X(v) {
|
|
1112
|
+
if (!Array.isArray(v))
|
|
1113
|
+
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1114
|
+
for (var O = 0; O < v.length; O++) {
|
|
1115
|
+
var F = v[O];
|
|
1116
|
+
if (typeof F != "function")
|
|
1117
|
+
return i(
|
|
1118
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + he(F) + " at index " + O + "."
|
|
1119
|
+
), s;
|
|
1120
|
+
}
|
|
1121
|
+
function B(P, L, j, _, M) {
|
|
1122
|
+
for (var U = [], H = 0; H < v.length; H++) {
|
|
1123
|
+
var ae = v[H], E = ae(P, L, j, _, M, r);
|
|
1124
|
+
if (E == null)
|
|
1125
|
+
return null;
|
|
1126
|
+
E.data && n(E.data, "expectedType") && U.push(E.data.expectedType);
|
|
1127
|
+
}
|
|
1128
|
+
var ce = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
1129
|
+
return new w("Invalid " + _ + " `" + M + "` supplied to " + ("`" + j + "`" + ce + "."));
|
|
1130
|
+
}
|
|
1131
|
+
return y(B);
|
|
1132
|
+
}
|
|
1133
|
+
function J() {
|
|
1134
|
+
function v(O, F, B, P, L) {
|
|
1135
|
+
return q(O[F]) ? null : new w("Invalid " + P + " `" + L + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
|
|
1136
|
+
}
|
|
1137
|
+
return y(v);
|
|
1138
|
+
}
|
|
1139
|
+
function Z(v, O, F, B, P) {
|
|
1140
|
+
return new w(
|
|
1141
|
+
(v || "React class") + ": " + O + " type `" + F + "." + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
|
|
1142
|
+
);
|
|
1143
|
+
}
|
|
1144
|
+
function ie(v) {
|
|
1145
|
+
function O(F, B, P, L, j) {
|
|
1146
|
+
var _ = F[B], M = ee(_);
|
|
1147
|
+
if (M !== "object")
|
|
1148
|
+
return new w("Invalid " + L + " `" + j + "` of type `" + M + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
1149
|
+
for (var U in v) {
|
|
1150
|
+
var H = v[U];
|
|
1151
|
+
if (typeof H != "function")
|
|
1152
|
+
return Z(P, L, j, U, re(H));
|
|
1153
|
+
var ae = H(_, U, P, L, j + "." + U, r);
|
|
1154
|
+
if (ae)
|
|
1155
|
+
return ae;
|
|
1156
|
+
}
|
|
1157
|
+
return null;
|
|
1158
|
+
}
|
|
1159
|
+
return y(O);
|
|
1160
|
+
}
|
|
1161
|
+
function V(v) {
|
|
1162
|
+
function O(F, B, P, L, j) {
|
|
1163
|
+
var _ = F[B], M = ee(_);
|
|
1164
|
+
if (M !== "object")
|
|
1165
|
+
return new w("Invalid " + L + " `" + j + "` of type `" + M + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
1166
|
+
var U = t({}, F[B], v);
|
|
1167
|
+
for (var H in U) {
|
|
1168
|
+
var ae = v[H];
|
|
1169
|
+
if (n(v, H) && typeof ae != "function")
|
|
1170
|
+
return Z(P, L, j, H, re(ae));
|
|
1171
|
+
if (!ae)
|
|
1172
|
+
return new w(
|
|
1173
|
+
"Invalid " + L + " `" + j + "` key `" + H + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(F[B], null, " ") + `
|
|
1174
|
+
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
1175
|
+
);
|
|
1176
|
+
var E = ae(_, H, P, L, j + "." + H, r);
|
|
1177
|
+
if (E)
|
|
1178
|
+
return E;
|
|
1179
|
+
}
|
|
1180
|
+
return null;
|
|
1181
|
+
}
|
|
1182
|
+
return y(O);
|
|
1183
|
+
}
|
|
1184
|
+
function q(v) {
|
|
1185
|
+
switch (typeof v) {
|
|
1186
|
+
case "number":
|
|
1187
|
+
case "string":
|
|
1188
|
+
case "undefined":
|
|
1189
|
+
return !0;
|
|
1190
|
+
case "boolean":
|
|
1191
|
+
return !v;
|
|
1192
|
+
case "object":
|
|
1193
|
+
if (Array.isArray(v))
|
|
1194
|
+
return v.every(q);
|
|
1195
|
+
if (v === null || u(v))
|
|
1196
|
+
return !0;
|
|
1197
|
+
var O = d(v);
|
|
1198
|
+
if (O) {
|
|
1199
|
+
var F = O.call(v), B;
|
|
1200
|
+
if (O !== v.entries) {
|
|
1201
|
+
for (; !(B = F.next()).done; )
|
|
1202
|
+
if (!q(B.value))
|
|
1203
|
+
return !1;
|
|
1204
|
+
} else
|
|
1205
|
+
for (; !(B = F.next()).done; ) {
|
|
1206
|
+
var P = B.value;
|
|
1207
|
+
if (P && !q(P[1]))
|
|
1208
|
+
return !1;
|
|
1209
|
+
}
|
|
1210
|
+
} else
|
|
1211
|
+
return !1;
|
|
1212
|
+
return !0;
|
|
1213
|
+
default:
|
|
1214
|
+
return !1;
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
function $(v, O) {
|
|
1218
|
+
return v === "symbol" ? !0 : O ? O["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && O instanceof Symbol : !1;
|
|
1219
|
+
}
|
|
1220
|
+
function ee(v) {
|
|
1221
|
+
var O = typeof v;
|
|
1222
|
+
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : $(O, v) ? "symbol" : O;
|
|
1223
|
+
}
|
|
1224
|
+
function re(v) {
|
|
1225
|
+
if (typeof v > "u" || v === null)
|
|
1226
|
+
return "" + v;
|
|
1227
|
+
var O = ee(v);
|
|
1228
|
+
if (O === "object") {
|
|
1229
|
+
if (v instanceof Date)
|
|
1230
|
+
return "date";
|
|
1231
|
+
if (v instanceof RegExp)
|
|
1232
|
+
return "regexp";
|
|
1233
|
+
}
|
|
1234
|
+
return O;
|
|
1235
|
+
}
|
|
1236
|
+
function he(v) {
|
|
1237
|
+
var O = re(v);
|
|
1238
|
+
switch (O) {
|
|
1239
|
+
case "array":
|
|
1240
|
+
case "object":
|
|
1241
|
+
return "an " + O;
|
|
1242
|
+
case "boolean":
|
|
1243
|
+
case "date":
|
|
1244
|
+
case "regexp":
|
|
1245
|
+
return "a " + O;
|
|
1246
|
+
default:
|
|
1247
|
+
return O;
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
function fe(v) {
|
|
1251
|
+
return !v.constructor || !v.constructor.name ? h : v.constructor.name;
|
|
1252
|
+
}
|
|
1253
|
+
return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
|
|
1254
|
+
}, Ht;
|
|
1255
|
+
}
|
|
1256
|
+
var Nt, Fr;
|
|
1257
|
+
function co() {
|
|
1258
|
+
if (Fr) return Nt;
|
|
1259
|
+
Fr = 1;
|
|
1260
|
+
var e = ir();
|
|
1261
|
+
function t() {
|
|
1262
|
+
}
|
|
1263
|
+
function r() {
|
|
1264
|
+
}
|
|
1265
|
+
return r.resetWarningCache = t, Nt = function() {
|
|
1266
|
+
function n(s, u, c, f, l, d) {
|
|
1267
|
+
if (d !== e) {
|
|
1268
|
+
var h = new Error(
|
|
1269
|
+
"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"
|
|
1270
|
+
);
|
|
1271
|
+
throw h.name = "Invariant Violation", h;
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
n.isRequired = n;
|
|
1275
|
+
function o() {
|
|
1276
|
+
return n;
|
|
1277
|
+
}
|
|
1278
|
+
var i = {
|
|
1279
|
+
array: n,
|
|
1280
|
+
bigint: n,
|
|
1281
|
+
bool: n,
|
|
1282
|
+
func: n,
|
|
1283
|
+
number: n,
|
|
1284
|
+
object: n,
|
|
1285
|
+
string: n,
|
|
1286
|
+
symbol: n,
|
|
1287
|
+
any: n,
|
|
1288
|
+
arrayOf: o,
|
|
1289
|
+
element: n,
|
|
1290
|
+
elementType: n,
|
|
1291
|
+
instanceOf: o,
|
|
1292
|
+
node: n,
|
|
1293
|
+
objectOf: o,
|
|
1294
|
+
oneOf: o,
|
|
1295
|
+
oneOfType: o,
|
|
1296
|
+
shape: o,
|
|
1297
|
+
exact: o,
|
|
1298
|
+
checkPropTypes: r,
|
|
1299
|
+
resetWarningCache: t
|
|
1300
|
+
};
|
|
1301
|
+
return i.PropTypes = i, i;
|
|
1302
|
+
}, Nt;
|
|
1303
|
+
}
|
|
1304
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1305
|
+
var lo = rn(), fo = !0;
|
|
1306
|
+
Jt.exports = uo()(lo.isElement, fo);
|
|
1307
|
+
} else
|
|
1308
|
+
Jt.exports = co()();
|
|
1309
|
+
var po = Jt.exports;
|
|
1310
|
+
const N = /* @__PURE__ */ or(po);
|
|
1311
|
+
function on() {
|
|
1312
|
+
const e = ue(!0), t = ue(() => e.current);
|
|
1313
|
+
return ge(() => (e.current = !0, () => {
|
|
1314
|
+
e.current = !1;
|
|
1315
|
+
}), []), t.current;
|
|
1316
|
+
}
|
|
1317
|
+
function vo(e) {
|
|
1318
|
+
const t = ue(e);
|
|
1319
|
+
return t.current = e, t;
|
|
1320
|
+
}
|
|
1321
|
+
function mo(e) {
|
|
1322
|
+
const t = vo(e);
|
|
1323
|
+
ge(() => () => t.current(), []);
|
|
1324
|
+
}
|
|
1325
|
+
const Gt = 2 ** 31 - 1;
|
|
1326
|
+
function an(e, t, r) {
|
|
1327
|
+
const n = r - Date.now();
|
|
1328
|
+
e.current = n <= Gt ? setTimeout(t, n) : setTimeout(() => an(e, t, r), Gt);
|
|
1329
|
+
}
|
|
1330
|
+
function ho() {
|
|
1331
|
+
const e = on(), t = ue();
|
|
1332
|
+
return mo(() => clearTimeout(t.current)), pt(() => {
|
|
1333
|
+
const r = () => clearTimeout(t.current);
|
|
1334
|
+
function n(o, i = 0) {
|
|
1335
|
+
e() && (r(), i <= Gt ? t.current = setTimeout(o, i) : an(t, o, Date.now() + i));
|
|
1336
|
+
}
|
|
1337
|
+
return {
|
|
1338
|
+
set: n,
|
|
1339
|
+
clear: r,
|
|
1340
|
+
handleRef: t
|
|
1341
|
+
};
|
|
1342
|
+
}, []);
|
|
1343
|
+
}
|
|
1344
|
+
var yo = process.env.NODE_ENV !== "production", sn = function() {
|
|
1345
|
+
};
|
|
1346
|
+
if (yo) {
|
|
1347
|
+
var go = function(t, r) {
|
|
1348
|
+
var n = arguments.length;
|
|
1349
|
+
r = new Array(n > 1 ? n - 1 : 0);
|
|
1350
|
+
for (var o = 1; o < n; o++)
|
|
1351
|
+
r[o - 1] = arguments[o];
|
|
1352
|
+
var i = 0, s = "Warning: " + t.replace(/%s/g, function() {
|
|
1353
|
+
return r[i++];
|
|
1354
|
+
});
|
|
1355
|
+
typeof console < "u" && console.error(s);
|
|
1356
|
+
try {
|
|
1357
|
+
throw new Error(s);
|
|
1358
|
+
} catch {
|
|
1359
|
+
}
|
|
1360
|
+
};
|
|
1361
|
+
sn = function(e, t, r) {
|
|
1362
|
+
var n = arguments.length;
|
|
1363
|
+
r = new Array(n > 2 ? n - 2 : 0);
|
|
1364
|
+
for (var o = 2; o < n; o++)
|
|
1365
|
+
r[o - 2] = arguments[o];
|
|
1366
|
+
if (t === void 0)
|
|
1367
|
+
throw new Error(
|
|
1368
|
+
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
1369
|
+
);
|
|
1370
|
+
e || go.apply(null, [t].concat(r));
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
var bo = sn;
|
|
1374
|
+
const un = /* @__PURE__ */ or(bo);
|
|
1375
|
+
function wo(e, t) {
|
|
1376
|
+
if (e == null) return {};
|
|
1377
|
+
var r = {}, n = Object.keys(e), o, i;
|
|
1378
|
+
for (i = 0; i < n.length; i++)
|
|
1379
|
+
o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
1380
|
+
return r;
|
|
1381
|
+
}
|
|
1382
|
+
function xo(e, t, r) {
|
|
1383
|
+
var n = ue(e !== void 0), o = Ue(t), i = o[0], s = o[1], u = e !== void 0, c = n.current;
|
|
1384
|
+
return n.current = u, !u && c && i !== t && s(t), [u ? e : i, oe(function(f) {
|
|
1385
|
+
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
|
|
1386
|
+
d[h - 1] = arguments[h];
|
|
1387
|
+
r && r.apply(void 0, [f].concat(d)), s(f);
|
|
1388
|
+
}, [r])];
|
|
1389
|
+
}
|
|
1390
|
+
function qt(e, t) {
|
|
1391
|
+
return qt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, o) {
|
|
1392
|
+
return n.__proto__ = o, n;
|
|
1393
|
+
}, qt(e, t);
|
|
1394
|
+
}
|
|
1395
|
+
function Eo(e, t) {
|
|
1396
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, qt(e, t);
|
|
1397
|
+
}
|
|
1398
|
+
const Br = (e) => !e || typeof e == "function" ? e : (t) => {
|
|
1399
|
+
e.current = t;
|
|
1400
|
+
};
|
|
1401
|
+
function Ao(e, t) {
|
|
1402
|
+
const r = Br(e), n = Br(t);
|
|
1403
|
+
return (o) => {
|
|
1404
|
+
r && r(o), n && n(o);
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
function tt(e, t) {
|
|
1408
|
+
return pt(() => Ao(e, t), [e, t]);
|
|
1409
|
+
}
|
|
1410
|
+
var cn = { exports: {} };
|
|
1411
|
+
/*!
|
|
1412
|
+
Copyright (c) 2018 Jed Watson.
|
|
1413
|
+
Licensed under the MIT License (MIT), see
|
|
1414
|
+
http://jedwatson.github.io/classnames
|
|
1415
|
+
*/
|
|
1416
|
+
(function(e) {
|
|
1417
|
+
(function() {
|
|
1418
|
+
var t = {}.hasOwnProperty;
|
|
1419
|
+
function r() {
|
|
1420
|
+
for (var i = "", s = 0; s < arguments.length; s++) {
|
|
1421
|
+
var u = arguments[s];
|
|
1422
|
+
u && (i = o(i, n(u)));
|
|
1423
|
+
}
|
|
1424
|
+
return i;
|
|
1425
|
+
}
|
|
1426
|
+
function n(i) {
|
|
1427
|
+
if (typeof i == "string" || typeof i == "number")
|
|
1428
|
+
return i;
|
|
1429
|
+
if (typeof i != "object")
|
|
1430
|
+
return "";
|
|
1431
|
+
if (Array.isArray(i))
|
|
1432
|
+
return r.apply(null, i);
|
|
1433
|
+
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
|
|
1434
|
+
return i.toString();
|
|
1435
|
+
var s = "";
|
|
1436
|
+
for (var u in i)
|
|
1437
|
+
t.call(i, u) && i[u] && (s = o(s, u));
|
|
1438
|
+
return s;
|
|
1439
|
+
}
|
|
1440
|
+
function o(i, s) {
|
|
1441
|
+
return s ? i ? i + " " + s : i + s : i;
|
|
1442
|
+
}
|
|
1443
|
+
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
1444
|
+
})();
|
|
1445
|
+
})(cn);
|
|
1446
|
+
var Oo = cn.exports;
|
|
1447
|
+
const Ye = /* @__PURE__ */ or(Oo);
|
|
1448
|
+
function Ir() {
|
|
1449
|
+
return Ue(null);
|
|
1450
|
+
}
|
|
1451
|
+
var Lr = Object.prototype.hasOwnProperty;
|
|
1452
|
+
function Hr(e, t, r) {
|
|
1453
|
+
for (r of e.keys())
|
|
1454
|
+
if (lt(r, t)) return r;
|
|
1455
|
+
}
|
|
1456
|
+
function lt(e, t) {
|
|
1457
|
+
var r, n, o;
|
|
1458
|
+
if (e === t) return !0;
|
|
1459
|
+
if (e && t && (r = e.constructor) === t.constructor) {
|
|
1460
|
+
if (r === Date) return e.getTime() === t.getTime();
|
|
1461
|
+
if (r === RegExp) return e.toString() === t.toString();
|
|
1462
|
+
if (r === Array) {
|
|
1463
|
+
if ((n = e.length) === t.length)
|
|
1464
|
+
for (; n-- && lt(e[n], t[n]); ) ;
|
|
1465
|
+
return n === -1;
|
|
1466
|
+
}
|
|
1467
|
+
if (r === Set) {
|
|
1468
|
+
if (e.size !== t.size)
|
|
1469
|
+
return !1;
|
|
1470
|
+
for (n of e)
|
|
1471
|
+
if (o = n, o && typeof o == "object" && (o = Hr(t, o), !o) || !t.has(o)) return !1;
|
|
1472
|
+
return !0;
|
|
1473
|
+
}
|
|
1474
|
+
if (r === Map) {
|
|
1475
|
+
if (e.size !== t.size)
|
|
1476
|
+
return !1;
|
|
1477
|
+
for (n of e)
|
|
1478
|
+
if (o = n[0], o && typeof o == "object" && (o = Hr(t, o), !o) || !lt(n[1], t.get(o)))
|
|
1479
|
+
return !1;
|
|
1480
|
+
return !0;
|
|
1481
|
+
}
|
|
1482
|
+
if (r === ArrayBuffer)
|
|
1483
|
+
e = new Uint8Array(e), t = new Uint8Array(t);
|
|
1484
|
+
else if (r === DataView) {
|
|
1485
|
+
if ((n = e.byteLength) === t.byteLength)
|
|
1486
|
+
for (; n-- && e.getInt8(n) === t.getInt8(n); ) ;
|
|
1487
|
+
return n === -1;
|
|
1488
|
+
}
|
|
1489
|
+
if (ArrayBuffer.isView(e)) {
|
|
1490
|
+
if ((n = e.byteLength) === t.byteLength)
|
|
1491
|
+
for (; n-- && e[n] === t[n]; ) ;
|
|
1492
|
+
return n === -1;
|
|
1493
|
+
}
|
|
1494
|
+
if (!r || typeof e == "object") {
|
|
1495
|
+
n = 0;
|
|
1496
|
+
for (r in e)
|
|
1497
|
+
if (Lr.call(e, r) && ++n && !Lr.call(t, r) || !(r in t) || !lt(e[r], t[r])) return !1;
|
|
1498
|
+
return Object.keys(t).length === n;
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
return e !== e && t !== t;
|
|
1502
|
+
}
|
|
1503
|
+
function Ro(e) {
|
|
1504
|
+
const t = on();
|
|
1505
|
+
return [e[0], oe((r) => {
|
|
1506
|
+
if (t())
|
|
1507
|
+
return e[1](r);
|
|
1508
|
+
}, [t, e[1]])];
|
|
1509
|
+
}
|
|
1510
|
+
var de = "top", be = "bottom", we = "right", pe = "left", ar = "auto", ht = [de, be, we, pe], Qe = "start", vt = "end", To = "clippingParents", ln = "viewport", ut = "popper", Co = "reference", Nr = /* @__PURE__ */ ht.reduce(function(e, t) {
|
|
1511
|
+
return e.concat([t + "-" + Qe, t + "-" + vt]);
|
|
1512
|
+
}, []), fn = /* @__PURE__ */ [].concat(ht, [ar]).reduce(function(e, t) {
|
|
1513
|
+
return e.concat([t, t + "-" + Qe, t + "-" + vt]);
|
|
1514
|
+
}, []), So = "beforeRead", ko = "read", Po = "afterRead", jo = "beforeMain", Do = "main", _o = "afterMain", Mo = "beforeWrite", Fo = "write", Bo = "afterWrite", Io = [So, ko, Po, jo, Do, _o, Mo, Fo, Bo];
|
|
1515
|
+
function xe(e) {
|
|
1516
|
+
return e.split("-")[0];
|
|
1517
|
+
}
|
|
1518
|
+
function me(e) {
|
|
1519
|
+
if (e == null)
|
|
1520
|
+
return window;
|
|
1521
|
+
if (e.toString() !== "[object Window]") {
|
|
1522
|
+
var t = e.ownerDocument;
|
|
1523
|
+
return t && t.defaultView || window;
|
|
1524
|
+
}
|
|
1525
|
+
return e;
|
|
1526
|
+
}
|
|
1527
|
+
function He(e) {
|
|
1528
|
+
var t = me(e).Element;
|
|
1529
|
+
return e instanceof t || e instanceof Element;
|
|
1530
|
+
}
|
|
1531
|
+
function Ee(e) {
|
|
1532
|
+
var t = me(e).HTMLElement;
|
|
1533
|
+
return e instanceof t || e instanceof HTMLElement;
|
|
1534
|
+
}
|
|
1535
|
+
function sr(e) {
|
|
1536
|
+
if (typeof ShadowRoot > "u")
|
|
1537
|
+
return !1;
|
|
1538
|
+
var t = me(e).ShadowRoot;
|
|
1539
|
+
return e instanceof t || e instanceof ShadowRoot;
|
|
1540
|
+
}
|
|
1541
|
+
var Le = Math.max, Ct = Math.min, Xe = Math.round;
|
|
1542
|
+
function zt() {
|
|
1543
|
+
var e = navigator.userAgentData;
|
|
1544
|
+
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
1545
|
+
return t.brand + "/" + t.version;
|
|
1546
|
+
}).join(" ") : navigator.userAgent;
|
|
1547
|
+
}
|
|
1548
|
+
function dn() {
|
|
1549
|
+
return !/^((?!chrome|android).)*safari/i.test(zt());
|
|
1550
|
+
}
|
|
1551
|
+
function $e(e, t, r) {
|
|
1552
|
+
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
1553
|
+
var n = e.getBoundingClientRect(), o = 1, i = 1;
|
|
1554
|
+
t && Ee(e) && (o = e.offsetWidth > 0 && Xe(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Xe(n.height) / e.offsetHeight || 1);
|
|
1555
|
+
var s = He(e) ? me(e) : window, u = s.visualViewport, c = !dn() && r, f = (n.left + (c && u ? u.offsetLeft : 0)) / o, l = (n.top + (c && u ? u.offsetTop : 0)) / i, d = n.width / o, h = n.height / i;
|
|
1556
|
+
return {
|
|
1557
|
+
width: d,
|
|
1558
|
+
height: h,
|
|
1559
|
+
top: l,
|
|
1560
|
+
right: f + d,
|
|
1561
|
+
bottom: l + h,
|
|
1562
|
+
left: f,
|
|
1563
|
+
x: f,
|
|
1564
|
+
y: l
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
function ur(e) {
|
|
1568
|
+
var t = $e(e), r = e.offsetWidth, n = e.offsetHeight;
|
|
1569
|
+
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
1570
|
+
x: e.offsetLeft,
|
|
1571
|
+
y: e.offsetTop,
|
|
1572
|
+
width: r,
|
|
1573
|
+
height: n
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
function pn(e, t) {
|
|
1577
|
+
var r = t.getRootNode && t.getRootNode();
|
|
1578
|
+
if (e.contains(t))
|
|
1579
|
+
return !0;
|
|
1580
|
+
if (r && sr(r)) {
|
|
1581
|
+
var n = t;
|
|
1582
|
+
do {
|
|
1583
|
+
if (n && e.isSameNode(n))
|
|
1584
|
+
return !0;
|
|
1585
|
+
n = n.parentNode || n.host;
|
|
1586
|
+
} while (n);
|
|
1587
|
+
}
|
|
1588
|
+
return !1;
|
|
1589
|
+
}
|
|
1590
|
+
function De(e) {
|
|
1591
|
+
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
1592
|
+
}
|
|
1593
|
+
function Ce(e) {
|
|
1594
|
+
return me(e).getComputedStyle(e);
|
|
1595
|
+
}
|
|
1596
|
+
function Lo(e) {
|
|
1597
|
+
return ["table", "td", "th"].indexOf(De(e)) >= 0;
|
|
1598
|
+
}
|
|
1599
|
+
function _e(e) {
|
|
1600
|
+
return ((He(e) ? e.ownerDocument : (
|
|
1601
|
+
// $FlowFixMe[prop-missing]
|
|
1602
|
+
e.document
|
|
1603
|
+
)) || window.document).documentElement;
|
|
1604
|
+
}
|
|
1605
|
+
function kt(e) {
|
|
1606
|
+
return De(e) === "html" ? e : (
|
|
1607
|
+
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
1608
|
+
// $FlowFixMe[incompatible-return]
|
|
1609
|
+
// $FlowFixMe[prop-missing]
|
|
1610
|
+
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
1611
|
+
e.parentNode || // DOM Element detected
|
|
1612
|
+
(sr(e) ? e.host : null) || // ShadowRoot detected
|
|
1613
|
+
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
1614
|
+
_e(e)
|
|
1615
|
+
);
|
|
1616
|
+
}
|
|
1617
|
+
function Ur(e) {
|
|
1618
|
+
return !Ee(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
1619
|
+
Ce(e).position === "fixed" ? null : e.offsetParent;
|
|
1620
|
+
}
|
|
1621
|
+
function Ho(e) {
|
|
1622
|
+
var t = /firefox/i.test(zt()), r = /Trident/i.test(zt());
|
|
1623
|
+
if (r && Ee(e)) {
|
|
1624
|
+
var n = Ce(e);
|
|
1625
|
+
if (n.position === "fixed")
|
|
1626
|
+
return null;
|
|
1627
|
+
}
|
|
1628
|
+
var o = kt(e);
|
|
1629
|
+
for (sr(o) && (o = o.host); Ee(o) && ["html", "body"].indexOf(De(o)) < 0; ) {
|
|
1630
|
+
var i = Ce(o);
|
|
1631
|
+
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
|
|
1632
|
+
return o;
|
|
1633
|
+
o = o.parentNode;
|
|
1634
|
+
}
|
|
1635
|
+
return null;
|
|
1636
|
+
}
|
|
1637
|
+
function yt(e) {
|
|
1638
|
+
for (var t = me(e), r = Ur(e); r && Lo(r) && Ce(r).position === "static"; )
|
|
1639
|
+
r = Ur(r);
|
|
1640
|
+
return r && (De(r) === "html" || De(r) === "body" && Ce(r).position === "static") ? t : r || Ho(e) || t;
|
|
1641
|
+
}
|
|
1642
|
+
function cr(e) {
|
|
1643
|
+
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
1644
|
+
}
|
|
1645
|
+
function ft(e, t, r) {
|
|
1646
|
+
return Le(e, Ct(t, r));
|
|
1647
|
+
}
|
|
1648
|
+
function No(e, t, r) {
|
|
1649
|
+
var n = ft(e, t, r);
|
|
1650
|
+
return n > r ? r : n;
|
|
1651
|
+
}
|
|
1652
|
+
function vn() {
|
|
1653
|
+
return {
|
|
1654
|
+
top: 0,
|
|
1655
|
+
right: 0,
|
|
1656
|
+
bottom: 0,
|
|
1657
|
+
left: 0
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
function mn(e) {
|
|
1661
|
+
return Object.assign({}, vn(), e);
|
|
1662
|
+
}
|
|
1663
|
+
function hn(e, t) {
|
|
1664
|
+
return t.reduce(function(r, n) {
|
|
1665
|
+
return r[n] = e, r;
|
|
1666
|
+
}, {});
|
|
1667
|
+
}
|
|
1668
|
+
var Uo = function(t, r) {
|
|
1669
|
+
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
1670
|
+
placement: r.placement
|
|
1671
|
+
})) : t, mn(typeof t != "number" ? t : hn(t, ht));
|
|
1672
|
+
};
|
|
1673
|
+
function Yo(e) {
|
|
1674
|
+
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, u = xe(r.placement), c = cr(u), f = [pe, we].indexOf(u) >= 0, l = f ? "height" : "width";
|
|
1675
|
+
if (!(!i || !s)) {
|
|
1676
|
+
var d = Uo(o.padding, r), h = ur(i), g = c === "y" ? de : pe, b = c === "y" ? be : we, w = r.rects.reference[l] + r.rects.reference[c] - s[c] - r.rects.popper[l], y = s[c] - r.rects.reference[c], T = yt(i), x = T ? c === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = w / 2 - y / 2, R = d[g], p = x - h[l] - d[b], S = x / 2 - h[l] / 2 + C, I = ft(R, S, p), G = c;
|
|
1677
|
+
r.modifiersData[n] = (t = {}, t[G] = I, t.centerOffset = I - S, t);
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
function Vo(e) {
|
|
1681
|
+
var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
|
|
1682
|
+
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || pn(t.elements.popper, o) && (t.elements.arrow = o));
|
|
1683
|
+
}
|
|
1684
|
+
const Wo = {
|
|
1685
|
+
name: "arrow",
|
|
1686
|
+
enabled: !0,
|
|
1687
|
+
phase: "main",
|
|
1688
|
+
fn: Yo,
|
|
1689
|
+
effect: Vo,
|
|
1690
|
+
requires: ["popperOffsets"],
|
|
1691
|
+
requiresIfExists: ["preventOverflow"]
|
|
1692
|
+
};
|
|
1693
|
+
function Ze(e) {
|
|
1694
|
+
return e.split("-")[1];
|
|
1695
|
+
}
|
|
1696
|
+
var Jo = {
|
|
1697
|
+
top: "auto",
|
|
1698
|
+
right: "auto",
|
|
1699
|
+
bottom: "auto",
|
|
1700
|
+
left: "auto"
|
|
1701
|
+
};
|
|
1702
|
+
function Go(e, t) {
|
|
1703
|
+
var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
|
|
1704
|
+
return {
|
|
1705
|
+
x: Xe(r * o) / o || 0,
|
|
1706
|
+
y: Xe(n * o) / o || 0
|
|
1707
|
+
};
|
|
1708
|
+
}
|
|
1709
|
+
function Yr(e) {
|
|
1710
|
+
var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, s = e.offsets, u = e.position, c = e.gpuAcceleration, f = e.adaptive, l = e.roundOffsets, d = e.isFixed, h = s.x, g = h === void 0 ? 0 : h, b = s.y, w = b === void 0 ? 0 : b, y = typeof l == "function" ? l({
|
|
1711
|
+
x: g,
|
|
1712
|
+
y: w
|
|
1713
|
+
}) : {
|
|
1714
|
+
x: g,
|
|
1715
|
+
y: w
|
|
1716
|
+
};
|
|
1717
|
+
g = y.x, w = y.y;
|
|
1718
|
+
var T = s.hasOwnProperty("x"), x = s.hasOwnProperty("y"), C = pe, R = de, p = window;
|
|
1719
|
+
if (f) {
|
|
1720
|
+
var S = yt(r), I = "clientHeight", G = "clientWidth";
|
|
1721
|
+
if (S === me(r) && (S = _e(r), Ce(S).position !== "static" && u === "absolute" && (I = "scrollHeight", G = "scrollWidth")), S = S, o === de || (o === pe || o === we) && i === vt) {
|
|
1722
|
+
R = be;
|
|
1723
|
+
var X = d && S === p && p.visualViewport ? p.visualViewport.height : (
|
|
1724
|
+
// $FlowFixMe[prop-missing]
|
|
1725
|
+
S[I]
|
|
1726
|
+
);
|
|
1727
|
+
w -= X - n.height, w *= c ? 1 : -1;
|
|
1728
|
+
}
|
|
1729
|
+
if (o === pe || (o === de || o === be) && i === vt) {
|
|
1730
|
+
C = we;
|
|
1731
|
+
var J = d && S === p && p.visualViewport ? p.visualViewport.width : (
|
|
1732
|
+
// $FlowFixMe[prop-missing]
|
|
1733
|
+
S[G]
|
|
1734
|
+
);
|
|
1735
|
+
g -= J - n.width, g *= c ? 1 : -1;
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
var Z = Object.assign({
|
|
1739
|
+
position: u
|
|
1740
|
+
}, f && Jo), ie = l === !0 ? Go({
|
|
1741
|
+
x: g,
|
|
1742
|
+
y: w
|
|
1743
|
+
}, me(r)) : {
|
|
1744
|
+
x: g,
|
|
1745
|
+
y: w
|
|
1746
|
+
};
|
|
1747
|
+
if (g = ie.x, w = ie.y, c) {
|
|
1748
|
+
var V;
|
|
1749
|
+
return Object.assign({}, Z, (V = {}, V[R] = x ? "0" : "", V[C] = T ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + w + "px)" : "translate3d(" + g + "px, " + w + "px, 0)", V));
|
|
1750
|
+
}
|
|
1751
|
+
return Object.assign({}, Z, (t = {}, t[R] = x ? w + "px" : "", t[C] = T ? g + "px" : "", t.transform = "", t));
|
|
1752
|
+
}
|
|
1753
|
+
function qo(e) {
|
|
1754
|
+
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, s = i === void 0 ? !0 : i, u = r.roundOffsets, c = u === void 0 ? !0 : u, f = {
|
|
1755
|
+
placement: xe(t.placement),
|
|
1756
|
+
variation: Ze(t.placement),
|
|
1757
|
+
popper: t.elements.popper,
|
|
1758
|
+
popperRect: t.rects.popper,
|
|
1759
|
+
gpuAcceleration: o,
|
|
1760
|
+
isFixed: t.options.strategy === "fixed"
|
|
1761
|
+
};
|
|
1762
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Yr(Object.assign({}, f, {
|
|
1763
|
+
offsets: t.modifiersData.popperOffsets,
|
|
1764
|
+
position: t.options.strategy,
|
|
1765
|
+
adaptive: s,
|
|
1766
|
+
roundOffsets: c
|
|
1767
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Yr(Object.assign({}, f, {
|
|
1768
|
+
offsets: t.modifiersData.arrow,
|
|
1769
|
+
position: "absolute",
|
|
1770
|
+
adaptive: !1,
|
|
1771
|
+
roundOffsets: c
|
|
1772
|
+
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
1773
|
+
"data-popper-placement": t.placement
|
|
1774
|
+
});
|
|
1775
|
+
}
|
|
1776
|
+
const zo = {
|
|
1777
|
+
name: "computeStyles",
|
|
1778
|
+
enabled: !0,
|
|
1779
|
+
phase: "beforeWrite",
|
|
1780
|
+
fn: qo,
|
|
1781
|
+
data: {}
|
|
1782
|
+
};
|
|
1783
|
+
var At = {
|
|
1784
|
+
passive: !0
|
|
1785
|
+
};
|
|
1786
|
+
function Ko(e) {
|
|
1787
|
+
var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, s = n.resize, u = s === void 0 ? !0 : s, c = me(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
1788
|
+
return i && f.forEach(function(l) {
|
|
1789
|
+
l.addEventListener("scroll", r.update, At);
|
|
1790
|
+
}), u && c.addEventListener("resize", r.update, At), function() {
|
|
1791
|
+
i && f.forEach(function(l) {
|
|
1792
|
+
l.removeEventListener("scroll", r.update, At);
|
|
1793
|
+
}), u && c.removeEventListener("resize", r.update, At);
|
|
1794
|
+
};
|
|
1795
|
+
}
|
|
1796
|
+
const Qo = {
|
|
1797
|
+
name: "eventListeners",
|
|
1798
|
+
enabled: !0,
|
|
1799
|
+
phase: "write",
|
|
1800
|
+
fn: function() {
|
|
1801
|
+
},
|
|
1802
|
+
effect: Ko,
|
|
1803
|
+
data: {}
|
|
1804
|
+
};
|
|
1805
|
+
var Xo = {
|
|
1806
|
+
left: "right",
|
|
1807
|
+
right: "left",
|
|
1808
|
+
bottom: "top",
|
|
1809
|
+
top: "bottom"
|
|
1810
|
+
};
|
|
1811
|
+
function Rt(e) {
|
|
1812
|
+
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
1813
|
+
return Xo[t];
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
var $o = {
|
|
1817
|
+
start: "end",
|
|
1818
|
+
end: "start"
|
|
1819
|
+
};
|
|
1820
|
+
function Vr(e) {
|
|
1821
|
+
return e.replace(/start|end/g, function(t) {
|
|
1822
|
+
return $o[t];
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
function lr(e) {
|
|
1826
|
+
var t = me(e), r = t.pageXOffset, n = t.pageYOffset;
|
|
1827
|
+
return {
|
|
1828
|
+
scrollLeft: r,
|
|
1829
|
+
scrollTop: n
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
function fr(e) {
|
|
1833
|
+
return $e(_e(e)).left + lr(e).scrollLeft;
|
|
1834
|
+
}
|
|
1835
|
+
function Zo(e, t) {
|
|
1836
|
+
var r = me(e), n = _e(e), o = r.visualViewport, i = n.clientWidth, s = n.clientHeight, u = 0, c = 0;
|
|
1837
|
+
if (o) {
|
|
1838
|
+
i = o.width, s = o.height;
|
|
1839
|
+
var f = dn();
|
|
1840
|
+
(f || !f && t === "fixed") && (u = o.offsetLeft, c = o.offsetTop);
|
|
1841
|
+
}
|
|
1842
|
+
return {
|
|
1843
|
+
width: i,
|
|
1844
|
+
height: s,
|
|
1845
|
+
x: u + fr(e),
|
|
1846
|
+
y: c
|
|
1847
|
+
};
|
|
1848
|
+
}
|
|
1849
|
+
function ei(e) {
|
|
1850
|
+
var t, r = _e(e), n = lr(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = Le(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = Le(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), u = -n.scrollLeft + fr(e), c = -n.scrollTop;
|
|
1851
|
+
return Ce(o || r).direction === "rtl" && (u += Le(r.clientWidth, o ? o.clientWidth : 0) - i), {
|
|
1852
|
+
width: i,
|
|
1853
|
+
height: s,
|
|
1854
|
+
x: u,
|
|
1855
|
+
y: c
|
|
1856
|
+
};
|
|
1857
|
+
}
|
|
1858
|
+
function dr(e) {
|
|
1859
|
+
var t = Ce(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
|
|
1860
|
+
return /auto|scroll|overlay|hidden/.test(r + o + n);
|
|
1861
|
+
}
|
|
1862
|
+
function yn(e) {
|
|
1863
|
+
return ["html", "body", "#document"].indexOf(De(e)) >= 0 ? e.ownerDocument.body : Ee(e) && dr(e) ? e : yn(kt(e));
|
|
1864
|
+
}
|
|
1865
|
+
function dt(e, t) {
|
|
1866
|
+
var r;
|
|
1867
|
+
t === void 0 && (t = []);
|
|
1868
|
+
var n = yn(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = me(n), s = o ? [i].concat(i.visualViewport || [], dr(n) ? n : []) : n, u = t.concat(s);
|
|
1869
|
+
return o ? u : (
|
|
1870
|
+
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
1871
|
+
u.concat(dt(kt(s)))
|
|
1872
|
+
);
|
|
1873
|
+
}
|
|
1874
|
+
function Kt(e) {
|
|
1875
|
+
return Object.assign({}, e, {
|
|
1876
|
+
left: e.x,
|
|
1877
|
+
top: e.y,
|
|
1878
|
+
right: e.x + e.width,
|
|
1879
|
+
bottom: e.y + e.height
|
|
1880
|
+
});
|
|
1881
|
+
}
|
|
1882
|
+
function ti(e, t) {
|
|
1883
|
+
var r = $e(e, !1, t === "fixed");
|
|
1884
|
+
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
1885
|
+
}
|
|
1886
|
+
function Wr(e, t, r) {
|
|
1887
|
+
return t === ln ? Kt(Zo(e, r)) : He(t) ? ti(t, r) : Kt(ei(_e(e)));
|
|
1888
|
+
}
|
|
1889
|
+
function ri(e) {
|
|
1890
|
+
var t = dt(kt(e)), r = ["absolute", "fixed"].indexOf(Ce(e).position) >= 0, n = r && Ee(e) ? yt(e) : e;
|
|
1891
|
+
return He(n) ? t.filter(function(o) {
|
|
1892
|
+
return He(o) && pn(o, n) && De(o) !== "body";
|
|
1893
|
+
}) : [];
|
|
1894
|
+
}
|
|
1895
|
+
function ni(e, t, r, n) {
|
|
1896
|
+
var o = t === "clippingParents" ? ri(e) : [].concat(t), i = [].concat(o, [r]), s = i[0], u = i.reduce(function(c, f) {
|
|
1897
|
+
var l = Wr(e, f, n);
|
|
1898
|
+
return c.top = Le(l.top, c.top), c.right = Ct(l.right, c.right), c.bottom = Ct(l.bottom, c.bottom), c.left = Le(l.left, c.left), c;
|
|
1899
|
+
}, Wr(e, s, n));
|
|
1900
|
+
return u.width = u.right - u.left, u.height = u.bottom - u.top, u.x = u.left, u.y = u.top, u;
|
|
1901
|
+
}
|
|
1902
|
+
function gn(e) {
|
|
1903
|
+
var t = e.reference, r = e.element, n = e.placement, o = n ? xe(n) : null, i = n ? Ze(n) : null, s = t.x + t.width / 2 - r.width / 2, u = t.y + t.height / 2 - r.height / 2, c;
|
|
1904
|
+
switch (o) {
|
|
1905
|
+
case de:
|
|
1906
|
+
c = {
|
|
1907
|
+
x: s,
|
|
1908
|
+
y: t.y - r.height
|
|
1909
|
+
};
|
|
1910
|
+
break;
|
|
1911
|
+
case be:
|
|
1912
|
+
c = {
|
|
1913
|
+
x: s,
|
|
1914
|
+
y: t.y + t.height
|
|
1915
|
+
};
|
|
1916
|
+
break;
|
|
1917
|
+
case we:
|
|
1918
|
+
c = {
|
|
1919
|
+
x: t.x + t.width,
|
|
1920
|
+
y: u
|
|
1921
|
+
};
|
|
1922
|
+
break;
|
|
1923
|
+
case pe:
|
|
1924
|
+
c = {
|
|
1925
|
+
x: t.x - r.width,
|
|
1926
|
+
y: u
|
|
1927
|
+
};
|
|
1928
|
+
break;
|
|
1929
|
+
default:
|
|
1930
|
+
c = {
|
|
1931
|
+
x: t.x,
|
|
1932
|
+
y: t.y
|
|
1933
|
+
};
|
|
1934
|
+
}
|
|
1935
|
+
var f = o ? cr(o) : null;
|
|
1936
|
+
if (f != null) {
|
|
1937
|
+
var l = f === "y" ? "height" : "width";
|
|
1938
|
+
switch (i) {
|
|
1939
|
+
case Qe:
|
|
1940
|
+
c[f] = c[f] - (t[l] / 2 - r[l] / 2);
|
|
1941
|
+
break;
|
|
1942
|
+
case vt:
|
|
1943
|
+
c[f] = c[f] + (t[l] / 2 - r[l] / 2);
|
|
1944
|
+
break;
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
return c;
|
|
1948
|
+
}
|
|
1949
|
+
function mt(e, t) {
|
|
1950
|
+
t === void 0 && (t = {});
|
|
1951
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, s = i === void 0 ? e.strategy : i, u = r.boundary, c = u === void 0 ? To : u, f = r.rootBoundary, l = f === void 0 ? ln : f, d = r.elementContext, h = d === void 0 ? ut : d, g = r.altBoundary, b = g === void 0 ? !1 : g, w = r.padding, y = w === void 0 ? 0 : w, T = mn(typeof y != "number" ? y : hn(y, ht)), x = h === ut ? Co : ut, C = e.rects.popper, R = e.elements[b ? x : h], p = ni(He(R) ? R : R.contextElement || _e(e.elements.popper), c, l, s), S = $e(e.elements.reference), I = gn({
|
|
1952
|
+
reference: S,
|
|
1953
|
+
element: C,
|
|
1954
|
+
strategy: "absolute",
|
|
1955
|
+
placement: o
|
|
1956
|
+
}), G = Kt(Object.assign({}, C, I)), X = h === ut ? G : S, J = {
|
|
1957
|
+
top: p.top - X.top + T.top,
|
|
1958
|
+
bottom: X.bottom - p.bottom + T.bottom,
|
|
1959
|
+
left: p.left - X.left + T.left,
|
|
1960
|
+
right: X.right - p.right + T.right
|
|
1961
|
+
}, Z = e.modifiersData.offset;
|
|
1962
|
+
if (h === ut && Z) {
|
|
1963
|
+
var ie = Z[o];
|
|
1964
|
+
Object.keys(J).forEach(function(V) {
|
|
1965
|
+
var q = [we, be].indexOf(V) >= 0 ? 1 : -1, $ = [de, be].indexOf(V) >= 0 ? "y" : "x";
|
|
1966
|
+
J[V] += ie[$] * q;
|
|
1967
|
+
});
|
|
1968
|
+
}
|
|
1969
|
+
return J;
|
|
1970
|
+
}
|
|
1971
|
+
function oi(e, t) {
|
|
1972
|
+
t === void 0 && (t = {});
|
|
1973
|
+
var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, s = r.padding, u = r.flipVariations, c = r.allowedAutoPlacements, f = c === void 0 ? fn : c, l = Ze(n), d = l ? u ? Nr : Nr.filter(function(b) {
|
|
1974
|
+
return Ze(b) === l;
|
|
1975
|
+
}) : ht, h = d.filter(function(b) {
|
|
1976
|
+
return f.indexOf(b) >= 0;
|
|
1977
|
+
});
|
|
1978
|
+
h.length === 0 && (h = d);
|
|
1979
|
+
var g = h.reduce(function(b, w) {
|
|
1980
|
+
return b[w] = mt(e, {
|
|
1981
|
+
placement: w,
|
|
1982
|
+
boundary: o,
|
|
1983
|
+
rootBoundary: i,
|
|
1984
|
+
padding: s
|
|
1985
|
+
})[xe(w)], b;
|
|
1986
|
+
}, {});
|
|
1987
|
+
return Object.keys(g).sort(function(b, w) {
|
|
1988
|
+
return g[b] - g[w];
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
function ii(e) {
|
|
1992
|
+
if (xe(e) === ar)
|
|
1993
|
+
return [];
|
|
1994
|
+
var t = Rt(e);
|
|
1995
|
+
return [Vr(e), t, Vr(t)];
|
|
1996
|
+
}
|
|
1997
|
+
function ai(e) {
|
|
1998
|
+
var t = e.state, r = e.options, n = e.name;
|
|
1999
|
+
if (!t.modifiersData[n]._skip) {
|
|
2000
|
+
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, u = s === void 0 ? !0 : s, c = r.fallbackPlacements, f = r.padding, l = r.boundary, d = r.rootBoundary, h = r.altBoundary, g = r.flipVariations, b = g === void 0 ? !0 : g, w = r.allowedAutoPlacements, y = t.options.placement, T = xe(y), x = T === y, C = c || (x || !b ? [Rt(y)] : ii(y)), R = [y].concat(C).reduce(function(P, L) {
|
|
2001
|
+
return P.concat(xe(L) === ar ? oi(t, {
|
|
2002
|
+
placement: L,
|
|
2003
|
+
boundary: l,
|
|
2004
|
+
rootBoundary: d,
|
|
2005
|
+
padding: f,
|
|
2006
|
+
flipVariations: b,
|
|
2007
|
+
allowedAutoPlacements: w
|
|
2008
|
+
}) : L);
|
|
2009
|
+
}, []), p = t.rects.reference, S = t.rects.popper, I = /* @__PURE__ */ new Map(), G = !0, X = R[0], J = 0; J < R.length; J++) {
|
|
2010
|
+
var Z = R[J], ie = xe(Z), V = Ze(Z) === Qe, q = [de, be].indexOf(ie) >= 0, $ = q ? "width" : "height", ee = mt(t, {
|
|
2011
|
+
placement: Z,
|
|
2012
|
+
boundary: l,
|
|
2013
|
+
rootBoundary: d,
|
|
2014
|
+
altBoundary: h,
|
|
2015
|
+
padding: f
|
|
2016
|
+
}), re = q ? V ? we : pe : V ? be : de;
|
|
2017
|
+
p[$] > S[$] && (re = Rt(re));
|
|
2018
|
+
var he = Rt(re), fe = [];
|
|
2019
|
+
if (i && fe.push(ee[ie] <= 0), u && fe.push(ee[re] <= 0, ee[he] <= 0), fe.every(function(P) {
|
|
2020
|
+
return P;
|
|
2021
|
+
})) {
|
|
2022
|
+
X = Z, G = !1;
|
|
2023
|
+
break;
|
|
2024
|
+
}
|
|
2025
|
+
I.set(Z, fe);
|
|
2026
|
+
}
|
|
2027
|
+
if (G)
|
|
2028
|
+
for (var v = b ? 3 : 1, O = function(L) {
|
|
2029
|
+
var j = R.find(function(_) {
|
|
2030
|
+
var M = I.get(_);
|
|
2031
|
+
if (M)
|
|
2032
|
+
return M.slice(0, L).every(function(U) {
|
|
2033
|
+
return U;
|
|
2034
|
+
});
|
|
2035
|
+
});
|
|
2036
|
+
if (j)
|
|
2037
|
+
return X = j, "break";
|
|
2038
|
+
}, F = v; F > 0; F--) {
|
|
2039
|
+
var B = O(F);
|
|
2040
|
+
if (B === "break") break;
|
|
2041
|
+
}
|
|
2042
|
+
t.placement !== X && (t.modifiersData[n]._skip = !0, t.placement = X, t.reset = !0);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
const si = {
|
|
2046
|
+
name: "flip",
|
|
2047
|
+
enabled: !0,
|
|
2048
|
+
phase: "main",
|
|
2049
|
+
fn: ai,
|
|
2050
|
+
requiresIfExists: ["offset"],
|
|
2051
|
+
data: {
|
|
2052
|
+
_skip: !1
|
|
2053
|
+
}
|
|
2054
|
+
};
|
|
2055
|
+
function Jr(e, t, r) {
|
|
2056
|
+
return r === void 0 && (r = {
|
|
2057
|
+
x: 0,
|
|
2058
|
+
y: 0
|
|
2059
|
+
}), {
|
|
2060
|
+
top: e.top - t.height - r.y,
|
|
2061
|
+
right: e.right - t.width + r.x,
|
|
2062
|
+
bottom: e.bottom - t.height + r.y,
|
|
2063
|
+
left: e.left - t.width - r.x
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
function Gr(e) {
|
|
2067
|
+
return [de, we, be, pe].some(function(t) {
|
|
2068
|
+
return e[t] >= 0;
|
|
2069
|
+
});
|
|
2070
|
+
}
|
|
2071
|
+
function ui(e) {
|
|
2072
|
+
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s = mt(t, {
|
|
2073
|
+
elementContext: "reference"
|
|
2074
|
+
}), u = mt(t, {
|
|
2075
|
+
altBoundary: !0
|
|
2076
|
+
}), c = Jr(s, n), f = Jr(u, o, i), l = Gr(c), d = Gr(f);
|
|
2077
|
+
t.modifiersData[r] = {
|
|
2078
|
+
referenceClippingOffsets: c,
|
|
2079
|
+
popperEscapeOffsets: f,
|
|
2080
|
+
isReferenceHidden: l,
|
|
2081
|
+
hasPopperEscaped: d
|
|
2082
|
+
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
2083
|
+
"data-popper-reference-hidden": l,
|
|
2084
|
+
"data-popper-escaped": d
|
|
2085
|
+
});
|
|
2086
|
+
}
|
|
2087
|
+
const ci = {
|
|
2088
|
+
name: "hide",
|
|
2089
|
+
enabled: !0,
|
|
2090
|
+
phase: "main",
|
|
2091
|
+
requiresIfExists: ["preventOverflow"],
|
|
2092
|
+
fn: ui
|
|
2093
|
+
};
|
|
2094
|
+
function li(e, t, r) {
|
|
2095
|
+
var n = xe(e), o = [pe, de].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
|
|
2096
|
+
placement: e
|
|
2097
|
+
})) : r, s = i[0], u = i[1];
|
|
2098
|
+
return s = s || 0, u = (u || 0) * o, [pe, we].indexOf(n) >= 0 ? {
|
|
2099
|
+
x: u,
|
|
2100
|
+
y: s
|
|
2101
|
+
} : {
|
|
2102
|
+
x: s,
|
|
2103
|
+
y: u
|
|
2104
|
+
};
|
|
2105
|
+
}
|
|
2106
|
+
function fi(e) {
|
|
2107
|
+
var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, s = fn.reduce(function(l, d) {
|
|
2108
|
+
return l[d] = li(d, t.rects, i), l;
|
|
2109
|
+
}, {}), u = s[t.placement], c = u.x, f = u.y;
|
|
2110
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += f), t.modifiersData[n] = s;
|
|
2111
|
+
}
|
|
2112
|
+
const di = {
|
|
2113
|
+
name: "offset",
|
|
2114
|
+
enabled: !0,
|
|
2115
|
+
phase: "main",
|
|
2116
|
+
requires: ["popperOffsets"],
|
|
2117
|
+
fn: fi
|
|
2118
|
+
};
|
|
2119
|
+
function pi(e) {
|
|
2120
|
+
var t = e.state, r = e.name;
|
|
2121
|
+
t.modifiersData[r] = gn({
|
|
2122
|
+
reference: t.rects.reference,
|
|
2123
|
+
element: t.rects.popper,
|
|
2124
|
+
strategy: "absolute",
|
|
2125
|
+
placement: t.placement
|
|
2126
|
+
});
|
|
2127
|
+
}
|
|
2128
|
+
const vi = {
|
|
2129
|
+
name: "popperOffsets",
|
|
2130
|
+
enabled: !0,
|
|
2131
|
+
phase: "read",
|
|
2132
|
+
fn: pi,
|
|
2133
|
+
data: {}
|
|
2134
|
+
};
|
|
2135
|
+
function mi(e) {
|
|
2136
|
+
return e === "x" ? "y" : "x";
|
|
2137
|
+
}
|
|
2138
|
+
function hi(e) {
|
|
2139
|
+
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, u = s === void 0 ? !1 : s, c = r.boundary, f = r.rootBoundary, l = r.altBoundary, d = r.padding, h = r.tether, g = h === void 0 ? !0 : h, b = r.tetherOffset, w = b === void 0 ? 0 : b, y = mt(t, {
|
|
2140
|
+
boundary: c,
|
|
2141
|
+
rootBoundary: f,
|
|
2142
|
+
padding: d,
|
|
2143
|
+
altBoundary: l
|
|
2144
|
+
}), T = xe(t.placement), x = Ze(t.placement), C = !x, R = cr(T), p = mi(R), S = t.modifiersData.popperOffsets, I = t.rects.reference, G = t.rects.popper, X = typeof w == "function" ? w(Object.assign({}, t.rects, {
|
|
2145
|
+
placement: t.placement
|
|
2146
|
+
})) : w, J = typeof X == "number" ? {
|
|
2147
|
+
mainAxis: X,
|
|
2148
|
+
altAxis: X
|
|
2149
|
+
} : Object.assign({
|
|
2150
|
+
mainAxis: 0,
|
|
2151
|
+
altAxis: 0
|
|
2152
|
+
}, X), Z = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, ie = {
|
|
2153
|
+
x: 0,
|
|
2154
|
+
y: 0
|
|
2155
|
+
};
|
|
2156
|
+
if (S) {
|
|
2157
|
+
if (i) {
|
|
2158
|
+
var V, q = R === "y" ? de : pe, $ = R === "y" ? be : we, ee = R === "y" ? "height" : "width", re = S[R], he = re + y[q], fe = re - y[$], v = g ? -G[ee] / 2 : 0, O = x === Qe ? I[ee] : G[ee], F = x === Qe ? -G[ee] : -I[ee], B = t.elements.arrow, P = g && B ? ur(B) : {
|
|
2159
|
+
width: 0,
|
|
2160
|
+
height: 0
|
|
2161
|
+
}, L = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vn(), j = L[q], _ = L[$], M = ft(0, I[ee], P[ee]), U = C ? I[ee] / 2 - v - M - j - J.mainAxis : O - M - j - J.mainAxis, H = C ? -I[ee] / 2 + v + M + _ + J.mainAxis : F + M + _ + J.mainAxis, ae = t.elements.arrow && yt(t.elements.arrow), E = ae ? R === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ce = (V = Z == null ? void 0 : Z[R]) != null ? V : 0, ke = re + U - ce - E, Ae = re + H - ce, Me = ft(g ? Ct(he, ke) : he, re, g ? Le(fe, Ae) : fe);
|
|
2162
|
+
S[R] = Me, ie[R] = Me - re;
|
|
2163
|
+
}
|
|
2164
|
+
if (u) {
|
|
2165
|
+
var rt, gt = R === "x" ? de : pe, Ve = R === "x" ? be : we, Oe = S[p], We = p === "y" ? "height" : "width", Je = Oe + y[gt], bt = Oe - y[Ve], nt = [de, pe].indexOf(T) !== -1, ot = (rt = Z == null ? void 0 : Z[p]) != null ? rt : 0, it = nt ? Je : Oe - I[We] - G[We] - ot + J.altAxis, Pe = nt ? Oe + I[We] + G[We] - ot - J.altAxis : bt, wt = g && nt ? No(it, Oe, Pe) : ft(g ? it : Je, Oe, g ? Pe : bt);
|
|
2166
|
+
S[p] = wt, ie[p] = wt - Oe;
|
|
2167
|
+
}
|
|
2168
|
+
t.modifiersData[n] = ie;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
const yi = {
|
|
2172
|
+
name: "preventOverflow",
|
|
2173
|
+
enabled: !0,
|
|
2174
|
+
phase: "main",
|
|
2175
|
+
fn: hi,
|
|
2176
|
+
requiresIfExists: ["offset"]
|
|
2177
|
+
};
|
|
2178
|
+
function gi(e) {
|
|
2179
|
+
return {
|
|
2180
|
+
scrollLeft: e.scrollLeft,
|
|
2181
|
+
scrollTop: e.scrollTop
|
|
2182
|
+
};
|
|
2183
|
+
}
|
|
2184
|
+
function bi(e) {
|
|
2185
|
+
return e === me(e) || !Ee(e) ? lr(e) : gi(e);
|
|
2186
|
+
}
|
|
2187
|
+
function wi(e) {
|
|
2188
|
+
var t = e.getBoundingClientRect(), r = Xe(t.width) / e.offsetWidth || 1, n = Xe(t.height) / e.offsetHeight || 1;
|
|
2189
|
+
return r !== 1 || n !== 1;
|
|
2190
|
+
}
|
|
2191
|
+
function xi(e, t, r) {
|
|
2192
|
+
r === void 0 && (r = !1);
|
|
2193
|
+
var n = Ee(t), o = Ee(t) && wi(t), i = _e(t), s = $e(e, o, r), u = {
|
|
2194
|
+
scrollLeft: 0,
|
|
2195
|
+
scrollTop: 0
|
|
2196
|
+
}, c = {
|
|
2197
|
+
x: 0,
|
|
2198
|
+
y: 0
|
|
2199
|
+
};
|
|
2200
|
+
return (n || !n && !r) && ((De(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
2201
|
+
dr(i)) && (u = bi(t)), Ee(t) ? (c = $e(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = fr(i))), {
|
|
2202
|
+
x: s.left + u.scrollLeft - c.x,
|
|
2203
|
+
y: s.top + u.scrollTop - c.y,
|
|
2204
|
+
width: s.width,
|
|
2205
|
+
height: s.height
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
function Ei(e) {
|
|
2209
|
+
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
2210
|
+
e.forEach(function(i) {
|
|
2211
|
+
t.set(i.name, i);
|
|
2212
|
+
});
|
|
2213
|
+
function o(i) {
|
|
2214
|
+
r.add(i.name);
|
|
2215
|
+
var s = [].concat(i.requires || [], i.requiresIfExists || []);
|
|
2216
|
+
s.forEach(function(u) {
|
|
2217
|
+
if (!r.has(u)) {
|
|
2218
|
+
var c = t.get(u);
|
|
2219
|
+
c && o(c);
|
|
2220
|
+
}
|
|
2221
|
+
}), n.push(i);
|
|
2222
|
+
}
|
|
2223
|
+
return e.forEach(function(i) {
|
|
2224
|
+
r.has(i.name) || o(i);
|
|
2225
|
+
}), n;
|
|
2226
|
+
}
|
|
2227
|
+
function Ai(e) {
|
|
2228
|
+
var t = Ei(e);
|
|
2229
|
+
return Io.reduce(function(r, n) {
|
|
2230
|
+
return r.concat(t.filter(function(o) {
|
|
2231
|
+
return o.phase === n;
|
|
2232
|
+
}));
|
|
2233
|
+
}, []);
|
|
2234
|
+
}
|
|
2235
|
+
function Oi(e) {
|
|
2236
|
+
var t;
|
|
2237
|
+
return function() {
|
|
2238
|
+
return t || (t = new Promise(function(r) {
|
|
2239
|
+
Promise.resolve().then(function() {
|
|
2240
|
+
t = void 0, r(e());
|
|
2241
|
+
});
|
|
2242
|
+
})), t;
|
|
2243
|
+
};
|
|
2244
|
+
}
|
|
2245
|
+
function Ri(e) {
|
|
2246
|
+
var t = e.reduce(function(r, n) {
|
|
2247
|
+
var o = r[n.name];
|
|
2248
|
+
return r[n.name] = o ? Object.assign({}, o, n, {
|
|
2249
|
+
options: Object.assign({}, o.options, n.options),
|
|
2250
|
+
data: Object.assign({}, o.data, n.data)
|
|
2251
|
+
}) : n, r;
|
|
2252
|
+
}, {});
|
|
2253
|
+
return Object.keys(t).map(function(r) {
|
|
2254
|
+
return t[r];
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
var qr = {
|
|
2258
|
+
placement: "bottom",
|
|
2259
|
+
modifiers: [],
|
|
2260
|
+
strategy: "absolute"
|
|
2261
|
+
};
|
|
2262
|
+
function zr() {
|
|
2263
|
+
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
2264
|
+
t[r] = arguments[r];
|
|
2265
|
+
return !t.some(function(n) {
|
|
2266
|
+
return !(n && typeof n.getBoundingClientRect == "function");
|
|
2267
|
+
});
|
|
2268
|
+
}
|
|
2269
|
+
function Ti(e) {
|
|
2270
|
+
e === void 0 && (e = {});
|
|
2271
|
+
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, i = o === void 0 ? qr : o;
|
|
2272
|
+
return function(u, c, f) {
|
|
2273
|
+
f === void 0 && (f = i);
|
|
2274
|
+
var l = {
|
|
2275
|
+
placement: "bottom",
|
|
2276
|
+
orderedModifiers: [],
|
|
2277
|
+
options: Object.assign({}, qr, i),
|
|
2278
|
+
modifiersData: {},
|
|
2279
|
+
elements: {
|
|
2280
|
+
reference: u,
|
|
2281
|
+
popper: c
|
|
2282
|
+
},
|
|
2283
|
+
attributes: {},
|
|
2284
|
+
styles: {}
|
|
2285
|
+
}, d = [], h = !1, g = {
|
|
2286
|
+
state: l,
|
|
2287
|
+
setOptions: function(T) {
|
|
2288
|
+
var x = typeof T == "function" ? T(l.options) : T;
|
|
2289
|
+
w(), l.options = Object.assign({}, i, l.options, x), l.scrollParents = {
|
|
2290
|
+
reference: He(u) ? dt(u) : u.contextElement ? dt(u.contextElement) : [],
|
|
2291
|
+
popper: dt(c)
|
|
2292
|
+
};
|
|
2293
|
+
var C = Ai(Ri([].concat(n, l.options.modifiers)));
|
|
2294
|
+
return l.orderedModifiers = C.filter(function(R) {
|
|
2295
|
+
return R.enabled;
|
|
2296
|
+
}), b(), g.update();
|
|
2297
|
+
},
|
|
2298
|
+
// Sync update – it will always be executed, even if not necessary. This
|
|
2299
|
+
// is useful for low frequency updates where sync behavior simplifies the
|
|
2300
|
+
// logic.
|
|
2301
|
+
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
2302
|
+
// prefer the async Popper#update method
|
|
2303
|
+
forceUpdate: function() {
|
|
2304
|
+
if (!h) {
|
|
2305
|
+
var T = l.elements, x = T.reference, C = T.popper;
|
|
2306
|
+
if (zr(x, C)) {
|
|
2307
|
+
l.rects = {
|
|
2308
|
+
reference: xi(x, yt(C), l.options.strategy === "fixed"),
|
|
2309
|
+
popper: ur(C)
|
|
2310
|
+
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(J) {
|
|
2311
|
+
return l.modifiersData[J.name] = Object.assign({}, J.data);
|
|
2312
|
+
});
|
|
2313
|
+
for (var R = 0; R < l.orderedModifiers.length; R++) {
|
|
2314
|
+
if (l.reset === !0) {
|
|
2315
|
+
l.reset = !1, R = -1;
|
|
2316
|
+
continue;
|
|
2317
|
+
}
|
|
2318
|
+
var p = l.orderedModifiers[R], S = p.fn, I = p.options, G = I === void 0 ? {} : I, X = p.name;
|
|
2319
|
+
typeof S == "function" && (l = S({
|
|
2320
|
+
state: l,
|
|
2321
|
+
options: G,
|
|
2322
|
+
name: X,
|
|
2323
|
+
instance: g
|
|
2324
|
+
}) || l);
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
// Async and optimistically optimized update – it will not be executed if
|
|
2330
|
+
// not necessary (debounced to run at most once-per-tick)
|
|
2331
|
+
update: Oi(function() {
|
|
2332
|
+
return new Promise(function(y) {
|
|
2333
|
+
g.forceUpdate(), y(l);
|
|
2334
|
+
});
|
|
2335
|
+
}),
|
|
2336
|
+
destroy: function() {
|
|
2337
|
+
w(), h = !0;
|
|
2338
|
+
}
|
|
2339
|
+
};
|
|
2340
|
+
if (!zr(u, c))
|
|
2341
|
+
return g;
|
|
2342
|
+
g.setOptions(f).then(function(y) {
|
|
2343
|
+
!h && f.onFirstUpdate && f.onFirstUpdate(y);
|
|
2344
|
+
});
|
|
2345
|
+
function b() {
|
|
2346
|
+
l.orderedModifiers.forEach(function(y) {
|
|
2347
|
+
var T = y.name, x = y.options, C = x === void 0 ? {} : x, R = y.effect;
|
|
2348
|
+
if (typeof R == "function") {
|
|
2349
|
+
var p = R({
|
|
2350
|
+
state: l,
|
|
2351
|
+
name: T,
|
|
2352
|
+
instance: g,
|
|
2353
|
+
options: C
|
|
2354
|
+
}), S = function() {
|
|
2355
|
+
};
|
|
2356
|
+
d.push(p || S);
|
|
2357
|
+
}
|
|
2358
|
+
});
|
|
2359
|
+
}
|
|
2360
|
+
function w() {
|
|
2361
|
+
d.forEach(function(y) {
|
|
2362
|
+
return y();
|
|
2363
|
+
}), d = [];
|
|
2364
|
+
}
|
|
2365
|
+
return g;
|
|
2366
|
+
};
|
|
2367
|
+
}
|
|
2368
|
+
const Ci = Ti({
|
|
2369
|
+
defaultModifiers: [ci, vi, zo, Qo, di, si, yi, Wo]
|
|
2370
|
+
}), Si = ["enabled", "placement", "strategy", "modifiers"];
|
|
2371
|
+
function ki(e, t) {
|
|
2372
|
+
if (e == null) return {};
|
|
2373
|
+
var r = {}, n = Object.keys(e), o, i;
|
|
2374
|
+
for (i = 0; i < n.length; i++)
|
|
2375
|
+
o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
2376
|
+
return r;
|
|
2377
|
+
}
|
|
2378
|
+
const Pi = {
|
|
2379
|
+
name: "applyStyles",
|
|
2380
|
+
enabled: !1,
|
|
2381
|
+
phase: "afterWrite",
|
|
2382
|
+
fn: () => {
|
|
2383
|
+
}
|
|
2384
|
+
}, ji = {
|
|
2385
|
+
name: "ariaDescribedBy",
|
|
2386
|
+
enabled: !0,
|
|
2387
|
+
phase: "afterWrite",
|
|
2388
|
+
effect: ({
|
|
2389
|
+
state: e
|
|
2390
|
+
}) => () => {
|
|
2391
|
+
const {
|
|
2392
|
+
reference: t,
|
|
2393
|
+
popper: r
|
|
2394
|
+
} = e.elements;
|
|
2395
|
+
if ("removeAttribute" in t) {
|
|
2396
|
+
const n = (t.getAttribute("aria-describedby") || "").split(",").filter((o) => o.trim() !== r.id);
|
|
2397
|
+
n.length ? t.setAttribute("aria-describedby", n.join(",")) : t.removeAttribute("aria-describedby");
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
fn: ({
|
|
2401
|
+
state: e
|
|
2402
|
+
}) => {
|
|
2403
|
+
var t;
|
|
2404
|
+
const {
|
|
2405
|
+
popper: r,
|
|
2406
|
+
reference: n
|
|
2407
|
+
} = e.elements, o = (t = r.getAttribute("role")) == null ? void 0 : t.toLowerCase();
|
|
2408
|
+
if (r.id && o === "tooltip" && "setAttribute" in n) {
|
|
2409
|
+
const i = n.getAttribute("aria-describedby");
|
|
2410
|
+
if (i && i.split(",").indexOf(r.id) !== -1)
|
|
2411
|
+
return;
|
|
2412
|
+
n.setAttribute("aria-describedby", i ? `${i},${r.id}` : r.id);
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
}, Di = [];
|
|
2416
|
+
function _i(e, t, r = {}) {
|
|
2417
|
+
let {
|
|
2418
|
+
enabled: n = !0,
|
|
2419
|
+
placement: o = "bottom",
|
|
2420
|
+
strategy: i = "absolute",
|
|
2421
|
+
modifiers: s = Di
|
|
2422
|
+
} = r, u = ki(r, Si);
|
|
2423
|
+
const c = ue(s), f = ue(), l = oe(() => {
|
|
2424
|
+
var y;
|
|
2425
|
+
(y = f.current) == null || y.update();
|
|
2426
|
+
}, []), d = oe(() => {
|
|
2427
|
+
var y;
|
|
2428
|
+
(y = f.current) == null || y.forceUpdate();
|
|
2429
|
+
}, []), [h, g] = Ro(Ue({
|
|
2430
|
+
placement: o,
|
|
2431
|
+
update: l,
|
|
2432
|
+
forceUpdate: d,
|
|
2433
|
+
attributes: {},
|
|
2434
|
+
styles: {
|
|
2435
|
+
popper: {},
|
|
2436
|
+
arrow: {}
|
|
2437
|
+
}
|
|
2438
|
+
})), b = pt(() => ({
|
|
2439
|
+
name: "updateStateModifier",
|
|
2440
|
+
enabled: !0,
|
|
2441
|
+
phase: "write",
|
|
2442
|
+
requires: ["computeStyles"],
|
|
2443
|
+
fn: ({
|
|
2444
|
+
state: y
|
|
2445
|
+
}) => {
|
|
2446
|
+
const T = {}, x = {};
|
|
2447
|
+
Object.keys(y.elements).forEach((C) => {
|
|
2448
|
+
T[C] = y.styles[C], x[C] = y.attributes[C];
|
|
2449
|
+
}), g({
|
|
2450
|
+
state: y,
|
|
2451
|
+
styles: T,
|
|
2452
|
+
attributes: x,
|
|
2453
|
+
update: l,
|
|
2454
|
+
forceUpdate: d,
|
|
2455
|
+
placement: y.placement
|
|
2456
|
+
});
|
|
2457
|
+
}
|
|
2458
|
+
}), [l, d, g]), w = pt(() => (lt(c.current, s) || (c.current = s), c.current), [s]);
|
|
2459
|
+
return ge(() => {
|
|
2460
|
+
!f.current || !n || f.current.setOptions({
|
|
2461
|
+
placement: o,
|
|
2462
|
+
strategy: i,
|
|
2463
|
+
modifiers: [...w, b, Pi]
|
|
2464
|
+
});
|
|
2465
|
+
}, [i, o, b, n, w]), ge(() => {
|
|
2466
|
+
if (!(!n || e == null || t == null))
|
|
2467
|
+
return f.current = Ci(e, t, Object.assign({}, u, {
|
|
2468
|
+
placement: o,
|
|
2469
|
+
strategy: i,
|
|
2470
|
+
modifiers: [...w, ji, b]
|
|
2471
|
+
})), () => {
|
|
2472
|
+
f.current != null && (f.current.destroy(), f.current = void 0, g((y) => Object.assign({}, y, {
|
|
2473
|
+
attributes: {},
|
|
2474
|
+
styles: {
|
|
2475
|
+
popper: {}
|
|
2476
|
+
}
|
|
2477
|
+
})));
|
|
2478
|
+
};
|
|
2479
|
+
}, [n, e, t]), h;
|
|
2480
|
+
}
|
|
2481
|
+
const pr = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
2482
|
+
var Qt = !1, Xt = !1;
|
|
2483
|
+
try {
|
|
2484
|
+
var Ut = {
|
|
2485
|
+
get passive() {
|
|
2486
|
+
return Qt = !0;
|
|
2487
|
+
},
|
|
2488
|
+
get once() {
|
|
2489
|
+
return Xt = Qt = !0;
|
|
2490
|
+
}
|
|
2491
|
+
};
|
|
2492
|
+
pr && (window.addEventListener("test", Ut, Ut), window.removeEventListener("test", Ut, !0));
|
|
2493
|
+
} catch {
|
|
2494
|
+
}
|
|
2495
|
+
function Mi(e, t, r, n) {
|
|
2496
|
+
if (n && typeof n != "boolean" && !Xt) {
|
|
2497
|
+
var o = n.once, i = n.capture, s = r;
|
|
2498
|
+
!Xt && o && (s = r.__once || function u(c) {
|
|
2499
|
+
this.removeEventListener(t, u, i), r.call(this, c);
|
|
2500
|
+
}, r.__once = s), e.addEventListener(t, s, Qt ? n : i);
|
|
2501
|
+
}
|
|
2502
|
+
e.addEventListener(t, r, n);
|
|
2503
|
+
}
|
|
2504
|
+
function Fi(e, t, r, n) {
|
|
2505
|
+
var o = n && typeof n != "boolean" ? n.capture : n;
|
|
2506
|
+
e.removeEventListener(t, r, o), r.__once && e.removeEventListener(t, r.__once, o);
|
|
2507
|
+
}
|
|
2508
|
+
function Ie(e, t, r, n) {
|
|
2509
|
+
return Mi(e, t, r, n), function() {
|
|
2510
|
+
Fi(e, t, r, n);
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
function Pt(e) {
|
|
2514
|
+
return e && e.ownerDocument || document;
|
|
2515
|
+
}
|
|
2516
|
+
function Bi(e) {
|
|
2517
|
+
const t = ue(e);
|
|
2518
|
+
return ge(() => {
|
|
2519
|
+
t.current = e;
|
|
2520
|
+
}, [e]), t;
|
|
2521
|
+
}
|
|
2522
|
+
function et(e) {
|
|
2523
|
+
const t = Bi(e);
|
|
2524
|
+
return oe(function(...r) {
|
|
2525
|
+
return t.current && t.current(...r);
|
|
2526
|
+
}, [t]);
|
|
2527
|
+
}
|
|
2528
|
+
const Kr = () => {
|
|
2529
|
+
};
|
|
2530
|
+
function Ii(e) {
|
|
2531
|
+
return e.button === 0;
|
|
2532
|
+
}
|
|
2533
|
+
function Li(e) {
|
|
2534
|
+
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
2535
|
+
}
|
|
2536
|
+
const Tt = (e) => e && ("current" in e ? e.current : e), Qr = {
|
|
2537
|
+
click: "mousedown",
|
|
2538
|
+
mouseup: "mousedown",
|
|
2539
|
+
pointerup: "pointerdown"
|
|
2540
|
+
};
|
|
2541
|
+
function Hi(e, t = Kr, {
|
|
2542
|
+
disabled: r,
|
|
2543
|
+
clickTrigger: n = "click"
|
|
2544
|
+
} = {}) {
|
|
2545
|
+
const o = ue(!1), i = ue(!1), s = oe((f) => {
|
|
2546
|
+
const l = Tt(e);
|
|
2547
|
+
un(!!l, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !l || Li(f) || !Ii(f) || !!Wt(l, f.target) || i.current, i.current = !1;
|
|
2548
|
+
}, [e]), u = et((f) => {
|
|
2549
|
+
const l = Tt(e);
|
|
2550
|
+
l && Wt(l, f.target) && (i.current = !0);
|
|
2551
|
+
}), c = et((f) => {
|
|
2552
|
+
o.current || t(f);
|
|
2553
|
+
});
|
|
2554
|
+
ge(() => {
|
|
2555
|
+
var f, l;
|
|
2556
|
+
if (r || e == null) return;
|
|
2557
|
+
const d = Pt(Tt(e)), h = d.defaultView || window;
|
|
2558
|
+
let g = (f = h.event) != null ? f : (l = h.parent) == null ? void 0 : l.event, b = null;
|
|
2559
|
+
Qr[n] && (b = Ie(d, Qr[n], u, !0));
|
|
2560
|
+
const w = Ie(d, n, s, !0), y = Ie(d, n, (x) => {
|
|
2561
|
+
if (x === g) {
|
|
2562
|
+
g = void 0;
|
|
2563
|
+
return;
|
|
2564
|
+
}
|
|
2565
|
+
c(x);
|
|
2566
|
+
});
|
|
2567
|
+
let T = [];
|
|
2568
|
+
return "ontouchstart" in d.documentElement && (T = [].slice.call(d.body.children).map((x) => Ie(x, "mousemove", Kr))), () => {
|
|
2569
|
+
b == null || b(), w(), y(), T.forEach((x) => x());
|
|
2570
|
+
};
|
|
2571
|
+
}, [e, r, n, s, u, c]);
|
|
2572
|
+
}
|
|
2573
|
+
function Ni(e) {
|
|
2574
|
+
return e.code === "Escape" || e.keyCode === 27;
|
|
2575
|
+
}
|
|
2576
|
+
const Ui = () => {
|
|
2577
|
+
};
|
|
2578
|
+
function Yi(e, t, {
|
|
2579
|
+
disabled: r,
|
|
2580
|
+
clickTrigger: n
|
|
2581
|
+
} = {}) {
|
|
2582
|
+
const o = t || Ui;
|
|
2583
|
+
Hi(e, o, {
|
|
2584
|
+
disabled: r,
|
|
2585
|
+
clickTrigger: n
|
|
2586
|
+
});
|
|
2587
|
+
const i = et((s) => {
|
|
2588
|
+
Ni(s) && o(s);
|
|
2589
|
+
});
|
|
2590
|
+
ge(() => {
|
|
2591
|
+
if (r || e == null) return;
|
|
2592
|
+
const s = Pt(Tt(e));
|
|
2593
|
+
let u = (s.defaultView || window).event;
|
|
2594
|
+
const c = Ie(s, "keyup", (f) => {
|
|
2595
|
+
if (f === u) {
|
|
2596
|
+
u = void 0;
|
|
2597
|
+
return;
|
|
2598
|
+
}
|
|
2599
|
+
i(f);
|
|
2600
|
+
});
|
|
2601
|
+
return () => {
|
|
2602
|
+
c();
|
|
2603
|
+
};
|
|
2604
|
+
}, [e, r, i]);
|
|
2605
|
+
}
|
|
2606
|
+
const bn = /* @__PURE__ */ zn(pr ? window : void 0);
|
|
2607
|
+
bn.Provider;
|
|
2608
|
+
function Vi() {
|
|
2609
|
+
return rr(bn);
|
|
2610
|
+
}
|
|
2611
|
+
const Yt = (e, t) => pr ? e == null ? (t || Pt()).body : (typeof e == "function" && (e = e()), e && "current" in e && (e = e.current), e && ("nodeType" in e || e.getBoundingClientRect) ? e : null) : null;
|
|
2612
|
+
function Xr(e, t) {
|
|
2613
|
+
const r = Vi(), [n, o] = Ue(() => Yt(e, r == null ? void 0 : r.document));
|
|
2614
|
+
if (!n) {
|
|
2615
|
+
const i = Yt(e);
|
|
2616
|
+
i && o(i);
|
|
2617
|
+
}
|
|
2618
|
+
return ge(() => {
|
|
2619
|
+
}, [t, n]), ge(() => {
|
|
2620
|
+
const i = Yt(e);
|
|
2621
|
+
i !== n && o(i);
|
|
2622
|
+
}, [e, n]), n;
|
|
2623
|
+
}
|
|
2624
|
+
function Wi(e) {
|
|
2625
|
+
const t = {};
|
|
2626
|
+
return Array.isArray(e) ? (e == null || e.forEach((r) => {
|
|
2627
|
+
t[r.name] = r;
|
|
2628
|
+
}), t) : e || t;
|
|
2629
|
+
}
|
|
2630
|
+
function Ji(e = {}) {
|
|
2631
|
+
return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
|
|
2632
|
+
}
|
|
2633
|
+
function Gi({
|
|
2634
|
+
enabled: e,
|
|
2635
|
+
enableEvents: t,
|
|
2636
|
+
placement: r,
|
|
2637
|
+
flip: n,
|
|
2638
|
+
offset: o,
|
|
2639
|
+
fixed: i,
|
|
2640
|
+
containerPadding: s,
|
|
2641
|
+
arrowElement: u,
|
|
2642
|
+
popperConfig: c = {}
|
|
2643
|
+
}) {
|
|
2644
|
+
var f, l, d, h, g;
|
|
2645
|
+
const b = Wi(c.modifiers);
|
|
2646
|
+
return Object.assign({}, c, {
|
|
2647
|
+
placement: r,
|
|
2648
|
+
enabled: e,
|
|
2649
|
+
strategy: i ? "fixed" : c.strategy,
|
|
2650
|
+
modifiers: Ji(Object.assign({}, b, {
|
|
2651
|
+
eventListeners: {
|
|
2652
|
+
enabled: t,
|
|
2653
|
+
options: (f = b.eventListeners) == null ? void 0 : f.options
|
|
2654
|
+
},
|
|
2655
|
+
preventOverflow: Object.assign({}, b.preventOverflow, {
|
|
2656
|
+
options: s ? Object.assign({
|
|
2657
|
+
padding: s
|
|
2658
|
+
}, (l = b.preventOverflow) == null ? void 0 : l.options) : (d = b.preventOverflow) == null ? void 0 : d.options
|
|
2659
|
+
}),
|
|
2660
|
+
offset: {
|
|
2661
|
+
options: Object.assign({
|
|
2662
|
+
offset: o
|
|
2663
|
+
}, (h = b.offset) == null ? void 0 : h.options)
|
|
2664
|
+
},
|
|
2665
|
+
arrow: Object.assign({}, b.arrow, {
|
|
2666
|
+
enabled: !!u,
|
|
2667
|
+
options: Object.assign({}, (g = b.arrow) == null ? void 0 : g.options, {
|
|
2668
|
+
element: u
|
|
2669
|
+
})
|
|
2670
|
+
}),
|
|
2671
|
+
flip: Object.assign({
|
|
2672
|
+
enabled: !!n
|
|
2673
|
+
}, b.flip)
|
|
2674
|
+
}))
|
|
2675
|
+
});
|
|
2676
|
+
}
|
|
2677
|
+
const qi = typeof global < "u" && // @ts-ignore
|
|
2678
|
+
global.navigator && // @ts-ignore
|
|
2679
|
+
global.navigator.product === "ReactNative", zi = typeof document < "u", $t = zi || qi ? Kn : ge;
|
|
2680
|
+
function Ki({
|
|
2681
|
+
children: e,
|
|
2682
|
+
in: t,
|
|
2683
|
+
onExited: r,
|
|
2684
|
+
mountOnEnter: n,
|
|
2685
|
+
unmountOnExit: o
|
|
2686
|
+
}) {
|
|
2687
|
+
const i = ue(null), s = ue(t), u = et(r);
|
|
2688
|
+
ge(() => {
|
|
2689
|
+
t ? s.current = !0 : u(i.current);
|
|
2690
|
+
}, [t, u]);
|
|
2691
|
+
const c = tt(i, e.ref), f = /* @__PURE__ */ nr(e, {
|
|
2692
|
+
ref: c
|
|
2693
|
+
});
|
|
2694
|
+
return t ? f : o || !s.current && n ? null : f;
|
|
2695
|
+
}
|
|
2696
|
+
function Qi({
|
|
2697
|
+
in: e,
|
|
2698
|
+
onTransition: t
|
|
2699
|
+
}) {
|
|
2700
|
+
const r = ue(null), n = ue(!0), o = et(t);
|
|
2701
|
+
return $t(() => {
|
|
2702
|
+
if (!r.current)
|
|
2703
|
+
return;
|
|
2704
|
+
let i = !1;
|
|
2705
|
+
return o({
|
|
2706
|
+
in: e,
|
|
2707
|
+
element: r.current,
|
|
2708
|
+
initial: n.current,
|
|
2709
|
+
isStale: () => i
|
|
2710
|
+
}), () => {
|
|
2711
|
+
i = !0;
|
|
2712
|
+
};
|
|
2713
|
+
}, [e, o]), $t(() => (n.current = !1, () => {
|
|
2714
|
+
n.current = !0;
|
|
2715
|
+
}), []), r;
|
|
2716
|
+
}
|
|
2717
|
+
function Xi({
|
|
2718
|
+
children: e,
|
|
2719
|
+
in: t,
|
|
2720
|
+
onExited: r,
|
|
2721
|
+
onEntered: n,
|
|
2722
|
+
transition: o
|
|
2723
|
+
}) {
|
|
2724
|
+
const [i, s] = Ue(!t);
|
|
2725
|
+
t && i && s(!1);
|
|
2726
|
+
const u = Qi({
|
|
2727
|
+
in: !!t,
|
|
2728
|
+
onTransition: (f) => {
|
|
2729
|
+
const l = () => {
|
|
2730
|
+
f.isStale() || (f.in ? n == null || n(f.element, f.initial) : (s(!0), r == null || r(f.element)));
|
|
2731
|
+
};
|
|
2732
|
+
Promise.resolve(o(f)).then(l, (d) => {
|
|
2733
|
+
throw f.in || s(!0), d;
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
}), c = tt(u, e.ref);
|
|
2737
|
+
return i && !t ? null : /* @__PURE__ */ nr(e, {
|
|
2738
|
+
ref: c
|
|
2739
|
+
});
|
|
2740
|
+
}
|
|
2741
|
+
function $i(e, t, r) {
|
|
2742
|
+
return e ? /* @__PURE__ */ k.jsx(e, Object.assign({}, r)) : t ? /* @__PURE__ */ k.jsx(Xi, Object.assign({}, r, {
|
|
2743
|
+
transition: t
|
|
2744
|
+
})) : /* @__PURE__ */ k.jsx(Ki, Object.assign({}, r));
|
|
2745
|
+
}
|
|
2746
|
+
const wn = /* @__PURE__ */ ve.forwardRef((e, t) => {
|
|
2747
|
+
const {
|
|
2748
|
+
flip: r,
|
|
2749
|
+
offset: n,
|
|
2750
|
+
placement: o,
|
|
2751
|
+
containerPadding: i,
|
|
2752
|
+
popperConfig: s = {},
|
|
2753
|
+
transition: u,
|
|
2754
|
+
runTransition: c
|
|
2755
|
+
} = e, [f, l] = Ir(), [d, h] = Ir(), g = tt(l, t), b = Xr(e.container), w = Xr(e.target), [y, T] = Ue(!e.show), x = _i(w, f, Gi({
|
|
2756
|
+
placement: o,
|
|
2757
|
+
enableEvents: !!e.show,
|
|
2758
|
+
containerPadding: i || 5,
|
|
2759
|
+
flip: r,
|
|
2760
|
+
offset: n,
|
|
2761
|
+
arrowElement: d,
|
|
2762
|
+
popperConfig: s
|
|
2763
|
+
}));
|
|
2764
|
+
e.show && y && T(!1);
|
|
2765
|
+
const C = (...Z) => {
|
|
2766
|
+
T(!0), e.onExited && e.onExited(...Z);
|
|
2767
|
+
}, R = e.show || !y;
|
|
2768
|
+
if (Yi(f, e.onHide, {
|
|
2769
|
+
disabled: !e.rootClose || e.rootCloseDisabled,
|
|
2770
|
+
clickTrigger: e.rootCloseEvent
|
|
2771
|
+
}), !R)
|
|
2772
|
+
return null;
|
|
2773
|
+
const {
|
|
2774
|
+
onExit: p,
|
|
2775
|
+
onExiting: S,
|
|
2776
|
+
onEnter: I,
|
|
2777
|
+
onEntering: G,
|
|
2778
|
+
onEntered: X
|
|
2779
|
+
} = e;
|
|
2780
|
+
let J = e.children(Object.assign({}, x.attributes.popper, {
|
|
2781
|
+
style: x.styles.popper,
|
|
2782
|
+
ref: g
|
|
2783
|
+
}), {
|
|
2784
|
+
popper: x,
|
|
2785
|
+
placement: o,
|
|
2786
|
+
show: !!e.show,
|
|
2787
|
+
arrowProps: Object.assign({}, x.attributes.arrow, {
|
|
2788
|
+
style: x.styles.arrow,
|
|
2789
|
+
ref: h
|
|
2790
|
+
})
|
|
2791
|
+
});
|
|
2792
|
+
return J = $i(u, c, {
|
|
2793
|
+
in: !!e.show,
|
|
2794
|
+
appear: !0,
|
|
2795
|
+
mountOnEnter: !0,
|
|
2796
|
+
unmountOnExit: !0,
|
|
2797
|
+
children: J,
|
|
2798
|
+
onExit: p,
|
|
2799
|
+
onExiting: S,
|
|
2800
|
+
onExited: C,
|
|
2801
|
+
onEnter: I,
|
|
2802
|
+
onEntering: G,
|
|
2803
|
+
onEntered: X
|
|
2804
|
+
}), b ? /* @__PURE__ */ Ke.createPortal(J, b) : null;
|
|
2805
|
+
});
|
|
2806
|
+
wn.displayName = "Overlay";
|
|
2807
|
+
function $r(e, t) {
|
|
2808
|
+
return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
|
|
2809
|
+
}
|
|
2810
|
+
const Zi = ["xxl", "xl", "lg", "md", "sm", "xs"], ea = "xs", xn = /* @__PURE__ */ ve.createContext({
|
|
2811
|
+
prefixes: {},
|
|
2812
|
+
breakpoints: Zi,
|
|
2813
|
+
minBreakpoint: ea
|
|
2814
|
+
});
|
|
2815
|
+
function Ne(e, t) {
|
|
2816
|
+
const {
|
|
2817
|
+
prefixes: r
|
|
2818
|
+
} = rr(xn);
|
|
2819
|
+
return e || r[t] || t;
|
|
2820
|
+
}
|
|
2821
|
+
function En() {
|
|
2822
|
+
const {
|
|
2823
|
+
dir: e
|
|
2824
|
+
} = rr(xn);
|
|
2825
|
+
return e === "rtl";
|
|
2826
|
+
}
|
|
2827
|
+
const An = /* @__PURE__ */ ve.forwardRef(({
|
|
2828
|
+
className: e,
|
|
2829
|
+
bsPrefix: t,
|
|
2830
|
+
as: r = "div",
|
|
2831
|
+
...n
|
|
2832
|
+
}, o) => (t = Ne(t, "popover-header"), /* @__PURE__ */ k.jsx(r, {
|
|
2833
|
+
ref: o,
|
|
2834
|
+
className: Ye(e, t),
|
|
2835
|
+
...n
|
|
2836
|
+
})));
|
|
2837
|
+
An.displayName = "PopoverHeader";
|
|
2838
|
+
const vr = /* @__PURE__ */ ve.forwardRef(({
|
|
2839
|
+
className: e,
|
|
2840
|
+
bsPrefix: t,
|
|
2841
|
+
as: r = "div",
|
|
2842
|
+
...n
|
|
2843
|
+
}, o) => (t = Ne(t, "popover-body"), /* @__PURE__ */ k.jsx(r, {
|
|
2844
|
+
ref: o,
|
|
2845
|
+
className: Ye(e, t),
|
|
2846
|
+
...n
|
|
2847
|
+
})));
|
|
2848
|
+
vr.displayName = "PopoverBody";
|
|
2849
|
+
function On(e, t) {
|
|
2850
|
+
let r = e;
|
|
2851
|
+
return e === "left" ? r = t ? "end" : "start" : e === "right" && (r = t ? "start" : "end"), r;
|
|
2852
|
+
}
|
|
2853
|
+
function Rn(e = "absolute") {
|
|
2854
|
+
return {
|
|
2855
|
+
position: e,
|
|
2856
|
+
top: "0",
|
|
2857
|
+
left: "0",
|
|
2858
|
+
opacity: "0",
|
|
2859
|
+
pointerEvents: "none"
|
|
2860
|
+
};
|
|
2861
|
+
}
|
|
2862
|
+
const ta = /* @__PURE__ */ ve.forwardRef(({
|
|
2863
|
+
bsPrefix: e,
|
|
2864
|
+
placement: t = "right",
|
|
2865
|
+
className: r,
|
|
2866
|
+
style: n,
|
|
2867
|
+
children: o,
|
|
2868
|
+
body: i,
|
|
2869
|
+
arrowProps: s,
|
|
2870
|
+
hasDoneInitialMeasure: u,
|
|
2871
|
+
popper: c,
|
|
2872
|
+
show: f,
|
|
2873
|
+
...l
|
|
2874
|
+
}, d) => {
|
|
2875
|
+
const h = Ne(e, "popover"), g = En(), [b] = (t == null ? void 0 : t.split("-")) || [], w = On(b, g);
|
|
2876
|
+
let y = n;
|
|
2877
|
+
return f && !u && (y = {
|
|
2878
|
+
...n,
|
|
2879
|
+
...Rn(c == null ? void 0 : c.strategy)
|
|
2880
|
+
}), /* @__PURE__ */ k.jsxs("div", {
|
|
2881
|
+
ref: d,
|
|
2882
|
+
role: "tooltip",
|
|
2883
|
+
style: y,
|
|
2884
|
+
"x-placement": b,
|
|
2885
|
+
className: Ye(r, h, b && `bs-popover-${w}`),
|
|
2886
|
+
...l,
|
|
2887
|
+
children: [/* @__PURE__ */ k.jsx("div", {
|
|
2888
|
+
className: "popover-arrow",
|
|
2889
|
+
...s
|
|
2890
|
+
}), i ? /* @__PURE__ */ k.jsx(vr, {
|
|
2891
|
+
children: o
|
|
2892
|
+
}) : o]
|
|
2893
|
+
});
|
|
2894
|
+
}), Zt = Object.assign(ta, {
|
|
2895
|
+
Header: An,
|
|
2896
|
+
Body: vr,
|
|
2897
|
+
// Default popover offset.
|
|
2898
|
+
// https://github.com/twbs/bootstrap/blob/5c32767e0e0dbac2d934bcdee03719a65d3f1187/js/src/popover.js#L28
|
|
2899
|
+
POPPER_OFFSET: [0, 8]
|
|
2900
|
+
}), Tn = /* @__PURE__ */ ve.forwardRef(({
|
|
2901
|
+
bsPrefix: e,
|
|
2902
|
+
placement: t = "right",
|
|
2903
|
+
className: r,
|
|
2904
|
+
style: n,
|
|
2905
|
+
children: o,
|
|
2906
|
+
arrowProps: i,
|
|
2907
|
+
hasDoneInitialMeasure: s,
|
|
2908
|
+
popper: u,
|
|
2909
|
+
show: c,
|
|
2910
|
+
...f
|
|
2911
|
+
}, l) => {
|
|
2912
|
+
e = Ne(e, "tooltip");
|
|
2913
|
+
const d = En(), [h] = (t == null ? void 0 : t.split("-")) || [], g = On(h, d);
|
|
2914
|
+
let b = n;
|
|
2915
|
+
return c && !s && (b = {
|
|
2916
|
+
...n,
|
|
2917
|
+
...Rn(u == null ? void 0 : u.strategy)
|
|
2918
|
+
}), /* @__PURE__ */ k.jsxs("div", {
|
|
2919
|
+
ref: l,
|
|
2920
|
+
style: b,
|
|
2921
|
+
role: "tooltip",
|
|
2922
|
+
"x-placement": h,
|
|
2923
|
+
className: Ye(r, e, `bs-tooltip-${g}`),
|
|
2924
|
+
...f,
|
|
2925
|
+
children: [/* @__PURE__ */ k.jsx("div", {
|
|
2926
|
+
className: "tooltip-arrow",
|
|
2927
|
+
...i
|
|
2928
|
+
}), /* @__PURE__ */ k.jsx("div", {
|
|
2929
|
+
className: `${e}-inner`,
|
|
2930
|
+
children: o
|
|
2931
|
+
})]
|
|
2932
|
+
});
|
|
2933
|
+
});
|
|
2934
|
+
Tn.displayName = "Tooltip";
|
|
2935
|
+
const Cn = Object.assign(Tn, {
|
|
2936
|
+
// Default tooltip offset.
|
|
2937
|
+
// https://github.com/twbs/bootstrap/blob/beca2a6c7f6bc88b6449339fc76edcda832c59e5/js/src/tooltip.js#L65
|
|
2938
|
+
TOOLTIP_OFFSET: [0, 6]
|
|
2939
|
+
});
|
|
2940
|
+
function ra(e) {
|
|
2941
|
+
const t = ue(null), r = Ne(void 0, "popover"), n = Ne(void 0, "tooltip"), o = pt(() => ({
|
|
2942
|
+
name: "offset",
|
|
2943
|
+
options: {
|
|
2944
|
+
offset: () => {
|
|
2945
|
+
if (e)
|
|
2946
|
+
return e;
|
|
2947
|
+
if (t.current) {
|
|
2948
|
+
if ($r(t.current, r))
|
|
2949
|
+
return Zt.POPPER_OFFSET;
|
|
2950
|
+
if ($r(t.current, n))
|
|
2951
|
+
return Cn.TOOLTIP_OFFSET;
|
|
2952
|
+
}
|
|
2953
|
+
return [0, 0];
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
}), [e, r, n]);
|
|
2957
|
+
return [t, [o]];
|
|
2958
|
+
}
|
|
2959
|
+
const Zr = {
|
|
2960
|
+
disabled: !1
|
|
2961
|
+
};
|
|
2962
|
+
var na = process.env.NODE_ENV !== "production" ? N.oneOfType([N.number, N.shape({
|
|
2963
|
+
enter: N.number,
|
|
2964
|
+
exit: N.number,
|
|
2965
|
+
appear: N.number
|
|
2966
|
+
}).isRequired]) : null;
|
|
2967
|
+
process.env.NODE_ENV !== "production" && N.oneOfType([N.string, N.shape({
|
|
2968
|
+
enter: N.string,
|
|
2969
|
+
exit: N.string,
|
|
2970
|
+
active: N.string
|
|
2971
|
+
}), N.shape({
|
|
2972
|
+
enter: N.string,
|
|
2973
|
+
enterDone: N.string,
|
|
2974
|
+
enterActive: N.string,
|
|
2975
|
+
exit: N.string,
|
|
2976
|
+
exitDone: N.string,
|
|
2977
|
+
exitActive: N.string
|
|
2978
|
+
})]);
|
|
2979
|
+
const Sn = Te.createContext(null);
|
|
2980
|
+
var oa = function(t) {
|
|
2981
|
+
return t.scrollTop;
|
|
2982
|
+
}, ct = "unmounted", Fe = "exited", je = "entering", Be = "entered", er = "exiting", Se = /* @__PURE__ */ function(e) {
|
|
2983
|
+
Eo(t, e);
|
|
2984
|
+
function t(n, o) {
|
|
2985
|
+
var i;
|
|
2986
|
+
i = e.call(this, n, o) || this;
|
|
2987
|
+
var s = o, u = s && !s.isMounting ? n.enter : n.appear, c;
|
|
2988
|
+
return i.appearStatus = null, n.in ? u ? (c = Fe, i.appearStatus = je) : c = Be : n.unmountOnExit || n.mountOnEnter ? c = ct : c = Fe, i.state = {
|
|
2989
|
+
status: c
|
|
2990
|
+
}, i.nextCallback = null, i;
|
|
2991
|
+
}
|
|
2992
|
+
t.getDerivedStateFromProps = function(o, i) {
|
|
2993
|
+
var s = o.in;
|
|
2994
|
+
return s && i.status === ct ? {
|
|
2995
|
+
status: Fe
|
|
2996
|
+
} : null;
|
|
2997
|
+
};
|
|
2998
|
+
var r = t.prototype;
|
|
2999
|
+
return r.componentDidMount = function() {
|
|
3000
|
+
this.updateStatus(!0, this.appearStatus);
|
|
3001
|
+
}, r.componentDidUpdate = function(o) {
|
|
3002
|
+
var i = null;
|
|
3003
|
+
if (o !== this.props) {
|
|
3004
|
+
var s = this.state.status;
|
|
3005
|
+
this.props.in ? s !== je && s !== Be && (i = je) : (s === je || s === Be) && (i = er);
|
|
3006
|
+
}
|
|
3007
|
+
this.updateStatus(!1, i);
|
|
3008
|
+
}, r.componentWillUnmount = function() {
|
|
3009
|
+
this.cancelNextCallback();
|
|
3010
|
+
}, r.getTimeouts = function() {
|
|
3011
|
+
var o = this.props.timeout, i, s, u;
|
|
3012
|
+
return i = s = u = o, o != null && typeof o != "number" && (i = o.exit, s = o.enter, u = o.appear !== void 0 ? o.appear : s), {
|
|
3013
|
+
exit: i,
|
|
3014
|
+
enter: s,
|
|
3015
|
+
appear: u
|
|
3016
|
+
};
|
|
3017
|
+
}, r.updateStatus = function(o, i) {
|
|
3018
|
+
if (o === void 0 && (o = !1), i !== null)
|
|
3019
|
+
if (this.cancelNextCallback(), i === je) {
|
|
3020
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
3021
|
+
var s = this.props.nodeRef ? this.props.nodeRef.current : Ke.findDOMNode(this);
|
|
3022
|
+
s && oa(s);
|
|
3023
|
+
}
|
|
3024
|
+
this.performEnter(o);
|
|
3025
|
+
} else
|
|
3026
|
+
this.performExit();
|
|
3027
|
+
else this.props.unmountOnExit && this.state.status === Fe && this.setState({
|
|
3028
|
+
status: ct
|
|
3029
|
+
});
|
|
3030
|
+
}, r.performEnter = function(o) {
|
|
3031
|
+
var i = this, s = this.props.enter, u = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [u] : [Ke.findDOMNode(this), u], f = c[0], l = c[1], d = this.getTimeouts(), h = u ? d.appear : d.enter;
|
|
3032
|
+
if (!o && !s || Zr.disabled) {
|
|
3033
|
+
this.safeSetState({
|
|
3034
|
+
status: Be
|
|
3035
|
+
}, function() {
|
|
3036
|
+
i.props.onEntered(f);
|
|
3037
|
+
});
|
|
3038
|
+
return;
|
|
3039
|
+
}
|
|
3040
|
+
this.props.onEnter(f, l), this.safeSetState({
|
|
3041
|
+
status: je
|
|
3042
|
+
}, function() {
|
|
3043
|
+
i.props.onEntering(f, l), i.onTransitionEnd(h, function() {
|
|
3044
|
+
i.safeSetState({
|
|
3045
|
+
status: Be
|
|
3046
|
+
}, function() {
|
|
3047
|
+
i.props.onEntered(f, l);
|
|
3048
|
+
});
|
|
3049
|
+
});
|
|
3050
|
+
});
|
|
3051
|
+
}, r.performExit = function() {
|
|
3052
|
+
var o = this, i = this.props.exit, s = this.getTimeouts(), u = this.props.nodeRef ? void 0 : Ke.findDOMNode(this);
|
|
3053
|
+
if (!i || Zr.disabled) {
|
|
3054
|
+
this.safeSetState({
|
|
3055
|
+
status: Fe
|
|
3056
|
+
}, function() {
|
|
3057
|
+
o.props.onExited(u);
|
|
3058
|
+
});
|
|
3059
|
+
return;
|
|
3060
|
+
}
|
|
3061
|
+
this.props.onExit(u), this.safeSetState({
|
|
3062
|
+
status: er
|
|
3063
|
+
}, function() {
|
|
3064
|
+
o.props.onExiting(u), o.onTransitionEnd(s.exit, function() {
|
|
3065
|
+
o.safeSetState({
|
|
3066
|
+
status: Fe
|
|
3067
|
+
}, function() {
|
|
3068
|
+
o.props.onExited(u);
|
|
3069
|
+
});
|
|
3070
|
+
});
|
|
3071
|
+
});
|
|
3072
|
+
}, r.cancelNextCallback = function() {
|
|
3073
|
+
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
3074
|
+
}, r.safeSetState = function(o, i) {
|
|
3075
|
+
i = this.setNextCallback(i), this.setState(o, i);
|
|
3076
|
+
}, r.setNextCallback = function(o) {
|
|
3077
|
+
var i = this, s = !0;
|
|
3078
|
+
return this.nextCallback = function(u) {
|
|
3079
|
+
s && (s = !1, i.nextCallback = null, o(u));
|
|
3080
|
+
}, this.nextCallback.cancel = function() {
|
|
3081
|
+
s = !1;
|
|
3082
|
+
}, this.nextCallback;
|
|
3083
|
+
}, r.onTransitionEnd = function(o, i) {
|
|
3084
|
+
this.setNextCallback(i);
|
|
3085
|
+
var s = this.props.nodeRef ? this.props.nodeRef.current : Ke.findDOMNode(this), u = o == null && !this.props.addEndListener;
|
|
3086
|
+
if (!s || u) {
|
|
3087
|
+
setTimeout(this.nextCallback, 0);
|
|
3088
|
+
return;
|
|
3089
|
+
}
|
|
3090
|
+
if (this.props.addEndListener) {
|
|
3091
|
+
var c = this.props.nodeRef ? [this.nextCallback] : [s, this.nextCallback], f = c[0], l = c[1];
|
|
3092
|
+
this.props.addEndListener(f, l);
|
|
3093
|
+
}
|
|
3094
|
+
o != null && setTimeout(this.nextCallback, o);
|
|
3095
|
+
}, r.render = function() {
|
|
3096
|
+
var o = this.state.status;
|
|
3097
|
+
if (o === ct)
|
|
3098
|
+
return null;
|
|
3099
|
+
var i = this.props, s = i.children;
|
|
3100
|
+
i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
|
|
3101
|
+
var u = wo(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
3102
|
+
return (
|
|
3103
|
+
// allows for nested Transitions
|
|
3104
|
+
/* @__PURE__ */ Te.createElement(Sn.Provider, {
|
|
3105
|
+
value: null
|
|
3106
|
+
}, typeof s == "function" ? s(o, u) : Te.cloneElement(Te.Children.only(s), u))
|
|
3107
|
+
);
|
|
3108
|
+
}, t;
|
|
3109
|
+
}(Te.Component);
|
|
3110
|
+
Se.contextType = Sn;
|
|
3111
|
+
Se.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3112
|
+
/**
|
|
3113
|
+
* A React reference to DOM element that need to transition:
|
|
3114
|
+
* https://stackoverflow.com/a/51127130/4671932
|
|
3115
|
+
*
|
|
3116
|
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
3117
|
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
3118
|
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
3119
|
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
3120
|
+
* (see
|
|
3121
|
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
3122
|
+
*/
|
|
3123
|
+
nodeRef: N.shape({
|
|
3124
|
+
current: typeof Element > "u" ? N.any : function(e, t, r, n, o, i) {
|
|
3125
|
+
var s = e[t];
|
|
3126
|
+
return N.instanceOf(s && "ownerDocument" in s ? s.ownerDocument.defaultView.Element : Element)(e, t, r, n, o, i);
|
|
3127
|
+
}
|
|
3128
|
+
}),
|
|
3129
|
+
/**
|
|
3130
|
+
* A `function` child can be used instead of a React element. This function is
|
|
3131
|
+
* called with the current transition status (`'entering'`, `'entered'`,
|
|
3132
|
+
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
3133
|
+
* specific props to a component.
|
|
3134
|
+
*
|
|
3135
|
+
* ```jsx
|
|
3136
|
+
* <Transition in={this.state.in} timeout={150}>
|
|
3137
|
+
* {state => (
|
|
3138
|
+
* <MyComponent className={`fade fade-${state}`} />
|
|
3139
|
+
* )}
|
|
3140
|
+
* </Transition>
|
|
3141
|
+
* ```
|
|
3142
|
+
*/
|
|
3143
|
+
children: N.oneOfType([N.func.isRequired, N.element.isRequired]).isRequired,
|
|
3144
|
+
/**
|
|
3145
|
+
* Show the component; triggers the enter or exit states
|
|
3146
|
+
*/
|
|
3147
|
+
in: N.bool,
|
|
3148
|
+
/**
|
|
3149
|
+
* By default the child component is mounted immediately along with
|
|
3150
|
+
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
3151
|
+
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
3152
|
+
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
3153
|
+
*/
|
|
3154
|
+
mountOnEnter: N.bool,
|
|
3155
|
+
/**
|
|
3156
|
+
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
3157
|
+
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
3158
|
+
*/
|
|
3159
|
+
unmountOnExit: N.bool,
|
|
3160
|
+
/**
|
|
3161
|
+
* By default the child component does not perform the enter transition when
|
|
3162
|
+
* it first mounts, regardless of the value of `in`. If you want this
|
|
3163
|
+
* behavior, set both `appear` and `in` to `true`.
|
|
3164
|
+
*
|
|
3165
|
+
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
3166
|
+
* > only adds an additional enter transition. However, in the
|
|
3167
|
+
* > `<CSSTransition>` component that first enter transition does result in
|
|
3168
|
+
* > additional `.appear-*` classes, that way you can choose to style it
|
|
3169
|
+
* > differently.
|
|
3170
|
+
*/
|
|
3171
|
+
appear: N.bool,
|
|
3172
|
+
/**
|
|
3173
|
+
* Enable or disable enter transitions.
|
|
3174
|
+
*/
|
|
3175
|
+
enter: N.bool,
|
|
3176
|
+
/**
|
|
3177
|
+
* Enable or disable exit transitions.
|
|
3178
|
+
*/
|
|
3179
|
+
exit: N.bool,
|
|
3180
|
+
/**
|
|
3181
|
+
* The duration of the transition, in milliseconds.
|
|
3182
|
+
* Required unless `addEndListener` is provided.
|
|
3183
|
+
*
|
|
3184
|
+
* You may specify a single timeout for all transitions:
|
|
3185
|
+
*
|
|
3186
|
+
* ```jsx
|
|
3187
|
+
* timeout={500}
|
|
3188
|
+
* ```
|
|
3189
|
+
*
|
|
3190
|
+
* or individually:
|
|
3191
|
+
*
|
|
3192
|
+
* ```jsx
|
|
3193
|
+
* timeout={{
|
|
3194
|
+
* appear: 500,
|
|
3195
|
+
* enter: 300,
|
|
3196
|
+
* exit: 500,
|
|
3197
|
+
* }}
|
|
3198
|
+
* ```
|
|
3199
|
+
*
|
|
3200
|
+
* - `appear` defaults to the value of `enter`
|
|
3201
|
+
* - `enter` defaults to `0`
|
|
3202
|
+
* - `exit` defaults to `0`
|
|
3203
|
+
*
|
|
3204
|
+
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
3205
|
+
*/
|
|
3206
|
+
timeout: function(t) {
|
|
3207
|
+
var r = na;
|
|
3208
|
+
t.addEndListener || (r = r.isRequired);
|
|
3209
|
+
for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
3210
|
+
o[i - 1] = arguments[i];
|
|
3211
|
+
return r.apply(void 0, [t].concat(o));
|
|
3212
|
+
},
|
|
3213
|
+
/**
|
|
3214
|
+
* Add a custom transition end trigger. Called with the transitioning
|
|
3215
|
+
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
3216
|
+
* logic. Timeouts are still used as a fallback if provided.
|
|
3217
|
+
*
|
|
3218
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3219
|
+
*
|
|
3220
|
+
* ```jsx
|
|
3221
|
+
* addEndListener={(node, done) => {
|
|
3222
|
+
* // use the css transitionend event to mark the finish of a transition
|
|
3223
|
+
* node.addEventListener('transitionend', done, false);
|
|
3224
|
+
* }}
|
|
3225
|
+
* ```
|
|
3226
|
+
*/
|
|
3227
|
+
addEndListener: N.func,
|
|
3228
|
+
/**
|
|
3229
|
+
* Callback fired before the "entering" status is applied. An extra parameter
|
|
3230
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3231
|
+
*
|
|
3232
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3233
|
+
*
|
|
3234
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3235
|
+
*/
|
|
3236
|
+
onEnter: N.func,
|
|
3237
|
+
/**
|
|
3238
|
+
* Callback fired after the "entering" status is applied. An extra parameter
|
|
3239
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3240
|
+
*
|
|
3241
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3242
|
+
*
|
|
3243
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
3244
|
+
*/
|
|
3245
|
+
onEntering: N.func,
|
|
3246
|
+
/**
|
|
3247
|
+
* Callback fired after the "entered" status is applied. An extra parameter
|
|
3248
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3249
|
+
*
|
|
3250
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3251
|
+
*
|
|
3252
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3253
|
+
*/
|
|
3254
|
+
onEntered: N.func,
|
|
3255
|
+
/**
|
|
3256
|
+
* Callback fired before the "exiting" status is applied.
|
|
3257
|
+
*
|
|
3258
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3259
|
+
*
|
|
3260
|
+
* @type Function(node: HtmlElement) -> void
|
|
3261
|
+
*/
|
|
3262
|
+
onExit: N.func,
|
|
3263
|
+
/**
|
|
3264
|
+
* Callback fired after the "exiting" status is applied.
|
|
3265
|
+
*
|
|
3266
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3267
|
+
*
|
|
3268
|
+
* @type Function(node: HtmlElement) -> void
|
|
3269
|
+
*/
|
|
3270
|
+
onExiting: N.func,
|
|
3271
|
+
/**
|
|
3272
|
+
* Callback fired after the "exited" status is applied.
|
|
3273
|
+
*
|
|
3274
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
3275
|
+
*
|
|
3276
|
+
* @type Function(node: HtmlElement) -> void
|
|
3277
|
+
*/
|
|
3278
|
+
onExited: N.func
|
|
3279
|
+
} : {};
|
|
3280
|
+
function ze() {
|
|
3281
|
+
}
|
|
3282
|
+
Se.defaultProps = {
|
|
3283
|
+
in: !1,
|
|
3284
|
+
mountOnEnter: !1,
|
|
3285
|
+
unmountOnExit: !1,
|
|
3286
|
+
appear: !1,
|
|
3287
|
+
enter: !0,
|
|
3288
|
+
exit: !0,
|
|
3289
|
+
onEnter: ze,
|
|
3290
|
+
onEntering: ze,
|
|
3291
|
+
onEntered: ze,
|
|
3292
|
+
onExit: ze,
|
|
3293
|
+
onExiting: ze,
|
|
3294
|
+
onExited: ze
|
|
3295
|
+
};
|
|
3296
|
+
Se.UNMOUNTED = ct;
|
|
3297
|
+
Se.EXITED = Fe;
|
|
3298
|
+
Se.ENTERING = je;
|
|
3299
|
+
Se.ENTERED = Be;
|
|
3300
|
+
Se.EXITING = er;
|
|
3301
|
+
function ia(e) {
|
|
3302
|
+
var t = Pt(e);
|
|
3303
|
+
return t && t.defaultView || window;
|
|
3304
|
+
}
|
|
3305
|
+
function aa(e, t) {
|
|
3306
|
+
return ia(e).getComputedStyle(e, t);
|
|
3307
|
+
}
|
|
3308
|
+
var sa = /([A-Z])/g;
|
|
3309
|
+
function ua(e) {
|
|
3310
|
+
return e.replace(sa, "-$1").toLowerCase();
|
|
3311
|
+
}
|
|
3312
|
+
var ca = /^ms-/;
|
|
3313
|
+
function Ot(e) {
|
|
3314
|
+
return ua(e).replace(ca, "-ms-");
|
|
3315
|
+
}
|
|
3316
|
+
var la = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
|
|
3317
|
+
function fa(e) {
|
|
3318
|
+
return !!(e && la.test(e));
|
|
3319
|
+
}
|
|
3320
|
+
function kn(e, t) {
|
|
3321
|
+
var r = "", n = "";
|
|
3322
|
+
if (typeof t == "string")
|
|
3323
|
+
return e.style.getPropertyValue(Ot(t)) || aa(e).getPropertyValue(Ot(t));
|
|
3324
|
+
Object.keys(t).forEach(function(o) {
|
|
3325
|
+
var i = t[o];
|
|
3326
|
+
!i && i !== 0 ? e.style.removeProperty(Ot(o)) : fa(o) ? n += o + "(" + i + ") " : r += Ot(o) + ": " + i + ";";
|
|
3327
|
+
}), n && (r += "transform: " + n + ";"), e.style.cssText += ";" + r;
|
|
3328
|
+
}
|
|
3329
|
+
function da(e, t, r, n) {
|
|
3330
|
+
if (n === void 0 && (n = !0), e) {
|
|
3331
|
+
var o = document.createEvent("HTMLEvents");
|
|
3332
|
+
o.initEvent(t, r, n), e.dispatchEvent(o);
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
function pa(e) {
|
|
3336
|
+
var t = kn(e, "transitionDuration") || "", r = t.indexOf("ms") === -1 ? 1e3 : 1;
|
|
3337
|
+
return parseFloat(t) * r;
|
|
3338
|
+
}
|
|
3339
|
+
function va(e, t, r) {
|
|
3340
|
+
r === void 0 && (r = 5);
|
|
3341
|
+
var n = !1, o = setTimeout(function() {
|
|
3342
|
+
n || da(e, "transitionend", !0);
|
|
3343
|
+
}, t + r), i = Ie(e, "transitionend", function() {
|
|
3344
|
+
n = !0;
|
|
3345
|
+
}, {
|
|
3346
|
+
once: !0
|
|
3347
|
+
});
|
|
3348
|
+
return function() {
|
|
3349
|
+
clearTimeout(o), i();
|
|
3350
|
+
};
|
|
3351
|
+
}
|
|
3352
|
+
function ma(e, t, r, n) {
|
|
3353
|
+
r == null && (r = pa(e) || 0);
|
|
3354
|
+
var o = va(e, r, n), i = Ie(e, "transitionend", t);
|
|
3355
|
+
return function() {
|
|
3356
|
+
o(), i();
|
|
3357
|
+
};
|
|
3358
|
+
}
|
|
3359
|
+
function en(e, t) {
|
|
3360
|
+
const r = kn(e, t) || "", n = r.indexOf("ms") === -1 ? 1e3 : 1;
|
|
3361
|
+
return parseFloat(r) * n;
|
|
3362
|
+
}
|
|
3363
|
+
function ha(e, t) {
|
|
3364
|
+
const r = en(e, "transitionDuration"), n = en(e, "transitionDelay"), o = ma(e, (i) => {
|
|
3365
|
+
i.target === e && (o(), t(i));
|
|
3366
|
+
}, r + n);
|
|
3367
|
+
}
|
|
3368
|
+
function ya(e) {
|
|
3369
|
+
e.offsetHeight;
|
|
3370
|
+
}
|
|
3371
|
+
function St(e) {
|
|
3372
|
+
return e && "setState" in e ? Ke.findDOMNode(e) : e ?? null;
|
|
3373
|
+
}
|
|
3374
|
+
const ga = /* @__PURE__ */ Te.forwardRef(({
|
|
3375
|
+
onEnter: e,
|
|
3376
|
+
onEntering: t,
|
|
3377
|
+
onEntered: r,
|
|
3378
|
+
onExit: n,
|
|
3379
|
+
onExiting: o,
|
|
3380
|
+
onExited: i,
|
|
3381
|
+
addEndListener: s,
|
|
3382
|
+
children: u,
|
|
3383
|
+
childRef: c,
|
|
3384
|
+
...f
|
|
3385
|
+
}, l) => {
|
|
3386
|
+
const d = ue(null), h = tt(d, c), g = (S) => {
|
|
3387
|
+
h(St(S));
|
|
3388
|
+
}, b = (S) => (I) => {
|
|
3389
|
+
S && d.current && S(d.current, I);
|
|
3390
|
+
}, w = oe(b(e), [e]), y = oe(b(t), [t]), T = oe(b(r), [r]), x = oe(b(n), [n]), C = oe(b(o), [o]), R = oe(b(i), [i]), p = oe(b(s), [s]);
|
|
3391
|
+
return /* @__PURE__ */ k.jsx(Se, {
|
|
3392
|
+
ref: l,
|
|
3393
|
+
...f,
|
|
3394
|
+
onEnter: w,
|
|
3395
|
+
onEntered: T,
|
|
3396
|
+
onEntering: y,
|
|
3397
|
+
onExit: x,
|
|
3398
|
+
onExited: R,
|
|
3399
|
+
onExiting: C,
|
|
3400
|
+
addEndListener: p,
|
|
3401
|
+
nodeRef: d,
|
|
3402
|
+
children: typeof u == "function" ? (S, I) => (
|
|
3403
|
+
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
3404
|
+
u(S, {
|
|
3405
|
+
...I,
|
|
3406
|
+
ref: g
|
|
3407
|
+
})
|
|
3408
|
+
) : /* @__PURE__ */ Te.cloneElement(u, {
|
|
3409
|
+
ref: g
|
|
3410
|
+
})
|
|
3411
|
+
});
|
|
3412
|
+
}), ba = {
|
|
3413
|
+
[je]: "show",
|
|
3414
|
+
[Be]: "show"
|
|
3415
|
+
}, tr = /* @__PURE__ */ ve.forwardRef(({
|
|
3416
|
+
className: e,
|
|
3417
|
+
children: t,
|
|
3418
|
+
transitionClasses: r = {},
|
|
3419
|
+
onEnter: n,
|
|
3420
|
+
...o
|
|
3421
|
+
}, i) => {
|
|
3422
|
+
const s = {
|
|
3423
|
+
in: !1,
|
|
3424
|
+
timeout: 300,
|
|
3425
|
+
mountOnEnter: !1,
|
|
3426
|
+
unmountOnExit: !1,
|
|
3427
|
+
appear: !1,
|
|
3428
|
+
...o
|
|
3429
|
+
}, u = oe((c, f) => {
|
|
3430
|
+
ya(c), n == null || n(c, f);
|
|
3431
|
+
}, [n]);
|
|
3432
|
+
return /* @__PURE__ */ k.jsx(ga, {
|
|
3433
|
+
ref: i,
|
|
3434
|
+
addEndListener: ha,
|
|
3435
|
+
...s,
|
|
3436
|
+
onEnter: u,
|
|
3437
|
+
childRef: t.ref,
|
|
3438
|
+
children: (c, f) => /* @__PURE__ */ ve.cloneElement(t, {
|
|
3439
|
+
...f,
|
|
3440
|
+
className: Ye("fade", e, t.props.className, ba[c], r[c])
|
|
3441
|
+
})
|
|
3442
|
+
});
|
|
3443
|
+
});
|
|
3444
|
+
tr.displayName = "Fade";
|
|
3445
|
+
function wa(e, t) {
|
|
3446
|
+
const {
|
|
3447
|
+
ref: r
|
|
3448
|
+
} = e, {
|
|
3449
|
+
ref: n
|
|
3450
|
+
} = t;
|
|
3451
|
+
e.ref = r.__wrapped || (r.__wrapped = (o) => r(St(o))), t.ref = n.__wrapped || (n.__wrapped = (o) => n(St(o)));
|
|
3452
|
+
}
|
|
3453
|
+
const Pn = /* @__PURE__ */ ve.forwardRef(({
|
|
3454
|
+
children: e,
|
|
3455
|
+
transition: t = tr,
|
|
3456
|
+
popperConfig: r = {},
|
|
3457
|
+
rootClose: n = !1,
|
|
3458
|
+
placement: o = "top",
|
|
3459
|
+
show: i = !1,
|
|
3460
|
+
...s
|
|
3461
|
+
}, u) => {
|
|
3462
|
+
const c = ue({}), [f, l] = Ue(null), [d, h] = ra(s.offset), g = tt(u, d), b = t === !0 ? tr : t || void 0, w = et((y) => {
|
|
3463
|
+
l(y), r == null || r.onFirstUpdate == null || r.onFirstUpdate(y);
|
|
3464
|
+
});
|
|
3465
|
+
return $t(() => {
|
|
3466
|
+
f && s.target && (c.current.scheduleUpdate == null || c.current.scheduleUpdate());
|
|
3467
|
+
}, [f, s.target]), ge(() => {
|
|
3468
|
+
i || l(null);
|
|
3469
|
+
}, [i]), /* @__PURE__ */ k.jsx(wn, {
|
|
3470
|
+
...s,
|
|
3471
|
+
ref: g,
|
|
3472
|
+
popperConfig: {
|
|
3473
|
+
...r,
|
|
3474
|
+
modifiers: h.concat(r.modifiers || []),
|
|
3475
|
+
onFirstUpdate: w
|
|
3476
|
+
},
|
|
3477
|
+
transition: b,
|
|
3478
|
+
rootClose: n,
|
|
3479
|
+
placement: o,
|
|
3480
|
+
show: i,
|
|
3481
|
+
children: (y, {
|
|
3482
|
+
arrowProps: T,
|
|
3483
|
+
popper: x,
|
|
3484
|
+
show: C
|
|
3485
|
+
}) => {
|
|
3486
|
+
var R, p;
|
|
3487
|
+
wa(y, T);
|
|
3488
|
+
const S = x == null ? void 0 : x.placement, I = Object.assign(c.current, {
|
|
3489
|
+
state: x == null ? void 0 : x.state,
|
|
3490
|
+
scheduleUpdate: x == null ? void 0 : x.update,
|
|
3491
|
+
placement: S,
|
|
3492
|
+
outOfBoundaries: (x == null || (R = x.state) == null || (p = R.modifiersData.hide) == null ? void 0 : p.isReferenceHidden) || !1,
|
|
3493
|
+
strategy: r.strategy
|
|
3494
|
+
}), G = !!f;
|
|
3495
|
+
return typeof e == "function" ? e({
|
|
3496
|
+
...y,
|
|
3497
|
+
placement: S,
|
|
3498
|
+
show: C,
|
|
3499
|
+
...!t && C && {
|
|
3500
|
+
className: "show"
|
|
3501
|
+
},
|
|
3502
|
+
popper: I,
|
|
3503
|
+
arrowProps: T,
|
|
3504
|
+
hasDoneInitialMeasure: G
|
|
3505
|
+
}) : /* @__PURE__ */ ve.cloneElement(e, {
|
|
3506
|
+
...y,
|
|
3507
|
+
placement: S,
|
|
3508
|
+
arrowProps: T,
|
|
3509
|
+
popper: I,
|
|
3510
|
+
hasDoneInitialMeasure: G,
|
|
3511
|
+
className: Ye(e.props.className, !t && C && "show"),
|
|
3512
|
+
style: {
|
|
3513
|
+
...e.props.style,
|
|
3514
|
+
...y.style
|
|
3515
|
+
}
|
|
3516
|
+
});
|
|
3517
|
+
}
|
|
3518
|
+
});
|
|
3519
|
+
});
|
|
3520
|
+
Pn.displayName = "Overlay";
|
|
3521
|
+
function xa(e) {
|
|
3522
|
+
return e && typeof e == "object" ? e : {
|
|
3523
|
+
show: e,
|
|
3524
|
+
hide: e
|
|
3525
|
+
};
|
|
3526
|
+
}
|
|
3527
|
+
function tn(e, t, r) {
|
|
3528
|
+
const [n] = t, o = n.currentTarget, i = n.relatedTarget || n.nativeEvent[r];
|
|
3529
|
+
(!i || i !== o) && !Wt(o, i) && e(...t);
|
|
3530
|
+
}
|
|
3531
|
+
N.oneOf(["click", "hover", "focus"]);
|
|
3532
|
+
const mr = ({
|
|
3533
|
+
trigger: e = ["hover", "focus"],
|
|
3534
|
+
overlay: t,
|
|
3535
|
+
children: r,
|
|
3536
|
+
popperConfig: n = {},
|
|
3537
|
+
show: o,
|
|
3538
|
+
defaultShow: i = !1,
|
|
3539
|
+
onToggle: s,
|
|
3540
|
+
delay: u,
|
|
3541
|
+
placement: c,
|
|
3542
|
+
flip: f = c && c.indexOf("auto") !== -1,
|
|
3543
|
+
...l
|
|
3544
|
+
}) => {
|
|
3545
|
+
const d = ue(null), h = tt(d, r.ref), g = ho(), b = ue(""), [w, y] = xo(o, i, s), T = xa(u), {
|
|
3546
|
+
onFocus: x,
|
|
3547
|
+
onBlur: C,
|
|
3548
|
+
onClick: R
|
|
3549
|
+
} = typeof r != "function" ? ve.Children.only(r).props : {}, p = ($) => {
|
|
3550
|
+
h(St($));
|
|
3551
|
+
}, S = oe(() => {
|
|
3552
|
+
if (g.clear(), b.current = "show", !T.show) {
|
|
3553
|
+
y(!0);
|
|
3554
|
+
return;
|
|
3555
|
+
}
|
|
3556
|
+
g.set(() => {
|
|
3557
|
+
b.current === "show" && y(!0);
|
|
3558
|
+
}, T.show);
|
|
3559
|
+
}, [T.show, y, g]), I = oe(() => {
|
|
3560
|
+
if (g.clear(), b.current = "hide", !T.hide) {
|
|
3561
|
+
y(!1);
|
|
3562
|
+
return;
|
|
3563
|
+
}
|
|
3564
|
+
g.set(() => {
|
|
3565
|
+
b.current === "hide" && y(!1);
|
|
3566
|
+
}, T.hide);
|
|
3567
|
+
}, [T.hide, y, g]), G = oe((...$) => {
|
|
3568
|
+
S(), x == null || x(...$);
|
|
3569
|
+
}, [S, x]), X = oe((...$) => {
|
|
3570
|
+
I(), C == null || C(...$);
|
|
3571
|
+
}, [I, C]), J = oe((...$) => {
|
|
3572
|
+
y(!w), R == null || R(...$);
|
|
3573
|
+
}, [R, y, w]), Z = oe((...$) => {
|
|
3574
|
+
tn(S, $, "fromElement");
|
|
3575
|
+
}, [S]), ie = oe((...$) => {
|
|
3576
|
+
tn(I, $, "toElement");
|
|
3577
|
+
}, [I]), V = e == null ? [] : [].concat(e), q = {
|
|
3578
|
+
ref: p
|
|
3579
|
+
};
|
|
3580
|
+
return V.indexOf("click") !== -1 && (q.onClick = J), V.indexOf("focus") !== -1 && (q.onFocus = G, q.onBlur = X), V.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && un(V.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), q.onMouseOver = Z, q.onMouseOut = ie), /* @__PURE__ */ k.jsxs(k.Fragment, {
|
|
3581
|
+
children: [typeof r == "function" ? r(q) : /* @__PURE__ */ nr(r, q), /* @__PURE__ */ k.jsx(Pn, {
|
|
3582
|
+
...l,
|
|
3583
|
+
show: w,
|
|
3584
|
+
onHide: I,
|
|
3585
|
+
flip: f,
|
|
3586
|
+
placement: c,
|
|
3587
|
+
popperConfig: n,
|
|
3588
|
+
target: d.current,
|
|
3589
|
+
children: t
|
|
3590
|
+
})]
|
|
3591
|
+
});
|
|
3592
|
+
}, Ea = "_help_button_1s4g5_1", Aa = {
|
|
3593
|
+
help_button: Ea
|
|
3594
|
+
};
|
|
3595
|
+
function Ia(e) {
|
|
3596
|
+
let t = /* @__PURE__ */ k.jsx("div", { className: Aa.help_button, children: "?" });
|
|
3597
|
+
return e.popover != null && (t = /* @__PURE__ */ k.jsx(
|
|
3598
|
+
mr,
|
|
3599
|
+
{
|
|
3600
|
+
trigger: "click",
|
|
3601
|
+
rootClose: !0,
|
|
3602
|
+
placement: e.placement,
|
|
3603
|
+
overlay: e.popover,
|
|
3604
|
+
children: t
|
|
3605
|
+
}
|
|
3606
|
+
)), t;
|
|
3607
|
+
}
|
|
3608
|
+
const Oa = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='36.012337'%20height='31.802971'%20viewBox='0%200%2036.012336%2031.802972'%20id='svg9098'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='mclogo-split-rotate-v9.svg'%3e%3cdefs%20id='defs9100'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='11.2'%20inkscape:cx='14.890099'%20inkscape:cy='23.051314'%20inkscape:document-units='px'%20inkscape:current-layer='g9'%20showgrid='false'%20units='px'%20inkscape:window-width='1680'%20inkscape:window-height='940'%20inkscape:window-x='0'%20inkscape:window-y='1'%20inkscape:window-maximized='1'%20fit-margin-top='3'%20fit-margin-left='3'%20fit-margin-right='3'%20fit-margin-bottom='5'%20/%3e%3cmetadata%20id='metadata9103'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(3.0066849,-1015.2422)'%3e%3cg%20id='mctriangle'%20transform='matrix(1.1533275,0,0,1.1556928,-379.094,391.20844)'%3e%3cg%20transform='translate(2975.41,266.50511)'%20style='display:inline;stroke:%23d21f15;stroke-width:0.86616874;stroke-opacity:1'%20id='layer6'%20/%3e%3cg%20id='g9'%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9220'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9224'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9228'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9232'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9236'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9240'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9244'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9248'%20/%3e%3cellipse%20ry='0.25958455'%20rx='0.26011693'%20cy='553.91522'%20cx='341.70126'%20id='ref'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.4000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20/%3e%3cpath%20id='mctriangleonly'%20d='M%20335.13723,550.18801%20338.41923,555.66439%20341.70129,561.14077%20344.98332,555.66439%20348.26535,550.18801%20341.70129,550.18801%20Z'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.91575587;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20cy='550.02032'%20cx='348.39252'%20id='circle7840-5'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20cy='550.02032'%20cx='335.01007'%20id='circle7842-0'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20id='circle7844-5'%20cx='341.70132'%20cy='561.30841'%20r='1.4070433'%20/%3e%3ccircle%20r='1.4070433'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0'%20id='movingcircle'%20cx='335.01007'%20cy='550.02032'%3e%3canimateTransform%20id='anim1'%20repeatCount='indefinite'%20begin='0s'%20dur='1s'%20values='0.0%200.0;13.38245%200.0;6.69125%2011.28809;0.0%200.0'%20type='translate'%20attributeName='transform'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
3609
|
+
function La() {
|
|
3610
|
+
return /* @__PURE__ */ k.jsx(
|
|
3611
|
+
"div",
|
|
3612
|
+
{
|
|
3613
|
+
style: {
|
|
3614
|
+
background: "transparent",
|
|
3615
|
+
border: "none",
|
|
3616
|
+
textAlign: "center"
|
|
3617
|
+
},
|
|
3618
|
+
children: /* @__PURE__ */ k.jsx(
|
|
3619
|
+
"img",
|
|
3620
|
+
{
|
|
3621
|
+
src: Oa,
|
|
3622
|
+
alt: "Materials Cloud spinner",
|
|
3623
|
+
style: {
|
|
3624
|
+
width: "100%",
|
|
3625
|
+
minWidth: "20px",
|
|
3626
|
+
maxWidth: "200px",
|
|
3627
|
+
height: "auto"
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
)
|
|
3631
|
+
}
|
|
3632
|
+
);
|
|
3633
|
+
}
|
|
3634
|
+
const Ra = ["as", "disabled"];
|
|
3635
|
+
function Ta(e, t) {
|
|
3636
|
+
if (e == null) return {};
|
|
3637
|
+
var r = {}, n = Object.keys(e), o, i;
|
|
3638
|
+
for (i = 0; i < n.length; i++)
|
|
3639
|
+
o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
3640
|
+
return r;
|
|
3641
|
+
}
|
|
3642
|
+
function Ca(e) {
|
|
3643
|
+
return !e || e.trim() === "#";
|
|
3644
|
+
}
|
|
3645
|
+
function jn({
|
|
3646
|
+
tagName: e,
|
|
3647
|
+
disabled: t,
|
|
3648
|
+
href: r,
|
|
3649
|
+
target: n,
|
|
3650
|
+
rel: o,
|
|
3651
|
+
role: i,
|
|
3652
|
+
onClick: s,
|
|
3653
|
+
tabIndex: u = 0,
|
|
3654
|
+
type: c
|
|
3655
|
+
}) {
|
|
3656
|
+
e || (r != null || n != null || o != null ? e = "a" : e = "button");
|
|
3657
|
+
const f = {
|
|
3658
|
+
tagName: e
|
|
3659
|
+
};
|
|
3660
|
+
if (e === "button")
|
|
3661
|
+
return [{
|
|
3662
|
+
type: c || "button",
|
|
3663
|
+
disabled: t
|
|
3664
|
+
}, f];
|
|
3665
|
+
const l = (h) => {
|
|
3666
|
+
if ((t || e === "a" && Ca(r)) && h.preventDefault(), t) {
|
|
3667
|
+
h.stopPropagation();
|
|
3668
|
+
return;
|
|
3669
|
+
}
|
|
3670
|
+
s == null || s(h);
|
|
3671
|
+
}, d = (h) => {
|
|
3672
|
+
h.key === " " && (h.preventDefault(), l(h));
|
|
3673
|
+
};
|
|
3674
|
+
return e === "a" && (r || (r = "#"), t && (r = void 0)), [{
|
|
3675
|
+
role: i ?? "button",
|
|
3676
|
+
// explicitly undefined so that it overrides the props disabled in a spread
|
|
3677
|
+
// e.g. <Tag {...props} {...hookProps} />
|
|
3678
|
+
disabled: void 0,
|
|
3679
|
+
tabIndex: t ? void 0 : u,
|
|
3680
|
+
href: r,
|
|
3681
|
+
target: e === "a" ? n : void 0,
|
|
3682
|
+
"aria-disabled": t || void 0,
|
|
3683
|
+
rel: e === "a" ? o : void 0,
|
|
3684
|
+
onClick: l,
|
|
3685
|
+
onKeyDown: d
|
|
3686
|
+
}, f];
|
|
3687
|
+
}
|
|
3688
|
+
const Sa = /* @__PURE__ */ ve.forwardRef((e, t) => {
|
|
3689
|
+
let {
|
|
3690
|
+
as: r,
|
|
3691
|
+
disabled: n
|
|
3692
|
+
} = e, o = Ta(e, Ra);
|
|
3693
|
+
const [i, {
|
|
3694
|
+
tagName: s
|
|
3695
|
+
}] = jn(Object.assign({
|
|
3696
|
+
tagName: r,
|
|
3697
|
+
disabled: n
|
|
3698
|
+
}, o));
|
|
3699
|
+
return /* @__PURE__ */ k.jsx(s, Object.assign({}, o, i, {
|
|
3700
|
+
ref: t
|
|
3701
|
+
}));
|
|
3702
|
+
});
|
|
3703
|
+
Sa.displayName = "Button";
|
|
3704
|
+
const Dn = /* @__PURE__ */ ve.forwardRef(({
|
|
3705
|
+
as: e,
|
|
3706
|
+
bsPrefix: t,
|
|
3707
|
+
variant: r = "primary",
|
|
3708
|
+
size: n,
|
|
3709
|
+
active: o = !1,
|
|
3710
|
+
disabled: i = !1,
|
|
3711
|
+
className: s,
|
|
3712
|
+
...u
|
|
3713
|
+
}, c) => {
|
|
3714
|
+
const f = Ne(t, "btn"), [l, {
|
|
3715
|
+
tagName: d
|
|
3716
|
+
}] = jn({
|
|
3717
|
+
tagName: e,
|
|
3718
|
+
disabled: i,
|
|
3719
|
+
...u
|
|
3720
|
+
}), h = d;
|
|
3721
|
+
return /* @__PURE__ */ k.jsx(h, {
|
|
3722
|
+
...l,
|
|
3723
|
+
...u,
|
|
3724
|
+
ref: c,
|
|
3725
|
+
disabled: i,
|
|
3726
|
+
className: Ye(s, f, o && "active", r && `${f}-${r}`, n && `${f}-${n}`, u.href && i && "disabled")
|
|
3727
|
+
});
|
|
3728
|
+
});
|
|
3729
|
+
Dn.displayName = "Button";
|
|
3730
|
+
const ka = "_download_dropdown_menu_23m9j_1", Pa = {
|
|
3731
|
+
download_dropdown_menu: ka
|
|
3732
|
+
};
|
|
3733
|
+
function Ha(e) {
|
|
3734
|
+
var t = `${e.aiida_rest_url}/nodes/${e.uuid}/download`, r = /* @__PURE__ */ k.jsx(Zt, { children: /* @__PURE__ */ k.jsx(Zt.Body, { style: { padding: "5px 0px" }, children: /* @__PURE__ */ k.jsxs("ul", { className: Pa.download_dropdown_menu, children: [
|
|
3735
|
+
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=chemdoodle`, children: "ChemDoodle" }) }),
|
|
3736
|
+
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=cif`, children: "CIF" }) }),
|
|
3737
|
+
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=xsf`, children: "XSF" }) }),
|
|
3738
|
+
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=xyz`, children: "XYZ" }) })
|
|
3739
|
+
] }) }) });
|
|
3740
|
+
return /* @__PURE__ */ k.jsx(
|
|
3741
|
+
mr,
|
|
3742
|
+
{
|
|
3743
|
+
trigger: "click",
|
|
3744
|
+
rootClose: !0,
|
|
3745
|
+
placement: "bottom",
|
|
3746
|
+
overlay: r,
|
|
3747
|
+
children: /* @__PURE__ */ k.jsx(
|
|
3748
|
+
Dn,
|
|
3749
|
+
{
|
|
3750
|
+
size: "sm",
|
|
3751
|
+
style: { margin: "4px", padding: "2px 7px" },
|
|
3752
|
+
title: "Download",
|
|
3753
|
+
children: /* @__PURE__ */ k.jsx("span", { className: "bi bi-download" })
|
|
3754
|
+
}
|
|
3755
|
+
)
|
|
3756
|
+
}
|
|
3757
|
+
);
|
|
3758
|
+
}
|
|
3759
|
+
const ja = "data:image/png;base64,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";
|
|
3760
|
+
function Na(e) {
|
|
3761
|
+
var t = `${e.explore_url}/details/${e.uuid}?nodeType=NODE`;
|
|
3762
|
+
return /* @__PURE__ */ k.jsx(
|
|
3763
|
+
mr,
|
|
3764
|
+
{
|
|
3765
|
+
placement: "bottom",
|
|
3766
|
+
overlay: /* @__PURE__ */ k.jsxs(Cn, { className: "explore_btn_tooltip", children: [
|
|
3767
|
+
"Browse provenance",
|
|
3768
|
+
/* @__PURE__ */ k.jsx("br", {}),
|
|
3769
|
+
e.uuid
|
|
3770
|
+
] }),
|
|
3771
|
+
children: /* @__PURE__ */ k.jsx("a", { href: t, target: "_blank", children: /* @__PURE__ */ k.jsx("img", { src: ja, className: "explore_btn_aiida_logo" }) })
|
|
3772
|
+
}
|
|
3773
|
+
);
|
|
3774
|
+
}
|
|
3775
|
+
function Ua(e) {
|
|
3776
|
+
return e.split(/(\d+)/).map((r, n) => r.match(/\d+/) ? /* @__PURE__ */ k.jsx("sub", { children: r }, n) : r);
|
|
3777
|
+
}
|
|
3778
|
+
function Ya(e) {
|
|
3779
|
+
let t = !1;
|
|
3780
|
+
return /* @__PURE__ */ k.jsx("span", { children: e.split("").map((r, n) => r == "_" ? (t = !0, null) : t ? (t = !1, /* @__PURE__ */ k.jsx("sub", { children: r }, n)) : r) });
|
|
3781
|
+
}
|
|
3782
|
+
export {
|
|
3783
|
+
Ba as DoiBadge,
|
|
3784
|
+
Na as ExploreButton,
|
|
3785
|
+
Ia as HelpButton,
|
|
3786
|
+
La as McloudSpinner,
|
|
3787
|
+
Ha as StructDownloadButton,
|
|
3788
|
+
Fa as TestButton,
|
|
3789
|
+
Ua as formatChemicalFormula,
|
|
3790
|
+
Ya as formatSpaceGroupSymbol
|
|
3791
|
+
};
|