@banou/media-player 0.0.3 → 0.2.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/build/chrome/bottom.d.ts +1 -1
- package/build/chrome/index.d.ts +1 -1
- package/build/chrome/overlay.d.ts +1 -1
- package/build/index.d.ts +3 -3
- package/build/index.js +1789 -1711
- package/build/utils.d.ts +3 -4
- package/package.json +5 -6
- package/src/index.tsx +142 -271
- package/src/main.tsx +10 -56
- package/src/utils.ts +135 -280
package/build/index.js
CHANGED
|
@@ -1,36 +1,663 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import { css as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as Fe from "react";
|
|
2
|
+
import gt, { forwardRef as ht, useContext as Vt, useState as z, useEffect as he, useRef as Ze, useMemo as Or } from "react";
|
|
3
|
+
import { css as Er } from "@emotion/react";
|
|
4
|
+
import { makeRemuxer as Bt } from "libav-wasm";
|
|
5
|
+
import Ut from "jassub";
|
|
6
|
+
import Je from "react-tooltip";
|
|
7
|
+
import { VolumeX as Hr, Volume2 as zt, Volume1 as Yt, Volume as Wt, AlertTriangle as qt } from "react-feather";
|
|
8
|
+
import Gt from "p-queue";
|
|
9
|
+
var Ar = { exports: {} }, or = {};
|
|
10
|
+
/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react-jsx-runtime.production.min.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
19
|
+
var Jr;
|
|
20
|
+
function Kt() {
|
|
21
|
+
if (Jr)
|
|
22
|
+
return or;
|
|
23
|
+
Jr = 1;
|
|
24
|
+
var e = gt, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
|
+
function l(u, d, v) {
|
|
26
|
+
var m, h = {}, y = null, k = null;
|
|
27
|
+
v !== void 0 && (y = "" + v), d.key !== void 0 && (y = "" + d.key), d.ref !== void 0 && (k = d.ref);
|
|
28
|
+
for (m in d)
|
|
29
|
+
a.call(d, m) && !i.hasOwnProperty(m) && (h[m] = d[m]);
|
|
30
|
+
if (u && u.defaultProps)
|
|
31
|
+
for (m in d = u.defaultProps, d)
|
|
32
|
+
h[m] === void 0 && (h[m] = d[m]);
|
|
33
|
+
return { $$typeof: r, type: u, key: y, ref: k, props: h, _owner: o.current };
|
|
34
|
+
}
|
|
35
|
+
return or.Fragment = t, or.jsx = l, or.jsxs = l, or;
|
|
36
|
+
}
|
|
37
|
+
var ir = {};
|
|
38
|
+
/**
|
|
39
|
+
* @license React
|
|
40
|
+
* react-jsx-runtime.development.js
|
|
41
|
+
*
|
|
42
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/
|
|
47
|
+
var Xr;
|
|
48
|
+
function Ht() {
|
|
49
|
+
return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
|
+
var e = gt, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), N = Symbol.iterator, b = "@@iterator";
|
|
51
|
+
function x(n) {
|
|
52
|
+
if (n === null || typeof n != "object")
|
|
53
|
+
return null;
|
|
54
|
+
var c = N && n[N] || n[b];
|
|
55
|
+
return typeof c == "function" ? c : null;
|
|
56
|
+
}
|
|
57
|
+
var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
|
+
function S(n) {
|
|
59
|
+
{
|
|
60
|
+
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0), E = 1; E < c; E++)
|
|
61
|
+
g[E - 1] = arguments[E];
|
|
62
|
+
P("error", n, g);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function P(n, c, g) {
|
|
66
|
+
{
|
|
67
|
+
var E = _.ReactDebugCurrentFrame, $ = E.getStackAddendum();
|
|
68
|
+
$ !== "" && (c += "%s", g = g.concat([$]));
|
|
69
|
+
var B = g.map(function(A) {
|
|
70
|
+
return String(A);
|
|
71
|
+
});
|
|
72
|
+
B.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, B);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
var I = !1, f = !1, U = !1, R = !1, Ae = !1, we;
|
|
76
|
+
we = Symbol.for("react.module.reference");
|
|
77
|
+
function Ie(n) {
|
|
78
|
+
return !!(typeof n == "string" || typeof n == "function" || n === a || n === i || Ae || n === o || n === v || n === m || R || n === k || I || f || U || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === h || n.$$typeof === l || n.$$typeof === u || n.$$typeof === d || // This needs to include all possible module reference object
|
|
79
|
+
// types supported by any Flight configuration anywhere since
|
|
80
|
+
// we don't know which Flight build this will end up being used
|
|
81
|
+
// with.
|
|
82
|
+
n.$$typeof === we || n.getModuleId !== void 0));
|
|
83
|
+
}
|
|
84
|
+
function $e(n, c, g) {
|
|
85
|
+
var E = n.displayName;
|
|
86
|
+
if (E)
|
|
87
|
+
return E;
|
|
88
|
+
var $ = c.displayName || c.name || "";
|
|
89
|
+
return $ !== "" ? g + "(" + $ + ")" : g;
|
|
90
|
+
}
|
|
91
|
+
function ue(n) {
|
|
92
|
+
return n.displayName || "Context";
|
|
93
|
+
}
|
|
94
|
+
function K(n) {
|
|
95
|
+
if (n == null)
|
|
96
|
+
return null;
|
|
97
|
+
if (typeof n.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
98
|
+
return n.displayName || n.name || null;
|
|
99
|
+
if (typeof n == "string")
|
|
100
|
+
return n;
|
|
101
|
+
switch (n) {
|
|
102
|
+
case a:
|
|
103
|
+
return "Fragment";
|
|
104
|
+
case t:
|
|
105
|
+
return "Portal";
|
|
106
|
+
case i:
|
|
107
|
+
return "Profiler";
|
|
108
|
+
case o:
|
|
109
|
+
return "StrictMode";
|
|
110
|
+
case v:
|
|
111
|
+
return "Suspense";
|
|
112
|
+
case m:
|
|
113
|
+
return "SuspenseList";
|
|
114
|
+
}
|
|
115
|
+
if (typeof n == "object")
|
|
116
|
+
switch (n.$$typeof) {
|
|
117
|
+
case u:
|
|
118
|
+
var c = n;
|
|
119
|
+
return ue(c) + ".Consumer";
|
|
120
|
+
case l:
|
|
121
|
+
var g = n;
|
|
122
|
+
return ue(g._context) + ".Provider";
|
|
123
|
+
case d:
|
|
124
|
+
return $e(n, n.render, "ForwardRef");
|
|
125
|
+
case h:
|
|
126
|
+
var E = n.displayName || null;
|
|
127
|
+
return E !== null ? E : K(n.type) || "Memo";
|
|
128
|
+
case y: {
|
|
129
|
+
var $ = n, B = $._payload, A = $._init;
|
|
130
|
+
try {
|
|
131
|
+
return K(A(B));
|
|
132
|
+
} catch {
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return null;
|
|
138
|
+
}
|
|
139
|
+
var H = Object.assign, fe = 0, J, Ee, ne, ae, re, Ne, ke;
|
|
140
|
+
function Ce() {
|
|
141
|
+
}
|
|
142
|
+
Ce.__reactDisabledLog = !0;
|
|
143
|
+
function Le() {
|
|
144
|
+
{
|
|
145
|
+
if (fe === 0) {
|
|
146
|
+
J = console.log, Ee = console.info, ne = console.warn, ae = console.error, re = console.group, Ne = console.groupCollapsed, ke = console.groupEnd;
|
|
147
|
+
var n = {
|
|
148
|
+
configurable: !0,
|
|
149
|
+
enumerable: !0,
|
|
150
|
+
value: Ce,
|
|
151
|
+
writable: !0
|
|
152
|
+
};
|
|
153
|
+
Object.defineProperties(console, {
|
|
154
|
+
info: n,
|
|
155
|
+
log: n,
|
|
156
|
+
warn: n,
|
|
157
|
+
error: n,
|
|
158
|
+
group: n,
|
|
159
|
+
groupCollapsed: n,
|
|
160
|
+
groupEnd: n
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
fe++;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
function _e() {
|
|
167
|
+
{
|
|
168
|
+
if (fe--, fe === 0) {
|
|
169
|
+
var n = {
|
|
170
|
+
configurable: !0,
|
|
171
|
+
enumerable: !0,
|
|
172
|
+
writable: !0
|
|
173
|
+
};
|
|
174
|
+
Object.defineProperties(console, {
|
|
175
|
+
log: H({}, n, {
|
|
176
|
+
value: J
|
|
177
|
+
}),
|
|
178
|
+
info: H({}, n, {
|
|
179
|
+
value: Ee
|
|
180
|
+
}),
|
|
181
|
+
warn: H({}, n, {
|
|
182
|
+
value: ne
|
|
183
|
+
}),
|
|
184
|
+
error: H({}, n, {
|
|
185
|
+
value: ae
|
|
186
|
+
}),
|
|
187
|
+
group: H({}, n, {
|
|
188
|
+
value: re
|
|
189
|
+
}),
|
|
190
|
+
groupCollapsed: H({}, n, {
|
|
191
|
+
value: Ne
|
|
192
|
+
}),
|
|
193
|
+
groupEnd: H({}, n, {
|
|
194
|
+
value: ke
|
|
195
|
+
})
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
fe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
var ve = _.ReactCurrentDispatcher, Se;
|
|
202
|
+
function j(n, c, g) {
|
|
203
|
+
{
|
|
204
|
+
if (Se === void 0)
|
|
205
|
+
try {
|
|
206
|
+
throw Error();
|
|
207
|
+
} catch ($) {
|
|
208
|
+
var E = $.stack.trim().match(/\n( *(at )?)/);
|
|
209
|
+
Se = E && E[1] || "";
|
|
210
|
+
}
|
|
211
|
+
return `
|
|
212
|
+
` + Se + n;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
var ie = !1, be;
|
|
216
|
+
{
|
|
217
|
+
var je = typeof WeakMap == "function" ? WeakMap : Map;
|
|
218
|
+
be = new je();
|
|
219
|
+
}
|
|
220
|
+
function s(n, c) {
|
|
221
|
+
if (!n || ie)
|
|
222
|
+
return "";
|
|
223
|
+
{
|
|
224
|
+
var g = be.get(n);
|
|
225
|
+
if (g !== void 0)
|
|
226
|
+
return g;
|
|
227
|
+
}
|
|
228
|
+
var E;
|
|
229
|
+
ie = !0;
|
|
230
|
+
var $ = Error.prepareStackTrace;
|
|
231
|
+
Error.prepareStackTrace = void 0;
|
|
232
|
+
var B;
|
|
233
|
+
B = ve.current, ve.current = null, Le();
|
|
234
|
+
try {
|
|
235
|
+
if (c) {
|
|
236
|
+
var A = function() {
|
|
237
|
+
throw Error();
|
|
238
|
+
};
|
|
239
|
+
if (Object.defineProperty(A.prototype, "props", {
|
|
240
|
+
set: function() {
|
|
241
|
+
throw Error();
|
|
242
|
+
}
|
|
243
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
244
|
+
try {
|
|
245
|
+
Reflect.construct(A, []);
|
|
246
|
+
} catch (De) {
|
|
247
|
+
E = De;
|
|
248
|
+
}
|
|
249
|
+
Reflect.construct(n, [], A);
|
|
250
|
+
} else {
|
|
251
|
+
try {
|
|
252
|
+
A.call();
|
|
253
|
+
} catch (De) {
|
|
254
|
+
E = De;
|
|
255
|
+
}
|
|
256
|
+
n.call(A.prototype);
|
|
257
|
+
}
|
|
258
|
+
} else {
|
|
259
|
+
try {
|
|
260
|
+
throw Error();
|
|
261
|
+
} catch (De) {
|
|
262
|
+
E = De;
|
|
263
|
+
}
|
|
264
|
+
n();
|
|
265
|
+
}
|
|
266
|
+
} catch (De) {
|
|
267
|
+
if (De && E && typeof De.stack == "string") {
|
|
268
|
+
for (var T = De.stack.split(`
|
|
269
|
+
`), le = E.stack.split(`
|
|
270
|
+
`), G = T.length - 1, X = le.length - 1; G >= 1 && X >= 0 && T[G] !== le[X]; )
|
|
271
|
+
X--;
|
|
272
|
+
for (; G >= 1 && X >= 0; G--, X--)
|
|
273
|
+
if (T[G] !== le[X]) {
|
|
274
|
+
if (G !== 1 || X !== 1)
|
|
275
|
+
do
|
|
276
|
+
if (G--, X--, X < 0 || T[G] !== le[X]) {
|
|
277
|
+
var xe = `
|
|
278
|
+
` + T[G].replace(" at new ", " at ");
|
|
279
|
+
return n.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", n.displayName)), typeof n == "function" && be.set(n, xe), xe;
|
|
280
|
+
}
|
|
281
|
+
while (G >= 1 && X >= 0);
|
|
282
|
+
break;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
} finally {
|
|
286
|
+
ie = !1, ve.current = B, _e(), Error.prepareStackTrace = $;
|
|
287
|
+
}
|
|
288
|
+
var He = n ? n.displayName || n.name : "", Kr = He ? j(He) : "";
|
|
289
|
+
return typeof n == "function" && be.set(n, Kr), Kr;
|
|
290
|
+
}
|
|
291
|
+
function w(n, c, g) {
|
|
292
|
+
return s(n, !1);
|
|
293
|
+
}
|
|
294
|
+
function Y(n) {
|
|
295
|
+
var c = n.prototype;
|
|
296
|
+
return !!(c && c.isReactComponent);
|
|
297
|
+
}
|
|
298
|
+
function de(n, c, g) {
|
|
299
|
+
if (n == null)
|
|
300
|
+
return "";
|
|
301
|
+
if (typeof n == "function")
|
|
302
|
+
return s(n, Y(n));
|
|
303
|
+
if (typeof n == "string")
|
|
304
|
+
return j(n);
|
|
305
|
+
switch (n) {
|
|
306
|
+
case v:
|
|
307
|
+
return j("Suspense");
|
|
308
|
+
case m:
|
|
309
|
+
return j("SuspenseList");
|
|
310
|
+
}
|
|
311
|
+
if (typeof n == "object")
|
|
312
|
+
switch (n.$$typeof) {
|
|
313
|
+
case d:
|
|
314
|
+
return w(n.render);
|
|
315
|
+
case h:
|
|
316
|
+
return de(n.type, c, g);
|
|
317
|
+
case y: {
|
|
318
|
+
var E = n, $ = E._payload, B = E._init;
|
|
319
|
+
try {
|
|
320
|
+
return de(B($), c, g);
|
|
321
|
+
} catch {
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
return "";
|
|
326
|
+
}
|
|
327
|
+
var Be = Object.prototype.hasOwnProperty, Ye = {}, tr = _.ReactDebugCurrentFrame;
|
|
328
|
+
function Me(n) {
|
|
329
|
+
if (n) {
|
|
330
|
+
var c = n._owner, g = de(n.type, n._source, c ? c.type : null);
|
|
331
|
+
tr.setExtraStackFrame(g);
|
|
332
|
+
} else
|
|
333
|
+
tr.setExtraStackFrame(null);
|
|
334
|
+
}
|
|
335
|
+
function me(n, c, g, E, $) {
|
|
336
|
+
{
|
|
337
|
+
var B = Function.call.bind(Be);
|
|
338
|
+
for (var A in n)
|
|
339
|
+
if (B(n, A)) {
|
|
340
|
+
var T = void 0;
|
|
341
|
+
try {
|
|
342
|
+
if (typeof n[A] != "function") {
|
|
343
|
+
var le = Error((E || "React class") + ": " + g + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
344
|
+
throw le.name = "Invariant Violation", le;
|
|
345
|
+
}
|
|
346
|
+
T = n[A](c, A, E, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
347
|
+
} catch (G) {
|
|
348
|
+
T = G;
|
|
349
|
+
}
|
|
350
|
+
T && !(T instanceof Error) && (Me($), S("%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).", E || "React class", g, A, typeof T), Me(null)), T instanceof Error && !(T.message in Ye) && (Ye[T.message] = !0, Me($), S("Failed %s type: %s", g, T.message), Me(null));
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
var dr = Array.isArray;
|
|
355
|
+
function We(n) {
|
|
356
|
+
return dr(n);
|
|
357
|
+
}
|
|
358
|
+
function qe(n) {
|
|
359
|
+
{
|
|
360
|
+
var c = typeof Symbol == "function" && Symbol.toStringTag, g = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
361
|
+
return g;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
function mr(n) {
|
|
365
|
+
try {
|
|
366
|
+
return nr(n), !1;
|
|
367
|
+
} catch {
|
|
368
|
+
return !0;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
function nr(n) {
|
|
372
|
+
return "" + n;
|
|
373
|
+
}
|
|
374
|
+
function se(n) {
|
|
375
|
+
if (mr(n))
|
|
376
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qe(n)), nr(n);
|
|
377
|
+
}
|
|
378
|
+
var Ue = _.ReactCurrentOwner, _r = {
|
|
379
|
+
key: !0,
|
|
380
|
+
ref: !0,
|
|
381
|
+
__self: !0,
|
|
382
|
+
__source: !0
|
|
383
|
+
}, Ge, Ke, Ve;
|
|
384
|
+
Ve = {};
|
|
385
|
+
function ze(n) {
|
|
386
|
+
if (Be.call(n, "ref")) {
|
|
387
|
+
var c = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
388
|
+
if (c && c.isReactWarning)
|
|
389
|
+
return !1;
|
|
390
|
+
}
|
|
391
|
+
return n.ref !== void 0;
|
|
392
|
+
}
|
|
393
|
+
function Rr(n) {
|
|
394
|
+
if (Be.call(n, "key")) {
|
|
395
|
+
var c = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
396
|
+
if (c && c.isReactWarning)
|
|
397
|
+
return !1;
|
|
398
|
+
}
|
|
399
|
+
return n.key !== void 0;
|
|
400
|
+
}
|
|
401
|
+
function Cr(n, c) {
|
|
402
|
+
if (typeof n.ref == "string" && Ue.current && c && Ue.current.stateNode !== c) {
|
|
403
|
+
var g = K(Ue.current.type);
|
|
404
|
+
Ve[g] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', K(Ue.current.type), n.ref), Ve[g] = !0);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
function C(n, c) {
|
|
408
|
+
{
|
|
409
|
+
var g = function() {
|
|
410
|
+
Ge || (Ge = !0, S("%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)", c));
|
|
411
|
+
};
|
|
412
|
+
g.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
413
|
+
get: g,
|
|
414
|
+
configurable: !0
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
function O(n, c) {
|
|
419
|
+
{
|
|
420
|
+
var g = function() {
|
|
421
|
+
Ke || (Ke = !0, S("%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)", c));
|
|
422
|
+
};
|
|
423
|
+
g.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
424
|
+
get: g,
|
|
425
|
+
configurable: !0
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
var W = function(n, c, g, E, $, B, A) {
|
|
430
|
+
var T = {
|
|
431
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
432
|
+
$$typeof: r,
|
|
433
|
+
// Built-in properties that belong on the element
|
|
434
|
+
type: n,
|
|
435
|
+
key: c,
|
|
436
|
+
ref: g,
|
|
437
|
+
props: A,
|
|
438
|
+
// Record the component responsible for creating this element.
|
|
439
|
+
_owner: B
|
|
440
|
+
};
|
|
441
|
+
return T._store = {}, Object.defineProperty(T._store, "validated", {
|
|
442
|
+
configurable: !1,
|
|
443
|
+
enumerable: !1,
|
|
444
|
+
writable: !0,
|
|
445
|
+
value: !1
|
|
446
|
+
}), Object.defineProperty(T, "_self", {
|
|
447
|
+
configurable: !1,
|
|
448
|
+
enumerable: !1,
|
|
449
|
+
writable: !1,
|
|
450
|
+
value: E
|
|
451
|
+
}), Object.defineProperty(T, "_source", {
|
|
452
|
+
configurable: !1,
|
|
453
|
+
enumerable: !1,
|
|
454
|
+
writable: !1,
|
|
455
|
+
value: $
|
|
456
|
+
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
457
|
+
};
|
|
458
|
+
function Q(n, c, g, E, $) {
|
|
459
|
+
{
|
|
460
|
+
var B, A = {}, T = null, le = null;
|
|
461
|
+
g !== void 0 && (se(g), T = "" + g), Rr(c) && (se(c.key), T = "" + c.key), ze(c) && (le = c.ref, Cr(c, $));
|
|
462
|
+
for (B in c)
|
|
463
|
+
Be.call(c, B) && !_r.hasOwnProperty(B) && (A[B] = c[B]);
|
|
464
|
+
if (n && n.defaultProps) {
|
|
465
|
+
var G = n.defaultProps;
|
|
466
|
+
for (B in G)
|
|
467
|
+
A[B] === void 0 && (A[B] = G[B]);
|
|
468
|
+
}
|
|
469
|
+
if (T || le) {
|
|
470
|
+
var X = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
471
|
+
T && C(A, X), le && O(A, X);
|
|
472
|
+
}
|
|
473
|
+
return W(n, T, le, $, E, Ue.current, A);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
var ee = _.ReactCurrentOwner, q = _.ReactDebugCurrentFrame;
|
|
477
|
+
function V(n) {
|
|
478
|
+
if (n) {
|
|
479
|
+
var c = n._owner, g = de(n.type, n._source, c ? c.type : null);
|
|
480
|
+
q.setExtraStackFrame(g);
|
|
481
|
+
} else
|
|
482
|
+
q.setExtraStackFrame(null);
|
|
483
|
+
}
|
|
484
|
+
var ce;
|
|
485
|
+
ce = !1;
|
|
486
|
+
function Te(n) {
|
|
487
|
+
return typeof n == "object" && n !== null && n.$$typeof === r;
|
|
488
|
+
}
|
|
489
|
+
function Tr() {
|
|
490
|
+
{
|
|
491
|
+
if (ee.current) {
|
|
492
|
+
var n = K(ee.current.type);
|
|
493
|
+
if (n)
|
|
494
|
+
return `
|
|
495
|
+
|
|
496
|
+
Check the render method of \`` + n + "`.";
|
|
497
|
+
}
|
|
498
|
+
return "";
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
function gr(n) {
|
|
502
|
+
{
|
|
503
|
+
if (n !== void 0) {
|
|
504
|
+
var c = n.fileName.replace(/^.*[\\\/]/, ""), g = n.lineNumber;
|
|
505
|
+
return `
|
|
506
|
+
|
|
507
|
+
Check your code at ` + c + ":" + g + ".";
|
|
508
|
+
}
|
|
509
|
+
return "";
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
var ar = {};
|
|
513
|
+
function It(n) {
|
|
514
|
+
{
|
|
515
|
+
var c = Tr();
|
|
516
|
+
if (!c) {
|
|
517
|
+
var g = typeof n == "string" ? n : n.displayName || n.name;
|
|
518
|
+
g && (c = `
|
|
519
|
+
|
|
520
|
+
Check the top-level render call using <` + g + ">.");
|
|
521
|
+
}
|
|
522
|
+
return c;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
function Wr(n, c) {
|
|
526
|
+
{
|
|
527
|
+
if (!n._store || n._store.validated || n.key != null)
|
|
528
|
+
return;
|
|
529
|
+
n._store.validated = !0;
|
|
530
|
+
var g = It(c);
|
|
531
|
+
if (ar[g])
|
|
532
|
+
return;
|
|
533
|
+
ar[g] = !0;
|
|
534
|
+
var E = "";
|
|
535
|
+
n && n._owner && n._owner !== ee.current && (E = " It was passed a child from " + K(n._owner.type) + "."), V(n), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, E), V(null);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
function qr(n, c) {
|
|
539
|
+
{
|
|
540
|
+
if (typeof n != "object")
|
|
541
|
+
return;
|
|
542
|
+
if (We(n))
|
|
543
|
+
for (var g = 0; g < n.length; g++) {
|
|
544
|
+
var E = n[g];
|
|
545
|
+
Te(E) && Wr(E, c);
|
|
546
|
+
}
|
|
547
|
+
else if (Te(n))
|
|
548
|
+
n._store && (n._store.validated = !0);
|
|
549
|
+
else if (n) {
|
|
550
|
+
var $ = x(n);
|
|
551
|
+
if (typeof $ == "function" && $ !== n.entries)
|
|
552
|
+
for (var B = $.call(n), A; !(A = B.next()).done; )
|
|
553
|
+
Te(A.value) && Wr(A.value, c);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
function $t(n) {
|
|
558
|
+
{
|
|
559
|
+
var c = n.type;
|
|
560
|
+
if (c == null || typeof c == "string")
|
|
561
|
+
return;
|
|
562
|
+
var g;
|
|
563
|
+
if (typeof c == "function")
|
|
564
|
+
g = c.propTypes;
|
|
565
|
+
else if (typeof c == "object" && (c.$$typeof === d || // Note: Memo only checks outer props here.
|
|
566
|
+
// Inner props are checked in the reconciler.
|
|
567
|
+
c.$$typeof === h))
|
|
568
|
+
g = c.propTypes;
|
|
569
|
+
else
|
|
570
|
+
return;
|
|
571
|
+
if (g) {
|
|
572
|
+
var E = K(c);
|
|
573
|
+
me(g, n.props, "prop", E, n);
|
|
574
|
+
} else if (c.PropTypes !== void 0 && !ce) {
|
|
575
|
+
ce = !0;
|
|
576
|
+
var $ = K(c);
|
|
577
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
578
|
+
}
|
|
579
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
function Lt(n) {
|
|
583
|
+
{
|
|
584
|
+
for (var c = Object.keys(n.props), g = 0; g < c.length; g++) {
|
|
585
|
+
var E = c[g];
|
|
586
|
+
if (E !== "children" && E !== "key") {
|
|
587
|
+
V(n), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), V(null);
|
|
588
|
+
break;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
n.ref !== null && (V(n), S("Invalid attribute `ref` supplied to `React.Fragment`."), V(null));
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
function Gr(n, c, g, E, $, B) {
|
|
595
|
+
{
|
|
596
|
+
var A = Ie(n);
|
|
597
|
+
if (!A) {
|
|
598
|
+
var T = "";
|
|
599
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
600
|
+
var le = gr($);
|
|
601
|
+
le ? T += le : T += Tr();
|
|
602
|
+
var G;
|
|
603
|
+
n === null ? G = "null" : We(n) ? G = "array" : n !== void 0 && n.$$typeof === r ? (G = "<" + (K(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : G = typeof n, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, T);
|
|
604
|
+
}
|
|
605
|
+
var X = Q(n, c, g, $, B);
|
|
606
|
+
if (X == null)
|
|
607
|
+
return X;
|
|
608
|
+
if (A) {
|
|
609
|
+
var xe = c.children;
|
|
610
|
+
if (xe !== void 0)
|
|
611
|
+
if (E)
|
|
612
|
+
if (We(xe)) {
|
|
613
|
+
for (var He = 0; He < xe.length; He++)
|
|
614
|
+
qr(xe[He], n);
|
|
615
|
+
Object.freeze && Object.freeze(xe);
|
|
616
|
+
} else
|
|
617
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
618
|
+
else
|
|
619
|
+
qr(xe, n);
|
|
620
|
+
}
|
|
621
|
+
return n === a ? Lt(X) : $t(X), X;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
function Mt(n, c, g) {
|
|
625
|
+
return Gr(n, c, g, !0);
|
|
626
|
+
}
|
|
627
|
+
function Dt(n, c, g) {
|
|
628
|
+
return Gr(n, c, g, !1);
|
|
629
|
+
}
|
|
630
|
+
var Ft = Dt, jt = Mt;
|
|
631
|
+
ir.Fragment = a, ir.jsx = Ft, ir.jsxs = jt;
|
|
632
|
+
}()), ir;
|
|
633
|
+
}
|
|
634
|
+
process.env.NODE_ENV === "production" ? Ar.exports = Kt() : Ar.exports = Ht();
|
|
635
|
+
var Fr = Ar.exports;
|
|
636
|
+
const Jt = Fr.Fragment, Zr = Fr.jsx, Qr = Fr.jsxs;
|
|
637
|
+
function Xt(e) {
|
|
11
638
|
if (e.sheet)
|
|
12
639
|
return e.sheet;
|
|
13
640
|
for (var r = 0; r < document.styleSheets.length; r++)
|
|
14
641
|
if (document.styleSheets[r].ownerNode === e)
|
|
15
642
|
return document.styleSheets[r];
|
|
16
643
|
}
|
|
17
|
-
function
|
|
644
|
+
function Zt(e) {
|
|
18
645
|
var r = document.createElement("style");
|
|
19
646
|
return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
|
|
20
647
|
}
|
|
21
|
-
var
|
|
22
|
-
function e(
|
|
648
|
+
var Qt = /* @__PURE__ */ function() {
|
|
649
|
+
function e(t) {
|
|
23
650
|
var a = this;
|
|
24
651
|
this._insertTag = function(o) {
|
|
25
652
|
var i;
|
|
26
653
|
a.tags.length === 0 ? a.insertionPoint ? i = a.insertionPoint.nextSibling : a.prepend ? i = a.container.firstChild : i = a.before : i = a.tags[a.tags.length - 1].nextSibling, a.container.insertBefore(o, i), a.tags.push(o);
|
|
27
|
-
}, this.isSpeedy =
|
|
654
|
+
}, this.isSpeedy = t.speedy === void 0 ? process.env.NODE_ENV === "production" : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
|
|
28
655
|
}
|
|
29
656
|
var r = e.prototype;
|
|
30
657
|
return r.hydrate = function(a) {
|
|
31
658
|
a.forEach(this._insertTag);
|
|
32
659
|
}, r.insert = function(a) {
|
|
33
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
660
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Zt(this));
|
|
34
661
|
var o = this.tags[this.tags.length - 1];
|
|
35
662
|
if (process.env.NODE_ENV !== "production") {
|
|
36
663
|
var i = a.charCodeAt(0) === 64 && a.charCodeAt(1) === 105;
|
|
@@ -38,11 +665,11 @@ var tn = /* @__PURE__ */ function() {
|
|
|
38
665
|
` + a + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !i;
|
|
39
666
|
}
|
|
40
667
|
if (this.isSpeedy) {
|
|
41
|
-
var
|
|
668
|
+
var l = Xt(o);
|
|
42
669
|
try {
|
|
43
|
-
|
|
44
|
-
} catch (
|
|
45
|
-
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(a) && console.error('There was a problem inserting the following rule: "' + a + '"',
|
|
670
|
+
l.insertRule(a, l.cssRules.length);
|
|
671
|
+
} catch (u) {
|
|
672
|
+
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(a) && console.error('There was a problem inserting the following rule: "' + a + '"', u);
|
|
46
673
|
}
|
|
47
674
|
} else
|
|
48
675
|
o.appendChild(document.createTextNode(a));
|
|
@@ -52,66 +679,66 @@ var tn = /* @__PURE__ */ function() {
|
|
|
52
679
|
return a.parentNode && a.parentNode.removeChild(a);
|
|
53
680
|
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
|
|
54
681
|
}, e;
|
|
55
|
-
}(),
|
|
56
|
-
function
|
|
57
|
-
return
|
|
682
|
+
}(), oe = "-ms-", yr = "-moz-", L = "-webkit-", jr = "comm", Vr = "rule", Br = "decl", en = "@import", pt = "@keyframes", rn = "@layer", tn = Math.abs, Nr = String.fromCharCode, nn = Object.assign;
|
|
683
|
+
function an(e, r) {
|
|
684
|
+
return te(e, 0) ^ 45 ? (((r << 2 ^ te(e, 0)) << 2 ^ te(e, 1)) << 2 ^ te(e, 2)) << 2 ^ te(e, 3) : 0;
|
|
58
685
|
}
|
|
59
|
-
function
|
|
686
|
+
function vt(e) {
|
|
60
687
|
return e.trim();
|
|
61
688
|
}
|
|
62
|
-
function
|
|
689
|
+
function on(e, r) {
|
|
63
690
|
return (e = r.exec(e)) ? e[0] : e;
|
|
64
691
|
}
|
|
65
|
-
function
|
|
66
|
-
return e.replace(r,
|
|
692
|
+
function M(e, r, t) {
|
|
693
|
+
return e.replace(r, t);
|
|
67
694
|
}
|
|
68
|
-
function
|
|
695
|
+
function Ir(e, r) {
|
|
69
696
|
return e.indexOf(r);
|
|
70
697
|
}
|
|
71
|
-
function
|
|
698
|
+
function te(e, r) {
|
|
72
699
|
return e.charCodeAt(r) | 0;
|
|
73
700
|
}
|
|
74
|
-
function
|
|
75
|
-
return e.slice(r,
|
|
701
|
+
function cr(e, r, t) {
|
|
702
|
+
return e.slice(r, t);
|
|
76
703
|
}
|
|
77
|
-
function
|
|
704
|
+
function Pe(e) {
|
|
78
705
|
return e.length;
|
|
79
706
|
}
|
|
80
|
-
function
|
|
707
|
+
function Ur(e) {
|
|
81
708
|
return e.length;
|
|
82
709
|
}
|
|
83
|
-
function
|
|
710
|
+
function hr(e, r) {
|
|
84
711
|
return r.push(e), e;
|
|
85
712
|
}
|
|
86
|
-
function
|
|
713
|
+
function sn(e, r) {
|
|
87
714
|
return e.map(r).join("");
|
|
88
715
|
}
|
|
89
|
-
var
|
|
90
|
-
function
|
|
91
|
-
return { value: e, root: r, parent:
|
|
716
|
+
var kr = 1, er = 1, bt = 0, pe = 0, Z = 0, rr = "";
|
|
717
|
+
function Sr(e, r, t, a, o, i, l) {
|
|
718
|
+
return { value: e, root: r, parent: t, type: a, props: o, children: i, line: kr, column: er, length: l, return: "" };
|
|
92
719
|
}
|
|
93
|
-
function
|
|
94
|
-
return
|
|
720
|
+
function sr(e, r) {
|
|
721
|
+
return nn(Sr("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
95
722
|
}
|
|
96
|
-
function
|
|
97
|
-
return
|
|
723
|
+
function cn() {
|
|
724
|
+
return Z;
|
|
98
725
|
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
726
|
+
function ln() {
|
|
727
|
+
return Z = pe > 0 ? te(rr, --pe) : 0, er--, Z === 10 && (er = 1, kr--), Z;
|
|
101
728
|
}
|
|
102
|
-
function
|
|
103
|
-
return
|
|
729
|
+
function ye() {
|
|
730
|
+
return Z = pe < bt ? te(rr, pe++) : 0, er++, Z === 10 && (er = 1, kr++), Z;
|
|
104
731
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
732
|
+
function Oe() {
|
|
733
|
+
return te(rr, pe);
|
|
107
734
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
735
|
+
function pr() {
|
|
736
|
+
return pe;
|
|
110
737
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
738
|
+
function fr(e, r) {
|
|
739
|
+
return cr(rr, e, r);
|
|
113
740
|
}
|
|
114
|
-
function
|
|
741
|
+
function lr(e) {
|
|
115
742
|
switch (e) {
|
|
116
743
|
case 0:
|
|
117
744
|
case 9:
|
|
@@ -143,277 +770,288 @@ function yr(e) {
|
|
|
143
770
|
}
|
|
144
771
|
return 0;
|
|
145
772
|
}
|
|
146
|
-
function
|
|
147
|
-
return
|
|
773
|
+
function yt(e) {
|
|
774
|
+
return kr = er = 1, bt = Pe(rr = e), pe = 0, [];
|
|
148
775
|
}
|
|
149
|
-
function
|
|
150
|
-
return
|
|
776
|
+
function wt(e) {
|
|
777
|
+
return rr = "", e;
|
|
151
778
|
}
|
|
152
|
-
function
|
|
153
|
-
return
|
|
779
|
+
function vr(e) {
|
|
780
|
+
return vt(fr(pe - 1, $r(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
154
781
|
}
|
|
155
|
-
function
|
|
156
|
-
for (; (
|
|
157
|
-
|
|
158
|
-
return
|
|
782
|
+
function un(e) {
|
|
783
|
+
for (; (Z = Oe()) && Z < 33; )
|
|
784
|
+
ye();
|
|
785
|
+
return lr(e) > 2 || lr(Z) > 3 ? "" : " ";
|
|
159
786
|
}
|
|
160
|
-
function
|
|
161
|
-
for (; --r &&
|
|
787
|
+
function fn(e, r) {
|
|
788
|
+
for (; --r && ye() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
162
789
|
;
|
|
163
|
-
return
|
|
790
|
+
return fr(e, pr() + (r < 6 && Oe() == 32 && ye() == 32));
|
|
164
791
|
}
|
|
165
|
-
function
|
|
166
|
-
for (;
|
|
167
|
-
switch (
|
|
792
|
+
function $r(e) {
|
|
793
|
+
for (; ye(); )
|
|
794
|
+
switch (Z) {
|
|
168
795
|
case e:
|
|
169
|
-
return
|
|
796
|
+
return pe;
|
|
170
797
|
case 34:
|
|
171
798
|
case 39:
|
|
172
|
-
e !== 34 && e !== 39 &&
|
|
799
|
+
e !== 34 && e !== 39 && $r(Z);
|
|
173
800
|
break;
|
|
174
801
|
case 40:
|
|
175
|
-
e === 41 &&
|
|
802
|
+
e === 41 && $r(e);
|
|
176
803
|
break;
|
|
177
804
|
case 92:
|
|
178
|
-
|
|
805
|
+
ye();
|
|
179
806
|
break;
|
|
180
807
|
}
|
|
181
|
-
return
|
|
808
|
+
return pe;
|
|
182
809
|
}
|
|
183
|
-
function
|
|
184
|
-
for (;
|
|
185
|
-
if (e +
|
|
810
|
+
function dn(e, r) {
|
|
811
|
+
for (; ye() && e + Z !== 47 + 10; )
|
|
812
|
+
if (e + Z === 42 + 42 && Oe() === 47)
|
|
186
813
|
break;
|
|
187
|
-
return "/*" +
|
|
814
|
+
return "/*" + fr(r, pe - 1) + "*" + Nr(e === 47 ? e : ye());
|
|
188
815
|
}
|
|
189
|
-
function
|
|
190
|
-
for (; !
|
|
191
|
-
|
|
192
|
-
return
|
|
816
|
+
function mn(e) {
|
|
817
|
+
for (; !lr(Oe()); )
|
|
818
|
+
ye();
|
|
819
|
+
return fr(e, pe);
|
|
193
820
|
}
|
|
194
|
-
function
|
|
195
|
-
return
|
|
821
|
+
function gn(e) {
|
|
822
|
+
return wt(br("", null, null, null, [""], e = yt(e), 0, [0], e));
|
|
196
823
|
}
|
|
197
|
-
function
|
|
198
|
-
for (var
|
|
199
|
-
switch (
|
|
824
|
+
function br(e, r, t, a, o, i, l, u, d) {
|
|
825
|
+
for (var v = 0, m = 0, h = l, y = 0, k = 0, N = 0, b = 1, x = 1, _ = 1, S = 0, P = "", I = o, f = i, U = a, R = P; x; )
|
|
826
|
+
switch (N = S, S = ye()) {
|
|
200
827
|
case 40:
|
|
201
|
-
if (
|
|
202
|
-
|
|
828
|
+
if (N != 108 && te(R, h - 1) == 58) {
|
|
829
|
+
Ir(R += M(vr(S), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
203
830
|
break;
|
|
204
831
|
}
|
|
205
832
|
case 34:
|
|
206
833
|
case 39:
|
|
207
834
|
case 91:
|
|
208
|
-
|
|
835
|
+
R += vr(S);
|
|
209
836
|
break;
|
|
210
837
|
case 9:
|
|
211
838
|
case 10:
|
|
212
839
|
case 13:
|
|
213
840
|
case 32:
|
|
214
|
-
|
|
841
|
+
R += un(N);
|
|
215
842
|
break;
|
|
216
843
|
case 92:
|
|
217
|
-
|
|
844
|
+
R += fn(pr() - 1, 7);
|
|
218
845
|
continue;
|
|
219
846
|
case 47:
|
|
220
|
-
switch (
|
|
847
|
+
switch (Oe()) {
|
|
221
848
|
case 42:
|
|
222
849
|
case 47:
|
|
223
|
-
|
|
850
|
+
hr(hn(dn(ye(), pr()), r, t), d);
|
|
224
851
|
break;
|
|
225
852
|
default:
|
|
226
|
-
|
|
853
|
+
R += "/";
|
|
227
854
|
}
|
|
228
855
|
break;
|
|
229
|
-
case 123 *
|
|
230
|
-
|
|
231
|
-
case 125 *
|
|
856
|
+
case 123 * b:
|
|
857
|
+
u[v++] = Pe(R) * _;
|
|
858
|
+
case 125 * b:
|
|
232
859
|
case 59:
|
|
233
860
|
case 0:
|
|
234
|
-
switch (
|
|
861
|
+
switch (S) {
|
|
235
862
|
case 0:
|
|
236
863
|
case 125:
|
|
237
|
-
|
|
238
|
-
case 59 +
|
|
239
|
-
|
|
864
|
+
x = 0;
|
|
865
|
+
case 59 + m:
|
|
866
|
+
_ == -1 && (R = M(R, /\f/g, "")), k > 0 && Pe(R) - h && hr(k > 32 ? rt(R + ";", a, t, h - 1) : rt(M(R, " ", "") + ";", a, t, h - 2), d);
|
|
240
867
|
break;
|
|
241
868
|
case 59:
|
|
242
|
-
|
|
869
|
+
R += ";";
|
|
243
870
|
default:
|
|
244
|
-
if (
|
|
245
|
-
if (
|
|
246
|
-
|
|
871
|
+
if (hr(U = et(R, r, t, v, m, o, u, P, I = [], f = [], h), i), S === 123)
|
|
872
|
+
if (m === 0)
|
|
873
|
+
br(R, r, U, U, I, i, h, u, f);
|
|
247
874
|
else
|
|
248
|
-
switch (
|
|
875
|
+
switch (y === 99 && te(R, 3) === 110 ? 100 : y) {
|
|
249
876
|
case 100:
|
|
877
|
+
case 108:
|
|
250
878
|
case 109:
|
|
251
879
|
case 115:
|
|
252
|
-
|
|
880
|
+
br(e, U, U, a && hr(et(e, U, U, 0, 0, o, u, P, o, I = [], h), f), o, f, h, u, a ? I : f);
|
|
253
881
|
break;
|
|
254
882
|
default:
|
|
255
|
-
|
|
883
|
+
br(R, U, U, U, [""], f, 0, u, f);
|
|
256
884
|
}
|
|
257
885
|
}
|
|
258
|
-
|
|
886
|
+
v = m = k = 0, b = _ = 1, P = R = "", h = l;
|
|
259
887
|
break;
|
|
260
888
|
case 58:
|
|
261
|
-
|
|
889
|
+
h = 1 + Pe(R), k = N;
|
|
262
890
|
default:
|
|
263
|
-
if (
|
|
264
|
-
if (
|
|
265
|
-
--
|
|
266
|
-
else if (
|
|
891
|
+
if (b < 1) {
|
|
892
|
+
if (S == 123)
|
|
893
|
+
--b;
|
|
894
|
+
else if (S == 125 && b++ == 0 && ln() == 125)
|
|
267
895
|
continue;
|
|
268
896
|
}
|
|
269
|
-
switch (
|
|
897
|
+
switch (R += Nr(S), S * b) {
|
|
270
898
|
case 38:
|
|
271
|
-
|
|
899
|
+
_ = m > 0 ? 1 : (R += "\f", -1);
|
|
272
900
|
break;
|
|
273
901
|
case 44:
|
|
274
|
-
|
|
902
|
+
u[v++] = (Pe(R) - 1) * _, _ = 1;
|
|
275
903
|
break;
|
|
276
904
|
case 64:
|
|
277
|
-
|
|
905
|
+
Oe() === 45 && (R += vr(ye())), y = Oe(), m = h = Pe(P = R += mn(pr())), S++;
|
|
278
906
|
break;
|
|
279
907
|
case 45:
|
|
280
|
-
|
|
908
|
+
N === 45 && Pe(R) == 2 && (b = 0);
|
|
281
909
|
}
|
|
282
910
|
}
|
|
283
911
|
return i;
|
|
284
912
|
}
|
|
285
|
-
function
|
|
286
|
-
for (var
|
|
287
|
-
for (var
|
|
288
|
-
(P =
|
|
289
|
-
return
|
|
913
|
+
function et(e, r, t, a, o, i, l, u, d, v, m) {
|
|
914
|
+
for (var h = o - 1, y = o === 0 ? i : [""], k = Ur(y), N = 0, b = 0, x = 0; N < a; ++N)
|
|
915
|
+
for (var _ = 0, S = cr(e, h + 1, h = tn(b = l[N])), P = e; _ < k; ++_)
|
|
916
|
+
(P = vt(b > 0 ? y[_] + " " + S : M(S, /&\f/g, y[_]))) && (d[x++] = P);
|
|
917
|
+
return Sr(e, r, t, o === 0 ? Vr : u, d, v, m);
|
|
290
918
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
919
|
+
function hn(e, r, t) {
|
|
920
|
+
return Sr(e, r, t, jr, Nr(cn()), cr(e, 2, -2), 0);
|
|
293
921
|
}
|
|
294
|
-
function
|
|
295
|
-
return
|
|
922
|
+
function rt(e, r, t, a) {
|
|
923
|
+
return Sr(e, r, t, Br, cr(e, 0, a), cr(e, a + 1, -1), a);
|
|
296
924
|
}
|
|
297
|
-
function
|
|
298
|
-
for (var
|
|
299
|
-
|
|
300
|
-
return
|
|
925
|
+
function Qe(e, r) {
|
|
926
|
+
for (var t = "", a = Ur(e), o = 0; o < a; o++)
|
|
927
|
+
t += r(e[o], o, e, r) || "";
|
|
928
|
+
return t;
|
|
301
929
|
}
|
|
302
|
-
function
|
|
930
|
+
function pn(e, r, t, a) {
|
|
303
931
|
switch (e.type) {
|
|
304
|
-
case
|
|
305
|
-
|
|
932
|
+
case rn:
|
|
933
|
+
if (e.children.length)
|
|
934
|
+
break;
|
|
935
|
+
case en:
|
|
936
|
+
case Br:
|
|
306
937
|
return e.return = e.return || e.value;
|
|
307
|
-
case
|
|
938
|
+
case jr:
|
|
308
939
|
return "";
|
|
309
|
-
case
|
|
310
|
-
return e.return = e.value + "{" +
|
|
311
|
-
case
|
|
940
|
+
case pt:
|
|
941
|
+
return e.return = e.value + "{" + Qe(e.children, a) + "}";
|
|
942
|
+
case Vr:
|
|
312
943
|
e.value = e.props.join(",");
|
|
313
944
|
}
|
|
314
|
-
return
|
|
945
|
+
return Pe(t = Qe(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
|
|
315
946
|
}
|
|
316
|
-
function
|
|
317
|
-
var r =
|
|
318
|
-
return function(
|
|
319
|
-
for (var
|
|
320
|
-
|
|
321
|
-
return
|
|
947
|
+
function vn(e) {
|
|
948
|
+
var r = Ur(e);
|
|
949
|
+
return function(t, a, o, i) {
|
|
950
|
+
for (var l = "", u = 0; u < r; u++)
|
|
951
|
+
l += e[u](t, a, o, i) || "";
|
|
952
|
+
return l;
|
|
322
953
|
};
|
|
323
954
|
}
|
|
324
|
-
function
|
|
955
|
+
function bn(e) {
|
|
325
956
|
return function(r) {
|
|
326
957
|
r.root || (r = r.return) && e(r);
|
|
327
958
|
};
|
|
328
959
|
}
|
|
329
|
-
function
|
|
960
|
+
function yn(e) {
|
|
330
961
|
var r = /* @__PURE__ */ Object.create(null);
|
|
331
|
-
return function(
|
|
332
|
-
return r[
|
|
962
|
+
return function(t) {
|
|
963
|
+
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
333
964
|
};
|
|
334
965
|
}
|
|
335
|
-
var
|
|
336
|
-
for (var o = 0, i = 0; o = i, i =
|
|
337
|
-
|
|
338
|
-
return
|
|
339
|
-
},
|
|
966
|
+
var wn = function(r, t, a) {
|
|
967
|
+
for (var o = 0, i = 0; o = i, i = Oe(), o === 38 && i === 12 && (t[a] = 1), !lr(i); )
|
|
968
|
+
ye();
|
|
969
|
+
return fr(r, pe);
|
|
970
|
+
}, En = function(r, t) {
|
|
340
971
|
var a = -1, o = 44;
|
|
341
972
|
do
|
|
342
|
-
switch (
|
|
973
|
+
switch (lr(o)) {
|
|
343
974
|
case 0:
|
|
344
|
-
o === 38 &&
|
|
975
|
+
o === 38 && Oe() === 12 && (t[a] = 1), r[a] += wn(pe - 1, t, a);
|
|
345
976
|
break;
|
|
346
977
|
case 2:
|
|
347
|
-
r[a] +=
|
|
978
|
+
r[a] += vr(o);
|
|
348
979
|
break;
|
|
349
980
|
case 4:
|
|
350
981
|
if (o === 44) {
|
|
351
|
-
r[++a] =
|
|
982
|
+
r[++a] = Oe() === 58 ? "&\f" : "", t[a] = r[a].length;
|
|
352
983
|
break;
|
|
353
984
|
}
|
|
354
985
|
default:
|
|
355
|
-
r[a] +=
|
|
986
|
+
r[a] += Nr(o);
|
|
356
987
|
}
|
|
357
|
-
while (o =
|
|
988
|
+
while (o = ye());
|
|
358
989
|
return r;
|
|
359
|
-
},
|
|
360
|
-
return
|
|
361
|
-
},
|
|
362
|
-
if (!(r.type !== "rule" || !r.parent ||
|
|
363
|
-
|
|
990
|
+
}, Nn = function(r, t) {
|
|
991
|
+
return wt(En(yt(r), t));
|
|
992
|
+
}, tt = /* @__PURE__ */ new WeakMap(), kn = function(r) {
|
|
993
|
+
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
|
|
994
|
+
// negative .length indicates that this rule has been already prefixed
|
|
995
|
+
r.length < 1)) {
|
|
996
|
+
for (var t = r.value, a = r.parent, o = r.column === a.column && r.line === a.line; a.type !== "rule"; )
|
|
364
997
|
if (a = a.parent, !a)
|
|
365
998
|
return;
|
|
366
|
-
if (!(r.props.length === 1 &&
|
|
367
|
-
|
|
368
|
-
for (var i = [],
|
|
369
|
-
for (var
|
|
370
|
-
r.props[
|
|
999
|
+
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !tt.get(a)) && !o) {
|
|
1000
|
+
tt.set(r, !0);
|
|
1001
|
+
for (var i = [], l = Nn(t, i), u = a.props, d = 0, v = 0; d < l.length; d++)
|
|
1002
|
+
for (var m = 0; m < u.length; m++, v++)
|
|
1003
|
+
r.props[v] = i[d] ? l[d].replace(/&\f/g, u[m]) : u[m] + " " + l[d];
|
|
371
1004
|
}
|
|
372
1005
|
}
|
|
373
|
-
},
|
|
1006
|
+
}, Sn = function(r) {
|
|
374
1007
|
if (r.type === "decl") {
|
|
375
|
-
var
|
|
376
|
-
|
|
1008
|
+
var t = r.value;
|
|
1009
|
+
// charcode for l
|
|
1010
|
+
t.charCodeAt(0) === 108 && // charcode for b
|
|
1011
|
+
t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
|
|
377
1012
|
}
|
|
378
|
-
},
|
|
379
|
-
return r.type === "comm" && r.children.indexOf(
|
|
380
|
-
},
|
|
381
|
-
return function(
|
|
382
|
-
if (!(
|
|
383
|
-
var i =
|
|
1013
|
+
}, xn = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", _n = function(r) {
|
|
1014
|
+
return r.type === "comm" && r.children.indexOf(xn) > -1;
|
|
1015
|
+
}, Rn = function(r) {
|
|
1016
|
+
return function(t, a, o) {
|
|
1017
|
+
if (!(t.type !== "rule" || r.compat)) {
|
|
1018
|
+
var i = t.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
384
1019
|
if (i) {
|
|
385
|
-
for (var
|
|
386
|
-
|
|
387
|
-
|
|
1020
|
+
for (var l = !!t.parent, u = l ? t.parent.children : (
|
|
1021
|
+
// global rule at the root level
|
|
1022
|
+
o
|
|
1023
|
+
), d = u.length - 1; d >= 0; d--) {
|
|
1024
|
+
var v = u[d];
|
|
1025
|
+
if (v.line < t.line)
|
|
388
1026
|
break;
|
|
389
|
-
if (
|
|
390
|
-
if (
|
|
1027
|
+
if (v.column < t.column) {
|
|
1028
|
+
if (_n(v))
|
|
391
1029
|
return;
|
|
392
1030
|
break;
|
|
393
1031
|
}
|
|
394
1032
|
}
|
|
395
|
-
i.forEach(function(
|
|
396
|
-
console.error('The pseudo class "' +
|
|
1033
|
+
i.forEach(function(m) {
|
|
1034
|
+
console.error('The pseudo class "' + m + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + m.split("-child")[0] + '-of-type".');
|
|
397
1035
|
});
|
|
398
1036
|
}
|
|
399
1037
|
}
|
|
400
1038
|
};
|
|
401
|
-
},
|
|
1039
|
+
}, Et = function(r) {
|
|
402
1040
|
return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
|
|
403
|
-
},
|
|
1041
|
+
}, Cn = function(r, t) {
|
|
404
1042
|
for (var a = r - 1; a >= 0; a--)
|
|
405
|
-
if (!
|
|
1043
|
+
if (!Et(t[a]))
|
|
406
1044
|
return !0;
|
|
407
1045
|
return !1;
|
|
408
|
-
},
|
|
1046
|
+
}, nt = function(r) {
|
|
409
1047
|
r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
|
|
410
|
-
},
|
|
411
|
-
|
|
1048
|
+
}, Tn = function(r, t, a) {
|
|
1049
|
+
Et(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), nt(r)) : Cn(t, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), nt(r)));
|
|
412
1050
|
};
|
|
413
|
-
function
|
|
414
|
-
switch (
|
|
1051
|
+
function Nt(e, r) {
|
|
1052
|
+
switch (an(e, r)) {
|
|
415
1053
|
case 5103:
|
|
416
|
-
return
|
|
1054
|
+
return L + "print-" + e + e;
|
|
417
1055
|
case 5737:
|
|
418
1056
|
case 4201:
|
|
419
1057
|
case 3177:
|
|
@@ -439,44 +1077,44 @@ function Dt(e, r) {
|
|
|
439
1077
|
case 5365:
|
|
440
1078
|
case 5621:
|
|
441
1079
|
case 3829:
|
|
442
|
-
return
|
|
1080
|
+
return L + e + e;
|
|
443
1081
|
case 5349:
|
|
444
1082
|
case 4246:
|
|
445
1083
|
case 4810:
|
|
446
1084
|
case 6968:
|
|
447
1085
|
case 2756:
|
|
448
|
-
return
|
|
1086
|
+
return L + e + yr + e + oe + e + e;
|
|
449
1087
|
case 6828:
|
|
450
1088
|
case 4268:
|
|
451
|
-
return
|
|
1089
|
+
return L + e + oe + e + e;
|
|
452
1090
|
case 6165:
|
|
453
|
-
return
|
|
1091
|
+
return L + e + oe + "flex-" + e + e;
|
|
454
1092
|
case 5187:
|
|
455
|
-
return
|
|
1093
|
+
return L + e + M(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + oe + "flex-$1$2") + e;
|
|
456
1094
|
case 5443:
|
|
457
|
-
return
|
|
1095
|
+
return L + e + oe + "flex-item-" + M(e, /flex-|-self/, "") + e;
|
|
458
1096
|
case 4675:
|
|
459
|
-
return
|
|
1097
|
+
return L + e + oe + "flex-line-pack" + M(e, /align-content|flex-|-self/, "") + e;
|
|
460
1098
|
case 5548:
|
|
461
|
-
return
|
|
1099
|
+
return L + e + oe + M(e, "shrink", "negative") + e;
|
|
462
1100
|
case 5292:
|
|
463
|
-
return
|
|
1101
|
+
return L + e + oe + M(e, "basis", "preferred-size") + e;
|
|
464
1102
|
case 6060:
|
|
465
|
-
return
|
|
1103
|
+
return L + "box-" + M(e, "-grow", "") + L + e + oe + M(e, "grow", "positive") + e;
|
|
466
1104
|
case 4554:
|
|
467
|
-
return
|
|
1105
|
+
return L + M(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
|
|
468
1106
|
case 6187:
|
|
469
|
-
return
|
|
1107
|
+
return M(M(M(e, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), e, "") + e;
|
|
470
1108
|
case 5495:
|
|
471
1109
|
case 3959:
|
|
472
|
-
return
|
|
1110
|
+
return M(e, /(image-set\([^]*)/, L + "$1$`$1");
|
|
473
1111
|
case 4968:
|
|
474
|
-
return
|
|
1112
|
+
return M(M(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + oe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
|
|
475
1113
|
case 4095:
|
|
476
1114
|
case 3583:
|
|
477
1115
|
case 4068:
|
|
478
1116
|
case 2532:
|
|
479
|
-
return
|
|
1117
|
+
return M(e, /(.+)-inline(.+)/, L + "$1$2") + e;
|
|
480
1118
|
case 8116:
|
|
481
1119
|
case 7059:
|
|
482
1120
|
case 5753:
|
|
@@ -489,123 +1127,125 @@ function Dt(e, r) {
|
|
|
489
1127
|
case 5789:
|
|
490
1128
|
case 5021:
|
|
491
1129
|
case 4765:
|
|
492
|
-
if (
|
|
493
|
-
switch (
|
|
1130
|
+
if (Pe(e) - 1 - r > 6)
|
|
1131
|
+
switch (te(e, r + 1)) {
|
|
494
1132
|
case 109:
|
|
495
|
-
if (
|
|
1133
|
+
if (te(e, r + 4) !== 45)
|
|
496
1134
|
break;
|
|
497
1135
|
case 102:
|
|
498
|
-
return
|
|
1136
|
+
return M(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + yr + (te(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
499
1137
|
case 115:
|
|
500
|
-
return ~
|
|
1138
|
+
return ~Ir(e, "stretch") ? Nt(M(e, "stretch", "fill-available"), r) + e : e;
|
|
501
1139
|
}
|
|
502
1140
|
break;
|
|
503
1141
|
case 4949:
|
|
504
|
-
if (
|
|
1142
|
+
if (te(e, r + 1) !== 115)
|
|
505
1143
|
break;
|
|
506
1144
|
case 6444:
|
|
507
|
-
switch (
|
|
1145
|
+
switch (te(e, Pe(e) - 3 - (~Ir(e, "!important") && 10))) {
|
|
508
1146
|
case 107:
|
|
509
|
-
return
|
|
1147
|
+
return M(e, ":", ":" + L) + e;
|
|
510
1148
|
case 101:
|
|
511
|
-
return
|
|
1149
|
+
return M(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (te(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + oe + "$2box$3") + e;
|
|
512
1150
|
}
|
|
513
1151
|
break;
|
|
514
1152
|
case 5936:
|
|
515
|
-
switch (
|
|
1153
|
+
switch (te(e, r + 11)) {
|
|
516
1154
|
case 114:
|
|
517
|
-
return
|
|
1155
|
+
return L + e + oe + M(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
518
1156
|
case 108:
|
|
519
|
-
return
|
|
1157
|
+
return L + e + oe + M(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
520
1158
|
case 45:
|
|
521
|
-
return
|
|
1159
|
+
return L + e + oe + M(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
522
1160
|
}
|
|
523
|
-
return
|
|
1161
|
+
return L + e + oe + e + e;
|
|
524
1162
|
}
|
|
525
1163
|
return e;
|
|
526
1164
|
}
|
|
527
|
-
var
|
|
1165
|
+
var Pn = function(r, t, a, o) {
|
|
528
1166
|
if (r.length > -1 && !r.return)
|
|
529
1167
|
switch (r.type) {
|
|
530
|
-
case
|
|
531
|
-
r.return =
|
|
1168
|
+
case Br:
|
|
1169
|
+
r.return = Nt(r.value, r.length);
|
|
532
1170
|
break;
|
|
533
|
-
case
|
|
534
|
-
return
|
|
535
|
-
value:
|
|
1171
|
+
case pt:
|
|
1172
|
+
return Qe([sr(r, {
|
|
1173
|
+
value: M(r.value, "@", "@" + L)
|
|
536
1174
|
})], o);
|
|
537
|
-
case
|
|
1175
|
+
case Vr:
|
|
538
1176
|
if (r.length)
|
|
539
|
-
return
|
|
540
|
-
switch (
|
|
1177
|
+
return sn(r.props, function(i) {
|
|
1178
|
+
switch (on(i, /(::plac\w+|:read-\w+)/)) {
|
|
541
1179
|
case ":read-only":
|
|
542
1180
|
case ":read-write":
|
|
543
|
-
return
|
|
544
|
-
props: [
|
|
1181
|
+
return Qe([sr(r, {
|
|
1182
|
+
props: [M(i, /:(read-\w+)/, ":" + yr + "$1")]
|
|
545
1183
|
})], o);
|
|
546
1184
|
case "::placeholder":
|
|
547
|
-
return
|
|
548
|
-
props: [
|
|
549
|
-
}),
|
|
550
|
-
props: [
|
|
551
|
-
}),
|
|
552
|
-
props: [
|
|
1185
|
+
return Qe([sr(r, {
|
|
1186
|
+
props: [M(i, /:(plac\w+)/, ":" + L + "input-$1")]
|
|
1187
|
+
}), sr(r, {
|
|
1188
|
+
props: [M(i, /:(plac\w+)/, ":" + yr + "$1")]
|
|
1189
|
+
}), sr(r, {
|
|
1190
|
+
props: [M(i, /:(plac\w+)/, oe + "input-$1")]
|
|
553
1191
|
})], o);
|
|
554
1192
|
}
|
|
555
1193
|
return "";
|
|
556
1194
|
});
|
|
557
1195
|
}
|
|
558
|
-
},
|
|
559
|
-
var
|
|
560
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1196
|
+
}, On = [Pn], An = function(r) {
|
|
1197
|
+
var t = r.key;
|
|
1198
|
+
if (process.env.NODE_ENV !== "production" && !t)
|
|
561
1199
|
throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
562
1200
|
If multiple caches share the same key they might "fight" for each other's style elements.`);
|
|
563
|
-
if (
|
|
1201
|
+
if (t === "css") {
|
|
564
1202
|
var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
565
|
-
Array.prototype.forEach.call(a, function(
|
|
566
|
-
var
|
|
567
|
-
|
|
1203
|
+
Array.prototype.forEach.call(a, function(b) {
|
|
1204
|
+
var x = b.getAttribute("data-emotion");
|
|
1205
|
+
x.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
|
|
568
1206
|
});
|
|
569
1207
|
}
|
|
570
|
-
var o = r.stylisPlugins ||
|
|
571
|
-
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(
|
|
572
|
-
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' +
|
|
573
|
-
var i = {},
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
1208
|
+
var o = r.stylisPlugins || On;
|
|
1209
|
+
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(t))
|
|
1210
|
+
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + t + '" was passed');
|
|
1211
|
+
var i = {}, l, u = [];
|
|
1212
|
+
l = r.container || document.head, Array.prototype.forEach.call(
|
|
1213
|
+
// this means we will ignore elements which don't have a space in them which
|
|
1214
|
+
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1215
|
+
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1216
|
+
function(b) {
|
|
1217
|
+
for (var x = b.getAttribute("data-emotion").split(" "), _ = 1; _ < x.length; _++)
|
|
1218
|
+
i[x[_]] = !0;
|
|
1219
|
+
u.push(b);
|
|
580
1220
|
}
|
|
581
1221
|
);
|
|
582
|
-
var
|
|
583
|
-
process.env.NODE_ENV !== "production" &&
|
|
1222
|
+
var d, v = [kn, Sn];
|
|
1223
|
+
process.env.NODE_ENV !== "production" && v.push(Rn({
|
|
584
1224
|
get compat() {
|
|
585
|
-
return
|
|
1225
|
+
return N.compat;
|
|
586
1226
|
}
|
|
587
|
-
}),
|
|
1227
|
+
}), Tn);
|
|
588
1228
|
{
|
|
589
|
-
var
|
|
590
|
-
|
|
591
|
-
} :
|
|
592
|
-
|
|
593
|
-
})],
|
|
594
|
-
return
|
|
1229
|
+
var m, h = [pn, process.env.NODE_ENV !== "production" ? function(b) {
|
|
1230
|
+
b.root || (b.return ? m.insert(b.return) : b.value && b.type !== jr && m.insert(b.value + "{}"));
|
|
1231
|
+
} : bn(function(b) {
|
|
1232
|
+
m.insert(b);
|
|
1233
|
+
})], y = vn(v.concat(o, h)), k = function(x) {
|
|
1234
|
+
return Qe(gn(x), y);
|
|
595
1235
|
};
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
insert: function(
|
|
599
|
-
|
|
1236
|
+
d = function(x, _, S, P) {
|
|
1237
|
+
m = S, process.env.NODE_ENV !== "production" && _.map !== void 0 && (m = {
|
|
1238
|
+
insert: function(f) {
|
|
1239
|
+
S.insert(f + _.map);
|
|
600
1240
|
}
|
|
601
|
-
}),
|
|
1241
|
+
}), k(x ? x + "{" + _.styles + "}" : _.styles), P && (N.inserted[_.name] = !0);
|
|
602
1242
|
};
|
|
603
1243
|
}
|
|
604
|
-
var
|
|
605
|
-
key:
|
|
606
|
-
sheet: new
|
|
607
|
-
key:
|
|
608
|
-
container:
|
|
1244
|
+
var N = {
|
|
1245
|
+
key: t,
|
|
1246
|
+
sheet: new Qt({
|
|
1247
|
+
key: t,
|
|
1248
|
+
container: l,
|
|
609
1249
|
nonce: r.nonce,
|
|
610
1250
|
speedy: r.speedy,
|
|
611
1251
|
prepend: r.prepend,
|
|
@@ -614,221 +1254,245 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
614
1254
|
nonce: r.nonce,
|
|
615
1255
|
inserted: i,
|
|
616
1256
|
registered: {},
|
|
617
|
-
insert:
|
|
1257
|
+
insert: d
|
|
618
1258
|
};
|
|
619
|
-
return
|
|
620
|
-
},
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
function
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
1259
|
+
return N.sheet.hydrate(u), N;
|
|
1260
|
+
}, Lr = { exports: {} }, D = {};
|
|
1261
|
+
/** @license React v16.13.1
|
|
1262
|
+
* react-is.production.min.js
|
|
1263
|
+
*
|
|
1264
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1265
|
+
*
|
|
1266
|
+
* This source code is licensed under the MIT license found in the
|
|
1267
|
+
* LICENSE file in the root directory of this source tree.
|
|
1268
|
+
*/
|
|
1269
|
+
var at;
|
|
1270
|
+
function In() {
|
|
1271
|
+
if (at)
|
|
1272
|
+
return D;
|
|
1273
|
+
at = 1;
|
|
1274
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, N = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1275
|
+
function P(f) {
|
|
1276
|
+
if (typeof f == "object" && f !== null) {
|
|
1277
|
+
var U = f.$$typeof;
|
|
1278
|
+
switch (U) {
|
|
638
1279
|
case r:
|
|
639
|
-
switch (
|
|
640
|
-
case
|
|
641
|
-
case
|
|
1280
|
+
switch (f = f.type, f) {
|
|
1281
|
+
case d:
|
|
1282
|
+
case v:
|
|
642
1283
|
case a:
|
|
643
1284
|
case i:
|
|
644
1285
|
case o:
|
|
645
|
-
case
|
|
646
|
-
return
|
|
1286
|
+
case h:
|
|
1287
|
+
return f;
|
|
647
1288
|
default:
|
|
648
|
-
switch (
|
|
649
|
-
case f:
|
|
650
|
-
case d:
|
|
651
|
-
case w:
|
|
652
|
-
case S:
|
|
1289
|
+
switch (f = f && f.$$typeof, f) {
|
|
653
1290
|
case u:
|
|
654
|
-
|
|
1291
|
+
case m:
|
|
1292
|
+
case N:
|
|
1293
|
+
case k:
|
|
1294
|
+
case l:
|
|
1295
|
+
return f;
|
|
655
1296
|
default:
|
|
656
|
-
return
|
|
1297
|
+
return U;
|
|
657
1298
|
}
|
|
658
1299
|
}
|
|
659
|
-
case
|
|
660
|
-
return
|
|
1300
|
+
case t:
|
|
1301
|
+
return U;
|
|
661
1302
|
}
|
|
662
1303
|
}
|
|
663
1304
|
}
|
|
664
|
-
function
|
|
665
|
-
return P(
|
|
1305
|
+
function I(f) {
|
|
1306
|
+
return P(f) === v;
|
|
666
1307
|
}
|
|
667
|
-
return
|
|
668
|
-
return
|
|
669
|
-
},
|
|
670
|
-
return P(
|
|
671
|
-
},
|
|
672
|
-
return P(
|
|
673
|
-
},
|
|
674
|
-
return typeof
|
|
675
|
-
},
|
|
676
|
-
return P(
|
|
677
|
-
},
|
|
678
|
-
return P(
|
|
679
|
-
},
|
|
680
|
-
return P(
|
|
681
|
-
},
|
|
682
|
-
return P(
|
|
683
|
-
},
|
|
684
|
-
return P(
|
|
685
|
-
},
|
|
686
|
-
return P(
|
|
687
|
-
},
|
|
688
|
-
return P(
|
|
689
|
-
},
|
|
690
|
-
return P(
|
|
691
|
-
},
|
|
692
|
-
return typeof
|
|
693
|
-
},
|
|
1308
|
+
return D.AsyncMode = d, D.ConcurrentMode = v, D.ContextConsumer = u, D.ContextProvider = l, D.Element = r, D.ForwardRef = m, D.Fragment = a, D.Lazy = N, D.Memo = k, D.Portal = t, D.Profiler = i, D.StrictMode = o, D.Suspense = h, D.isAsyncMode = function(f) {
|
|
1309
|
+
return I(f) || P(f) === d;
|
|
1310
|
+
}, D.isConcurrentMode = I, D.isContextConsumer = function(f) {
|
|
1311
|
+
return P(f) === u;
|
|
1312
|
+
}, D.isContextProvider = function(f) {
|
|
1313
|
+
return P(f) === l;
|
|
1314
|
+
}, D.isElement = function(f) {
|
|
1315
|
+
return typeof f == "object" && f !== null && f.$$typeof === r;
|
|
1316
|
+
}, D.isForwardRef = function(f) {
|
|
1317
|
+
return P(f) === m;
|
|
1318
|
+
}, D.isFragment = function(f) {
|
|
1319
|
+
return P(f) === a;
|
|
1320
|
+
}, D.isLazy = function(f) {
|
|
1321
|
+
return P(f) === N;
|
|
1322
|
+
}, D.isMemo = function(f) {
|
|
1323
|
+
return P(f) === k;
|
|
1324
|
+
}, D.isPortal = function(f) {
|
|
1325
|
+
return P(f) === t;
|
|
1326
|
+
}, D.isProfiler = function(f) {
|
|
1327
|
+
return P(f) === i;
|
|
1328
|
+
}, D.isStrictMode = function(f) {
|
|
1329
|
+
return P(f) === o;
|
|
1330
|
+
}, D.isSuspense = function(f) {
|
|
1331
|
+
return P(f) === h;
|
|
1332
|
+
}, D.isValidElementType = function(f) {
|
|
1333
|
+
return typeof f == "string" || typeof f == "function" || f === a || f === v || f === i || f === o || f === h || f === y || typeof f == "object" && f !== null && (f.$$typeof === N || f.$$typeof === k || f.$$typeof === l || f.$$typeof === u || f.$$typeof === m || f.$$typeof === x || f.$$typeof === _ || f.$$typeof === S || f.$$typeof === b);
|
|
1334
|
+
}, D.typeOf = P, D;
|
|
694
1335
|
}
|
|
695
|
-
var
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
1336
|
+
var F = {};
|
|
1337
|
+
/** @license React v16.13.1
|
|
1338
|
+
* react-is.development.js
|
|
1339
|
+
*
|
|
1340
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1341
|
+
*
|
|
1342
|
+
* This source code is licensed under the MIT license found in the
|
|
1343
|
+
* LICENSE file in the root directory of this source tree.
|
|
1344
|
+
*/
|
|
1345
|
+
var ot;
|
|
1346
|
+
function $n() {
|
|
1347
|
+
return ot || (ot = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1348
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, v = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, N = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
700
1349
|
function P(s) {
|
|
701
|
-
return typeof s == "string" || typeof s == "function" ||
|
|
1350
|
+
return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1351
|
+
s === a || s === v || s === i || s === o || s === h || s === y || typeof s == "object" && s !== null && (s.$$typeof === N || s.$$typeof === k || s.$$typeof === l || s.$$typeof === u || s.$$typeof === m || s.$$typeof === x || s.$$typeof === _ || s.$$typeof === S || s.$$typeof === b);
|
|
702
1352
|
}
|
|
703
|
-
function
|
|
1353
|
+
function I(s) {
|
|
704
1354
|
if (typeof s == "object" && s !== null) {
|
|
705
|
-
var
|
|
706
|
-
switch (
|
|
1355
|
+
var w = s.$$typeof;
|
|
1356
|
+
switch (w) {
|
|
707
1357
|
case r:
|
|
708
|
-
var
|
|
709
|
-
switch (
|
|
710
|
-
case
|
|
711
|
-
case
|
|
1358
|
+
var Y = s.type;
|
|
1359
|
+
switch (Y) {
|
|
1360
|
+
case d:
|
|
1361
|
+
case v:
|
|
712
1362
|
case a:
|
|
713
1363
|
case i:
|
|
714
1364
|
case o:
|
|
715
|
-
case
|
|
716
|
-
return
|
|
1365
|
+
case h:
|
|
1366
|
+
return Y;
|
|
717
1367
|
default:
|
|
718
|
-
var
|
|
719
|
-
switch (
|
|
720
|
-
case f:
|
|
721
|
-
case d:
|
|
722
|
-
case w:
|
|
723
|
-
case S:
|
|
1368
|
+
var de = Y && Y.$$typeof;
|
|
1369
|
+
switch (de) {
|
|
724
1370
|
case u:
|
|
725
|
-
|
|
1371
|
+
case m:
|
|
1372
|
+
case N:
|
|
1373
|
+
case k:
|
|
1374
|
+
case l:
|
|
1375
|
+
return de;
|
|
726
1376
|
default:
|
|
727
|
-
return
|
|
1377
|
+
return w;
|
|
728
1378
|
}
|
|
729
1379
|
}
|
|
730
|
-
case
|
|
731
|
-
return
|
|
1380
|
+
case t:
|
|
1381
|
+
return w;
|
|
732
1382
|
}
|
|
733
1383
|
}
|
|
734
1384
|
}
|
|
735
|
-
var
|
|
736
|
-
function ne(s) {
|
|
737
|
-
return se || (se = !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.")), ae(s) || $(s) === g;
|
|
738
|
-
}
|
|
1385
|
+
var f = d, U = v, R = u, Ae = l, we = r, Ie = m, $e = a, ue = N, K = k, H = t, fe = i, J = o, Ee = h, ne = !1;
|
|
739
1386
|
function ae(s) {
|
|
740
|
-
return
|
|
1387
|
+
return ne || (ne = !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.")), re(s) || I(s) === d;
|
|
741
1388
|
}
|
|
742
|
-
function
|
|
743
|
-
return
|
|
1389
|
+
function re(s) {
|
|
1390
|
+
return I(s) === v;
|
|
744
1391
|
}
|
|
745
|
-
function
|
|
746
|
-
return
|
|
1392
|
+
function Ne(s) {
|
|
1393
|
+
return I(s) === u;
|
|
747
1394
|
}
|
|
748
|
-
function
|
|
1395
|
+
function ke(s) {
|
|
1396
|
+
return I(s) === l;
|
|
1397
|
+
}
|
|
1398
|
+
function Ce(s) {
|
|
749
1399
|
return typeof s == "object" && s !== null && s.$$typeof === r;
|
|
750
1400
|
}
|
|
751
|
-
function
|
|
752
|
-
return
|
|
1401
|
+
function Le(s) {
|
|
1402
|
+
return I(s) === m;
|
|
753
1403
|
}
|
|
754
|
-
function
|
|
755
|
-
return
|
|
1404
|
+
function _e(s) {
|
|
1405
|
+
return I(s) === a;
|
|
756
1406
|
}
|
|
757
|
-
function
|
|
758
|
-
return
|
|
1407
|
+
function ve(s) {
|
|
1408
|
+
return I(s) === N;
|
|
759
1409
|
}
|
|
760
|
-
function
|
|
761
|
-
return
|
|
1410
|
+
function Se(s) {
|
|
1411
|
+
return I(s) === k;
|
|
762
1412
|
}
|
|
763
|
-
function
|
|
764
|
-
return
|
|
1413
|
+
function j(s) {
|
|
1414
|
+
return I(s) === t;
|
|
765
1415
|
}
|
|
766
|
-
function
|
|
767
|
-
return
|
|
1416
|
+
function ie(s) {
|
|
1417
|
+
return I(s) === i;
|
|
768
1418
|
}
|
|
769
|
-
function
|
|
770
|
-
return
|
|
1419
|
+
function be(s) {
|
|
1420
|
+
return I(s) === o;
|
|
771
1421
|
}
|
|
772
|
-
function
|
|
773
|
-
return
|
|
1422
|
+
function je(s) {
|
|
1423
|
+
return I(s) === h;
|
|
774
1424
|
}
|
|
775
|
-
|
|
776
|
-
}()),
|
|
1425
|
+
F.AsyncMode = f, F.ConcurrentMode = U, F.ContextConsumer = R, F.ContextProvider = Ae, F.Element = we, F.ForwardRef = Ie, F.Fragment = $e, F.Lazy = ue, F.Memo = K, F.Portal = H, F.Profiler = fe, F.StrictMode = J, F.Suspense = Ee, F.isAsyncMode = ae, F.isConcurrentMode = re, F.isContextConsumer = Ne, F.isContextProvider = ke, F.isElement = Ce, F.isForwardRef = Le, F.isFragment = _e, F.isLazy = ve, F.isMemo = Se, F.isPortal = j, F.isProfiler = ie, F.isStrictMode = be, F.isSuspense = je, F.isValidElementType = P, F.typeOf = I;
|
|
1426
|
+
}()), F;
|
|
777
1427
|
}
|
|
778
|
-
(
|
|
779
|
-
|
|
780
|
-
})(Ln);
|
|
781
|
-
var Ft = Gr, Fn = {
|
|
1428
|
+
process.env.NODE_ENV === "production" ? Lr.exports = In() : Lr.exports = $n();
|
|
1429
|
+
var Ln = Lr.exports, kt = Ln, Mn = {
|
|
782
1430
|
$$typeof: !0,
|
|
783
1431
|
render: !0,
|
|
784
1432
|
defaultProps: !0,
|
|
785
1433
|
displayName: !0,
|
|
786
1434
|
propTypes: !0
|
|
787
|
-
},
|
|
1435
|
+
}, Dn = {
|
|
788
1436
|
$$typeof: !0,
|
|
789
1437
|
compare: !0,
|
|
790
1438
|
defaultProps: !0,
|
|
791
1439
|
displayName: !0,
|
|
792
1440
|
propTypes: !0,
|
|
793
1441
|
type: !0
|
|
794
|
-
},
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
var
|
|
798
|
-
function
|
|
1442
|
+
}, St = {};
|
|
1443
|
+
St[kt.ForwardRef] = Mn;
|
|
1444
|
+
St[kt.Memo] = Dn;
|
|
1445
|
+
var Fn = !0;
|
|
1446
|
+
function jn(e, r, t) {
|
|
799
1447
|
var a = "";
|
|
800
|
-
return
|
|
1448
|
+
return t.split(" ").forEach(function(o) {
|
|
801
1449
|
e[o] !== void 0 ? r.push(e[o] + ";") : a += o + " ";
|
|
802
1450
|
}), a;
|
|
803
1451
|
}
|
|
804
|
-
var
|
|
805
|
-
var o = r.key + "-" +
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
1452
|
+
var xt = function(r, t, a) {
|
|
1453
|
+
var o = r.key + "-" + t.name;
|
|
1454
|
+
// we only need to add the styles to the registered cache if the
|
|
1455
|
+
// class name could be used further down
|
|
1456
|
+
// the tree but if it's a string tag, we know it won't
|
|
1457
|
+
// so we don't have to add it to registered cache.
|
|
1458
|
+
// this improves memory usage since we can avoid storing the whole style string
|
|
1459
|
+
(a === !1 || // we need to always store it if we're in compat mode and
|
|
1460
|
+
// in node since emotion-server relies on whether a style is in
|
|
1461
|
+
// the registered cache to know whether a style is global or not
|
|
1462
|
+
// also, note that this check will be dead code eliminated in the browser
|
|
1463
|
+
Fn === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
|
|
1464
|
+
}, Vn = function(r, t, a) {
|
|
1465
|
+
xt(r, t, a);
|
|
1466
|
+
var o = r.key + "-" + t.name;
|
|
1467
|
+
if (r.inserted[t.name] === void 0) {
|
|
1468
|
+
var i = t;
|
|
812
1469
|
do
|
|
813
|
-
r.insert(
|
|
1470
|
+
r.insert(t === i ? "." + o : "", i, r.sheet, !0), i = i.next;
|
|
814
1471
|
while (i !== void 0);
|
|
815
1472
|
}
|
|
816
1473
|
};
|
|
817
|
-
function
|
|
818
|
-
for (var r = 0,
|
|
819
|
-
|
|
1474
|
+
function Bn(e) {
|
|
1475
|
+
for (var r = 0, t, a = 0, o = e.length; o >= 4; ++a, o -= 4)
|
|
1476
|
+
t = e.charCodeAt(a) & 255 | (e.charCodeAt(++a) & 255) << 8 | (e.charCodeAt(++a) & 255) << 16 | (e.charCodeAt(++a) & 255) << 24, t = /* Math.imul(k, m): */
|
|
1477
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
1478
|
+
t >>> 24, r = /* Math.imul(k, m): */
|
|
1479
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
1480
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
820
1481
|
switch (o) {
|
|
821
1482
|
case 3:
|
|
822
1483
|
r ^= (e.charCodeAt(a + 2) & 255) << 16;
|
|
823
1484
|
case 2:
|
|
824
1485
|
r ^= (e.charCodeAt(a + 1) & 255) << 8;
|
|
825
1486
|
case 1:
|
|
826
|
-
r ^= e.charCodeAt(a) & 255, r =
|
|
1487
|
+
r ^= e.charCodeAt(a) & 255, r = /* Math.imul(h, m): */
|
|
1488
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
827
1489
|
}
|
|
828
|
-
return r ^= r >>> 13, r =
|
|
1490
|
+
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
1491
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
829
1492
|
}
|
|
830
|
-
var
|
|
1493
|
+
var Un = {
|
|
831
1494
|
animationIterationCount: 1,
|
|
1495
|
+
aspectRatio: 1,
|
|
832
1496
|
borderImageOutset: 1,
|
|
833
1497
|
borderImageSlice: 1,
|
|
834
1498
|
borderImageWidth: 1,
|
|
@@ -865,6 +1529,7 @@ var Yn = {
|
|
|
865
1529
|
zIndex: 1,
|
|
866
1530
|
zoom: 1,
|
|
867
1531
|
WebkitLineClamp: 1,
|
|
1532
|
+
// SVG-related properties
|
|
868
1533
|
fillOpacity: 1,
|
|
869
1534
|
floodOpacity: 1,
|
|
870
1535
|
stopOpacity: 1,
|
|
@@ -873,887 +1538,353 @@ var Yn = {
|
|
|
873
1538
|
strokeMiterlimit: 1,
|
|
874
1539
|
strokeOpacity: 1,
|
|
875
1540
|
strokeWidth: 1
|
|
876
|
-
},
|
|
1541
|
+
}, it = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
877
1542
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
878
1543
|
You can read more about this here:
|
|
879
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
880
|
-
return r.charCodeAt(1) === 45;
|
|
881
|
-
},
|
|
882
|
-
return r != null && typeof r != "boolean";
|
|
883
|
-
},
|
|
884
|
-
return
|
|
885
|
-
}),
|
|
886
|
-
switch (r) {
|
|
887
|
-
case "animation":
|
|
888
|
-
case "animationName":
|
|
889
|
-
if (typeof n == "string")
|
|
890
|
-
return n.replace(Bt, function(a, o, i) {
|
|
891
|
-
return Re = {
|
|
892
|
-
name: o,
|
|
893
|
-
styles: i,
|
|
894
|
-
next: Re
|
|
895
|
-
}, o;
|
|
896
|
-
});
|
|
897
|
-
}
|
|
898
|
-
return Yn[r] !== 1 && !rt(r) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
899
|
-
};
|
|
900
|
-
if (process.env.NODE_ENV !== "production") {
|
|
901
|
-
var qn = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, Gn = ["normal", "none", "initial", "inherit", "unset"], Hn = Lr, Jn = /^-ms-/, Zn = /-(.)/g, ht = {};
|
|
902
|
-
Lr = function(r, n) {
|
|
903
|
-
if (r === "content" && (typeof n != "string" || Gn.indexOf(n) === -1 && !qn.test(n) && (n.charAt(0) !== n.charAt(n.length - 1) || n.charAt(0) !== '"' && n.charAt(0) !== "'")))
|
|
904
|
-
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + n + "\"'`");
|
|
905
|
-
var a = Hn(r, n);
|
|
906
|
-
return a !== "" && !rt(r) && r.indexOf("-") !== -1 && ht[r] === void 0 && (ht[r] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + r.replace(Jn, "ms-").replace(Zn, function(o, i) {
|
|
907
|
-
return i.toUpperCase();
|
|
908
|
-
}) + "?")), a;
|
|
909
|
-
};
|
|
910
|
-
}
|
|
911
|
-
var zt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
912
|
-
function Er(e, r, n) {
|
|
913
|
-
if (n == null)
|
|
914
|
-
return "";
|
|
915
|
-
if (n.__emotion_styles !== void 0) {
|
|
916
|
-
if (process.env.NODE_ENV !== "production" && n.toString() === "NO_COMPONENT_SELECTOR")
|
|
917
|
-
throw new Error(zt);
|
|
918
|
-
return n;
|
|
919
|
-
}
|
|
920
|
-
switch (typeof n) {
|
|
921
|
-
case "boolean":
|
|
922
|
-
return "";
|
|
923
|
-
case "object": {
|
|
924
|
-
if (n.anim === 1)
|
|
925
|
-
return Re = {
|
|
926
|
-
name: n.name,
|
|
927
|
-
styles: n.styles,
|
|
928
|
-
next: Re
|
|
929
|
-
}, n.name;
|
|
930
|
-
if (n.styles !== void 0) {
|
|
931
|
-
var a = n.next;
|
|
932
|
-
if (a !== void 0)
|
|
933
|
-
for (; a !== void 0; )
|
|
934
|
-
Re = {
|
|
935
|
-
name: a.name,
|
|
936
|
-
styles: a.styles,
|
|
937
|
-
next: Re
|
|
938
|
-
}, a = a.next;
|
|
939
|
-
var o = n.styles + ";";
|
|
940
|
-
return process.env.NODE_ENV !== "production" && n.map !== void 0 && (o += n.map), o;
|
|
941
|
-
}
|
|
942
|
-
return Xn(e, r, n);
|
|
943
|
-
}
|
|
944
|
-
case "function": {
|
|
945
|
-
if (e !== void 0) {
|
|
946
|
-
var i = Re, u = n(e);
|
|
947
|
-
return Re = i, Er(e, r, u);
|
|
948
|
-
} else
|
|
949
|
-
process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
950
|
-
break;
|
|
951
|
-
}
|
|
952
|
-
case "string":
|
|
953
|
-
if (process.env.NODE_ENV !== "production") {
|
|
954
|
-
var f = [], g = n.replace(Bt, function(d, v, N) {
|
|
955
|
-
var S = "animation" + f.length;
|
|
956
|
-
return f.push("const " + S + " = keyframes`" + N.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + S + "}";
|
|
957
|
-
});
|
|
958
|
-
f.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(f, ["`" + g + "`"]).join(`
|
|
959
|
-
`) + `
|
|
960
|
-
|
|
961
|
-
You should wrap it with \`css\` like this:
|
|
962
|
-
|
|
963
|
-
` + ("css`" + g + "`"));
|
|
964
|
-
}
|
|
965
|
-
break;
|
|
966
|
-
}
|
|
967
|
-
if (r == null)
|
|
968
|
-
return n;
|
|
969
|
-
var b = r[n];
|
|
970
|
-
return b !== void 0 ? b : n;
|
|
971
|
-
}
|
|
972
|
-
function Xn(e, r, n) {
|
|
973
|
-
var a = "";
|
|
974
|
-
if (Array.isArray(n))
|
|
975
|
-
for (var o = 0; o < n.length; o++)
|
|
976
|
-
a += Er(e, r, n[o]) + ";";
|
|
977
|
-
else
|
|
978
|
-
for (var i in n) {
|
|
979
|
-
var u = n[i];
|
|
980
|
-
if (typeof u != "object")
|
|
981
|
-
r != null && r[u] !== void 0 ? a += i + "{" + r[u] + "}" : pt(u) && (a += Yr(i) + ":" + Lr(i, u) + ";");
|
|
982
|
-
else {
|
|
983
|
-
if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
984
|
-
throw new Error(zt);
|
|
985
|
-
if (Array.isArray(u) && typeof u[0] == "string" && (r == null || r[u[0]] === void 0))
|
|
986
|
-
for (var f = 0; f < u.length; f++)
|
|
987
|
-
pt(u[f]) && (a += Yr(i) + ":" + Lr(i, u[f]) + ";");
|
|
988
|
-
else {
|
|
989
|
-
var g = Er(e, r, u);
|
|
990
|
-
switch (i) {
|
|
991
|
-
case "animation":
|
|
992
|
-
case "animationName": {
|
|
993
|
-
a += Yr(i) + ":" + g + ";";
|
|
994
|
-
break;
|
|
995
|
-
}
|
|
996
|
-
default:
|
|
997
|
-
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(Wn), a += i + "{" + g + "}";
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
return a;
|
|
1003
|
-
}
|
|
1004
|
-
var vt = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Ut;
|
|
1005
|
-
process.env.NODE_ENV !== "production" && (Ut = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
1006
|
-
var Re, bt = function(r, n, a) {
|
|
1007
|
-
if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
|
|
1008
|
-
return r[0];
|
|
1009
|
-
var o = !0, i = "";
|
|
1010
|
-
Re = void 0;
|
|
1011
|
-
var u = r[0];
|
|
1012
|
-
u == null || u.raw === void 0 ? (o = !1, i += Er(a, n, u)) : (process.env.NODE_ENV !== "production" && u[0] === void 0 && console.error(gt), i += u[0]);
|
|
1013
|
-
for (var f = 1; f < r.length; f++)
|
|
1014
|
-
i += Er(a, n, r[f]), o && (process.env.NODE_ENV !== "production" && u[f] === void 0 && console.error(gt), i += u[f]);
|
|
1015
|
-
var g;
|
|
1016
|
-
process.env.NODE_ENV !== "production" && (i = i.replace(Ut, function(N) {
|
|
1017
|
-
return g = N, "";
|
|
1018
|
-
})), vt.lastIndex = 0;
|
|
1019
|
-
for (var b = "", d; (d = vt.exec(i)) !== null; )
|
|
1020
|
-
b += "-" + d[1];
|
|
1021
|
-
var v = Un(i) + b;
|
|
1022
|
-
return process.env.NODE_ENV !== "production" ? {
|
|
1023
|
-
name: v,
|
|
1024
|
-
styles: i,
|
|
1025
|
-
map: g,
|
|
1026
|
-
next: Re,
|
|
1027
|
-
toString: function() {
|
|
1028
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1029
|
-
}
|
|
1030
|
-
} : {
|
|
1031
|
-
name: v,
|
|
1032
|
-
styles: i,
|
|
1033
|
-
next: Re
|
|
1034
|
-
};
|
|
1035
|
-
}, Qn = function(r) {
|
|
1036
|
-
return r();
|
|
1037
|
-
}, ea = ot["useInsertionEffect"] ? ot["useInsertionEffect"] : !1, ra = ea || Qn, Vr = {}.hasOwnProperty, tt = /* @__PURE__ */ Rt(
|
|
1038
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */ $n({
|
|
1039
|
-
key: "css"
|
|
1040
|
-
}) : null
|
|
1041
|
-
);
|
|
1042
|
-
process.env.NODE_ENV !== "production" && (tt.displayName = "EmotionCacheContext");
|
|
1043
|
-
tt.Provider;
|
|
1044
|
-
var ta = function(r) {
|
|
1045
|
-
return /* @__PURE__ */ Tt(function(n, a) {
|
|
1046
|
-
var o = Pt(tt);
|
|
1047
|
-
return r(n, o, a);
|
|
1048
|
-
});
|
|
1049
|
-
}, Yt = /* @__PURE__ */ Rt({});
|
|
1050
|
-
process.env.NODE_ENV !== "production" && (Yt.displayName = "EmotionThemeContext");
|
|
1051
|
-
var yt = function(r) {
|
|
1052
|
-
var n = r.split(".");
|
|
1053
|
-
return n[n.length - 1];
|
|
1054
|
-
}, na = function(r) {
|
|
1055
|
-
var n = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);
|
|
1056
|
-
if (n || (n = /^([A-Za-z0-9$.]+)@/.exec(r), n))
|
|
1057
|
-
return yt(n[1]);
|
|
1058
|
-
}, aa = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), oa = function(r) {
|
|
1059
|
-
return r.replace(/\$/g, "-");
|
|
1060
|
-
}, ia = function(r) {
|
|
1061
|
-
if (r)
|
|
1062
|
-
for (var n = r.split(`
|
|
1063
|
-
`), a = 0; a < n.length; a++) {
|
|
1064
|
-
var o = na(n[a]);
|
|
1065
|
-
if (o) {
|
|
1066
|
-
if (aa.has(o))
|
|
1067
|
-
break;
|
|
1068
|
-
if (/^[A-Z]/.test(o))
|
|
1069
|
-
return oa(o);
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}, Hr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Jr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Wt = function(r, n) {
|
|
1073
|
-
if (process.env.NODE_ENV !== "production" && typeof n.css == "string" && n.css.indexOf(":") !== -1)
|
|
1074
|
-
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + n.css + "`");
|
|
1075
|
-
var a = {};
|
|
1076
|
-
for (var o in n)
|
|
1077
|
-
Vr.call(n, o) && (a[o] = n[o]);
|
|
1078
|
-
if (a[Hr] = r, process.env.NODE_ENV !== "production" && n.css && (typeof n.css != "object" || typeof n.css.name != "string" || n.css.name.indexOf("-") === -1)) {
|
|
1079
|
-
var i = ia(new Error().stack);
|
|
1080
|
-
i && (a[Jr] = i);
|
|
1081
|
-
}
|
|
1082
|
-
return a;
|
|
1083
|
-
}, sa = function(r) {
|
|
1084
|
-
var n = r.cache, a = r.serialized, o = r.isStringTag;
|
|
1085
|
-
return Vt(n, a, o), ra(function() {
|
|
1086
|
-
return zn(n, a, o);
|
|
1087
|
-
}), null;
|
|
1088
|
-
}, nt = /* @__PURE__ */ ta(function(e, r, n) {
|
|
1089
|
-
var a = e.css;
|
|
1090
|
-
typeof a == "string" && r.registered[a] !== void 0 && (a = r.registered[a]);
|
|
1091
|
-
var o = e[Hr], i = [a], u = "";
|
|
1092
|
-
typeof e.className == "string" ? u = Bn(r.registered, i, e.className) : e.className != null && (u = e.className + " ");
|
|
1093
|
-
var f = bt(i, void 0, Pt(Yt));
|
|
1094
|
-
if (process.env.NODE_ENV !== "production" && f.name.indexOf("-") === -1) {
|
|
1095
|
-
var g = e[Jr];
|
|
1096
|
-
g && (f = bt([f, "label:" + g + ";"]));
|
|
1097
|
-
}
|
|
1098
|
-
u += r.key + "-" + f.name;
|
|
1099
|
-
var b = {};
|
|
1100
|
-
for (var d in e)
|
|
1101
|
-
Vr.call(e, d) && d !== "css" && d !== Hr && (process.env.NODE_ENV === "production" || d !== Jr) && (b[d] = e[d]);
|
|
1102
|
-
return b.ref = n, b.className = u, /* @__PURE__ */ Ur(Kt, null, /* @__PURE__ */ Ur(sa, {
|
|
1103
|
-
cache: r,
|
|
1104
|
-
serialized: f,
|
|
1105
|
-
isStringTag: typeof o == "string"
|
|
1106
|
-
}), /* @__PURE__ */ Ur(o, b));
|
|
1107
|
-
});
|
|
1108
|
-
process.env.NODE_ENV !== "production" && (nt.displayName = "EmotionCssPropInternal");
|
|
1109
|
-
var wr = {}, ca = {
|
|
1110
|
-
get exports() {
|
|
1111
|
-
return wr;
|
|
1112
|
-
},
|
|
1113
|
-
set exports(e) {
|
|
1114
|
-
wr = e;
|
|
1115
|
-
}
|
|
1116
|
-
}, hr = {};
|
|
1117
|
-
var Et;
|
|
1118
|
-
function la() {
|
|
1119
|
-
if (Et)
|
|
1120
|
-
return hr;
|
|
1121
|
-
Et = 1;
|
|
1122
|
-
var e = Ct, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1123
|
-
function u(f, g, b) {
|
|
1124
|
-
var d, v = {}, N = null, S = null;
|
|
1125
|
-
b !== void 0 && (N = "" + b), g.key !== void 0 && (N = "" + g.key), g.ref !== void 0 && (S = g.ref);
|
|
1126
|
-
for (d in g)
|
|
1127
|
-
a.call(g, d) && !i.hasOwnProperty(d) && (v[d] = g[d]);
|
|
1128
|
-
if (f && f.defaultProps)
|
|
1129
|
-
for (d in g = f.defaultProps, g)
|
|
1130
|
-
v[d] === void 0 && (v[d] = g[d]);
|
|
1131
|
-
return { $$typeof: r, type: f, key: N, ref: S, props: v, _owner: o.current };
|
|
1132
|
-
}
|
|
1133
|
-
return hr.Fragment = n, hr.jsx = u, hr.jsxs = u, hr;
|
|
1134
|
-
}
|
|
1135
|
-
var vr = {};
|
|
1136
|
-
var wt;
|
|
1137
|
-
function ua() {
|
|
1138
|
-
return wt || (wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1139
|
-
var e = Ct, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), f = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), w = Symbol.iterator, y = "@@iterator";
|
|
1140
|
-
function D(t) {
|
|
1141
|
-
if (t === null || typeof t != "object")
|
|
1142
|
-
return null;
|
|
1143
|
-
var c = w && t[w] || t[y];
|
|
1144
|
-
return typeof c == "function" ? c : null;
|
|
1145
|
-
}
|
|
1146
|
-
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1147
|
-
function k(t) {
|
|
1148
|
-
{
|
|
1149
|
-
for (var c = arguments.length, m = new Array(c > 1 ? c - 1 : 0), E = 1; E < c; E++)
|
|
1150
|
-
m[E - 1] = arguments[E];
|
|
1151
|
-
P("error", t, m);
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
function P(t, c, m) {
|
|
1155
|
-
{
|
|
1156
|
-
var E = x.ReactDebugCurrentFrame, L = E.getStackAddendum();
|
|
1157
|
-
L !== "" && (c += "%s", m = m.concat([L]));
|
|
1158
|
-
var W = m.map(function(I) {
|
|
1159
|
-
return String(I);
|
|
1160
|
-
});
|
|
1161
|
-
W.unshift("Warning: " + c), Function.prototype.apply.call(console[t], console, W);
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
var $ = !1, l = !1, q = !1, O = !1, Le = !1, Ne;
|
|
1165
|
-
Ne = Symbol.for("react.module.reference");
|
|
1166
|
-
function Me(t) {
|
|
1167
|
-
return !!(typeof t == "string" || typeof t == "function" || t === a || t === i || Le || t === o || t === b || t === d || O || t === S || $ || l || q || typeof t == "object" && t !== null && (t.$$typeof === N || t.$$typeof === v || t.$$typeof === u || t.$$typeof === f || t.$$typeof === g || t.$$typeof === Ne || t.getModuleId !== void 0));
|
|
1168
|
-
}
|
|
1169
|
-
function De(t, c, m) {
|
|
1170
|
-
var E = t.displayName;
|
|
1171
|
-
if (E)
|
|
1172
|
-
return E;
|
|
1173
|
-
var L = c.displayName || c.name || "";
|
|
1174
|
-
return L !== "" ? m + "(" + L + ")" : m;
|
|
1175
|
-
}
|
|
1176
|
-
function me(t) {
|
|
1177
|
-
return t.displayName || "Context";
|
|
1178
|
-
}
|
|
1179
|
-
function Z(t) {
|
|
1180
|
-
if (t == null)
|
|
1181
|
-
return null;
|
|
1182
|
-
if (typeof t.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
1183
|
-
return t.displayName || t.name || null;
|
|
1184
|
-
if (typeof t == "string")
|
|
1185
|
-
return t;
|
|
1186
|
-
switch (t) {
|
|
1187
|
-
case a:
|
|
1188
|
-
return "Fragment";
|
|
1189
|
-
case n:
|
|
1190
|
-
return "Portal";
|
|
1191
|
-
case i:
|
|
1192
|
-
return "Profiler";
|
|
1193
|
-
case o:
|
|
1194
|
-
return "StrictMode";
|
|
1195
|
-
case b:
|
|
1196
|
-
return "Suspense";
|
|
1197
|
-
case d:
|
|
1198
|
-
return "SuspenseList";
|
|
1199
|
-
}
|
|
1200
|
-
if (typeof t == "object")
|
|
1201
|
-
switch (t.$$typeof) {
|
|
1202
|
-
case f:
|
|
1203
|
-
var c = t;
|
|
1204
|
-
return me(c) + ".Consumer";
|
|
1205
|
-
case u:
|
|
1206
|
-
var m = t;
|
|
1207
|
-
return me(m._context) + ".Provider";
|
|
1208
|
-
case g:
|
|
1209
|
-
return De(t, t.render, "ForwardRef");
|
|
1210
|
-
case v:
|
|
1211
|
-
var E = t.displayName || null;
|
|
1212
|
-
return E !== null ? E : Z(t.type) || "Memo";
|
|
1213
|
-
case N: {
|
|
1214
|
-
var L = t, W = L._payload, I = L._init;
|
|
1215
|
-
try {
|
|
1216
|
-
return Z(I(W));
|
|
1217
|
-
} catch {
|
|
1218
|
-
return null;
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
return null;
|
|
1223
|
-
}
|
|
1224
|
-
var X = Object.assign, ge = 0, H, ke, se, ne, ae, Te, pe;
|
|
1225
|
-
function Pe() {
|
|
1226
|
-
}
|
|
1227
|
-
Pe.__reactDisabledLog = !0;
|
|
1228
|
-
function Fe() {
|
|
1229
|
-
{
|
|
1230
|
-
if (ge === 0) {
|
|
1231
|
-
H = console.log, ke = console.info, se = console.warn, ne = console.error, ae = console.group, Te = console.groupCollapsed, pe = console.groupEnd;
|
|
1232
|
-
var t = {
|
|
1233
|
-
configurable: !0,
|
|
1234
|
-
enumerable: !0,
|
|
1235
|
-
value: Pe,
|
|
1236
|
-
writable: !0
|
|
1237
|
-
};
|
|
1238
|
-
Object.defineProperties(console, {
|
|
1239
|
-
info: t,
|
|
1240
|
-
log: t,
|
|
1241
|
-
warn: t,
|
|
1242
|
-
error: t,
|
|
1243
|
-
group: t,
|
|
1244
|
-
groupCollapsed: t,
|
|
1245
|
-
groupEnd: t
|
|
1246
|
-
});
|
|
1247
|
-
}
|
|
1248
|
-
ge++;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
function xe() {
|
|
1252
|
-
{
|
|
1253
|
-
if (ge--, ge === 0) {
|
|
1254
|
-
var t = {
|
|
1255
|
-
configurable: !0,
|
|
1256
|
-
enumerable: !0,
|
|
1257
|
-
writable: !0
|
|
1258
|
-
};
|
|
1259
|
-
Object.defineProperties(console, {
|
|
1260
|
-
log: X({}, t, {
|
|
1261
|
-
value: H
|
|
1262
|
-
}),
|
|
1263
|
-
info: X({}, t, {
|
|
1264
|
-
value: ke
|
|
1265
|
-
}),
|
|
1266
|
-
warn: X({}, t, {
|
|
1267
|
-
value: se
|
|
1268
|
-
}),
|
|
1269
|
-
error: X({}, t, {
|
|
1270
|
-
value: ne
|
|
1271
|
-
}),
|
|
1272
|
-
group: X({}, t, {
|
|
1273
|
-
value: ae
|
|
1274
|
-
}),
|
|
1275
|
-
groupCollapsed: X({}, t, {
|
|
1276
|
-
value: Te
|
|
1277
|
-
}),
|
|
1278
|
-
groupEnd: X({}, t, {
|
|
1279
|
-
value: pe
|
|
1280
|
-
})
|
|
1281
|
-
});
|
|
1282
|
-
}
|
|
1283
|
-
ge < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
var Se = x.ReactCurrentDispatcher, ye;
|
|
1287
|
-
function z(t, c, m) {
|
|
1288
|
-
{
|
|
1289
|
-
if (ye === void 0)
|
|
1290
|
-
try {
|
|
1291
|
-
throw Error();
|
|
1292
|
-
} catch (L) {
|
|
1293
|
-
var E = L.stack.trim().match(/\n( *(at )?)/);
|
|
1294
|
-
ye = E && E[1] || "";
|
|
1295
|
-
}
|
|
1296
|
-
return `
|
|
1297
|
-
` + ye + t;
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
var ue = !1, Ee;
|
|
1301
|
-
{
|
|
1302
|
-
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1303
|
-
Ee = new Be();
|
|
1304
|
-
}
|
|
1305
|
-
function s(t, c) {
|
|
1306
|
-
if (!t || ue)
|
|
1307
|
-
return "";
|
|
1308
|
-
{
|
|
1309
|
-
var m = Ee.get(t);
|
|
1310
|
-
if (m !== void 0)
|
|
1311
|
-
return m;
|
|
1312
|
-
}
|
|
1313
|
-
var E;
|
|
1314
|
-
ue = !0;
|
|
1315
|
-
var L = Error.prepareStackTrace;
|
|
1316
|
-
Error.prepareStackTrace = void 0;
|
|
1317
|
-
var W;
|
|
1318
|
-
W = Se.current, Se.current = null, Fe();
|
|
1319
|
-
try {
|
|
1320
|
-
if (c) {
|
|
1321
|
-
var I = function() {
|
|
1322
|
-
throw Error();
|
|
1323
|
-
};
|
|
1324
|
-
if (Object.defineProperty(I.prototype, "props", {
|
|
1325
|
-
set: function() {
|
|
1326
|
-
throw Error();
|
|
1327
|
-
}
|
|
1328
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1329
|
-
try {
|
|
1330
|
-
Reflect.construct(I, []);
|
|
1331
|
-
} catch (Ve) {
|
|
1332
|
-
E = Ve;
|
|
1333
|
-
}
|
|
1334
|
-
Reflect.construct(t, [], I);
|
|
1335
|
-
} else {
|
|
1336
|
-
try {
|
|
1337
|
-
I.call();
|
|
1338
|
-
} catch (Ve) {
|
|
1339
|
-
E = Ve;
|
|
1340
|
-
}
|
|
1341
|
-
t.call(I.prototype);
|
|
1342
|
-
}
|
|
1343
|
-
} else {
|
|
1344
|
-
try {
|
|
1345
|
-
throw Error();
|
|
1346
|
-
} catch (Ve) {
|
|
1347
|
-
E = Ve;
|
|
1348
|
-
}
|
|
1349
|
-
t();
|
|
1350
|
-
}
|
|
1351
|
-
} catch (Ve) {
|
|
1352
|
-
if (Ve && E && typeof Ve.stack == "string") {
|
|
1353
|
-
for (var T = Ve.stack.split(`
|
|
1354
|
-
`), de = E.stack.split(`
|
|
1355
|
-
`), J = T.length - 1, ee = de.length - 1; J >= 1 && ee >= 0 && T[J] !== de[ee]; )
|
|
1356
|
-
ee--;
|
|
1357
|
-
for (; J >= 1 && ee >= 0; J--, ee--)
|
|
1358
|
-
if (T[J] !== de[ee]) {
|
|
1359
|
-
if (J !== 1 || ee !== 1)
|
|
1360
|
-
do
|
|
1361
|
-
if (J--, ee--, ee < 0 || T[J] !== de[ee]) {
|
|
1362
|
-
var _e = `
|
|
1363
|
-
` + T[J].replace(" at new ", " at ");
|
|
1364
|
-
return t.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", t.displayName)), typeof t == "function" && Ee.set(t, _e), _e;
|
|
1365
|
-
}
|
|
1366
|
-
while (J >= 1 && ee >= 0);
|
|
1367
|
-
break;
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
} finally {
|
|
1371
|
-
ue = !1, Se.current = W, xe(), Error.prepareStackTrace = L;
|
|
1372
|
-
}
|
|
1373
|
-
var er = t ? t.displayName || t.name : "", at = er ? z(er) : "";
|
|
1374
|
-
return typeof t == "function" && Ee.set(t, at), at;
|
|
1375
|
-
}
|
|
1376
|
-
function B(t, c, m) {
|
|
1377
|
-
return s(t, !1);
|
|
1378
|
-
}
|
|
1379
|
-
function C(t) {
|
|
1380
|
-
var c = t.prototype;
|
|
1381
|
-
return !!(c && c.isReactComponent);
|
|
1382
|
-
}
|
|
1383
|
-
function Ce(t, c, m) {
|
|
1384
|
-
if (t == null)
|
|
1385
|
-
return "";
|
|
1386
|
-
if (typeof t == "function")
|
|
1387
|
-
return s(t, C(t));
|
|
1544
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, zn = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Yn = /[A-Z]|^ms/g, _t = /_EMO_([^_]+?)_([^]*?)_EMO_/g, zr = function(r) {
|
|
1545
|
+
return r.charCodeAt(1) === 45;
|
|
1546
|
+
}, st = function(r) {
|
|
1547
|
+
return r != null && typeof r != "boolean";
|
|
1548
|
+
}, Pr = /* @__PURE__ */ yn(function(e) {
|
|
1549
|
+
return zr(e) ? e : e.replace(Yn, "-$&").toLowerCase();
|
|
1550
|
+
}), wr = function(r, t) {
|
|
1551
|
+
switch (r) {
|
|
1552
|
+
case "animation":
|
|
1553
|
+
case "animationName":
|
|
1388
1554
|
if (typeof t == "string")
|
|
1389
|
-
return
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
}
|
|
1396
|
-
if (typeof t == "object")
|
|
1397
|
-
switch (t.$$typeof) {
|
|
1398
|
-
case g:
|
|
1399
|
-
return B(t.render);
|
|
1400
|
-
case v:
|
|
1401
|
-
return Ce(t.type, c, m);
|
|
1402
|
-
case N: {
|
|
1403
|
-
var E = t, L = E._payload, W = E._init;
|
|
1404
|
-
try {
|
|
1405
|
-
return Ce(W(L), c, m);
|
|
1406
|
-
} catch {
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
return "";
|
|
1411
|
-
}
|
|
1412
|
-
var Oe = Object.prototype.hasOwnProperty, sr = {}, kr = x.ReactDebugCurrentFrame;
|
|
1413
|
-
function je(t) {
|
|
1414
|
-
if (t) {
|
|
1415
|
-
var c = t._owner, m = Ce(t.type, t._source, c ? c.type : null);
|
|
1416
|
-
kr.setExtraStackFrame(m);
|
|
1417
|
-
} else
|
|
1418
|
-
kr.setExtraStackFrame(null);
|
|
1419
|
-
}
|
|
1420
|
-
function Ge(t, c, m, E, L) {
|
|
1421
|
-
{
|
|
1422
|
-
var W = Function.call.bind(Oe);
|
|
1423
|
-
for (var I in t)
|
|
1424
|
-
if (W(t, I)) {
|
|
1425
|
-
var T = void 0;
|
|
1426
|
-
try {
|
|
1427
|
-
if (typeof t[I] != "function") {
|
|
1428
|
-
var de = Error((E || "React class") + ": " + m + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1429
|
-
throw de.name = "Invariant Violation", de;
|
|
1430
|
-
}
|
|
1431
|
-
T = t[I](c, I, E, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1432
|
-
} catch (J) {
|
|
1433
|
-
T = J;
|
|
1434
|
-
}
|
|
1435
|
-
T && !(T instanceof Error) && (je(L), k("%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).", E || "React class", m, I, typeof T), je(null)), T instanceof Error && !(T.message in sr) && (sr[T.message] = !0, je(L), k("Failed %s type: %s", m, T.message), je(null));
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
var ze = Array.isArray;
|
|
1440
|
-
function ce(t) {
|
|
1441
|
-
return ze(t);
|
|
1442
|
-
}
|
|
1443
|
-
function Ae(t) {
|
|
1444
|
-
{
|
|
1445
|
-
var c = typeof Symbol == "function" && Symbol.toStringTag, m = c && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1446
|
-
return m;
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
function cr(t) {
|
|
1450
|
-
try {
|
|
1451
|
-
return We(t), !1;
|
|
1452
|
-
} catch {
|
|
1453
|
-
return !0;
|
|
1454
|
-
}
|
|
1455
|
-
}
|
|
1456
|
-
function We(t) {
|
|
1457
|
-
return "" + t;
|
|
1458
|
-
}
|
|
1459
|
-
function He(t) {
|
|
1460
|
-
if (cr(t))
|
|
1461
|
-
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(t)), We(t);
|
|
1462
|
-
}
|
|
1463
|
-
var oe = x.ReactCurrentOwner, Je = {
|
|
1464
|
-
key: !0,
|
|
1465
|
-
ref: !0,
|
|
1466
|
-
__self: !0,
|
|
1467
|
-
__source: !0
|
|
1468
|
-
}, fe, lr, Ue;
|
|
1469
|
-
Ue = {};
|
|
1470
|
-
function Sr(t) {
|
|
1471
|
-
if (Oe.call(t, "ref")) {
|
|
1472
|
-
var c = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1473
|
-
if (c && c.isReactWarning)
|
|
1474
|
-
return !1;
|
|
1475
|
-
}
|
|
1476
|
-
return t.ref !== void 0;
|
|
1477
|
-
}
|
|
1478
|
-
function _r(t) {
|
|
1479
|
-
if (Oe.call(t, "key")) {
|
|
1480
|
-
var c = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1481
|
-
if (c && c.isReactWarning)
|
|
1482
|
-
return !1;
|
|
1483
|
-
}
|
|
1484
|
-
return t.key !== void 0;
|
|
1485
|
-
}
|
|
1486
|
-
function xr(t, c) {
|
|
1487
|
-
if (typeof t.ref == "string" && oe.current && c && oe.current.stateNode !== c) {
|
|
1488
|
-
var m = Z(oe.current.type);
|
|
1489
|
-
Ue[m] || (k('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', Z(oe.current.type), t.ref), Ue[m] = !0);
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1492
|
-
function Ze(t, c) {
|
|
1493
|
-
{
|
|
1494
|
-
var m = function() {
|
|
1495
|
-
fe || (fe = !0, k("%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)", c));
|
|
1496
|
-
};
|
|
1497
|
-
m.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1498
|
-
get: m,
|
|
1499
|
-
configurable: !0
|
|
1500
|
-
});
|
|
1501
|
-
}
|
|
1502
|
-
}
|
|
1503
|
-
function Cr(t, c) {
|
|
1504
|
-
{
|
|
1505
|
-
var m = function() {
|
|
1506
|
-
lr || (lr = !0, k("%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)", c));
|
|
1507
|
-
};
|
|
1508
|
-
m.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1509
|
-
get: m,
|
|
1510
|
-
configurable: !0
|
|
1555
|
+
return t.replace(_t, function(a, o, i) {
|
|
1556
|
+
return Re = {
|
|
1557
|
+
name: o,
|
|
1558
|
+
styles: i,
|
|
1559
|
+
next: Re
|
|
1560
|
+
}, o;
|
|
1511
1561
|
});
|
|
1562
|
+
}
|
|
1563
|
+
return Un[r] !== 1 && !zr(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1564
|
+
};
|
|
1565
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1566
|
+
var Wn = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, qn = ["normal", "none", "initial", "inherit", "unset"], Gn = wr, Kn = /^-ms-/, Hn = /-(.)/g, ct = {};
|
|
1567
|
+
wr = function(r, t) {
|
|
1568
|
+
if (r === "content" && (typeof t != "string" || qn.indexOf(t) === -1 && !Wn.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")))
|
|
1569
|
+
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + t + "\"'`");
|
|
1570
|
+
var a = Gn(r, t);
|
|
1571
|
+
return a !== "" && !zr(r) && r.indexOf("-") !== -1 && ct[r] === void 0 && (ct[r] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + r.replace(Kn, "ms-").replace(Hn, function(o, i) {
|
|
1572
|
+
return i.toUpperCase();
|
|
1573
|
+
}) + "?")), a;
|
|
1574
|
+
};
|
|
1575
|
+
}
|
|
1576
|
+
var Rt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1577
|
+
function ur(e, r, t) {
|
|
1578
|
+
if (t == null)
|
|
1579
|
+
return "";
|
|
1580
|
+
if (t.__emotion_styles !== void 0) {
|
|
1581
|
+
if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
|
|
1582
|
+
throw new Error(Rt);
|
|
1583
|
+
return t;
|
|
1584
|
+
}
|
|
1585
|
+
switch (typeof t) {
|
|
1586
|
+
case "boolean":
|
|
1587
|
+
return "";
|
|
1588
|
+
case "object": {
|
|
1589
|
+
if (t.anim === 1)
|
|
1590
|
+
return Re = {
|
|
1591
|
+
name: t.name,
|
|
1592
|
+
styles: t.styles,
|
|
1593
|
+
next: Re
|
|
1594
|
+
}, t.name;
|
|
1595
|
+
if (t.styles !== void 0) {
|
|
1596
|
+
var a = t.next;
|
|
1597
|
+
if (a !== void 0)
|
|
1598
|
+
for (; a !== void 0; )
|
|
1599
|
+
Re = {
|
|
1600
|
+
name: a.name,
|
|
1601
|
+
styles: a.styles,
|
|
1602
|
+
next: Re
|
|
1603
|
+
}, a = a.next;
|
|
1604
|
+
var o = t.styles + ";";
|
|
1605
|
+
return process.env.NODE_ENV !== "production" && t.map !== void 0 && (o += t.map), o;
|
|
1512
1606
|
}
|
|
1607
|
+
return Jn(e, r, t);
|
|
1513
1608
|
}
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
key: c,
|
|
1519
|
-
ref: m,
|
|
1520
|
-
props: I,
|
|
1521
|
-
_owner: W
|
|
1522
|
-
};
|
|
1523
|
-
return T._store = {}, Object.defineProperty(T._store, "validated", {
|
|
1524
|
-
configurable: !1,
|
|
1525
|
-
enumerable: !1,
|
|
1526
|
-
writable: !0,
|
|
1527
|
-
value: !1
|
|
1528
|
-
}), Object.defineProperty(T, "_self", {
|
|
1529
|
-
configurable: !1,
|
|
1530
|
-
enumerable: !1,
|
|
1531
|
-
writable: !1,
|
|
1532
|
-
value: E
|
|
1533
|
-
}), Object.defineProperty(T, "_source", {
|
|
1534
|
-
configurable: !1,
|
|
1535
|
-
enumerable: !1,
|
|
1536
|
-
writable: !1,
|
|
1537
|
-
value: L
|
|
1538
|
-
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
1539
|
-
};
|
|
1540
|
-
function Xe(t, c, m, E, L) {
|
|
1541
|
-
{
|
|
1542
|
-
var W, I = {}, T = null, de = null;
|
|
1543
|
-
m !== void 0 && (He(m), T = "" + m), _r(c) && (He(c.key), T = "" + c.key), Sr(c) && (de = c.ref, xr(c, L));
|
|
1544
|
-
for (W in c)
|
|
1545
|
-
Oe.call(c, W) && !Je.hasOwnProperty(W) && (I[W] = c[W]);
|
|
1546
|
-
if (t && t.defaultProps) {
|
|
1547
|
-
var J = t.defaultProps;
|
|
1548
|
-
for (W in J)
|
|
1549
|
-
I[W] === void 0 && (I[W] = J[W]);
|
|
1550
|
-
}
|
|
1551
|
-
if (T || de) {
|
|
1552
|
-
var ee = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1553
|
-
T && Ze(I, ee), de && Cr(I, ee);
|
|
1554
|
-
}
|
|
1555
|
-
return Br(t, T, de, L, E, oe.current, I);
|
|
1556
|
-
}
|
|
1557
|
-
}
|
|
1558
|
-
var ur = x.ReactCurrentOwner, fr = x.ReactDebugCurrentFrame;
|
|
1559
|
-
function Ye(t) {
|
|
1560
|
-
if (t) {
|
|
1561
|
-
var c = t._owner, m = Ce(t.type, t._source, c ? c.type : null);
|
|
1562
|
-
fr.setExtraStackFrame(m);
|
|
1609
|
+
case "function": {
|
|
1610
|
+
if (e !== void 0) {
|
|
1611
|
+
var i = Re, l = t(e);
|
|
1612
|
+
return Re = i, ur(e, r, l);
|
|
1563
1613
|
} else
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
var dr;
|
|
1567
|
-
dr = !1;
|
|
1568
|
-
function p(t) {
|
|
1569
|
-
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
1570
|
-
}
|
|
1571
|
-
function _() {
|
|
1572
|
-
{
|
|
1573
|
-
if (ur.current) {
|
|
1574
|
-
var t = Z(ur.current.type);
|
|
1575
|
-
if (t)
|
|
1576
|
-
return `
|
|
1577
|
-
|
|
1578
|
-
Check the render method of \`` + t + "`.";
|
|
1579
|
-
}
|
|
1580
|
-
return "";
|
|
1581
|
-
}
|
|
1614
|
+
process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
1615
|
+
break;
|
|
1582
1616
|
}
|
|
1583
|
-
|
|
1584
|
-
{
|
|
1585
|
-
|
|
1586
|
-
var
|
|
1587
|
-
return `
|
|
1617
|
+
case "string":
|
|
1618
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1619
|
+
var u = [], d = t.replace(_t, function(m, h, y) {
|
|
1620
|
+
var k = "animation" + u.length;
|
|
1621
|
+
return u.push("const " + k + " = keyframes`" + y.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + k + "}";
|
|
1622
|
+
});
|
|
1623
|
+
u.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(u, ["`" + d + "`"]).join(`
|
|
1624
|
+
`) + `
|
|
1588
1625
|
|
|
1589
|
-
|
|
1590
|
-
}
|
|
1591
|
-
return "";
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
var U = {};
|
|
1595
|
-
function Q(t) {
|
|
1596
|
-
{
|
|
1597
|
-
var c = _();
|
|
1598
|
-
if (!c) {
|
|
1599
|
-
var m = typeof t == "string" ? t : t.displayName || t.name;
|
|
1600
|
-
m && (c = `
|
|
1626
|
+
You should wrap it with \`css\` like this:
|
|
1601
1627
|
|
|
1602
|
-
|
|
1603
|
-
}
|
|
1604
|
-
return c;
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
function A(t, c) {
|
|
1608
|
-
{
|
|
1609
|
-
if (!t._store || t._store.validated || t.key != null)
|
|
1610
|
-
return;
|
|
1611
|
-
t._store.validated = !0;
|
|
1612
|
-
var m = Q(c);
|
|
1613
|
-
if (U[m])
|
|
1614
|
-
return;
|
|
1615
|
-
U[m] = !0;
|
|
1616
|
-
var E = "";
|
|
1617
|
-
t && t._owner && t._owner !== ur.current && (E = " It was passed a child from " + Z(t._owner.type) + "."), Ye(t), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, E), Ye(null);
|
|
1628
|
+
` + ("css`" + d + "`"));
|
|
1618
1629
|
}
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1630
|
+
break;
|
|
1631
|
+
}
|
|
1632
|
+
if (r == null)
|
|
1633
|
+
return t;
|
|
1634
|
+
var v = r[t];
|
|
1635
|
+
return v !== void 0 ? v : t;
|
|
1636
|
+
}
|
|
1637
|
+
function Jn(e, r, t) {
|
|
1638
|
+
var a = "";
|
|
1639
|
+
if (Array.isArray(t))
|
|
1640
|
+
for (var o = 0; o < t.length; o++)
|
|
1641
|
+
a += ur(e, r, t[o]) + ";";
|
|
1642
|
+
else
|
|
1643
|
+
for (var i in t) {
|
|
1644
|
+
var l = t[i];
|
|
1645
|
+
if (typeof l != "object")
|
|
1646
|
+
r != null && r[l] !== void 0 ? a += i + "{" + r[l] + "}" : st(l) && (a += Pr(i) + ":" + wr(i, l) + ";");
|
|
1647
|
+
else {
|
|
1648
|
+
if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
1649
|
+
throw new Error(Rt);
|
|
1650
|
+
if (Array.isArray(l) && typeof l[0] == "string" && (r == null || r[l[0]] === void 0))
|
|
1651
|
+
for (var u = 0; u < l.length; u++)
|
|
1652
|
+
st(l[u]) && (a += Pr(i) + ":" + wr(i, l[u]) + ";");
|
|
1653
|
+
else {
|
|
1654
|
+
var d = ur(e, r, l);
|
|
1655
|
+
switch (i) {
|
|
1656
|
+
case "animation":
|
|
1657
|
+
case "animationName": {
|
|
1658
|
+
a += Pr(i) + ":" + d + ";";
|
|
1659
|
+
break;
|
|
1660
|
+
}
|
|
1661
|
+
default:
|
|
1662
|
+
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(zn), a += i + "{" + d + "}";
|
|
1628
1663
|
}
|
|
1629
|
-
else if (p(t))
|
|
1630
|
-
t._store && (t._store.validated = !0);
|
|
1631
|
-
else if (t) {
|
|
1632
|
-
var L = D(t);
|
|
1633
|
-
if (typeof L == "function" && L !== t.entries)
|
|
1634
|
-
for (var W = L.call(t), I; !(I = W.next()).done; )
|
|
1635
|
-
p(I.value) && A(I.value, c);
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
function mr(t) {
|
|
1640
|
-
{
|
|
1641
|
-
var c = t.type;
|
|
1642
|
-
if (c == null || typeof c == "string")
|
|
1643
|
-
return;
|
|
1644
|
-
var m;
|
|
1645
|
-
if (typeof c == "function")
|
|
1646
|
-
m = c.propTypes;
|
|
1647
|
-
else if (typeof c == "object" && (c.$$typeof === g || c.$$typeof === v))
|
|
1648
|
-
m = c.propTypes;
|
|
1649
|
-
else
|
|
1650
|
-
return;
|
|
1651
|
-
if (m) {
|
|
1652
|
-
var E = Z(c);
|
|
1653
|
-
Ge(m, t.props, "prop", E, t);
|
|
1654
|
-
} else if (c.PropTypes !== void 0 && !dr) {
|
|
1655
|
-
dr = !0;
|
|
1656
|
-
var L = Z(c);
|
|
1657
|
-
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", L || "Unknown");
|
|
1658
1664
|
}
|
|
1659
|
-
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1660
1665
|
}
|
|
1661
1666
|
}
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1667
|
+
return a;
|
|
1668
|
+
}
|
|
1669
|
+
var lt = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Ct;
|
|
1670
|
+
process.env.NODE_ENV !== "production" && (Ct = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
1671
|
+
var Re, ut = function(r, t, a) {
|
|
1672
|
+
if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
|
|
1673
|
+
return r[0];
|
|
1674
|
+
var o = !0, i = "";
|
|
1675
|
+
Re = void 0;
|
|
1676
|
+
var l = r[0];
|
|
1677
|
+
l == null || l.raw === void 0 ? (o = !1, i += ur(a, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(it), i += l[0]);
|
|
1678
|
+
for (var u = 1; u < r.length; u++)
|
|
1679
|
+
i += ur(a, t, r[u]), o && (process.env.NODE_ENV !== "production" && l[u] === void 0 && console.error(it), i += l[u]);
|
|
1680
|
+
var d;
|
|
1681
|
+
process.env.NODE_ENV !== "production" && (i = i.replace(Ct, function(y) {
|
|
1682
|
+
return d = y, "";
|
|
1683
|
+
})), lt.lastIndex = 0;
|
|
1684
|
+
for (var v = "", m; (m = lt.exec(i)) !== null; )
|
|
1685
|
+
v += "-" + // $FlowFixMe we know it's not null
|
|
1686
|
+
m[1];
|
|
1687
|
+
var h = Bn(i) + v;
|
|
1688
|
+
return process.env.NODE_ENV !== "production" ? {
|
|
1689
|
+
name: h,
|
|
1690
|
+
styles: i,
|
|
1691
|
+
map: d,
|
|
1692
|
+
next: Re,
|
|
1693
|
+
toString: function() {
|
|
1694
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1673
1695
|
}
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1696
|
+
} : {
|
|
1697
|
+
name: h,
|
|
1698
|
+
styles: i,
|
|
1699
|
+
next: Re
|
|
1700
|
+
};
|
|
1701
|
+
}, Xn = function(r) {
|
|
1702
|
+
return r();
|
|
1703
|
+
}, Zn = Fe["useInsertionEffect"] ? Fe["useInsertionEffect"] : !1, Qn = Zn || Xn, xr = {}.hasOwnProperty, Yr = /* @__PURE__ */ Fe.createContext(
|
|
1704
|
+
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1705
|
+
// because this module is primarily intended for the browser and node
|
|
1706
|
+
// but it's also required in react native and similar environments sometimes
|
|
1707
|
+
// and we could have a special build just for that
|
|
1708
|
+
// but this is much easier and the native packages
|
|
1709
|
+
// might use a different theme context in the future anyway
|
|
1710
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ An({
|
|
1711
|
+
key: "css"
|
|
1712
|
+
}) : null
|
|
1713
|
+
);
|
|
1714
|
+
process.env.NODE_ENV !== "production" && (Yr.displayName = "EmotionCacheContext");
|
|
1715
|
+
Yr.Provider;
|
|
1716
|
+
var ea = function(r) {
|
|
1717
|
+
return /* @__PURE__ */ ht(function(t, a) {
|
|
1718
|
+
var o = Vt(Yr);
|
|
1719
|
+
return r(t, o, a);
|
|
1720
|
+
});
|
|
1721
|
+
}, Tt = /* @__PURE__ */ Fe.createContext({});
|
|
1722
|
+
process.env.NODE_ENV !== "production" && (Tt.displayName = "EmotionThemeContext");
|
|
1723
|
+
var ft = function(r) {
|
|
1724
|
+
var t = r.split(".");
|
|
1725
|
+
return t[t.length - 1];
|
|
1726
|
+
}, ra = function(r) {
|
|
1727
|
+
var t = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);
|
|
1728
|
+
if (t || (t = /^([A-Za-z0-9$.]+)@/.exec(r), t))
|
|
1729
|
+
return ft(t[1]);
|
|
1730
|
+
}, ta = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), na = function(r) {
|
|
1731
|
+
return r.replace(/\$/g, "-");
|
|
1732
|
+
}, aa = function(r) {
|
|
1733
|
+
if (r)
|
|
1734
|
+
for (var t = r.split(`
|
|
1735
|
+
`), a = 0; a < t.length; a++) {
|
|
1736
|
+
var o = ra(t[a]);
|
|
1737
|
+
if (o) {
|
|
1738
|
+
if (ta.has(o))
|
|
1739
|
+
break;
|
|
1740
|
+
if (/^[A-Z]/.test(o))
|
|
1741
|
+
return na(o);
|
|
1702
1742
|
}
|
|
1703
1743
|
}
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1744
|
+
}, Mr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Dr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Pt = function(r, t) {
|
|
1745
|
+
if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
|
|
1746
|
+
t.css.indexOf(":") !== -1)
|
|
1747
|
+
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + t.css + "`");
|
|
1748
|
+
var a = {};
|
|
1749
|
+
for (var o in t)
|
|
1750
|
+
xr.call(t, o) && (a[o] = t[o]);
|
|
1751
|
+
if (a[Mr] = r, process.env.NODE_ENV !== "production" && t.css && (typeof t.css != "object" || typeof t.css.name != "string" || t.css.name.indexOf("-") === -1)) {
|
|
1752
|
+
var i = aa(new Error().stack);
|
|
1753
|
+
i && (a[Dr] = i);
|
|
1754
|
+
}
|
|
1755
|
+
return a;
|
|
1756
|
+
}, oa = function(r) {
|
|
1757
|
+
var t = r.cache, a = r.serialized, o = r.isStringTag;
|
|
1758
|
+
return xt(t, a, o), Qn(function() {
|
|
1759
|
+
return Vn(t, a, o);
|
|
1760
|
+
}), null;
|
|
1761
|
+
}, Ot = /* @__PURE__ */ ea(function(e, r, t) {
|
|
1762
|
+
var a = e.css;
|
|
1763
|
+
typeof a == "string" && r.registered[a] !== void 0 && (a = r.registered[a]);
|
|
1764
|
+
var o = e[Mr], i = [a], l = "";
|
|
1765
|
+
typeof e.className == "string" ? l = jn(r.registered, i, e.className) : e.className != null && (l = e.className + " ");
|
|
1766
|
+
var u = ut(i, void 0, Fe.useContext(Tt));
|
|
1767
|
+
if (process.env.NODE_ENV !== "production" && u.name.indexOf("-") === -1) {
|
|
1768
|
+
var d = e[Dr];
|
|
1769
|
+
d && (u = ut([u, "label:" + d + ";"]));
|
|
1770
|
+
}
|
|
1771
|
+
l += r.key + "-" + u.name;
|
|
1772
|
+
var v = {};
|
|
1773
|
+
for (var m in e)
|
|
1774
|
+
xr.call(e, m) && m !== "css" && m !== Mr && (process.env.NODE_ENV === "production" || m !== Dr) && (v[m] = e[m]);
|
|
1775
|
+
return v.ref = t, v.className = l, /* @__PURE__ */ Fe.createElement(Fe.Fragment, null, /* @__PURE__ */ Fe.createElement(oa, {
|
|
1776
|
+
cache: r,
|
|
1777
|
+
serialized: u,
|
|
1778
|
+
isStringTag: typeof o == "string"
|
|
1779
|
+
}), /* @__PURE__ */ Fe.createElement(o, v));
|
|
1780
|
+
});
|
|
1781
|
+
process.env.NODE_ENV !== "production" && (Ot.displayName = "EmotionCssPropInternal");
|
|
1782
|
+
var At = Ot, Xe = Jt;
|
|
1783
|
+
function p(e, r, t) {
|
|
1784
|
+
return xr.call(r, "css") ? Zr(At, Pt(e, r), t) : Zr(e, r, t);
|
|
1713
1785
|
}
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
})(ca);
|
|
1717
|
-
const fa = wr.Fragment, Nt = wr.jsx, kt = wr.jsxs;
|
|
1718
|
-
var tr = fa;
|
|
1719
|
-
function h(e, r, n) {
|
|
1720
|
-
return Vr.call(r, "css") ? Nt(nt, Wt(e, r), n) : Nt(e, r, n);
|
|
1786
|
+
function ge(e, r, t) {
|
|
1787
|
+
return xr.call(r, "css") ? Qr(At, Pt(e, r), t) : Qr(e, r, t);
|
|
1721
1788
|
}
|
|
1722
|
-
function
|
|
1723
|
-
|
|
1789
|
+
function ia(e, r) {
|
|
1790
|
+
let t = null, a = null;
|
|
1791
|
+
return function(...i) {
|
|
1792
|
+
const l = this;
|
|
1793
|
+
t === null ? r.apply(l, i) : a = i, clearTimeout(t), t = setTimeout(() => {
|
|
1794
|
+
a && (r.apply(l, a), a = null), t = null;
|
|
1795
|
+
}, e);
|
|
1796
|
+
};
|
|
1724
1797
|
}
|
|
1725
|
-
const
|
|
1726
|
-
let
|
|
1727
|
-
const i = (
|
|
1728
|
-
const
|
|
1798
|
+
const sa = (e, r) => {
|
|
1799
|
+
let t, a, o;
|
|
1800
|
+
const i = (l, u, d) => (v) => {
|
|
1801
|
+
const m = performance.now();
|
|
1729
1802
|
return setTimeout(() => {
|
|
1730
1803
|
if (!o) {
|
|
1731
|
-
|
|
1804
|
+
t = void 0, a = void 0;
|
|
1732
1805
|
return;
|
|
1733
1806
|
}
|
|
1734
|
-
const
|
|
1735
|
-
o = void 0,
|
|
1736
|
-
console.error(
|
|
1807
|
+
const h = (async () => r(...o))();
|
|
1808
|
+
o = void 0, h.then(u).catch((N) => {
|
|
1809
|
+
console.error(N), d(N);
|
|
1737
1810
|
});
|
|
1738
|
-
let
|
|
1739
|
-
a = new Promise((
|
|
1740
|
-
|
|
1741
|
-
}),
|
|
1742
|
-
}, e - (
|
|
1811
|
+
let y, k;
|
|
1812
|
+
a = new Promise((N, b) => {
|
|
1813
|
+
y = N, k = b;
|
|
1814
|
+
}), t = h.then(i(m, y, k)).catch((N) => (console.error(N), i(l, y, k)(N)));
|
|
1815
|
+
}, e - (m - l)), v;
|
|
1743
1816
|
};
|
|
1744
|
-
return (...
|
|
1745
|
-
if (o =
|
|
1817
|
+
return (...l) => {
|
|
1818
|
+
if (o = l, t)
|
|
1746
1819
|
return a;
|
|
1747
1820
|
{
|
|
1748
|
-
const
|
|
1821
|
+
const u = performance.now(), d = (async () => r(...l))();
|
|
1749
1822
|
o = void 0;
|
|
1750
|
-
let
|
|
1751
|
-
return a = new Promise((
|
|
1752
|
-
|
|
1753
|
-
}),
|
|
1823
|
+
let v, m;
|
|
1824
|
+
return a = new Promise((h, y) => {
|
|
1825
|
+
v = h, m = y;
|
|
1826
|
+
}), t = d.then(i(u, v, m)).catch((h) => (console.error(h), i(u, v, m)(h))), d;
|
|
1754
1827
|
}
|
|
1755
1828
|
};
|
|
1756
|
-
},
|
|
1829
|
+
}, ca = (e) => (r) => new ReadableStream({
|
|
1830
|
+
reader: void 0,
|
|
1831
|
+
leftOverData: void 0,
|
|
1832
|
+
start() {
|
|
1833
|
+
this.reader = r.getReader();
|
|
1834
|
+
},
|
|
1835
|
+
async pull(t) {
|
|
1836
|
+
const { leftOverData: a } = this, o = async ({ buffer: u = new Uint8Array(e), currentSize: d = 0 } = {}) => {
|
|
1837
|
+
const { value: v, done: m } = await this.reader.read();
|
|
1838
|
+
if (d === 0 && a && (u.set(a), d += a.byteLength, this.leftOverData = void 0), m) {
|
|
1839
|
+
const k = { buffer: u.slice(0, d), currentSize: d, done: m };
|
|
1840
|
+
return this.reader = void 0, this.leftOverData = void 0, k;
|
|
1841
|
+
}
|
|
1842
|
+
let h;
|
|
1843
|
+
const y = v.slice(0, e - d);
|
|
1844
|
+
return h = d + y.byteLength, u.set(y, d), h === e ? (this.leftOverData = v.slice(e - d), { buffer: u, currentSize: h, done: !1 }) : o({ buffer: u, currentSize: h });
|
|
1845
|
+
}, { buffer: i, done: l } = await o();
|
|
1846
|
+
i?.byteLength && t.enqueue(i), l && t.close();
|
|
1847
|
+
},
|
|
1848
|
+
cancel() {
|
|
1849
|
+
this.reader.cancel(), this.leftOverData = void 0;
|
|
1850
|
+
}
|
|
1851
|
+
}), la = (e) => (r) => new ReadableStream({
|
|
1852
|
+
buffers: [],
|
|
1853
|
+
currentPullPromise: void 0,
|
|
1854
|
+
reader: void 0,
|
|
1855
|
+
leftOverData: void 0,
|
|
1856
|
+
start() {
|
|
1857
|
+
this.reader = r.getReader();
|
|
1858
|
+
},
|
|
1859
|
+
async pull(t) {
|
|
1860
|
+
const a = async () => {
|
|
1861
|
+
if (this.buffers.length >= e)
|
|
1862
|
+
return;
|
|
1863
|
+
this.currentPullPromise = this.reader.read();
|
|
1864
|
+
const { value: i, done: l } = await this.currentPullPromise;
|
|
1865
|
+
if (this.currentPullPromise = void 0, l) {
|
|
1866
|
+
try {
|
|
1867
|
+
t.close();
|
|
1868
|
+
} catch {
|
|
1869
|
+
}
|
|
1870
|
+
return;
|
|
1871
|
+
}
|
|
1872
|
+
return this.buffers.push(i), i;
|
|
1873
|
+
}, o = async () => {
|
|
1874
|
+
if (!(this.buffers.length >= e)) {
|
|
1875
|
+
if (this.buffers.length === 0)
|
|
1876
|
+
return await a() ? o() : void 0;
|
|
1877
|
+
a().then((i) => {
|
|
1878
|
+
i && o();
|
|
1879
|
+
});
|
|
1880
|
+
}
|
|
1881
|
+
};
|
|
1882
|
+
await o(), t.enqueue(this.buffers.shift()), o();
|
|
1883
|
+
},
|
|
1884
|
+
cancel() {
|
|
1885
|
+
this.reader.cancel();
|
|
1886
|
+
}
|
|
1887
|
+
}), ua = Er`
|
|
1757
1888
|
position: relative;
|
|
1758
1889
|
display: grid;
|
|
1759
1890
|
grid-column: 1;
|
|
@@ -1778,9 +1909,9 @@ const St = (e, r) => {
|
|
|
1778
1909
|
grid-column: 1;
|
|
1779
1910
|
grid-row: 1;
|
|
1780
1911
|
}
|
|
1781
|
-
`,
|
|
1782
|
-
/* @__PURE__ */
|
|
1783
|
-
r ? /* @__PURE__ */
|
|
1912
|
+
`, fa = ({ loading: e, needsInitialInteraction: r, togglePlay: t, setCanvasRef: a }) => /* @__PURE__ */ ge("div", { css: ua, onClick: t, children: [
|
|
1913
|
+
/* @__PURE__ */ p("canvas", { ref: a }),
|
|
1914
|
+
r ? /* @__PURE__ */ p(
|
|
1784
1915
|
"svg",
|
|
1785
1916
|
{
|
|
1786
1917
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1793,9 +1924,9 @@ const St = (e, r) => {
|
|
|
1793
1924
|
strokeLinecap: "round",
|
|
1794
1925
|
strokeLinejoin: "round",
|
|
1795
1926
|
className: "feather feather-play",
|
|
1796
|
-
children: /* @__PURE__ */
|
|
1927
|
+
children: /* @__PURE__ */ p("polygon", { points: "12 7 45 28 12 50 12 7" })
|
|
1797
1928
|
}
|
|
1798
|
-
) : e ? /* @__PURE__ */
|
|
1929
|
+
) : e ? /* @__PURE__ */ p(
|
|
1799
1930
|
"svg",
|
|
1800
1931
|
{
|
|
1801
1932
|
className: "loading",
|
|
@@ -1810,7 +1941,7 @@ const St = (e, r) => {
|
|
|
1810
1941
|
height: "100",
|
|
1811
1942
|
viewBox: "0 0 100 100",
|
|
1812
1943
|
preserveAspectRatio: "xMidYMid",
|
|
1813
|
-
children: /* @__PURE__ */
|
|
1944
|
+
children: /* @__PURE__ */ p(
|
|
1814
1945
|
"circle",
|
|
1815
1946
|
{
|
|
1816
1947
|
cx: "50",
|
|
@@ -1821,7 +1952,7 @@ const St = (e, r) => {
|
|
|
1821
1952
|
r: "35",
|
|
1822
1953
|
strokeDasharray: "164.93361431346415 56.97787143782138",
|
|
1823
1954
|
style: { animationPlayState: "running", animationDelay: "0s" },
|
|
1824
|
-
children: /* @__PURE__ */
|
|
1955
|
+
children: /* @__PURE__ */ p(
|
|
1825
1956
|
"animateTransform",
|
|
1826
1957
|
{
|
|
1827
1958
|
attributeName: "transform",
|
|
@@ -1837,44 +1968,44 @@ const St = (e, r) => {
|
|
|
1837
1968
|
)
|
|
1838
1969
|
}
|
|
1839
1970
|
) : null
|
|
1840
|
-
] }),
|
|
1841
|
-
const [
|
|
1971
|
+
] }), dt = ({ ref: e, defaultValue: r }) => {
|
|
1972
|
+
const [t, a] = z(r), [o, i] = z(!1), l = (u) => {
|
|
1842
1973
|
if (i(!0), !e.current)
|
|
1843
1974
|
return;
|
|
1844
|
-
const { clientX:
|
|
1845
|
-
a(Math.min(Math.max((
|
|
1975
|
+
const { clientX: d } = u, { left: v, right: m } = e.current.getBoundingClientRect();
|
|
1976
|
+
a(Math.min(Math.max((d - v) / (m - v), 0), 1));
|
|
1846
1977
|
};
|
|
1847
|
-
return
|
|
1978
|
+
return he(() => {
|
|
1848
1979
|
if (!o)
|
|
1849
1980
|
return;
|
|
1850
|
-
const
|
|
1981
|
+
const u = () => i(!1), d = (v) => {
|
|
1851
1982
|
if (!e.current)
|
|
1852
1983
|
return;
|
|
1853
|
-
const { clientX:
|
|
1854
|
-
a(Math.min(Math.max((
|
|
1984
|
+
const { clientX: m } = v, { left: h, right: y } = e.current.getBoundingClientRect();
|
|
1985
|
+
a(Math.min(Math.max((m - h) / (y - h), 0), 1));
|
|
1855
1986
|
};
|
|
1856
|
-
return document.addEventListener("mousemove",
|
|
1857
|
-
document.removeEventListener("mousemove",
|
|
1987
|
+
return document.addEventListener("mousemove", d), document.addEventListener("mouseup", u), () => {
|
|
1988
|
+
document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", u);
|
|
1858
1989
|
};
|
|
1859
1990
|
}, [o]), {
|
|
1860
|
-
value:
|
|
1991
|
+
value: t,
|
|
1861
1992
|
scrubbing: o,
|
|
1862
|
-
scrub:
|
|
1993
|
+
scrub: l
|
|
1863
1994
|
};
|
|
1864
|
-
},
|
|
1865
|
-
const [r,
|
|
1995
|
+
}, da = JSON.parse(`[{"tag":"zu","name":"isiZulu","originalName":"isiZulu","locale":"zu-ZA"},{"tag":"zh","name":"Chinese","originalName":"中文","locale":"zh-CHS"},{"tag":"yo","name":"Yoruba","originalName":"Yoruba","locale":"yo-NG"},{"tag":"xh","name":"isiXhosa","originalName":"isiXhosa","locale":"xh-ZA"},{"tag":"wo","name":"Wolof","originalName":"Wolof","locale":"wo-SN"},{"tag":"vi","name":"Vietnamese","originalName":"Tiếng Việt","locale":"vi"},{"tag":"uz","name":"Uzbek","originalName":"U'zbek","locale":"uz"},{"tag":"ur","name":"Urdu","originalName":"اُردو","locale":"ur"},{"tag":"uk","name":"Ukrainian","originalName":"україньска","locale":"uk"},{"tag":"ug","name":"Uyghur","originalName":"ئۇيغۇرچە","locale":"ug-CN"},{"tag":"tzm","name":"Tamazight","originalName":"Tamazight","locale":"tzm-Latn-DZ"},{"tag":"tt","name":"Tatar","originalName":"Татар","locale":"tt"},{"tag":"tr","name":"Turkish","originalName":"Türkçe","locale":"tr"},{"tag":"tn","name":"Setswana","originalName":"Setswana","locale":"tn-ZA"},{"tag":"tk","name":"Turkmen","originalName":"türkmençe","locale":"tk-TM"},{"tag":"th","name":"Thai","originalName":"ไทย","locale":"th"},{"tag":"tg","name":"Tajik","originalName":"Тоҷикӣ","locale":"tg-Cyrl-TJ"},{"tag":"te","name":"Telugu","originalName":"తెలుగు","locale":"te"},{"tag":"ta","name":"Tamil","originalName":"தமிழ்","locale":"ta"},{"tag":"syr","name":"Syriac","originalName":"ܣܘܪܝܝܐ","locale":"syr"},{"tag":"sw","name":"Kiswahili","originalName":"Kiswahili","locale":"sw"},{"tag":"sv","name":"Swedish","originalName":"svenska","locale":"sv"},{"tag":"sr","name":"Serbian","originalName":"srpski","locale":"sr"},{"tag":"sq","name":"Albanian","originalName":"shqipe","locale":"sq"},{"tag":"sms","name":"Sami","originalName":"sääm´ǩiõll","locale":"sms-FI"},{"tag":"smn","name":"Sami","originalName":"sämikielâ","locale":"smn-FI"},{"tag":"smj","name":"Sami","originalName":"julevusámegiella","locale":"smj-NO"},{"tag":"sma","name":"Sami","originalName":"åarjelsaemiengiele","locale":"sma-NO"},{"tag":"sl","name":"Slovenian","originalName":"slovenski","locale":"sl"},{"tag":"sk","name":"Slovak","originalName":"slovenčina","locale":"sk"},{"tag":"si","name":"Sinhala","originalName":"සිංහ","locale":"si-LK"},{"tag":"se","name":"Sami","originalName":"davvisámegiella","locale":"se-FI"},{"tag":"sah","name":"Yakut","originalName":"саха","locale":"sah-RU"},{"tag":"sa","name":"Sanskrit","originalName":"संस्कृत","locale":"sa"},{"tag":"rw","name":"Kinyarwanda","originalName":"Kinyarwanda","locale":"rw-RW"},{"tag":"ru","name":"Russian","originalName":"русский","locale":"ru"},{"tag":"ro","name":"Romanian","originalName":"română","locale":"ro"},{"tag":"rm","name":"Romansh","originalName":"Rumantsch","locale":"rm-CH"},{"tag":"quz","name":"Quechua","originalName":"runasimi","locale":"quz-BO"},{"tag":"qut","name":"K'iche","originalName":"K'iche","locale":"qut-GT"},{"tag":"pt","name":"Portuguese","originalName":"Português","locale":"pt"},{"tag":"ps","name":"Pashto","originalName":"پښتو","locale":"ps-AF"},{"tag":"prs","name":"Dari","originalName":"درى","locale":"prs-AF"},{"tag":"pl","name":"Polish","originalName":"polski","locale":"pl"},{"tag":"pa","name":"Punjabi","originalName":"ਪੰਜਾਬੀ","locale":"pa"},{"tag":"or","name":"Oriya","originalName":"ଓଡ଼ିଆ","locale":"or-IN"},{"tag":"oc","name":"Occitan","originalName":"Occitan","locale":"oc-FR"},{"tag":"nso","name":"Sesotho sa Leboa","originalName":"Sesotho sa Leboa","locale":"nso-ZA"},{"tag":"no","name":"Norwegian","originalName":"norsk","locale":"no"},{"tag":"nn","name":"Norwegian, Nynorsk","originalName":"norsk, nynorsk","locale":"nn-NO"},{"tag":"nl","name":"Dutch","originalName":"Nederlands","locale":"nl"},{"tag":"ne","name":"Nepali","originalName":"नेपाली","locale":"ne-NP"},{"tag":"nb","name":"Norwegian, Bokmål","originalName":"norsk, bokmål","locale":"nb-NO"},{"tag":"mt","name":"Maltese","originalName":"Malti","locale":"mt-MT"},{"tag":"ms","name":"Malay","originalName":"Bahasa Malaysia","locale":"ms"},{"tag":"mr","name":"Marathi","originalName":"मराठी","locale":"mr"},{"tag":"moh","name":"Mohawk","originalName":"Kanien'kéha","locale":"moh-CA"},{"tag":"mn","name":"Mongolian","originalName":"Монгол хэл","locale":"mn"},{"tag":"ml","name":"Malayalam","originalName":"മലയാളം","locale":"ml-IN"},{"tag":"mk","name":"Macedonian","originalName":"македонски јазик","locale":"mk"},{"tag":"mi","name":"Maori","originalName":"Reo Māori","locale":"mi-NZ"},{"tag":"lv","name":"Latvian","originalName":"latviešu","locale":"lv"},{"tag":"lt","name":"Lithuanian","originalName":"lietuvių","locale":"lt"},{"tag":"lo","name":"Lao","originalName":"ລາວ","locale":"lo-LA"},{"tag":"lb","name":"Luxembourgish","originalName":"Lëtzebuergesch","locale":"lb-LU"},{"tag":"ky","name":"Kyrgyz","originalName":"Кыргыз","locale":"ky"},{"tag":"kok","name":"Konkani","originalName":"कोंकणी","locale":"kok"},{"tag":"ko","name":"Korean","originalName":"한국어","locale":"ko"},{"tag":"kn","name":"Kannada","originalName":"ಕನ್ನಡ","locale":"kn"},{"tag":"km","name":"Khmer","originalName":"ខ្មែរ","locale":"km-KH"},{"tag":"kl","name":"Greenlandic","originalName":"kalaallisut","locale":"kl-GL"},{"tag":"kk","name":"Kazakh","originalName":"Қазащb","locale":"kk"},{"tag":"ka","name":"Georgian","originalName":"ქართული","locale":"ka"},{"tag":"ja","name":"Japanese","originalName":"日本語","locale":"ja"},{"tag":"iu","name":"Inuktitut","originalName":"ᐃᓄᒃᑎᑐᑦ","locale":"iu-Cans-CA"},{"tag":"it","name":"Italian","originalName":"italiano","locale":"it"},{"tag":"is","name":"Icelandic","originalName":"íslenska","locale":"is"},{"tag":"ii","name":"Yi","originalName":"ꆈꌠꁱꂷ","locale":"ii-CN"},{"tag":"ig","name":"Igbo","originalName":"Igbo","locale":"ig-NG"},{"tag":"id","name":"Indonesian","originalName":"Bahasa Indonesia","locale":"id"},{"tag":"hy","name":"Armenian","originalName":"Հայերեն","locale":"hy"},{"tag":"hu","name":"Hungarian","originalName":"magyar","locale":"hu"},{"tag":"hsb","name":"Upper Sorbian","originalName":"hornjoserbšćina","locale":"hsb-DE"},{"tag":"hr","name":"Croatian","originalName":"hrvatski","locale":"hr"},{"tag":"hi","name":"Hindi","originalName":"हिंदी","locale":"hi"},{"tag":"he","name":"Hebrew","originalName":"עברית","locale":"he"},{"tag":"ha","name":"Hausa","originalName":"Hausa","locale":"ha-Latn-NG"},{"tag":"gu","name":"Gujarati","originalName":"ગુજરાતી","locale":"gu"},{"tag":"gsw","name":"Alsatian","originalName":"Elsässisch","locale":"gsw-FR"},{"tag":"gl","name":"Galician","originalName":"galego","locale":"gl"},{"tag":"gd","name":"Scottish Gaelic","originalName":"Gàidhlig","locale":"gd-GB"},{"tag":"ga","name":"Irish","originalName":"Gaeilge","locale":"ga-IE"},{"tag":"fy","name":"Frisian","originalName":"Frysk","locale":"fy-NL"},{"tag":"fr","name":"French","originalName":"français","locale":"fr"},{"tag":"fo","name":"Faroese","originalName":"føroyskt","locale":"fo"},{"tag":"fil","name":"Filipino","originalName":"Filipino","locale":"fil-PH"},{"tag":"fi","name":"Finnish","originalName":"suomi","locale":"fi"},{"tag":"fa","name":"Persian","originalName":"فارسى","locale":"fa"},{"tag":"eu","name":"Basque","originalName":"euskara","locale":"eu"},{"tag":"et","name":"Estonian","originalName":"eesti","locale":"et"},{"tag":"es","name":"Spanish","originalName":"español","locale":"es"},{"tag":"en","name":"English","originalName":"English","locale":"en"},{"tag":"el","name":"Greek","originalName":"ελληνικά","locale":"el"},{"tag":"dv","name":"Divehi","originalName":"ދިވެހިބަސް","locale":"dv"},{"tag":"dsb","name":"Lower Sorbian","originalName":"dolnoserbšćina","locale":"dsb-DE"},{"tag":"de","name":"German","originalName":"Deutsch","locale":"de"},{"tag":"da","name":"Danish","originalName":"dansk","locale":"da"},{"tag":"cy","name":"Welsh","originalName":"Cymraeg","locale":"cy-GB"},{"tag":"cs","name":"Czech","originalName":"čeština","locale":"cs"},{"tag":"co","name":"Corsican","originalName":"Corsu","locale":"co-FR"},{"tag":"ca","name":"Catalan","originalName":"català","locale":"ca"},{"tag":"bs","name":"Bosnian","originalName":"босански","locale":"bs-Cyrl-BA"},{"tag":"br","name":"Breton","originalName":"brezhoneg","locale":"br-FR"},{"tag":"bo","name":"Tibetan","originalName":"བོད་ཡིག","locale":"bo-CN"},{"tag":"bn","name":"Bengali","originalName":"বাংলা","locale":"bn-BD"},{"tag":"bg","name":"Bulgarian","originalName":"български","locale":"bg"},{"tag":"be","name":"Belarusian","originalName":"Беларускі","locale":"be"},{"tag":"ba","name":"Bashkir","originalName":"Башҡорт","locale":"ba-RU"},{"tag":"az","name":"Azeri","originalName":"Azərbaycanılı","locale":"az"},{"tag":"as","name":"Assamese","originalName":"অসমীয়া","locale":"as-IN"},{"tag":"arn","name":"Mapudungun","originalName":"Mapudungun","locale":"arn-CL"},{"tag":"ar","name":"Arabic","originalName":"العربية","locale":"ar"},{"tag":"am","name":"Amharic","originalName":"አማርኛ","locale":"am-ET"},{"tag":"af","name":"Afrikaans","originalName":"Afrikaans","locale":"af"},{"tag":"iv","name":"Invariant Language","originalName":"Invariant Language","locale":""},{"tag":"Two letter","name":"English","originalName":"Native","locale":"Culture .NET"}]`), mt = (e) => da.find((r) => r.tag === e)?.name, ma = (e) => {
|
|
1996
|
+
const [r, t] = z(() => {
|
|
1866
1997
|
const a = localStorage.getItem(e);
|
|
1867
1998
|
return a ? JSON.parse(a) : {};
|
|
1868
1999
|
});
|
|
1869
|
-
return
|
|
2000
|
+
return he(() => {
|
|
1870
2001
|
localStorage.setItem(e, JSON.stringify(r));
|
|
1871
|
-
}, [e, r]), (a, o) => (
|
|
1872
|
-
|
|
2002
|
+
}, [e, r]), (a, o) => (he(() => {
|
|
2003
|
+
t((i) => ({ ...i, [a]: o }));
|
|
1873
2004
|
}, []), [
|
|
1874
2005
|
r[a],
|
|
1875
|
-
(i) =>
|
|
2006
|
+
(i) => t(typeof i == "function" ? (l) => ({ ...l, [a]: i(l[a]) }) : (l) => ({ ...l, [a]: i }))
|
|
1876
2007
|
]);
|
|
1877
|
-
},
|
|
2008
|
+
}, ga = Er`
|
|
1878
2009
|
position: relative;
|
|
1879
2010
|
grid-column: 1;
|
|
1880
2011
|
grid-row: 1;
|
|
@@ -2133,174 +2264,174 @@ const St = (e, r) => {
|
|
|
2133
2264
|
}
|
|
2134
2265
|
}
|
|
2135
2266
|
}
|
|
2136
|
-
`,
|
|
2267
|
+
`, ha = ({
|
|
2137
2268
|
duration: e,
|
|
2138
2269
|
currentTime: r,
|
|
2139
|
-
togglePlay:
|
|
2270
|
+
togglePlay: t,
|
|
2140
2271
|
seek: a,
|
|
2141
2272
|
setVolume: o,
|
|
2142
2273
|
isSubtitleMenuHidden: i,
|
|
2143
|
-
setIsSubtitleMenuHidden:
|
|
2144
|
-
isErrorMenuHidden:
|
|
2145
|
-
setIsErrorMenuHidden:
|
|
2146
|
-
setCurrentSubtitleTrack:
|
|
2147
|
-
loadedTime:
|
|
2148
|
-
isPlaying:
|
|
2149
|
-
tracks:
|
|
2150
|
-
isFullscreen:
|
|
2151
|
-
toggleFullscreen:
|
|
2152
|
-
subtitleTrack:
|
|
2153
|
-
pictureInPicture:
|
|
2154
|
-
errors:
|
|
2155
|
-
customControls:
|
|
2274
|
+
setIsSubtitleMenuHidden: l,
|
|
2275
|
+
isErrorMenuHidden: u,
|
|
2276
|
+
setIsErrorMenuHidden: d,
|
|
2277
|
+
setCurrentSubtitleTrack: v,
|
|
2278
|
+
loadedTime: m,
|
|
2279
|
+
isPlaying: h,
|
|
2280
|
+
tracks: y,
|
|
2281
|
+
isFullscreen: k,
|
|
2282
|
+
toggleFullscreen: N,
|
|
2283
|
+
subtitleTrack: b,
|
|
2284
|
+
pictureInPicture: x,
|
|
2285
|
+
errors: _,
|
|
2286
|
+
customControls: S,
|
|
2156
2287
|
...P
|
|
2157
2288
|
}) => {
|
|
2158
|
-
const
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
}, [
|
|
2162
|
-
|
|
2163
|
-
}, [
|
|
2164
|
-
if (
|
|
2165
|
-
o(0),
|
|
2289
|
+
const I = Ze(null), f = Ze(null), [U, R] = z(!1), { scrub: Ae, value: we } = dt({ ref: I }), Ie = Or(() => document.pictureInPictureEnabled, []), [$e, ue] = z(!1), K = ma("fkn-media-player"), [H, fe] = K("volume", 1), [J, Ee] = K("muted", !1), { scrub: ne, value: ae } = dt({ ref: f, defaultValue: H });
|
|
2290
|
+
he(() => {
|
|
2291
|
+
$e || (ue(!0), _e(void 0));
|
|
2292
|
+
}, [$e, _.length]), he(() => {
|
|
2293
|
+
we !== void 0 && a(we * (e ?? 0));
|
|
2294
|
+
}, [we]), he(() => {
|
|
2295
|
+
if (J) {
|
|
2296
|
+
o(0), Ee(J), ae && fe(ae);
|
|
2166
2297
|
return;
|
|
2167
2298
|
}
|
|
2168
|
-
|
|
2169
|
-
}, [
|
|
2170
|
-
const
|
|
2171
|
-
|
|
2172
|
-
},
|
|
2173
|
-
s.currentTarget !== s.relatedTarget && s.relatedTarget !== null ||
|
|
2174
|
-
},
|
|
2175
|
-
|
|
2176
|
-
},
|
|
2177
|
-
|
|
2178
|
-
},
|
|
2299
|
+
ae !== void 0 && (o(ae ** 2), fe(ae), Ee(J));
|
|
2300
|
+
}, [ae, J]);
|
|
2301
|
+
const re = () => {
|
|
2302
|
+
R(!1);
|
|
2303
|
+
}, Ne = (s) => {
|
|
2304
|
+
s.currentTarget !== s.relatedTarget && s.relatedTarget !== null || R(!0);
|
|
2305
|
+
}, ke = () => {
|
|
2306
|
+
Ee((s) => !s);
|
|
2307
|
+
}, Ce = (s, w, Y) => {
|
|
2308
|
+
v(w === void 0 ? w : Y);
|
|
2309
|
+
}, Le = (s) => {
|
|
2179
2310
|
if (!i && s.relatedTarget === null) {
|
|
2180
|
-
|
|
2311
|
+
l((Y) => !Y);
|
|
2181
2312
|
return;
|
|
2182
2313
|
}
|
|
2183
|
-
|
|
2184
|
-
const
|
|
2185
|
-
|
|
2314
|
+
l(!1);
|
|
2315
|
+
const w = (Y) => {
|
|
2316
|
+
Y.stopPropagation(), l(!0), document.removeEventListener("click", w);
|
|
2186
2317
|
};
|
|
2187
2318
|
setTimeout(() => {
|
|
2188
|
-
document.addEventListener("click",
|
|
2319
|
+
document.addEventListener("click", w);
|
|
2189
2320
|
}, 0);
|
|
2190
|
-
},
|
|
2191
|
-
if (!
|
|
2192
|
-
|
|
2321
|
+
}, _e = (s) => {
|
|
2322
|
+
if (!u && s?.relatedTarget === null) {
|
|
2323
|
+
d((Y) => !Y);
|
|
2193
2324
|
return;
|
|
2194
2325
|
}
|
|
2195
|
-
|
|
2196
|
-
const
|
|
2197
|
-
|
|
2326
|
+
d(!1);
|
|
2327
|
+
const w = (Y) => {
|
|
2328
|
+
Y.stopPropagation(), d(!0), document.removeEventListener("click", w);
|
|
2198
2329
|
};
|
|
2199
2330
|
setTimeout(() => {
|
|
2200
|
-
document.addEventListener("click",
|
|
2331
|
+
document.addEventListener("click", w);
|
|
2201
2332
|
}, 0);
|
|
2202
|
-
},
|
|
2333
|
+
}, ve = ({ subtitleTrack: s }) => {
|
|
2203
2334
|
if (!s)
|
|
2204
|
-
return /* @__PURE__ */
|
|
2335
|
+
return /* @__PURE__ */ p(Xe, { children: "Disabled" });
|
|
2205
2336
|
if (!s.title && !s.language)
|
|
2206
|
-
return /* @__PURE__ */
|
|
2207
|
-
const
|
|
2208
|
-
return s.title ? /* @__PURE__ */
|
|
2337
|
+
return /* @__PURE__ */ p(Xe, { children: "Default" });
|
|
2338
|
+
const w = s.language === "jpn" ? "ja" : mt(s.language) ? mt(s.language) : s.language;
|
|
2339
|
+
return s.title ? /* @__PURE__ */ ge(Xe, { children: [
|
|
2209
2340
|
s.title?.replace("subs", ""),
|
|
2210
|
-
|
|
2211
|
-
] }) : /* @__PURE__ */
|
|
2212
|
-
},
|
|
2341
|
+
w ? `(${w})` : ""
|
|
2342
|
+
] }) : /* @__PURE__ */ p(Xe, { children: w });
|
|
2343
|
+
}, Se = Or(
|
|
2213
2344
|
() => [
|
|
2214
2345
|
...new Set(
|
|
2215
|
-
|
|
2346
|
+
_.map(
|
|
2216
2347
|
(s) => s.message === "non monotonicaly increasing DTS values" ? s.count > 2 ? "The video seems malformatted and might have issues(skipped frames) during playback" : null : "An unexpected error occured while trying to play the video"
|
|
2217
2348
|
)
|
|
2218
2349
|
)
|
|
2219
|
-
].filter(Boolean).map((s) => /* @__PURE__ */
|
|
2220
|
-
[
|
|
2350
|
+
].filter(Boolean).map((s) => /* @__PURE__ */ p("div", { className: "error-menu-message", children: s }, s)),
|
|
2351
|
+
[_]
|
|
2221
2352
|
);
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
}, [
|
|
2225
|
-
const s = (
|
|
2226
|
-
|
|
2353
|
+
he(() => {
|
|
2354
|
+
Je.rebuild();
|
|
2355
|
+
}, [y.length]), he(() => {
|
|
2356
|
+
const s = (w) => {
|
|
2357
|
+
w.key === "f" && N(), w.key === "k" && t(), w.key === "m" && ke();
|
|
2227
2358
|
};
|
|
2228
2359
|
return window.addEventListener("keydown", s), () => window.removeEventListener("keydown", s);
|
|
2229
|
-
}, [
|
|
2230
|
-
const [
|
|
2231
|
-
return /* @__PURE__ */
|
|
2232
|
-
/* @__PURE__ */
|
|
2233
|
-
/* @__PURE__ */
|
|
2360
|
+
}, [N, t, ke]);
|
|
2361
|
+
const [j, ie] = z(void 0);
|
|
2362
|
+
return /* @__PURE__ */ ge("div", { css: ga, onMouseOut: Ne, ...P, children: [
|
|
2363
|
+
/* @__PURE__ */ p("div", { className: "preview" }),
|
|
2364
|
+
/* @__PURE__ */ ge(
|
|
2234
2365
|
"div",
|
|
2235
2366
|
{
|
|
2236
|
-
ref:
|
|
2367
|
+
ref: I,
|
|
2237
2368
|
className: "progress-bar",
|
|
2238
2369
|
onMouseMove: (s) => {
|
|
2239
|
-
const
|
|
2240
|
-
|
|
2370
|
+
const Y = s.nativeEvent.offsetX / s.currentTarget.offsetWidth * (e ?? 0);
|
|
2371
|
+
ie(Y);
|
|
2241
2372
|
},
|
|
2242
2373
|
onMouseOut: () => {
|
|
2243
|
-
|
|
2374
|
+
I.current && ie(void 0);
|
|
2244
2375
|
},
|
|
2245
2376
|
children: [
|
|
2246
|
-
/* @__PURE__ */
|
|
2247
|
-
|
|
2377
|
+
/* @__PURE__ */ p("div", { className: "background-bar" }),
|
|
2378
|
+
j ? /* @__PURE__ */ p("div", { className: "cursor-time", "data-tip": j, style: { left: `${1 / ((e ?? 0) / (j ?? 1)) * 100}%` }, children: new Date((j ?? 0) * 1e3).toISOString().substr(
|
|
2248
2379
|
(e ?? 0) >= 3600 ? 11 : 14,
|
|
2249
2380
|
(e ?? 0) >= 3600 ? 8 : 5
|
|
2250
2381
|
) }) : void 0,
|
|
2251
|
-
/* @__PURE__ */
|
|
2252
|
-
/* @__PURE__ */
|
|
2253
|
-
/* @__PURE__ */
|
|
2254
|
-
/* @__PURE__ */
|
|
2382
|
+
/* @__PURE__ */ p("div", { className: "progress" }),
|
|
2383
|
+
/* @__PURE__ */ p("div", { className: "load", style: { transform: `scaleX(${1 / ((e ?? 0) / (m?.[1] ?? 0))})` } }),
|
|
2384
|
+
/* @__PURE__ */ p("div", { className: "hover" }),
|
|
2385
|
+
/* @__PURE__ */ p("div", { className: "play", style: {
|
|
2255
2386
|
transform: `scaleX(${typeof e != "number" || typeof r != "number" ? 0 : 1 / ((e ?? 0) / (r ?? 0))})`
|
|
2256
2387
|
} }),
|
|
2257
|
-
/* @__PURE__ */
|
|
2258
|
-
/* @__PURE__ */
|
|
2259
|
-
/* @__PURE__ */
|
|
2388
|
+
/* @__PURE__ */ p("div", { className: "chapters" }),
|
|
2389
|
+
/* @__PURE__ */ p("div", { className: "scrubber" }),
|
|
2390
|
+
/* @__PURE__ */ p("div", { className: "padding", onMouseDown: Ae })
|
|
2260
2391
|
]
|
|
2261
2392
|
}
|
|
2262
2393
|
),
|
|
2263
|
-
/* @__PURE__ */
|
|
2264
|
-
/* @__PURE__ */
|
|
2265
|
-
/* @__PURE__ */
|
|
2266
|
-
/* @__PURE__ */
|
|
2267
|
-
/* @__PURE__ */
|
|
2268
|
-
] }) : /* @__PURE__ */
|
|
2269
|
-
/* @__PURE__ */
|
|
2270
|
-
/* @__PURE__ */
|
|
2271
|
-
/* @__PURE__ */
|
|
2272
|
-
/* @__PURE__ */
|
|
2394
|
+
/* @__PURE__ */ ge("div", { className: "controls", children: [
|
|
2395
|
+
/* @__PURE__ */ p(Je, { id: "play-button-tooltip", effect: "solid", place: "top", children: h ? "Pause (k)" : "Play (k)" }),
|
|
2396
|
+
/* @__PURE__ */ p("button", { className: "play-button", type: "button", "data-tip": !0, "data-for": "play-button-tooltip", onClick: t, children: h ? /* @__PURE__ */ ge("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-pause", children: [
|
|
2397
|
+
/* @__PURE__ */ p("rect", { x: "6", y: "4", width: "4", height: "16" }),
|
|
2398
|
+
/* @__PURE__ */ p("rect", { x: "14", y: "4", width: "4", height: "16" })
|
|
2399
|
+
] }) : /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-play", children: /* @__PURE__ */ p("polygon", { points: "5 3 19 12 5 21 5 3" }) }) }),
|
|
2400
|
+
/* @__PURE__ */ ge("div", { className: "volume-area", onMouseOver: re, children: [
|
|
2401
|
+
/* @__PURE__ */ p(Je, { id: "mute-button-tooltip", effect: "solid", place: "top", children: J ? "Unmute (m)" : "Mute (m)" }),
|
|
2402
|
+
/* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-for": "mute-button-tooltip", onClick: ke, children: J ? /* @__PURE__ */ p(Hr, {}) : (H ?? 0) > 0.66 ? /* @__PURE__ */ p(zt, {}) : (H ?? 0) > 0.33 ? /* @__PURE__ */ p(Yt, {}) : (H ?? 0) > 0 ? /* @__PURE__ */ p(Wt, {}) : /* @__PURE__ */ p(Hr, {}) }),
|
|
2403
|
+
/* @__PURE__ */ p("div", { ref: f, className: `volume-panel${U ? "" : " volume-control-hover"}`, onMouseDown: ne, children: /* @__PURE__ */ p("div", { className: "slider", children: /* @__PURE__ */ p("div", { className: "slider-handle", style: { left: `${(H ?? 0) * 100}%` } }) }) })
|
|
2273
2404
|
] }),
|
|
2274
|
-
/* @__PURE__ */
|
|
2275
|
-
/* @__PURE__ */
|
|
2276
|
-
/* @__PURE__ */
|
|
2277
|
-
/* @__PURE__ */
|
|
2405
|
+
/* @__PURE__ */ ge("div", { className: "time", children: [
|
|
2406
|
+
/* @__PURE__ */ p("span", { children: new Date((r ?? 0) * 1e3).toISOString().substr(11, 8) }),
|
|
2407
|
+
/* @__PURE__ */ p("span", { children: " / " }),
|
|
2408
|
+
/* @__PURE__ */ p("span", { children: e ? new Date(e * 1e3).toISOString().substr(11, 8) : "" })
|
|
2278
2409
|
] }),
|
|
2279
|
-
/* @__PURE__ */
|
|
2280
|
-
/* @__PURE__ */
|
|
2281
|
-
/* @__PURE__ */
|
|
2282
|
-
/* @__PURE__ */
|
|
2283
|
-
/* @__PURE__ */
|
|
2410
|
+
/* @__PURE__ */ p("div", { className: "custom-controls", children: S?.length ? S.map((s, w) => /* @__PURE__ */ p(s, {}, w)) : null }),
|
|
2411
|
+
/* @__PURE__ */ p("div", { className: "error-area", children: Se.length ? /* @__PURE__ */ ge(Xe, { children: [
|
|
2412
|
+
/* @__PURE__ */ p("div", { className: `error-menu ${u ? "hide" : ""}`, children: u ? null : Se }),
|
|
2413
|
+
/* @__PURE__ */ ge("div", { className: "error-menu-button", onClick: _e, children: [
|
|
2414
|
+
/* @__PURE__ */ p(qt, {}),
|
|
2284
2415
|
"Error"
|
|
2285
2416
|
] })
|
|
2286
2417
|
] }) : null }),
|
|
2287
|
-
/* @__PURE__ */
|
|
2288
|
-
/* @__PURE__ */
|
|
2289
|
-
/* @__PURE__ */
|
|
2290
|
-
(s,
|
|
2418
|
+
/* @__PURE__ */ p(Je, { id: "subtitle-button-tooltip", globalEventOff: "click", effect: "solid", place: "top", disable: !i, children: "Subtitles" }),
|
|
2419
|
+
/* @__PURE__ */ p("div", { className: "subtitle-area", children: y.length ? /* @__PURE__ */ ge(Xe, { children: [
|
|
2420
|
+
/* @__PURE__ */ p("div", { className: `subtitle-menu ${i ? "hide" : ""}`, children: i ? null : [...y, void 0].map(
|
|
2421
|
+
(s, w) => /* @__PURE__ */ p("button", { onClick: (Y) => Ce(Y, s, w), children: /* @__PURE__ */ p(ve, { subtitleTrack: s }) }, s ? w : "disabled")
|
|
2291
2422
|
) }),
|
|
2292
|
-
/* @__PURE__ */
|
|
2423
|
+
/* @__PURE__ */ p("button", { className: "subtitle-menu-button", "data-tip": !0, "data-for": "subtitle-button-tooltip", onClick: Le, children: /* @__PURE__ */ p(ve, { subtitleTrack: b }) })
|
|
2293
2424
|
] }) : null }),
|
|
2294
|
-
/* @__PURE__ */
|
|
2295
|
-
|
|
2296
|
-
/* @__PURE__ */
|
|
2297
|
-
/* @__PURE__ */
|
|
2425
|
+
/* @__PURE__ */ p(Je, { id: "pip-button-tooltip", effect: "solid", place: "top", children: "Picture in Picture" }),
|
|
2426
|
+
Ie ? /* @__PURE__ */ p("button", { className: "picture-in-picture", "data-tip": !0, "data-for": "pip-button-tooltip", onClick: x, children: /* @__PURE__ */ ge("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
2427
|
+
/* @__PURE__ */ p("rect", { x: "2", y: "3", width: "21", height: "14", rx: "2", ry: "2" }),
|
|
2428
|
+
/* @__PURE__ */ p("rect", { x: "12.5", y: "8.5", width: "8", height: "6", rx: "2", ry: "2" })
|
|
2298
2429
|
] }) }) : null,
|
|
2299
|
-
/* @__PURE__ */
|
|
2300
|
-
/* @__PURE__ */
|
|
2430
|
+
/* @__PURE__ */ p(Je, { id: "fullscreen-button-tooltip", effect: "solid", place: "top", children: k ? "Exit full screen (f)" : "Full screen (f)" }),
|
|
2431
|
+
/* @__PURE__ */ p("button", { className: "fullscreen", "data-tip": !0, "data-for": "fullscreen-button-tooltip", onClick: N, children: k ? /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-minimize", children: /* @__PURE__ */ p("path", { d: "M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3" }) }) : /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "feather feather-maximize", children: /* @__PURE__ */ p("path", { d: "M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3" }) }) })
|
|
2301
2432
|
] })
|
|
2302
2433
|
] });
|
|
2303
|
-
},
|
|
2434
|
+
}, pa = Er`
|
|
2304
2435
|
--background-padding: 2rem;
|
|
2305
2436
|
display: grid;
|
|
2306
2437
|
grid-template-rows: 1fr;
|
|
@@ -2319,115 +2450,116 @@ overflow: hidden;
|
|
|
2319
2450
|
opacity: 0 !important;
|
|
2320
2451
|
}
|
|
2321
2452
|
}
|
|
2322
|
-
`,
|
|
2453
|
+
`, va = ({
|
|
2323
2454
|
customOverlay: e,
|
|
2324
2455
|
isPlaying: r,
|
|
2325
|
-
loading:
|
|
2456
|
+
loading: t,
|
|
2326
2457
|
duration: a,
|
|
2327
2458
|
loadedTime: o,
|
|
2328
2459
|
currentTime: i,
|
|
2329
|
-
pictureInPicture:
|
|
2330
|
-
fullscreen:
|
|
2331
|
-
play:
|
|
2332
|
-
seek:
|
|
2333
|
-
getVolume:
|
|
2334
|
-
setVolume:
|
|
2335
|
-
attachments:
|
|
2336
|
-
tracks:
|
|
2337
|
-
video:
|
|
2338
|
-
errors:
|
|
2339
|
-
customControls:
|
|
2340
|
-
libassWorkerUrl:
|
|
2341
|
-
wasmUrl:
|
|
2460
|
+
pictureInPicture: l,
|
|
2461
|
+
fullscreen: u,
|
|
2462
|
+
play: d,
|
|
2463
|
+
seek: v,
|
|
2464
|
+
getVolume: m,
|
|
2465
|
+
setVolume: h,
|
|
2466
|
+
attachments: y,
|
|
2467
|
+
tracks: k,
|
|
2468
|
+
video: N,
|
|
2469
|
+
errors: b,
|
|
2470
|
+
customControls: x,
|
|
2471
|
+
libassWorkerUrl: _,
|
|
2472
|
+
wasmUrl: S,
|
|
2342
2473
|
needsInitialInteraction: P,
|
|
2343
|
-
|
|
2474
|
+
...I
|
|
2344
2475
|
}) => {
|
|
2345
|
-
const [
|
|
2346
|
-
() =>
|
|
2347
|
-
[
|
|
2348
|
-
), [
|
|
2349
|
-
|
|
2350
|
-
const
|
|
2351
|
-
|
|
2476
|
+
const [f, U] = z(), [R, Ae] = z(!1), [we, Ie] = z(!1), [$e, ue] = z(!1), K = Ze(), [H, fe] = z(!0), [J, Ee] = z(), [ne, ae] = z(), re = Or(
|
|
2477
|
+
() => ne !== void 0 ? k[ne] : void 0,
|
|
2478
|
+
[ne, ne !== void 0 && k[ne]?.data]
|
|
2479
|
+
), [Ne, ke] = z(!0), Ce = (j) => {
|
|
2480
|
+
ue(!1), K.current && clearInterval(K.current);
|
|
2481
|
+
const ie = setTimeout(() => {
|
|
2482
|
+
ue(!0);
|
|
2352
2483
|
}, 3e3);
|
|
2353
|
-
|
|
2484
|
+
K.current = ie;
|
|
2354
2485
|
};
|
|
2355
|
-
|
|
2486
|
+
he(() => {
|
|
2356
2487
|
setTimeout(() => {
|
|
2357
|
-
|
|
2488
|
+
ue(!0);
|
|
2358
2489
|
}, 3e3);
|
|
2359
2490
|
}, []);
|
|
2360
|
-
const
|
|
2361
|
-
if (!
|
|
2362
|
-
|
|
2491
|
+
const Le = (j) => {
|
|
2492
|
+
if (!f?.parentElement?.parentElement?.contains(j?.relatedTarget)) {
|
|
2493
|
+
ue(!0);
|
|
2363
2494
|
return;
|
|
2364
2495
|
}
|
|
2365
|
-
|
|
2366
|
-
},
|
|
2367
|
-
|
|
2368
|
-
},
|
|
2369
|
-
!
|
|
2496
|
+
j.currentTarget.parentElement !== j.relatedTarget && j.relatedTarget !== null || ue(!0);
|
|
2497
|
+
}, _e = () => {
|
|
2498
|
+
H && d();
|
|
2499
|
+
}, ve = () => {
|
|
2500
|
+
!f || !J || (Ie((j) => !j), u());
|
|
2370
2501
|
};
|
|
2371
|
-
|
|
2372
|
-
if (!
|
|
2502
|
+
he(() => {
|
|
2503
|
+
if (!N.current || !f || J || !re?.data || !y)
|
|
2373
2504
|
return;
|
|
2374
|
-
const
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
]),
|
|
2378
|
-
video:
|
|
2379
|
-
canvas:
|
|
2380
|
-
subContent:
|
|
2381
|
-
fonts:
|
|
2382
|
-
availableFonts: { ...Object.fromEntries(
|
|
2383
|
-
workerUrl:
|
|
2384
|
-
|
|
2505
|
+
const j = y.map(({ filename: be, data: je }) => [
|
|
2506
|
+
be.toLowerCase().replaceAll("-", " ").split(".").at(0),
|
|
2507
|
+
je
|
|
2508
|
+
]), ie = new Ut({
|
|
2509
|
+
video: N.current,
|
|
2510
|
+
canvas: f,
|
|
2511
|
+
subContent: re.data,
|
|
2512
|
+
fonts: j.filter(Boolean).map(([, be]) => be),
|
|
2513
|
+
availableFonts: { ...Object.fromEntries(j), "liberation sans": new URL("/build/default.woff2", new URL(window.location.toString()).origin).toString() },
|
|
2514
|
+
workerUrl: _,
|
|
2515
|
+
// Link to WebAssembly-based file "libassjs-worker.js",
|
|
2516
|
+
modernWasmUrl: S
|
|
2385
2517
|
});
|
|
2386
|
-
|
|
2387
|
-
}, [
|
|
2388
|
-
|
|
2389
|
-
}, [
|
|
2390
|
-
if (!
|
|
2518
|
+
Ee(ie);
|
|
2519
|
+
}, [f, y, re?.data]), he(() => {
|
|
2520
|
+
k.length && ae(0);
|
|
2521
|
+
}, [k.length]), he(() => {
|
|
2522
|
+
if (!J)
|
|
2391
2523
|
return;
|
|
2392
|
-
if (!
|
|
2393
|
-
|
|
2524
|
+
if (!re) {
|
|
2525
|
+
J.freeTrack();
|
|
2394
2526
|
return;
|
|
2395
2527
|
}
|
|
2396
|
-
|
|
2397
|
-
}, [
|
|
2398
|
-
const
|
|
2399
|
-
|
|
2528
|
+
J.setTrack(re.data), !(!f?.parentElement || R) && Ae(!0);
|
|
2529
|
+
}, [J, re, R]);
|
|
2530
|
+
const Se = (j) => {
|
|
2531
|
+
j && U(j);
|
|
2400
2532
|
};
|
|
2401
|
-
return /* @__PURE__ */
|
|
2402
|
-
/* @__PURE__ */
|
|
2533
|
+
return /* @__PURE__ */ ge("div", { ...I, css: pa, onMouseMove: Ce, onMouseOut: Le, className: `chrome ${I.className ?? ""} ${$e ? "hide" : ""}`, children: [
|
|
2534
|
+
/* @__PURE__ */ p(fa, { needsInitialInteraction: P, loading: t, togglePlay: _e, setCanvasRef: Se }),
|
|
2403
2535
|
e,
|
|
2404
|
-
/* @__PURE__ */
|
|
2405
|
-
|
|
2536
|
+
/* @__PURE__ */ p(
|
|
2537
|
+
ha,
|
|
2406
2538
|
{
|
|
2407
2539
|
className: `bottom ${P ? "hide" : ""}`,
|
|
2408
|
-
toggleFullscreen:
|
|
2409
|
-
togglePlay:
|
|
2410
|
-
isFullscreen:
|
|
2411
|
-
pictureInPicture:
|
|
2412
|
-
seek:
|
|
2413
|
-
setCurrentSubtitleTrack:
|
|
2414
|
-
isSubtitleMenuHidden:
|
|
2415
|
-
setIsSubtitleMenuHidden:
|
|
2416
|
-
isErrorMenuHidden:
|
|
2417
|
-
setIsErrorMenuHidden:
|
|
2418
|
-
setVolume:
|
|
2419
|
-
subtitleTrack:
|
|
2420
|
-
tracks:
|
|
2540
|
+
toggleFullscreen: ve,
|
|
2541
|
+
togglePlay: _e,
|
|
2542
|
+
isFullscreen: we,
|
|
2543
|
+
pictureInPicture: l,
|
|
2544
|
+
seek: v,
|
|
2545
|
+
setCurrentSubtitleTrack: ae,
|
|
2546
|
+
isSubtitleMenuHidden: H,
|
|
2547
|
+
setIsSubtitleMenuHidden: fe,
|
|
2548
|
+
isErrorMenuHidden: Ne,
|
|
2549
|
+
setIsErrorMenuHidden: ke,
|
|
2550
|
+
setVolume: h,
|
|
2551
|
+
subtitleTrack: re,
|
|
2552
|
+
tracks: k,
|
|
2421
2553
|
currentTime: i,
|
|
2422
2554
|
duration: a,
|
|
2423
2555
|
isPlaying: r,
|
|
2424
2556
|
loadedTime: o,
|
|
2425
|
-
errors:
|
|
2426
|
-
customControls:
|
|
2557
|
+
errors: b,
|
|
2558
|
+
customControls: x
|
|
2427
2559
|
}
|
|
2428
2560
|
)
|
|
2429
2561
|
] });
|
|
2430
|
-
},
|
|
2562
|
+
}, ba = 25e5, ya = Er`
|
|
2431
2563
|
display: grid;
|
|
2432
2564
|
justify-content: center;
|
|
2433
2565
|
background-color: #111;
|
|
@@ -2447,279 +2579,225 @@ overflow: hidden;
|
|
|
2447
2579
|
grid-column: 1;
|
|
2448
2580
|
grid-row: 1;
|
|
2449
2581
|
}
|
|
2450
|
-
`,
|
|
2582
|
+
`, Ra = ht(({
|
|
2451
2583
|
customOverlay: e,
|
|
2452
|
-
baseBufferSize: r =
|
|
2453
|
-
size:
|
|
2584
|
+
baseBufferSize: r = ba,
|
|
2585
|
+
size: t,
|
|
2454
2586
|
fetch: a,
|
|
2455
2587
|
customControls: o,
|
|
2456
2588
|
publicPath: i,
|
|
2457
|
-
wasmUrl:
|
|
2458
|
-
libavWorkerUrl:
|
|
2459
|
-
libavWorkerOptions:
|
|
2460
|
-
libassWorkerUrl:
|
|
2461
|
-
makeTransmuxer:
|
|
2462
|
-
},
|
|
2463
|
-
const [
|
|
2464
|
-
|
|
2589
|
+
wasmUrl: l,
|
|
2590
|
+
libavWorkerUrl: u,
|
|
2591
|
+
libavWorkerOptions: d,
|
|
2592
|
+
libassWorkerUrl: v,
|
|
2593
|
+
makeTransmuxer: m = Bt
|
|
2594
|
+
}, h) => {
|
|
2595
|
+
const [y, k] = z(!0), N = Ze(null), b = Ze(), [x, _] = z(), [S, P] = z(!(b?.current?.paused ?? !0)), [I, f] = z(0), [U, R] = z(void 0), [Ae, we] = z([]), [Ie, $e] = z([]), [ue, K] = z(), [H, fe] = z([0, 0]), [J, Ee] = z(!1), ne = Ze(a);
|
|
2596
|
+
he(() => {
|
|
2465
2597
|
ne.current = a;
|
|
2466
|
-
}, [a]),
|
|
2467
|
-
if (!
|
|
2598
|
+
}, [a]), he(() => {
|
|
2599
|
+
if (!t || !x)
|
|
2468
2600
|
return;
|
|
2469
|
-
let
|
|
2601
|
+
let w, Y;
|
|
2470
2602
|
return (async () => {
|
|
2471
|
-
|
|
2472
|
-
Oe.onError = (p) => console.error("mp4box error", p);
|
|
2473
|
-
let sr;
|
|
2474
|
-
const kr = new Promise((p) => {
|
|
2475
|
-
sr = p;
|
|
2476
|
-
});
|
|
2477
|
-
let je = 'video/mp4; codecs="', Ge;
|
|
2478
|
-
Oe.onReady = (p) => {
|
|
2479
|
-
Ge = p;
|
|
2480
|
-
for (let _ = 0; _ < Ge.tracks.length; _++)
|
|
2481
|
-
_ !== 0 && (je += ","), je += Ge.tracks[_].codec;
|
|
2482
|
-
je += '"', sr(Ge);
|
|
2483
|
-
};
|
|
2484
|
-
let ze, ce = [];
|
|
2485
|
-
C = d({
|
|
2603
|
+
w = m({
|
|
2486
2604
|
publicPath: i,
|
|
2487
|
-
workerUrl:
|
|
2488
|
-
workerOptions:
|
|
2605
|
+
workerUrl: u,
|
|
2606
|
+
workerOptions: d,
|
|
2489
2607
|
bufferSize: r,
|
|
2490
|
-
length:
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2608
|
+
length: t,
|
|
2609
|
+
getStream: (C, O) => ne.current(C, O ? Math.min(C + O, t) - 1 : void 0).then(
|
|
2610
|
+
(W) => O ? W.body : la(3)(
|
|
2611
|
+
ca(r)(
|
|
2612
|
+
W.body
|
|
2613
|
+
)
|
|
2614
|
+
)
|
|
2615
|
+
),
|
|
2616
|
+
subtitle: (C, O, W) => {
|
|
2617
|
+
we(
|
|
2618
|
+
(Q) => Q.find(({ title: ee }) => ee === C) ? Q.map((ee) => ee.title === C ? { title: C, language: O, data: W } : ee) : [...Q, { title: C, language: O, data: W }]
|
|
2496
2619
|
);
|
|
2497
2620
|
},
|
|
2498
|
-
attachment: (
|
|
2499
|
-
|
|
2500
|
-
...
|
|
2501
|
-
{ filename:
|
|
2621
|
+
attachment: (C, O, W) => {
|
|
2622
|
+
U?.find(({ filename: Q }) => C === Q) || R((Q) => [
|
|
2623
|
+
...Q ?? [],
|
|
2624
|
+
{ filename: C, mimetype: O, data: new Uint8Array(W) }
|
|
2502
2625
|
]);
|
|
2503
|
-
},
|
|
2504
|
-
write: ({ isHeader: p, offset: _, buffer: R, pts: U, duration: Q, pos: A }) => {
|
|
2505
|
-
if (p) {
|
|
2506
|
-
ze || (ze = {
|
|
2507
|
-
offset: _,
|
|
2508
|
-
buffer: new Uint8Array(R),
|
|
2509
|
-
pts: U,
|
|
2510
|
-
duration: Q,
|
|
2511
|
-
pos: A
|
|
2512
|
-
});
|
|
2513
|
-
return;
|
|
2514
|
-
}
|
|
2515
|
-
ce = [
|
|
2516
|
-
...ce,
|
|
2517
|
-
{
|
|
2518
|
-
offset: _,
|
|
2519
|
-
buffer: new Uint8Array(R),
|
|
2520
|
-
pts: U,
|
|
2521
|
-
duration: Q,
|
|
2522
|
-
pos: A
|
|
2523
|
-
}
|
|
2524
|
-
];
|
|
2525
2626
|
}
|
|
2526
2627
|
});
|
|
2527
|
-
const
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
),
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
ze.buffer.buffer.fileStart = 0, Oe.appendBuffer(ze.buffer.buffer);
|
|
2534
|
-
const He = (await We.getInfo()).input.duration / 1e6;
|
|
2535
|
-
Z(He), await kr;
|
|
2536
|
-
const oe = D;
|
|
2537
|
-
oe.addEventListener("error", (p) => {
|
|
2538
|
-
console.error(p.target?.error);
|
|
2628
|
+
const de = await w, Be = await de.init();
|
|
2629
|
+
if (!Be)
|
|
2630
|
+
throw new Error("No header chunk found after remuxer init");
|
|
2631
|
+
const Ye = await de.getInfo(), tr = Ye.input.duration / 1e6;
|
|
2632
|
+
K(tr), x.addEventListener("error", (C) => {
|
|
2633
|
+
console.error(C.target?.error);
|
|
2539
2634
|
});
|
|
2540
|
-
const
|
|
2541
|
-
|
|
2542
|
-
const
|
|
2543
|
-
(
|
|
2635
|
+
const Me = new MediaSource();
|
|
2636
|
+
x.src = URL.createObjectURL(Me);
|
|
2637
|
+
const me = await new Promise(
|
|
2638
|
+
(C) => Me.addEventListener(
|
|
2544
2639
|
"sourceopen",
|
|
2545
|
-
() =>
|
|
2640
|
+
() => {
|
|
2641
|
+
const O = Me.addSourceBuffer(`video/mp4; codecs="${Ye.input.video_mime_type},${Ye.input.audio_mime_type}"`);
|
|
2642
|
+
Me.duration = tr, O.mode = "segments", C(O);
|
|
2643
|
+
},
|
|
2546
2644
|
{ once: !0 }
|
|
2547
2645
|
)
|
|
2548
|
-
)
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
}, U = (K) => {
|
|
2558
|
-
p(K), A();
|
|
2559
|
-
}, Q = (K) => {
|
|
2560
|
-
console.error(K), _(K), A();
|
|
2561
|
-
}, A = () => {
|
|
2562
|
-
fe.removeEventListener("updateend", R), fe.removeEventListener("abort", U), fe.removeEventListener("error", Q);
|
|
2646
|
+
), dr = new Gt({ concurrency: 1 }), We = (C, O) => {
|
|
2647
|
+
const W = (V) => {
|
|
2648
|
+
C(V), q();
|
|
2649
|
+
}, Q = (V) => {
|
|
2650
|
+
C(V), q();
|
|
2651
|
+
}, ee = (V) => {
|
|
2652
|
+
console.error(V), O(V), q();
|
|
2653
|
+
}, q = () => {
|
|
2654
|
+
me.removeEventListener("updateend", W), me.removeEventListener("abort", Q), me.removeEventListener("error", ee);
|
|
2563
2655
|
};
|
|
2564
|
-
|
|
2565
|
-
},
|
|
2566
|
-
() => new Promise((
|
|
2567
|
-
|
|
2656
|
+
me.addEventListener("updateend", W, { once: !0 }), me.addEventListener("abort", Q, { once: !0 }), me.addEventListener("error", ee, { once: !0 });
|
|
2657
|
+
}, qe = (C) => dr.add(
|
|
2658
|
+
() => new Promise((O, W) => {
|
|
2659
|
+
We(O, W), me.appendBuffer(C);
|
|
2568
2660
|
})
|
|
2569
|
-
),
|
|
2570
|
-
() => new Promise((
|
|
2571
|
-
|
|
2661
|
+
), mr = async (C, O) => dr.add(
|
|
2662
|
+
() => new Promise((W, Q) => {
|
|
2663
|
+
We(W, Q), me.remove(C, O);
|
|
2572
2664
|
})
|
|
2573
|
-
),
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2665
|
+
), nr = () => Array(me.buffered.length).fill(void 0).map((C, O) => ({
|
|
2666
|
+
index: O,
|
|
2667
|
+
start: me.buffered.start(O),
|
|
2668
|
+
end: me.buffered.end(O)
|
|
2669
|
+
}));
|
|
2670
|
+
x.addEventListener("canplaythrough", () => {
|
|
2671
|
+
x.playbackRate = 1, x.play();
|
|
2672
|
+
}, { once: !0 });
|
|
2673
|
+
let se = [];
|
|
2674
|
+
const Ue = 1, _r = 5;
|
|
2675
|
+
await qe(Be.buffer);
|
|
2676
|
+
const Ge = async () => {
|
|
2677
|
+
const C = await de.read();
|
|
2678
|
+
return se = [...se, C], C;
|
|
2577
2679
|
};
|
|
2578
|
-
let
|
|
2579
|
-
const
|
|
2580
|
-
|
|
2581
|
-
D?.pause(), Xe = !0, l(p);
|
|
2582
|
-
const R = Ue();
|
|
2583
|
-
if (R.some(({ start: A, end: K }) => p >= A && p <= K)) {
|
|
2584
|
-
oe.currentTime = p, Xe = !1, _ && oe.play();
|
|
2680
|
+
let Ke = !1;
|
|
2681
|
+
const Ve = sa(250, async () => {
|
|
2682
|
+
if (Ke)
|
|
2585
2683
|
return;
|
|
2684
|
+
const { currentTime: C } = x, O = se.findIndex(({ pts: ce, duration: Te }) => ce <= C && ce + Te >= C), W = Math.max(0, O - Ue);
|
|
2685
|
+
for (let ce = 0; ce < W + _r; ce++) {
|
|
2686
|
+
if (se[ce])
|
|
2687
|
+
continue;
|
|
2688
|
+
const Te = await Ge();
|
|
2689
|
+
await qe(Te.buffer);
|
|
2586
2690
|
}
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
})
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
await Ze(A.start, A.end);
|
|
2598
|
-
for (const A of ce)
|
|
2599
|
-
A.pts <= Q || await xr(A);
|
|
2600
|
-
oe.currentTime = p, Xe = !1, _ && oe.play();
|
|
2601
|
-
});
|
|
2602
|
-
H.current = ur;
|
|
2603
|
-
const fr = async (p) => {
|
|
2604
|
-
const _ = Ue(), R = ce.filter(
|
|
2605
|
-
({ pts: Y, duration: te }) => p - Pr < Y && p + wa > Y + te
|
|
2606
|
-
), U = R.filter(
|
|
2607
|
-
({ pts: Y, duration: te }) => p - Pr < Y && p + nr > Y + te
|
|
2608
|
-
), Q = ce.filter(({ pts: Y, duration: te }) => _.some(({ start: gr, end: t }) => gr < Y + te / 2 && Y + te / 2 < t)).filter((Y) => !U.includes(Y)), A = ce.filter((Y) => !R.includes(Y));
|
|
2609
|
-
for (const Y of Q)
|
|
2610
|
-
await Cr(Y);
|
|
2611
|
-
for (const Y of A)
|
|
2612
|
-
await Br(Y);
|
|
2613
|
-
const K = R.sort(({ pts: Y }, { pts: te }) => Y - te).at(0), mr = R.sort(({ pts: Y, duration: te }, { pts: gr, duration: t }) => Y + te - (gr + t)).at(-1);
|
|
2614
|
-
for (const Y of U)
|
|
2615
|
-
try {
|
|
2616
|
-
await xr(Y);
|
|
2617
|
-
} catch (te) {
|
|
2618
|
-
if (console.error(te), !(te instanceof Event))
|
|
2619
|
-
throw te;
|
|
2620
|
-
break;
|
|
2621
|
-
}
|
|
2622
|
-
const Qe = K ? Math.max(K?.pts - Pr, 0) : void 0, Ke = mr ? Math.min(mr.pts + mr.duration + nr, He) : void 0, zr = Ue();
|
|
2623
|
-
for (const { start: Y, end: te } of zr)
|
|
2624
|
-
!Qe || !Ke || (Qe !== void 0 && Y < Qe && await Ze(Y, Qe), Ke !== void 0 && te > Ke && await Ze(Ke, te));
|
|
2625
|
-
}, Ye = new Promise((p) => {
|
|
2626
|
-
oe.addEventListener("loadedmetadata", () => p(void 0), { once: !0 });
|
|
2627
|
-
});
|
|
2628
|
-
oe.addEventListener(
|
|
2629
|
-
"canplay",
|
|
2630
|
-
() => oe.play().catch((p) => {
|
|
2631
|
-
!(p instanceof DOMException) || p.name !== "NotAllowedError" || (se(!0), S(!1));
|
|
2632
|
-
}),
|
|
2633
|
-
{ once: !0 }
|
|
2634
|
-
), await _r(ze.buffer), await Ye, await cr(20), await fr(0);
|
|
2635
|
-
const dr = St(500, async (p) => {
|
|
2636
|
-
const _ = ce.sort(({ pts: R }, { pts: U }) => R - U).at(-1);
|
|
2637
|
-
_ && _.pts < p + nr && await cr(), await fr(p);
|
|
2691
|
+
W && (se = se.slice(W));
|
|
2692
|
+
const Q = nr(), ee = se.at(0), q = se.at(-1);
|
|
2693
|
+
if (!ee || !q || ee === q)
|
|
2694
|
+
return;
|
|
2695
|
+
const V = ee.pts;
|
|
2696
|
+
for (const { start: ce, end: Te } of Q)
|
|
2697
|
+
se.findIndex(({ pts: gr, duration: ar }) => ce <= gr + ar / 2 && gr + ar / 2 <= Te) === -1 ? await mr(ce, Te) : ce < V && await mr(
|
|
2698
|
+
ce,
|
|
2699
|
+
V
|
|
2700
|
+
);
|
|
2638
2701
|
});
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2702
|
+
let ze;
|
|
2703
|
+
const Rr = ia(250, async (C) => {
|
|
2704
|
+
try {
|
|
2705
|
+
ze === void 0 && (ze = x.paused), Ke = !0, se = [], await de.seek(C);
|
|
2706
|
+
const O = await Ge();
|
|
2707
|
+
me.timestampOffset = O.pts, await qe(O.buffer), ze === !1 && await x.play(), Ke = !1, await Ve(), ze === !1 && await x.play(), ze = void 0;
|
|
2708
|
+
} catch (O) {
|
|
2709
|
+
if (O.message !== "exit")
|
|
2710
|
+
throw O;
|
|
2711
|
+
}
|
|
2712
|
+
}), Cr = await Ge();
|
|
2713
|
+
qe(Cr.buffer), x.addEventListener("timeupdate", () => {
|
|
2714
|
+
Ve();
|
|
2715
|
+
}), x.addEventListener("waiting", () => {
|
|
2716
|
+
Ve();
|
|
2717
|
+
}), x.addEventListener("seeking", (C) => {
|
|
2718
|
+
Rr(x.currentTime);
|
|
2719
|
+
}), Ve(), Y = window.setInterval(() => {
|
|
2720
|
+
const C = nr(), O = C.sort(({ start: q }, { start: V }) => q - V).at(0), W = C.sort(({ end: q }, { end: V }) => q - V).at(-1);
|
|
2721
|
+
if (!O || !W)
|
|
2644
2722
|
return;
|
|
2645
|
-
let
|
|
2646
|
-
|
|
2723
|
+
let Q = se.filter(({ pts: q, duration: V }) => q + V / 2 > O.start).sort(({ pts: q }, { pts: V }) => q - V).at(0)?.pts, ee = se.filter(({ pts: q, duration: V }) => q + V / 2 < W.end).sort(({ pts: q }, { pts: V }) => q - V).at(-1)?.pts;
|
|
2724
|
+
Q === void 0 || ee === void 0 || fe([Q, ee]);
|
|
2647
2725
|
}, 200);
|
|
2648
2726
|
})(), () => {
|
|
2649
|
-
|
|
2727
|
+
w.then((de) => de.destroy(!0)), window.clearInterval(Y);
|
|
2650
2728
|
};
|
|
2651
|
-
}, [
|
|
2652
|
-
const ae = (
|
|
2653
|
-
|
|
2654
|
-
}, [
|
|
2655
|
-
|
|
2656
|
-
},
|
|
2657
|
-
|
|
2658
|
-
},
|
|
2659
|
-
|
|
2660
|
-
},
|
|
2661
|
-
|
|
2662
|
-
},
|
|
2663
|
-
P(
|
|
2664
|
-
},
|
|
2729
|
+
}, [t, x]);
|
|
2730
|
+
const ae = (w) => {
|
|
2731
|
+
k(!0);
|
|
2732
|
+
}, [re, Ne] = z(!1), ke = (w) => {
|
|
2733
|
+
Ne(!1);
|
|
2734
|
+
}, Ce = (w) => {
|
|
2735
|
+
b.current && (Ne(!0), f(b.current?.currentTime ?? 0));
|
|
2736
|
+
}, Le = (w) => {
|
|
2737
|
+
x && (x.currentTime = w, Ne(!0));
|
|
2738
|
+
}, _e = (w) => {
|
|
2739
|
+
re || (f(b.current?.currentTime ?? 0), k(!1));
|
|
2740
|
+
}, ve = (w) => (Y) => {
|
|
2741
|
+
P(w);
|
|
2742
|
+
}, Se = () => {
|
|
2665
2743
|
if (document.pictureInPictureElement)
|
|
2666
2744
|
return document.exitPictureInPicture();
|
|
2667
|
-
|
|
2668
|
-
},
|
|
2745
|
+
b.current?.requestPictureInPicture();
|
|
2746
|
+
}, j = () => {
|
|
2669
2747
|
if (document.fullscreenElement)
|
|
2670
2748
|
return document.exitFullscreen();
|
|
2671
|
-
|
|
2672
|
-
},
|
|
2673
|
-
|
|
2674
|
-
},
|
|
2675
|
-
|
|
2676
|
-
},
|
|
2677
|
-
if (
|
|
2678
|
-
return
|
|
2749
|
+
N.current?.requestFullscreen();
|
|
2750
|
+
}, ie = async () => {
|
|
2751
|
+
Ee(!1), b.current?.paused ? await b.current?.play() : await b.current?.pause();
|
|
2752
|
+
}, be = (w) => {
|
|
2753
|
+
b.current && (b.current.volume = w);
|
|
2754
|
+
}, je = () => {
|
|
2755
|
+
if (b.current)
|
|
2756
|
+
return b.current.volume;
|
|
2679
2757
|
};
|
|
2680
|
-
return /* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2758
|
+
return /* @__PURE__ */ ge("div", { css: ya, ref: N, children: [
|
|
2759
|
+
/* @__PURE__ */ p(
|
|
2682
2760
|
"video",
|
|
2683
2761
|
{
|
|
2684
|
-
ref: (
|
|
2685
|
-
typeof
|
|
2762
|
+
ref: (w) => {
|
|
2763
|
+
typeof h == "function" && h(w), h && "current" in h && (h.current = w), b.current = w ?? void 0, _(b.current);
|
|
2686
2764
|
},
|
|
2687
2765
|
onWaiting: ae,
|
|
2688
|
-
onSeeking:
|
|
2689
|
-
onSeeked:
|
|
2690
|
-
onTimeUpdate:
|
|
2691
|
-
onPlay:
|
|
2692
|
-
onPause:
|
|
2766
|
+
onSeeking: Ce,
|
|
2767
|
+
onSeeked: ke,
|
|
2768
|
+
onTimeUpdate: _e,
|
|
2769
|
+
onPlay: ve(!0),
|
|
2770
|
+
onPause: ve(!1)
|
|
2693
2771
|
}
|
|
2694
2772
|
),
|
|
2695
|
-
/* @__PURE__ */
|
|
2696
|
-
|
|
2773
|
+
/* @__PURE__ */ p(
|
|
2774
|
+
va,
|
|
2697
2775
|
{
|
|
2698
2776
|
className: "chrome",
|
|
2699
2777
|
customOverlay: e,
|
|
2700
|
-
isPlaying:
|
|
2701
|
-
video:
|
|
2702
|
-
needsInitialInteraction:
|
|
2703
|
-
loading:
|
|
2704
|
-
duration:
|
|
2705
|
-
currentTime:
|
|
2706
|
-
loadedTime:
|
|
2707
|
-
pictureInPicture:
|
|
2708
|
-
fullscreen:
|
|
2709
|
-
play:
|
|
2710
|
-
seek:
|
|
2711
|
-
getVolume:
|
|
2712
|
-
setVolume:
|
|
2713
|
-
attachments:
|
|
2714
|
-
tracks:
|
|
2715
|
-
errors:
|
|
2778
|
+
isPlaying: S,
|
|
2779
|
+
video: b,
|
|
2780
|
+
needsInitialInteraction: J,
|
|
2781
|
+
loading: y,
|
|
2782
|
+
duration: ue,
|
|
2783
|
+
currentTime: I,
|
|
2784
|
+
loadedTime: H,
|
|
2785
|
+
pictureInPicture: Se,
|
|
2786
|
+
fullscreen: j,
|
|
2787
|
+
play: ie,
|
|
2788
|
+
seek: Le,
|
|
2789
|
+
getVolume: je,
|
|
2790
|
+
setVolume: be,
|
|
2791
|
+
attachments: U,
|
|
2792
|
+
tracks: Ae,
|
|
2793
|
+
errors: Ie,
|
|
2716
2794
|
customControls: o,
|
|
2717
|
-
libassWorkerUrl:
|
|
2718
|
-
wasmUrl:
|
|
2795
|
+
libassWorkerUrl: v,
|
|
2796
|
+
wasmUrl: l
|
|
2719
2797
|
}
|
|
2720
2798
|
)
|
|
2721
2799
|
] });
|
|
2722
2800
|
});
|
|
2723
2801
|
export {
|
|
2724
|
-
|
|
2802
|
+
Ra as default
|
|
2725
2803
|
};
|