@banou/media-player 0.2.5 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/chrome/bottom.d.ts +4 -2
- package/build/chrome/index.d.ts +3 -1
- package/build/index.js +1123 -1084
- package/build/use-scrub.d.ts +1 -0
- package/package.json +2 -2
- package/src/chrome/bottom.tsx +71 -25
- package/src/chrome/index.tsx +7 -1
- package/src/index.tsx +2 -0
- package/src/main.tsx +1 -1
- package/src/use-scrub.ts +2 -1
- package/src/vite-env.d.ts +1 -1
- package/tsconfig.node.json +9 -9
package/build/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import ht, { forwardRef as pt, useContext as Vt, useState as
|
|
1
|
+
import * as Be from "react";
|
|
2
|
+
import ht, { forwardRef as pt, useContext as Vt, useState as q, useEffect as we, useRef as er, useMemo as Ir } from "react";
|
|
3
3
|
import { css as kr } from "@emotion/react";
|
|
4
4
|
import { makeRemuxer as Bt } from "libav-wasm";
|
|
5
5
|
import zt from "jassub";
|
|
6
|
-
import Ze from "react-tooltip";
|
|
7
6
|
import { VolumeX as Jr, Volume2 as Yt, Volume1 as Ut, Volume as Wt, AlertTriangle as qt } from "react-feather";
|
|
7
|
+
import { Tooltip as ir } from "react-tooltip";
|
|
8
8
|
import Gt from "p-queue";
|
|
9
9
|
var $r = { exports: {} }, sr = {};
|
|
10
10
|
/**
|
|
@@ -21,16 +21,16 @@ function Kt() {
|
|
|
21
21
|
if (Xr)
|
|
22
22
|
return sr;
|
|
23
23
|
Xr = 1;
|
|
24
|
-
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty,
|
|
25
|
-
function l(
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
for (
|
|
29
|
-
a.call(
|
|
30
|
-
if (
|
|
31
|
-
for (
|
|
32
|
-
|
|
33
|
-
return { $$typeof: r, type:
|
|
24
|
+
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
|
+
function l(c, f, g) {
|
|
26
|
+
var d, v = {}, k = null, x = null;
|
|
27
|
+
g !== void 0 && (k = "" + g), f.key !== void 0 && (k = "" + f.key), f.ref !== void 0 && (x = f.ref);
|
|
28
|
+
for (d in f)
|
|
29
|
+
a.call(f, d) && !i.hasOwnProperty(d) && (v[d] = f[d]);
|
|
30
|
+
if (c && c.defaultProps)
|
|
31
|
+
for (d in f = c.defaultProps, f)
|
|
32
|
+
v[d] === void 0 && (v[d] = f[d]);
|
|
33
|
+
return { $$typeof: r, type: c, key: k, ref: x, props: v, _owner: o.current };
|
|
34
34
|
}
|
|
35
35
|
return sr.Fragment = t, sr.jsx = l, sr.jsxs = l, sr;
|
|
36
36
|
}
|
|
@@ -47,51 +47,51 @@ var cr = {};
|
|
|
47
47
|
var Zr;
|
|
48
48
|
function Ht() {
|
|
49
49
|
return Zr || (Zr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
|
-
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"),
|
|
51
|
-
function
|
|
50
|
+
var e = ht, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), y = Symbol.iterator, b = "@@iterator";
|
|
51
|
+
function N(n) {
|
|
52
52
|
if (n === null || typeof n != "object")
|
|
53
53
|
return null;
|
|
54
|
-
var
|
|
55
|
-
return typeof
|
|
54
|
+
var s = y && n[y] || n[b];
|
|
55
|
+
return typeof s == "function" ? s : null;
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var C = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
58
|
function S(n) {
|
|
59
59
|
{
|
|
60
|
-
for (var
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
for (var s = arguments.length, m = new Array(s > 1 ? s - 1 : 0), w = 1; w < s; w++)
|
|
61
|
+
m[w - 1] = arguments[w];
|
|
62
|
+
O("error", n, m);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function O(n, s, m) {
|
|
66
66
|
{
|
|
67
|
-
var w =
|
|
68
|
-
|
|
69
|
-
var
|
|
70
|
-
return String(
|
|
67
|
+
var w = C.ReactDebugCurrentFrame, L = w.getStackAddendum();
|
|
68
|
+
L !== "" && (s += "%s", m = m.concat([L]));
|
|
69
|
+
var z = m.map(function(I) {
|
|
70
|
+
return String(I);
|
|
71
71
|
});
|
|
72
|
-
|
|
72
|
+
z.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, z);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
var
|
|
76
|
-
|
|
77
|
-
function
|
|
78
|
-
return !!(typeof n == "string" || typeof n == "function" || n === a || n ===
|
|
75
|
+
var $ = !1, u = !1, B = !1, _ = !1, $e = !1, ke;
|
|
76
|
+
ke = Symbol.for("react.module.reference");
|
|
77
|
+
function Le(n) {
|
|
78
|
+
return !!(typeof n == "string" || typeof n == "function" || n === a || n === i || $e || n === o || n === g || n === d || _ || n === x || $ || u || B || typeof n == "object" && n !== null && (n.$$typeof === k || n.$$typeof === v || n.$$typeof === l || n.$$typeof === c || n.$$typeof === f || // 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 === ke || n.getModuleId !== void 0));
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Pe(n, s, m) {
|
|
85
85
|
var w = n.displayName;
|
|
86
86
|
if (w)
|
|
87
87
|
return w;
|
|
88
|
-
var
|
|
89
|
-
return
|
|
88
|
+
var L = s.displayName || s.name || "";
|
|
89
|
+
return L !== "" ? m + "(" + L + ")" : m;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function De(n) {
|
|
92
92
|
return n.displayName || "Context";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function ne(n) {
|
|
95
95
|
if (n == null)
|
|
96
96
|
return null;
|
|
97
97
|
if (typeof n.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
@@ -103,32 +103,32 @@ function Ht() {
|
|
|
103
103
|
return "Fragment";
|
|
104
104
|
case t:
|
|
105
105
|
return "Portal";
|
|
106
|
-
case o:
|
|
107
|
-
return "Profiler";
|
|
108
106
|
case i:
|
|
107
|
+
return "Profiler";
|
|
108
|
+
case o:
|
|
109
109
|
return "StrictMode";
|
|
110
|
-
case
|
|
110
|
+
case g:
|
|
111
111
|
return "Suspense";
|
|
112
|
-
case
|
|
112
|
+
case d:
|
|
113
113
|
return "SuspenseList";
|
|
114
114
|
}
|
|
115
115
|
if (typeof n == "object")
|
|
116
116
|
switch (n.$$typeof) {
|
|
117
|
-
case
|
|
118
|
-
var
|
|
119
|
-
return
|
|
117
|
+
case c:
|
|
118
|
+
var s = n;
|
|
119
|
+
return De(s) + ".Consumer";
|
|
120
120
|
case l:
|
|
121
|
-
var
|
|
122
|
-
return
|
|
123
|
-
case
|
|
124
|
-
return
|
|
125
|
-
case
|
|
121
|
+
var m = n;
|
|
122
|
+
return De(m._context) + ".Provider";
|
|
123
|
+
case f:
|
|
124
|
+
return Pe(n, n.render, "ForwardRef");
|
|
125
|
+
case v:
|
|
126
126
|
var w = n.displayName || null;
|
|
127
|
-
return w !== null ? w :
|
|
128
|
-
case
|
|
129
|
-
var
|
|
127
|
+
return w !== null ? w : ne(n.type) || "Memo";
|
|
128
|
+
case k: {
|
|
129
|
+
var L = n, z = L._payload, I = L._init;
|
|
130
130
|
try {
|
|
131
|
-
return
|
|
131
|
+
return ne(I(z));
|
|
132
132
|
} catch {
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
@@ -136,18 +136,18 @@ function Ht() {
|
|
|
136
136
|
}
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
|
-
var
|
|
140
|
-
function
|
|
139
|
+
var X = Object.assign, ce = 0, Se, re, te, le, ae, be, K;
|
|
140
|
+
function ye() {
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
function
|
|
142
|
+
ye.__reactDisabledLog = !0;
|
|
143
|
+
function Me() {
|
|
144
144
|
{
|
|
145
|
-
if (
|
|
146
|
-
|
|
145
|
+
if (ce === 0) {
|
|
146
|
+
Se = console.log, re = console.info, te = console.warn, le = console.error, ae = console.group, be = console.groupCollapsed, K = console.groupEnd;
|
|
147
147
|
var n = {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
150
|
-
value:
|
|
150
|
+
value: ye,
|
|
151
151
|
writable: !0
|
|
152
152
|
};
|
|
153
153
|
Object.defineProperties(console, {
|
|
@@ -160,336 +160,336 @@ function Ht() {
|
|
|
160
160
|
groupEnd: n
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
ce++;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Fe() {
|
|
167
167
|
{
|
|
168
|
-
if (
|
|
168
|
+
if (ce--, ce === 0) {
|
|
169
169
|
var n = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
172
172
|
writable: !0
|
|
173
173
|
};
|
|
174
174
|
Object.defineProperties(console, {
|
|
175
|
-
log:
|
|
176
|
-
value:
|
|
175
|
+
log: X({}, n, {
|
|
176
|
+
value: Se
|
|
177
177
|
}),
|
|
178
|
-
info:
|
|
179
|
-
value:
|
|
178
|
+
info: X({}, n, {
|
|
179
|
+
value: re
|
|
180
180
|
}),
|
|
181
|
-
warn:
|
|
181
|
+
warn: X({}, n, {
|
|
182
182
|
value: te
|
|
183
183
|
}),
|
|
184
|
-
error:
|
|
185
|
-
value:
|
|
184
|
+
error: X({}, n, {
|
|
185
|
+
value: le
|
|
186
186
|
}),
|
|
187
|
-
group:
|
|
188
|
-
value:
|
|
187
|
+
group: X({}, n, {
|
|
188
|
+
value: ae
|
|
189
189
|
}),
|
|
190
|
-
groupCollapsed:
|
|
191
|
-
value:
|
|
190
|
+
groupCollapsed: X({}, n, {
|
|
191
|
+
value: be
|
|
192
192
|
}),
|
|
193
|
-
groupEnd:
|
|
194
|
-
value:
|
|
193
|
+
groupEnd: X({}, n, {
|
|
194
|
+
value: K
|
|
195
195
|
})
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
ce < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
var
|
|
202
|
-
function
|
|
201
|
+
var ge = C.ReactCurrentDispatcher, xe;
|
|
202
|
+
function _e(n, s, m) {
|
|
203
203
|
{
|
|
204
|
-
if (
|
|
204
|
+
if (xe === void 0)
|
|
205
205
|
try {
|
|
206
206
|
throw Error();
|
|
207
|
-
} catch (
|
|
208
|
-
var w =
|
|
209
|
-
|
|
207
|
+
} catch (L) {
|
|
208
|
+
var w = L.stack.trim().match(/\n( *(at )?)/);
|
|
209
|
+
xe = w && w[1] || "";
|
|
210
210
|
}
|
|
211
211
|
return `
|
|
212
|
-
` +
|
|
212
|
+
` + xe + n;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var Ce = !1, Y;
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
|
|
217
|
+
var Ee = typeof WeakMap == "function" ? WeakMap : Map;
|
|
218
|
+
Y = new Ee();
|
|
219
219
|
}
|
|
220
|
-
function
|
|
221
|
-
if (!n ||
|
|
220
|
+
function h(n, s) {
|
|
221
|
+
if (!n || Ce)
|
|
222
222
|
return "";
|
|
223
223
|
{
|
|
224
|
-
var
|
|
225
|
-
if (
|
|
226
|
-
return
|
|
224
|
+
var m = Y.get(n);
|
|
225
|
+
if (m !== void 0)
|
|
226
|
+
return m;
|
|
227
227
|
}
|
|
228
228
|
var w;
|
|
229
|
-
|
|
230
|
-
var
|
|
229
|
+
Ce = !0;
|
|
230
|
+
var L = Error.prepareStackTrace;
|
|
231
231
|
Error.prepareStackTrace = void 0;
|
|
232
|
-
var
|
|
233
|
-
|
|
232
|
+
var z;
|
|
233
|
+
z = ge.current, ge.current = null, Me();
|
|
234
234
|
try {
|
|
235
|
-
if (
|
|
236
|
-
var
|
|
235
|
+
if (s) {
|
|
236
|
+
var I = function() {
|
|
237
237
|
throw Error();
|
|
238
238
|
};
|
|
239
|
-
if (Object.defineProperty(
|
|
239
|
+
if (Object.defineProperty(I.prototype, "props", {
|
|
240
240
|
set: function() {
|
|
241
241
|
throw Error();
|
|
242
242
|
}
|
|
243
243
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
244
244
|
try {
|
|
245
|
-
Reflect.construct(
|
|
246
|
-
} catch (
|
|
247
|
-
w =
|
|
245
|
+
Reflect.construct(I, []);
|
|
246
|
+
} catch (Ve) {
|
|
247
|
+
w = Ve;
|
|
248
248
|
}
|
|
249
|
-
Reflect.construct(n, [],
|
|
249
|
+
Reflect.construct(n, [], I);
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
252
|
-
|
|
253
|
-
} catch (
|
|
254
|
-
w =
|
|
252
|
+
I.call();
|
|
253
|
+
} catch (Ve) {
|
|
254
|
+
w = Ve;
|
|
255
255
|
}
|
|
256
|
-
n.call(
|
|
256
|
+
n.call(I.prototype);
|
|
257
257
|
}
|
|
258
258
|
} else {
|
|
259
259
|
try {
|
|
260
260
|
throw Error();
|
|
261
|
-
} catch (
|
|
262
|
-
w =
|
|
261
|
+
} catch (Ve) {
|
|
262
|
+
w = Ve;
|
|
263
263
|
}
|
|
264
264
|
n();
|
|
265
265
|
}
|
|
266
|
-
} catch (
|
|
267
|
-
if (
|
|
268
|
-
for (var
|
|
269
|
-
`),
|
|
270
|
-
`),
|
|
266
|
+
} catch (Ve) {
|
|
267
|
+
if (Ve && w && typeof Ve.stack == "string") {
|
|
268
|
+
for (var P = Ve.stack.split(`
|
|
269
|
+
`), me = w.stack.split(`
|
|
270
|
+
`), J = P.length - 1, Z = me.length - 1; J >= 1 && Z >= 0 && P[J] !== me[Z]; )
|
|
271
271
|
Z--;
|
|
272
|
-
for (;
|
|
273
|
-
if (
|
|
274
|
-
if (
|
|
272
|
+
for (; J >= 1 && Z >= 0; J--, Z--)
|
|
273
|
+
if (P[J] !== me[Z]) {
|
|
274
|
+
if (J !== 1 || Z !== 1)
|
|
275
275
|
do
|
|
276
|
-
if (
|
|
277
|
-
var
|
|
278
|
-
` +
|
|
279
|
-
return n.displayName &&
|
|
276
|
+
if (J--, Z--, Z < 0 || P[J] !== me[Z]) {
|
|
277
|
+
var Re = `
|
|
278
|
+
` + P[J].replace(" at new ", " at ");
|
|
279
|
+
return n.displayName && Re.includes("<anonymous>") && (Re = Re.replace("<anonymous>", n.displayName)), typeof n == "function" && Y.set(n, Re), Re;
|
|
280
280
|
}
|
|
281
|
-
while (
|
|
281
|
+
while (J >= 1 && Z >= 0);
|
|
282
282
|
break;
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
} finally {
|
|
286
|
-
|
|
286
|
+
Ce = !1, ge.current = z, Fe(), Error.prepareStackTrace = L;
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
return typeof n == "function" &&
|
|
288
|
+
var Ze = n ? n.displayName || n.name : "", Hr = Ze ? _e(Ze) : "";
|
|
289
|
+
return typeof n == "function" && Y.set(n, Hr), Hr;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
291
|
+
function V(n, s, m) {
|
|
292
|
+
return h(n, !1);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
var
|
|
296
|
-
return !!(
|
|
294
|
+
function Te(n) {
|
|
295
|
+
var s = n.prototype;
|
|
296
|
+
return !!(s && s.isReactComponent);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function ue(n, s, m) {
|
|
299
299
|
if (n == null)
|
|
300
300
|
return "";
|
|
301
301
|
if (typeof n == "function")
|
|
302
|
-
return
|
|
302
|
+
return h(n, Te(n));
|
|
303
303
|
if (typeof n == "string")
|
|
304
|
-
return
|
|
304
|
+
return _e(n);
|
|
305
305
|
switch (n) {
|
|
306
|
-
case
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
306
|
+
case g:
|
|
307
|
+
return _e("Suspense");
|
|
308
|
+
case d:
|
|
309
|
+
return _e("SuspenseList");
|
|
310
310
|
}
|
|
311
311
|
if (typeof n == "object")
|
|
312
312
|
switch (n.$$typeof) {
|
|
313
|
-
case
|
|
314
|
-
return
|
|
315
|
-
case
|
|
316
|
-
return
|
|
317
|
-
case
|
|
318
|
-
var w = n,
|
|
313
|
+
case f:
|
|
314
|
+
return V(n.render);
|
|
315
|
+
case v:
|
|
316
|
+
return ue(n.type, s, m);
|
|
317
|
+
case k: {
|
|
318
|
+
var w = n, L = w._payload, z = w._init;
|
|
319
319
|
try {
|
|
320
|
-
return
|
|
320
|
+
return ue(z(L), s, m);
|
|
321
321
|
} catch {
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
return "";
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
327
|
+
var E = Object.prototype.hasOwnProperty, R = {}, ee = C.ReactDebugCurrentFrame;
|
|
328
|
+
function je(n) {
|
|
329
329
|
if (n) {
|
|
330
|
-
var
|
|
331
|
-
|
|
330
|
+
var s = n._owner, m = ue(n.type, n._source, s ? s.type : null);
|
|
331
|
+
ee.setExtraStackFrame(m);
|
|
332
332
|
} else
|
|
333
|
-
|
|
333
|
+
ee.setExtraStackFrame(null);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function he(n, s, m, w, L) {
|
|
336
336
|
{
|
|
337
|
-
var
|
|
338
|
-
for (var
|
|
339
|
-
if (
|
|
340
|
-
var
|
|
337
|
+
var z = Function.call.bind(E);
|
|
338
|
+
for (var I in n)
|
|
339
|
+
if (z(n, I)) {
|
|
340
|
+
var P = void 0;
|
|
341
341
|
try {
|
|
342
|
-
if (typeof n[
|
|
343
|
-
var
|
|
344
|
-
throw
|
|
342
|
+
if (typeof n[I] != "function") {
|
|
343
|
+
var me = Error((w || "React class") + ": " + m + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
344
|
+
throw me.name = "Invariant Violation", me;
|
|
345
345
|
}
|
|
346
|
-
|
|
347
|
-
} catch (
|
|
348
|
-
|
|
346
|
+
P = n[I](s, I, w, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
347
|
+
} catch (J) {
|
|
348
|
+
P = J;
|
|
349
349
|
}
|
|
350
|
-
|
|
350
|
+
P && !(P instanceof Error) && (je(L), 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", m, I, typeof P), je(null)), P instanceof Error && !(P.message in R) && (R[P.message] = !0, je(L), S("Failed %s type: %s", m, P.message), je(null));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
var gr = Array.isArray;
|
|
355
|
-
function
|
|
355
|
+
function We(n) {
|
|
356
356
|
return gr(n);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function qe(n) {
|
|
359
359
|
{
|
|
360
|
-
var
|
|
361
|
-
return
|
|
360
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, m = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
361
|
+
return m;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
function hr(n) {
|
|
365
365
|
try {
|
|
366
|
-
return
|
|
366
|
+
return ar(n), !1;
|
|
367
367
|
} catch {
|
|
368
368
|
return !0;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function ar(n) {
|
|
372
372
|
return "" + n;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function fe(n) {
|
|
375
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.",
|
|
376
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qe(n)), ar(n);
|
|
377
377
|
}
|
|
378
|
-
var
|
|
378
|
+
var ze = C.ReactCurrentOwner, Rr = {
|
|
379
379
|
key: !0,
|
|
380
380
|
ref: !0,
|
|
381
381
|
__self: !0,
|
|
382
382
|
__source: !0
|
|
383
|
-
},
|
|
384
|
-
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
387
|
-
var
|
|
388
|
-
if (
|
|
383
|
+
}, Ge, Ke, Ye;
|
|
384
|
+
Ye = {};
|
|
385
|
+
function He(n) {
|
|
386
|
+
if (E.call(n, "ref")) {
|
|
387
|
+
var s = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
388
|
+
if (s && s.isReactWarning)
|
|
389
389
|
return !1;
|
|
390
390
|
}
|
|
391
391
|
return n.ref !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
394
|
-
if (
|
|
395
|
-
var
|
|
396
|
-
if (
|
|
393
|
+
function Ue(n) {
|
|
394
|
+
if (E.call(n, "key")) {
|
|
395
|
+
var s = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
396
|
+
if (s && s.isReactWarning)
|
|
397
397
|
return !1;
|
|
398
398
|
}
|
|
399
399
|
return n.key !== void 0;
|
|
400
400
|
}
|
|
401
|
-
function Tr(n,
|
|
402
|
-
if (typeof n.ref == "string" &&
|
|
403
|
-
var
|
|
404
|
-
|
|
401
|
+
function Tr(n, s) {
|
|
402
|
+
if (typeof n.ref == "string" && ze.current && s && ze.current.stateNode !== s) {
|
|
403
|
+
var m = ne(ze.current.type);
|
|
404
|
+
Ye[m] || (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', ne(ze.current.type), n.ref), Ye[m] = !0);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Or(n, s) {
|
|
408
408
|
{
|
|
409
|
-
var
|
|
410
|
-
|
|
409
|
+
var m = function() {
|
|
410
|
+
Ge || (Ge = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
411
411
|
};
|
|
412
|
-
|
|
413
|
-
get:
|
|
412
|
+
m.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
413
|
+
get: m,
|
|
414
414
|
configurable: !0
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function T(n, s) {
|
|
419
419
|
{
|
|
420
|
-
var
|
|
421
|
-
|
|
420
|
+
var m = function() {
|
|
421
|
+
Ke || (Ke = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
422
422
|
};
|
|
423
|
-
|
|
424
|
-
get:
|
|
423
|
+
m.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
424
|
+
get: m,
|
|
425
425
|
configurable: !0
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
var
|
|
430
|
-
var
|
|
429
|
+
var A = function(n, s, m, w, L, z, I) {
|
|
430
|
+
var P = {
|
|
431
431
|
// This tag allows us to uniquely identify this as a React Element
|
|
432
432
|
$$typeof: r,
|
|
433
433
|
// Built-in properties that belong on the element
|
|
434
434
|
type: n,
|
|
435
|
-
key:
|
|
436
|
-
ref:
|
|
437
|
-
props:
|
|
435
|
+
key: s,
|
|
436
|
+
ref: m,
|
|
437
|
+
props: I,
|
|
438
438
|
// Record the component responsible for creating this element.
|
|
439
|
-
_owner:
|
|
439
|
+
_owner: z
|
|
440
440
|
};
|
|
441
|
-
return
|
|
441
|
+
return P._store = {}, Object.defineProperty(P._store, "validated", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !0,
|
|
445
445
|
value: !1
|
|
446
|
-
}), Object.defineProperty(
|
|
446
|
+
}), Object.defineProperty(P, "_self", {
|
|
447
447
|
configurable: !1,
|
|
448
448
|
enumerable: !1,
|
|
449
449
|
writable: !1,
|
|
450
450
|
value: w
|
|
451
|
-
}), Object.defineProperty(
|
|
451
|
+
}), Object.defineProperty(P, "_source", {
|
|
452
452
|
configurable: !1,
|
|
453
453
|
enumerable: !1,
|
|
454
454
|
writable: !1,
|
|
455
|
-
value:
|
|
456
|
-
}), Object.freeze && (Object.freeze(
|
|
455
|
+
value: L
|
|
456
|
+
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
457
457
|
};
|
|
458
|
-
function
|
|
458
|
+
function G(n, s, m, w, L) {
|
|
459
459
|
{
|
|
460
|
-
var
|
|
461
|
-
|
|
462
|
-
for (
|
|
463
|
-
|
|
460
|
+
var z, I = {}, P = null, me = null;
|
|
461
|
+
m !== void 0 && (fe(m), P = "" + m), Ue(s) && (fe(s.key), P = "" + s.key), He(s) && (me = s.ref, Tr(s, L));
|
|
462
|
+
for (z in s)
|
|
463
|
+
E.call(s, z) && !Rr.hasOwnProperty(z) && (I[z] = s[z]);
|
|
464
464
|
if (n && n.defaultProps) {
|
|
465
|
-
var
|
|
466
|
-
for (
|
|
467
|
-
|
|
465
|
+
var J = n.defaultProps;
|
|
466
|
+
for (z in J)
|
|
467
|
+
I[z] === void 0 && (I[z] = J[z]);
|
|
468
468
|
}
|
|
469
|
-
if (
|
|
469
|
+
if (P || me) {
|
|
470
470
|
var Z = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
471
|
-
|
|
471
|
+
P && Or(I, Z), me && T(I, Z);
|
|
472
472
|
}
|
|
473
|
-
return
|
|
473
|
+
return A(n, P, me, L, w, ze.current, I);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
function
|
|
476
|
+
var H = C.ReactCurrentOwner, de = C.ReactDebugCurrentFrame;
|
|
477
|
+
function U(n) {
|
|
478
478
|
if (n) {
|
|
479
|
-
var
|
|
480
|
-
|
|
479
|
+
var s = n._owner, m = ue(n.type, n._source, s ? s.type : null);
|
|
480
|
+
de.setExtraStackFrame(m);
|
|
481
481
|
} else
|
|
482
|
-
|
|
482
|
+
de.setExtraStackFrame(null);
|
|
483
483
|
}
|
|
484
|
-
var
|
|
485
|
-
|
|
486
|
-
function
|
|
484
|
+
var W;
|
|
485
|
+
W = !1;
|
|
486
|
+
function Je(n) {
|
|
487
487
|
return typeof n == "object" && n !== null && n.$$typeof === r;
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function ie() {
|
|
490
490
|
{
|
|
491
|
-
if (
|
|
492
|
-
var n = H
|
|
491
|
+
if (H.current) {
|
|
492
|
+
var n = ne(H.current.type);
|
|
493
493
|
if (n)
|
|
494
494
|
return `
|
|
495
495
|
|
|
@@ -498,134 +498,134 @@ Check the render method of \`` + n + "`.";
|
|
|
498
498
|
return "";
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function Xe(n) {
|
|
502
502
|
{
|
|
503
503
|
if (n !== void 0) {
|
|
504
|
-
var
|
|
504
|
+
var s = n.fileName.replace(/^.*[\\\/]/, ""), m = n.lineNumber;
|
|
505
505
|
return `
|
|
506
506
|
|
|
507
|
-
Check your code at ` +
|
|
507
|
+
Check your code at ` + s + ":" + m + ".";
|
|
508
508
|
}
|
|
509
509
|
return "";
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
var
|
|
512
|
+
var Pr = {};
|
|
513
513
|
function pr(n) {
|
|
514
514
|
{
|
|
515
|
-
var
|
|
516
|
-
if (!
|
|
517
|
-
var
|
|
518
|
-
|
|
515
|
+
var s = ie();
|
|
516
|
+
if (!s) {
|
|
517
|
+
var m = typeof n == "string" ? n : n.displayName || n.name;
|
|
518
|
+
m && (s = `
|
|
519
519
|
|
|
520
|
-
Check the top-level render call using <` +
|
|
520
|
+
Check the top-level render call using <` + m + ">.");
|
|
521
521
|
}
|
|
522
|
-
return
|
|
522
|
+
return s;
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function or(n, s) {
|
|
526
526
|
{
|
|
527
527
|
if (!n._store || n._store.validated || n.key != null)
|
|
528
528
|
return;
|
|
529
529
|
n._store.validated = !0;
|
|
530
|
-
var
|
|
531
|
-
if (
|
|
530
|
+
var m = pr(s);
|
|
531
|
+
if (Pr[m])
|
|
532
532
|
return;
|
|
533
|
-
|
|
533
|
+
Pr[m] = !0;
|
|
534
534
|
var w = "";
|
|
535
|
-
n && n._owner && n._owner !==
|
|
535
|
+
n && n._owner && n._owner !== H.current && (w = " It was passed a child from " + ne(n._owner.type) + "."), U(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.', m, w), U(null);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
function Gr(n,
|
|
538
|
+
function Gr(n, s) {
|
|
539
539
|
{
|
|
540
540
|
if (typeof n != "object")
|
|
541
541
|
return;
|
|
542
|
-
if (
|
|
543
|
-
for (var
|
|
544
|
-
var w = n[
|
|
545
|
-
|
|
542
|
+
if (We(n))
|
|
543
|
+
for (var m = 0; m < n.length; m++) {
|
|
544
|
+
var w = n[m];
|
|
545
|
+
Je(w) && or(w, s);
|
|
546
546
|
}
|
|
547
|
-
else if (
|
|
547
|
+
else if (Je(n))
|
|
548
548
|
n._store && (n._store.validated = !0);
|
|
549
549
|
else if (n) {
|
|
550
|
-
var
|
|
551
|
-
if (typeof
|
|
552
|
-
for (var
|
|
553
|
-
|
|
550
|
+
var L = N(n);
|
|
551
|
+
if (typeof L == "function" && L !== n.entries)
|
|
552
|
+
for (var z = L.call(n), I; !(I = z.next()).done; )
|
|
553
|
+
Je(I.value) && or(I.value, s);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
function $t(n) {
|
|
558
558
|
{
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
559
|
+
var s = n.type;
|
|
560
|
+
if (s == null || typeof s == "string")
|
|
561
561
|
return;
|
|
562
|
-
var
|
|
563
|
-
if (typeof
|
|
564
|
-
|
|
565
|
-
else if (typeof
|
|
562
|
+
var m;
|
|
563
|
+
if (typeof s == "function")
|
|
564
|
+
m = s.propTypes;
|
|
565
|
+
else if (typeof s == "object" && (s.$$typeof === f || // Note: Memo only checks outer props here.
|
|
566
566
|
// Inner props are checked in the reconciler.
|
|
567
|
-
|
|
568
|
-
|
|
567
|
+
s.$$typeof === v))
|
|
568
|
+
m = s.propTypes;
|
|
569
569
|
else
|
|
570
570
|
return;
|
|
571
|
-
if (
|
|
572
|
-
var w =
|
|
573
|
-
|
|
574
|
-
} else if (
|
|
575
|
-
|
|
576
|
-
var
|
|
577
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
571
|
+
if (m) {
|
|
572
|
+
var w = ne(s);
|
|
573
|
+
he(m, n.props, "prop", w, n);
|
|
574
|
+
} else if (s.PropTypes !== void 0 && !W) {
|
|
575
|
+
W = !0;
|
|
576
|
+
var L = ne(s);
|
|
577
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", L || "Unknown");
|
|
578
578
|
}
|
|
579
|
-
typeof
|
|
579
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
function Lt(n) {
|
|
583
583
|
{
|
|
584
|
-
for (var
|
|
585
|
-
var w =
|
|
584
|
+
for (var s = Object.keys(n.props), m = 0; m < s.length; m++) {
|
|
585
|
+
var w = s[m];
|
|
586
586
|
if (w !== "children" && w !== "key") {
|
|
587
|
-
|
|
587
|
+
U(n), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), U(null);
|
|
588
588
|
break;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
n.ref !== null && (
|
|
591
|
+
n.ref !== null && (U(n), S("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
function Kr(n,
|
|
594
|
+
function Kr(n, s, m, w, L, z) {
|
|
595
595
|
{
|
|
596
|
-
var
|
|
597
|
-
if (!
|
|
598
|
-
var
|
|
599
|
-
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (
|
|
600
|
-
var
|
|
601
|
-
|
|
602
|
-
var
|
|
603
|
-
n === null ?
|
|
596
|
+
var I = Le(n);
|
|
597
|
+
if (!I) {
|
|
598
|
+
var P = "";
|
|
599
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (P += " 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 me = Xe(L);
|
|
601
|
+
me ? P += me : P += ie();
|
|
602
|
+
var J;
|
|
603
|
+
n === null ? J = "null" : We(n) ? J = "array" : n !== void 0 && n.$$typeof === r ? (J = "<" + (ne(n.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : J = 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", J, P);
|
|
604
604
|
}
|
|
605
|
-
var Z =
|
|
605
|
+
var Z = G(n, s, m, L, z);
|
|
606
606
|
if (Z == null)
|
|
607
607
|
return Z;
|
|
608
|
-
if (
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
608
|
+
if (I) {
|
|
609
|
+
var Re = s.children;
|
|
610
|
+
if (Re !== void 0)
|
|
611
611
|
if (w)
|
|
612
|
-
if (
|
|
613
|
-
for (var
|
|
614
|
-
Gr(
|
|
615
|
-
Object.freeze && Object.freeze(
|
|
612
|
+
if (We(Re)) {
|
|
613
|
+
for (var Ze = 0; Ze < Re.length; Ze++)
|
|
614
|
+
Gr(Re[Ze], n);
|
|
615
|
+
Object.freeze && Object.freeze(Re);
|
|
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.");
|
|
618
618
|
else
|
|
619
|
-
Gr(
|
|
619
|
+
Gr(Re, n);
|
|
620
620
|
}
|
|
621
621
|
return n === a ? Lt(Z) : $t(Z), Z;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function Dt(n,
|
|
625
|
-
return Kr(n,
|
|
624
|
+
function Dt(n, s, m) {
|
|
625
|
+
return Kr(n, s, m, !0);
|
|
626
626
|
}
|
|
627
|
-
function Mt(n,
|
|
628
|
-
return Kr(n,
|
|
627
|
+
function Mt(n, s, m) {
|
|
628
|
+
return Kr(n, s, m, !1);
|
|
629
629
|
}
|
|
630
630
|
var Ft = Mt, jt = Dt;
|
|
631
631
|
cr.Fragment = a, cr.jsx = Ft, cr.jsxs = jt;
|
|
@@ -648,9 +648,9 @@ function Zt(e) {
|
|
|
648
648
|
var Qt = /* @__PURE__ */ function() {
|
|
649
649
|
function e(t) {
|
|
650
650
|
var a = this;
|
|
651
|
-
this._insertTag = function(
|
|
652
|
-
var
|
|
653
|
-
a.tags.length === 0 ? a.insertionPoint ?
|
|
651
|
+
this._insertTag = function(o) {
|
|
652
|
+
var i;
|
|
653
|
+
a.tags.length === 0 ? a.insertionPoint ? i = a.insertionPoint.nextSibling : a.prepend ? i = a.container.firstChild : i = a.before : i = a.tags[a.tags.length - 1].nextSibling, a.container.insertBefore(o, i), a.tags.push(o);
|
|
654
654
|
}, this.isSpeedy = t.speedy === void 0 ? process.env.NODE_ENV === "production" : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
|
|
655
655
|
}
|
|
656
656
|
var r = e.prototype;
|
|
@@ -658,30 +658,30 @@ var Qt = /* @__PURE__ */ function() {
|
|
|
658
658
|
a.forEach(this._insertTag);
|
|
659
659
|
}, r.insert = function(a) {
|
|
660
660
|
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Zt(this));
|
|
661
|
-
var
|
|
661
|
+
var o = this.tags[this.tags.length - 1];
|
|
662
662
|
if (process.env.NODE_ENV !== "production") {
|
|
663
|
-
var
|
|
664
|
-
|
|
665
|
-
` + a + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !
|
|
663
|
+
var i = a.charCodeAt(0) === 64 && a.charCodeAt(1) === 105;
|
|
664
|
+
i && this._alreadyInsertedOrderInsensitiveRule && console.error(`You're attempting to insert the following rule:
|
|
665
|
+
` + a + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !i;
|
|
666
666
|
}
|
|
667
667
|
if (this.isSpeedy) {
|
|
668
|
-
var l = Xt(
|
|
668
|
+
var l = Xt(o);
|
|
669
669
|
try {
|
|
670
670
|
l.insertRule(a, l.cssRules.length);
|
|
671
|
-
} catch (
|
|
672
|
-
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(a) && console.error('There was a problem inserting the following rule: "' + a + '"',
|
|
671
|
+
} catch (c) {
|
|
672
|
+
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(a) && console.error('There was a problem inserting the following rule: "' + a + '"', c);
|
|
673
673
|
}
|
|
674
674
|
} else
|
|
675
|
-
|
|
675
|
+
o.appendChild(document.createTextNode(a));
|
|
676
676
|
this.ctr++;
|
|
677
677
|
}, r.flush = function() {
|
|
678
678
|
this.tags.forEach(function(a) {
|
|
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
|
-
}(),
|
|
682
|
+
}(), se = "-ms-", wr = "-moz-", D = "-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 oe(e, 0) ^ 45 ? (((r << 2 ^ oe(e, 0)) << 2 ^ oe(e, 1)) << 2 ^ oe(e, 2)) << 2 ^ oe(e, 3) : 0;
|
|
685
685
|
}
|
|
686
686
|
function bt(e) {
|
|
687
687
|
return e.trim();
|
|
@@ -689,19 +689,19 @@ 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 M(e, r, t) {
|
|
693
693
|
return e.replace(r, t);
|
|
694
694
|
}
|
|
695
695
|
function Lr(e, r) {
|
|
696
696
|
return e.indexOf(r);
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function oe(e, r) {
|
|
699
699
|
return e.charCodeAt(r) | 0;
|
|
700
700
|
}
|
|
701
701
|
function ur(e, r, t) {
|
|
702
702
|
return e.slice(r, t);
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function Ae(e) {
|
|
705
705
|
return e.length;
|
|
706
706
|
}
|
|
707
707
|
function Ur(e) {
|
|
@@ -713,9 +713,9 @@ function vr(e, r) {
|
|
|
713
713
|
function sn(e, r) {
|
|
714
714
|
return e.map(r).join("");
|
|
715
715
|
}
|
|
716
|
-
var xr = 1, tr = 1, yt = 0,
|
|
717
|
-
function _r(e, r, t, a,
|
|
718
|
-
return { value: e, root: r, parent: t, type: a, props:
|
|
716
|
+
var xr = 1, tr = 1, yt = 0, ve = 0, Q = 0, nr = "";
|
|
717
|
+
function _r(e, r, t, a, o, i, l) {
|
|
718
|
+
return { value: e, root: r, parent: t, type: a, props: o, children: i, line: xr, column: tr, length: l, return: "" };
|
|
719
719
|
}
|
|
720
720
|
function lr(e, r) {
|
|
721
721
|
return nn(_r("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
@@ -724,16 +724,16 @@ function cn() {
|
|
|
724
724
|
return Q;
|
|
725
725
|
}
|
|
726
726
|
function ln() {
|
|
727
|
-
return Q =
|
|
727
|
+
return Q = ve > 0 ? oe(nr, --ve) : 0, tr--, Q === 10 && (tr = 1, xr--), Q;
|
|
728
728
|
}
|
|
729
|
-
function
|
|
730
|
-
return Q =
|
|
729
|
+
function Ne() {
|
|
730
|
+
return Q = ve < yt ? oe(nr, ve++) : 0, tr++, Q === 10 && (tr = 1, xr++), Q;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
732
|
+
function Ie() {
|
|
733
|
+
return oe(nr, ve);
|
|
734
734
|
}
|
|
735
735
|
function br() {
|
|
736
|
-
return
|
|
736
|
+
return ve;
|
|
737
737
|
}
|
|
738
738
|
function mr(e, r) {
|
|
739
739
|
return ur(nr, e, r);
|
|
@@ -771,29 +771,29 @@ function fr(e) {
|
|
|
771
771
|
return 0;
|
|
772
772
|
}
|
|
773
773
|
function Et(e) {
|
|
774
|
-
return xr = tr = 1, yt =
|
|
774
|
+
return xr = tr = 1, yt = Ae(nr = e), ve = 0, [];
|
|
775
775
|
}
|
|
776
776
|
function wt(e) {
|
|
777
777
|
return nr = "", e;
|
|
778
778
|
}
|
|
779
779
|
function yr(e) {
|
|
780
|
-
return bt(mr(
|
|
780
|
+
return bt(mr(ve - 1, Dr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
781
781
|
}
|
|
782
782
|
function un(e) {
|
|
783
|
-
for (; (Q =
|
|
784
|
-
|
|
783
|
+
for (; (Q = Ie()) && Q < 33; )
|
|
784
|
+
Ne();
|
|
785
785
|
return fr(e) > 2 || fr(Q) > 3 ? "" : " ";
|
|
786
786
|
}
|
|
787
787
|
function fn(e, r) {
|
|
788
|
-
for (; --r &&
|
|
788
|
+
for (; --r && Ne() && !(Q < 48 || Q > 102 || Q > 57 && Q < 65 || Q > 70 && Q < 97); )
|
|
789
789
|
;
|
|
790
|
-
return mr(e, br() + (r < 6 &&
|
|
790
|
+
return mr(e, br() + (r < 6 && Ie() == 32 && Ne() == 32));
|
|
791
791
|
}
|
|
792
792
|
function Dr(e) {
|
|
793
|
-
for (;
|
|
793
|
+
for (; Ne(); )
|
|
794
794
|
switch (Q) {
|
|
795
795
|
case e:
|
|
796
|
-
return
|
|
796
|
+
return ve;
|
|
797
797
|
case 34:
|
|
798
798
|
case 39:
|
|
799
799
|
e !== 34 && e !== 39 && Dr(Q);
|
|
@@ -802,91 +802,91 @@ function Dr(e) {
|
|
|
802
802
|
e === 41 && Dr(e);
|
|
803
803
|
break;
|
|
804
804
|
case 92:
|
|
805
|
-
|
|
805
|
+
Ne();
|
|
806
806
|
break;
|
|
807
807
|
}
|
|
808
|
-
return
|
|
808
|
+
return ve;
|
|
809
809
|
}
|
|
810
810
|
function dn(e, r) {
|
|
811
|
-
for (;
|
|
812
|
-
if (e + Q === 42 + 42 &&
|
|
811
|
+
for (; Ne() && e + Q !== 47 + 10; )
|
|
812
|
+
if (e + Q === 42 + 42 && Ie() === 47)
|
|
813
813
|
break;
|
|
814
|
-
return "/*" + mr(r,
|
|
814
|
+
return "/*" + mr(r, ve - 1) + "*" + Sr(e === 47 ? e : Ne());
|
|
815
815
|
}
|
|
816
816
|
function mn(e) {
|
|
817
|
-
for (; !fr(
|
|
818
|
-
|
|
819
|
-
return mr(e,
|
|
817
|
+
for (; !fr(Ie()); )
|
|
818
|
+
Ne();
|
|
819
|
+
return mr(e, ve);
|
|
820
820
|
}
|
|
821
821
|
function gn(e) {
|
|
822
822
|
return wt(Er("", null, null, null, [""], e = Et(e), 0, [0], e));
|
|
823
823
|
}
|
|
824
|
-
function Er(e, r, t, a,
|
|
825
|
-
for (var
|
|
826
|
-
switch (
|
|
824
|
+
function Er(e, r, t, a, o, i, l, c, f) {
|
|
825
|
+
for (var g = 0, d = 0, v = l, k = 0, x = 0, y = 0, b = 1, N = 1, C = 1, S = 0, O = "", $ = o, u = i, B = a, _ = O; N; )
|
|
826
|
+
switch (y = S, S = Ne()) {
|
|
827
827
|
case 40:
|
|
828
|
-
if (
|
|
829
|
-
Lr(
|
|
828
|
+
if (y != 108 && oe(_, v - 1) == 58) {
|
|
829
|
+
Lr(_ += M(yr(S), "&", "&\f"), "&\f") != -1 && (C = -1);
|
|
830
830
|
break;
|
|
831
831
|
}
|
|
832
832
|
case 34:
|
|
833
833
|
case 39:
|
|
834
834
|
case 91:
|
|
835
|
-
|
|
835
|
+
_ += yr(S);
|
|
836
836
|
break;
|
|
837
837
|
case 9:
|
|
838
838
|
case 10:
|
|
839
839
|
case 13:
|
|
840
840
|
case 32:
|
|
841
|
-
|
|
841
|
+
_ += un(y);
|
|
842
842
|
break;
|
|
843
843
|
case 92:
|
|
844
|
-
|
|
844
|
+
_ += fn(br() - 1, 7);
|
|
845
845
|
continue;
|
|
846
846
|
case 47:
|
|
847
|
-
switch (
|
|
847
|
+
switch (Ie()) {
|
|
848
848
|
case 42:
|
|
849
849
|
case 47:
|
|
850
|
-
vr(hn(dn(
|
|
850
|
+
vr(hn(dn(Ne(), br()), r, t), f);
|
|
851
851
|
break;
|
|
852
852
|
default:
|
|
853
|
-
|
|
853
|
+
_ += "/";
|
|
854
854
|
}
|
|
855
855
|
break;
|
|
856
856
|
case 123 * b:
|
|
857
|
-
|
|
857
|
+
c[g++] = Ae(_) * C;
|
|
858
858
|
case 125 * b:
|
|
859
859
|
case 59:
|
|
860
860
|
case 0:
|
|
861
861
|
switch (S) {
|
|
862
862
|
case 0:
|
|
863
863
|
case 125:
|
|
864
|
-
|
|
865
|
-
case 59 +
|
|
866
|
-
|
|
864
|
+
N = 0;
|
|
865
|
+
case 59 + d:
|
|
866
|
+
C == -1 && (_ = M(_, /\f/g, "")), x > 0 && Ae(_) - v && vr(x > 32 ? tt(_ + ";", a, t, v - 1) : tt(M(_, " ", "") + ";", a, t, v - 2), f);
|
|
867
867
|
break;
|
|
868
868
|
case 59:
|
|
869
|
-
|
|
869
|
+
_ += ";";
|
|
870
870
|
default:
|
|
871
|
-
if (vr(
|
|
872
|
-
if (
|
|
873
|
-
Er(
|
|
871
|
+
if (vr(B = rt(_, r, t, g, d, o, c, O, $ = [], u = [], v), i), S === 123)
|
|
872
|
+
if (d === 0)
|
|
873
|
+
Er(_, r, B, B, $, i, v, c, u);
|
|
874
874
|
else
|
|
875
|
-
switch (
|
|
875
|
+
switch (k === 99 && oe(_, 3) === 110 ? 100 : k) {
|
|
876
876
|
case 100:
|
|
877
877
|
case 108:
|
|
878
878
|
case 109:
|
|
879
879
|
case 115:
|
|
880
|
-
Er(e,
|
|
880
|
+
Er(e, B, B, a && vr(rt(e, B, B, 0, 0, o, c, O, o, $ = [], v), u), o, u, v, c, a ? $ : u);
|
|
881
881
|
break;
|
|
882
882
|
default:
|
|
883
|
-
Er(
|
|
883
|
+
Er(_, B, B, B, [""], u, 0, c, u);
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
-
|
|
886
|
+
g = d = x = 0, b = C = 1, O = _ = "", v = l;
|
|
887
887
|
break;
|
|
888
888
|
case 58:
|
|
889
|
-
|
|
889
|
+
v = 1 + Ae(_), x = y;
|
|
890
890
|
default:
|
|
891
891
|
if (b < 1) {
|
|
892
892
|
if (S == 123)
|
|
@@ -894,27 +894,27 @@ function Er(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 (_ += Sr(S), S * b) {
|
|
898
898
|
case 38:
|
|
899
|
-
|
|
899
|
+
C = d > 0 ? 1 : (_ += "\f", -1);
|
|
900
900
|
break;
|
|
901
901
|
case 44:
|
|
902
|
-
|
|
902
|
+
c[g++] = (Ae(_) - 1) * C, C = 1;
|
|
903
903
|
break;
|
|
904
904
|
case 64:
|
|
905
|
-
|
|
905
|
+
Ie() === 45 && (_ += yr(Ne())), k = Ie(), d = v = Ae(O = _ += mn(br())), S++;
|
|
906
906
|
break;
|
|
907
907
|
case 45:
|
|
908
|
-
|
|
908
|
+
y === 45 && Ae(_) == 2 && (b = 0);
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
|
-
return
|
|
911
|
+
return i;
|
|
912
912
|
}
|
|
913
|
-
function rt(e, r, t, a,
|
|
914
|
-
for (var
|
|
915
|
-
for (var
|
|
916
|
-
(
|
|
917
|
-
return _r(e, r, t,
|
|
913
|
+
function rt(e, r, t, a, o, i, l, c, f, g, d) {
|
|
914
|
+
for (var v = o - 1, k = o === 0 ? i : [""], x = Ur(k), y = 0, b = 0, N = 0; y < a; ++y)
|
|
915
|
+
for (var C = 0, S = ur(e, v + 1, v = tn(b = l[y])), O = e; C < x; ++C)
|
|
916
|
+
(O = bt(b > 0 ? k[C] + " " + S : M(S, /&\f/g, k[C]))) && (f[N++] = O);
|
|
917
|
+
return _r(e, r, t, o === 0 ? zr : c, f, g, d);
|
|
918
918
|
}
|
|
919
919
|
function hn(e, r, t) {
|
|
920
920
|
return _r(e, r, t, Br, Sr(cn()), ur(e, 2, -2), 0);
|
|
@@ -923,8 +923,8 @@ function tt(e, r, t, a) {
|
|
|
923
923
|
return _r(e, r, t, Yr, ur(e, 0, a), ur(e, a + 1, -1), a);
|
|
924
924
|
}
|
|
925
925
|
function rr(e, r) {
|
|
926
|
-
for (var t = "", a = Ur(e),
|
|
927
|
-
t += r(e[
|
|
926
|
+
for (var t = "", a = Ur(e), o = 0; o < a; o++)
|
|
927
|
+
t += r(e[o], o, e, r) || "";
|
|
928
928
|
return t;
|
|
929
929
|
}
|
|
930
930
|
function pn(e, r, t, a) {
|
|
@@ -942,13 +942,13 @@ function pn(e, r, t, a) {
|
|
|
942
942
|
case zr:
|
|
943
943
|
e.value = e.props.join(",");
|
|
944
944
|
}
|
|
945
|
-
return
|
|
945
|
+
return Ae(t = rr(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
|
|
946
946
|
}
|
|
947
947
|
function vn(e) {
|
|
948
948
|
var r = Ur(e);
|
|
949
|
-
return function(t, a,
|
|
950
|
-
for (var l = "",
|
|
951
|
-
l += e[
|
|
949
|
+
return function(t, a, o, i) {
|
|
950
|
+
for (var l = "", c = 0; c < r; c++)
|
|
951
|
+
l += e[c](t, a, o, i) || "";
|
|
952
952
|
return l;
|
|
953
953
|
};
|
|
954
954
|
}
|
|
@@ -964,28 +964,28 @@ function yn(e) {
|
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
966
|
var En = function(r, t, a) {
|
|
967
|
-
for (var
|
|
968
|
-
|
|
969
|
-
return mr(r,
|
|
967
|
+
for (var o = 0, i = 0; o = i, i = Ie(), o === 38 && i === 12 && (t[a] = 1), !fr(i); )
|
|
968
|
+
Ne();
|
|
969
|
+
return mr(r, ve);
|
|
970
970
|
}, wn = function(r, t) {
|
|
971
|
-
var a = -1,
|
|
971
|
+
var a = -1, o = 44;
|
|
972
972
|
do
|
|
973
|
-
switch (fr(
|
|
973
|
+
switch (fr(o)) {
|
|
974
974
|
case 0:
|
|
975
|
-
|
|
975
|
+
o === 38 && Ie() === 12 && (t[a] = 1), r[a] += En(ve - 1, t, a);
|
|
976
976
|
break;
|
|
977
977
|
case 2:
|
|
978
|
-
r[a] += yr(
|
|
978
|
+
r[a] += yr(o);
|
|
979
979
|
break;
|
|
980
980
|
case 4:
|
|
981
|
-
if (
|
|
982
|
-
r[++a] =
|
|
981
|
+
if (o === 44) {
|
|
982
|
+
r[++a] = Ie() === 58 ? "&\f" : "", t[a] = r[a].length;
|
|
983
983
|
break;
|
|
984
984
|
}
|
|
985
985
|
default:
|
|
986
|
-
r[a] += Sr(
|
|
986
|
+
r[a] += Sr(o);
|
|
987
987
|
}
|
|
988
|
-
while (
|
|
988
|
+
while (o = Ne());
|
|
989
989
|
return r;
|
|
990
990
|
}, Nn = function(r, t) {
|
|
991
991
|
return wt(wn(Et(r), t));
|
|
@@ -993,14 +993,14 @@ var En = function(r, t, a) {
|
|
|
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
|
|
995
995
|
r.length < 1)) {
|
|
996
|
-
for (var t = r.value, a = r.parent,
|
|
996
|
+
for (var t = r.value, a = r.parent, o = r.column === a.column && r.line === a.line; a.type !== "rule"; )
|
|
997
997
|
if (a = a.parent, !a)
|
|
998
998
|
return;
|
|
999
|
-
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !nt.get(a)) && !
|
|
999
|
+
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !nt.get(a)) && !o) {
|
|
1000
1000
|
nt.set(r, !0);
|
|
1001
|
-
for (var
|
|
1002
|
-
for (var
|
|
1003
|
-
r.props[
|
|
1001
|
+
for (var i = [], l = Nn(t, i), c = a.props, f = 0, g = 0; f < l.length; f++)
|
|
1002
|
+
for (var d = 0; d < c.length; d++, g++)
|
|
1003
|
+
r.props[g] = i[f] ? l[f].replace(/&\f/g, c[d]) : c[d] + " " + l[f];
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
}, Sn = function(r) {
|
|
@@ -1012,33 +1012,33 @@ var En = function(r, t, a) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}, xn = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", _n = function(r) {
|
|
1014
1014
|
return r.type === "comm" && r.children.indexOf(xn) > -1;
|
|
1015
|
-
},
|
|
1016
|
-
return function(t, a,
|
|
1015
|
+
}, Cn = function(r) {
|
|
1016
|
+
return function(t, a, o) {
|
|
1017
1017
|
if (!(t.type !== "rule" || r.compat)) {
|
|
1018
|
-
var
|
|
1019
|
-
if (
|
|
1020
|
-
for (var l = !!t.parent,
|
|
1018
|
+
var i = t.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
1019
|
+
if (i) {
|
|
1020
|
+
for (var l = !!t.parent, c = l ? t.parent.children : (
|
|
1021
1021
|
// global rule at the root level
|
|
1022
|
-
|
|
1023
|
-
),
|
|
1024
|
-
var
|
|
1025
|
-
if (
|
|
1022
|
+
o
|
|
1023
|
+
), f = c.length - 1; f >= 0; f--) {
|
|
1024
|
+
var g = c[f];
|
|
1025
|
+
if (g.line < t.line)
|
|
1026
1026
|
break;
|
|
1027
|
-
if (
|
|
1028
|
-
if (_n(
|
|
1027
|
+
if (g.column < t.column) {
|
|
1028
|
+
if (_n(g))
|
|
1029
1029
|
return;
|
|
1030
1030
|
break;
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
|
-
|
|
1034
|
-
console.error('The pseudo class "' +
|
|
1033
|
+
i.forEach(function(d) {
|
|
1034
|
+
console.error('The pseudo class "' + d + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + d.split("-child")[0] + '-of-type".');
|
|
1035
1035
|
});
|
|
1036
1036
|
}
|
|
1037
1037
|
}
|
|
1038
1038
|
};
|
|
1039
1039
|
}, Nt = function(r) {
|
|
1040
1040
|
return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
|
|
1041
|
-
},
|
|
1041
|
+
}, Rn = function(r, t) {
|
|
1042
1042
|
for (var a = r - 1; a >= 0; a--)
|
|
1043
1043
|
if (!Nt(t[a]))
|
|
1044
1044
|
return !0;
|
|
@@ -1046,12 +1046,12 @@ var En = function(r, t, a) {
|
|
|
1046
1046
|
}, at = function(r) {
|
|
1047
1047
|
r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
|
|
1048
1048
|
}, Tn = function(r, t, a) {
|
|
1049
|
-
Nt(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), at(r)) :
|
|
1049
|
+
Nt(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), at(r)) : Rn(t, a) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), at(r)));
|
|
1050
1050
|
};
|
|
1051
1051
|
function kt(e, r) {
|
|
1052
1052
|
switch (an(e, r)) {
|
|
1053
1053
|
case 5103:
|
|
1054
|
-
return
|
|
1054
|
+
return D + "print-" + e + e;
|
|
1055
1055
|
case 5737:
|
|
1056
1056
|
case 4201:
|
|
1057
1057
|
case 3177:
|
|
@@ -1077,44 +1077,44 @@ function kt(e, r) {
|
|
|
1077
1077
|
case 5365:
|
|
1078
1078
|
case 5621:
|
|
1079
1079
|
case 3829:
|
|
1080
|
-
return
|
|
1080
|
+
return D + e + e;
|
|
1081
1081
|
case 5349:
|
|
1082
1082
|
case 4246:
|
|
1083
1083
|
case 4810:
|
|
1084
1084
|
case 6968:
|
|
1085
1085
|
case 2756:
|
|
1086
|
-
return
|
|
1086
|
+
return D + e + wr + e + se + e + e;
|
|
1087
1087
|
case 6828:
|
|
1088
1088
|
case 4268:
|
|
1089
|
-
return
|
|
1089
|
+
return D + e + se + e + e;
|
|
1090
1090
|
case 6165:
|
|
1091
|
-
return
|
|
1091
|
+
return D + e + se + "flex-" + e + e;
|
|
1092
1092
|
case 5187:
|
|
1093
|
-
return
|
|
1093
|
+
return D + e + M(e, /(\w+).+(:[^]+)/, D + "box-$1$2" + se + "flex-$1$2") + e;
|
|
1094
1094
|
case 5443:
|
|
1095
|
-
return
|
|
1095
|
+
return D + e + se + "flex-item-" + M(e, /flex-|-self/, "") + e;
|
|
1096
1096
|
case 4675:
|
|
1097
|
-
return
|
|
1097
|
+
return D + e + se + "flex-line-pack" + M(e, /align-content|flex-|-self/, "") + e;
|
|
1098
1098
|
case 5548:
|
|
1099
|
-
return
|
|
1099
|
+
return D + e + se + M(e, "shrink", "negative") + e;
|
|
1100
1100
|
case 5292:
|
|
1101
|
-
return
|
|
1101
|
+
return D + e + se + M(e, "basis", "preferred-size") + e;
|
|
1102
1102
|
case 6060:
|
|
1103
|
-
return
|
|
1103
|
+
return D + "box-" + M(e, "-grow", "") + D + e + se + M(e, "grow", "positive") + e;
|
|
1104
1104
|
case 4554:
|
|
1105
|
-
return
|
|
1105
|
+
return D + M(e, /([^-])(transform)/g, "$1" + D + "$2") + e;
|
|
1106
1106
|
case 6187:
|
|
1107
|
-
return
|
|
1107
|
+
return M(M(M(e, /(zoom-|grab)/, D + "$1"), /(image-set)/, D + "$1"), e, "") + e;
|
|
1108
1108
|
case 5495:
|
|
1109
1109
|
case 3959:
|
|
1110
|
-
return
|
|
1110
|
+
return M(e, /(image-set\([^]*)/, D + "$1$`$1");
|
|
1111
1111
|
case 4968:
|
|
1112
|
-
return
|
|
1112
|
+
return M(M(e, /(.+:)(flex-)?(.*)/, D + "box-pack:$3" + se + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + D + e + e;
|
|
1113
1113
|
case 4095:
|
|
1114
1114
|
case 3583:
|
|
1115
1115
|
case 4068:
|
|
1116
1116
|
case 2532:
|
|
1117
|
-
return
|
|
1117
|
+
return M(e, /(.+)-inline(.+)/, D + "$1$2") + e;
|
|
1118
1118
|
case 8116:
|
|
1119
1119
|
case 7059:
|
|
1120
1120
|
case 5753:
|
|
@@ -1127,42 +1127,42 @@ function kt(e, r) {
|
|
|
1127
1127
|
case 5789:
|
|
1128
1128
|
case 5021:
|
|
1129
1129
|
case 4765:
|
|
1130
|
-
if (
|
|
1131
|
-
switch (
|
|
1130
|
+
if (Ae(e) - 1 - r > 6)
|
|
1131
|
+
switch (oe(e, r + 1)) {
|
|
1132
1132
|
case 109:
|
|
1133
|
-
if (
|
|
1133
|
+
if (oe(e, r + 4) !== 45)
|
|
1134
1134
|
break;
|
|
1135
1135
|
case 102:
|
|
1136
|
-
return
|
|
1136
|
+
return M(e, /(.+:)(.+)-([^]+)/, "$1" + D + "$2-$3$1" + wr + (oe(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1137
1137
|
case 115:
|
|
1138
|
-
return ~Lr(e, "stretch") ? kt(
|
|
1138
|
+
return ~Lr(e, "stretch") ? kt(M(e, "stretch", "fill-available"), r) + e : e;
|
|
1139
1139
|
}
|
|
1140
1140
|
break;
|
|
1141
1141
|
case 4949:
|
|
1142
|
-
if (
|
|
1142
|
+
if (oe(e, r + 1) !== 115)
|
|
1143
1143
|
break;
|
|
1144
1144
|
case 6444:
|
|
1145
|
-
switch (
|
|
1145
|
+
switch (oe(e, Ae(e) - 3 - (~Lr(e, "!important") && 10))) {
|
|
1146
1146
|
case 107:
|
|
1147
|
-
return
|
|
1147
|
+
return M(e, ":", ":" + D) + e;
|
|
1148
1148
|
case 101:
|
|
1149
|
-
return
|
|
1149
|
+
return M(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + D + (oe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + D + "$2$3$1" + se + "$2box$3") + e;
|
|
1150
1150
|
}
|
|
1151
1151
|
break;
|
|
1152
1152
|
case 5936:
|
|
1153
|
-
switch (
|
|
1153
|
+
switch (oe(e, r + 11)) {
|
|
1154
1154
|
case 114:
|
|
1155
|
-
return
|
|
1155
|
+
return D + e + se + M(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1156
1156
|
case 108:
|
|
1157
|
-
return
|
|
1157
|
+
return D + e + se + M(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1158
1158
|
case 45:
|
|
1159
|
-
return
|
|
1159
|
+
return D + e + se + M(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1160
1160
|
}
|
|
1161
|
-
return
|
|
1161
|
+
return D + e + se + e + e;
|
|
1162
1162
|
}
|
|
1163
1163
|
return e;
|
|
1164
1164
|
}
|
|
1165
|
-
var
|
|
1165
|
+
var On = function(r, t, a, o) {
|
|
1166
1166
|
if (r.length > -1 && !r.return)
|
|
1167
1167
|
switch (r.type) {
|
|
1168
1168
|
case Yr:
|
|
@@ -1170,30 +1170,30 @@ var Pn = function(r, t, a, i) {
|
|
|
1170
1170
|
break;
|
|
1171
1171
|
case vt:
|
|
1172
1172
|
return rr([lr(r, {
|
|
1173
|
-
value:
|
|
1174
|
-
})],
|
|
1173
|
+
value: M(r.value, "@", "@" + D)
|
|
1174
|
+
})], o);
|
|
1175
1175
|
case zr:
|
|
1176
1176
|
if (r.length)
|
|
1177
|
-
return sn(r.props, function(
|
|
1178
|
-
switch (on(
|
|
1177
|
+
return sn(r.props, function(i) {
|
|
1178
|
+
switch (on(i, /(::plac\w+|:read-\w+)/)) {
|
|
1179
1179
|
case ":read-only":
|
|
1180
1180
|
case ":read-write":
|
|
1181
1181
|
return rr([lr(r, {
|
|
1182
|
-
props: [
|
|
1183
|
-
})],
|
|
1182
|
+
props: [M(i, /:(read-\w+)/, ":" + wr + "$1")]
|
|
1183
|
+
})], o);
|
|
1184
1184
|
case "::placeholder":
|
|
1185
1185
|
return rr([lr(r, {
|
|
1186
|
-
props: [
|
|
1186
|
+
props: [M(i, /:(plac\w+)/, ":" + D + "input-$1")]
|
|
1187
1187
|
}), lr(r, {
|
|
1188
|
-
props: [
|
|
1188
|
+
props: [M(i, /:(plac\w+)/, ":" + wr + "$1")]
|
|
1189
1189
|
}), lr(r, {
|
|
1190
|
-
props: [
|
|
1191
|
-
})],
|
|
1190
|
+
props: [M(i, /:(plac\w+)/, se + "input-$1")]
|
|
1191
|
+
})], o);
|
|
1192
1192
|
}
|
|
1193
1193
|
return "";
|
|
1194
1194
|
});
|
|
1195
1195
|
}
|
|
1196
|
-
},
|
|
1196
|
+
}, Pn = [On], An = function(r) {
|
|
1197
1197
|
var t = r.key;
|
|
1198
1198
|
if (process.env.NODE_ENV !== "production" && !t)
|
|
1199
1199
|
throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
@@ -1201,47 +1201,47 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1201
1201
|
if (t === "css") {
|
|
1202
1202
|
var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1203
1203
|
Array.prototype.forEach.call(a, function(b) {
|
|
1204
|
-
var
|
|
1205
|
-
|
|
1204
|
+
var N = b.getAttribute("data-emotion");
|
|
1205
|
+
N.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
|
|
1206
1206
|
});
|
|
1207
1207
|
}
|
|
1208
|
-
var
|
|
1208
|
+
var o = r.stylisPlugins || Pn;
|
|
1209
1209
|
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(t))
|
|
1210
1210
|
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + t + '" was passed');
|
|
1211
|
-
var
|
|
1211
|
+
var i = {}, l, c = [];
|
|
1212
1212
|
l = r.container || document.head, Array.prototype.forEach.call(
|
|
1213
1213
|
// this means we will ignore elements which don't have a space in them which
|
|
1214
1214
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1215
1215
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1216
1216
|
function(b) {
|
|
1217
|
-
for (var
|
|
1218
|
-
|
|
1219
|
-
|
|
1217
|
+
for (var N = b.getAttribute("data-emotion").split(" "), C = 1; C < N.length; C++)
|
|
1218
|
+
i[N[C]] = !0;
|
|
1219
|
+
c.push(b);
|
|
1220
1220
|
}
|
|
1221
1221
|
);
|
|
1222
|
-
var
|
|
1223
|
-
process.env.NODE_ENV !== "production" &&
|
|
1222
|
+
var f, g = [kn, Sn];
|
|
1223
|
+
process.env.NODE_ENV !== "production" && g.push(Cn({
|
|
1224
1224
|
get compat() {
|
|
1225
|
-
return
|
|
1225
|
+
return y.compat;
|
|
1226
1226
|
}
|
|
1227
1227
|
}), Tn);
|
|
1228
1228
|
{
|
|
1229
|
-
var
|
|
1230
|
-
b.root || (b.return ?
|
|
1229
|
+
var d, v = [pn, process.env.NODE_ENV !== "production" ? function(b) {
|
|
1230
|
+
b.root || (b.return ? d.insert(b.return) : b.value && b.type !== Br && d.insert(b.value + "{}"));
|
|
1231
1231
|
} : bn(function(b) {
|
|
1232
|
-
|
|
1233
|
-
})],
|
|
1234
|
-
return rr(gn(
|
|
1232
|
+
d.insert(b);
|
|
1233
|
+
})], k = vn(g.concat(o, v)), x = function(N) {
|
|
1234
|
+
return rr(gn(N), k);
|
|
1235
1235
|
};
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
insert: function(
|
|
1239
|
-
S.insert(
|
|
1236
|
+
f = function(N, C, S, O) {
|
|
1237
|
+
d = S, process.env.NODE_ENV !== "production" && C.map !== void 0 && (d = {
|
|
1238
|
+
insert: function(u) {
|
|
1239
|
+
S.insert(u + C.map);
|
|
1240
1240
|
}
|
|
1241
|
-
}),
|
|
1241
|
+
}), x(N ? N + "{" + C.styles + "}" : C.styles), O && (y.inserted[C.name] = !0);
|
|
1242
1242
|
};
|
|
1243
1243
|
}
|
|
1244
|
-
var
|
|
1244
|
+
var y = {
|
|
1245
1245
|
key: t,
|
|
1246
1246
|
sheet: new Qt({
|
|
1247
1247
|
key: t,
|
|
@@ -1252,12 +1252,12 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1252
1252
|
insertionPoint: r.insertionPoint
|
|
1253
1253
|
}),
|
|
1254
1254
|
nonce: r.nonce,
|
|
1255
|
-
inserted:
|
|
1255
|
+
inserted: i,
|
|
1256
1256
|
registered: {},
|
|
1257
|
-
insert:
|
|
1257
|
+
insert: f
|
|
1258
1258
|
};
|
|
1259
|
-
return
|
|
1260
|
-
}, Mr = { exports: {} },
|
|
1259
|
+
return y.sheet.hydrate(c), y;
|
|
1260
|
+
}, Mr = { exports: {} }, F = {};
|
|
1261
1261
|
/** @license React v16.13.1
|
|
1262
1262
|
* react-is.production.min.js
|
|
1263
1263
|
*
|
|
@@ -1269,71 +1269,71 @@ 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 F;
|
|
1273
1273
|
ot = 1;
|
|
1274
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107,
|
|
1275
|
-
function
|
|
1276
|
-
if (typeof
|
|
1277
|
-
var
|
|
1278
|
-
switch (
|
|
1274
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, k = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1275
|
+
function O(u) {
|
|
1276
|
+
if (typeof u == "object" && u !== null) {
|
|
1277
|
+
var B = u.$$typeof;
|
|
1278
|
+
switch (B) {
|
|
1279
1279
|
case r:
|
|
1280
|
-
switch (
|
|
1281
|
-
case
|
|
1282
|
-
case
|
|
1280
|
+
switch (u = u.type, u) {
|
|
1281
|
+
case f:
|
|
1282
|
+
case g:
|
|
1283
1283
|
case a:
|
|
1284
|
-
case o:
|
|
1285
1284
|
case i:
|
|
1286
|
-
case
|
|
1287
|
-
|
|
1285
|
+
case o:
|
|
1286
|
+
case v:
|
|
1287
|
+
return u;
|
|
1288
1288
|
default:
|
|
1289
|
-
switch (
|
|
1290
|
-
case
|
|
1291
|
-
case
|
|
1292
|
-
case
|
|
1293
|
-
case
|
|
1289
|
+
switch (u = u && u.$$typeof, u) {
|
|
1290
|
+
case c:
|
|
1291
|
+
case d:
|
|
1292
|
+
case y:
|
|
1293
|
+
case x:
|
|
1294
1294
|
case l:
|
|
1295
|
-
return
|
|
1295
|
+
return u;
|
|
1296
1296
|
default:
|
|
1297
|
-
return
|
|
1297
|
+
return B;
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
case t:
|
|
1301
|
-
return
|
|
1301
|
+
return B;
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return
|
|
1305
|
+
function $(u) {
|
|
1306
|
+
return O(u) === g;
|
|
1307
1307
|
}
|
|
1308
|
-
return
|
|
1309
|
-
return
|
|
1310
|
-
},
|
|
1311
|
-
return
|
|
1312
|
-
},
|
|
1313
|
-
return
|
|
1314
|
-
},
|
|
1315
|
-
return typeof
|
|
1316
|
-
},
|
|
1317
|
-
return
|
|
1318
|
-
},
|
|
1319
|
-
return
|
|
1320
|
-
},
|
|
1321
|
-
return
|
|
1322
|
-
},
|
|
1323
|
-
return
|
|
1324
|
-
},
|
|
1325
|
-
return
|
|
1326
|
-
},
|
|
1327
|
-
return
|
|
1328
|
-
},
|
|
1329
|
-
return
|
|
1330
|
-
},
|
|
1331
|
-
return
|
|
1332
|
-
},
|
|
1333
|
-
return typeof
|
|
1334
|
-
},
|
|
1308
|
+
return F.AsyncMode = f, F.ConcurrentMode = g, F.ContextConsumer = c, F.ContextProvider = l, F.Element = r, F.ForwardRef = d, F.Fragment = a, F.Lazy = y, F.Memo = x, F.Portal = t, F.Profiler = i, F.StrictMode = o, F.Suspense = v, F.isAsyncMode = function(u) {
|
|
1309
|
+
return $(u) || O(u) === f;
|
|
1310
|
+
}, F.isConcurrentMode = $, F.isContextConsumer = function(u) {
|
|
1311
|
+
return O(u) === c;
|
|
1312
|
+
}, F.isContextProvider = function(u) {
|
|
1313
|
+
return O(u) === l;
|
|
1314
|
+
}, F.isElement = function(u) {
|
|
1315
|
+
return typeof u == "object" && u !== null && u.$$typeof === r;
|
|
1316
|
+
}, F.isForwardRef = function(u) {
|
|
1317
|
+
return O(u) === d;
|
|
1318
|
+
}, F.isFragment = function(u) {
|
|
1319
|
+
return O(u) === a;
|
|
1320
|
+
}, F.isLazy = function(u) {
|
|
1321
|
+
return O(u) === y;
|
|
1322
|
+
}, F.isMemo = function(u) {
|
|
1323
|
+
return O(u) === x;
|
|
1324
|
+
}, F.isPortal = function(u) {
|
|
1325
|
+
return O(u) === t;
|
|
1326
|
+
}, F.isProfiler = function(u) {
|
|
1327
|
+
return O(u) === i;
|
|
1328
|
+
}, F.isStrictMode = function(u) {
|
|
1329
|
+
return O(u) === o;
|
|
1330
|
+
}, F.isSuspense = function(u) {
|
|
1331
|
+
return O(u) === v;
|
|
1332
|
+
}, F.isValidElementType = function(u) {
|
|
1333
|
+
return typeof u == "string" || typeof u == "function" || u === a || u === g || u === i || u === o || u === v || u === k || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === x || u.$$typeof === l || u.$$typeof === c || u.$$typeof === d || u.$$typeof === N || u.$$typeof === C || u.$$typeof === S || u.$$typeof === b);
|
|
1334
|
+
}, F.typeOf = O, F;
|
|
1335
1335
|
}
|
|
1336
|
-
var
|
|
1336
|
+
var j = {};
|
|
1337
1337
|
/** @license React v16.13.1
|
|
1338
1338
|
* react-is.development.js
|
|
1339
1339
|
*
|
|
@@ -1345,85 +1345,85 @@ var F = {};
|
|
|
1345
1345
|
var it;
|
|
1346
1346
|
function $n() {
|
|
1347
1347
|
return it || (it = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1348
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107,
|
|
1349
|
-
function
|
|
1350
|
-
return typeof
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
function
|
|
1354
|
-
if (typeof
|
|
1355
|
-
var
|
|
1356
|
-
switch (
|
|
1348
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, v = e ? Symbol.for("react.suspense") : 60113, k = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1349
|
+
function O(h) {
|
|
1350
|
+
return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1351
|
+
h === a || h === g || h === i || h === o || h === v || h === k || typeof h == "object" && h !== null && (h.$$typeof === y || h.$$typeof === x || h.$$typeof === l || h.$$typeof === c || h.$$typeof === d || h.$$typeof === N || h.$$typeof === C || h.$$typeof === S || h.$$typeof === b);
|
|
1352
|
+
}
|
|
1353
|
+
function $(h) {
|
|
1354
|
+
if (typeof h == "object" && h !== null) {
|
|
1355
|
+
var V = h.$$typeof;
|
|
1356
|
+
switch (V) {
|
|
1357
1357
|
case r:
|
|
1358
|
-
var
|
|
1359
|
-
switch (
|
|
1360
|
-
case
|
|
1361
|
-
case
|
|
1358
|
+
var Te = h.type;
|
|
1359
|
+
switch (Te) {
|
|
1360
|
+
case f:
|
|
1361
|
+
case g:
|
|
1362
1362
|
case a:
|
|
1363
|
-
case o:
|
|
1364
1363
|
case i:
|
|
1365
|
-
case
|
|
1366
|
-
|
|
1364
|
+
case o:
|
|
1365
|
+
case v:
|
|
1366
|
+
return Te;
|
|
1367
1367
|
default:
|
|
1368
|
-
var
|
|
1369
|
-
switch (
|
|
1370
|
-
case
|
|
1371
|
-
case
|
|
1372
|
-
case
|
|
1373
|
-
case
|
|
1368
|
+
var ue = Te && Te.$$typeof;
|
|
1369
|
+
switch (ue) {
|
|
1370
|
+
case c:
|
|
1371
|
+
case d:
|
|
1372
|
+
case y:
|
|
1373
|
+
case x:
|
|
1374
1374
|
case l:
|
|
1375
|
-
return
|
|
1375
|
+
return ue;
|
|
1376
1376
|
default:
|
|
1377
|
-
return
|
|
1377
|
+
return V;
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
case t:
|
|
1381
|
-
return
|
|
1381
|
+
return V;
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
|
-
var
|
|
1386
|
-
function
|
|
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.")),
|
|
1385
|
+
var u = f, B = g, _ = c, $e = l, ke = r, Le = d, Pe = a, De = y, ne = x, X = t, ce = i, Se = o, re = v, te = !1;
|
|
1386
|
+
function le(h) {
|
|
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.")), ae(h) || $(h) === f;
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1390
|
-
return
|
|
1389
|
+
function ae(h) {
|
|
1390
|
+
return $(h) === g;
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1393
|
-
return
|
|
1392
|
+
function be(h) {
|
|
1393
|
+
return $(h) === c;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1396
|
-
return
|
|
1395
|
+
function K(h) {
|
|
1396
|
+
return $(h) === l;
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1399
|
-
return typeof
|
|
1398
|
+
function ye(h) {
|
|
1399
|
+
return typeof h == "object" && h !== null && h.$$typeof === r;
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1402
|
-
return
|
|
1401
|
+
function Me(h) {
|
|
1402
|
+
return $(h) === d;
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1405
|
-
return
|
|
1404
|
+
function Fe(h) {
|
|
1405
|
+
return $(h) === a;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1408
|
-
return
|
|
1407
|
+
function ge(h) {
|
|
1408
|
+
return $(h) === y;
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1411
|
-
return
|
|
1410
|
+
function xe(h) {
|
|
1411
|
+
return $(h) === x;
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1414
|
-
return
|
|
1413
|
+
function _e(h) {
|
|
1414
|
+
return $(h) === t;
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1417
|
-
return
|
|
1416
|
+
function Ce(h) {
|
|
1417
|
+
return $(h) === i;
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1420
|
-
return
|
|
1419
|
+
function Y(h) {
|
|
1420
|
+
return $(h) === o;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1423
|
-
return
|
|
1422
|
+
function Ee(h) {
|
|
1423
|
+
return $(h) === v;
|
|
1424
1424
|
}
|
|
1425
|
-
|
|
1426
|
-
}()),
|
|
1425
|
+
j.AsyncMode = u, j.ConcurrentMode = B, j.ContextConsumer = _, j.ContextProvider = $e, j.Element = ke, j.ForwardRef = Le, j.Fragment = Pe, j.Lazy = De, j.Memo = ne, j.Portal = X, j.Profiler = ce, j.StrictMode = Se, j.Suspense = re, j.isAsyncMode = le, j.isConcurrentMode = ae, j.isContextConsumer = be, j.isContextProvider = K, j.isElement = ye, j.isForwardRef = Me, j.isFragment = Fe, j.isLazy = ge, j.isMemo = xe, j.isPortal = _e, j.isProfiler = Ce, j.isStrictMode = Y, j.isSuspense = Ee, j.isValidElementType = O, j.typeOf = $;
|
|
1426
|
+
}()), j;
|
|
1427
1427
|
}
|
|
1428
1428
|
process.env.NODE_ENV === "production" ? Mr.exports = In() : Mr.exports = $n();
|
|
1429
1429
|
var Ln = Mr.exports, St = Ln, Dn = {
|
|
@@ -1445,12 +1445,12 @@ xt[St.Memo] = Mn;
|
|
|
1445
1445
|
var Fn = !0;
|
|
1446
1446
|
function jn(e, r, t) {
|
|
1447
1447
|
var a = "";
|
|
1448
|
-
return t.split(" ").forEach(function(
|
|
1449
|
-
e[
|
|
1448
|
+
return t.split(" ").forEach(function(o) {
|
|
1449
|
+
e[o] !== void 0 ? r.push(e[o] + ";") : a += o + " ";
|
|
1450
1450
|
}), a;
|
|
1451
1451
|
}
|
|
1452
1452
|
var _t = function(r, t, a) {
|
|
1453
|
-
var
|
|
1453
|
+
var o = r.key + "-" + t.name;
|
|
1454
1454
|
// we only need to add the styles to the registered cache if the
|
|
1455
1455
|
// class name could be used further down
|
|
1456
1456
|
// the tree but if it's a string tag, we know it won't
|
|
@@ -1460,25 +1460,25 @@ var _t = function(r, t, a) {
|
|
|
1460
1460
|
// in node since emotion-server relies on whether a style is in
|
|
1461
1461
|
// the registered cache to know whether a style is global or not
|
|
1462
1462
|
// also, note that this check will be dead code eliminated in the browser
|
|
1463
|
-
Fn === !1) && r.registered[
|
|
1463
|
+
Fn === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
|
|
1464
1464
|
}, Vn = function(r, t, a) {
|
|
1465
1465
|
_t(r, t, a);
|
|
1466
|
-
var
|
|
1466
|
+
var o = r.key + "-" + t.name;
|
|
1467
1467
|
if (r.inserted[t.name] === void 0) {
|
|
1468
|
-
var
|
|
1468
|
+
var i = t;
|
|
1469
1469
|
do
|
|
1470
|
-
r.insert(t ===
|
|
1471
|
-
while (
|
|
1470
|
+
r.insert(t === i ? "." + o : "", i, r.sheet, !0), i = i.next;
|
|
1471
|
+
while (i !== void 0);
|
|
1472
1472
|
}
|
|
1473
1473
|
};
|
|
1474
1474
|
function Bn(e) {
|
|
1475
|
-
for (var r = 0, t, a = 0,
|
|
1475
|
+
for (var r = 0, t, a = 0, o = e.length; o >= 4; ++a, o -= 4)
|
|
1476
1476
|
t = e.charCodeAt(a) & 255 | (e.charCodeAt(++a) & 255) << 8 | (e.charCodeAt(++a) & 255) << 16 | (e.charCodeAt(++a) & 255) << 24, t = /* Math.imul(k, m): */
|
|
1477
1477
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
1478
1478
|
t >>> 24, r = /* Math.imul(k, m): */
|
|
1479
1479
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
1480
1480
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
1481
|
-
switch (
|
|
1481
|
+
switch (o) {
|
|
1482
1482
|
case 3:
|
|
1483
1483
|
r ^= (e.charCodeAt(a + 2) & 255) << 16;
|
|
1484
1484
|
case 2:
|
|
@@ -1541,7 +1541,7 @@ var zn = {
|
|
|
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`, 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,
|
|
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, Ct = /_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";
|
|
@@ -1552,12 +1552,12 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
1552
1552
|
case "animation":
|
|
1553
1553
|
case "animationName":
|
|
1554
1554
|
if (typeof t == "string")
|
|
1555
|
-
return t.replace(
|
|
1556
|
-
return
|
|
1557
|
-
name:
|
|
1558
|
-
styles:
|
|
1559
|
-
next:
|
|
1560
|
-
},
|
|
1555
|
+
return t.replace(Ct, function(a, o, i) {
|
|
1556
|
+
return Oe = {
|
|
1557
|
+
name: o,
|
|
1558
|
+
styles: i,
|
|
1559
|
+
next: Oe
|
|
1560
|
+
}, o;
|
|
1561
1561
|
});
|
|
1562
1562
|
}
|
|
1563
1563
|
return zn[r] !== 1 && !Wr(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
@@ -1568,18 +1568,18 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
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 !== "" && !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(
|
|
1572
|
-
return
|
|
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(o, i) {
|
|
1572
|
+
return i.toUpperCase();
|
|
1573
1573
|
}) + "?")), a;
|
|
1574
1574
|
};
|
|
1575
1575
|
}
|
|
1576
|
-
var
|
|
1576
|
+
var Rt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1577
1577
|
function dr(e, r, t) {
|
|
1578
1578
|
if (t == null)
|
|
1579
1579
|
return "";
|
|
1580
1580
|
if (t.__emotion_styles !== void 0) {
|
|
1581
1581
|
if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
|
|
1582
|
-
throw new Error(
|
|
1582
|
+
throw new Error(Rt);
|
|
1583
1583
|
return t;
|
|
1584
1584
|
}
|
|
1585
1585
|
switch (typeof t) {
|
|
@@ -1587,79 +1587,79 @@ function dr(e, r, t) {
|
|
|
1587
1587
|
return "";
|
|
1588
1588
|
case "object": {
|
|
1589
1589
|
if (t.anim === 1)
|
|
1590
|
-
return
|
|
1590
|
+
return Oe = {
|
|
1591
1591
|
name: t.name,
|
|
1592
1592
|
styles: t.styles,
|
|
1593
|
-
next:
|
|
1593
|
+
next: Oe
|
|
1594
1594
|
}, t.name;
|
|
1595
1595
|
if (t.styles !== void 0) {
|
|
1596
1596
|
var a = t.next;
|
|
1597
1597
|
if (a !== void 0)
|
|
1598
1598
|
for (; a !== void 0; )
|
|
1599
|
-
|
|
1599
|
+
Oe = {
|
|
1600
1600
|
name: a.name,
|
|
1601
1601
|
styles: a.styles,
|
|
1602
|
-
next:
|
|
1602
|
+
next: Oe
|
|
1603
1603
|
}, a = a.next;
|
|
1604
|
-
var
|
|
1605
|
-
return process.env.NODE_ENV !== "production" && t.map !== void 0 && (
|
|
1604
|
+
var o = t.styles + ";";
|
|
1605
|
+
return process.env.NODE_ENV !== "production" && t.map !== void 0 && (o += t.map), o;
|
|
1606
1606
|
}
|
|
1607
1607
|
return Jn(e, r, t);
|
|
1608
1608
|
}
|
|
1609
1609
|
case "function": {
|
|
1610
1610
|
if (e !== void 0) {
|
|
1611
|
-
var
|
|
1612
|
-
return
|
|
1611
|
+
var i = Oe, l = t(e);
|
|
1612
|
+
return Oe = i, 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;
|
|
1616
1616
|
}
|
|
1617
1617
|
case "string":
|
|
1618
1618
|
if (process.env.NODE_ENV !== "production") {
|
|
1619
|
-
var
|
|
1620
|
-
var
|
|
1621
|
-
return
|
|
1619
|
+
var c = [], f = t.replace(Ct, function(d, v, k) {
|
|
1620
|
+
var x = "animation" + c.length;
|
|
1621
|
+
return c.push("const " + x + " = keyframes`" + k.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + x + "}";
|
|
1622
1622
|
});
|
|
1623
|
-
|
|
1623
|
+
c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" + f + "`"]).join(`
|
|
1624
1624
|
`) + `
|
|
1625
1625
|
|
|
1626
1626
|
You should wrap it with \`css\` like this:
|
|
1627
1627
|
|
|
1628
|
-
` + ("css`" +
|
|
1628
|
+
` + ("css`" + f + "`"));
|
|
1629
1629
|
}
|
|
1630
1630
|
break;
|
|
1631
1631
|
}
|
|
1632
1632
|
if (r == null)
|
|
1633
1633
|
return t;
|
|
1634
|
-
var
|
|
1635
|
-
return
|
|
1634
|
+
var g = r[t];
|
|
1635
|
+
return g !== void 0 ? g : t;
|
|
1636
1636
|
}
|
|
1637
1637
|
function Jn(e, r, t) {
|
|
1638
1638
|
var a = "";
|
|
1639
1639
|
if (Array.isArray(t))
|
|
1640
|
-
for (var
|
|
1641
|
-
a += dr(e, r, t[
|
|
1640
|
+
for (var o = 0; o < t.length; o++)
|
|
1641
|
+
a += dr(e, r, t[o]) + ";";
|
|
1642
1642
|
else
|
|
1643
|
-
for (var
|
|
1644
|
-
var l = t[
|
|
1643
|
+
for (var i in t) {
|
|
1644
|
+
var l = t[i];
|
|
1645
1645
|
if (typeof l != "object")
|
|
1646
|
-
r != null && r[l] !== void 0 ? a +=
|
|
1646
|
+
r != null && r[l] !== void 0 ? a += i + "{" + r[l] + "}" : ct(l) && (a += Ar(i) + ":" + Nr(i, l) + ";");
|
|
1647
1647
|
else {
|
|
1648
|
-
if (
|
|
1649
|
-
throw new Error(
|
|
1648
|
+
if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
1649
|
+
throw new Error(Rt);
|
|
1650
1650
|
if (Array.isArray(l) && typeof l[0] == "string" && (r == null || r[l[0]] === void 0))
|
|
1651
|
-
for (var
|
|
1652
|
-
ct(l[
|
|
1651
|
+
for (var c = 0; c < l.length; c++)
|
|
1652
|
+
ct(l[c]) && (a += Ar(i) + ":" + Nr(i, l[c]) + ";");
|
|
1653
1653
|
else {
|
|
1654
|
-
var
|
|
1655
|
-
switch (
|
|
1654
|
+
var f = dr(e, r, l);
|
|
1655
|
+
switch (i) {
|
|
1656
1656
|
case "animation":
|
|
1657
1657
|
case "animationName": {
|
|
1658
|
-
a += Ar(
|
|
1658
|
+
a += Ar(i) + ":" + f + ";";
|
|
1659
1659
|
break;
|
|
1660
1660
|
}
|
|
1661
1661
|
default:
|
|
1662
|
-
process.env.NODE_ENV !== "production" &&
|
|
1662
|
+
process.env.NODE_ENV !== "production" && i === "undefined" && console.error(Yn), a += i + "{" + f + "}";
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
}
|
|
@@ -1668,39 +1668,39 @@ function Jn(e, r, t) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
var ut = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Tt;
|
|
1670
1670
|
process.env.NODE_ENV !== "production" && (Tt = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
1671
|
-
var
|
|
1671
|
+
var Oe, ft = function(r, t, a) {
|
|
1672
1672
|
if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
|
|
1673
1673
|
return r[0];
|
|
1674
|
-
var
|
|
1675
|
-
|
|
1674
|
+
var o = !0, i = "";
|
|
1675
|
+
Oe = void 0;
|
|
1676
1676
|
var l = r[0];
|
|
1677
|
-
l == null || l.raw === void 0 ? (
|
|
1678
|
-
for (var
|
|
1679
|
-
|
|
1680
|
-
var
|
|
1681
|
-
process.env.NODE_ENV !== "production" && (
|
|
1682
|
-
return
|
|
1677
|
+
l == null || l.raw === void 0 ? (o = !1, i += dr(a, t, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(st), i += l[0]);
|
|
1678
|
+
for (var c = 1; c < r.length; c++)
|
|
1679
|
+
i += dr(a, t, r[c]), o && (process.env.NODE_ENV !== "production" && l[c] === void 0 && console.error(st), i += l[c]);
|
|
1680
|
+
var f;
|
|
1681
|
+
process.env.NODE_ENV !== "production" && (i = i.replace(Tt, function(k) {
|
|
1682
|
+
return f = k, "";
|
|
1683
1683
|
})), ut.lastIndex = 0;
|
|
1684
|
-
for (var
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
var
|
|
1684
|
+
for (var g = "", d; (d = ut.exec(i)) !== null; )
|
|
1685
|
+
g += "-" + // $FlowFixMe we know it's not null
|
|
1686
|
+
d[1];
|
|
1687
|
+
var v = Bn(i) + g;
|
|
1688
1688
|
return process.env.NODE_ENV !== "production" ? {
|
|
1689
|
-
name:
|
|
1690
|
-
styles:
|
|
1691
|
-
map:
|
|
1692
|
-
next:
|
|
1689
|
+
name: v,
|
|
1690
|
+
styles: i,
|
|
1691
|
+
map: f,
|
|
1692
|
+
next: Oe,
|
|
1693
1693
|
toString: function() {
|
|
1694
1694
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1695
1695
|
}
|
|
1696
1696
|
} : {
|
|
1697
|
-
name:
|
|
1698
|
-
styles:
|
|
1699
|
-
next:
|
|
1697
|
+
name: v,
|
|
1698
|
+
styles: i,
|
|
1699
|
+
next: Oe
|
|
1700
1700
|
};
|
|
1701
1701
|
}, Xn = function(r) {
|
|
1702
1702
|
return r();
|
|
1703
|
-
}, Zn =
|
|
1703
|
+
}, Zn = Be["useInsertionEffect"] ? Be["useInsertionEffect"] : !1, Qn = Zn || Xn, Cr = {}.hasOwnProperty, qr = /* @__PURE__ */ Be.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
|
|
@@ -1715,11 +1715,11 @@ process.env.NODE_ENV !== "production" && (qr.displayName = "EmotionCacheContext"
|
|
|
1715
1715
|
qr.Provider;
|
|
1716
1716
|
var ea = function(r) {
|
|
1717
1717
|
return /* @__PURE__ */ pt(function(t, a) {
|
|
1718
|
-
var
|
|
1719
|
-
return r(t,
|
|
1718
|
+
var o = Vt(qr);
|
|
1719
|
+
return r(t, o, a);
|
|
1720
1720
|
});
|
|
1721
|
-
},
|
|
1722
|
-
process.env.NODE_ENV !== "production" && (
|
|
1721
|
+
}, Ot = /* @__PURE__ */ Be.createContext({});
|
|
1722
|
+
process.env.NODE_ENV !== "production" && (Ot.displayName = "EmotionThemeContext");
|
|
1723
1723
|
var dt = function(r) {
|
|
1724
1724
|
var t = r.split(".");
|
|
1725
1725
|
return t[t.length - 1];
|
|
@@ -1733,97 +1733,97 @@ var dt = function(r) {
|
|
|
1733
1733
|
if (r)
|
|
1734
1734
|
for (var t = r.split(`
|
|
1735
1735
|
`), a = 0; a < t.length; a++) {
|
|
1736
|
-
var
|
|
1737
|
-
if (
|
|
1738
|
-
if (ta.has(
|
|
1736
|
+
var o = ra(t[a]);
|
|
1737
|
+
if (o) {
|
|
1738
|
+
if (ta.has(o))
|
|
1739
1739
|
break;
|
|
1740
|
-
if (/^[A-Z]/.test(
|
|
1741
|
-
return na(
|
|
1740
|
+
if (/^[A-Z]/.test(o))
|
|
1741
|
+
return na(o);
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
-
}, Fr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", jr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__",
|
|
1744
|
+
}, Fr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", jr = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Pt = 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
|
-
for (var
|
|
1750
|
-
|
|
1749
|
+
for (var o in t)
|
|
1750
|
+
Cr.call(t, o) && (a[o] = t[o]);
|
|
1751
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
|
-
var
|
|
1753
|
-
|
|
1752
|
+
var i = aa(new Error().stack);
|
|
1753
|
+
i && (a[jr] = i);
|
|
1754
1754
|
}
|
|
1755
1755
|
return a;
|
|
1756
1756
|
}, oa = function(r) {
|
|
1757
|
-
var t = r.cache, a = r.serialized,
|
|
1758
|
-
return _t(t, a,
|
|
1759
|
-
return Vn(t, a,
|
|
1757
|
+
var t = r.cache, a = r.serialized, o = r.isStringTag;
|
|
1758
|
+
return _t(t, a, o), Qn(function() {
|
|
1759
|
+
return Vn(t, a, o);
|
|
1760
1760
|
}), null;
|
|
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
|
|
1765
|
-
typeof e.className == "string" ? l = jn(r.registered,
|
|
1766
|
-
var
|
|
1767
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
1768
|
-
var
|
|
1769
|
-
|
|
1764
|
+
var o = e[Fr], i = [a], l = "";
|
|
1765
|
+
typeof e.className == "string" ? l = jn(r.registered, i, e.className) : e.className != null && (l = e.className + " ");
|
|
1766
|
+
var c = ft(i, void 0, Be.useContext(Ot));
|
|
1767
|
+
if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
|
|
1768
|
+
var f = e[jr];
|
|
1769
|
+
f && (c = ft([c, "label:" + f + ";"]));
|
|
1770
1770
|
}
|
|
1771
|
-
l += r.key + "-" +
|
|
1772
|
-
var
|
|
1773
|
-
for (var
|
|
1774
|
-
|
|
1775
|
-
return
|
|
1771
|
+
l += r.key + "-" + c.name;
|
|
1772
|
+
var g = {};
|
|
1773
|
+
for (var d in e)
|
|
1774
|
+
Cr.call(e, d) && d !== "css" && d !== Fr && (process.env.NODE_ENV === "production" || d !== jr) && (g[d] = e[d]);
|
|
1775
|
+
return g.ref = t, g.className = l, /* @__PURE__ */ Be.createElement(Be.Fragment, null, /* @__PURE__ */ Be.createElement(oa, {
|
|
1776
1776
|
cache: r,
|
|
1777
|
-
serialized:
|
|
1778
|
-
isStringTag: typeof
|
|
1779
|
-
}), /* @__PURE__ */
|
|
1777
|
+
serialized: c,
|
|
1778
|
+
isStringTag: typeof o == "string"
|
|
1779
|
+
}), /* @__PURE__ */ Be.createElement(o, g));
|
|
1780
1780
|
});
|
|
1781
1781
|
process.env.NODE_ENV !== "production" && (At.displayName = "EmotionCssPropInternal");
|
|
1782
1782
|
var It = At, Qe = Jt;
|
|
1783
1783
|
function p(e, r, t) {
|
|
1784
|
-
return
|
|
1784
|
+
return Cr.call(r, "css") ? Qr(It, Pt(e, r), t) : Qr(e, r, t);
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1787
|
-
return
|
|
1786
|
+
function pe(e, r, t) {
|
|
1787
|
+
return Cr.call(r, "css") ? et(It, Pt(e, r), t) : et(e, r, t);
|
|
1788
1788
|
}
|
|
1789
1789
|
function ia(e, r) {
|
|
1790
1790
|
let t = null, a = null;
|
|
1791
|
-
return function(...
|
|
1791
|
+
return function(...i) {
|
|
1792
1792
|
const l = this;
|
|
1793
|
-
t === null ? r.apply(l,
|
|
1793
|
+
t === null ? r.apply(l, i) : a = i, clearTimeout(t), t = setTimeout(() => {
|
|
1794
1794
|
a && (r.apply(l, a), a = null), t = null;
|
|
1795
1795
|
}, e);
|
|
1796
1796
|
};
|
|
1797
1797
|
}
|
|
1798
1798
|
const sa = (e, r) => {
|
|
1799
|
-
let t, a,
|
|
1800
|
-
const
|
|
1801
|
-
const
|
|
1799
|
+
let t, a, o;
|
|
1800
|
+
const i = (l, c, f) => (g) => {
|
|
1801
|
+
const d = performance.now();
|
|
1802
1802
|
return setTimeout(() => {
|
|
1803
|
-
if (!
|
|
1803
|
+
if (!o) {
|
|
1804
1804
|
t = void 0, a = void 0;
|
|
1805
1805
|
return;
|
|
1806
1806
|
}
|
|
1807
|
-
const
|
|
1808
|
-
|
|
1809
|
-
console.error(
|
|
1807
|
+
const v = (async () => r(...o))();
|
|
1808
|
+
o = void 0, v.then(c).catch((y) => {
|
|
1809
|
+
console.error(y), f(y);
|
|
1810
1810
|
});
|
|
1811
|
-
let
|
|
1812
|
-
a = new Promise((
|
|
1813
|
-
|
|
1814
|
-
}), t =
|
|
1815
|
-
}, e - (
|
|
1811
|
+
let k, x;
|
|
1812
|
+
a = new Promise((y, b) => {
|
|
1813
|
+
k = y, x = b;
|
|
1814
|
+
}), t = v.then(i(d, k, x)).catch((y) => (console.error(y), i(l, k, x)(y)));
|
|
1815
|
+
}, e - (d - l)), g;
|
|
1816
1816
|
};
|
|
1817
1817
|
return (...l) => {
|
|
1818
|
-
if (
|
|
1818
|
+
if (o = l, t)
|
|
1819
1819
|
return a;
|
|
1820
1820
|
{
|
|
1821
|
-
const
|
|
1822
|
-
|
|
1823
|
-
let
|
|
1824
|
-
return a = new Promise((
|
|
1825
|
-
|
|
1826
|
-
}), t =
|
|
1821
|
+
const c = performance.now(), f = (async () => r(...l))();
|
|
1822
|
+
o = void 0;
|
|
1823
|
+
let g, d;
|
|
1824
|
+
return a = new Promise((v, k) => {
|
|
1825
|
+
g = v, d = k;
|
|
1826
|
+
}), t = f.then(i(c, g, d)).catch((v) => (console.error(v), i(c, g, d)(v))), f;
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
}, ca = (e) => (r) => new ReadableStream({
|
|
@@ -1833,17 +1833,17 @@ const sa = (e, r) => {
|
|
|
1833
1833
|
this.reader = r.getReader();
|
|
1834
1834
|
},
|
|
1835
1835
|
async pull(t) {
|
|
1836
|
-
const { leftOverData: a } = this,
|
|
1837
|
-
const { value:
|
|
1838
|
-
if (
|
|
1839
|
-
const
|
|
1840
|
-
return this.reader = void 0, this.leftOverData = void 0,
|
|
1836
|
+
const { leftOverData: a } = this, o = async ({ buffer: c = new Uint8Array(e), currentSize: f = 0 } = {}) => {
|
|
1837
|
+
const { value: g, done: d } = await this.reader.read();
|
|
1838
|
+
if (f === 0 && a && (c.set(a), f += a.byteLength, this.leftOverData = void 0), d) {
|
|
1839
|
+
const x = { buffer: c.slice(0, f), currentSize: f, done: d };
|
|
1840
|
+
return this.reader = void 0, this.leftOverData = void 0, x;
|
|
1841
1841
|
}
|
|
1842
|
-
let
|
|
1843
|
-
const
|
|
1844
|
-
return
|
|
1845
|
-
}, { buffer:
|
|
1846
|
-
|
|
1842
|
+
let v;
|
|
1843
|
+
const k = g.slice(0, e - f);
|
|
1844
|
+
return v = f + k.byteLength, c.set(k, f), v === e ? (this.leftOverData = g.slice(e - f), { buffer: c, currentSize: v, done: !1 }) : o({ buffer: c, currentSize: v });
|
|
1845
|
+
}, { buffer: i, done: l } = await o();
|
|
1846
|
+
i?.byteLength && t.enqueue(i), l && t.close();
|
|
1847
1847
|
},
|
|
1848
1848
|
cancel() {
|
|
1849
1849
|
this.reader.cancel(), this.leftOverData = void 0;
|
|
@@ -1861,32 +1861,32 @@ const sa = (e, r) => {
|
|
|
1861
1861
|
if (this.buffers.length >= e)
|
|
1862
1862
|
return;
|
|
1863
1863
|
this.currentPullPromise = this.reader.read();
|
|
1864
|
-
const { value:
|
|
1864
|
+
const { value: i, done: l } = await this.currentPullPromise;
|
|
1865
1865
|
if (this.currentPullPromise = void 0, l) {
|
|
1866
1866
|
try {
|
|
1867
|
-
for (const
|
|
1868
|
-
t.enqueue(
|
|
1867
|
+
for (const c of this.buffers)
|
|
1868
|
+
t.enqueue(c);
|
|
1869
1869
|
t.close();
|
|
1870
1870
|
} catch {
|
|
1871
1871
|
}
|
|
1872
1872
|
return;
|
|
1873
1873
|
}
|
|
1874
|
-
return this.buffers.push(
|
|
1875
|
-
},
|
|
1874
|
+
return this.buffers.push(i), i;
|
|
1875
|
+
}, o = async () => {
|
|
1876
1876
|
if (!(this.buffers.length >= e)) {
|
|
1877
1877
|
if (this.buffers.length === 0)
|
|
1878
|
-
return await a() ?
|
|
1879
|
-
a().then((
|
|
1880
|
-
|
|
1878
|
+
return await a() ? o() : void 0;
|
|
1879
|
+
a().then((i) => {
|
|
1880
|
+
i && o();
|
|
1881
1881
|
});
|
|
1882
1882
|
}
|
|
1883
1883
|
};
|
|
1884
|
-
await
|
|
1884
|
+
await o();
|
|
1885
1885
|
try {
|
|
1886
|
-
t.enqueue(this.buffers.shift()),
|
|
1887
|
-
} catch (
|
|
1888
|
-
if (!(
|
|
1889
|
-
throw
|
|
1886
|
+
t.enqueue(this.buffers.shift()), o();
|
|
1887
|
+
} catch (i) {
|
|
1888
|
+
if (!(i instanceof TypeError && (i.message === "ReadableStreamDefaultController.enqueue: Cannot enqueue into a stream that has already been requested to close." || i.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
|
+
throw i;
|
|
1890
1890
|
}
|
|
1891
1891
|
},
|
|
1892
1892
|
cancel() {
|
|
@@ -1917,7 +1917,7 @@ const sa = (e, r) => {
|
|
|
1917
1917
|
grid-column: 1;
|
|
1918
1918
|
grid-row: 1;
|
|
1919
1919
|
}
|
|
1920
|
-
`, fa = ({ loading: e, needsInitialInteraction: r, togglePlay: t, setCanvasRef: a }) => /* @__PURE__ */
|
|
1920
|
+
`, fa = ({ loading: e, needsInitialInteraction: r, togglePlay: t, setCanvasRef: a }) => /* @__PURE__ */ pe("div", { css: ua, onClick: t, children: [
|
|
1921
1921
|
/* @__PURE__ */ p("canvas", { ref: a }),
|
|
1922
1922
|
r ? /* @__PURE__ */ p(
|
|
1923
1923
|
"svg",
|
|
@@ -1977,41 +1977,42 @@ const sa = (e, r) => {
|
|
|
1977
1977
|
}
|
|
1978
1978
|
) : null
|
|
1979
1979
|
] }), mt = ({ ref: e, defaultValue: r }) => {
|
|
1980
|
-
const [t, a] =
|
|
1981
|
-
if (
|
|
1980
|
+
const [t, a] = q(r), [o, i] = q(!1), l = (c) => {
|
|
1981
|
+
if (i(!0), !e.current)
|
|
1982
1982
|
return;
|
|
1983
|
-
const { clientX:
|
|
1984
|
-
a(Math.min(Math.max((
|
|
1983
|
+
const { clientX: f } = c, { left: g, right: d } = e.current.getBoundingClientRect();
|
|
1984
|
+
a(Math.min(Math.max((f - g) / (d - g), 0), 1));
|
|
1985
1985
|
};
|
|
1986
|
-
return
|
|
1987
|
-
if (!
|
|
1986
|
+
return we(() => {
|
|
1987
|
+
if (!o)
|
|
1988
1988
|
return;
|
|
1989
|
-
const
|
|
1989
|
+
const c = () => i(!1), f = (g) => {
|
|
1990
1990
|
if (!e.current)
|
|
1991
1991
|
return;
|
|
1992
|
-
const { clientX:
|
|
1993
|
-
a(Math.min(Math.max((
|
|
1992
|
+
const { clientX: d } = g, { left: v, right: k } = e.current.getBoundingClientRect();
|
|
1993
|
+
a(Math.min(Math.max((d - v) / (k - v), 0), 1));
|
|
1994
1994
|
};
|
|
1995
|
-
return document.addEventListener("mousemove",
|
|
1996
|
-
document.removeEventListener("mousemove",
|
|
1995
|
+
return document.addEventListener("mousemove", f), document.addEventListener("mouseup", c), () => {
|
|
1996
|
+
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", c);
|
|
1997
1997
|
};
|
|
1998
|
-
}, [
|
|
1998
|
+
}, [o]), {
|
|
1999
1999
|
value: t,
|
|
2000
|
-
scrubbing:
|
|
2001
|
-
scrub: l
|
|
2000
|
+
scrubbing: o,
|
|
2001
|
+
scrub: l,
|
|
2002
|
+
setValue: a
|
|
2002
2003
|
};
|
|
2003
2004
|
}, 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] =
|
|
2005
|
+
const [r, t] = q(() => {
|
|
2005
2006
|
const a = localStorage.getItem(e);
|
|
2006
2007
|
return a ? JSON.parse(a) : {};
|
|
2007
2008
|
});
|
|
2008
|
-
return
|
|
2009
|
+
return we(() => {
|
|
2009
2010
|
localStorage.setItem(e, JSON.stringify(r));
|
|
2010
|
-
}, [e, r]), (a,
|
|
2011
|
-
t((
|
|
2011
|
+
}, [e, r]), (a, o) => (we(() => {
|
|
2012
|
+
t((i) => ({ ...i, [a]: o }));
|
|
2012
2013
|
}, []), [
|
|
2013
2014
|
r[a],
|
|
2014
|
-
(
|
|
2015
|
+
(i) => t(typeof i == "function" ? (l) => ({ ...l, [a]: i(l[a]) }) : (l) => ({ ...l, [a]: i }))
|
|
2015
2016
|
]);
|
|
2016
2017
|
}, ga = kr`
|
|
2017
2018
|
position: relative;
|
|
@@ -2273,170 +2274,202 @@ const sa = (e, r) => {
|
|
|
2273
2274
|
}
|
|
2274
2275
|
}
|
|
2275
2276
|
`, ha = ({
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2277
|
+
video: e,
|
|
2278
|
+
videoReactive: r,
|
|
2279
|
+
duration: t,
|
|
2280
|
+
currentTime: a,
|
|
2281
|
+
togglePlay: o,
|
|
2282
|
+
seek: i,
|
|
2283
|
+
setVolume: l,
|
|
2284
|
+
isSubtitleMenuHidden: c,
|
|
2285
|
+
setIsSubtitleMenuHidden: f,
|
|
2286
|
+
isErrorMenuHidden: g,
|
|
2284
2287
|
setIsErrorMenuHidden: d,
|
|
2285
2288
|
setCurrentSubtitleTrack: v,
|
|
2286
|
-
loadedTime:
|
|
2287
|
-
isPlaying:
|
|
2289
|
+
loadedTime: k,
|
|
2290
|
+
isPlaying: x,
|
|
2288
2291
|
tracks: y,
|
|
2289
|
-
isFullscreen:
|
|
2292
|
+
isFullscreen: b,
|
|
2290
2293
|
toggleFullscreen: N,
|
|
2291
|
-
subtitleTrack:
|
|
2292
|
-
pictureInPicture:
|
|
2293
|
-
errors:
|
|
2294
|
-
customControls:
|
|
2295
|
-
...
|
|
2294
|
+
subtitleTrack: C,
|
|
2295
|
+
pictureInPicture: S,
|
|
2296
|
+
errors: O,
|
|
2297
|
+
customControls: $,
|
|
2298
|
+
...u
|
|
2296
2299
|
}) => {
|
|
2297
|
-
const
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
}, [
|
|
2301
|
-
|
|
2302
|
-
}, [
|
|
2303
|
-
if (
|
|
2304
|
-
|
|
2300
|
+
const B = er(null), _ = er(null), [$e, ke] = q(!1), { scrub: Le, value: Pe, setValue: De } = mt({ ref: B }), ne = Ir(() => document.pictureInPictureEnabled, []), [X, ce] = q(!1), Se = ma("fkn-media-player"), [re, te] = Se("volume", 1), [le, ae] = Se("muted", !1), { scrub: be, value: K, setValue: ye } = mt({ ref: _, defaultValue: re });
|
|
2301
|
+
we(() => {
|
|
2302
|
+
X || (ce(!0), Ce(void 0));
|
|
2303
|
+
}, [X, O.length]), we(() => {
|
|
2304
|
+
Pe !== void 0 && i(Pe * (t ?? 0));
|
|
2305
|
+
}, [Pe]), we(() => {
|
|
2306
|
+
if (le) {
|
|
2307
|
+
l(0), ae(le), K && te(K);
|
|
2305
2308
|
return;
|
|
2306
2309
|
}
|
|
2307
|
-
|
|
2308
|
-
}, [
|
|
2309
|
-
const
|
|
2310
|
-
|
|
2311
|
-
},
|
|
2312
|
-
|
|
2313
|
-
},
|
|
2314
|
-
|
|
2315
|
-
},
|
|
2316
|
-
v(
|
|
2317
|
-
},
|
|
2318
|
-
if (!
|
|
2319
|
-
|
|
2310
|
+
K !== void 0 && (l(K ** 2), te(K), ae(le));
|
|
2311
|
+
}, [K, le]);
|
|
2312
|
+
const Me = () => {
|
|
2313
|
+
ke(!1);
|
|
2314
|
+
}, Fe = (E) => {
|
|
2315
|
+
E.currentTarget !== E.relatedTarget && E.relatedTarget !== null || ke(!0);
|
|
2316
|
+
}, ge = () => {
|
|
2317
|
+
ae((E) => !E);
|
|
2318
|
+
}, xe = (E, R, ee) => {
|
|
2319
|
+
v(R === void 0 ? R : ee);
|
|
2320
|
+
}, _e = (E) => {
|
|
2321
|
+
if (!c && E.relatedTarget === null) {
|
|
2322
|
+
f((ee) => !ee);
|
|
2320
2323
|
return;
|
|
2321
2324
|
}
|
|
2322
|
-
|
|
2323
|
-
const
|
|
2324
|
-
|
|
2325
|
+
f(!1);
|
|
2326
|
+
const R = (ee) => {
|
|
2327
|
+
ee.stopPropagation(), f(!0), document.removeEventListener("click", R);
|
|
2325
2328
|
};
|
|
2326
2329
|
setTimeout(() => {
|
|
2327
|
-
document.addEventListener("click",
|
|
2330
|
+
document.addEventListener("click", R);
|
|
2328
2331
|
}, 0);
|
|
2329
|
-
},
|
|
2330
|
-
if (!
|
|
2331
|
-
d((
|
|
2332
|
+
}, Ce = (E) => {
|
|
2333
|
+
if (!g && E?.relatedTarget === null) {
|
|
2334
|
+
d((ee) => !ee);
|
|
2332
2335
|
return;
|
|
2333
2336
|
}
|
|
2334
2337
|
d(!1);
|
|
2335
|
-
const
|
|
2336
|
-
|
|
2338
|
+
const R = (ee) => {
|
|
2339
|
+
ee.stopPropagation(), d(!0), document.removeEventListener("click", R);
|
|
2337
2340
|
};
|
|
2338
2341
|
setTimeout(() => {
|
|
2339
|
-
document.addEventListener("click",
|
|
2342
|
+
document.addEventListener("click", R);
|
|
2340
2343
|
}, 0);
|
|
2341
|
-
},
|
|
2342
|
-
if (!
|
|
2344
|
+
}, Y = ({ subtitleTrack: E }) => {
|
|
2345
|
+
if (!E)
|
|
2343
2346
|
return /* @__PURE__ */ p(Qe, { children: "Disabled" });
|
|
2344
|
-
if (!
|
|
2347
|
+
if (!E.title && !E.language)
|
|
2345
2348
|
return /* @__PURE__ */ p(Qe, { children: "Default" });
|
|
2346
|
-
const
|
|
2347
|
-
return
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
] }) : /* @__PURE__ */ p(Qe, { children:
|
|
2351
|
-
},
|
|
2349
|
+
const R = E.language === "jpn" ? "ja" : gt(E.language) ? gt(E.language) : E.language;
|
|
2350
|
+
return E.title ? /* @__PURE__ */ pe(Qe, { children: [
|
|
2351
|
+
E.title?.replace("subs", ""),
|
|
2352
|
+
R ? `(${R})` : ""
|
|
2353
|
+
] }) : /* @__PURE__ */ p(Qe, { children: R });
|
|
2354
|
+
}, Ee = Ir(
|
|
2352
2355
|
() => [
|
|
2353
2356
|
...new Set(
|
|
2354
|
-
|
|
2355
|
-
(
|
|
2357
|
+
O.map(
|
|
2358
|
+
(E) => E.message === "non monotonicaly increasing DTS values" ? E.count > 2 ? "The video seems malformatted and might have issues(skipped frames) during playback" : null : "An unexpected error occured while trying to play the video"
|
|
2356
2359
|
)
|
|
2357
2360
|
)
|
|
2358
|
-
].filter(Boolean).map((
|
|
2359
|
-
[
|
|
2361
|
+
].filter(Boolean).map((E) => /* @__PURE__ */ p("div", { className: "error-menu-message", children: E }, E)),
|
|
2362
|
+
[O]
|
|
2360
2363
|
);
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2364
|
+
we(() => {
|
|
2365
|
+
const E = (R) => {
|
|
2366
|
+
if (R.key === "f" && N(), R.key === "k" && o(), R.key === " " && o(), R.key === "m" && ge(), R.key === "ArrowUp" && (re <= 0.95 ? ye(re + 0.05) : ye(1)), R.key === "ArrowDown" && (re >= 0.05 ? ye(re - 0.05) : ye(0)), R.key === "ArrowLeft") {
|
|
2367
|
+
if (!r)
|
|
2368
|
+
return;
|
|
2369
|
+
r.currentTime -= R.shiftKey ? 20 : R.ctrlKey ? 2 : 5;
|
|
2370
|
+
}
|
|
2371
|
+
if (R.key === "ArrowRight") {
|
|
2372
|
+
if (!r)
|
|
2373
|
+
return;
|
|
2374
|
+
r.currentTime += R.shiftKey ? 20 : R.ctrlKey ? 2 : 5;
|
|
2375
|
+
}
|
|
2366
2376
|
};
|
|
2367
|
-
return window.addEventListener("keydown",
|
|
2368
|
-
}, [N,
|
|
2369
|
-
const [
|
|
2370
|
-
return /* @__PURE__ */
|
|
2377
|
+
return window.addEventListener("keydown", E), () => window.removeEventListener("keydown", E);
|
|
2378
|
+
}, [r, N, o, ge]);
|
|
2379
|
+
const [h, V] = q(void 0);
|
|
2380
|
+
return /* @__PURE__ */ pe("div", { css: ga, onMouseOut: Fe, ...u, children: [
|
|
2371
2381
|
/* @__PURE__ */ p("div", { className: "preview" }),
|
|
2372
|
-
/* @__PURE__ */
|
|
2382
|
+
/* @__PURE__ */ pe(
|
|
2373
2383
|
"div",
|
|
2374
2384
|
{
|
|
2375
|
-
ref:
|
|
2385
|
+
ref: B,
|
|
2376
2386
|
className: "progress-bar",
|
|
2377
|
-
onMouseMove: (
|
|
2378
|
-
const
|
|
2379
|
-
|
|
2387
|
+
onMouseMove: (E) => {
|
|
2388
|
+
const ee = E.nativeEvent.offsetX / E.currentTarget.offsetWidth * (t ?? 0);
|
|
2389
|
+
V(ee);
|
|
2380
2390
|
},
|
|
2381
2391
|
onMouseOut: () => {
|
|
2382
|
-
|
|
2392
|
+
B.current && V(void 0);
|
|
2383
2393
|
},
|
|
2384
2394
|
children: [
|
|
2385
2395
|
/* @__PURE__ */ p("div", { className: "background-bar" }),
|
|
2386
|
-
|
|
2387
|
-
(
|
|
2388
|
-
(
|
|
2396
|
+
h ? /* @__PURE__ */ p("div", { className: "cursor-time", "data-tip": h, style: { left: `${1 / ((t ?? 0) / (h ?? 1)) * 100}%` }, children: new Date((h ?? 0) * 1e3).toISOString().substr(
|
|
2397
|
+
(t ?? 0) >= 3600 ? 11 : 14,
|
|
2398
|
+
(t ?? 0) >= 3600 ? 8 : 5
|
|
2389
2399
|
) }) : void 0,
|
|
2390
2400
|
/* @__PURE__ */ p("div", { className: "progress" }),
|
|
2391
|
-
/* @__PURE__ */ p("div", { className: "load", style: { transform: `scaleX(${1 / ((
|
|
2401
|
+
/* @__PURE__ */ p("div", { className: "load", style: { transform: `scaleX(${1 / ((t ?? 0) / (k?.[1] ?? 0))})` } }),
|
|
2392
2402
|
/* @__PURE__ */ p("div", { className: "hover" }),
|
|
2393
2403
|
/* @__PURE__ */ p("div", { className: "play", style: {
|
|
2394
|
-
transform: `scaleX(${typeof
|
|
2404
|
+
transform: `scaleX(${typeof t != "number" || typeof a != "number" ? 0 : 1 / ((t ?? 0) / (a ?? 0))})`
|
|
2395
2405
|
} }),
|
|
2396
2406
|
/* @__PURE__ */ p("div", { className: "chapters" }),
|
|
2397
2407
|
/* @__PURE__ */ p("div", { className: "scrubber" }),
|
|
2398
|
-
/* @__PURE__ */ p("div", { className: "padding", onMouseDown:
|
|
2408
|
+
/* @__PURE__ */ p("div", { className: "padding", onMouseDown: Le })
|
|
2399
2409
|
]
|
|
2400
2410
|
}
|
|
2401
2411
|
),
|
|
2402
|
-
/* @__PURE__ */
|
|
2403
|
-
/* @__PURE__ */ p(
|
|
2404
|
-
/* @__PURE__ */ p("button", { className: "play-button", type: "button", "data-tip": !0, "data-
|
|
2412
|
+
/* @__PURE__ */ pe("div", { className: "controls", children: [
|
|
2413
|
+
/* @__PURE__ */ p(ir, { id: "play-button-tooltip", place: "top-start", children: x ? "Pause (k)" : "Play (k)" }),
|
|
2414
|
+
/* @__PURE__ */ p("button", { className: "play-button", type: "button", "data-tip": !0, "data-tooltip-id": "play-button-tooltip", onClick: o, children: x ? /* @__PURE__ */ pe("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
2415
|
/* @__PURE__ */ p("rect", { x: "6", y: "4", width: "4", height: "16" }),
|
|
2406
2416
|
/* @__PURE__ */ p("rect", { x: "14", y: "4", width: "4", height: "16" })
|
|
2407
2417
|
] }) : /* @__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
|
-
/* @__PURE__ */
|
|
2409
|
-
/* @__PURE__ */ p(
|
|
2410
|
-
|
|
2411
|
-
|
|
2418
|
+
/* @__PURE__ */ pe("div", { className: "volume-area", onMouseOver: Me, children: [
|
|
2419
|
+
/* @__PURE__ */ p(
|
|
2420
|
+
ir,
|
|
2421
|
+
{
|
|
2422
|
+
id: "mute-button-tooltip",
|
|
2423
|
+
place: "top",
|
|
2424
|
+
children: le ? "Unmute (m)" : "Mute (m)"
|
|
2425
|
+
}
|
|
2426
|
+
),
|
|
2427
|
+
/* @__PURE__ */ p("button", { className: "mute-button", "data-tip": !0, "data-tooltip-id": "mute-button-tooltip", onClick: ge, children: le ? /* @__PURE__ */ p(Jr, {}) : (re ?? 0) > 0.66 ? /* @__PURE__ */ p(Yt, {}) : (re ?? 0) > 0.33 ? /* @__PURE__ */ p(Ut, {}) : (re ?? 0) > 0 ? /* @__PURE__ */ p(Wt, {}) : /* @__PURE__ */ p(Jr, {}) }),
|
|
2428
|
+
/* @__PURE__ */ p("div", { ref: _, className: `volume-panel${$e ? "" : " volume-control-hover"}`, onMouseDown: be, children: /* @__PURE__ */ p("div", { className: "slider", children: /* @__PURE__ */ p("div", { className: "slider-handle", style: { left: `${(re ?? 0) * 100}%` } }) }) })
|
|
2412
2429
|
] }),
|
|
2413
|
-
/* @__PURE__ */
|
|
2414
|
-
/* @__PURE__ */ p("span", { children: new Date((
|
|
2430
|
+
/* @__PURE__ */ pe("div", { className: "time", children: [
|
|
2431
|
+
/* @__PURE__ */ p("span", { children: new Date((a ?? 0) * 1e3).toISOString().substr(11, 8) }),
|
|
2415
2432
|
/* @__PURE__ */ p("span", { children: " / " }),
|
|
2416
|
-
/* @__PURE__ */ p("span", { children:
|
|
2433
|
+
/* @__PURE__ */ p("span", { children: t ? new Date(t * 1e3).toISOString().substr(11, 8) : "" })
|
|
2417
2434
|
] }),
|
|
2418
|
-
/* @__PURE__ */ p("div", { className: "custom-controls", children:
|
|
2419
|
-
/* @__PURE__ */ p("div", { className: "error-area", children:
|
|
2420
|
-
/* @__PURE__ */ p("div", { className: `error-menu ${
|
|
2421
|
-
/* @__PURE__ */
|
|
2435
|
+
/* @__PURE__ */ p("div", { className: "custom-controls", children: $?.length ? $.map((E, R) => /* @__PURE__ */ p(E, {}, R)) : null }),
|
|
2436
|
+
/* @__PURE__ */ p("div", { className: "error-area", children: Ee.length ? /* @__PURE__ */ pe(Qe, { children: [
|
|
2437
|
+
/* @__PURE__ */ p("div", { className: `error-menu ${g ? "hide" : ""}`, children: g ? null : Ee }),
|
|
2438
|
+
/* @__PURE__ */ pe("div", { className: "error-menu-button", onClick: Ce, children: [
|
|
2422
2439
|
/* @__PURE__ */ p(qt, {}),
|
|
2423
2440
|
"Error"
|
|
2424
2441
|
] })
|
|
2425
2442
|
] }) : null }),
|
|
2426
|
-
/* @__PURE__ */ p(
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2443
|
+
/* @__PURE__ */ p(
|
|
2444
|
+
ir,
|
|
2445
|
+
{
|
|
2446
|
+
id: "subtitle-button-tooltip",
|
|
2447
|
+
globalEventOff: "click",
|
|
2448
|
+
disable: !c,
|
|
2449
|
+
class: "tooltip",
|
|
2450
|
+
children: /* @__PURE__ */ p("span", { children: "Subtitles" })
|
|
2451
|
+
}
|
|
2452
|
+
),
|
|
2453
|
+
/* @__PURE__ */ p("div", { className: "subtitle-area", children: y.length ? /* @__PURE__ */ pe(Qe, { children: [
|
|
2454
|
+
/* @__PURE__ */ p("div", { className: `subtitle-menu ${c ? "hide" : ""}`, children: c ? null : [...y, void 0].map(
|
|
2455
|
+
(E, R) => /* @__PURE__ */ p("button", { onClick: (ee) => xe(ee, E, R), children: /* @__PURE__ */ p(Y, { subtitleTrack: E }) }, E ? R : "disabled")
|
|
2430
2456
|
) }),
|
|
2431
|
-
/* @__PURE__ */ p("button", { className: "subtitle-menu-button", "data-tip": !0, "data-
|
|
2457
|
+
/* @__PURE__ */ p("button", { className: "subtitle-menu-button", "data-tip": !0, "data-tooltip-id": "subtitle-button-tooltip", onClick: _e, children: /* @__PURE__ */ p(Y, { subtitleTrack: C }) })
|
|
2432
2458
|
] }) : null }),
|
|
2433
|
-
/* @__PURE__ */ p(
|
|
2434
|
-
|
|
2459
|
+
/* @__PURE__ */ p(
|
|
2460
|
+
ir,
|
|
2461
|
+
{
|
|
2462
|
+
id: "pip-button-tooltip",
|
|
2463
|
+
place: "top",
|
|
2464
|
+
children: "Picture in Picture"
|
|
2465
|
+
}
|
|
2466
|
+
),
|
|
2467
|
+
ne ? /* @__PURE__ */ p("button", { className: "picture-in-picture", "data-tip": !0, "data-tooltip-id": "pip-button-tooltip", onClick: S, children: /* @__PURE__ */ pe("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
2468
|
/* @__PURE__ */ p("rect", { x: "2", y: "3", width: "21", height: "14", rx: "2", ry: "2" }),
|
|
2436
2469
|
/* @__PURE__ */ p("rect", { x: "12.5", y: "8.5", width: "8", height: "6", rx: "2", ry: "2" })
|
|
2437
2470
|
] }) }) : null,
|
|
2438
|
-
/* @__PURE__ */ p(
|
|
2439
|
-
/* @__PURE__ */ p("button", { className: "fullscreen", "data-tip": !0, "data-
|
|
2471
|
+
/* @__PURE__ */ p(ir, { id: "fullscreen-button-tooltip", place: "top-end", children: b ? "Exit full screen (f)" : "Full screen (f)" }),
|
|
2472
|
+
/* @__PURE__ */ p("button", { className: "fullscreen", "data-tip": !0, "data-tooltip-id": "fullscreen-button-tooltip", onClick: N, children: b ? /* @__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
2473
|
] })
|
|
2441
2474
|
] });
|
|
2442
2475
|
}, pa = kr`
|
|
@@ -2460,110 +2493,114 @@ overflow: hidden;
|
|
|
2460
2493
|
}
|
|
2461
2494
|
`, va = ({
|
|
2462
2495
|
customOverlay: e,
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2496
|
+
publicPath: r,
|
|
2497
|
+
isPlaying: t,
|
|
2498
|
+
loading: a,
|
|
2499
|
+
duration: o,
|
|
2466
2500
|
loadedTime: i,
|
|
2467
|
-
currentTime:
|
|
2468
|
-
pictureInPicture:
|
|
2469
|
-
fullscreen:
|
|
2470
|
-
play:
|
|
2471
|
-
seek:
|
|
2472
|
-
getVolume:
|
|
2473
|
-
setVolume:
|
|
2474
|
-
attachments:
|
|
2475
|
-
tracks:
|
|
2476
|
-
video:
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2501
|
+
currentTime: l,
|
|
2502
|
+
pictureInPicture: c,
|
|
2503
|
+
fullscreen: f,
|
|
2504
|
+
play: g,
|
|
2505
|
+
seek: d,
|
|
2506
|
+
getVolume: v,
|
|
2507
|
+
setVolume: k,
|
|
2508
|
+
attachments: x,
|
|
2509
|
+
tracks: y,
|
|
2510
|
+
video: b,
|
|
2511
|
+
videoReactive: N,
|
|
2512
|
+
errors: C,
|
|
2513
|
+
customControls: S,
|
|
2514
|
+
libassWorkerUrl: O,
|
|
2515
|
+
wasmUrl: $,
|
|
2516
|
+
needsInitialInteraction: u,
|
|
2517
|
+
...B
|
|
2483
2518
|
}) => {
|
|
2484
|
-
const [
|
|
2485
|
-
() =>
|
|
2486
|
-
[
|
|
2487
|
-
), [
|
|
2488
|
-
|
|
2489
|
-
const
|
|
2490
|
-
|
|
2519
|
+
const [_, $e] = q(), [ke, Le] = q(!1), [Pe, De] = q(!1), [ne, X] = q(!1), ce = er(), [Se, re] = q(!0), [te, le] = q(), [ae, be] = q(), K = Ir(
|
|
2520
|
+
() => ae !== void 0 ? y[ae] : void 0,
|
|
2521
|
+
[ae, ae !== void 0 && y[ae]?.data]
|
|
2522
|
+
), [ye, Me] = q(!0), Fe = (Y) => {
|
|
2523
|
+
X(!1), ce.current && clearInterval(ce.current);
|
|
2524
|
+
const Ee = setTimeout(() => {
|
|
2525
|
+
X(!0);
|
|
2491
2526
|
}, 3e3);
|
|
2492
|
-
|
|
2527
|
+
ce.current = Ee;
|
|
2493
2528
|
};
|
|
2494
|
-
|
|
2529
|
+
we(() => {
|
|
2495
2530
|
setTimeout(() => {
|
|
2496
|
-
|
|
2531
|
+
X(!0);
|
|
2497
2532
|
}, 3e3);
|
|
2498
2533
|
}, []);
|
|
2499
|
-
const
|
|
2500
|
-
if (!
|
|
2501
|
-
|
|
2534
|
+
const ge = (Y) => {
|
|
2535
|
+
if (!_?.parentElement?.parentElement?.contains(Y?.relatedTarget)) {
|
|
2536
|
+
X(!0);
|
|
2502
2537
|
return;
|
|
2503
2538
|
}
|
|
2504
|
-
|
|
2539
|
+
Y.currentTarget.parentElement !== Y.relatedTarget && Y.relatedTarget !== null || X(!0);
|
|
2540
|
+
}, xe = () => {
|
|
2541
|
+
Se && g();
|
|
2505
2542
|
}, _e = () => {
|
|
2506
|
-
|
|
2507
|
-
}, ve = () => {
|
|
2508
|
-
!f || !X || (Ae((j) => !j), u());
|
|
2543
|
+
!_ || !te || (De((Y) => !Y), f());
|
|
2509
2544
|
};
|
|
2510
|
-
|
|
2511
|
-
if (!
|
|
2545
|
+
we(() => {
|
|
2546
|
+
if (!b.current || !_ || te || !K?.data || !x)
|
|
2512
2547
|
return;
|
|
2513
|
-
const
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
]),
|
|
2517
|
-
video:
|
|
2518
|
-
canvas:
|
|
2519
|
-
subContent:
|
|
2520
|
-
fonts:
|
|
2521
|
-
availableFonts: { ...Object.fromEntries(
|
|
2522
|
-
workerUrl:
|
|
2548
|
+
const Y = x.map(({ filename: h, data: V }) => [
|
|
2549
|
+
h.toLowerCase().replaceAll("-", " ").split(".").at(0),
|
|
2550
|
+
V
|
|
2551
|
+
]), Ee = new zt({
|
|
2552
|
+
video: b.current,
|
|
2553
|
+
canvas: _,
|
|
2554
|
+
subContent: K.data,
|
|
2555
|
+
fonts: Y.filter(Boolean).map(([, h]) => h),
|
|
2556
|
+
availableFonts: { ...Object.fromEntries(Y), "liberation sans": `${r}default.woff2` },
|
|
2557
|
+
workerUrl: O,
|
|
2523
2558
|
// Link to WebAssembly-based file "libassjs-worker.js",
|
|
2524
|
-
modernWasmUrl:
|
|
2559
|
+
modernWasmUrl: $
|
|
2525
2560
|
});
|
|
2526
|
-
|
|
2527
|
-
}, [
|
|
2528
|
-
|
|
2529
|
-
}, [
|
|
2530
|
-
if (!
|
|
2561
|
+
le(Ee);
|
|
2562
|
+
}, [_, x, K?.data]), we(() => {
|
|
2563
|
+
y.length && be(0);
|
|
2564
|
+
}, [y.length]), we(() => {
|
|
2565
|
+
if (!te)
|
|
2531
2566
|
return;
|
|
2532
|
-
if (!
|
|
2533
|
-
|
|
2567
|
+
if (!K) {
|
|
2568
|
+
te.freeTrack();
|
|
2534
2569
|
return;
|
|
2535
2570
|
}
|
|
2536
|
-
|
|
2537
|
-
}, [
|
|
2538
|
-
const
|
|
2539
|
-
|
|
2571
|
+
te.setTrack(K.data), !(!_?.parentElement || ke) && Le(!0);
|
|
2572
|
+
}, [te, K, ke]);
|
|
2573
|
+
const Ce = (Y) => {
|
|
2574
|
+
Y && $e(Y);
|
|
2540
2575
|
};
|
|
2541
|
-
return /* @__PURE__ */
|
|
2542
|
-
/* @__PURE__ */ p(fa, { needsInitialInteraction:
|
|
2576
|
+
return /* @__PURE__ */ pe("div", { ...B, css: pa, onMouseMove: Fe, onMouseOut: ge, className: `chrome ${B.className ?? ""} ${ne ? "hide" : ""}`, children: [
|
|
2577
|
+
/* @__PURE__ */ p(fa, { needsInitialInteraction: u, loading: a, togglePlay: xe, setCanvasRef: Ce }),
|
|
2543
2578
|
e,
|
|
2544
2579
|
/* @__PURE__ */ p(
|
|
2545
2580
|
ha,
|
|
2546
2581
|
{
|
|
2547
|
-
className: `bottom ${
|
|
2548
|
-
toggleFullscreen:
|
|
2549
|
-
togglePlay:
|
|
2550
|
-
isFullscreen:
|
|
2551
|
-
pictureInPicture:
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2582
|
+
className: `bottom ${u ? "hide" : ""}`,
|
|
2583
|
+
toggleFullscreen: _e,
|
|
2584
|
+
togglePlay: xe,
|
|
2585
|
+
isFullscreen: Pe,
|
|
2586
|
+
pictureInPicture: c,
|
|
2587
|
+
video: b,
|
|
2588
|
+
videoReactive: N,
|
|
2589
|
+
seek: d,
|
|
2590
|
+
setCurrentSubtitleTrack: be,
|
|
2591
|
+
isSubtitleMenuHidden: Se,
|
|
2592
|
+
setIsSubtitleMenuHidden: re,
|
|
2593
|
+
isErrorMenuHidden: ye,
|
|
2594
|
+
setIsErrorMenuHidden: Me,
|
|
2595
|
+
setVolume: k,
|
|
2596
|
+
subtitleTrack: K,
|
|
2597
|
+
tracks: y,
|
|
2598
|
+
currentTime: l,
|
|
2599
|
+
duration: o,
|
|
2600
|
+
isPlaying: t,
|
|
2564
2601
|
loadedTime: i,
|
|
2565
|
-
errors:
|
|
2566
|
-
customControls:
|
|
2602
|
+
errors: C,
|
|
2603
|
+
customControls: S
|
|
2567
2604
|
}
|
|
2568
2605
|
)
|
|
2569
2606
|
] });
|
|
@@ -2587,199 +2624,199 @@ overflow: hidden;
|
|
|
2587
2624
|
grid-column: 1;
|
|
2588
2625
|
grid-row: 1;
|
|
2589
2626
|
}
|
|
2590
|
-
`,
|
|
2627
|
+
`, Ca = pt(({
|
|
2591
2628
|
customOverlay: e,
|
|
2592
2629
|
baseBufferSize: r = ba,
|
|
2593
2630
|
size: t,
|
|
2594
2631
|
fetch: a,
|
|
2595
|
-
customControls:
|
|
2596
|
-
publicPath:
|
|
2632
|
+
customControls: o,
|
|
2633
|
+
publicPath: i,
|
|
2597
2634
|
wasmUrl: l,
|
|
2598
|
-
libavWorkerUrl:
|
|
2599
|
-
libavWorkerOptions:
|
|
2600
|
-
libassWorkerUrl:
|
|
2601
|
-
makeTransmuxer:
|
|
2602
|
-
},
|
|
2603
|
-
const [
|
|
2604
|
-
|
|
2635
|
+
libavWorkerUrl: c,
|
|
2636
|
+
libavWorkerOptions: f,
|
|
2637
|
+
libassWorkerUrl: g,
|
|
2638
|
+
makeTransmuxer: d = Bt
|
|
2639
|
+
}, v) => {
|
|
2640
|
+
const [k, x] = q(!0), y = er(null), b = er(), [N, C] = q(), [S, O] = q(!(b?.current?.paused ?? !0)), [$, u] = q(0), [B, _] = q(void 0), [$e, ke] = q([]), [Le, Pe] = q([]), [De, ne] = q(), [X, ce] = q([0, 0]), [Se, re] = q(!1), te = er(a);
|
|
2641
|
+
we(() => {
|
|
2605
2642
|
te.current = a;
|
|
2606
|
-
}, [a]),
|
|
2607
|
-
if (!t || !
|
|
2643
|
+
}, [a]), we(() => {
|
|
2644
|
+
if (!t || !N)
|
|
2608
2645
|
return;
|
|
2609
|
-
let
|
|
2646
|
+
let V, Te;
|
|
2610
2647
|
return (async () => {
|
|
2611
|
-
|
|
2612
|
-
publicPath:
|
|
2613
|
-
workerUrl:
|
|
2614
|
-
workerOptions:
|
|
2648
|
+
V = d({
|
|
2649
|
+
publicPath: i,
|
|
2650
|
+
workerUrl: c,
|
|
2651
|
+
workerOptions: f,
|
|
2615
2652
|
bufferSize: r,
|
|
2616
2653
|
length: t,
|
|
2617
|
-
getStream: (
|
|
2618
|
-
(
|
|
2654
|
+
getStream: (T, A) => te.current(T, A ? Math.min(T + A, t) - 1 : void 0).then(
|
|
2655
|
+
(G) => A ? G.body : la(3)(
|
|
2619
2656
|
ca(r)(
|
|
2620
|
-
|
|
2657
|
+
G.body
|
|
2621
2658
|
)
|
|
2622
2659
|
)
|
|
2623
2660
|
),
|
|
2624
|
-
subtitle: (
|
|
2625
|
-
|
|
2626
|
-
(
|
|
2661
|
+
subtitle: (T, A, G) => {
|
|
2662
|
+
ke(
|
|
2663
|
+
(H) => H.find(({ title: de }) => de === T) ? H.map((de) => de.title === T ? { title: T, language: A, data: G } : de) : [...H, { title: T, language: A, data: G }]
|
|
2627
2664
|
);
|
|
2628
2665
|
},
|
|
2629
|
-
attachment: (
|
|
2630
|
-
|
|
2631
|
-
...
|
|
2632
|
-
{ filename:
|
|
2666
|
+
attachment: (T, A, G) => {
|
|
2667
|
+
B?.find(({ filename: H }) => T === H) || _((H) => [
|
|
2668
|
+
...H ?? [],
|
|
2669
|
+
{ filename: T, mimetype: A, data: new Uint8Array(G) }
|
|
2633
2670
|
]);
|
|
2634
2671
|
}
|
|
2635
2672
|
});
|
|
2636
|
-
const
|
|
2637
|
-
if (!
|
|
2673
|
+
const ue = await V, E = await ue.init();
|
|
2674
|
+
if (!E)
|
|
2638
2675
|
throw new Error("No header chunk found after remuxer init");
|
|
2639
|
-
const
|
|
2640
|
-
|
|
2641
|
-
console.error(
|
|
2676
|
+
const R = await ue.getInfo(), ee = R.input.duration / 1e6;
|
|
2677
|
+
ne(ee), N.addEventListener("error", (T) => {
|
|
2678
|
+
console.error(T.target?.error);
|
|
2642
2679
|
});
|
|
2643
|
-
const
|
|
2644
|
-
|
|
2645
|
-
const
|
|
2646
|
-
(
|
|
2680
|
+
const je = new MediaSource();
|
|
2681
|
+
N.src = URL.createObjectURL(je);
|
|
2682
|
+
const he = await new Promise(
|
|
2683
|
+
(T) => je.addEventListener(
|
|
2647
2684
|
"sourceopen",
|
|
2648
2685
|
() => {
|
|
2649
|
-
const
|
|
2650
|
-
|
|
2686
|
+
const A = je.addSourceBuffer(`video/mp4; codecs="${R.input.video_mime_type},${R.input.audio_mime_type}"`);
|
|
2687
|
+
je.duration = ee, A.mode = "segments", T(A);
|
|
2651
2688
|
},
|
|
2652
2689
|
{ once: !0 }
|
|
2653
2690
|
)
|
|
2654
|
-
), gr = new Gt({ concurrency: 1 }),
|
|
2655
|
-
const
|
|
2656
|
-
|
|
2657
|
-
},
|
|
2658
|
-
|
|
2659
|
-
},
|
|
2660
|
-
console.error(
|
|
2661
|
-
},
|
|
2662
|
-
|
|
2691
|
+
), gr = new Gt({ concurrency: 1 }), We = (T, A) => {
|
|
2692
|
+
const G = (W) => {
|
|
2693
|
+
T(W), U();
|
|
2694
|
+
}, H = (W) => {
|
|
2695
|
+
T(W), U();
|
|
2696
|
+
}, de = (W) => {
|
|
2697
|
+
console.error(W), A(W), U();
|
|
2698
|
+
}, U = () => {
|
|
2699
|
+
he.removeEventListener("updateend", G), he.removeEventListener("abort", H), he.removeEventListener("error", de);
|
|
2663
2700
|
};
|
|
2664
|
-
|
|
2665
|
-
},
|
|
2666
|
-
() => new Promise((
|
|
2667
|
-
|
|
2701
|
+
he.addEventListener("updateend", G, { once: !0 }), he.addEventListener("abort", H, { once: !0 }), he.addEventListener("error", de, { once: !0 });
|
|
2702
|
+
}, qe = (T) => gr.add(
|
|
2703
|
+
() => new Promise((A, G) => {
|
|
2704
|
+
We(A, G), he.appendBuffer(T);
|
|
2668
2705
|
})
|
|
2669
|
-
), hr = async (
|
|
2670
|
-
() => new Promise((
|
|
2671
|
-
|
|
2706
|
+
), hr = async (T, A) => gr.add(
|
|
2707
|
+
() => new Promise((G, H) => {
|
|
2708
|
+
We(G, H), he.remove(T, A);
|
|
2672
2709
|
})
|
|
2673
|
-
),
|
|
2674
|
-
index:
|
|
2675
|
-
start:
|
|
2676
|
-
end:
|
|
2710
|
+
), ar = () => Array(he.buffered.length).fill(void 0).map((T, A) => ({
|
|
2711
|
+
index: A,
|
|
2712
|
+
start: he.buffered.start(A),
|
|
2713
|
+
end: he.buffered.end(A)
|
|
2677
2714
|
}));
|
|
2678
|
-
|
|
2679
|
-
|
|
2715
|
+
N.addEventListener("canplaythrough", () => {
|
|
2716
|
+
N.playbackRate = 1, N.play();
|
|
2680
2717
|
}, { once: !0 });
|
|
2681
|
-
let
|
|
2682
|
-
const
|
|
2683
|
-
await
|
|
2684
|
-
let
|
|
2685
|
-
const
|
|
2686
|
-
if (
|
|
2718
|
+
let fe = [];
|
|
2719
|
+
const ze = 1, Rr = 15;
|
|
2720
|
+
await qe(E.buffer);
|
|
2721
|
+
let Ge = !1;
|
|
2722
|
+
const Ke = async () => {
|
|
2723
|
+
if (Ge)
|
|
2687
2724
|
throw new Error("end");
|
|
2688
|
-
const
|
|
2689
|
-
return
|
|
2725
|
+
const T = await ue.read();
|
|
2726
|
+
return T.isTrailer && (Ge = !0), fe = [...fe, T], T;
|
|
2690
2727
|
};
|
|
2691
|
-
let
|
|
2692
|
-
const
|
|
2693
|
-
if (
|
|
2728
|
+
let Ye = !1;
|
|
2729
|
+
const He = sa(250, async () => {
|
|
2730
|
+
if (Ye)
|
|
2694
2731
|
return;
|
|
2695
|
-
const { currentTime:
|
|
2696
|
-
const
|
|
2697
|
-
return
|
|
2732
|
+
const { currentTime: T } = N, A = fe.findIndex(({ pts: ie, duration: Xe }) => ie <= T && ie + Xe >= T), G = Math.max(0, A - ze), H = () => {
|
|
2733
|
+
const ie = fe.at(-1);
|
|
2734
|
+
return ie ? ie.pts + ie.duration : 0;
|
|
2698
2735
|
};
|
|
2699
|
-
for (;
|
|
2700
|
-
const
|
|
2701
|
-
await
|
|
2736
|
+
for (; H() < T + Rr; ) {
|
|
2737
|
+
const ie = await Ke();
|
|
2738
|
+
await qe(ie.buffer);
|
|
2702
2739
|
}
|
|
2703
|
-
|
|
2704
|
-
const
|
|
2705
|
-
if (!
|
|
2740
|
+
G && (fe = fe.slice(G));
|
|
2741
|
+
const de = ar(), U = fe.at(0), W = fe.at(-1);
|
|
2742
|
+
if (!U || !W || U === W)
|
|
2706
2743
|
return;
|
|
2707
|
-
const
|
|
2708
|
-
for (const { start:
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2744
|
+
const Je = U.pts;
|
|
2745
|
+
for (const { start: ie, end: Xe } of de)
|
|
2746
|
+
fe.findIndex(({ pts: pr, duration: or }) => ie <= pr + or / 2 && pr + or / 2 <= Xe) === -1 ? await hr(ie, Xe) : ie < Je && await hr(
|
|
2747
|
+
ie,
|
|
2748
|
+
Je
|
|
2712
2749
|
);
|
|
2713
2750
|
});
|
|
2714
|
-
let
|
|
2715
|
-
const Tr = ia(250, async (
|
|
2751
|
+
let Ue;
|
|
2752
|
+
const Tr = ia(250, async (T) => {
|
|
2716
2753
|
try {
|
|
2717
|
-
|
|
2718
|
-
const
|
|
2719
|
-
|
|
2720
|
-
} catch (
|
|
2721
|
-
if (
|
|
2722
|
-
throw
|
|
2754
|
+
Ge = !1, Ue === void 0 && (Ue = N.paused), Ye = !0, fe = [], await ue.seek(T);
|
|
2755
|
+
const A = await Ke();
|
|
2756
|
+
he.timestampOffset = A.pts, await qe(A.buffer), Ue === !1 && await N.play(), Ye = !1, await He(), Ue === !1 && await N.play(), Ue = void 0;
|
|
2757
|
+
} catch (A) {
|
|
2758
|
+
if (A.message !== "exit")
|
|
2759
|
+
throw A;
|
|
2723
2760
|
}
|
|
2724
|
-
}),
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
}),
|
|
2728
|
-
|
|
2729
|
-
}),
|
|
2730
|
-
Tr(
|
|
2731
|
-
}),
|
|
2732
|
-
const
|
|
2733
|
-
if (!
|
|
2761
|
+
}), Or = await Ke();
|
|
2762
|
+
qe(Or.buffer), N.addEventListener("timeupdate", () => {
|
|
2763
|
+
He();
|
|
2764
|
+
}), N.addEventListener("waiting", () => {
|
|
2765
|
+
He();
|
|
2766
|
+
}), N.addEventListener("seeking", (T) => {
|
|
2767
|
+
Tr(N.currentTime);
|
|
2768
|
+
}), He(), Te = window.setInterval(() => {
|
|
2769
|
+
const T = ar(), A = T.sort(({ start: U }, { start: W }) => U - W).at(0), G = T.sort(({ end: U }, { end: W }) => U - W).at(-1);
|
|
2770
|
+
if (!A || !G)
|
|
2734
2771
|
return;
|
|
2735
|
-
let
|
|
2736
|
-
|
|
2772
|
+
let H = fe.filter(({ pts: U, duration: W }) => U + W / 2 > A.start).sort(({ pts: U }, { pts: W }) => U - W).at(0)?.pts, de = fe.filter(({ pts: U, duration: W }) => U + W / 2 < G.end).sort(({ pts: U }, { pts: W }) => U - W).at(-1)?.pts;
|
|
2773
|
+
H === void 0 || de === void 0 || ce([H, de]);
|
|
2737
2774
|
}, 200);
|
|
2738
2775
|
})(), () => {
|
|
2739
|
-
|
|
2776
|
+
V.then((ue) => ue.destroy(!0)), window.clearInterval(Te);
|
|
2740
2777
|
};
|
|
2741
|
-
}, [t,
|
|
2742
|
-
const
|
|
2743
|
-
|
|
2744
|
-
}, [
|
|
2745
|
-
|
|
2746
|
-
},
|
|
2747
|
-
b.current && (
|
|
2748
|
-
},
|
|
2749
|
-
|
|
2750
|
-
},
|
|
2751
|
-
|
|
2752
|
-
},
|
|
2753
|
-
|
|
2754
|
-
},
|
|
2778
|
+
}, [t, N]);
|
|
2779
|
+
const le = (V) => {
|
|
2780
|
+
x(!0);
|
|
2781
|
+
}, [ae, be] = q(!1), K = (V) => {
|
|
2782
|
+
be(!1);
|
|
2783
|
+
}, ye = (V) => {
|
|
2784
|
+
b.current && (be(!0), u(b.current?.currentTime ?? 0));
|
|
2785
|
+
}, Me = (V) => {
|
|
2786
|
+
N && (N.currentTime = V, be(!0));
|
|
2787
|
+
}, Fe = (V) => {
|
|
2788
|
+
ae || (u(b.current?.currentTime ?? 0), x(!1));
|
|
2789
|
+
}, ge = (V) => (Te) => {
|
|
2790
|
+
O(V);
|
|
2791
|
+
}, xe = () => {
|
|
2755
2792
|
if (document.pictureInPictureElement)
|
|
2756
2793
|
return document.exitPictureInPicture();
|
|
2757
2794
|
b.current?.requestPictureInPicture();
|
|
2758
|
-
},
|
|
2795
|
+
}, _e = () => {
|
|
2759
2796
|
if (document.fullscreenElement)
|
|
2760
2797
|
return document.exitFullscreen();
|
|
2761
|
-
|
|
2762
|
-
},
|
|
2763
|
-
|
|
2764
|
-
},
|
|
2765
|
-
b.current && (b.current.volume =
|
|
2766
|
-
},
|
|
2798
|
+
y.current?.requestFullscreen();
|
|
2799
|
+
}, Ce = async () => {
|
|
2800
|
+
re(!1), b.current?.paused ? await b.current?.play() : await b.current?.pause();
|
|
2801
|
+
}, Y = (V) => {
|
|
2802
|
+
b.current && (b.current.volume = V);
|
|
2803
|
+
}, Ee = () => {
|
|
2767
2804
|
if (b.current)
|
|
2768
2805
|
return b.current.volume;
|
|
2769
2806
|
};
|
|
2770
|
-
return /* @__PURE__ */
|
|
2807
|
+
return /* @__PURE__ */ pe("div", { css: ya, ref: y, children: [
|
|
2771
2808
|
/* @__PURE__ */ p(
|
|
2772
2809
|
"video",
|
|
2773
2810
|
{
|
|
2774
|
-
ref: (
|
|
2775
|
-
typeof
|
|
2811
|
+
ref: (V) => {
|
|
2812
|
+
typeof v == "function" && v(V), v && "current" in v && (v.current = V), b.current = V ?? void 0, C(b.current);
|
|
2776
2813
|
},
|
|
2777
|
-
onWaiting:
|
|
2778
|
-
onSeeking:
|
|
2779
|
-
onSeeked:
|
|
2780
|
-
onTimeUpdate:
|
|
2781
|
-
onPlay:
|
|
2782
|
-
onPause:
|
|
2814
|
+
onWaiting: le,
|
|
2815
|
+
onSeeking: ye,
|
|
2816
|
+
onSeeked: K,
|
|
2817
|
+
onTimeUpdate: Fe,
|
|
2818
|
+
onPlay: ge(!0),
|
|
2819
|
+
onPause: ge(!1)
|
|
2783
2820
|
}
|
|
2784
2821
|
),
|
|
2785
2822
|
/* @__PURE__ */ p(
|
|
@@ -2787,29 +2824,31 @@ overflow: hidden;
|
|
|
2787
2824
|
{
|
|
2788
2825
|
className: "chrome",
|
|
2789
2826
|
customOverlay: e,
|
|
2827
|
+
publicPath: i,
|
|
2790
2828
|
isPlaying: S,
|
|
2791
2829
|
video: b,
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2830
|
+
videoReactive: N,
|
|
2831
|
+
needsInitialInteraction: Se,
|
|
2832
|
+
loading: k,
|
|
2833
|
+
duration: De,
|
|
2834
|
+
currentTime: $,
|
|
2835
|
+
loadedTime: X,
|
|
2836
|
+
pictureInPicture: xe,
|
|
2837
|
+
fullscreen: _e,
|
|
2838
|
+
play: Ce,
|
|
2839
|
+
seek: Me,
|
|
2840
|
+
getVolume: Ee,
|
|
2841
|
+
setVolume: Y,
|
|
2842
|
+
attachments: B,
|
|
2843
|
+
tracks: $e,
|
|
2844
|
+
errors: Le,
|
|
2845
|
+
customControls: o,
|
|
2846
|
+
libassWorkerUrl: g,
|
|
2808
2847
|
wasmUrl: l
|
|
2809
2848
|
}
|
|
2810
2849
|
)
|
|
2811
2850
|
] });
|
|
2812
2851
|
});
|
|
2813
2852
|
export {
|
|
2814
|
-
|
|
2853
|
+
Ca as default
|
|
2815
2854
|
};
|