@banou/media-player 0.2.3 → 0.2.5
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/index.js +464 -463
- package/package.json +2 -2
- package/src/index.tsx +8 -3
- package/src/utils.ts +5 -3
package/build/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import ht, { forwardRef as pt, useContext as Vt, useState as
|
|
3
|
-
import { css as
|
|
1
|
+
import * as Me from "react";
|
|
2
|
+
import ht, { forwardRef as pt, useContext as Vt, useState as U, useEffect as he, useRef as er, useMemo as Ir } from "react";
|
|
3
|
+
import { css as kr } from "@emotion/react";
|
|
4
4
|
import { makeRemuxer as Bt } from "libav-wasm";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { VolumeX as Jr, Volume2 as
|
|
5
|
+
import zt from "jassub";
|
|
6
|
+
import Ze from "react-tooltip";
|
|
7
|
+
import { VolumeX as Jr, Volume2 as Yt, Volume1 as Ut, Volume as Wt, AlertTriangle as qt } from "react-feather";
|
|
8
8
|
import Gt from "p-queue";
|
|
9
|
-
var
|
|
9
|
+
var $r = { exports: {} }, sr = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.production.min.js
|
|
@@ -19,7 +19,7 @@ var Ar = { exports: {} }, ir = {};
|
|
|
19
19
|
var Xr;
|
|
20
20
|
function Kt() {
|
|
21
21
|
if (Xr)
|
|
22
|
-
return
|
|
22
|
+
return sr;
|
|
23
23
|
Xr = 1;
|
|
24
24
|
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
25
|
function l(u, d, v) {
|
|
@@ -32,9 +32,9 @@ function Kt() {
|
|
|
32
32
|
h[m] === void 0 && (h[m] = d[m]);
|
|
33
33
|
return { $$typeof: r, type: u, key: y, ref: k, props: h, _owner: i.current };
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return sr.Fragment = t, sr.jsx = l, sr.jsxs = l, sr;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
37
|
+
var cr = {};
|
|
38
38
|
/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.development.js
|
|
@@ -57,14 +57,14 @@ function Ht() {
|
|
|
57
57
|
var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
58
|
function S(n) {
|
|
59
59
|
{
|
|
60
|
-
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0),
|
|
61
|
-
g[
|
|
60
|
+
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0), w = 1; w < c; w++)
|
|
61
|
+
g[w - 1] = arguments[w];
|
|
62
62
|
P("error", n, g);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
function P(n, c, g) {
|
|
66
66
|
{
|
|
67
|
-
var
|
|
67
|
+
var w = _.ReactDebugCurrentFrame, $ = w.getStackAddendum();
|
|
68
68
|
$ !== "" && (c += "%s", g = g.concat([$]));
|
|
69
69
|
var V = g.map(function(A) {
|
|
70
70
|
return String(A);
|
|
@@ -72,19 +72,19 @@ function Ht() {
|
|
|
72
72
|
V.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, V);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
var I = !1, f = !1,
|
|
76
|
-
|
|
75
|
+
var I = !1, f = !1, z = !1, C = !1, Oe = !1, Ee;
|
|
76
|
+
Ee = Symbol.for("react.module.reference");
|
|
77
77
|
function Ae(n) {
|
|
78
|
-
return !!(typeof n == "string" || typeof n == "function" || n === a || n === o || Oe || n === i || n === v || n === m ||
|
|
78
|
+
return !!(typeof n == "string" || typeof n == "function" || n === a || n === o || Oe || n === i || n === v || n === m || C || n === k || I || f || z || 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
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
82
|
-
n.$$typeof ===
|
|
82
|
+
n.$$typeof === Ee || n.getModuleId !== void 0));
|
|
83
83
|
}
|
|
84
84
|
function Ie(n, c, g) {
|
|
85
|
-
var
|
|
86
|
-
if (
|
|
87
|
-
return
|
|
85
|
+
var w = n.displayName;
|
|
86
|
+
if (w)
|
|
87
|
+
return w;
|
|
88
88
|
var $ = c.displayName || c.name || "";
|
|
89
89
|
return $ !== "" ? g + "(" + $ + ")" : g;
|
|
90
90
|
}
|
|
@@ -123,8 +123,8 @@ function Ht() {
|
|
|
123
123
|
case d:
|
|
124
124
|
return Ie(n, n.render, "ForwardRef");
|
|
125
125
|
case h:
|
|
126
|
-
var
|
|
127
|
-
return
|
|
126
|
+
var w = n.displayName || null;
|
|
127
|
+
return w !== null ? w : H(n.type) || "Memo";
|
|
128
128
|
case y: {
|
|
129
129
|
var $ = n, V = $._payload, A = $._init;
|
|
130
130
|
try {
|
|
@@ -136,14 +136,14 @@ function Ht() {
|
|
|
136
136
|
}
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
|
-
var J = Object.assign, fe = 0, X,
|
|
139
|
+
var J = Object.assign, fe = 0, X, we, te, ne, ee, Ne, ke;
|
|
140
140
|
function Ce() {
|
|
141
141
|
}
|
|
142
142
|
Ce.__reactDisabledLog = !0;
|
|
143
143
|
function $e() {
|
|
144
144
|
{
|
|
145
145
|
if (fe === 0) {
|
|
146
|
-
X = console.log,
|
|
146
|
+
X = console.log, we = console.info, te = console.warn, ne = console.error, ee = console.group, Ne = console.groupCollapsed, ke = console.groupEnd;
|
|
147
147
|
var n = {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
@@ -176,13 +176,13 @@ function Ht() {
|
|
|
176
176
|
value: X
|
|
177
177
|
}),
|
|
178
178
|
info: J({}, n, {
|
|
179
|
-
value:
|
|
179
|
+
value: we
|
|
180
180
|
}),
|
|
181
181
|
warn: J({}, n, {
|
|
182
|
-
value:
|
|
182
|
+
value: te
|
|
183
183
|
}),
|
|
184
184
|
error: J({}, n, {
|
|
185
|
-
value:
|
|
185
|
+
value: ne
|
|
186
186
|
}),
|
|
187
187
|
group: J({}, n, {
|
|
188
188
|
value: ee
|
|
@@ -205,8 +205,8 @@ function Ht() {
|
|
|
205
205
|
try {
|
|
206
206
|
throw Error();
|
|
207
207
|
} catch ($) {
|
|
208
|
-
var
|
|
209
|
-
Se =
|
|
208
|
+
var w = $.stack.trim().match(/\n( *(at )?)/);
|
|
209
|
+
Se = w && w[1] || "";
|
|
210
210
|
}
|
|
211
211
|
return `
|
|
212
212
|
` + Se + n;
|
|
@@ -214,8 +214,8 @@ function Ht() {
|
|
|
214
214
|
}
|
|
215
215
|
var ie = !1, be;
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
be = new
|
|
217
|
+
var Fe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
218
|
+
be = new Fe();
|
|
219
219
|
}
|
|
220
220
|
function s(n, c) {
|
|
221
221
|
if (!n || ie)
|
|
@@ -225,7 +225,7 @@ function Ht() {
|
|
|
225
225
|
if (g !== void 0)
|
|
226
226
|
return g;
|
|
227
227
|
}
|
|
228
|
-
var
|
|
228
|
+
var w;
|
|
229
229
|
ie = !0;
|
|
230
230
|
var $ = Error.prepareStackTrace;
|
|
231
231
|
Error.prepareStackTrace = void 0;
|
|
@@ -244,14 +244,14 @@ function Ht() {
|
|
|
244
244
|
try {
|
|
245
245
|
Reflect.construct(A, []);
|
|
246
246
|
} catch (De) {
|
|
247
|
-
|
|
247
|
+
w = De;
|
|
248
248
|
}
|
|
249
249
|
Reflect.construct(n, [], A);
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
252
252
|
A.call();
|
|
253
253
|
} catch (De) {
|
|
254
|
-
|
|
254
|
+
w = De;
|
|
255
255
|
}
|
|
256
256
|
n.call(A.prototype);
|
|
257
257
|
}
|
|
@@ -259,14 +259,14 @@ function Ht() {
|
|
|
259
259
|
try {
|
|
260
260
|
throw Error();
|
|
261
261
|
} catch (De) {
|
|
262
|
-
|
|
262
|
+
w = De;
|
|
263
263
|
}
|
|
264
264
|
n();
|
|
265
265
|
}
|
|
266
266
|
} catch (De) {
|
|
267
|
-
if (De &&
|
|
267
|
+
if (De && w && typeof De.stack == "string") {
|
|
268
268
|
for (var T = De.stack.split(`
|
|
269
|
-
`), le =
|
|
269
|
+
`), le = w.stack.split(`
|
|
270
270
|
`), K = T.length - 1, Z = le.length - 1; K >= 1 && Z >= 0 && T[K] !== le[Z]; )
|
|
271
271
|
Z--;
|
|
272
272
|
for (; K >= 1 && Z >= 0; K--, Z--)
|
|
@@ -285,10 +285,10 @@ function Ht() {
|
|
|
285
285
|
} finally {
|
|
286
286
|
ie = !1, ve.current = V, _e(), Error.prepareStackTrace = $;
|
|
287
287
|
}
|
|
288
|
-
var
|
|
288
|
+
var Xe = n ? n.displayName || n.name : "", Hr = Xe ? j(Xe) : "";
|
|
289
289
|
return typeof n == "function" && be.set(n, Hr), Hr;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function E(n, c, g) {
|
|
292
292
|
return s(n, !1);
|
|
293
293
|
}
|
|
294
294
|
function W(n) {
|
|
@@ -311,11 +311,11 @@ function Ht() {
|
|
|
311
311
|
if (typeof n == "object")
|
|
312
312
|
switch (n.$$typeof) {
|
|
313
313
|
case d:
|
|
314
|
-
return
|
|
314
|
+
return E(n.render);
|
|
315
315
|
case h:
|
|
316
316
|
return de(n.type, c, g);
|
|
317
317
|
case y: {
|
|
318
|
-
var
|
|
318
|
+
var w = n, $ = w._payload, V = w._init;
|
|
319
319
|
try {
|
|
320
320
|
return de(V($), c, g);
|
|
321
321
|
} catch {
|
|
@@ -324,90 +324,90 @@ function Ht() {
|
|
|
324
324
|
}
|
|
325
325
|
return "";
|
|
326
326
|
}
|
|
327
|
-
var
|
|
327
|
+
var je = Object.prototype.hasOwnProperty, Ye = {}, ar = _.ReactDebugCurrentFrame;
|
|
328
328
|
function Le(n) {
|
|
329
329
|
if (n) {
|
|
330
330
|
var c = n._owner, g = de(n.type, n._source, c ? c.type : null);
|
|
331
|
-
|
|
331
|
+
ar.setExtraStackFrame(g);
|
|
332
332
|
} else
|
|
333
|
-
|
|
333
|
+
ar.setExtraStackFrame(null);
|
|
334
334
|
}
|
|
335
|
-
function me(n, c, g,
|
|
335
|
+
function me(n, c, g, w, $) {
|
|
336
336
|
{
|
|
337
|
-
var V = Function.call.bind(
|
|
337
|
+
var V = Function.call.bind(je);
|
|
338
338
|
for (var A in n)
|
|
339
339
|
if (V(n, A)) {
|
|
340
340
|
var T = void 0;
|
|
341
341
|
try {
|
|
342
342
|
if (typeof n[A] != "function") {
|
|
343
|
-
var le = Error((
|
|
343
|
+
var le = Error((w || "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
344
|
throw le.name = "Invariant Violation", le;
|
|
345
345
|
}
|
|
346
|
-
T = n[A](c, A,
|
|
346
|
+
T = n[A](c, A, w, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
347
347
|
} catch (K) {
|
|
348
348
|
T = K;
|
|
349
349
|
}
|
|
350
|
-
T && !(T instanceof Error) && (Le($), 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).",
|
|
350
|
+
T && !(T instanceof Error) && (Le($), 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).", w || "React class", g, A, typeof T), Le(null)), T instanceof Error && !(T.message in Ye) && (Ye[T.message] = !0, Le($), S("Failed %s type: %s", g, T.message), Le(null));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
var
|
|
355
|
-
function
|
|
356
|
-
return
|
|
354
|
+
var gr = Array.isArray;
|
|
355
|
+
function Ue(n) {
|
|
356
|
+
return gr(n);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function We(n) {
|
|
359
359
|
{
|
|
360
360
|
var c = typeof Symbol == "function" && Symbol.toStringTag, g = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
361
361
|
return g;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function hr(n) {
|
|
365
365
|
try {
|
|
366
|
-
return
|
|
366
|
+
return or(n), !1;
|
|
367
367
|
} catch {
|
|
368
368
|
return !0;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function or(n) {
|
|
372
372
|
return "" + n;
|
|
373
373
|
}
|
|
374
374
|
function se(n) {
|
|
375
|
-
if (
|
|
376
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
375
|
+
if (hr(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.", We(n)), or(n);
|
|
377
377
|
}
|
|
378
|
-
var
|
|
378
|
+
var Ve = _.ReactCurrentOwner, Cr = {
|
|
379
379
|
key: !0,
|
|
380
380
|
ref: !0,
|
|
381
381
|
__self: !0,
|
|
382
382
|
__source: !0
|
|
383
|
-
},
|
|
384
|
-
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
383
|
+
}, qe, Ge, Be;
|
|
384
|
+
Be = {};
|
|
385
|
+
function Ke(n) {
|
|
386
|
+
if (je.call(n, "ref")) {
|
|
387
387
|
var c = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
388
388
|
if (c && c.isReactWarning)
|
|
389
389
|
return !1;
|
|
390
390
|
}
|
|
391
391
|
return n.ref !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
if (
|
|
393
|
+
function ze(n) {
|
|
394
|
+
if (je.call(n, "key")) {
|
|
395
395
|
var c = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
396
396
|
if (c && c.isReactWarning)
|
|
397
397
|
return !1;
|
|
398
398
|
}
|
|
399
399
|
return n.key !== void 0;
|
|
400
400
|
}
|
|
401
|
-
function
|
|
402
|
-
if (typeof n.ref == "string" &&
|
|
403
|
-
var g = H(
|
|
404
|
-
|
|
401
|
+
function Tr(n, c) {
|
|
402
|
+
if (typeof n.ref == "string" && Ve.current && c && Ve.current.stateNode !== c) {
|
|
403
|
+
var g = H(Ve.current.type);
|
|
404
|
+
Be[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', H(Ve.current.type), n.ref), Be[g] = !0);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Pr(n, c) {
|
|
408
408
|
{
|
|
409
409
|
var g = function() {
|
|
410
|
-
|
|
410
|
+
qe || (qe = !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
411
|
};
|
|
412
412
|
g.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
413
413
|
get: g,
|
|
@@ -415,10 +415,10 @@ function Ht() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function R(n, c) {
|
|
419
419
|
{
|
|
420
420
|
var g = function() {
|
|
421
|
-
|
|
421
|
+
Ge || (Ge = !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
422
|
};
|
|
423
423
|
g.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
424
424
|
get: g,
|
|
@@ -426,7 +426,7 @@ function Ht() {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var O = function(n, c, g,
|
|
429
|
+
var O = function(n, c, g, w, $, V, A) {
|
|
430
430
|
var T = {
|
|
431
431
|
// This tag allows us to uniquely identify this as a React Element
|
|
432
432
|
$$typeof: r,
|
|
@@ -447,7 +447,7 @@ function Ht() {
|
|
|
447
447
|
configurable: !1,
|
|
448
448
|
enumerable: !1,
|
|
449
449
|
writable: !1,
|
|
450
|
-
value:
|
|
450
|
+
value: w
|
|
451
451
|
}), Object.defineProperty(T, "_source", {
|
|
452
452
|
configurable: !1,
|
|
453
453
|
enumerable: !1,
|
|
@@ -455,12 +455,12 @@ function Ht() {
|
|
|
455
455
|
value: $
|
|
456
456
|
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
457
457
|
};
|
|
458
|
-
function q(n, c, g,
|
|
458
|
+
function q(n, c, g, w, $) {
|
|
459
459
|
{
|
|
460
460
|
var V, A = {}, T = null, le = null;
|
|
461
|
-
g !== void 0 && (se(g), T = "" + g),
|
|
461
|
+
g !== void 0 && (se(g), T = "" + g), ze(c) && (se(c.key), T = "" + c.key), Ke(c) && (le = c.ref, Tr(c, $));
|
|
462
462
|
for (V in c)
|
|
463
|
-
|
|
463
|
+
je.call(c, V) && !Cr.hasOwnProperty(V) && (A[V] = c[V]);
|
|
464
464
|
if (n && n.defaultProps) {
|
|
465
465
|
var K = n.defaultProps;
|
|
466
466
|
for (V in K)
|
|
@@ -468,25 +468,25 @@ function Ht() {
|
|
|
468
468
|
}
|
|
469
469
|
if (T || le) {
|
|
470
470
|
var Z = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
471
|
-
T &&
|
|
471
|
+
T && Pr(A, Z), le && R(A, Z);
|
|
472
472
|
}
|
|
473
|
-
return O(n, T, le, $,
|
|
473
|
+
return O(n, T, le, $, w, Ve.current, A);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
var G = _.ReactCurrentOwner,
|
|
477
|
-
function
|
|
476
|
+
var G = _.ReactCurrentOwner, ce = _.ReactDebugCurrentFrame;
|
|
477
|
+
function B(n) {
|
|
478
478
|
if (n) {
|
|
479
479
|
var c = n._owner, g = de(n.type, n._source, c ? c.type : null);
|
|
480
|
-
|
|
480
|
+
ce.setExtraStackFrame(g);
|
|
481
481
|
} else
|
|
482
|
-
|
|
482
|
+
ce.setExtraStackFrame(null);
|
|
483
483
|
}
|
|
484
|
-
var
|
|
485
|
-
|
|
486
|
-
function
|
|
484
|
+
var Y;
|
|
485
|
+
Y = !1;
|
|
486
|
+
function He(n) {
|
|
487
487
|
return typeof n == "object" && n !== null && n.$$typeof === r;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function ae() {
|
|
490
490
|
{
|
|
491
491
|
if (G.current) {
|
|
492
492
|
var n = H(G.current.type);
|
|
@@ -498,7 +498,7 @@ Check the render method of \`` + n + "`.";
|
|
|
498
498
|
return "";
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function Je(n) {
|
|
502
502
|
{
|
|
503
503
|
if (n !== void 0) {
|
|
504
504
|
var c = n.fileName.replace(/^.*[\\\/]/, ""), g = n.lineNumber;
|
|
@@ -509,10 +509,10 @@ Check your code at ` + c + ":" + g + ".";
|
|
|
509
509
|
return "";
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
var
|
|
513
|
-
function
|
|
512
|
+
var Or = {};
|
|
513
|
+
function pr(n) {
|
|
514
514
|
{
|
|
515
|
-
var c =
|
|
515
|
+
var c = ae();
|
|
516
516
|
if (!c) {
|
|
517
517
|
var g = typeof n == "string" ? n : n.displayName || n.name;
|
|
518
518
|
g && (c = `
|
|
@@ -522,35 +522,35 @@ Check the top-level render call using <` + g + ">.");
|
|
|
522
522
|
return c;
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function ir(n, c) {
|
|
526
526
|
{
|
|
527
527
|
if (!n._store || n._store.validated || n.key != null)
|
|
528
528
|
return;
|
|
529
529
|
n._store.validated = !0;
|
|
530
|
-
var g =
|
|
531
|
-
if (
|
|
530
|
+
var g = pr(c);
|
|
531
|
+
if (Or[g])
|
|
532
532
|
return;
|
|
533
|
-
|
|
534
|
-
var
|
|
535
|
-
n && n._owner && n._owner !== G.current && (
|
|
533
|
+
Or[g] = !0;
|
|
534
|
+
var w = "";
|
|
535
|
+
n && n._owner && n._owner !== G.current && (w = " It was passed a child from " + H(n._owner.type) + "."), B(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, w), B(null);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
function Gr(n, c) {
|
|
539
539
|
{
|
|
540
540
|
if (typeof n != "object")
|
|
541
541
|
return;
|
|
542
|
-
if (
|
|
542
|
+
if (Ue(n))
|
|
543
543
|
for (var g = 0; g < n.length; g++) {
|
|
544
|
-
var
|
|
545
|
-
|
|
544
|
+
var w = n[g];
|
|
545
|
+
He(w) && ir(w, c);
|
|
546
546
|
}
|
|
547
|
-
else if (
|
|
547
|
+
else if (He(n))
|
|
548
548
|
n._store && (n._store.validated = !0);
|
|
549
549
|
else if (n) {
|
|
550
550
|
var $ = x(n);
|
|
551
551
|
if (typeof $ == "function" && $ !== n.entries)
|
|
552
552
|
for (var V = $.call(n), A; !(A = V.next()).done; )
|
|
553
|
-
|
|
553
|
+
He(A.value) && ir(A.value, c);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
@@ -569,10 +569,10 @@ Check the top-level render call using <` + g + ">.");
|
|
|
569
569
|
else
|
|
570
570
|
return;
|
|
571
571
|
if (g) {
|
|
572
|
-
var
|
|
573
|
-
me(g, n.props, "prop",
|
|
574
|
-
} else if (c.PropTypes !== void 0 && !
|
|
575
|
-
|
|
572
|
+
var w = H(c);
|
|
573
|
+
me(g, n.props, "prop", w, n);
|
|
574
|
+
} else if (c.PropTypes !== void 0 && !Y) {
|
|
575
|
+
Y = !0;
|
|
576
576
|
var $ = H(c);
|
|
577
577
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
578
578
|
}
|
|
@@ -582,25 +582,25 @@ Check the top-level render call using <` + g + ">.");
|
|
|
582
582
|
function Lt(n) {
|
|
583
583
|
{
|
|
584
584
|
for (var c = Object.keys(n.props), g = 0; g < c.length; g++) {
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
|
|
585
|
+
var w = c[g];
|
|
586
|
+
if (w !== "children" && w !== "key") {
|
|
587
|
+
B(n), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), B(null);
|
|
588
588
|
break;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
n.ref !== null && (
|
|
591
|
+
n.ref !== null && (B(n), S("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
function Kr(n, c, g,
|
|
594
|
+
function Kr(n, c, g, w, $, V) {
|
|
595
595
|
{
|
|
596
596
|
var A = Ae(n);
|
|
597
597
|
if (!A) {
|
|
598
598
|
var T = "";
|
|
599
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 =
|
|
601
|
-
le ? T += le : T +=
|
|
600
|
+
var le = Je($);
|
|
601
|
+
le ? T += le : T += ae();
|
|
602
602
|
var K;
|
|
603
|
-
n === null ? K = "null" :
|
|
603
|
+
n === null ? K = "null" : Ue(n) ? K = "array" : n !== void 0 && n.$$typeof === r ? (K = "<" + (H(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : K = 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", K, T);
|
|
604
604
|
}
|
|
605
605
|
var Z = q(n, c, g, $, V);
|
|
606
606
|
if (Z == null)
|
|
@@ -608,10 +608,10 @@ Check the top-level render call using <` + g + ">.");
|
|
|
608
608
|
if (A) {
|
|
609
609
|
var xe = c.children;
|
|
610
610
|
if (xe !== void 0)
|
|
611
|
-
if (
|
|
612
|
-
if (
|
|
613
|
-
for (var
|
|
614
|
-
Gr(xe[
|
|
611
|
+
if (w)
|
|
612
|
+
if (Ue(xe)) {
|
|
613
|
+
for (var Xe = 0; Xe < xe.length; Xe++)
|
|
614
|
+
Gr(xe[Xe], n);
|
|
615
615
|
Object.freeze && Object.freeze(xe);
|
|
616
616
|
} else
|
|
617
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.");
|
|
@@ -621,19 +621,19 @@ Check the top-level render call using <` + g + ">.");
|
|
|
621
621
|
return n === a ? Lt(Z) : $t(Z), Z;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Dt(n, c, g) {
|
|
625
625
|
return Kr(n, c, g, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Mt(n, c, g) {
|
|
628
628
|
return Kr(n, c, g, !1);
|
|
629
629
|
}
|
|
630
|
-
var Ft =
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Ft = Mt, jt = Dt;
|
|
631
|
+
cr.Fragment = a, cr.jsx = Ft, cr.jsxs = jt;
|
|
632
|
+
}()), cr;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var
|
|
636
|
-
const Jt =
|
|
634
|
+
process.env.NODE_ENV === "production" ? $r.exports = Kt() : $r.exports = Ht();
|
|
635
|
+
var Vr = $r.exports;
|
|
636
|
+
const Jt = Vr.Fragment, Qr = Vr.jsx, et = Vr.jsxs;
|
|
637
637
|
function Xt(e) {
|
|
638
638
|
if (e.sheet)
|
|
639
639
|
return e.sheet;
|
|
@@ -679,9 +679,9 @@ var Qt = /* @__PURE__ */ function() {
|
|
|
679
679
|
return a.parentNode && a.parentNode.removeChild(a);
|
|
680
680
|
}), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
|
|
681
681
|
}, e;
|
|
682
|
-
}(), oe = "-ms-", wr = "-moz-", L = "-webkit-",
|
|
682
|
+
}(), oe = "-ms-", wr = "-moz-", L = "-webkit-", Br = "comm", zr = "rule", Yr = "decl", en = "@import", vt = "@keyframes", rn = "@layer", tn = Math.abs, Sr = String.fromCharCode, nn = Object.assign;
|
|
683
683
|
function an(e, r) {
|
|
684
|
-
return
|
|
684
|
+
return re(e, 0) ^ 45 ? (((r << 2 ^ re(e, 0)) << 2 ^ re(e, 1)) << 2 ^ re(e, 2)) << 2 ^ re(e, 3) : 0;
|
|
685
685
|
}
|
|
686
686
|
function bt(e) {
|
|
687
687
|
return e.trim();
|
|
@@ -689,16 +689,16 @@ function bt(e) {
|
|
|
689
689
|
function on(e, r) {
|
|
690
690
|
return (e = r.exec(e)) ? e[0] : e;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function D(e, r, t) {
|
|
693
693
|
return e.replace(r, t);
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Lr(e, r) {
|
|
696
696
|
return e.indexOf(r);
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function re(e, r) {
|
|
699
699
|
return e.charCodeAt(r) | 0;
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function ur(e, r, t) {
|
|
702
702
|
return e.slice(r, t);
|
|
703
703
|
}
|
|
704
704
|
function Te(e) {
|
|
@@ -707,38 +707,38 @@ function Te(e) {
|
|
|
707
707
|
function Ur(e) {
|
|
708
708
|
return e.length;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function vr(e, r) {
|
|
711
711
|
return r.push(e), e;
|
|
712
712
|
}
|
|
713
713
|
function sn(e, r) {
|
|
714
714
|
return e.map(r).join("");
|
|
715
715
|
}
|
|
716
|
-
var
|
|
717
|
-
function
|
|
718
|
-
return { value: e, root: r, parent: t, type: a, props: i, children: o, line:
|
|
716
|
+
var xr = 1, tr = 1, yt = 0, pe = 0, Q = 0, nr = "";
|
|
717
|
+
function _r(e, r, t, a, i, o, l) {
|
|
718
|
+
return { value: e, root: r, parent: t, type: a, props: i, children: o, line: xr, column: tr, length: l, return: "" };
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
return nn(
|
|
720
|
+
function lr(e, r) {
|
|
721
|
+
return nn(_r("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
722
722
|
}
|
|
723
723
|
function cn() {
|
|
724
724
|
return Q;
|
|
725
725
|
}
|
|
726
726
|
function ln() {
|
|
727
|
-
return Q = pe > 0 ?
|
|
727
|
+
return Q = pe > 0 ? re(nr, --pe) : 0, tr--, Q === 10 && (tr = 1, xr--), Q;
|
|
728
728
|
}
|
|
729
729
|
function ye() {
|
|
730
|
-
return Q = pe < yt ?
|
|
730
|
+
return Q = pe < yt ? re(nr, pe++) : 0, tr++, Q === 10 && (tr = 1, xr++), Q;
|
|
731
731
|
}
|
|
732
732
|
function Pe() {
|
|
733
|
-
return
|
|
733
|
+
return re(nr, pe);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function br() {
|
|
736
736
|
return pe;
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function mr(e, r) {
|
|
739
|
+
return ur(nr, e, r);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function fr(e) {
|
|
742
742
|
switch (e) {
|
|
743
743
|
case 0:
|
|
744
744
|
case 9:
|
|
@@ -770,36 +770,36 @@ function ur(e) {
|
|
|
770
770
|
}
|
|
771
771
|
return 0;
|
|
772
772
|
}
|
|
773
|
-
function wt(e) {
|
|
774
|
-
return Sr = rr = 1, yt = Te(tr = e), pe = 0, [];
|
|
775
|
-
}
|
|
776
773
|
function Et(e) {
|
|
777
|
-
return tr =
|
|
774
|
+
return xr = tr = 1, yt = Te(nr = e), pe = 0, [];
|
|
775
|
+
}
|
|
776
|
+
function wt(e) {
|
|
777
|
+
return nr = "", e;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
780
|
-
return bt(
|
|
779
|
+
function yr(e) {
|
|
780
|
+
return bt(mr(pe - 1, Dr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
781
781
|
}
|
|
782
782
|
function un(e) {
|
|
783
783
|
for (; (Q = Pe()) && Q < 33; )
|
|
784
784
|
ye();
|
|
785
|
-
return
|
|
785
|
+
return fr(e) > 2 || fr(Q) > 3 ? "" : " ";
|
|
786
786
|
}
|
|
787
787
|
function fn(e, r) {
|
|
788
788
|
for (; --r && ye() && !(Q < 48 || Q > 102 || Q > 57 && Q < 65 || Q > 70 && Q < 97); )
|
|
789
789
|
;
|
|
790
|
-
return
|
|
790
|
+
return mr(e, br() + (r < 6 && Pe() == 32 && ye() == 32));
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Dr(e) {
|
|
793
793
|
for (; ye(); )
|
|
794
794
|
switch (Q) {
|
|
795
795
|
case e:
|
|
796
796
|
return pe;
|
|
797
797
|
case 34:
|
|
798
798
|
case 39:
|
|
799
|
-
e !== 34 && e !== 39 &&
|
|
799
|
+
e !== 34 && e !== 39 && Dr(Q);
|
|
800
800
|
break;
|
|
801
801
|
case 40:
|
|
802
|
-
e === 41 &&
|
|
802
|
+
e === 41 && Dr(e);
|
|
803
803
|
break;
|
|
804
804
|
case 92:
|
|
805
805
|
ye();
|
|
@@ -811,50 +811,50 @@ function dn(e, r) {
|
|
|
811
811
|
for (; ye() && e + Q !== 47 + 10; )
|
|
812
812
|
if (e + Q === 42 + 42 && Pe() === 47)
|
|
813
813
|
break;
|
|
814
|
-
return "/*" +
|
|
814
|
+
return "/*" + mr(r, pe - 1) + "*" + Sr(e === 47 ? e : ye());
|
|
815
815
|
}
|
|
816
816
|
function mn(e) {
|
|
817
|
-
for (; !
|
|
817
|
+
for (; !fr(Pe()); )
|
|
818
818
|
ye();
|
|
819
|
-
return
|
|
819
|
+
return mr(e, pe);
|
|
820
820
|
}
|
|
821
821
|
function gn(e) {
|
|
822
|
-
return
|
|
822
|
+
return wt(Er("", null, null, null, [""], e = Et(e), 0, [0], e));
|
|
823
823
|
}
|
|
824
|
-
function
|
|
825
|
-
for (var v = 0, m = 0, h = l, y = 0, k = 0, N = 0, b = 1, x = 1, _ = 1, S = 0, P = "", I = i, f = o,
|
|
824
|
+
function Er(e, r, t, a, i, o, 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 = i, f = o, z = a, C = P; x; )
|
|
826
826
|
switch (N = S, S = ye()) {
|
|
827
827
|
case 40:
|
|
828
|
-
if (N != 108 &&
|
|
829
|
-
|
|
828
|
+
if (N != 108 && re(C, h - 1) == 58) {
|
|
829
|
+
Lr(C += D(yr(S), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
830
830
|
break;
|
|
831
831
|
}
|
|
832
832
|
case 34:
|
|
833
833
|
case 39:
|
|
834
834
|
case 91:
|
|
835
|
-
|
|
835
|
+
C += yr(S);
|
|
836
836
|
break;
|
|
837
837
|
case 9:
|
|
838
838
|
case 10:
|
|
839
839
|
case 13:
|
|
840
840
|
case 32:
|
|
841
|
-
|
|
841
|
+
C += un(N);
|
|
842
842
|
break;
|
|
843
843
|
case 92:
|
|
844
|
-
|
|
844
|
+
C += fn(br() - 1, 7);
|
|
845
845
|
continue;
|
|
846
846
|
case 47:
|
|
847
847
|
switch (Pe()) {
|
|
848
848
|
case 42:
|
|
849
849
|
case 47:
|
|
850
|
-
|
|
850
|
+
vr(hn(dn(ye(), br()), r, t), d);
|
|
851
851
|
break;
|
|
852
852
|
default:
|
|
853
|
-
|
|
853
|
+
C += "/";
|
|
854
854
|
}
|
|
855
855
|
break;
|
|
856
856
|
case 123 * b:
|
|
857
|
-
u[v++] = Te(
|
|
857
|
+
u[v++] = Te(C) * _;
|
|
858
858
|
case 125 * b:
|
|
859
859
|
case 59:
|
|
860
860
|
case 0:
|
|
@@ -863,30 +863,30 @@ function yr(e, r, t, a, i, o, l, u, d) {
|
|
|
863
863
|
case 125:
|
|
864
864
|
x = 0;
|
|
865
865
|
case 59 + m:
|
|
866
|
-
_ == -1 && (
|
|
866
|
+
_ == -1 && (C = D(C, /\f/g, "")), k > 0 && Te(C) - h && vr(k > 32 ? tt(C + ";", a, t, h - 1) : tt(D(C, " ", "") + ";", a, t, h - 2), d);
|
|
867
867
|
break;
|
|
868
868
|
case 59:
|
|
869
|
-
|
|
869
|
+
C += ";";
|
|
870
870
|
default:
|
|
871
|
-
if (
|
|
871
|
+
if (vr(z = rt(C, r, t, v, m, i, u, P, I = [], f = [], h), o), S === 123)
|
|
872
872
|
if (m === 0)
|
|
873
|
-
|
|
873
|
+
Er(C, r, z, z, I, o, h, u, f);
|
|
874
874
|
else
|
|
875
|
-
switch (y === 99 &&
|
|
875
|
+
switch (y === 99 && re(C, 3) === 110 ? 100 : y) {
|
|
876
876
|
case 100:
|
|
877
877
|
case 108:
|
|
878
878
|
case 109:
|
|
879
879
|
case 115:
|
|
880
|
-
|
|
880
|
+
Er(e, z, z, a && vr(rt(e, z, z, 0, 0, i, u, P, i, I = [], h), f), i, f, h, u, a ? I : f);
|
|
881
881
|
break;
|
|
882
882
|
default:
|
|
883
|
-
|
|
883
|
+
Er(C, z, z, z, [""], f, 0, u, f);
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
-
v = m = k = 0, b = _ = 1, P =
|
|
886
|
+
v = m = k = 0, b = _ = 1, P = C = "", h = l;
|
|
887
887
|
break;
|
|
888
888
|
case 58:
|
|
889
|
-
h = 1 + Te(
|
|
889
|
+
h = 1 + Te(C), k = N;
|
|
890
890
|
default:
|
|
891
891
|
if (b < 1) {
|
|
892
892
|
if (S == 123)
|
|
@@ -894,35 +894,35 @@ function yr(e, r, t, a, i, o, l, u, d) {
|
|
|
894
894
|
else if (S == 125 && b++ == 0 && ln() == 125)
|
|
895
895
|
continue;
|
|
896
896
|
}
|
|
897
|
-
switch (
|
|
897
|
+
switch (C += Sr(S), S * b) {
|
|
898
898
|
case 38:
|
|
899
|
-
_ = m > 0 ? 1 : (
|
|
899
|
+
_ = m > 0 ? 1 : (C += "\f", -1);
|
|
900
900
|
break;
|
|
901
901
|
case 44:
|
|
902
|
-
u[v++] = (Te(
|
|
902
|
+
u[v++] = (Te(C) - 1) * _, _ = 1;
|
|
903
903
|
break;
|
|
904
904
|
case 64:
|
|
905
|
-
Pe() === 45 && (
|
|
905
|
+
Pe() === 45 && (C += yr(ye())), y = Pe(), m = h = Te(P = C += mn(br())), S++;
|
|
906
906
|
break;
|
|
907
907
|
case 45:
|
|
908
|
-
N === 45 && Te(
|
|
908
|
+
N === 45 && Te(C) == 2 && (b = 0);
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
return o;
|
|
912
912
|
}
|
|
913
913
|
function rt(e, r, t, a, i, o, l, u, d, v, m) {
|
|
914
914
|
for (var h = i - 1, y = i === 0 ? o : [""], k = Ur(y), N = 0, b = 0, x = 0; N < a; ++N)
|
|
915
|
-
for (var _ = 0, S =
|
|
916
|
-
(P = bt(b > 0 ? y[_] + " " + S :
|
|
917
|
-
return
|
|
915
|
+
for (var _ = 0, S = ur(e, h + 1, h = tn(b = l[N])), P = e; _ < k; ++_)
|
|
916
|
+
(P = bt(b > 0 ? y[_] + " " + S : D(S, /&\f/g, y[_]))) && (d[x++] = P);
|
|
917
|
+
return _r(e, r, t, i === 0 ? zr : u, d, v, m);
|
|
918
918
|
}
|
|
919
919
|
function hn(e, r, t) {
|
|
920
|
-
return
|
|
920
|
+
return _r(e, r, t, Br, Sr(cn()), ur(e, 2, -2), 0);
|
|
921
921
|
}
|
|
922
922
|
function tt(e, r, t, a) {
|
|
923
|
-
return
|
|
923
|
+
return _r(e, r, t, Yr, ur(e, 0, a), ur(e, a + 1, -1), a);
|
|
924
924
|
}
|
|
925
|
-
function
|
|
925
|
+
function rr(e, r) {
|
|
926
926
|
for (var t = "", a = Ur(e), i = 0; i < a; i++)
|
|
927
927
|
t += r(e[i], i, e, r) || "";
|
|
928
928
|
return t;
|
|
@@ -933,16 +933,16 @@ function pn(e, r, t, a) {
|
|
|
933
933
|
if (e.children.length)
|
|
934
934
|
break;
|
|
935
935
|
case en:
|
|
936
|
-
case
|
|
936
|
+
case Yr:
|
|
937
937
|
return e.return = e.return || e.value;
|
|
938
|
-
case
|
|
938
|
+
case Br:
|
|
939
939
|
return "";
|
|
940
940
|
case vt:
|
|
941
|
-
return e.return = e.value + "{" +
|
|
942
|
-
case
|
|
941
|
+
return e.return = e.value + "{" + rr(e.children, a) + "}";
|
|
942
|
+
case zr:
|
|
943
943
|
e.value = e.props.join(",");
|
|
944
944
|
}
|
|
945
|
-
return Te(t =
|
|
945
|
+
return Te(t = rr(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
|
|
946
946
|
}
|
|
947
947
|
function vn(e) {
|
|
948
948
|
var r = Ur(e);
|
|
@@ -963,19 +963,19 @@ function yn(e) {
|
|
|
963
963
|
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
|
-
var
|
|
967
|
-
for (var i = 0, o = 0; i = o, o = Pe(), i === 38 && o === 12 && (t[a] = 1), !
|
|
966
|
+
var En = function(r, t, a) {
|
|
967
|
+
for (var i = 0, o = 0; i = o, o = Pe(), i === 38 && o === 12 && (t[a] = 1), !fr(o); )
|
|
968
968
|
ye();
|
|
969
|
-
return
|
|
970
|
-
},
|
|
969
|
+
return mr(r, pe);
|
|
970
|
+
}, wn = function(r, t) {
|
|
971
971
|
var a = -1, i = 44;
|
|
972
972
|
do
|
|
973
|
-
switch (
|
|
973
|
+
switch (fr(i)) {
|
|
974
974
|
case 0:
|
|
975
|
-
i === 38 && Pe() === 12 && (t[a] = 1), r[a] +=
|
|
975
|
+
i === 38 && Pe() === 12 && (t[a] = 1), r[a] += En(pe - 1, t, a);
|
|
976
976
|
break;
|
|
977
977
|
case 2:
|
|
978
|
-
r[a] +=
|
|
978
|
+
r[a] += yr(i);
|
|
979
979
|
break;
|
|
980
980
|
case 4:
|
|
981
981
|
if (i === 44) {
|
|
@@ -983,12 +983,12 @@ var wn = function(r, t, a) {
|
|
|
983
983
|
break;
|
|
984
984
|
}
|
|
985
985
|
default:
|
|
986
|
-
r[a] +=
|
|
986
|
+
r[a] += Sr(i);
|
|
987
987
|
}
|
|
988
988
|
while (i = ye());
|
|
989
989
|
return r;
|
|
990
990
|
}, Nn = function(r, t) {
|
|
991
|
-
return
|
|
991
|
+
return wt(wn(Et(r), t));
|
|
992
992
|
}, nt = /* @__PURE__ */ new WeakMap(), kn = function(r) {
|
|
993
993
|
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
|
|
994
994
|
// negative .length indicates that this rule has been already prefixed
|
|
@@ -1090,31 +1090,31 @@ function kt(e, r) {
|
|
|
1090
1090
|
case 6165:
|
|
1091
1091
|
return L + e + oe + "flex-" + e + e;
|
|
1092
1092
|
case 5187:
|
|
1093
|
-
return L + e +
|
|
1093
|
+
return L + e + D(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + oe + "flex-$1$2") + e;
|
|
1094
1094
|
case 5443:
|
|
1095
|
-
return L + e + oe + "flex-item-" +
|
|
1095
|
+
return L + e + oe + "flex-item-" + D(e, /flex-|-self/, "") + e;
|
|
1096
1096
|
case 4675:
|
|
1097
|
-
return L + e + oe + "flex-line-pack" +
|
|
1097
|
+
return L + e + oe + "flex-line-pack" + D(e, /align-content|flex-|-self/, "") + e;
|
|
1098
1098
|
case 5548:
|
|
1099
|
-
return L + e + oe +
|
|
1099
|
+
return L + e + oe + D(e, "shrink", "negative") + e;
|
|
1100
1100
|
case 5292:
|
|
1101
|
-
return L + e + oe +
|
|
1101
|
+
return L + e + oe + D(e, "basis", "preferred-size") + e;
|
|
1102
1102
|
case 6060:
|
|
1103
|
-
return L + "box-" +
|
|
1103
|
+
return L + "box-" + D(e, "-grow", "") + L + e + oe + D(e, "grow", "positive") + e;
|
|
1104
1104
|
case 4554:
|
|
1105
|
-
return L +
|
|
1105
|
+
return L + D(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
|
|
1106
1106
|
case 6187:
|
|
1107
|
-
return
|
|
1107
|
+
return D(D(D(e, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), e, "") + e;
|
|
1108
1108
|
case 5495:
|
|
1109
1109
|
case 3959:
|
|
1110
|
-
return
|
|
1110
|
+
return D(e, /(image-set\([^]*)/, L + "$1$`$1");
|
|
1111
1111
|
case 4968:
|
|
1112
|
-
return
|
|
1112
|
+
return D(D(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + oe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
|
|
1113
1113
|
case 4095:
|
|
1114
1114
|
case 3583:
|
|
1115
1115
|
case 4068:
|
|
1116
1116
|
case 2532:
|
|
1117
|
-
return
|
|
1117
|
+
return D(e, /(.+)-inline(.+)/, L + "$1$2") + e;
|
|
1118
1118
|
case 8116:
|
|
1119
1119
|
case 7059:
|
|
1120
1120
|
case 5753:
|
|
@@ -1128,35 +1128,35 @@ function kt(e, r) {
|
|
|
1128
1128
|
case 5021:
|
|
1129
1129
|
case 4765:
|
|
1130
1130
|
if (Te(e) - 1 - r > 6)
|
|
1131
|
-
switch (
|
|
1131
|
+
switch (re(e, r + 1)) {
|
|
1132
1132
|
case 109:
|
|
1133
|
-
if (
|
|
1133
|
+
if (re(e, r + 4) !== 45)
|
|
1134
1134
|
break;
|
|
1135
1135
|
case 102:
|
|
1136
|
-
return
|
|
1136
|
+
return D(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + wr + (re(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1137
1137
|
case 115:
|
|
1138
|
-
return ~
|
|
1138
|
+
return ~Lr(e, "stretch") ? kt(D(e, "stretch", "fill-available"), r) + e : e;
|
|
1139
1139
|
}
|
|
1140
1140
|
break;
|
|
1141
1141
|
case 4949:
|
|
1142
|
-
if (
|
|
1142
|
+
if (re(e, r + 1) !== 115)
|
|
1143
1143
|
break;
|
|
1144
1144
|
case 6444:
|
|
1145
|
-
switch (
|
|
1145
|
+
switch (re(e, Te(e) - 3 - (~Lr(e, "!important") && 10))) {
|
|
1146
1146
|
case 107:
|
|
1147
|
-
return
|
|
1147
|
+
return D(e, ":", ":" + L) + e;
|
|
1148
1148
|
case 101:
|
|
1149
|
-
return
|
|
1149
|
+
return D(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (re(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + oe + "$2box$3") + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
break;
|
|
1152
1152
|
case 5936:
|
|
1153
|
-
switch (
|
|
1153
|
+
switch (re(e, r + 11)) {
|
|
1154
1154
|
case 114:
|
|
1155
|
-
return L + e + oe +
|
|
1155
|
+
return L + e + oe + D(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1156
1156
|
case 108:
|
|
1157
|
-
return L + e + oe +
|
|
1157
|
+
return L + e + oe + D(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1158
1158
|
case 45:
|
|
1159
|
-
return L + e + oe +
|
|
1159
|
+
return L + e + oe + D(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1160
1160
|
}
|
|
1161
1161
|
return L + e + oe + e + e;
|
|
1162
1162
|
}
|
|
@@ -1165,29 +1165,29 @@ function kt(e, r) {
|
|
|
1165
1165
|
var Pn = function(r, t, a, i) {
|
|
1166
1166
|
if (r.length > -1 && !r.return)
|
|
1167
1167
|
switch (r.type) {
|
|
1168
|
-
case
|
|
1168
|
+
case Yr:
|
|
1169
1169
|
r.return = kt(r.value, r.length);
|
|
1170
1170
|
break;
|
|
1171
1171
|
case vt:
|
|
1172
|
-
return
|
|
1173
|
-
value:
|
|
1172
|
+
return rr([lr(r, {
|
|
1173
|
+
value: D(r.value, "@", "@" + L)
|
|
1174
1174
|
})], i);
|
|
1175
|
-
case
|
|
1175
|
+
case zr:
|
|
1176
1176
|
if (r.length)
|
|
1177
1177
|
return sn(r.props, function(o) {
|
|
1178
1178
|
switch (on(o, /(::plac\w+|:read-\w+)/)) {
|
|
1179
1179
|
case ":read-only":
|
|
1180
1180
|
case ":read-write":
|
|
1181
|
-
return
|
|
1182
|
-
props: [
|
|
1181
|
+
return rr([lr(r, {
|
|
1182
|
+
props: [D(o, /:(read-\w+)/, ":" + wr + "$1")]
|
|
1183
1183
|
})], i);
|
|
1184
1184
|
case "::placeholder":
|
|
1185
|
-
return
|
|
1186
|
-
props: [
|
|
1187
|
-
}),
|
|
1188
|
-
props: [
|
|
1189
|
-
}),
|
|
1190
|
-
props: [
|
|
1185
|
+
return rr([lr(r, {
|
|
1186
|
+
props: [D(o, /:(plac\w+)/, ":" + L + "input-$1")]
|
|
1187
|
+
}), lr(r, {
|
|
1188
|
+
props: [D(o, /:(plac\w+)/, ":" + wr + "$1")]
|
|
1189
|
+
}), lr(r, {
|
|
1190
|
+
props: [D(o, /:(plac\w+)/, oe + "input-$1")]
|
|
1191
1191
|
})], i);
|
|
1192
1192
|
}
|
|
1193
1193
|
return "";
|
|
@@ -1227,11 +1227,11 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1227
1227
|
}), Tn);
|
|
1228
1228
|
{
|
|
1229
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 !==
|
|
1230
|
+
b.root || (b.return ? m.insert(b.return) : b.value && b.type !== Br && m.insert(b.value + "{}"));
|
|
1231
1231
|
} : bn(function(b) {
|
|
1232
1232
|
m.insert(b);
|
|
1233
1233
|
})], y = vn(v.concat(i, h)), k = function(x) {
|
|
1234
|
-
return
|
|
1234
|
+
return rr(gn(x), y);
|
|
1235
1235
|
};
|
|
1236
1236
|
d = function(x, _, S, P) {
|
|
1237
1237
|
m = S, process.env.NODE_ENV !== "production" && _.map !== void 0 && (m = {
|
|
@@ -1257,7 +1257,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1257
1257
|
insert: d
|
|
1258
1258
|
};
|
|
1259
1259
|
return N.sheet.hydrate(u), N;
|
|
1260
|
-
},
|
|
1260
|
+
}, Mr = { exports: {} }, M = {};
|
|
1261
1261
|
/** @license React v16.13.1
|
|
1262
1262
|
* react-is.production.min.js
|
|
1263
1263
|
*
|
|
@@ -1269,13 +1269,13 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1269
1269
|
var ot;
|
|
1270
1270
|
function In() {
|
|
1271
1271
|
if (ot)
|
|
1272
|
-
return
|
|
1272
|
+
return M;
|
|
1273
1273
|
ot = 1;
|
|
1274
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, i = e ? Symbol.for("react.strict_mode") : 60108, o = 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
1275
|
function P(f) {
|
|
1276
1276
|
if (typeof f == "object" && f !== null) {
|
|
1277
|
-
var
|
|
1278
|
-
switch (
|
|
1277
|
+
var z = f.$$typeof;
|
|
1278
|
+
switch (z) {
|
|
1279
1279
|
case r:
|
|
1280
1280
|
switch (f = f.type, f) {
|
|
1281
1281
|
case d:
|
|
@@ -1294,44 +1294,44 @@ function In() {
|
|
|
1294
1294
|
case l:
|
|
1295
1295
|
return f;
|
|
1296
1296
|
default:
|
|
1297
|
-
return
|
|
1297
|
+
return z;
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
case t:
|
|
1301
|
-
return
|
|
1301
|
+
return z;
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
function I(f) {
|
|
1306
1306
|
return P(f) === v;
|
|
1307
1307
|
}
|
|
1308
|
-
return
|
|
1308
|
+
return M.AsyncMode = d, M.ConcurrentMode = v, M.ContextConsumer = u, M.ContextProvider = l, M.Element = r, M.ForwardRef = m, M.Fragment = a, M.Lazy = N, M.Memo = k, M.Portal = t, M.Profiler = o, M.StrictMode = i, M.Suspense = h, M.isAsyncMode = function(f) {
|
|
1309
1309
|
return I(f) || P(f) === d;
|
|
1310
|
-
},
|
|
1310
|
+
}, M.isConcurrentMode = I, M.isContextConsumer = function(f) {
|
|
1311
1311
|
return P(f) === u;
|
|
1312
|
-
},
|
|
1312
|
+
}, M.isContextProvider = function(f) {
|
|
1313
1313
|
return P(f) === l;
|
|
1314
|
-
},
|
|
1314
|
+
}, M.isElement = function(f) {
|
|
1315
1315
|
return typeof f == "object" && f !== null && f.$$typeof === r;
|
|
1316
|
-
},
|
|
1316
|
+
}, M.isForwardRef = function(f) {
|
|
1317
1317
|
return P(f) === m;
|
|
1318
|
-
},
|
|
1318
|
+
}, M.isFragment = function(f) {
|
|
1319
1319
|
return P(f) === a;
|
|
1320
|
-
},
|
|
1320
|
+
}, M.isLazy = function(f) {
|
|
1321
1321
|
return P(f) === N;
|
|
1322
|
-
},
|
|
1322
|
+
}, M.isMemo = function(f) {
|
|
1323
1323
|
return P(f) === k;
|
|
1324
|
-
},
|
|
1324
|
+
}, M.isPortal = function(f) {
|
|
1325
1325
|
return P(f) === t;
|
|
1326
|
-
},
|
|
1326
|
+
}, M.isProfiler = function(f) {
|
|
1327
1327
|
return P(f) === o;
|
|
1328
|
-
},
|
|
1328
|
+
}, M.isStrictMode = function(f) {
|
|
1329
1329
|
return P(f) === i;
|
|
1330
|
-
},
|
|
1330
|
+
}, M.isSuspense = function(f) {
|
|
1331
1331
|
return P(f) === h;
|
|
1332
|
-
},
|
|
1332
|
+
}, M.isValidElementType = function(f) {
|
|
1333
1333
|
return typeof f == "string" || typeof f == "function" || f === a || f === v || f === o || f === i || 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
|
-
},
|
|
1334
|
+
}, M.typeOf = P, M;
|
|
1335
1335
|
}
|
|
1336
1336
|
var F = {};
|
|
1337
1337
|
/** @license React v16.13.1
|
|
@@ -1352,8 +1352,8 @@ function $n() {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
function I(s) {
|
|
1354
1354
|
if (typeof s == "object" && s !== null) {
|
|
1355
|
-
var
|
|
1356
|
-
switch (
|
|
1355
|
+
var E = s.$$typeof;
|
|
1356
|
+
switch (E) {
|
|
1357
1357
|
case r:
|
|
1358
1358
|
var W = s.type;
|
|
1359
1359
|
switch (W) {
|
|
@@ -1374,17 +1374,17 @@ function $n() {
|
|
|
1374
1374
|
case l:
|
|
1375
1375
|
return de;
|
|
1376
1376
|
default:
|
|
1377
|
-
return
|
|
1377
|
+
return E;
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
case t:
|
|
1381
|
-
return
|
|
1381
|
+
return E;
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
|
-
var f = d,
|
|
1386
|
-
function
|
|
1387
|
-
return
|
|
1385
|
+
var f = d, z = v, C = u, Oe = l, Ee = r, Ae = m, Ie = a, ue = N, H = k, J = t, fe = o, X = i, we = h, te = !1;
|
|
1386
|
+
function ne(s) {
|
|
1387
|
+
return te || (te = !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.")), ee(s) || I(s) === d;
|
|
1388
1388
|
}
|
|
1389
1389
|
function ee(s) {
|
|
1390
1390
|
return I(s) === v;
|
|
@@ -1419,20 +1419,20 @@ function $n() {
|
|
|
1419
1419
|
function be(s) {
|
|
1420
1420
|
return I(s) === i;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function Fe(s) {
|
|
1423
1423
|
return I(s) === h;
|
|
1424
1424
|
}
|
|
1425
|
-
F.AsyncMode = f, F.ConcurrentMode =
|
|
1425
|
+
F.AsyncMode = f, F.ConcurrentMode = z, F.ContextConsumer = C, F.ContextProvider = Oe, F.Element = Ee, F.ForwardRef = Ae, F.Fragment = Ie, F.Lazy = ue, F.Memo = H, F.Portal = J, F.Profiler = fe, F.StrictMode = X, F.Suspense = we, F.isAsyncMode = ne, F.isConcurrentMode = ee, F.isContextConsumer = Ne, F.isContextProvider = ke, F.isElement = Ce, F.isForwardRef = $e, F.isFragment = _e, F.isLazy = ve, F.isMemo = Se, F.isPortal = j, F.isProfiler = ie, F.isStrictMode = be, F.isSuspense = Fe, F.isValidElementType = P, F.typeOf = I;
|
|
1426
1426
|
}()), F;
|
|
1427
1427
|
}
|
|
1428
|
-
process.env.NODE_ENV === "production" ?
|
|
1429
|
-
var Ln =
|
|
1428
|
+
process.env.NODE_ENV === "production" ? Mr.exports = In() : Mr.exports = $n();
|
|
1429
|
+
var Ln = Mr.exports, St = Ln, Dn = {
|
|
1430
1430
|
$$typeof: !0,
|
|
1431
1431
|
render: !0,
|
|
1432
1432
|
defaultProps: !0,
|
|
1433
1433
|
displayName: !0,
|
|
1434
1434
|
propTypes: !0
|
|
1435
|
-
},
|
|
1435
|
+
}, Mn = {
|
|
1436
1436
|
$$typeof: !0,
|
|
1437
1437
|
compare: !0,
|
|
1438
1438
|
defaultProps: !0,
|
|
@@ -1440,8 +1440,8 @@ var Ln = Lr.exports, St = Ln, Mn = {
|
|
|
1440
1440
|
propTypes: !0,
|
|
1441
1441
|
type: !0
|
|
1442
1442
|
}, xt = {};
|
|
1443
|
-
xt[St.ForwardRef] =
|
|
1444
|
-
xt[St.Memo] =
|
|
1443
|
+
xt[St.ForwardRef] = Dn;
|
|
1444
|
+
xt[St.Memo] = Mn;
|
|
1445
1445
|
var Fn = !0;
|
|
1446
1446
|
function jn(e, r, t) {
|
|
1447
1447
|
var a = "";
|
|
@@ -1490,7 +1490,7 @@ function Bn(e) {
|
|
|
1490
1490
|
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
1491
1491
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
1492
1492
|
}
|
|
1493
|
-
var
|
|
1493
|
+
var zn = {
|
|
1494
1494
|
animationIterationCount: 1,
|
|
1495
1495
|
aspectRatio: 1,
|
|
1496
1496
|
borderImageOutset: 1,
|
|
@@ -1541,13 +1541,13 @@ var Un = {
|
|
|
1541
1541
|
}, st = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
1542
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';".
|
|
1543
1543
|
You can read more about this here:
|
|
1544
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
1544
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, Yn = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", Un = /[A-Z]|^ms/g, Rt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wr = function(r) {
|
|
1545
1545
|
return r.charCodeAt(1) === 45;
|
|
1546
1546
|
}, ct = function(r) {
|
|
1547
1547
|
return r != null && typeof r != "boolean";
|
|
1548
|
-
},
|
|
1549
|
-
return
|
|
1550
|
-
}),
|
|
1548
|
+
}, Ar = /* @__PURE__ */ yn(function(e) {
|
|
1549
|
+
return Wr(e) ? e : e.replace(Un, "-$&").toLowerCase();
|
|
1550
|
+
}), Nr = function(r, t) {
|
|
1551
1551
|
switch (r) {
|
|
1552
1552
|
case "animation":
|
|
1553
1553
|
case "animationName":
|
|
@@ -1560,21 +1560,21 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
1560
1560
|
}, i;
|
|
1561
1561
|
});
|
|
1562
1562
|
}
|
|
1563
|
-
return
|
|
1563
|
+
return zn[r] !== 1 && !Wr(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1564
1564
|
};
|
|
1565
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 =
|
|
1567
|
-
|
|
1566
|
+
var Wn = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, qn = ["normal", "none", "initial", "inherit", "unset"], Gn = Nr, Kn = /^-ms-/, Hn = /-(.)/g, lt = {};
|
|
1567
|
+
Nr = function(r, t) {
|
|
1568
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
1569
|
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + t + "\"'`");
|
|
1570
1570
|
var a = Gn(r, t);
|
|
1571
|
-
return a !== "" && !
|
|
1571
|
+
return a !== "" && !Wr(r) && r.indexOf("-") !== -1 && lt[r] === void 0 && (lt[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(i, o) {
|
|
1572
1572
|
return o.toUpperCase();
|
|
1573
1573
|
}) + "?")), a;
|
|
1574
1574
|
};
|
|
1575
1575
|
}
|
|
1576
1576
|
var Ct = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1577
|
-
function
|
|
1577
|
+
function dr(e, r, t) {
|
|
1578
1578
|
if (t == null)
|
|
1579
1579
|
return "";
|
|
1580
1580
|
if (t.__emotion_styles !== void 0) {
|
|
@@ -1609,7 +1609,7 @@ function fr(e, r, t) {
|
|
|
1609
1609
|
case "function": {
|
|
1610
1610
|
if (e !== void 0) {
|
|
1611
1611
|
var o = Re, l = t(e);
|
|
1612
|
-
return Re = o,
|
|
1612
|
+
return Re = o, dr(e, r, l);
|
|
1613
1613
|
} else
|
|
1614
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
1615
|
break;
|
|
@@ -1638,28 +1638,28 @@ function Jn(e, r, t) {
|
|
|
1638
1638
|
var a = "";
|
|
1639
1639
|
if (Array.isArray(t))
|
|
1640
1640
|
for (var i = 0; i < t.length; i++)
|
|
1641
|
-
a +=
|
|
1641
|
+
a += dr(e, r, t[i]) + ";";
|
|
1642
1642
|
else
|
|
1643
1643
|
for (var o in t) {
|
|
1644
1644
|
var l = t[o];
|
|
1645
1645
|
if (typeof l != "object")
|
|
1646
|
-
r != null && r[l] !== void 0 ? a += o + "{" + r[l] + "}" : ct(l) && (a +=
|
|
1646
|
+
r != null && r[l] !== void 0 ? a += o + "{" + r[l] + "}" : ct(l) && (a += Ar(o) + ":" + Nr(o, l) + ";");
|
|
1647
1647
|
else {
|
|
1648
1648
|
if (o === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
1649
1649
|
throw new Error(Ct);
|
|
1650
1650
|
if (Array.isArray(l) && typeof l[0] == "string" && (r == null || r[l[0]] === void 0))
|
|
1651
1651
|
for (var u = 0; u < l.length; u++)
|
|
1652
|
-
ct(l[u]) && (a +=
|
|
1652
|
+
ct(l[u]) && (a += Ar(o) + ":" + Nr(o, l[u]) + ";");
|
|
1653
1653
|
else {
|
|
1654
|
-
var d =
|
|
1654
|
+
var d = dr(e, r, l);
|
|
1655
1655
|
switch (o) {
|
|
1656
1656
|
case "animation":
|
|
1657
1657
|
case "animationName": {
|
|
1658
|
-
a +=
|
|
1658
|
+
a += Ar(o) + ":" + d + ";";
|
|
1659
1659
|
break;
|
|
1660
1660
|
}
|
|
1661
1661
|
default:
|
|
1662
|
-
process.env.NODE_ENV !== "production" && o === "undefined" && console.error(
|
|
1662
|
+
process.env.NODE_ENV !== "production" && o === "undefined" && console.error(Yn), a += o + "{" + d + "}";
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
}
|
|
@@ -1674,9 +1674,9 @@ var Re, ft = function(r, t, a) {
|
|
|
1674
1674
|
var i = !0, o = "";
|
|
1675
1675
|
Re = void 0;
|
|
1676
1676
|
var l = r[0];
|
|
1677
|
-
l == null || l.raw === void 0 ? (i = !1, o +=
|
|
1677
|
+
l == null || l.raw === void 0 ? (i = !1, o += dr(a, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(st), o += l[0]);
|
|
1678
1678
|
for (var u = 1; u < r.length; u++)
|
|
1679
|
-
o +=
|
|
1679
|
+
o += dr(a, t, r[u]), i && (process.env.NODE_ENV !== "production" && l[u] === void 0 && console.error(st), o += l[u]);
|
|
1680
1680
|
var d;
|
|
1681
1681
|
process.env.NODE_ENV !== "production" && (o = o.replace(Tt, function(y) {
|
|
1682
1682
|
return d = y, "";
|
|
@@ -1700,7 +1700,7 @@ var Re, ft = function(r, t, a) {
|
|
|
1700
1700
|
};
|
|
1701
1701
|
}, Xn = function(r) {
|
|
1702
1702
|
return r();
|
|
1703
|
-
}, Zn =
|
|
1703
|
+
}, Zn = Me["useInsertionEffect"] ? Me["useInsertionEffect"] : !1, Qn = Zn || Xn, Rr = {}.hasOwnProperty, qr = /* @__PURE__ */ Me.createContext(
|
|
1704
1704
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1705
1705
|
// because this module is primarily intended for the browser and node
|
|
1706
1706
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1711,14 +1711,14 @@ var Re, ft = function(r, t, a) {
|
|
|
1711
1711
|
key: "css"
|
|
1712
1712
|
}) : null
|
|
1713
1713
|
);
|
|
1714
|
-
process.env.NODE_ENV !== "production" && (
|
|
1715
|
-
|
|
1714
|
+
process.env.NODE_ENV !== "production" && (qr.displayName = "EmotionCacheContext");
|
|
1715
|
+
qr.Provider;
|
|
1716
1716
|
var ea = function(r) {
|
|
1717
1717
|
return /* @__PURE__ */ pt(function(t, a) {
|
|
1718
|
-
var i = Vt(
|
|
1718
|
+
var i = Vt(qr);
|
|
1719
1719
|
return r(t, i, a);
|
|
1720
1720
|
});
|
|
1721
|
-
}, Pt = /* @__PURE__ */
|
|
1721
|
+
}, Pt = /* @__PURE__ */ Me.createContext({});
|
|
1722
1722
|
process.env.NODE_ENV !== "production" && (Pt.displayName = "EmotionThemeContext");
|
|
1723
1723
|
var dt = function(r) {
|
|
1724
1724
|
var t = r.split(".");
|
|
@@ -1741,16 +1741,16 @@ var dt = function(r) {
|
|
|
1741
1741
|
return na(i);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
-
},
|
|
1744
|
+
}, Fr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", jr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Ot = function(r, t) {
|
|
1745
1745
|
if (process.env.NODE_ENV !== "production" && typeof t.css == "string" && // check if there is a css declaration
|
|
1746
1746
|
t.css.indexOf(":") !== -1)
|
|
1747
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
1748
|
var a = {};
|
|
1749
1749
|
for (var i in t)
|
|
1750
|
-
|
|
1751
|
-
if (a[
|
|
1750
|
+
Rr.call(t, i) && (a[i] = t[i]);
|
|
1751
|
+
if (a[Fr] = r, process.env.NODE_ENV !== "production" && t.css && (typeof t.css != "object" || typeof t.css.name != "string" || t.css.name.indexOf("-") === -1)) {
|
|
1752
1752
|
var o = aa(new Error().stack);
|
|
1753
|
-
o && (a[
|
|
1753
|
+
o && (a[jr] = o);
|
|
1754
1754
|
}
|
|
1755
1755
|
return a;
|
|
1756
1756
|
}, oa = function(r) {
|
|
@@ -1761,30 +1761,30 @@ var dt = function(r) {
|
|
|
1761
1761
|
}, At = /* @__PURE__ */ ea(function(e, r, t) {
|
|
1762
1762
|
var a = e.css;
|
|
1763
1763
|
typeof a == "string" && r.registered[a] !== void 0 && (a = r.registered[a]);
|
|
1764
|
-
var i = e[
|
|
1764
|
+
var i = e[Fr], o = [a], l = "";
|
|
1765
1765
|
typeof e.className == "string" ? l = jn(r.registered, o, e.className) : e.className != null && (l = e.className + " ");
|
|
1766
|
-
var u = ft(o, void 0,
|
|
1766
|
+
var u = ft(o, void 0, Me.useContext(Pt));
|
|
1767
1767
|
if (process.env.NODE_ENV !== "production" && u.name.indexOf("-") === -1) {
|
|
1768
|
-
var d = e[
|
|
1768
|
+
var d = e[jr];
|
|
1769
1769
|
d && (u = ft([u, "label:" + d + ";"]));
|
|
1770
1770
|
}
|
|
1771
1771
|
l += r.key + "-" + u.name;
|
|
1772
1772
|
var v = {};
|
|
1773
1773
|
for (var m in e)
|
|
1774
|
-
|
|
1775
|
-
return v.ref = t, v.className = l, /* @__PURE__ */
|
|
1774
|
+
Rr.call(e, m) && m !== "css" && m !== Fr && (process.env.NODE_ENV === "production" || m !== jr) && (v[m] = e[m]);
|
|
1775
|
+
return v.ref = t, v.className = l, /* @__PURE__ */ Me.createElement(Me.Fragment, null, /* @__PURE__ */ Me.createElement(oa, {
|
|
1776
1776
|
cache: r,
|
|
1777
1777
|
serialized: u,
|
|
1778
1778
|
isStringTag: typeof i == "string"
|
|
1779
|
-
}), /* @__PURE__ */
|
|
1779
|
+
}), /* @__PURE__ */ Me.createElement(i, v));
|
|
1780
1780
|
});
|
|
1781
1781
|
process.env.NODE_ENV !== "production" && (At.displayName = "EmotionCssPropInternal");
|
|
1782
|
-
var It = At,
|
|
1782
|
+
var It = At, Qe = Jt;
|
|
1783
1783
|
function p(e, r, t) {
|
|
1784
|
-
return
|
|
1784
|
+
return Rr.call(r, "css") ? Qr(It, Ot(e, r), t) : Qr(e, r, t);
|
|
1785
1785
|
}
|
|
1786
1786
|
function ge(e, r, t) {
|
|
1787
|
-
return
|
|
1787
|
+
return Rr.call(r, "css") ? et(It, Ot(e, r), t) : et(e, r, t);
|
|
1788
1788
|
}
|
|
1789
1789
|
function ia(e, r) {
|
|
1790
1790
|
let t = null, a = null;
|
|
@@ -1885,14 +1885,14 @@ const sa = (e, r) => {
|
|
|
1885
1885
|
try {
|
|
1886
1886
|
t.enqueue(this.buffers.shift()), i();
|
|
1887
1887
|
} catch (o) {
|
|
1888
|
-
if (!(o instanceof TypeError && o.message === "ReadableStreamDefaultController.enqueue: Cannot enqueue into a stream that has already been requested to close."))
|
|
1888
|
+
if (!(o instanceof TypeError && (o.message === "ReadableStreamDefaultController.enqueue: Cannot enqueue into a stream that has already been requested to close." || o.message === "Failed to execute 'enqueue' on 'ReadableStreamDefaultController': Cannot enqueue a chunk into a readable stream that is closed or has been requested to be closed")))
|
|
1889
1889
|
throw o;
|
|
1890
1890
|
}
|
|
1891
1891
|
},
|
|
1892
1892
|
cancel() {
|
|
1893
1893
|
this.reader.cancel();
|
|
1894
1894
|
}
|
|
1895
|
-
}), ua =
|
|
1895
|
+
}), ua = kr`
|
|
1896
1896
|
position: relative;
|
|
1897
1897
|
display: grid;
|
|
1898
1898
|
grid-column: 1;
|
|
@@ -1977,7 +1977,7 @@ const sa = (e, r) => {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
) : null
|
|
1979
1979
|
] }), mt = ({ ref: e, defaultValue: r }) => {
|
|
1980
|
-
const [t, a] =
|
|
1980
|
+
const [t, a] = U(r), [i, o] = U(!1), l = (u) => {
|
|
1981
1981
|
if (o(!0), !e.current)
|
|
1982
1982
|
return;
|
|
1983
1983
|
const { clientX: d } = u, { left: v, right: m } = e.current.getBoundingClientRect();
|
|
@@ -2001,7 +2001,7 @@ const sa = (e, r) => {
|
|
|
2001
2001
|
scrub: l
|
|
2002
2002
|
};
|
|
2003
2003
|
}, 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"}]`), gt = (e) => da.find((r) => r.tag === e)?.name, ma = (e) => {
|
|
2004
|
-
const [r, t] =
|
|
2004
|
+
const [r, t] = U(() => {
|
|
2005
2005
|
const a = localStorage.getItem(e);
|
|
2006
2006
|
return a ? JSON.parse(a) : {};
|
|
2007
2007
|
});
|
|
@@ -2013,7 +2013,7 @@ const sa = (e, r) => {
|
|
|
2013
2013
|
r[a],
|
|
2014
2014
|
(o) => t(typeof o == "function" ? (l) => ({ ...l, [a]: o(l[a]) }) : (l) => ({ ...l, [a]: o }))
|
|
2015
2015
|
]);
|
|
2016
|
-
}, ga =
|
|
2016
|
+
}, ga = kr`
|
|
2017
2017
|
position: relative;
|
|
2018
2018
|
grid-column: 1;
|
|
2019
2019
|
grid-row: 1;
|
|
@@ -2294,37 +2294,37 @@ const sa = (e, r) => {
|
|
|
2294
2294
|
customControls: S,
|
|
2295
2295
|
...P
|
|
2296
2296
|
}) => {
|
|
2297
|
-
const I =
|
|
2297
|
+
const I = er(null), f = er(null), [z, C] = U(!1), { scrub: Oe, value: Ee } = mt({ ref: I }), Ae = Ir(() => document.pictureInPictureEnabled, []), [Ie, ue] = U(!1), H = ma("fkn-media-player"), [J, fe] = H("volume", 1), [X, we] = H("muted", !1), { scrub: te, value: ne } = mt({ ref: f, defaultValue: J });
|
|
2298
2298
|
he(() => {
|
|
2299
2299
|
Ie || (ue(!0), _e(void 0));
|
|
2300
2300
|
}, [Ie, _.length]), he(() => {
|
|
2301
|
-
|
|
2302
|
-
}, [
|
|
2301
|
+
Ee !== void 0 && a(Ee * (e ?? 0));
|
|
2302
|
+
}, [Ee]), he(() => {
|
|
2303
2303
|
if (X) {
|
|
2304
|
-
i(0),
|
|
2304
|
+
i(0), we(X), ne && fe(ne);
|
|
2305
2305
|
return;
|
|
2306
2306
|
}
|
|
2307
|
-
|
|
2308
|
-
}, [
|
|
2307
|
+
ne !== void 0 && (i(ne ** 2), fe(ne), we(X));
|
|
2308
|
+
}, [ne, X]);
|
|
2309
2309
|
const ee = () => {
|
|
2310
|
-
|
|
2310
|
+
C(!1);
|
|
2311
2311
|
}, Ne = (s) => {
|
|
2312
|
-
s.currentTarget !== s.relatedTarget && s.relatedTarget !== null ||
|
|
2312
|
+
s.currentTarget !== s.relatedTarget && s.relatedTarget !== null || C(!0);
|
|
2313
2313
|
}, ke = () => {
|
|
2314
|
-
|
|
2315
|
-
}, Ce = (s,
|
|
2316
|
-
v(
|
|
2314
|
+
we((s) => !s);
|
|
2315
|
+
}, Ce = (s, E, W) => {
|
|
2316
|
+
v(E === void 0 ? E : W);
|
|
2317
2317
|
}, $e = (s) => {
|
|
2318
2318
|
if (!o && s.relatedTarget === null) {
|
|
2319
2319
|
l((W) => !W);
|
|
2320
2320
|
return;
|
|
2321
2321
|
}
|
|
2322
2322
|
l(!1);
|
|
2323
|
-
const
|
|
2324
|
-
W.stopPropagation(), l(!0), document.removeEventListener("click",
|
|
2323
|
+
const E = (W) => {
|
|
2324
|
+
W.stopPropagation(), l(!0), document.removeEventListener("click", E);
|
|
2325
2325
|
};
|
|
2326
2326
|
setTimeout(() => {
|
|
2327
|
-
document.addEventListener("click",
|
|
2327
|
+
document.addEventListener("click", E);
|
|
2328
2328
|
}, 0);
|
|
2329
2329
|
}, _e = (s) => {
|
|
2330
2330
|
if (!u && s?.relatedTarget === null) {
|
|
@@ -2332,23 +2332,23 @@ const sa = (e, r) => {
|
|
|
2332
2332
|
return;
|
|
2333
2333
|
}
|
|
2334
2334
|
d(!1);
|
|
2335
|
-
const
|
|
2336
|
-
W.stopPropagation(), d(!0), document.removeEventListener("click",
|
|
2335
|
+
const E = (W) => {
|
|
2336
|
+
W.stopPropagation(), d(!0), document.removeEventListener("click", E);
|
|
2337
2337
|
};
|
|
2338
2338
|
setTimeout(() => {
|
|
2339
|
-
document.addEventListener("click",
|
|
2339
|
+
document.addEventListener("click", E);
|
|
2340
2340
|
}, 0);
|
|
2341
2341
|
}, ve = ({ subtitleTrack: s }) => {
|
|
2342
2342
|
if (!s)
|
|
2343
|
-
return /* @__PURE__ */ p(
|
|
2343
|
+
return /* @__PURE__ */ p(Qe, { children: "Disabled" });
|
|
2344
2344
|
if (!s.title && !s.language)
|
|
2345
|
-
return /* @__PURE__ */ p(
|
|
2346
|
-
const
|
|
2347
|
-
return s.title ? /* @__PURE__ */ ge(
|
|
2345
|
+
return /* @__PURE__ */ p(Qe, { children: "Default" });
|
|
2346
|
+
const E = s.language === "jpn" ? "ja" : gt(s.language) ? gt(s.language) : s.language;
|
|
2347
|
+
return s.title ? /* @__PURE__ */ ge(Qe, { children: [
|
|
2348
2348
|
s.title?.replace("subs", ""),
|
|
2349
|
-
|
|
2350
|
-
] }) : /* @__PURE__ */ p(
|
|
2351
|
-
}, Se =
|
|
2349
|
+
E ? `(${E})` : ""
|
|
2350
|
+
] }) : /* @__PURE__ */ p(Qe, { children: E });
|
|
2351
|
+
}, Se = Ir(
|
|
2352
2352
|
() => [
|
|
2353
2353
|
...new Set(
|
|
2354
2354
|
_.map(
|
|
@@ -2359,14 +2359,14 @@ const sa = (e, r) => {
|
|
|
2359
2359
|
[_]
|
|
2360
2360
|
);
|
|
2361
2361
|
he(() => {
|
|
2362
|
-
|
|
2362
|
+
Ze.rebuild();
|
|
2363
2363
|
}, [y.length]), he(() => {
|
|
2364
|
-
const s = (
|
|
2365
|
-
|
|
2364
|
+
const s = (E) => {
|
|
2365
|
+
E.key === "f" && N(), E.key === "k" && t(), E.key === "m" && ke();
|
|
2366
2366
|
};
|
|
2367
2367
|
return window.addEventListener("keydown", s), () => window.removeEventListener("keydown", s);
|
|
2368
2368
|
}, [N, t, ke]);
|
|
2369
|
-
const [j, ie] =
|
|
2369
|
+
const [j, ie] = U(void 0);
|
|
2370
2370
|
return /* @__PURE__ */ ge("div", { css: ga, onMouseOut: Ne, ...P, children: [
|
|
2371
2371
|
/* @__PURE__ */ p("div", { className: "preview" }),
|
|
2372
2372
|
/* @__PURE__ */ ge(
|
|
@@ -2400,46 +2400,46 @@ const sa = (e, r) => {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
),
|
|
2402
2402
|
/* @__PURE__ */ ge("div", { className: "controls", children: [
|
|
2403
|
-
/* @__PURE__ */ p(
|
|
2403
|
+
/* @__PURE__ */ p(Ze, { id: "play-button-tooltip", effect: "solid", place: "top", children: h ? "Pause (k)" : "Play (k)" }),
|
|
2404
2404
|
/* @__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: [
|
|
2405
2405
|
/* @__PURE__ */ p("rect", { x: "6", y: "4", width: "4", height: "16" }),
|
|
2406
2406
|
/* @__PURE__ */ p("rect", { x: "14", y: "4", width: "4", height: "16" })
|
|
2407
2407
|
] }) : /* @__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" }) }) }),
|
|
2408
2408
|
/* @__PURE__ */ ge("div", { className: "volume-area", onMouseOver: ee, children: [
|
|
2409
|
-
/* @__PURE__ */ p(
|
|
2410
|
-
/* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-for": "mute-button-tooltip", onClick: ke, children: X ? /* @__PURE__ */ p(Jr, {}) : (J ?? 0) > 0.66 ? /* @__PURE__ */ p(
|
|
2411
|
-
/* @__PURE__ */ p("div", { ref: f, className: `volume-panel${
|
|
2409
|
+
/* @__PURE__ */ p(Ze, { id: "mute-button-tooltip", effect: "solid", place: "top", children: X ? "Unmute (m)" : "Mute (m)" }),
|
|
2410
|
+
/* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-for": "mute-button-tooltip", onClick: ke, children: X ? /* @__PURE__ */ p(Jr, {}) : (J ?? 0) > 0.66 ? /* @__PURE__ */ p(Yt, {}) : (J ?? 0) > 0.33 ? /* @__PURE__ */ p(Ut, {}) : (J ?? 0) > 0 ? /* @__PURE__ */ p(Wt, {}) : /* @__PURE__ */ p(Jr, {}) }),
|
|
2411
|
+
/* @__PURE__ */ p("div", { ref: f, className: `volume-panel${z ? "" : " volume-control-hover"}`, onMouseDown: te, children: /* @__PURE__ */ p("div", { className: "slider", children: /* @__PURE__ */ p("div", { className: "slider-handle", style: { left: `${(J ?? 0) * 100}%` } }) }) })
|
|
2412
2412
|
] }),
|
|
2413
2413
|
/* @__PURE__ */ ge("div", { className: "time", children: [
|
|
2414
2414
|
/* @__PURE__ */ p("span", { children: new Date((r ?? 0) * 1e3).toISOString().substr(11, 8) }),
|
|
2415
2415
|
/* @__PURE__ */ p("span", { children: " / " }),
|
|
2416
2416
|
/* @__PURE__ */ p("span", { children: e ? new Date(e * 1e3).toISOString().substr(11, 8) : "" })
|
|
2417
2417
|
] }),
|
|
2418
|
-
/* @__PURE__ */ p("div", { className: "custom-controls", children: S?.length ? S.map((s,
|
|
2419
|
-
/* @__PURE__ */ p("div", { className: "error-area", children: Se.length ? /* @__PURE__ */ ge(
|
|
2418
|
+
/* @__PURE__ */ p("div", { className: "custom-controls", children: S?.length ? S.map((s, E) => /* @__PURE__ */ p(s, {}, E)) : null }),
|
|
2419
|
+
/* @__PURE__ */ p("div", { className: "error-area", children: Se.length ? /* @__PURE__ */ ge(Qe, { children: [
|
|
2420
2420
|
/* @__PURE__ */ p("div", { className: `error-menu ${u ? "hide" : ""}`, children: u ? null : Se }),
|
|
2421
2421
|
/* @__PURE__ */ ge("div", { className: "error-menu-button", onClick: _e, children: [
|
|
2422
2422
|
/* @__PURE__ */ p(qt, {}),
|
|
2423
2423
|
"Error"
|
|
2424
2424
|
] })
|
|
2425
2425
|
] }) : null }),
|
|
2426
|
-
/* @__PURE__ */ p(
|
|
2427
|
-
/* @__PURE__ */ p("div", { className: "subtitle-area", children: y.length ? /* @__PURE__ */ ge(
|
|
2426
|
+
/* @__PURE__ */ p(Ze, { id: "subtitle-button-tooltip", globalEventOff: "click", effect: "solid", place: "top", disable: !o, children: "Subtitles" }),
|
|
2427
|
+
/* @__PURE__ */ p("div", { className: "subtitle-area", children: y.length ? /* @__PURE__ */ ge(Qe, { children: [
|
|
2428
2428
|
/* @__PURE__ */ p("div", { className: `subtitle-menu ${o ? "hide" : ""}`, children: o ? null : [...y, void 0].map(
|
|
2429
|
-
(s,
|
|
2429
|
+
(s, E) => /* @__PURE__ */ p("button", { onClick: (W) => Ce(W, s, E), children: /* @__PURE__ */ p(ve, { subtitleTrack: s }) }, s ? E : "disabled")
|
|
2430
2430
|
) }),
|
|
2431
2431
|
/* @__PURE__ */ p("button", { className: "subtitle-menu-button", "data-tip": !0, "data-for": "subtitle-button-tooltip", onClick: $e, children: /* @__PURE__ */ p(ve, { subtitleTrack: b }) })
|
|
2432
2432
|
] }) : null }),
|
|
2433
|
-
/* @__PURE__ */ p(
|
|
2433
|
+
/* @__PURE__ */ p(Ze, { id: "pip-button-tooltip", effect: "solid", place: "top", children: "Picture in Picture" }),
|
|
2434
2434
|
Ae ? /* @__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: [
|
|
2435
2435
|
/* @__PURE__ */ p("rect", { x: "2", y: "3", width: "21", height: "14", rx: "2", ry: "2" }),
|
|
2436
2436
|
/* @__PURE__ */ p("rect", { x: "12.5", y: "8.5", width: "8", height: "6", rx: "2", ry: "2" })
|
|
2437
2437
|
] }) }) : null,
|
|
2438
|
-
/* @__PURE__ */ p(
|
|
2438
|
+
/* @__PURE__ */ p(Ze, { id: "fullscreen-button-tooltip", effect: "solid", place: "top", children: k ? "Exit full screen (f)" : "Full screen (f)" }),
|
|
2439
2439
|
/* @__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" }) }) })
|
|
2440
2440
|
] })
|
|
2441
2441
|
] });
|
|
2442
|
-
}, pa =
|
|
2442
|
+
}, pa = kr`
|
|
2443
2443
|
--background-padding: 2rem;
|
|
2444
2444
|
display: grid;
|
|
2445
2445
|
grid-template-rows: 1fr;
|
|
@@ -2481,10 +2481,10 @@ overflow: hidden;
|
|
|
2481
2481
|
needsInitialInteraction: P,
|
|
2482
2482
|
...I
|
|
2483
2483
|
}) => {
|
|
2484
|
-
const [f,
|
|
2485
|
-
() =>
|
|
2486
|
-
[
|
|
2487
|
-
), [Ne, ke] =
|
|
2484
|
+
const [f, z] = U(), [C, Oe] = U(!1), [Ee, Ae] = U(!1), [Ie, ue] = U(!1), H = er(), [J, fe] = U(!0), [X, we] = U(), [te, ne] = U(), ee = Ir(
|
|
2485
|
+
() => te !== void 0 ? k[te] : void 0,
|
|
2486
|
+
[te, te !== void 0 && k[te]?.data]
|
|
2487
|
+
), [Ne, ke] = U(!0), Ce = (j) => {
|
|
2488
2488
|
ue(!1), H.current && clearInterval(H.current);
|
|
2489
2489
|
const ie = setTimeout(() => {
|
|
2490
2490
|
ue(!0);
|
|
@@ -2510,10 +2510,10 @@ overflow: hidden;
|
|
|
2510
2510
|
he(() => {
|
|
2511
2511
|
if (!N.current || !f || X || !ee?.data || !y)
|
|
2512
2512
|
return;
|
|
2513
|
-
const j = y.map(({ filename: be, data:
|
|
2513
|
+
const j = y.map(({ filename: be, data: Fe }) => [
|
|
2514
2514
|
be.toLowerCase().replaceAll("-", " ").split(".").at(0),
|
|
2515
|
-
|
|
2516
|
-
]), ie = new
|
|
2515
|
+
Fe
|
|
2516
|
+
]), ie = new zt({
|
|
2517
2517
|
video: N.current,
|
|
2518
2518
|
canvas: f,
|
|
2519
2519
|
subContent: ee.data,
|
|
@@ -2523,9 +2523,9 @@ overflow: hidden;
|
|
|
2523
2523
|
// Link to WebAssembly-based file "libassjs-worker.js",
|
|
2524
2524
|
modernWasmUrl: S
|
|
2525
2525
|
});
|
|
2526
|
-
|
|
2526
|
+
we(ie);
|
|
2527
2527
|
}, [f, y, ee?.data]), he(() => {
|
|
2528
|
-
k.length &&
|
|
2528
|
+
k.length && ne(0);
|
|
2529
2529
|
}, [k.length]), he(() => {
|
|
2530
2530
|
if (!X)
|
|
2531
2531
|
return;
|
|
@@ -2533,10 +2533,10 @@ overflow: hidden;
|
|
|
2533
2533
|
X.freeTrack();
|
|
2534
2534
|
return;
|
|
2535
2535
|
}
|
|
2536
|
-
X.setTrack(ee.data), !(!f?.parentElement ||
|
|
2537
|
-
}, [X, ee,
|
|
2536
|
+
X.setTrack(ee.data), !(!f?.parentElement || C) && Oe(!0);
|
|
2537
|
+
}, [X, ee, C]);
|
|
2538
2538
|
const Se = (j) => {
|
|
2539
|
-
j &&
|
|
2539
|
+
j && z(j);
|
|
2540
2540
|
};
|
|
2541
2541
|
return /* @__PURE__ */ ge("div", { ...I, css: pa, onMouseMove: Ce, onMouseOut: $e, className: `chrome ${I.className ?? ""} ${Ie ? "hide" : ""}`, children: [
|
|
2542
2542
|
/* @__PURE__ */ p(fa, { needsInitialInteraction: P, loading: t, togglePlay: _e, setCanvasRef: Se }),
|
|
@@ -2547,10 +2547,10 @@ overflow: hidden;
|
|
|
2547
2547
|
className: `bottom ${P ? "hide" : ""}`,
|
|
2548
2548
|
toggleFullscreen: ve,
|
|
2549
2549
|
togglePlay: _e,
|
|
2550
|
-
isFullscreen:
|
|
2550
|
+
isFullscreen: Ee,
|
|
2551
2551
|
pictureInPicture: l,
|
|
2552
2552
|
seek: v,
|
|
2553
|
-
setCurrentSubtitleTrack:
|
|
2553
|
+
setCurrentSubtitleTrack: ne,
|
|
2554
2554
|
isSubtitleMenuHidden: J,
|
|
2555
2555
|
setIsSubtitleMenuHidden: fe,
|
|
2556
2556
|
isErrorMenuHidden: Ne,
|
|
@@ -2567,7 +2567,7 @@ overflow: hidden;
|
|
|
2567
2567
|
}
|
|
2568
2568
|
)
|
|
2569
2569
|
] });
|
|
2570
|
-
}, ba = 25e5, ya =
|
|
2570
|
+
}, ba = 25e5, ya = kr`
|
|
2571
2571
|
display: grid;
|
|
2572
2572
|
justify-content: center;
|
|
2573
2573
|
background-color: #111;
|
|
@@ -2600,77 +2600,77 @@ overflow: hidden;
|
|
|
2600
2600
|
libassWorkerUrl: v,
|
|
2601
2601
|
makeTransmuxer: m = Bt
|
|
2602
2602
|
}, h) => {
|
|
2603
|
-
const [y, k] =
|
|
2603
|
+
const [y, k] = U(!0), N = er(null), b = er(), [x, _] = U(), [S, P] = U(!(b?.current?.paused ?? !0)), [I, f] = U(0), [z, C] = U(void 0), [Oe, Ee] = U([]), [Ae, Ie] = U([]), [ue, H] = U(), [J, fe] = U([0, 0]), [X, we] = U(!1), te = er(a);
|
|
2604
2604
|
he(() => {
|
|
2605
|
-
|
|
2605
|
+
te.current = a;
|
|
2606
2606
|
}, [a]), he(() => {
|
|
2607
2607
|
if (!t || !x)
|
|
2608
2608
|
return;
|
|
2609
|
-
let
|
|
2609
|
+
let E, W;
|
|
2610
2610
|
return (async () => {
|
|
2611
|
-
|
|
2611
|
+
E = m({
|
|
2612
2612
|
publicPath: o,
|
|
2613
2613
|
workerUrl: u,
|
|
2614
2614
|
workerOptions: d,
|
|
2615
2615
|
bufferSize: r,
|
|
2616
2616
|
length: t,
|
|
2617
|
-
getStream: (
|
|
2617
|
+
getStream: (R, O) => te.current(R, O ? Math.min(R + O, t) - 1 : void 0).then(
|
|
2618
2618
|
(q) => O ? q.body : la(3)(
|
|
2619
2619
|
ca(r)(
|
|
2620
2620
|
q.body
|
|
2621
2621
|
)
|
|
2622
2622
|
)
|
|
2623
2623
|
),
|
|
2624
|
-
subtitle: (
|
|
2625
|
-
|
|
2626
|
-
(G) => G.find(({ title:
|
|
2624
|
+
subtitle: (R, O, q) => {
|
|
2625
|
+
Ee(
|
|
2626
|
+
(G) => G.find(({ title: ce }) => ce === R) ? G.map((ce) => ce.title === R ? { title: R, language: O, data: q } : ce) : [...G, { title: R, language: O, data: q }]
|
|
2627
2627
|
);
|
|
2628
2628
|
},
|
|
2629
|
-
attachment: (
|
|
2630
|
-
|
|
2629
|
+
attachment: (R, O, q) => {
|
|
2630
|
+
z?.find(({ filename: G }) => R === G) || C((G) => [
|
|
2631
2631
|
...G ?? [],
|
|
2632
|
-
{ filename:
|
|
2632
|
+
{ filename: R, mimetype: O, data: new Uint8Array(q) }
|
|
2633
2633
|
]);
|
|
2634
2634
|
}
|
|
2635
2635
|
});
|
|
2636
|
-
const de = await
|
|
2637
|
-
if (!
|
|
2636
|
+
const de = await E, je = await de.init();
|
|
2637
|
+
if (!je)
|
|
2638
2638
|
throw new Error("No header chunk found after remuxer init");
|
|
2639
|
-
const
|
|
2640
|
-
H(
|
|
2641
|
-
console.error(
|
|
2639
|
+
const Ye = await de.getInfo(), ar = Ye.input.duration / 1e6;
|
|
2640
|
+
H(ar), x.addEventListener("error", (R) => {
|
|
2641
|
+
console.error(R.target?.error);
|
|
2642
2642
|
});
|
|
2643
2643
|
const Le = new MediaSource();
|
|
2644
2644
|
x.src = URL.createObjectURL(Le);
|
|
2645
2645
|
const me = await new Promise(
|
|
2646
|
-
(
|
|
2646
|
+
(R) => Le.addEventListener(
|
|
2647
2647
|
"sourceopen",
|
|
2648
2648
|
() => {
|
|
2649
|
-
const O = Le.addSourceBuffer(`video/mp4; codecs="${
|
|
2650
|
-
Le.duration =
|
|
2649
|
+
const O = Le.addSourceBuffer(`video/mp4; codecs="${Ye.input.video_mime_type},${Ye.input.audio_mime_type}"`);
|
|
2650
|
+
Le.duration = ar, O.mode = "segments", R(O);
|
|
2651
2651
|
},
|
|
2652
2652
|
{ once: !0 }
|
|
2653
2653
|
)
|
|
2654
|
-
),
|
|
2655
|
-
const q = (
|
|
2656
|
-
|
|
2657
|
-
}, G = (
|
|
2658
|
-
|
|
2659
|
-
},
|
|
2660
|
-
console.error(
|
|
2661
|
-
},
|
|
2662
|
-
me.removeEventListener("updateend", q), me.removeEventListener("abort", G), me.removeEventListener("error",
|
|
2654
|
+
), gr = new Gt({ concurrency: 1 }), Ue = (R, O) => {
|
|
2655
|
+
const q = (Y) => {
|
|
2656
|
+
R(Y), B();
|
|
2657
|
+
}, G = (Y) => {
|
|
2658
|
+
R(Y), B();
|
|
2659
|
+
}, ce = (Y) => {
|
|
2660
|
+
console.error(Y), O(Y), B();
|
|
2661
|
+
}, B = () => {
|
|
2662
|
+
me.removeEventListener("updateend", q), me.removeEventListener("abort", G), me.removeEventListener("error", ce);
|
|
2663
2663
|
};
|
|
2664
|
-
me.addEventListener("updateend", q, { once: !0 }), me.addEventListener("abort", G, { once: !0 }), me.addEventListener("error",
|
|
2665
|
-
},
|
|
2664
|
+
me.addEventListener("updateend", q, { once: !0 }), me.addEventListener("abort", G, { once: !0 }), me.addEventListener("error", ce, { once: !0 });
|
|
2665
|
+
}, We = (R) => gr.add(
|
|
2666
2666
|
() => new Promise((O, q) => {
|
|
2667
|
-
|
|
2667
|
+
Ue(O, q), me.appendBuffer(R);
|
|
2668
2668
|
})
|
|
2669
|
-
),
|
|
2669
|
+
), hr = async (R, O) => gr.add(
|
|
2670
2670
|
() => new Promise((q, G) => {
|
|
2671
|
-
|
|
2671
|
+
Ue(q, G), me.remove(R, O);
|
|
2672
2672
|
})
|
|
2673
|
-
),
|
|
2673
|
+
), or = () => Array(me.buffered.length).fill(void 0).map((R, O) => ({
|
|
2674
2674
|
index: O,
|
|
2675
2675
|
start: me.buffered.start(O),
|
|
2676
2676
|
end: me.buffered.end(O)
|
|
@@ -2679,77 +2679,78 @@ overflow: hidden;
|
|
|
2679
2679
|
x.playbackRate = 1, x.play();
|
|
2680
2680
|
}, { once: !0 });
|
|
2681
2681
|
let se = [];
|
|
2682
|
-
const
|
|
2683
|
-
await
|
|
2684
|
-
let
|
|
2685
|
-
const
|
|
2686
|
-
if (
|
|
2682
|
+
const Ve = 1, Cr = 15;
|
|
2683
|
+
await We(je.buffer);
|
|
2684
|
+
let qe = !1;
|
|
2685
|
+
const Ge = async () => {
|
|
2686
|
+
if (qe)
|
|
2687
2687
|
throw new Error("end");
|
|
2688
|
-
const
|
|
2689
|
-
return
|
|
2688
|
+
const R = await de.read();
|
|
2689
|
+
return R.isTrailer && (qe = !0), se = [...se, R], R;
|
|
2690
2690
|
};
|
|
2691
|
-
let
|
|
2692
|
-
const
|
|
2693
|
-
if (
|
|
2691
|
+
let Be = !1;
|
|
2692
|
+
const Ke = sa(250, async () => {
|
|
2693
|
+
if (Be)
|
|
2694
2694
|
return;
|
|
2695
|
-
const { currentTime:
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
await Ge(
|
|
2695
|
+
const { currentTime: R } = x, O = se.findIndex(({ pts: ae, duration: Je }) => ae <= R && ae + Je >= R), q = Math.max(0, O - Ve), G = () => {
|
|
2696
|
+
const ae = se.at(-1);
|
|
2697
|
+
return ae ? ae.pts + ae.duration : 0;
|
|
2698
|
+
};
|
|
2699
|
+
for (; G() < R + Cr; ) {
|
|
2700
|
+
const ae = await Ge();
|
|
2701
|
+
await We(ae.buffer);
|
|
2701
2702
|
}
|
|
2702
2703
|
q && (se = se.slice(q));
|
|
2703
|
-
const
|
|
2704
|
-
if (!
|
|
2704
|
+
const ce = or(), B = se.at(0), Y = se.at(-1);
|
|
2705
|
+
if (!B || !Y || B === Y)
|
|
2705
2706
|
return;
|
|
2706
|
-
const
|
|
2707
|
-
for (const { start:
|
|
2708
|
-
se.findIndex(({ pts:
|
|
2709
|
-
|
|
2710
|
-
|
|
2707
|
+
const He = B.pts;
|
|
2708
|
+
for (const { start: ae, end: Je } of ce)
|
|
2709
|
+
se.findIndex(({ pts: pr, duration: ir }) => ae <= pr + ir / 2 && pr + ir / 2 <= Je) === -1 ? await hr(ae, Je) : ae < He && await hr(
|
|
2710
|
+
ae,
|
|
2711
|
+
He
|
|
2711
2712
|
);
|
|
2712
2713
|
});
|
|
2713
|
-
let
|
|
2714
|
-
const
|
|
2714
|
+
let ze;
|
|
2715
|
+
const Tr = ia(250, async (R) => {
|
|
2715
2716
|
try {
|
|
2716
|
-
|
|
2717
|
-
const O = await
|
|
2718
|
-
me.timestampOffset = O.pts, await
|
|
2717
|
+
qe = !1, ze === void 0 && (ze = x.paused), Be = !0, se = [], await de.seek(R);
|
|
2718
|
+
const O = await Ge();
|
|
2719
|
+
me.timestampOffset = O.pts, await We(O.buffer), ze === !1 && await x.play(), Be = !1, await Ke(), ze === !1 && await x.play(), ze = void 0;
|
|
2719
2720
|
} catch (O) {
|
|
2720
2721
|
if (O.message !== "exit")
|
|
2721
2722
|
throw O;
|
|
2722
2723
|
}
|
|
2723
|
-
}),
|
|
2724
|
-
|
|
2725
|
-
|
|
2724
|
+
}), Pr = await Ge();
|
|
2725
|
+
We(Pr.buffer), x.addEventListener("timeupdate", () => {
|
|
2726
|
+
Ke();
|
|
2726
2727
|
}), x.addEventListener("waiting", () => {
|
|
2727
|
-
|
|
2728
|
-
}), x.addEventListener("seeking", (
|
|
2729
|
-
|
|
2730
|
-
}),
|
|
2731
|
-
const
|
|
2728
|
+
Ke();
|
|
2729
|
+
}), x.addEventListener("seeking", (R) => {
|
|
2730
|
+
Tr(x.currentTime);
|
|
2731
|
+
}), Ke(), W = window.setInterval(() => {
|
|
2732
|
+
const R = or(), O = R.sort(({ start: B }, { start: Y }) => B - Y).at(0), q = R.sort(({ end: B }, { end: Y }) => B - Y).at(-1);
|
|
2732
2733
|
if (!O || !q)
|
|
2733
2734
|
return;
|
|
2734
|
-
let G = se.filter(({ pts:
|
|
2735
|
-
G === void 0 ||
|
|
2735
|
+
let G = se.filter(({ pts: B, duration: Y }) => B + Y / 2 > O.start).sort(({ pts: B }, { pts: Y }) => B - Y).at(0)?.pts, ce = se.filter(({ pts: B, duration: Y }) => B + Y / 2 < q.end).sort(({ pts: B }, { pts: Y }) => B - Y).at(-1)?.pts;
|
|
2736
|
+
G === void 0 || ce === void 0 || fe([G, ce]);
|
|
2736
2737
|
}, 200);
|
|
2737
2738
|
})(), () => {
|
|
2738
|
-
|
|
2739
|
+
E.then((de) => de.destroy(!0)), window.clearInterval(W);
|
|
2739
2740
|
};
|
|
2740
2741
|
}, [t, x]);
|
|
2741
|
-
const
|
|
2742
|
+
const ne = (E) => {
|
|
2742
2743
|
k(!0);
|
|
2743
|
-
}, [ee, Ne] =
|
|
2744
|
+
}, [ee, Ne] = U(!1), ke = (E) => {
|
|
2744
2745
|
Ne(!1);
|
|
2745
|
-
}, Ce = (
|
|
2746
|
+
}, Ce = (E) => {
|
|
2746
2747
|
b.current && (Ne(!0), f(b.current?.currentTime ?? 0));
|
|
2747
|
-
}, $e = (
|
|
2748
|
-
x && (x.currentTime =
|
|
2749
|
-
}, _e = (
|
|
2748
|
+
}, $e = (E) => {
|
|
2749
|
+
x && (x.currentTime = E, Ne(!0));
|
|
2750
|
+
}, _e = (E) => {
|
|
2750
2751
|
ee || (f(b.current?.currentTime ?? 0), k(!1));
|
|
2751
|
-
}, ve = (
|
|
2752
|
-
P(
|
|
2752
|
+
}, ve = (E) => (W) => {
|
|
2753
|
+
P(E);
|
|
2753
2754
|
}, Se = () => {
|
|
2754
2755
|
if (document.pictureInPictureElement)
|
|
2755
2756
|
return document.exitPictureInPicture();
|
|
@@ -2759,10 +2760,10 @@ overflow: hidden;
|
|
|
2759
2760
|
return document.exitFullscreen();
|
|
2760
2761
|
N.current?.requestFullscreen();
|
|
2761
2762
|
}, ie = async () => {
|
|
2762
|
-
|
|
2763
|
-
}, be = (
|
|
2764
|
-
b.current && (b.current.volume =
|
|
2765
|
-
},
|
|
2763
|
+
we(!1), b.current?.paused ? await b.current?.play() : await b.current?.pause();
|
|
2764
|
+
}, be = (E) => {
|
|
2765
|
+
b.current && (b.current.volume = E);
|
|
2766
|
+
}, Fe = () => {
|
|
2766
2767
|
if (b.current)
|
|
2767
2768
|
return b.current.volume;
|
|
2768
2769
|
};
|
|
@@ -2770,10 +2771,10 @@ overflow: hidden;
|
|
|
2770
2771
|
/* @__PURE__ */ p(
|
|
2771
2772
|
"video",
|
|
2772
2773
|
{
|
|
2773
|
-
ref: (
|
|
2774
|
-
typeof h == "function" && h(
|
|
2774
|
+
ref: (E) => {
|
|
2775
|
+
typeof h == "function" && h(E), h && "current" in h && (h.current = E), b.current = E ?? void 0, _(b.current);
|
|
2775
2776
|
},
|
|
2776
|
-
onWaiting:
|
|
2777
|
+
onWaiting: ne,
|
|
2777
2778
|
onSeeking: Ce,
|
|
2778
2779
|
onSeeked: ke,
|
|
2779
2780
|
onTimeUpdate: _e,
|
|
@@ -2797,9 +2798,9 @@ overflow: hidden;
|
|
|
2797
2798
|
fullscreen: j,
|
|
2798
2799
|
play: ie,
|
|
2799
2800
|
seek: $e,
|
|
2800
|
-
getVolume:
|
|
2801
|
+
getVolume: Fe,
|
|
2801
2802
|
setVolume: be,
|
|
2802
|
-
attachments:
|
|
2803
|
+
attachments: z,
|
|
2803
2804
|
tracks: Oe,
|
|
2804
2805
|
errors: Ae,
|
|
2805
2806
|
customControls: i,
|