@aigamo/hydrangean-diva 0.0.1-alpha.18 → 0.0.1-alpha.20
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/dist/index.cjs.js +8 -38
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1056 -955
- package/dist/index.es.js.map +1 -1
- package/dist/routes/__root.d.ts +1 -1
- package/dist/routes/_authenticated/index.d.ts +1 -1
- package/dist/routes/_authenticated/play-queue.d.ts +1 -1
- package/dist/routes/_authenticated/playlists/$playlistId.index.d.ts +1 -1
- package/dist/routes/_authenticated/playlists/index.d.ts +1 -1
- package/dist/routes/_authenticated.d.ts +1 -1
- package/package.json +27 -24
package/dist/index.es.js
CHANGED
|
@@ -1,114 +1,93 @@
|
|
|
1
|
-
|
|
2
|
-
var Or = (t, e, n) => e in t ? wr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
-
var B = (t, e, n) => Or(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { makeObservable as _r, action as y, computed as A, observable as Z, reaction as Ar } from "mobx";
|
|
1
|
+
import { makeObservable as wr, action as y, computed as A, observable as Z, reaction as Or } from "mobx";
|
|
5
2
|
import * as te from "react";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { useNostalgicDiva as
|
|
9
|
-
import { EuiButton as re, useGeneratedHtmlId as
|
|
10
|
-
import { AddRegular as
|
|
11
|
-
import { observer as
|
|
12
|
-
import { ReactSortable as
|
|
3
|
+
import Dt, { forwardRef as _r, useContext as at, memo as ne, useState as W, useCallback as N, useMemo as De, createContext as zt, useEffect as kr, useLayoutEffect as Ar } from "react";
|
|
4
|
+
import Mr from "@emotion/cache";
|
|
5
|
+
import { useNostalgicDiva as U, findVideoService as Fr, NostalgicDivaProvider as jr, NostalgicDiva as Nr, nullPlayerController as $r } from "@aigamo/nostalgic-diva";
|
|
6
|
+
import { EuiButton as re, useGeneratedHtmlId as Dr, EuiModalHeaderTitle as zr, EuiModalHeader as Br, EuiForm as Lr, EuiFormRow as rt, EuiFieldText as St, EuiModalBody as Vr, EuiModalFooter as Yr, EuiButtonEmpty as Bt, EuiModal as Wr, useEuiTheme as Lt, EuiCheckbox as Vt, EuiTableHeaderCellCheckbox as Ur, EuiTableHeader as qr, EuiTableRowCell as nt, EuiTableRowCellCheckbox as Hr, EuiLink as Gr, EuiTableRow as Jr, EuiTable as Kr, EuiButtonIcon as q, EuiPopover as ze, EuiIcon as Y, EuiContextMenu as st, EuiTableHeaderCell as Ze, EuiCodeBlock as Xr, EuiFlyout as Zr, EuiFlexGroup as se, EuiFlexItem as J, EuiSpacer as Yt, EuiEmptyPrompt as Qr, EuiPageTemplate as lt, EuiRange as Wt, EuiBottomBar as en } from "@elastic/eui";
|
|
7
|
+
import { AddRegular as ct, PlayRegular as tn, DismissRegular as ut, MoreHorizontalFilled as Ut, ArrowUploadRegular as rn, ArrowDownloadRegular as nn, WindowDevToolsRegular as on, DeleteRegular as an, ArrowShuffleFilled as sn, ArrowShuffleOffFilled as ln, PreviousFilled as cn, SkipBack10Regular as qt, PauseFilled as un, PlayFilled as dn, SkipForward30Regular as Ht, NextFilled as fn, ArrowRepeat1Filled as mn, ArrowRepeatAllFilled as hn, ArrowRepeatAllOffFilled as vn, OpenRegular as pn, Speaker2Regular as Gt, TopSpeedRegular as yn, NavigationPlayRegular as gn } from "@fluentui/react-icons";
|
|
8
|
+
import { observer as P } from "mobx-react-lite";
|
|
9
|
+
import { ReactSortable as bn } from "react-sortablejs";
|
|
13
10
|
import { pull as Pt } from "lodash-es";
|
|
14
|
-
import
|
|
15
|
-
import { useRouter as
|
|
11
|
+
import Tn from "ajv";
|
|
12
|
+
import { useRouter as En } from "@tanstack/react-router";
|
|
16
13
|
const Jt = 81;
|
|
17
14
|
class Kt {
|
|
18
|
-
makeObservable(
|
|
19
|
-
return
|
|
15
|
+
makeObservable(t, n) {
|
|
16
|
+
return wr(t, n);
|
|
20
17
|
}
|
|
21
18
|
}
|
|
22
|
-
class
|
|
23
|
-
makeObservable(
|
|
24
|
-
return
|
|
19
|
+
class Vi {
|
|
20
|
+
makeObservable(t, n) {
|
|
21
|
+
return t;
|
|
25
22
|
}
|
|
26
23
|
}
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/
|
|
37
|
-
var wt;
|
|
38
|
-
function Sn() {
|
|
39
|
-
if (wt) return Ce;
|
|
40
|
-
wt = 1;
|
|
41
|
-
var t = zt, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
|
+
var je = { exports: {} }, Ee = {};
|
|
25
|
+
var Rt;
|
|
26
|
+
function Cn() {
|
|
27
|
+
if (Rt) return Ee;
|
|
28
|
+
Rt = 1;
|
|
29
|
+
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
42
30
|
function d(h, m, p) {
|
|
43
|
-
var
|
|
44
|
-
p !== void 0 && (I = "" + p), m.key !== void 0 && (I = "" + m.key), m.ref !== void 0 && (
|
|
45
|
-
for (
|
|
46
|
-
if (h && h.defaultProps) for (
|
|
47
|
-
return { $$typeof:
|
|
31
|
+
var T, R = {}, I = null, D = null;
|
|
32
|
+
p !== void 0 && (I = "" + p), m.key !== void 0 && (I = "" + m.key), m.ref !== void 0 && (D = m.ref);
|
|
33
|
+
for (T in m) i.call(m, T) && !l.hasOwnProperty(T) && (R[T] = m[T]);
|
|
34
|
+
if (h && h.defaultProps) for (T in m = h.defaultProps, m) R[T] === void 0 && (R[T] = m[T]);
|
|
35
|
+
return { $$typeof: t, type: h, key: I, ref: D, props: R, _owner: a.current };
|
|
48
36
|
}
|
|
49
|
-
return
|
|
37
|
+
return Ee.Fragment = n, Ee.jsx = d, Ee.jsxs = d, Ee;
|
|
50
38
|
}
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the MIT license found in the
|
|
59
|
-
* LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/
|
|
61
|
-
var Ot;
|
|
62
|
-
function Rn() {
|
|
63
|
-
return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
64
|
-
var t = zt, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), h = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), k = Symbol.iterator, W = "@@iterator";
|
|
39
|
+
var Ce = {};
|
|
40
|
+
var wt;
|
|
41
|
+
function xn() {
|
|
42
|
+
return wt || (wt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
43
|
+
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), h = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), M = Symbol.iterator, H = "@@iterator";
|
|
65
44
|
function Q(r) {
|
|
66
45
|
if (r === null || typeof r != "object")
|
|
67
46
|
return null;
|
|
68
|
-
var s =
|
|
47
|
+
var s = M && r[M] || r[H];
|
|
69
48
|
return typeof s == "function" ? s : null;
|
|
70
49
|
}
|
|
71
|
-
var
|
|
72
|
-
function
|
|
50
|
+
var B = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function w(r) {
|
|
73
52
|
{
|
|
74
53
|
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), v = 1; v < s; v++)
|
|
75
54
|
u[v - 1] = arguments[v];
|
|
76
|
-
|
|
55
|
+
F("error", r, u);
|
|
77
56
|
}
|
|
78
57
|
}
|
|
79
|
-
function
|
|
58
|
+
function F(r, s, u) {
|
|
80
59
|
{
|
|
81
|
-
var v =
|
|
82
|
-
|
|
60
|
+
var v = B.ReactDebugCurrentFrame, E = v.getStackAddendum();
|
|
61
|
+
E !== "" && (s += "%s", u = u.concat([E]));
|
|
83
62
|
var S = u.map(function(b) {
|
|
84
63
|
return String(b);
|
|
85
64
|
});
|
|
86
65
|
S.unshift("Warning: " + s), Function.prototype.apply.call(console[r], console, S);
|
|
87
66
|
}
|
|
88
67
|
}
|
|
89
|
-
var
|
|
90
|
-
|
|
68
|
+
var _ = !1, c = !1, L = !1, me = !1, Se = !1, Pe;
|
|
69
|
+
Pe = Symbol.for("react.module.reference");
|
|
91
70
|
function Ve(r) {
|
|
92
|
-
return !!(typeof r == "string" || typeof r == "function" || r === i || r === l ||
|
|
71
|
+
return !!(typeof r == "string" || typeof r == "function" || r === i || r === l || Se || r === a || r === p || r === T || me || r === D || _ || c || L || typeof r == "object" && r !== null && (r.$$typeof === I || r.$$typeof === R || r.$$typeof === d || r.$$typeof === h || r.$$typeof === m || // This needs to include all possible module reference object
|
|
93
72
|
// types supported by any Flight configuration anywhere since
|
|
94
73
|
// we don't know which Flight build this will end up being used
|
|
95
74
|
// with.
|
|
96
|
-
r.$$typeof ===
|
|
75
|
+
r.$$typeof === Pe || r.getModuleId !== void 0));
|
|
97
76
|
}
|
|
98
77
|
function Ye(r, s, u) {
|
|
99
78
|
var v = r.displayName;
|
|
100
79
|
if (v)
|
|
101
80
|
return v;
|
|
102
|
-
var
|
|
103
|
-
return
|
|
81
|
+
var E = s.displayName || s.name || "";
|
|
82
|
+
return E !== "" ? u + "(" + E + ")" : u;
|
|
104
83
|
}
|
|
105
|
-
function
|
|
84
|
+
function Re(r) {
|
|
106
85
|
return r.displayName || "Context";
|
|
107
86
|
}
|
|
108
87
|
function K(r) {
|
|
109
88
|
if (r == null)
|
|
110
89
|
return null;
|
|
111
|
-
if (typeof r.tag == "number" &&
|
|
90
|
+
if (typeof r.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
|
|
112
91
|
return r.displayName || r.name || null;
|
|
113
92
|
if (typeof r == "string")
|
|
114
93
|
return r;
|
|
@@ -123,24 +102,24 @@ function Rn() {
|
|
|
123
102
|
return "StrictMode";
|
|
124
103
|
case p:
|
|
125
104
|
return "Suspense";
|
|
126
|
-
case
|
|
105
|
+
case T:
|
|
127
106
|
return "SuspenseList";
|
|
128
107
|
}
|
|
129
108
|
if (typeof r == "object")
|
|
130
109
|
switch (r.$$typeof) {
|
|
131
110
|
case h:
|
|
132
111
|
var s = r;
|
|
133
|
-
return
|
|
112
|
+
return Re(s) + ".Consumer";
|
|
134
113
|
case d:
|
|
135
114
|
var u = r;
|
|
136
|
-
return
|
|
115
|
+
return Re(u._context) + ".Provider";
|
|
137
116
|
case m:
|
|
138
117
|
return Ye(r, r.render, "ForwardRef");
|
|
139
118
|
case R:
|
|
140
119
|
var v = r.displayName || null;
|
|
141
120
|
return v !== null ? v : K(r.type) || "Memo";
|
|
142
121
|
case I: {
|
|
143
|
-
var
|
|
122
|
+
var E = r, S = E._payload, b = E._init;
|
|
144
123
|
try {
|
|
145
124
|
return K(b(S));
|
|
146
125
|
} catch {
|
|
@@ -150,18 +129,18 @@ function Rn() {
|
|
|
150
129
|
}
|
|
151
130
|
return null;
|
|
152
131
|
}
|
|
153
|
-
var ee = Object.assign, ie = 0,
|
|
154
|
-
function
|
|
132
|
+
var ee = Object.assign, ie = 0, we, Oe, he, _e, ve, ke, Ae;
|
|
133
|
+
function Me() {
|
|
155
134
|
}
|
|
156
|
-
|
|
157
|
-
function
|
|
135
|
+
Me.__reactDisabledLog = !0;
|
|
136
|
+
function We() {
|
|
158
137
|
{
|
|
159
138
|
if (ie === 0) {
|
|
160
|
-
|
|
139
|
+
we = console.log, Oe = console.info, he = console.warn, _e = console.error, ve = console.group, ke = console.groupCollapsed, Ae = console.groupEnd;
|
|
161
140
|
var r = {
|
|
162
141
|
configurable: !0,
|
|
163
142
|
enumerable: !0,
|
|
164
|
-
value:
|
|
143
|
+
value: Me,
|
|
165
144
|
writable: !0
|
|
166
145
|
};
|
|
167
146
|
Object.defineProperties(console, {
|
|
@@ -177,7 +156,7 @@ function Rn() {
|
|
|
177
156
|
ie++;
|
|
178
157
|
}
|
|
179
158
|
}
|
|
180
|
-
function
|
|
159
|
+
function Ue() {
|
|
181
160
|
{
|
|
182
161
|
if (ie--, ie === 0) {
|
|
183
162
|
var r = {
|
|
@@ -187,52 +166,52 @@ function Rn() {
|
|
|
187
166
|
};
|
|
188
167
|
Object.defineProperties(console, {
|
|
189
168
|
log: ee({}, r, {
|
|
190
|
-
value:
|
|
169
|
+
value: we
|
|
191
170
|
}),
|
|
192
171
|
info: ee({}, r, {
|
|
193
|
-
value:
|
|
172
|
+
value: Oe
|
|
194
173
|
}),
|
|
195
174
|
warn: ee({}, r, {
|
|
196
|
-
value:
|
|
175
|
+
value: he
|
|
197
176
|
}),
|
|
198
177
|
error: ee({}, r, {
|
|
199
|
-
value:
|
|
178
|
+
value: _e
|
|
200
179
|
}),
|
|
201
180
|
group: ee({}, r, {
|
|
202
|
-
value:
|
|
181
|
+
value: ve
|
|
203
182
|
}),
|
|
204
183
|
groupCollapsed: ee({}, r, {
|
|
205
|
-
value:
|
|
184
|
+
value: ke
|
|
206
185
|
}),
|
|
207
186
|
groupEnd: ee({}, r, {
|
|
208
|
-
value:
|
|
187
|
+
value: Ae
|
|
209
188
|
})
|
|
210
189
|
});
|
|
211
190
|
}
|
|
212
|
-
ie < 0 &&
|
|
191
|
+
ie < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
213
192
|
}
|
|
214
193
|
}
|
|
215
|
-
var
|
|
194
|
+
var pe = B.ReactCurrentDispatcher, ye;
|
|
216
195
|
function le(r, s, u) {
|
|
217
196
|
{
|
|
218
|
-
if (
|
|
197
|
+
if (ye === void 0)
|
|
219
198
|
try {
|
|
220
199
|
throw Error();
|
|
221
|
-
} catch (
|
|
222
|
-
var v =
|
|
223
|
-
|
|
200
|
+
} catch (E) {
|
|
201
|
+
var v = E.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ye = v && v[1] || "";
|
|
224
203
|
}
|
|
225
204
|
return `
|
|
226
|
-
` +
|
|
205
|
+
` + ye + r;
|
|
227
206
|
}
|
|
228
207
|
}
|
|
229
|
-
var
|
|
208
|
+
var ge = !1, ce;
|
|
230
209
|
{
|
|
231
|
-
var
|
|
232
|
-
ce = new
|
|
210
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
ce = new qe();
|
|
233
212
|
}
|
|
234
213
|
function f(r, s) {
|
|
235
|
-
if (!r ||
|
|
214
|
+
if (!r || ge)
|
|
236
215
|
return "";
|
|
237
216
|
{
|
|
238
217
|
var u = ce.get(r);
|
|
@@ -240,11 +219,11 @@ function Rn() {
|
|
|
240
219
|
return u;
|
|
241
220
|
}
|
|
242
221
|
var v;
|
|
243
|
-
|
|
244
|
-
var
|
|
222
|
+
ge = !0;
|
|
223
|
+
var E = Error.prepareStackTrace;
|
|
245
224
|
Error.prepareStackTrace = void 0;
|
|
246
225
|
var S;
|
|
247
|
-
S =
|
|
226
|
+
S = pe.current, pe.current = null, We();
|
|
248
227
|
try {
|
|
249
228
|
if (s) {
|
|
250
229
|
var b = function() {
|
|
@@ -257,52 +236,52 @@ function Rn() {
|
|
|
257
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
258
237
|
try {
|
|
259
238
|
Reflect.construct(b, []);
|
|
260
|
-
} catch (
|
|
261
|
-
v =
|
|
239
|
+
} catch (V) {
|
|
240
|
+
v = V;
|
|
262
241
|
}
|
|
263
242
|
Reflect.construct(r, [], b);
|
|
264
243
|
} else {
|
|
265
244
|
try {
|
|
266
245
|
b.call();
|
|
267
|
-
} catch (
|
|
268
|
-
v =
|
|
246
|
+
} catch (V) {
|
|
247
|
+
v = V;
|
|
269
248
|
}
|
|
270
249
|
r.call(b.prototype);
|
|
271
250
|
}
|
|
272
251
|
} else {
|
|
273
252
|
try {
|
|
274
253
|
throw Error();
|
|
275
|
-
} catch (
|
|
276
|
-
v =
|
|
254
|
+
} catch (V) {
|
|
255
|
+
v = V;
|
|
277
256
|
}
|
|
278
257
|
r();
|
|
279
258
|
}
|
|
280
|
-
} catch (
|
|
281
|
-
if (
|
|
282
|
-
for (var g =
|
|
259
|
+
} catch (V) {
|
|
260
|
+
if (V && v && typeof V.stack == "string") {
|
|
261
|
+
for (var g = V.stack.split(`
|
|
283
262
|
`), z = v.stack.split(`
|
|
284
|
-
`),
|
|
285
|
-
|
|
286
|
-
for (;
|
|
287
|
-
if (g[
|
|
288
|
-
if (
|
|
263
|
+
`), k = g.length - 1, j = z.length - 1; k >= 1 && j >= 0 && g[k] !== z[j]; )
|
|
264
|
+
j--;
|
|
265
|
+
for (; k >= 1 && j >= 0; k--, j--)
|
|
266
|
+
if (g[k] !== z[j]) {
|
|
267
|
+
if (k !== 1 || j !== 1)
|
|
289
268
|
do
|
|
290
|
-
if (
|
|
291
|
-
var
|
|
292
|
-
` + g[
|
|
293
|
-
return r.displayName &&
|
|
269
|
+
if (k--, j--, j < 0 || g[k] !== z[j]) {
|
|
270
|
+
var G = `
|
|
271
|
+
` + g[k].replace(" at new ", " at ");
|
|
272
|
+
return r.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", r.displayName)), typeof r == "function" && ce.set(r, G), G;
|
|
294
273
|
}
|
|
295
|
-
while (
|
|
274
|
+
while (k >= 1 && j >= 0);
|
|
296
275
|
break;
|
|
297
276
|
}
|
|
298
277
|
}
|
|
299
278
|
} finally {
|
|
300
|
-
|
|
279
|
+
ge = !1, pe.current = S, Ue(), Error.prepareStackTrace = E;
|
|
301
280
|
}
|
|
302
281
|
var fe = r ? r.displayName || r.name : "", ae = fe ? le(fe) : "";
|
|
303
282
|
return typeof r == "function" && ce.set(r, ae), ae;
|
|
304
283
|
}
|
|
305
|
-
function
|
|
284
|
+
function be(r, s, u) {
|
|
306
285
|
return f(r, !1);
|
|
307
286
|
}
|
|
308
287
|
function ue(r) {
|
|
@@ -319,34 +298,34 @@ function Rn() {
|
|
|
319
298
|
switch (r) {
|
|
320
299
|
case p:
|
|
321
300
|
return le("Suspense");
|
|
322
|
-
case
|
|
301
|
+
case T:
|
|
323
302
|
return le("SuspenseList");
|
|
324
303
|
}
|
|
325
304
|
if (typeof r == "object")
|
|
326
305
|
switch (r.$$typeof) {
|
|
327
306
|
case m:
|
|
328
|
-
return
|
|
307
|
+
return be(r.render);
|
|
329
308
|
case R:
|
|
330
309
|
return oe(r.type, s, u);
|
|
331
310
|
case I: {
|
|
332
|
-
var v = r,
|
|
311
|
+
var v = r, E = v._payload, S = v._init;
|
|
333
312
|
try {
|
|
334
|
-
return oe(S(
|
|
313
|
+
return oe(S(E), s, u);
|
|
335
314
|
} catch {
|
|
336
315
|
}
|
|
337
316
|
}
|
|
338
317
|
}
|
|
339
318
|
return "";
|
|
340
319
|
}
|
|
341
|
-
var Te = Object.prototype.hasOwnProperty,
|
|
342
|
-
function
|
|
320
|
+
var Te = Object.prototype.hasOwnProperty, dt = {}, ft = B.ReactDebugCurrentFrame;
|
|
321
|
+
function Fe(r) {
|
|
343
322
|
if (r) {
|
|
344
323
|
var s = r._owner, u = oe(r.type, r._source, s ? s.type : null);
|
|
345
|
-
|
|
324
|
+
ft.setExtraStackFrame(u);
|
|
346
325
|
} else
|
|
347
|
-
|
|
326
|
+
ft.setExtraStackFrame(null);
|
|
348
327
|
}
|
|
349
|
-
function ar(r, s, u, v,
|
|
328
|
+
function ar(r, s, u, v, E) {
|
|
350
329
|
{
|
|
351
330
|
var S = Function.call.bind(Te);
|
|
352
331
|
for (var b in r)
|
|
@@ -358,15 +337,15 @@ function Rn() {
|
|
|
358
337
|
throw z.name = "Invariant Violation", z;
|
|
359
338
|
}
|
|
360
339
|
g = r[b](s, b, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
361
|
-
} catch (
|
|
362
|
-
g =
|
|
340
|
+
} catch (k) {
|
|
341
|
+
g = k;
|
|
363
342
|
}
|
|
364
|
-
g && !(g instanceof Error) && (
|
|
343
|
+
g && !(g instanceof Error) && (Fe(E), w("%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).", v || "React class", u, b, typeof g), Fe(null)), g instanceof Error && !(g.message in dt) && (dt[g.message] = !0, Fe(E), w("Failed %s type: %s", u, g.message), Fe(null));
|
|
365
344
|
}
|
|
366
345
|
}
|
|
367
346
|
}
|
|
368
347
|
var sr = Array.isArray;
|
|
369
|
-
function
|
|
348
|
+
function He(r) {
|
|
370
349
|
return sr(r);
|
|
371
350
|
}
|
|
372
351
|
function lr(r) {
|
|
@@ -377,24 +356,24 @@ function Rn() {
|
|
|
377
356
|
}
|
|
378
357
|
function cr(r) {
|
|
379
358
|
try {
|
|
380
|
-
return
|
|
359
|
+
return mt(r), !1;
|
|
381
360
|
} catch {
|
|
382
361
|
return !0;
|
|
383
362
|
}
|
|
384
363
|
}
|
|
385
|
-
function
|
|
364
|
+
function mt(r) {
|
|
386
365
|
return "" + r;
|
|
387
366
|
}
|
|
388
|
-
function
|
|
367
|
+
function ht(r) {
|
|
389
368
|
if (cr(r))
|
|
390
|
-
return
|
|
369
|
+
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lr(r)), mt(r);
|
|
391
370
|
}
|
|
392
|
-
var
|
|
371
|
+
var vt = B.ReactCurrentOwner, ur = {
|
|
393
372
|
key: !0,
|
|
394
373
|
ref: !0,
|
|
395
374
|
__self: !0,
|
|
396
375
|
__source: !0
|
|
397
|
-
},
|
|
376
|
+
}, pt, yt;
|
|
398
377
|
function dr(r) {
|
|
399
378
|
if (Te.call(r, "ref")) {
|
|
400
379
|
var s = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
@@ -412,12 +391,12 @@ function Rn() {
|
|
|
412
391
|
return r.key !== void 0;
|
|
413
392
|
}
|
|
414
393
|
function mr(r, s) {
|
|
415
|
-
typeof r.ref == "string" &&
|
|
394
|
+
typeof r.ref == "string" && vt.current;
|
|
416
395
|
}
|
|
417
396
|
function hr(r, s) {
|
|
418
397
|
{
|
|
419
398
|
var u = function() {
|
|
420
|
-
|
|
399
|
+
pt || (pt = !0, w("%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));
|
|
421
400
|
};
|
|
422
401
|
u.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
423
402
|
get: u,
|
|
@@ -428,7 +407,7 @@ function Rn() {
|
|
|
428
407
|
function vr(r, s) {
|
|
429
408
|
{
|
|
430
409
|
var u = function() {
|
|
431
|
-
|
|
410
|
+
yt || (yt = !0, w("%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));
|
|
432
411
|
};
|
|
433
412
|
u.isReactWarning = !0, Object.defineProperty(r, "ref", {
|
|
434
413
|
get: u,
|
|
@@ -436,10 +415,10 @@ function Rn() {
|
|
|
436
415
|
});
|
|
437
416
|
}
|
|
438
417
|
}
|
|
439
|
-
var pr = function(r, s, u, v,
|
|
418
|
+
var pr = function(r, s, u, v, E, S, b) {
|
|
440
419
|
var g = {
|
|
441
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
442
|
-
$$typeof:
|
|
421
|
+
$$typeof: t,
|
|
443
422
|
// Built-in properties that belong on the element
|
|
444
423
|
type: r,
|
|
445
424
|
key: s,
|
|
@@ -462,44 +441,44 @@ function Rn() {
|
|
|
462
441
|
configurable: !1,
|
|
463
442
|
enumerable: !1,
|
|
464
443
|
writable: !1,
|
|
465
|
-
value:
|
|
444
|
+
value: E
|
|
466
445
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
467
446
|
};
|
|
468
|
-
function yr(r, s, u, v,
|
|
447
|
+
function yr(r, s, u, v, E) {
|
|
469
448
|
{
|
|
470
449
|
var S, b = {}, g = null, z = null;
|
|
471
|
-
u !== void 0 && (
|
|
450
|
+
u !== void 0 && (ht(u), g = "" + u), fr(s) && (ht(s.key), g = "" + s.key), dr(s) && (z = s.ref, mr(s, E));
|
|
472
451
|
for (S in s)
|
|
473
452
|
Te.call(s, S) && !ur.hasOwnProperty(S) && (b[S] = s[S]);
|
|
474
453
|
if (r && r.defaultProps) {
|
|
475
|
-
var
|
|
476
|
-
for (S in
|
|
477
|
-
b[S] === void 0 && (b[S] =
|
|
454
|
+
var k = r.defaultProps;
|
|
455
|
+
for (S in k)
|
|
456
|
+
b[S] === void 0 && (b[S] = k[S]);
|
|
478
457
|
}
|
|
479
458
|
if (g || z) {
|
|
480
|
-
var
|
|
481
|
-
g && hr(b,
|
|
459
|
+
var j = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
460
|
+
g && hr(b, j), z && vr(b, j);
|
|
482
461
|
}
|
|
483
|
-
return pr(r, g, z,
|
|
462
|
+
return pr(r, g, z, E, v, vt.current, b);
|
|
484
463
|
}
|
|
485
464
|
}
|
|
486
|
-
var
|
|
465
|
+
var Ge = B.ReactCurrentOwner, gt = B.ReactDebugCurrentFrame;
|
|
487
466
|
function de(r) {
|
|
488
467
|
if (r) {
|
|
489
468
|
var s = r._owner, u = oe(r.type, r._source, s ? s.type : null);
|
|
490
|
-
|
|
469
|
+
gt.setExtraStackFrame(u);
|
|
491
470
|
} else
|
|
492
|
-
|
|
471
|
+
gt.setExtraStackFrame(null);
|
|
493
472
|
}
|
|
494
|
-
var
|
|
495
|
-
|
|
496
|
-
function
|
|
497
|
-
return typeof r == "object" && r !== null && r.$$typeof ===
|
|
473
|
+
var Je;
|
|
474
|
+
Je = !1;
|
|
475
|
+
function Ke(r) {
|
|
476
|
+
return typeof r == "object" && r !== null && r.$$typeof === t;
|
|
498
477
|
}
|
|
499
|
-
function
|
|
478
|
+
function bt() {
|
|
500
479
|
{
|
|
501
|
-
if (
|
|
502
|
-
var r = K(
|
|
480
|
+
if (Ge.current) {
|
|
481
|
+
var r = K(Ge.current.type);
|
|
503
482
|
if (r)
|
|
504
483
|
return `
|
|
505
484
|
|
|
@@ -514,7 +493,7 @@ Check the render method of \`` + r + "`.";
|
|
|
514
493
|
var Tt = {};
|
|
515
494
|
function br(r) {
|
|
516
495
|
{
|
|
517
|
-
var s =
|
|
496
|
+
var s = bt();
|
|
518
497
|
if (!s) {
|
|
519
498
|
var u = typeof r == "string" ? r : r.displayName || r.name;
|
|
520
499
|
u && (s = `
|
|
@@ -524,7 +503,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
524
503
|
return s;
|
|
525
504
|
}
|
|
526
505
|
}
|
|
527
|
-
function
|
|
506
|
+
function Et(r, s) {
|
|
528
507
|
{
|
|
529
508
|
if (!r._store || r._store.validated || r.key != null)
|
|
530
509
|
return;
|
|
@@ -534,29 +513,29 @@ Check the top-level render call using <` + u + ">.");
|
|
|
534
513
|
return;
|
|
535
514
|
Tt[u] = !0;
|
|
536
515
|
var v = "";
|
|
537
|
-
r && r._owner && r._owner !==
|
|
516
|
+
r && r._owner && r._owner !== Ge.current && (v = " It was passed a child from " + K(r._owner.type) + "."), de(r), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), de(null);
|
|
538
517
|
}
|
|
539
518
|
}
|
|
540
|
-
function
|
|
519
|
+
function Ct(r, s) {
|
|
541
520
|
{
|
|
542
521
|
if (typeof r != "object")
|
|
543
522
|
return;
|
|
544
|
-
if (
|
|
523
|
+
if (He(r))
|
|
545
524
|
for (var u = 0; u < r.length; u++) {
|
|
546
525
|
var v = r[u];
|
|
547
|
-
|
|
526
|
+
Ke(v) && Et(v, s);
|
|
548
527
|
}
|
|
549
|
-
else if (
|
|
528
|
+
else if (Ke(r))
|
|
550
529
|
r._store && (r._store.validated = !0);
|
|
551
530
|
else if (r) {
|
|
552
|
-
var
|
|
553
|
-
if (typeof
|
|
554
|
-
for (var S =
|
|
555
|
-
|
|
531
|
+
var E = Q(r);
|
|
532
|
+
if (typeof E == "function" && E !== r.entries)
|
|
533
|
+
for (var S = E.call(r), b; !(b = S.next()).done; )
|
|
534
|
+
Ke(b.value) && Et(b.value, s);
|
|
556
535
|
}
|
|
557
536
|
}
|
|
558
537
|
}
|
|
559
|
-
function
|
|
538
|
+
function Tr(r) {
|
|
560
539
|
{
|
|
561
540
|
var s = r.type;
|
|
562
541
|
if (s == null || typeof s == "string")
|
|
@@ -573,104 +552,96 @@ Check the top-level render call using <` + u + ">.");
|
|
|
573
552
|
if (u) {
|
|
574
553
|
var v = K(s);
|
|
575
554
|
ar(u, r.props, "prop", v, r);
|
|
576
|
-
} else if (s.PropTypes !== void 0 && !
|
|
577
|
-
|
|
578
|
-
var
|
|
579
|
-
|
|
555
|
+
} else if (s.PropTypes !== void 0 && !Je) {
|
|
556
|
+
Je = !0;
|
|
557
|
+
var E = K(s);
|
|
558
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
580
559
|
}
|
|
581
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
560
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
582
561
|
}
|
|
583
562
|
}
|
|
584
|
-
function
|
|
563
|
+
function Er(r) {
|
|
585
564
|
{
|
|
586
565
|
for (var s = Object.keys(r.props), u = 0; u < s.length; u++) {
|
|
587
566
|
var v = s[u];
|
|
588
567
|
if (v !== "children" && v !== "key") {
|
|
589
|
-
de(r),
|
|
568
|
+
de(r), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), de(null);
|
|
590
569
|
break;
|
|
591
570
|
}
|
|
592
571
|
}
|
|
593
|
-
r.ref !== null && (de(r),
|
|
572
|
+
r.ref !== null && (de(r), w("Invalid attribute `ref` supplied to `React.Fragment`."), de(null));
|
|
594
573
|
}
|
|
595
574
|
}
|
|
596
|
-
var
|
|
597
|
-
function
|
|
575
|
+
var xt = {};
|
|
576
|
+
function It(r, s, u, v, E, S) {
|
|
598
577
|
{
|
|
599
578
|
var b = Ve(r);
|
|
600
579
|
if (!b) {
|
|
601
580
|
var g = "";
|
|
602
581
|
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
603
582
|
var z = gr();
|
|
604
|
-
z ? g += z : g +=
|
|
605
|
-
var
|
|
606
|
-
r === null ?
|
|
583
|
+
z ? g += z : g += bt();
|
|
584
|
+
var k;
|
|
585
|
+
r === null ? k = "null" : He(r) ? k = "array" : r !== void 0 && r.$$typeof === t ? (k = "<" + (K(r.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : k = typeof r, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, g);
|
|
607
586
|
}
|
|
608
|
-
var
|
|
609
|
-
if (
|
|
610
|
-
return
|
|
587
|
+
var j = yr(r, s, u, E, S);
|
|
588
|
+
if (j == null)
|
|
589
|
+
return j;
|
|
611
590
|
if (b) {
|
|
612
|
-
var
|
|
613
|
-
if (
|
|
591
|
+
var G = s.children;
|
|
592
|
+
if (G !== void 0)
|
|
614
593
|
if (v)
|
|
615
|
-
if (
|
|
616
|
-
for (var fe = 0; fe <
|
|
617
|
-
|
|
618
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
if (He(G)) {
|
|
595
|
+
for (var fe = 0; fe < G.length; fe++)
|
|
596
|
+
Ct(G[fe], r);
|
|
597
|
+
Object.freeze && Object.freeze(G);
|
|
619
598
|
} else
|
|
620
|
-
|
|
599
|
+
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
621
600
|
else
|
|
622
|
-
|
|
601
|
+
Ct(G, r);
|
|
623
602
|
}
|
|
624
603
|
if (Te.call(s, "key")) {
|
|
625
|
-
var ae = K(r),
|
|
626
|
-
return
|
|
627
|
-
}),
|
|
628
|
-
if (!
|
|
629
|
-
var
|
|
630
|
-
|
|
604
|
+
var ae = K(r), V = Object.keys(s).filter(function(Rr) {
|
|
605
|
+
return Rr !== "key";
|
|
606
|
+
}), Xe = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
+
if (!xt[ae + Xe]) {
|
|
608
|
+
var Pr = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
+
w(`A props object containing a "key" prop is being spread into JSX:
|
|
631
610
|
let props = %s;
|
|
632
611
|
<%s {...props} />
|
|
633
612
|
React keys must be passed directly to JSX without using spread:
|
|
634
613
|
let props = %s;
|
|
635
|
-
<%s key={someKey} {...props} />`,
|
|
614
|
+
<%s key={someKey} {...props} />`, Xe, ae, Pr, ae), xt[ae + Xe] = !0;
|
|
636
615
|
}
|
|
637
616
|
}
|
|
638
|
-
return r === i ?
|
|
617
|
+
return r === i ? Er(j) : Tr(j), j;
|
|
639
618
|
}
|
|
640
619
|
}
|
|
641
620
|
function Cr(r, s, u) {
|
|
642
|
-
return
|
|
621
|
+
return It(r, s, u, !0);
|
|
643
622
|
}
|
|
644
623
|
function xr(r, s, u) {
|
|
645
|
-
return
|
|
624
|
+
return It(r, s, u, !1);
|
|
646
625
|
}
|
|
647
626
|
var Ir = xr, Sr = Cr;
|
|
648
|
-
|
|
649
|
-
})()),
|
|
627
|
+
Ce.Fragment = i, Ce.jsx = Ir, Ce.jsxs = Sr;
|
|
628
|
+
})()), Ce;
|
|
650
629
|
}
|
|
651
|
-
var
|
|
652
|
-
function
|
|
653
|
-
return
|
|
630
|
+
var Ot;
|
|
631
|
+
function In() {
|
|
632
|
+
return Ot || (Ot = 1, process.env.NODE_ENV === "production" ? je.exports = Cn() : je.exports = xn()), je.exports;
|
|
654
633
|
}
|
|
655
|
-
var
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
* LICENSE file in the root directory of this source tree.
|
|
663
|
-
*/
|
|
664
|
-
var At;
|
|
665
|
-
function wn() {
|
|
666
|
-
if (At) return C;
|
|
667
|
-
At = 1;
|
|
668
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, d = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110, m = t ? Symbol.for("react.async_mode") : 60111, p = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, R = t ? Symbol.for("react.suspense") : 60113, I = t ? Symbol.for("react.suspense_list") : 60120, $ = t ? Symbol.for("react.memo") : 60115, k = t ? Symbol.for("react.lazy") : 60116, W = t ? Symbol.for("react.block") : 60121, Q = t ? Symbol.for("react.fundamental") : 60117, L = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
669
|
-
function M(c) {
|
|
634
|
+
var xe = In(), Ne = { exports: {} }, C = {};
|
|
635
|
+
var _t;
|
|
636
|
+
function Sn() {
|
|
637
|
+
if (_t) return C;
|
|
638
|
+
_t = 1;
|
|
639
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, T = e ? Symbol.for("react.forward_ref") : 60112, R = e ? Symbol.for("react.suspense") : 60113, I = e ? Symbol.for("react.suspense_list") : 60120, D = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, H = e ? Symbol.for("react.block") : 60121, Q = e ? Symbol.for("react.fundamental") : 60117, B = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
640
|
+
function F(c) {
|
|
670
641
|
if (typeof c == "object" && c !== null) {
|
|
671
|
-
var
|
|
672
|
-
switch (
|
|
673
|
-
case
|
|
642
|
+
var L = c.$$typeof;
|
|
643
|
+
switch (L) {
|
|
644
|
+
case t:
|
|
674
645
|
switch (c = c.type, c) {
|
|
675
646
|
case m:
|
|
676
647
|
case p:
|
|
@@ -682,73 +653,65 @@ function wn() {
|
|
|
682
653
|
default:
|
|
683
654
|
switch (c = c && c.$$typeof, c) {
|
|
684
655
|
case h:
|
|
685
|
-
case
|
|
686
|
-
case
|
|
687
|
-
case
|
|
656
|
+
case T:
|
|
657
|
+
case M:
|
|
658
|
+
case D:
|
|
688
659
|
case d:
|
|
689
660
|
return c;
|
|
690
661
|
default:
|
|
691
|
-
return
|
|
662
|
+
return L;
|
|
692
663
|
}
|
|
693
664
|
}
|
|
694
665
|
case n:
|
|
695
|
-
return
|
|
666
|
+
return L;
|
|
696
667
|
}
|
|
697
668
|
}
|
|
698
669
|
}
|
|
699
|
-
function
|
|
700
|
-
return
|
|
670
|
+
function _(c) {
|
|
671
|
+
return F(c) === p;
|
|
701
672
|
}
|
|
702
|
-
return C.AsyncMode = m, C.ConcurrentMode = p, C.ContextConsumer = h, C.ContextProvider = d, C.Element =
|
|
703
|
-
return
|
|
704
|
-
}, C.isConcurrentMode =
|
|
705
|
-
return
|
|
673
|
+
return C.AsyncMode = m, C.ConcurrentMode = p, C.ContextConsumer = h, C.ContextProvider = d, C.Element = t, C.ForwardRef = T, C.Fragment = i, C.Lazy = M, C.Memo = D, C.Portal = n, C.Profiler = l, C.StrictMode = a, C.Suspense = R, C.isAsyncMode = function(c) {
|
|
674
|
+
return _(c) || F(c) === m;
|
|
675
|
+
}, C.isConcurrentMode = _, C.isContextConsumer = function(c) {
|
|
676
|
+
return F(c) === h;
|
|
706
677
|
}, C.isContextProvider = function(c) {
|
|
707
|
-
return
|
|
678
|
+
return F(c) === d;
|
|
708
679
|
}, C.isElement = function(c) {
|
|
709
|
-
return typeof c == "object" && c !== null && c.$$typeof ===
|
|
680
|
+
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
710
681
|
}, C.isForwardRef = function(c) {
|
|
711
|
-
return
|
|
682
|
+
return F(c) === T;
|
|
712
683
|
}, C.isFragment = function(c) {
|
|
713
|
-
return
|
|
684
|
+
return F(c) === i;
|
|
714
685
|
}, C.isLazy = function(c) {
|
|
715
|
-
return
|
|
686
|
+
return F(c) === M;
|
|
716
687
|
}, C.isMemo = function(c) {
|
|
717
|
-
return
|
|
688
|
+
return F(c) === D;
|
|
718
689
|
}, C.isPortal = function(c) {
|
|
719
|
-
return
|
|
690
|
+
return F(c) === n;
|
|
720
691
|
}, C.isProfiler = function(c) {
|
|
721
|
-
return
|
|
692
|
+
return F(c) === l;
|
|
722
693
|
}, C.isStrictMode = function(c) {
|
|
723
|
-
return
|
|
694
|
+
return F(c) === a;
|
|
724
695
|
}, C.isSuspense = function(c) {
|
|
725
|
-
return
|
|
696
|
+
return F(c) === R;
|
|
726
697
|
}, C.isValidElementType = function(c) {
|
|
727
|
-
return typeof c == "string" || typeof c == "function" || c === i || c === p || c === l || c === a || c === R || c === I || typeof c == "object" && c !== null && (c.$$typeof ===
|
|
728
|
-
}, C.typeOf =
|
|
698
|
+
return typeof c == "string" || typeof c == "function" || c === i || c === p || c === l || c === a || c === R || c === I || typeof c == "object" && c !== null && (c.$$typeof === M || c.$$typeof === D || c.$$typeof === d || c.$$typeof === h || c.$$typeof === T || c.$$typeof === Q || c.$$typeof === B || c.$$typeof === w || c.$$typeof === H);
|
|
699
|
+
}, C.typeOf = F, C;
|
|
729
700
|
}
|
|
730
701
|
var x = {};
|
|
731
|
-
/** @license React v16.13.1
|
|
732
|
-
* react-is.development.js
|
|
733
|
-
*
|
|
734
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
735
|
-
*
|
|
736
|
-
* This source code is licensed under the MIT license found in the
|
|
737
|
-
* LICENSE file in the root directory of this source tree.
|
|
738
|
-
*/
|
|
739
702
|
var kt;
|
|
740
|
-
function
|
|
703
|
+
function Pn() {
|
|
741
704
|
return kt || (kt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
742
|
-
var
|
|
743
|
-
function
|
|
705
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, T = e ? Symbol.for("react.forward_ref") : 60112, R = e ? Symbol.for("react.suspense") : 60113, I = e ? Symbol.for("react.suspense_list") : 60120, D = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, H = e ? Symbol.for("react.block") : 60121, Q = e ? Symbol.for("react.fundamental") : 60117, B = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
706
|
+
function F(f) {
|
|
744
707
|
return typeof f == "string" || typeof f == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
745
|
-
f === i || f === p || f === l || f === a || f === R || f === I || typeof f == "object" && f !== null && (f.$$typeof ===
|
|
708
|
+
f === i || f === p || f === l || f === a || f === R || f === I || typeof f == "object" && f !== null && (f.$$typeof === M || f.$$typeof === D || f.$$typeof === d || f.$$typeof === h || f.$$typeof === T || f.$$typeof === Q || f.$$typeof === B || f.$$typeof === w || f.$$typeof === H);
|
|
746
709
|
}
|
|
747
|
-
function
|
|
710
|
+
function _(f) {
|
|
748
711
|
if (typeof f == "object" && f !== null) {
|
|
749
|
-
var
|
|
750
|
-
switch (
|
|
751
|
-
case
|
|
712
|
+
var be = f.$$typeof;
|
|
713
|
+
switch (be) {
|
|
714
|
+
case t:
|
|
752
715
|
var ue = f.type;
|
|
753
716
|
switch (ue) {
|
|
754
717
|
case m:
|
|
@@ -762,72 +725,72 @@ function On() {
|
|
|
762
725
|
var oe = ue && ue.$$typeof;
|
|
763
726
|
switch (oe) {
|
|
764
727
|
case h:
|
|
765
|
-
case
|
|
766
|
-
case
|
|
767
|
-
case
|
|
728
|
+
case T:
|
|
729
|
+
case M:
|
|
730
|
+
case D:
|
|
768
731
|
case d:
|
|
769
732
|
return oe;
|
|
770
733
|
default:
|
|
771
|
-
return
|
|
734
|
+
return be;
|
|
772
735
|
}
|
|
773
736
|
}
|
|
774
737
|
case n:
|
|
775
|
-
return
|
|
738
|
+
return be;
|
|
776
739
|
}
|
|
777
740
|
}
|
|
778
741
|
}
|
|
779
|
-
var c = m,
|
|
742
|
+
var c = m, L = p, me = h, Se = d, Pe = t, Ve = T, Ye = i, Re = M, K = D, ee = n, ie = l, we = a, Oe = R, he = !1;
|
|
743
|
+
function _e(f) {
|
|
744
|
+
return he || (he = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ve(f) || _(f) === m;
|
|
745
|
+
}
|
|
746
|
+
function ve(f) {
|
|
747
|
+
return _(f) === p;
|
|
748
|
+
}
|
|
780
749
|
function ke(f) {
|
|
781
|
-
return
|
|
750
|
+
return _(f) === h;
|
|
782
751
|
}
|
|
783
|
-
function
|
|
784
|
-
return
|
|
752
|
+
function Ae(f) {
|
|
753
|
+
return _(f) === d;
|
|
785
754
|
}
|
|
786
755
|
function Me(f) {
|
|
787
|
-
return
|
|
788
|
-
}
|
|
789
|
-
function Fe(f) {
|
|
790
|
-
return O(f) === d;
|
|
756
|
+
return typeof f == "object" && f !== null && f.$$typeof === t;
|
|
791
757
|
}
|
|
792
|
-
function
|
|
793
|
-
return
|
|
758
|
+
function We(f) {
|
|
759
|
+
return _(f) === T;
|
|
794
760
|
}
|
|
795
|
-
function
|
|
796
|
-
return
|
|
761
|
+
function Ue(f) {
|
|
762
|
+
return _(f) === i;
|
|
797
763
|
}
|
|
798
|
-
function
|
|
799
|
-
return
|
|
764
|
+
function pe(f) {
|
|
765
|
+
return _(f) === M;
|
|
800
766
|
}
|
|
801
767
|
function ye(f) {
|
|
802
|
-
return
|
|
803
|
-
}
|
|
804
|
-
function ge(f) {
|
|
805
|
-
return O(f) === $;
|
|
768
|
+
return _(f) === D;
|
|
806
769
|
}
|
|
807
770
|
function le(f) {
|
|
808
|
-
return
|
|
771
|
+
return _(f) === n;
|
|
809
772
|
}
|
|
810
|
-
function
|
|
811
|
-
return
|
|
773
|
+
function ge(f) {
|
|
774
|
+
return _(f) === l;
|
|
812
775
|
}
|
|
813
776
|
function ce(f) {
|
|
814
|
-
return
|
|
777
|
+
return _(f) === a;
|
|
815
778
|
}
|
|
816
|
-
function
|
|
817
|
-
return
|
|
779
|
+
function qe(f) {
|
|
780
|
+
return _(f) === R;
|
|
818
781
|
}
|
|
819
|
-
x.AsyncMode = c, x.ConcurrentMode =
|
|
782
|
+
x.AsyncMode = c, x.ConcurrentMode = L, x.ContextConsumer = me, x.ContextProvider = Se, x.Element = Pe, x.ForwardRef = Ve, x.Fragment = Ye, x.Lazy = Re, x.Memo = K, x.Portal = ee, x.Profiler = ie, x.StrictMode = we, x.Suspense = Oe, x.isAsyncMode = _e, x.isConcurrentMode = ve, x.isContextConsumer = ke, x.isContextProvider = Ae, x.isElement = Me, x.isForwardRef = We, x.isFragment = Ue, x.isLazy = pe, x.isMemo = ye, x.isPortal = le, x.isProfiler = ge, x.isStrictMode = ce, x.isSuspense = qe, x.isValidElementType = F, x.typeOf = _;
|
|
820
783
|
})()), x;
|
|
821
784
|
}
|
|
822
|
-
var
|
|
823
|
-
function
|
|
824
|
-
return
|
|
785
|
+
var At;
|
|
786
|
+
function Rn() {
|
|
787
|
+
return At || (At = 1, process.env.NODE_ENV === "production" ? Ne.exports = Sn() : Ne.exports = Pn()), Ne.exports;
|
|
825
788
|
}
|
|
826
|
-
var
|
|
827
|
-
function
|
|
828
|
-
if (
|
|
829
|
-
|
|
830
|
-
var
|
|
789
|
+
var Qe, Mt;
|
|
790
|
+
function wn() {
|
|
791
|
+
if (Mt) return Qe;
|
|
792
|
+
Mt = 1;
|
|
793
|
+
var e = Rn(), t = {
|
|
831
794
|
childContextTypes: !0,
|
|
832
795
|
contextType: !0,
|
|
833
796
|
contextTypes: !0,
|
|
@@ -861,44 +824,44 @@ function An() {
|
|
|
861
824
|
propTypes: !0,
|
|
862
825
|
type: !0
|
|
863
826
|
}, l = {};
|
|
864
|
-
l[
|
|
865
|
-
function d(
|
|
866
|
-
return
|
|
827
|
+
l[e.ForwardRef] = i, l[e.Memo] = a;
|
|
828
|
+
function d(M) {
|
|
829
|
+
return e.isMemo(M) ? a : l[M.$$typeof] || t;
|
|
867
830
|
}
|
|
868
|
-
var h = Object.defineProperty, m = Object.getOwnPropertyNames, p = Object.getOwnPropertySymbols,
|
|
869
|
-
function
|
|
870
|
-
if (typeof
|
|
831
|
+
var h = Object.defineProperty, m = Object.getOwnPropertyNames, p = Object.getOwnPropertySymbols, T = Object.getOwnPropertyDescriptor, R = Object.getPrototypeOf, I = Object.prototype;
|
|
832
|
+
function D(M, H, Q) {
|
|
833
|
+
if (typeof H != "string") {
|
|
871
834
|
if (I) {
|
|
872
|
-
var
|
|
873
|
-
|
|
835
|
+
var B = R(H);
|
|
836
|
+
B && B !== I && D(M, B, Q);
|
|
874
837
|
}
|
|
875
|
-
var
|
|
876
|
-
p && (
|
|
877
|
-
for (var
|
|
878
|
-
var
|
|
879
|
-
if (!n[
|
|
880
|
-
var
|
|
838
|
+
var w = m(H);
|
|
839
|
+
p && (w = w.concat(p(H)));
|
|
840
|
+
for (var F = d(M), _ = d(H), c = 0; c < w.length; ++c) {
|
|
841
|
+
var L = w[c];
|
|
842
|
+
if (!n[L] && !(Q && Q[L]) && !(_ && _[L]) && !(F && F[L])) {
|
|
843
|
+
var me = T(H, L);
|
|
881
844
|
try {
|
|
882
|
-
h(
|
|
845
|
+
h(M, L, me);
|
|
883
846
|
} catch {
|
|
884
847
|
}
|
|
885
848
|
}
|
|
886
849
|
}
|
|
887
850
|
}
|
|
888
|
-
return
|
|
851
|
+
return M;
|
|
889
852
|
}
|
|
890
|
-
return
|
|
853
|
+
return Qe = D, Qe;
|
|
891
854
|
}
|
|
892
|
-
|
|
893
|
-
var
|
|
894
|
-
function
|
|
855
|
+
wn();
|
|
856
|
+
var On = !0;
|
|
857
|
+
function _n(e, t, n) {
|
|
895
858
|
var i = "";
|
|
896
859
|
return n.split(" ").forEach(function(a) {
|
|
897
|
-
|
|
860
|
+
e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
|
|
898
861
|
}), i;
|
|
899
862
|
}
|
|
900
|
-
var Xt = function(
|
|
901
|
-
var a =
|
|
863
|
+
var Xt = function(t, n, i) {
|
|
864
|
+
var a = t.key + "-" + n.name;
|
|
902
865
|
// we only need to add the styles to the registered cache if the
|
|
903
866
|
// class name could be used further down
|
|
904
867
|
// the tree but if it's a string tag, we know it won't
|
|
@@ -908,37 +871,37 @@ var Xt = function(e, n, i) {
|
|
|
908
871
|
// in node since emotion-server relies on whether a style is in
|
|
909
872
|
// the registered cache to know whether a style is global or not
|
|
910
873
|
// also, note that this check will be dead code eliminated in the browser
|
|
911
|
-
|
|
912
|
-
},
|
|
913
|
-
Xt(
|
|
914
|
-
var a =
|
|
915
|
-
if (
|
|
874
|
+
On === !1) && t.registered[a] === void 0 && (t.registered[a] = n.styles);
|
|
875
|
+
}, kn = function(t, n, i) {
|
|
876
|
+
Xt(t, n, i);
|
|
877
|
+
var a = t.key + "-" + n.name;
|
|
878
|
+
if (t.inserted[n.name] === void 0) {
|
|
916
879
|
var l = n;
|
|
917
880
|
do
|
|
918
|
-
|
|
881
|
+
t.insert(n === l ? "." + a : "", l, t.sheet, !0), l = l.next;
|
|
919
882
|
while (l !== void 0);
|
|
920
883
|
}
|
|
921
884
|
};
|
|
922
|
-
function
|
|
923
|
-
for (var
|
|
924
|
-
n =
|
|
885
|
+
function An(e) {
|
|
886
|
+
for (var t = 0, n, i = 0, a = e.length; a >= 4; ++i, a -= 4)
|
|
887
|
+
n = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, n = /* Math.imul(k, m): */
|
|
925
888
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
926
|
-
n >>> 24,
|
|
889
|
+
n >>> 24, t = /* Math.imul(k, m): */
|
|
927
890
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
928
|
-
(
|
|
891
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
929
892
|
switch (a) {
|
|
930
893
|
case 3:
|
|
931
|
-
|
|
894
|
+
t ^= (e.charCodeAt(i + 2) & 255) << 16;
|
|
932
895
|
case 2:
|
|
933
|
-
|
|
896
|
+
t ^= (e.charCodeAt(i + 1) & 255) << 8;
|
|
934
897
|
case 1:
|
|
935
|
-
|
|
936
|
-
(
|
|
898
|
+
t ^= e.charCodeAt(i) & 255, t = /* Math.imul(h, m): */
|
|
899
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
937
900
|
}
|
|
938
|
-
return
|
|
939
|
-
(
|
|
901
|
+
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
902
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
940
903
|
}
|
|
941
|
-
var
|
|
904
|
+
var Mn = {
|
|
942
905
|
animationIterationCount: 1,
|
|
943
906
|
aspectRatio: 1,
|
|
944
907
|
borderImageOutset: 1,
|
|
@@ -988,24 +951,24 @@ var Nn = {
|
|
|
988
951
|
strokeOpacity: 1,
|
|
989
952
|
strokeWidth: 1
|
|
990
953
|
};
|
|
991
|
-
function
|
|
992
|
-
var
|
|
954
|
+
function Fn(e) {
|
|
955
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
993
956
|
return function(n) {
|
|
994
|
-
return
|
|
957
|
+
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
995
958
|
};
|
|
996
959
|
}
|
|
997
|
-
var
|
|
998
|
-
return
|
|
999
|
-
},
|
|
1000
|
-
return
|
|
1001
|
-
},
|
|
1002
|
-
return Zt(
|
|
1003
|
-
}),
|
|
1004
|
-
switch (
|
|
960
|
+
var jn = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Zt = function(t) {
|
|
961
|
+
return t.charCodeAt(1) === 45;
|
|
962
|
+
}, Ft = function(t) {
|
|
963
|
+
return t != null && typeof t != "boolean";
|
|
964
|
+
}, et = /* @__PURE__ */ Fn(function(e) {
|
|
965
|
+
return Zt(e) ? e : e.replace(jn, "-$&").toLowerCase();
|
|
966
|
+
}), jt = function(t, n) {
|
|
967
|
+
switch (t) {
|
|
1005
968
|
case "animation":
|
|
1006
969
|
case "animationName":
|
|
1007
970
|
if (typeof n == "string")
|
|
1008
|
-
return n.replace(
|
|
971
|
+
return n.replace(Nn, function(i, a, l) {
|
|
1009
972
|
return X = {
|
|
1010
973
|
name: a,
|
|
1011
974
|
styles: l,
|
|
@@ -1013,9 +976,9 @@ var Dn = /[A-Z]|^ms/g, zn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Zt = function(e) {
|
|
|
1013
976
|
}, a;
|
|
1014
977
|
});
|
|
1015
978
|
}
|
|
1016
|
-
return
|
|
979
|
+
return Mn[t] !== 1 && !Zt(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
1017
980
|
};
|
|
1018
|
-
function
|
|
981
|
+
function Ie(e, t, n) {
|
|
1019
982
|
if (n == null)
|
|
1020
983
|
return "";
|
|
1021
984
|
var i = n;
|
|
@@ -1045,39 +1008,39 @@ function Re(t, e, n) {
|
|
|
1045
1008
|
var h = l.styles + ";";
|
|
1046
1009
|
return h;
|
|
1047
1010
|
}
|
|
1048
|
-
return
|
|
1011
|
+
return $n(e, t, n);
|
|
1049
1012
|
}
|
|
1050
1013
|
case "function": {
|
|
1051
|
-
if (
|
|
1052
|
-
var m = X, p = n(
|
|
1053
|
-
return X = m,
|
|
1014
|
+
if (e !== void 0) {
|
|
1015
|
+
var m = X, p = n(e);
|
|
1016
|
+
return X = m, Ie(e, t, p);
|
|
1054
1017
|
}
|
|
1055
1018
|
break;
|
|
1056
1019
|
}
|
|
1057
1020
|
}
|
|
1058
|
-
var
|
|
1059
|
-
return
|
|
1021
|
+
var T = n;
|
|
1022
|
+
return T;
|
|
1060
1023
|
}
|
|
1061
|
-
function
|
|
1024
|
+
function $n(e, t, n) {
|
|
1062
1025
|
var i = "";
|
|
1063
1026
|
if (Array.isArray(n))
|
|
1064
1027
|
for (var a = 0; a < n.length; a++)
|
|
1065
|
-
i +=
|
|
1028
|
+
i += Ie(e, t, n[a]) + ";";
|
|
1066
1029
|
else
|
|
1067
1030
|
for (var l in n) {
|
|
1068
1031
|
var d = n[l];
|
|
1069
1032
|
if (typeof d != "object") {
|
|
1070
1033
|
var h = d;
|
|
1071
|
-
|
|
1072
|
-
} else if (Array.isArray(d) && typeof d[0] == "string" &&
|
|
1034
|
+
Ft(h) && (i += et(l) + ":" + jt(l, h) + ";");
|
|
1035
|
+
} else if (Array.isArray(d) && typeof d[0] == "string" && t == null)
|
|
1073
1036
|
for (var m = 0; m < d.length; m++)
|
|
1074
|
-
|
|
1037
|
+
Ft(d[m]) && (i += et(l) + ":" + jt(l, d[m]) + ";");
|
|
1075
1038
|
else {
|
|
1076
|
-
var p =
|
|
1039
|
+
var p = Ie(e, t, d);
|
|
1077
1040
|
switch (l) {
|
|
1078
1041
|
case "animation":
|
|
1079
1042
|
case "animationName": {
|
|
1080
|
-
i +=
|
|
1043
|
+
i += et(l) + ":" + p + ";";
|
|
1081
1044
|
break;
|
|
1082
1045
|
}
|
|
1083
1046
|
default:
|
|
@@ -1087,114 +1050,114 @@ function Ln(t, e, n) {
|
|
|
1087
1050
|
}
|
|
1088
1051
|
return i;
|
|
1089
1052
|
}
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1092
|
-
if (
|
|
1093
|
-
return
|
|
1053
|
+
var Nt = /label:\s*([^\s;{]+)\s*(;|$)/g, X;
|
|
1054
|
+
function Dn(e, t, n) {
|
|
1055
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1056
|
+
return e[0];
|
|
1094
1057
|
var i = !0, a = "";
|
|
1095
1058
|
X = void 0;
|
|
1096
|
-
var l =
|
|
1059
|
+
var l = e[0];
|
|
1097
1060
|
if (l == null || l.raw === void 0)
|
|
1098
|
-
i = !1, a +=
|
|
1061
|
+
i = !1, a += Ie(n, t, l);
|
|
1099
1062
|
else {
|
|
1100
1063
|
var d = l;
|
|
1101
1064
|
a += d[0];
|
|
1102
1065
|
}
|
|
1103
|
-
for (var h = 1; h <
|
|
1104
|
-
if (a +=
|
|
1066
|
+
for (var h = 1; h < e.length; h++)
|
|
1067
|
+
if (a += Ie(n, t, e[h]), i) {
|
|
1105
1068
|
var m = l;
|
|
1106
1069
|
a += m[h];
|
|
1107
1070
|
}
|
|
1108
|
-
|
|
1109
|
-
for (var p = "",
|
|
1110
|
-
p += "-" +
|
|
1111
|
-
var R =
|
|
1071
|
+
Nt.lastIndex = 0;
|
|
1072
|
+
for (var p = "", T; (T = Nt.exec(a)) !== null; )
|
|
1073
|
+
p += "-" + T[1];
|
|
1074
|
+
var R = An(a) + p;
|
|
1112
1075
|
return {
|
|
1113
1076
|
name: R,
|
|
1114
1077
|
styles: a,
|
|
1115
1078
|
next: X
|
|
1116
1079
|
};
|
|
1117
1080
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1120
|
-
}, Bn = te.useInsertionEffect ? te.useInsertionEffect : !1,
|
|
1081
|
+
var zn = function(t) {
|
|
1082
|
+
return t();
|
|
1083
|
+
}, Bn = te.useInsertionEffect ? te.useInsertionEffect : !1, Ln = Bn || zn, Qt = /* @__PURE__ */ te.createContext(
|
|
1121
1084
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1122
1085
|
// because this module is primarily intended for the browser and node
|
|
1123
1086
|
// but it's also required in react native and similar environments sometimes
|
|
1124
1087
|
// and we could have a special build just for that
|
|
1125
1088
|
// but this is much easier and the native packages
|
|
1126
1089
|
// might use a different theme context in the future anyway
|
|
1127
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1090
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Mr({
|
|
1128
1091
|
key: "css"
|
|
1129
1092
|
}) : null
|
|
1130
1093
|
);
|
|
1131
1094
|
Qt.Provider;
|
|
1132
|
-
var
|
|
1133
|
-
return /* @__PURE__ */
|
|
1095
|
+
var Vn = function(t) {
|
|
1096
|
+
return /* @__PURE__ */ _r(function(n, i) {
|
|
1134
1097
|
var a = at(Qt);
|
|
1135
|
-
return
|
|
1098
|
+
return t(n, a, i);
|
|
1136
1099
|
});
|
|
1137
|
-
},
|
|
1100
|
+
}, Yn = /* @__PURE__ */ te.createContext({}), Be = {}.hasOwnProperty, it = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", er = function(t, n) {
|
|
1138
1101
|
var i = {};
|
|
1139
1102
|
for (var a in n)
|
|
1140
|
-
|
|
1141
|
-
return i[
|
|
1142
|
-
},
|
|
1143
|
-
var n =
|
|
1144
|
-
return Xt(n, i, a),
|
|
1145
|
-
return
|
|
1103
|
+
Be.call(n, a) && (i[a] = n[a]);
|
|
1104
|
+
return i[it] = t, i;
|
|
1105
|
+
}, Wn = function(t) {
|
|
1106
|
+
var n = t.cache, i = t.serialized, a = t.isStringTag;
|
|
1107
|
+
return Xt(n, i, a), Ln(function() {
|
|
1108
|
+
return kn(n, i, a);
|
|
1146
1109
|
}), null;
|
|
1147
|
-
},
|
|
1148
|
-
var i =
|
|
1149
|
-
typeof i == "string" &&
|
|
1150
|
-
var a =
|
|
1151
|
-
typeof
|
|
1152
|
-
var h =
|
|
1153
|
-
d +=
|
|
1110
|
+
}, Un = /* @__PURE__ */ Vn(function(e, t, n) {
|
|
1111
|
+
var i = e.css;
|
|
1112
|
+
typeof i == "string" && t.registered[i] !== void 0 && (i = t.registered[i]);
|
|
1113
|
+
var a = e[it], l = [i], d = "";
|
|
1114
|
+
typeof e.className == "string" ? d = _n(t.registered, l, e.className) : e.className != null && (d = e.className + " ");
|
|
1115
|
+
var h = Dn(l, void 0, te.useContext(Yn));
|
|
1116
|
+
d += t.key + "-" + h.name;
|
|
1154
1117
|
var m = {};
|
|
1155
|
-
for (var p in
|
|
1156
|
-
|
|
1157
|
-
return m.className = d, n && (m.ref = n), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(
|
|
1158
|
-
cache:
|
|
1118
|
+
for (var p in e)
|
|
1119
|
+
Be.call(e, p) && p !== "css" && p !== it && (m[p] = e[p]);
|
|
1120
|
+
return m.className = d, n && (m.ref = n), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(Wn, {
|
|
1121
|
+
cache: t,
|
|
1159
1122
|
serialized: h,
|
|
1160
1123
|
isStringTag: typeof a == "string"
|
|
1161
1124
|
}), /* @__PURE__ */ te.createElement(a, m));
|
|
1162
|
-
}), tr =
|
|
1163
|
-
return
|
|
1164
|
-
},
|
|
1165
|
-
return
|
|
1125
|
+
}), tr = Un, Le = xe.Fragment, o = function(t, n, i) {
|
|
1126
|
+
return Be.call(n, "css") ? xe.jsx(tr, er(t, n), i) : xe.jsx(t, n, i);
|
|
1127
|
+
}, $ = function(t, n, i) {
|
|
1128
|
+
return Be.call(n, "css") ? xe.jsxs(tr, er(t, n), i) : xe.jsxs(t, n, i);
|
|
1166
1129
|
};
|
|
1167
|
-
const
|
|
1168
|
-
onCancel:
|
|
1169
|
-
onSave:
|
|
1130
|
+
const qn = ({
|
|
1131
|
+
onCancel: e,
|
|
1132
|
+
onSave: t
|
|
1170
1133
|
}) => {
|
|
1171
|
-
const n =
|
|
1172
|
-
return /* @__PURE__ */
|
|
1173
|
-
/* @__PURE__ */ o(
|
|
1174
|
-
/* @__PURE__ */ o(
|
|
1175
|
-
|
|
1134
|
+
const n = Dr({ prefix: "modalForm" }), [i, a] = W(""), [l, d] = W(""), [h, m] = W(!1);
|
|
1135
|
+
return /* @__PURE__ */ $(Wr, { onClose: e, initialFocus: "[name=url]", children: [
|
|
1136
|
+
/* @__PURE__ */ o(Br, { children: /* @__PURE__ */ o(zr, { children: "Add video" }) }),
|
|
1137
|
+
/* @__PURE__ */ o(Vr, { children: /* @__PURE__ */ $(
|
|
1138
|
+
Lr,
|
|
1176
1139
|
{
|
|
1177
1140
|
id: n,
|
|
1178
1141
|
component: "form",
|
|
1179
1142
|
onSubmit: async (p) => {
|
|
1180
1143
|
p.preventDefault();
|
|
1181
1144
|
try {
|
|
1182
|
-
m(!0), await
|
|
1145
|
+
m(!0), await t({ url: i, title: l });
|
|
1183
1146
|
} finally {
|
|
1184
1147
|
m(!1);
|
|
1185
1148
|
}
|
|
1186
1149
|
},
|
|
1187
1150
|
children: [
|
|
1188
|
-
/* @__PURE__ */ o(
|
|
1189
|
-
|
|
1151
|
+
/* @__PURE__ */ o(rt, { label: "URL", children: /* @__PURE__ */ o(
|
|
1152
|
+
St,
|
|
1190
1153
|
{
|
|
1191
1154
|
name: "url",
|
|
1192
1155
|
value: i,
|
|
1193
1156
|
onChange: (p) => a(p.target.value)
|
|
1194
1157
|
}
|
|
1195
1158
|
) }),
|
|
1196
|
-
/* @__PURE__ */ o(
|
|
1197
|
-
|
|
1159
|
+
/* @__PURE__ */ o(rt, { label: "Title", children: /* @__PURE__ */ o(
|
|
1160
|
+
St,
|
|
1198
1161
|
{
|
|
1199
1162
|
name: "title",
|
|
1200
1163
|
value: l,
|
|
@@ -1204,8 +1167,8 @@ const Jn = ({
|
|
|
1204
1167
|
]
|
|
1205
1168
|
}
|
|
1206
1169
|
) }),
|
|
1207
|
-
/* @__PURE__ */
|
|
1208
|
-
/* @__PURE__ */ o(
|
|
1170
|
+
/* @__PURE__ */ $(Yr, { children: [
|
|
1171
|
+
/* @__PURE__ */ o(Bt, { onClick: e, children: "Cancel" }),
|
|
1209
1172
|
/* @__PURE__ */ o(
|
|
1210
1173
|
re,
|
|
1211
1174
|
{
|
|
@@ -1219,26 +1182,26 @@ const Jn = ({
|
|
|
1219
1182
|
)
|
|
1220
1183
|
] })
|
|
1221
1184
|
] });
|
|
1222
|
-
},
|
|
1223
|
-
({ onSave:
|
|
1224
|
-
const [
|
|
1185
|
+
}, $t = ne(
|
|
1186
|
+
({ onSave: e }) => {
|
|
1187
|
+
const [t, n] = W(!1), i = N(
|
|
1225
1188
|
async (a) => {
|
|
1226
|
-
await
|
|
1189
|
+
await e(a), n(!1);
|
|
1227
1190
|
},
|
|
1228
|
-
[
|
|
1191
|
+
[e]
|
|
1229
1192
|
);
|
|
1230
|
-
return /* @__PURE__ */
|
|
1193
|
+
return /* @__PURE__ */ $(Le, { children: [
|
|
1231
1194
|
/* @__PURE__ */ o(
|
|
1232
1195
|
re,
|
|
1233
1196
|
{
|
|
1234
1197
|
onClick: () => n(!0),
|
|
1235
|
-
iconType:
|
|
1198
|
+
iconType: ct,
|
|
1236
1199
|
color: "primary",
|
|
1237
1200
|
children: "Add video"
|
|
1238
1201
|
}
|
|
1239
1202
|
),
|
|
1240
|
-
|
|
1241
|
-
|
|
1203
|
+
t && /* @__PURE__ */ o(
|
|
1204
|
+
qn,
|
|
1242
1205
|
{
|
|
1243
1206
|
onCancel: () => n(!1),
|
|
1244
1207
|
onSave: i
|
|
@@ -1254,65 +1217,65 @@ const Jn = ({
|
|
|
1254
1217
|
Twitch: "https://www.twitch.tv/favicon.ico",
|
|
1255
1218
|
Vimeo: "https://vimeo.com/favicon.ico",
|
|
1256
1219
|
YouTube: "https://www.youtube.com/favicon.ico"
|
|
1257
|
-
},
|
|
1258
|
-
({ playQueueStore:
|
|
1259
|
-
const { euiTheme:
|
|
1260
|
-
return /* @__PURE__ */
|
|
1261
|
-
|
|
1220
|
+
}, Hn = P(
|
|
1221
|
+
({ playQueueStore: e }) => {
|
|
1222
|
+
const { euiTheme: t } = Lt();
|
|
1223
|
+
return /* @__PURE__ */ $(
|
|
1224
|
+
qr,
|
|
1262
1225
|
{
|
|
1263
1226
|
style: {
|
|
1264
1227
|
position: "sticky",
|
|
1265
1228
|
top: 112,
|
|
1266
1229
|
zIndex: 998,
|
|
1267
|
-
background:
|
|
1230
|
+
background: t.colors.backgroundBasePlain
|
|
1268
1231
|
},
|
|
1269
1232
|
children: [
|
|
1270
|
-
/* @__PURE__ */ o(
|
|
1271
|
-
|
|
1233
|
+
/* @__PURE__ */ o(Ur, { children: /* @__PURE__ */ o(
|
|
1234
|
+
Vt,
|
|
1272
1235
|
{
|
|
1273
1236
|
id: "",
|
|
1274
|
-
checked:
|
|
1237
|
+
checked: e.allItemsSelected,
|
|
1275
1238
|
onChange: (n) => {
|
|
1276
|
-
|
|
1239
|
+
e.allItemsSelected = n.target.checked;
|
|
1277
1240
|
}
|
|
1278
1241
|
}
|
|
1279
1242
|
) }),
|
|
1280
|
-
/* @__PURE__ */ o(
|
|
1281
|
-
/* @__PURE__ */ o(
|
|
1282
|
-
/* @__PURE__ */ o(
|
|
1243
|
+
/* @__PURE__ */ o(Ze, { width: 24 }),
|
|
1244
|
+
/* @__PURE__ */ o(Ze, { children: "Title" }),
|
|
1245
|
+
/* @__PURE__ */ o(Ze, {})
|
|
1283
1246
|
]
|
|
1284
1247
|
}
|
|
1285
1248
|
);
|
|
1286
1249
|
}
|
|
1287
|
-
),
|
|
1250
|
+
), Gn = ne(
|
|
1288
1251
|
({
|
|
1289
|
-
item:
|
|
1290
|
-
closePopover:
|
|
1252
|
+
item: e,
|
|
1253
|
+
closePopover: t
|
|
1291
1254
|
}) => {
|
|
1292
|
-
const n =
|
|
1255
|
+
const n = De(
|
|
1293
1256
|
() => [
|
|
1294
1257
|
{
|
|
1295
1258
|
id: 0,
|
|
1296
1259
|
items: [
|
|
1297
1260
|
{
|
|
1298
1261
|
name: "Play first",
|
|
1299
|
-
icon: /* @__PURE__ */ o(
|
|
1262
|
+
icon: /* @__PURE__ */ o(Y, { type: "" }),
|
|
1300
1263
|
onClick: async () => {
|
|
1301
|
-
|
|
1264
|
+
t(), await e.playFirst();
|
|
1302
1265
|
}
|
|
1303
1266
|
},
|
|
1304
1267
|
{
|
|
1305
1268
|
name: "Play next",
|
|
1306
|
-
icon: /* @__PURE__ */ o(
|
|
1269
|
+
icon: /* @__PURE__ */ o(Y, { type: "" }),
|
|
1307
1270
|
onClick: async () => {
|
|
1308
|
-
|
|
1271
|
+
t(), await e.playNext();
|
|
1309
1272
|
}
|
|
1310
1273
|
},
|
|
1311
1274
|
{
|
|
1312
1275
|
name: "Add to play queue",
|
|
1313
|
-
icon: /* @__PURE__ */ o(
|
|
1276
|
+
icon: /* @__PURE__ */ o(Y, { type: ct }),
|
|
1314
1277
|
onClick: async () => {
|
|
1315
|
-
|
|
1278
|
+
t(), await e.addToPlayQueue();
|
|
1316
1279
|
}
|
|
1317
1280
|
},
|
|
1318
1281
|
{
|
|
@@ -1320,88 +1283,88 @@ const Jn = ({
|
|
|
1320
1283
|
},
|
|
1321
1284
|
{
|
|
1322
1285
|
name: "Move to the top",
|
|
1323
|
-
icon: /* @__PURE__ */ o(
|
|
1286
|
+
icon: /* @__PURE__ */ o(Y, { type: rn }),
|
|
1324
1287
|
onClick: async () => {
|
|
1325
|
-
|
|
1288
|
+
t(), e.moveToTop();
|
|
1326
1289
|
},
|
|
1327
|
-
disabled: !
|
|
1290
|
+
disabled: !e.canMoveToTop
|
|
1328
1291
|
},
|
|
1329
1292
|
{
|
|
1330
1293
|
name: "Move to the bottom",
|
|
1331
|
-
icon: /* @__PURE__ */ o(
|
|
1294
|
+
icon: /* @__PURE__ */ o(Y, { type: nn }),
|
|
1332
1295
|
onClick: async () => {
|
|
1333
|
-
|
|
1296
|
+
t(), e.moveToBottom();
|
|
1334
1297
|
},
|
|
1335
|
-
disabled: !
|
|
1298
|
+
disabled: !e.canMoveToBottom
|
|
1336
1299
|
},
|
|
1337
1300
|
{
|
|
1338
1301
|
isSeparator: !0
|
|
1339
1302
|
},
|
|
1340
1303
|
{
|
|
1341
1304
|
name: "Remove to the top",
|
|
1342
|
-
icon: /* @__PURE__ */ o(
|
|
1305
|
+
icon: /* @__PURE__ */ o(Y, { type: "" }),
|
|
1343
1306
|
onClick: async () => {
|
|
1344
|
-
|
|
1307
|
+
t(), await e.removeToTop();
|
|
1345
1308
|
},
|
|
1346
|
-
disabled: !
|
|
1309
|
+
disabled: !e.canRemoveToTop
|
|
1347
1310
|
},
|
|
1348
1311
|
{
|
|
1349
1312
|
name: "Remove others",
|
|
1350
|
-
icon: /* @__PURE__ */ o(
|
|
1313
|
+
icon: /* @__PURE__ */ o(Y, { type: "" }),
|
|
1351
1314
|
onClick: async () => {
|
|
1352
|
-
|
|
1315
|
+
t(), await e.removeOthers();
|
|
1353
1316
|
},
|
|
1354
|
-
disabled: !
|
|
1317
|
+
disabled: !e.canRemoveOthers
|
|
1355
1318
|
}
|
|
1356
1319
|
]
|
|
1357
1320
|
}
|
|
1358
1321
|
],
|
|
1359
|
-
[
|
|
1322
|
+
[t, e]
|
|
1360
1323
|
);
|
|
1361
|
-
return /* @__PURE__ */ o(
|
|
1324
|
+
return /* @__PURE__ */ o(st, { initialPanelId: 0, panels: n });
|
|
1362
1325
|
}
|
|
1363
|
-
),
|
|
1364
|
-
({ item:
|
|
1365
|
-
const [
|
|
1326
|
+
), Jn = ne(
|
|
1327
|
+
({ item: e }) => {
|
|
1328
|
+
const [t, n] = W(!1), i = N(() => n(!t), [t]), a = N(() => n(!1), []);
|
|
1366
1329
|
return /* @__PURE__ */ o(
|
|
1367
|
-
|
|
1330
|
+
ze,
|
|
1368
1331
|
{
|
|
1369
1332
|
button: /* @__PURE__ */ o(
|
|
1370
|
-
|
|
1333
|
+
q,
|
|
1371
1334
|
{
|
|
1372
1335
|
title: "More options",
|
|
1373
1336
|
"aria-label": "More options",
|
|
1374
|
-
iconType:
|
|
1337
|
+
iconType: Ut,
|
|
1375
1338
|
size: "s",
|
|
1376
1339
|
color: "text",
|
|
1377
1340
|
onClick: i
|
|
1378
1341
|
}
|
|
1379
1342
|
),
|
|
1380
|
-
isOpen:
|
|
1343
|
+
isOpen: t,
|
|
1381
1344
|
closePopover: a,
|
|
1382
1345
|
panelPaddingSize: "none",
|
|
1383
1346
|
anchorPosition: "leftCenter",
|
|
1384
1347
|
children: /* @__PURE__ */ o(
|
|
1385
|
-
|
|
1348
|
+
Gn,
|
|
1386
1349
|
{
|
|
1387
|
-
item:
|
|
1350
|
+
item: e,
|
|
1388
1351
|
closePopover: a
|
|
1389
1352
|
}
|
|
1390
1353
|
)
|
|
1391
1354
|
}
|
|
1392
1355
|
);
|
|
1393
1356
|
}
|
|
1394
|
-
),
|
|
1395
|
-
({ item:
|
|
1396
|
-
const
|
|
1397
|
-
return /* @__PURE__ */
|
|
1357
|
+
), Kn = P(
|
|
1358
|
+
({ item: e }) => {
|
|
1359
|
+
const t = U();
|
|
1360
|
+
return /* @__PURE__ */ $(nt, { textOnly: !1, hasActions: !0, align: "right", children: [
|
|
1398
1361
|
/* @__PURE__ */ o(
|
|
1399
1362
|
re,
|
|
1400
1363
|
{
|
|
1401
|
-
iconType:
|
|
1364
|
+
iconType: tn,
|
|
1402
1365
|
size: "s",
|
|
1403
1366
|
onClick: async () => {
|
|
1404
|
-
|
|
1367
|
+
e.isCurrent ? await t.setCurrentTime(0) : e.play();
|
|
1405
1368
|
},
|
|
1406
1369
|
children: "Play"
|
|
1407
1370
|
}
|
|
@@ -1409,98 +1372,98 @@ const Jn = ({
|
|
|
1409
1372
|
/* @__PURE__ */ o(
|
|
1410
1373
|
re,
|
|
1411
1374
|
{
|
|
1412
|
-
iconType:
|
|
1375
|
+
iconType: ut,
|
|
1413
1376
|
size: "s",
|
|
1414
|
-
onClick:
|
|
1377
|
+
onClick: e.remove,
|
|
1415
1378
|
children: "Remove"
|
|
1416
1379
|
}
|
|
1417
1380
|
),
|
|
1418
|
-
/* @__PURE__ */ o(
|
|
1381
|
+
/* @__PURE__ */ o(Jn, { item: e })
|
|
1419
1382
|
] });
|
|
1420
1383
|
}
|
|
1421
|
-
),
|
|
1422
|
-
({ item:
|
|
1423
|
-
const
|
|
1424
|
-
return /* @__PURE__ */
|
|
1425
|
-
/* @__PURE__ */ o(
|
|
1426
|
-
|
|
1384
|
+
), Xn = P(
|
|
1385
|
+
({ item: e }) => {
|
|
1386
|
+
const t = U();
|
|
1387
|
+
return /* @__PURE__ */ $(Jr, { isSelected: e.isCurrent, children: [
|
|
1388
|
+
/* @__PURE__ */ o(Hr, { children: /* @__PURE__ */ o(
|
|
1389
|
+
Vt,
|
|
1427
1390
|
{
|
|
1428
|
-
id:
|
|
1429
|
-
checked:
|
|
1430
|
-
onChange:
|
|
1391
|
+
id: e.id.toString(),
|
|
1392
|
+
checked: e.isSelected,
|
|
1393
|
+
onChange: e.toggleSelected
|
|
1431
1394
|
}
|
|
1432
1395
|
) }),
|
|
1433
|
-
/* @__PURE__ */ o(
|
|
1396
|
+
/* @__PURE__ */ o(nt, { textOnly: !1, children: /* @__PURE__ */ o(
|
|
1434
1397
|
"img",
|
|
1435
1398
|
{
|
|
1436
|
-
src: rr[
|
|
1399
|
+
src: rr[e.type],
|
|
1437
1400
|
width: 16,
|
|
1438
1401
|
height: 16,
|
|
1439
|
-
alt:
|
|
1402
|
+
alt: e.type
|
|
1440
1403
|
}
|
|
1441
1404
|
) }),
|
|
1442
|
-
/* @__PURE__ */ o(
|
|
1443
|
-
|
|
1405
|
+
/* @__PURE__ */ o(nt, { children: /* @__PURE__ */ o(
|
|
1406
|
+
Gr,
|
|
1444
1407
|
{
|
|
1445
|
-
href:
|
|
1408
|
+
href: e.url,
|
|
1446
1409
|
target: "_blank",
|
|
1447
1410
|
external: !0,
|
|
1448
|
-
onClick: () =>
|
|
1449
|
-
children:
|
|
1411
|
+
onClick: () => t.pause(),
|
|
1412
|
+
children: e.title
|
|
1450
1413
|
}
|
|
1451
1414
|
) }),
|
|
1452
|
-
/* @__PURE__ */ o(
|
|
1453
|
-
] },
|
|
1415
|
+
/* @__PURE__ */ o(Kn, { item: e })
|
|
1416
|
+
] }, e.id);
|
|
1454
1417
|
}
|
|
1455
|
-
),
|
|
1456
|
-
({ playQueueStore:
|
|
1457
|
-
|
|
1418
|
+
), Zn = P(
|
|
1419
|
+
({ playQueueStore: e }) => /* @__PURE__ */ o(
|
|
1420
|
+
bn,
|
|
1458
1421
|
{
|
|
1459
1422
|
tag: "tbody",
|
|
1460
|
-
list:
|
|
1461
|
-
setList: (
|
|
1462
|
-
children:
|
|
1423
|
+
list: e.items,
|
|
1424
|
+
setList: (t) => e.setItems(t),
|
|
1425
|
+
children: e.items.map((t) => /* @__PURE__ */ o(Xn, { item: t }, t.id))
|
|
1463
1426
|
}
|
|
1464
1427
|
)
|
|
1465
|
-
),
|
|
1466
|
-
({ playQueueStore:
|
|
1467
|
-
/* @__PURE__ */ o(
|
|
1468
|
-
/* @__PURE__ */ o(
|
|
1428
|
+
), Qn = P(
|
|
1429
|
+
({ playQueueStore: e }) => /* @__PURE__ */ $(Kr, { children: [
|
|
1430
|
+
/* @__PURE__ */ o(Hn, { playQueueStore: e }),
|
|
1431
|
+
/* @__PURE__ */ o(Zn, { playQueueStore: e })
|
|
1469
1432
|
] })
|
|
1470
1433
|
);
|
|
1471
|
-
function
|
|
1472
|
-
return
|
|
1434
|
+
function ei(e) {
|
|
1435
|
+
return e !== null && typeof e == "object" && "title" in e && typeof e.title == "string";
|
|
1473
1436
|
}
|
|
1474
|
-
const
|
|
1475
|
-
({ playQueueStore:
|
|
1437
|
+
const ti = P(
|
|
1438
|
+
({ playQueueStore: e }) => /* @__PURE__ */ o(
|
|
1476
1439
|
re,
|
|
1477
1440
|
{
|
|
1478
|
-
iconType:
|
|
1479
|
-
onClick:
|
|
1480
|
-
disabled:
|
|
1441
|
+
iconType: ct,
|
|
1442
|
+
onClick: e.addSelectedItems,
|
|
1443
|
+
disabled: e.isEmpty || e.selectedItems.length === 0,
|
|
1481
1444
|
children: "Add to play queue"
|
|
1482
1445
|
}
|
|
1483
1446
|
)
|
|
1484
1447
|
);
|
|
1485
|
-
|
|
1486
|
-
({ playQueueStore:
|
|
1487
|
-
const [
|
|
1488
|
-
return /* @__PURE__ */
|
|
1489
|
-
|
|
1490
|
-
|
|
1448
|
+
P(
|
|
1449
|
+
({ playQueueStore: e }) => {
|
|
1450
|
+
const [t, n] = W(!1);
|
|
1451
|
+
return /* @__PURE__ */ $(Le, { children: [
|
|
1452
|
+
t && /* @__PURE__ */ o(
|
|
1453
|
+
Zr,
|
|
1491
1454
|
{
|
|
1492
1455
|
type: "push",
|
|
1493
1456
|
size: "s",
|
|
1494
1457
|
onClose: () => n(!1),
|
|
1495
1458
|
children: /* @__PURE__ */ o("div", { style: { blockSize: "100%" }, children: /* @__PURE__ */ o(
|
|
1496
|
-
|
|
1459
|
+
Xr,
|
|
1497
1460
|
{
|
|
1498
1461
|
language: "json",
|
|
1499
1462
|
overflowHeight: "100%",
|
|
1500
1463
|
isCopyable: !0,
|
|
1501
1464
|
isVirtualized: !0,
|
|
1502
1465
|
children: JSON.stringify(
|
|
1503
|
-
|
|
1466
|
+
e.localStorageState,
|
|
1504
1467
|
void 0,
|
|
1505
1468
|
2
|
|
1506
1469
|
)
|
|
@@ -1512,18 +1475,18 @@ N(
|
|
|
1512
1475
|
re,
|
|
1513
1476
|
{
|
|
1514
1477
|
onClick: () => n((i) => !i),
|
|
1515
|
-
iconType:
|
|
1478
|
+
iconType: on,
|
|
1516
1479
|
children: "Developer tools"
|
|
1517
1480
|
}
|
|
1518
1481
|
)
|
|
1519
1482
|
] });
|
|
1520
1483
|
}
|
|
1521
1484
|
);
|
|
1522
|
-
const
|
|
1523
|
-
({ playQueueStore:
|
|
1524
|
-
const { euiTheme:
|
|
1485
|
+
const ri = P(
|
|
1486
|
+
({ playQueueStore: e }) => {
|
|
1487
|
+
const { euiTheme: t } = Lt(), n = N(
|
|
1525
1488
|
async (i) => {
|
|
1526
|
-
const a =
|
|
1489
|
+
const a = Fr(i.url);
|
|
1527
1490
|
if (a !== void 0) {
|
|
1528
1491
|
const l = a.extractVideoId(i.url);
|
|
1529
1492
|
if (l !== void 0) {
|
|
@@ -1532,21 +1495,21 @@ const oi = N(
|
|
|
1532
1495
|
i.url
|
|
1533
1496
|
)}`
|
|
1534
1497
|
)).json();
|
|
1535
|
-
await
|
|
1536
|
-
|
|
1498
|
+
await e.addItems([
|
|
1499
|
+
e.createItem({
|
|
1537
1500
|
url: i.url,
|
|
1538
1501
|
type: a.type,
|
|
1539
1502
|
videoId: l,
|
|
1540
|
-
title: i.title || (
|
|
1503
|
+
title: i.title || (ei(h) ? h.title : l)
|
|
1541
1504
|
})
|
|
1542
1505
|
]);
|
|
1543
1506
|
}
|
|
1544
1507
|
}
|
|
1545
1508
|
},
|
|
1546
|
-
[
|
|
1509
|
+
[e]
|
|
1547
1510
|
);
|
|
1548
|
-
return /* @__PURE__ */
|
|
1549
|
-
/* @__PURE__ */
|
|
1511
|
+
return /* @__PURE__ */ $(Le, { children: [
|
|
1512
|
+
/* @__PURE__ */ $(
|
|
1550
1513
|
se,
|
|
1551
1514
|
{
|
|
1552
1515
|
alignItems: "center",
|
|
@@ -1555,80 +1518,80 @@ const oi = N(
|
|
|
1555
1518
|
position: "sticky",
|
|
1556
1519
|
top: 48,
|
|
1557
1520
|
zIndex: 998,
|
|
1558
|
-
background:
|
|
1521
|
+
background: t.colors.backgroundBasePlain
|
|
1559
1522
|
},
|
|
1560
1523
|
children: [
|
|
1561
1524
|
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1562
1525
|
re,
|
|
1563
1526
|
{
|
|
1564
|
-
disabled:
|
|
1565
|
-
onClick:
|
|
1527
|
+
disabled: e.isEmpty || e.selectedItems.length === 0,
|
|
1528
|
+
onClick: e.playSelectedItemsNext,
|
|
1566
1529
|
children: "Play next"
|
|
1567
1530
|
}
|
|
1568
1531
|
) }),
|
|
1569
|
-
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1532
|
+
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(ti, { playQueueStore: e }) }),
|
|
1570
1533
|
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1571
1534
|
re,
|
|
1572
1535
|
{
|
|
1573
|
-
iconType:
|
|
1574
|
-
onClick:
|
|
1575
|
-
disabled:
|
|
1536
|
+
iconType: ut,
|
|
1537
|
+
onClick: e.removeSelectedItems,
|
|
1538
|
+
disabled: e.isEmpty || e.selectedItems.length === 0,
|
|
1576
1539
|
children: "Remove"
|
|
1577
1540
|
}
|
|
1578
1541
|
) }),
|
|
1579
1542
|
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1580
1543
|
re,
|
|
1581
1544
|
{
|
|
1582
|
-
iconType:
|
|
1583
|
-
onClick:
|
|
1584
|
-
disabled:
|
|
1545
|
+
iconType: an,
|
|
1546
|
+
onClick: e.clear,
|
|
1547
|
+
disabled: e.isEmpty,
|
|
1585
1548
|
children: "Clear"
|
|
1586
1549
|
}
|
|
1587
1550
|
) }),
|
|
1588
1551
|
/* @__PURE__ */ o(J, { grow: !0 }),
|
|
1589
|
-
/* @__PURE__ */
|
|
1552
|
+
/* @__PURE__ */ $(J, { grow: !1, children: [
|
|
1590
1553
|
!1,
|
|
1591
|
-
/* @__PURE__ */ o(
|
|
1554
|
+
/* @__PURE__ */ o($t, { onSave: n })
|
|
1592
1555
|
] })
|
|
1593
1556
|
]
|
|
1594
1557
|
}
|
|
1595
1558
|
),
|
|
1596
1559
|
/* @__PURE__ */ o(
|
|
1597
|
-
|
|
1560
|
+
Yt,
|
|
1598
1561
|
{
|
|
1599
1562
|
size: "l",
|
|
1600
1563
|
style: {
|
|
1601
1564
|
position: "sticky",
|
|
1602
1565
|
top: 88,
|
|
1603
1566
|
zIndex: 998,
|
|
1604
|
-
background:
|
|
1567
|
+
background: t.colors.backgroundBasePlain
|
|
1605
1568
|
}
|
|
1606
1569
|
}
|
|
1607
1570
|
),
|
|
1608
|
-
|
|
1609
|
-
|
|
1571
|
+
e.isEmpty ? /* @__PURE__ */ o(
|
|
1572
|
+
Qr,
|
|
1610
1573
|
{
|
|
1611
1574
|
title: /* @__PURE__ */ o("h2", { children: "We couldn't find any videos" }),
|
|
1612
1575
|
body: /* @__PURE__ */ o("p", { children: "Your video library doesn't contain any video content." }),
|
|
1613
|
-
actions: /* @__PURE__ */ o(
|
|
1576
|
+
actions: /* @__PURE__ */ o($t, { onSave: n })
|
|
1614
1577
|
}
|
|
1615
|
-
) : /* @__PURE__ */ o(
|
|
1578
|
+
) : /* @__PURE__ */ o(Qn, { playQueueStore: e })
|
|
1616
1579
|
] });
|
|
1617
1580
|
}
|
|
1618
|
-
),
|
|
1581
|
+
), tt = new Tn({
|
|
1619
1582
|
coerceTypes: !0
|
|
1620
1583
|
});
|
|
1621
|
-
function
|
|
1584
|
+
function ni(e, t) {
|
|
1622
1585
|
let n;
|
|
1623
|
-
if (n =
|
|
1586
|
+
if (n = tt.getSchema(t), n === void 0 && (tt.addSchema(e, t), n = tt.getSchema(t)), n === void 0 || n.schema !== e)
|
|
1624
1587
|
throw new Error(
|
|
1625
1588
|
`Invalid schema. Expected: '${JSON.stringify(
|
|
1626
|
-
|
|
1627
|
-
)}', but got '${JSON.stringify(n
|
|
1589
|
+
e
|
|
1590
|
+
)}', but got '${JSON.stringify(n?.schema)}'.`
|
|
1628
1591
|
);
|
|
1629
1592
|
return n;
|
|
1630
1593
|
}
|
|
1631
|
-
const
|
|
1594
|
+
const ii = {
|
|
1632
1595
|
type: "object",
|
|
1633
1596
|
properties: {
|
|
1634
1597
|
url: {
|
|
@@ -1646,8 +1609,8 @@ const si = {
|
|
|
1646
1609
|
},
|
|
1647
1610
|
required: ["url", "type", "videoId", "title"]
|
|
1648
1611
|
};
|
|
1649
|
-
var
|
|
1650
|
-
const
|
|
1612
|
+
var O = /* @__PURE__ */ ((e) => (e.Off = "Off", e.All = "All", e.One = "One", e))(O || {});
|
|
1613
|
+
const oi = {
|
|
1651
1614
|
type: "object",
|
|
1652
1615
|
properties: {
|
|
1653
1616
|
version: {
|
|
@@ -1656,7 +1619,7 @@ const li = {
|
|
|
1656
1619
|
},
|
|
1657
1620
|
repeat: {
|
|
1658
1621
|
type: "string",
|
|
1659
|
-
enum: Object.values(
|
|
1622
|
+
enum: Object.values(O),
|
|
1660
1623
|
nullable: !0
|
|
1661
1624
|
},
|
|
1662
1625
|
shuffle: {
|
|
@@ -1666,18 +1629,17 @@ const li = {
|
|
|
1666
1629
|
items: {
|
|
1667
1630
|
type: "array",
|
|
1668
1631
|
nullable: !0,
|
|
1669
|
-
items:
|
|
1632
|
+
items: ii
|
|
1670
1633
|
},
|
|
1671
1634
|
currentIndex: {
|
|
1672
1635
|
type: "integer",
|
|
1673
1636
|
nullable: !0
|
|
1674
1637
|
}
|
|
1675
1638
|
}
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
this.observableStateProvider = e, this.playQueueStore = n, this.dto = i, this.id = Ie.nextId++, e.makeObservable(this, {
|
|
1639
|
+
};
|
|
1640
|
+
class $e {
|
|
1641
|
+
constructor(t, n, i) {
|
|
1642
|
+
this.observableStateProvider = t, this.playQueueStore = n, this.dto = i, this.id = $e.nextId++, t.makeObservable(this, {
|
|
1681
1643
|
isSelected: Z,
|
|
1682
1644
|
isCurrent: A,
|
|
1683
1645
|
index: A,
|
|
@@ -1700,9 +1662,12 @@ const li = {
|
|
|
1700
1662
|
removeOthers: y.bound
|
|
1701
1663
|
});
|
|
1702
1664
|
}
|
|
1703
|
-
static
|
|
1704
|
-
|
|
1705
|
-
|
|
1665
|
+
static nextId = 1;
|
|
1666
|
+
id;
|
|
1667
|
+
isSelected = !1;
|
|
1668
|
+
static fromDto(t, n, i) {
|
|
1669
|
+
return new $e(
|
|
1670
|
+
t,
|
|
1706
1671
|
n,
|
|
1707
1672
|
i
|
|
1708
1673
|
);
|
|
@@ -1782,17 +1747,10 @@ const li = {
|
|
|
1782
1747
|
removeOthers() {
|
|
1783
1748
|
return this.playQueueStore.removeOtherItems(this);
|
|
1784
1749
|
}
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
constructor(e) {
|
|
1790
|
-
B(this, "interacted", !1);
|
|
1791
|
-
B(this, "items", []);
|
|
1792
|
-
B(this, "currentId");
|
|
1793
|
-
B(this, "repeat", w.Off);
|
|
1794
|
-
B(this, "shuffle", !1);
|
|
1795
|
-
this.observableStateProvider = e, e.makeObservable(this, {
|
|
1750
|
+
}
|
|
1751
|
+
class ai {
|
|
1752
|
+
constructor(t) {
|
|
1753
|
+
this.observableStateProvider = t, t.makeObservable(this, {
|
|
1796
1754
|
interacted: Z,
|
|
1797
1755
|
items: Z,
|
|
1798
1756
|
currentId: Z,
|
|
@@ -1835,11 +1793,16 @@ class ci {
|
|
|
1835
1793
|
goToFirst: y
|
|
1836
1794
|
});
|
|
1837
1795
|
}
|
|
1838
|
-
|
|
1839
|
-
|
|
1796
|
+
interacted = !1;
|
|
1797
|
+
items = [];
|
|
1798
|
+
currentId;
|
|
1799
|
+
repeat = O.Off;
|
|
1800
|
+
shuffle = !1;
|
|
1801
|
+
createItem(t) {
|
|
1802
|
+
return $e.fromDto(
|
|
1840
1803
|
this.observableStateProvider,
|
|
1841
1804
|
this,
|
|
1842
|
-
|
|
1805
|
+
t
|
|
1843
1806
|
);
|
|
1844
1807
|
}
|
|
1845
1808
|
get localStorageState() {
|
|
@@ -1847,25 +1810,24 @@ class ci {
|
|
|
1847
1810
|
version: "1.0",
|
|
1848
1811
|
repeat: this.repeat,
|
|
1849
1812
|
shuffle: this.shuffle,
|
|
1850
|
-
items: this.items.map((
|
|
1813
|
+
items: this.items.map((t) => t.dto),
|
|
1851
1814
|
currentIndex: this.currentIndex
|
|
1852
1815
|
};
|
|
1853
1816
|
}
|
|
1854
|
-
set localStorageState(
|
|
1855
|
-
|
|
1856
|
-
this.repeat = e.repeat ?? w.Off, this.shuffle = e.shuffle ?? !1, this.items = ((n = e.items) == null ? void 0 : n.map((i) => this.createItem(i))) ?? [], this.currentIndex = e.currentIndex;
|
|
1817
|
+
set localStorageState(t) {
|
|
1818
|
+
this.repeat = t.repeat ?? O.Off, this.shuffle = t.shuffle ?? !1, this.items = t.items?.map((n) => this.createItem(n)) ?? [], this.currentIndex = t.currentIndex;
|
|
1857
1819
|
}
|
|
1858
|
-
validateLocalStorageState(
|
|
1859
|
-
return
|
|
1860
|
-
|
|
1820
|
+
validateLocalStorageState(t) {
|
|
1821
|
+
return ni(
|
|
1822
|
+
oi,
|
|
1861
1823
|
"PlayQueueDto"
|
|
1862
|
-
)(
|
|
1824
|
+
)(t);
|
|
1863
1825
|
}
|
|
1864
1826
|
get isEmpty() {
|
|
1865
1827
|
return this.items.length === 0;
|
|
1866
1828
|
}
|
|
1867
1829
|
get currentItem() {
|
|
1868
|
-
return this.items.find((
|
|
1830
|
+
return this.items.find((t) => t.id === this.currentId);
|
|
1869
1831
|
}
|
|
1870
1832
|
get canPlay() {
|
|
1871
1833
|
return this.currentItem !== void 0;
|
|
@@ -1877,11 +1839,10 @@ class ci {
|
|
|
1877
1839
|
return this.items.length > 1;
|
|
1878
1840
|
}
|
|
1879
1841
|
get currentIndex() {
|
|
1880
|
-
return this.currentId !== void 0 ? this.items.findIndex((
|
|
1842
|
+
return this.currentId !== void 0 ? this.items.findIndex((t) => t.id === this.currentId) : void 0;
|
|
1881
1843
|
}
|
|
1882
|
-
set currentIndex(
|
|
1883
|
-
|
|
1884
|
-
this.currentId = e !== void 0 ? (n = this.items.at(e)) == null ? void 0 : n.id : void 0;
|
|
1844
|
+
set currentIndex(t) {
|
|
1845
|
+
this.currentId = t !== void 0 ? this.items.at(t)?.id : void 0;
|
|
1885
1846
|
}
|
|
1886
1847
|
get hasPreviousItem() {
|
|
1887
1848
|
return this.hasMultipleItems && this.currentIndex !== void 0 && this.currentIndex > 0;
|
|
@@ -1893,20 +1854,20 @@ class ci {
|
|
|
1893
1854
|
return this.currentIndex !== void 0 && this.currentIndex === this.items.length - 1;
|
|
1894
1855
|
}
|
|
1895
1856
|
get selectedItems() {
|
|
1896
|
-
return this.items.filter((
|
|
1857
|
+
return this.items.filter((t) => t.isSelected);
|
|
1897
1858
|
}
|
|
1898
1859
|
get allItemsSelected() {
|
|
1899
1860
|
return this.selectedItems.length === this.items.length;
|
|
1900
1861
|
}
|
|
1901
|
-
set allItemsSelected(
|
|
1862
|
+
set allItemsSelected(t) {
|
|
1902
1863
|
for (const n of this.items)
|
|
1903
|
-
n.isSelected =
|
|
1864
|
+
n.isSelected = t;
|
|
1904
1865
|
}
|
|
1905
1866
|
get selectedItemsOrAllItems() {
|
|
1906
1867
|
return this.selectedItems.length > 0 ? this.selectedItems : this.items;
|
|
1907
1868
|
}
|
|
1908
|
-
setItems(
|
|
1909
|
-
this.items =
|
|
1869
|
+
setItems(t) {
|
|
1870
|
+
this.items = t;
|
|
1910
1871
|
}
|
|
1911
1872
|
interact() {
|
|
1912
1873
|
this.interacted = !0;
|
|
@@ -1915,88 +1876,88 @@ class ci {
|
|
|
1915
1876
|
this.interact(), this.currentIndex = void 0, this.items = [];
|
|
1916
1877
|
}
|
|
1917
1878
|
unselectAll() {
|
|
1918
|
-
for (const
|
|
1919
|
-
|
|
1879
|
+
for (const t of this.items)
|
|
1880
|
+
t.unselect();
|
|
1920
1881
|
}
|
|
1921
|
-
setCurrentItem(
|
|
1922
|
-
this.interact(), this.currentId =
|
|
1882
|
+
setCurrentItem(t) {
|
|
1883
|
+
this.interact(), this.currentId = t?.id;
|
|
1923
1884
|
}
|
|
1924
|
-
setNextItems(
|
|
1925
|
-
this.currentIndex !== void 0 && this.items.splice(this.currentIndex + 1, 0, ...
|
|
1885
|
+
setNextItems(t) {
|
|
1886
|
+
this.currentIndex !== void 0 && this.items.splice(this.currentIndex + 1, 0, ...t);
|
|
1926
1887
|
}
|
|
1927
|
-
clearAndSetItems(
|
|
1928
|
-
this.clear(), this.setCurrentItem(
|
|
1888
|
+
clearAndSetItems(t) {
|
|
1889
|
+
this.clear(), this.setCurrentItem(t[0]), this.setNextItems(t);
|
|
1929
1890
|
}
|
|
1930
|
-
async playNext(
|
|
1891
|
+
async playNext(t) {
|
|
1931
1892
|
if (this.isEmpty) {
|
|
1932
|
-
this.clearAndSetItems(
|
|
1893
|
+
this.clearAndSetItems(t);
|
|
1933
1894
|
return;
|
|
1934
1895
|
}
|
|
1935
|
-
this.setNextItems(
|
|
1896
|
+
this.setNextItems(t);
|
|
1936
1897
|
}
|
|
1937
1898
|
async playSelectedItemsNext() {
|
|
1938
1899
|
await this.playNext(
|
|
1939
|
-
this.selectedItemsOrAllItems.map((
|
|
1900
|
+
this.selectedItemsOrAllItems.map((t) => t.clone())
|
|
1940
1901
|
), this.unselectAll();
|
|
1941
1902
|
}
|
|
1942
|
-
async addItems(
|
|
1903
|
+
async addItems(t) {
|
|
1943
1904
|
if (this.isEmpty) {
|
|
1944
|
-
this.clearAndSetItems(
|
|
1905
|
+
this.clearAndSetItems(t);
|
|
1945
1906
|
return;
|
|
1946
1907
|
}
|
|
1947
|
-
this.items.push(...
|
|
1908
|
+
this.items.push(...t);
|
|
1948
1909
|
}
|
|
1949
1910
|
async addSelectedItems() {
|
|
1950
1911
|
await this.addItems(
|
|
1951
|
-
this.selectedItemsOrAllItems.map((
|
|
1912
|
+
this.selectedItemsOrAllItems.map((t) => t.clone())
|
|
1952
1913
|
), this.unselectAll();
|
|
1953
1914
|
}
|
|
1954
|
-
async playFirst(
|
|
1915
|
+
async playFirst(t) {
|
|
1955
1916
|
if (this.isEmpty) {
|
|
1956
|
-
this.clearAndSetItems(
|
|
1917
|
+
this.clearAndSetItems(t);
|
|
1957
1918
|
return;
|
|
1958
1919
|
}
|
|
1959
1920
|
const { currentIndex: n } = this;
|
|
1960
|
-
n !== void 0 && (this.interact(), this.items.splice(n, 0, ...
|
|
1921
|
+
n !== void 0 && (this.interact(), this.items.splice(n, 0, ...t), this.currentIndex = n);
|
|
1961
1922
|
}
|
|
1962
|
-
moveItem(
|
|
1963
|
-
const i = this.items.splice(this.items.indexOf(
|
|
1923
|
+
moveItem(t, n) {
|
|
1924
|
+
const i = this.items.splice(this.items.indexOf(t), 1)[0];
|
|
1964
1925
|
this.items.splice(n, 0, i);
|
|
1965
1926
|
}
|
|
1966
|
-
async removeItems(
|
|
1927
|
+
async removeItems(t) {
|
|
1967
1928
|
const { currentItem: n } = this;
|
|
1968
|
-
Pt(this.items, ...
|
|
1929
|
+
Pt(this.items, ...t.filter((l) => l !== n));
|
|
1969
1930
|
const { currentIndex: i, isLastItem: a } = this;
|
|
1970
1931
|
Pt(
|
|
1971
1932
|
this.items,
|
|
1972
|
-
|
|
1933
|
+
t.find((l) => l === n)
|
|
1973
1934
|
), this.currentItem !== n && (this.interact(), a ? await this.goToFirst() : this.currentIndex = i);
|
|
1974
1935
|
}
|
|
1975
1936
|
async removeSelectedItems() {
|
|
1976
1937
|
await this.removeItems(this.selectedItemsOrAllItems), this.unselectAll();
|
|
1977
1938
|
}
|
|
1978
|
-
async removeOtherItems(
|
|
1979
|
-
const n =
|
|
1939
|
+
async removeOtherItems(t) {
|
|
1940
|
+
const n = t.id;
|
|
1980
1941
|
return this.removeItems(
|
|
1981
1942
|
this.items.filter((i) => i.id !== n)
|
|
1982
1943
|
);
|
|
1983
1944
|
}
|
|
1984
|
-
async removeItemsAbove(
|
|
1985
|
-
const n = this.items.indexOf(
|
|
1945
|
+
async removeItemsAbove(t) {
|
|
1946
|
+
const n = this.items.indexOf(t);
|
|
1986
1947
|
return this.removeItems(
|
|
1987
1948
|
this.items.filter((i, a) => a < n)
|
|
1988
1949
|
);
|
|
1989
1950
|
}
|
|
1990
1951
|
toggleRepeat() {
|
|
1991
1952
|
switch (this.repeat) {
|
|
1992
|
-
case
|
|
1993
|
-
this.repeat =
|
|
1953
|
+
case O.Off:
|
|
1954
|
+
this.repeat = O.All;
|
|
1994
1955
|
break;
|
|
1995
|
-
case
|
|
1996
|
-
this.repeat =
|
|
1956
|
+
case O.All:
|
|
1957
|
+
this.repeat = O.One;
|
|
1997
1958
|
break;
|
|
1998
|
-
case
|
|
1999
|
-
this.repeat =
|
|
1959
|
+
case O.One:
|
|
1960
|
+
this.repeat = O.Off;
|
|
2000
1961
|
break;
|
|
2001
1962
|
}
|
|
2002
1963
|
}
|
|
@@ -2013,29 +1974,29 @@ class ci {
|
|
|
2013
1974
|
this.currentIndex !== void 0 && (this.currentIndex = 0);
|
|
2014
1975
|
}
|
|
2015
1976
|
}
|
|
2016
|
-
const nr =
|
|
2017
|
-
children:
|
|
1977
|
+
const nr = zt(void 0), Yi = ({
|
|
1978
|
+
children: e
|
|
2018
1979
|
}) => {
|
|
2019
|
-
const [
|
|
2020
|
-
() => new
|
|
2021
|
-
), n =
|
|
2022
|
-
return
|
|
2023
|
-
() =>
|
|
1980
|
+
const [t] = W(
|
|
1981
|
+
() => new ai(new Kt())
|
|
1982
|
+
), n = U();
|
|
1983
|
+
return kr(() => Or(
|
|
1984
|
+
() => t.currentItem,
|
|
2024
1985
|
async (i, a) => {
|
|
2025
1986
|
i === void 0 || a === void 0 || i.type === a.type && i.videoId === a.videoId && await n.setCurrentTime(0);
|
|
2026
1987
|
}
|
|
2027
|
-
), [
|
|
2028
|
-
}, ir = () => at(nr),
|
|
2029
|
-
breadcrumbs:
|
|
2030
|
-
tabs:
|
|
1988
|
+
), [t, n]), /* @__PURE__ */ o(nr.Provider, { value: t, children: e });
|
|
1989
|
+
}, ir = () => at(nr), si = ({
|
|
1990
|
+
breadcrumbs: e,
|
|
1991
|
+
tabs: t,
|
|
2031
1992
|
...n
|
|
2032
1993
|
}) => {
|
|
2033
|
-
const i =
|
|
1994
|
+
const i = En();
|
|
2034
1995
|
return /* @__PURE__ */ o(
|
|
2035
|
-
|
|
1996
|
+
lt.Header,
|
|
2036
1997
|
{
|
|
2037
1998
|
...n,
|
|
2038
|
-
breadcrumbs:
|
|
1999
|
+
breadcrumbs: e?.map(({ linkProps: a, ...l }) => ({
|
|
2039
2000
|
...l,
|
|
2040
2001
|
href: a === void 0 ? void 0 : i.buildLocation(
|
|
2041
2002
|
a
|
|
@@ -2045,7 +2006,7 @@ const nr = Lt(void 0), $i = ({
|
|
|
2045
2006
|
d.preventDefault(), await i.navigate(a);
|
|
2046
2007
|
}
|
|
2047
2008
|
})),
|
|
2048
|
-
tabs:
|
|
2009
|
+
tabs: t?.map(({ linkProps: a, ...l }) => ({
|
|
2049
2010
|
...l,
|
|
2050
2011
|
href: a === void 0 ? void 0 : i.buildLocation(
|
|
2051
2012
|
a
|
|
@@ -2057,179 +2018,319 @@ const nr = Lt(void 0), $i = ({
|
|
|
2057
2018
|
}))
|
|
2058
2019
|
}
|
|
2059
2020
|
);
|
|
2060
|
-
},
|
|
2061
|
-
const
|
|
2062
|
-
return /* @__PURE__ */
|
|
2021
|
+
}, Wi = () => {
|
|
2022
|
+
const e = ir();
|
|
2023
|
+
return /* @__PURE__ */ $(Le, { children: [
|
|
2063
2024
|
/* @__PURE__ */ o(
|
|
2064
|
-
|
|
2025
|
+
si,
|
|
2065
2026
|
{
|
|
2066
2027
|
pageTitle: "Play queue",
|
|
2067
2028
|
rightSideItems: []
|
|
2068
2029
|
}
|
|
2069
2030
|
),
|
|
2070
|
-
/* @__PURE__ */ o(
|
|
2031
|
+
/* @__PURE__ */ o(lt.Section, { children: /* @__PURE__ */ o(ri, { playQueueStore: e }) })
|
|
2071
2032
|
] });
|
|
2072
|
-
},
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2033
|
+
}, li = P(
|
|
2034
|
+
({ playQueueStore: e }) => /* @__PURE__ */ o(
|
|
2035
|
+
q,
|
|
2036
|
+
{
|
|
2037
|
+
title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2038
|
+
"aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2039
|
+
iconType: e.shuffle ? sn : ln,
|
|
2040
|
+
size: "s",
|
|
2041
|
+
iconSize: "l",
|
|
2042
|
+
onClick: e.toggleShuffle,
|
|
2043
|
+
disabled: !0
|
|
2044
|
+
}
|
|
2045
|
+
)
|
|
2046
|
+
), ci = P(
|
|
2047
|
+
({ playQueueStore: e }) => {
|
|
2048
|
+
const t = U(), n = N(async () => {
|
|
2082
2049
|
if (e.hasPreviousItem) {
|
|
2083
|
-
const
|
|
2084
|
-
|
|
2050
|
+
const i = await t.getCurrentTime();
|
|
2051
|
+
i === void 0 || i < 5 ? await e.previous() : await t.setCurrentTime(0);
|
|
2085
2052
|
} else
|
|
2086
|
-
await
|
|
2087
|
-
}, [e,
|
|
2088
|
-
return /* @__PURE__ */
|
|
2089
|
-
|
|
2053
|
+
await t.setCurrentTime(0);
|
|
2054
|
+
}, [e, t]);
|
|
2055
|
+
return /* @__PURE__ */ o(
|
|
2056
|
+
q,
|
|
2090
2057
|
{
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2058
|
+
title: "Previous",
|
|
2059
|
+
"aria-label": "Previous",
|
|
2060
|
+
iconType: cn,
|
|
2061
|
+
size: "s",
|
|
2062
|
+
iconSize: "l",
|
|
2063
|
+
onClick: n,
|
|
2064
|
+
disabled: e.isEmpty
|
|
2065
|
+
}
|
|
2066
|
+
);
|
|
2067
|
+
}
|
|
2068
|
+
), ui = P(
|
|
2069
|
+
({ playerStore: e, playQueueStore: t }) => {
|
|
2070
|
+
const n = U(), i = N(async () => {
|
|
2071
|
+
const a = await n.getCurrentTime();
|
|
2072
|
+
a !== void 0 && await n.setCurrentTime(a - 10);
|
|
2073
|
+
}, [n]);
|
|
2074
|
+
return /* @__PURE__ */ o(
|
|
2075
|
+
q,
|
|
2076
|
+
{
|
|
2077
|
+
title: "Skip back 10 seconds",
|
|
2078
|
+
"aria-label": "Skip back 10 seconds",
|
|
2079
|
+
iconType: qt,
|
|
2080
|
+
size: "s",
|
|
2081
|
+
iconSize: "l",
|
|
2082
|
+
onClick: i,
|
|
2083
|
+
disabled: t.isEmpty || !e.controller.supports("setCurrentTime")
|
|
2084
|
+
}
|
|
2085
|
+
);
|
|
2086
|
+
}
|
|
2087
|
+
), di = P(
|
|
2088
|
+
({ playerStore: e, playQueueStore: t }) => {
|
|
2089
|
+
const n = U();
|
|
2090
|
+
return /* @__PURE__ */ o(
|
|
2091
|
+
q,
|
|
2092
|
+
{
|
|
2093
|
+
title: "Pause",
|
|
2094
|
+
"aria-label": "Pause",
|
|
2095
|
+
iconType: un,
|
|
2096
|
+
size: "s",
|
|
2097
|
+
iconSize: "l",
|
|
2098
|
+
onClick: () => n.pause(),
|
|
2099
|
+
disabled: !t.canPause || !e.controller.supports("pause")
|
|
2100
|
+
}
|
|
2101
|
+
);
|
|
2102
|
+
}
|
|
2103
|
+
), fi = P(
|
|
2104
|
+
({ playerStore: e, playQueueStore: t }) => {
|
|
2105
|
+
const n = U();
|
|
2106
|
+
return /* @__PURE__ */ o(
|
|
2107
|
+
q,
|
|
2108
|
+
{
|
|
2109
|
+
title: "Play",
|
|
2110
|
+
"aria-label": "Play",
|
|
2111
|
+
iconType: dn,
|
|
2112
|
+
size: "s",
|
|
2113
|
+
iconSize: "l",
|
|
2114
|
+
onClick: () => n.play(),
|
|
2115
|
+
disabled: !t.canPlay || !e.controller.supports("play")
|
|
2116
|
+
}
|
|
2117
|
+
);
|
|
2118
|
+
}
|
|
2119
|
+
), mi = P(
|
|
2120
|
+
({
|
|
2121
|
+
playerStore: e,
|
|
2122
|
+
playQueueStore: t
|
|
2123
|
+
}) => {
|
|
2124
|
+
const n = U(), i = N(async () => {
|
|
2125
|
+
const a = await n.getCurrentTime();
|
|
2126
|
+
a !== void 0 && await n.setCurrentTime(a + 30);
|
|
2127
|
+
}, [n]);
|
|
2128
|
+
return /* @__PURE__ */ o(
|
|
2129
|
+
q,
|
|
2130
|
+
{
|
|
2131
|
+
title: "Skip forward 30 seconds",
|
|
2132
|
+
"aria-label": "Skip forward 30 seconds",
|
|
2133
|
+
iconType: Ht,
|
|
2134
|
+
size: "s",
|
|
2135
|
+
iconSize: "l",
|
|
2136
|
+
onClick: i,
|
|
2137
|
+
disabled: t.isEmpty || !e.controller.supports("setCurrentTime")
|
|
2138
|
+
}
|
|
2139
|
+
);
|
|
2140
|
+
}
|
|
2141
|
+
), hi = P(
|
|
2142
|
+
({ playQueueStore: e }) => /* @__PURE__ */ o(
|
|
2143
|
+
q,
|
|
2144
|
+
{
|
|
2145
|
+
title: "Next",
|
|
2146
|
+
"aria-label": "Next",
|
|
2147
|
+
iconType: fn,
|
|
2148
|
+
size: "s",
|
|
2149
|
+
iconSize: "l",
|
|
2150
|
+
onClick: e.next,
|
|
2151
|
+
disabled: !e.hasNextItem
|
|
2152
|
+
}
|
|
2153
|
+
)
|
|
2154
|
+
), vi = {
|
|
2155
|
+
[O.Off]: vn,
|
|
2156
|
+
[O.All]: hn,
|
|
2157
|
+
[O.One]: mn
|
|
2158
|
+
}, pi = P(
|
|
2159
|
+
({ playQueueStore: e }) => /* @__PURE__ */ o(
|
|
2160
|
+
q,
|
|
2161
|
+
{
|
|
2162
|
+
title: `Repeat: ${e.repeat === O.All ? "All" : e.repeat === O.One ? "One" : "Off"}`,
|
|
2163
|
+
"aria-label": `Repeat: ${e.repeat === O.All ? "All" : e.repeat === O.One ? "One" : "Off"}`,
|
|
2164
|
+
iconType: vi[e.repeat],
|
|
2165
|
+
size: "s",
|
|
2166
|
+
iconSize: "l",
|
|
2167
|
+
onClick: e.toggleRepeat
|
|
2168
|
+
}
|
|
2169
|
+
)
|
|
2170
|
+
), yi = P(
|
|
2171
|
+
({
|
|
2172
|
+
playerStore: e,
|
|
2173
|
+
playQueueStore: t
|
|
2174
|
+
}) => /* @__PURE__ */ $(
|
|
2175
|
+
se,
|
|
2176
|
+
{
|
|
2177
|
+
responsive: !1,
|
|
2178
|
+
gutterSize: "s",
|
|
2179
|
+
justifyContent: "center",
|
|
2180
|
+
alignItems: "center",
|
|
2181
|
+
children: [
|
|
2182
|
+
/* @__PURE__ */ o(li, { playQueueStore: t }),
|
|
2183
|
+
/* @__PURE__ */ o(ci, { playQueueStore: t }),
|
|
2184
|
+
/* @__PURE__ */ o(
|
|
2185
|
+
ui,
|
|
2186
|
+
{
|
|
2187
|
+
playerStore: e,
|
|
2188
|
+
playQueueStore: t
|
|
2189
|
+
}
|
|
2190
|
+
),
|
|
2191
|
+
e.playing ? /* @__PURE__ */ o(
|
|
2192
|
+
di,
|
|
2193
|
+
{
|
|
2194
|
+
playerStore: e,
|
|
2195
|
+
playQueueStore: t
|
|
2196
|
+
}
|
|
2197
|
+
) : /* @__PURE__ */ o(
|
|
2198
|
+
fi,
|
|
2199
|
+
{
|
|
2200
|
+
playerStore: e,
|
|
2201
|
+
playQueueStore: t
|
|
2202
|
+
}
|
|
2203
|
+
),
|
|
2204
|
+
/* @__PURE__ */ o(
|
|
2205
|
+
mi,
|
|
2206
|
+
{
|
|
2207
|
+
playerStore: e,
|
|
2208
|
+
playQueueStore: t
|
|
2209
|
+
}
|
|
2210
|
+
),
|
|
2211
|
+
/* @__PURE__ */ o(hi, { playQueueStore: t }),
|
|
2212
|
+
/* @__PURE__ */ o(pi, { playQueueStore: t })
|
|
2213
|
+
]
|
|
2214
|
+
}
|
|
2215
|
+
)
|
|
2216
|
+
), gi = ne(
|
|
2217
|
+
({ item: e, closePopover: t }) => {
|
|
2218
|
+
const n = U(), i = De(
|
|
2219
|
+
() => [
|
|
2220
|
+
{
|
|
2221
|
+
id: 0,
|
|
2222
|
+
items: [
|
|
2133
2223
|
{
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
disabled: !e.canPlay || !t.controller.supports("play")
|
|
2141
|
-
}
|
|
2142
|
-
),
|
|
2143
|
-
/* @__PURE__ */ o(
|
|
2144
|
-
G,
|
|
2224
|
+
name: "Open in new tab",
|
|
2225
|
+
icon: /* @__PURE__ */ o(Y, { type: pn }),
|
|
2226
|
+
onClick: async () => {
|
|
2227
|
+
t(), await n.pause(), window.open(e.dto.url, "_blank");
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2145
2230
|
{
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
}
|
|
2154
|
-
),
|
|
2155
|
-
/* @__PURE__ */ o(
|
|
2156
|
-
G,
|
|
2231
|
+
name: "Copy link address",
|
|
2232
|
+
icon: /* @__PURE__ */ o(Y, { type: "" }),
|
|
2233
|
+
onClick: async () => {
|
|
2234
|
+
t(), await navigator.clipboard.writeText(
|
|
2235
|
+
e.dto.url
|
|
2236
|
+
);
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2157
2239
|
{
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2240
|
+
name: "Copy link text",
|
|
2241
|
+
icon: /* @__PURE__ */ o(Y, { type: "" }),
|
|
2242
|
+
onClick: async () => {
|
|
2243
|
+
t(), await navigator.clipboard.writeText(
|
|
2244
|
+
e.dto.title
|
|
2245
|
+
);
|
|
2246
|
+
}
|
|
2164
2247
|
}
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2248
|
+
]
|
|
2249
|
+
}
|
|
2250
|
+
],
|
|
2251
|
+
[t, n, e]
|
|
2168
2252
|
);
|
|
2253
|
+
return /* @__PURE__ */ o(st, { initialPanelId: 0, panels: i });
|
|
2169
2254
|
}
|
|
2170
|
-
),
|
|
2171
|
-
({
|
|
2172
|
-
const
|
|
2255
|
+
), bi = ne(
|
|
2256
|
+
({ item: e }) => {
|
|
2257
|
+
const [t, n] = W(!1), i = N(() => n(!t), [t]), a = N(() => n(!1), []);
|
|
2173
2258
|
return /* @__PURE__ */ o(
|
|
2174
|
-
|
|
2259
|
+
ze,
|
|
2175
2260
|
{
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
justifyContent: "flexStart",
|
|
2179
|
-
alignItems: "center",
|
|
2180
|
-
children: t.currentItem && /* @__PURE__ */ o(
|
|
2181
|
-
Vt,
|
|
2261
|
+
button: /* @__PURE__ */ o(
|
|
2262
|
+
Bt,
|
|
2182
2263
|
{
|
|
2183
|
-
|
|
2184
|
-
target: "_blank",
|
|
2185
|
-
iconType: rr[t.currentItem.type],
|
|
2264
|
+
iconType: rr[e.type],
|
|
2186
2265
|
size: "s",
|
|
2187
|
-
onClick:
|
|
2188
|
-
children:
|
|
2266
|
+
onClick: i,
|
|
2267
|
+
children: e.title
|
|
2268
|
+
}
|
|
2269
|
+
),
|
|
2270
|
+
isOpen: t,
|
|
2271
|
+
closePopover: a,
|
|
2272
|
+
panelPaddingSize: "none",
|
|
2273
|
+
anchorPosition: "upLeft",
|
|
2274
|
+
children: /* @__PURE__ */ o(
|
|
2275
|
+
gi,
|
|
2276
|
+
{
|
|
2277
|
+
item: e,
|
|
2278
|
+
closePopover: a
|
|
2189
2279
|
}
|
|
2190
2280
|
)
|
|
2191
2281
|
}
|
|
2192
2282
|
);
|
|
2193
2283
|
}
|
|
2194
|
-
),
|
|
2195
|
-
({
|
|
2196
|
-
|
|
2284
|
+
), Ti = P(
|
|
2285
|
+
({ playQueueStore: e }) => /* @__PURE__ */ o(
|
|
2286
|
+
se,
|
|
2287
|
+
{
|
|
2288
|
+
responsive: !1,
|
|
2289
|
+
gutterSize: "s",
|
|
2290
|
+
justifyContent: "flexStart",
|
|
2291
|
+
alignItems: "center",
|
|
2292
|
+
children: e.currentItem && /* @__PURE__ */ o(bi, { item: e.currentItem })
|
|
2293
|
+
}
|
|
2294
|
+
)
|
|
2295
|
+
), Ei = P(
|
|
2296
|
+
({ playerStore: e }) => /* @__PURE__ */ o(
|
|
2297
|
+
q,
|
|
2197
2298
|
{
|
|
2198
2299
|
title: "Mute",
|
|
2199
2300
|
"aria-label": "Mute",
|
|
2200
2301
|
iconType: Gt,
|
|
2201
2302
|
size: "s",
|
|
2202
2303
|
iconSize: "l",
|
|
2203
|
-
disabled: !
|
|
2304
|
+
disabled: !e.controller.supports("setMuted")
|
|
2204
2305
|
}
|
|
2205
2306
|
)
|
|
2206
|
-
),
|
|
2307
|
+
), Ci = P(
|
|
2207
2308
|
({
|
|
2208
|
-
playerStore:
|
|
2209
|
-
button:
|
|
2309
|
+
playerStore: e,
|
|
2310
|
+
button: t,
|
|
2210
2311
|
isOpen: n,
|
|
2211
2312
|
closePopover: i
|
|
2212
2313
|
}) => {
|
|
2213
|
-
const [a, l] =
|
|
2214
|
-
|
|
2314
|
+
const [a, l] = W("0"), d = U();
|
|
2315
|
+
Ar(() => {
|
|
2215
2316
|
n && d.getVolume().then((m) => {
|
|
2216
2317
|
m !== void 0 && l(Math.floor(m * 100).toString());
|
|
2217
2318
|
});
|
|
2218
2319
|
}, [n, d]);
|
|
2219
|
-
const h =
|
|
2320
|
+
const h = N(
|
|
2220
2321
|
async (m) => {
|
|
2221
2322
|
l(m.currentTarget.value), await d.setVolume(Number(m.currentTarget.value) / 100);
|
|
2222
2323
|
},
|
|
2223
2324
|
[d]
|
|
2224
2325
|
);
|
|
2225
2326
|
return /* @__PURE__ */ o(
|
|
2226
|
-
|
|
2327
|
+
ze,
|
|
2227
2328
|
{
|
|
2228
|
-
button:
|
|
2329
|
+
button: t,
|
|
2229
2330
|
isOpen: n,
|
|
2230
2331
|
closePopover: i,
|
|
2231
2332
|
anchorPosition: "upRight",
|
|
2232
|
-
children: /* @__PURE__ */ o(
|
|
2333
|
+
children: /* @__PURE__ */ o(rt, { children: /* @__PURE__ */ $(
|
|
2233
2334
|
se,
|
|
2234
2335
|
{
|
|
2235
2336
|
responsive: !1,
|
|
@@ -2237,9 +2338,9 @@ const nr = Lt(void 0), $i = ({
|
|
|
2237
2338
|
justifyContent: "center",
|
|
2238
2339
|
alignItems: "center",
|
|
2239
2340
|
children: [
|
|
2240
|
-
/* @__PURE__ */ o(
|
|
2341
|
+
/* @__PURE__ */ o(Ei, { playerStore: e }),
|
|
2241
2342
|
/* @__PURE__ */ o(
|
|
2242
|
-
|
|
2343
|
+
Wt,
|
|
2243
2344
|
{
|
|
2244
2345
|
min: 0,
|
|
2245
2346
|
max: 100,
|
|
@@ -2247,7 +2348,7 @@ const nr = Lt(void 0), $i = ({
|
|
|
2247
2348
|
value: a,
|
|
2248
2349
|
onChange: h,
|
|
2249
2350
|
css: { blockSize: 32 },
|
|
2250
|
-
disabled: !
|
|
2351
|
+
disabled: !e.controller.supports("setVolume")
|
|
2251
2352
|
}
|
|
2252
2353
|
)
|
|
2253
2354
|
]
|
|
@@ -2256,92 +2357,92 @@ const nr = Lt(void 0), $i = ({
|
|
|
2256
2357
|
}
|
|
2257
2358
|
);
|
|
2258
2359
|
}
|
|
2259
|
-
),
|
|
2260
|
-
({ playerStore:
|
|
2261
|
-
const [
|
|
2360
|
+
), xi = P(
|
|
2361
|
+
({ playerStore: e }) => {
|
|
2362
|
+
const [t, n] = W(!1);
|
|
2262
2363
|
return /* @__PURE__ */ o(
|
|
2263
|
-
|
|
2364
|
+
Ci,
|
|
2264
2365
|
{
|
|
2265
|
-
playerStore:
|
|
2366
|
+
playerStore: e,
|
|
2266
2367
|
button: /* @__PURE__ */ o(
|
|
2267
|
-
|
|
2368
|
+
q,
|
|
2268
2369
|
{
|
|
2269
2370
|
title: "Volume",
|
|
2270
2371
|
"aria-label": "Volume",
|
|
2271
2372
|
iconType: Gt,
|
|
2272
2373
|
size: "s",
|
|
2273
2374
|
iconSize: "l",
|
|
2274
|
-
onClick: () => n(!
|
|
2275
|
-
disabled: !
|
|
2375
|
+
onClick: () => n(!t),
|
|
2376
|
+
disabled: !e.controller.supports("getVolume")
|
|
2276
2377
|
}
|
|
2277
2378
|
),
|
|
2278
|
-
isOpen:
|
|
2379
|
+
isOpen: t,
|
|
2279
2380
|
closePopover: () => n(!1)
|
|
2280
2381
|
}
|
|
2281
2382
|
);
|
|
2282
2383
|
}
|
|
2283
|
-
),
|
|
2284
|
-
onClickPlayQueueButton:
|
|
2384
|
+
), Ii = ({
|
|
2385
|
+
onClickPlayQueueButton: e
|
|
2285
2386
|
}) => /* @__PURE__ */ o(
|
|
2286
|
-
|
|
2387
|
+
q,
|
|
2287
2388
|
{
|
|
2288
2389
|
title: "Play queue",
|
|
2289
2390
|
"aria-label": "Play queue",
|
|
2290
|
-
iconType:
|
|
2391
|
+
iconType: gn,
|
|
2291
2392
|
size: "s",
|
|
2292
2393
|
iconSize: "l",
|
|
2293
|
-
onClick:
|
|
2394
|
+
onClick: e
|
|
2294
2395
|
}
|
|
2295
|
-
),
|
|
2396
|
+
), Si = P(
|
|
2296
2397
|
({
|
|
2297
|
-
playerStore:
|
|
2298
|
-
playQueueStore:
|
|
2398
|
+
playerStore: e,
|
|
2399
|
+
playQueueStore: t,
|
|
2299
2400
|
closePopover: n
|
|
2300
2401
|
}) => {
|
|
2301
|
-
const i =
|
|
2402
|
+
const i = U(), a = N(async () => {
|
|
2302
2403
|
const I = await i.getCurrentTime();
|
|
2303
2404
|
I !== void 0 && await i.setCurrentTime(I - 10), n();
|
|
2304
|
-
}, [i, n]), l =
|
|
2405
|
+
}, [i, n]), l = N(async () => {
|
|
2305
2406
|
const I = await i.getCurrentTime();
|
|
2306
2407
|
I !== void 0 && await i.setCurrentTime(I + 30), n();
|
|
2307
|
-
}, [i, n]), d =
|
|
2408
|
+
}, [i, n]), d = N(
|
|
2308
2409
|
async (I) => {
|
|
2309
2410
|
await i.setPlaybackRate(I), n();
|
|
2310
2411
|
},
|
|
2311
2412
|
[i, n]
|
|
2312
|
-
), h =
|
|
2313
|
-
|
|
2314
|
-
|
|
2413
|
+
), h = N(async () => {
|
|
2414
|
+
t.currentItem !== void 0 && await t.removeItems([
|
|
2415
|
+
t.currentItem
|
|
2315
2416
|
]), n();
|
|
2316
|
-
}, [
|
|
2317
|
-
await
|
|
2318
|
-
}, [
|
|
2417
|
+
}, [t, n]), [m, p] = W(), T = N(async () => {
|
|
2418
|
+
await e.controller.getPlaybackRate().then((I) => p(I));
|
|
2419
|
+
}, [e]), R = De(
|
|
2319
2420
|
() => [
|
|
2320
2421
|
{
|
|
2321
2422
|
id: 0,
|
|
2322
2423
|
items: [
|
|
2323
2424
|
{
|
|
2324
2425
|
name: "Speed",
|
|
2325
|
-
icon: /* @__PURE__ */ o(
|
|
2426
|
+
icon: /* @__PURE__ */ o(Y, { type: yn }),
|
|
2326
2427
|
panel: 1,
|
|
2327
|
-
onClick:
|
|
2328
|
-
disabled: !
|
|
2428
|
+
onClick: T,
|
|
2429
|
+
disabled: !e.controller.supports(
|
|
2329
2430
|
"getPlaybackRate"
|
|
2330
2431
|
)
|
|
2331
2432
|
},
|
|
2332
2433
|
{
|
|
2333
2434
|
name: "Skip back 10 seconds",
|
|
2334
|
-
icon: /* @__PURE__ */ o(
|
|
2435
|
+
icon: /* @__PURE__ */ o(Y, { type: qt }),
|
|
2335
2436
|
onClick: a,
|
|
2336
|
-
disabled:
|
|
2437
|
+
disabled: t.isEmpty || !e.controller.supports(
|
|
2337
2438
|
"setCurrentTime"
|
|
2338
2439
|
)
|
|
2339
2440
|
},
|
|
2340
2441
|
{
|
|
2341
2442
|
name: "Skip forward 30 seconds",
|
|
2342
|
-
icon: /* @__PURE__ */ o(
|
|
2443
|
+
icon: /* @__PURE__ */ o(Y, { type: Ht }),
|
|
2343
2444
|
onClick: l,
|
|
2344
|
-
disabled:
|
|
2445
|
+
disabled: t.isEmpty || !e.controller.supports(
|
|
2345
2446
|
"setCurrentTime"
|
|
2346
2447
|
)
|
|
2347
2448
|
},
|
|
@@ -2350,9 +2451,9 @@ const nr = Lt(void 0), $i = ({
|
|
|
2350
2451
|
},
|
|
2351
2452
|
{
|
|
2352
2453
|
name: "Remove from play queue",
|
|
2353
|
-
icon: /* @__PURE__ */ o(
|
|
2454
|
+
icon: /* @__PURE__ */ o(Y, { type: ut }),
|
|
2354
2455
|
onClick: h,
|
|
2355
|
-
disabled:
|
|
2456
|
+
disabled: t.isEmpty
|
|
2356
2457
|
}
|
|
2357
2458
|
]
|
|
2358
2459
|
},
|
|
@@ -2364,7 +2465,7 @@ const nr = Lt(void 0), $i = ({
|
|
|
2364
2465
|
name: I.toString(),
|
|
2365
2466
|
onClick: () => d(I),
|
|
2366
2467
|
icon: I === m ? "check" : "empty",
|
|
2367
|
-
disabled: !
|
|
2468
|
+
disabled: !e.controller.supports(
|
|
2368
2469
|
"setPlaybackRate"
|
|
2369
2470
|
)
|
|
2370
2471
|
})
|
|
@@ -2372,9 +2473,9 @@ const nr = Lt(void 0), $i = ({
|
|
|
2372
2473
|
}
|
|
2373
2474
|
],
|
|
2374
2475
|
[
|
|
2375
|
-
t,
|
|
2376
2476
|
e,
|
|
2377
|
-
|
|
2477
|
+
t,
|
|
2478
|
+
T,
|
|
2378
2479
|
a,
|
|
2379
2480
|
l,
|
|
2380
2481
|
h,
|
|
@@ -2382,17 +2483,17 @@ const nr = Lt(void 0), $i = ({
|
|
|
2382
2483
|
m
|
|
2383
2484
|
]
|
|
2384
2485
|
);
|
|
2385
|
-
return /* @__PURE__ */ o(
|
|
2486
|
+
return /* @__PURE__ */ o(st, { initialPanelId: 0, panels: R });
|
|
2386
2487
|
}
|
|
2387
|
-
),
|
|
2488
|
+
), Pi = ne(
|
|
2388
2489
|
({
|
|
2389
|
-
playerStore:
|
|
2390
|
-
playQueueStore:
|
|
2490
|
+
playerStore: e,
|
|
2491
|
+
playQueueStore: t,
|
|
2391
2492
|
button: n,
|
|
2392
2493
|
isOpen: i,
|
|
2393
2494
|
closePopover: a
|
|
2394
2495
|
}) => /* @__PURE__ */ o(
|
|
2395
|
-
|
|
2496
|
+
ze,
|
|
2396
2497
|
{
|
|
2397
2498
|
button: n,
|
|
2398
2499
|
isOpen: i,
|
|
@@ -2400,29 +2501,29 @@ const nr = Lt(void 0), $i = ({
|
|
|
2400
2501
|
panelPaddingSize: "none",
|
|
2401
2502
|
anchorPosition: "upRight",
|
|
2402
2503
|
children: /* @__PURE__ */ o(
|
|
2403
|
-
|
|
2504
|
+
Si,
|
|
2404
2505
|
{
|
|
2405
|
-
playerStore:
|
|
2406
|
-
playQueueStore:
|
|
2506
|
+
playerStore: e,
|
|
2507
|
+
playQueueStore: t,
|
|
2407
2508
|
closePopover: a
|
|
2408
2509
|
}
|
|
2409
2510
|
)
|
|
2410
2511
|
}
|
|
2411
2512
|
)
|
|
2412
|
-
),
|
|
2413
|
-
({ playerStore:
|
|
2414
|
-
const [n, i] =
|
|
2513
|
+
), Ri = ne(
|
|
2514
|
+
({ playerStore: e, playQueueStore: t }) => {
|
|
2515
|
+
const [n, i] = W(!1);
|
|
2415
2516
|
return /* @__PURE__ */ o(
|
|
2416
|
-
|
|
2517
|
+
Pi,
|
|
2417
2518
|
{
|
|
2418
|
-
playerStore:
|
|
2419
|
-
playQueueStore:
|
|
2519
|
+
playerStore: e,
|
|
2520
|
+
playQueueStore: t,
|
|
2420
2521
|
button: /* @__PURE__ */ o(
|
|
2421
|
-
|
|
2522
|
+
q,
|
|
2422
2523
|
{
|
|
2423
2524
|
title: "More options",
|
|
2424
2525
|
"aria-label": "More options",
|
|
2425
|
-
iconType:
|
|
2526
|
+
iconType: Ut,
|
|
2426
2527
|
size: "s",
|
|
2427
2528
|
iconSize: "l",
|
|
2428
2529
|
onClick: () => i(!n)
|
|
@@ -2433,12 +2534,12 @@ const nr = Lt(void 0), $i = ({
|
|
|
2433
2534
|
}
|
|
2434
2535
|
);
|
|
2435
2536
|
}
|
|
2436
|
-
),
|
|
2537
|
+
), wi = ne(
|
|
2437
2538
|
({
|
|
2438
|
-
playerStore:
|
|
2439
|
-
playQueueStore:
|
|
2539
|
+
playerStore: e,
|
|
2540
|
+
playQueueStore: t,
|
|
2440
2541
|
onClickPlayQueueButton: n
|
|
2441
|
-
}) => /* @__PURE__ */
|
|
2542
|
+
}) => /* @__PURE__ */ $(
|
|
2442
2543
|
se,
|
|
2443
2544
|
{
|
|
2444
2545
|
responsive: !1,
|
|
@@ -2446,154 +2547,154 @@ const nr = Lt(void 0), $i = ({
|
|
|
2446
2547
|
justifyContent: "flexEnd",
|
|
2447
2548
|
alignItems: "center",
|
|
2448
2549
|
children: [
|
|
2449
|
-
/* @__PURE__ */ o(
|
|
2550
|
+
/* @__PURE__ */ o(xi, { playerStore: e }),
|
|
2450
2551
|
n && /* @__PURE__ */ o(
|
|
2451
|
-
|
|
2552
|
+
Ii,
|
|
2452
2553
|
{
|
|
2453
2554
|
onClickPlayQueueButton: n
|
|
2454
2555
|
}
|
|
2455
2556
|
),
|
|
2456
2557
|
/* @__PURE__ */ o(
|
|
2457
|
-
|
|
2558
|
+
Ri,
|
|
2458
2559
|
{
|
|
2459
|
-
playerStore:
|
|
2460
|
-
playQueueStore:
|
|
2560
|
+
playerStore: e,
|
|
2561
|
+
playQueueStore: t
|
|
2461
2562
|
}
|
|
2462
2563
|
)
|
|
2463
2564
|
]
|
|
2464
2565
|
}
|
|
2465
2566
|
)
|
|
2466
|
-
),
|
|
2467
|
-
({ playerStore:
|
|
2468
|
-
const n =
|
|
2567
|
+
), Oi = P(
|
|
2568
|
+
({ playerStore: e, playQueueStore: t }) => {
|
|
2569
|
+
const n = U(), i = N(
|
|
2469
2570
|
(d) => {
|
|
2470
2571
|
const h = Number(d.currentTarget.value) / 100;
|
|
2471
|
-
|
|
2572
|
+
e.setPercent(h);
|
|
2472
2573
|
},
|
|
2473
|
-
[
|
|
2474
|
-
), a =
|
|
2574
|
+
[e]
|
|
2575
|
+
), a = N(
|
|
2475
2576
|
(d) => {
|
|
2476
|
-
d.button === 0 &&
|
|
2577
|
+
d.button === 0 && e.setSeeking(!0);
|
|
2477
2578
|
},
|
|
2478
|
-
[
|
|
2479
|
-
), l =
|
|
2579
|
+
[e]
|
|
2580
|
+
), l = N(
|
|
2480
2581
|
async (d) => {
|
|
2481
2582
|
if (d.button === 0) {
|
|
2482
2583
|
const h = Number(d.currentTarget.value) / 100;
|
|
2483
|
-
|
|
2584
|
+
e.setSeeking(!1);
|
|
2484
2585
|
const m = await n.getDuration();
|
|
2485
2586
|
m !== void 0 && await n.setCurrentTime(m * h);
|
|
2486
2587
|
}
|
|
2487
2588
|
},
|
|
2488
|
-
[
|
|
2589
|
+
[e, n]
|
|
2489
2590
|
);
|
|
2490
2591
|
return /* @__PURE__ */ o(
|
|
2491
|
-
|
|
2592
|
+
Wt,
|
|
2492
2593
|
{
|
|
2493
2594
|
min: 0,
|
|
2494
2595
|
max: 100,
|
|
2495
2596
|
step: 1e-7,
|
|
2496
|
-
value:
|
|
2597
|
+
value: e.percent * 100,
|
|
2497
2598
|
onChange: i,
|
|
2498
2599
|
onMouseDown: a,
|
|
2499
2600
|
onMouseUp: l,
|
|
2500
2601
|
fullWidth: !0,
|
|
2501
2602
|
showRange: !0,
|
|
2502
2603
|
css: { blockSize: 32 },
|
|
2503
|
-
disabled:
|
|
2604
|
+
disabled: t.isEmpty
|
|
2504
2605
|
}
|
|
2505
2606
|
);
|
|
2506
2607
|
}
|
|
2507
|
-
),
|
|
2608
|
+
), Ui = P(
|
|
2508
2609
|
({
|
|
2509
|
-
playerStore:
|
|
2510
|
-
playQueueStore:
|
|
2610
|
+
playerStore: e,
|
|
2611
|
+
playQueueStore: t,
|
|
2511
2612
|
onClickPlayQueueButton: n
|
|
2512
|
-
}) => /* @__PURE__ */ o(
|
|
2613
|
+
}) => /* @__PURE__ */ o(en, { paddingSize: "s", children: /* @__PURE__ */ $(se, { direction: "column", gutterSize: "none", children: [
|
|
2513
2614
|
/* @__PURE__ */ o(J, { children: /* @__PURE__ */ o(
|
|
2514
|
-
|
|
2615
|
+
Oi,
|
|
2515
2616
|
{
|
|
2516
|
-
playerStore:
|
|
2517
|
-
playQueueStore:
|
|
2617
|
+
playerStore: e,
|
|
2618
|
+
playQueueStore: t
|
|
2518
2619
|
}
|
|
2519
2620
|
) }),
|
|
2520
|
-
/* @__PURE__ */ o(J, { children: /* @__PURE__ */
|
|
2621
|
+
/* @__PURE__ */ o(J, { children: /* @__PURE__ */ $(se, { responsive: !1, children: [
|
|
2521
2622
|
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2522
|
-
|
|
2623
|
+
Ti,
|
|
2523
2624
|
{
|
|
2524
|
-
playQueueStore:
|
|
2625
|
+
playQueueStore: t
|
|
2525
2626
|
}
|
|
2526
2627
|
) }),
|
|
2527
2628
|
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2528
|
-
|
|
2629
|
+
yi,
|
|
2529
2630
|
{
|
|
2530
|
-
playerStore:
|
|
2531
|
-
playQueueStore:
|
|
2631
|
+
playerStore: e,
|
|
2632
|
+
playQueueStore: t
|
|
2532
2633
|
}
|
|
2533
2634
|
) }),
|
|
2534
2635
|
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2535
|
-
|
|
2636
|
+
wi,
|
|
2536
2637
|
{
|
|
2537
|
-
playerStore:
|
|
2538
|
-
playQueueStore:
|
|
2638
|
+
playerStore: e,
|
|
2639
|
+
playQueueStore: t,
|
|
2539
2640
|
onClickPlayQueueButton: n
|
|
2540
2641
|
}
|
|
2541
2642
|
) })
|
|
2542
2643
|
] }) })
|
|
2543
2644
|
] }) })
|
|
2544
|
-
),
|
|
2645
|
+
), qi = (e) => /* @__PURE__ */ o(jr, { ...e }), ot = {
|
|
2545
2646
|
width: 400,
|
|
2546
2647
|
height: 225
|
|
2547
|
-
},
|
|
2548
|
-
({ children:
|
|
2549
|
-
const
|
|
2550
|
-
return /* @__PURE__ */
|
|
2551
|
-
|
|
2648
|
+
}, Hi = P(
|
|
2649
|
+
({ children: e }) => {
|
|
2650
|
+
const t = ir();
|
|
2651
|
+
return /* @__PURE__ */ $(
|
|
2652
|
+
lt,
|
|
2552
2653
|
{
|
|
2553
2654
|
panelled: !0,
|
|
2554
2655
|
style: {
|
|
2555
2656
|
minBlockSize: `max(460px, 100vh - ${Jt}px)`
|
|
2556
2657
|
},
|
|
2557
2658
|
children: [
|
|
2558
|
-
|
|
2559
|
-
!
|
|
2659
|
+
e,
|
|
2660
|
+
!t.isEmpty && /* @__PURE__ */ o(Yt, { style: { blockSize: ot.height } })
|
|
2560
2661
|
]
|
|
2561
2662
|
}
|
|
2562
2663
|
);
|
|
2563
2664
|
}
|
|
2564
|
-
),
|
|
2565
|
-
({ playerStore:
|
|
2566
|
-
const n =
|
|
2567
|
-
|
|
2568
|
-
}, [
|
|
2569
|
-
switch (
|
|
2570
|
-
case
|
|
2665
|
+
), Gi = P(
|
|
2666
|
+
({ playerStore: e, playQueueStore: t }) => {
|
|
2667
|
+
const n = U(), i = N(async () => {
|
|
2668
|
+
t.interacted && await n.play();
|
|
2669
|
+
}, [t, n]), a = N(async () => {
|
|
2670
|
+
switch (t.repeat) {
|
|
2671
|
+
case O.One:
|
|
2571
2672
|
await n.setCurrentTime(0);
|
|
2572
2673
|
break;
|
|
2573
|
-
case
|
|
2574
|
-
case
|
|
2575
|
-
if (
|
|
2576
|
-
switch (
|
|
2577
|
-
case
|
|
2578
|
-
|
|
2674
|
+
case O.Off:
|
|
2675
|
+
case O.All:
|
|
2676
|
+
if (t.isLastItem)
|
|
2677
|
+
switch (t.repeat) {
|
|
2678
|
+
case O.Off:
|
|
2679
|
+
e.onEnded();
|
|
2579
2680
|
break;
|
|
2580
|
-
case
|
|
2581
|
-
|
|
2681
|
+
case O.All:
|
|
2682
|
+
t.hasMultipleItems ? await t.goToFirst() : await n.setCurrentTime(0);
|
|
2582
2683
|
break;
|
|
2583
2684
|
}
|
|
2584
2685
|
else
|
|
2585
|
-
await
|
|
2686
|
+
await t.next();
|
|
2586
2687
|
break;
|
|
2587
2688
|
}
|
|
2588
|
-
}, [
|
|
2689
|
+
}, [t, e, n]), l = De(
|
|
2589
2690
|
() => ({
|
|
2590
2691
|
onLoaded: i,
|
|
2591
|
-
onPlay:
|
|
2592
|
-
onPause:
|
|
2692
|
+
onPlay: e.onPlay,
|
|
2693
|
+
onPause: e.onPause,
|
|
2593
2694
|
onEnded: a,
|
|
2594
|
-
onTimeUpdate:
|
|
2695
|
+
onTimeUpdate: e.onTimeUpdate
|
|
2595
2696
|
}),
|
|
2596
|
-
[
|
|
2697
|
+
[e, i, a]
|
|
2597
2698
|
);
|
|
2598
2699
|
return /* @__PURE__ */ o(
|
|
2599
2700
|
"div",
|
|
@@ -2609,25 +2710,25 @@ const nr = Lt(void 0), $i = ({
|
|
|
2609
2710
|
display: "flex",
|
|
2610
2711
|
flexDirection: "column"
|
|
2611
2712
|
},
|
|
2612
|
-
children: /* @__PURE__ */ o("div", { css: { flexGrow: 1, backgroundColor: "black" }, children:
|
|
2613
|
-
|
|
2713
|
+
children: /* @__PURE__ */ o("div", { css: { flexGrow: 1, backgroundColor: "black" }, children: t.currentItem && /* @__PURE__ */ o(
|
|
2714
|
+
Nr,
|
|
2614
2715
|
{
|
|
2615
|
-
src:
|
|
2716
|
+
src: t.currentItem.url,
|
|
2616
2717
|
options: l,
|
|
2617
|
-
onControllerChange:
|
|
2718
|
+
onControllerChange: e.onControllerChange
|
|
2618
2719
|
}
|
|
2619
2720
|
) })
|
|
2620
2721
|
}
|
|
2621
2722
|
);
|
|
2622
2723
|
}
|
|
2623
2724
|
);
|
|
2624
|
-
class
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2725
|
+
class _i {
|
|
2726
|
+
controller = $r;
|
|
2727
|
+
playing = !1;
|
|
2728
|
+
percent = 0;
|
|
2729
|
+
seeking = !1;
|
|
2730
|
+
constructor(t) {
|
|
2731
|
+
t.makeObservable(this, {
|
|
2631
2732
|
controller: Z,
|
|
2632
2733
|
playing: Z,
|
|
2633
2734
|
percent: Z,
|
|
@@ -2642,17 +2743,17 @@ class xi {
|
|
|
2642
2743
|
onTimeUpdate: y.bound
|
|
2643
2744
|
});
|
|
2644
2745
|
}
|
|
2645
|
-
setPlaying(
|
|
2646
|
-
this.playing =
|
|
2746
|
+
setPlaying(t) {
|
|
2747
|
+
this.playing = t;
|
|
2647
2748
|
}
|
|
2648
|
-
setPercent(
|
|
2649
|
-
this.percent =
|
|
2749
|
+
setPercent(t) {
|
|
2750
|
+
this.percent = t;
|
|
2650
2751
|
}
|
|
2651
|
-
setSeeking(
|
|
2652
|
-
this.seeking =
|
|
2752
|
+
setSeeking(t) {
|
|
2753
|
+
this.seeking = t;
|
|
2653
2754
|
}
|
|
2654
|
-
onControllerChange(
|
|
2655
|
-
this.controller =
|
|
2755
|
+
onControllerChange(t) {
|
|
2756
|
+
this.controller = t;
|
|
2656
2757
|
}
|
|
2657
2758
|
onPlay() {
|
|
2658
2759
|
this.playing = !0;
|
|
@@ -2663,32 +2764,32 @@ class xi {
|
|
|
2663
2764
|
onEnded() {
|
|
2664
2765
|
this.playing = !1;
|
|
2665
2766
|
}
|
|
2666
|
-
onTimeUpdate({ percent:
|
|
2667
|
-
|
|
2767
|
+
onTimeUpdate({ percent: t }) {
|
|
2768
|
+
t !== void 0 && (this.seeking || (this.percent = t));
|
|
2668
2769
|
}
|
|
2669
2770
|
}
|
|
2670
|
-
const or =
|
|
2671
|
-
children:
|
|
2771
|
+
const or = zt(void 0), Ji = ({
|
|
2772
|
+
children: e
|
|
2672
2773
|
}) => {
|
|
2673
|
-
const [
|
|
2674
|
-
() => new
|
|
2774
|
+
const [t] = W(
|
|
2775
|
+
() => new _i(new Kt())
|
|
2675
2776
|
);
|
|
2676
|
-
return /* @__PURE__ */ o(or.Provider, { value:
|
|
2677
|
-
},
|
|
2777
|
+
return /* @__PURE__ */ o(or.Provider, { value: t, children: e });
|
|
2778
|
+
}, Ki = () => at(or);
|
|
2678
2779
|
export {
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2780
|
+
Ui as BottomBar,
|
|
2781
|
+
qi as HydrangeanDivaProvider,
|
|
2782
|
+
Hi as MediaPlayerLayout,
|
|
2783
|
+
Gi as MiniPlayer,
|
|
2683
2784
|
Kt as MobXObservableStateProvider,
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2785
|
+
Vi as ObservableStateProvider,
|
|
2786
|
+
ri as PlayQueue,
|
|
2787
|
+
Wi as PlayQueuePage,
|
|
2788
|
+
Yi as PlayQueueStoreProvider,
|
|
2789
|
+
Ji as PlayerStoreProvider,
|
|
2790
|
+
O as RepeatMode,
|
|
2690
2791
|
Jt as bottomBarHeight,
|
|
2691
2792
|
ir as usePlayQueueStore,
|
|
2692
|
-
|
|
2793
|
+
Ki as usePlayerStore
|
|
2693
2794
|
};
|
|
2694
2795
|
//# sourceMappingURL=index.es.js.map
|