@aigamo/hydrangean-diva 0.0.1-alpha.57 → 0.0.1-alpha.59
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 +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +744 -744
- package/dist/index.es.js.map +1 -1
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as ge from "react";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { computed as f, action as u, makeObservable as ae, observable as te, reaction as
|
|
6
|
-
import { useLocalStorageState as
|
|
7
|
-
import { pull as
|
|
8
|
-
import { useNostalgicDiva as Ge, nullPlayerController as
|
|
9
|
-
import { EuiPageTemplate as Je, EuiSpacer as
|
|
2
|
+
import Fr, { forwardRef as _o, useContext as Ae, createContext as qe, useState as Y, useEffect as Ao, memo as de, useCallback as $, useMemo as He, useLayoutEffect as Mr } from "react";
|
|
3
|
+
import ko from "@emotion/cache";
|
|
4
|
+
import Fo from "ajv";
|
|
5
|
+
import { computed as f, action as u, makeObservable as ae, observable as te, reaction as Mo } from "mobx";
|
|
6
|
+
import { useLocalStorageState as bt } from "@aigamo/route-sphere";
|
|
7
|
+
import { pull as vt } from "lodash-es";
|
|
8
|
+
import { useNostalgicDiva as Ge, nullPlayerController as Do, NostalgicDivaProvider as Bo, NostalgicDiva as $o, findVideoService as No } from "@aigamo/nostalgic-diva";
|
|
9
|
+
import { EuiPageTemplate as Je, EuiSpacer as St, EuiButtonIcon as ie, EuiHideFor as mt, EuiFlexGroup as be, EuiIcon as z, EuiContextMenu as Pt, EuiButtonEmpty as It, EuiPopover as Ke, EuiFormRow as Ve, EuiRange as Dr, EuiFlexItem as K, EuiBottomBar as jo, useGeneratedHtmlId as Vt, EuiModalHeaderTitle as Ut, EuiModalHeader as Wt, EuiForm as qt, EuiFieldText as gt, EuiModalBody as Ht, EuiModalFooter as Gt, EuiButton as J, EuiModal as Jt, useEuiTheme as Xe, EuiCheckbox as Ct, EuiTableHeaderCellCheckbox as Br, EuiTableHeaderCell as Te, EuiTableHeader as Kt, EuiTableRowCell as xe, EuiTableRowCellCheckbox as $r, EuiLink as Xt, EuiTableRow as Zt, EuiTable as er, EuiEmptyPrompt as Lo, EuiConfirmModal as Qo } from "@elastic/eui";
|
|
10
10
|
import { observer as P } from "mobx-react-lite";
|
|
11
|
-
import { ArrowShuffleFilled as
|
|
11
|
+
import { ArrowShuffleFilled as zo, ArrowShuffleOffFilled as Yo, PreviousFilled as Vo, SkipBack10Regular as Nr, PauseFilled as Uo, PlayFilled as Wo, SkipForward30Regular as jr, NextFilled as qo, ArrowRepeat1Filled as Ho, ArrowRepeatAllFilled as Go, ArrowRepeatAllOffFilled as Jo, OpenRegular as Ko, Speaker2Regular as Lr, TopSpeedRegular as Xo, DismissRegular as Ze, MoreHorizontalFilled as tr, NavigationPlayRegular as Zo, AddRegular as ke, DeleteRegular as Qr, ArrowUploadRegular as zr, ArrowDownloadRegular as Yr, PlayRegular as rr, RenameRegular as en } from "@fluentui/react-icons";
|
|
12
12
|
import Se from "ez-modal-react";
|
|
13
|
-
import { ReactSortable as
|
|
14
|
-
import { useRouter as
|
|
15
|
-
const
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
var e =
|
|
13
|
+
import { ReactSortable as or } from "react-sortablejs";
|
|
14
|
+
import { useRouter as nr } from "@tanstack/react-router";
|
|
15
|
+
const Vr = 81;
|
|
16
|
+
var yt = { exports: {} }, ze = {};
|
|
17
|
+
var Cr;
|
|
18
|
+
function tn() {
|
|
19
|
+
if (Cr) return ze;
|
|
20
|
+
Cr = 1;
|
|
21
|
+
var e = Fr, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
22
|
function l(y, m, g) {
|
|
23
23
|
var I, T = {}, Z = null, W = null;
|
|
24
24
|
g !== void 0 && (Z = "" + g), m.key !== void 0 && (Z = "" + m.key), m.ref !== void 0 && (W = m.ref);
|
|
@@ -29,61 +29,61 @@ function en() {
|
|
|
29
29
|
return ze.Fragment = r, ze.jsx = l, ze.jsxs = l, ze;
|
|
30
30
|
}
|
|
31
31
|
var Ye = {};
|
|
32
|
-
var
|
|
33
|
-
function
|
|
34
|
-
return
|
|
35
|
-
var e =
|
|
36
|
-
function he(
|
|
37
|
-
if (
|
|
32
|
+
var Tr;
|
|
33
|
+
function rn() {
|
|
34
|
+
return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
35
|
+
var e = Fr, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), a = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), l = /* @__PURE__ */ Symbol.for("react.provider"), y = /* @__PURE__ */ Symbol.for("react.context"), m = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), I = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), Z = /* @__PURE__ */ Symbol.for("react.lazy"), W = /* @__PURE__ */ Symbol.for("react.offscreen"), q = Symbol.iterator, le = "@@iterator";
|
|
36
|
+
function he(n) {
|
|
37
|
+
if (n === null || typeof n != "object")
|
|
38
38
|
return null;
|
|
39
|
-
var c = q &&
|
|
39
|
+
var c = q && n[q] || n[le];
|
|
40
40
|
return typeof c == "function" ? c : null;
|
|
41
41
|
}
|
|
42
42
|
var re = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
43
|
-
function F(
|
|
43
|
+
function F(n) {
|
|
44
44
|
{
|
|
45
45
|
for (var c = arguments.length, p = new Array(c > 1 ? c - 1 : 0), v = 1; v < c; v++)
|
|
46
46
|
p[v - 1] = arguments[v];
|
|
47
|
-
H("error",
|
|
47
|
+
H("error", n, p);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function H(
|
|
50
|
+
function H(n, c, p) {
|
|
51
51
|
{
|
|
52
52
|
var v = re.ReactDebugCurrentFrame, E = v.getStackAddendum();
|
|
53
53
|
E !== "" && (c += "%s", p = p.concat([E]));
|
|
54
54
|
var k = p.map(function(x) {
|
|
55
55
|
return String(x);
|
|
56
56
|
});
|
|
57
|
-
k.unshift("Warning: " + c), Function.prototype.apply.call(console[
|
|
57
|
+
k.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, k);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
var L = !1, d = !1, oe = !1, Me = !1, nt = !1, it;
|
|
61
61
|
it = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
62
|
-
function
|
|
63
|
-
return !!(typeof
|
|
62
|
+
function Et(n) {
|
|
63
|
+
return !!(typeof n == "string" || typeof n == "function" || n === a || n === s || nt || n === i || n === g || n === I || Me || n === W || L || d || oe || typeof n == "object" && n !== null && (n.$$typeof === Z || n.$$typeof === T || n.$$typeof === l || n.$$typeof === y || n.$$typeof === m || // This needs to include all possible module reference object
|
|
64
64
|
// types supported by any Flight configuration anywhere since
|
|
65
65
|
// we don't know which Flight build this will end up being used
|
|
66
66
|
// with.
|
|
67
|
-
|
|
67
|
+
n.$$typeof === it || n.getModuleId !== void 0));
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
var v =
|
|
69
|
+
function Rt(n, c, p) {
|
|
70
|
+
var v = n.displayName;
|
|
71
71
|
if (v)
|
|
72
72
|
return v;
|
|
73
73
|
var E = c.displayName || c.name || "";
|
|
74
74
|
return E !== "" ? p + "(" + E + ")" : p;
|
|
75
75
|
}
|
|
76
|
-
function at(
|
|
77
|
-
return
|
|
76
|
+
function at(n) {
|
|
77
|
+
return n.displayName || "Context";
|
|
78
78
|
}
|
|
79
|
-
function fe(
|
|
80
|
-
if (
|
|
79
|
+
function fe(n) {
|
|
80
|
+
if (n == null)
|
|
81
81
|
return null;
|
|
82
|
-
if (typeof
|
|
83
|
-
return
|
|
84
|
-
if (typeof
|
|
85
|
-
return
|
|
86
|
-
switch (
|
|
82
|
+
if (typeof n.tag == "number" && F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
83
|
+
return n.displayName || n.name || null;
|
|
84
|
+
if (typeof n == "string")
|
|
85
|
+
return n;
|
|
86
|
+
switch (n) {
|
|
87
87
|
case a:
|
|
88
88
|
return "Fragment";
|
|
89
89
|
case r:
|
|
@@ -97,21 +97,21 @@ function tn() {
|
|
|
97
97
|
case I:
|
|
98
98
|
return "SuspenseList";
|
|
99
99
|
}
|
|
100
|
-
if (typeof
|
|
101
|
-
switch (
|
|
100
|
+
if (typeof n == "object")
|
|
101
|
+
switch (n.$$typeof) {
|
|
102
102
|
case y:
|
|
103
|
-
var c =
|
|
103
|
+
var c = n;
|
|
104
104
|
return at(c) + ".Consumer";
|
|
105
105
|
case l:
|
|
106
|
-
var p =
|
|
106
|
+
var p = n;
|
|
107
107
|
return at(p._context) + ".Provider";
|
|
108
108
|
case m:
|
|
109
|
-
return
|
|
109
|
+
return Rt(n, n.render, "ForwardRef");
|
|
110
110
|
case T:
|
|
111
|
-
var v =
|
|
112
|
-
return v !== null ? v : fe(
|
|
111
|
+
var v = n.displayName || null;
|
|
112
|
+
return v !== null ? v : fe(n.type) || "Memo";
|
|
113
113
|
case Z: {
|
|
114
|
-
var E =
|
|
114
|
+
var E = n, k = E._payload, x = E._init;
|
|
115
115
|
try {
|
|
116
116
|
return fe(x(k));
|
|
117
117
|
} catch {
|
|
@@ -125,57 +125,57 @@ function tn() {
|
|
|
125
125
|
function pt() {
|
|
126
126
|
}
|
|
127
127
|
pt.__reactDisabledLog = !0;
|
|
128
|
-
function
|
|
128
|
+
function Ot() {
|
|
129
129
|
{
|
|
130
130
|
if (Pe === 0) {
|
|
131
131
|
st = console.log, lt = console.info, De = console.warn, ct = console.error, Be = console.group, ut = console.groupCollapsed, dt = console.groupEnd;
|
|
132
|
-
var
|
|
132
|
+
var n = {
|
|
133
133
|
configurable: !0,
|
|
134
134
|
enumerable: !0,
|
|
135
135
|
value: pt,
|
|
136
136
|
writable: !0
|
|
137
137
|
};
|
|
138
138
|
Object.defineProperties(console, {
|
|
139
|
-
info:
|
|
140
|
-
log:
|
|
141
|
-
warn:
|
|
142
|
-
error:
|
|
143
|
-
group:
|
|
144
|
-
groupCollapsed:
|
|
145
|
-
groupEnd:
|
|
139
|
+
info: n,
|
|
140
|
+
log: n,
|
|
141
|
+
warn: n,
|
|
142
|
+
error: n,
|
|
143
|
+
group: n,
|
|
144
|
+
groupCollapsed: n,
|
|
145
|
+
groupEnd: n
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
Pe++;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function _t() {
|
|
152
152
|
{
|
|
153
153
|
if (Pe--, Pe === 0) {
|
|
154
|
-
var
|
|
154
|
+
var n = {
|
|
155
155
|
configurable: !0,
|
|
156
156
|
enumerable: !0,
|
|
157
157
|
writable: !0
|
|
158
158
|
};
|
|
159
159
|
Object.defineProperties(console, {
|
|
160
|
-
log: ve({},
|
|
160
|
+
log: ve({}, n, {
|
|
161
161
|
value: st
|
|
162
162
|
}),
|
|
163
|
-
info: ve({},
|
|
163
|
+
info: ve({}, n, {
|
|
164
164
|
value: lt
|
|
165
165
|
}),
|
|
166
|
-
warn: ve({},
|
|
166
|
+
warn: ve({}, n, {
|
|
167
167
|
value: De
|
|
168
168
|
}),
|
|
169
|
-
error: ve({},
|
|
169
|
+
error: ve({}, n, {
|
|
170
170
|
value: ct
|
|
171
171
|
}),
|
|
172
|
-
group: ve({},
|
|
172
|
+
group: ve({}, n, {
|
|
173
173
|
value: Be
|
|
174
174
|
}),
|
|
175
|
-
groupCollapsed: ve({},
|
|
175
|
+
groupCollapsed: ve({}, n, {
|
|
176
176
|
value: ut
|
|
177
177
|
}),
|
|
178
|
-
groupEnd: ve({},
|
|
178
|
+
groupEnd: ve({}, n, {
|
|
179
179
|
value: dt
|
|
180
180
|
})
|
|
181
181
|
});
|
|
@@ -184,7 +184,7 @@ function tn() {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
var $e = re.ReactCurrentDispatcher, Ne;
|
|
187
|
-
function we(
|
|
187
|
+
function we(n, c, p) {
|
|
188
188
|
{
|
|
189
189
|
if (Ne === void 0)
|
|
190
190
|
try {
|
|
@@ -194,19 +194,19 @@ function tn() {
|
|
|
194
194
|
Ne = v && v[1] || "";
|
|
195
195
|
}
|
|
196
196
|
return `
|
|
197
|
-
` + Ne +
|
|
197
|
+
` + Ne + n;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
var je = !1, Ee;
|
|
201
201
|
{
|
|
202
|
-
var
|
|
203
|
-
Ee = new
|
|
202
|
+
var At = typeof WeakMap == "function" ? WeakMap : Map;
|
|
203
|
+
Ee = new At();
|
|
204
204
|
}
|
|
205
|
-
function h(
|
|
206
|
-
if (!
|
|
205
|
+
function h(n, c) {
|
|
206
|
+
if (!n || je)
|
|
207
207
|
return "";
|
|
208
208
|
{
|
|
209
|
-
var p = Ee.get(
|
|
209
|
+
var p = Ee.get(n);
|
|
210
210
|
if (p !== void 0)
|
|
211
211
|
return p;
|
|
212
212
|
}
|
|
@@ -215,7 +215,7 @@ function tn() {
|
|
|
215
215
|
var E = Error.prepareStackTrace;
|
|
216
216
|
Error.prepareStackTrace = void 0;
|
|
217
217
|
var k;
|
|
218
|
-
k = $e.current, $e.current = null,
|
|
218
|
+
k = $e.current, $e.current = null, Ot();
|
|
219
219
|
try {
|
|
220
220
|
if (c) {
|
|
221
221
|
var x = function() {
|
|
@@ -231,14 +231,14 @@ function tn() {
|
|
|
231
231
|
} catch (ne) {
|
|
232
232
|
v = ne;
|
|
233
233
|
}
|
|
234
|
-
Reflect.construct(
|
|
234
|
+
Reflect.construct(n, [], x);
|
|
235
235
|
} else {
|
|
236
236
|
try {
|
|
237
237
|
x.call();
|
|
238
238
|
} catch (ne) {
|
|
239
239
|
v = ne;
|
|
240
240
|
}
|
|
241
|
-
|
|
241
|
+
n.call(x.prototype);
|
|
242
242
|
}
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
@@ -246,7 +246,7 @@ function tn() {
|
|
|
246
246
|
} catch (ne) {
|
|
247
247
|
v = ne;
|
|
248
248
|
}
|
|
249
|
-
|
|
249
|
+
n();
|
|
250
250
|
}
|
|
251
251
|
} catch (ne) {
|
|
252
252
|
if (ne && v && typeof ne.stack == "string") {
|
|
@@ -261,46 +261,46 @@ function tn() {
|
|
|
261
261
|
if (Q--, G--, G < 0 || C[Q] !== ee[G]) {
|
|
262
262
|
var ce = `
|
|
263
263
|
` + C[Q].replace(" at new ", " at ");
|
|
264
|
-
return
|
|
264
|
+
return n.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", n.displayName)), typeof n == "function" && Ee.set(n, ce), ce;
|
|
265
265
|
}
|
|
266
266
|
while (Q >= 1 && G >= 0);
|
|
267
267
|
break;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
} finally {
|
|
271
|
-
je = !1, $e.current = k,
|
|
271
|
+
je = !1, $e.current = k, _t(), Error.prepareStackTrace = E;
|
|
272
272
|
}
|
|
273
|
-
var _e =
|
|
274
|
-
return typeof
|
|
273
|
+
var _e = n ? n.displayName || n.name : "", Ce = _e ? we(_e) : "";
|
|
274
|
+
return typeof n == "function" && Ee.set(n, Ce), Ce;
|
|
275
275
|
}
|
|
276
|
-
function Le(
|
|
277
|
-
return h(
|
|
276
|
+
function Le(n, c, p) {
|
|
277
|
+
return h(n, !1);
|
|
278
278
|
}
|
|
279
|
-
function Re(
|
|
280
|
-
var c =
|
|
279
|
+
function Re(n) {
|
|
280
|
+
var c = n.prototype;
|
|
281
281
|
return !!(c && c.isReactComponent);
|
|
282
282
|
}
|
|
283
|
-
function Ie(
|
|
284
|
-
if (
|
|
283
|
+
function Ie(n, c, p) {
|
|
284
|
+
if (n == null)
|
|
285
285
|
return "";
|
|
286
|
-
if (typeof
|
|
287
|
-
return h(
|
|
288
|
-
if (typeof
|
|
289
|
-
return we(
|
|
290
|
-
switch (
|
|
286
|
+
if (typeof n == "function")
|
|
287
|
+
return h(n, Re(n));
|
|
288
|
+
if (typeof n == "string")
|
|
289
|
+
return we(n);
|
|
290
|
+
switch (n) {
|
|
291
291
|
case g:
|
|
292
292
|
return we("Suspense");
|
|
293
293
|
case I:
|
|
294
294
|
return we("SuspenseList");
|
|
295
295
|
}
|
|
296
|
-
if (typeof
|
|
297
|
-
switch (
|
|
296
|
+
if (typeof n == "object")
|
|
297
|
+
switch (n.$$typeof) {
|
|
298
298
|
case m:
|
|
299
|
-
return Le(
|
|
299
|
+
return Le(n.render);
|
|
300
300
|
case T:
|
|
301
|
-
return Ie(
|
|
301
|
+
return Ie(n.type, c, p);
|
|
302
302
|
case Z: {
|
|
303
|
-
var v =
|
|
303
|
+
var v = n, E = v._payload, k = v._init;
|
|
304
304
|
try {
|
|
305
305
|
return Ie(k(E), c, p);
|
|
306
306
|
} catch {
|
|
@@ -309,110 +309,110 @@ function tn() {
|
|
|
309
309
|
}
|
|
310
310
|
return "";
|
|
311
311
|
}
|
|
312
|
-
var Qe = Object.prototype.hasOwnProperty,
|
|
313
|
-
function ft(
|
|
314
|
-
if (
|
|
315
|
-
var c =
|
|
316
|
-
|
|
312
|
+
var Qe = Object.prototype.hasOwnProperty, cr = {}, ur = re.ReactDebugCurrentFrame;
|
|
313
|
+
function ft(n) {
|
|
314
|
+
if (n) {
|
|
315
|
+
var c = n._owner, p = Ie(n.type, n._source, c ? c.type : null);
|
|
316
|
+
ur.setExtraStackFrame(p);
|
|
317
317
|
} else
|
|
318
|
-
|
|
318
|
+
ur.setExtraStackFrame(null);
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function so(n, c, p, v, E) {
|
|
321
321
|
{
|
|
322
322
|
var k = Function.call.bind(Qe);
|
|
323
|
-
for (var x in
|
|
324
|
-
if (k(
|
|
323
|
+
for (var x in n)
|
|
324
|
+
if (k(n, x)) {
|
|
325
325
|
var C = void 0;
|
|
326
326
|
try {
|
|
327
|
-
if (typeof
|
|
328
|
-
var ee = Error((v || "React class") + ": " + p + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
327
|
+
if (typeof n[x] != "function") {
|
|
328
|
+
var ee = Error((v || "React class") + ": " + p + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
329
329
|
throw ee.name = "Invariant Violation", ee;
|
|
330
330
|
}
|
|
331
|
-
C =
|
|
331
|
+
C = n[x](c, x, v, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
332
332
|
} catch (Q) {
|
|
333
333
|
C = Q;
|
|
334
334
|
}
|
|
335
|
-
C && !(C instanceof Error) && (ft(E), F("%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", p, x, typeof C), ft(null)), C instanceof Error && !(C.message in
|
|
335
|
+
C && !(C instanceof Error) && (ft(E), F("%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", p, x, typeof C), ft(null)), C instanceof Error && !(C.message in cr) && (cr[C.message] = !0, ft(E), F("Failed %s type: %s", p, C.message), ft(null));
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
var
|
|
340
|
-
function
|
|
341
|
-
return
|
|
339
|
+
var lo = Array.isArray;
|
|
340
|
+
function kt(n) {
|
|
341
|
+
return lo(n);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function co(n) {
|
|
344
344
|
{
|
|
345
|
-
var c = typeof Symbol == "function" && Symbol.toStringTag, p = c &&
|
|
345
|
+
var c = typeof Symbol == "function" && Symbol.toStringTag, p = c && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
346
346
|
return p;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function uo(n) {
|
|
350
350
|
try {
|
|
351
|
-
return
|
|
351
|
+
return dr(n), !1;
|
|
352
352
|
} catch {
|
|
353
353
|
return !0;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
return "" +
|
|
356
|
+
function dr(n) {
|
|
357
|
+
return "" + n;
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
if (
|
|
361
|
-
return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
359
|
+
function pr(n) {
|
|
360
|
+
if (uo(n))
|
|
361
|
+
return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", co(n)), dr(n);
|
|
362
362
|
}
|
|
363
|
-
var
|
|
363
|
+
var fr = re.ReactCurrentOwner, po = {
|
|
364
364
|
key: !0,
|
|
365
365
|
ref: !0,
|
|
366
366
|
__self: !0,
|
|
367
367
|
__source: !0
|
|
368
|
-
},
|
|
369
|
-
function
|
|
370
|
-
if (Qe.call(
|
|
371
|
-
var c = Object.getOwnPropertyDescriptor(
|
|
368
|
+
}, mr, yr;
|
|
369
|
+
function fo(n) {
|
|
370
|
+
if (Qe.call(n, "ref")) {
|
|
371
|
+
var c = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
372
372
|
if (c && c.isReactWarning)
|
|
373
373
|
return !1;
|
|
374
374
|
}
|
|
375
|
-
return
|
|
375
|
+
return n.ref !== void 0;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
if (Qe.call(
|
|
379
|
-
var c = Object.getOwnPropertyDescriptor(
|
|
377
|
+
function mo(n) {
|
|
378
|
+
if (Qe.call(n, "key")) {
|
|
379
|
+
var c = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
380
380
|
if (c && c.isReactWarning)
|
|
381
381
|
return !1;
|
|
382
382
|
}
|
|
383
|
-
return
|
|
383
|
+
return n.key !== void 0;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
typeof
|
|
385
|
+
function yo(n, c) {
|
|
386
|
+
typeof n.ref == "string" && fr.current;
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function ho(n, c) {
|
|
389
389
|
{
|
|
390
390
|
var p = function() {
|
|
391
|
-
|
|
391
|
+
mr || (mr = !0, F("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
392
392
|
};
|
|
393
|
-
p.isReactWarning = !0, Object.defineProperty(
|
|
393
|
+
p.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
394
394
|
get: p,
|
|
395
395
|
configurable: !0
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function vo(n, c) {
|
|
400
400
|
{
|
|
401
401
|
var p = function() {
|
|
402
|
-
|
|
402
|
+
yr || (yr = !0, F("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
403
403
|
};
|
|
404
|
-
p.isReactWarning = !0, Object.defineProperty(
|
|
404
|
+
p.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
405
405
|
get: p,
|
|
406
406
|
configurable: !0
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
var
|
|
410
|
+
var go = function(n, c, p, v, E, k, x) {
|
|
411
411
|
var C = {
|
|
412
412
|
// This tag allows us to uniquely identify this as a React Element
|
|
413
413
|
$$typeof: t,
|
|
414
414
|
// Built-in properties that belong on the element
|
|
415
|
-
type:
|
|
415
|
+
type: n,
|
|
416
416
|
key: c,
|
|
417
417
|
ref: p,
|
|
418
418
|
props: x,
|
|
@@ -436,58 +436,58 @@ function tn() {
|
|
|
436
436
|
value: E
|
|
437
437
|
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
438
438
|
};
|
|
439
|
-
function
|
|
439
|
+
function bo(n, c, p, v, E) {
|
|
440
440
|
{
|
|
441
441
|
var k, x = {}, C = null, ee = null;
|
|
442
|
-
p !== void 0 && (
|
|
442
|
+
p !== void 0 && (pr(p), C = "" + p), mo(c) && (pr(c.key), C = "" + c.key), fo(c) && (ee = c.ref, yo(c, E));
|
|
443
443
|
for (k in c)
|
|
444
|
-
Qe.call(c, k) && !
|
|
445
|
-
if (
|
|
446
|
-
var Q =
|
|
444
|
+
Qe.call(c, k) && !po.hasOwnProperty(k) && (x[k] = c[k]);
|
|
445
|
+
if (n && n.defaultProps) {
|
|
446
|
+
var Q = n.defaultProps;
|
|
447
447
|
for (k in Q)
|
|
448
448
|
x[k] === void 0 && (x[k] = Q[k]);
|
|
449
449
|
}
|
|
450
450
|
if (C || ee) {
|
|
451
|
-
var G = typeof
|
|
452
|
-
C &&
|
|
451
|
+
var G = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
452
|
+
C && ho(x, G), ee && vo(x, G);
|
|
453
453
|
}
|
|
454
|
-
return
|
|
454
|
+
return go(n, C, ee, E, v, fr.current, x);
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
var
|
|
458
|
-
function Oe(
|
|
459
|
-
if (
|
|
460
|
-
var c =
|
|
461
|
-
|
|
457
|
+
var Ft = re.ReactCurrentOwner, hr = re.ReactDebugCurrentFrame;
|
|
458
|
+
function Oe(n) {
|
|
459
|
+
if (n) {
|
|
460
|
+
var c = n._owner, p = Ie(n.type, n._source, c ? c.type : null);
|
|
461
|
+
hr.setExtraStackFrame(p);
|
|
462
462
|
} else
|
|
463
|
-
|
|
463
|
+
hr.setExtraStackFrame(null);
|
|
464
464
|
}
|
|
465
|
-
var
|
|
466
|
-
|
|
467
|
-
function
|
|
468
|
-
return typeof
|
|
465
|
+
var Mt;
|
|
466
|
+
Mt = !1;
|
|
467
|
+
function Dt(n) {
|
|
468
|
+
return typeof n == "object" && n !== null && n.$$typeof === t;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function vr() {
|
|
471
471
|
{
|
|
472
|
-
if (
|
|
473
|
-
var
|
|
474
|
-
if (
|
|
472
|
+
if (Ft.current) {
|
|
473
|
+
var n = fe(Ft.current.type);
|
|
474
|
+
if (n)
|
|
475
475
|
return `
|
|
476
476
|
|
|
477
|
-
Check the render method of \`` +
|
|
477
|
+
Check the render method of \`` + n + "`.";
|
|
478
478
|
}
|
|
479
479
|
return "";
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function So(n) {
|
|
483
483
|
return "";
|
|
484
484
|
}
|
|
485
|
-
var
|
|
486
|
-
function
|
|
485
|
+
var gr = {};
|
|
486
|
+
function Po(n) {
|
|
487
487
|
{
|
|
488
|
-
var c =
|
|
488
|
+
var c = vr();
|
|
489
489
|
if (!c) {
|
|
490
|
-
var p = typeof
|
|
490
|
+
var p = typeof n == "string" ? n : n.displayName || n.name;
|
|
491
491
|
p && (c = `
|
|
492
492
|
|
|
493
493
|
Check the top-level render call using <` + p + ">.");
|
|
@@ -495,41 +495,41 @@ Check the top-level render call using <` + p + ">.");
|
|
|
495
495
|
return c;
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function br(n, c) {
|
|
499
499
|
{
|
|
500
|
-
if (!
|
|
500
|
+
if (!n._store || n._store.validated || n.key != null)
|
|
501
501
|
return;
|
|
502
|
-
|
|
503
|
-
var p =
|
|
504
|
-
if (
|
|
502
|
+
n._store.validated = !0;
|
|
503
|
+
var p = Po(c);
|
|
504
|
+
if (gr[p])
|
|
505
505
|
return;
|
|
506
|
-
|
|
506
|
+
gr[p] = !0;
|
|
507
507
|
var v = "";
|
|
508
|
-
|
|
508
|
+
n && n._owner && n._owner !== Ft.current && (v = " It was passed a child from " + fe(n._owner.type) + "."), Oe(n), F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, v), Oe(null);
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function Sr(n, c) {
|
|
512
512
|
{
|
|
513
|
-
if (typeof
|
|
513
|
+
if (typeof n != "object")
|
|
514
514
|
return;
|
|
515
|
-
if (
|
|
516
|
-
for (var p = 0; p <
|
|
517
|
-
var v =
|
|
518
|
-
|
|
515
|
+
if (kt(n))
|
|
516
|
+
for (var p = 0; p < n.length; p++) {
|
|
517
|
+
var v = n[p];
|
|
518
|
+
Dt(v) && br(v, c);
|
|
519
519
|
}
|
|
520
|
-
else if (
|
|
521
|
-
|
|
522
|
-
else if (
|
|
523
|
-
var E = he(
|
|
524
|
-
if (typeof E == "function" && E !==
|
|
525
|
-
for (var k = E.call(
|
|
526
|
-
|
|
520
|
+
else if (Dt(n))
|
|
521
|
+
n._store && (n._store.validated = !0);
|
|
522
|
+
else if (n) {
|
|
523
|
+
var E = he(n);
|
|
524
|
+
if (typeof E == "function" && E !== n.entries)
|
|
525
|
+
for (var k = E.call(n), x; !(x = k.next()).done; )
|
|
526
|
+
Dt(x.value) && br(x.value, c);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Io(n) {
|
|
531
531
|
{
|
|
532
|
-
var c =
|
|
532
|
+
var c = n.type;
|
|
533
533
|
if (c == null || typeof c == "string")
|
|
534
534
|
return;
|
|
535
535
|
var p;
|
|
@@ -543,91 +543,91 @@ Check the top-level render call using <` + p + ">.");
|
|
|
543
543
|
return;
|
|
544
544
|
if (p) {
|
|
545
545
|
var v = fe(c);
|
|
546
|
-
|
|
547
|
-
} else if (c.PropTypes !== void 0 && !
|
|
548
|
-
|
|
546
|
+
so(p, n.props, "prop", v, n);
|
|
547
|
+
} else if (c.PropTypes !== void 0 && !Mt) {
|
|
548
|
+
Mt = !0;
|
|
549
549
|
var E = fe(c);
|
|
550
550
|
F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
551
551
|
}
|
|
552
552
|
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function Co(n) {
|
|
556
556
|
{
|
|
557
|
-
for (var c = Object.keys(
|
|
557
|
+
for (var c = Object.keys(n.props), p = 0; p < c.length; p++) {
|
|
558
558
|
var v = c[p];
|
|
559
559
|
if (v !== "children" && v !== "key") {
|
|
560
|
-
Oe(
|
|
560
|
+
Oe(n), F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Oe(null);
|
|
561
561
|
break;
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
|
|
564
|
+
n.ref !== null && (Oe(n), F("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
var
|
|
568
|
-
function
|
|
567
|
+
var Pr = {};
|
|
568
|
+
function Ir(n, c, p, v, E, k) {
|
|
569
569
|
{
|
|
570
|
-
var x =
|
|
570
|
+
var x = Et(n);
|
|
571
571
|
if (!x) {
|
|
572
572
|
var C = "";
|
|
573
|
-
(
|
|
574
|
-
var ee =
|
|
575
|
-
ee ? C += ee : C +=
|
|
573
|
+
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
574
|
+
var ee = So();
|
|
575
|
+
ee ? C += ee : C += vr();
|
|
576
576
|
var Q;
|
|
577
|
-
|
|
577
|
+
n === null ? Q = "null" : kt(n) ? Q = "array" : n !== void 0 && n.$$typeof === t ? (Q = "<" + (fe(n.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof n, F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, C);
|
|
578
578
|
}
|
|
579
|
-
var G =
|
|
579
|
+
var G = bo(n, c, p, E, k);
|
|
580
580
|
if (G == null)
|
|
581
581
|
return G;
|
|
582
582
|
if (x) {
|
|
583
583
|
var ce = c.children;
|
|
584
584
|
if (ce !== void 0)
|
|
585
585
|
if (v)
|
|
586
|
-
if (
|
|
586
|
+
if (kt(ce)) {
|
|
587
587
|
for (var _e = 0; _e < ce.length; _e++)
|
|
588
|
-
|
|
588
|
+
Sr(ce[_e], n);
|
|
589
589
|
Object.freeze && Object.freeze(ce);
|
|
590
590
|
} else
|
|
591
591
|
F("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
592
592
|
else
|
|
593
|
-
|
|
593
|
+
Sr(ce, n);
|
|
594
594
|
}
|
|
595
595
|
if (Qe.call(c, "key")) {
|
|
596
|
-
var Ce = fe(
|
|
597
|
-
return
|
|
598
|
-
}),
|
|
599
|
-
if (!
|
|
600
|
-
var
|
|
596
|
+
var Ce = fe(n), ne = Object.keys(c).filter(function(Oo) {
|
|
597
|
+
return Oo !== "key";
|
|
598
|
+
}), Bt = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
599
|
+
if (!Pr[Ce + Bt]) {
|
|
600
|
+
var Ro = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
|
|
601
601
|
F(`A props object containing a "key" prop is being spread into JSX:
|
|
602
602
|
let props = %s;
|
|
603
603
|
<%s {...props} />
|
|
604
604
|
React keys must be passed directly to JSX without using spread:
|
|
605
605
|
let props = %s;
|
|
606
|
-
<%s key={someKey} {...props} />`,
|
|
606
|
+
<%s key={someKey} {...props} />`, Bt, Ce, Ro, Ce), Pr[Ce + Bt] = !0;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
return
|
|
609
|
+
return n === a ? Co(G) : Io(G), G;
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function
|
|
613
|
-
return
|
|
612
|
+
function To(n, c, p) {
|
|
613
|
+
return Ir(n, c, p, !0);
|
|
614
614
|
}
|
|
615
|
-
function
|
|
616
|
-
return
|
|
615
|
+
function xo(n, c, p) {
|
|
616
|
+
return Ir(n, c, p, !1);
|
|
617
617
|
}
|
|
618
|
-
var
|
|
619
|
-
Ye.Fragment = a, Ye.jsx =
|
|
618
|
+
var wo = xo, Eo = To;
|
|
619
|
+
Ye.Fragment = a, Ye.jsx = wo, Ye.jsxs = Eo;
|
|
620
620
|
})()), Ye;
|
|
621
621
|
}
|
|
622
|
-
var Tr;
|
|
623
|
-
function rn() {
|
|
624
|
-
return Tr || (Tr = 1, process.env.NODE_ENV === "production" ? mt.exports = en() : mt.exports = tn()), mt.exports;
|
|
625
|
-
}
|
|
626
|
-
var Ue = rn(), yt = { exports: {} }, R = {};
|
|
627
622
|
var xr;
|
|
628
623
|
function on() {
|
|
629
|
-
|
|
630
|
-
|
|
624
|
+
return xr || (xr = 1, process.env.NODE_ENV === "production" ? yt.exports = tn() : yt.exports = rn()), yt.exports;
|
|
625
|
+
}
|
|
626
|
+
var Ue = on(), ht = { exports: {} }, R = {};
|
|
627
|
+
var wr;
|
|
628
|
+
function nn() {
|
|
629
|
+
if (wr) return R;
|
|
630
|
+
wr = 1;
|
|
631
631
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, a = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, y = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, m = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, I = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, T = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, Z = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, W = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, q = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, le = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, he = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, re = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, F = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
632
632
|
function H(d) {
|
|
633
633
|
if (typeof d == "object" && d !== null) {
|
|
@@ -691,9 +691,9 @@ function on() {
|
|
|
691
691
|
}, R.typeOf = H, R;
|
|
692
692
|
}
|
|
693
693
|
var O = {};
|
|
694
|
-
var
|
|
695
|
-
function
|
|
696
|
-
return
|
|
694
|
+
var Er;
|
|
695
|
+
function an() {
|
|
696
|
+
return Er || (Er = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
697
697
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, a = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, y = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, m = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, I = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, T = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, Z = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, W = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, q = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, le = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, he = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, re = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, F = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
698
698
|
function H(h) {
|
|
699
699
|
return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -731,7 +731,7 @@ function nn() {
|
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
|
-
var d = m, oe = g, Me = y, nt = l, it = t,
|
|
734
|
+
var d = m, oe = g, Me = y, nt = l, it = t, Et = I, Rt = a, at = q, fe = W, ve = r, Pe = s, st = i, lt = T, De = !1;
|
|
735
735
|
function ct(h) {
|
|
736
736
|
return De || (De = !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.")), Be(h) || L(h) === m;
|
|
737
737
|
}
|
|
@@ -747,10 +747,10 @@ function nn() {
|
|
|
747
747
|
function pt(h) {
|
|
748
748
|
return typeof h == "object" && h !== null && h.$$typeof === t;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Ot(h) {
|
|
751
751
|
return L(h) === I;
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function _t(h) {
|
|
754
754
|
return L(h) === a;
|
|
755
755
|
}
|
|
756
756
|
function $e(h) {
|
|
@@ -768,21 +768,21 @@ function nn() {
|
|
|
768
768
|
function Ee(h) {
|
|
769
769
|
return L(h) === i;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function At(h) {
|
|
772
772
|
return L(h) === T;
|
|
773
773
|
}
|
|
774
|
-
O.AsyncMode = d, O.ConcurrentMode = oe, O.ContextConsumer = Me, O.ContextProvider = nt, O.Element = it, O.ForwardRef =
|
|
774
|
+
O.AsyncMode = d, O.ConcurrentMode = oe, O.ContextConsumer = Me, O.ContextProvider = nt, O.Element = it, O.ForwardRef = Et, O.Fragment = Rt, O.Lazy = at, O.Memo = fe, O.Portal = ve, O.Profiler = Pe, O.StrictMode = st, O.Suspense = lt, O.isAsyncMode = ct, O.isConcurrentMode = Be, O.isContextConsumer = ut, O.isContextProvider = dt, O.isElement = pt, O.isForwardRef = Ot, O.isFragment = _t, O.isLazy = $e, O.isMemo = Ne, O.isPortal = we, O.isProfiler = je, O.isStrictMode = Ee, O.isSuspense = At, O.isValidElementType = H, O.typeOf = L;
|
|
775
775
|
})()), O;
|
|
776
776
|
}
|
|
777
|
-
var
|
|
778
|
-
function an() {
|
|
779
|
-
return Er || (Er = 1, process.env.NODE_ENV === "production" ? yt.exports = on() : yt.exports = nn()), yt.exports;
|
|
780
|
-
}
|
|
781
|
-
var Bt, Rr;
|
|
777
|
+
var Rr;
|
|
782
778
|
function sn() {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
779
|
+
return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? ht.exports = nn() : ht.exports = an()), ht.exports;
|
|
780
|
+
}
|
|
781
|
+
var $t, Or;
|
|
782
|
+
function ln() {
|
|
783
|
+
if (Or) return $t;
|
|
784
|
+
Or = 1;
|
|
785
|
+
var e = sn(), t = {
|
|
786
786
|
childContextTypes: !0,
|
|
787
787
|
contextType: !0,
|
|
788
788
|
contextTypes: !0,
|
|
@@ -842,17 +842,17 @@ function sn() {
|
|
|
842
842
|
}
|
|
843
843
|
return q;
|
|
844
844
|
}
|
|
845
|
-
return
|
|
845
|
+
return $t = W, $t;
|
|
846
846
|
}
|
|
847
|
-
|
|
848
|
-
var
|
|
849
|
-
function
|
|
847
|
+
ln();
|
|
848
|
+
var cn = !0;
|
|
849
|
+
function un(e, t, r) {
|
|
850
850
|
var a = "";
|
|
851
851
|
return r.split(" ").forEach(function(i) {
|
|
852
852
|
e[i] !== void 0 ? t.push(e[i] + ";") : i && (a += i + " ");
|
|
853
853
|
}), a;
|
|
854
854
|
}
|
|
855
|
-
var
|
|
855
|
+
var Ur = function(t, r, a) {
|
|
856
856
|
var i = t.key + "-" + r.name;
|
|
857
857
|
// we only need to add the styles to the registered cache if the
|
|
858
858
|
// class name could be used further down
|
|
@@ -863,9 +863,9 @@ var Vr = function(t, r, a) {
|
|
|
863
863
|
// in node since emotion-server relies on whether a style is in
|
|
864
864
|
// the registered cache to know whether a style is global or not
|
|
865
865
|
// also, note that this check will be dead code eliminated in the browser
|
|
866
|
-
|
|
867
|
-
},
|
|
868
|
-
|
|
866
|
+
cn === !1) && t.registered[i] === void 0 && (t.registered[i] = r.styles);
|
|
867
|
+
}, dn = function(t, r, a) {
|
|
868
|
+
Ur(t, r, a);
|
|
869
869
|
var i = t.key + "-" + r.name;
|
|
870
870
|
if (t.inserted[r.name] === void 0) {
|
|
871
871
|
var s = r;
|
|
@@ -874,7 +874,7 @@ var Vr = function(t, r, a) {
|
|
|
874
874
|
while (s !== void 0);
|
|
875
875
|
}
|
|
876
876
|
};
|
|
877
|
-
function
|
|
877
|
+
function pn(e) {
|
|
878
878
|
for (var t = 0, r, a = 0, i = e.length; i >= 4; ++a, i -= 4)
|
|
879
879
|
r = e.charCodeAt(a) & 255 | (e.charCodeAt(++a) & 255) << 8 | (e.charCodeAt(++a) & 255) << 16 | (e.charCodeAt(++a) & 255) << 24, r = /* Math.imul(k, m): */
|
|
880
880
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -893,7 +893,7 @@ function dn(e) {
|
|
|
893
893
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
894
894
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
895
895
|
}
|
|
896
|
-
var
|
|
896
|
+
var fn = {
|
|
897
897
|
animationIterationCount: 1,
|
|
898
898
|
aspectRatio: 1,
|
|
899
899
|
borderImageOutset: 1,
|
|
@@ -943,24 +943,24 @@ var pn = {
|
|
|
943
943
|
strokeOpacity: 1,
|
|
944
944
|
strokeWidth: 1
|
|
945
945
|
};
|
|
946
|
-
function
|
|
946
|
+
function mn(e) {
|
|
947
947
|
var t = /* @__PURE__ */ Object.create(null);
|
|
948
948
|
return function(r) {
|
|
949
949
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
var
|
|
952
|
+
var yn = /[A-Z]|^ms/g, hn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Wr = function(t) {
|
|
953
953
|
return t.charCodeAt(1) === 45;
|
|
954
|
-
},
|
|
954
|
+
}, _r = function(t) {
|
|
955
955
|
return t != null && typeof t != "boolean";
|
|
956
|
-
},
|
|
957
|
-
return
|
|
958
|
-
}),
|
|
956
|
+
}, Nt = /* @__PURE__ */ mn(function(e) {
|
|
957
|
+
return Wr(e) ? e : e.replace(yn, "-$&").toLowerCase();
|
|
958
|
+
}), Ar = function(t, r) {
|
|
959
959
|
switch (t) {
|
|
960
960
|
case "animation":
|
|
961
961
|
case "animationName":
|
|
962
962
|
if (typeof r == "string")
|
|
963
|
-
return r.replace(
|
|
963
|
+
return r.replace(hn, function(a, i, s) {
|
|
964
964
|
return me = {
|
|
965
965
|
name: i,
|
|
966
966
|
styles: s,
|
|
@@ -968,7 +968,7 @@ var mn = /[A-Z]|^ms/g, yn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ur = function(t) {
|
|
|
968
968
|
}, i;
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
|
-
return
|
|
971
|
+
return fn[t] !== 1 && !Wr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
972
972
|
};
|
|
973
973
|
function We(e, t, r) {
|
|
974
974
|
if (r == null)
|
|
@@ -1000,7 +1000,7 @@ function We(e, t, r) {
|
|
|
1000
1000
|
var y = s.styles + ";";
|
|
1001
1001
|
return y;
|
|
1002
1002
|
}
|
|
1003
|
-
return
|
|
1003
|
+
return vn(e, t, r);
|
|
1004
1004
|
}
|
|
1005
1005
|
case "function": {
|
|
1006
1006
|
if (e !== void 0) {
|
|
@@ -1013,7 +1013,7 @@ function We(e, t, r) {
|
|
|
1013
1013
|
var I = r;
|
|
1014
1014
|
return I;
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function vn(e, t, r) {
|
|
1017
1017
|
var a = "";
|
|
1018
1018
|
if (Array.isArray(r))
|
|
1019
1019
|
for (var i = 0; i < r.length; i++)
|
|
@@ -1023,16 +1023,16 @@ function hn(e, t, r) {
|
|
|
1023
1023
|
var l = r[s];
|
|
1024
1024
|
if (typeof l != "object") {
|
|
1025
1025
|
var y = l;
|
|
1026
|
-
|
|
1026
|
+
_r(y) && (a += Nt(s) + ":" + Ar(s, y) + ";");
|
|
1027
1027
|
} else if (Array.isArray(l) && typeof l[0] == "string" && t == null)
|
|
1028
1028
|
for (var m = 0; m < l.length; m++)
|
|
1029
|
-
|
|
1029
|
+
_r(l[m]) && (a += Nt(s) + ":" + Ar(s, l[m]) + ";");
|
|
1030
1030
|
else {
|
|
1031
1031
|
var g = We(e, t, l);
|
|
1032
1032
|
switch (s) {
|
|
1033
1033
|
case "animation":
|
|
1034
1034
|
case "animationName": {
|
|
1035
|
-
a +=
|
|
1035
|
+
a += Nt(s) + ":" + g + ";";
|
|
1036
1036
|
break;
|
|
1037
1037
|
}
|
|
1038
1038
|
default:
|
|
@@ -1042,8 +1042,8 @@ function hn(e, t, r) {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
return a;
|
|
1044
1044
|
}
|
|
1045
|
-
var
|
|
1046
|
-
function
|
|
1045
|
+
var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, me;
|
|
1046
|
+
function gn(e, t, r) {
|
|
1047
1047
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1048
1048
|
return e[0];
|
|
1049
1049
|
var a = !0, i = "";
|
|
@@ -1060,82 +1060,82 @@ function vn(e, t, r) {
|
|
|
1060
1060
|
var m = s;
|
|
1061
1061
|
i += m[y];
|
|
1062
1062
|
}
|
|
1063
|
-
|
|
1064
|
-
for (var g = "", I; (I =
|
|
1063
|
+
kr.lastIndex = 0;
|
|
1064
|
+
for (var g = "", I; (I = kr.exec(i)) !== null; )
|
|
1065
1065
|
g += "-" + I[1];
|
|
1066
|
-
var T =
|
|
1066
|
+
var T = pn(i) + g;
|
|
1067
1067
|
return {
|
|
1068
1068
|
name: T,
|
|
1069
1069
|
styles: i,
|
|
1070
1070
|
next: me
|
|
1071
1071
|
};
|
|
1072
1072
|
}
|
|
1073
|
-
var
|
|
1073
|
+
var bn = function(t) {
|
|
1074
1074
|
return t();
|
|
1075
|
-
},
|
|
1075
|
+
}, Sn = ge.useInsertionEffect ? ge.useInsertionEffect : !1, Pn = Sn || bn, qr = /* @__PURE__ */ ge.createContext(
|
|
1076
1076
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1077
1077
|
// because this module is primarily intended for the browser and node
|
|
1078
1078
|
// but it's also required in react native and similar environments sometimes
|
|
1079
1079
|
// and we could have a special build just for that
|
|
1080
1080
|
// but this is much easier and the native packages
|
|
1081
1081
|
// might use a different theme context in the future anyway
|
|
1082
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1082
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ ko({
|
|
1083
1083
|
key: "css"
|
|
1084
1084
|
}) : null
|
|
1085
1085
|
);
|
|
1086
|
-
|
|
1087
|
-
var
|
|
1088
|
-
return /* @__PURE__ */
|
|
1089
|
-
var i = Ae(
|
|
1086
|
+
qr.Provider;
|
|
1087
|
+
var In = function(t) {
|
|
1088
|
+
return /* @__PURE__ */ _o(function(r, a) {
|
|
1089
|
+
var i = Ae(qr);
|
|
1090
1090
|
return t(r, i, a);
|
|
1091
1091
|
});
|
|
1092
|
-
},
|
|
1092
|
+
}, Cn = /* @__PURE__ */ ge.createContext({}), Tt = {}.hasOwnProperty, Lt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Hr = function(t, r) {
|
|
1093
1093
|
var a = {};
|
|
1094
1094
|
for (var i in r)
|
|
1095
|
-
|
|
1096
|
-
return a[
|
|
1097
|
-
},
|
|
1095
|
+
Tt.call(r, i) && (a[i] = r[i]);
|
|
1096
|
+
return a[Lt] = t, a;
|
|
1097
|
+
}, Tn = function(t) {
|
|
1098
1098
|
var r = t.cache, a = t.serialized, i = t.isStringTag;
|
|
1099
|
-
return
|
|
1100
|
-
return
|
|
1099
|
+
return Ur(r, a, i), Pn(function() {
|
|
1100
|
+
return dn(r, a, i);
|
|
1101
1101
|
}), null;
|
|
1102
|
-
},
|
|
1102
|
+
}, xn = /* @__PURE__ */ In(function(e, t, r) {
|
|
1103
1103
|
var a = e.css;
|
|
1104
1104
|
typeof a == "string" && t.registered[a] !== void 0 && (a = t.registered[a]);
|
|
1105
|
-
var i = e[
|
|
1106
|
-
typeof e.className == "string" ? l =
|
|
1107
|
-
var y =
|
|
1105
|
+
var i = e[Lt], s = [a], l = "";
|
|
1106
|
+
typeof e.className == "string" ? l = un(t.registered, s, e.className) : e.className != null && (l = e.className + " ");
|
|
1107
|
+
var y = gn(s, void 0, ge.useContext(Cn));
|
|
1108
1108
|
l += t.key + "-" + y.name;
|
|
1109
1109
|
var m = {};
|
|
1110
1110
|
for (var g in e)
|
|
1111
|
-
|
|
1112
|
-
return m.className = l, r && (m.ref = r), /* @__PURE__ */ ge.createElement(ge.Fragment, null, /* @__PURE__ */ ge.createElement(
|
|
1111
|
+
Tt.call(e, g) && g !== "css" && g !== Lt && (m[g] = e[g]);
|
|
1112
|
+
return m.className = l, r && (m.ref = r), /* @__PURE__ */ ge.createElement(ge.Fragment, null, /* @__PURE__ */ ge.createElement(Tn, {
|
|
1113
1113
|
cache: t,
|
|
1114
1114
|
serialized: y,
|
|
1115
1115
|
isStringTag: typeof i == "string"
|
|
1116
1116
|
}), /* @__PURE__ */ ge.createElement(i, m));
|
|
1117
|
-
}),
|
|
1118
|
-
return
|
|
1117
|
+
}), Gr = xn, et = Ue.Fragment, o = function(t, r, a) {
|
|
1118
|
+
return Tt.call(r, "css") ? Ue.jsx(Gr, Hr(t, r), a) : Ue.jsx(t, r, a);
|
|
1119
1119
|
}, w = function(t, r, a) {
|
|
1120
|
-
return
|
|
1120
|
+
return Tt.call(r, "css") ? Ue.jsxs(Gr, Hr(t, r), a) : Ue.jsxs(t, r, a);
|
|
1121
1121
|
};
|
|
1122
|
-
const
|
|
1122
|
+
const wn = ({
|
|
1123
1123
|
components: e = [],
|
|
1124
1124
|
children: t
|
|
1125
|
-
}) => /* @__PURE__ */
|
|
1126
|
-
(r, a) => /* @__PURE__ */
|
|
1125
|
+
}) => /* @__PURE__ */ o(et, { children: e.reduceRight(
|
|
1126
|
+
(r, a) => /* @__PURE__ */ o(a, { children: r }),
|
|
1127
1127
|
t
|
|
1128
|
-
) }),
|
|
1128
|
+
) }), xt = {
|
|
1129
1129
|
playQueue: "PlayQueueStore",
|
|
1130
1130
|
bottomBar: "BottomBarStore",
|
|
1131
1131
|
playlistList: "PlaylistListStore",
|
|
1132
1132
|
playlist: (e) => `PlaylistStore/${e}`
|
|
1133
|
-
},
|
|
1133
|
+
}, Jr = qe(void 0), X = () => Ae(Jr), jt = new Fo({
|
|
1134
1134
|
coerceTypes: !0
|
|
1135
1135
|
});
|
|
1136
|
-
function
|
|
1136
|
+
function ir(e, t) {
|
|
1137
1137
|
let r;
|
|
1138
|
-
if (r =
|
|
1138
|
+
if (r = jt.getSchema(t), r === void 0 && (jt.addSchema(e, t), r = jt.getSchema(t)), r === void 0 || r.schema !== e)
|
|
1139
1139
|
throw new Error(
|
|
1140
1140
|
`Invalid schema. Expected: '${JSON.stringify(
|
|
1141
1141
|
e
|
|
@@ -1143,12 +1143,12 @@ function nr(e, t) {
|
|
|
1143
1143
|
);
|
|
1144
1144
|
return r;
|
|
1145
1145
|
}
|
|
1146
|
-
var B = /* @__PURE__ */ ((e) => (e.Off = "Off", e.All = "All", e.One = "One", e))(B || {}),
|
|
1147
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
1146
|
+
var B = /* @__PURE__ */ ((e) => (e.Off = "Off", e.All = "All", e.One = "One", e))(B || {}), En = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, _ = (e, t, r, a) => {
|
|
1147
|
+
for (var i = a > 1 ? void 0 : a ? Rn(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
1148
1148
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
1149
|
-
return a && i &&
|
|
1149
|
+
return a && i && En(t, r, i), i;
|
|
1150
1150
|
};
|
|
1151
|
-
const
|
|
1151
|
+
const On = {
|
|
1152
1152
|
type: "object",
|
|
1153
1153
|
properties: {
|
|
1154
1154
|
repeat: {
|
|
@@ -1162,7 +1162,7 @@ const Rn = {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
|
-
class
|
|
1165
|
+
class Kr {
|
|
1166
1166
|
constructor(t) {
|
|
1167
1167
|
this.bottomBar = t, ae(this);
|
|
1168
1168
|
}
|
|
@@ -1176,18 +1176,18 @@ class Jr {
|
|
|
1176
1176
|
this.bottomBar.repeat = t.repeat ?? B.Off, this.bottomBar.shuffle = t.shuffle ?? !1;
|
|
1177
1177
|
}
|
|
1178
1178
|
validateState(t) {
|
|
1179
|
-
return
|
|
1180
|
-
|
|
1179
|
+
return ir(
|
|
1180
|
+
On,
|
|
1181
1181
|
"BottomBarLocalStorageState"
|
|
1182
1182
|
)(t);
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
_([
|
|
1186
1186
|
f.struct
|
|
1187
|
-
],
|
|
1187
|
+
], Kr.prototype, "state", 1);
|
|
1188
1188
|
class A {
|
|
1189
1189
|
constructor(t, r) {
|
|
1190
|
-
this.player = t, this.playQueue = r, ae(this), this.localStorageState = new
|
|
1190
|
+
this.player = t, this.playQueue = r, ae(this), this.localStorageState = new Kr(this);
|
|
1191
1191
|
}
|
|
1192
1192
|
localStorageState;
|
|
1193
1193
|
repeat = B.Off;
|
|
@@ -1365,19 +1365,19 @@ _([
|
|
|
1365
1365
|
_([
|
|
1366
1366
|
u.bound
|
|
1367
1367
|
], A.prototype, "removeFromPlayQueue", 1);
|
|
1368
|
-
const
|
|
1368
|
+
const Xr = qe(void 0), tt = () => Ae(Xr), Zr = qe(void 0), eo = () => Ae(Zr), _n = ({
|
|
1369
1369
|
children: e
|
|
1370
1370
|
}) => {
|
|
1371
|
-
const t =
|
|
1372
|
-
return
|
|
1373
|
-
|
|
1371
|
+
const t = eo(), r = tt(), [a] = Y(() => new A(t, r));
|
|
1372
|
+
return bt(
|
|
1373
|
+
xt.bottomBar,
|
|
1374
1374
|
a.localStorageState
|
|
1375
|
-
), /* @__PURE__ */
|
|
1376
|
-
},
|
|
1377
|
-
var
|
|
1378
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
1375
|
+
), /* @__PURE__ */ o(Jr.Provider, { value: a, children: e });
|
|
1376
|
+
}, to = qe(void 0), An = () => Ae(to);
|
|
1377
|
+
var kn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, ye = (e, t, r, a) => {
|
|
1378
|
+
for (var i = a > 1 ? void 0 : a ? Fn(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
1379
1379
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
1380
|
-
return a && i &&
|
|
1380
|
+
return a && i && kn(t, r, i), i;
|
|
1381
1381
|
};
|
|
1382
1382
|
class pe {
|
|
1383
1383
|
constructor(t, r, a) {
|
|
@@ -1460,14 +1460,14 @@ ye([
|
|
|
1460
1460
|
ye([
|
|
1461
1461
|
u.bound
|
|
1462
1462
|
], pe.prototype, "onControllerChange", 1);
|
|
1463
|
-
const
|
|
1463
|
+
const Mn = ({
|
|
1464
1464
|
children: e
|
|
1465
1465
|
}) => {
|
|
1466
|
-
const t =
|
|
1466
|
+
const t = eo(), r = tt(), a = X(), [i] = Y(
|
|
1467
1467
|
() => new pe(t, r, a)
|
|
1468
1468
|
);
|
|
1469
|
-
return /* @__PURE__ */
|
|
1470
|
-
},
|
|
1469
|
+
return /* @__PURE__ */ o(to.Provider, { value: i, children: e });
|
|
1470
|
+
}, ro = {
|
|
1471
1471
|
type: "object",
|
|
1472
1472
|
properties: {
|
|
1473
1473
|
url: {
|
|
@@ -1484,7 +1484,7 @@ const Fn = ({
|
|
|
1484
1484
|
}
|
|
1485
1485
|
},
|
|
1486
1486
|
required: ["url", "type", "videoId", "title"]
|
|
1487
|
-
},
|
|
1487
|
+
}, Dn = {
|
|
1488
1488
|
type: "object",
|
|
1489
1489
|
properties: {
|
|
1490
1490
|
version: {
|
|
@@ -1503,7 +1503,7 @@ const Fn = ({
|
|
|
1503
1503
|
items: {
|
|
1504
1504
|
type: "array",
|
|
1505
1505
|
nullable: !0,
|
|
1506
|
-
items:
|
|
1506
|
+
items: ro
|
|
1507
1507
|
},
|
|
1508
1508
|
currentIndex: {
|
|
1509
1509
|
type: "integer",
|
|
@@ -1511,20 +1511,20 @@ const Fn = ({
|
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
1513
|
};
|
|
1514
|
-
var
|
|
1515
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
1514
|
+
var Bn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, V = (e, t, r, a) => {
|
|
1515
|
+
for (var i = a > 1 ? void 0 : a ? $n(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
1516
1516
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
1517
|
-
return a && i &&
|
|
1517
|
+
return a && i && Bn(t, r, i), i;
|
|
1518
1518
|
};
|
|
1519
|
-
const N = class
|
|
1519
|
+
const N = class Qt {
|
|
1520
1520
|
constructor(t, r) {
|
|
1521
|
-
this.playQueue = t, this.dto = r, ae(this), this.id =
|
|
1521
|
+
this.playQueue = t, this.dto = r, ae(this), this.id = Qt.nextId++;
|
|
1522
1522
|
}
|
|
1523
1523
|
static nextId = 1;
|
|
1524
1524
|
id;
|
|
1525
1525
|
isSelected = !1;
|
|
1526
1526
|
static fromDto(t, r) {
|
|
1527
|
-
return new
|
|
1527
|
+
return new Qt(t, r);
|
|
1528
1528
|
}
|
|
1529
1529
|
get url() {
|
|
1530
1530
|
return this.dto.url;
|
|
@@ -1665,13 +1665,13 @@ V([
|
|
|
1665
1665
|
V([
|
|
1666
1666
|
u.bound
|
|
1667
1667
|
], N.prototype, "removeOthers", 1);
|
|
1668
|
-
let
|
|
1669
|
-
var
|
|
1670
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
1668
|
+
let Nn = N;
|
|
1669
|
+
var jn = Object.defineProperty, Ln = Object.getOwnPropertyDescriptor, b = (e, t, r, a) => {
|
|
1670
|
+
for (var i = a > 1 ? void 0 : a ? Ln(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
1671
1671
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
1672
|
-
return a && i &&
|
|
1672
|
+
return a && i && jn(t, r, i), i;
|
|
1673
1673
|
};
|
|
1674
|
-
class
|
|
1674
|
+
class oo {
|
|
1675
1675
|
constructor(t) {
|
|
1676
1676
|
this.playQueue = t, ae(this);
|
|
1677
1677
|
}
|
|
@@ -1688,21 +1688,21 @@ class ro {
|
|
|
1688
1688
|
) ?? [], this.playQueue.currentIndex = t.currentIndex;
|
|
1689
1689
|
}
|
|
1690
1690
|
validateState(t) {
|
|
1691
|
-
return
|
|
1691
|
+
return ir(Dn, "PlayQueueDto")(t);
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
1694
|
b([
|
|
1695
1695
|
f.struct
|
|
1696
|
-
],
|
|
1696
|
+
], oo.prototype, "state", 1);
|
|
1697
1697
|
class S {
|
|
1698
1698
|
localStorageState;
|
|
1699
1699
|
items = [];
|
|
1700
1700
|
currentId;
|
|
1701
1701
|
constructor() {
|
|
1702
|
-
ae(this), this.localStorageState = new
|
|
1702
|
+
ae(this), this.localStorageState = new oo(this);
|
|
1703
1703
|
}
|
|
1704
1704
|
createItemFromDto(t) {
|
|
1705
|
-
return
|
|
1705
|
+
return Nn.fromDto(this, {
|
|
1706
1706
|
url: t.url,
|
|
1707
1707
|
type: t.type,
|
|
1708
1708
|
videoId: t.videoId,
|
|
@@ -1827,9 +1827,9 @@ class S {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
async removeItems(t) {
|
|
1829
1829
|
const { currentItem: r } = this;
|
|
1830
|
-
|
|
1830
|
+
vt(this.items, ...t.filter((s) => s !== r));
|
|
1831
1831
|
const { currentIndex: a, isLastItem: i } = this;
|
|
1832
|
-
|
|
1832
|
+
vt(
|
|
1833
1833
|
this.items,
|
|
1834
1834
|
t.find((s) => s === r)
|
|
1835
1835
|
), this.currentItem !== r && (i ? await this.goToFirst() : this.currentIndex = a);
|
|
@@ -1980,29 +1980,29 @@ b([
|
|
|
1980
1980
|
b([
|
|
1981
1981
|
u.bound
|
|
1982
1982
|
], S.prototype, "addItemFromDto", 1);
|
|
1983
|
-
const
|
|
1983
|
+
const Qn = ({
|
|
1984
1984
|
children: e
|
|
1985
1985
|
}) => {
|
|
1986
1986
|
const [t] = Y(() => new S());
|
|
1987
|
-
|
|
1988
|
-
|
|
1987
|
+
bt(
|
|
1988
|
+
xt.playQueue,
|
|
1989
1989
|
t.localStorageState
|
|
1990
1990
|
);
|
|
1991
1991
|
const r = Ge();
|
|
1992
|
-
return
|
|
1992
|
+
return Ao(() => Mo(
|
|
1993
1993
|
() => t.currentItem,
|
|
1994
1994
|
async (a, i) => {
|
|
1995
1995
|
a === void 0 || i === void 0 || a.type === i.type && a.videoId === i.videoId && await r.setCurrentTime(0);
|
|
1996
1996
|
}
|
|
1997
|
-
), [t, r]), /* @__PURE__ */
|
|
1997
|
+
), [t, r]), /* @__PURE__ */ o(Xr.Provider, { value: t, children: e });
|
|
1998
1998
|
};
|
|
1999
|
-
var
|
|
2000
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
1999
|
+
var zn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, ue = (e, t, r, a) => {
|
|
2000
|
+
for (var i = a > 1 ? void 0 : a ? Yn(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
2001
2001
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
2002
|
-
return a && i &&
|
|
2002
|
+
return a && i && zn(t, r, i), i;
|
|
2003
2003
|
};
|
|
2004
2004
|
class se {
|
|
2005
|
-
controller =
|
|
2005
|
+
controller = Do;
|
|
2006
2006
|
playing = !1;
|
|
2007
2007
|
percent = 0;
|
|
2008
2008
|
seeking = !1;
|
|
@@ -2070,18 +2070,18 @@ ue([
|
|
|
2070
2070
|
ue([
|
|
2071
2071
|
u.bound
|
|
2072
2072
|
], se.prototype, "onTimeUpdate", 1);
|
|
2073
|
-
const
|
|
2073
|
+
const Vn = ({
|
|
2074
2074
|
children: e
|
|
2075
2075
|
}) => {
|
|
2076
2076
|
const [t] = Y(() => new se());
|
|
2077
|
-
return /* @__PURE__ */
|
|
2078
|
-
},
|
|
2077
|
+
return /* @__PURE__ */ o(Zr.Provider, { value: t, children: e });
|
|
2078
|
+
}, no = qe(
|
|
2079
2079
|
void 0
|
|
2080
|
-
),
|
|
2081
|
-
var
|
|
2082
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
2080
|
+
), Un = () => Ae(no);
|
|
2081
|
+
var Wn = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, wt = (e, t, r, a) => {
|
|
2082
|
+
for (var i = a > 1 ? void 0 : a ? qn(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
2083
2083
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
2084
|
-
return a && i &&
|
|
2084
|
+
return a && i && Wn(t, r, i), i;
|
|
2085
2085
|
};
|
|
2086
2086
|
class Fe {
|
|
2087
2087
|
constructor(t, r, a) {
|
|
@@ -2096,24 +2096,24 @@ class Fe {
|
|
|
2096
2096
|
return this.playlistList.removeItem(this);
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
|
-
|
|
2099
|
+
wt([
|
|
2100
2100
|
te
|
|
2101
2101
|
], Fe.prototype, "id", 2);
|
|
2102
|
-
|
|
2102
|
+
wt([
|
|
2103
2103
|
te
|
|
2104
2104
|
], Fe.prototype, "name", 2);
|
|
2105
|
-
|
|
2105
|
+
wt([
|
|
2106
2106
|
u.bound
|
|
2107
2107
|
], Fe.prototype, "rename", 1);
|
|
2108
|
-
|
|
2108
|
+
wt([
|
|
2109
2109
|
u.bound
|
|
2110
2110
|
], Fe.prototype, "remove", 1);
|
|
2111
|
-
var
|
|
2112
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
2111
|
+
var Hn = Object.defineProperty, Gn = Object.getOwnPropertyDescriptor, rt = (e, t, r, a) => {
|
|
2112
|
+
for (var i = a > 1 ? void 0 : a ? Gn(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
2113
2113
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
2114
|
-
return a && i &&
|
|
2114
|
+
return a && i && Hn(t, r, i), i;
|
|
2115
2115
|
};
|
|
2116
|
-
class
|
|
2116
|
+
class io {
|
|
2117
2117
|
constructor(t) {
|
|
2118
2118
|
this.playlistList = t, ae(this);
|
|
2119
2119
|
}
|
|
@@ -2140,12 +2140,12 @@ class no {
|
|
|
2140
2140
|
}
|
|
2141
2141
|
rt([
|
|
2142
2142
|
f.struct
|
|
2143
|
-
],
|
|
2143
|
+
], io.prototype, "state", 1);
|
|
2144
2144
|
class ot {
|
|
2145
2145
|
localStorageState;
|
|
2146
2146
|
items = [];
|
|
2147
2147
|
constructor() {
|
|
2148
|
-
ae(this), this.localStorageState = new
|
|
2148
|
+
ae(this), this.localStorageState = new io(this);
|
|
2149
2149
|
}
|
|
2150
2150
|
createItem(t) {
|
|
2151
2151
|
return new Fe(this, crypto.randomUUID(), t);
|
|
@@ -2157,7 +2157,7 @@ class ot {
|
|
|
2157
2157
|
this.items.push(t);
|
|
2158
2158
|
}
|
|
2159
2159
|
async removeItem(t) {
|
|
2160
|
-
|
|
2160
|
+
vt(this.items, t);
|
|
2161
2161
|
}
|
|
2162
2162
|
}
|
|
2163
2163
|
rt([
|
|
@@ -2172,33 +2172,33 @@ rt([
|
|
|
2172
2172
|
rt([
|
|
2173
2173
|
u.bound
|
|
2174
2174
|
], ot.prototype, "removeItem", 1);
|
|
2175
|
-
const
|
|
2175
|
+
const Jn = ({
|
|
2176
2176
|
children: e
|
|
2177
2177
|
}) => {
|
|
2178
2178
|
const [t] = Y(() => new ot());
|
|
2179
|
-
return
|
|
2180
|
-
|
|
2179
|
+
return bt(
|
|
2180
|
+
xt.playlistList,
|
|
2181
2181
|
t.localStorageState
|
|
2182
|
-
), /* @__PURE__ */
|
|
2183
|
-
},
|
|
2182
|
+
), /* @__PURE__ */ o(no.Provider, { value: t, children: e });
|
|
2183
|
+
}, Sa = ({
|
|
2184
2184
|
children: e,
|
|
2185
2185
|
nostalgicDivaProps: t
|
|
2186
|
-
}) => /* @__PURE__ */
|
|
2187
|
-
|
|
2186
|
+
}) => /* @__PURE__ */ o(Bo, { ...t, children: /* @__PURE__ */ o(
|
|
2187
|
+
wn,
|
|
2188
2188
|
{
|
|
2189
2189
|
components: [
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2190
|
+
Vn,
|
|
2191
|
+
Qn,
|
|
2192
|
+
_n,
|
|
2193
|
+
Mn,
|
|
2194
|
+
Jn
|
|
2195
2195
|
],
|
|
2196
2196
|
children: e
|
|
2197
2197
|
}
|
|
2198
|
-
) }),
|
|
2198
|
+
) }), zt = {
|
|
2199
2199
|
width: 400,
|
|
2200
2200
|
height: 225
|
|
2201
|
-
},
|
|
2201
|
+
}, Pa = P(
|
|
2202
2202
|
({ children: e }) => {
|
|
2203
2203
|
const t = tt();
|
|
2204
2204
|
return /* @__PURE__ */ w(
|
|
@@ -2206,132 +2206,132 @@ const Gn = ({
|
|
|
2206
2206
|
{
|
|
2207
2207
|
panelled: !0,
|
|
2208
2208
|
style: {
|
|
2209
|
-
minBlockSize: `max(460px, 100vh - ${
|
|
2209
|
+
minBlockSize: `max(460px, 100vh - ${Vr}px)`
|
|
2210
2210
|
},
|
|
2211
2211
|
children: [
|
|
2212
2212
|
e,
|
|
2213
|
-
!t.isEmpty && /* @__PURE__ */
|
|
2213
|
+
!t.isEmpty && /* @__PURE__ */ o(St, { style: { blockSize: zt.height } })
|
|
2214
2214
|
]
|
|
2215
2215
|
}
|
|
2216
2216
|
);
|
|
2217
2217
|
}
|
|
2218
|
-
),
|
|
2218
|
+
), Kn = P(() => {
|
|
2219
2219
|
const e = X();
|
|
2220
|
-
return /* @__PURE__ */
|
|
2220
|
+
return /* @__PURE__ */ o(
|
|
2221
2221
|
ie,
|
|
2222
2222
|
{
|
|
2223
2223
|
title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2224
2224
|
"aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2225
|
-
iconType: e.shuffle ?
|
|
2225
|
+
iconType: e.shuffle ? zo : Yo,
|
|
2226
2226
|
size: "s",
|
|
2227
2227
|
iconSize: "l",
|
|
2228
2228
|
onClick: e.toggleShuffle,
|
|
2229
2229
|
disabled: !e.canToggleShuffle
|
|
2230
2230
|
}
|
|
2231
2231
|
);
|
|
2232
|
-
}),
|
|
2232
|
+
}), Xn = P(() => {
|
|
2233
2233
|
const e = X();
|
|
2234
|
-
return /* @__PURE__ */
|
|
2234
|
+
return /* @__PURE__ */ o(
|
|
2235
2235
|
ie,
|
|
2236
2236
|
{
|
|
2237
2237
|
title: "Previous",
|
|
2238
2238
|
"aria-label": "Previous",
|
|
2239
|
-
iconType:
|
|
2239
|
+
iconType: Vo,
|
|
2240
2240
|
size: "s",
|
|
2241
2241
|
iconSize: "l",
|
|
2242
2242
|
onClick: e.previous,
|
|
2243
2243
|
disabled: !e.canPrevious
|
|
2244
2244
|
}
|
|
2245
2245
|
);
|
|
2246
|
-
}),
|
|
2246
|
+
}), Zn = P(() => {
|
|
2247
2247
|
const e = X();
|
|
2248
|
-
return /* @__PURE__ */
|
|
2248
|
+
return /* @__PURE__ */ o(
|
|
2249
2249
|
ie,
|
|
2250
2250
|
{
|
|
2251
2251
|
title: "Skip back 10 seconds",
|
|
2252
2252
|
"aria-label": "Skip back 10 seconds",
|
|
2253
|
-
iconType:
|
|
2253
|
+
iconType: Nr,
|
|
2254
2254
|
size: "s",
|
|
2255
2255
|
iconSize: "l",
|
|
2256
2256
|
onClick: e.skipBack10,
|
|
2257
2257
|
disabled: !e.canSkipBack10
|
|
2258
2258
|
}
|
|
2259
2259
|
);
|
|
2260
|
-
}),
|
|
2260
|
+
}), ei = P(() => {
|
|
2261
2261
|
const e = X();
|
|
2262
|
-
return /* @__PURE__ */
|
|
2262
|
+
return /* @__PURE__ */ o(
|
|
2263
2263
|
ie,
|
|
2264
2264
|
{
|
|
2265
2265
|
title: "Pause",
|
|
2266
2266
|
"aria-label": "Pause",
|
|
2267
|
-
iconType:
|
|
2267
|
+
iconType: Uo,
|
|
2268
2268
|
size: "s",
|
|
2269
2269
|
iconSize: "l",
|
|
2270
2270
|
onClick: e.pause,
|
|
2271
2271
|
disabled: !e.canPause
|
|
2272
2272
|
}
|
|
2273
2273
|
);
|
|
2274
|
-
}),
|
|
2274
|
+
}), ti = P(() => {
|
|
2275
2275
|
const e = X();
|
|
2276
|
-
return /* @__PURE__ */
|
|
2276
|
+
return /* @__PURE__ */ o(
|
|
2277
2277
|
ie,
|
|
2278
2278
|
{
|
|
2279
2279
|
title: "Play",
|
|
2280
2280
|
"aria-label": "Play",
|
|
2281
|
-
iconType:
|
|
2281
|
+
iconType: Wo,
|
|
2282
2282
|
size: "s",
|
|
2283
2283
|
iconSize: "l",
|
|
2284
2284
|
onClick: e.play,
|
|
2285
2285
|
disabled: !e.canPlay
|
|
2286
2286
|
}
|
|
2287
2287
|
);
|
|
2288
|
-
}),
|
|
2288
|
+
}), ri = P(() => {
|
|
2289
2289
|
const e = X();
|
|
2290
|
-
return /* @__PURE__ */
|
|
2290
|
+
return /* @__PURE__ */ o(
|
|
2291
2291
|
ie,
|
|
2292
2292
|
{
|
|
2293
2293
|
title: "Skip forward 30 seconds",
|
|
2294
2294
|
"aria-label": "Skip forward 30 seconds",
|
|
2295
|
-
iconType:
|
|
2295
|
+
iconType: jr,
|
|
2296
2296
|
size: "s",
|
|
2297
2297
|
iconSize: "l",
|
|
2298
2298
|
onClick: e.skipForward30,
|
|
2299
2299
|
disabled: !e.canSkipForward30
|
|
2300
2300
|
}
|
|
2301
2301
|
);
|
|
2302
|
-
}),
|
|
2302
|
+
}), oi = P(() => {
|
|
2303
2303
|
const e = X();
|
|
2304
|
-
return /* @__PURE__ */
|
|
2304
|
+
return /* @__PURE__ */ o(
|
|
2305
2305
|
ie,
|
|
2306
2306
|
{
|
|
2307
2307
|
title: "Next",
|
|
2308
2308
|
"aria-label": "Next",
|
|
2309
|
-
iconType:
|
|
2309
|
+
iconType: qo,
|
|
2310
2310
|
size: "s",
|
|
2311
2311
|
iconSize: "l",
|
|
2312
2312
|
onClick: e.next,
|
|
2313
2313
|
disabled: !e.canNext
|
|
2314
2314
|
}
|
|
2315
2315
|
);
|
|
2316
|
-
}),
|
|
2317
|
-
[B.Off]:
|
|
2318
|
-
[B.All]:
|
|
2319
|
-
[B.One]:
|
|
2320
|
-
},
|
|
2316
|
+
}), ni = {
|
|
2317
|
+
[B.Off]: Jo,
|
|
2318
|
+
[B.All]: Go,
|
|
2319
|
+
[B.One]: Ho
|
|
2320
|
+
}, ii = P(() => {
|
|
2321
2321
|
const e = X();
|
|
2322
|
-
return /* @__PURE__ */
|
|
2322
|
+
return /* @__PURE__ */ o(
|
|
2323
2323
|
ie,
|
|
2324
2324
|
{
|
|
2325
2325
|
title: `Repeat: ${e.repeat === B.All ? "All" : e.repeat === B.One ? "One" : "Off"}`,
|
|
2326
2326
|
"aria-label": `Repeat: ${e.repeat === B.All ? "All" : e.repeat === B.One ? "One" : "Off"}`,
|
|
2327
|
-
iconType:
|
|
2327
|
+
iconType: ni[e.repeat],
|
|
2328
2328
|
size: "s",
|
|
2329
2329
|
iconSize: "l",
|
|
2330
2330
|
onClick: e.toggleRepeat,
|
|
2331
2331
|
disabled: !e.canToggleRepeat
|
|
2332
2332
|
}
|
|
2333
2333
|
);
|
|
2334
|
-
}),
|
|
2334
|
+
}), ai = P(() => {
|
|
2335
2335
|
const e = X();
|
|
2336
2336
|
return /* @__PURE__ */ w(
|
|
2337
2337
|
be,
|
|
@@ -2341,17 +2341,17 @@ const Gn = ({
|
|
|
2341
2341
|
justifyContent: "center",
|
|
2342
2342
|
alignItems: "center",
|
|
2343
2343
|
children: [
|
|
2344
|
-
/* @__PURE__ */
|
|
2345
|
-
/* @__PURE__ */
|
|
2346
|
-
/* @__PURE__ */
|
|
2347
|
-
e.playing ? /* @__PURE__ */
|
|
2348
|
-
/* @__PURE__ */
|
|
2349
|
-
/* @__PURE__ */
|
|
2350
|
-
/* @__PURE__ */
|
|
2344
|
+
/* @__PURE__ */ o(mt, { sizes: ["xs"], children: /* @__PURE__ */ o(Kn, {}) }),
|
|
2345
|
+
/* @__PURE__ */ o(Xn, {}),
|
|
2346
|
+
/* @__PURE__ */ o(mt, { sizes: ["xs"], children: /* @__PURE__ */ o(Zn, {}) }),
|
|
2347
|
+
e.playing ? /* @__PURE__ */ o(ei, {}) : /* @__PURE__ */ o(ti, {}),
|
|
2348
|
+
/* @__PURE__ */ o(mt, { sizes: ["xs"], children: /* @__PURE__ */ o(ri, {}) }),
|
|
2349
|
+
/* @__PURE__ */ o(oi, {}),
|
|
2350
|
+
/* @__PURE__ */ o(mt, { sizes: ["xs"], children: /* @__PURE__ */ o(ii, {}) })
|
|
2351
2351
|
]
|
|
2352
2352
|
}
|
|
2353
2353
|
);
|
|
2354
|
-
}),
|
|
2354
|
+
}), ar = {
|
|
2355
2355
|
Audio: "",
|
|
2356
2356
|
Dailymotion: "https://www.dailymotion.com/favicon.ico",
|
|
2357
2357
|
Niconico: "https://www.nicovideo.jp/favicon.ico",
|
|
@@ -2359,7 +2359,7 @@ const Gn = ({
|
|
|
2359
2359
|
Twitch: "https://www.twitch.tv/favicon.ico",
|
|
2360
2360
|
Vimeo: "https://vimeo.com/favicon.ico",
|
|
2361
2361
|
YouTube: "https://www.youtube.com/favicon.ico"
|
|
2362
|
-
},
|
|
2362
|
+
}, si = de(
|
|
2363
2363
|
({ item: e, closePopover: t }) => {
|
|
2364
2364
|
const r = $(
|
|
2365
2365
|
({
|
|
@@ -2381,14 +2381,14 @@ const Gn = ({
|
|
|
2381
2381
|
items: [
|
|
2382
2382
|
r({
|
|
2383
2383
|
name: "Open in new tab",
|
|
2384
|
-
icon: /* @__PURE__ */
|
|
2384
|
+
icon: /* @__PURE__ */ o(z, { type: Ko }),
|
|
2385
2385
|
onClick: async () => {
|
|
2386
2386
|
window.open(e.dto.url, "_blank");
|
|
2387
2387
|
}
|
|
2388
2388
|
}),
|
|
2389
2389
|
r({
|
|
2390
2390
|
name: "Copy link address",
|
|
2391
|
-
icon: /* @__PURE__ */
|
|
2391
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
2392
2392
|
onClick: async () => {
|
|
2393
2393
|
await navigator.clipboard.writeText(
|
|
2394
2394
|
e.dto.url
|
|
@@ -2397,7 +2397,7 @@ const Gn = ({
|
|
|
2397
2397
|
}),
|
|
2398
2398
|
r({
|
|
2399
2399
|
name: "Copy link text",
|
|
2400
|
-
icon: /* @__PURE__ */
|
|
2400
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
2401
2401
|
onClick: async () => {
|
|
2402
2402
|
await navigator.clipboard.writeText(
|
|
2403
2403
|
e.dto.title
|
|
@@ -2409,18 +2409,18 @@ const Gn = ({
|
|
|
2409
2409
|
],
|
|
2410
2410
|
[r, e]
|
|
2411
2411
|
);
|
|
2412
|
-
return /* @__PURE__ */
|
|
2412
|
+
return /* @__PURE__ */ o(Pt, { initialPanelId: 0, panels: a });
|
|
2413
2413
|
}
|
|
2414
|
-
),
|
|
2414
|
+
), li = de(
|
|
2415
2415
|
({ item: e }) => {
|
|
2416
2416
|
const [t, r] = Y(!1), a = $(() => r(!t), [t]), i = $(() => r(!1), []);
|
|
2417
|
-
return /* @__PURE__ */
|
|
2417
|
+
return /* @__PURE__ */ o(
|
|
2418
2418
|
Ke,
|
|
2419
2419
|
{
|
|
2420
|
-
button: /* @__PURE__ */
|
|
2421
|
-
|
|
2420
|
+
button: /* @__PURE__ */ o(
|
|
2421
|
+
It,
|
|
2422
2422
|
{
|
|
2423
|
-
iconType:
|
|
2423
|
+
iconType: ar[e.type],
|
|
2424
2424
|
size: "s",
|
|
2425
2425
|
onClick: a,
|
|
2426
2426
|
children: e.title
|
|
@@ -2430,8 +2430,8 @@ const Gn = ({
|
|
|
2430
2430
|
closePopover: i,
|
|
2431
2431
|
panelPaddingSize: "none",
|
|
2432
2432
|
anchorPosition: "upLeft",
|
|
2433
|
-
children: /* @__PURE__ */
|
|
2434
|
-
|
|
2433
|
+
children: /* @__PURE__ */ o(
|
|
2434
|
+
si,
|
|
2435
2435
|
{
|
|
2436
2436
|
item: e,
|
|
2437
2437
|
closePopover: i
|
|
@@ -2440,35 +2440,35 @@ const Gn = ({
|
|
|
2440
2440
|
}
|
|
2441
2441
|
);
|
|
2442
2442
|
}
|
|
2443
|
-
),
|
|
2443
|
+
), ci = P(() => {
|
|
2444
2444
|
const e = X();
|
|
2445
|
-
return /* @__PURE__ */
|
|
2445
|
+
return /* @__PURE__ */ o(
|
|
2446
2446
|
be,
|
|
2447
2447
|
{
|
|
2448
2448
|
responsive: !1,
|
|
2449
2449
|
gutterSize: "s",
|
|
2450
2450
|
justifyContent: "flexStart",
|
|
2451
2451
|
alignItems: "center",
|
|
2452
|
-
children: e.currentItem && /* @__PURE__ */
|
|
2452
|
+
children: e.currentItem && /* @__PURE__ */ o(li, { item: e.currentItem })
|
|
2453
2453
|
}
|
|
2454
2454
|
);
|
|
2455
|
-
}),
|
|
2455
|
+
}), ui = P(() => {
|
|
2456
2456
|
const e = X();
|
|
2457
|
-
return /* @__PURE__ */
|
|
2457
|
+
return /* @__PURE__ */ o(
|
|
2458
2458
|
ie,
|
|
2459
2459
|
{
|
|
2460
2460
|
title: "Mute",
|
|
2461
2461
|
"aria-label": "Mute",
|
|
2462
|
-
iconType:
|
|
2462
|
+
iconType: Lr,
|
|
2463
2463
|
size: "s",
|
|
2464
2464
|
iconSize: "l",
|
|
2465
2465
|
disabled: !e.controller.supports("setMuted")
|
|
2466
2466
|
}
|
|
2467
2467
|
);
|
|
2468
|
-
}),
|
|
2468
|
+
}), di = P(
|
|
2469
2469
|
({ button: e, isOpen: t, closePopover: r }) => {
|
|
2470
2470
|
const a = X(), [i, s] = Y("0"), l = Ge();
|
|
2471
|
-
|
|
2471
|
+
Mr(() => {
|
|
2472
2472
|
t && l.getVolume().then((m) => {
|
|
2473
2473
|
m !== void 0 && s(Math.floor(m * 100).toString());
|
|
2474
2474
|
});
|
|
@@ -2479,14 +2479,14 @@ const Gn = ({
|
|
|
2479
2479
|
},
|
|
2480
2480
|
[l]
|
|
2481
2481
|
);
|
|
2482
|
-
return /* @__PURE__ */
|
|
2482
|
+
return /* @__PURE__ */ o(
|
|
2483
2483
|
Ke,
|
|
2484
2484
|
{
|
|
2485
2485
|
button: e,
|
|
2486
2486
|
isOpen: t,
|
|
2487
2487
|
closePopover: r,
|
|
2488
2488
|
anchorPosition: "upRight",
|
|
2489
|
-
children: /* @__PURE__ */
|
|
2489
|
+
children: /* @__PURE__ */ o(Ve, { children: /* @__PURE__ */ w(
|
|
2490
2490
|
be,
|
|
2491
2491
|
{
|
|
2492
2492
|
responsive: !1,
|
|
@@ -2494,9 +2494,9 @@ const Gn = ({
|
|
|
2494
2494
|
justifyContent: "center",
|
|
2495
2495
|
alignItems: "center",
|
|
2496
2496
|
children: [
|
|
2497
|
-
/* @__PURE__ */
|
|
2498
|
-
/* @__PURE__ */
|
|
2499
|
-
|
|
2497
|
+
/* @__PURE__ */ o(ui, {}),
|
|
2498
|
+
/* @__PURE__ */ o(
|
|
2499
|
+
Dr,
|
|
2500
2500
|
{
|
|
2501
2501
|
min: 0,
|
|
2502
2502
|
max: 100,
|
|
@@ -2513,17 +2513,17 @@ const Gn = ({
|
|
|
2513
2513
|
}
|
|
2514
2514
|
);
|
|
2515
2515
|
}
|
|
2516
|
-
),
|
|
2516
|
+
), pi = P(() => {
|
|
2517
2517
|
const e = X(), [t, r] = Y(!1);
|
|
2518
|
-
return /* @__PURE__ */
|
|
2519
|
-
|
|
2518
|
+
return /* @__PURE__ */ o(
|
|
2519
|
+
di,
|
|
2520
2520
|
{
|
|
2521
|
-
button: /* @__PURE__ */
|
|
2521
|
+
button: /* @__PURE__ */ o(
|
|
2522
2522
|
ie,
|
|
2523
2523
|
{
|
|
2524
2524
|
title: "Volume",
|
|
2525
2525
|
"aria-label": "Volume",
|
|
2526
|
-
iconType:
|
|
2526
|
+
iconType: Lr,
|
|
2527
2527
|
size: "s",
|
|
2528
2528
|
iconSize: "l",
|
|
2529
2529
|
onClick: () => r(!t),
|
|
@@ -2534,19 +2534,19 @@ const Gn = ({
|
|
|
2534
2534
|
closePopover: () => r(!1)
|
|
2535
2535
|
}
|
|
2536
2536
|
);
|
|
2537
|
-
}),
|
|
2537
|
+
}), fi = ({
|
|
2538
2538
|
onClickPlayQueueButton: e
|
|
2539
|
-
}) => /* @__PURE__ */
|
|
2539
|
+
}) => /* @__PURE__ */ o(
|
|
2540
2540
|
ie,
|
|
2541
2541
|
{
|
|
2542
2542
|
title: "Play queue",
|
|
2543
2543
|
"aria-label": "Play queue",
|
|
2544
|
-
iconType:
|
|
2544
|
+
iconType: Zo,
|
|
2545
2545
|
size: "s",
|
|
2546
2546
|
iconSize: "l",
|
|
2547
2547
|
onClick: e
|
|
2548
2548
|
}
|
|
2549
|
-
),
|
|
2549
|
+
), mi = P(
|
|
2550
2550
|
({ closePopover: e }) => {
|
|
2551
2551
|
const t = X(), r = Ge(), a = $(async () => {
|
|
2552
2552
|
await t.skipBack10(), e();
|
|
@@ -2568,7 +2568,7 @@ const Gn = ({
|
|
|
2568
2568
|
items: [
|
|
2569
2569
|
{
|
|
2570
2570
|
name: "Speed",
|
|
2571
|
-
icon: /* @__PURE__ */
|
|
2571
|
+
icon: /* @__PURE__ */ o(z, { type: Xo }),
|
|
2572
2572
|
panel: 1,
|
|
2573
2573
|
onClick: g,
|
|
2574
2574
|
disabled: !t.controller.supports(
|
|
@@ -2577,13 +2577,13 @@ const Gn = ({
|
|
|
2577
2577
|
},
|
|
2578
2578
|
{
|
|
2579
2579
|
name: "Skip back 10 seconds",
|
|
2580
|
-
icon: /* @__PURE__ */
|
|
2580
|
+
icon: /* @__PURE__ */ o(z, { type: Nr }),
|
|
2581
2581
|
onClick: a,
|
|
2582
2582
|
disabled: !t.canSkipBack10
|
|
2583
2583
|
},
|
|
2584
2584
|
{
|
|
2585
2585
|
name: "Skip forward 30 seconds",
|
|
2586
|
-
icon: /* @__PURE__ */
|
|
2586
|
+
icon: /* @__PURE__ */ o(z, { type: jr }),
|
|
2587
2587
|
onClick: i,
|
|
2588
2588
|
disabled: !t.canSkipForward30
|
|
2589
2589
|
},
|
|
@@ -2592,7 +2592,7 @@ const Gn = ({
|
|
|
2592
2592
|
},
|
|
2593
2593
|
{
|
|
2594
2594
|
name: "Remove from play queue",
|
|
2595
|
-
icon: /* @__PURE__ */
|
|
2595
|
+
icon: /* @__PURE__ */ o(z, { type: Ze }),
|
|
2596
2596
|
onClick: l,
|
|
2597
2597
|
disabled: !t.canRemoveFromPlayQueue
|
|
2598
2598
|
}
|
|
@@ -2623,14 +2623,14 @@ const Gn = ({
|
|
|
2623
2623
|
y
|
|
2624
2624
|
]
|
|
2625
2625
|
);
|
|
2626
|
-
return /* @__PURE__ */
|
|
2626
|
+
return /* @__PURE__ */ o(Pt, { initialPanelId: 0, panels: I });
|
|
2627
2627
|
}
|
|
2628
|
-
),
|
|
2628
|
+
), yi = de(
|
|
2629
2629
|
({
|
|
2630
2630
|
button: e,
|
|
2631
2631
|
isOpen: t,
|
|
2632
2632
|
closePopover: r
|
|
2633
|
-
}) => /* @__PURE__ */
|
|
2633
|
+
}) => /* @__PURE__ */ o(
|
|
2634
2634
|
Ke,
|
|
2635
2635
|
{
|
|
2636
2636
|
button: e,
|
|
@@ -2638,20 +2638,20 @@ const Gn = ({
|
|
|
2638
2638
|
closePopover: r,
|
|
2639
2639
|
panelPaddingSize: "none",
|
|
2640
2640
|
anchorPosition: "upRight",
|
|
2641
|
-
children: /* @__PURE__ */
|
|
2641
|
+
children: /* @__PURE__ */ o(mi, { closePopover: r })
|
|
2642
2642
|
}
|
|
2643
2643
|
)
|
|
2644
|
-
),
|
|
2644
|
+
), hi = de(() => {
|
|
2645
2645
|
const [e, t] = Y(!1);
|
|
2646
|
-
return /* @__PURE__ */
|
|
2647
|
-
|
|
2646
|
+
return /* @__PURE__ */ o(
|
|
2647
|
+
yi,
|
|
2648
2648
|
{
|
|
2649
|
-
button: /* @__PURE__ */
|
|
2649
|
+
button: /* @__PURE__ */ o(
|
|
2650
2650
|
ie,
|
|
2651
2651
|
{
|
|
2652
2652
|
title: "More options",
|
|
2653
2653
|
"aria-label": "More options",
|
|
2654
|
-
iconType:
|
|
2654
|
+
iconType: tr,
|
|
2655
2655
|
size: "s",
|
|
2656
2656
|
iconSize: "l",
|
|
2657
2657
|
onClick: () => t(!e)
|
|
@@ -2661,7 +2661,7 @@ const Gn = ({
|
|
|
2661
2661
|
closePopover: () => t(!1)
|
|
2662
2662
|
}
|
|
2663
2663
|
);
|
|
2664
|
-
}),
|
|
2664
|
+
}), vi = de(
|
|
2665
2665
|
({ onClickPlayQueueButton: e }) => /* @__PURE__ */ w(
|
|
2666
2666
|
be,
|
|
2667
2667
|
{
|
|
@@ -2670,18 +2670,18 @@ const Gn = ({
|
|
|
2670
2670
|
justifyContent: "flexEnd",
|
|
2671
2671
|
alignItems: "center",
|
|
2672
2672
|
children: [
|
|
2673
|
-
/* @__PURE__ */
|
|
2674
|
-
e && /* @__PURE__ */
|
|
2675
|
-
|
|
2673
|
+
/* @__PURE__ */ o(pi, {}),
|
|
2674
|
+
e && /* @__PURE__ */ o(
|
|
2675
|
+
fi,
|
|
2676
2676
|
{
|
|
2677
2677
|
onClickPlayQueueButton: e
|
|
2678
2678
|
}
|
|
2679
2679
|
),
|
|
2680
|
-
/* @__PURE__ */
|
|
2680
|
+
/* @__PURE__ */ o(hi, {})
|
|
2681
2681
|
]
|
|
2682
2682
|
}
|
|
2683
2683
|
)
|
|
2684
|
-
),
|
|
2684
|
+
), gi = P(() => {
|
|
2685
2685
|
const e = X(), t = Ge(), r = $(
|
|
2686
2686
|
(s) => {
|
|
2687
2687
|
const l = Number(s.currentTarget.value) / 100;
|
|
@@ -2704,8 +2704,8 @@ const Gn = ({
|
|
|
2704
2704
|
},
|
|
2705
2705
|
[e, t]
|
|
2706
2706
|
);
|
|
2707
|
-
return /* @__PURE__ */
|
|
2708
|
-
|
|
2707
|
+
return /* @__PURE__ */ o(
|
|
2708
|
+
Dr,
|
|
2709
2709
|
{
|
|
2710
2710
|
min: 0,
|
|
2711
2711
|
max: 100,
|
|
@@ -2720,22 +2720,22 @@ const Gn = ({
|
|
|
2720
2720
|
disabled: !e.canSeek
|
|
2721
2721
|
}
|
|
2722
2722
|
);
|
|
2723
|
-
}),
|
|
2724
|
-
({ onClickPlayQueueButton: e }) => /* @__PURE__ */
|
|
2725
|
-
/* @__PURE__ */
|
|
2726
|
-
/* @__PURE__ */
|
|
2727
|
-
/* @__PURE__ */
|
|
2728
|
-
/* @__PURE__ */
|
|
2729
|
-
/* @__PURE__ */
|
|
2730
|
-
|
|
2723
|
+
}), Ia = P(
|
|
2724
|
+
({ onClickPlayQueueButton: e }) => /* @__PURE__ */ o(jo, { paddingSize: "s", children: /* @__PURE__ */ w(be, { direction: "column", gutterSize: "none", children: [
|
|
2725
|
+
/* @__PURE__ */ o(K, { children: /* @__PURE__ */ o(gi, {}) }),
|
|
2726
|
+
/* @__PURE__ */ o(K, { children: /* @__PURE__ */ w(be, { responsive: !1, children: [
|
|
2727
|
+
/* @__PURE__ */ o(K, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(ci, {}) }),
|
|
2728
|
+
/* @__PURE__ */ o(K, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(ai, {}) }),
|
|
2729
|
+
/* @__PURE__ */ o(K, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2730
|
+
vi,
|
|
2731
2731
|
{
|
|
2732
2732
|
onClickPlayQueueButton: e
|
|
2733
2733
|
}
|
|
2734
2734
|
) })
|
|
2735
2735
|
] }) })
|
|
2736
2736
|
] }) })
|
|
2737
|
-
),
|
|
2738
|
-
const e =
|
|
2737
|
+
), Ca = P(() => {
|
|
2738
|
+
const e = An(), t = He(
|
|
2739
2739
|
() => ({
|
|
2740
2740
|
onLoaded: e.onLoaded,
|
|
2741
2741
|
onPlay: e.onPlay,
|
|
@@ -2745,24 +2745,24 @@ const Gn = ({
|
|
|
2745
2745
|
}),
|
|
2746
2746
|
[e]
|
|
2747
2747
|
);
|
|
2748
|
-
return
|
|
2748
|
+
return Mr(() => (window.addEventListener("click", e.interact, { once: !0 }), () => {
|
|
2749
2749
|
window.removeEventListener("click", e.interact);
|
|
2750
|
-
}), [e]), /* @__PURE__ */
|
|
2750
|
+
}), [e]), /* @__PURE__ */ o(
|
|
2751
2751
|
"div",
|
|
2752
2752
|
{
|
|
2753
2753
|
css: {
|
|
2754
2754
|
position: "fixed",
|
|
2755
2755
|
right: 0,
|
|
2756
|
-
bottom:
|
|
2757
|
-
width:
|
|
2758
|
-
height:
|
|
2756
|
+
bottom: Vr,
|
|
2757
|
+
width: zt.width,
|
|
2758
|
+
height: zt.height,
|
|
2759
2759
|
zIndex: 998,
|
|
2760
2760
|
backgroundColor: "rgb(39, 39, 39)",
|
|
2761
2761
|
display: "flex",
|
|
2762
2762
|
flexDirection: "column"
|
|
2763
2763
|
},
|
|
2764
|
-
children: /* @__PURE__ */
|
|
2765
|
-
|
|
2764
|
+
children: /* @__PURE__ */ o("div", { css: { flexGrow: 1, backgroundColor: "black" }, children: e.currentItem && /* @__PURE__ */ o(
|
|
2765
|
+
$o,
|
|
2766
2766
|
{
|
|
2767
2767
|
src: e.currentItem.url,
|
|
2768
2768
|
options: t,
|
|
@@ -2772,16 +2772,16 @@ const Gn = ({
|
|
|
2772
2772
|
}
|
|
2773
2773
|
);
|
|
2774
2774
|
});
|
|
2775
|
-
function
|
|
2775
|
+
function bi(e) {
|
|
2776
2776
|
return e !== null && typeof e == "object" && "title" in e && typeof e.title == "string";
|
|
2777
2777
|
}
|
|
2778
|
-
const
|
|
2778
|
+
const Si = Se.create(
|
|
2779
2779
|
({ remove: e, resolve: t }) => {
|
|
2780
|
-
const r =
|
|
2781
|
-
return /* @__PURE__ */ w(
|
|
2782
|
-
/* @__PURE__ */
|
|
2783
|
-
/* @__PURE__ */
|
|
2784
|
-
|
|
2780
|
+
const r = Vt({ prefix: "modalForm" }), [a, i] = Y(""), [s, l] = Y(""), [y, m] = Y(!1);
|
|
2781
|
+
return /* @__PURE__ */ w(Jt, { onClose: e, initialFocus: "[name=url]", children: [
|
|
2782
|
+
/* @__PURE__ */ o(Wt, { children: /* @__PURE__ */ o(Ut, { children: "Add video" }) }),
|
|
2783
|
+
/* @__PURE__ */ o(Ht, { children: /* @__PURE__ */ w(
|
|
2784
|
+
qt,
|
|
2785
2785
|
{
|
|
2786
2786
|
id: r,
|
|
2787
2787
|
component: "form",
|
|
@@ -2789,7 +2789,7 @@ const bi = Se.create(
|
|
|
2789
2789
|
g.preventDefault();
|
|
2790
2790
|
try {
|
|
2791
2791
|
m(!0);
|
|
2792
|
-
const I =
|
|
2792
|
+
const I = No(a);
|
|
2793
2793
|
if (I === void 0)
|
|
2794
2794
|
return;
|
|
2795
2795
|
const T = I.extractVideoId(a);
|
|
@@ -2802,23 +2802,23 @@ const bi = Se.create(
|
|
|
2802
2802
|
url: a,
|
|
2803
2803
|
type: I.type,
|
|
2804
2804
|
videoId: T,
|
|
2805
|
-
title: s || (
|
|
2805
|
+
title: s || (bi(W) ? W.title : T)
|
|
2806
2806
|
}), e();
|
|
2807
2807
|
} finally {
|
|
2808
2808
|
m(!1);
|
|
2809
2809
|
}
|
|
2810
2810
|
},
|
|
2811
2811
|
children: [
|
|
2812
|
-
/* @__PURE__ */
|
|
2813
|
-
|
|
2812
|
+
/* @__PURE__ */ o(Ve, { label: "URL", children: /* @__PURE__ */ o(
|
|
2813
|
+
gt,
|
|
2814
2814
|
{
|
|
2815
2815
|
name: "url",
|
|
2816
2816
|
value: a,
|
|
2817
2817
|
onChange: (g) => i(g.target.value)
|
|
2818
2818
|
}
|
|
2819
2819
|
) }),
|
|
2820
|
-
/* @__PURE__ */
|
|
2821
|
-
|
|
2820
|
+
/* @__PURE__ */ o(Ve, { label: "Title", children: /* @__PURE__ */ o(
|
|
2821
|
+
gt,
|
|
2822
2822
|
{
|
|
2823
2823
|
name: "title",
|
|
2824
2824
|
value: s,
|
|
@@ -2828,9 +2828,9 @@ const bi = Se.create(
|
|
|
2828
2828
|
]
|
|
2829
2829
|
}
|
|
2830
2830
|
) }),
|
|
2831
|
-
/* @__PURE__ */ w(
|
|
2832
|
-
/* @__PURE__ */
|
|
2833
|
-
/* @__PURE__ */
|
|
2831
|
+
/* @__PURE__ */ w(Gt, { children: [
|
|
2832
|
+
/* @__PURE__ */ o(It, { onClick: e, children: "Cancel" }),
|
|
2833
|
+
/* @__PURE__ */ o(
|
|
2834
2834
|
J,
|
|
2835
2835
|
{
|
|
2836
2836
|
type: "submit",
|
|
@@ -2844,18 +2844,18 @@ const bi = Se.create(
|
|
|
2844
2844
|
] })
|
|
2845
2845
|
] });
|
|
2846
2846
|
}
|
|
2847
|
-
),
|
|
2848
|
-
({ onFulfilled: e }) => /* @__PURE__ */
|
|
2847
|
+
), sr = de(
|
|
2848
|
+
({ onFulfilled: e }) => /* @__PURE__ */ o(
|
|
2849
2849
|
J,
|
|
2850
2850
|
{
|
|
2851
|
-
onClick: () => Se.show(
|
|
2851
|
+
onClick: () => Se.show(Si).then(e),
|
|
2852
2852
|
iconType: ke,
|
|
2853
2853
|
color: "primary",
|
|
2854
2854
|
children: "Add video"
|
|
2855
2855
|
}
|
|
2856
2856
|
)
|
|
2857
|
-
),
|
|
2858
|
-
({ playQueue: e }) => /* @__PURE__ */
|
|
2857
|
+
), Pi = P(
|
|
2858
|
+
({ playQueue: e }) => /* @__PURE__ */ o(
|
|
2859
2859
|
J,
|
|
2860
2860
|
{
|
|
2861
2861
|
iconType: ke,
|
|
@@ -2864,7 +2864,7 @@ const bi = Se.create(
|
|
|
2864
2864
|
children: "Add to play queue"
|
|
2865
2865
|
}
|
|
2866
2866
|
)
|
|
2867
|
-
),
|
|
2867
|
+
), Ii = P(
|
|
2868
2868
|
({ playQueue: e }) => {
|
|
2869
2869
|
const { euiTheme: t } = Xe();
|
|
2870
2870
|
return /* @__PURE__ */ w(
|
|
@@ -2879,7 +2879,7 @@ const bi = Se.create(
|
|
|
2879
2879
|
background: t.colors.backgroundBasePlain
|
|
2880
2880
|
},
|
|
2881
2881
|
children: [
|
|
2882
|
-
/* @__PURE__ */
|
|
2882
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(
|
|
2883
2883
|
J,
|
|
2884
2884
|
{
|
|
2885
2885
|
disabled: !e.canPlaySelectedItemsNext,
|
|
@@ -2887,8 +2887,8 @@ const bi = Se.create(
|
|
|
2887
2887
|
children: "Play next"
|
|
2888
2888
|
}
|
|
2889
2889
|
) }),
|
|
2890
|
-
/* @__PURE__ */
|
|
2891
|
-
/* @__PURE__ */
|
|
2890
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(Pi, { playQueue: e }) }),
|
|
2891
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(
|
|
2892
2892
|
J,
|
|
2893
2893
|
{
|
|
2894
2894
|
iconType: Ze,
|
|
@@ -2897,26 +2897,26 @@ const bi = Se.create(
|
|
|
2897
2897
|
children: "Remove"
|
|
2898
2898
|
}
|
|
2899
2899
|
) }),
|
|
2900
|
-
/* @__PURE__ */
|
|
2900
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(
|
|
2901
2901
|
J,
|
|
2902
2902
|
{
|
|
2903
|
-
iconType:
|
|
2903
|
+
iconType: Qr,
|
|
2904
2904
|
onClick: e.clear,
|
|
2905
2905
|
disabled: !e.canClear,
|
|
2906
2906
|
children: "Clear"
|
|
2907
2907
|
}
|
|
2908
2908
|
) }),
|
|
2909
|
-
/* @__PURE__ */
|
|
2910
|
-
/* @__PURE__ */
|
|
2909
|
+
/* @__PURE__ */ o(K, { grow: !0 }),
|
|
2910
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(sr, { onFulfilled: e.addItemFromDto }) })
|
|
2911
2911
|
]
|
|
2912
2912
|
}
|
|
2913
2913
|
);
|
|
2914
2914
|
}
|
|
2915
|
-
),
|
|
2915
|
+
), Ci = P(
|
|
2916
2916
|
({ playQueue: e }) => {
|
|
2917
2917
|
const { euiTheme: t } = Xe();
|
|
2918
2918
|
return /* @__PURE__ */ w(
|
|
2919
|
-
|
|
2919
|
+
Kt,
|
|
2920
2920
|
{
|
|
2921
2921
|
style: {
|
|
2922
2922
|
position: "sticky",
|
|
@@ -2925,8 +2925,8 @@ const bi = Se.create(
|
|
|
2925
2925
|
background: t.colors.backgroundBasePlain
|
|
2926
2926
|
},
|
|
2927
2927
|
children: [
|
|
2928
|
-
/* @__PURE__ */
|
|
2929
|
-
|
|
2928
|
+
/* @__PURE__ */ o(Br, { children: /* @__PURE__ */ o(
|
|
2929
|
+
Ct,
|
|
2930
2930
|
{
|
|
2931
2931
|
id: "",
|
|
2932
2932
|
checked: e.allItemsSelected,
|
|
@@ -2935,14 +2935,14 @@ const bi = Se.create(
|
|
|
2935
2935
|
}
|
|
2936
2936
|
}
|
|
2937
2937
|
) }),
|
|
2938
|
-
/* @__PURE__ */
|
|
2939
|
-
/* @__PURE__ */
|
|
2940
|
-
/* @__PURE__ */
|
|
2938
|
+
/* @__PURE__ */ o(Te, { width: 24 }),
|
|
2939
|
+
/* @__PURE__ */ o(Te, { children: "Title" }),
|
|
2940
|
+
/* @__PURE__ */ o(Te, {})
|
|
2941
2941
|
]
|
|
2942
2942
|
}
|
|
2943
2943
|
);
|
|
2944
2944
|
}
|
|
2945
|
-
),
|
|
2945
|
+
), Ti = de(
|
|
2946
2946
|
({
|
|
2947
2947
|
item: e,
|
|
2948
2948
|
closePopover: t
|
|
@@ -2969,17 +2969,17 @@ const bi = Se.create(
|
|
|
2969
2969
|
items: [
|
|
2970
2970
|
r({
|
|
2971
2971
|
name: "Play first",
|
|
2972
|
-
icon: /* @__PURE__ */
|
|
2972
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
2973
2973
|
onClick: e.playFirst
|
|
2974
2974
|
}),
|
|
2975
2975
|
r({
|
|
2976
2976
|
name: "Play next",
|
|
2977
|
-
icon: /* @__PURE__ */
|
|
2977
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
2978
2978
|
onClick: e.playNext
|
|
2979
2979
|
}),
|
|
2980
2980
|
r({
|
|
2981
2981
|
name: "Add to play queue",
|
|
2982
|
-
icon: /* @__PURE__ */
|
|
2982
|
+
icon: /* @__PURE__ */ o(z, { type: ke }),
|
|
2983
2983
|
onClick: e.addToPlayQueue
|
|
2984
2984
|
}),
|
|
2985
2985
|
{
|
|
@@ -2987,13 +2987,13 @@ const bi = Se.create(
|
|
|
2987
2987
|
},
|
|
2988
2988
|
r({
|
|
2989
2989
|
name: "Move to the top",
|
|
2990
|
-
icon: /* @__PURE__ */
|
|
2990
|
+
icon: /* @__PURE__ */ o(z, { type: zr }),
|
|
2991
2991
|
onClick: e.moveToTop,
|
|
2992
2992
|
disabled: !e.canMoveToTop
|
|
2993
2993
|
}),
|
|
2994
2994
|
r({
|
|
2995
2995
|
name: "Move to the bottom",
|
|
2996
|
-
icon: /* @__PURE__ */
|
|
2996
|
+
icon: /* @__PURE__ */ o(z, { type: Yr }),
|
|
2997
2997
|
onClick: e.moveToBottom,
|
|
2998
2998
|
disabled: !e.canMoveToBottom
|
|
2999
2999
|
}),
|
|
@@ -3002,13 +3002,13 @@ const bi = Se.create(
|
|
|
3002
3002
|
},
|
|
3003
3003
|
r({
|
|
3004
3004
|
name: "Remove to the top",
|
|
3005
|
-
icon: /* @__PURE__ */
|
|
3005
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
3006
3006
|
onClick: e.removeToTop,
|
|
3007
3007
|
disabled: !e.canRemoveToTop
|
|
3008
3008
|
}),
|
|
3009
3009
|
r({
|
|
3010
3010
|
name: "Remove others",
|
|
3011
|
-
icon: /* @__PURE__ */
|
|
3011
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
3012
3012
|
onClick: e.removeOthers,
|
|
3013
3013
|
disabled: !e.canRemoveOthers
|
|
3014
3014
|
})
|
|
@@ -3017,20 +3017,20 @@ const bi = Se.create(
|
|
|
3017
3017
|
],
|
|
3018
3018
|
[r, e]
|
|
3019
3019
|
);
|
|
3020
|
-
return /* @__PURE__ */
|
|
3020
|
+
return /* @__PURE__ */ o(Pt, { initialPanelId: 0, panels: a });
|
|
3021
3021
|
}
|
|
3022
|
-
),
|
|
3022
|
+
), xi = de(
|
|
3023
3023
|
({ item: e }) => {
|
|
3024
3024
|
const [t, r] = Y(!1), a = $(() => r(!t), [t]), i = $(() => r(!1), []);
|
|
3025
|
-
return /* @__PURE__ */
|
|
3025
|
+
return /* @__PURE__ */ o(
|
|
3026
3026
|
Ke,
|
|
3027
3027
|
{
|
|
3028
|
-
button: /* @__PURE__ */
|
|
3028
|
+
button: /* @__PURE__ */ o(
|
|
3029
3029
|
ie,
|
|
3030
3030
|
{
|
|
3031
3031
|
title: "More options",
|
|
3032
3032
|
"aria-label": "More options",
|
|
3033
|
-
iconType:
|
|
3033
|
+
iconType: tr,
|
|
3034
3034
|
size: "s",
|
|
3035
3035
|
color: "text",
|
|
3036
3036
|
onClick: a
|
|
@@ -3040,8 +3040,8 @@ const bi = Se.create(
|
|
|
3040
3040
|
closePopover: i,
|
|
3041
3041
|
panelPaddingSize: "none",
|
|
3042
3042
|
anchorPosition: "leftCenter",
|
|
3043
|
-
children: /* @__PURE__ */
|
|
3044
|
-
|
|
3043
|
+
children: /* @__PURE__ */ o(
|
|
3044
|
+
Ti,
|
|
3045
3045
|
{
|
|
3046
3046
|
item: e,
|
|
3047
3047
|
closePopover: i
|
|
@@ -3050,14 +3050,14 @@ const bi = Se.create(
|
|
|
3050
3050
|
}
|
|
3051
3051
|
);
|
|
3052
3052
|
}
|
|
3053
|
-
),
|
|
3053
|
+
), wi = P(
|
|
3054
3054
|
({ item: e }) => {
|
|
3055
3055
|
const t = Ge();
|
|
3056
3056
|
return /* @__PURE__ */ w(xe, { textOnly: !1, hasActions: !0, align: "right", children: [
|
|
3057
|
-
/* @__PURE__ */
|
|
3057
|
+
/* @__PURE__ */ o(
|
|
3058
3058
|
J,
|
|
3059
3059
|
{
|
|
3060
|
-
iconType:
|
|
3060
|
+
iconType: rr,
|
|
3061
3061
|
size: "s",
|
|
3062
3062
|
onClick: async () => {
|
|
3063
3063
|
e.isCurrent ? await t.setCurrentTime(0) : await e.play();
|
|
@@ -3065,7 +3065,7 @@ const bi = Se.create(
|
|
|
3065
3065
|
children: "Play"
|
|
3066
3066
|
}
|
|
3067
3067
|
),
|
|
3068
|
-
/* @__PURE__ */
|
|
3068
|
+
/* @__PURE__ */ o(
|
|
3069
3069
|
J,
|
|
3070
3070
|
{
|
|
3071
3071
|
iconType: Ze,
|
|
@@ -3074,53 +3074,53 @@ const bi = Se.create(
|
|
|
3074
3074
|
children: "Remove"
|
|
3075
3075
|
}
|
|
3076
3076
|
),
|
|
3077
|
-
/* @__PURE__ */
|
|
3077
|
+
/* @__PURE__ */ o(xi, { item: e })
|
|
3078
3078
|
] });
|
|
3079
3079
|
}
|
|
3080
|
-
),
|
|
3081
|
-
({ item: e }) => /* @__PURE__ */ w(
|
|
3082
|
-
/* @__PURE__ */
|
|
3083
|
-
|
|
3080
|
+
), Ei = P(
|
|
3081
|
+
({ item: e }) => /* @__PURE__ */ w(Zt, { isSelected: e.isCurrent, children: [
|
|
3082
|
+
/* @__PURE__ */ o($r, { children: /* @__PURE__ */ o(
|
|
3083
|
+
Ct,
|
|
3084
3084
|
{
|
|
3085
3085
|
id: e.id.toString(),
|
|
3086
3086
|
checked: e.isSelected,
|
|
3087
3087
|
onChange: e.toggleSelected
|
|
3088
3088
|
}
|
|
3089
3089
|
) }),
|
|
3090
|
-
/* @__PURE__ */
|
|
3090
|
+
/* @__PURE__ */ o(xe, { textOnly: !1, children: /* @__PURE__ */ o(
|
|
3091
3091
|
"img",
|
|
3092
3092
|
{
|
|
3093
|
-
src:
|
|
3093
|
+
src: ar[e.type],
|
|
3094
3094
|
width: 16,
|
|
3095
3095
|
height: 16,
|
|
3096
3096
|
alt: e.type
|
|
3097
3097
|
}
|
|
3098
3098
|
) }),
|
|
3099
|
-
/* @__PURE__ */
|
|
3100
|
-
/* @__PURE__ */
|
|
3099
|
+
/* @__PURE__ */ o(xe, { children: /* @__PURE__ */ o(Xt, { href: e.url, target: "_blank", external: !0, children: e.title }) }),
|
|
3100
|
+
/* @__PURE__ */ o(wi, { item: e })
|
|
3101
3101
|
] })
|
|
3102
|
-
),
|
|
3103
|
-
({ playQueue: e }) => /* @__PURE__ */
|
|
3104
|
-
|
|
3102
|
+
), Ri = P(
|
|
3103
|
+
({ playQueue: e }) => /* @__PURE__ */ o(
|
|
3104
|
+
or,
|
|
3105
3105
|
{
|
|
3106
3106
|
tag: "tbody",
|
|
3107
3107
|
list: e.items,
|
|
3108
3108
|
setList: (t) => e.setItems(t),
|
|
3109
|
-
children: e.items.map((t) => /* @__PURE__ */
|
|
3109
|
+
children: e.items.map((t) => /* @__PURE__ */ o(Ei, { item: t }, t.id))
|
|
3110
3110
|
}
|
|
3111
3111
|
)
|
|
3112
|
-
), Ri = P(
|
|
3113
|
-
({ playQueue: e }) => /* @__PURE__ */ w(Zt, { children: [
|
|
3114
|
-
/* @__PURE__ */ n(Ii, { playQueue: e }),
|
|
3115
|
-
/* @__PURE__ */ n(Ei, { playQueue: e })
|
|
3116
|
-
] })
|
|
3117
3112
|
), Oi = P(
|
|
3113
|
+
({ playQueue: e }) => /* @__PURE__ */ w(er, { children: [
|
|
3114
|
+
/* @__PURE__ */ o(Ci, { playQueue: e }),
|
|
3115
|
+
/* @__PURE__ */ o(Ri, { playQueue: e })
|
|
3116
|
+
] })
|
|
3117
|
+
), _i = P(
|
|
3118
3118
|
({ playQueue: e }) => {
|
|
3119
3119
|
const { euiTheme: t } = Xe();
|
|
3120
3120
|
return /* @__PURE__ */ w(Je.Section, { children: [
|
|
3121
|
-
/* @__PURE__ */
|
|
3122
|
-
/* @__PURE__ */
|
|
3123
|
-
|
|
3121
|
+
/* @__PURE__ */ o(Ii, { playQueue: e }),
|
|
3122
|
+
/* @__PURE__ */ o(
|
|
3123
|
+
St,
|
|
3124
3124
|
{
|
|
3125
3125
|
size: "l",
|
|
3126
3126
|
style: {
|
|
@@ -3131,28 +3131,28 @@ const bi = Se.create(
|
|
|
3131
3131
|
}
|
|
3132
3132
|
}
|
|
3133
3133
|
),
|
|
3134
|
-
e.isEmpty ? /* @__PURE__ */
|
|
3135
|
-
|
|
3134
|
+
e.isEmpty ? /* @__PURE__ */ o(
|
|
3135
|
+
Lo,
|
|
3136
3136
|
{
|
|
3137
|
-
title: /* @__PURE__ */
|
|
3138
|
-
body: /* @__PURE__ */
|
|
3139
|
-
actions: /* @__PURE__ */
|
|
3140
|
-
|
|
3137
|
+
title: /* @__PURE__ */ o("h2", { children: "We couldn't find any videos" }),
|
|
3138
|
+
body: /* @__PURE__ */ o("p", { children: "Your video library doesn't contain any video content." }),
|
|
3139
|
+
actions: /* @__PURE__ */ o(
|
|
3140
|
+
sr,
|
|
3141
3141
|
{
|
|
3142
3142
|
onFulfilled: e.addItemFromDto
|
|
3143
3143
|
}
|
|
3144
3144
|
)
|
|
3145
3145
|
}
|
|
3146
|
-
) : /* @__PURE__ */
|
|
3146
|
+
) : /* @__PURE__ */ o(Oi, { playQueue: e })
|
|
3147
3147
|
] });
|
|
3148
3148
|
}
|
|
3149
|
-
),
|
|
3149
|
+
), lr = ({
|
|
3150
3150
|
breadcrumbs: e,
|
|
3151
3151
|
tabs: t,
|
|
3152
3152
|
...r
|
|
3153
3153
|
}) => {
|
|
3154
|
-
const a =
|
|
3155
|
-
return /* @__PURE__ */
|
|
3154
|
+
const a = nr();
|
|
3155
|
+
return /* @__PURE__ */ o(
|
|
3156
3156
|
Je.Header,
|
|
3157
3157
|
{
|
|
3158
3158
|
...r,
|
|
@@ -3178,19 +3178,19 @@ const bi = Se.create(
|
|
|
3178
3178
|
}))
|
|
3179
3179
|
}
|
|
3180
3180
|
);
|
|
3181
|
-
},
|
|
3181
|
+
}, Ta = () => {
|
|
3182
3182
|
const e = tt();
|
|
3183
3183
|
return /* @__PURE__ */ w(et, { children: [
|
|
3184
|
-
/* @__PURE__ */
|
|
3185
|
-
|
|
3184
|
+
/* @__PURE__ */ o(
|
|
3185
|
+
lr,
|
|
3186
3186
|
{
|
|
3187
3187
|
pageTitle: "Play queue",
|
|
3188
3188
|
rightSideItems: []
|
|
3189
3189
|
}
|
|
3190
3190
|
),
|
|
3191
|
-
/* @__PURE__ */
|
|
3191
|
+
/* @__PURE__ */ o(_i, { playQueue: e })
|
|
3192
3192
|
] });
|
|
3193
|
-
},
|
|
3193
|
+
}, Ai = Se.create(
|
|
3194
3194
|
({
|
|
3195
3195
|
remove: e,
|
|
3196
3196
|
resolve: t,
|
|
@@ -3203,8 +3203,8 @@ const bi = Se.create(
|
|
|
3203
3203
|
i(!1);
|
|
3204
3204
|
}
|
|
3205
3205
|
}, [t, e]);
|
|
3206
|
-
return /* @__PURE__ */
|
|
3207
|
-
|
|
3206
|
+
return /* @__PURE__ */ o(
|
|
3207
|
+
Qo,
|
|
3208
3208
|
{
|
|
3209
3209
|
title: "Delete playlist permanently?",
|
|
3210
3210
|
onCancel: e,
|
|
@@ -3221,8 +3221,8 @@ const bi = Se.create(
|
|
|
3221
3221
|
}
|
|
3222
3222
|
);
|
|
3223
3223
|
}
|
|
3224
|
-
),
|
|
3225
|
-
({ playlist: e }) => /* @__PURE__ */
|
|
3224
|
+
), ki = P(
|
|
3225
|
+
({ playlist: e }) => /* @__PURE__ */ o(
|
|
3226
3226
|
J,
|
|
3227
3227
|
{
|
|
3228
3228
|
iconType: ke,
|
|
@@ -3231,7 +3231,7 @@ const bi = Se.create(
|
|
|
3231
3231
|
children: "Add to play queue"
|
|
3232
3232
|
}
|
|
3233
3233
|
)
|
|
3234
|
-
),
|
|
3234
|
+
), Fi = P(
|
|
3235
3235
|
({ playlist: e }) => {
|
|
3236
3236
|
const { euiTheme: t } = Xe();
|
|
3237
3237
|
return /* @__PURE__ */ w(
|
|
@@ -3246,7 +3246,7 @@ const bi = Se.create(
|
|
|
3246
3246
|
background: t.colors.backgroundBasePlain
|
|
3247
3247
|
},
|
|
3248
3248
|
children: [
|
|
3249
|
-
/* @__PURE__ */
|
|
3249
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(
|
|
3250
3250
|
J,
|
|
3251
3251
|
{
|
|
3252
3252
|
disabled: !e.canPlaySelectedItemsNext,
|
|
@@ -3254,8 +3254,8 @@ const bi = Se.create(
|
|
|
3254
3254
|
children: "Play next"
|
|
3255
3255
|
}
|
|
3256
3256
|
) }),
|
|
3257
|
-
/* @__PURE__ */
|
|
3258
|
-
/* @__PURE__ */
|
|
3257
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(ki, { playlist: e }) }),
|
|
3258
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(
|
|
3259
3259
|
J,
|
|
3260
3260
|
{
|
|
3261
3261
|
iconType: Ze,
|
|
@@ -3264,16 +3264,16 @@ const bi = Se.create(
|
|
|
3264
3264
|
children: "Remove"
|
|
3265
3265
|
}
|
|
3266
3266
|
) }),
|
|
3267
|
-
/* @__PURE__ */
|
|
3268
|
-
/* @__PURE__ */
|
|
3267
|
+
/* @__PURE__ */ o(K, { grow: !0 }),
|
|
3268
|
+
/* @__PURE__ */ o(K, { grow: !1, children: /* @__PURE__ */ o(sr, { onFulfilled: e.addItemFromDto }) })
|
|
3269
3269
|
]
|
|
3270
3270
|
}
|
|
3271
3271
|
);
|
|
3272
3272
|
}
|
|
3273
|
-
),
|
|
3274
|
-
({ playlist: e }) => /* @__PURE__ */ w(
|
|
3275
|
-
/* @__PURE__ */
|
|
3276
|
-
|
|
3273
|
+
), Mi = P(
|
|
3274
|
+
({ playlist: e }) => /* @__PURE__ */ w(Kt, { children: [
|
|
3275
|
+
/* @__PURE__ */ o(Br, { children: /* @__PURE__ */ o(
|
|
3276
|
+
Ct,
|
|
3277
3277
|
{
|
|
3278
3278
|
id: "",
|
|
3279
3279
|
checked: e.allItemsSelected,
|
|
@@ -3282,11 +3282,11 @@ const bi = Se.create(
|
|
|
3282
3282
|
}
|
|
3283
3283
|
}
|
|
3284
3284
|
) }),
|
|
3285
|
-
/* @__PURE__ */
|
|
3286
|
-
/* @__PURE__ */
|
|
3287
|
-
/* @__PURE__ */
|
|
3285
|
+
/* @__PURE__ */ o(Te, { width: 24 }),
|
|
3286
|
+
/* @__PURE__ */ o(Te, { children: "Title" }),
|
|
3287
|
+
/* @__PURE__ */ o(Te, {})
|
|
3288
3288
|
] })
|
|
3289
|
-
),
|
|
3289
|
+
), Di = de(
|
|
3290
3290
|
({
|
|
3291
3291
|
item: e,
|
|
3292
3292
|
closePopover: t
|
|
@@ -3313,17 +3313,17 @@ const bi = Se.create(
|
|
|
3313
3313
|
items: [
|
|
3314
3314
|
r({
|
|
3315
3315
|
name: "Play first",
|
|
3316
|
-
icon: /* @__PURE__ */
|
|
3316
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
3317
3317
|
onClick: e.playFirst
|
|
3318
3318
|
}),
|
|
3319
3319
|
r({
|
|
3320
3320
|
name: "Play next",
|
|
3321
|
-
icon: /* @__PURE__ */
|
|
3321
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
3322
3322
|
onClick: e.playNext
|
|
3323
3323
|
}),
|
|
3324
3324
|
r({
|
|
3325
3325
|
name: "Add to play queue",
|
|
3326
|
-
icon: /* @__PURE__ */
|
|
3326
|
+
icon: /* @__PURE__ */ o(z, { type: ke }),
|
|
3327
3327
|
onClick: e.addToPlayQueue
|
|
3328
3328
|
}),
|
|
3329
3329
|
{
|
|
@@ -3331,13 +3331,13 @@ const bi = Se.create(
|
|
|
3331
3331
|
},
|
|
3332
3332
|
r({
|
|
3333
3333
|
name: "Move to the top",
|
|
3334
|
-
icon: /* @__PURE__ */
|
|
3334
|
+
icon: /* @__PURE__ */ o(z, { type: zr }),
|
|
3335
3335
|
onClick: e.moveToTop,
|
|
3336
3336
|
disabled: !e.canMoveToTop
|
|
3337
3337
|
}),
|
|
3338
3338
|
r({
|
|
3339
3339
|
name: "Move to the bottom",
|
|
3340
|
-
icon: /* @__PURE__ */
|
|
3340
|
+
icon: /* @__PURE__ */ o(z, { type: Yr }),
|
|
3341
3341
|
onClick: e.moveToBottom,
|
|
3342
3342
|
disabled: !e.canMoveToBottom
|
|
3343
3343
|
}),
|
|
@@ -3346,13 +3346,13 @@ const bi = Se.create(
|
|
|
3346
3346
|
},
|
|
3347
3347
|
r({
|
|
3348
3348
|
name: "Remove to the top",
|
|
3349
|
-
icon: /* @__PURE__ */
|
|
3349
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
3350
3350
|
onClick: e.removeToTop,
|
|
3351
3351
|
disabled: !e.canRemoveToTop
|
|
3352
3352
|
}),
|
|
3353
3353
|
r({
|
|
3354
3354
|
name: "Remove others",
|
|
3355
|
-
icon: /* @__PURE__ */
|
|
3355
|
+
icon: /* @__PURE__ */ o(z, { type: "" }),
|
|
3356
3356
|
onClick: e.removeOthers,
|
|
3357
3357
|
disabled: !e.canRemoveOthers
|
|
3358
3358
|
})
|
|
@@ -3361,20 +3361,20 @@ const bi = Se.create(
|
|
|
3361
3361
|
],
|
|
3362
3362
|
[r, e]
|
|
3363
3363
|
);
|
|
3364
|
-
return /* @__PURE__ */
|
|
3364
|
+
return /* @__PURE__ */ o(Pt, { initialPanelId: 0, panels: a });
|
|
3365
3365
|
}
|
|
3366
|
-
),
|
|
3366
|
+
), Bi = de(
|
|
3367
3367
|
({ item: e }) => {
|
|
3368
3368
|
const [t, r] = Y(!1), a = $(() => r(!t), [t]), i = $(() => r(!1), []);
|
|
3369
|
-
return /* @__PURE__ */
|
|
3369
|
+
return /* @__PURE__ */ o(
|
|
3370
3370
|
Ke,
|
|
3371
3371
|
{
|
|
3372
|
-
button: /* @__PURE__ */
|
|
3372
|
+
button: /* @__PURE__ */ o(
|
|
3373
3373
|
ie,
|
|
3374
3374
|
{
|
|
3375
3375
|
title: "More options",
|
|
3376
3376
|
"aria-label": "More options",
|
|
3377
|
-
iconType:
|
|
3377
|
+
iconType: tr,
|
|
3378
3378
|
size: "s",
|
|
3379
3379
|
color: "text",
|
|
3380
3380
|
onClick: a
|
|
@@ -3384,8 +3384,8 @@ const bi = Se.create(
|
|
|
3384
3384
|
closePopover: i,
|
|
3385
3385
|
panelPaddingSize: "none",
|
|
3386
3386
|
anchorPosition: "leftCenter",
|
|
3387
|
-
children: /* @__PURE__ */
|
|
3388
|
-
|
|
3387
|
+
children: /* @__PURE__ */ o(
|
|
3388
|
+
Di,
|
|
3389
3389
|
{
|
|
3390
3390
|
item: e,
|
|
3391
3391
|
closePopover: i
|
|
@@ -3394,10 +3394,10 @@ const bi = Se.create(
|
|
|
3394
3394
|
}
|
|
3395
3395
|
);
|
|
3396
3396
|
}
|
|
3397
|
-
),
|
|
3397
|
+
), $i = P(
|
|
3398
3398
|
({ item: e }) => /* @__PURE__ */ w(xe, { textOnly: !1, hasActions: !0, align: "right", children: [
|
|
3399
|
-
/* @__PURE__ */
|
|
3400
|
-
/* @__PURE__ */
|
|
3399
|
+
/* @__PURE__ */ o(J, { iconType: rr, size: "s", onClick: e.play, children: "Play" }),
|
|
3400
|
+
/* @__PURE__ */ o(
|
|
3401
3401
|
J,
|
|
3402
3402
|
{
|
|
3403
3403
|
iconType: Ze,
|
|
@@ -3406,52 +3406,52 @@ const bi = Se.create(
|
|
|
3406
3406
|
children: "Remove"
|
|
3407
3407
|
}
|
|
3408
3408
|
),
|
|
3409
|
-
/* @__PURE__ */
|
|
3409
|
+
/* @__PURE__ */ o(Bi, { item: e })
|
|
3410
3410
|
] })
|
|
3411
|
-
),
|
|
3412
|
-
({ item: e }) => /* @__PURE__ */ w(
|
|
3413
|
-
/* @__PURE__ */
|
|
3414
|
-
|
|
3411
|
+
), Ni = P(
|
|
3412
|
+
({ item: e }) => /* @__PURE__ */ w(Zt, { isSelected: e.isCurrent, children: [
|
|
3413
|
+
/* @__PURE__ */ o($r, { children: /* @__PURE__ */ o(
|
|
3414
|
+
Ct,
|
|
3415
3415
|
{
|
|
3416
3416
|
id: e.id.toString(),
|
|
3417
3417
|
checked: e.isSelected,
|
|
3418
3418
|
onChange: e.toggleSelected
|
|
3419
3419
|
}
|
|
3420
3420
|
) }),
|
|
3421
|
-
/* @__PURE__ */
|
|
3421
|
+
/* @__PURE__ */ o(xe, { textOnly: !1, children: /* @__PURE__ */ o(
|
|
3422
3422
|
"img",
|
|
3423
3423
|
{
|
|
3424
|
-
src:
|
|
3424
|
+
src: ar[e.type],
|
|
3425
3425
|
width: 16,
|
|
3426
3426
|
height: 16,
|
|
3427
3427
|
alt: e.type
|
|
3428
3428
|
}
|
|
3429
3429
|
) }),
|
|
3430
|
-
/* @__PURE__ */
|
|
3431
|
-
/* @__PURE__ */
|
|
3430
|
+
/* @__PURE__ */ o(xe, { children: /* @__PURE__ */ o(Xt, { href: e.url, target: "_blank", external: !0, children: e.title }) }),
|
|
3431
|
+
/* @__PURE__ */ o($i, { item: e })
|
|
3432
3432
|
] })
|
|
3433
|
-
),
|
|
3434
|
-
({ playlist: e }) => /* @__PURE__ */
|
|
3435
|
-
|
|
3433
|
+
), ji = P(
|
|
3434
|
+
({ playlist: e }) => /* @__PURE__ */ o(
|
|
3435
|
+
or,
|
|
3436
3436
|
{
|
|
3437
3437
|
tag: "tbody",
|
|
3438
3438
|
list: e.items,
|
|
3439
3439
|
setList: (t) => e.setItems(t),
|
|
3440
|
-
children: e.items.map((t) => /* @__PURE__ */
|
|
3440
|
+
children: e.items.map((t) => /* @__PURE__ */ o(Ni, { item: t }, t.id))
|
|
3441
3441
|
}
|
|
3442
3442
|
)
|
|
3443
|
-
), ji = P(
|
|
3444
|
-
({ playlist: e }) => /* @__PURE__ */ w(Zt, { children: [
|
|
3445
|
-
/* @__PURE__ */ n(Fi, { playlist: e }),
|
|
3446
|
-
/* @__PURE__ */ n(Ni, { playlist: e })
|
|
3447
|
-
] })
|
|
3448
3443
|
), Li = P(
|
|
3444
|
+
({ playlist: e }) => /* @__PURE__ */ w(er, { children: [
|
|
3445
|
+
/* @__PURE__ */ o(Mi, { playlist: e }),
|
|
3446
|
+
/* @__PURE__ */ o(ji, { playlist: e })
|
|
3447
|
+
] })
|
|
3448
|
+
), Qi = P(
|
|
3449
3449
|
({ playlist: e }) => {
|
|
3450
3450
|
const { euiTheme: t } = Xe();
|
|
3451
3451
|
return /* @__PURE__ */ w(Je.Section, { children: [
|
|
3452
|
-
/* @__PURE__ */
|
|
3453
|
-
/* @__PURE__ */
|
|
3454
|
-
|
|
3452
|
+
/* @__PURE__ */ o(Fi, { playlist: e }),
|
|
3453
|
+
/* @__PURE__ */ o(
|
|
3454
|
+
St,
|
|
3455
3455
|
{
|
|
3456
3456
|
size: "l",
|
|
3457
3457
|
style: {
|
|
@@ -3462,20 +3462,20 @@ const bi = Se.create(
|
|
|
3462
3462
|
}
|
|
3463
3463
|
}
|
|
3464
3464
|
),
|
|
3465
|
-
e.isEmpty ? /* @__PURE__ */
|
|
3465
|
+
e.isEmpty ? /* @__PURE__ */ o(et, {}) : /* @__PURE__ */ o(Li, { playlist: e })
|
|
3466
3466
|
] });
|
|
3467
3467
|
}
|
|
3468
|
-
),
|
|
3468
|
+
), zi = Se.create(
|
|
3469
3469
|
({
|
|
3470
3470
|
remove: e,
|
|
3471
3471
|
resolve: t,
|
|
3472
3472
|
playlistListItem: r
|
|
3473
3473
|
}) => {
|
|
3474
|
-
const a =
|
|
3475
|
-
return /* @__PURE__ */ w(
|
|
3476
|
-
/* @__PURE__ */
|
|
3477
|
-
/* @__PURE__ */
|
|
3478
|
-
|
|
3474
|
+
const a = Vt({ prefix: "modalForm" }), [i, s] = Y(r.name), [l, y] = Y(!1);
|
|
3475
|
+
return /* @__PURE__ */ w(Jt, { onClose: e, initialFocus: "[name=name]", children: [
|
|
3476
|
+
/* @__PURE__ */ o(Wt, { children: /* @__PURE__ */ o(Ut, { children: "Rename playlist" }) }),
|
|
3477
|
+
/* @__PURE__ */ o(Ht, { children: /* @__PURE__ */ o(
|
|
3478
|
+
qt,
|
|
3479
3479
|
{
|
|
3480
3480
|
id: a,
|
|
3481
3481
|
component: "form",
|
|
@@ -3487,8 +3487,8 @@ const bi = Se.create(
|
|
|
3487
3487
|
y(!1);
|
|
3488
3488
|
}
|
|
3489
3489
|
},
|
|
3490
|
-
children: /* @__PURE__ */
|
|
3491
|
-
|
|
3490
|
+
children: /* @__PURE__ */ o(Ve, { label: "Name", children: /* @__PURE__ */ o(
|
|
3491
|
+
gt,
|
|
3492
3492
|
{
|
|
3493
3493
|
name: "name",
|
|
3494
3494
|
value: i,
|
|
@@ -3497,9 +3497,9 @@ const bi = Se.create(
|
|
|
3497
3497
|
) })
|
|
3498
3498
|
}
|
|
3499
3499
|
) }),
|
|
3500
|
-
/* @__PURE__ */ w(
|
|
3501
|
-
/* @__PURE__ */
|
|
3502
|
-
/* @__PURE__ */
|
|
3500
|
+
/* @__PURE__ */ w(Gt, { children: [
|
|
3501
|
+
/* @__PURE__ */ o(It, { onClick: e, children: "Cancel" }),
|
|
3502
|
+
/* @__PURE__ */ o(
|
|
3503
3503
|
J,
|
|
3504
3504
|
{
|
|
3505
3505
|
type: "submit",
|
|
@@ -3514,20 +3514,20 @@ const bi = Se.create(
|
|
|
3514
3514
|
] });
|
|
3515
3515
|
}
|
|
3516
3516
|
);
|
|
3517
|
-
var
|
|
3518
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
3517
|
+
var Yi = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, U = (e, t, r, a) => {
|
|
3518
|
+
for (var i = a > 1 ? void 0 : a ? Vi(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
3519
3519
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
3520
|
-
return a && i &&
|
|
3520
|
+
return a && i && Yi(t, r, i), i;
|
|
3521
3521
|
};
|
|
3522
|
-
const j = class
|
|
3522
|
+
const j = class Yt {
|
|
3523
3523
|
constructor(t, r, a) {
|
|
3524
|
-
this.playQueue = t, this.playlist = r, this.dto = a, ae(this), this.id =
|
|
3524
|
+
this.playQueue = t, this.playlist = r, this.dto = a, ae(this), this.id = Yt.nextId++;
|
|
3525
3525
|
}
|
|
3526
3526
|
static nextId = 1;
|
|
3527
3527
|
id;
|
|
3528
3528
|
isSelected = !1;
|
|
3529
3529
|
static fromDto(t, r, a) {
|
|
3530
|
-
return new
|
|
3530
|
+
return new Yt(t, r, a);
|
|
3531
3531
|
}
|
|
3532
3532
|
get url() {
|
|
3533
3533
|
return this.dto.url;
|
|
@@ -3673,13 +3673,13 @@ U([
|
|
|
3673
3673
|
U([
|
|
3674
3674
|
u.bound
|
|
3675
3675
|
], j.prototype, "removeOthers", 1);
|
|
3676
|
-
let
|
|
3677
|
-
var
|
|
3678
|
-
for (var i = a > 1 ? void 0 : a ?
|
|
3676
|
+
let Ui = j;
|
|
3677
|
+
var Wi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, M = (e, t, r, a) => {
|
|
3678
|
+
for (var i = a > 1 ? void 0 : a ? qi(t, r) : t, s = e.length - 1, l; s >= 0; s--)
|
|
3679
3679
|
(l = e[s]) && (i = (a ? l(t, r, i) : l(i)) || i);
|
|
3680
|
-
return a && i &&
|
|
3680
|
+
return a && i && Wi(t, r, i), i;
|
|
3681
3681
|
};
|
|
3682
|
-
const
|
|
3682
|
+
const Hi = {
|
|
3683
3683
|
type: "object",
|
|
3684
3684
|
properties: {
|
|
3685
3685
|
version: {
|
|
@@ -3689,11 +3689,11 @@ const qi = {
|
|
|
3689
3689
|
items: {
|
|
3690
3690
|
type: "array",
|
|
3691
3691
|
nullable: !0,
|
|
3692
|
-
items:
|
|
3692
|
+
items: ro
|
|
3693
3693
|
}
|
|
3694
3694
|
}
|
|
3695
3695
|
};
|
|
3696
|
-
class
|
|
3696
|
+
class ao {
|
|
3697
3697
|
constructor(t) {
|
|
3698
3698
|
this.playlist = t, ae(this);
|
|
3699
3699
|
}
|
|
@@ -3707,23 +3707,23 @@ class io {
|
|
|
3707
3707
|
this.playlist.items = t.items?.map((r) => this.playlist.createItemFromDto(r)) ?? [];
|
|
3708
3708
|
}
|
|
3709
3709
|
validateState(t) {
|
|
3710
|
-
return
|
|
3711
|
-
|
|
3710
|
+
return ir(
|
|
3711
|
+
Hi,
|
|
3712
3712
|
"PlaylistLocalStorageState"
|
|
3713
3713
|
)(t);
|
|
3714
3714
|
}
|
|
3715
3715
|
}
|
|
3716
3716
|
M([
|
|
3717
3717
|
f.struct
|
|
3718
|
-
],
|
|
3718
|
+
], ao.prototype, "state", 1);
|
|
3719
3719
|
class D {
|
|
3720
3720
|
constructor(t) {
|
|
3721
|
-
this.playQueue = t, ae(this), this.localStorageState = new
|
|
3721
|
+
this.playQueue = t, ae(this), this.localStorageState = new ao(this);
|
|
3722
3722
|
}
|
|
3723
3723
|
localStorageState;
|
|
3724
3724
|
items = [];
|
|
3725
3725
|
createItemFromDto(t) {
|
|
3726
|
-
return
|
|
3726
|
+
return Ui.fromDto(this.playQueue, this, {
|
|
3727
3727
|
url: t.url,
|
|
3728
3728
|
type: t.type,
|
|
3729
3729
|
videoId: t.videoId,
|
|
@@ -3790,7 +3790,7 @@ class D {
|
|
|
3790
3790
|
this.items.splice(r, 0, a);
|
|
3791
3791
|
}
|
|
3792
3792
|
async removeItems(t) {
|
|
3793
|
-
|
|
3793
|
+
vt(this.items, ...t);
|
|
3794
3794
|
}
|
|
3795
3795
|
async removeSelectedItems() {
|
|
3796
3796
|
await this.removeItems(this.selectedItemsOrAllItems), this.unselectAll();
|
|
@@ -3888,23 +3888,23 @@ M([
|
|
|
3888
3888
|
M([
|
|
3889
3889
|
u.bound
|
|
3890
3890
|
], D.prototype, "playAll", 1);
|
|
3891
|
-
const
|
|
3891
|
+
const Gi = ({ onClick: e }) => /* @__PURE__ */ o(J, { onClick: e, iconType: rr, fill: !0, children: "Play all" }), Ji = ({
|
|
3892
3892
|
playlistListItem: e,
|
|
3893
3893
|
onFulfilled: t
|
|
3894
|
-
}) => /* @__PURE__ */
|
|
3894
|
+
}) => /* @__PURE__ */ o(J, { onClick: () => Se.show(zi, {
|
|
3895
3895
|
playlistListItem: e
|
|
3896
|
-
}).then(t), iconType:
|
|
3896
|
+
}).then(t), iconType: en, children: "Rename" }), Ki = ({
|
|
3897
3897
|
playlistListItem: e,
|
|
3898
3898
|
onFulfilled: t
|
|
3899
|
-
}) => /* @__PURE__ */
|
|
3899
|
+
}) => /* @__PURE__ */ o(J, { onClick: () => Se.show(Ai, {
|
|
3900
3900
|
playlistListItem: e
|
|
3901
|
-
}).then(t), iconType:
|
|
3901
|
+
}).then(t), iconType: Qr, children: "Delete" }), xa = P(
|
|
3902
3902
|
({ playlistListItem: e }) => {
|
|
3903
|
-
const t =
|
|
3903
|
+
const t = xt.playlist(
|
|
3904
3904
|
e.id
|
|
3905
3905
|
), r = tt(), [a] = Y(() => new D(r));
|
|
3906
|
-
|
|
3907
|
-
const i =
|
|
3906
|
+
bt(t, a.localStorageState);
|
|
3907
|
+
const i = nr(), s = $(
|
|
3908
3908
|
async (y) => {
|
|
3909
3909
|
await e.rename(y);
|
|
3910
3910
|
},
|
|
@@ -3913,8 +3913,8 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
3913
3913
|
await i.navigate({ to: "/playlists" }), window.localStorage.removeItem(t), await e.remove();
|
|
3914
3914
|
}, [e, i, t]);
|
|
3915
3915
|
return /* @__PURE__ */ w(et, { children: [
|
|
3916
|
-
/* @__PURE__ */
|
|
3917
|
-
|
|
3916
|
+
/* @__PURE__ */ o(
|
|
3917
|
+
lr,
|
|
3918
3918
|
{
|
|
3919
3919
|
pageTitle: e.name,
|
|
3920
3920
|
breadcrumbs: [
|
|
@@ -3929,16 +3929,16 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
3929
3929
|
}
|
|
3930
3930
|
],
|
|
3931
3931
|
rightSideItems: [
|
|
3932
|
-
/* @__PURE__ */
|
|
3933
|
-
/* @__PURE__ */
|
|
3934
|
-
|
|
3932
|
+
/* @__PURE__ */ o(Gi, { onClick: a.playAll }),
|
|
3933
|
+
/* @__PURE__ */ o(
|
|
3934
|
+
Ji,
|
|
3935
3935
|
{
|
|
3936
3936
|
playlistListItem: e,
|
|
3937
3937
|
onFulfilled: s
|
|
3938
3938
|
}
|
|
3939
3939
|
),
|
|
3940
|
-
/* @__PURE__ */
|
|
3941
|
-
|
|
3940
|
+
/* @__PURE__ */ o(
|
|
3941
|
+
Ki,
|
|
3942
3942
|
{
|
|
3943
3943
|
playlistListItem: e,
|
|
3944
3944
|
onFulfilled: l
|
|
@@ -3947,16 +3947,16 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
3947
3947
|
]
|
|
3948
3948
|
}
|
|
3949
3949
|
),
|
|
3950
|
-
/* @__PURE__ */
|
|
3950
|
+
/* @__PURE__ */ o(Qi, { playlist: a })
|
|
3951
3951
|
] });
|
|
3952
3952
|
}
|
|
3953
|
-
),
|
|
3953
|
+
), Xi = Se.create(
|
|
3954
3954
|
({ remove: e, resolve: t }) => {
|
|
3955
|
-
const r =
|
|
3956
|
-
return /* @__PURE__ */ w(
|
|
3957
|
-
/* @__PURE__ */
|
|
3958
|
-
/* @__PURE__ */
|
|
3959
|
-
|
|
3955
|
+
const r = Vt({ prefix: "modalForm" }), [a, i] = Y(""), [s, l] = Y(!1);
|
|
3956
|
+
return /* @__PURE__ */ w(Jt, { onClose: e, initialFocus: "[name=name]", children: [
|
|
3957
|
+
/* @__PURE__ */ o(Wt, { children: /* @__PURE__ */ o(Ut, { children: "Create playlist" }) }),
|
|
3958
|
+
/* @__PURE__ */ o(Ht, { children: /* @__PURE__ */ o(
|
|
3959
|
+
qt,
|
|
3960
3960
|
{
|
|
3961
3961
|
id: r,
|
|
3962
3962
|
component: "form",
|
|
@@ -3968,8 +3968,8 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
3968
3968
|
l(!1);
|
|
3969
3969
|
}
|
|
3970
3970
|
},
|
|
3971
|
-
children: /* @__PURE__ */
|
|
3972
|
-
|
|
3971
|
+
children: /* @__PURE__ */ o(Ve, { label: "Name", children: /* @__PURE__ */ o(
|
|
3972
|
+
gt,
|
|
3973
3973
|
{
|
|
3974
3974
|
name: "name",
|
|
3975
3975
|
value: a,
|
|
@@ -3978,9 +3978,9 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
3978
3978
|
) })
|
|
3979
3979
|
}
|
|
3980
3980
|
) }),
|
|
3981
|
-
/* @__PURE__ */ w(
|
|
3982
|
-
/* @__PURE__ */
|
|
3983
|
-
/* @__PURE__ */
|
|
3981
|
+
/* @__PURE__ */ w(Gt, { children: [
|
|
3982
|
+
/* @__PURE__ */ o(It, { onClick: e, children: "Cancel" }),
|
|
3983
|
+
/* @__PURE__ */ o(
|
|
3984
3984
|
J,
|
|
3985
3985
|
{
|
|
3986
3986
|
type: "submit",
|
|
@@ -3994,18 +3994,18 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
3994
3994
|
] })
|
|
3995
3995
|
] });
|
|
3996
3996
|
}
|
|
3997
|
-
),
|
|
3997
|
+
), Zi = ({
|
|
3998
3998
|
children: e,
|
|
3999
3999
|
onFulfilled: t
|
|
4000
|
-
}) => /* @__PURE__ */
|
|
4000
|
+
}) => /* @__PURE__ */ o(J, { onClick: () => Se.show(Xi).then(t), iconType: ke, fill: !0, children: e }), ea = ({
|
|
4001
4001
|
linkProps: e,
|
|
4002
4002
|
...t
|
|
4003
4003
|
}) => {
|
|
4004
|
-
const r =
|
|
4004
|
+
const r = nr(), a = async (i) => {
|
|
4005
4005
|
i.preventDefault(), await r.navigate(e);
|
|
4006
4006
|
};
|
|
4007
|
-
return /* @__PURE__ */
|
|
4008
|
-
|
|
4007
|
+
return /* @__PURE__ */ o(
|
|
4008
|
+
Xt,
|
|
4009
4009
|
{
|
|
4010
4010
|
...t,
|
|
4011
4011
|
href: r.buildLocation(
|
|
@@ -4015,11 +4015,11 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
4015
4015
|
onClick: a
|
|
4016
4016
|
}
|
|
4017
4017
|
);
|
|
4018
|
-
},
|
|
4019
|
-
({ playlistList: e }) => /* @__PURE__ */
|
|
4020
|
-
),
|
|
4021
|
-
({ item: e }) => /* @__PURE__ */
|
|
4022
|
-
|
|
4018
|
+
}, ta = P(
|
|
4019
|
+
({ playlistList: e }) => /* @__PURE__ */ o(Kt, { children: /* @__PURE__ */ o(Te, { children: "Name" }) })
|
|
4020
|
+
), ra = P(
|
|
4021
|
+
({ item: e }) => /* @__PURE__ */ o(Zt, { children: /* @__PURE__ */ o(xe, { children: /* @__PURE__ */ o(
|
|
4022
|
+
ea,
|
|
4023
4023
|
{
|
|
4024
4024
|
linkProps: {
|
|
4025
4025
|
to: "/playlists/$playlistId",
|
|
@@ -4028,23 +4028,23 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
4028
4028
|
children: e.name
|
|
4029
4029
|
}
|
|
4030
4030
|
) }) }, e.id)
|
|
4031
|
-
),
|
|
4032
|
-
({ playlistList: e }) => /* @__PURE__ */
|
|
4033
|
-
|
|
4031
|
+
), oa = P(
|
|
4032
|
+
({ playlistList: e }) => /* @__PURE__ */ o(
|
|
4033
|
+
or,
|
|
4034
4034
|
{
|
|
4035
4035
|
tag: "tbody",
|
|
4036
4036
|
list: e.items,
|
|
4037
4037
|
setList: (t) => e.setItems(t),
|
|
4038
|
-
children: e.items.map((t) => /* @__PURE__ */
|
|
4038
|
+
children: e.items.map((t) => /* @__PURE__ */ o(ra, { item: t }, t.id))
|
|
4039
4039
|
}
|
|
4040
4040
|
)
|
|
4041
|
-
),
|
|
4042
|
-
({ playlistList: e }) => /* @__PURE__ */ w(
|
|
4043
|
-
/* @__PURE__ */
|
|
4044
|
-
/* @__PURE__ */
|
|
4041
|
+
), na = P(
|
|
4042
|
+
({ playlistList: e }) => /* @__PURE__ */ w(er, { children: [
|
|
4043
|
+
/* @__PURE__ */ o(ta, { playlistList: e }),
|
|
4044
|
+
/* @__PURE__ */ o(oa, { playlistList: e })
|
|
4045
4045
|
] })
|
|
4046
|
-
),
|
|
4047
|
-
|
|
4046
|
+
), ia = () => /* @__PURE__ */ o(
|
|
4047
|
+
lr,
|
|
4048
4048
|
{
|
|
4049
4049
|
pageTitle: "Playlists",
|
|
4050
4050
|
breadcrumbs: [
|
|
@@ -4053,7 +4053,7 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
4053
4053
|
}
|
|
4054
4054
|
]
|
|
4055
4055
|
}
|
|
4056
|
-
),
|
|
4056
|
+
), aa = P(
|
|
4057
4057
|
({ playlistList: e }) => {
|
|
4058
4058
|
const t = $(
|
|
4059
4059
|
async (r) => {
|
|
@@ -4062,32 +4062,32 @@ const Hi = ({ onClick: e }) => /* @__PURE__ */ n(J, { onClick: e, iconType: tr,
|
|
|
4062
4062
|
[e]
|
|
4063
4063
|
);
|
|
4064
4064
|
return /* @__PURE__ */ w(Je.Section, { children: [
|
|
4065
|
-
/* @__PURE__ */
|
|
4066
|
-
/* @__PURE__ */
|
|
4067
|
-
/* @__PURE__ */
|
|
4065
|
+
/* @__PURE__ */ o(Zi, { onFulfilled: t, children: "New playlist" }),
|
|
4066
|
+
/* @__PURE__ */ o(St, { size: "l" }),
|
|
4067
|
+
/* @__PURE__ */ o(na, { playlistList: e })
|
|
4068
4068
|
] });
|
|
4069
4069
|
}
|
|
4070
|
-
),
|
|
4071
|
-
const e =
|
|
4070
|
+
), wa = de(() => {
|
|
4071
|
+
const e = Un();
|
|
4072
4072
|
return /* @__PURE__ */ w(et, { children: [
|
|
4073
|
-
/* @__PURE__ */
|
|
4074
|
-
/* @__PURE__ */
|
|
4073
|
+
/* @__PURE__ */ o(ia, {}),
|
|
4074
|
+
/* @__PURE__ */ o(aa, { playlistList: e })
|
|
4075
4075
|
] });
|
|
4076
4076
|
});
|
|
4077
4077
|
export {
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4078
|
+
Ia as BottomBar,
|
|
4079
|
+
Sa as HydrangeanDivaProvider,
|
|
4080
|
+
Pa as MediaPlayerLayout,
|
|
4081
|
+
Ca as MiniPlayer,
|
|
4082
|
+
Xr as PlayQueueContext,
|
|
4083
|
+
Ta as PlayQueuePage,
|
|
4084
|
+
_i as PlayQueueSection,
|
|
4085
|
+
xa as PlaylistDetailsPage,
|
|
4086
|
+
no as PlaylistListContext,
|
|
4087
|
+
wa as PlaylistListPage,
|
|
4088
4088
|
B as RepeatMode,
|
|
4089
|
-
|
|
4089
|
+
Vr as bottomBarHeight,
|
|
4090
4090
|
tt as usePlayQueue,
|
|
4091
|
-
|
|
4091
|
+
Un as usePlaylistList
|
|
4092
4092
|
};
|
|
4093
4093
|
//# sourceMappingURL=index.es.js.map
|