@aigamo/hydrangean-diva 0.0.1-alpha.13 → 0.0.1-alpha.14
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/App.d.ts +6 -0
- package/dist/api/apis/MediaPlayerPlaylistsApi.d.ts +79 -0
- package/dist/api/apis/index.d.ts +1 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosGetPlaylistResponseDto.d.ts +22 -0
- package/dist/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosListPlaylistsResponseDto.d.ts +22 -0
- package/dist/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosPlaylistDto.d.ts +38 -0
- package/dist/api/models/HydrangeanDivaMediaPlayerEndpointsPlaylistsCreatePlaylistRequest.d.ts +32 -0
- package/dist/api/models/HydrangeanDivaMediaPlayerEndpointsPlaylistsRenamePlaylistRequest.d.ts +32 -0
- package/dist/api/models/index.d.ts +5 -0
- package/dist/api/runtime.d.ts +184 -0
- package/dist/common/components/AppLink.d.ts +6 -0
- package/dist/common/components/AppPageTemplateHeader.d.ts +18 -0
- package/dist/features/common/components/useLocationStateHandler.d.ts +10 -0
- package/dist/features/common/constants/videoServiceIcons.d.ts +2 -0
- package/dist/features/common/helpers/clients.d.ts +2 -0
- package/dist/features/common/helpers/featureFlags.d.ts +5 -0
- package/dist/features/media-player.play-queue/components/AddVideoButton.d.ts +6 -3
- package/dist/features/media-player.play-queue/helpers/isNoembedResult.d.ts +5 -0
- package/dist/features/media-player.play-queue/interfaces/IPlayQueueStore.d.ts +1 -0
- package/dist/features/media-player.player/components/BottomBarCenterControls.d.ts +11 -0
- package/dist/features/media-player.player/components/BottomBarLeftControls.d.ts +9 -0
- package/dist/features/media-player.player/components/BottomBarRightControls.d.ts +8 -0
- package/dist/features/media-player.player/components/CookieConsentPanel.d.ts +8 -0
- package/dist/features/media-player.player/components/SeekBar.d.ts +11 -0
- package/dist/features/media-player.playlists/components/CreatePlaylistButton.d.ts +9 -0
- package/dist/features/media-player.playlists/pages/PlaylistDetailsPage.d.ts +7 -0
- package/dist/features/media-player.playlists/pages/PlaylistListPage.d.ts +2 -0
- package/dist/features/media-player.playlists/stores/PlaylistListStore.d.ts +16 -0
- package/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +823 -754
- package/dist/index.es.js.map +1 -1
- package/dist/routeTree.gen.d.ts +91 -0
- package/dist/routes/__root.d.ts +1 -0
- package/dist/routes/_authenticated/index.d.ts +1 -0
- package/dist/routes/_authenticated/play-queue.d.ts +1 -0
- package/dist/routes/_authenticated/playlists/$playlistId.index.d.ts +1 -0
- package/dist/routes/_authenticated/playlists/index.d.ts +1 -0
- package/dist/routes/_authenticated.d.ts +1 -0
- package/package.json +18 -12
- package/dist/AppRoutes.d.ts +0 -4
- /package/dist/{common → features/common}/components/Compose.d.ts +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var U = (t, e, n) =>
|
|
4
|
-
import { makeObservable as
|
|
5
|
-
import * as
|
|
6
|
-
import zt, { forwardRef as
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
var Pr = Object.defineProperty;
|
|
2
|
+
var wr = (t, e, n) => e in t ? Pr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var U = (t, e, n) => wr(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { makeObservable as Or, action as y, computed as _, observable as ee, reaction as _r } from "mobx";
|
|
5
|
+
import * as te from "react";
|
|
6
|
+
import zt, { forwardRef as Ar, useContext as at, memo as ne, useState as q, useCallback as $, useMemo as st, createContext as Lt, useEffect as kr, useLayoutEffect as Mr } from "react";
|
|
7
|
+
import Fr from "@emotion/cache";
|
|
8
|
+
import { useNostalgicDiva as ie, findVideoService as jr, NostalgicDiva as Nr } from "@aigamo/nostalgic-diva";
|
|
9
|
+
import { EuiPageTemplate as lt, EuiButton as re, useGeneratedHtmlId as $r, EuiModalHeaderTitle as Dr, EuiModalHeader as zr, EuiForm as Lr, EuiFormRow as tt, EuiFieldText as Rt, EuiModalBody as Vr, EuiModalFooter as Yr, EuiButtonEmpty as Vt, EuiModal as Br, useEuiTheme as Yt, EuiCheckbox as Bt, EuiTableHeaderCellCheckbox as Wr, EuiTableHeader as Ur, EuiTableRowCell as rt, EuiTableRowCellCheckbox as qr, EuiLink as Hr, EuiTableRow as Gr, EuiTable as Jr, EuiButtonIcon as G, EuiPopover as ct, EuiIcon as H, EuiContextMenu as Wt, EuiTableHeaderCell as Xe, EuiCodeBlock as Kr, EuiFlyout as Xr, EuiFlexGroup as le, EuiFlexItem as J, EuiSpacer as Ut, EuiEmptyPrompt as Zr, EuiRange as qt, EuiBottomBar as Qr } from "@elastic/eui";
|
|
10
|
+
import { AddRegular as ut, PlayRegular as en, DismissRegular as ft, MoreHorizontalFilled as Ht, ArrowUploadRegular as tn, ArrowDownloadRegular as rn, WindowDevToolsRegular as nn, DeleteRegular as on, ArrowRepeat1Filled as an, ArrowRepeatAllFilled as sn, ArrowRepeatAllOffFilled as ln, ArrowShuffleFilled as cn, ArrowShuffleOffFilled as un, PreviousFilled as fn, PauseFilled as dn, PlayFilled as mn, NextFilled as hn, Speaker2Regular as Gt, TopSpeedRegular as vn, SkipBack10Regular as pn, SkipForward30Regular as yn, NavigationPlayRegular as gn } from "@fluentui/react-icons";
|
|
11
|
+
import { observer as D } from "mobx-react-lite";
|
|
12
|
+
import { useRouter as bn } from "@tanstack/react-router";
|
|
12
13
|
import { ReactSortable as En } from "react-sortablejs";
|
|
13
|
-
import { pull as
|
|
14
|
+
import { pull as Pt } from "lodash-es";
|
|
14
15
|
import Tn from "ajv";
|
|
15
|
-
class
|
|
16
|
+
class Jt {
|
|
16
17
|
makeObservable(e, n) {
|
|
17
|
-
return
|
|
18
|
+
return Or(e, n);
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
class
|
|
21
|
+
class Mi {
|
|
21
22
|
makeObservable(e, n) {
|
|
22
23
|
return e;
|
|
23
24
|
}
|
|
@@ -37,12 +38,12 @@ function xn() {
|
|
|
37
38
|
if (wt) return xe;
|
|
38
39
|
wt = 1;
|
|
39
40
|
var t = zt, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
40
|
-
function f(h,
|
|
41
|
-
var E,
|
|
42
|
-
|
|
43
|
-
for (E in
|
|
44
|
-
if (h && h.defaultProps) for (E in
|
|
45
|
-
return { $$typeof: e, type: h, key:
|
|
41
|
+
function f(h, v, m) {
|
|
42
|
+
var E, R = {}, z = null, j = null;
|
|
43
|
+
m !== void 0 && (z = "" + m), v.key !== void 0 && (z = "" + v.key), v.ref !== void 0 && (j = v.ref);
|
|
44
|
+
for (E in v) i.call(v, E) && !l.hasOwnProperty(E) && (R[E] = v[E]);
|
|
45
|
+
if (h && h.defaultProps) for (E in v = h.defaultProps, v) R[E] === void 0 && (R[E] = v[E]);
|
|
46
|
+
return { $$typeof: e, type: h, key: z, ref: j, props: R, _owner: a.current };
|
|
46
47
|
}
|
|
47
48
|
return xe.Fragment = n, xe.jsx = f, xe.jsxs = f, xe;
|
|
48
49
|
}
|
|
@@ -58,45 +59,45 @@ var Se = {};
|
|
|
58
59
|
*/
|
|
59
60
|
var Ot;
|
|
60
61
|
function Sn() {
|
|
61
|
-
return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() {
|
|
62
|
-
var t = zt, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"),
|
|
63
|
-
function
|
|
62
|
+
return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
63
|
+
var t = zt, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), A = Symbol.iterator, B = "@@iterator";
|
|
64
|
+
function Z(r) {
|
|
64
65
|
if (r === null || typeof r != "object")
|
|
65
66
|
return null;
|
|
66
67
|
var s = A && r[A] || r[B];
|
|
67
68
|
return typeof s == "function" ? s : null;
|
|
68
69
|
}
|
|
69
|
-
var
|
|
70
|
-
function
|
|
70
|
+
var L = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
71
|
+
function C(r) {
|
|
71
72
|
{
|
|
72
|
-
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0),
|
|
73
|
-
u[
|
|
73
|
+
for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
|
|
74
|
+
u[p - 1] = arguments[p];
|
|
74
75
|
k("error", r, u);
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
function k(r, s, u) {
|
|
78
79
|
{
|
|
79
|
-
var
|
|
80
|
+
var p = L.ReactDebugCurrentFrame, T = p.getStackAddendum();
|
|
80
81
|
T !== "" && (s += "%s", u = u.concat([T]));
|
|
81
|
-
var
|
|
82
|
+
var I = u.map(function(b) {
|
|
82
83
|
return String(b);
|
|
83
84
|
});
|
|
84
|
-
|
|
85
|
+
I.unshift("Warning: " + s), Function.prototype.apply.call(console[r], console, I);
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
var w = !1, c = !1,
|
|
88
|
+
var w = !1, c = !1, V = !1, he = !1, Pe = !1, we;
|
|
88
89
|
we = Symbol.for("react.module.reference");
|
|
89
90
|
function Ve(r) {
|
|
90
|
-
return !!(typeof r == "string" || typeof r == "function" || r === i || r === l ||
|
|
91
|
+
return !!(typeof r == "string" || typeof r == "function" || r === i || r === l || Pe || r === a || r === m || r === E || he || r === j || w || c || V || typeof r == "object" && r !== null && (r.$$typeof === z || r.$$typeof === R || r.$$typeof === f || r.$$typeof === h || r.$$typeof === v || // This needs to include all possible module reference object
|
|
91
92
|
// types supported by any Flight configuration anywhere since
|
|
92
93
|
// we don't know which Flight build this will end up being used
|
|
93
94
|
// with.
|
|
94
95
|
r.$$typeof === we || r.getModuleId !== void 0));
|
|
95
96
|
}
|
|
96
97
|
function Ye(r, s, u) {
|
|
97
|
-
var
|
|
98
|
-
if (
|
|
99
|
-
return
|
|
98
|
+
var p = r.displayName;
|
|
99
|
+
if (p)
|
|
100
|
+
return p;
|
|
100
101
|
var T = s.displayName || s.name || "";
|
|
101
102
|
return T !== "" ? u + "(" + T + ")" : u;
|
|
102
103
|
}
|
|
@@ -106,7 +107,7 @@ function Sn() {
|
|
|
106
107
|
function K(r) {
|
|
107
108
|
if (r == null)
|
|
108
109
|
return null;
|
|
109
|
-
if (typeof r.tag == "number" &&
|
|
110
|
+
if (typeof r.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
|
|
110
111
|
return r.displayName || r.name || null;
|
|
111
112
|
if (typeof r == "string")
|
|
112
113
|
return r;
|
|
@@ -119,7 +120,7 @@ function Sn() {
|
|
|
119
120
|
return "Profiler";
|
|
120
121
|
case a:
|
|
121
122
|
return "StrictMode";
|
|
122
|
-
case
|
|
123
|
+
case m:
|
|
123
124
|
return "Suspense";
|
|
124
125
|
case E:
|
|
125
126
|
return "SuspenseList";
|
|
@@ -132,15 +133,15 @@ function Sn() {
|
|
|
132
133
|
case f:
|
|
133
134
|
var u = r;
|
|
134
135
|
return Oe(u._context) + ".Provider";
|
|
135
|
-
case
|
|
136
|
+
case v:
|
|
136
137
|
return Ye(r, r.render, "ForwardRef");
|
|
137
|
-
case
|
|
138
|
-
var
|
|
139
|
-
return
|
|
140
|
-
case
|
|
141
|
-
var T = r,
|
|
138
|
+
case R:
|
|
139
|
+
var p = r.displayName || null;
|
|
140
|
+
return p !== null ? p : K(r.type) || "Memo";
|
|
141
|
+
case z: {
|
|
142
|
+
var T = r, I = T._payload, b = T._init;
|
|
142
143
|
try {
|
|
143
|
-
return K(b(
|
|
144
|
+
return K(b(I));
|
|
144
145
|
} catch {
|
|
145
146
|
return null;
|
|
146
147
|
}
|
|
@@ -148,7 +149,7 @@ function Sn() {
|
|
|
148
149
|
}
|
|
149
150
|
return null;
|
|
150
151
|
}
|
|
151
|
-
var
|
|
152
|
+
var Q = Object.assign, oe = 0, _e, Ae, ve, ke, pe, Me, Fe;
|
|
152
153
|
function je() {
|
|
153
154
|
}
|
|
154
155
|
je.__reactDisabledLog = !0;
|
|
@@ -184,65 +185,65 @@ function Sn() {
|
|
|
184
185
|
writable: !0
|
|
185
186
|
};
|
|
186
187
|
Object.defineProperties(console, {
|
|
187
|
-
log:
|
|
188
|
+
log: Q({}, r, {
|
|
188
189
|
value: _e
|
|
189
190
|
}),
|
|
190
|
-
info:
|
|
191
|
+
info: Q({}, r, {
|
|
191
192
|
value: Ae
|
|
192
193
|
}),
|
|
193
|
-
warn:
|
|
194
|
+
warn: Q({}, r, {
|
|
194
195
|
value: ve
|
|
195
196
|
}),
|
|
196
|
-
error:
|
|
197
|
+
error: Q({}, r, {
|
|
197
198
|
value: ke
|
|
198
199
|
}),
|
|
199
|
-
group:
|
|
200
|
+
group: Q({}, r, {
|
|
200
201
|
value: pe
|
|
201
202
|
}),
|
|
202
|
-
groupCollapsed:
|
|
203
|
+
groupCollapsed: Q({}, r, {
|
|
203
204
|
value: Me
|
|
204
205
|
}),
|
|
205
|
-
groupEnd:
|
|
206
|
+
groupEnd: Q({}, r, {
|
|
206
207
|
value: Fe
|
|
207
208
|
})
|
|
208
209
|
});
|
|
209
210
|
}
|
|
210
|
-
oe < 0 &&
|
|
211
|
+
oe < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
211
212
|
}
|
|
212
213
|
}
|
|
213
|
-
var ye =
|
|
214
|
-
function
|
|
214
|
+
var ye = L.ReactCurrentDispatcher, ge;
|
|
215
|
+
function ce(r, s, u) {
|
|
215
216
|
{
|
|
216
217
|
if (ge === void 0)
|
|
217
218
|
try {
|
|
218
219
|
throw Error();
|
|
219
220
|
} catch (T) {
|
|
220
|
-
var
|
|
221
|
-
ge =
|
|
221
|
+
var p = T.stack.trim().match(/\n( *(at )?)/);
|
|
222
|
+
ge = p && p[1] || "";
|
|
222
223
|
}
|
|
223
224
|
return `
|
|
224
225
|
` + ge + r;
|
|
225
226
|
}
|
|
226
227
|
}
|
|
227
|
-
var be = !1,
|
|
228
|
+
var be = !1, ue;
|
|
228
229
|
{
|
|
229
230
|
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
230
|
-
|
|
231
|
+
ue = new Ue();
|
|
231
232
|
}
|
|
232
233
|
function d(r, s) {
|
|
233
234
|
if (!r || be)
|
|
234
235
|
return "";
|
|
235
236
|
{
|
|
236
|
-
var u =
|
|
237
|
+
var u = ue.get(r);
|
|
237
238
|
if (u !== void 0)
|
|
238
239
|
return u;
|
|
239
240
|
}
|
|
240
|
-
var
|
|
241
|
+
var p;
|
|
241
242
|
be = !0;
|
|
242
243
|
var T = Error.prepareStackTrace;
|
|
243
244
|
Error.prepareStackTrace = void 0;
|
|
244
|
-
var
|
|
245
|
-
|
|
245
|
+
var I;
|
|
246
|
+
I = ye.current, ye.current = null, Be();
|
|
246
247
|
try {
|
|
247
248
|
if (s) {
|
|
248
249
|
var b = function() {
|
|
@@ -255,30 +256,30 @@ function Sn() {
|
|
|
255
256
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
256
257
|
try {
|
|
257
258
|
Reflect.construct(b, []);
|
|
258
|
-
} catch (
|
|
259
|
-
|
|
259
|
+
} catch (Y) {
|
|
260
|
+
p = Y;
|
|
260
261
|
}
|
|
261
262
|
Reflect.construct(r, [], b);
|
|
262
263
|
} else {
|
|
263
264
|
try {
|
|
264
265
|
b.call();
|
|
265
|
-
} catch (
|
|
266
|
-
|
|
266
|
+
} catch (Y) {
|
|
267
|
+
p = Y;
|
|
267
268
|
}
|
|
268
269
|
r.call(b.prototype);
|
|
269
270
|
}
|
|
270
271
|
} else {
|
|
271
272
|
try {
|
|
272
273
|
throw Error();
|
|
273
|
-
} catch (
|
|
274
|
-
|
|
274
|
+
} catch (Y) {
|
|
275
|
+
p = Y;
|
|
275
276
|
}
|
|
276
277
|
r();
|
|
277
278
|
}
|
|
278
|
-
} catch (
|
|
279
|
-
if (
|
|
280
|
-
for (var g =
|
|
281
|
-
`), N =
|
|
279
|
+
} catch (Y) {
|
|
280
|
+
if (Y && p && typeof Y.stack == "string") {
|
|
281
|
+
for (var g = Y.stack.split(`
|
|
282
|
+
`), N = p.stack.split(`
|
|
282
283
|
`), O = g.length - 1, M = N.length - 1; O >= 1 && M >= 0 && g[O] !== N[M]; )
|
|
283
284
|
M--;
|
|
284
285
|
for (; O >= 1 && M >= 0; O--, M--)
|
|
@@ -288,22 +289,22 @@ function Sn() {
|
|
|
288
289
|
if (O--, M--, M < 0 || g[O] !== N[M]) {
|
|
289
290
|
var W = `
|
|
290
291
|
` + g[O].replace(" at new ", " at ");
|
|
291
|
-
return r.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", r.displayName)), typeof r == "function" &&
|
|
292
|
+
return r.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", r.displayName)), typeof r == "function" && ue.set(r, W), W;
|
|
292
293
|
}
|
|
293
294
|
while (O >= 1 && M >= 0);
|
|
294
295
|
break;
|
|
295
296
|
}
|
|
296
297
|
}
|
|
297
298
|
} finally {
|
|
298
|
-
be = !1, ye.current =
|
|
299
|
+
be = !1, ye.current = I, We(), Error.prepareStackTrace = T;
|
|
299
300
|
}
|
|
300
|
-
var
|
|
301
|
-
return typeof r == "function" &&
|
|
301
|
+
var me = r ? r.displayName || r.name : "", se = me ? ce(me) : "";
|
|
302
|
+
return typeof r == "function" && ue.set(r, se), se;
|
|
302
303
|
}
|
|
303
304
|
function Ee(r, s, u) {
|
|
304
305
|
return d(r, !1);
|
|
305
306
|
}
|
|
306
|
-
function
|
|
307
|
+
function fe(r) {
|
|
307
308
|
var s = r.prototype;
|
|
308
309
|
return !!(s && s.isReactComponent);
|
|
309
310
|
}
|
|
@@ -311,89 +312,89 @@ function Sn() {
|
|
|
311
312
|
if (r == null)
|
|
312
313
|
return "";
|
|
313
314
|
if (typeof r == "function")
|
|
314
|
-
return d(r,
|
|
315
|
+
return d(r, fe(r));
|
|
315
316
|
if (typeof r == "string")
|
|
316
|
-
return
|
|
317
|
+
return ce(r);
|
|
317
318
|
switch (r) {
|
|
318
|
-
case
|
|
319
|
-
return
|
|
319
|
+
case m:
|
|
320
|
+
return ce("Suspense");
|
|
320
321
|
case E:
|
|
321
|
-
return
|
|
322
|
+
return ce("SuspenseList");
|
|
322
323
|
}
|
|
323
324
|
if (typeof r == "object")
|
|
324
325
|
switch (r.$$typeof) {
|
|
325
|
-
case
|
|
326
|
+
case v:
|
|
326
327
|
return Ee(r.render);
|
|
327
|
-
case
|
|
328
|
+
case R:
|
|
328
329
|
return ae(r.type, s, u);
|
|
329
|
-
case
|
|
330
|
-
var
|
|
330
|
+
case z: {
|
|
331
|
+
var p = r, T = p._payload, I = p._init;
|
|
331
332
|
try {
|
|
332
|
-
return ae(
|
|
333
|
+
return ae(I(T), s, u);
|
|
333
334
|
} catch {
|
|
334
335
|
}
|
|
335
336
|
}
|
|
336
337
|
}
|
|
337
338
|
return "";
|
|
338
339
|
}
|
|
339
|
-
var Te = Object.prototype.hasOwnProperty,
|
|
340
|
+
var Te = Object.prototype.hasOwnProperty, dt = {}, mt = L.ReactDebugCurrentFrame;
|
|
340
341
|
function Ne(r) {
|
|
341
342
|
if (r) {
|
|
342
343
|
var s = r._owner, u = ae(r.type, r._source, s ? s.type : null);
|
|
343
|
-
|
|
344
|
+
mt.setExtraStackFrame(u);
|
|
344
345
|
} else
|
|
345
|
-
|
|
346
|
+
mt.setExtraStackFrame(null);
|
|
346
347
|
}
|
|
347
|
-
function
|
|
348
|
+
function or(r, s, u, p, T) {
|
|
348
349
|
{
|
|
349
|
-
var
|
|
350
|
+
var I = Function.call.bind(Te);
|
|
350
351
|
for (var b in r)
|
|
351
|
-
if (
|
|
352
|
+
if (I(r, b)) {
|
|
352
353
|
var g = void 0;
|
|
353
354
|
try {
|
|
354
355
|
if (typeof r[b] != "function") {
|
|
355
|
-
var N = Error((
|
|
356
|
+
var N = Error((p || "React class") + ": " + u + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
356
357
|
throw N.name = "Invariant Violation", N;
|
|
357
358
|
}
|
|
358
|
-
g = r[b](s, b,
|
|
359
|
+
g = r[b](s, b, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
359
360
|
} catch (O) {
|
|
360
361
|
g = O;
|
|
361
362
|
}
|
|
362
|
-
g && !(g instanceof Error) && (Ne(T),
|
|
363
|
+
g && !(g instanceof Error) && (Ne(T), C("%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).", p || "React class", u, b, typeof g), Ne(null)), g instanceof Error && !(g.message in dt) && (dt[g.message] = !0, Ne(T), C("Failed %s type: %s", u, g.message), Ne(null));
|
|
363
364
|
}
|
|
364
365
|
}
|
|
365
366
|
}
|
|
366
|
-
var
|
|
367
|
+
var ar = Array.isArray;
|
|
367
368
|
function qe(r) {
|
|
368
|
-
return
|
|
369
|
+
return ar(r);
|
|
369
370
|
}
|
|
370
|
-
function
|
|
371
|
+
function sr(r) {
|
|
371
372
|
{
|
|
372
373
|
var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
373
374
|
return u;
|
|
374
375
|
}
|
|
375
376
|
}
|
|
376
|
-
function
|
|
377
|
+
function lr(r) {
|
|
377
378
|
try {
|
|
378
|
-
return
|
|
379
|
+
return ht(r), !1;
|
|
379
380
|
} catch {
|
|
380
381
|
return !0;
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
|
-
function
|
|
384
|
+
function ht(r) {
|
|
384
385
|
return "" + r;
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
388
|
-
return
|
|
387
|
+
function vt(r) {
|
|
388
|
+
if (lr(r))
|
|
389
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(r)), ht(r);
|
|
389
390
|
}
|
|
390
|
-
var
|
|
391
|
+
var pt = L.ReactCurrentOwner, cr = {
|
|
391
392
|
key: !0,
|
|
392
393
|
ref: !0,
|
|
393
394
|
__self: !0,
|
|
394
395
|
__source: !0
|
|
395
|
-
},
|
|
396
|
-
function
|
|
396
|
+
}, yt, gt;
|
|
397
|
+
function ur(r) {
|
|
397
398
|
if (Te.call(r, "ref")) {
|
|
398
399
|
var s = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
399
400
|
if (s && s.isReactWarning)
|
|
@@ -401,7 +402,7 @@ function Sn() {
|
|
|
401
402
|
}
|
|
402
403
|
return r.ref !== void 0;
|
|
403
404
|
}
|
|
404
|
-
function
|
|
405
|
+
function fr(r) {
|
|
405
406
|
if (Te.call(r, "key")) {
|
|
406
407
|
var s = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
407
408
|
if (s && s.isReactWarning)
|
|
@@ -409,13 +410,13 @@ function Sn() {
|
|
|
409
410
|
}
|
|
410
411
|
return r.key !== void 0;
|
|
411
412
|
}
|
|
412
|
-
function
|
|
413
|
-
typeof r.ref == "string" &&
|
|
413
|
+
function dr(r, s) {
|
|
414
|
+
typeof r.ref == "string" && pt.current;
|
|
414
415
|
}
|
|
415
|
-
function
|
|
416
|
+
function mr(r, s) {
|
|
416
417
|
{
|
|
417
418
|
var u = function() {
|
|
418
|
-
|
|
419
|
+
yt || (yt = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
419
420
|
};
|
|
420
421
|
u.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
421
422
|
get: u,
|
|
@@ -423,10 +424,10 @@ function Sn() {
|
|
|
423
424
|
});
|
|
424
425
|
}
|
|
425
426
|
}
|
|
426
|
-
function
|
|
427
|
+
function hr(r, s) {
|
|
427
428
|
{
|
|
428
429
|
var u = function() {
|
|
429
|
-
|
|
430
|
+
gt || (gt = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
430
431
|
};
|
|
431
432
|
u.isReactWarning = !0, Object.defineProperty(r, "ref", {
|
|
432
433
|
get: u,
|
|
@@ -434,7 +435,7 @@ function Sn() {
|
|
|
434
435
|
});
|
|
435
436
|
}
|
|
436
437
|
}
|
|
437
|
-
var
|
|
438
|
+
var vr = function(r, s, u, p, T, I, b) {
|
|
438
439
|
var g = {
|
|
439
440
|
// This tag allows us to uniquely identify this as a React Element
|
|
440
441
|
$$typeof: e,
|
|
@@ -444,7 +445,7 @@ function Sn() {
|
|
|
444
445
|
ref: u,
|
|
445
446
|
props: b,
|
|
446
447
|
// Record the component responsible for creating this element.
|
|
447
|
-
_owner:
|
|
448
|
+
_owner: I
|
|
448
449
|
};
|
|
449
450
|
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
450
451
|
configurable: !1,
|
|
@@ -455,7 +456,7 @@ function Sn() {
|
|
|
455
456
|
configurable: !1,
|
|
456
457
|
enumerable: !1,
|
|
457
458
|
writable: !1,
|
|
458
|
-
value:
|
|
459
|
+
value: p
|
|
459
460
|
}), Object.defineProperty(g, "_source", {
|
|
460
461
|
configurable: !1,
|
|
461
462
|
enumerable: !1,
|
|
@@ -463,38 +464,38 @@ function Sn() {
|
|
|
463
464
|
value: T
|
|
464
465
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
465
466
|
};
|
|
466
|
-
function
|
|
467
|
+
function pr(r, s, u, p, T) {
|
|
467
468
|
{
|
|
468
|
-
var
|
|
469
|
-
u !== void 0 && (
|
|
470
|
-
for (
|
|
471
|
-
Te.call(s,
|
|
469
|
+
var I, b = {}, g = null, N = null;
|
|
470
|
+
u !== void 0 && (vt(u), g = "" + u), fr(s) && (vt(s.key), g = "" + s.key), ur(s) && (N = s.ref, dr(s, T));
|
|
471
|
+
for (I in s)
|
|
472
|
+
Te.call(s, I) && !cr.hasOwnProperty(I) && (b[I] = s[I]);
|
|
472
473
|
if (r && r.defaultProps) {
|
|
473
474
|
var O = r.defaultProps;
|
|
474
|
-
for (
|
|
475
|
-
b[
|
|
475
|
+
for (I in O)
|
|
476
|
+
b[I] === void 0 && (b[I] = O[I]);
|
|
476
477
|
}
|
|
477
478
|
if (g || N) {
|
|
478
479
|
var M = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
479
|
-
g &&
|
|
480
|
+
g && mr(b, M), N && hr(b, M);
|
|
480
481
|
}
|
|
481
|
-
return
|
|
482
|
+
return vr(r, g, N, T, p, pt.current, b);
|
|
482
483
|
}
|
|
483
484
|
}
|
|
484
|
-
var He =
|
|
485
|
-
function
|
|
485
|
+
var He = L.ReactCurrentOwner, bt = L.ReactDebugCurrentFrame;
|
|
486
|
+
function de(r) {
|
|
486
487
|
if (r) {
|
|
487
488
|
var s = r._owner, u = ae(r.type, r._source, s ? s.type : null);
|
|
488
|
-
|
|
489
|
+
bt.setExtraStackFrame(u);
|
|
489
490
|
} else
|
|
490
|
-
|
|
491
|
+
bt.setExtraStackFrame(null);
|
|
491
492
|
}
|
|
492
493
|
var Ge;
|
|
493
494
|
Ge = !1;
|
|
494
495
|
function Je(r) {
|
|
495
496
|
return typeof r == "object" && r !== null && r.$$typeof === e;
|
|
496
497
|
}
|
|
497
|
-
function
|
|
498
|
+
function Et() {
|
|
498
499
|
{
|
|
499
500
|
if (He.current) {
|
|
500
501
|
var r = K(He.current.type);
|
|
@@ -506,13 +507,13 @@ Check the render method of \`` + r + "`.";
|
|
|
506
507
|
return "";
|
|
507
508
|
}
|
|
508
509
|
}
|
|
509
|
-
function
|
|
510
|
+
function yr(r) {
|
|
510
511
|
return "";
|
|
511
512
|
}
|
|
512
|
-
var
|
|
513
|
-
function
|
|
513
|
+
var Tt = {};
|
|
514
|
+
function gr(r) {
|
|
514
515
|
{
|
|
515
|
-
var s =
|
|
516
|
+
var s = Et();
|
|
516
517
|
if (!s) {
|
|
517
518
|
var u = typeof r == "string" ? r : r.displayName || r.name;
|
|
518
519
|
u && (s = `
|
|
@@ -522,39 +523,39 @@ Check the top-level render call using <` + u + ">.");
|
|
|
522
523
|
return s;
|
|
523
524
|
}
|
|
524
525
|
}
|
|
525
|
-
function
|
|
526
|
+
function xt(r, s) {
|
|
526
527
|
{
|
|
527
528
|
if (!r._store || r._store.validated || r.key != null)
|
|
528
529
|
return;
|
|
529
530
|
r._store.validated = !0;
|
|
530
|
-
var u =
|
|
531
|
-
if (
|
|
531
|
+
var u = gr(s);
|
|
532
|
+
if (Tt[u])
|
|
532
533
|
return;
|
|
533
|
-
|
|
534
|
-
var
|
|
535
|
-
r && r._owner && r._owner !== He.current && (
|
|
534
|
+
Tt[u] = !0;
|
|
535
|
+
var p = "";
|
|
536
|
+
r && r._owner && r._owner !== He.current && (p = " It was passed a child from " + K(r._owner.type) + "."), de(r), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), de(null);
|
|
536
537
|
}
|
|
537
538
|
}
|
|
538
|
-
function
|
|
539
|
+
function St(r, s) {
|
|
539
540
|
{
|
|
540
541
|
if (typeof r != "object")
|
|
541
542
|
return;
|
|
542
543
|
if (qe(r))
|
|
543
544
|
for (var u = 0; u < r.length; u++) {
|
|
544
|
-
var
|
|
545
|
-
Je(
|
|
545
|
+
var p = r[u];
|
|
546
|
+
Je(p) && xt(p, s);
|
|
546
547
|
}
|
|
547
548
|
else if (Je(r))
|
|
548
549
|
r._store && (r._store.validated = !0);
|
|
549
550
|
else if (r) {
|
|
550
|
-
var T =
|
|
551
|
+
var T = Z(r);
|
|
551
552
|
if (typeof T == "function" && T !== r.entries)
|
|
552
|
-
for (var
|
|
553
|
-
Je(b.value) &&
|
|
553
|
+
for (var I = T.call(r), b; !(b = I.next()).done; )
|
|
554
|
+
Je(b.value) && xt(b.value, s);
|
|
554
555
|
}
|
|
555
556
|
}
|
|
556
557
|
}
|
|
557
|
-
function
|
|
558
|
+
function br(r) {
|
|
558
559
|
{
|
|
559
560
|
var s = r.type;
|
|
560
561
|
if (s == null || typeof s == "string")
|
|
@@ -562,95 +563,95 @@ Check the top-level render call using <` + u + ">.");
|
|
|
562
563
|
var u;
|
|
563
564
|
if (typeof s == "function")
|
|
564
565
|
u = s.propTypes;
|
|
565
|
-
else if (typeof s == "object" && (s.$$typeof ===
|
|
566
|
+
else if (typeof s == "object" && (s.$$typeof === v || // Note: Memo only checks outer props here.
|
|
566
567
|
// Inner props are checked in the reconciler.
|
|
567
|
-
s.$$typeof ===
|
|
568
|
+
s.$$typeof === R))
|
|
568
569
|
u = s.propTypes;
|
|
569
570
|
else
|
|
570
571
|
return;
|
|
571
572
|
if (u) {
|
|
572
|
-
var
|
|
573
|
-
|
|
573
|
+
var p = K(s);
|
|
574
|
+
or(u, r.props, "prop", p, r);
|
|
574
575
|
} else if (s.PropTypes !== void 0 && !Ge) {
|
|
575
576
|
Ge = !0;
|
|
576
577
|
var T = K(s);
|
|
577
|
-
|
|
578
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
|
|
578
579
|
}
|
|
579
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
580
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
581
|
}
|
|
581
582
|
}
|
|
582
|
-
function
|
|
583
|
+
function Er(r) {
|
|
583
584
|
{
|
|
584
585
|
for (var s = Object.keys(r.props), u = 0; u < s.length; u++) {
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
|
|
586
|
+
var p = s[u];
|
|
587
|
+
if (p !== "children" && p !== "key") {
|
|
588
|
+
de(r), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), de(null);
|
|
588
589
|
break;
|
|
589
590
|
}
|
|
590
591
|
}
|
|
591
|
-
r.ref !== null && (
|
|
592
|
+
r.ref !== null && (de(r), C("Invalid attribute `ref` supplied to `React.Fragment`."), de(null));
|
|
592
593
|
}
|
|
593
594
|
}
|
|
594
|
-
var
|
|
595
|
-
function Ct(r, s, u,
|
|
595
|
+
var It = {};
|
|
596
|
+
function Ct(r, s, u, p, T, I) {
|
|
596
597
|
{
|
|
597
598
|
var b = Ve(r);
|
|
598
599
|
if (!b) {
|
|
599
600
|
var g = "";
|
|
600
601
|
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
601
|
-
var N =
|
|
602
|
-
N ? g += N : g +=
|
|
602
|
+
var N = yr();
|
|
603
|
+
N ? g += N : g += Et();
|
|
603
604
|
var O;
|
|
604
|
-
r === null ? O = "null" : qe(r) ? O = "array" : r !== void 0 && r.$$typeof === e ? (O = "<" + (K(r.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : O = typeof r,
|
|
605
|
+
r === null ? O = "null" : qe(r) ? O = "array" : r !== void 0 && r.$$typeof === e ? (O = "<" + (K(r.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : O = typeof r, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, g);
|
|
605
606
|
}
|
|
606
|
-
var M =
|
|
607
|
+
var M = pr(r, s, u, T, I);
|
|
607
608
|
if (M == null)
|
|
608
609
|
return M;
|
|
609
610
|
if (b) {
|
|
610
611
|
var W = s.children;
|
|
611
612
|
if (W !== void 0)
|
|
612
|
-
if (
|
|
613
|
+
if (p)
|
|
613
614
|
if (qe(W)) {
|
|
614
|
-
for (var
|
|
615
|
-
|
|
615
|
+
for (var me = 0; me < W.length; me++)
|
|
616
|
+
St(W[me], r);
|
|
616
617
|
Object.freeze && Object.freeze(W);
|
|
617
618
|
} else
|
|
618
|
-
|
|
619
|
+
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
619
620
|
else
|
|
620
|
-
|
|
621
|
+
St(W, r);
|
|
621
622
|
}
|
|
622
623
|
if (Te.call(s, "key")) {
|
|
623
|
-
var se = K(r),
|
|
624
|
-
return
|
|
625
|
-
}), Ke =
|
|
626
|
-
if (!
|
|
627
|
-
var
|
|
628
|
-
|
|
624
|
+
var se = K(r), Y = Object.keys(s).filter(function(Rr) {
|
|
625
|
+
return Rr !== "key";
|
|
626
|
+
}), Ke = Y.length > 0 ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
627
|
+
if (!It[se + Ke]) {
|
|
628
|
+
var Cr = Y.length > 0 ? "{" + Y.join(": ..., ") + ": ...}" : "{}";
|
|
629
|
+
C(`A props object containing a "key" prop is being spread into JSX:
|
|
629
630
|
let props = %s;
|
|
630
631
|
<%s {...props} />
|
|
631
632
|
React keys must be passed directly to JSX without using spread:
|
|
632
633
|
let props = %s;
|
|
633
|
-
<%s key={someKey} {...props} />`, Ke, se,
|
|
634
|
+
<%s key={someKey} {...props} />`, Ke, se, Cr, se), It[se + Ke] = !0;
|
|
634
635
|
}
|
|
635
636
|
}
|
|
636
|
-
return r === i ?
|
|
637
|
+
return r === i ? Er(M) : br(M), M;
|
|
637
638
|
}
|
|
638
639
|
}
|
|
639
|
-
function
|
|
640
|
+
function Tr(r, s, u) {
|
|
640
641
|
return Ct(r, s, u, !0);
|
|
641
642
|
}
|
|
642
|
-
function
|
|
643
|
+
function xr(r, s, u) {
|
|
643
644
|
return Ct(r, s, u, !1);
|
|
644
645
|
}
|
|
645
|
-
var
|
|
646
|
-
Se.Fragment = i, Se.jsx =
|
|
647
|
-
}()), Se;
|
|
646
|
+
var Sr = xr, Ir = Tr;
|
|
647
|
+
Se.Fragment = i, Se.jsx = Sr, Se.jsxs = Ir;
|
|
648
|
+
})()), Se;
|
|
648
649
|
}
|
|
649
650
|
var _t;
|
|
650
|
-
function
|
|
651
|
+
function In() {
|
|
651
652
|
return _t || (_t = 1, process.env.NODE_ENV === "production" ? $e.exports = xn() : $e.exports = Sn()), $e.exports;
|
|
652
653
|
}
|
|
653
|
-
var
|
|
654
|
+
var Ce = In(), De = { exports: {} }, x = {};
|
|
654
655
|
/** @license React v16.13.1
|
|
655
656
|
* react-is.production.min.js
|
|
656
657
|
*
|
|
@@ -660,22 +661,22 @@ var Ie = Cn(), De = { exports: {} }, x = {};
|
|
|
660
661
|
* LICENSE file in the root directory of this source tree.
|
|
661
662
|
*/
|
|
662
663
|
var At;
|
|
663
|
-
function
|
|
664
|
+
function Cn() {
|
|
664
665
|
if (At) return x;
|
|
665
666
|
At = 1;
|
|
666
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110,
|
|
667
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110, v = t ? Symbol.for("react.async_mode") : 60111, m = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, R = t ? Symbol.for("react.suspense") : 60113, z = t ? Symbol.for("react.suspense_list") : 60120, j = t ? Symbol.for("react.memo") : 60115, A = t ? Symbol.for("react.lazy") : 60116, B = t ? Symbol.for("react.block") : 60121, Z = t ? Symbol.for("react.fundamental") : 60117, L = t ? Symbol.for("react.responder") : 60118, C = t ? Symbol.for("react.scope") : 60119;
|
|
667
668
|
function k(c) {
|
|
668
669
|
if (typeof c == "object" && c !== null) {
|
|
669
|
-
var
|
|
670
|
-
switch (
|
|
670
|
+
var V = c.$$typeof;
|
|
671
|
+
switch (V) {
|
|
671
672
|
case e:
|
|
672
673
|
switch (c = c.type, c) {
|
|
674
|
+
case v:
|
|
673
675
|
case m:
|
|
674
|
-
case p:
|
|
675
676
|
case i:
|
|
676
677
|
case l:
|
|
677
678
|
case a:
|
|
678
|
-
case
|
|
679
|
+
case R:
|
|
679
680
|
return c;
|
|
680
681
|
default:
|
|
681
682
|
switch (c = c && c.$$typeof, c) {
|
|
@@ -686,19 +687,19 @@ function In() {
|
|
|
686
687
|
case f:
|
|
687
688
|
return c;
|
|
688
689
|
default:
|
|
689
|
-
return
|
|
690
|
+
return V;
|
|
690
691
|
}
|
|
691
692
|
}
|
|
692
693
|
case n:
|
|
693
|
-
return
|
|
694
|
+
return V;
|
|
694
695
|
}
|
|
695
696
|
}
|
|
696
697
|
}
|
|
697
698
|
function w(c) {
|
|
698
|
-
return k(c) ===
|
|
699
|
+
return k(c) === m;
|
|
699
700
|
}
|
|
700
|
-
return x.AsyncMode =
|
|
701
|
-
return w(c) || k(c) ===
|
|
701
|
+
return x.AsyncMode = v, x.ConcurrentMode = m, x.ContextConsumer = h, x.ContextProvider = f, x.Element = e, x.ForwardRef = E, x.Fragment = i, x.Lazy = A, x.Memo = j, x.Portal = n, x.Profiler = l, x.StrictMode = a, x.Suspense = R, x.isAsyncMode = function(c) {
|
|
702
|
+
return w(c) || k(c) === v;
|
|
702
703
|
}, x.isConcurrentMode = w, x.isContextConsumer = function(c) {
|
|
703
704
|
return k(c) === h;
|
|
704
705
|
}, x.isContextProvider = function(c) {
|
|
@@ -720,9 +721,9 @@ function In() {
|
|
|
720
721
|
}, x.isStrictMode = function(c) {
|
|
721
722
|
return k(c) === a;
|
|
722
723
|
}, x.isSuspense = function(c) {
|
|
723
|
-
return k(c) ===
|
|
724
|
+
return k(c) === R;
|
|
724
725
|
}, x.isValidElementType = function(c) {
|
|
725
|
-
return typeof c == "string" || typeof c == "function" || c === i || c ===
|
|
726
|
+
return typeof c == "string" || typeof c == "function" || c === i || c === m || c === l || c === a || c === R || c === z || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === j || c.$$typeof === f || c.$$typeof === h || c.$$typeof === E || c.$$typeof === Z || c.$$typeof === L || c.$$typeof === C || c.$$typeof === B);
|
|
726
727
|
}, x.typeOf = k, x;
|
|
727
728
|
}
|
|
728
729
|
var S = {};
|
|
@@ -735,29 +736,29 @@ var S = {};
|
|
|
735
736
|
* LICENSE file in the root directory of this source tree.
|
|
736
737
|
*/
|
|
737
738
|
var kt;
|
|
738
|
-
function
|
|
739
|
-
return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
740
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110,
|
|
739
|
+
function Rn() {
|
|
740
|
+
return kt || (kt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
741
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, l = t ? Symbol.for("react.profiler") : 60114, f = t ? Symbol.for("react.provider") : 60109, h = t ? Symbol.for("react.context") : 60110, v = t ? Symbol.for("react.async_mode") : 60111, m = t ? Symbol.for("react.concurrent_mode") : 60111, E = t ? Symbol.for("react.forward_ref") : 60112, R = t ? Symbol.for("react.suspense") : 60113, z = t ? Symbol.for("react.suspense_list") : 60120, j = t ? Symbol.for("react.memo") : 60115, A = t ? Symbol.for("react.lazy") : 60116, B = t ? Symbol.for("react.block") : 60121, Z = t ? Symbol.for("react.fundamental") : 60117, L = t ? Symbol.for("react.responder") : 60118, C = t ? Symbol.for("react.scope") : 60119;
|
|
741
742
|
function k(d) {
|
|
742
743
|
return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
743
|
-
d === i || d ===
|
|
744
|
+
d === i || d === m || d === l || d === a || d === R || d === z || typeof d == "object" && d !== null && (d.$$typeof === A || d.$$typeof === j || d.$$typeof === f || d.$$typeof === h || d.$$typeof === E || d.$$typeof === Z || d.$$typeof === L || d.$$typeof === C || d.$$typeof === B);
|
|
744
745
|
}
|
|
745
746
|
function w(d) {
|
|
746
747
|
if (typeof d == "object" && d !== null) {
|
|
747
748
|
var Ee = d.$$typeof;
|
|
748
749
|
switch (Ee) {
|
|
749
750
|
case e:
|
|
750
|
-
var
|
|
751
|
-
switch (
|
|
751
|
+
var fe = d.type;
|
|
752
|
+
switch (fe) {
|
|
753
|
+
case v:
|
|
752
754
|
case m:
|
|
753
|
-
case p:
|
|
754
755
|
case i:
|
|
755
756
|
case l:
|
|
756
757
|
case a:
|
|
757
|
-
case
|
|
758
|
-
return
|
|
758
|
+
case R:
|
|
759
|
+
return fe;
|
|
759
760
|
default:
|
|
760
|
-
var ae =
|
|
761
|
+
var ae = fe && fe.$$typeof;
|
|
761
762
|
switch (ae) {
|
|
762
763
|
case h:
|
|
763
764
|
case E:
|
|
@@ -774,12 +775,12 @@ function Pn() {
|
|
|
774
775
|
}
|
|
775
776
|
}
|
|
776
777
|
}
|
|
777
|
-
var c =
|
|
778
|
+
var c = v, V = m, he = h, Pe = f, we = e, Ve = E, Ye = i, Oe = A, K = j, Q = n, oe = l, _e = a, Ae = R, ve = !1;
|
|
778
779
|
function ke(d) {
|
|
779
|
-
return ve || (ve = !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.")), pe(d) || w(d) ===
|
|
780
|
+
return ve || (ve = !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.")), pe(d) || w(d) === v;
|
|
780
781
|
}
|
|
781
782
|
function pe(d) {
|
|
782
|
-
return w(d) ===
|
|
783
|
+
return w(d) === m;
|
|
783
784
|
}
|
|
784
785
|
function Me(d) {
|
|
785
786
|
return w(d) === h;
|
|
@@ -802,30 +803,30 @@ function Pn() {
|
|
|
802
803
|
function ge(d) {
|
|
803
804
|
return w(d) === j;
|
|
804
805
|
}
|
|
805
|
-
function
|
|
806
|
+
function ce(d) {
|
|
806
807
|
return w(d) === n;
|
|
807
808
|
}
|
|
808
809
|
function be(d) {
|
|
809
810
|
return w(d) === l;
|
|
810
811
|
}
|
|
811
|
-
function
|
|
812
|
+
function ue(d) {
|
|
812
813
|
return w(d) === a;
|
|
813
814
|
}
|
|
814
815
|
function Ue(d) {
|
|
815
|
-
return w(d) ===
|
|
816
|
+
return w(d) === R;
|
|
816
817
|
}
|
|
817
|
-
S.AsyncMode = c, S.ConcurrentMode =
|
|
818
|
-
}()), S;
|
|
818
|
+
S.AsyncMode = c, S.ConcurrentMode = V, S.ContextConsumer = he, S.ContextProvider = Pe, S.Element = we, S.ForwardRef = Ve, S.Fragment = Ye, S.Lazy = Oe, S.Memo = K, S.Portal = Q, S.Profiler = oe, S.StrictMode = _e, S.Suspense = Ae, S.isAsyncMode = ke, S.isConcurrentMode = pe, S.isContextConsumer = Me, S.isContextProvider = Fe, S.isElement = je, S.isForwardRef = Be, S.isFragment = We, S.isLazy = ye, S.isMemo = ge, S.isPortal = ce, S.isProfiler = be, S.isStrictMode = ue, S.isSuspense = Ue, S.isValidElementType = k, S.typeOf = w;
|
|
819
|
+
})()), S;
|
|
819
820
|
}
|
|
820
821
|
var Mt;
|
|
821
|
-
function
|
|
822
|
-
return Mt || (Mt = 1, process.env.NODE_ENV === "production" ? De.exports =
|
|
822
|
+
function Pn() {
|
|
823
|
+
return Mt || (Mt = 1, process.env.NODE_ENV === "production" ? De.exports = Cn() : De.exports = Rn()), De.exports;
|
|
823
824
|
}
|
|
824
825
|
var Ze, Ft;
|
|
825
826
|
function wn() {
|
|
826
827
|
if (Ft) return Ze;
|
|
827
828
|
Ft = 1;
|
|
828
|
-
var t =
|
|
829
|
+
var t = Pn(), e = {
|
|
829
830
|
childContextTypes: !0,
|
|
830
831
|
contextType: !0,
|
|
831
832
|
contextTypes: !0,
|
|
@@ -863,21 +864,21 @@ function wn() {
|
|
|
863
864
|
function f(A) {
|
|
864
865
|
return t.isMemo(A) ? a : l[A.$$typeof] || e;
|
|
865
866
|
}
|
|
866
|
-
var h = Object.defineProperty,
|
|
867
|
-
function j(A, B,
|
|
867
|
+
var h = Object.defineProperty, v = Object.getOwnPropertyNames, m = Object.getOwnPropertySymbols, E = Object.getOwnPropertyDescriptor, R = Object.getPrototypeOf, z = Object.prototype;
|
|
868
|
+
function j(A, B, Z) {
|
|
868
869
|
if (typeof B != "string") {
|
|
869
|
-
if (
|
|
870
|
-
var
|
|
871
|
-
|
|
870
|
+
if (z) {
|
|
871
|
+
var L = R(B);
|
|
872
|
+
L && L !== z && j(A, L, Z);
|
|
872
873
|
}
|
|
873
|
-
var
|
|
874
|
-
|
|
875
|
-
for (var k = f(A), w = f(B), c = 0; c <
|
|
876
|
-
var
|
|
877
|
-
if (!n[
|
|
878
|
-
var he = E(B,
|
|
874
|
+
var C = v(B);
|
|
875
|
+
m && (C = C.concat(m(B)));
|
|
876
|
+
for (var k = f(A), w = f(B), c = 0; c < C.length; ++c) {
|
|
877
|
+
var V = C[c];
|
|
878
|
+
if (!n[V] && !(Z && Z[V]) && !(w && w[V]) && !(k && k[V])) {
|
|
879
|
+
var he = E(B, V);
|
|
879
880
|
try {
|
|
880
|
-
h(A,
|
|
881
|
+
h(A, V, he);
|
|
881
882
|
} catch {
|
|
882
883
|
}
|
|
883
884
|
}
|
|
@@ -895,7 +896,7 @@ function _n(t, e, n) {
|
|
|
895
896
|
t[a] !== void 0 ? e.push(t[a] + ";") : a && (i += a + " ");
|
|
896
897
|
}), i;
|
|
897
898
|
}
|
|
898
|
-
var
|
|
899
|
+
var Kt = function(e, n, i) {
|
|
899
900
|
var a = e.key + "-" + n.name;
|
|
900
901
|
// we only need to add the styles to the registered cache if the
|
|
901
902
|
// class name could be used further down
|
|
@@ -908,7 +909,7 @@ var Jt = function(e, n, i) {
|
|
|
908
909
|
// also, note that this check will be dead code eliminated in the browser
|
|
909
910
|
On === !1) && e.registered[a] === void 0 && (e.registered[a] = n.styles);
|
|
910
911
|
}, An = function(e, n, i) {
|
|
911
|
-
|
|
912
|
+
Kt(e, n, i);
|
|
912
913
|
var a = e.key + "-" + n.name;
|
|
913
914
|
if (e.inserted[n.name] === void 0) {
|
|
914
915
|
var l = n;
|
|
@@ -992,12 +993,12 @@ function Fn(t) {
|
|
|
992
993
|
return e[n] === void 0 && (e[n] = t(n)), e[n];
|
|
993
994
|
};
|
|
994
995
|
}
|
|
995
|
-
var jn = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g,
|
|
996
|
+
var jn = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Xt = function(e) {
|
|
996
997
|
return e.charCodeAt(1) === 45;
|
|
997
998
|
}, jt = function(e) {
|
|
998
999
|
return e != null && typeof e != "boolean";
|
|
999
1000
|
}, Qe = /* @__PURE__ */ Fn(function(t) {
|
|
1000
|
-
return
|
|
1001
|
+
return Xt(t) ? t : t.replace(jn, "-$&").toLowerCase();
|
|
1001
1002
|
}), Nt = function(e, n) {
|
|
1002
1003
|
switch (e) {
|
|
1003
1004
|
case "animation":
|
|
@@ -1011,9 +1012,9 @@ var jn = /[A-Z]|^ms/g, Nn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Kt = function(e) {
|
|
|
1011
1012
|
}, a;
|
|
1012
1013
|
});
|
|
1013
1014
|
}
|
|
1014
|
-
return Mn[e] !== 1 && !
|
|
1015
|
+
return Mn[e] !== 1 && !Xt(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
1015
1016
|
};
|
|
1016
|
-
function
|
|
1017
|
+
function Re(t, e, n) {
|
|
1017
1018
|
if (n == null)
|
|
1018
1019
|
return "";
|
|
1019
1020
|
var i = n;
|
|
@@ -1047,8 +1048,8 @@ function Pe(t, e, n) {
|
|
|
1047
1048
|
}
|
|
1048
1049
|
case "function": {
|
|
1049
1050
|
if (t !== void 0) {
|
|
1050
|
-
var
|
|
1051
|
-
return X =
|
|
1051
|
+
var v = X, m = n(t);
|
|
1052
|
+
return X = v, Re(t, e, m);
|
|
1052
1053
|
}
|
|
1053
1054
|
break;
|
|
1054
1055
|
}
|
|
@@ -1060,7 +1061,7 @@ function $n(t, e, n) {
|
|
|
1060
1061
|
var i = "";
|
|
1061
1062
|
if (Array.isArray(n))
|
|
1062
1063
|
for (var a = 0; a < n.length; a++)
|
|
1063
|
-
i +=
|
|
1064
|
+
i += Re(t, e, n[a]) + ";";
|
|
1064
1065
|
else
|
|
1065
1066
|
for (var l in n) {
|
|
1066
1067
|
var f = n[l];
|
|
@@ -1068,18 +1069,18 @@ function $n(t, e, n) {
|
|
|
1068
1069
|
var h = f;
|
|
1069
1070
|
jt(h) && (i += Qe(l) + ":" + Nt(l, h) + ";");
|
|
1070
1071
|
} else if (Array.isArray(f) && typeof f[0] == "string" && e == null)
|
|
1071
|
-
for (var
|
|
1072
|
-
jt(f[
|
|
1072
|
+
for (var v = 0; v < f.length; v++)
|
|
1073
|
+
jt(f[v]) && (i += Qe(l) + ":" + Nt(l, f[v]) + ";");
|
|
1073
1074
|
else {
|
|
1074
|
-
var
|
|
1075
|
+
var m = Re(t, e, f);
|
|
1075
1076
|
switch (l) {
|
|
1076
1077
|
case "animation":
|
|
1077
1078
|
case "animationName": {
|
|
1078
|
-
i += Qe(l) + ":" +
|
|
1079
|
+
i += Qe(l) + ":" + m + ";";
|
|
1079
1080
|
break;
|
|
1080
1081
|
}
|
|
1081
1082
|
default:
|
|
1082
|
-
i += l + "{" +
|
|
1083
|
+
i += l + "{" + m + "}";
|
|
1083
1084
|
}
|
|
1084
1085
|
}
|
|
1085
1086
|
}
|
|
@@ -1093,164 +1094,182 @@ function Dn(t, e, n) {
|
|
|
1093
1094
|
X = void 0;
|
|
1094
1095
|
var l = t[0];
|
|
1095
1096
|
if (l == null || l.raw === void 0)
|
|
1096
|
-
i = !1, a +=
|
|
1097
|
+
i = !1, a += Re(n, e, l);
|
|
1097
1098
|
else {
|
|
1098
1099
|
var f = l;
|
|
1099
1100
|
a += f[0];
|
|
1100
1101
|
}
|
|
1101
1102
|
for (var h = 1; h < t.length; h++)
|
|
1102
|
-
if (a +=
|
|
1103
|
-
var
|
|
1104
|
-
a +=
|
|
1103
|
+
if (a += Re(n, e, t[h]), i) {
|
|
1104
|
+
var v = l;
|
|
1105
|
+
a += v[h];
|
|
1105
1106
|
}
|
|
1106
1107
|
$t.lastIndex = 0;
|
|
1107
|
-
for (var
|
|
1108
|
-
|
|
1109
|
-
var
|
|
1108
|
+
for (var m = "", E; (E = $t.exec(a)) !== null; )
|
|
1109
|
+
m += "-" + E[1];
|
|
1110
|
+
var R = kn(a) + m;
|
|
1110
1111
|
return {
|
|
1111
|
-
name:
|
|
1112
|
+
name: R,
|
|
1112
1113
|
styles: a,
|
|
1113
1114
|
next: X
|
|
1114
1115
|
};
|
|
1115
1116
|
}
|
|
1116
1117
|
var zn = function(e) {
|
|
1117
1118
|
return e();
|
|
1118
|
-
}, Ln =
|
|
1119
|
+
}, Ln = te.useInsertionEffect ? te.useInsertionEffect : !1, Vn = Ln || zn, Zt = /* @__PURE__ */ te.createContext(
|
|
1119
1120
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1120
1121
|
// because this module is primarily intended for the browser and node
|
|
1121
1122
|
// but it's also required in react native and similar environments sometimes
|
|
1122
1123
|
// and we could have a special build just for that
|
|
1123
1124
|
// but this is much easier and the native packages
|
|
1124
1125
|
// might use a different theme context in the future anyway
|
|
1125
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1126
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Fr({
|
|
1126
1127
|
key: "css"
|
|
1127
1128
|
}) : null
|
|
1128
1129
|
);
|
|
1129
|
-
|
|
1130
|
+
Zt.Provider;
|
|
1130
1131
|
var Yn = function(e) {
|
|
1131
|
-
return /* @__PURE__ */
|
|
1132
|
-
var a =
|
|
1132
|
+
return /* @__PURE__ */ Ar(function(n, i) {
|
|
1133
|
+
var a = at(Zt);
|
|
1133
1134
|
return e(n, a, i);
|
|
1134
1135
|
});
|
|
1135
|
-
}, Bn = /* @__PURE__ */
|
|
1136
|
+
}, Bn = /* @__PURE__ */ te.createContext({}), ze = {}.hasOwnProperty, nt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Qt = function(e, n) {
|
|
1136
1137
|
var i = {};
|
|
1137
1138
|
for (var a in n)
|
|
1138
1139
|
ze.call(n, a) && (i[a] = n[a]);
|
|
1139
|
-
return i[
|
|
1140
|
+
return i[nt] = e, i;
|
|
1140
1141
|
}, Wn = function(e) {
|
|
1141
1142
|
var n = e.cache, i = e.serialized, a = e.isStringTag;
|
|
1142
|
-
return
|
|
1143
|
+
return Kt(n, i, a), Vn(function() {
|
|
1143
1144
|
return An(n, i, a);
|
|
1144
1145
|
}), null;
|
|
1145
1146
|
}, Un = /* @__PURE__ */ Yn(function(t, e, n) {
|
|
1146
1147
|
var i = t.css;
|
|
1147
1148
|
typeof i == "string" && e.registered[i] !== void 0 && (i = e.registered[i]);
|
|
1148
|
-
var a = t[
|
|
1149
|
+
var a = t[nt], l = [i], f = "";
|
|
1149
1150
|
typeof t.className == "string" ? f = _n(e.registered, l, t.className) : t.className != null && (f = t.className + " ");
|
|
1150
|
-
var h = Dn(l, void 0,
|
|
1151
|
+
var h = Dn(l, void 0, te.useContext(Bn));
|
|
1151
1152
|
f += e.key + "-" + h.name;
|
|
1152
|
-
var
|
|
1153
|
-
for (var
|
|
1154
|
-
ze.call(t,
|
|
1155
|
-
return
|
|
1153
|
+
var v = {};
|
|
1154
|
+
for (var m in t)
|
|
1155
|
+
ze.call(t, m) && m !== "css" && m !== nt && (v[m] = t[m]);
|
|
1156
|
+
return v.className = f, n && (v.ref = n), /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(Wn, {
|
|
1156
1157
|
cache: e,
|
|
1157
1158
|
serialized: h,
|
|
1158
1159
|
isStringTag: typeof a == "string"
|
|
1159
|
-
}), /* @__PURE__ */
|
|
1160
|
-
}),
|
|
1161
|
-
return ze.call(n, "css") ?
|
|
1160
|
+
}), /* @__PURE__ */ te.createElement(a, v));
|
|
1161
|
+
}), er = Un, Le = Ce.Fragment, o = function(e, n, i) {
|
|
1162
|
+
return ze.call(n, "css") ? Ce.jsx(er, Qt(e, n), i) : Ce.jsx(e, n, i);
|
|
1162
1163
|
}, F = function(e, n, i) {
|
|
1163
|
-
return ze.call(n, "css") ?
|
|
1164
|
+
return ze.call(n, "css") ? Ce.jsxs(er, Qt(e, n), i) : Ce.jsxs(e, n, i);
|
|
1164
1165
|
};
|
|
1165
1166
|
const qn = ({
|
|
1166
|
-
|
|
1167
|
-
|
|
1167
|
+
breadcrumbs: t,
|
|
1168
|
+
tabs: e,
|
|
1169
|
+
...n
|
|
1168
1170
|
}) => {
|
|
1169
|
-
const
|
|
1170
|
-
return /* @__PURE__ */
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1171
|
+
const i = bn();
|
|
1172
|
+
return /* @__PURE__ */ o(
|
|
1173
|
+
lt.Header,
|
|
1174
|
+
{
|
|
1175
|
+
...n,
|
|
1176
|
+
breadcrumbs: t == null ? void 0 : t.map(({ linkProps: a, ...l }) => ({
|
|
1177
|
+
...l,
|
|
1178
|
+
href: a === void 0 ? void 0 : i.buildLocation(
|
|
1179
|
+
a
|
|
1180
|
+
/* FIXME */
|
|
1181
|
+
).href,
|
|
1182
|
+
onClick: a === void 0 ? void 0 : async (f) => {
|
|
1183
|
+
f.preventDefault(), await i.navigate(a);
|
|
1179
1184
|
}
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1185
|
+
})),
|
|
1186
|
+
tabs: e == null ? void 0 : e.map(({ linkProps: a, ...l }) => ({
|
|
1187
|
+
...l,
|
|
1188
|
+
href: a === void 0 ? void 0 : i.buildLocation(
|
|
1189
|
+
a
|
|
1190
|
+
/* FIXME */
|
|
1191
|
+
).href,
|
|
1192
|
+
onClick: a === void 0 ? void 0 : async (f) => {
|
|
1193
|
+
f.preventDefault(), await i.navigate(a);
|
|
1187
1194
|
}
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1195
|
+
}))
|
|
1196
|
+
}
|
|
1197
|
+
);
|
|
1198
|
+
}, Hn = ({
|
|
1199
|
+
onCancel: t,
|
|
1200
|
+
onSave: e
|
|
1201
|
+
}) => {
|
|
1202
|
+
const n = $r({ prefix: "modalForm" }), [i, a] = q(""), [l, f] = q(""), [h, v] = q(!1);
|
|
1203
|
+
return /* @__PURE__ */ F(Br, { onClose: t, initialFocus: "[name=url]", children: [
|
|
1204
|
+
/* @__PURE__ */ o(zr, { children: /* @__PURE__ */ o(Dr, { children: "Add video" }) }),
|
|
1205
|
+
/* @__PURE__ */ o(Vr, { children: /* @__PURE__ */ F(
|
|
1206
|
+
Lr,
|
|
1207
|
+
{
|
|
1208
|
+
id: n,
|
|
1209
|
+
component: "form",
|
|
1210
|
+
onSubmit: async (m) => {
|
|
1211
|
+
m.preventDefault();
|
|
1212
|
+
try {
|
|
1213
|
+
v(!0), await e({ url: i, title: l });
|
|
1214
|
+
} finally {
|
|
1215
|
+
v(!1);
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
children: [
|
|
1219
|
+
/* @__PURE__ */ o(tt, { label: "URL", children: /* @__PURE__ */ o(
|
|
1220
|
+
Rt,
|
|
1221
|
+
{
|
|
1222
|
+
name: "url",
|
|
1223
|
+
value: i,
|
|
1224
|
+
onChange: (m) => a(m.target.value)
|
|
1225
|
+
}
|
|
1226
|
+
) }),
|
|
1227
|
+
/* @__PURE__ */ o(tt, { label: "Title", children: /* @__PURE__ */ o(
|
|
1228
|
+
Rt,
|
|
1229
|
+
{
|
|
1230
|
+
name: "title",
|
|
1231
|
+
value: l,
|
|
1232
|
+
onChange: (m) => f(m.target.value)
|
|
1233
|
+
}
|
|
1234
|
+
) })
|
|
1235
|
+
]
|
|
1236
|
+
}
|
|
1237
|
+
) }),
|
|
1238
|
+
/* @__PURE__ */ F(Yr, { children: [
|
|
1239
|
+
/* @__PURE__ */ o(Vt, { onClick: t, children: "Cancel" }),
|
|
1192
1240
|
/* @__PURE__ */ o(
|
|
1193
|
-
|
|
1241
|
+
re,
|
|
1194
1242
|
{
|
|
1195
1243
|
type: "submit",
|
|
1196
|
-
|
|
1197
|
-
try {
|
|
1198
|
-
h(!0), await e({ url: n, title: a });
|
|
1199
|
-
} finally {
|
|
1200
|
-
h(!1);
|
|
1201
|
-
}
|
|
1202
|
-
},
|
|
1244
|
+
form: n,
|
|
1203
1245
|
fill: !0,
|
|
1204
|
-
disabled:
|
|
1205
|
-
isLoading:
|
|
1206
|
-
children: "
|
|
1246
|
+
disabled: i.trim().length === 0,
|
|
1247
|
+
isLoading: h,
|
|
1248
|
+
children: "Add video"
|
|
1207
1249
|
}
|
|
1208
1250
|
)
|
|
1209
1251
|
] })
|
|
1210
1252
|
] });
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
return t !== null && typeof t == "object" && "title" in t && typeof t.title == "string";
|
|
1214
|
-
}
|
|
1215
|
-
const Dt = Z(
|
|
1216
|
-
({ playQueueStore: t }) => {
|
|
1253
|
+
}, Dt = ne(
|
|
1254
|
+
({ onSave: t }) => {
|
|
1217
1255
|
const [e, n] = q(!1), i = $(
|
|
1218
1256
|
async (a) => {
|
|
1219
|
-
|
|
1220
|
-
if (l !== void 0) {
|
|
1221
|
-
const f = l.extractVideoId(a.url);
|
|
1222
|
-
if (f !== void 0) {
|
|
1223
|
-
const m = await (await fetch(
|
|
1224
|
-
`https://noembed.com/embed?url=${encodeURIComponent(
|
|
1225
|
-
a.url
|
|
1226
|
-
)}`
|
|
1227
|
-
)).json();
|
|
1228
|
-
await t.addItems([
|
|
1229
|
-
t.createItem({
|
|
1230
|
-
url: a.url,
|
|
1231
|
-
type: l.type,
|
|
1232
|
-
videoId: f,
|
|
1233
|
-
title: a.title || (Hn(m) ? m.title : f)
|
|
1234
|
-
})
|
|
1235
|
-
]);
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
n(!1);
|
|
1257
|
+
await t(a), n(!1);
|
|
1239
1258
|
},
|
|
1240
1259
|
[t]
|
|
1241
1260
|
);
|
|
1242
1261
|
return /* @__PURE__ */ F(Le, { children: [
|
|
1243
1262
|
/* @__PURE__ */ o(
|
|
1244
|
-
|
|
1263
|
+
re,
|
|
1245
1264
|
{
|
|
1246
1265
|
onClick: () => n(!0),
|
|
1247
|
-
iconType:
|
|
1266
|
+
iconType: ut,
|
|
1248
1267
|
color: "primary",
|
|
1249
1268
|
children: "Add video"
|
|
1250
1269
|
}
|
|
1251
1270
|
),
|
|
1252
1271
|
e && /* @__PURE__ */ o(
|
|
1253
|
-
|
|
1272
|
+
Hn,
|
|
1254
1273
|
{
|
|
1255
1274
|
onCancel: () => n(!1),
|
|
1256
1275
|
onSave: i
|
|
@@ -1258,11 +1277,19 @@ const Dt = Z(
|
|
|
1258
1277
|
)
|
|
1259
1278
|
] });
|
|
1260
1279
|
}
|
|
1261
|
-
),
|
|
1280
|
+
), tr = {
|
|
1281
|
+
Audio: "",
|
|
1282
|
+
Dailymotion: "https://www.dailymotion.com/favicon.ico",
|
|
1283
|
+
Niconico: "https://www.nicovideo.jp/favicon.ico",
|
|
1284
|
+
SoundCloud: "https://soundcloud.com/favicon.ico",
|
|
1285
|
+
Twitch: "https://www.twitch.tv/favicon.ico",
|
|
1286
|
+
Vimeo: "https://vimeo.com/favicon.ico",
|
|
1287
|
+
YouTube: "https://www.youtube.com/favicon.ico"
|
|
1288
|
+
}, Gn = D(
|
|
1262
1289
|
({ playQueueStore: t }) => {
|
|
1263
1290
|
const { euiTheme: e } = Yt();
|
|
1264
1291
|
return /* @__PURE__ */ F(
|
|
1265
|
-
|
|
1292
|
+
Ur,
|
|
1266
1293
|
{
|
|
1267
1294
|
style: {
|
|
1268
1295
|
position: "sticky",
|
|
@@ -1271,7 +1298,7 @@ const Dt = Z(
|
|
|
1271
1298
|
background: e.colors.backgroundBasePlain
|
|
1272
1299
|
},
|
|
1273
1300
|
children: [
|
|
1274
|
-
/* @__PURE__ */ o(
|
|
1301
|
+
/* @__PURE__ */ o(Wr, { children: /* @__PURE__ */ o(
|
|
1275
1302
|
Bt,
|
|
1276
1303
|
{
|
|
1277
1304
|
id: "",
|
|
@@ -1288,102 +1315,94 @@ const Dt = Z(
|
|
|
1288
1315
|
}
|
|
1289
1316
|
);
|
|
1290
1317
|
}
|
|
1291
|
-
), Jn =
|
|
1318
|
+
), Jn = ne(
|
|
1292
1319
|
({
|
|
1293
1320
|
item: t,
|
|
1294
1321
|
closePopover: e
|
|
1295
1322
|
}) => {
|
|
1296
|
-
const n =
|
|
1297
|
-
(
|
|
1298
|
-
onClick: i,
|
|
1299
|
-
...a
|
|
1300
|
-
}) => {
|
|
1301
|
-
const l = $(
|
|
1302
|
-
(f) => {
|
|
1303
|
-
e(), i == null || i(f);
|
|
1304
|
-
},
|
|
1305
|
-
[i]
|
|
1306
|
-
);
|
|
1307
|
-
return /* @__PURE__ */ o(Yr, { ...a, onClick: l });
|
|
1308
|
-
}
|
|
1309
|
-
);
|
|
1310
|
-
return /* @__PURE__ */ F(Br, { children: [
|
|
1311
|
-
/* @__PURE__ */ o(
|
|
1312
|
-
n,
|
|
1313
|
-
{
|
|
1314
|
-
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1315
|
-
onClick: t.playFirst,
|
|
1316
|
-
children: "Play first"
|
|
1317
|
-
}
|
|
1318
|
-
),
|
|
1319
|
-
/* @__PURE__ */ o(
|
|
1320
|
-
n,
|
|
1321
|
-
{
|
|
1322
|
-
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1323
|
-
onClick: t.playNext,
|
|
1324
|
-
children: "Play next"
|
|
1325
|
-
}
|
|
1326
|
-
),
|
|
1327
|
-
/* @__PURE__ */ o(
|
|
1328
|
-
n,
|
|
1329
|
-
{
|
|
1330
|
-
icon: /* @__PURE__ */ o(H, { type: ct }),
|
|
1331
|
-
onClick: t.addToPlayQueue,
|
|
1332
|
-
children: "Add to play queue"
|
|
1333
|
-
}
|
|
1334
|
-
),
|
|
1335
|
-
/* @__PURE__ */ o(Pt, { margin: "none" }),
|
|
1336
|
-
/* @__PURE__ */ o(
|
|
1337
|
-
n,
|
|
1338
|
-
{
|
|
1339
|
-
icon: /* @__PURE__ */ o(H, { type: en }),
|
|
1340
|
-
onClick: t.moveToTop,
|
|
1341
|
-
disabled: !t.canMoveToTop,
|
|
1342
|
-
children: "Move to the top"
|
|
1343
|
-
}
|
|
1344
|
-
),
|
|
1345
|
-
/* @__PURE__ */ o(
|
|
1346
|
-
n,
|
|
1347
|
-
{
|
|
1348
|
-
icon: /* @__PURE__ */ o(H, { type: tn }),
|
|
1349
|
-
onClick: t.moveToBottom,
|
|
1350
|
-
disabled: !t.canMoveToBottom,
|
|
1351
|
-
children: "Move to the bottom"
|
|
1352
|
-
}
|
|
1353
|
-
),
|
|
1354
|
-
/* @__PURE__ */ o(Pt, { margin: "none" }),
|
|
1355
|
-
/* @__PURE__ */ o(
|
|
1356
|
-
n,
|
|
1357
|
-
{
|
|
1358
|
-
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1359
|
-
onClick: t.removeToTop,
|
|
1360
|
-
disabled: !t.canRemoveToTop,
|
|
1361
|
-
children: "Remove to the top"
|
|
1362
|
-
}
|
|
1363
|
-
),
|
|
1364
|
-
/* @__PURE__ */ o(
|
|
1365
|
-
n,
|
|
1323
|
+
const n = st(
|
|
1324
|
+
() => [
|
|
1366
1325
|
{
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1326
|
+
id: 0,
|
|
1327
|
+
items: [
|
|
1328
|
+
{
|
|
1329
|
+
name: "Play first",
|
|
1330
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1331
|
+
onClick: async () => {
|
|
1332
|
+
e(), await t.playFirst();
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
name: "Play next",
|
|
1337
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1338
|
+
onClick: async () => {
|
|
1339
|
+
e(), await t.playNext();
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
name: "Add to play queue",
|
|
1344
|
+
icon: /* @__PURE__ */ o(H, { type: ut }),
|
|
1345
|
+
onClick: async () => {
|
|
1346
|
+
e(), await t.addToPlayQueue();
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
isSeparator: !0
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
name: "Move to the top",
|
|
1354
|
+
icon: /* @__PURE__ */ o(H, { type: tn }),
|
|
1355
|
+
onClick: async () => {
|
|
1356
|
+
e(), t.moveToTop();
|
|
1357
|
+
},
|
|
1358
|
+
disabled: !t.canMoveToTop
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
name: "Move to the bottom",
|
|
1362
|
+
icon: /* @__PURE__ */ o(H, { type: rn }),
|
|
1363
|
+
onClick: async () => {
|
|
1364
|
+
e(), t.moveToBottom();
|
|
1365
|
+
},
|
|
1366
|
+
disabled: !t.canMoveToBottom
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
isSeparator: !0
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
name: "Remove to the top",
|
|
1373
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1374
|
+
onClick: async () => {
|
|
1375
|
+
e(), await t.removeToTop();
|
|
1376
|
+
},
|
|
1377
|
+
disabled: !t.canRemoveToTop
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
name: "Remove others",
|
|
1381
|
+
icon: /* @__PURE__ */ o(H, { type: "" }),
|
|
1382
|
+
onClick: async () => {
|
|
1383
|
+
e(), await t.removeOthers();
|
|
1384
|
+
},
|
|
1385
|
+
disabled: !t.canRemoveOthers
|
|
1386
|
+
}
|
|
1387
|
+
]
|
|
1371
1388
|
}
|
|
1372
|
-
|
|
1373
|
-
|
|
1389
|
+
],
|
|
1390
|
+
[e, t]
|
|
1391
|
+
);
|
|
1392
|
+
return /* @__PURE__ */ o(Wt, { initialPanelId: 0, panels: n });
|
|
1374
1393
|
}
|
|
1375
|
-
), Kn =
|
|
1394
|
+
), Kn = ne(
|
|
1376
1395
|
({ item: t }) => {
|
|
1377
1396
|
const [e, n] = q(!1), i = $(() => n(!e), [e]), a = $(() => n(!1), []);
|
|
1378
1397
|
return /* @__PURE__ */ o(
|
|
1379
|
-
|
|
1398
|
+
ct,
|
|
1380
1399
|
{
|
|
1381
1400
|
button: /* @__PURE__ */ o(
|
|
1382
1401
|
G,
|
|
1383
1402
|
{
|
|
1384
1403
|
title: "More options",
|
|
1385
1404
|
"aria-label": "More options",
|
|
1386
|
-
iconType:
|
|
1405
|
+
iconType: Ht,
|
|
1387
1406
|
size: "s",
|
|
1388
1407
|
color: "text",
|
|
1389
1408
|
onClick: i
|
|
@@ -1403,14 +1422,14 @@ const Dt = Z(
|
|
|
1403
1422
|
}
|
|
1404
1423
|
);
|
|
1405
1424
|
}
|
|
1406
|
-
), Xn =
|
|
1425
|
+
), Xn = D(
|
|
1407
1426
|
({ item: t }) => {
|
|
1408
1427
|
const e = ie();
|
|
1409
1428
|
return /* @__PURE__ */ F(rt, { textOnly: !1, hasActions: !0, align: "right", children: [
|
|
1410
1429
|
/* @__PURE__ */ o(
|
|
1411
|
-
|
|
1430
|
+
re,
|
|
1412
1431
|
{
|
|
1413
|
-
iconType:
|
|
1432
|
+
iconType: en,
|
|
1414
1433
|
size: "s",
|
|
1415
1434
|
onClick: async () => {
|
|
1416
1435
|
t.isCurrent ? await e.setCurrentTime(0) : t.play();
|
|
@@ -1419,9 +1438,9 @@ const Dt = Z(
|
|
|
1419
1438
|
}
|
|
1420
1439
|
),
|
|
1421
1440
|
/* @__PURE__ */ o(
|
|
1422
|
-
|
|
1441
|
+
re,
|
|
1423
1442
|
{
|
|
1424
|
-
iconType:
|
|
1443
|
+
iconType: ft,
|
|
1425
1444
|
size: "s",
|
|
1426
1445
|
onClick: t.remove,
|
|
1427
1446
|
children: "Remove"
|
|
@@ -1430,19 +1449,11 @@ const Dt = Z(
|
|
|
1430
1449
|
/* @__PURE__ */ o(Kn, { item: t })
|
|
1431
1450
|
] });
|
|
1432
1451
|
}
|
|
1433
|
-
), Zn =
|
|
1434
|
-
Audio: "",
|
|
1435
|
-
Dailymotion: "https://www.dailymotion.com/favicon.ico",
|
|
1436
|
-
Niconico: "https://www.nicovideo.jp/favicon.ico",
|
|
1437
|
-
SoundCloud: "https://soundcloud.com/favicon.ico",
|
|
1438
|
-
Twitch: "https://www.twitch.tv/favicon.ico",
|
|
1439
|
-
Vimeo: "https://vimeo.com/favicon.ico",
|
|
1440
|
-
YouTube: "https://www.youtube.com/favicon.ico"
|
|
1441
|
-
}, Qn = Y(
|
|
1452
|
+
), Zn = D(
|
|
1442
1453
|
({ item: t }) => {
|
|
1443
1454
|
const e = ie();
|
|
1444
|
-
return /* @__PURE__ */ F(
|
|
1445
|
-
/* @__PURE__ */ o(
|
|
1455
|
+
return /* @__PURE__ */ F(Gr, { isSelected: t.isCurrent, children: [
|
|
1456
|
+
/* @__PURE__ */ o(qr, { children: /* @__PURE__ */ o(
|
|
1446
1457
|
Bt,
|
|
1447
1458
|
{
|
|
1448
1459
|
id: t.id.toString(),
|
|
@@ -1453,14 +1464,14 @@ const Dt = Z(
|
|
|
1453
1464
|
/* @__PURE__ */ o(rt, { textOnly: !1, children: /* @__PURE__ */ o(
|
|
1454
1465
|
"img",
|
|
1455
1466
|
{
|
|
1456
|
-
src:
|
|
1467
|
+
src: tr[t.type],
|
|
1457
1468
|
width: 16,
|
|
1458
1469
|
height: 16,
|
|
1459
1470
|
alt: t.type
|
|
1460
1471
|
}
|
|
1461
1472
|
) }),
|
|
1462
1473
|
/* @__PURE__ */ o(rt, { children: /* @__PURE__ */ o(
|
|
1463
|
-
|
|
1474
|
+
Hr,
|
|
1464
1475
|
{
|
|
1465
1476
|
href: t.url,
|
|
1466
1477
|
target: "_blank",
|
|
@@ -1472,34 +1483,48 @@ const Dt = Z(
|
|
|
1472
1483
|
/* @__PURE__ */ o(Xn, { item: t })
|
|
1473
1484
|
] }, t.id);
|
|
1474
1485
|
}
|
|
1475
|
-
),
|
|
1486
|
+
), Qn = D(
|
|
1476
1487
|
({ playQueueStore: t }) => /* @__PURE__ */ o(
|
|
1477
1488
|
En,
|
|
1478
1489
|
{
|
|
1479
1490
|
tag: "tbody",
|
|
1480
1491
|
list: t.items,
|
|
1481
1492
|
setList: (e) => t.setItems(e),
|
|
1482
|
-
children: t.items.map((e) => /* @__PURE__ */ o(
|
|
1493
|
+
children: t.items.map((e) => /* @__PURE__ */ o(Zn, { item: e }, e.id))
|
|
1483
1494
|
}
|
|
1484
1495
|
)
|
|
1485
|
-
),
|
|
1486
|
-
({ playQueueStore: t }) => /* @__PURE__ */ F(
|
|
1496
|
+
), ei = D(
|
|
1497
|
+
({ playQueueStore: t }) => /* @__PURE__ */ F(Jr, { children: [
|
|
1487
1498
|
/* @__PURE__ */ o(Gn, { playQueueStore: t }),
|
|
1488
|
-
/* @__PURE__ */ o(
|
|
1499
|
+
/* @__PURE__ */ o(Qn, { playQueueStore: t })
|
|
1489
1500
|
] })
|
|
1490
1501
|
);
|
|
1491
|
-
|
|
1502
|
+
function ti(t) {
|
|
1503
|
+
return t !== null && typeof t == "object" && "title" in t && typeof t.title == "string";
|
|
1504
|
+
}
|
|
1505
|
+
const ri = D(
|
|
1506
|
+
({ playQueueStore: t }) => /* @__PURE__ */ o(
|
|
1507
|
+
re,
|
|
1508
|
+
{
|
|
1509
|
+
iconType: ut,
|
|
1510
|
+
onClick: t.addSelectedItems,
|
|
1511
|
+
disabled: t.isEmpty || t.selectedItems.length === 0,
|
|
1512
|
+
children: "Add to play queue"
|
|
1513
|
+
}
|
|
1514
|
+
)
|
|
1515
|
+
);
|
|
1516
|
+
D(
|
|
1492
1517
|
({ playQueueStore: t }) => {
|
|
1493
1518
|
const [e, n] = q(!1);
|
|
1494
1519
|
return /* @__PURE__ */ F(Le, { children: [
|
|
1495
1520
|
e && /* @__PURE__ */ o(
|
|
1496
|
-
|
|
1521
|
+
Xr,
|
|
1497
1522
|
{
|
|
1498
1523
|
type: "push",
|
|
1499
1524
|
size: "s",
|
|
1500
1525
|
onClose: () => n(!1),
|
|
1501
1526
|
children: /* @__PURE__ */ o("div", { style: { blockSize: "100%" }, children: /* @__PURE__ */ o(
|
|
1502
|
-
|
|
1527
|
+
Kr,
|
|
1503
1528
|
{
|
|
1504
1529
|
language: "json",
|
|
1505
1530
|
overflowHeight: "100%",
|
|
@@ -1515,22 +1540,45 @@ Y(
|
|
|
1515
1540
|
}
|
|
1516
1541
|
),
|
|
1517
1542
|
/* @__PURE__ */ o(
|
|
1518
|
-
|
|
1543
|
+
re,
|
|
1519
1544
|
{
|
|
1520
1545
|
onClick: () => n((i) => !i),
|
|
1521
|
-
iconType:
|
|
1546
|
+
iconType: nn,
|
|
1522
1547
|
children: "Developer tools"
|
|
1523
1548
|
}
|
|
1524
1549
|
)
|
|
1525
1550
|
] });
|
|
1526
1551
|
}
|
|
1527
1552
|
);
|
|
1528
|
-
const
|
|
1553
|
+
const ni = D(
|
|
1529
1554
|
({ playQueueStore: t }) => {
|
|
1530
|
-
const { euiTheme: e } = Yt()
|
|
1555
|
+
const { euiTheme: e } = Yt(), n = $(
|
|
1556
|
+
async (i) => {
|
|
1557
|
+
const a = jr(i.url);
|
|
1558
|
+
if (a !== void 0) {
|
|
1559
|
+
const l = a.extractVideoId(i.url);
|
|
1560
|
+
if (l !== void 0) {
|
|
1561
|
+
const h = await (await fetch(
|
|
1562
|
+
`https://noembed.com/embed?url=${encodeURIComponent(
|
|
1563
|
+
i.url
|
|
1564
|
+
)}`
|
|
1565
|
+
)).json();
|
|
1566
|
+
await t.addItems([
|
|
1567
|
+
t.createItem({
|
|
1568
|
+
url: i.url,
|
|
1569
|
+
type: a.type,
|
|
1570
|
+
videoId: l,
|
|
1571
|
+
title: i.title || (ti(h) ? h.title : l)
|
|
1572
|
+
})
|
|
1573
|
+
]);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
[t]
|
|
1578
|
+
);
|
|
1531
1579
|
return /* @__PURE__ */ F(Le, { children: [
|
|
1532
1580
|
/* @__PURE__ */ F(
|
|
1533
|
-
|
|
1581
|
+
le,
|
|
1534
1582
|
{
|
|
1535
1583
|
alignItems: "center",
|
|
1536
1584
|
gutterSize: "m",
|
|
@@ -1542,35 +1590,27 @@ const ri = Y(
|
|
|
1542
1590
|
},
|
|
1543
1591
|
children: [
|
|
1544
1592
|
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1545
|
-
|
|
1593
|
+
re,
|
|
1546
1594
|
{
|
|
1547
1595
|
disabled: t.isEmpty || t.selectedItems.length === 0,
|
|
1548
1596
|
onClick: t.playSelectedItemsNext,
|
|
1549
1597
|
children: "Play next"
|
|
1550
1598
|
}
|
|
1551
1599
|
) }),
|
|
1600
|
+
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(ri, { playQueueStore: t }) }),
|
|
1552
1601
|
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1553
|
-
|
|
1554
|
-
{
|
|
1555
|
-
iconType: ct,
|
|
1556
|
-
onClick: t.addSelectedItems,
|
|
1557
|
-
disabled: t.isEmpty || t.selectedItems.length === 0,
|
|
1558
|
-
children: "Add to play queue"
|
|
1559
|
-
}
|
|
1560
|
-
) }),
|
|
1561
|
-
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1562
|
-
ne,
|
|
1602
|
+
re,
|
|
1563
1603
|
{
|
|
1564
|
-
iconType:
|
|
1604
|
+
iconType: ft,
|
|
1565
1605
|
onClick: t.removeSelectedItems,
|
|
1566
1606
|
disabled: t.isEmpty || t.selectedItems.length === 0,
|
|
1567
1607
|
children: "Remove"
|
|
1568
1608
|
}
|
|
1569
1609
|
) }),
|
|
1570
1610
|
/* @__PURE__ */ o(J, { grow: !1, children: /* @__PURE__ */ o(
|
|
1571
|
-
|
|
1611
|
+
re,
|
|
1572
1612
|
{
|
|
1573
|
-
iconType:
|
|
1613
|
+
iconType: on,
|
|
1574
1614
|
onClick: t.clear,
|
|
1575
1615
|
disabled: t.isEmpty,
|
|
1576
1616
|
children: "Clear"
|
|
@@ -1579,13 +1619,13 @@ const ri = Y(
|
|
|
1579
1619
|
/* @__PURE__ */ o(J, { grow: !0 }),
|
|
1580
1620
|
/* @__PURE__ */ F(J, { grow: !1, children: [
|
|
1581
1621
|
!1,
|
|
1582
|
-
/* @__PURE__ */ o(Dt, {
|
|
1622
|
+
/* @__PURE__ */ o(Dt, { onSave: n })
|
|
1583
1623
|
] })
|
|
1584
1624
|
]
|
|
1585
1625
|
}
|
|
1586
1626
|
),
|
|
1587
1627
|
/* @__PURE__ */ o(
|
|
1588
|
-
|
|
1628
|
+
Ut,
|
|
1589
1629
|
{
|
|
1590
1630
|
size: "l",
|
|
1591
1631
|
style: {
|
|
@@ -1597,30 +1637,30 @@ const ri = Y(
|
|
|
1597
1637
|
}
|
|
1598
1638
|
),
|
|
1599
1639
|
t.isEmpty ? /* @__PURE__ */ o(
|
|
1600
|
-
|
|
1640
|
+
Zr,
|
|
1601
1641
|
{
|
|
1602
1642
|
title: /* @__PURE__ */ o("h2", { children: "We couldn't find any videos" }),
|
|
1603
1643
|
body: /* @__PURE__ */ o("p", { children: "Your video library doesn't contain any video content." }),
|
|
1604
|
-
actions: /* @__PURE__ */ o(Dt, {
|
|
1644
|
+
actions: /* @__PURE__ */ o(Dt, { onSave: n })
|
|
1605
1645
|
}
|
|
1606
|
-
) : /* @__PURE__ */ o(
|
|
1646
|
+
) : /* @__PURE__ */ o(ei, { playQueueStore: t })
|
|
1607
1647
|
] });
|
|
1608
1648
|
}
|
|
1609
|
-
),
|
|
1649
|
+
), Fi = D(
|
|
1610
1650
|
({ playQueueStore: t }) => /* @__PURE__ */ F(Le, { children: [
|
|
1611
1651
|
/* @__PURE__ */ o(
|
|
1612
|
-
|
|
1652
|
+
qn,
|
|
1613
1653
|
{
|
|
1614
1654
|
pageTitle: "Play queue",
|
|
1615
1655
|
rightSideItems: []
|
|
1616
1656
|
}
|
|
1617
1657
|
),
|
|
1618
|
-
/* @__PURE__ */ o(
|
|
1658
|
+
/* @__PURE__ */ o(lt.Section, { children: /* @__PURE__ */ o(ni, { playQueueStore: t }) })
|
|
1619
1659
|
] })
|
|
1620
1660
|
), et = new Tn({
|
|
1621
1661
|
coerceTypes: !0
|
|
1622
1662
|
});
|
|
1623
|
-
function
|
|
1663
|
+
function ii(t, e) {
|
|
1624
1664
|
let n;
|
|
1625
1665
|
if (n = et.getSchema(e), n === void 0 && (et.addSchema(t, e), n = et.getSchema(e)), n === void 0 || n.schema !== t)
|
|
1626
1666
|
throw new Error(
|
|
@@ -1630,7 +1670,7 @@ function ni(t, e) {
|
|
|
1630
1670
|
);
|
|
1631
1671
|
return n;
|
|
1632
1672
|
}
|
|
1633
|
-
const
|
|
1673
|
+
const oi = {
|
|
1634
1674
|
type: "object",
|
|
1635
1675
|
properties: {
|
|
1636
1676
|
url: {
|
|
@@ -1648,8 +1688,8 @@ const ii = {
|
|
|
1648
1688
|
},
|
|
1649
1689
|
required: ["url", "type", "videoId", "title"]
|
|
1650
1690
|
};
|
|
1651
|
-
var
|
|
1652
|
-
const
|
|
1691
|
+
var P = /* @__PURE__ */ ((t) => (t.Off = "Off", t.All = "All", t.One = "One", t))(P || {});
|
|
1692
|
+
const ai = {
|
|
1653
1693
|
type: "object",
|
|
1654
1694
|
properties: {
|
|
1655
1695
|
version: {
|
|
@@ -1658,7 +1698,7 @@ const oi = {
|
|
|
1658
1698
|
},
|
|
1659
1699
|
repeat: {
|
|
1660
1700
|
type: "string",
|
|
1661
|
-
enum: Object.values(
|
|
1701
|
+
enum: Object.values(P),
|
|
1662
1702
|
nullable: !0
|
|
1663
1703
|
},
|
|
1664
1704
|
shuffle: {
|
|
@@ -1668,19 +1708,19 @@ const oi = {
|
|
|
1668
1708
|
items: {
|
|
1669
1709
|
type: "array",
|
|
1670
1710
|
nullable: !0,
|
|
1671
|
-
items:
|
|
1711
|
+
items: oi
|
|
1672
1712
|
},
|
|
1673
1713
|
currentIndex: {
|
|
1674
1714
|
type: "integer",
|
|
1675
1715
|
nullable: !0
|
|
1676
1716
|
}
|
|
1677
1717
|
}
|
|
1678
|
-
},
|
|
1718
|
+
}, Ie = class Ie {
|
|
1679
1719
|
constructor(e, n, i) {
|
|
1680
1720
|
U(this, "id");
|
|
1681
1721
|
U(this, "isSelected", !1);
|
|
1682
|
-
this.observableStateProvider = e, this.playQueueStore = n, this.dto = i, this.id =
|
|
1683
|
-
isSelected:
|
|
1722
|
+
this.observableStateProvider = e, this.playQueueStore = n, this.dto = i, this.id = Ie.nextId++, e.makeObservable(this, {
|
|
1723
|
+
isSelected: ee,
|
|
1684
1724
|
isCurrent: _,
|
|
1685
1725
|
index: _,
|
|
1686
1726
|
isFirst: _,
|
|
@@ -1703,7 +1743,7 @@ const oi = {
|
|
|
1703
1743
|
});
|
|
1704
1744
|
}
|
|
1705
1745
|
static fromDto(e, n, i) {
|
|
1706
|
-
return new
|
|
1746
|
+
return new Ie(
|
|
1707
1747
|
e,
|
|
1708
1748
|
n,
|
|
1709
1749
|
i
|
|
@@ -1785,21 +1825,21 @@ const oi = {
|
|
|
1785
1825
|
return this.playQueueStore.removeOtherItems(this);
|
|
1786
1826
|
}
|
|
1787
1827
|
};
|
|
1788
|
-
U(
|
|
1789
|
-
let
|
|
1790
|
-
class
|
|
1828
|
+
U(Ie, "nextId", 1);
|
|
1829
|
+
let it = Ie;
|
|
1830
|
+
class si {
|
|
1791
1831
|
constructor(e) {
|
|
1792
1832
|
U(this, "interacted", !1);
|
|
1793
1833
|
U(this, "items", []);
|
|
1794
1834
|
U(this, "currentId");
|
|
1795
|
-
U(this, "repeat",
|
|
1835
|
+
U(this, "repeat", P.Off);
|
|
1796
1836
|
U(this, "shuffle", !1);
|
|
1797
1837
|
this.observableStateProvider = e, e.makeObservable(this, {
|
|
1798
|
-
interacted:
|
|
1799
|
-
items:
|
|
1800
|
-
currentId:
|
|
1801
|
-
repeat:
|
|
1802
|
-
shuffle:
|
|
1838
|
+
interacted: ee,
|
|
1839
|
+
items: ee,
|
|
1840
|
+
currentId: ee,
|
|
1841
|
+
repeat: ee,
|
|
1842
|
+
shuffle: ee,
|
|
1803
1843
|
localStorageState: _.struct,
|
|
1804
1844
|
isEmpty: _,
|
|
1805
1845
|
currentItem: _,
|
|
@@ -1838,7 +1878,7 @@ class ai {
|
|
|
1838
1878
|
});
|
|
1839
1879
|
}
|
|
1840
1880
|
createItem(e) {
|
|
1841
|
-
return
|
|
1881
|
+
return it.fromDto(
|
|
1842
1882
|
this.observableStateProvider,
|
|
1843
1883
|
this,
|
|
1844
1884
|
e
|
|
@@ -1855,11 +1895,11 @@ class ai {
|
|
|
1855
1895
|
}
|
|
1856
1896
|
set localStorageState(e) {
|
|
1857
1897
|
var n;
|
|
1858
|
-
this.repeat = e.repeat ??
|
|
1898
|
+
this.repeat = e.repeat ?? P.Off, this.shuffle = e.shuffle ?? !1, this.items = ((n = e.items) == null ? void 0 : n.map((i) => this.createItem(i))) ?? [], this.currentIndex = e.currentIndex;
|
|
1859
1899
|
}
|
|
1860
1900
|
validateLocalStorageState(e) {
|
|
1861
|
-
return
|
|
1862
|
-
|
|
1901
|
+
return ii(
|
|
1902
|
+
ai,
|
|
1863
1903
|
"PlayQueueDto"
|
|
1864
1904
|
)(e);
|
|
1865
1905
|
}
|
|
@@ -1967,9 +2007,9 @@ class ai {
|
|
|
1967
2007
|
}
|
|
1968
2008
|
async removeItems(e) {
|
|
1969
2009
|
const { currentItem: n } = this;
|
|
1970
|
-
|
|
2010
|
+
Pt(this.items, ...e.filter((l) => l !== n));
|
|
1971
2011
|
const { currentIndex: i, isLastItem: a } = this;
|
|
1972
|
-
|
|
2012
|
+
Pt(
|
|
1973
2013
|
this.items,
|
|
1974
2014
|
e.find((l) => l === n)
|
|
1975
2015
|
), this.currentItem !== n && (this.interact(), a ? await this.goToFirst() : this.currentIndex = i);
|
|
@@ -1991,14 +2031,14 @@ class ai {
|
|
|
1991
2031
|
}
|
|
1992
2032
|
toggleRepeat() {
|
|
1993
2033
|
switch (this.repeat) {
|
|
1994
|
-
case
|
|
1995
|
-
this.repeat =
|
|
2034
|
+
case P.Off:
|
|
2035
|
+
this.repeat = P.All;
|
|
1996
2036
|
break;
|
|
1997
|
-
case
|
|
1998
|
-
this.repeat =
|
|
2037
|
+
case P.All:
|
|
2038
|
+
this.repeat = P.One;
|
|
1999
2039
|
break;
|
|
2000
|
-
case
|
|
2001
|
-
this.repeat =
|
|
2040
|
+
case P.One:
|
|
2041
|
+
this.repeat = P.Off;
|
|
2002
2042
|
break;
|
|
2003
2043
|
}
|
|
2004
2044
|
}
|
|
@@ -2015,63 +2055,144 @@ class ai {
|
|
|
2015
2055
|
this.currentIndex !== void 0 && (this.currentIndex = 0);
|
|
2016
2056
|
}
|
|
2017
2057
|
}
|
|
2018
|
-
const
|
|
2058
|
+
const rr = Lt(void 0), ji = ({
|
|
2019
2059
|
children: t
|
|
2020
2060
|
}) => {
|
|
2021
2061
|
const [e] = q(
|
|
2022
|
-
() => new
|
|
2062
|
+
() => new si(new Jt())
|
|
2023
2063
|
), n = ie();
|
|
2024
|
-
return
|
|
2064
|
+
return kr(() => _r(
|
|
2025
2065
|
() => e.currentItem,
|
|
2026
2066
|
async (i, a) => {
|
|
2027
2067
|
i === void 0 || a === void 0 || i.type === a.type && i.videoId === a.videoId && await n.setCurrentTime(0);
|
|
2028
2068
|
}
|
|
2029
|
-
), [e, n]), /* @__PURE__ */ o(
|
|
2030
|
-
},
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2069
|
+
), [e, n]), /* @__PURE__ */ o(rr.Provider, { value: e, children: t });
|
|
2070
|
+
}, li = () => at(rr), ci = {
|
|
2071
|
+
[P.Off]: ln,
|
|
2072
|
+
[P.All]: sn,
|
|
2073
|
+
[P.One]: an
|
|
2074
|
+
}, ui = D(
|
|
2075
|
+
({
|
|
2076
|
+
playerStore: t,
|
|
2077
|
+
playQueueStore: e
|
|
2078
|
+
}) => {
|
|
2079
|
+
const n = ie(), i = $(async () => {
|
|
2080
|
+
if (e.hasPreviousItem) {
|
|
2081
|
+
const a = await n.getCurrentTime();
|
|
2082
|
+
a === void 0 || a < 5 ? await e.previous() : await n.setCurrentTime(0);
|
|
2083
|
+
} else
|
|
2084
|
+
await n.setCurrentTime(0);
|
|
2085
|
+
}, [e, n]);
|
|
2086
|
+
return /* @__PURE__ */ F(
|
|
2087
|
+
le,
|
|
2088
|
+
{
|
|
2089
|
+
responsive: !1,
|
|
2090
|
+
gutterSize: "s",
|
|
2091
|
+
justifyContent: "center",
|
|
2092
|
+
alignItems: "center",
|
|
2093
|
+
children: [
|
|
2094
|
+
/* @__PURE__ */ o(
|
|
2095
|
+
G,
|
|
2096
|
+
{
|
|
2097
|
+
title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2098
|
+
"aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2099
|
+
iconType: e.shuffle ? cn : un,
|
|
2100
|
+
size: "s",
|
|
2101
|
+
iconSize: "l",
|
|
2102
|
+
onClick: e.toggleShuffle,
|
|
2103
|
+
disabled: !0
|
|
2104
|
+
}
|
|
2105
|
+
),
|
|
2106
|
+
/* @__PURE__ */ o(
|
|
2107
|
+
G,
|
|
2108
|
+
{
|
|
2109
|
+
title: "Previous",
|
|
2110
|
+
"aria-label": "Previous",
|
|
2111
|
+
iconType: fn,
|
|
2112
|
+
size: "s",
|
|
2113
|
+
iconSize: "l",
|
|
2114
|
+
onClick: i,
|
|
2115
|
+
disabled: e.isEmpty
|
|
2116
|
+
}
|
|
2117
|
+
),
|
|
2118
|
+
t.playing ? /* @__PURE__ */ o(
|
|
2119
|
+
G,
|
|
2120
|
+
{
|
|
2121
|
+
title: "Pause",
|
|
2122
|
+
"aria-label": "Pause",
|
|
2123
|
+
iconType: dn,
|
|
2124
|
+
size: "s",
|
|
2125
|
+
iconSize: "l",
|
|
2126
|
+
onClick: () => n.pause(),
|
|
2127
|
+
disabled: !e.canPause
|
|
2128
|
+
}
|
|
2129
|
+
) : /* @__PURE__ */ o(
|
|
2130
|
+
G,
|
|
2131
|
+
{
|
|
2132
|
+
title: "Play",
|
|
2133
|
+
"aria-label": "Play",
|
|
2134
|
+
iconType: mn,
|
|
2135
|
+
size: "s",
|
|
2136
|
+
iconSize: "l",
|
|
2137
|
+
onClick: () => n.play(),
|
|
2138
|
+
disabled: !e.canPlay
|
|
2139
|
+
}
|
|
2140
|
+
),
|
|
2141
|
+
/* @__PURE__ */ o(
|
|
2142
|
+
G,
|
|
2143
|
+
{
|
|
2144
|
+
title: "Next",
|
|
2145
|
+
"aria-label": "Next",
|
|
2146
|
+
iconType: hn,
|
|
2147
|
+
size: "s",
|
|
2148
|
+
iconSize: "l",
|
|
2149
|
+
onClick: e.next,
|
|
2150
|
+
disabled: !e.hasNextItem
|
|
2151
|
+
}
|
|
2152
|
+
),
|
|
2153
|
+
/* @__PURE__ */ o(
|
|
2154
|
+
G,
|
|
2155
|
+
{
|
|
2156
|
+
title: `Repeat: ${e.repeat === P.All ? "All" : e.repeat === P.One ? "One" : "Off"}`,
|
|
2157
|
+
"aria-label": `Repeat: ${e.repeat === P.All ? "All" : e.repeat === P.One ? "One" : "Off"}`,
|
|
2158
|
+
iconType: ci[e.repeat],
|
|
2159
|
+
size: "s",
|
|
2160
|
+
iconSize: "l",
|
|
2161
|
+
onClick: e.toggleRepeat
|
|
2162
|
+
}
|
|
2163
|
+
)
|
|
2164
|
+
]
|
|
2165
|
+
}
|
|
2053
2166
|
);
|
|
2167
|
+
}
|
|
2168
|
+
), fi = D(
|
|
2169
|
+
({ playQueueStore: t }) => {
|
|
2170
|
+
const e = ie();
|
|
2054
2171
|
return /* @__PURE__ */ o(
|
|
2055
|
-
|
|
2172
|
+
le,
|
|
2056
2173
|
{
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2174
|
+
responsive: !1,
|
|
2175
|
+
gutterSize: "s",
|
|
2176
|
+
justifyContent: "flexStart",
|
|
2177
|
+
alignItems: "center",
|
|
2178
|
+
children: t.currentItem && /* @__PURE__ */ o(
|
|
2179
|
+
Vt,
|
|
2180
|
+
{
|
|
2181
|
+
href: t.currentItem.url,
|
|
2182
|
+
target: "_blank",
|
|
2183
|
+
iconType: tr[t.currentItem.type],
|
|
2184
|
+
size: "s",
|
|
2185
|
+
onClick: () => e.pause(),
|
|
2186
|
+
children: t.currentItem.title
|
|
2187
|
+
}
|
|
2188
|
+
)
|
|
2068
2189
|
}
|
|
2069
2190
|
);
|
|
2070
2191
|
}
|
|
2071
|
-
),
|
|
2192
|
+
), di = ne(
|
|
2072
2193
|
({ button: t, isOpen: e, closePopover: n }) => {
|
|
2073
2194
|
const [i, a] = q("0"), l = ie();
|
|
2074
|
-
|
|
2195
|
+
Mr(() => {
|
|
2075
2196
|
e && l.getVolume().then((h) => {
|
|
2076
2197
|
h !== void 0 && a(Math.floor(h * 100).toString());
|
|
2077
2198
|
});
|
|
@@ -2083,14 +2204,14 @@ const er = Lt(void 0), ki = ({
|
|
|
2083
2204
|
[l]
|
|
2084
2205
|
);
|
|
2085
2206
|
return /* @__PURE__ */ o(
|
|
2086
|
-
|
|
2207
|
+
ct,
|
|
2087
2208
|
{
|
|
2088
2209
|
button: t,
|
|
2089
2210
|
isOpen: e,
|
|
2090
2211
|
closePopover: n,
|
|
2091
2212
|
anchorPosition: "upRight",
|
|
2092
2213
|
children: /* @__PURE__ */ o(tt, { children: /* @__PURE__ */ F(
|
|
2093
|
-
|
|
2214
|
+
le,
|
|
2094
2215
|
{
|
|
2095
2216
|
responsive: !1,
|
|
2096
2217
|
gutterSize: "s",
|
|
@@ -2102,13 +2223,13 @@ const er = Lt(void 0), ki = ({
|
|
|
2102
2223
|
{
|
|
2103
2224
|
title: "Mute",
|
|
2104
2225
|
"aria-label": "Mute",
|
|
2105
|
-
iconType:
|
|
2226
|
+
iconType: Gt,
|
|
2106
2227
|
size: "s",
|
|
2107
2228
|
iconSize: "l"
|
|
2108
2229
|
}
|
|
2109
2230
|
),
|
|
2110
2231
|
/* @__PURE__ */ o(
|
|
2111
|
-
|
|
2232
|
+
qt,
|
|
2112
2233
|
{
|
|
2113
2234
|
min: 0,
|
|
2114
2235
|
max: 100,
|
|
@@ -2124,45 +2245,77 @@ const er = Lt(void 0), ki = ({
|
|
|
2124
2245
|
}
|
|
2125
2246
|
);
|
|
2126
2247
|
}
|
|
2127
|
-
),
|
|
2248
|
+
), mi = ne(() => {
|
|
2249
|
+
const [t, e] = q(!1);
|
|
2250
|
+
return /* @__PURE__ */ o(
|
|
2251
|
+
di,
|
|
2252
|
+
{
|
|
2253
|
+
button: /* @__PURE__ */ o(
|
|
2254
|
+
G,
|
|
2255
|
+
{
|
|
2256
|
+
title: "Volume",
|
|
2257
|
+
"aria-label": "Volume",
|
|
2258
|
+
iconType: Gt,
|
|
2259
|
+
size: "s",
|
|
2260
|
+
iconSize: "l",
|
|
2261
|
+
onClick: () => e(!t)
|
|
2262
|
+
}
|
|
2263
|
+
),
|
|
2264
|
+
isOpen: t,
|
|
2265
|
+
closePopover: () => e(!1)
|
|
2266
|
+
}
|
|
2267
|
+
);
|
|
2268
|
+
}), hi = ({
|
|
2269
|
+
onClickPlayQueueButton: t
|
|
2270
|
+
}) => /* @__PURE__ */ o(
|
|
2271
|
+
G,
|
|
2272
|
+
{
|
|
2273
|
+
title: "Play queue",
|
|
2274
|
+
"aria-label": "Play queue",
|
|
2275
|
+
iconType: gn,
|
|
2276
|
+
size: "s",
|
|
2277
|
+
iconSize: "l",
|
|
2278
|
+
onClick: t
|
|
2279
|
+
}
|
|
2280
|
+
), vi = ne(
|
|
2128
2281
|
({
|
|
2129
2282
|
playQueueStore: t,
|
|
2130
2283
|
closePopover: e
|
|
2131
2284
|
}) => {
|
|
2132
2285
|
const n = ie(), i = $(async () => {
|
|
2133
|
-
const
|
|
2134
|
-
|
|
2286
|
+
const m = await n.getCurrentTime();
|
|
2287
|
+
m !== void 0 && await n.setCurrentTime(m - 10), e();
|
|
2135
2288
|
}, [n, e]), a = $(async () => {
|
|
2136
|
-
const
|
|
2137
|
-
|
|
2289
|
+
const m = await n.getCurrentTime();
|
|
2290
|
+
m !== void 0 && await n.setCurrentTime(m + 30), e();
|
|
2138
2291
|
}, [n, e]), l = $(
|
|
2139
|
-
async (
|
|
2140
|
-
await n.setPlaybackRate(
|
|
2292
|
+
async (m) => {
|
|
2293
|
+
await n.setPlaybackRate(m), e();
|
|
2141
2294
|
},
|
|
2142
2295
|
[n, e]
|
|
2143
2296
|
), f = $(async () => {
|
|
2144
2297
|
t.currentItem !== void 0 && await t.removeItems([
|
|
2145
2298
|
t.currentItem
|
|
2146
2299
|
]), e();
|
|
2147
|
-
}, [t, e]), [h] = q(),
|
|
2300
|
+
}, [t, e]), [h] = q(), v = st(
|
|
2148
2301
|
() => [
|
|
2149
2302
|
{
|
|
2150
2303
|
id: 0,
|
|
2151
2304
|
items: [
|
|
2152
2305
|
{
|
|
2153
2306
|
name: "Speed",
|
|
2154
|
-
icon: /* @__PURE__ */ o(H, { type:
|
|
2307
|
+
icon: /* @__PURE__ */ o(H, { type: vn }),
|
|
2155
2308
|
panel: 1
|
|
2156
2309
|
},
|
|
2157
2310
|
{
|
|
2158
2311
|
name: "Skip back 10 seconds",
|
|
2159
|
-
icon: /* @__PURE__ */ o(H, { type:
|
|
2312
|
+
icon: /* @__PURE__ */ o(H, { type: pn }),
|
|
2160
2313
|
onClick: i,
|
|
2161
2314
|
disabled: t.isEmpty
|
|
2162
2315
|
},
|
|
2163
2316
|
{
|
|
2164
2317
|
name: "Skip forward 30 seconds",
|
|
2165
|
-
icon: /* @__PURE__ */ o(H, { type:
|
|
2318
|
+
icon: /* @__PURE__ */ o(H, { type: yn }),
|
|
2166
2319
|
onClick: a,
|
|
2167
2320
|
disabled: t.isEmpty
|
|
2168
2321
|
},
|
|
@@ -2171,7 +2324,7 @@ const er = Lt(void 0), ki = ({
|
|
|
2171
2324
|
},
|
|
2172
2325
|
{
|
|
2173
2326
|
name: "Remove from play queue",
|
|
2174
|
-
icon: /* @__PURE__ */ o(H, { type:
|
|
2327
|
+
icon: /* @__PURE__ */ o(H, { type: ft }),
|
|
2175
2328
|
onClick: f,
|
|
2176
2329
|
disabled: t.isEmpty
|
|
2177
2330
|
}
|
|
@@ -2181,10 +2334,10 @@ const er = Lt(void 0), ki = ({
|
|
|
2181
2334
|
id: 1,
|
|
2182
2335
|
title: "Speed",
|
|
2183
2336
|
items: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2].map(
|
|
2184
|
-
(
|
|
2185
|
-
name:
|
|
2186
|
-
onClick: () => l(
|
|
2187
|
-
icon:
|
|
2337
|
+
(m) => ({
|
|
2338
|
+
name: m.toString(),
|
|
2339
|
+
onClick: () => l(m),
|
|
2340
|
+
icon: m === h ? "check" : "empty"
|
|
2188
2341
|
})
|
|
2189
2342
|
)
|
|
2190
2343
|
}
|
|
@@ -2198,16 +2351,16 @@ const er = Lt(void 0), ki = ({
|
|
|
2198
2351
|
h
|
|
2199
2352
|
]
|
|
2200
2353
|
);
|
|
2201
|
-
return /* @__PURE__ */ o(
|
|
2354
|
+
return /* @__PURE__ */ o(Wt, { initialPanelId: 0, panels: v });
|
|
2202
2355
|
}
|
|
2203
|
-
),
|
|
2356
|
+
), pi = ne(
|
|
2204
2357
|
({
|
|
2205
2358
|
playQueueStore: t,
|
|
2206
2359
|
button: e,
|
|
2207
2360
|
isOpen: n,
|
|
2208
2361
|
closePopover: i
|
|
2209
2362
|
}) => /* @__PURE__ */ o(
|
|
2210
|
-
|
|
2363
|
+
ct,
|
|
2211
2364
|
{
|
|
2212
2365
|
button: e,
|
|
2213
2366
|
isOpen: n,
|
|
@@ -2215,7 +2368,7 @@ const er = Lt(void 0), ki = ({
|
|
|
2215
2368
|
panelPaddingSize: "none",
|
|
2216
2369
|
anchorPosition: "upRight",
|
|
2217
2370
|
children: /* @__PURE__ */ o(
|
|
2218
|
-
|
|
2371
|
+
vi,
|
|
2219
2372
|
{
|
|
2220
2373
|
playQueueStore: t,
|
|
2221
2374
|
closePopover: i
|
|
@@ -2223,141 +2376,11 @@ const er = Lt(void 0), ki = ({
|
|
|
2223
2376
|
)
|
|
2224
2377
|
}
|
|
2225
2378
|
)
|
|
2226
|
-
),
|
|
2227
|
-
[R.Off]: un,
|
|
2228
|
-
[R.All]: cn,
|
|
2229
|
-
[R.One]: ln
|
|
2230
|
-
}, mi = Y(
|
|
2231
|
-
({
|
|
2232
|
-
playerStore: t,
|
|
2233
|
-
playQueueStore: e
|
|
2234
|
-
}) => {
|
|
2235
|
-
const n = ie(), i = $(async () => {
|
|
2236
|
-
if (e.hasPreviousItem) {
|
|
2237
|
-
const a = await n.getCurrentTime();
|
|
2238
|
-
a === void 0 || a < 5 ? await e.previous() : await n.setCurrentTime(0);
|
|
2239
|
-
} else
|
|
2240
|
-
await n.setCurrentTime(0);
|
|
2241
|
-
}, [e, n]);
|
|
2242
|
-
return /* @__PURE__ */ F(
|
|
2243
|
-
me,
|
|
2244
|
-
{
|
|
2245
|
-
responsive: !1,
|
|
2246
|
-
gutterSize: "s",
|
|
2247
|
-
justifyContent: "center",
|
|
2248
|
-
alignItems: "center",
|
|
2249
|
-
children: [
|
|
2250
|
-
/* @__PURE__ */ o(
|
|
2251
|
-
G,
|
|
2252
|
-
{
|
|
2253
|
-
title: `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2254
|
-
"aria-label": `Shuffle: ${e.shuffle ? "On" : "Off"}`,
|
|
2255
|
-
iconType: e.shuffle ? fn : dn,
|
|
2256
|
-
size: "s",
|
|
2257
|
-
iconSize: "l",
|
|
2258
|
-
onClick: e.toggleShuffle,
|
|
2259
|
-
disabled: !0
|
|
2260
|
-
}
|
|
2261
|
-
),
|
|
2262
|
-
/* @__PURE__ */ o(
|
|
2263
|
-
G,
|
|
2264
|
-
{
|
|
2265
|
-
title: "Previous",
|
|
2266
|
-
"aria-label": "Previous",
|
|
2267
|
-
iconType: mn,
|
|
2268
|
-
size: "s",
|
|
2269
|
-
iconSize: "l",
|
|
2270
|
-
onClick: i,
|
|
2271
|
-
disabled: e.isEmpty
|
|
2272
|
-
}
|
|
2273
|
-
),
|
|
2274
|
-
t.playing ? /* @__PURE__ */ o(
|
|
2275
|
-
G,
|
|
2276
|
-
{
|
|
2277
|
-
title: "Pause",
|
|
2278
|
-
"aria-label": "Pause",
|
|
2279
|
-
iconType: hn,
|
|
2280
|
-
size: "s",
|
|
2281
|
-
iconSize: "l",
|
|
2282
|
-
onClick: () => n.pause(),
|
|
2283
|
-
disabled: !e.canPlay
|
|
2284
|
-
}
|
|
2285
|
-
) : /* @__PURE__ */ o(
|
|
2286
|
-
G,
|
|
2287
|
-
{
|
|
2288
|
-
title: "Play",
|
|
2289
|
-
"aria-label": "Play",
|
|
2290
|
-
iconType: vn,
|
|
2291
|
-
size: "s",
|
|
2292
|
-
iconSize: "l",
|
|
2293
|
-
onClick: () => n.play(),
|
|
2294
|
-
disabled: !e.canPlay
|
|
2295
|
-
}
|
|
2296
|
-
),
|
|
2297
|
-
/* @__PURE__ */ o(
|
|
2298
|
-
G,
|
|
2299
|
-
{
|
|
2300
|
-
title: "Next",
|
|
2301
|
-
"aria-label": "Next",
|
|
2302
|
-
iconType: pn,
|
|
2303
|
-
size: "s",
|
|
2304
|
-
iconSize: "l",
|
|
2305
|
-
onClick: e.next,
|
|
2306
|
-
disabled: !e.hasNextItem
|
|
2307
|
-
}
|
|
2308
|
-
),
|
|
2309
|
-
/* @__PURE__ */ o(
|
|
2310
|
-
G,
|
|
2311
|
-
{
|
|
2312
|
-
title: `Repeat: ${e.repeat === R.All ? "All" : e.repeat === R.One ? "One" : "Off"}`,
|
|
2313
|
-
"aria-label": `Repeat: ${e.repeat === R.All ? "All" : e.repeat === R.One ? "One" : "Off"}`,
|
|
2314
|
-
iconType: di[e.repeat],
|
|
2315
|
-
size: "s",
|
|
2316
|
-
iconSize: "l",
|
|
2317
|
-
onClick: e.toggleRepeat
|
|
2318
|
-
}
|
|
2319
|
-
)
|
|
2320
|
-
]
|
|
2321
|
-
}
|
|
2322
|
-
);
|
|
2323
|
-
}
|
|
2324
|
-
), hi = Z(() => {
|
|
2325
|
-
const [t, e] = q(!1);
|
|
2326
|
-
return /* @__PURE__ */ o(
|
|
2327
|
-
ci,
|
|
2328
|
-
{
|
|
2329
|
-
button: /* @__PURE__ */ o(
|
|
2330
|
-
G,
|
|
2331
|
-
{
|
|
2332
|
-
title: "Volume",
|
|
2333
|
-
"aria-label": "Volume",
|
|
2334
|
-
iconType: Ht,
|
|
2335
|
-
size: "s",
|
|
2336
|
-
iconSize: "l",
|
|
2337
|
-
onClick: () => e(!t)
|
|
2338
|
-
}
|
|
2339
|
-
),
|
|
2340
|
-
isOpen: t,
|
|
2341
|
-
closePopover: () => e(!1)
|
|
2342
|
-
}
|
|
2343
|
-
);
|
|
2344
|
-
}), vi = ({
|
|
2345
|
-
onClickPlayQueueButton: t
|
|
2346
|
-
}) => /* @__PURE__ */ o(
|
|
2347
|
-
G,
|
|
2348
|
-
{
|
|
2349
|
-
title: "Play queue",
|
|
2350
|
-
"aria-label": "Play queue",
|
|
2351
|
-
iconType: yn,
|
|
2352
|
-
size: "s",
|
|
2353
|
-
iconSize: "l",
|
|
2354
|
-
onClick: t
|
|
2355
|
-
}
|
|
2356
|
-
), pi = Z(
|
|
2379
|
+
), yi = ne(
|
|
2357
2380
|
({ playQueueStore: t }) => {
|
|
2358
2381
|
const [e, n] = q(!1);
|
|
2359
2382
|
return /* @__PURE__ */ o(
|
|
2360
|
-
|
|
2383
|
+
pi,
|
|
2361
2384
|
{
|
|
2362
2385
|
playQueueStore: t,
|
|
2363
2386
|
button: /* @__PURE__ */ o(
|
|
@@ -2365,7 +2388,7 @@ const er = Lt(void 0), ki = ({
|
|
|
2365
2388
|
{
|
|
2366
2389
|
title: "More options",
|
|
2367
2390
|
"aria-label": "More options",
|
|
2368
|
-
iconType:
|
|
2391
|
+
iconType: Ht,
|
|
2369
2392
|
size: "s",
|
|
2370
2393
|
iconSize: "l",
|
|
2371
2394
|
onClick: () => n(!e)
|
|
@@ -2376,53 +2399,99 @@ const er = Lt(void 0), ki = ({
|
|
|
2376
2399
|
}
|
|
2377
2400
|
);
|
|
2378
2401
|
}
|
|
2379
|
-
),
|
|
2402
|
+
), gi = ne(
|
|
2380
2403
|
({
|
|
2381
2404
|
playQueueStore: t,
|
|
2382
2405
|
onClickPlayQueueButton: e
|
|
2383
2406
|
}) => /* @__PURE__ */ F(
|
|
2384
|
-
|
|
2407
|
+
le,
|
|
2385
2408
|
{
|
|
2386
2409
|
responsive: !1,
|
|
2387
2410
|
gutterSize: "s",
|
|
2388
2411
|
justifyContent: "flexEnd",
|
|
2389
2412
|
alignItems: "center",
|
|
2390
2413
|
children: [
|
|
2391
|
-
/* @__PURE__ */ o(
|
|
2414
|
+
/* @__PURE__ */ o(mi, {}),
|
|
2392
2415
|
e && /* @__PURE__ */ o(
|
|
2393
|
-
|
|
2416
|
+
hi,
|
|
2394
2417
|
{
|
|
2395
2418
|
onClickPlayQueueButton: e
|
|
2396
2419
|
}
|
|
2397
2420
|
),
|
|
2398
|
-
/* @__PURE__ */ o(
|
|
2421
|
+
/* @__PURE__ */ o(yi, { playQueueStore: t })
|
|
2399
2422
|
]
|
|
2400
2423
|
}
|
|
2401
2424
|
)
|
|
2402
|
-
),
|
|
2425
|
+
), bi = D(
|
|
2426
|
+
({ playerStore: t, playQueueStore: e }) => {
|
|
2427
|
+
const n = ie(), i = $(
|
|
2428
|
+
(f) => {
|
|
2429
|
+
const h = Number(f.currentTarget.value) / 100;
|
|
2430
|
+
t.setPercent(h);
|
|
2431
|
+
},
|
|
2432
|
+
[t]
|
|
2433
|
+
), a = $(
|
|
2434
|
+
(f) => {
|
|
2435
|
+
f.button === 0 && t.setSeeking(!0);
|
|
2436
|
+
},
|
|
2437
|
+
[t]
|
|
2438
|
+
), l = $(
|
|
2439
|
+
async (f) => {
|
|
2440
|
+
if (f.button === 0) {
|
|
2441
|
+
const h = Number(f.currentTarget.value) / 100;
|
|
2442
|
+
t.setSeeking(!1);
|
|
2443
|
+
const v = await n.getDuration();
|
|
2444
|
+
v !== void 0 && await n.setCurrentTime(v * h);
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
[t, n]
|
|
2448
|
+
);
|
|
2449
|
+
return /* @__PURE__ */ o(
|
|
2450
|
+
qt,
|
|
2451
|
+
{
|
|
2452
|
+
min: 0,
|
|
2453
|
+
max: 100,
|
|
2454
|
+
step: 1e-7,
|
|
2455
|
+
value: t.percent * 100,
|
|
2456
|
+
onChange: i,
|
|
2457
|
+
onMouseDown: a,
|
|
2458
|
+
onMouseUp: l,
|
|
2459
|
+
fullWidth: !0,
|
|
2460
|
+
showRange: !0,
|
|
2461
|
+
css: { blockSize: 32 },
|
|
2462
|
+
disabled: e.isEmpty
|
|
2463
|
+
}
|
|
2464
|
+
);
|
|
2465
|
+
}
|
|
2466
|
+
), nr = 81, Ni = D(
|
|
2403
2467
|
({
|
|
2404
2468
|
playerStore: t,
|
|
2405
2469
|
playQueueStore: e,
|
|
2406
2470
|
onClickPlayQueueButton: n
|
|
2407
|
-
}) => /* @__PURE__ */ o(
|
|
2471
|
+
}) => /* @__PURE__ */ o(Qr, { paddingSize: "s", children: /* @__PURE__ */ F(le, { direction: "column", gutterSize: "none", children: [
|
|
2408
2472
|
/* @__PURE__ */ o(J, { children: /* @__PURE__ */ o(
|
|
2409
|
-
|
|
2473
|
+
bi,
|
|
2410
2474
|
{
|
|
2411
2475
|
playerStore: t,
|
|
2412
2476
|
playQueueStore: e
|
|
2413
2477
|
}
|
|
2414
2478
|
) }),
|
|
2415
|
-
/* @__PURE__ */ o(J, { children: /* @__PURE__ */ F(
|
|
2416
|
-
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" } }),
|
|
2479
|
+
/* @__PURE__ */ o(J, { children: /* @__PURE__ */ F(le, { responsive: !1, children: [
|
|
2417
2480
|
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2418
|
-
|
|
2481
|
+
fi,
|
|
2482
|
+
{
|
|
2483
|
+
playQueueStore: e
|
|
2484
|
+
}
|
|
2485
|
+
) }),
|
|
2486
|
+
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2487
|
+
ui,
|
|
2419
2488
|
{
|
|
2420
2489
|
playerStore: t,
|
|
2421
2490
|
playQueueStore: e
|
|
2422
2491
|
}
|
|
2423
2492
|
) }),
|
|
2424
2493
|
/* @__PURE__ */ o(J, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
2425
|
-
|
|
2494
|
+
gi,
|
|
2426
2495
|
{
|
|
2427
2496
|
playQueueStore: e,
|
|
2428
2497
|
onClickPlayQueueButton: n
|
|
@@ -2430,26 +2499,26 @@ const er = Lt(void 0), ki = ({
|
|
|
2430
2499
|
) })
|
|
2431
2500
|
] }) })
|
|
2432
2501
|
] }) })
|
|
2433
|
-
),
|
|
2434
|
-
width:
|
|
2435
|
-
height:
|
|
2436
|
-
},
|
|
2502
|
+
), ot = {
|
|
2503
|
+
width: 400,
|
|
2504
|
+
height: 225
|
|
2505
|
+
}, $i = D(
|
|
2437
2506
|
({ playerStore: t, playQueueStore: e }) => {
|
|
2438
2507
|
const n = ie(), i = $(async () => {
|
|
2439
2508
|
e.interacted && await n.play();
|
|
2440
2509
|
}, [e, n]), a = $(async () => {
|
|
2441
2510
|
switch (e.repeat) {
|
|
2442
|
-
case
|
|
2511
|
+
case P.One:
|
|
2443
2512
|
await n.setCurrentTime(0);
|
|
2444
2513
|
break;
|
|
2445
|
-
case
|
|
2446
|
-
case
|
|
2514
|
+
case P.Off:
|
|
2515
|
+
case P.All:
|
|
2447
2516
|
if (e.isLastItem)
|
|
2448
2517
|
switch (e.repeat) {
|
|
2449
|
-
case
|
|
2518
|
+
case P.Off:
|
|
2450
2519
|
t.onEnded();
|
|
2451
2520
|
break;
|
|
2452
|
-
case
|
|
2521
|
+
case P.All:
|
|
2453
2522
|
e.hasMultipleItems ? await e.goToFirst() : await n.setCurrentTime(0);
|
|
2454
2523
|
break;
|
|
2455
2524
|
}
|
|
@@ -2457,7 +2526,7 @@ const er = Lt(void 0), ki = ({
|
|
|
2457
2526
|
await e.next();
|
|
2458
2527
|
break;
|
|
2459
2528
|
}
|
|
2460
|
-
}, [e, t, n]), l =
|
|
2529
|
+
}, [e, t, n]), l = st(
|
|
2461
2530
|
() => ({
|
|
2462
2531
|
onLoaded: i,
|
|
2463
2532
|
onPlay: t.onPlay,
|
|
@@ -2473,16 +2542,16 @@ const er = Lt(void 0), ki = ({
|
|
|
2473
2542
|
css: {
|
|
2474
2543
|
position: "fixed",
|
|
2475
2544
|
right: 0,
|
|
2476
|
-
bottom:
|
|
2477
|
-
width:
|
|
2478
|
-
height:
|
|
2545
|
+
bottom: nr,
|
|
2546
|
+
width: ot.width,
|
|
2547
|
+
height: ot.height,
|
|
2479
2548
|
zIndex: 998,
|
|
2480
2549
|
backgroundColor: "rgb(39, 39, 39)",
|
|
2481
2550
|
display: "flex",
|
|
2482
2551
|
flexDirection: "column"
|
|
2483
2552
|
},
|
|
2484
2553
|
children: /* @__PURE__ */ o("div", { css: { flexGrow: 1, backgroundColor: "black" }, children: e.currentItem && /* @__PURE__ */ o(
|
|
2485
|
-
|
|
2554
|
+
Nr,
|
|
2486
2555
|
{
|
|
2487
2556
|
src: e.currentItem.url,
|
|
2488
2557
|
options: l
|
|
@@ -2491,33 +2560,33 @@ const er = Lt(void 0), ki = ({
|
|
|
2491
2560
|
}
|
|
2492
2561
|
);
|
|
2493
2562
|
}
|
|
2494
|
-
),
|
|
2563
|
+
), Di = D(
|
|
2495
2564
|
({ children: t }) => {
|
|
2496
|
-
const e =
|
|
2565
|
+
const e = li();
|
|
2497
2566
|
return /* @__PURE__ */ F(
|
|
2498
|
-
|
|
2567
|
+
lt,
|
|
2499
2568
|
{
|
|
2500
2569
|
panelled: !0,
|
|
2501
2570
|
style: {
|
|
2502
|
-
minBlockSize: `max(460px, 100vh - ${
|
|
2571
|
+
minBlockSize: `max(460px, 100vh - ${nr}px)`
|
|
2503
2572
|
},
|
|
2504
2573
|
children: [
|
|
2505
2574
|
t,
|
|
2506
|
-
!e.isEmpty && /* @__PURE__ */ o(
|
|
2575
|
+
!e.isEmpty && /* @__PURE__ */ o(Ut, { style: { blockSize: ot.height } })
|
|
2507
2576
|
]
|
|
2508
2577
|
}
|
|
2509
2578
|
);
|
|
2510
2579
|
}
|
|
2511
2580
|
);
|
|
2512
|
-
class
|
|
2581
|
+
class Ei {
|
|
2513
2582
|
constructor(e) {
|
|
2514
2583
|
U(this, "playing", !1);
|
|
2515
2584
|
U(this, "percent", 0);
|
|
2516
2585
|
U(this, "seeking", !1);
|
|
2517
2586
|
e.makeObservable(this, {
|
|
2518
|
-
playing:
|
|
2519
|
-
percent:
|
|
2520
|
-
seeking:
|
|
2587
|
+
playing: ee,
|
|
2588
|
+
percent: ee,
|
|
2589
|
+
seeking: ee,
|
|
2521
2590
|
setPlaying: y,
|
|
2522
2591
|
setPercent: y,
|
|
2523
2592
|
setSeeking: y,
|
|
@@ -2549,27 +2618,27 @@ class gi {
|
|
|
2549
2618
|
e !== void 0 && (this.seeking || (this.percent = e));
|
|
2550
2619
|
}
|
|
2551
2620
|
}
|
|
2552
|
-
const
|
|
2621
|
+
const ir = Lt(void 0), zi = ({
|
|
2553
2622
|
children: t
|
|
2554
2623
|
}) => {
|
|
2555
2624
|
const [e] = q(
|
|
2556
|
-
() => new
|
|
2625
|
+
() => new Ei(new Jt())
|
|
2557
2626
|
);
|
|
2558
|
-
return /* @__PURE__ */ o(
|
|
2559
|
-
},
|
|
2627
|
+
return /* @__PURE__ */ o(ir.Provider, { value: e, children: t });
|
|
2628
|
+
}, Li = () => at(ir);
|
|
2560
2629
|
export {
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2630
|
+
Ni as BottomBar,
|
|
2631
|
+
Fi as HydrangeanDiva,
|
|
2632
|
+
Di as MediaPlayerLayout,
|
|
2633
|
+
$i as MiniPlayer,
|
|
2634
|
+
Jt as MobXObservableStateProvider,
|
|
2635
|
+
Mi as ObservableStateProvider,
|
|
2636
|
+
ji as PlayQueueStoreProvider,
|
|
2637
|
+
zi as PlayerStoreProvider,
|
|
2638
|
+
P as RepeatMode,
|
|
2639
|
+
nr as bottomBarHeight,
|
|
2640
|
+
ot as miniPlayerSize,
|
|
2641
|
+
li as usePlayQueueStore,
|
|
2642
|
+
Li as usePlayerStore
|
|
2574
2643
|
};
|
|
2575
2644
|
//# sourceMappingURL=index.es.js.map
|