@aigamo/hydrangean-diva 0.0.1-alpha.64 → 0.0.1-alpha.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +146 -142
- package/dist/index.es.js.map +1 -1
- package/dist/src/features/media-player.mini-player/stores/MiniPlayerStore.d.ts +1 -2
- package/dist/src/features/media-player.mini-player.abstractions/interfaces/IMiniPlayerStore.d.ts +0 -1
- package/dist/src/features/media-player.play-queue/stores/PlayQueueStore.d.ts +2 -0
- package/dist/src/features/media-player.play-queue.abstractions/interfaces/IPlayQueueStore.d.ts +2 -0
- package/package.json +6 -8
- package/dist/src/api/apis/MediaPlayerPlaylistsApi.d.ts +0 -79
- package/dist/src/api/apis/index.d.ts +0 -1
- package/dist/src/api/index.d.ts +0 -3
- package/dist/src/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosGetPlaylistResponseDto.d.ts +0 -22
- package/dist/src/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosListPlaylistsResponseDto.d.ts +0 -22
- package/dist/src/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosListTracksResponseDto.d.ts +0 -22
- package/dist/src/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosPlaylistDto.d.ts +0 -38
- package/dist/src/api/models/HydrangeanDivaMediaPlayerContractsPlaylistsDtosTrackDto.d.ts +0 -56
- package/dist/src/api/models/HydrangeanDivaMediaPlayerEndpointsPlaylistsCreatePlaylistRequest.d.ts +0 -32
- package/dist/src/api/models/HydrangeanDivaMediaPlayerEndpointsPlaylistsRenamePlaylistRequest.d.ts +0 -32
- package/dist/src/api/models/index.d.ts +0 -7
- package/dist/src/api/runtime.d.ts +0 -184
- package/dist/src/features/media-player.playlists/helpers/mediaPlayerPlaylistsApi.d.ts +0 -2
package/dist/index.es.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as o, Fragment as G, jsxs as m } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { createContext as oe, useContext as re, useState as C, useEffect as
|
|
2
|
+
import { createContext as oe, useContext as re, useState as C, useEffect as ht, memo as D, useCallback as I, useMemo as J, useLayoutEffect as yt } from "react";
|
|
3
3
|
import gt from "ajv";
|
|
4
4
|
import { computed as c, action as i, makeObservable as M, observable as R, reaction as vt } from "mobx";
|
|
5
5
|
import { useLocalStorageState as he } from "@aigamo/route-sphere";
|
|
6
6
|
import { pull as pe } from "lodash-es";
|
|
7
7
|
import { useNostalgicDiva as ne, nullPlayerController as ft, NostalgicDivaProvider as bt, NostalgicDiva as It, findVideoService as St } from "@aigamo/nostalgic-diva";
|
|
8
|
-
import { EuiPageTemplate as se, EuiSpacer as ye, EuiButtonIcon as A, EuiFlexGroup as
|
|
8
|
+
import { EuiPageTemplate as se, EuiSpacer as ye, EuiButtonIcon as A, EuiFlexGroup as N, EuiHideFor as $, EuiIcon as h, EuiContextMenu as Y, EuiPopover as K, EuiButtonEmpty as ge, EuiFormRow as te, EuiRange as Ve, EuiBottomBar as Pt, EuiFlexItem as B, useGeneratedHtmlId as Ce, EuiModal as Te, EuiModalHeader as xe, EuiModalHeaderTitle as we, EuiModalBody as ke, EuiForm as Oe, EuiFieldText as me, EuiModalFooter as Be, EuiButton as O, useEuiTheme as ie, EuiShowFor as He, EuiTableHeaderMobile as Ue, EuiCheckbox as W, EuiTableHeader as Ae, EuiTableHeaderCellCheckbox as qe, EuiTableHeaderCell as U, EuiTableRowCell as q, EuiTableRow as Fe, EuiTableRowCellCheckbox as Ge, EuiLink as Re, EuiTable as Me, EuiEmptyPrompt as Ct, EuiConfirmModal as Tt } from "@elastic/eui";
|
|
9
9
|
import { observer as d } from "mobx-react-lite";
|
|
10
|
-
import { ArrowShuffleFilled as
|
|
10
|
+
import { ArrowShuffleFilled as Je, ArrowShuffleOffFilled as Ke, PreviousFilled as xt, SkipBack10Regular as We, PauseFilled as wt, PlayFilled as kt, SkipForward30Regular as Ye, NextFilled as Ot, ArrowRepeat1Filled as Bt, ArrowRepeatAllFilled as At, ArrowRepeatAllOffFilled as Ft, OpenRegular as Rt, Speaker2Regular as Xe, TopSpeedRegular as Mt, DismissRegular as L, MoreHorizontalFilled as le, NavigationPlayRegular as Qt, AddRegular as V, DeleteRegular as Qe, PlayRegular as ae, ArrowUploadRegular as Ze, ArrowDownloadRegular as et, RenameRegular as Dt } from "@fluentui/react-icons";
|
|
11
11
|
import H from "ez-modal-react";
|
|
12
12
|
import { ReactSortable as De } from "react-sortablejs";
|
|
13
13
|
import { useRouter as ze } from "@tanstack/react-router";
|
|
14
|
-
const
|
|
14
|
+
const tt = 81, Ee = new Map(
|
|
15
15
|
Object.entries({
|
|
16
16
|
Audio: "",
|
|
17
17
|
Dailymotion: "https://www.dailymotion.com/favicon.ico",
|
|
@@ -32,7 +32,7 @@ const ot = 81, Ee = new Map(
|
|
|
32
32
|
bottomBar: "BottomBarStore",
|
|
33
33
|
playlistList: "PlaylistListStore",
|
|
34
34
|
playlist: (t) => `PlaylistStore/${t}`
|
|
35
|
-
},
|
|
35
|
+
}, ot = oe(void 0), F = () => re(ot), be = new gt({
|
|
36
36
|
coerceTypes: !0
|
|
37
37
|
});
|
|
38
38
|
function Ne(t, e) {
|
|
@@ -50,7 +50,7 @@ var b = /* @__PURE__ */ ((t) => (t.Off = "Off", t.All = "All", t.One = "One", t)
|
|
|
50
50
|
(a = t[l]) && (n = (s ? a(e, r, n) : a(n)) || n);
|
|
51
51
|
return s && n && Et(e, r, n), n;
|
|
52
52
|
};
|
|
53
|
-
const
|
|
53
|
+
const _t = {
|
|
54
54
|
type: "object",
|
|
55
55
|
properties: {
|
|
56
56
|
repeat: {
|
|
@@ -64,7 +64,7 @@ const Lt = {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
class
|
|
67
|
+
class rt {
|
|
68
68
|
constructor(e) {
|
|
69
69
|
this.bottomBar = e, M(this);
|
|
70
70
|
}
|
|
@@ -79,17 +79,17 @@ class nt {
|
|
|
79
79
|
}
|
|
80
80
|
validateState(e) {
|
|
81
81
|
return Ne(
|
|
82
|
-
|
|
82
|
+
_t,
|
|
83
83
|
"BottomBarLocalStorageState"
|
|
84
84
|
)(e);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
g([
|
|
88
88
|
c.struct
|
|
89
|
-
],
|
|
89
|
+
], rt.prototype, "state", 1);
|
|
90
90
|
class v {
|
|
91
91
|
constructor(e, r) {
|
|
92
|
-
this.player = e, this.playQueue = r, M(this), this.localStorageState = new
|
|
92
|
+
this.player = e, this.playQueue = r, M(this), this.localStorageState = new rt(this);
|
|
93
93
|
}
|
|
94
94
|
localStorageState;
|
|
95
95
|
repeat = b.Off;
|
|
@@ -267,34 +267,33 @@ g([
|
|
|
267
267
|
g([
|
|
268
268
|
i.bound
|
|
269
269
|
], v.prototype, "removeFromPlayQueue", 1);
|
|
270
|
-
const
|
|
270
|
+
const nt = oe(void 0), ce = () => re(nt), st = oe(void 0), it = () => re(st), Lt = ({
|
|
271
271
|
children: t
|
|
272
272
|
}) => {
|
|
273
|
-
const e =
|
|
273
|
+
const e = it(), r = ce(), [s] = C(() => new v(e, r));
|
|
274
274
|
return he(
|
|
275
275
|
ve.bottomBar,
|
|
276
276
|
s.localStorageState
|
|
277
|
-
), /* @__PURE__ */ o(
|
|
278
|
-
},
|
|
279
|
-
var $t = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor,
|
|
280
|
-
for (var n =
|
|
281
|
-
(a = t[l]) && (n =
|
|
282
|
-
return
|
|
277
|
+
), /* @__PURE__ */ o(ot.Provider, { value: s, children: t });
|
|
278
|
+
}, lt = oe(void 0), jt = () => re(lt);
|
|
279
|
+
var $t = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, j = (t, e, r, s) => {
|
|
280
|
+
for (var n = Vt(e, r), l = t.length - 1, a; l >= 0; l--)
|
|
281
|
+
(a = t[l]) && (n = a(e, r, n) || n);
|
|
282
|
+
return n && $t(e, r, n), n;
|
|
283
283
|
};
|
|
284
|
-
class
|
|
284
|
+
class _ {
|
|
285
285
|
constructor(e, r, s) {
|
|
286
286
|
this.player = e, this.playQueue = r, this.bottomBar = s, M(this);
|
|
287
287
|
}
|
|
288
|
-
interacted
|
|
288
|
+
get interacted() {
|
|
289
|
+
return this.playQueue.interacted;
|
|
290
|
+
}
|
|
289
291
|
get controller() {
|
|
290
292
|
return this.player.controller;
|
|
291
293
|
}
|
|
292
294
|
get currentItem() {
|
|
293
295
|
return this.playQueue.currentItem;
|
|
294
296
|
}
|
|
295
|
-
interact() {
|
|
296
|
-
this.interacted = !0;
|
|
297
|
-
}
|
|
298
297
|
async onLoaded() {
|
|
299
298
|
this.interacted && await this.controller.play();
|
|
300
299
|
}
|
|
@@ -332,44 +331,41 @@ class N {
|
|
|
332
331
|
this.player.onControllerChange(e);
|
|
333
332
|
}
|
|
334
333
|
}
|
|
335
|
-
|
|
336
|
-
R
|
|
337
|
-
], N.prototype, "interacted", 2);
|
|
338
|
-
_([
|
|
334
|
+
j([
|
|
339
335
|
c
|
|
340
|
-
],
|
|
341
|
-
|
|
336
|
+
], _.prototype, "interacted");
|
|
337
|
+
j([
|
|
342
338
|
c
|
|
343
|
-
],
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
],
|
|
347
|
-
|
|
339
|
+
], _.prototype, "controller");
|
|
340
|
+
j([
|
|
341
|
+
c
|
|
342
|
+
], _.prototype, "currentItem");
|
|
343
|
+
j([
|
|
348
344
|
i.bound
|
|
349
|
-
],
|
|
350
|
-
|
|
345
|
+
], _.prototype, "onLoaded");
|
|
346
|
+
j([
|
|
351
347
|
i.bound
|
|
352
|
-
],
|
|
353
|
-
|
|
348
|
+
], _.prototype, "onPlay");
|
|
349
|
+
j([
|
|
354
350
|
i.bound
|
|
355
|
-
],
|
|
356
|
-
|
|
351
|
+
], _.prototype, "onPause");
|
|
352
|
+
j([
|
|
357
353
|
i.bound
|
|
358
|
-
],
|
|
359
|
-
|
|
354
|
+
], _.prototype, "onEnded");
|
|
355
|
+
j([
|
|
360
356
|
i.bound
|
|
361
|
-
],
|
|
362
|
-
|
|
357
|
+
], _.prototype, "onTimeUpdate");
|
|
358
|
+
j([
|
|
363
359
|
i.bound
|
|
364
|
-
],
|
|
360
|
+
], _.prototype, "onControllerChange");
|
|
365
361
|
const Ht = ({
|
|
366
362
|
children: t
|
|
367
363
|
}) => {
|
|
368
|
-
const e =
|
|
369
|
-
() => new
|
|
364
|
+
const e = it(), r = ce(), s = F(), [n] = C(
|
|
365
|
+
() => new _(e, r, s)
|
|
370
366
|
);
|
|
371
|
-
return /* @__PURE__ */ o(
|
|
372
|
-
},
|
|
367
|
+
return /* @__PURE__ */ o(lt.Provider, { value: n, children: t });
|
|
368
|
+
}, at = {
|
|
373
369
|
type: "object",
|
|
374
370
|
properties: {
|
|
375
371
|
url: {
|
|
@@ -405,7 +401,7 @@ const Ht = ({
|
|
|
405
401
|
items: {
|
|
406
402
|
type: "array",
|
|
407
403
|
nullable: !0,
|
|
408
|
-
items:
|
|
404
|
+
items: at
|
|
409
405
|
},
|
|
410
406
|
currentIndex: {
|
|
411
407
|
type: "integer",
|
|
@@ -573,7 +569,7 @@ var Kt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, u = (t, e,
|
|
|
573
569
|
(a = t[l]) && (n = (s ? a(e, r, n) : a(n)) || n);
|
|
574
570
|
return s && n && Kt(e, r, n), n;
|
|
575
571
|
};
|
|
576
|
-
class
|
|
572
|
+
class ct {
|
|
577
573
|
constructor(e) {
|
|
578
574
|
this.playQueue = e, M(this);
|
|
579
575
|
}
|
|
@@ -595,13 +591,14 @@ class dt {
|
|
|
595
591
|
}
|
|
596
592
|
u([
|
|
597
593
|
c.struct
|
|
598
|
-
],
|
|
594
|
+
], ct.prototype, "state", 1);
|
|
599
595
|
class p {
|
|
596
|
+
interacted = !1;
|
|
600
597
|
localStorageState;
|
|
601
598
|
items = [];
|
|
602
599
|
currentId;
|
|
603
600
|
constructor() {
|
|
604
|
-
M(this), this.localStorageState = new
|
|
601
|
+
M(this), this.localStorageState = new ct(this);
|
|
605
602
|
}
|
|
606
603
|
createItemFromDto(e) {
|
|
607
604
|
return Jt.fromDto(this, {
|
|
@@ -668,8 +665,11 @@ class p {
|
|
|
668
665
|
setItems(e) {
|
|
669
666
|
this.items = e;
|
|
670
667
|
}
|
|
668
|
+
interact() {
|
|
669
|
+
this.interacted = !0;
|
|
670
|
+
}
|
|
671
671
|
clear() {
|
|
672
|
-
this.currentIndex = void 0, this.items = [];
|
|
672
|
+
this.interact(), this.currentIndex = void 0, this.items = [];
|
|
673
673
|
}
|
|
674
674
|
unselectAll() {
|
|
675
675
|
for (const e of this.items)
|
|
@@ -680,7 +680,7 @@ class p {
|
|
|
680
680
|
e.select();
|
|
681
681
|
}
|
|
682
682
|
setCurrentItem(e) {
|
|
683
|
-
this.currentId = e?.id;
|
|
683
|
+
this.interact(), this.currentId = e?.id;
|
|
684
684
|
}
|
|
685
685
|
setNextItems(e) {
|
|
686
686
|
this.currentIndex !== void 0 && this.items.splice(this.currentIndex + 1, 0, ...e);
|
|
@@ -718,7 +718,7 @@ class p {
|
|
|
718
718
|
return;
|
|
719
719
|
}
|
|
720
720
|
const { currentIndex: r } = this;
|
|
721
|
-
r !== void 0 && (this.items.splice(r, 0, ...e), this.currentIndex = r);
|
|
721
|
+
r !== void 0 && (this.interact(), this.items.splice(r, 0, ...e), this.currentIndex = r);
|
|
722
722
|
}
|
|
723
723
|
moveItem(e, r) {
|
|
724
724
|
const s = this.items.splice(this.items.indexOf(e), 1)[0];
|
|
@@ -734,7 +734,7 @@ class p {
|
|
|
734
734
|
pe(
|
|
735
735
|
this.items,
|
|
736
736
|
e.find((l) => l === r)
|
|
737
|
-
), this.currentItem !== r && (n ? await this.goToFirst() : this.currentIndex = s);
|
|
737
|
+
), this.currentItem !== r && (this.interact(), n ? await this.goToFirst() : this.currentIndex = s);
|
|
738
738
|
}
|
|
739
739
|
async removeSelectedItems() {
|
|
740
740
|
await this.removeItems(this.selectedItemsOrAllItems), this.unselectAll();
|
|
@@ -752,16 +752,19 @@ class p {
|
|
|
752
752
|
);
|
|
753
753
|
}
|
|
754
754
|
async previous() {
|
|
755
|
-
this.currentIndex !== void 0 && this.hasPreviousItem && this.currentIndex
|
|
755
|
+
this.currentIndex !== void 0 && this.hasPreviousItem && (this.interact(), this.currentIndex--);
|
|
756
756
|
}
|
|
757
757
|
async next() {
|
|
758
|
-
this.currentIndex !== void 0 && this.hasNextItem && this.currentIndex
|
|
758
|
+
this.currentIndex !== void 0 && this.hasNextItem && (this.interact(), this.currentIndex++);
|
|
759
759
|
}
|
|
760
760
|
addItemFromDto(e) {
|
|
761
761
|
const r = this.createItemFromDto(e);
|
|
762
762
|
return this.addItems([r]);
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
|
+
u([
|
|
766
|
+
R
|
|
767
|
+
], p.prototype, "interacted", 2);
|
|
765
768
|
u([
|
|
766
769
|
R
|
|
767
770
|
], p.prototype, "items", 2);
|
|
@@ -822,6 +825,9 @@ u([
|
|
|
822
825
|
u([
|
|
823
826
|
i.bound
|
|
824
827
|
], p.prototype, "setItems", 1);
|
|
828
|
+
u([
|
|
829
|
+
i.bound
|
|
830
|
+
], p.prototype, "interact", 1);
|
|
825
831
|
u([
|
|
826
832
|
i.bound
|
|
827
833
|
], p.prototype, "clear", 1);
|
|
@@ -891,12 +897,12 @@ const Yt = ({
|
|
|
891
897
|
e.localStorageState
|
|
892
898
|
);
|
|
893
899
|
const r = ne();
|
|
894
|
-
return
|
|
900
|
+
return ht(() => vt(
|
|
895
901
|
() => e.currentItem,
|
|
896
902
|
async (s, n) => {
|
|
897
903
|
s === void 0 || n === void 0 || s.type === n.type && s.videoId === n.videoId && await r.setCurrentTime(0);
|
|
898
904
|
}
|
|
899
|
-
), [e, r]), /* @__PURE__ */ o(
|
|
905
|
+
), [e, r]), /* @__PURE__ */ o(nt.Provider, { value: e, children: t });
|
|
900
906
|
};
|
|
901
907
|
var Xt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, z = (t, e, r, s) => {
|
|
902
908
|
for (var n = s > 1 ? void 0 : s ? Zt(e, r) : e, l = t.length - 1, a; l >= 0; l--)
|
|
@@ -976,10 +982,10 @@ const eo = ({
|
|
|
976
982
|
children: t
|
|
977
983
|
}) => {
|
|
978
984
|
const [e] = C(() => new Q());
|
|
979
|
-
return /* @__PURE__ */ o(
|
|
980
|
-
},
|
|
985
|
+
return /* @__PURE__ */ o(st.Provider, { value: e, children: t });
|
|
986
|
+
}, dt = oe(
|
|
981
987
|
void 0
|
|
982
|
-
), to = () => re(
|
|
988
|
+
), to = () => re(dt);
|
|
983
989
|
var oo = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, fe = (t, e, r, s) => {
|
|
984
990
|
for (var n = s > 1 ? void 0 : s ? ro(e, r) : e, l = t.length - 1, a; l >= 0; l--)
|
|
985
991
|
(a = t[l]) && (n = (s ? a(e, r, n) : a(n)) || n);
|
|
@@ -1015,7 +1021,7 @@ var no = Object.defineProperty, so = Object.getOwnPropertyDescriptor, de = (t, e
|
|
|
1015
1021
|
(a = t[l]) && (n = (s ? a(e, r, n) : a(n)) || n);
|
|
1016
1022
|
return s && n && no(e, r, n), n;
|
|
1017
1023
|
};
|
|
1018
|
-
class
|
|
1024
|
+
class ut {
|
|
1019
1025
|
constructor(e) {
|
|
1020
1026
|
this.playlistList = e, M(this);
|
|
1021
1027
|
}
|
|
@@ -1042,12 +1048,12 @@ class pt {
|
|
|
1042
1048
|
}
|
|
1043
1049
|
de([
|
|
1044
1050
|
c.struct
|
|
1045
|
-
],
|
|
1051
|
+
], ut.prototype, "state", 1);
|
|
1046
1052
|
class ue {
|
|
1047
1053
|
localStorageState;
|
|
1048
1054
|
items = [];
|
|
1049
1055
|
constructor() {
|
|
1050
|
-
M(this), this.localStorageState = new
|
|
1056
|
+
M(this), this.localStorageState = new ut(this);
|
|
1051
1057
|
}
|
|
1052
1058
|
createItem(e) {
|
|
1053
1059
|
return new X(this, crypto.randomUUID(), e);
|
|
@@ -1081,7 +1087,7 @@ const io = ({
|
|
|
1081
1087
|
return he(
|
|
1082
1088
|
ve.playlistList,
|
|
1083
1089
|
e.localStorageState
|
|
1084
|
-
), /* @__PURE__ */ o(
|
|
1090
|
+
), /* @__PURE__ */ o(dt.Provider, { value: e, children: t });
|
|
1085
1091
|
}, Qr = ({
|
|
1086
1092
|
children: t,
|
|
1087
1093
|
nostalgicDivaProps: e
|
|
@@ -1091,7 +1097,7 @@ const io = ({
|
|
|
1091
1097
|
components: [
|
|
1092
1098
|
eo,
|
|
1093
1099
|
Yt,
|
|
1094
|
-
|
|
1100
|
+
Lt,
|
|
1095
1101
|
Ht,
|
|
1096
1102
|
io
|
|
1097
1103
|
],
|
|
@@ -1108,7 +1114,7 @@ const io = ({
|
|
|
1108
1114
|
{
|
|
1109
1115
|
panelled: !0,
|
|
1110
1116
|
style: {
|
|
1111
|
-
minBlockSize: `max(460px, 100vh - ${
|
|
1117
|
+
minBlockSize: `max(460px, 100vh - ${tt}px)`
|
|
1112
1118
|
},
|
|
1113
1119
|
children: [
|
|
1114
1120
|
t,
|
|
@@ -1124,7 +1130,7 @@ const io = ({
|
|
|
1124
1130
|
{
|
|
1125
1131
|
title: `Shuffle: ${t.shuffle ? "On" : "Off"}`,
|
|
1126
1132
|
"aria-label": `Shuffle: ${t.shuffle ? "On" : "Off"}`,
|
|
1127
|
-
iconType: t.shuffle ?
|
|
1133
|
+
iconType: t.shuffle ? Je : Ke,
|
|
1128
1134
|
size: "s",
|
|
1129
1135
|
iconSize: "l",
|
|
1130
1136
|
onClick: t.toggleShuffle,
|
|
@@ -1152,7 +1158,7 @@ const io = ({
|
|
|
1152
1158
|
{
|
|
1153
1159
|
title: "Skip back 10 seconds",
|
|
1154
1160
|
"aria-label": "Skip back 10 seconds",
|
|
1155
|
-
iconType:
|
|
1161
|
+
iconType: We,
|
|
1156
1162
|
size: "s",
|
|
1157
1163
|
iconSize: "l",
|
|
1158
1164
|
onClick: t.skipBack10,
|
|
@@ -1194,7 +1200,7 @@ const io = ({
|
|
|
1194
1200
|
{
|
|
1195
1201
|
title: "Skip forward 30 seconds",
|
|
1196
1202
|
"aria-label": "Skip forward 30 seconds",
|
|
1197
|
-
iconType:
|
|
1203
|
+
iconType: Ye,
|
|
1198
1204
|
size: "s",
|
|
1199
1205
|
iconSize: "l",
|
|
1200
1206
|
onClick: t.skipForward30,
|
|
@@ -1215,7 +1221,7 @@ const io = ({
|
|
|
1215
1221
|
disabled: !t.canNext
|
|
1216
1222
|
}
|
|
1217
1223
|
);
|
|
1218
|
-
}),
|
|
1224
|
+
}), pt = {
|
|
1219
1225
|
[b.Off]: Ft,
|
|
1220
1226
|
[b.All]: At,
|
|
1221
1227
|
[b.One]: Bt
|
|
@@ -1226,7 +1232,7 @@ const io = ({
|
|
|
1226
1232
|
{
|
|
1227
1233
|
title: `Repeat: ${t.repeat === b.All ? "All" : t.repeat === b.One ? "One" : "Off"}`,
|
|
1228
1234
|
"aria-label": `Repeat: ${t.repeat === b.All ? "All" : t.repeat === b.One ? "One" : "Off"}`,
|
|
1229
|
-
iconType:
|
|
1235
|
+
iconType: pt[t.repeat],
|
|
1230
1236
|
size: "s",
|
|
1231
1237
|
iconSize: "l",
|
|
1232
1238
|
onClick: t.toggleRepeat,
|
|
@@ -1236,7 +1242,7 @@ const io = ({
|
|
|
1236
1242
|
}), go = d(() => {
|
|
1237
1243
|
const t = F();
|
|
1238
1244
|
return /* @__PURE__ */ m(
|
|
1239
|
-
|
|
1245
|
+
N,
|
|
1240
1246
|
{
|
|
1241
1247
|
responsive: !1,
|
|
1242
1248
|
gutterSize: "s",
|
|
@@ -1337,7 +1343,7 @@ const io = ({
|
|
|
1337
1343
|
), bo = d(() => {
|
|
1338
1344
|
const t = F();
|
|
1339
1345
|
return /* @__PURE__ */ o(
|
|
1340
|
-
|
|
1346
|
+
N,
|
|
1341
1347
|
{
|
|
1342
1348
|
responsive: !1,
|
|
1343
1349
|
gutterSize: "s",
|
|
@@ -1353,7 +1359,7 @@ const io = ({
|
|
|
1353
1359
|
{
|
|
1354
1360
|
title: "Mute",
|
|
1355
1361
|
"aria-label": "Mute",
|
|
1356
|
-
iconType:
|
|
1362
|
+
iconType: Xe,
|
|
1357
1363
|
size: "s",
|
|
1358
1364
|
iconSize: "l",
|
|
1359
1365
|
disabled: !t.controller.supports("setMuted")
|
|
@@ -1362,7 +1368,7 @@ const io = ({
|
|
|
1362
1368
|
}), So = d(
|
|
1363
1369
|
({ button: t, isOpen: e, closePopover: r }) => {
|
|
1364
1370
|
const s = F(), [n, l] = C("0"), a = ne();
|
|
1365
|
-
|
|
1371
|
+
yt(() => {
|
|
1366
1372
|
e && a.getVolume().then((y) => {
|
|
1367
1373
|
y !== void 0 && l(Math.floor(y * 100).toString());
|
|
1368
1374
|
});
|
|
@@ -1381,7 +1387,7 @@ const io = ({
|
|
|
1381
1387
|
closePopover: r,
|
|
1382
1388
|
anchorPosition: "upRight",
|
|
1383
1389
|
children: /* @__PURE__ */ o(te, { children: /* @__PURE__ */ m(
|
|
1384
|
-
|
|
1390
|
+
N,
|
|
1385
1391
|
{
|
|
1386
1392
|
responsive: !1,
|
|
1387
1393
|
gutterSize: "s",
|
|
@@ -1390,7 +1396,7 @@ const io = ({
|
|
|
1390
1396
|
children: [
|
|
1391
1397
|
/* @__PURE__ */ o(Io, {}),
|
|
1392
1398
|
/* @__PURE__ */ o(
|
|
1393
|
-
|
|
1399
|
+
Ve,
|
|
1394
1400
|
{
|
|
1395
1401
|
min: 0,
|
|
1396
1402
|
max: 100,
|
|
@@ -1417,7 +1423,7 @@ const io = ({
|
|
|
1417
1423
|
{
|
|
1418
1424
|
title: "Volume",
|
|
1419
1425
|
"aria-label": "Volume",
|
|
1420
|
-
iconType:
|
|
1426
|
+
iconType: Xe,
|
|
1421
1427
|
size: "s",
|
|
1422
1428
|
iconSize: "l",
|
|
1423
1429
|
onClick: () => r(!e),
|
|
@@ -1477,13 +1483,13 @@ const io = ({
|
|
|
1477
1483
|
},
|
|
1478
1484
|
a({
|
|
1479
1485
|
name: "Skip back 10 seconds",
|
|
1480
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
1486
|
+
icon: /* @__PURE__ */ o(h, { type: We }),
|
|
1481
1487
|
onClick: e.skipBack10,
|
|
1482
1488
|
disabled: !e.canSkipBack10
|
|
1483
1489
|
}),
|
|
1484
1490
|
a({
|
|
1485
1491
|
name: "Skip forward 30 seconds",
|
|
1486
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
1492
|
+
icon: /* @__PURE__ */ o(h, { type: Ye }),
|
|
1487
1493
|
onClick: e.skipForward30,
|
|
1488
1494
|
disabled: !e.canSkipForward30
|
|
1489
1495
|
}),
|
|
@@ -1492,7 +1498,7 @@ const io = ({
|
|
|
1492
1498
|
icon: /* @__PURE__ */ o(
|
|
1493
1499
|
h,
|
|
1494
1500
|
{
|
|
1495
|
-
type: e.shuffle ?
|
|
1501
|
+
type: e.shuffle ? Je : Ke
|
|
1496
1502
|
}
|
|
1497
1503
|
),
|
|
1498
1504
|
onClick: e.toggleShuffle,
|
|
@@ -1504,7 +1510,7 @@ const io = ({
|
|
|
1504
1510
|
icon: /* @__PURE__ */ o(
|
|
1505
1511
|
h,
|
|
1506
1512
|
{
|
|
1507
|
-
type:
|
|
1513
|
+
type: pt[e.repeat]
|
|
1508
1514
|
}
|
|
1509
1515
|
),
|
|
1510
1516
|
onClick: e.toggleRepeat,
|
|
@@ -1516,7 +1522,7 @@ const io = ({
|
|
|
1516
1522
|
},
|
|
1517
1523
|
a({
|
|
1518
1524
|
name: "Remove from play queue",
|
|
1519
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
1525
|
+
icon: /* @__PURE__ */ o(h, { type: L }),
|
|
1520
1526
|
onClick: e.removeFromPlayQueue,
|
|
1521
1527
|
disabled: !e.canRemoveFromPlayQueue
|
|
1522
1528
|
})
|
|
@@ -1579,7 +1585,7 @@ const io = ({
|
|
|
1579
1585
|
);
|
|
1580
1586
|
}), ko = D(
|
|
1581
1587
|
({ onClickPlayQueueButton: t }) => /* @__PURE__ */ m(
|
|
1582
|
-
|
|
1588
|
+
N,
|
|
1583
1589
|
{
|
|
1584
1590
|
responsive: !1,
|
|
1585
1591
|
gutterSize: "s",
|
|
@@ -1621,7 +1627,7 @@ const io = ({
|
|
|
1621
1627
|
[t, e]
|
|
1622
1628
|
);
|
|
1623
1629
|
return /* @__PURE__ */ o(
|
|
1624
|
-
|
|
1630
|
+
Ve,
|
|
1625
1631
|
{
|
|
1626
1632
|
min: 0,
|
|
1627
1633
|
max: 100,
|
|
@@ -1637,9 +1643,9 @@ const io = ({
|
|
|
1637
1643
|
}
|
|
1638
1644
|
);
|
|
1639
1645
|
}), zr = d(
|
|
1640
|
-
({ onClickPlayQueueButton: t }) => /* @__PURE__ */ o(Pt, { paddingSize: "s", children: /* @__PURE__ */ m(
|
|
1646
|
+
({ onClickPlayQueueButton: t }) => /* @__PURE__ */ o(Pt, { paddingSize: "s", children: /* @__PURE__ */ m(N, { direction: "column", gutterSize: "none", children: [
|
|
1641
1647
|
/* @__PURE__ */ o(B, { children: /* @__PURE__ */ o(Oo, {}) }),
|
|
1642
|
-
/* @__PURE__ */ o(B, { children: /* @__PURE__ */ m(
|
|
1648
|
+
/* @__PURE__ */ o(B, { children: /* @__PURE__ */ m(N, { responsive: !1, children: [
|
|
1643
1649
|
/* @__PURE__ */ o(B, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(bo, {}) }),
|
|
1644
1650
|
/* @__PURE__ */ o(B, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(go, {}) }),
|
|
1645
1651
|
/* @__PURE__ */ o(B, { css: { width: "calc(100% / 3)" }, children: /* @__PURE__ */ o(
|
|
@@ -1661,15 +1667,13 @@ const io = ({
|
|
|
1661
1667
|
}),
|
|
1662
1668
|
[t]
|
|
1663
1669
|
);
|
|
1664
|
-
return
|
|
1665
|
-
window.removeEventListener("click", t.interact);
|
|
1666
|
-
}), [t]), /* @__PURE__ */ o(
|
|
1670
|
+
return /* @__PURE__ */ o(
|
|
1667
1671
|
"div",
|
|
1668
1672
|
{
|
|
1669
1673
|
css: {
|
|
1670
1674
|
position: "fixed",
|
|
1671
1675
|
right: 0,
|
|
1672
|
-
bottom:
|
|
1676
|
+
bottom: tt,
|
|
1673
1677
|
width: Se.width,
|
|
1674
1678
|
height: Se.height,
|
|
1675
1679
|
zIndex: 998,
|
|
@@ -1760,7 +1764,7 @@ const Ao = H.create(
|
|
|
1760
1764
|
] })
|
|
1761
1765
|
] });
|
|
1762
1766
|
}
|
|
1763
|
-
),
|
|
1767
|
+
), _e = D(
|
|
1764
1768
|
({ onFulfilled: t }) => /* @__PURE__ */ o(
|
|
1765
1769
|
O,
|
|
1766
1770
|
{
|
|
@@ -1816,7 +1820,7 @@ const Ao = H.create(
|
|
|
1816
1820
|
}),
|
|
1817
1821
|
r({
|
|
1818
1822
|
name: "Remove",
|
|
1819
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
1823
|
+
icon: /* @__PURE__ */ o(h, { type: L }),
|
|
1820
1824
|
onClick: t.removeSelectedItems,
|
|
1821
1825
|
disabled: !t.canRemoveSelectedItems
|
|
1822
1826
|
}),
|
|
@@ -1864,7 +1868,7 @@ const Ao = H.create(
|
|
|
1864
1868
|
({ playQueue: t }) => {
|
|
1865
1869
|
const { euiTheme: e } = ie();
|
|
1866
1870
|
return /* @__PURE__ */ m(
|
|
1867
|
-
|
|
1871
|
+
N,
|
|
1868
1872
|
{
|
|
1869
1873
|
alignItems: "center",
|
|
1870
1874
|
gutterSize: "m",
|
|
@@ -1889,7 +1893,7 @@ const Ao = H.create(
|
|
|
1889
1893
|
/* @__PURE__ */ o(B, { grow: !1, children: /* @__PURE__ */ o(
|
|
1890
1894
|
O,
|
|
1891
1895
|
{
|
|
1892
|
-
iconType:
|
|
1896
|
+
iconType: L,
|
|
1893
1897
|
onClick: t.removeSelectedItems,
|
|
1894
1898
|
disabled: !t.canRemoveSelectedItems,
|
|
1895
1899
|
children: "Remove"
|
|
@@ -1905,9 +1909,9 @@ const Ao = H.create(
|
|
|
1905
1909
|
}
|
|
1906
1910
|
) })
|
|
1907
1911
|
] }),
|
|
1908
|
-
/* @__PURE__ */ o(
|
|
1912
|
+
/* @__PURE__ */ o(He, { sizes: ["xs"], children: /* @__PURE__ */ o(Mo, { playQueue: t }) }),
|
|
1909
1913
|
/* @__PURE__ */ o(B, { grow: !0 }),
|
|
1910
|
-
/* @__PURE__ */ o(B, { grow: !1, children: /* @__PURE__ */ o(
|
|
1914
|
+
/* @__PURE__ */ o(B, { grow: !1, children: /* @__PURE__ */ o(_e, { onFulfilled: t.addItemFromDto }) })
|
|
1911
1915
|
]
|
|
1912
1916
|
}
|
|
1913
1917
|
);
|
|
@@ -1916,8 +1920,8 @@ const Ao = H.create(
|
|
|
1916
1920
|
({ playQueue: t }) => {
|
|
1917
1921
|
const { euiTheme: e } = ie();
|
|
1918
1922
|
return /* @__PURE__ */ m(G, { children: [
|
|
1919
|
-
/* @__PURE__ */ o(
|
|
1920
|
-
|
|
1923
|
+
/* @__PURE__ */ o(Ue, { children: /* @__PURE__ */ o(
|
|
1924
|
+
N,
|
|
1921
1925
|
{
|
|
1922
1926
|
responsive: !1,
|
|
1923
1927
|
justifyContent: "spaceBetween",
|
|
@@ -1944,7 +1948,7 @@ const Ao = H.create(
|
|
|
1944
1948
|
background: e.colors.backgroundBasePlain
|
|
1945
1949
|
},
|
|
1946
1950
|
children: [
|
|
1947
|
-
/* @__PURE__ */ o(
|
|
1951
|
+
/* @__PURE__ */ o(qe, { children: /* @__PURE__ */ o(
|
|
1948
1952
|
W,
|
|
1949
1953
|
{
|
|
1950
1954
|
id: "",
|
|
@@ -2015,13 +2019,13 @@ const Ao = H.create(
|
|
|
2015
2019
|
},
|
|
2016
2020
|
r({
|
|
2017
2021
|
name: "Move to the top",
|
|
2018
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2022
|
+
icon: /* @__PURE__ */ o(h, { type: Ze }),
|
|
2019
2023
|
onClick: t.moveToTop,
|
|
2020
2024
|
disabled: !t.canMoveToTop
|
|
2021
2025
|
}),
|
|
2022
2026
|
r({
|
|
2023
2027
|
name: "Move to the bottom",
|
|
2024
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2028
|
+
icon: /* @__PURE__ */ o(h, { type: et }),
|
|
2025
2029
|
onClick: t.moveToBottom,
|
|
2026
2030
|
disabled: !t.canMoveToBottom
|
|
2027
2031
|
}),
|
|
@@ -2030,7 +2034,7 @@ const Ao = H.create(
|
|
|
2030
2034
|
},
|
|
2031
2035
|
r({
|
|
2032
2036
|
name: "Remove",
|
|
2033
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2037
|
+
icon: /* @__PURE__ */ o(h, { type: L }),
|
|
2034
2038
|
onClick: t.remove,
|
|
2035
2039
|
className: "eui-showFor--xs--flex"
|
|
2036
2040
|
}),
|
|
@@ -2103,7 +2107,7 @@ const Ao = H.create(
|
|
|
2103
2107
|
/* @__PURE__ */ o(
|
|
2104
2108
|
O,
|
|
2105
2109
|
{
|
|
2106
|
-
iconType:
|
|
2110
|
+
iconType: L,
|
|
2107
2111
|
size: "s",
|
|
2108
2112
|
onClick: t.remove,
|
|
2109
2113
|
children: "Remove"
|
|
@@ -2113,9 +2117,9 @@ const Ao = H.create(
|
|
|
2113
2117
|
/* @__PURE__ */ o(Eo, { item: t })
|
|
2114
2118
|
] });
|
|
2115
2119
|
}
|
|
2116
|
-
),
|
|
2120
|
+
), _o = d(
|
|
2117
2121
|
({ item: t }) => /* @__PURE__ */ m(Fe, { isSelected: t.isCurrent, hasSelection: !0, hasActions: !0, children: [
|
|
2118
|
-
/* @__PURE__ */ o(
|
|
2122
|
+
/* @__PURE__ */ o(Ge, { children: /* @__PURE__ */ o(
|
|
2119
2123
|
W,
|
|
2120
2124
|
{
|
|
2121
2125
|
id: t.id.toString(),
|
|
@@ -2145,20 +2149,20 @@ const Ao = H.create(
|
|
|
2145
2149
|
),
|
|
2146
2150
|
/* @__PURE__ */ o(No, { item: t })
|
|
2147
2151
|
] })
|
|
2148
|
-
),
|
|
2152
|
+
), Lo = d(
|
|
2149
2153
|
({ playQueue: t }) => /* @__PURE__ */ o(
|
|
2150
2154
|
De,
|
|
2151
2155
|
{
|
|
2152
2156
|
tag: "tbody",
|
|
2153
2157
|
list: t.items,
|
|
2154
2158
|
setList: (e) => t.setItems(e),
|
|
2155
|
-
children: t.items.map((e) => /* @__PURE__ */ o(
|
|
2159
|
+
children: t.items.map((e) => /* @__PURE__ */ o(_o, { item: e }, e.id))
|
|
2156
2160
|
}
|
|
2157
2161
|
)
|
|
2158
2162
|
), jo = d(
|
|
2159
2163
|
({ playQueue: t }) => /* @__PURE__ */ m(Me, { children: [
|
|
2160
2164
|
/* @__PURE__ */ o(Do, { playQueue: t }),
|
|
2161
|
-
/* @__PURE__ */ o(
|
|
2165
|
+
/* @__PURE__ */ o(Lo, { playQueue: t })
|
|
2162
2166
|
] })
|
|
2163
2167
|
), $o = d(
|
|
2164
2168
|
({ playQueue: t }) => {
|
|
@@ -2183,7 +2187,7 @@ const Ao = H.create(
|
|
|
2183
2187
|
title: /* @__PURE__ */ o("h2", { children: "We couldn't find any videos" }),
|
|
2184
2188
|
body: /* @__PURE__ */ o("p", { children: "Your video library doesn't contain any video content." }),
|
|
2185
2189
|
actions: /* @__PURE__ */ o(
|
|
2186
|
-
|
|
2190
|
+
_e,
|
|
2187
2191
|
{
|
|
2188
2192
|
onFulfilled: t.addItemFromDto
|
|
2189
2193
|
}
|
|
@@ -2192,7 +2196,7 @@ const Ao = H.create(
|
|
|
2192
2196
|
) : /* @__PURE__ */ o(jo, { playQueue: t })
|
|
2193
2197
|
] });
|
|
2194
2198
|
}
|
|
2195
|
-
),
|
|
2199
|
+
), Le = ({
|
|
2196
2200
|
breadcrumbs: t,
|
|
2197
2201
|
tabs: e,
|
|
2198
2202
|
...r
|
|
@@ -2228,7 +2232,7 @@ const Ao = H.create(
|
|
|
2228
2232
|
const t = ce();
|
|
2229
2233
|
return /* @__PURE__ */ m(G, { children: [
|
|
2230
2234
|
/* @__PURE__ */ o(
|
|
2231
|
-
|
|
2235
|
+
Le,
|
|
2232
2236
|
{
|
|
2233
2237
|
pageTitle: "Play queue",
|
|
2234
2238
|
rightSideItems: []
|
|
@@ -2313,7 +2317,7 @@ const Ao = H.create(
|
|
|
2313
2317
|
}),
|
|
2314
2318
|
r({
|
|
2315
2319
|
name: "Remove",
|
|
2316
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2320
|
+
icon: /* @__PURE__ */ o(h, { type: L }),
|
|
2317
2321
|
onClick: t.removeSelectedItems,
|
|
2318
2322
|
disabled: !t.canRemoveSelectedItems
|
|
2319
2323
|
})
|
|
@@ -2349,7 +2353,7 @@ const Ao = H.create(
|
|
|
2349
2353
|
({ playlist: t }) => {
|
|
2350
2354
|
const { euiTheme: e } = ie();
|
|
2351
2355
|
return /* @__PURE__ */ m(
|
|
2352
|
-
|
|
2356
|
+
N,
|
|
2353
2357
|
{
|
|
2354
2358
|
alignItems: "center",
|
|
2355
2359
|
gutterSize: "m",
|
|
@@ -2374,24 +2378,24 @@ const Ao = H.create(
|
|
|
2374
2378
|
/* @__PURE__ */ o(B, { grow: !1, children: /* @__PURE__ */ o(
|
|
2375
2379
|
O,
|
|
2376
2380
|
{
|
|
2377
|
-
iconType:
|
|
2381
|
+
iconType: L,
|
|
2378
2382
|
onClick: t.removeSelectedItems,
|
|
2379
2383
|
disabled: !t.canRemoveSelectedItems,
|
|
2380
2384
|
children: "Remove"
|
|
2381
2385
|
}
|
|
2382
2386
|
) })
|
|
2383
2387
|
] }),
|
|
2384
|
-
/* @__PURE__ */ o(
|
|
2388
|
+
/* @__PURE__ */ o(He, { sizes: ["xs"], children: /* @__PURE__ */ o(qo, { playlist: t }) }),
|
|
2385
2389
|
/* @__PURE__ */ o(B, { grow: !0 }),
|
|
2386
|
-
/* @__PURE__ */ o(B, { grow: !1, children: /* @__PURE__ */ o(
|
|
2390
|
+
/* @__PURE__ */ o(B, { grow: !1, children: /* @__PURE__ */ o(_e, { onFulfilled: t.addItemFromDto }) })
|
|
2387
2391
|
]
|
|
2388
2392
|
}
|
|
2389
2393
|
);
|
|
2390
2394
|
}
|
|
2391
2395
|
), Jo = d(
|
|
2392
2396
|
({ playlist: t }) => /* @__PURE__ */ m(G, { children: [
|
|
2393
|
-
/* @__PURE__ */ o(
|
|
2394
|
-
|
|
2397
|
+
/* @__PURE__ */ o(Ue, { children: /* @__PURE__ */ o(
|
|
2398
|
+
N,
|
|
2395
2399
|
{
|
|
2396
2400
|
responsive: !1,
|
|
2397
2401
|
justifyContent: "spaceBetween",
|
|
@@ -2409,7 +2413,7 @@ const Ao = H.create(
|
|
|
2409
2413
|
}
|
|
2410
2414
|
) }),
|
|
2411
2415
|
/* @__PURE__ */ m(Ae, { children: [
|
|
2412
|
-
/* @__PURE__ */ o(
|
|
2416
|
+
/* @__PURE__ */ o(qe, { children: /* @__PURE__ */ o(
|
|
2413
2417
|
W,
|
|
2414
2418
|
{
|
|
2415
2419
|
id: "",
|
|
@@ -2477,13 +2481,13 @@ const Ao = H.create(
|
|
|
2477
2481
|
},
|
|
2478
2482
|
r({
|
|
2479
2483
|
name: "Move to the top",
|
|
2480
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2484
|
+
icon: /* @__PURE__ */ o(h, { type: Ze }),
|
|
2481
2485
|
onClick: t.moveToTop,
|
|
2482
2486
|
disabled: !t.canMoveToTop
|
|
2483
2487
|
}),
|
|
2484
2488
|
r({
|
|
2485
2489
|
name: "Move to the bottom",
|
|
2486
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2490
|
+
icon: /* @__PURE__ */ o(h, { type: et }),
|
|
2487
2491
|
onClick: t.moveToBottom,
|
|
2488
2492
|
disabled: !t.canMoveToBottom
|
|
2489
2493
|
}),
|
|
@@ -2492,7 +2496,7 @@ const Ao = H.create(
|
|
|
2492
2496
|
},
|
|
2493
2497
|
r({
|
|
2494
2498
|
name: "Remove",
|
|
2495
|
-
icon: /* @__PURE__ */ o(h, { type:
|
|
2499
|
+
icon: /* @__PURE__ */ o(h, { type: L }),
|
|
2496
2500
|
onClick: t.remove,
|
|
2497
2501
|
className: "eui-showFor--xs--flex"
|
|
2498
2502
|
}),
|
|
@@ -2561,7 +2565,7 @@ const Ao = H.create(
|
|
|
2561
2565
|
/* @__PURE__ */ o(
|
|
2562
2566
|
O,
|
|
2563
2567
|
{
|
|
2564
|
-
iconType:
|
|
2568
|
+
iconType: L,
|
|
2565
2569
|
size: "s",
|
|
2566
2570
|
onClick: t.remove,
|
|
2567
2571
|
children: "Remove"
|
|
@@ -2572,7 +2576,7 @@ const Ao = H.create(
|
|
|
2572
2576
|
] })
|
|
2573
2577
|
), Xo = d(
|
|
2574
2578
|
({ item: t }) => /* @__PURE__ */ m(Fe, { isSelected: t.isCurrent, hasSelection: !0, hasActions: !0, children: [
|
|
2575
|
-
/* @__PURE__ */ o(
|
|
2579
|
+
/* @__PURE__ */ o(Ge, { children: /* @__PURE__ */ o(
|
|
2576
2580
|
W,
|
|
2577
2581
|
{
|
|
2578
2582
|
id: t.id.toString(),
|
|
@@ -2861,11 +2865,11 @@ const ar = {
|
|
|
2861
2865
|
items: {
|
|
2862
2866
|
type: "array",
|
|
2863
2867
|
nullable: !0,
|
|
2864
|
-
items:
|
|
2868
|
+
items: at
|
|
2865
2869
|
}
|
|
2866
2870
|
}
|
|
2867
2871
|
};
|
|
2868
|
-
class
|
|
2872
|
+
class mt {
|
|
2869
2873
|
constructor(e) {
|
|
2870
2874
|
this.playlist = e, M(this);
|
|
2871
2875
|
}
|
|
@@ -2887,10 +2891,10 @@ class ht {
|
|
|
2887
2891
|
}
|
|
2888
2892
|
S([
|
|
2889
2893
|
c.struct
|
|
2890
|
-
],
|
|
2894
|
+
], mt.prototype, "state", 1);
|
|
2891
2895
|
class P {
|
|
2892
2896
|
constructor(e) {
|
|
2893
|
-
this.playQueue = e, M(this), this.localStorageState = new
|
|
2897
|
+
this.playQueue = e, M(this), this.localStorageState = new mt(this);
|
|
2894
2898
|
}
|
|
2895
2899
|
localStorageState;
|
|
2896
2900
|
items = [];
|
|
@@ -3070,7 +3074,7 @@ const cr = ({ onClick: t }) => /* @__PURE__ */ o(O, { onClick: t, iconType: ae,
|
|
|
3070
3074
|
onFulfilled: e
|
|
3071
3075
|
}) => /* @__PURE__ */ o(O, { onClick: () => H.show(Vo, {
|
|
3072
3076
|
playlistListItem: t
|
|
3073
|
-
}).then(e), iconType: Qe, children: "Delete" }),
|
|
3077
|
+
}).then(e), iconType: Qe, children: "Delete" }), _r = d(
|
|
3074
3078
|
({ playlistListItem: t }) => {
|
|
3075
3079
|
const e = ve.playlist(
|
|
3076
3080
|
t.id
|
|
@@ -3086,7 +3090,7 @@ const cr = ({ onClick: t }) => /* @__PURE__ */ o(O, { onClick: t, iconType: ae,
|
|
|
3086
3090
|
}, [t, n, e]);
|
|
3087
3091
|
return /* @__PURE__ */ m(G, { children: [
|
|
3088
3092
|
/* @__PURE__ */ o(
|
|
3089
|
-
|
|
3093
|
+
Le,
|
|
3090
3094
|
{
|
|
3091
3095
|
pageTitle: t.name,
|
|
3092
3096
|
breadcrumbs: [
|
|
@@ -3216,7 +3220,7 @@ const cr = ({ onClick: t }) => /* @__PURE__ */ o(O, { onClick: t, iconType: ae,
|
|
|
3216
3220
|
/* @__PURE__ */ o(vr, { playlistList: t })
|
|
3217
3221
|
] })
|
|
3218
3222
|
), br = () => /* @__PURE__ */ o(
|
|
3219
|
-
|
|
3223
|
+
Le,
|
|
3220
3224
|
{
|
|
3221
3225
|
pageTitle: "Playlists",
|
|
3222
3226
|
breadcrumbs: [
|
|
@@ -3239,7 +3243,7 @@ const cr = ({ onClick: t }) => /* @__PURE__ */ o(O, { onClick: t, iconType: ae,
|
|
|
3239
3243
|
/* @__PURE__ */ o(fr, { playlistList: t })
|
|
3240
3244
|
] });
|
|
3241
3245
|
}
|
|
3242
|
-
),
|
|
3246
|
+
), Lr = D(() => {
|
|
3243
3247
|
const t = to();
|
|
3244
3248
|
return /* @__PURE__ */ m(G, { children: [
|
|
3245
3249
|
/* @__PURE__ */ o(br, {}),
|
|
@@ -3251,14 +3255,14 @@ export {
|
|
|
3251
3255
|
Qr as HydrangeanDivaProvider,
|
|
3252
3256
|
Dr as MediaPlayerLayout,
|
|
3253
3257
|
Er as MiniPlayer,
|
|
3254
|
-
|
|
3258
|
+
nt as PlayQueueContext,
|
|
3255
3259
|
Nr as PlayQueuePage,
|
|
3256
3260
|
$o as PlayQueueSection,
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3261
|
+
_r as PlaylistDetailsPage,
|
|
3262
|
+
dt as PlaylistListContext,
|
|
3263
|
+
Lr as PlaylistListPage,
|
|
3260
3264
|
b as RepeatMode,
|
|
3261
|
-
|
|
3265
|
+
tt as bottomBarHeight,
|
|
3262
3266
|
ce as usePlayQueue,
|
|
3263
3267
|
to as usePlaylistList,
|
|
3264
3268
|
Ee as videoServiceIcons
|