mc-react-library 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/main.css +1 -1
- package/dist/main.js +5013 -0
- package/package.json +2 -2
- package/dist/mc-react-library.js +0 -3832
package/dist/main.js
ADDED
|
@@ -0,0 +1,5013 @@
|
|
|
1
|
+
import "./main.css";
|
|
2
|
+
import * as gt from "react";
|
|
3
|
+
import Ot, { useRef as ct, useEffect as ht, useMemo as pe, useState as Ut, useCallback as it, useContext as on, createContext as Xr, useLayoutEffect as $r, cloneElement as sn } from "react";
|
|
4
|
+
import Kt from "react-dom";
|
|
5
|
+
function an(t) {
|
|
6
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
7
|
+
}
|
|
8
|
+
var We = { exports: {} }, se = {};
|
|
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 Tn;
|
|
19
|
+
function Zr() {
|
|
20
|
+
if (Tn) return se;
|
|
21
|
+
Tn = 1;
|
|
22
|
+
var t = Ot, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function a(c, u, f) {
|
|
24
|
+
var l, d = {}, _ = null, h = null;
|
|
25
|
+
f !== void 0 && (_ = "" + f), u.key !== void 0 && (_ = "" + u.key), u.ref !== void 0 && (h = u.ref);
|
|
26
|
+
for (l in u) r.call(u, l) && !o.hasOwnProperty(l) && (d[l] = u[l]);
|
|
27
|
+
if (c && c.defaultProps) for (l in u = c.defaultProps, u) d[l] === void 0 && (d[l] = u[l]);
|
|
28
|
+
return { $$typeof: e, type: c, key: _, ref: h, props: d, _owner: i.current };
|
|
29
|
+
}
|
|
30
|
+
return se.Fragment = n, se.jsx = a, se.jsxs = a, se;
|
|
31
|
+
}
|
|
32
|
+
var ae = {};
|
|
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 Sn;
|
|
43
|
+
function ti() {
|
|
44
|
+
return Sn || (Sn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
+
var t = Ot, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), y = Symbol.iterator, b = "@@iterator";
|
|
46
|
+
function v(s) {
|
|
47
|
+
if (s === null || typeof s != "object")
|
|
48
|
+
return null;
|
|
49
|
+
var m = y && s[y] || s[b];
|
|
50
|
+
return typeof m == "function" ? m : null;
|
|
51
|
+
}
|
|
52
|
+
var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function P(s) {
|
|
54
|
+
{
|
|
55
|
+
for (var m = arguments.length, x = new Array(m > 1 ? m - 1 : 0), I = 1; I < m; I++)
|
|
56
|
+
x[I - 1] = arguments[I];
|
|
57
|
+
R("error", s, x);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function R(s, m, x) {
|
|
61
|
+
{
|
|
62
|
+
var I = O.ReactDebugCurrentFrame, z = I.getStackAddendum();
|
|
63
|
+
z !== "" && (m += "%s", x = x.concat([z]));
|
|
64
|
+
var et = x.map(function(W) {
|
|
65
|
+
return String(W);
|
|
66
|
+
});
|
|
67
|
+
et.unshift("Warning: " + m), Function.prototype.apply.call(console[s], console, et);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
var A = !1, p = !1, C = !1, B = !1, G = !1, X;
|
|
71
|
+
X = Symbol.for("react.module.reference");
|
|
72
|
+
function J(s) {
|
|
73
|
+
return !!(typeof s == "string" || typeof s == "function" || s === r || s === o || G || s === i || s === f || s === l || B || s === h || A || p || C || typeof s == "object" && s !== null && (s.$$typeof === _ || s.$$typeof === d || s.$$typeof === a || s.$$typeof === c || s.$$typeof === u || // 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
|
+
s.$$typeof === X || s.getModuleId !== void 0));
|
|
78
|
+
}
|
|
79
|
+
function Z(s, m, x) {
|
|
80
|
+
var I = s.displayName;
|
|
81
|
+
if (I)
|
|
82
|
+
return I;
|
|
83
|
+
var z = m.displayName || m.name || "";
|
|
84
|
+
return z !== "" ? x + "(" + z + ")" : x;
|
|
85
|
+
}
|
|
86
|
+
function ot(s) {
|
|
87
|
+
return s.displayName || "Context";
|
|
88
|
+
}
|
|
89
|
+
function V(s) {
|
|
90
|
+
if (s == null)
|
|
91
|
+
return null;
|
|
92
|
+
if (typeof s.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
93
|
+
return s.displayName || s.name || null;
|
|
94
|
+
if (typeof s == "string")
|
|
95
|
+
return s;
|
|
96
|
+
switch (s) {
|
|
97
|
+
case r:
|
|
98
|
+
return "Fragment";
|
|
99
|
+
case n:
|
|
100
|
+
return "Portal";
|
|
101
|
+
case o:
|
|
102
|
+
return "Profiler";
|
|
103
|
+
case i:
|
|
104
|
+
return "StrictMode";
|
|
105
|
+
case f:
|
|
106
|
+
return "Suspense";
|
|
107
|
+
case l:
|
|
108
|
+
return "SuspenseList";
|
|
109
|
+
}
|
|
110
|
+
if (typeof s == "object")
|
|
111
|
+
switch (s.$$typeof) {
|
|
112
|
+
case c:
|
|
113
|
+
var m = s;
|
|
114
|
+
return ot(m) + ".Consumer";
|
|
115
|
+
case a:
|
|
116
|
+
var x = s;
|
|
117
|
+
return ot(x._context) + ".Provider";
|
|
118
|
+
case u:
|
|
119
|
+
return Z(s, s.render, "ForwardRef");
|
|
120
|
+
case d:
|
|
121
|
+
var I = s.displayName || null;
|
|
122
|
+
return I !== null ? I : V(s.type) || "Memo";
|
|
123
|
+
case _: {
|
|
124
|
+
var z = s, et = z._payload, W = z._init;
|
|
125
|
+
try {
|
|
126
|
+
return V(W(et));
|
|
127
|
+
} catch {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
134
|
+
var q = Object.assign, $ = 0, tt, nt, _t, ft, g, E, F;
|
|
135
|
+
function M() {
|
|
136
|
+
}
|
|
137
|
+
M.__reactDisabledLog = !0;
|
|
138
|
+
function S() {
|
|
139
|
+
{
|
|
140
|
+
if ($ === 0) {
|
|
141
|
+
tt = console.log, nt = console.info, _t = console.warn, ft = console.error, g = console.group, E = console.groupCollapsed, F = console.groupEnd;
|
|
142
|
+
var s = {
|
|
143
|
+
configurable: !0,
|
|
144
|
+
enumerable: !0,
|
|
145
|
+
value: M,
|
|
146
|
+
writable: !0
|
|
147
|
+
};
|
|
148
|
+
Object.defineProperties(console, {
|
|
149
|
+
info: s,
|
|
150
|
+
log: s,
|
|
151
|
+
warn: s,
|
|
152
|
+
error: s,
|
|
153
|
+
group: s,
|
|
154
|
+
groupCollapsed: s,
|
|
155
|
+
groupEnd: s
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
$++;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
function L() {
|
|
162
|
+
{
|
|
163
|
+
if ($--, $ === 0) {
|
|
164
|
+
var s = {
|
|
165
|
+
configurable: !0,
|
|
166
|
+
enumerable: !0,
|
|
167
|
+
writable: !0
|
|
168
|
+
};
|
|
169
|
+
Object.defineProperties(console, {
|
|
170
|
+
log: q({}, s, {
|
|
171
|
+
value: tt
|
|
172
|
+
}),
|
|
173
|
+
info: q({}, s, {
|
|
174
|
+
value: nt
|
|
175
|
+
}),
|
|
176
|
+
warn: q({}, s, {
|
|
177
|
+
value: _t
|
|
178
|
+
}),
|
|
179
|
+
error: q({}, s, {
|
|
180
|
+
value: ft
|
|
181
|
+
}),
|
|
182
|
+
group: q({}, s, {
|
|
183
|
+
value: g
|
|
184
|
+
}),
|
|
185
|
+
groupCollapsed: q({}, s, {
|
|
186
|
+
value: E
|
|
187
|
+
}),
|
|
188
|
+
groupEnd: q({}, s, {
|
|
189
|
+
value: F
|
|
190
|
+
})
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
$ < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
var k = O.ReactCurrentDispatcher, j;
|
|
197
|
+
function D(s, m, x) {
|
|
198
|
+
{
|
|
199
|
+
if (j === void 0)
|
|
200
|
+
try {
|
|
201
|
+
throw Error();
|
|
202
|
+
} catch (z) {
|
|
203
|
+
var I = z.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
+
j = I && I[1] || "";
|
|
205
|
+
}
|
|
206
|
+
return `
|
|
207
|
+
` + j + s;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
var U = !1, H;
|
|
211
|
+
{
|
|
212
|
+
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
H = new st();
|
|
214
|
+
}
|
|
215
|
+
function w(s, m) {
|
|
216
|
+
if (!s || U)
|
|
217
|
+
return "";
|
|
218
|
+
{
|
|
219
|
+
var x = H.get(s);
|
|
220
|
+
if (x !== void 0)
|
|
221
|
+
return x;
|
|
222
|
+
}
|
|
223
|
+
var I;
|
|
224
|
+
U = !0;
|
|
225
|
+
var z = Error.prepareStackTrace;
|
|
226
|
+
Error.prepareStackTrace = void 0;
|
|
227
|
+
var et;
|
|
228
|
+
et = k.current, k.current = null, S();
|
|
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 (At) {
|
|
242
|
+
I = At;
|
|
243
|
+
}
|
|
244
|
+
Reflect.construct(s, [], W);
|
|
245
|
+
} else {
|
|
246
|
+
try {
|
|
247
|
+
W.call();
|
|
248
|
+
} catch (At) {
|
|
249
|
+
I = At;
|
|
250
|
+
}
|
|
251
|
+
s.call(W.prototype);
|
|
252
|
+
}
|
|
253
|
+
} else {
|
|
254
|
+
try {
|
|
255
|
+
throw Error();
|
|
256
|
+
} catch (At) {
|
|
257
|
+
I = At;
|
|
258
|
+
}
|
|
259
|
+
s();
|
|
260
|
+
}
|
|
261
|
+
} catch (At) {
|
|
262
|
+
if (At && I && typeof At.stack == "string") {
|
|
263
|
+
for (var Y = At.stack.split(`
|
|
264
|
+
`), lt = I.stack.split(`
|
|
265
|
+
`), rt = Y.length - 1, at = lt.length - 1; rt >= 1 && at >= 0 && Y[rt] !== lt[at]; )
|
|
266
|
+
at--;
|
|
267
|
+
for (; rt >= 1 && at >= 0; rt--, at--)
|
|
268
|
+
if (Y[rt] !== lt[at]) {
|
|
269
|
+
if (rt !== 1 || at !== 1)
|
|
270
|
+
do
|
|
271
|
+
if (rt--, at--, at < 0 || Y[rt] !== lt[at]) {
|
|
272
|
+
var vt = `
|
|
273
|
+
` + Y[rt].replace(" at new ", " at ");
|
|
274
|
+
return s.displayName && vt.includes("<anonymous>") && (vt = vt.replace("<anonymous>", s.displayName)), typeof s == "function" && H.set(s, vt), vt;
|
|
275
|
+
}
|
|
276
|
+
while (rt >= 1 && at >= 0);
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
} finally {
|
|
281
|
+
U = !1, k.current = et, L(), Error.prepareStackTrace = z;
|
|
282
|
+
}
|
|
283
|
+
var qt = s ? s.displayName || s.name : "", Cn = qt ? D(qt) : "";
|
|
284
|
+
return typeof s == "function" && H.set(s, Cn), Cn;
|
|
285
|
+
}
|
|
286
|
+
function ut(s, m, x) {
|
|
287
|
+
return w(s, !1);
|
|
288
|
+
}
|
|
289
|
+
function Tt(s) {
|
|
290
|
+
var m = s.prototype;
|
|
291
|
+
return !!(m && m.isReactComponent);
|
|
292
|
+
}
|
|
293
|
+
function xt(s, m, x) {
|
|
294
|
+
if (s == null)
|
|
295
|
+
return "";
|
|
296
|
+
if (typeof s == "function")
|
|
297
|
+
return w(s, Tt(s));
|
|
298
|
+
if (typeof s == "string")
|
|
299
|
+
return D(s);
|
|
300
|
+
switch (s) {
|
|
301
|
+
case f:
|
|
302
|
+
return D("Suspense");
|
|
303
|
+
case l:
|
|
304
|
+
return D("SuspenseList");
|
|
305
|
+
}
|
|
306
|
+
if (typeof s == "object")
|
|
307
|
+
switch (s.$$typeof) {
|
|
308
|
+
case u:
|
|
309
|
+
return ut(s.render);
|
|
310
|
+
case d:
|
|
311
|
+
return xt(s.type, m, x);
|
|
312
|
+
case _: {
|
|
313
|
+
var I = s, z = I._payload, et = I._init;
|
|
314
|
+
try {
|
|
315
|
+
return xt(et(z), m, x);
|
|
316
|
+
} catch {
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
return "";
|
|
321
|
+
}
|
|
322
|
+
var Dt = Object.prototype.hasOwnProperty, ne = {}, ye = O.ReactDebugCurrentFrame;
|
|
323
|
+
function Vt(s) {
|
|
324
|
+
if (s) {
|
|
325
|
+
var m = s._owner, x = xt(s.type, s._source, m ? m.type : null);
|
|
326
|
+
ye.setExtraStackFrame(x);
|
|
327
|
+
} else
|
|
328
|
+
ye.setExtraStackFrame(null);
|
|
329
|
+
}
|
|
330
|
+
function Et(s, m, x, I, z) {
|
|
331
|
+
{
|
|
332
|
+
var et = Function.call.bind(Dt);
|
|
333
|
+
for (var W in s)
|
|
334
|
+
if (et(s, W)) {
|
|
335
|
+
var Y = void 0;
|
|
336
|
+
try {
|
|
337
|
+
if (typeof s[W] != "function") {
|
|
338
|
+
var lt = Error((I || "React class") + ": " + x + " type `" + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[W] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
|
+
throw lt.name = "Invariant Violation", lt;
|
|
340
|
+
}
|
|
341
|
+
Y = s[W](m, W, I, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
|
+
} catch (rt) {
|
|
343
|
+
Y = rt;
|
|
344
|
+
}
|
|
345
|
+
Y && !(Y instanceof Error) && (Vt(z), P("%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).", I || "React class", x, W, typeof Y), Vt(null)), Y instanceof Error && !(Y.message in ne) && (ne[Y.message] = !0, Vt(z), P("Failed %s type: %s", x, Y.message), Vt(null));
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
var Wt = Array.isArray;
|
|
350
|
+
function Jt(s) {
|
|
351
|
+
return Wt(s);
|
|
352
|
+
}
|
|
353
|
+
function be(s) {
|
|
354
|
+
{
|
|
355
|
+
var m = typeof Symbol == "function" && Symbol.toStringTag, x = m && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
356
|
+
return x;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
function re(s) {
|
|
360
|
+
try {
|
|
361
|
+
return ie(s), !1;
|
|
362
|
+
} catch {
|
|
363
|
+
return !0;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
function ie(s) {
|
|
367
|
+
return "" + s;
|
|
368
|
+
}
|
|
369
|
+
function oe(s) {
|
|
370
|
+
if (re(s))
|
|
371
|
+
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", be(s)), ie(s);
|
|
372
|
+
}
|
|
373
|
+
var St = O.ReactCurrentOwner, Pe = {
|
|
374
|
+
key: !0,
|
|
375
|
+
ref: !0,
|
|
376
|
+
__self: !0,
|
|
377
|
+
__source: !0
|
|
378
|
+
}, bn, Pn, Ie;
|
|
379
|
+
Ie = {};
|
|
380
|
+
function Mr(s) {
|
|
381
|
+
if (Dt.call(s, "ref")) {
|
|
382
|
+
var m = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
383
|
+
if (m && m.isReactWarning)
|
|
384
|
+
return !1;
|
|
385
|
+
}
|
|
386
|
+
return s.ref !== void 0;
|
|
387
|
+
}
|
|
388
|
+
function Br(s) {
|
|
389
|
+
if (Dt.call(s, "key")) {
|
|
390
|
+
var m = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
391
|
+
if (m && m.isReactWarning)
|
|
392
|
+
return !1;
|
|
393
|
+
}
|
|
394
|
+
return s.key !== void 0;
|
|
395
|
+
}
|
|
396
|
+
function Lr(s, m) {
|
|
397
|
+
if (typeof s.ref == "string" && St.current && m && St.current.stateNode !== m) {
|
|
398
|
+
var x = V(St.current.type);
|
|
399
|
+
Ie[x] || (P('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(St.current.type), s.ref), Ie[x] = !0);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
function Hr(s, m) {
|
|
403
|
+
{
|
|
404
|
+
var x = function() {
|
|
405
|
+
bn || (bn = !0, P("%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
|
+
x.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
408
|
+
get: x,
|
|
409
|
+
configurable: !0
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
function Nr(s, m) {
|
|
414
|
+
{
|
|
415
|
+
var x = function() {
|
|
416
|
+
Pn || (Pn = !0, P("%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
|
+
x.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
419
|
+
get: x,
|
|
420
|
+
configurable: !0
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
var Ur = function(s, m, x, I, z, et, W) {
|
|
425
|
+
var Y = {
|
|
426
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
427
|
+
$$typeof: e,
|
|
428
|
+
// Built-in properties that belong on the element
|
|
429
|
+
type: s,
|
|
430
|
+
key: m,
|
|
431
|
+
ref: x,
|
|
432
|
+
props: W,
|
|
433
|
+
// Record the component responsible for creating this element.
|
|
434
|
+
_owner: et
|
|
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: I
|
|
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 Yr(s, m, x, I, z) {
|
|
454
|
+
{
|
|
455
|
+
var et, W = {}, Y = null, lt = null;
|
|
456
|
+
x !== void 0 && (oe(x), Y = "" + x), Br(m) && (oe(m.key), Y = "" + m.key), Mr(m) && (lt = m.ref, Lr(m, z));
|
|
457
|
+
for (et in m)
|
|
458
|
+
Dt.call(m, et) && !Pe.hasOwnProperty(et) && (W[et] = m[et]);
|
|
459
|
+
if (s && s.defaultProps) {
|
|
460
|
+
var rt = s.defaultProps;
|
|
461
|
+
for (et in rt)
|
|
462
|
+
W[et] === void 0 && (W[et] = rt[et]);
|
|
463
|
+
}
|
|
464
|
+
if (Y || lt) {
|
|
465
|
+
var at = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
466
|
+
Y && Hr(W, at), lt && Nr(W, at);
|
|
467
|
+
}
|
|
468
|
+
return Ur(s, Y, lt, z, I, St.current, W);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
var je = O.ReactCurrentOwner, wn = O.ReactDebugCurrentFrame;
|
|
472
|
+
function Gt(s) {
|
|
473
|
+
if (s) {
|
|
474
|
+
var m = s._owner, x = xt(s.type, s._source, m ? m.type : null);
|
|
475
|
+
wn.setExtraStackFrame(x);
|
|
476
|
+
} else
|
|
477
|
+
wn.setExtraStackFrame(null);
|
|
478
|
+
}
|
|
479
|
+
var De;
|
|
480
|
+
De = !1;
|
|
481
|
+
function Fe(s) {
|
|
482
|
+
return typeof s == "object" && s !== null && s.$$typeof === e;
|
|
483
|
+
}
|
|
484
|
+
function xn() {
|
|
485
|
+
{
|
|
486
|
+
if (je.current) {
|
|
487
|
+
var s = V(je.current.type);
|
|
488
|
+
if (s)
|
|
489
|
+
return `
|
|
490
|
+
|
|
491
|
+
Check the render method of \`` + s + "`.";
|
|
492
|
+
}
|
|
493
|
+
return "";
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
function Vr(s) {
|
|
497
|
+
return "";
|
|
498
|
+
}
|
|
499
|
+
var En = {};
|
|
500
|
+
function Wr(s) {
|
|
501
|
+
{
|
|
502
|
+
var m = xn();
|
|
503
|
+
if (!m) {
|
|
504
|
+
var x = typeof s == "string" ? s : s.displayName || s.name;
|
|
505
|
+
x && (m = `
|
|
506
|
+
|
|
507
|
+
Check the top-level render call using <` + x + ">.");
|
|
508
|
+
}
|
|
509
|
+
return m;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
function An(s, m) {
|
|
513
|
+
{
|
|
514
|
+
if (!s._store || s._store.validated || s.key != null)
|
|
515
|
+
return;
|
|
516
|
+
s._store.validated = !0;
|
|
517
|
+
var x = Wr(m);
|
|
518
|
+
if (En[x])
|
|
519
|
+
return;
|
|
520
|
+
En[x] = !0;
|
|
521
|
+
var I = "";
|
|
522
|
+
s && s._owner && s._owner !== je.current && (I = " It was passed a child from " + V(s._owner.type) + "."), Gt(s), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, I), Gt(null);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
function On(s, m) {
|
|
526
|
+
{
|
|
527
|
+
if (typeof s != "object")
|
|
528
|
+
return;
|
|
529
|
+
if (Jt(s))
|
|
530
|
+
for (var x = 0; x < s.length; x++) {
|
|
531
|
+
var I = s[x];
|
|
532
|
+
Fe(I) && An(I, m);
|
|
533
|
+
}
|
|
534
|
+
else if (Fe(s))
|
|
535
|
+
s._store && (s._store.validated = !0);
|
|
536
|
+
else if (s) {
|
|
537
|
+
var z = v(s);
|
|
538
|
+
if (typeof z == "function" && z !== s.entries)
|
|
539
|
+
for (var et = z.call(s), W; !(W = et.next()).done; )
|
|
540
|
+
Fe(W.value) && An(W.value, m);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
function Jr(s) {
|
|
545
|
+
{
|
|
546
|
+
var m = s.type;
|
|
547
|
+
if (m == null || typeof m == "string")
|
|
548
|
+
return;
|
|
549
|
+
var x;
|
|
550
|
+
if (typeof m == "function")
|
|
551
|
+
x = m.propTypes;
|
|
552
|
+
else if (typeof m == "object" && (m.$$typeof === u || // Note: Memo only checks outer props here.
|
|
553
|
+
// Inner props are checked in the reconciler.
|
|
554
|
+
m.$$typeof === d))
|
|
555
|
+
x = m.propTypes;
|
|
556
|
+
else
|
|
557
|
+
return;
|
|
558
|
+
if (x) {
|
|
559
|
+
var I = V(m);
|
|
560
|
+
Et(x, s.props, "prop", I, s);
|
|
561
|
+
} else if (m.PropTypes !== void 0 && !De) {
|
|
562
|
+
De = !0;
|
|
563
|
+
var z = V(m);
|
|
564
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
565
|
+
}
|
|
566
|
+
typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
function Gr(s) {
|
|
570
|
+
{
|
|
571
|
+
for (var m = Object.keys(s.props), x = 0; x < m.length; x++) {
|
|
572
|
+
var I = m[x];
|
|
573
|
+
if (I !== "children" && I !== "key") {
|
|
574
|
+
Gt(s), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), Gt(null);
|
|
575
|
+
break;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
s.ref !== null && (Gt(s), P("Invalid attribute `ref` supplied to `React.Fragment`."), Gt(null));
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
function Rn(s, m, x, I, z, et) {
|
|
582
|
+
{
|
|
583
|
+
var W = J(s);
|
|
584
|
+
if (!W) {
|
|
585
|
+
var Y = "";
|
|
586
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).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 lt = Vr();
|
|
588
|
+
lt ? Y += lt : Y += xn();
|
|
589
|
+
var rt;
|
|
590
|
+
s === null ? rt = "null" : Jt(s) ? rt = "array" : s !== void 0 && s.$$typeof === e ? (rt = "<" + (V(s.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : rt = typeof s, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", rt, Y);
|
|
591
|
+
}
|
|
592
|
+
var at = Yr(s, m, x, z, et);
|
|
593
|
+
if (at == null)
|
|
594
|
+
return at;
|
|
595
|
+
if (W) {
|
|
596
|
+
var vt = m.children;
|
|
597
|
+
if (vt !== void 0)
|
|
598
|
+
if (I)
|
|
599
|
+
if (Jt(vt)) {
|
|
600
|
+
for (var qt = 0; qt < vt.length; qt++)
|
|
601
|
+
On(vt[qt], s);
|
|
602
|
+
Object.freeze && Object.freeze(vt);
|
|
603
|
+
} else
|
|
604
|
+
P("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
|
+
On(vt, s);
|
|
607
|
+
}
|
|
608
|
+
return s === r ? Gr(at) : Jr(at), at;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
function qr(s, m, x) {
|
|
612
|
+
return Rn(s, m, x, !0);
|
|
613
|
+
}
|
|
614
|
+
function zr(s, m, x) {
|
|
615
|
+
return Rn(s, m, x, !1);
|
|
616
|
+
}
|
|
617
|
+
var Kr = zr, Qr = qr;
|
|
618
|
+
ae.Fragment = r, ae.jsx = Kr, ae.jsxs = Qr;
|
|
619
|
+
}()), ae;
|
|
620
|
+
}
|
|
621
|
+
process.env.NODE_ENV === "production" ? We.exports = Zr() : We.exports = ti();
|
|
622
|
+
var T = We.exports;
|
|
623
|
+
const ei = "_button_qg5kh_1", ni = {
|
|
624
|
+
button: ei
|
|
625
|
+
};
|
|
626
|
+
function Ws(t) {
|
|
627
|
+
return /* @__PURE__ */ T.jsx("button", { className: ni.button, children: "TEST" });
|
|
628
|
+
}
|
|
629
|
+
const ri = "_archive_doicitation_5woyi_1", ii = "_doi_badge_5woyi_8", oi = "_doi_left_5woyi_12", si = "_doi_right_5woyi_28", we = {
|
|
630
|
+
archive_doicitation: ri,
|
|
631
|
+
doi_badge: ii,
|
|
632
|
+
doi_left: oi,
|
|
633
|
+
doi_right: si
|
|
634
|
+
};
|
|
635
|
+
function Js(t) {
|
|
636
|
+
return /* @__PURE__ */ T.jsx("div", { className: we.archive_doicitation, children: /* @__PURE__ */ T.jsxs("span", { className: we.doi_badge, children: [
|
|
637
|
+
/* @__PURE__ */ T.jsx("span", { className: we.doi_left, children: "DOI" }),
|
|
638
|
+
/* @__PURE__ */ T.jsx(
|
|
639
|
+
"a",
|
|
640
|
+
{
|
|
641
|
+
href: `https://doi.org/10.24435/materialscloud:${t.doi_id}`,
|
|
642
|
+
className: we.doi_right,
|
|
643
|
+
target: "_blank",
|
|
644
|
+
children: `10.24435/materialscloud:${t.doi_id}`
|
|
645
|
+
}
|
|
646
|
+
)
|
|
647
|
+
] }) });
|
|
648
|
+
}
|
|
649
|
+
function Je(t, e) {
|
|
650
|
+
if (t.contains) return t.contains(e);
|
|
651
|
+
if (t.compareDocumentPosition) return t === e || !!(t.compareDocumentPosition(e) & 16);
|
|
652
|
+
}
|
|
653
|
+
var Ge = { exports: {} }, xe = { 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 kn;
|
|
663
|
+
function ai() {
|
|
664
|
+
if (kn) return K;
|
|
665
|
+
kn = 1;
|
|
666
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, a = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, f = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
667
|
+
function R(p) {
|
|
668
|
+
if (typeof p == "object" && p !== null) {
|
|
669
|
+
var C = p.$$typeof;
|
|
670
|
+
switch (C) {
|
|
671
|
+
case e:
|
|
672
|
+
switch (p = p.type, p) {
|
|
673
|
+
case u:
|
|
674
|
+
case f:
|
|
675
|
+
case r:
|
|
676
|
+
case o:
|
|
677
|
+
case i:
|
|
678
|
+
case d:
|
|
679
|
+
return p;
|
|
680
|
+
default:
|
|
681
|
+
switch (p = p && p.$$typeof, p) {
|
|
682
|
+
case c:
|
|
683
|
+
case l:
|
|
684
|
+
case y:
|
|
685
|
+
case h:
|
|
686
|
+
case a:
|
|
687
|
+
return p;
|
|
688
|
+
default:
|
|
689
|
+
return C;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
case n:
|
|
693
|
+
return C;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
function A(p) {
|
|
698
|
+
return R(p) === f;
|
|
699
|
+
}
|
|
700
|
+
return K.AsyncMode = u, K.ConcurrentMode = f, K.ContextConsumer = c, K.ContextProvider = a, K.Element = e, K.ForwardRef = l, K.Fragment = r, K.Lazy = y, K.Memo = h, K.Portal = n, K.Profiler = o, K.StrictMode = i, K.Suspense = d, K.isAsyncMode = function(p) {
|
|
701
|
+
return A(p) || R(p) === u;
|
|
702
|
+
}, K.isConcurrentMode = A, K.isContextConsumer = function(p) {
|
|
703
|
+
return R(p) === c;
|
|
704
|
+
}, K.isContextProvider = function(p) {
|
|
705
|
+
return R(p) === a;
|
|
706
|
+
}, K.isElement = function(p) {
|
|
707
|
+
return typeof p == "object" && p !== null && p.$$typeof === e;
|
|
708
|
+
}, K.isForwardRef = function(p) {
|
|
709
|
+
return R(p) === l;
|
|
710
|
+
}, K.isFragment = function(p) {
|
|
711
|
+
return R(p) === r;
|
|
712
|
+
}, K.isLazy = function(p) {
|
|
713
|
+
return R(p) === y;
|
|
714
|
+
}, K.isMemo = function(p) {
|
|
715
|
+
return R(p) === h;
|
|
716
|
+
}, K.isPortal = function(p) {
|
|
717
|
+
return R(p) === n;
|
|
718
|
+
}, K.isProfiler = function(p) {
|
|
719
|
+
return R(p) === o;
|
|
720
|
+
}, K.isStrictMode = function(p) {
|
|
721
|
+
return R(p) === i;
|
|
722
|
+
}, K.isSuspense = function(p) {
|
|
723
|
+
return R(p) === d;
|
|
724
|
+
}, K.isValidElementType = function(p) {
|
|
725
|
+
return typeof p == "string" || typeof p == "function" || p === r || p === f || p === o || p === i || p === d || p === _ || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === h || p.$$typeof === a || p.$$typeof === c || p.$$typeof === l || p.$$typeof === v || p.$$typeof === O || p.$$typeof === P || p.$$typeof === b);
|
|
726
|
+
}, K.typeOf = R, 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 In;
|
|
738
|
+
function ci() {
|
|
739
|
+
return In || (In = 1, process.env.NODE_ENV !== "production" && function() {
|
|
740
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, a = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, f = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
741
|
+
function R(w) {
|
|
742
|
+
return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
743
|
+
w === r || w === f || w === o || w === i || w === d || w === _ || typeof w == "object" && w !== null && (w.$$typeof === y || w.$$typeof === h || w.$$typeof === a || w.$$typeof === c || w.$$typeof === l || w.$$typeof === v || w.$$typeof === O || w.$$typeof === P || w.$$typeof === b);
|
|
744
|
+
}
|
|
745
|
+
function A(w) {
|
|
746
|
+
if (typeof w == "object" && w !== null) {
|
|
747
|
+
var ut = w.$$typeof;
|
|
748
|
+
switch (ut) {
|
|
749
|
+
case e:
|
|
750
|
+
var Tt = w.type;
|
|
751
|
+
switch (Tt) {
|
|
752
|
+
case u:
|
|
753
|
+
case f:
|
|
754
|
+
case r:
|
|
755
|
+
case o:
|
|
756
|
+
case i:
|
|
757
|
+
case d:
|
|
758
|
+
return Tt;
|
|
759
|
+
default:
|
|
760
|
+
var xt = Tt && Tt.$$typeof;
|
|
761
|
+
switch (xt) {
|
|
762
|
+
case c:
|
|
763
|
+
case l:
|
|
764
|
+
case y:
|
|
765
|
+
case h:
|
|
766
|
+
case a:
|
|
767
|
+
return xt;
|
|
768
|
+
default:
|
|
769
|
+
return ut;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
case n:
|
|
773
|
+
return ut;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
var p = u, C = f, B = c, G = a, X = e, J = l, Z = r, ot = y, V = h, q = n, $ = o, tt = i, nt = d, _t = !1;
|
|
778
|
+
function ft(w) {
|
|
779
|
+
return _t || (_t = !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.")), g(w) || A(w) === u;
|
|
780
|
+
}
|
|
781
|
+
function g(w) {
|
|
782
|
+
return A(w) === f;
|
|
783
|
+
}
|
|
784
|
+
function E(w) {
|
|
785
|
+
return A(w) === c;
|
|
786
|
+
}
|
|
787
|
+
function F(w) {
|
|
788
|
+
return A(w) === a;
|
|
789
|
+
}
|
|
790
|
+
function M(w) {
|
|
791
|
+
return typeof w == "object" && w !== null && w.$$typeof === e;
|
|
792
|
+
}
|
|
793
|
+
function S(w) {
|
|
794
|
+
return A(w) === l;
|
|
795
|
+
}
|
|
796
|
+
function L(w) {
|
|
797
|
+
return A(w) === r;
|
|
798
|
+
}
|
|
799
|
+
function k(w) {
|
|
800
|
+
return A(w) === y;
|
|
801
|
+
}
|
|
802
|
+
function j(w) {
|
|
803
|
+
return A(w) === h;
|
|
804
|
+
}
|
|
805
|
+
function D(w) {
|
|
806
|
+
return A(w) === n;
|
|
807
|
+
}
|
|
808
|
+
function U(w) {
|
|
809
|
+
return A(w) === o;
|
|
810
|
+
}
|
|
811
|
+
function H(w) {
|
|
812
|
+
return A(w) === i;
|
|
813
|
+
}
|
|
814
|
+
function st(w) {
|
|
815
|
+
return A(w) === d;
|
|
816
|
+
}
|
|
817
|
+
Q.AsyncMode = p, Q.ConcurrentMode = C, Q.ContextConsumer = B, Q.ContextProvider = G, Q.Element = X, Q.ForwardRef = J, Q.Fragment = Z, Q.Lazy = ot, Q.Memo = V, Q.Portal = q, Q.Profiler = $, Q.StrictMode = tt, Q.Suspense = nt, Q.isAsyncMode = ft, Q.isConcurrentMode = g, Q.isContextConsumer = E, Q.isContextProvider = F, Q.isElement = M, Q.isForwardRef = S, Q.isFragment = L, Q.isLazy = k, Q.isMemo = j, Q.isPortal = D, Q.isProfiler = U, Q.isStrictMode = H, Q.isSuspense = st, Q.isValidElementType = R, Q.typeOf = A;
|
|
818
|
+
}()), Q;
|
|
819
|
+
}
|
|
820
|
+
var jn;
|
|
821
|
+
function sr() {
|
|
822
|
+
return jn || (jn = 1, process.env.NODE_ENV === "production" ? xe.exports = ai() : xe.exports = ci()), xe.exports;
|
|
823
|
+
}
|
|
824
|
+
/*
|
|
825
|
+
object-assign
|
|
826
|
+
(c) Sindre Sorhus
|
|
827
|
+
@license MIT
|
|
828
|
+
*/
|
|
829
|
+
var Me, Dn;
|
|
830
|
+
function ui() {
|
|
831
|
+
if (Dn) return Me;
|
|
832
|
+
Dn = 1;
|
|
833
|
+
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
834
|
+
function r(o) {
|
|
835
|
+
if (o == null)
|
|
836
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
837
|
+
return Object(o);
|
|
838
|
+
}
|
|
839
|
+
function i() {
|
|
840
|
+
try {
|
|
841
|
+
if (!Object.assign)
|
|
842
|
+
return !1;
|
|
843
|
+
var o = new String("abc");
|
|
844
|
+
if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
|
|
845
|
+
return !1;
|
|
846
|
+
for (var a = {}, c = 0; c < 10; c++)
|
|
847
|
+
a["_" + String.fromCharCode(c)] = c;
|
|
848
|
+
var u = Object.getOwnPropertyNames(a).map(function(l) {
|
|
849
|
+
return a[l];
|
|
850
|
+
});
|
|
851
|
+
if (u.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 Me = i() ? Object.assign : function(o, a) {
|
|
862
|
+
for (var c, u = r(o), f, l = 1; l < arguments.length; l++) {
|
|
863
|
+
c = Object(arguments[l]);
|
|
864
|
+
for (var d in c)
|
|
865
|
+
e.call(c, d) && (u[d] = c[d]);
|
|
866
|
+
if (t) {
|
|
867
|
+
f = t(c);
|
|
868
|
+
for (var _ = 0; _ < f.length; _++)
|
|
869
|
+
n.call(c, f[_]) && (u[f[_]] = c[f[_]]);
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return u;
|
|
873
|
+
}, Me;
|
|
874
|
+
}
|
|
875
|
+
var Be, Fn;
|
|
876
|
+
function cn() {
|
|
877
|
+
if (Fn) return Be;
|
|
878
|
+
Fn = 1;
|
|
879
|
+
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
880
|
+
return Be = t, Be;
|
|
881
|
+
}
|
|
882
|
+
var Le, Mn;
|
|
883
|
+
function ar() {
|
|
884
|
+
return Mn || (Mn = 1, Le = Function.call.bind(Object.prototype.hasOwnProperty)), Le;
|
|
885
|
+
}
|
|
886
|
+
var He, Bn;
|
|
887
|
+
function li() {
|
|
888
|
+
if (Bn) return He;
|
|
889
|
+
Bn = 1;
|
|
890
|
+
var t = function() {
|
|
891
|
+
};
|
|
892
|
+
if (process.env.NODE_ENV !== "production") {
|
|
893
|
+
var e = cn(), n = {}, r = ar();
|
|
894
|
+
t = function(o) {
|
|
895
|
+
var a = "Warning: " + o;
|
|
896
|
+
typeof console < "u" && console.error(a);
|
|
897
|
+
try {
|
|
898
|
+
throw new Error(a);
|
|
899
|
+
} catch {
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
function i(o, a, c, u, f) {
|
|
904
|
+
if (process.env.NODE_ENV !== "production") {
|
|
905
|
+
for (var l in o)
|
|
906
|
+
if (r(o, l)) {
|
|
907
|
+
var d;
|
|
908
|
+
try {
|
|
909
|
+
if (typeof o[l] != "function") {
|
|
910
|
+
var _ = Error(
|
|
911
|
+
(u || "React class") + ": " + c + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
912
|
+
);
|
|
913
|
+
throw _.name = "Invariant Violation", _;
|
|
914
|
+
}
|
|
915
|
+
d = o[l](a, l, u, c, null, e);
|
|
916
|
+
} catch (y) {
|
|
917
|
+
d = y;
|
|
918
|
+
}
|
|
919
|
+
if (d && !(d instanceof Error) && t(
|
|
920
|
+
(u || "React class") + ": type specification of " + c + " `" + 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 n)) {
|
|
922
|
+
n[d.message] = !0;
|
|
923
|
+
var h = f ? f() : "";
|
|
924
|
+
t(
|
|
925
|
+
"Failed " + c + " type: " + d.message + (h ?? "")
|
|
926
|
+
);
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return i.resetWarningCache = function() {
|
|
932
|
+
process.env.NODE_ENV !== "production" && (n = {});
|
|
933
|
+
}, He = i, He;
|
|
934
|
+
}
|
|
935
|
+
var Ne, Ln;
|
|
936
|
+
function fi() {
|
|
937
|
+
if (Ln) return Ne;
|
|
938
|
+
Ln = 1;
|
|
939
|
+
var t = sr(), e = ui(), n = cn(), r = ar(), i = li(), o = function() {
|
|
940
|
+
};
|
|
941
|
+
process.env.NODE_ENV !== "production" && (o = function(c) {
|
|
942
|
+
var u = "Warning: " + c;
|
|
943
|
+
typeof console < "u" && console.error(u);
|
|
944
|
+
try {
|
|
945
|
+
throw new Error(u);
|
|
946
|
+
} catch {
|
|
947
|
+
}
|
|
948
|
+
});
|
|
949
|
+
function a() {
|
|
950
|
+
return null;
|
|
951
|
+
}
|
|
952
|
+
return Ne = function(c, u) {
|
|
953
|
+
var f = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
954
|
+
function d(g) {
|
|
955
|
+
var E = g && (f && g[f] || g[l]);
|
|
956
|
+
if (typeof E == "function")
|
|
957
|
+
return E;
|
|
958
|
+
}
|
|
959
|
+
var _ = "<<anonymous>>", h = {
|
|
960
|
+
array: O("array"),
|
|
961
|
+
bigint: O("bigint"),
|
|
962
|
+
bool: O("boolean"),
|
|
963
|
+
func: O("function"),
|
|
964
|
+
number: O("number"),
|
|
965
|
+
object: O("object"),
|
|
966
|
+
string: O("string"),
|
|
967
|
+
symbol: O("symbol"),
|
|
968
|
+
any: P(),
|
|
969
|
+
arrayOf: R,
|
|
970
|
+
element: A(),
|
|
971
|
+
elementType: p(),
|
|
972
|
+
instanceOf: C,
|
|
973
|
+
node: J(),
|
|
974
|
+
objectOf: G,
|
|
975
|
+
oneOf: B,
|
|
976
|
+
oneOfType: X,
|
|
977
|
+
shape: ot,
|
|
978
|
+
exact: V
|
|
979
|
+
};
|
|
980
|
+
function y(g, E) {
|
|
981
|
+
return g === E ? g !== 0 || 1 / g === 1 / E : g !== g && E !== E;
|
|
982
|
+
}
|
|
983
|
+
function b(g, E) {
|
|
984
|
+
this.message = g, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
|
|
985
|
+
}
|
|
986
|
+
b.prototype = Error.prototype;
|
|
987
|
+
function v(g) {
|
|
988
|
+
if (process.env.NODE_ENV !== "production")
|
|
989
|
+
var E = {}, F = 0;
|
|
990
|
+
function M(L, k, j, D, U, H, st) {
|
|
991
|
+
if (D = D || _, H = H || j, st !== n) {
|
|
992
|
+
if (u) {
|
|
993
|
+
var w = 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 w.name = "Invariant Violation", w;
|
|
997
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
998
|
+
var ut = D + ":" + j;
|
|
999
|
+
!E[ut] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1000
|
+
F < 3 && (o(
|
|
1001
|
+
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + D + "`. 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
|
+
), E[ut] = !0, F++);
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
return k[j] == null ? L ? k[j] === null ? new b("The " + U + " `" + H + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new b("The " + U + " `" + H + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : g(k, j, D, U, H);
|
|
1006
|
+
}
|
|
1007
|
+
var S = M.bind(null, !1);
|
|
1008
|
+
return S.isRequired = M.bind(null, !0), S;
|
|
1009
|
+
}
|
|
1010
|
+
function O(g) {
|
|
1011
|
+
function E(F, M, S, L, k, j) {
|
|
1012
|
+
var D = F[M], U = tt(D);
|
|
1013
|
+
if (U !== g) {
|
|
1014
|
+
var H = nt(D);
|
|
1015
|
+
return new b(
|
|
1016
|
+
"Invalid " + L + " `" + k + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected ") + ("`" + g + "`."),
|
|
1017
|
+
{ expectedType: g }
|
|
1018
|
+
);
|
|
1019
|
+
}
|
|
1020
|
+
return null;
|
|
1021
|
+
}
|
|
1022
|
+
return v(E);
|
|
1023
|
+
}
|
|
1024
|
+
function P() {
|
|
1025
|
+
return v(a);
|
|
1026
|
+
}
|
|
1027
|
+
function R(g) {
|
|
1028
|
+
function E(F, M, S, L, k) {
|
|
1029
|
+
if (typeof g != "function")
|
|
1030
|
+
return new b("Property `" + k + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
|
|
1031
|
+
var j = F[M];
|
|
1032
|
+
if (!Array.isArray(j)) {
|
|
1033
|
+
var D = tt(j);
|
|
1034
|
+
return new b("Invalid " + L + " `" + k + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected an array."));
|
|
1035
|
+
}
|
|
1036
|
+
for (var U = 0; U < j.length; U++) {
|
|
1037
|
+
var H = g(j, U, S, L, k + "[" + U + "]", n);
|
|
1038
|
+
if (H instanceof Error)
|
|
1039
|
+
return H;
|
|
1040
|
+
}
|
|
1041
|
+
return null;
|
|
1042
|
+
}
|
|
1043
|
+
return v(E);
|
|
1044
|
+
}
|
|
1045
|
+
function A() {
|
|
1046
|
+
function g(E, F, M, S, L) {
|
|
1047
|
+
var k = E[F];
|
|
1048
|
+
if (!c(k)) {
|
|
1049
|
+
var j = tt(k);
|
|
1050
|
+
return new b("Invalid " + S + " `" + L + "` of type " + ("`" + j + "` supplied to `" + M + "`, expected a single ReactElement."));
|
|
1051
|
+
}
|
|
1052
|
+
return null;
|
|
1053
|
+
}
|
|
1054
|
+
return v(g);
|
|
1055
|
+
}
|
|
1056
|
+
function p() {
|
|
1057
|
+
function g(E, F, M, S, L) {
|
|
1058
|
+
var k = E[F];
|
|
1059
|
+
if (!t.isValidElementType(k)) {
|
|
1060
|
+
var j = tt(k);
|
|
1061
|
+
return new b("Invalid " + S + " `" + L + "` of type " + ("`" + j + "` supplied to `" + M + "`, expected a single ReactElement type."));
|
|
1062
|
+
}
|
|
1063
|
+
return null;
|
|
1064
|
+
}
|
|
1065
|
+
return v(g);
|
|
1066
|
+
}
|
|
1067
|
+
function C(g) {
|
|
1068
|
+
function E(F, M, S, L, k) {
|
|
1069
|
+
if (!(F[M] instanceof g)) {
|
|
1070
|
+
var j = g.name || _, D = ft(F[M]);
|
|
1071
|
+
return new b("Invalid " + L + " `" + k + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected ") + ("instance of `" + j + "`."));
|
|
1072
|
+
}
|
|
1073
|
+
return null;
|
|
1074
|
+
}
|
|
1075
|
+
return v(E);
|
|
1076
|
+
}
|
|
1077
|
+
function B(g) {
|
|
1078
|
+
if (!Array.isArray(g))
|
|
1079
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
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
|
+
) : o("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1082
|
+
function E(F, M, S, L, k) {
|
|
1083
|
+
for (var j = F[M], D = 0; D < g.length; D++)
|
|
1084
|
+
if (y(j, g[D]))
|
|
1085
|
+
return null;
|
|
1086
|
+
var U = JSON.stringify(g, function(st, w) {
|
|
1087
|
+
var ut = nt(w);
|
|
1088
|
+
return ut === "symbol" ? String(w) : w;
|
|
1089
|
+
});
|
|
1090
|
+
return new b("Invalid " + L + " `" + k + "` of value `" + String(j) + "` " + ("supplied to `" + S + "`, expected one of " + U + "."));
|
|
1091
|
+
}
|
|
1092
|
+
return v(E);
|
|
1093
|
+
}
|
|
1094
|
+
function G(g) {
|
|
1095
|
+
function E(F, M, S, L, k) {
|
|
1096
|
+
if (typeof g != "function")
|
|
1097
|
+
return new b("Property `" + k + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
|
|
1098
|
+
var j = F[M], D = tt(j);
|
|
1099
|
+
if (D !== "object")
|
|
1100
|
+
return new b("Invalid " + L + " `" + k + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected an object."));
|
|
1101
|
+
for (var U in j)
|
|
1102
|
+
if (r(j, U)) {
|
|
1103
|
+
var H = g(j, U, S, L, k + "." + U, n);
|
|
1104
|
+
if (H instanceof Error)
|
|
1105
|
+
return H;
|
|
1106
|
+
}
|
|
1107
|
+
return null;
|
|
1108
|
+
}
|
|
1109
|
+
return v(E);
|
|
1110
|
+
}
|
|
1111
|
+
function X(g) {
|
|
1112
|
+
if (!Array.isArray(g))
|
|
1113
|
+
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1114
|
+
for (var E = 0; E < g.length; E++) {
|
|
1115
|
+
var F = g[E];
|
|
1116
|
+
if (typeof F != "function")
|
|
1117
|
+
return o(
|
|
1118
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _t(F) + " at index " + E + "."
|
|
1119
|
+
), a;
|
|
1120
|
+
}
|
|
1121
|
+
function M(S, L, k, j, D) {
|
|
1122
|
+
for (var U = [], H = 0; H < g.length; H++) {
|
|
1123
|
+
var st = g[H], w = st(S, L, k, j, D, n);
|
|
1124
|
+
if (w == null)
|
|
1125
|
+
return null;
|
|
1126
|
+
w.data && r(w.data, "expectedType") && U.push(w.data.expectedType);
|
|
1127
|
+
}
|
|
1128
|
+
var ut = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
1129
|
+
return new b("Invalid " + j + " `" + D + "` supplied to " + ("`" + k + "`" + ut + "."));
|
|
1130
|
+
}
|
|
1131
|
+
return v(M);
|
|
1132
|
+
}
|
|
1133
|
+
function J() {
|
|
1134
|
+
function g(E, F, M, S, L) {
|
|
1135
|
+
return q(E[F]) ? null : new b("Invalid " + S + " `" + L + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
|
|
1136
|
+
}
|
|
1137
|
+
return v(g);
|
|
1138
|
+
}
|
|
1139
|
+
function Z(g, E, F, M, S) {
|
|
1140
|
+
return new b(
|
|
1141
|
+
(g || "React class") + ": " + E + " type `" + F + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
|
|
1142
|
+
);
|
|
1143
|
+
}
|
|
1144
|
+
function ot(g) {
|
|
1145
|
+
function E(F, M, S, L, k) {
|
|
1146
|
+
var j = F[M], D = tt(j);
|
|
1147
|
+
if (D !== "object")
|
|
1148
|
+
return new b("Invalid " + L + " `" + k + "` of type `" + D + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1149
|
+
for (var U in g) {
|
|
1150
|
+
var H = g[U];
|
|
1151
|
+
if (typeof H != "function")
|
|
1152
|
+
return Z(S, L, k, U, nt(H));
|
|
1153
|
+
var st = H(j, U, S, L, k + "." + U, n);
|
|
1154
|
+
if (st)
|
|
1155
|
+
return st;
|
|
1156
|
+
}
|
|
1157
|
+
return null;
|
|
1158
|
+
}
|
|
1159
|
+
return v(E);
|
|
1160
|
+
}
|
|
1161
|
+
function V(g) {
|
|
1162
|
+
function E(F, M, S, L, k) {
|
|
1163
|
+
var j = F[M], D = tt(j);
|
|
1164
|
+
if (D !== "object")
|
|
1165
|
+
return new b("Invalid " + L + " `" + k + "` of type `" + D + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1166
|
+
var U = e({}, F[M], g);
|
|
1167
|
+
for (var H in U) {
|
|
1168
|
+
var st = g[H];
|
|
1169
|
+
if (r(g, H) && typeof st != "function")
|
|
1170
|
+
return Z(S, L, k, H, nt(st));
|
|
1171
|
+
if (!st)
|
|
1172
|
+
return new b(
|
|
1173
|
+
"Invalid " + L + " `" + k + "` key `" + H + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(F[M], null, " ") + `
|
|
1174
|
+
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
1175
|
+
);
|
|
1176
|
+
var w = st(j, H, S, L, k + "." + H, n);
|
|
1177
|
+
if (w)
|
|
1178
|
+
return w;
|
|
1179
|
+
}
|
|
1180
|
+
return null;
|
|
1181
|
+
}
|
|
1182
|
+
return v(E);
|
|
1183
|
+
}
|
|
1184
|
+
function q(g) {
|
|
1185
|
+
switch (typeof g) {
|
|
1186
|
+
case "number":
|
|
1187
|
+
case "string":
|
|
1188
|
+
case "undefined":
|
|
1189
|
+
return !0;
|
|
1190
|
+
case "boolean":
|
|
1191
|
+
return !g;
|
|
1192
|
+
case "object":
|
|
1193
|
+
if (Array.isArray(g))
|
|
1194
|
+
return g.every(q);
|
|
1195
|
+
if (g === null || c(g))
|
|
1196
|
+
return !0;
|
|
1197
|
+
var E = d(g);
|
|
1198
|
+
if (E) {
|
|
1199
|
+
var F = E.call(g), M;
|
|
1200
|
+
if (E !== g.entries) {
|
|
1201
|
+
for (; !(M = F.next()).done; )
|
|
1202
|
+
if (!q(M.value))
|
|
1203
|
+
return !1;
|
|
1204
|
+
} else
|
|
1205
|
+
for (; !(M = F.next()).done; ) {
|
|
1206
|
+
var S = M.value;
|
|
1207
|
+
if (S && !q(S[1]))
|
|
1208
|
+
return !1;
|
|
1209
|
+
}
|
|
1210
|
+
} else
|
|
1211
|
+
return !1;
|
|
1212
|
+
return !0;
|
|
1213
|
+
default:
|
|
1214
|
+
return !1;
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
function $(g, E) {
|
|
1218
|
+
return g === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
|
|
1219
|
+
}
|
|
1220
|
+
function tt(g) {
|
|
1221
|
+
var E = typeof g;
|
|
1222
|
+
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : $(E, g) ? "symbol" : E;
|
|
1223
|
+
}
|
|
1224
|
+
function nt(g) {
|
|
1225
|
+
if (typeof g > "u" || g === null)
|
|
1226
|
+
return "" + g;
|
|
1227
|
+
var E = tt(g);
|
|
1228
|
+
if (E === "object") {
|
|
1229
|
+
if (g instanceof Date)
|
|
1230
|
+
return "date";
|
|
1231
|
+
if (g instanceof RegExp)
|
|
1232
|
+
return "regexp";
|
|
1233
|
+
}
|
|
1234
|
+
return E;
|
|
1235
|
+
}
|
|
1236
|
+
function _t(g) {
|
|
1237
|
+
var E = nt(g);
|
|
1238
|
+
switch (E) {
|
|
1239
|
+
case "array":
|
|
1240
|
+
case "object":
|
|
1241
|
+
return "an " + E;
|
|
1242
|
+
case "boolean":
|
|
1243
|
+
case "date":
|
|
1244
|
+
case "regexp":
|
|
1245
|
+
return "a " + E;
|
|
1246
|
+
default:
|
|
1247
|
+
return E;
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
function ft(g) {
|
|
1251
|
+
return !g.constructor || !g.constructor.name ? _ : g.constructor.name;
|
|
1252
|
+
}
|
|
1253
|
+
return h.checkPropTypes = i, h.resetWarningCache = i.resetWarningCache, h.PropTypes = h, h;
|
|
1254
|
+
}, Ne;
|
|
1255
|
+
}
|
|
1256
|
+
var Ue, Hn;
|
|
1257
|
+
function di() {
|
|
1258
|
+
if (Hn) return Ue;
|
|
1259
|
+
Hn = 1;
|
|
1260
|
+
var t = cn();
|
|
1261
|
+
function e() {
|
|
1262
|
+
}
|
|
1263
|
+
function n() {
|
|
1264
|
+
}
|
|
1265
|
+
return n.resetWarningCache = e, Ue = function() {
|
|
1266
|
+
function r(a, c, u, f, l, d) {
|
|
1267
|
+
if (d !== t) {
|
|
1268
|
+
var _ = 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 _.name = "Invariant Violation", _;
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
r.isRequired = r;
|
|
1275
|
+
function i() {
|
|
1276
|
+
return r;
|
|
1277
|
+
}
|
|
1278
|
+
var o = {
|
|
1279
|
+
array: r,
|
|
1280
|
+
bigint: r,
|
|
1281
|
+
bool: r,
|
|
1282
|
+
func: r,
|
|
1283
|
+
number: r,
|
|
1284
|
+
object: r,
|
|
1285
|
+
string: r,
|
|
1286
|
+
symbol: r,
|
|
1287
|
+
any: r,
|
|
1288
|
+
arrayOf: i,
|
|
1289
|
+
element: r,
|
|
1290
|
+
elementType: r,
|
|
1291
|
+
instanceOf: i,
|
|
1292
|
+
node: r,
|
|
1293
|
+
objectOf: i,
|
|
1294
|
+
oneOf: i,
|
|
1295
|
+
oneOfType: i,
|
|
1296
|
+
shape: i,
|
|
1297
|
+
exact: i,
|
|
1298
|
+
checkPropTypes: n,
|
|
1299
|
+
resetWarningCache: e
|
|
1300
|
+
};
|
|
1301
|
+
return o.PropTypes = o, o;
|
|
1302
|
+
}, Ue;
|
|
1303
|
+
}
|
|
1304
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1305
|
+
var pi = sr(), gi = !0;
|
|
1306
|
+
Ge.exports = fi()(pi.isElement, gi);
|
|
1307
|
+
} else
|
|
1308
|
+
Ge.exports = di()();
|
|
1309
|
+
var mi = Ge.exports;
|
|
1310
|
+
const N = /* @__PURE__ */ an(mi);
|
|
1311
|
+
function cr() {
|
|
1312
|
+
const t = ct(!0), e = ct(() => t.current);
|
|
1313
|
+
return ht(() => (t.current = !0, () => {
|
|
1314
|
+
t.current = !1;
|
|
1315
|
+
}), []), e.current;
|
|
1316
|
+
}
|
|
1317
|
+
function _i(t) {
|
|
1318
|
+
const e = ct(t);
|
|
1319
|
+
return e.current = t, e;
|
|
1320
|
+
}
|
|
1321
|
+
function vi(t) {
|
|
1322
|
+
const e = _i(t);
|
|
1323
|
+
ht(() => () => e.current(), []);
|
|
1324
|
+
}
|
|
1325
|
+
const qe = 2 ** 31 - 1;
|
|
1326
|
+
function ur(t, e, n) {
|
|
1327
|
+
const r = n - Date.now();
|
|
1328
|
+
t.current = r <= qe ? setTimeout(e, r) : setTimeout(() => ur(t, e, n), qe);
|
|
1329
|
+
}
|
|
1330
|
+
function hi() {
|
|
1331
|
+
const t = cr(), e = ct();
|
|
1332
|
+
return vi(() => clearTimeout(e.current)), pe(() => {
|
|
1333
|
+
const n = () => clearTimeout(e.current);
|
|
1334
|
+
function r(i, o = 0) {
|
|
1335
|
+
t() && (n(), o <= qe ? e.current = setTimeout(i, o) : ur(e, i, Date.now() + o));
|
|
1336
|
+
}
|
|
1337
|
+
return {
|
|
1338
|
+
set: r,
|
|
1339
|
+
clear: n,
|
|
1340
|
+
handleRef: e
|
|
1341
|
+
};
|
|
1342
|
+
}, []);
|
|
1343
|
+
}
|
|
1344
|
+
var yi = process.env.NODE_ENV !== "production", lr = function() {
|
|
1345
|
+
};
|
|
1346
|
+
if (yi) {
|
|
1347
|
+
var bi = function(e, n) {
|
|
1348
|
+
var r = arguments.length;
|
|
1349
|
+
n = new Array(r > 1 ? r - 1 : 0);
|
|
1350
|
+
for (var i = 1; i < r; i++)
|
|
1351
|
+
n[i - 1] = arguments[i];
|
|
1352
|
+
var o = 0, a = "Warning: " + e.replace(/%s/g, function() {
|
|
1353
|
+
return n[o++];
|
|
1354
|
+
});
|
|
1355
|
+
typeof console < "u" && console.error(a);
|
|
1356
|
+
try {
|
|
1357
|
+
throw new Error(a);
|
|
1358
|
+
} catch {
|
|
1359
|
+
}
|
|
1360
|
+
};
|
|
1361
|
+
lr = function(t, e, n) {
|
|
1362
|
+
var r = arguments.length;
|
|
1363
|
+
n = new Array(r > 2 ? r - 2 : 0);
|
|
1364
|
+
for (var i = 2; i < r; i++)
|
|
1365
|
+
n[i - 2] = arguments[i];
|
|
1366
|
+
if (e === void 0)
|
|
1367
|
+
throw new Error(
|
|
1368
|
+
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
1369
|
+
);
|
|
1370
|
+
t || bi.apply(null, [e].concat(n));
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
var Pi = lr;
|
|
1374
|
+
const fr = /* @__PURE__ */ an(Pi);
|
|
1375
|
+
function wi(t, e) {
|
|
1376
|
+
if (t == null) return {};
|
|
1377
|
+
var n = {}, r = Object.keys(t), i, o;
|
|
1378
|
+
for (o = 0; o < r.length; o++)
|
|
1379
|
+
i = r[o], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
|
|
1380
|
+
return n;
|
|
1381
|
+
}
|
|
1382
|
+
function xi(t, e, n) {
|
|
1383
|
+
var r = ct(t !== void 0), i = Ut(e), o = i[0], a = i[1], c = t !== void 0, u = r.current;
|
|
1384
|
+
return r.current = c, !c && u && o !== e && a(e), [c ? t : o, it(function(f) {
|
|
1385
|
+
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), _ = 1; _ < l; _++)
|
|
1386
|
+
d[_ - 1] = arguments[_];
|
|
1387
|
+
n && n.apply(void 0, [f].concat(d)), a(f);
|
|
1388
|
+
}, [n])];
|
|
1389
|
+
}
|
|
1390
|
+
function ze(t, e) {
|
|
1391
|
+
return ze = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
|
|
1392
|
+
return r.__proto__ = i, r;
|
|
1393
|
+
}, ze(t, e);
|
|
1394
|
+
}
|
|
1395
|
+
function Ei(t, e) {
|
|
1396
|
+
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, ze(t, e);
|
|
1397
|
+
}
|
|
1398
|
+
const Nn = (t) => !t || typeof t == "function" ? t : (e) => {
|
|
1399
|
+
t.current = e;
|
|
1400
|
+
};
|
|
1401
|
+
function Ai(t, e) {
|
|
1402
|
+
const n = Nn(t), r = Nn(e);
|
|
1403
|
+
return (i) => {
|
|
1404
|
+
n && n(i), r && r(i);
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
function ee(t, e) {
|
|
1408
|
+
return pe(() => Ai(t, e), [t, e]);
|
|
1409
|
+
}
|
|
1410
|
+
var dr = { 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(t) {
|
|
1417
|
+
(function() {
|
|
1418
|
+
var e = {}.hasOwnProperty;
|
|
1419
|
+
function n() {
|
|
1420
|
+
for (var o = "", a = 0; a < arguments.length; a++) {
|
|
1421
|
+
var c = arguments[a];
|
|
1422
|
+
c && (o = i(o, r(c)));
|
|
1423
|
+
}
|
|
1424
|
+
return o;
|
|
1425
|
+
}
|
|
1426
|
+
function r(o) {
|
|
1427
|
+
if (typeof o == "string" || typeof o == "number")
|
|
1428
|
+
return o;
|
|
1429
|
+
if (typeof o != "object")
|
|
1430
|
+
return "";
|
|
1431
|
+
if (Array.isArray(o))
|
|
1432
|
+
return n.apply(null, o);
|
|
1433
|
+
if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
|
|
1434
|
+
return o.toString();
|
|
1435
|
+
var a = "";
|
|
1436
|
+
for (var c in o)
|
|
1437
|
+
e.call(o, c) && o[c] && (a = i(a, c));
|
|
1438
|
+
return a;
|
|
1439
|
+
}
|
|
1440
|
+
function i(o, a) {
|
|
1441
|
+
return a ? o ? o + " " + a : o + a : o;
|
|
1442
|
+
}
|
|
1443
|
+
t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
|
|
1444
|
+
})();
|
|
1445
|
+
})(dr);
|
|
1446
|
+
var Oi = dr.exports;
|
|
1447
|
+
const Yt = /* @__PURE__ */ an(Oi);
|
|
1448
|
+
function Un() {
|
|
1449
|
+
return Ut(null);
|
|
1450
|
+
}
|
|
1451
|
+
var Yn = Object.prototype.hasOwnProperty;
|
|
1452
|
+
function Vn(t, e, n) {
|
|
1453
|
+
for (n of t.keys())
|
|
1454
|
+
if (le(n, e)) return n;
|
|
1455
|
+
}
|
|
1456
|
+
function le(t, e) {
|
|
1457
|
+
var n, r, i;
|
|
1458
|
+
if (t === e) return !0;
|
|
1459
|
+
if (t && e && (n = t.constructor) === e.constructor) {
|
|
1460
|
+
if (n === Date) return t.getTime() === e.getTime();
|
|
1461
|
+
if (n === RegExp) return t.toString() === e.toString();
|
|
1462
|
+
if (n === Array) {
|
|
1463
|
+
if ((r = t.length) === e.length)
|
|
1464
|
+
for (; r-- && le(t[r], e[r]); ) ;
|
|
1465
|
+
return r === -1;
|
|
1466
|
+
}
|
|
1467
|
+
if (n === Set) {
|
|
1468
|
+
if (t.size !== e.size)
|
|
1469
|
+
return !1;
|
|
1470
|
+
for (r of t)
|
|
1471
|
+
if (i = r, i && typeof i == "object" && (i = Vn(e, i), !i) || !e.has(i)) return !1;
|
|
1472
|
+
return !0;
|
|
1473
|
+
}
|
|
1474
|
+
if (n === Map) {
|
|
1475
|
+
if (t.size !== e.size)
|
|
1476
|
+
return !1;
|
|
1477
|
+
for (r of t)
|
|
1478
|
+
if (i = r[0], i && typeof i == "object" && (i = Vn(e, i), !i) || !le(r[1], e.get(i)))
|
|
1479
|
+
return !1;
|
|
1480
|
+
return !0;
|
|
1481
|
+
}
|
|
1482
|
+
if (n === ArrayBuffer)
|
|
1483
|
+
t = new Uint8Array(t), e = new Uint8Array(e);
|
|
1484
|
+
else if (n === DataView) {
|
|
1485
|
+
if ((r = t.byteLength) === e.byteLength)
|
|
1486
|
+
for (; r-- && t.getInt8(r) === e.getInt8(r); ) ;
|
|
1487
|
+
return r === -1;
|
|
1488
|
+
}
|
|
1489
|
+
if (ArrayBuffer.isView(t)) {
|
|
1490
|
+
if ((r = t.byteLength) === e.byteLength)
|
|
1491
|
+
for (; r-- && t[r] === e[r]; ) ;
|
|
1492
|
+
return r === -1;
|
|
1493
|
+
}
|
|
1494
|
+
if (!n || typeof t == "object") {
|
|
1495
|
+
r = 0;
|
|
1496
|
+
for (n in t)
|
|
1497
|
+
if (Yn.call(t, n) && ++r && !Yn.call(e, n) || !(n in e) || !le(t[n], e[n])) return !1;
|
|
1498
|
+
return Object.keys(e).length === r;
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
return t !== t && e !== e;
|
|
1502
|
+
}
|
|
1503
|
+
function Ri(t) {
|
|
1504
|
+
const e = cr();
|
|
1505
|
+
return [t[0], it((n) => {
|
|
1506
|
+
if (e())
|
|
1507
|
+
return t[1](n);
|
|
1508
|
+
}, [e, t[1]])];
|
|
1509
|
+
}
|
|
1510
|
+
var dt = "top", yt = "bottom", bt = "right", pt = "left", un = "auto", ve = [dt, yt, bt, pt], Qt = "start", ge = "end", Ci = "clippingParents", pr = "viewport", ce = "popper", Ti = "reference", Wn = /* @__PURE__ */ ve.reduce(function(t, e) {
|
|
1511
|
+
return t.concat([e + "-" + Qt, e + "-" + ge]);
|
|
1512
|
+
}, []), gr = /* @__PURE__ */ [].concat(ve, [un]).reduce(function(t, e) {
|
|
1513
|
+
return t.concat([e, e + "-" + Qt, e + "-" + ge]);
|
|
1514
|
+
}, []), Si = "beforeRead", ki = "read", Ii = "afterRead", ji = "beforeMain", Di = "main", Fi = "afterMain", Mi = "beforeWrite", Bi = "write", Li = "afterWrite", Hi = [Si, ki, Ii, ji, Di, Fi, Mi, Bi, Li];
|
|
1515
|
+
function Pt(t) {
|
|
1516
|
+
return t.split("-")[0];
|
|
1517
|
+
}
|
|
1518
|
+
function mt(t) {
|
|
1519
|
+
if (t == null)
|
|
1520
|
+
return window;
|
|
1521
|
+
if (t.toString() !== "[object Window]") {
|
|
1522
|
+
var e = t.ownerDocument;
|
|
1523
|
+
return e && e.defaultView || window;
|
|
1524
|
+
}
|
|
1525
|
+
return t;
|
|
1526
|
+
}
|
|
1527
|
+
function Ht(t) {
|
|
1528
|
+
var e = mt(t).Element;
|
|
1529
|
+
return t instanceof e || t instanceof Element;
|
|
1530
|
+
}
|
|
1531
|
+
function wt(t) {
|
|
1532
|
+
var e = mt(t).HTMLElement;
|
|
1533
|
+
return t instanceof e || t instanceof HTMLElement;
|
|
1534
|
+
}
|
|
1535
|
+
function ln(t) {
|
|
1536
|
+
if (typeof ShadowRoot > "u")
|
|
1537
|
+
return !1;
|
|
1538
|
+
var e = mt(t).ShadowRoot;
|
|
1539
|
+
return t instanceof e || t instanceof ShadowRoot;
|
|
1540
|
+
}
|
|
1541
|
+
var Lt = Math.max, Ce = Math.min, Xt = Math.round;
|
|
1542
|
+
function Ke() {
|
|
1543
|
+
var t = navigator.userAgentData;
|
|
1544
|
+
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
|
|
1545
|
+
return e.brand + "/" + e.version;
|
|
1546
|
+
}).join(" ") : navigator.userAgent;
|
|
1547
|
+
}
|
|
1548
|
+
function mr() {
|
|
1549
|
+
return !/^((?!chrome|android).)*safari/i.test(Ke());
|
|
1550
|
+
}
|
|
1551
|
+
function $t(t, e, n) {
|
|
1552
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
1553
|
+
var r = t.getBoundingClientRect(), i = 1, o = 1;
|
|
1554
|
+
e && wt(t) && (i = t.offsetWidth > 0 && Xt(r.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Xt(r.height) / t.offsetHeight || 1);
|
|
1555
|
+
var a = Ht(t) ? mt(t) : window, c = a.visualViewport, u = !mr() && n, f = (r.left + (u && c ? c.offsetLeft : 0)) / i, l = (r.top + (u && c ? c.offsetTop : 0)) / o, d = r.width / i, _ = r.height / o;
|
|
1556
|
+
return {
|
|
1557
|
+
width: d,
|
|
1558
|
+
height: _,
|
|
1559
|
+
top: l,
|
|
1560
|
+
right: f + d,
|
|
1561
|
+
bottom: l + _,
|
|
1562
|
+
left: f,
|
|
1563
|
+
x: f,
|
|
1564
|
+
y: l
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
function fn(t) {
|
|
1568
|
+
var e = $t(t), n = t.offsetWidth, r = t.offsetHeight;
|
|
1569
|
+
return Math.abs(e.width - n) <= 1 && (n = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
|
|
1570
|
+
x: t.offsetLeft,
|
|
1571
|
+
y: t.offsetTop,
|
|
1572
|
+
width: n,
|
|
1573
|
+
height: r
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
function _r(t, e) {
|
|
1577
|
+
var n = e.getRootNode && e.getRootNode();
|
|
1578
|
+
if (t.contains(e))
|
|
1579
|
+
return !0;
|
|
1580
|
+
if (n && ln(n)) {
|
|
1581
|
+
var r = e;
|
|
1582
|
+
do {
|
|
1583
|
+
if (r && t.isSameNode(r))
|
|
1584
|
+
return !0;
|
|
1585
|
+
r = r.parentNode || r.host;
|
|
1586
|
+
} while (r);
|
|
1587
|
+
}
|
|
1588
|
+
return !1;
|
|
1589
|
+
}
|
|
1590
|
+
function It(t) {
|
|
1591
|
+
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
1592
|
+
}
|
|
1593
|
+
function Rt(t) {
|
|
1594
|
+
return mt(t).getComputedStyle(t);
|
|
1595
|
+
}
|
|
1596
|
+
function Ni(t) {
|
|
1597
|
+
return ["table", "td", "th"].indexOf(It(t)) >= 0;
|
|
1598
|
+
}
|
|
1599
|
+
function jt(t) {
|
|
1600
|
+
return ((Ht(t) ? t.ownerDocument : (
|
|
1601
|
+
// $FlowFixMe[prop-missing]
|
|
1602
|
+
t.document
|
|
1603
|
+
)) || window.document).documentElement;
|
|
1604
|
+
}
|
|
1605
|
+
function Se(t) {
|
|
1606
|
+
return It(t) === "html" ? t : (
|
|
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
|
+
t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
1611
|
+
t.parentNode || // DOM Element detected
|
|
1612
|
+
(ln(t) ? t.host : null) || // ShadowRoot detected
|
|
1613
|
+
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
1614
|
+
jt(t)
|
|
1615
|
+
);
|
|
1616
|
+
}
|
|
1617
|
+
function Jn(t) {
|
|
1618
|
+
return !wt(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
1619
|
+
Rt(t).position === "fixed" ? null : t.offsetParent;
|
|
1620
|
+
}
|
|
1621
|
+
function Ui(t) {
|
|
1622
|
+
var e = /firefox/i.test(Ke()), n = /Trident/i.test(Ke());
|
|
1623
|
+
if (n && wt(t)) {
|
|
1624
|
+
var r = Rt(t);
|
|
1625
|
+
if (r.position === "fixed")
|
|
1626
|
+
return null;
|
|
1627
|
+
}
|
|
1628
|
+
var i = Se(t);
|
|
1629
|
+
for (ln(i) && (i = i.host); wt(i) && ["html", "body"].indexOf(It(i)) < 0; ) {
|
|
1630
|
+
var o = Rt(i);
|
|
1631
|
+
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
|
|
1632
|
+
return i;
|
|
1633
|
+
i = i.parentNode;
|
|
1634
|
+
}
|
|
1635
|
+
return null;
|
|
1636
|
+
}
|
|
1637
|
+
function he(t) {
|
|
1638
|
+
for (var e = mt(t), n = Jn(t); n && Ni(n) && Rt(n).position === "static"; )
|
|
1639
|
+
n = Jn(n);
|
|
1640
|
+
return n && (It(n) === "html" || It(n) === "body" && Rt(n).position === "static") ? e : n || Ui(t) || e;
|
|
1641
|
+
}
|
|
1642
|
+
function dn(t) {
|
|
1643
|
+
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
1644
|
+
}
|
|
1645
|
+
function fe(t, e, n) {
|
|
1646
|
+
return Lt(t, Ce(e, n));
|
|
1647
|
+
}
|
|
1648
|
+
function Yi(t, e, n) {
|
|
1649
|
+
var r = fe(t, e, n);
|
|
1650
|
+
return r > n ? n : r;
|
|
1651
|
+
}
|
|
1652
|
+
function vr() {
|
|
1653
|
+
return {
|
|
1654
|
+
top: 0,
|
|
1655
|
+
right: 0,
|
|
1656
|
+
bottom: 0,
|
|
1657
|
+
left: 0
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
function hr(t) {
|
|
1661
|
+
return Object.assign({}, vr(), t);
|
|
1662
|
+
}
|
|
1663
|
+
function yr(t, e) {
|
|
1664
|
+
return e.reduce(function(n, r) {
|
|
1665
|
+
return n[r] = t, n;
|
|
1666
|
+
}, {});
|
|
1667
|
+
}
|
|
1668
|
+
var Vi = function(e, n) {
|
|
1669
|
+
return e = typeof e == "function" ? e(Object.assign({}, n.rects, {
|
|
1670
|
+
placement: n.placement
|
|
1671
|
+
})) : e, hr(typeof e != "number" ? e : yr(e, ve));
|
|
1672
|
+
};
|
|
1673
|
+
function Wi(t) {
|
|
1674
|
+
var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, a = n.modifiersData.popperOffsets, c = Pt(n.placement), u = dn(c), f = [pt, bt].indexOf(c) >= 0, l = f ? "height" : "width";
|
|
1675
|
+
if (!(!o || !a)) {
|
|
1676
|
+
var d = Vi(i.padding, n), _ = fn(o), h = u === "y" ? dt : pt, y = u === "y" ? yt : bt, b = n.rects.reference[l] + n.rects.reference[u] - a[u] - n.rects.popper[l], v = a[u] - n.rects.reference[u], O = he(o), P = O ? u === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, R = b / 2 - v / 2, A = d[h], p = P - _[l] - d[y], C = P / 2 - _[l] / 2 + R, B = fe(A, C, p), G = u;
|
|
1677
|
+
n.modifiersData[r] = (e = {}, e[G] = B, e.centerOffset = B - C, e);
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
function Ji(t) {
|
|
1681
|
+
var e = t.state, n = t.options, r = n.element, i = r === void 0 ? "[data-popper-arrow]" : r;
|
|
1682
|
+
i != null && (typeof i == "string" && (i = e.elements.popper.querySelector(i), !i) || _r(e.elements.popper, i) && (e.elements.arrow = i));
|
|
1683
|
+
}
|
|
1684
|
+
const Gi = {
|
|
1685
|
+
name: "arrow",
|
|
1686
|
+
enabled: !0,
|
|
1687
|
+
phase: "main",
|
|
1688
|
+
fn: Wi,
|
|
1689
|
+
effect: Ji,
|
|
1690
|
+
requires: ["popperOffsets"],
|
|
1691
|
+
requiresIfExists: ["preventOverflow"]
|
|
1692
|
+
};
|
|
1693
|
+
function Zt(t) {
|
|
1694
|
+
return t.split("-")[1];
|
|
1695
|
+
}
|
|
1696
|
+
var qi = {
|
|
1697
|
+
top: "auto",
|
|
1698
|
+
right: "auto",
|
|
1699
|
+
bottom: "auto",
|
|
1700
|
+
left: "auto"
|
|
1701
|
+
};
|
|
1702
|
+
function zi(t, e) {
|
|
1703
|
+
var n = t.x, r = t.y, i = e.devicePixelRatio || 1;
|
|
1704
|
+
return {
|
|
1705
|
+
x: Xt(n * i) / i || 0,
|
|
1706
|
+
y: Xt(r * i) / i || 0
|
|
1707
|
+
};
|
|
1708
|
+
}
|
|
1709
|
+
function Gn(t) {
|
|
1710
|
+
var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, a = t.offsets, c = t.position, u = t.gpuAcceleration, f = t.adaptive, l = t.roundOffsets, d = t.isFixed, _ = a.x, h = _ === void 0 ? 0 : _, y = a.y, b = y === void 0 ? 0 : y, v = typeof l == "function" ? l({
|
|
1711
|
+
x: h,
|
|
1712
|
+
y: b
|
|
1713
|
+
}) : {
|
|
1714
|
+
x: h,
|
|
1715
|
+
y: b
|
|
1716
|
+
};
|
|
1717
|
+
h = v.x, b = v.y;
|
|
1718
|
+
var O = a.hasOwnProperty("x"), P = a.hasOwnProperty("y"), R = pt, A = dt, p = window;
|
|
1719
|
+
if (f) {
|
|
1720
|
+
var C = he(n), B = "clientHeight", G = "clientWidth";
|
|
1721
|
+
if (C === mt(n) && (C = jt(n), Rt(C).position !== "static" && c === "absolute" && (B = "scrollHeight", G = "scrollWidth")), C = C, i === dt || (i === pt || i === bt) && o === ge) {
|
|
1722
|
+
A = yt;
|
|
1723
|
+
var X = d && C === p && p.visualViewport ? p.visualViewport.height : (
|
|
1724
|
+
// $FlowFixMe[prop-missing]
|
|
1725
|
+
C[B]
|
|
1726
|
+
);
|
|
1727
|
+
b -= X - r.height, b *= u ? 1 : -1;
|
|
1728
|
+
}
|
|
1729
|
+
if (i === pt || (i === dt || i === yt) && o === ge) {
|
|
1730
|
+
R = bt;
|
|
1731
|
+
var J = d && C === p && p.visualViewport ? p.visualViewport.width : (
|
|
1732
|
+
// $FlowFixMe[prop-missing]
|
|
1733
|
+
C[G]
|
|
1734
|
+
);
|
|
1735
|
+
h -= J - r.width, h *= u ? 1 : -1;
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
var Z = Object.assign({
|
|
1739
|
+
position: c
|
|
1740
|
+
}, f && qi), ot = l === !0 ? zi({
|
|
1741
|
+
x: h,
|
|
1742
|
+
y: b
|
|
1743
|
+
}, mt(n)) : {
|
|
1744
|
+
x: h,
|
|
1745
|
+
y: b
|
|
1746
|
+
};
|
|
1747
|
+
if (h = ot.x, b = ot.y, u) {
|
|
1748
|
+
var V;
|
|
1749
|
+
return Object.assign({}, Z, (V = {}, V[A] = P ? "0" : "", V[R] = O ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", V));
|
|
1750
|
+
}
|
|
1751
|
+
return Object.assign({}, Z, (e = {}, e[A] = P ? b + "px" : "", e[R] = O ? h + "px" : "", e.transform = "", e));
|
|
1752
|
+
}
|
|
1753
|
+
function Ki(t) {
|
|
1754
|
+
var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, o = n.adaptive, a = o === void 0 ? !0 : o, c = n.roundOffsets, u = c === void 0 ? !0 : c, f = {
|
|
1755
|
+
placement: Pt(e.placement),
|
|
1756
|
+
variation: Zt(e.placement),
|
|
1757
|
+
popper: e.elements.popper,
|
|
1758
|
+
popperRect: e.rects.popper,
|
|
1759
|
+
gpuAcceleration: i,
|
|
1760
|
+
isFixed: e.options.strategy === "fixed"
|
|
1761
|
+
};
|
|
1762
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Gn(Object.assign({}, f, {
|
|
1763
|
+
offsets: e.modifiersData.popperOffsets,
|
|
1764
|
+
position: e.options.strategy,
|
|
1765
|
+
adaptive: a,
|
|
1766
|
+
roundOffsets: u
|
|
1767
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Gn(Object.assign({}, f, {
|
|
1768
|
+
offsets: e.modifiersData.arrow,
|
|
1769
|
+
position: "absolute",
|
|
1770
|
+
adaptive: !1,
|
|
1771
|
+
roundOffsets: u
|
|
1772
|
+
})))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
|
1773
|
+
"data-popper-placement": e.placement
|
|
1774
|
+
});
|
|
1775
|
+
}
|
|
1776
|
+
const Qi = {
|
|
1777
|
+
name: "computeStyles",
|
|
1778
|
+
enabled: !0,
|
|
1779
|
+
phase: "beforeWrite",
|
|
1780
|
+
fn: Ki,
|
|
1781
|
+
data: {}
|
|
1782
|
+
};
|
|
1783
|
+
var Ee = {
|
|
1784
|
+
passive: !0
|
|
1785
|
+
};
|
|
1786
|
+
function Xi(t) {
|
|
1787
|
+
var e = t.state, n = t.instance, r = t.options, i = r.scroll, o = i === void 0 ? !0 : i, a = r.resize, c = a === void 0 ? !0 : a, u = mt(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
1788
|
+
return o && f.forEach(function(l) {
|
|
1789
|
+
l.addEventListener("scroll", n.update, Ee);
|
|
1790
|
+
}), c && u.addEventListener("resize", n.update, Ee), function() {
|
|
1791
|
+
o && f.forEach(function(l) {
|
|
1792
|
+
l.removeEventListener("scroll", n.update, Ee);
|
|
1793
|
+
}), c && u.removeEventListener("resize", n.update, Ee);
|
|
1794
|
+
};
|
|
1795
|
+
}
|
|
1796
|
+
const $i = {
|
|
1797
|
+
name: "eventListeners",
|
|
1798
|
+
enabled: !0,
|
|
1799
|
+
phase: "write",
|
|
1800
|
+
fn: function() {
|
|
1801
|
+
},
|
|
1802
|
+
effect: Xi,
|
|
1803
|
+
data: {}
|
|
1804
|
+
};
|
|
1805
|
+
var Zi = {
|
|
1806
|
+
left: "right",
|
|
1807
|
+
right: "left",
|
|
1808
|
+
bottom: "top",
|
|
1809
|
+
top: "bottom"
|
|
1810
|
+
};
|
|
1811
|
+
function Oe(t) {
|
|
1812
|
+
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
1813
|
+
return Zi[e];
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
var to = {
|
|
1817
|
+
start: "end",
|
|
1818
|
+
end: "start"
|
|
1819
|
+
};
|
|
1820
|
+
function qn(t) {
|
|
1821
|
+
return t.replace(/start|end/g, function(e) {
|
|
1822
|
+
return to[e];
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1825
|
+
function pn(t) {
|
|
1826
|
+
var e = mt(t), n = e.pageXOffset, r = e.pageYOffset;
|
|
1827
|
+
return {
|
|
1828
|
+
scrollLeft: n,
|
|
1829
|
+
scrollTop: r
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
function gn(t) {
|
|
1833
|
+
return $t(jt(t)).left + pn(t).scrollLeft;
|
|
1834
|
+
}
|
|
1835
|
+
function eo(t, e) {
|
|
1836
|
+
var n = mt(t), r = jt(t), i = n.visualViewport, o = r.clientWidth, a = r.clientHeight, c = 0, u = 0;
|
|
1837
|
+
if (i) {
|
|
1838
|
+
o = i.width, a = i.height;
|
|
1839
|
+
var f = mr();
|
|
1840
|
+
(f || !f && e === "fixed") && (c = i.offsetLeft, u = i.offsetTop);
|
|
1841
|
+
}
|
|
1842
|
+
return {
|
|
1843
|
+
width: o,
|
|
1844
|
+
height: a,
|
|
1845
|
+
x: c + gn(t),
|
|
1846
|
+
y: u
|
|
1847
|
+
};
|
|
1848
|
+
}
|
|
1849
|
+
function no(t) {
|
|
1850
|
+
var e, n = jt(t), r = pn(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, o = Lt(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = Lt(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), c = -r.scrollLeft + gn(t), u = -r.scrollTop;
|
|
1851
|
+
return Rt(i || n).direction === "rtl" && (c += Lt(n.clientWidth, i ? i.clientWidth : 0) - o), {
|
|
1852
|
+
width: o,
|
|
1853
|
+
height: a,
|
|
1854
|
+
x: c,
|
|
1855
|
+
y: u
|
|
1856
|
+
};
|
|
1857
|
+
}
|
|
1858
|
+
function mn(t) {
|
|
1859
|
+
var e = Rt(t), n = e.overflow, r = e.overflowX, i = e.overflowY;
|
|
1860
|
+
return /auto|scroll|overlay|hidden/.test(n + i + r);
|
|
1861
|
+
}
|
|
1862
|
+
function br(t) {
|
|
1863
|
+
return ["html", "body", "#document"].indexOf(It(t)) >= 0 ? t.ownerDocument.body : wt(t) && mn(t) ? t : br(Se(t));
|
|
1864
|
+
}
|
|
1865
|
+
function de(t, e) {
|
|
1866
|
+
var n;
|
|
1867
|
+
e === void 0 && (e = []);
|
|
1868
|
+
var r = br(t), i = r === ((n = t.ownerDocument) == null ? void 0 : n.body), o = mt(r), a = i ? [o].concat(o.visualViewport || [], mn(r) ? r : []) : r, c = e.concat(a);
|
|
1869
|
+
return i ? c : (
|
|
1870
|
+
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
1871
|
+
c.concat(de(Se(a)))
|
|
1872
|
+
);
|
|
1873
|
+
}
|
|
1874
|
+
function Qe(t) {
|
|
1875
|
+
return Object.assign({}, t, {
|
|
1876
|
+
left: t.x,
|
|
1877
|
+
top: t.y,
|
|
1878
|
+
right: t.x + t.width,
|
|
1879
|
+
bottom: t.y + t.height
|
|
1880
|
+
});
|
|
1881
|
+
}
|
|
1882
|
+
function ro(t, e) {
|
|
1883
|
+
var n = $t(t, !1, e === "fixed");
|
|
1884
|
+
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
1885
|
+
}
|
|
1886
|
+
function zn(t, e, n) {
|
|
1887
|
+
return e === pr ? Qe(eo(t, n)) : Ht(e) ? ro(e, n) : Qe(no(jt(t)));
|
|
1888
|
+
}
|
|
1889
|
+
function io(t) {
|
|
1890
|
+
var e = de(Se(t)), n = ["absolute", "fixed"].indexOf(Rt(t).position) >= 0, r = n && wt(t) ? he(t) : t;
|
|
1891
|
+
return Ht(r) ? e.filter(function(i) {
|
|
1892
|
+
return Ht(i) && _r(i, r) && It(i) !== "body";
|
|
1893
|
+
}) : [];
|
|
1894
|
+
}
|
|
1895
|
+
function oo(t, e, n, r) {
|
|
1896
|
+
var i = e === "clippingParents" ? io(t) : [].concat(e), o = [].concat(i, [n]), a = o[0], c = o.reduce(function(u, f) {
|
|
1897
|
+
var l = zn(t, f, r);
|
|
1898
|
+
return u.top = Lt(l.top, u.top), u.right = Ce(l.right, u.right), u.bottom = Ce(l.bottom, u.bottom), u.left = Lt(l.left, u.left), u;
|
|
1899
|
+
}, zn(t, a, r));
|
|
1900
|
+
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
1901
|
+
}
|
|
1902
|
+
function Pr(t) {
|
|
1903
|
+
var e = t.reference, n = t.element, r = t.placement, i = r ? Pt(r) : null, o = r ? Zt(r) : null, a = e.x + e.width / 2 - n.width / 2, c = e.y + e.height / 2 - n.height / 2, u;
|
|
1904
|
+
switch (i) {
|
|
1905
|
+
case dt:
|
|
1906
|
+
u = {
|
|
1907
|
+
x: a,
|
|
1908
|
+
y: e.y - n.height
|
|
1909
|
+
};
|
|
1910
|
+
break;
|
|
1911
|
+
case yt:
|
|
1912
|
+
u = {
|
|
1913
|
+
x: a,
|
|
1914
|
+
y: e.y + e.height
|
|
1915
|
+
};
|
|
1916
|
+
break;
|
|
1917
|
+
case bt:
|
|
1918
|
+
u = {
|
|
1919
|
+
x: e.x + e.width,
|
|
1920
|
+
y: c
|
|
1921
|
+
};
|
|
1922
|
+
break;
|
|
1923
|
+
case pt:
|
|
1924
|
+
u = {
|
|
1925
|
+
x: e.x - n.width,
|
|
1926
|
+
y: c
|
|
1927
|
+
};
|
|
1928
|
+
break;
|
|
1929
|
+
default:
|
|
1930
|
+
u = {
|
|
1931
|
+
x: e.x,
|
|
1932
|
+
y: e.y
|
|
1933
|
+
};
|
|
1934
|
+
}
|
|
1935
|
+
var f = i ? dn(i) : null;
|
|
1936
|
+
if (f != null) {
|
|
1937
|
+
var l = f === "y" ? "height" : "width";
|
|
1938
|
+
switch (o) {
|
|
1939
|
+
case Qt:
|
|
1940
|
+
u[f] = u[f] - (e[l] / 2 - n[l] / 2);
|
|
1941
|
+
break;
|
|
1942
|
+
case ge:
|
|
1943
|
+
u[f] = u[f] + (e[l] / 2 - n[l] / 2);
|
|
1944
|
+
break;
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
return u;
|
|
1948
|
+
}
|
|
1949
|
+
function me(t, e) {
|
|
1950
|
+
e === void 0 && (e = {});
|
|
1951
|
+
var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, a = o === void 0 ? t.strategy : o, c = n.boundary, u = c === void 0 ? Ci : c, f = n.rootBoundary, l = f === void 0 ? pr : f, d = n.elementContext, _ = d === void 0 ? ce : d, h = n.altBoundary, y = h === void 0 ? !1 : h, b = n.padding, v = b === void 0 ? 0 : b, O = hr(typeof v != "number" ? v : yr(v, ve)), P = _ === ce ? Ti : ce, R = t.rects.popper, A = t.elements[y ? P : _], p = oo(Ht(A) ? A : A.contextElement || jt(t.elements.popper), u, l, a), C = $t(t.elements.reference), B = Pr({
|
|
1952
|
+
reference: C,
|
|
1953
|
+
element: R,
|
|
1954
|
+
strategy: "absolute",
|
|
1955
|
+
placement: i
|
|
1956
|
+
}), G = Qe(Object.assign({}, R, B)), X = _ === ce ? G : C, J = {
|
|
1957
|
+
top: p.top - X.top + O.top,
|
|
1958
|
+
bottom: X.bottom - p.bottom + O.bottom,
|
|
1959
|
+
left: p.left - X.left + O.left,
|
|
1960
|
+
right: X.right - p.right + O.right
|
|
1961
|
+
}, Z = t.modifiersData.offset;
|
|
1962
|
+
if (_ === ce && Z) {
|
|
1963
|
+
var ot = Z[i];
|
|
1964
|
+
Object.keys(J).forEach(function(V) {
|
|
1965
|
+
var q = [bt, yt].indexOf(V) >= 0 ? 1 : -1, $ = [dt, yt].indexOf(V) >= 0 ? "y" : "x";
|
|
1966
|
+
J[V] += ot[$] * q;
|
|
1967
|
+
});
|
|
1968
|
+
}
|
|
1969
|
+
return J;
|
|
1970
|
+
}
|
|
1971
|
+
function so(t, e) {
|
|
1972
|
+
e === void 0 && (e = {});
|
|
1973
|
+
var n = e, r = n.placement, i = n.boundary, o = n.rootBoundary, a = n.padding, c = n.flipVariations, u = n.allowedAutoPlacements, f = u === void 0 ? gr : u, l = Zt(r), d = l ? c ? Wn : Wn.filter(function(y) {
|
|
1974
|
+
return Zt(y) === l;
|
|
1975
|
+
}) : ve, _ = d.filter(function(y) {
|
|
1976
|
+
return f.indexOf(y) >= 0;
|
|
1977
|
+
});
|
|
1978
|
+
_.length === 0 && (_ = d);
|
|
1979
|
+
var h = _.reduce(function(y, b) {
|
|
1980
|
+
return y[b] = me(t, {
|
|
1981
|
+
placement: b,
|
|
1982
|
+
boundary: i,
|
|
1983
|
+
rootBoundary: o,
|
|
1984
|
+
padding: a
|
|
1985
|
+
})[Pt(b)], y;
|
|
1986
|
+
}, {});
|
|
1987
|
+
return Object.keys(h).sort(function(y, b) {
|
|
1988
|
+
return h[y] - h[b];
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
function ao(t) {
|
|
1992
|
+
if (Pt(t) === un)
|
|
1993
|
+
return [];
|
|
1994
|
+
var e = Oe(t);
|
|
1995
|
+
return [qn(t), e, qn(e)];
|
|
1996
|
+
}
|
|
1997
|
+
function co(t) {
|
|
1998
|
+
var e = t.state, n = t.options, r = t.name;
|
|
1999
|
+
if (!e.modifiersData[r]._skip) {
|
|
2000
|
+
for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, c = a === void 0 ? !0 : a, u = n.fallbackPlacements, f = n.padding, l = n.boundary, d = n.rootBoundary, _ = n.altBoundary, h = n.flipVariations, y = h === void 0 ? !0 : h, b = n.allowedAutoPlacements, v = e.options.placement, O = Pt(v), P = O === v, R = u || (P || !y ? [Oe(v)] : ao(v)), A = [v].concat(R).reduce(function(S, L) {
|
|
2001
|
+
return S.concat(Pt(L) === un ? so(e, {
|
|
2002
|
+
placement: L,
|
|
2003
|
+
boundary: l,
|
|
2004
|
+
rootBoundary: d,
|
|
2005
|
+
padding: f,
|
|
2006
|
+
flipVariations: y,
|
|
2007
|
+
allowedAutoPlacements: b
|
|
2008
|
+
}) : L);
|
|
2009
|
+
}, []), p = e.rects.reference, C = e.rects.popper, B = /* @__PURE__ */ new Map(), G = !0, X = A[0], J = 0; J < A.length; J++) {
|
|
2010
|
+
var Z = A[J], ot = Pt(Z), V = Zt(Z) === Qt, q = [dt, yt].indexOf(ot) >= 0, $ = q ? "width" : "height", tt = me(e, {
|
|
2011
|
+
placement: Z,
|
|
2012
|
+
boundary: l,
|
|
2013
|
+
rootBoundary: d,
|
|
2014
|
+
altBoundary: _,
|
|
2015
|
+
padding: f
|
|
2016
|
+
}), nt = q ? V ? bt : pt : V ? yt : dt;
|
|
2017
|
+
p[$] > C[$] && (nt = Oe(nt));
|
|
2018
|
+
var _t = Oe(nt), ft = [];
|
|
2019
|
+
if (o && ft.push(tt[ot] <= 0), c && ft.push(tt[nt] <= 0, tt[_t] <= 0), ft.every(function(S) {
|
|
2020
|
+
return S;
|
|
2021
|
+
})) {
|
|
2022
|
+
X = Z, G = !1;
|
|
2023
|
+
break;
|
|
2024
|
+
}
|
|
2025
|
+
B.set(Z, ft);
|
|
2026
|
+
}
|
|
2027
|
+
if (G)
|
|
2028
|
+
for (var g = y ? 3 : 1, E = function(L) {
|
|
2029
|
+
var k = A.find(function(j) {
|
|
2030
|
+
var D = B.get(j);
|
|
2031
|
+
if (D)
|
|
2032
|
+
return D.slice(0, L).every(function(U) {
|
|
2033
|
+
return U;
|
|
2034
|
+
});
|
|
2035
|
+
});
|
|
2036
|
+
if (k)
|
|
2037
|
+
return X = k, "break";
|
|
2038
|
+
}, F = g; F > 0; F--) {
|
|
2039
|
+
var M = E(F);
|
|
2040
|
+
if (M === "break") break;
|
|
2041
|
+
}
|
|
2042
|
+
e.placement !== X && (e.modifiersData[r]._skip = !0, e.placement = X, e.reset = !0);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
const uo = {
|
|
2046
|
+
name: "flip",
|
|
2047
|
+
enabled: !0,
|
|
2048
|
+
phase: "main",
|
|
2049
|
+
fn: co,
|
|
2050
|
+
requiresIfExists: ["offset"],
|
|
2051
|
+
data: {
|
|
2052
|
+
_skip: !1
|
|
2053
|
+
}
|
|
2054
|
+
};
|
|
2055
|
+
function Kn(t, e, n) {
|
|
2056
|
+
return n === void 0 && (n = {
|
|
2057
|
+
x: 0,
|
|
2058
|
+
y: 0
|
|
2059
|
+
}), {
|
|
2060
|
+
top: t.top - e.height - n.y,
|
|
2061
|
+
right: t.right - e.width + n.x,
|
|
2062
|
+
bottom: t.bottom - e.height + n.y,
|
|
2063
|
+
left: t.left - e.width - n.x
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
function Qn(t) {
|
|
2067
|
+
return [dt, bt, yt, pt].some(function(e) {
|
|
2068
|
+
return t[e] >= 0;
|
|
2069
|
+
});
|
|
2070
|
+
}
|
|
2071
|
+
function lo(t) {
|
|
2072
|
+
var e = t.state, n = t.name, r = e.rects.reference, i = e.rects.popper, o = e.modifiersData.preventOverflow, a = me(e, {
|
|
2073
|
+
elementContext: "reference"
|
|
2074
|
+
}), c = me(e, {
|
|
2075
|
+
altBoundary: !0
|
|
2076
|
+
}), u = Kn(a, r), f = Kn(c, i, o), l = Qn(u), d = Qn(f);
|
|
2077
|
+
e.modifiersData[n] = {
|
|
2078
|
+
referenceClippingOffsets: u,
|
|
2079
|
+
popperEscapeOffsets: f,
|
|
2080
|
+
isReferenceHidden: l,
|
|
2081
|
+
hasPopperEscaped: d
|
|
2082
|
+
}, e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
|
2083
|
+
"data-popper-reference-hidden": l,
|
|
2084
|
+
"data-popper-escaped": d
|
|
2085
|
+
});
|
|
2086
|
+
}
|
|
2087
|
+
const fo = {
|
|
2088
|
+
name: "hide",
|
|
2089
|
+
enabled: !0,
|
|
2090
|
+
phase: "main",
|
|
2091
|
+
requiresIfExists: ["preventOverflow"],
|
|
2092
|
+
fn: lo
|
|
2093
|
+
};
|
|
2094
|
+
function po(t, e, n) {
|
|
2095
|
+
var r = Pt(t), i = [pt, dt].indexOf(r) >= 0 ? -1 : 1, o = typeof n == "function" ? n(Object.assign({}, e, {
|
|
2096
|
+
placement: t
|
|
2097
|
+
})) : n, a = o[0], c = o[1];
|
|
2098
|
+
return a = a || 0, c = (c || 0) * i, [pt, bt].indexOf(r) >= 0 ? {
|
|
2099
|
+
x: c,
|
|
2100
|
+
y: a
|
|
2101
|
+
} : {
|
|
2102
|
+
x: a,
|
|
2103
|
+
y: c
|
|
2104
|
+
};
|
|
2105
|
+
}
|
|
2106
|
+
function go(t) {
|
|
2107
|
+
var e = t.state, n = t.options, r = t.name, i = n.offset, o = i === void 0 ? [0, 0] : i, a = gr.reduce(function(l, d) {
|
|
2108
|
+
return l[d] = po(d, e.rects, o), l;
|
|
2109
|
+
}, {}), c = a[e.placement], u = c.x, f = c.y;
|
|
2110
|
+
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += u, e.modifiersData.popperOffsets.y += f), e.modifiersData[r] = a;
|
|
2111
|
+
}
|
|
2112
|
+
const mo = {
|
|
2113
|
+
name: "offset",
|
|
2114
|
+
enabled: !0,
|
|
2115
|
+
phase: "main",
|
|
2116
|
+
requires: ["popperOffsets"],
|
|
2117
|
+
fn: go
|
|
2118
|
+
};
|
|
2119
|
+
function _o(t) {
|
|
2120
|
+
var e = t.state, n = t.name;
|
|
2121
|
+
e.modifiersData[n] = Pr({
|
|
2122
|
+
reference: e.rects.reference,
|
|
2123
|
+
element: e.rects.popper,
|
|
2124
|
+
strategy: "absolute",
|
|
2125
|
+
placement: e.placement
|
|
2126
|
+
});
|
|
2127
|
+
}
|
|
2128
|
+
const vo = {
|
|
2129
|
+
name: "popperOffsets",
|
|
2130
|
+
enabled: !0,
|
|
2131
|
+
phase: "read",
|
|
2132
|
+
fn: _o,
|
|
2133
|
+
data: {}
|
|
2134
|
+
};
|
|
2135
|
+
function ho(t) {
|
|
2136
|
+
return t === "x" ? "y" : "x";
|
|
2137
|
+
}
|
|
2138
|
+
function yo(t) {
|
|
2139
|
+
var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, c = a === void 0 ? !1 : a, u = n.boundary, f = n.rootBoundary, l = n.altBoundary, d = n.padding, _ = n.tether, h = _ === void 0 ? !0 : _, y = n.tetherOffset, b = y === void 0 ? 0 : y, v = me(e, {
|
|
2140
|
+
boundary: u,
|
|
2141
|
+
rootBoundary: f,
|
|
2142
|
+
padding: d,
|
|
2143
|
+
altBoundary: l
|
|
2144
|
+
}), O = Pt(e.placement), P = Zt(e.placement), R = !P, A = dn(O), p = ho(A), C = e.modifiersData.popperOffsets, B = e.rects.reference, G = e.rects.popper, X = typeof b == "function" ? b(Object.assign({}, e.rects, {
|
|
2145
|
+
placement: e.placement
|
|
2146
|
+
})) : b, J = typeof X == "number" ? {
|
|
2147
|
+
mainAxis: X,
|
|
2148
|
+
altAxis: X
|
|
2149
|
+
} : Object.assign({
|
|
2150
|
+
mainAxis: 0,
|
|
2151
|
+
altAxis: 0
|
|
2152
|
+
}, X), Z = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, ot = {
|
|
2153
|
+
x: 0,
|
|
2154
|
+
y: 0
|
|
2155
|
+
};
|
|
2156
|
+
if (C) {
|
|
2157
|
+
if (o) {
|
|
2158
|
+
var V, q = A === "y" ? dt : pt, $ = A === "y" ? yt : bt, tt = A === "y" ? "height" : "width", nt = C[A], _t = nt + v[q], ft = nt - v[$], g = h ? -G[tt] / 2 : 0, E = P === Qt ? B[tt] : G[tt], F = P === Qt ? -G[tt] : -B[tt], M = e.elements.arrow, S = h && M ? fn(M) : {
|
|
2159
|
+
width: 0,
|
|
2160
|
+
height: 0
|
|
2161
|
+
}, L = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vr(), k = L[q], j = L[$], D = fe(0, B[tt], S[tt]), U = R ? B[tt] / 2 - g - D - k - J.mainAxis : E - D - k - J.mainAxis, H = R ? -B[tt] / 2 + g + D + j + J.mainAxis : F + D + j + J.mainAxis, st = e.elements.arrow && he(e.elements.arrow), w = st ? A === "y" ? st.clientTop || 0 : st.clientLeft || 0 : 0, ut = (V = Z == null ? void 0 : Z[A]) != null ? V : 0, Tt = nt + U - ut - w, xt = nt + H - ut, Dt = fe(h ? Ce(_t, Tt) : _t, nt, h ? Lt(ft, xt) : ft);
|
|
2162
|
+
C[A] = Dt, ot[A] = Dt - nt;
|
|
2163
|
+
}
|
|
2164
|
+
if (c) {
|
|
2165
|
+
var ne, ye = A === "x" ? dt : pt, Vt = A === "x" ? yt : bt, Et = C[p], Wt = p === "y" ? "height" : "width", Jt = Et + v[ye], be = Et - v[Vt], re = [dt, pt].indexOf(O) !== -1, ie = (ne = Z == null ? void 0 : Z[p]) != null ? ne : 0, oe = re ? Jt : Et - B[Wt] - G[Wt] - ie + J.altAxis, St = re ? Et + B[Wt] + G[Wt] - ie - J.altAxis : be, Pe = h && re ? Yi(oe, Et, St) : fe(h ? oe : Jt, Et, h ? St : be);
|
|
2166
|
+
C[p] = Pe, ot[p] = Pe - Et;
|
|
2167
|
+
}
|
|
2168
|
+
e.modifiersData[r] = ot;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
const bo = {
|
|
2172
|
+
name: "preventOverflow",
|
|
2173
|
+
enabled: !0,
|
|
2174
|
+
phase: "main",
|
|
2175
|
+
fn: yo,
|
|
2176
|
+
requiresIfExists: ["offset"]
|
|
2177
|
+
};
|
|
2178
|
+
function Po(t) {
|
|
2179
|
+
return {
|
|
2180
|
+
scrollLeft: t.scrollLeft,
|
|
2181
|
+
scrollTop: t.scrollTop
|
|
2182
|
+
};
|
|
2183
|
+
}
|
|
2184
|
+
function wo(t) {
|
|
2185
|
+
return t === mt(t) || !wt(t) ? pn(t) : Po(t);
|
|
2186
|
+
}
|
|
2187
|
+
function xo(t) {
|
|
2188
|
+
var e = t.getBoundingClientRect(), n = Xt(e.width) / t.offsetWidth || 1, r = Xt(e.height) / t.offsetHeight || 1;
|
|
2189
|
+
return n !== 1 || r !== 1;
|
|
2190
|
+
}
|
|
2191
|
+
function Eo(t, e, n) {
|
|
2192
|
+
n === void 0 && (n = !1);
|
|
2193
|
+
var r = wt(e), i = wt(e) && xo(e), o = jt(e), a = $t(t, i, n), c = {
|
|
2194
|
+
scrollLeft: 0,
|
|
2195
|
+
scrollTop: 0
|
|
2196
|
+
}, u = {
|
|
2197
|
+
x: 0,
|
|
2198
|
+
y: 0
|
|
2199
|
+
};
|
|
2200
|
+
return (r || !r && !n) && ((It(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
2201
|
+
mn(o)) && (c = wo(e)), wt(e) ? (u = $t(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : o && (u.x = gn(o))), {
|
|
2202
|
+
x: a.left + c.scrollLeft - u.x,
|
|
2203
|
+
y: a.top + c.scrollTop - u.y,
|
|
2204
|
+
width: a.width,
|
|
2205
|
+
height: a.height
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
function Ao(t) {
|
|
2209
|
+
var e = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
2210
|
+
t.forEach(function(o) {
|
|
2211
|
+
e.set(o.name, o);
|
|
2212
|
+
});
|
|
2213
|
+
function i(o) {
|
|
2214
|
+
n.add(o.name);
|
|
2215
|
+
var a = [].concat(o.requires || [], o.requiresIfExists || []);
|
|
2216
|
+
a.forEach(function(c) {
|
|
2217
|
+
if (!n.has(c)) {
|
|
2218
|
+
var u = e.get(c);
|
|
2219
|
+
u && i(u);
|
|
2220
|
+
}
|
|
2221
|
+
}), r.push(o);
|
|
2222
|
+
}
|
|
2223
|
+
return t.forEach(function(o) {
|
|
2224
|
+
n.has(o.name) || i(o);
|
|
2225
|
+
}), r;
|
|
2226
|
+
}
|
|
2227
|
+
function Oo(t) {
|
|
2228
|
+
var e = Ao(t);
|
|
2229
|
+
return Hi.reduce(function(n, r) {
|
|
2230
|
+
return n.concat(e.filter(function(i) {
|
|
2231
|
+
return i.phase === r;
|
|
2232
|
+
}));
|
|
2233
|
+
}, []);
|
|
2234
|
+
}
|
|
2235
|
+
function Ro(t) {
|
|
2236
|
+
var e;
|
|
2237
|
+
return function() {
|
|
2238
|
+
return e || (e = new Promise(function(n) {
|
|
2239
|
+
Promise.resolve().then(function() {
|
|
2240
|
+
e = void 0, n(t());
|
|
2241
|
+
});
|
|
2242
|
+
})), e;
|
|
2243
|
+
};
|
|
2244
|
+
}
|
|
2245
|
+
function Co(t) {
|
|
2246
|
+
var e = t.reduce(function(n, r) {
|
|
2247
|
+
var i = n[r.name];
|
|
2248
|
+
return n[r.name] = i ? Object.assign({}, i, r, {
|
|
2249
|
+
options: Object.assign({}, i.options, r.options),
|
|
2250
|
+
data: Object.assign({}, i.data, r.data)
|
|
2251
|
+
}) : r, n;
|
|
2252
|
+
}, {});
|
|
2253
|
+
return Object.keys(e).map(function(n) {
|
|
2254
|
+
return e[n];
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
var Xn = {
|
|
2258
|
+
placement: "bottom",
|
|
2259
|
+
modifiers: [],
|
|
2260
|
+
strategy: "absolute"
|
|
2261
|
+
};
|
|
2262
|
+
function $n() {
|
|
2263
|
+
for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
|
|
2264
|
+
e[n] = arguments[n];
|
|
2265
|
+
return !e.some(function(r) {
|
|
2266
|
+
return !(r && typeof r.getBoundingClientRect == "function");
|
|
2267
|
+
});
|
|
2268
|
+
}
|
|
2269
|
+
function To(t) {
|
|
2270
|
+
t === void 0 && (t = {});
|
|
2271
|
+
var e = t, n = e.defaultModifiers, r = n === void 0 ? [] : n, i = e.defaultOptions, o = i === void 0 ? Xn : i;
|
|
2272
|
+
return function(c, u, f) {
|
|
2273
|
+
f === void 0 && (f = o);
|
|
2274
|
+
var l = {
|
|
2275
|
+
placement: "bottom",
|
|
2276
|
+
orderedModifiers: [],
|
|
2277
|
+
options: Object.assign({}, Xn, o),
|
|
2278
|
+
modifiersData: {},
|
|
2279
|
+
elements: {
|
|
2280
|
+
reference: c,
|
|
2281
|
+
popper: u
|
|
2282
|
+
},
|
|
2283
|
+
attributes: {},
|
|
2284
|
+
styles: {}
|
|
2285
|
+
}, d = [], _ = !1, h = {
|
|
2286
|
+
state: l,
|
|
2287
|
+
setOptions: function(O) {
|
|
2288
|
+
var P = typeof O == "function" ? O(l.options) : O;
|
|
2289
|
+
b(), l.options = Object.assign({}, o, l.options, P), l.scrollParents = {
|
|
2290
|
+
reference: Ht(c) ? de(c) : c.contextElement ? de(c.contextElement) : [],
|
|
2291
|
+
popper: de(u)
|
|
2292
|
+
};
|
|
2293
|
+
var R = Oo(Co([].concat(r, l.options.modifiers)));
|
|
2294
|
+
return l.orderedModifiers = R.filter(function(A) {
|
|
2295
|
+
return A.enabled;
|
|
2296
|
+
}), y(), h.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 (!_) {
|
|
2305
|
+
var O = l.elements, P = O.reference, R = O.popper;
|
|
2306
|
+
if ($n(P, R)) {
|
|
2307
|
+
l.rects = {
|
|
2308
|
+
reference: Eo(P, he(R), l.options.strategy === "fixed"),
|
|
2309
|
+
popper: fn(R)
|
|
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 A = 0; A < l.orderedModifiers.length; A++) {
|
|
2314
|
+
if (l.reset === !0) {
|
|
2315
|
+
l.reset = !1, A = -1;
|
|
2316
|
+
continue;
|
|
2317
|
+
}
|
|
2318
|
+
var p = l.orderedModifiers[A], C = p.fn, B = p.options, G = B === void 0 ? {} : B, X = p.name;
|
|
2319
|
+
typeof C == "function" && (l = C({
|
|
2320
|
+
state: l,
|
|
2321
|
+
options: G,
|
|
2322
|
+
name: X,
|
|
2323
|
+
instance: h
|
|
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: Ro(function() {
|
|
2332
|
+
return new Promise(function(v) {
|
|
2333
|
+
h.forceUpdate(), v(l);
|
|
2334
|
+
});
|
|
2335
|
+
}),
|
|
2336
|
+
destroy: function() {
|
|
2337
|
+
b(), _ = !0;
|
|
2338
|
+
}
|
|
2339
|
+
};
|
|
2340
|
+
if (!$n(c, u))
|
|
2341
|
+
return h;
|
|
2342
|
+
h.setOptions(f).then(function(v) {
|
|
2343
|
+
!_ && f.onFirstUpdate && f.onFirstUpdate(v);
|
|
2344
|
+
});
|
|
2345
|
+
function y() {
|
|
2346
|
+
l.orderedModifiers.forEach(function(v) {
|
|
2347
|
+
var O = v.name, P = v.options, R = P === void 0 ? {} : P, A = v.effect;
|
|
2348
|
+
if (typeof A == "function") {
|
|
2349
|
+
var p = A({
|
|
2350
|
+
state: l,
|
|
2351
|
+
name: O,
|
|
2352
|
+
instance: h,
|
|
2353
|
+
options: R
|
|
2354
|
+
}), C = function() {
|
|
2355
|
+
};
|
|
2356
|
+
d.push(p || C);
|
|
2357
|
+
}
|
|
2358
|
+
});
|
|
2359
|
+
}
|
|
2360
|
+
function b() {
|
|
2361
|
+
d.forEach(function(v) {
|
|
2362
|
+
return v();
|
|
2363
|
+
}), d = [];
|
|
2364
|
+
}
|
|
2365
|
+
return h;
|
|
2366
|
+
};
|
|
2367
|
+
}
|
|
2368
|
+
const So = To({
|
|
2369
|
+
defaultModifiers: [fo, vo, Qi, $i, mo, uo, bo, Gi]
|
|
2370
|
+
}), ko = ["enabled", "placement", "strategy", "modifiers"];
|
|
2371
|
+
function Io(t, e) {
|
|
2372
|
+
if (t == null) return {};
|
|
2373
|
+
var n = {}, r = Object.keys(t), i, o;
|
|
2374
|
+
for (o = 0; o < r.length; o++)
|
|
2375
|
+
i = r[o], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
|
|
2376
|
+
return n;
|
|
2377
|
+
}
|
|
2378
|
+
const jo = {
|
|
2379
|
+
name: "applyStyles",
|
|
2380
|
+
enabled: !1,
|
|
2381
|
+
phase: "afterWrite",
|
|
2382
|
+
fn: () => {
|
|
2383
|
+
}
|
|
2384
|
+
}, Do = {
|
|
2385
|
+
name: "ariaDescribedBy",
|
|
2386
|
+
enabled: !0,
|
|
2387
|
+
phase: "afterWrite",
|
|
2388
|
+
effect: ({
|
|
2389
|
+
state: t
|
|
2390
|
+
}) => () => {
|
|
2391
|
+
const {
|
|
2392
|
+
reference: e,
|
|
2393
|
+
popper: n
|
|
2394
|
+
} = t.elements;
|
|
2395
|
+
if ("removeAttribute" in e) {
|
|
2396
|
+
const r = (e.getAttribute("aria-describedby") || "").split(",").filter((i) => i.trim() !== n.id);
|
|
2397
|
+
r.length ? e.setAttribute("aria-describedby", r.join(",")) : e.removeAttribute("aria-describedby");
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
fn: ({
|
|
2401
|
+
state: t
|
|
2402
|
+
}) => {
|
|
2403
|
+
var e;
|
|
2404
|
+
const {
|
|
2405
|
+
popper: n,
|
|
2406
|
+
reference: r
|
|
2407
|
+
} = t.elements, i = (e = n.getAttribute("role")) == null ? void 0 : e.toLowerCase();
|
|
2408
|
+
if (n.id && i === "tooltip" && "setAttribute" in r) {
|
|
2409
|
+
const o = r.getAttribute("aria-describedby");
|
|
2410
|
+
if (o && o.split(",").indexOf(n.id) !== -1)
|
|
2411
|
+
return;
|
|
2412
|
+
r.setAttribute("aria-describedby", o ? `${o},${n.id}` : n.id);
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
}, Fo = [];
|
|
2416
|
+
function Mo(t, e, n = {}) {
|
|
2417
|
+
let {
|
|
2418
|
+
enabled: r = !0,
|
|
2419
|
+
placement: i = "bottom",
|
|
2420
|
+
strategy: o = "absolute",
|
|
2421
|
+
modifiers: a = Fo
|
|
2422
|
+
} = n, c = Io(n, ko);
|
|
2423
|
+
const u = ct(a), f = ct(), l = it(() => {
|
|
2424
|
+
var v;
|
|
2425
|
+
(v = f.current) == null || v.update();
|
|
2426
|
+
}, []), d = it(() => {
|
|
2427
|
+
var v;
|
|
2428
|
+
(v = f.current) == null || v.forceUpdate();
|
|
2429
|
+
}, []), [_, h] = Ri(Ut({
|
|
2430
|
+
placement: i,
|
|
2431
|
+
update: l,
|
|
2432
|
+
forceUpdate: d,
|
|
2433
|
+
attributes: {},
|
|
2434
|
+
styles: {
|
|
2435
|
+
popper: {},
|
|
2436
|
+
arrow: {}
|
|
2437
|
+
}
|
|
2438
|
+
})), y = pe(() => ({
|
|
2439
|
+
name: "updateStateModifier",
|
|
2440
|
+
enabled: !0,
|
|
2441
|
+
phase: "write",
|
|
2442
|
+
requires: ["computeStyles"],
|
|
2443
|
+
fn: ({
|
|
2444
|
+
state: v
|
|
2445
|
+
}) => {
|
|
2446
|
+
const O = {}, P = {};
|
|
2447
|
+
Object.keys(v.elements).forEach((R) => {
|
|
2448
|
+
O[R] = v.styles[R], P[R] = v.attributes[R];
|
|
2449
|
+
}), h({
|
|
2450
|
+
state: v,
|
|
2451
|
+
styles: O,
|
|
2452
|
+
attributes: P,
|
|
2453
|
+
update: l,
|
|
2454
|
+
forceUpdate: d,
|
|
2455
|
+
placement: v.placement
|
|
2456
|
+
});
|
|
2457
|
+
}
|
|
2458
|
+
}), [l, d, h]), b = pe(() => (le(u.current, a) || (u.current = a), u.current), [a]);
|
|
2459
|
+
return ht(() => {
|
|
2460
|
+
!f.current || !r || f.current.setOptions({
|
|
2461
|
+
placement: i,
|
|
2462
|
+
strategy: o,
|
|
2463
|
+
modifiers: [...b, y, jo]
|
|
2464
|
+
});
|
|
2465
|
+
}, [o, i, y, r, b]), ht(() => {
|
|
2466
|
+
if (!(!r || t == null || e == null))
|
|
2467
|
+
return f.current = So(t, e, Object.assign({}, c, {
|
|
2468
|
+
placement: i,
|
|
2469
|
+
strategy: o,
|
|
2470
|
+
modifiers: [...b, Do, y]
|
|
2471
|
+
})), () => {
|
|
2472
|
+
f.current != null && (f.current.destroy(), f.current = void 0, h((v) => Object.assign({}, v, {
|
|
2473
|
+
attributes: {},
|
|
2474
|
+
styles: {
|
|
2475
|
+
popper: {}
|
|
2476
|
+
}
|
|
2477
|
+
})));
|
|
2478
|
+
};
|
|
2479
|
+
}, [r, t, e]), _;
|
|
2480
|
+
}
|
|
2481
|
+
const _n = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
2482
|
+
var Xe = !1, $e = !1;
|
|
2483
|
+
try {
|
|
2484
|
+
var Ye = {
|
|
2485
|
+
get passive() {
|
|
2486
|
+
return Xe = !0;
|
|
2487
|
+
},
|
|
2488
|
+
get once() {
|
|
2489
|
+
return $e = Xe = !0;
|
|
2490
|
+
}
|
|
2491
|
+
};
|
|
2492
|
+
_n && (window.addEventListener("test", Ye, Ye), window.removeEventListener("test", Ye, !0));
|
|
2493
|
+
} catch {
|
|
2494
|
+
}
|
|
2495
|
+
function Bo(t, e, n, r) {
|
|
2496
|
+
if (r && typeof r != "boolean" && !$e) {
|
|
2497
|
+
var i = r.once, o = r.capture, a = n;
|
|
2498
|
+
!$e && i && (a = n.__once || function c(u) {
|
|
2499
|
+
this.removeEventListener(e, c, o), n.call(this, u);
|
|
2500
|
+
}, n.__once = a), t.addEventListener(e, a, Xe ? r : o);
|
|
2501
|
+
}
|
|
2502
|
+
t.addEventListener(e, n, r);
|
|
2503
|
+
}
|
|
2504
|
+
function Lo(t, e, n, r) {
|
|
2505
|
+
var i = r && typeof r != "boolean" ? r.capture : r;
|
|
2506
|
+
t.removeEventListener(e, n, i), n.__once && t.removeEventListener(e, n.__once, i);
|
|
2507
|
+
}
|
|
2508
|
+
function Bt(t, e, n, r) {
|
|
2509
|
+
return Bo(t, e, n, r), function() {
|
|
2510
|
+
Lo(t, e, n, r);
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
function ke(t) {
|
|
2514
|
+
return t && t.ownerDocument || document;
|
|
2515
|
+
}
|
|
2516
|
+
function Ho(t) {
|
|
2517
|
+
const e = ct(t);
|
|
2518
|
+
return ht(() => {
|
|
2519
|
+
e.current = t;
|
|
2520
|
+
}, [t]), e;
|
|
2521
|
+
}
|
|
2522
|
+
function te(t) {
|
|
2523
|
+
const e = Ho(t);
|
|
2524
|
+
return it(function(...n) {
|
|
2525
|
+
return e.current && e.current(...n);
|
|
2526
|
+
}, [e]);
|
|
2527
|
+
}
|
|
2528
|
+
const Zn = () => {
|
|
2529
|
+
};
|
|
2530
|
+
function No(t) {
|
|
2531
|
+
return t.button === 0;
|
|
2532
|
+
}
|
|
2533
|
+
function Uo(t) {
|
|
2534
|
+
return !!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey);
|
|
2535
|
+
}
|
|
2536
|
+
const Re = (t) => t && ("current" in t ? t.current : t), tr = {
|
|
2537
|
+
click: "mousedown",
|
|
2538
|
+
mouseup: "mousedown",
|
|
2539
|
+
pointerup: "pointerdown"
|
|
2540
|
+
};
|
|
2541
|
+
function Yo(t, e = Zn, {
|
|
2542
|
+
disabled: n,
|
|
2543
|
+
clickTrigger: r = "click"
|
|
2544
|
+
} = {}) {
|
|
2545
|
+
const i = ct(!1), o = ct(!1), a = it((f) => {
|
|
2546
|
+
const l = Re(t);
|
|
2547
|
+
fr(!!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"), i.current = !l || Uo(f) || !No(f) || !!Je(l, f.target) || o.current, o.current = !1;
|
|
2548
|
+
}, [t]), c = te((f) => {
|
|
2549
|
+
const l = Re(t);
|
|
2550
|
+
l && Je(l, f.target) && (o.current = !0);
|
|
2551
|
+
}), u = te((f) => {
|
|
2552
|
+
i.current || e(f);
|
|
2553
|
+
});
|
|
2554
|
+
ht(() => {
|
|
2555
|
+
var f, l;
|
|
2556
|
+
if (n || t == null) return;
|
|
2557
|
+
const d = ke(Re(t)), _ = d.defaultView || window;
|
|
2558
|
+
let h = (f = _.event) != null ? f : (l = _.parent) == null ? void 0 : l.event, y = null;
|
|
2559
|
+
tr[r] && (y = Bt(d, tr[r], c, !0));
|
|
2560
|
+
const b = Bt(d, r, a, !0), v = Bt(d, r, (P) => {
|
|
2561
|
+
if (P === h) {
|
|
2562
|
+
h = void 0;
|
|
2563
|
+
return;
|
|
2564
|
+
}
|
|
2565
|
+
u(P);
|
|
2566
|
+
});
|
|
2567
|
+
let O = [];
|
|
2568
|
+
return "ontouchstart" in d.documentElement && (O = [].slice.call(d.body.children).map((P) => Bt(P, "mousemove", Zn))), () => {
|
|
2569
|
+
y == null || y(), b(), v(), O.forEach((P) => P());
|
|
2570
|
+
};
|
|
2571
|
+
}, [t, n, r, a, c, u]);
|
|
2572
|
+
}
|
|
2573
|
+
function Vo(t) {
|
|
2574
|
+
return t.code === "Escape" || t.keyCode === 27;
|
|
2575
|
+
}
|
|
2576
|
+
const Wo = () => {
|
|
2577
|
+
};
|
|
2578
|
+
function Jo(t, e, {
|
|
2579
|
+
disabled: n,
|
|
2580
|
+
clickTrigger: r
|
|
2581
|
+
} = {}) {
|
|
2582
|
+
const i = e || Wo;
|
|
2583
|
+
Yo(t, i, {
|
|
2584
|
+
disabled: n,
|
|
2585
|
+
clickTrigger: r
|
|
2586
|
+
});
|
|
2587
|
+
const o = te((a) => {
|
|
2588
|
+
Vo(a) && i(a);
|
|
2589
|
+
});
|
|
2590
|
+
ht(() => {
|
|
2591
|
+
if (n || t == null) return;
|
|
2592
|
+
const a = ke(Re(t));
|
|
2593
|
+
let c = (a.defaultView || window).event;
|
|
2594
|
+
const u = Bt(a, "keyup", (f) => {
|
|
2595
|
+
if (f === c) {
|
|
2596
|
+
c = void 0;
|
|
2597
|
+
return;
|
|
2598
|
+
}
|
|
2599
|
+
o(f);
|
|
2600
|
+
});
|
|
2601
|
+
return () => {
|
|
2602
|
+
u();
|
|
2603
|
+
};
|
|
2604
|
+
}, [t, n, o]);
|
|
2605
|
+
}
|
|
2606
|
+
const wr = /* @__PURE__ */ Xr(_n ? window : void 0);
|
|
2607
|
+
wr.Provider;
|
|
2608
|
+
function Go() {
|
|
2609
|
+
return on(wr);
|
|
2610
|
+
}
|
|
2611
|
+
const Ve = (t, e) => _n ? t == null ? (e || ke()).body : (typeof t == "function" && (t = t()), t && "current" in t && (t = t.current), t && ("nodeType" in t || t.getBoundingClientRect) ? t : null) : null;
|
|
2612
|
+
function er(t, e) {
|
|
2613
|
+
const n = Go(), [r, i] = Ut(() => Ve(t, n == null ? void 0 : n.document));
|
|
2614
|
+
if (!r) {
|
|
2615
|
+
const o = Ve(t);
|
|
2616
|
+
o && i(o);
|
|
2617
|
+
}
|
|
2618
|
+
return ht(() => {
|
|
2619
|
+
}, [e, r]), ht(() => {
|
|
2620
|
+
const o = Ve(t);
|
|
2621
|
+
o !== r && i(o);
|
|
2622
|
+
}, [t, r]), r;
|
|
2623
|
+
}
|
|
2624
|
+
function qo(t) {
|
|
2625
|
+
const e = {};
|
|
2626
|
+
return Array.isArray(t) ? (t == null || t.forEach((n) => {
|
|
2627
|
+
e[n.name] = n;
|
|
2628
|
+
}), e) : t || e;
|
|
2629
|
+
}
|
|
2630
|
+
function zo(t = {}) {
|
|
2631
|
+
return Array.isArray(t) ? t : Object.keys(t).map((e) => (t[e].name = e, t[e]));
|
|
2632
|
+
}
|
|
2633
|
+
function Ko({
|
|
2634
|
+
enabled: t,
|
|
2635
|
+
enableEvents: e,
|
|
2636
|
+
placement: n,
|
|
2637
|
+
flip: r,
|
|
2638
|
+
offset: i,
|
|
2639
|
+
fixed: o,
|
|
2640
|
+
containerPadding: a,
|
|
2641
|
+
arrowElement: c,
|
|
2642
|
+
popperConfig: u = {}
|
|
2643
|
+
}) {
|
|
2644
|
+
var f, l, d, _, h;
|
|
2645
|
+
const y = qo(u.modifiers);
|
|
2646
|
+
return Object.assign({}, u, {
|
|
2647
|
+
placement: n,
|
|
2648
|
+
enabled: t,
|
|
2649
|
+
strategy: o ? "fixed" : u.strategy,
|
|
2650
|
+
modifiers: zo(Object.assign({}, y, {
|
|
2651
|
+
eventListeners: {
|
|
2652
|
+
enabled: e,
|
|
2653
|
+
options: (f = y.eventListeners) == null ? void 0 : f.options
|
|
2654
|
+
},
|
|
2655
|
+
preventOverflow: Object.assign({}, y.preventOverflow, {
|
|
2656
|
+
options: a ? Object.assign({
|
|
2657
|
+
padding: a
|
|
2658
|
+
}, (l = y.preventOverflow) == null ? void 0 : l.options) : (d = y.preventOverflow) == null ? void 0 : d.options
|
|
2659
|
+
}),
|
|
2660
|
+
offset: {
|
|
2661
|
+
options: Object.assign({
|
|
2662
|
+
offset: i
|
|
2663
|
+
}, (_ = y.offset) == null ? void 0 : _.options)
|
|
2664
|
+
},
|
|
2665
|
+
arrow: Object.assign({}, y.arrow, {
|
|
2666
|
+
enabled: !!c,
|
|
2667
|
+
options: Object.assign({}, (h = y.arrow) == null ? void 0 : h.options, {
|
|
2668
|
+
element: c
|
|
2669
|
+
})
|
|
2670
|
+
}),
|
|
2671
|
+
flip: Object.assign({
|
|
2672
|
+
enabled: !!r
|
|
2673
|
+
}, y.flip)
|
|
2674
|
+
}))
|
|
2675
|
+
});
|
|
2676
|
+
}
|
|
2677
|
+
const Qo = typeof global < "u" && // @ts-ignore
|
|
2678
|
+
global.navigator && // @ts-ignore
|
|
2679
|
+
global.navigator.product === "ReactNative", Xo = typeof document < "u", Ze = Xo || Qo ? $r : ht;
|
|
2680
|
+
function $o({
|
|
2681
|
+
children: t,
|
|
2682
|
+
in: e,
|
|
2683
|
+
onExited: n,
|
|
2684
|
+
mountOnEnter: r,
|
|
2685
|
+
unmountOnExit: i
|
|
2686
|
+
}) {
|
|
2687
|
+
const o = ct(null), a = ct(e), c = te(n);
|
|
2688
|
+
ht(() => {
|
|
2689
|
+
e ? a.current = !0 : c(o.current);
|
|
2690
|
+
}, [e, c]);
|
|
2691
|
+
const u = ee(o, t.ref), f = /* @__PURE__ */ sn(t, {
|
|
2692
|
+
ref: u
|
|
2693
|
+
});
|
|
2694
|
+
return e ? f : i || !a.current && r ? null : f;
|
|
2695
|
+
}
|
|
2696
|
+
function Zo({
|
|
2697
|
+
in: t,
|
|
2698
|
+
onTransition: e
|
|
2699
|
+
}) {
|
|
2700
|
+
const n = ct(null), r = ct(!0), i = te(e);
|
|
2701
|
+
return Ze(() => {
|
|
2702
|
+
if (!n.current)
|
|
2703
|
+
return;
|
|
2704
|
+
let o = !1;
|
|
2705
|
+
return i({
|
|
2706
|
+
in: t,
|
|
2707
|
+
element: n.current,
|
|
2708
|
+
initial: r.current,
|
|
2709
|
+
isStale: () => o
|
|
2710
|
+
}), () => {
|
|
2711
|
+
o = !0;
|
|
2712
|
+
};
|
|
2713
|
+
}, [t, i]), Ze(() => (r.current = !1, () => {
|
|
2714
|
+
r.current = !0;
|
|
2715
|
+
}), []), n;
|
|
2716
|
+
}
|
|
2717
|
+
function ts({
|
|
2718
|
+
children: t,
|
|
2719
|
+
in: e,
|
|
2720
|
+
onExited: n,
|
|
2721
|
+
onEntered: r,
|
|
2722
|
+
transition: i
|
|
2723
|
+
}) {
|
|
2724
|
+
const [o, a] = Ut(!e);
|
|
2725
|
+
e && o && a(!1);
|
|
2726
|
+
const c = Zo({
|
|
2727
|
+
in: !!e,
|
|
2728
|
+
onTransition: (f) => {
|
|
2729
|
+
const l = () => {
|
|
2730
|
+
f.isStale() || (f.in ? r == null || r(f.element, f.initial) : (a(!0), n == null || n(f.element)));
|
|
2731
|
+
};
|
|
2732
|
+
Promise.resolve(i(f)).then(l, (d) => {
|
|
2733
|
+
throw f.in || a(!0), d;
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
}), u = ee(c, t.ref);
|
|
2737
|
+
return o && !e ? null : /* @__PURE__ */ sn(t, {
|
|
2738
|
+
ref: u
|
|
2739
|
+
});
|
|
2740
|
+
}
|
|
2741
|
+
function es(t, e, n) {
|
|
2742
|
+
return t ? /* @__PURE__ */ T.jsx(t, Object.assign({}, n)) : e ? /* @__PURE__ */ T.jsx(ts, Object.assign({}, n, {
|
|
2743
|
+
transition: e
|
|
2744
|
+
})) : /* @__PURE__ */ T.jsx($o, Object.assign({}, n));
|
|
2745
|
+
}
|
|
2746
|
+
const xr = /* @__PURE__ */ gt.forwardRef((t, e) => {
|
|
2747
|
+
const {
|
|
2748
|
+
flip: n,
|
|
2749
|
+
offset: r,
|
|
2750
|
+
placement: i,
|
|
2751
|
+
containerPadding: o,
|
|
2752
|
+
popperConfig: a = {},
|
|
2753
|
+
transition: c,
|
|
2754
|
+
runTransition: u
|
|
2755
|
+
} = t, [f, l] = Un(), [d, _] = Un(), h = ee(l, e), y = er(t.container), b = er(t.target), [v, O] = Ut(!t.show), P = Mo(b, f, Ko({
|
|
2756
|
+
placement: i,
|
|
2757
|
+
enableEvents: !!t.show,
|
|
2758
|
+
containerPadding: o || 5,
|
|
2759
|
+
flip: n,
|
|
2760
|
+
offset: r,
|
|
2761
|
+
arrowElement: d,
|
|
2762
|
+
popperConfig: a
|
|
2763
|
+
}));
|
|
2764
|
+
t.show && v && O(!1);
|
|
2765
|
+
const R = (...Z) => {
|
|
2766
|
+
O(!0), t.onExited && t.onExited(...Z);
|
|
2767
|
+
}, A = t.show || !v;
|
|
2768
|
+
if (Jo(f, t.onHide, {
|
|
2769
|
+
disabled: !t.rootClose || t.rootCloseDisabled,
|
|
2770
|
+
clickTrigger: t.rootCloseEvent
|
|
2771
|
+
}), !A)
|
|
2772
|
+
return null;
|
|
2773
|
+
const {
|
|
2774
|
+
onExit: p,
|
|
2775
|
+
onExiting: C,
|
|
2776
|
+
onEnter: B,
|
|
2777
|
+
onEntering: G,
|
|
2778
|
+
onEntered: X
|
|
2779
|
+
} = t;
|
|
2780
|
+
let J = t.children(Object.assign({}, P.attributes.popper, {
|
|
2781
|
+
style: P.styles.popper,
|
|
2782
|
+
ref: h
|
|
2783
|
+
}), {
|
|
2784
|
+
popper: P,
|
|
2785
|
+
placement: i,
|
|
2786
|
+
show: !!t.show,
|
|
2787
|
+
arrowProps: Object.assign({}, P.attributes.arrow, {
|
|
2788
|
+
style: P.styles.arrow,
|
|
2789
|
+
ref: _
|
|
2790
|
+
})
|
|
2791
|
+
});
|
|
2792
|
+
return J = es(c, u, {
|
|
2793
|
+
in: !!t.show,
|
|
2794
|
+
appear: !0,
|
|
2795
|
+
mountOnEnter: !0,
|
|
2796
|
+
unmountOnExit: !0,
|
|
2797
|
+
children: J,
|
|
2798
|
+
onExit: p,
|
|
2799
|
+
onExiting: C,
|
|
2800
|
+
onExited: R,
|
|
2801
|
+
onEnter: B,
|
|
2802
|
+
onEntering: G,
|
|
2803
|
+
onEntered: X
|
|
2804
|
+
}), y ? /* @__PURE__ */ Kt.createPortal(J, y) : null;
|
|
2805
|
+
});
|
|
2806
|
+
xr.displayName = "Overlay";
|
|
2807
|
+
function nr(t, e) {
|
|
2808
|
+
return t.classList ? !!e && t.classList.contains(e) : (" " + (t.className.baseVal || t.className) + " ").indexOf(" " + e + " ") !== -1;
|
|
2809
|
+
}
|
|
2810
|
+
const ns = ["xxl", "xl", "lg", "md", "sm", "xs"], rs = "xs", Er = /* @__PURE__ */ gt.createContext({
|
|
2811
|
+
prefixes: {},
|
|
2812
|
+
breakpoints: ns,
|
|
2813
|
+
minBreakpoint: rs
|
|
2814
|
+
});
|
|
2815
|
+
function Nt(t, e) {
|
|
2816
|
+
const {
|
|
2817
|
+
prefixes: n
|
|
2818
|
+
} = on(Er);
|
|
2819
|
+
return t || n[e] || e;
|
|
2820
|
+
}
|
|
2821
|
+
function Ar() {
|
|
2822
|
+
const {
|
|
2823
|
+
dir: t
|
|
2824
|
+
} = on(Er);
|
|
2825
|
+
return t === "rtl";
|
|
2826
|
+
}
|
|
2827
|
+
const Or = /* @__PURE__ */ gt.forwardRef(({
|
|
2828
|
+
className: t,
|
|
2829
|
+
bsPrefix: e,
|
|
2830
|
+
as: n = "div",
|
|
2831
|
+
...r
|
|
2832
|
+
}, i) => (e = Nt(e, "popover-header"), /* @__PURE__ */ T.jsx(n, {
|
|
2833
|
+
ref: i,
|
|
2834
|
+
className: Yt(t, e),
|
|
2835
|
+
...r
|
|
2836
|
+
})));
|
|
2837
|
+
Or.displayName = "PopoverHeader";
|
|
2838
|
+
const vn = /* @__PURE__ */ gt.forwardRef(({
|
|
2839
|
+
className: t,
|
|
2840
|
+
bsPrefix: e,
|
|
2841
|
+
as: n = "div",
|
|
2842
|
+
...r
|
|
2843
|
+
}, i) => (e = Nt(e, "popover-body"), /* @__PURE__ */ T.jsx(n, {
|
|
2844
|
+
ref: i,
|
|
2845
|
+
className: Yt(t, e),
|
|
2846
|
+
...r
|
|
2847
|
+
})));
|
|
2848
|
+
vn.displayName = "PopoverBody";
|
|
2849
|
+
function Rr(t, e) {
|
|
2850
|
+
let n = t;
|
|
2851
|
+
return t === "left" ? n = e ? "end" : "start" : t === "right" && (n = e ? "start" : "end"), n;
|
|
2852
|
+
}
|
|
2853
|
+
function Cr(t = "absolute") {
|
|
2854
|
+
return {
|
|
2855
|
+
position: t,
|
|
2856
|
+
top: "0",
|
|
2857
|
+
left: "0",
|
|
2858
|
+
opacity: "0",
|
|
2859
|
+
pointerEvents: "none"
|
|
2860
|
+
};
|
|
2861
|
+
}
|
|
2862
|
+
const is = /* @__PURE__ */ gt.forwardRef(({
|
|
2863
|
+
bsPrefix: t,
|
|
2864
|
+
placement: e = "right",
|
|
2865
|
+
className: n,
|
|
2866
|
+
style: r,
|
|
2867
|
+
children: i,
|
|
2868
|
+
body: o,
|
|
2869
|
+
arrowProps: a,
|
|
2870
|
+
hasDoneInitialMeasure: c,
|
|
2871
|
+
popper: u,
|
|
2872
|
+
show: f,
|
|
2873
|
+
...l
|
|
2874
|
+
}, d) => {
|
|
2875
|
+
const _ = Nt(t, "popover"), h = Ar(), [y] = (e == null ? void 0 : e.split("-")) || [], b = Rr(y, h);
|
|
2876
|
+
let v = r;
|
|
2877
|
+
return f && !c && (v = {
|
|
2878
|
+
...r,
|
|
2879
|
+
...Cr(u == null ? void 0 : u.strategy)
|
|
2880
|
+
}), /* @__PURE__ */ T.jsxs("div", {
|
|
2881
|
+
ref: d,
|
|
2882
|
+
role: "tooltip",
|
|
2883
|
+
style: v,
|
|
2884
|
+
"x-placement": y,
|
|
2885
|
+
className: Yt(n, _, y && `bs-popover-${b}`),
|
|
2886
|
+
...l,
|
|
2887
|
+
children: [/* @__PURE__ */ T.jsx("div", {
|
|
2888
|
+
className: "popover-arrow",
|
|
2889
|
+
...a
|
|
2890
|
+
}), o ? /* @__PURE__ */ T.jsx(vn, {
|
|
2891
|
+
children: i
|
|
2892
|
+
}) : i]
|
|
2893
|
+
});
|
|
2894
|
+
}), tn = Object.assign(is, {
|
|
2895
|
+
Header: Or,
|
|
2896
|
+
Body: vn,
|
|
2897
|
+
// Default popover offset.
|
|
2898
|
+
// https://github.com/twbs/bootstrap/blob/5c32767e0e0dbac2d934bcdee03719a65d3f1187/js/src/popover.js#L28
|
|
2899
|
+
POPPER_OFFSET: [0, 8]
|
|
2900
|
+
}), Tr = /* @__PURE__ */ gt.forwardRef(({
|
|
2901
|
+
bsPrefix: t,
|
|
2902
|
+
placement: e = "right",
|
|
2903
|
+
className: n,
|
|
2904
|
+
style: r,
|
|
2905
|
+
children: i,
|
|
2906
|
+
arrowProps: o,
|
|
2907
|
+
hasDoneInitialMeasure: a,
|
|
2908
|
+
popper: c,
|
|
2909
|
+
show: u,
|
|
2910
|
+
...f
|
|
2911
|
+
}, l) => {
|
|
2912
|
+
t = Nt(t, "tooltip");
|
|
2913
|
+
const d = Ar(), [_] = (e == null ? void 0 : e.split("-")) || [], h = Rr(_, d);
|
|
2914
|
+
let y = r;
|
|
2915
|
+
return u && !a && (y = {
|
|
2916
|
+
...r,
|
|
2917
|
+
...Cr(c == null ? void 0 : c.strategy)
|
|
2918
|
+
}), /* @__PURE__ */ T.jsxs("div", {
|
|
2919
|
+
ref: l,
|
|
2920
|
+
style: y,
|
|
2921
|
+
role: "tooltip",
|
|
2922
|
+
"x-placement": _,
|
|
2923
|
+
className: Yt(n, t, `bs-tooltip-${h}`),
|
|
2924
|
+
...f,
|
|
2925
|
+
children: [/* @__PURE__ */ T.jsx("div", {
|
|
2926
|
+
className: "tooltip-arrow",
|
|
2927
|
+
...o
|
|
2928
|
+
}), /* @__PURE__ */ T.jsx("div", {
|
|
2929
|
+
className: `${t}-inner`,
|
|
2930
|
+
children: i
|
|
2931
|
+
})]
|
|
2932
|
+
});
|
|
2933
|
+
});
|
|
2934
|
+
Tr.displayName = "Tooltip";
|
|
2935
|
+
const Sr = Object.assign(Tr, {
|
|
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 os(t) {
|
|
2941
|
+
const e = ct(null), n = Nt(void 0, "popover"), r = Nt(void 0, "tooltip"), i = pe(() => ({
|
|
2942
|
+
name: "offset",
|
|
2943
|
+
options: {
|
|
2944
|
+
offset: () => {
|
|
2945
|
+
if (t)
|
|
2946
|
+
return t;
|
|
2947
|
+
if (e.current) {
|
|
2948
|
+
if (nr(e.current, n))
|
|
2949
|
+
return tn.POPPER_OFFSET;
|
|
2950
|
+
if (nr(e.current, r))
|
|
2951
|
+
return Sr.TOOLTIP_OFFSET;
|
|
2952
|
+
}
|
|
2953
|
+
return [0, 0];
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
}), [t, n, r]);
|
|
2957
|
+
return [e, [i]];
|
|
2958
|
+
}
|
|
2959
|
+
const rr = {
|
|
2960
|
+
disabled: !1
|
|
2961
|
+
};
|
|
2962
|
+
var ss = 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 kr = Ot.createContext(null);
|
|
2980
|
+
var as = function(e) {
|
|
2981
|
+
return e.scrollTop;
|
|
2982
|
+
}, ue = "unmounted", Ft = "exited", kt = "entering", Mt = "entered", en = "exiting", Ct = /* @__PURE__ */ function(t) {
|
|
2983
|
+
Ei(e, t);
|
|
2984
|
+
function e(r, i) {
|
|
2985
|
+
var o;
|
|
2986
|
+
o = t.call(this, r, i) || this;
|
|
2987
|
+
var a = i, c = a && !a.isMounting ? r.enter : r.appear, u;
|
|
2988
|
+
return o.appearStatus = null, r.in ? c ? (u = Ft, o.appearStatus = kt) : u = Mt : r.unmountOnExit || r.mountOnEnter ? u = ue : u = Ft, o.state = {
|
|
2989
|
+
status: u
|
|
2990
|
+
}, o.nextCallback = null, o;
|
|
2991
|
+
}
|
|
2992
|
+
e.getDerivedStateFromProps = function(i, o) {
|
|
2993
|
+
var a = i.in;
|
|
2994
|
+
return a && o.status === ue ? {
|
|
2995
|
+
status: Ft
|
|
2996
|
+
} : null;
|
|
2997
|
+
};
|
|
2998
|
+
var n = e.prototype;
|
|
2999
|
+
return n.componentDidMount = function() {
|
|
3000
|
+
this.updateStatus(!0, this.appearStatus);
|
|
3001
|
+
}, n.componentDidUpdate = function(i) {
|
|
3002
|
+
var o = null;
|
|
3003
|
+
if (i !== this.props) {
|
|
3004
|
+
var a = this.state.status;
|
|
3005
|
+
this.props.in ? a !== kt && a !== Mt && (o = kt) : (a === kt || a === Mt) && (o = en);
|
|
3006
|
+
}
|
|
3007
|
+
this.updateStatus(!1, o);
|
|
3008
|
+
}, n.componentWillUnmount = function() {
|
|
3009
|
+
this.cancelNextCallback();
|
|
3010
|
+
}, n.getTimeouts = function() {
|
|
3011
|
+
var i = this.props.timeout, o, a, c;
|
|
3012
|
+
return o = a = c = i, i != null && typeof i != "number" && (o = i.exit, a = i.enter, c = i.appear !== void 0 ? i.appear : a), {
|
|
3013
|
+
exit: o,
|
|
3014
|
+
enter: a,
|
|
3015
|
+
appear: c
|
|
3016
|
+
};
|
|
3017
|
+
}, n.updateStatus = function(i, o) {
|
|
3018
|
+
if (i === void 0 && (i = !1), o !== null)
|
|
3019
|
+
if (this.cancelNextCallback(), o === kt) {
|
|
3020
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
3021
|
+
var a = this.props.nodeRef ? this.props.nodeRef.current : Kt.findDOMNode(this);
|
|
3022
|
+
a && as(a);
|
|
3023
|
+
}
|
|
3024
|
+
this.performEnter(i);
|
|
3025
|
+
} else
|
|
3026
|
+
this.performExit();
|
|
3027
|
+
else this.props.unmountOnExit && this.state.status === Ft && this.setState({
|
|
3028
|
+
status: ue
|
|
3029
|
+
});
|
|
3030
|
+
}, n.performEnter = function(i) {
|
|
3031
|
+
var o = this, a = this.props.enter, c = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [c] : [Kt.findDOMNode(this), c], f = u[0], l = u[1], d = this.getTimeouts(), _ = c ? d.appear : d.enter;
|
|
3032
|
+
if (!i && !a || rr.disabled) {
|
|
3033
|
+
this.safeSetState({
|
|
3034
|
+
status: Mt
|
|
3035
|
+
}, function() {
|
|
3036
|
+
o.props.onEntered(f);
|
|
3037
|
+
});
|
|
3038
|
+
return;
|
|
3039
|
+
}
|
|
3040
|
+
this.props.onEnter(f, l), this.safeSetState({
|
|
3041
|
+
status: kt
|
|
3042
|
+
}, function() {
|
|
3043
|
+
o.props.onEntering(f, l), o.onTransitionEnd(_, function() {
|
|
3044
|
+
o.safeSetState({
|
|
3045
|
+
status: Mt
|
|
3046
|
+
}, function() {
|
|
3047
|
+
o.props.onEntered(f, l);
|
|
3048
|
+
});
|
|
3049
|
+
});
|
|
3050
|
+
});
|
|
3051
|
+
}, n.performExit = function() {
|
|
3052
|
+
var i = this, o = this.props.exit, a = this.getTimeouts(), c = this.props.nodeRef ? void 0 : Kt.findDOMNode(this);
|
|
3053
|
+
if (!o || rr.disabled) {
|
|
3054
|
+
this.safeSetState({
|
|
3055
|
+
status: Ft
|
|
3056
|
+
}, function() {
|
|
3057
|
+
i.props.onExited(c);
|
|
3058
|
+
});
|
|
3059
|
+
return;
|
|
3060
|
+
}
|
|
3061
|
+
this.props.onExit(c), this.safeSetState({
|
|
3062
|
+
status: en
|
|
3063
|
+
}, function() {
|
|
3064
|
+
i.props.onExiting(c), i.onTransitionEnd(a.exit, function() {
|
|
3065
|
+
i.safeSetState({
|
|
3066
|
+
status: Ft
|
|
3067
|
+
}, function() {
|
|
3068
|
+
i.props.onExited(c);
|
|
3069
|
+
});
|
|
3070
|
+
});
|
|
3071
|
+
});
|
|
3072
|
+
}, n.cancelNextCallback = function() {
|
|
3073
|
+
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
3074
|
+
}, n.safeSetState = function(i, o) {
|
|
3075
|
+
o = this.setNextCallback(o), this.setState(i, o);
|
|
3076
|
+
}, n.setNextCallback = function(i) {
|
|
3077
|
+
var o = this, a = !0;
|
|
3078
|
+
return this.nextCallback = function(c) {
|
|
3079
|
+
a && (a = !1, o.nextCallback = null, i(c));
|
|
3080
|
+
}, this.nextCallback.cancel = function() {
|
|
3081
|
+
a = !1;
|
|
3082
|
+
}, this.nextCallback;
|
|
3083
|
+
}, n.onTransitionEnd = function(i, o) {
|
|
3084
|
+
this.setNextCallback(o);
|
|
3085
|
+
var a = this.props.nodeRef ? this.props.nodeRef.current : Kt.findDOMNode(this), c = i == null && !this.props.addEndListener;
|
|
3086
|
+
if (!a || c) {
|
|
3087
|
+
setTimeout(this.nextCallback, 0);
|
|
3088
|
+
return;
|
|
3089
|
+
}
|
|
3090
|
+
if (this.props.addEndListener) {
|
|
3091
|
+
var u = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], f = u[0], l = u[1];
|
|
3092
|
+
this.props.addEndListener(f, l);
|
|
3093
|
+
}
|
|
3094
|
+
i != null && setTimeout(this.nextCallback, i);
|
|
3095
|
+
}, n.render = function() {
|
|
3096
|
+
var i = this.state.status;
|
|
3097
|
+
if (i === ue)
|
|
3098
|
+
return null;
|
|
3099
|
+
var o = this.props, a = o.children;
|
|
3100
|
+
o.in, o.mountOnEnter, o.unmountOnExit, o.appear, o.enter, o.exit, o.timeout, o.addEndListener, o.onEnter, o.onEntering, o.onEntered, o.onExit, o.onExiting, o.onExited, o.nodeRef;
|
|
3101
|
+
var c = wi(o, ["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__ */ Ot.createElement(kr.Provider, {
|
|
3105
|
+
value: null
|
|
3106
|
+
}, typeof a == "function" ? a(i, c) : Ot.cloneElement(Ot.Children.only(a), c))
|
|
3107
|
+
);
|
|
3108
|
+
}, e;
|
|
3109
|
+
}(Ot.Component);
|
|
3110
|
+
Ct.contextType = kr;
|
|
3111
|
+
Ct.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(t, e, n, r, i, o) {
|
|
3125
|
+
var a = t[e];
|
|
3126
|
+
return N.instanceOf(a && "ownerDocument" in a ? a.ownerDocument.defaultView.Element : Element)(t, e, n, r, i, o);
|
|
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(e) {
|
|
3207
|
+
var n = ss;
|
|
3208
|
+
e.addEndListener || (n = n.isRequired);
|
|
3209
|
+
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
3210
|
+
i[o - 1] = arguments[o];
|
|
3211
|
+
return n.apply(void 0, [e].concat(i));
|
|
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 zt() {
|
|
3281
|
+
}
|
|
3282
|
+
Ct.defaultProps = {
|
|
3283
|
+
in: !1,
|
|
3284
|
+
mountOnEnter: !1,
|
|
3285
|
+
unmountOnExit: !1,
|
|
3286
|
+
appear: !1,
|
|
3287
|
+
enter: !0,
|
|
3288
|
+
exit: !0,
|
|
3289
|
+
onEnter: zt,
|
|
3290
|
+
onEntering: zt,
|
|
3291
|
+
onEntered: zt,
|
|
3292
|
+
onExit: zt,
|
|
3293
|
+
onExiting: zt,
|
|
3294
|
+
onExited: zt
|
|
3295
|
+
};
|
|
3296
|
+
Ct.UNMOUNTED = ue;
|
|
3297
|
+
Ct.EXITED = Ft;
|
|
3298
|
+
Ct.ENTERING = kt;
|
|
3299
|
+
Ct.ENTERED = Mt;
|
|
3300
|
+
Ct.EXITING = en;
|
|
3301
|
+
function cs(t) {
|
|
3302
|
+
var e = ke(t);
|
|
3303
|
+
return e && e.defaultView || window;
|
|
3304
|
+
}
|
|
3305
|
+
function us(t, e) {
|
|
3306
|
+
return cs(t).getComputedStyle(t, e);
|
|
3307
|
+
}
|
|
3308
|
+
var ls = /([A-Z])/g;
|
|
3309
|
+
function fs(t) {
|
|
3310
|
+
return t.replace(ls, "-$1").toLowerCase();
|
|
3311
|
+
}
|
|
3312
|
+
var ds = /^ms-/;
|
|
3313
|
+
function Ae(t) {
|
|
3314
|
+
return fs(t).replace(ds, "-ms-");
|
|
3315
|
+
}
|
|
3316
|
+
var ps = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
|
|
3317
|
+
function gs(t) {
|
|
3318
|
+
return !!(t && ps.test(t));
|
|
3319
|
+
}
|
|
3320
|
+
function Ir(t, e) {
|
|
3321
|
+
var n = "", r = "";
|
|
3322
|
+
if (typeof e == "string")
|
|
3323
|
+
return t.style.getPropertyValue(Ae(e)) || us(t).getPropertyValue(Ae(e));
|
|
3324
|
+
Object.keys(e).forEach(function(i) {
|
|
3325
|
+
var o = e[i];
|
|
3326
|
+
!o && o !== 0 ? t.style.removeProperty(Ae(i)) : gs(i) ? r += i + "(" + o + ") " : n += Ae(i) + ": " + o + ";";
|
|
3327
|
+
}), r && (n += "transform: " + r + ";"), t.style.cssText += ";" + n;
|
|
3328
|
+
}
|
|
3329
|
+
function ms(t, e, n, r) {
|
|
3330
|
+
if (r === void 0 && (r = !0), t) {
|
|
3331
|
+
var i = document.createEvent("HTMLEvents");
|
|
3332
|
+
i.initEvent(e, n, r), t.dispatchEvent(i);
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
function _s(t) {
|
|
3336
|
+
var e = Ir(t, "transitionDuration") || "", n = e.indexOf("ms") === -1 ? 1e3 : 1;
|
|
3337
|
+
return parseFloat(e) * n;
|
|
3338
|
+
}
|
|
3339
|
+
function vs(t, e, n) {
|
|
3340
|
+
n === void 0 && (n = 5);
|
|
3341
|
+
var r = !1, i = setTimeout(function() {
|
|
3342
|
+
r || ms(t, "transitionend", !0);
|
|
3343
|
+
}, e + n), o = Bt(t, "transitionend", function() {
|
|
3344
|
+
r = !0;
|
|
3345
|
+
}, {
|
|
3346
|
+
once: !0
|
|
3347
|
+
});
|
|
3348
|
+
return function() {
|
|
3349
|
+
clearTimeout(i), o();
|
|
3350
|
+
};
|
|
3351
|
+
}
|
|
3352
|
+
function hs(t, e, n, r) {
|
|
3353
|
+
n == null && (n = _s(t) || 0);
|
|
3354
|
+
var i = vs(t, n, r), o = Bt(t, "transitionend", e);
|
|
3355
|
+
return function() {
|
|
3356
|
+
i(), o();
|
|
3357
|
+
};
|
|
3358
|
+
}
|
|
3359
|
+
function ir(t, e) {
|
|
3360
|
+
const n = Ir(t, e) || "", r = n.indexOf("ms") === -1 ? 1e3 : 1;
|
|
3361
|
+
return parseFloat(n) * r;
|
|
3362
|
+
}
|
|
3363
|
+
function ys(t, e) {
|
|
3364
|
+
const n = ir(t, "transitionDuration"), r = ir(t, "transitionDelay"), i = hs(t, (o) => {
|
|
3365
|
+
o.target === t && (i(), e(o));
|
|
3366
|
+
}, n + r);
|
|
3367
|
+
}
|
|
3368
|
+
function bs(t) {
|
|
3369
|
+
t.offsetHeight;
|
|
3370
|
+
}
|
|
3371
|
+
function Te(t) {
|
|
3372
|
+
return t && "setState" in t ? Kt.findDOMNode(t) : t ?? null;
|
|
3373
|
+
}
|
|
3374
|
+
const Ps = /* @__PURE__ */ Ot.forwardRef(({
|
|
3375
|
+
onEnter: t,
|
|
3376
|
+
onEntering: e,
|
|
3377
|
+
onEntered: n,
|
|
3378
|
+
onExit: r,
|
|
3379
|
+
onExiting: i,
|
|
3380
|
+
onExited: o,
|
|
3381
|
+
addEndListener: a,
|
|
3382
|
+
children: c,
|
|
3383
|
+
childRef: u,
|
|
3384
|
+
...f
|
|
3385
|
+
}, l) => {
|
|
3386
|
+
const d = ct(null), _ = ee(d, u), h = (C) => {
|
|
3387
|
+
_(Te(C));
|
|
3388
|
+
}, y = (C) => (B) => {
|
|
3389
|
+
C && d.current && C(d.current, B);
|
|
3390
|
+
}, b = it(y(t), [t]), v = it(y(e), [e]), O = it(y(n), [n]), P = it(y(r), [r]), R = it(y(i), [i]), A = it(y(o), [o]), p = it(y(a), [a]);
|
|
3391
|
+
return /* @__PURE__ */ T.jsx(Ct, {
|
|
3392
|
+
ref: l,
|
|
3393
|
+
...f,
|
|
3394
|
+
onEnter: b,
|
|
3395
|
+
onEntered: O,
|
|
3396
|
+
onEntering: v,
|
|
3397
|
+
onExit: P,
|
|
3398
|
+
onExited: A,
|
|
3399
|
+
onExiting: R,
|
|
3400
|
+
addEndListener: p,
|
|
3401
|
+
nodeRef: d,
|
|
3402
|
+
children: typeof c == "function" ? (C, B) => (
|
|
3403
|
+
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
3404
|
+
c(C, {
|
|
3405
|
+
...B,
|
|
3406
|
+
ref: h
|
|
3407
|
+
})
|
|
3408
|
+
) : /* @__PURE__ */ Ot.cloneElement(c, {
|
|
3409
|
+
ref: h
|
|
3410
|
+
})
|
|
3411
|
+
});
|
|
3412
|
+
}), ws = {
|
|
3413
|
+
[kt]: "show",
|
|
3414
|
+
[Mt]: "show"
|
|
3415
|
+
}, nn = /* @__PURE__ */ gt.forwardRef(({
|
|
3416
|
+
className: t,
|
|
3417
|
+
children: e,
|
|
3418
|
+
transitionClasses: n = {},
|
|
3419
|
+
onEnter: r,
|
|
3420
|
+
...i
|
|
3421
|
+
}, o) => {
|
|
3422
|
+
const a = {
|
|
3423
|
+
in: !1,
|
|
3424
|
+
timeout: 300,
|
|
3425
|
+
mountOnEnter: !1,
|
|
3426
|
+
unmountOnExit: !1,
|
|
3427
|
+
appear: !1,
|
|
3428
|
+
...i
|
|
3429
|
+
}, c = it((u, f) => {
|
|
3430
|
+
bs(u), r == null || r(u, f);
|
|
3431
|
+
}, [r]);
|
|
3432
|
+
return /* @__PURE__ */ T.jsx(Ps, {
|
|
3433
|
+
ref: o,
|
|
3434
|
+
addEndListener: ys,
|
|
3435
|
+
...a,
|
|
3436
|
+
onEnter: c,
|
|
3437
|
+
childRef: e.ref,
|
|
3438
|
+
children: (u, f) => /* @__PURE__ */ gt.cloneElement(e, {
|
|
3439
|
+
...f,
|
|
3440
|
+
className: Yt("fade", t, e.props.className, ws[u], n[u])
|
|
3441
|
+
})
|
|
3442
|
+
});
|
|
3443
|
+
});
|
|
3444
|
+
nn.displayName = "Fade";
|
|
3445
|
+
function xs(t, e) {
|
|
3446
|
+
const {
|
|
3447
|
+
ref: n
|
|
3448
|
+
} = t, {
|
|
3449
|
+
ref: r
|
|
3450
|
+
} = e;
|
|
3451
|
+
t.ref = n.__wrapped || (n.__wrapped = (i) => n(Te(i))), e.ref = r.__wrapped || (r.__wrapped = (i) => r(Te(i)));
|
|
3452
|
+
}
|
|
3453
|
+
const jr = /* @__PURE__ */ gt.forwardRef(({
|
|
3454
|
+
children: t,
|
|
3455
|
+
transition: e = nn,
|
|
3456
|
+
popperConfig: n = {},
|
|
3457
|
+
rootClose: r = !1,
|
|
3458
|
+
placement: i = "top",
|
|
3459
|
+
show: o = !1,
|
|
3460
|
+
...a
|
|
3461
|
+
}, c) => {
|
|
3462
|
+
const u = ct({}), [f, l] = Ut(null), [d, _] = os(a.offset), h = ee(c, d), y = e === !0 ? nn : e || void 0, b = te((v) => {
|
|
3463
|
+
l(v), n == null || n.onFirstUpdate == null || n.onFirstUpdate(v);
|
|
3464
|
+
});
|
|
3465
|
+
return Ze(() => {
|
|
3466
|
+
f && a.target && (u.current.scheduleUpdate == null || u.current.scheduleUpdate());
|
|
3467
|
+
}, [f, a.target]), ht(() => {
|
|
3468
|
+
o || l(null);
|
|
3469
|
+
}, [o]), /* @__PURE__ */ T.jsx(xr, {
|
|
3470
|
+
...a,
|
|
3471
|
+
ref: h,
|
|
3472
|
+
popperConfig: {
|
|
3473
|
+
...n,
|
|
3474
|
+
modifiers: _.concat(n.modifiers || []),
|
|
3475
|
+
onFirstUpdate: b
|
|
3476
|
+
},
|
|
3477
|
+
transition: y,
|
|
3478
|
+
rootClose: r,
|
|
3479
|
+
placement: i,
|
|
3480
|
+
show: o,
|
|
3481
|
+
children: (v, {
|
|
3482
|
+
arrowProps: O,
|
|
3483
|
+
popper: P,
|
|
3484
|
+
show: R
|
|
3485
|
+
}) => {
|
|
3486
|
+
var A, p;
|
|
3487
|
+
xs(v, O);
|
|
3488
|
+
const C = P == null ? void 0 : P.placement, B = Object.assign(u.current, {
|
|
3489
|
+
state: P == null ? void 0 : P.state,
|
|
3490
|
+
scheduleUpdate: P == null ? void 0 : P.update,
|
|
3491
|
+
placement: C,
|
|
3492
|
+
outOfBoundaries: (P == null || (A = P.state) == null || (p = A.modifiersData.hide) == null ? void 0 : p.isReferenceHidden) || !1,
|
|
3493
|
+
strategy: n.strategy
|
|
3494
|
+
}), G = !!f;
|
|
3495
|
+
return typeof t == "function" ? t({
|
|
3496
|
+
...v,
|
|
3497
|
+
placement: C,
|
|
3498
|
+
show: R,
|
|
3499
|
+
...!e && R && {
|
|
3500
|
+
className: "show"
|
|
3501
|
+
},
|
|
3502
|
+
popper: B,
|
|
3503
|
+
arrowProps: O,
|
|
3504
|
+
hasDoneInitialMeasure: G
|
|
3505
|
+
}) : /* @__PURE__ */ gt.cloneElement(t, {
|
|
3506
|
+
...v,
|
|
3507
|
+
placement: C,
|
|
3508
|
+
arrowProps: O,
|
|
3509
|
+
popper: B,
|
|
3510
|
+
hasDoneInitialMeasure: G,
|
|
3511
|
+
className: Yt(t.props.className, !e && R && "show"),
|
|
3512
|
+
style: {
|
|
3513
|
+
...t.props.style,
|
|
3514
|
+
...v.style
|
|
3515
|
+
}
|
|
3516
|
+
});
|
|
3517
|
+
}
|
|
3518
|
+
});
|
|
3519
|
+
});
|
|
3520
|
+
jr.displayName = "Overlay";
|
|
3521
|
+
function Es(t) {
|
|
3522
|
+
return t && typeof t == "object" ? t : {
|
|
3523
|
+
show: t,
|
|
3524
|
+
hide: t
|
|
3525
|
+
};
|
|
3526
|
+
}
|
|
3527
|
+
function or(t, e, n) {
|
|
3528
|
+
const [r] = e, i = r.currentTarget, o = r.relatedTarget || r.nativeEvent[n];
|
|
3529
|
+
(!o || o !== i) && !Je(i, o) && t(...e);
|
|
3530
|
+
}
|
|
3531
|
+
N.oneOf(["click", "hover", "focus"]);
|
|
3532
|
+
const hn = ({
|
|
3533
|
+
trigger: t = ["hover", "focus"],
|
|
3534
|
+
overlay: e,
|
|
3535
|
+
children: n,
|
|
3536
|
+
popperConfig: r = {},
|
|
3537
|
+
show: i,
|
|
3538
|
+
defaultShow: o = !1,
|
|
3539
|
+
onToggle: a,
|
|
3540
|
+
delay: c,
|
|
3541
|
+
placement: u,
|
|
3542
|
+
flip: f = u && u.indexOf("auto") !== -1,
|
|
3543
|
+
...l
|
|
3544
|
+
}) => {
|
|
3545
|
+
const d = ct(null), _ = ee(d, n.ref), h = hi(), y = ct(""), [b, v] = xi(i, o, a), O = Es(c), {
|
|
3546
|
+
onFocus: P,
|
|
3547
|
+
onBlur: R,
|
|
3548
|
+
onClick: A
|
|
3549
|
+
} = typeof n != "function" ? gt.Children.only(n).props : {}, p = ($) => {
|
|
3550
|
+
_(Te($));
|
|
3551
|
+
}, C = it(() => {
|
|
3552
|
+
if (h.clear(), y.current = "show", !O.show) {
|
|
3553
|
+
v(!0);
|
|
3554
|
+
return;
|
|
3555
|
+
}
|
|
3556
|
+
h.set(() => {
|
|
3557
|
+
y.current === "show" && v(!0);
|
|
3558
|
+
}, O.show);
|
|
3559
|
+
}, [O.show, v, h]), B = it(() => {
|
|
3560
|
+
if (h.clear(), y.current = "hide", !O.hide) {
|
|
3561
|
+
v(!1);
|
|
3562
|
+
return;
|
|
3563
|
+
}
|
|
3564
|
+
h.set(() => {
|
|
3565
|
+
y.current === "hide" && v(!1);
|
|
3566
|
+
}, O.hide);
|
|
3567
|
+
}, [O.hide, v, h]), G = it((...$) => {
|
|
3568
|
+
C(), P == null || P(...$);
|
|
3569
|
+
}, [C, P]), X = it((...$) => {
|
|
3570
|
+
B(), R == null || R(...$);
|
|
3571
|
+
}, [B, R]), J = it((...$) => {
|
|
3572
|
+
v(!b), A == null || A(...$);
|
|
3573
|
+
}, [A, v, b]), Z = it((...$) => {
|
|
3574
|
+
or(C, $, "fromElement");
|
|
3575
|
+
}, [C]), ot = it((...$) => {
|
|
3576
|
+
or(B, $, "toElement");
|
|
3577
|
+
}, [B]), V = t == null ? [] : [].concat(t), 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" && fr(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 = ot), /* @__PURE__ */ T.jsxs(T.Fragment, {
|
|
3581
|
+
children: [typeof n == "function" ? n(q) : /* @__PURE__ */ sn(n, q), /* @__PURE__ */ T.jsx(jr, {
|
|
3582
|
+
...l,
|
|
3583
|
+
show: b,
|
|
3584
|
+
onHide: B,
|
|
3585
|
+
flip: f,
|
|
3586
|
+
placement: u,
|
|
3587
|
+
popperConfig: r,
|
|
3588
|
+
target: d.current,
|
|
3589
|
+
children: e
|
|
3590
|
+
})]
|
|
3591
|
+
});
|
|
3592
|
+
}, As = "_help_button_1s4g5_1", Os = {
|
|
3593
|
+
help_button: As
|
|
3594
|
+
};
|
|
3595
|
+
function Gs(t) {
|
|
3596
|
+
let e = /* @__PURE__ */ T.jsx("div", { className: Os.help_button, children: "?" });
|
|
3597
|
+
return t.popover != null && (e = /* @__PURE__ */ T.jsx(
|
|
3598
|
+
hn,
|
|
3599
|
+
{
|
|
3600
|
+
trigger: "click",
|
|
3601
|
+
rootClose: !0,
|
|
3602
|
+
placement: t.placement,
|
|
3603
|
+
overlay: t.popover,
|
|
3604
|
+
children: e
|
|
3605
|
+
}
|
|
3606
|
+
)), e;
|
|
3607
|
+
}
|
|
3608
|
+
const Rs = "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 qs() {
|
|
3610
|
+
return /* @__PURE__ */ T.jsx(
|
|
3611
|
+
"div",
|
|
3612
|
+
{
|
|
3613
|
+
style: {
|
|
3614
|
+
background: "transparent",
|
|
3615
|
+
border: "none",
|
|
3616
|
+
textAlign: "center"
|
|
3617
|
+
},
|
|
3618
|
+
children: /* @__PURE__ */ T.jsx(
|
|
3619
|
+
"img",
|
|
3620
|
+
{
|
|
3621
|
+
src: Rs,
|
|
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 Cs = ["as", "disabled"];
|
|
3635
|
+
function Ts(t, e) {
|
|
3636
|
+
if (t == null) return {};
|
|
3637
|
+
var n = {}, r = Object.keys(t), i, o;
|
|
3638
|
+
for (o = 0; o < r.length; o++)
|
|
3639
|
+
i = r[o], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
|
|
3640
|
+
return n;
|
|
3641
|
+
}
|
|
3642
|
+
function Ss(t) {
|
|
3643
|
+
return !t || t.trim() === "#";
|
|
3644
|
+
}
|
|
3645
|
+
function Dr({
|
|
3646
|
+
tagName: t,
|
|
3647
|
+
disabled: e,
|
|
3648
|
+
href: n,
|
|
3649
|
+
target: r,
|
|
3650
|
+
rel: i,
|
|
3651
|
+
role: o,
|
|
3652
|
+
onClick: a,
|
|
3653
|
+
tabIndex: c = 0,
|
|
3654
|
+
type: u
|
|
3655
|
+
}) {
|
|
3656
|
+
t || (n != null || r != null || i != null ? t = "a" : t = "button");
|
|
3657
|
+
const f = {
|
|
3658
|
+
tagName: t
|
|
3659
|
+
};
|
|
3660
|
+
if (t === "button")
|
|
3661
|
+
return [{
|
|
3662
|
+
type: u || "button",
|
|
3663
|
+
disabled: e
|
|
3664
|
+
}, f];
|
|
3665
|
+
const l = (_) => {
|
|
3666
|
+
if ((e || t === "a" && Ss(n)) && _.preventDefault(), e) {
|
|
3667
|
+
_.stopPropagation();
|
|
3668
|
+
return;
|
|
3669
|
+
}
|
|
3670
|
+
a == null || a(_);
|
|
3671
|
+
}, d = (_) => {
|
|
3672
|
+
_.key === " " && (_.preventDefault(), l(_));
|
|
3673
|
+
};
|
|
3674
|
+
return t === "a" && (n || (n = "#"), e && (n = void 0)), [{
|
|
3675
|
+
role: o ?? "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: e ? void 0 : c,
|
|
3680
|
+
href: n,
|
|
3681
|
+
target: t === "a" ? r : void 0,
|
|
3682
|
+
"aria-disabled": e || void 0,
|
|
3683
|
+
rel: t === "a" ? i : void 0,
|
|
3684
|
+
onClick: l,
|
|
3685
|
+
onKeyDown: d
|
|
3686
|
+
}, f];
|
|
3687
|
+
}
|
|
3688
|
+
const ks = /* @__PURE__ */ gt.forwardRef((t, e) => {
|
|
3689
|
+
let {
|
|
3690
|
+
as: n,
|
|
3691
|
+
disabled: r
|
|
3692
|
+
} = t, i = Ts(t, Cs);
|
|
3693
|
+
const [o, {
|
|
3694
|
+
tagName: a
|
|
3695
|
+
}] = Dr(Object.assign({
|
|
3696
|
+
tagName: n,
|
|
3697
|
+
disabled: r
|
|
3698
|
+
}, i));
|
|
3699
|
+
return /* @__PURE__ */ T.jsx(a, Object.assign({}, i, o, {
|
|
3700
|
+
ref: e
|
|
3701
|
+
}));
|
|
3702
|
+
});
|
|
3703
|
+
ks.displayName = "Button";
|
|
3704
|
+
const Fr = /* @__PURE__ */ gt.forwardRef(({
|
|
3705
|
+
as: t,
|
|
3706
|
+
bsPrefix: e,
|
|
3707
|
+
variant: n = "primary",
|
|
3708
|
+
size: r,
|
|
3709
|
+
active: i = !1,
|
|
3710
|
+
disabled: o = !1,
|
|
3711
|
+
className: a,
|
|
3712
|
+
...c
|
|
3713
|
+
}, u) => {
|
|
3714
|
+
const f = Nt(e, "btn"), [l, {
|
|
3715
|
+
tagName: d
|
|
3716
|
+
}] = Dr({
|
|
3717
|
+
tagName: t,
|
|
3718
|
+
disabled: o,
|
|
3719
|
+
...c
|
|
3720
|
+
}), _ = d;
|
|
3721
|
+
return /* @__PURE__ */ T.jsx(_, {
|
|
3722
|
+
...l,
|
|
3723
|
+
...c,
|
|
3724
|
+
ref: u,
|
|
3725
|
+
disabled: o,
|
|
3726
|
+
className: Yt(a, f, i && "active", n && `${f}-${n}`, r && `${f}-${r}`, c.href && o && "disabled")
|
|
3727
|
+
});
|
|
3728
|
+
});
|
|
3729
|
+
Fr.displayName = "Button";
|
|
3730
|
+
const Is = "_download_dropdown_menu_23m9j_1", js = {
|
|
3731
|
+
download_dropdown_menu: Is
|
|
3732
|
+
};
|
|
3733
|
+
function zs(t) {
|
|
3734
|
+
var e = `${t.aiida_rest_url}/nodes/${t.uuid}/download`, n = /* @__PURE__ */ T.jsx(tn, { children: /* @__PURE__ */ T.jsx(tn.Body, { style: { padding: "5px 0px" }, children: /* @__PURE__ */ T.jsxs("ul", { className: js.download_dropdown_menu, children: [
|
|
3735
|
+
/* @__PURE__ */ T.jsx("li", { children: /* @__PURE__ */ T.jsx("a", { href: `${e}?download_format=chemdoodle`, children: "ChemDoodle" }) }),
|
|
3736
|
+
/* @__PURE__ */ T.jsx("li", { children: /* @__PURE__ */ T.jsx("a", { href: `${e}?download_format=cif`, children: "CIF" }) }),
|
|
3737
|
+
/* @__PURE__ */ T.jsx("li", { children: /* @__PURE__ */ T.jsx("a", { href: `${e}?download_format=xsf`, children: "XSF" }) }),
|
|
3738
|
+
/* @__PURE__ */ T.jsx("li", { children: /* @__PURE__ */ T.jsx("a", { href: `${e}?download_format=xyz`, children: "XYZ" }) })
|
|
3739
|
+
] }) }) });
|
|
3740
|
+
return /* @__PURE__ */ T.jsx(
|
|
3741
|
+
hn,
|
|
3742
|
+
{
|
|
3743
|
+
trigger: "click",
|
|
3744
|
+
rootClose: !0,
|
|
3745
|
+
placement: "bottom",
|
|
3746
|
+
overlay: n,
|
|
3747
|
+
children: /* @__PURE__ */ T.jsx(
|
|
3748
|
+
Fr,
|
|
3749
|
+
{
|
|
3750
|
+
size: "sm",
|
|
3751
|
+
style: { margin: "4px", padding: "2px 7px" },
|
|
3752
|
+
title: "Download",
|
|
3753
|
+
children: /* @__PURE__ */ T.jsx("span", { className: "bi bi-download" })
|
|
3754
|
+
}
|
|
3755
|
+
)
|
|
3756
|
+
}
|
|
3757
|
+
);
|
|
3758
|
+
}
|
|
3759
|
+
const Ds = "data:image/png;base64,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";
|
|
3760
|
+
function Ks(t) {
|
|
3761
|
+
var e = `${t.explore_url}/details/${t.uuid}?nodeType=NODE`;
|
|
3762
|
+
return /* @__PURE__ */ T.jsx(
|
|
3763
|
+
hn,
|
|
3764
|
+
{
|
|
3765
|
+
placement: "bottom",
|
|
3766
|
+
overlay: /* @__PURE__ */ T.jsxs(Sr, { className: "explore_btn_tooltip", children: [
|
|
3767
|
+
"Browse provenance",
|
|
3768
|
+
/* @__PURE__ */ T.jsx("br", {}),
|
|
3769
|
+
t.uuid
|
|
3770
|
+
] }),
|
|
3771
|
+
children: /* @__PURE__ */ T.jsx("a", { href: e, target: "_blank", children: /* @__PURE__ */ T.jsx("img", { src: Ds, className: "explore_btn_aiida_logo" }) })
|
|
3772
|
+
}
|
|
3773
|
+
);
|
|
3774
|
+
}
|
|
3775
|
+
function Qs(t) {
|
|
3776
|
+
return t.split(/(\d+)/).map((n, r) => n.match(/\d+/) ? /* @__PURE__ */ T.jsx("sub", { children: n }, r) : n);
|
|
3777
|
+
}
|
|
3778
|
+
const Fs = {
|
|
3779
|
+
display: "inline-block",
|
|
3780
|
+
position: "relative"
|
|
3781
|
+
}, Ms = {
|
|
3782
|
+
position: "absolute",
|
|
3783
|
+
top: "0.15em",
|
|
3784
|
+
left: 0,
|
|
3785
|
+
right: 0,
|
|
3786
|
+
borderTop: "0.1em solid black",
|
|
3787
|
+
height: 0,
|
|
3788
|
+
zIndex: 1
|
|
3789
|
+
};
|
|
3790
|
+
function Xs(t) {
|
|
3791
|
+
let e = !1, n = !1;
|
|
3792
|
+
return /* @__PURE__ */ T.jsx("span", { children: t.split("").map((r, i) => r == "-" ? (n = !0, null) : r == "_" ? (e = !0, null) : n ? (n = !1, /* @__PURE__ */ T.jsxs("span", { style: Fs, children: [
|
|
3793
|
+
/* @__PURE__ */ T.jsx("span", { style: Ms }),
|
|
3794
|
+
r
|
|
3795
|
+
] }, i)) : e ? (e = !1, /* @__PURE__ */ T.jsx("sub", { children: r }, i)) : r) });
|
|
3796
|
+
}
|
|
3797
|
+
const rn = {
|
|
3798
|
+
1: {
|
|
3799
|
+
pg_int: "1",
|
|
3800
|
+
sg_int: "P1",
|
|
3801
|
+
sg_int_short: "P1"
|
|
3802
|
+
},
|
|
3803
|
+
2: {
|
|
3804
|
+
pg_int: "-1",
|
|
3805
|
+
sg_int: "P-1",
|
|
3806
|
+
sg_int_short: "P-1"
|
|
3807
|
+
},
|
|
3808
|
+
3: {
|
|
3809
|
+
pg_int: "2",
|
|
3810
|
+
sg_int: "P121",
|
|
3811
|
+
sg_int_short: "P2"
|
|
3812
|
+
},
|
|
3813
|
+
4: {
|
|
3814
|
+
pg_int: "2",
|
|
3815
|
+
sg_int: "P12_11",
|
|
3816
|
+
sg_int_short: "P2_1"
|
|
3817
|
+
},
|
|
3818
|
+
5: {
|
|
3819
|
+
pg_int: "2",
|
|
3820
|
+
sg_int: "C121",
|
|
3821
|
+
sg_int_short: "C2"
|
|
3822
|
+
},
|
|
3823
|
+
6: {
|
|
3824
|
+
pg_int: "m",
|
|
3825
|
+
sg_int: "P1m1",
|
|
3826
|
+
sg_int_short: "Pm"
|
|
3827
|
+
},
|
|
3828
|
+
7: {
|
|
3829
|
+
pg_int: "m",
|
|
3830
|
+
sg_int: "P1c1",
|
|
3831
|
+
sg_int_short: "Pc"
|
|
3832
|
+
},
|
|
3833
|
+
8: {
|
|
3834
|
+
pg_int: "m",
|
|
3835
|
+
sg_int: "C1m1",
|
|
3836
|
+
sg_int_short: "Cm"
|
|
3837
|
+
},
|
|
3838
|
+
9: {
|
|
3839
|
+
pg_int: "m",
|
|
3840
|
+
sg_int: "C1c1",
|
|
3841
|
+
sg_int_short: "Cc"
|
|
3842
|
+
},
|
|
3843
|
+
10: {
|
|
3844
|
+
pg_int: "2/m",
|
|
3845
|
+
sg_int: "P12/m1",
|
|
3846
|
+
sg_int_short: "P2/m"
|
|
3847
|
+
},
|
|
3848
|
+
11: {
|
|
3849
|
+
pg_int: "2/m",
|
|
3850
|
+
sg_int: "P12_1/m1",
|
|
3851
|
+
sg_int_short: "P2_1/m"
|
|
3852
|
+
},
|
|
3853
|
+
12: {
|
|
3854
|
+
pg_int: "2/m",
|
|
3855
|
+
sg_int: "C12/m1",
|
|
3856
|
+
sg_int_short: "C2/m"
|
|
3857
|
+
},
|
|
3858
|
+
13: {
|
|
3859
|
+
pg_int: "2/m",
|
|
3860
|
+
sg_int: "P12/c1",
|
|
3861
|
+
sg_int_short: "P2/c"
|
|
3862
|
+
},
|
|
3863
|
+
14: {
|
|
3864
|
+
pg_int: "2/m",
|
|
3865
|
+
sg_int: "P12_1/c1",
|
|
3866
|
+
sg_int_short: "P2_1/c"
|
|
3867
|
+
},
|
|
3868
|
+
15: {
|
|
3869
|
+
pg_int: "2/m",
|
|
3870
|
+
sg_int: "C12/c1",
|
|
3871
|
+
sg_int_short: "C2/c"
|
|
3872
|
+
},
|
|
3873
|
+
16: {
|
|
3874
|
+
pg_int: "222",
|
|
3875
|
+
sg_int: "P222",
|
|
3876
|
+
sg_int_short: "P222"
|
|
3877
|
+
},
|
|
3878
|
+
17: {
|
|
3879
|
+
pg_int: "222",
|
|
3880
|
+
sg_int: "P222_1",
|
|
3881
|
+
sg_int_short: "P222_1"
|
|
3882
|
+
},
|
|
3883
|
+
18: {
|
|
3884
|
+
pg_int: "222",
|
|
3885
|
+
sg_int: "P2_12_12",
|
|
3886
|
+
sg_int_short: "P2_12_12"
|
|
3887
|
+
},
|
|
3888
|
+
19: {
|
|
3889
|
+
pg_int: "222",
|
|
3890
|
+
sg_int: "P2_12_12_1",
|
|
3891
|
+
sg_int_short: "P2_12_12_1"
|
|
3892
|
+
},
|
|
3893
|
+
20: {
|
|
3894
|
+
pg_int: "222",
|
|
3895
|
+
sg_int: "C222_1",
|
|
3896
|
+
sg_int_short: "C222_1"
|
|
3897
|
+
},
|
|
3898
|
+
21: {
|
|
3899
|
+
pg_int: "222",
|
|
3900
|
+
sg_int: "C222",
|
|
3901
|
+
sg_int_short: "C222"
|
|
3902
|
+
},
|
|
3903
|
+
22: {
|
|
3904
|
+
pg_int: "222",
|
|
3905
|
+
sg_int: "F222",
|
|
3906
|
+
sg_int_short: "F222"
|
|
3907
|
+
},
|
|
3908
|
+
23: {
|
|
3909
|
+
pg_int: "222",
|
|
3910
|
+
sg_int: "I222",
|
|
3911
|
+
sg_int_short: "I222"
|
|
3912
|
+
},
|
|
3913
|
+
24: {
|
|
3914
|
+
pg_int: "222",
|
|
3915
|
+
sg_int: "I2_12_12_1",
|
|
3916
|
+
sg_int_short: "I2_12_12_1"
|
|
3917
|
+
},
|
|
3918
|
+
25: {
|
|
3919
|
+
pg_int: "mm2",
|
|
3920
|
+
sg_int: "Pmm2",
|
|
3921
|
+
sg_int_short: "Pmm2"
|
|
3922
|
+
},
|
|
3923
|
+
26: {
|
|
3924
|
+
pg_int: "mm2",
|
|
3925
|
+
sg_int: "Pmc2_1",
|
|
3926
|
+
sg_int_short: "Pmc2_1"
|
|
3927
|
+
},
|
|
3928
|
+
27: {
|
|
3929
|
+
pg_int: "mm2",
|
|
3930
|
+
sg_int: "Pcc2",
|
|
3931
|
+
sg_int_short: "Pcc2"
|
|
3932
|
+
},
|
|
3933
|
+
28: {
|
|
3934
|
+
pg_int: "mm2",
|
|
3935
|
+
sg_int: "Pma2",
|
|
3936
|
+
sg_int_short: "Pma2"
|
|
3937
|
+
},
|
|
3938
|
+
29: {
|
|
3939
|
+
pg_int: "mm2",
|
|
3940
|
+
sg_int: "Pca2_1",
|
|
3941
|
+
sg_int_short: "Pca2_1"
|
|
3942
|
+
},
|
|
3943
|
+
30: {
|
|
3944
|
+
pg_int: "mm2",
|
|
3945
|
+
sg_int: "Pnc2",
|
|
3946
|
+
sg_int_short: "Pnc2"
|
|
3947
|
+
},
|
|
3948
|
+
31: {
|
|
3949
|
+
pg_int: "mm2",
|
|
3950
|
+
sg_int: "Pmn2_1",
|
|
3951
|
+
sg_int_short: "Pmn2_1"
|
|
3952
|
+
},
|
|
3953
|
+
32: {
|
|
3954
|
+
pg_int: "mm2",
|
|
3955
|
+
sg_int: "Pba2",
|
|
3956
|
+
sg_int_short: "Pba2"
|
|
3957
|
+
},
|
|
3958
|
+
33: {
|
|
3959
|
+
pg_int: "mm2",
|
|
3960
|
+
sg_int: "Pna2_1",
|
|
3961
|
+
sg_int_short: "Pna2_1"
|
|
3962
|
+
},
|
|
3963
|
+
34: {
|
|
3964
|
+
pg_int: "mm2",
|
|
3965
|
+
sg_int: "Pnn2",
|
|
3966
|
+
sg_int_short: "Pnn2"
|
|
3967
|
+
},
|
|
3968
|
+
35: {
|
|
3969
|
+
pg_int: "mm2",
|
|
3970
|
+
sg_int: "Cmm2",
|
|
3971
|
+
sg_int_short: "Cmm2"
|
|
3972
|
+
},
|
|
3973
|
+
36: {
|
|
3974
|
+
pg_int: "mm2",
|
|
3975
|
+
sg_int: "Cmc2_1",
|
|
3976
|
+
sg_int_short: "Cmc2_1"
|
|
3977
|
+
},
|
|
3978
|
+
37: {
|
|
3979
|
+
pg_int: "mm2",
|
|
3980
|
+
sg_int: "Ccc2",
|
|
3981
|
+
sg_int_short: "Ccc2"
|
|
3982
|
+
},
|
|
3983
|
+
38: {
|
|
3984
|
+
pg_int: "mm2",
|
|
3985
|
+
sg_int: "Amm2",
|
|
3986
|
+
sg_int_short: "Amm2"
|
|
3987
|
+
},
|
|
3988
|
+
39: {
|
|
3989
|
+
pg_int: "mm2",
|
|
3990
|
+
sg_int: "Aem2",
|
|
3991
|
+
sg_int_short: "Aem2"
|
|
3992
|
+
},
|
|
3993
|
+
40: {
|
|
3994
|
+
pg_int: "mm2",
|
|
3995
|
+
sg_int: "Ama2",
|
|
3996
|
+
sg_int_short: "Ama2"
|
|
3997
|
+
},
|
|
3998
|
+
41: {
|
|
3999
|
+
pg_int: "mm2",
|
|
4000
|
+
sg_int: "Aea2",
|
|
4001
|
+
sg_int_short: "Aea2"
|
|
4002
|
+
},
|
|
4003
|
+
42: {
|
|
4004
|
+
pg_int: "mm2",
|
|
4005
|
+
sg_int: "Fmm2",
|
|
4006
|
+
sg_int_short: "Fmm2"
|
|
4007
|
+
},
|
|
4008
|
+
43: {
|
|
4009
|
+
pg_int: "mm2",
|
|
4010
|
+
sg_int: "Fdd2",
|
|
4011
|
+
sg_int_short: "Fdd2"
|
|
4012
|
+
},
|
|
4013
|
+
44: {
|
|
4014
|
+
pg_int: "mm2",
|
|
4015
|
+
sg_int: "Imm2",
|
|
4016
|
+
sg_int_short: "Imm2"
|
|
4017
|
+
},
|
|
4018
|
+
45: {
|
|
4019
|
+
pg_int: "mm2",
|
|
4020
|
+
sg_int: "Iba2",
|
|
4021
|
+
sg_int_short: "Iba2"
|
|
4022
|
+
},
|
|
4023
|
+
46: {
|
|
4024
|
+
pg_int: "mm2",
|
|
4025
|
+
sg_int: "Ima2",
|
|
4026
|
+
sg_int_short: "Ima2"
|
|
4027
|
+
},
|
|
4028
|
+
47: {
|
|
4029
|
+
pg_int: "mmm",
|
|
4030
|
+
sg_int: "Pmmm",
|
|
4031
|
+
sg_int_short: "Pmmm"
|
|
4032
|
+
},
|
|
4033
|
+
48: {
|
|
4034
|
+
pg_int: "mmm",
|
|
4035
|
+
sg_int: "Pnnn",
|
|
4036
|
+
sg_int_short: "Pnnn"
|
|
4037
|
+
},
|
|
4038
|
+
49: {
|
|
4039
|
+
pg_int: "mmm",
|
|
4040
|
+
sg_int: "Pccm",
|
|
4041
|
+
sg_int_short: "Pccm"
|
|
4042
|
+
},
|
|
4043
|
+
50: {
|
|
4044
|
+
pg_int: "mmm",
|
|
4045
|
+
sg_int: "Pban",
|
|
4046
|
+
sg_int_short: "Pban"
|
|
4047
|
+
},
|
|
4048
|
+
51: {
|
|
4049
|
+
pg_int: "mmm",
|
|
4050
|
+
sg_int: "Pmma",
|
|
4051
|
+
sg_int_short: "Pmma"
|
|
4052
|
+
},
|
|
4053
|
+
52: {
|
|
4054
|
+
pg_int: "mmm",
|
|
4055
|
+
sg_int: "Pnna",
|
|
4056
|
+
sg_int_short: "Pnna"
|
|
4057
|
+
},
|
|
4058
|
+
53: {
|
|
4059
|
+
pg_int: "mmm",
|
|
4060
|
+
sg_int: "Pmna",
|
|
4061
|
+
sg_int_short: "Pmna"
|
|
4062
|
+
},
|
|
4063
|
+
54: {
|
|
4064
|
+
pg_int: "mmm",
|
|
4065
|
+
sg_int: "Pcca",
|
|
4066
|
+
sg_int_short: "Pcca"
|
|
4067
|
+
},
|
|
4068
|
+
55: {
|
|
4069
|
+
pg_int: "mmm",
|
|
4070
|
+
sg_int: "Pbam",
|
|
4071
|
+
sg_int_short: "Pbam"
|
|
4072
|
+
},
|
|
4073
|
+
56: {
|
|
4074
|
+
pg_int: "mmm",
|
|
4075
|
+
sg_int: "Pccn",
|
|
4076
|
+
sg_int_short: "Pccn"
|
|
4077
|
+
},
|
|
4078
|
+
57: {
|
|
4079
|
+
pg_int: "mmm",
|
|
4080
|
+
sg_int: "Pbcm",
|
|
4081
|
+
sg_int_short: "Pbcm"
|
|
4082
|
+
},
|
|
4083
|
+
58: {
|
|
4084
|
+
pg_int: "mmm",
|
|
4085
|
+
sg_int: "Pnnm",
|
|
4086
|
+
sg_int_short: "Pnnm"
|
|
4087
|
+
},
|
|
4088
|
+
59: {
|
|
4089
|
+
pg_int: "mmm",
|
|
4090
|
+
sg_int: "Pmmn",
|
|
4091
|
+
sg_int_short: "Pmmn"
|
|
4092
|
+
},
|
|
4093
|
+
60: {
|
|
4094
|
+
pg_int: "mmm",
|
|
4095
|
+
sg_int: "Pbcn",
|
|
4096
|
+
sg_int_short: "Pbcn"
|
|
4097
|
+
},
|
|
4098
|
+
61: {
|
|
4099
|
+
pg_int: "mmm",
|
|
4100
|
+
sg_int: "Pbca",
|
|
4101
|
+
sg_int_short: "Pbca"
|
|
4102
|
+
},
|
|
4103
|
+
62: {
|
|
4104
|
+
pg_int: "mmm",
|
|
4105
|
+
sg_int: "Pnma",
|
|
4106
|
+
sg_int_short: "Pnma"
|
|
4107
|
+
},
|
|
4108
|
+
63: {
|
|
4109
|
+
pg_int: "mmm",
|
|
4110
|
+
sg_int: "Cmcm",
|
|
4111
|
+
sg_int_short: "Cmcm"
|
|
4112
|
+
},
|
|
4113
|
+
64: {
|
|
4114
|
+
pg_int: "mmm",
|
|
4115
|
+
sg_int: "Cmce",
|
|
4116
|
+
sg_int_short: "Cmce"
|
|
4117
|
+
},
|
|
4118
|
+
65: {
|
|
4119
|
+
pg_int: "mmm",
|
|
4120
|
+
sg_int: "Cmmm",
|
|
4121
|
+
sg_int_short: "Cmmm"
|
|
4122
|
+
},
|
|
4123
|
+
66: {
|
|
4124
|
+
pg_int: "mmm",
|
|
4125
|
+
sg_int: "Cccm",
|
|
4126
|
+
sg_int_short: "Cccm"
|
|
4127
|
+
},
|
|
4128
|
+
67: {
|
|
4129
|
+
pg_int: "mmm",
|
|
4130
|
+
sg_int: "Cmme",
|
|
4131
|
+
sg_int_short: "Cmme"
|
|
4132
|
+
},
|
|
4133
|
+
68: {
|
|
4134
|
+
pg_int: "mmm",
|
|
4135
|
+
sg_int: "Ccce",
|
|
4136
|
+
sg_int_short: "Ccce"
|
|
4137
|
+
},
|
|
4138
|
+
69: {
|
|
4139
|
+
pg_int: "mmm",
|
|
4140
|
+
sg_int: "Fmmm",
|
|
4141
|
+
sg_int_short: "Fmmm"
|
|
4142
|
+
},
|
|
4143
|
+
70: {
|
|
4144
|
+
pg_int: "mmm",
|
|
4145
|
+
sg_int: "Fddd",
|
|
4146
|
+
sg_int_short: "Fddd"
|
|
4147
|
+
},
|
|
4148
|
+
71: {
|
|
4149
|
+
pg_int: "mmm",
|
|
4150
|
+
sg_int: "Immm",
|
|
4151
|
+
sg_int_short: "Immm"
|
|
4152
|
+
},
|
|
4153
|
+
72: {
|
|
4154
|
+
pg_int: "mmm",
|
|
4155
|
+
sg_int: "Ibam",
|
|
4156
|
+
sg_int_short: "Ibam"
|
|
4157
|
+
},
|
|
4158
|
+
73: {
|
|
4159
|
+
pg_int: "mmm",
|
|
4160
|
+
sg_int: "Ibca",
|
|
4161
|
+
sg_int_short: "Ibca"
|
|
4162
|
+
},
|
|
4163
|
+
74: {
|
|
4164
|
+
pg_int: "mmm",
|
|
4165
|
+
sg_int: "Imma",
|
|
4166
|
+
sg_int_short: "Imma"
|
|
4167
|
+
},
|
|
4168
|
+
75: {
|
|
4169
|
+
pg_int: "4",
|
|
4170
|
+
sg_int: "P4",
|
|
4171
|
+
sg_int_short: "P4"
|
|
4172
|
+
},
|
|
4173
|
+
76: {
|
|
4174
|
+
pg_int: "4",
|
|
4175
|
+
sg_int: "P4_1",
|
|
4176
|
+
sg_int_short: "P4_1"
|
|
4177
|
+
},
|
|
4178
|
+
77: {
|
|
4179
|
+
pg_int: "4",
|
|
4180
|
+
sg_int: "P4_2",
|
|
4181
|
+
sg_int_short: "P4_2"
|
|
4182
|
+
},
|
|
4183
|
+
78: {
|
|
4184
|
+
pg_int: "4",
|
|
4185
|
+
sg_int: "P4_3",
|
|
4186
|
+
sg_int_short: "P4_3"
|
|
4187
|
+
},
|
|
4188
|
+
79: {
|
|
4189
|
+
pg_int: "4",
|
|
4190
|
+
sg_int: "I4",
|
|
4191
|
+
sg_int_short: "I4"
|
|
4192
|
+
},
|
|
4193
|
+
80: {
|
|
4194
|
+
pg_int: "4",
|
|
4195
|
+
sg_int: "I4_1",
|
|
4196
|
+
sg_int_short: "I4_1"
|
|
4197
|
+
},
|
|
4198
|
+
81: {
|
|
4199
|
+
pg_int: "-4",
|
|
4200
|
+
sg_int: "P-4",
|
|
4201
|
+
sg_int_short: "P-4"
|
|
4202
|
+
},
|
|
4203
|
+
82: {
|
|
4204
|
+
pg_int: "-4",
|
|
4205
|
+
sg_int: "I-4",
|
|
4206
|
+
sg_int_short: "I-4"
|
|
4207
|
+
},
|
|
4208
|
+
83: {
|
|
4209
|
+
pg_int: "4/m",
|
|
4210
|
+
sg_int: "P4/m",
|
|
4211
|
+
sg_int_short: "P4/m"
|
|
4212
|
+
},
|
|
4213
|
+
84: {
|
|
4214
|
+
pg_int: "4/m",
|
|
4215
|
+
sg_int: "P4_2/m",
|
|
4216
|
+
sg_int_short: "P4_2/m"
|
|
4217
|
+
},
|
|
4218
|
+
85: {
|
|
4219
|
+
pg_int: "4/m",
|
|
4220
|
+
sg_int: "P4/n",
|
|
4221
|
+
sg_int_short: "P4/n"
|
|
4222
|
+
},
|
|
4223
|
+
86: {
|
|
4224
|
+
pg_int: "4/m",
|
|
4225
|
+
sg_int: "P4_2/n",
|
|
4226
|
+
sg_int_short: "P4_2/n"
|
|
4227
|
+
},
|
|
4228
|
+
87: {
|
|
4229
|
+
pg_int: "4/m",
|
|
4230
|
+
sg_int: "I4/m",
|
|
4231
|
+
sg_int_short: "I4/m"
|
|
4232
|
+
},
|
|
4233
|
+
88: {
|
|
4234
|
+
pg_int: "4/m",
|
|
4235
|
+
sg_int: "I4_1/a",
|
|
4236
|
+
sg_int_short: "I4_1/a"
|
|
4237
|
+
},
|
|
4238
|
+
89: {
|
|
4239
|
+
pg_int: "422",
|
|
4240
|
+
sg_int: "P422",
|
|
4241
|
+
sg_int_short: "P422"
|
|
4242
|
+
},
|
|
4243
|
+
90: {
|
|
4244
|
+
pg_int: "422",
|
|
4245
|
+
sg_int: "P42_12",
|
|
4246
|
+
sg_int_short: "P42_12"
|
|
4247
|
+
},
|
|
4248
|
+
91: {
|
|
4249
|
+
pg_int: "422",
|
|
4250
|
+
sg_int: "P4_122",
|
|
4251
|
+
sg_int_short: "P4_122"
|
|
4252
|
+
},
|
|
4253
|
+
92: {
|
|
4254
|
+
pg_int: "422",
|
|
4255
|
+
sg_int: "P4_12_12",
|
|
4256
|
+
sg_int_short: "P4_12_12"
|
|
4257
|
+
},
|
|
4258
|
+
93: {
|
|
4259
|
+
pg_int: "422",
|
|
4260
|
+
sg_int: "P4_222",
|
|
4261
|
+
sg_int_short: "P4_222"
|
|
4262
|
+
},
|
|
4263
|
+
94: {
|
|
4264
|
+
pg_int: "422",
|
|
4265
|
+
sg_int: "P4_22_12",
|
|
4266
|
+
sg_int_short: "P4_22_12"
|
|
4267
|
+
},
|
|
4268
|
+
95: {
|
|
4269
|
+
pg_int: "422",
|
|
4270
|
+
sg_int: "P4_322",
|
|
4271
|
+
sg_int_short: "P4_322"
|
|
4272
|
+
},
|
|
4273
|
+
96: {
|
|
4274
|
+
pg_int: "422",
|
|
4275
|
+
sg_int: "P4_32_12",
|
|
4276
|
+
sg_int_short: "P4_32_12"
|
|
4277
|
+
},
|
|
4278
|
+
97: {
|
|
4279
|
+
pg_int: "422",
|
|
4280
|
+
sg_int: "I422",
|
|
4281
|
+
sg_int_short: "I422"
|
|
4282
|
+
},
|
|
4283
|
+
98: {
|
|
4284
|
+
pg_int: "422",
|
|
4285
|
+
sg_int: "I4_122",
|
|
4286
|
+
sg_int_short: "I4_122"
|
|
4287
|
+
},
|
|
4288
|
+
99: {
|
|
4289
|
+
pg_int: "4mm",
|
|
4290
|
+
sg_int: "P4mm",
|
|
4291
|
+
sg_int_short: "P4mm"
|
|
4292
|
+
},
|
|
4293
|
+
100: {
|
|
4294
|
+
pg_int: "4mm",
|
|
4295
|
+
sg_int: "P4bm",
|
|
4296
|
+
sg_int_short: "P4bm"
|
|
4297
|
+
},
|
|
4298
|
+
101: {
|
|
4299
|
+
pg_int: "4mm",
|
|
4300
|
+
sg_int: "P4_2cm",
|
|
4301
|
+
sg_int_short: "P4_2cm"
|
|
4302
|
+
},
|
|
4303
|
+
102: {
|
|
4304
|
+
pg_int: "4mm",
|
|
4305
|
+
sg_int: "P4_2nm",
|
|
4306
|
+
sg_int_short: "P4_2nm"
|
|
4307
|
+
},
|
|
4308
|
+
103: {
|
|
4309
|
+
pg_int: "4mm",
|
|
4310
|
+
sg_int: "P4cc",
|
|
4311
|
+
sg_int_short: "P4cc"
|
|
4312
|
+
},
|
|
4313
|
+
104: {
|
|
4314
|
+
pg_int: "4mm",
|
|
4315
|
+
sg_int: "P4nc",
|
|
4316
|
+
sg_int_short: "P4nc"
|
|
4317
|
+
},
|
|
4318
|
+
105: {
|
|
4319
|
+
pg_int: "4mm",
|
|
4320
|
+
sg_int: "P4_2mc",
|
|
4321
|
+
sg_int_short: "P4_2mc"
|
|
4322
|
+
},
|
|
4323
|
+
106: {
|
|
4324
|
+
pg_int: "4mm",
|
|
4325
|
+
sg_int: "P4_2bc",
|
|
4326
|
+
sg_int_short: "P4_2bc"
|
|
4327
|
+
},
|
|
4328
|
+
107: {
|
|
4329
|
+
pg_int: "4mm",
|
|
4330
|
+
sg_int: "I4mm",
|
|
4331
|
+
sg_int_short: "I4mm"
|
|
4332
|
+
},
|
|
4333
|
+
108: {
|
|
4334
|
+
pg_int: "4mm",
|
|
4335
|
+
sg_int: "I4cm",
|
|
4336
|
+
sg_int_short: "I4cm"
|
|
4337
|
+
},
|
|
4338
|
+
109: {
|
|
4339
|
+
pg_int: "4mm",
|
|
4340
|
+
sg_int: "I4_1md",
|
|
4341
|
+
sg_int_short: "I4_1md"
|
|
4342
|
+
},
|
|
4343
|
+
110: {
|
|
4344
|
+
pg_int: "4mm",
|
|
4345
|
+
sg_int: "I4_1cd",
|
|
4346
|
+
sg_int_short: "I4_1cd"
|
|
4347
|
+
},
|
|
4348
|
+
111: {
|
|
4349
|
+
pg_int: "-42m",
|
|
4350
|
+
sg_int: "P-42m",
|
|
4351
|
+
sg_int_short: "P-42m"
|
|
4352
|
+
},
|
|
4353
|
+
112: {
|
|
4354
|
+
pg_int: "-42m",
|
|
4355
|
+
sg_int: "P-42c",
|
|
4356
|
+
sg_int_short: "P-42c"
|
|
4357
|
+
},
|
|
4358
|
+
113: {
|
|
4359
|
+
pg_int: "-42m",
|
|
4360
|
+
sg_int: "P-42_1m",
|
|
4361
|
+
sg_int_short: "P-42_1m"
|
|
4362
|
+
},
|
|
4363
|
+
114: {
|
|
4364
|
+
pg_int: "-42m",
|
|
4365
|
+
sg_int: "P-42_1c",
|
|
4366
|
+
sg_int_short: "P-42_1c"
|
|
4367
|
+
},
|
|
4368
|
+
115: {
|
|
4369
|
+
pg_int: "-4m2",
|
|
4370
|
+
sg_int: "P-4m2",
|
|
4371
|
+
sg_int_short: "P-4m2"
|
|
4372
|
+
},
|
|
4373
|
+
116: {
|
|
4374
|
+
pg_int: "-4m2",
|
|
4375
|
+
sg_int: "P-4c2",
|
|
4376
|
+
sg_int_short: "P-4c2"
|
|
4377
|
+
},
|
|
4378
|
+
117: {
|
|
4379
|
+
pg_int: "-4m2",
|
|
4380
|
+
sg_int: "P-4b2",
|
|
4381
|
+
sg_int_short: "P-4b2"
|
|
4382
|
+
},
|
|
4383
|
+
118: {
|
|
4384
|
+
pg_int: "-4m2",
|
|
4385
|
+
sg_int: "P-4n2",
|
|
4386
|
+
sg_int_short: "P-4n2"
|
|
4387
|
+
},
|
|
4388
|
+
119: {
|
|
4389
|
+
pg_int: "-4m2",
|
|
4390
|
+
sg_int: "I-4m2",
|
|
4391
|
+
sg_int_short: "I-4m2"
|
|
4392
|
+
},
|
|
4393
|
+
120: {
|
|
4394
|
+
pg_int: "-4m2",
|
|
4395
|
+
sg_int: "I-4c2",
|
|
4396
|
+
sg_int_short: "I-4c2"
|
|
4397
|
+
},
|
|
4398
|
+
121: {
|
|
4399
|
+
pg_int: "-42m",
|
|
4400
|
+
sg_int: "I-42m",
|
|
4401
|
+
sg_int_short: "I-42m"
|
|
4402
|
+
},
|
|
4403
|
+
122: {
|
|
4404
|
+
pg_int: "-42m",
|
|
4405
|
+
sg_int: "I-42d",
|
|
4406
|
+
sg_int_short: "I-42d"
|
|
4407
|
+
},
|
|
4408
|
+
123: {
|
|
4409
|
+
pg_int: "4/mmm",
|
|
4410
|
+
sg_int: "P4/mmm",
|
|
4411
|
+
sg_int_short: "P4/mmm"
|
|
4412
|
+
},
|
|
4413
|
+
124: {
|
|
4414
|
+
pg_int: "4/mmm",
|
|
4415
|
+
sg_int: "P4/mcc",
|
|
4416
|
+
sg_int_short: "P4/mcc"
|
|
4417
|
+
},
|
|
4418
|
+
125: {
|
|
4419
|
+
pg_int: "4/mmm",
|
|
4420
|
+
sg_int: "P4/nbm",
|
|
4421
|
+
sg_int_short: "P4/nbm"
|
|
4422
|
+
},
|
|
4423
|
+
126: {
|
|
4424
|
+
pg_int: "4/mmm",
|
|
4425
|
+
sg_int: "P4/nnc",
|
|
4426
|
+
sg_int_short: "P4/nnc"
|
|
4427
|
+
},
|
|
4428
|
+
127: {
|
|
4429
|
+
pg_int: "4/mmm",
|
|
4430
|
+
sg_int: "P4/mbm",
|
|
4431
|
+
sg_int_short: "P4/mbm"
|
|
4432
|
+
},
|
|
4433
|
+
128: {
|
|
4434
|
+
pg_int: "4/mmm",
|
|
4435
|
+
sg_int: "P4/mnc",
|
|
4436
|
+
sg_int_short: "P4/mnc"
|
|
4437
|
+
},
|
|
4438
|
+
129: {
|
|
4439
|
+
pg_int: "4/mmm",
|
|
4440
|
+
sg_int: "P4/nmm",
|
|
4441
|
+
sg_int_short: "P4/nmm"
|
|
4442
|
+
},
|
|
4443
|
+
130: {
|
|
4444
|
+
pg_int: "4/mmm",
|
|
4445
|
+
sg_int: "P4/ncc",
|
|
4446
|
+
sg_int_short: "P4/ncc"
|
|
4447
|
+
},
|
|
4448
|
+
131: {
|
|
4449
|
+
pg_int: "4/mmm",
|
|
4450
|
+
sg_int: "P4_2/mmc",
|
|
4451
|
+
sg_int_short: "P4_2/mmc"
|
|
4452
|
+
},
|
|
4453
|
+
132: {
|
|
4454
|
+
pg_int: "4/mmm",
|
|
4455
|
+
sg_int: "P4_2/mcm",
|
|
4456
|
+
sg_int_short: "P4_2/mcm"
|
|
4457
|
+
},
|
|
4458
|
+
133: {
|
|
4459
|
+
pg_int: "4/mmm",
|
|
4460
|
+
sg_int: "P4_2/nbc",
|
|
4461
|
+
sg_int_short: "P4_2/nbc"
|
|
4462
|
+
},
|
|
4463
|
+
134: {
|
|
4464
|
+
pg_int: "4/mmm",
|
|
4465
|
+
sg_int: "P4_2/nnm",
|
|
4466
|
+
sg_int_short: "P4_2/nnm"
|
|
4467
|
+
},
|
|
4468
|
+
135: {
|
|
4469
|
+
pg_int: "4/mmm",
|
|
4470
|
+
sg_int: "P4_2/mbc",
|
|
4471
|
+
sg_int_short: "P4_2/mbc"
|
|
4472
|
+
},
|
|
4473
|
+
136: {
|
|
4474
|
+
pg_int: "4/mmm",
|
|
4475
|
+
sg_int: "P4_2/mnm",
|
|
4476
|
+
sg_int_short: "P4_2/mnm"
|
|
4477
|
+
},
|
|
4478
|
+
137: {
|
|
4479
|
+
pg_int: "4/mmm",
|
|
4480
|
+
sg_int: "P4_2/nmc",
|
|
4481
|
+
sg_int_short: "P4_2/nmc"
|
|
4482
|
+
},
|
|
4483
|
+
138: {
|
|
4484
|
+
pg_int: "4/mmm",
|
|
4485
|
+
sg_int: "P4_2/ncm",
|
|
4486
|
+
sg_int_short: "P4_2/ncm"
|
|
4487
|
+
},
|
|
4488
|
+
139: {
|
|
4489
|
+
pg_int: "4/mmm",
|
|
4490
|
+
sg_int: "I4/mmm",
|
|
4491
|
+
sg_int_short: "I4/mmm"
|
|
4492
|
+
},
|
|
4493
|
+
140: {
|
|
4494
|
+
pg_int: "4/mmm",
|
|
4495
|
+
sg_int: "I4/mcm",
|
|
4496
|
+
sg_int_short: "I4/mcm"
|
|
4497
|
+
},
|
|
4498
|
+
141: {
|
|
4499
|
+
pg_int: "4/mmm",
|
|
4500
|
+
sg_int: "I4_1/amd",
|
|
4501
|
+
sg_int_short: "I4_1/amd"
|
|
4502
|
+
},
|
|
4503
|
+
142: {
|
|
4504
|
+
pg_int: "4/mmm",
|
|
4505
|
+
sg_int: "I4_1/acd",
|
|
4506
|
+
sg_int_short: "I4_1/acd"
|
|
4507
|
+
},
|
|
4508
|
+
143: {
|
|
4509
|
+
pg_int: "3",
|
|
4510
|
+
sg_int: "P3",
|
|
4511
|
+
sg_int_short: "P3"
|
|
4512
|
+
},
|
|
4513
|
+
144: {
|
|
4514
|
+
pg_int: "3",
|
|
4515
|
+
sg_int: "P3_1",
|
|
4516
|
+
sg_int_short: "P3_1"
|
|
4517
|
+
},
|
|
4518
|
+
145: {
|
|
4519
|
+
pg_int: "3",
|
|
4520
|
+
sg_int: "P3_2",
|
|
4521
|
+
sg_int_short: "P3_2"
|
|
4522
|
+
},
|
|
4523
|
+
146: {
|
|
4524
|
+
pg_int: "3",
|
|
4525
|
+
sg_int: "R3",
|
|
4526
|
+
sg_int_short: "R3"
|
|
4527
|
+
},
|
|
4528
|
+
147: {
|
|
4529
|
+
pg_int: "-3",
|
|
4530
|
+
sg_int: "P-3",
|
|
4531
|
+
sg_int_short: "P-3"
|
|
4532
|
+
},
|
|
4533
|
+
148: {
|
|
4534
|
+
pg_int: "-3",
|
|
4535
|
+
sg_int: "R-3",
|
|
4536
|
+
sg_int_short: "R-3"
|
|
4537
|
+
},
|
|
4538
|
+
149: {
|
|
4539
|
+
pg_int: "312",
|
|
4540
|
+
sg_int: "P312",
|
|
4541
|
+
sg_int_short: "P312"
|
|
4542
|
+
},
|
|
4543
|
+
150: {
|
|
4544
|
+
pg_int: "321",
|
|
4545
|
+
sg_int: "P321",
|
|
4546
|
+
sg_int_short: "P321"
|
|
4547
|
+
},
|
|
4548
|
+
151: {
|
|
4549
|
+
pg_int: "312",
|
|
4550
|
+
sg_int: "P3_112",
|
|
4551
|
+
sg_int_short: "P3_112"
|
|
4552
|
+
},
|
|
4553
|
+
152: {
|
|
4554
|
+
pg_int: "321",
|
|
4555
|
+
sg_int: "P3_121",
|
|
4556
|
+
sg_int_short: "P3_121"
|
|
4557
|
+
},
|
|
4558
|
+
153: {
|
|
4559
|
+
pg_int: "312",
|
|
4560
|
+
sg_int: "P3_212",
|
|
4561
|
+
sg_int_short: "P3_212"
|
|
4562
|
+
},
|
|
4563
|
+
154: {
|
|
4564
|
+
pg_int: "321",
|
|
4565
|
+
sg_int: "P3_221",
|
|
4566
|
+
sg_int_short: "P3_221"
|
|
4567
|
+
},
|
|
4568
|
+
155: {
|
|
4569
|
+
pg_int: "32",
|
|
4570
|
+
sg_int: "R32",
|
|
4571
|
+
sg_int_short: "R32"
|
|
4572
|
+
},
|
|
4573
|
+
156: {
|
|
4574
|
+
pg_int: "3m1",
|
|
4575
|
+
sg_int: "P3m1",
|
|
4576
|
+
sg_int_short: "P3m1"
|
|
4577
|
+
},
|
|
4578
|
+
157: {
|
|
4579
|
+
pg_int: "31m",
|
|
4580
|
+
sg_int: "P31m",
|
|
4581
|
+
sg_int_short: "P31m"
|
|
4582
|
+
},
|
|
4583
|
+
158: {
|
|
4584
|
+
pg_int: "3m1",
|
|
4585
|
+
sg_int: "P3c1",
|
|
4586
|
+
sg_int_short: "P3c1"
|
|
4587
|
+
},
|
|
4588
|
+
159: {
|
|
4589
|
+
pg_int: "31m",
|
|
4590
|
+
sg_int: "P31c",
|
|
4591
|
+
sg_int_short: "P31c"
|
|
4592
|
+
},
|
|
4593
|
+
160: {
|
|
4594
|
+
pg_int: "3m",
|
|
4595
|
+
sg_int: "R3m",
|
|
4596
|
+
sg_int_short: "R3m"
|
|
4597
|
+
},
|
|
4598
|
+
161: {
|
|
4599
|
+
pg_int: "3m",
|
|
4600
|
+
sg_int: "R3c",
|
|
4601
|
+
sg_int_short: "R3c"
|
|
4602
|
+
},
|
|
4603
|
+
162: {
|
|
4604
|
+
pg_int: "-31m",
|
|
4605
|
+
sg_int: "P-31m",
|
|
4606
|
+
sg_int_short: "P-31m"
|
|
4607
|
+
},
|
|
4608
|
+
163: {
|
|
4609
|
+
pg_int: "-31m",
|
|
4610
|
+
sg_int: "P-31c",
|
|
4611
|
+
sg_int_short: "P-31c"
|
|
4612
|
+
},
|
|
4613
|
+
164: {
|
|
4614
|
+
pg_int: "-3m1",
|
|
4615
|
+
sg_int: "P-3m1",
|
|
4616
|
+
sg_int_short: "P-3m1"
|
|
4617
|
+
},
|
|
4618
|
+
165: {
|
|
4619
|
+
pg_int: "-3m1",
|
|
4620
|
+
sg_int: "P-3c1",
|
|
4621
|
+
sg_int_short: "P-3c1"
|
|
4622
|
+
},
|
|
4623
|
+
166: {
|
|
4624
|
+
pg_int: "-3m",
|
|
4625
|
+
sg_int: "R-3m",
|
|
4626
|
+
sg_int_short: "R-3m"
|
|
4627
|
+
},
|
|
4628
|
+
167: {
|
|
4629
|
+
pg_int: "-3m",
|
|
4630
|
+
sg_int: "R-3c",
|
|
4631
|
+
sg_int_short: "R-3c"
|
|
4632
|
+
},
|
|
4633
|
+
168: {
|
|
4634
|
+
pg_int: "6",
|
|
4635
|
+
sg_int: "P6",
|
|
4636
|
+
sg_int_short: "P6"
|
|
4637
|
+
},
|
|
4638
|
+
169: {
|
|
4639
|
+
pg_int: "6",
|
|
4640
|
+
sg_int: "P6_1",
|
|
4641
|
+
sg_int_short: "P6_1"
|
|
4642
|
+
},
|
|
4643
|
+
170: {
|
|
4644
|
+
pg_int: "6",
|
|
4645
|
+
sg_int: "P6_5",
|
|
4646
|
+
sg_int_short: "P6_5"
|
|
4647
|
+
},
|
|
4648
|
+
171: {
|
|
4649
|
+
pg_int: "6",
|
|
4650
|
+
sg_int: "P6_2",
|
|
4651
|
+
sg_int_short: "P6_2"
|
|
4652
|
+
},
|
|
4653
|
+
172: {
|
|
4654
|
+
pg_int: "6",
|
|
4655
|
+
sg_int: "P6_4",
|
|
4656
|
+
sg_int_short: "P6_4"
|
|
4657
|
+
},
|
|
4658
|
+
173: {
|
|
4659
|
+
pg_int: "6",
|
|
4660
|
+
sg_int: "P6_3",
|
|
4661
|
+
sg_int_short: "P6_3"
|
|
4662
|
+
},
|
|
4663
|
+
174: {
|
|
4664
|
+
pg_int: "-6",
|
|
4665
|
+
sg_int: "P-6",
|
|
4666
|
+
sg_int_short: "P-6"
|
|
4667
|
+
},
|
|
4668
|
+
175: {
|
|
4669
|
+
pg_int: "6/m",
|
|
4670
|
+
sg_int: "P6/m",
|
|
4671
|
+
sg_int_short: "P6/m"
|
|
4672
|
+
},
|
|
4673
|
+
176: {
|
|
4674
|
+
pg_int: "6/m",
|
|
4675
|
+
sg_int: "P6_3/m",
|
|
4676
|
+
sg_int_short: "P6_3/m"
|
|
4677
|
+
},
|
|
4678
|
+
177: {
|
|
4679
|
+
pg_int: "622",
|
|
4680
|
+
sg_int: "P622",
|
|
4681
|
+
sg_int_short: "P622"
|
|
4682
|
+
},
|
|
4683
|
+
178: {
|
|
4684
|
+
pg_int: "622",
|
|
4685
|
+
sg_int: "P6_122",
|
|
4686
|
+
sg_int_short: "P6_122"
|
|
4687
|
+
},
|
|
4688
|
+
179: {
|
|
4689
|
+
pg_int: "622",
|
|
4690
|
+
sg_int: "P6_522",
|
|
4691
|
+
sg_int_short: "P6_522"
|
|
4692
|
+
},
|
|
4693
|
+
180: {
|
|
4694
|
+
pg_int: "622",
|
|
4695
|
+
sg_int: "P6_222",
|
|
4696
|
+
sg_int_short: "P6_222"
|
|
4697
|
+
},
|
|
4698
|
+
181: {
|
|
4699
|
+
pg_int: "622",
|
|
4700
|
+
sg_int: "P6_422",
|
|
4701
|
+
sg_int_short: "P6_422"
|
|
4702
|
+
},
|
|
4703
|
+
182: {
|
|
4704
|
+
pg_int: "622",
|
|
4705
|
+
sg_int: "P6_322",
|
|
4706
|
+
sg_int_short: "P6_322"
|
|
4707
|
+
},
|
|
4708
|
+
183: {
|
|
4709
|
+
pg_int: "6mm",
|
|
4710
|
+
sg_int: "P6mm",
|
|
4711
|
+
sg_int_short: "P6mm"
|
|
4712
|
+
},
|
|
4713
|
+
184: {
|
|
4714
|
+
pg_int: "6mm",
|
|
4715
|
+
sg_int: "P6cc",
|
|
4716
|
+
sg_int_short: "P6cc"
|
|
4717
|
+
},
|
|
4718
|
+
185: {
|
|
4719
|
+
pg_int: "6mm",
|
|
4720
|
+
sg_int: "P6_3cm",
|
|
4721
|
+
sg_int_short: "P6_3cm"
|
|
4722
|
+
},
|
|
4723
|
+
186: {
|
|
4724
|
+
pg_int: "6mm",
|
|
4725
|
+
sg_int: "P6_3mc",
|
|
4726
|
+
sg_int_short: "P6_3mc"
|
|
4727
|
+
},
|
|
4728
|
+
187: {
|
|
4729
|
+
pg_int: "-6m2",
|
|
4730
|
+
sg_int: "P-6m2",
|
|
4731
|
+
sg_int_short: "P-6m2"
|
|
4732
|
+
},
|
|
4733
|
+
188: {
|
|
4734
|
+
pg_int: "-6m2",
|
|
4735
|
+
sg_int: "P-6c2",
|
|
4736
|
+
sg_int_short: "P-6c2"
|
|
4737
|
+
},
|
|
4738
|
+
189: {
|
|
4739
|
+
pg_int: "-62m",
|
|
4740
|
+
sg_int: "P-62m",
|
|
4741
|
+
sg_int_short: "P-62m"
|
|
4742
|
+
},
|
|
4743
|
+
190: {
|
|
4744
|
+
pg_int: "-62m",
|
|
4745
|
+
sg_int: "P-62c",
|
|
4746
|
+
sg_int_short: "P-62c"
|
|
4747
|
+
},
|
|
4748
|
+
191: {
|
|
4749
|
+
pg_int: "6/mmm",
|
|
4750
|
+
sg_int: "P6/mmm",
|
|
4751
|
+
sg_int_short: "P6/mmm"
|
|
4752
|
+
},
|
|
4753
|
+
192: {
|
|
4754
|
+
pg_int: "6/mmm",
|
|
4755
|
+
sg_int: "P6/mcc",
|
|
4756
|
+
sg_int_short: "P6/mcc"
|
|
4757
|
+
},
|
|
4758
|
+
193: {
|
|
4759
|
+
pg_int: "6/mmm",
|
|
4760
|
+
sg_int: "P6_3/mcm",
|
|
4761
|
+
sg_int_short: "P6_3/mcm"
|
|
4762
|
+
},
|
|
4763
|
+
194: {
|
|
4764
|
+
pg_int: "6/mmm",
|
|
4765
|
+
sg_int: "P6_3/mmc",
|
|
4766
|
+
sg_int_short: "P6_3/mmc"
|
|
4767
|
+
},
|
|
4768
|
+
195: {
|
|
4769
|
+
pg_int: "23",
|
|
4770
|
+
sg_int: "P23",
|
|
4771
|
+
sg_int_short: "P23"
|
|
4772
|
+
},
|
|
4773
|
+
196: {
|
|
4774
|
+
pg_int: "23",
|
|
4775
|
+
sg_int: "F23",
|
|
4776
|
+
sg_int_short: "F23"
|
|
4777
|
+
},
|
|
4778
|
+
197: {
|
|
4779
|
+
pg_int: "23",
|
|
4780
|
+
sg_int: "I23",
|
|
4781
|
+
sg_int_short: "I23"
|
|
4782
|
+
},
|
|
4783
|
+
198: {
|
|
4784
|
+
pg_int: "23",
|
|
4785
|
+
sg_int: "P2_13",
|
|
4786
|
+
sg_int_short: "P2_13"
|
|
4787
|
+
},
|
|
4788
|
+
199: {
|
|
4789
|
+
pg_int: "23",
|
|
4790
|
+
sg_int: "I2_13",
|
|
4791
|
+
sg_int_short: "I2_13"
|
|
4792
|
+
},
|
|
4793
|
+
200: {
|
|
4794
|
+
pg_int: "m-3",
|
|
4795
|
+
sg_int: "Pm-3",
|
|
4796
|
+
sg_int_short: "Pm-3"
|
|
4797
|
+
},
|
|
4798
|
+
201: {
|
|
4799
|
+
pg_int: "m-3",
|
|
4800
|
+
sg_int: "Pn-3",
|
|
4801
|
+
sg_int_short: "Pn-3"
|
|
4802
|
+
},
|
|
4803
|
+
202: {
|
|
4804
|
+
pg_int: "m-3",
|
|
4805
|
+
sg_int: "Fm-3",
|
|
4806
|
+
sg_int_short: "Fm-3"
|
|
4807
|
+
},
|
|
4808
|
+
203: {
|
|
4809
|
+
pg_int: "m-3",
|
|
4810
|
+
sg_int: "Fd-3",
|
|
4811
|
+
sg_int_short: "Fd-3"
|
|
4812
|
+
},
|
|
4813
|
+
204: {
|
|
4814
|
+
pg_int: "m-3",
|
|
4815
|
+
sg_int: "Im-3",
|
|
4816
|
+
sg_int_short: "Im-3"
|
|
4817
|
+
},
|
|
4818
|
+
205: {
|
|
4819
|
+
pg_int: "m-3",
|
|
4820
|
+
sg_int: "Pa-3",
|
|
4821
|
+
sg_int_short: "Pa-3"
|
|
4822
|
+
},
|
|
4823
|
+
206: {
|
|
4824
|
+
pg_int: "m-3",
|
|
4825
|
+
sg_int: "Ia-3",
|
|
4826
|
+
sg_int_short: "Ia-3"
|
|
4827
|
+
},
|
|
4828
|
+
207: {
|
|
4829
|
+
pg_int: "432",
|
|
4830
|
+
sg_int: "P432",
|
|
4831
|
+
sg_int_short: "P432"
|
|
4832
|
+
},
|
|
4833
|
+
208: {
|
|
4834
|
+
pg_int: "432",
|
|
4835
|
+
sg_int: "P4_232",
|
|
4836
|
+
sg_int_short: "P4_232"
|
|
4837
|
+
},
|
|
4838
|
+
209: {
|
|
4839
|
+
pg_int: "432",
|
|
4840
|
+
sg_int: "F432",
|
|
4841
|
+
sg_int_short: "F432"
|
|
4842
|
+
},
|
|
4843
|
+
210: {
|
|
4844
|
+
pg_int: "432",
|
|
4845
|
+
sg_int: "F4_132",
|
|
4846
|
+
sg_int_short: "F4_132"
|
|
4847
|
+
},
|
|
4848
|
+
211: {
|
|
4849
|
+
pg_int: "432",
|
|
4850
|
+
sg_int: "I432",
|
|
4851
|
+
sg_int_short: "I432"
|
|
4852
|
+
},
|
|
4853
|
+
212: {
|
|
4854
|
+
pg_int: "432",
|
|
4855
|
+
sg_int: "P4_332",
|
|
4856
|
+
sg_int_short: "P4_332"
|
|
4857
|
+
},
|
|
4858
|
+
213: {
|
|
4859
|
+
pg_int: "432",
|
|
4860
|
+
sg_int: "P4_132",
|
|
4861
|
+
sg_int_short: "P4_132"
|
|
4862
|
+
},
|
|
4863
|
+
214: {
|
|
4864
|
+
pg_int: "432",
|
|
4865
|
+
sg_int: "I4_132",
|
|
4866
|
+
sg_int_short: "I4_132"
|
|
4867
|
+
},
|
|
4868
|
+
215: {
|
|
4869
|
+
pg_int: "-43m",
|
|
4870
|
+
sg_int: "P-43m",
|
|
4871
|
+
sg_int_short: "P-43m"
|
|
4872
|
+
},
|
|
4873
|
+
216: {
|
|
4874
|
+
pg_int: "-43m",
|
|
4875
|
+
sg_int: "F-43m",
|
|
4876
|
+
sg_int_short: "F-43m"
|
|
4877
|
+
},
|
|
4878
|
+
217: {
|
|
4879
|
+
pg_int: "-43m",
|
|
4880
|
+
sg_int: "I-43m",
|
|
4881
|
+
sg_int_short: "I-43m"
|
|
4882
|
+
},
|
|
4883
|
+
218: {
|
|
4884
|
+
pg_int: "-43m",
|
|
4885
|
+
sg_int: "P-43n",
|
|
4886
|
+
sg_int_short: "P-43n"
|
|
4887
|
+
},
|
|
4888
|
+
219: {
|
|
4889
|
+
pg_int: "-43m",
|
|
4890
|
+
sg_int: "F-43c",
|
|
4891
|
+
sg_int_short: "F-43c"
|
|
4892
|
+
},
|
|
4893
|
+
220: {
|
|
4894
|
+
pg_int: "-43m",
|
|
4895
|
+
sg_int: "I-43d",
|
|
4896
|
+
sg_int_short: "I-43d"
|
|
4897
|
+
},
|
|
4898
|
+
221: {
|
|
4899
|
+
pg_int: "m-3m",
|
|
4900
|
+
sg_int: "Pm-3m",
|
|
4901
|
+
sg_int_short: "Pm-3m"
|
|
4902
|
+
},
|
|
4903
|
+
222: {
|
|
4904
|
+
pg_int: "m-3m",
|
|
4905
|
+
sg_int: "Pn-3n",
|
|
4906
|
+
sg_int_short: "Pn-3n"
|
|
4907
|
+
},
|
|
4908
|
+
223: {
|
|
4909
|
+
pg_int: "m-3m",
|
|
4910
|
+
sg_int: "Pm-3n",
|
|
4911
|
+
sg_int_short: "Pm-3n"
|
|
4912
|
+
},
|
|
4913
|
+
224: {
|
|
4914
|
+
pg_int: "m-3m",
|
|
4915
|
+
sg_int: "Pn-3m",
|
|
4916
|
+
sg_int_short: "Pn-3m"
|
|
4917
|
+
},
|
|
4918
|
+
225: {
|
|
4919
|
+
pg_int: "m-3m",
|
|
4920
|
+
sg_int: "Fm-3m",
|
|
4921
|
+
sg_int_short: "Fm-3m"
|
|
4922
|
+
},
|
|
4923
|
+
226: {
|
|
4924
|
+
pg_int: "m-3m",
|
|
4925
|
+
sg_int: "Fm-3c",
|
|
4926
|
+
sg_int_short: "Fm-3c"
|
|
4927
|
+
},
|
|
4928
|
+
227: {
|
|
4929
|
+
pg_int: "m-3m",
|
|
4930
|
+
sg_int: "Fd-3m",
|
|
4931
|
+
sg_int_short: "Fd-3m"
|
|
4932
|
+
},
|
|
4933
|
+
228: {
|
|
4934
|
+
pg_int: "m-3m",
|
|
4935
|
+
sg_int: "Fd-3c",
|
|
4936
|
+
sg_int_short: "Fd-3c"
|
|
4937
|
+
},
|
|
4938
|
+
229: {
|
|
4939
|
+
pg_int: "m-3m",
|
|
4940
|
+
sg_int: "Im-3m",
|
|
4941
|
+
sg_int_short: "Im-3m"
|
|
4942
|
+
},
|
|
4943
|
+
230: {
|
|
4944
|
+
pg_int: "m-3m",
|
|
4945
|
+
sg_int: "Ia-3d",
|
|
4946
|
+
sg_int_short: "Ia-3d"
|
|
4947
|
+
}
|
|
4948
|
+
}, yn = {
|
|
4949
|
+
a: "triclinic",
|
|
4950
|
+
m: "monoclinic",
|
|
4951
|
+
o: "orthorhombic",
|
|
4952
|
+
t: "tetragonal",
|
|
4953
|
+
h: "hexagonal",
|
|
4954
|
+
c: "cubic"
|
|
4955
|
+
}, Bs = {
|
|
4956
|
+
aP: "triclinic",
|
|
4957
|
+
mP: "simple monoclinic",
|
|
4958
|
+
mS: "base-centered monoclinic",
|
|
4959
|
+
oP: "simple orthorhombic",
|
|
4960
|
+
oS: "base-centered orthorhombic",
|
|
4961
|
+
oI: "body-centered orthorhombic",
|
|
4962
|
+
oF: "face-centered orthorhombic",
|
|
4963
|
+
tP: "simple tetragonal",
|
|
4964
|
+
tI: "body-centered tetragonal",
|
|
4965
|
+
hR: "rhombohedral",
|
|
4966
|
+
hP: "hexagonal",
|
|
4967
|
+
cP: "simple cubic",
|
|
4968
|
+
cI: "body-centered cubic",
|
|
4969
|
+
cF: "face-centered cubic"
|
|
4970
|
+
};
|
|
4971
|
+
function _e(t) {
|
|
4972
|
+
if (t < 1 || t > 230)
|
|
4973
|
+
throw new Error(`Invalid space group number ${t}`);
|
|
4974
|
+
return t < 3 ? "a" : t < 16 ? "m" : t < 75 ? "o" : t < 143 ? "t" : t < 195 ? "h" : "c";
|
|
4975
|
+
}
|
|
4976
|
+
function Ls(t) {
|
|
4977
|
+
return t > 142 && t < 168 ? "trigonal" : yn[_e(t)];
|
|
4978
|
+
}
|
|
4979
|
+
function Hs(t) {
|
|
4980
|
+
return [146, 148, 155, 160, 161, 166, 167].includes(t) ? "rhombohedral" : yn[_e(t)];
|
|
4981
|
+
}
|
|
4982
|
+
function Ns(t) {
|
|
4983
|
+
let e = rn[t.toString()].sg_int_short.charAt(0), n = e;
|
|
4984
|
+
["A", "C"].includes(e) && (n = "S");
|
|
4985
|
+
let r = _e(t) + n;
|
|
4986
|
+
return [r, Bs[r]];
|
|
4987
|
+
}
|
|
4988
|
+
function $s(t) {
|
|
4989
|
+
if (t < 1 || t > 230)
|
|
4990
|
+
throw new Error(`Invalid space group number ${t}`);
|
|
4991
|
+
let e = Ns(t);
|
|
4992
|
+
return {
|
|
4993
|
+
space_group_symbol: rn[t.toString()].sg_int_short,
|
|
4994
|
+
point_group_symbol: rn[t.toString()].pg_int,
|
|
4995
|
+
crystal_family_pearson: _e(t),
|
|
4996
|
+
crystal_family: yn[_e(t)],
|
|
4997
|
+
crystal_system: Ls(t),
|
|
4998
|
+
lattice_system: Hs(t),
|
|
4999
|
+
bravais_lattice_pearson: e[0],
|
|
5000
|
+
bravais_lattice: e[1]
|
|
5001
|
+
};
|
|
5002
|
+
}
|
|
5003
|
+
export {
|
|
5004
|
+
Js as DoiBadge,
|
|
5005
|
+
Ks as ExploreButton,
|
|
5006
|
+
Gs as HelpButton,
|
|
5007
|
+
qs as McloudSpinner,
|
|
5008
|
+
zs as StructDownloadButton,
|
|
5009
|
+
Ws as TestButton,
|
|
5010
|
+
Qs as formatChemicalFormula,
|
|
5011
|
+
Xs as formatSpaceGroupSymbol,
|
|
5012
|
+
$s as getSymmetryInfo
|
|
5013
|
+
};
|