@ngxsplayer/ngx-smart-player-ui-audio 0.3.0 → 0.3.1-next.555
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.
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, NgModule, Output, ViewChild, inject } from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, ElementRef, EventEmitter, HostListener, Input, NgModule, Output, ViewChild, inject } from "@angular/core";
|
|
3
3
|
import { CommonModule, DOCUMENT } from "@angular/common";
|
|
4
|
-
import { SmartPlayerComponent, SmartPlayerIconComponent, SmartSettingsComponent } from "@ngxsplayer/ngx-smart-player";
|
|
5
|
-
import { NgxspTimeSlider, NgxspVolumeControl } from "@ngxsplayer/ngx-smart-player-ui-core";
|
|
6
|
-
const COLLECTION_VIEW_IDS = [
|
|
7
|
-
"favorites",
|
|
8
|
-
"recents",
|
|
9
|
-
"playlists"
|
|
10
|
-
];
|
|
4
|
+
import { SmartEmptyPageComponent, SmartNotificationsComponent, SmartPlayerComponent, SmartPlayerIconComponent, SmartSettingsComponent } from "@ngxsplayer/ngx-smart-player";
|
|
5
|
+
import { MENU_WALK, NgxspTimeSlider, NgxspVolumeControl, isShown, keepTabInside, walkWithArrows } from "@ngxsplayer/ngx-smart-player-ui-core";
|
|
6
|
+
const COLLECTION_VIEW_IDS = ["favorites", "recents"];
|
|
11
7
|
const APP_VIEW_IDS = ["settings"];
|
|
12
8
|
const VIEW_ICONS = {
|
|
13
9
|
home: "home",
|
|
10
|
+
library: "grid",
|
|
11
|
+
activity: "clock",
|
|
12
|
+
sources: "folder",
|
|
14
13
|
tracks: "music",
|
|
15
14
|
albums: "disc",
|
|
16
15
|
artists: "user",
|
|
@@ -22,6 +21,7 @@ const VIEW_ICONS = {
|
|
|
22
21
|
webradios: "radio",
|
|
23
22
|
settings: "settings"
|
|
24
23
|
};
|
|
24
|
+
const TIME_LIKE = /^[\d-]{1,2}(:[\d-]{2}){1,2}$/;
|
|
25
25
|
const WAVEFORM_BARS = [
|
|
26
26
|
32,
|
|
27
27
|
48,
|
|
@@ -82,6 +82,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
82
82
|
ports;
|
|
83
83
|
engines;
|
|
84
84
|
debug = false;
|
|
85
|
+
handlingFailure = false;
|
|
85
86
|
startTimeSec = null;
|
|
86
87
|
autoplayOnInit = false;
|
|
87
88
|
playRequest = 0;
|
|
@@ -93,9 +94,50 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
93
94
|
repeatLabel = "Repeat: off";
|
|
94
95
|
hasPlaylistControls = false;
|
|
95
96
|
castEnabled = false;
|
|
97
|
+
castLabels = {};
|
|
96
98
|
libraryViewsLabel = "Audio library views";
|
|
97
99
|
transportLabel = "Audio transport";
|
|
98
100
|
seekLabel = "Playback position";
|
|
101
|
+
detailHead = null;
|
|
102
|
+
sourcesPage = null;
|
|
103
|
+
playerPage = null;
|
|
104
|
+
notificationsPage = null;
|
|
105
|
+
emptyPage = null;
|
|
106
|
+
notificationsLabel = "Notifications";
|
|
107
|
+
notificationsUnread = 0;
|
|
108
|
+
playerOpenLabel = "Open the player";
|
|
109
|
+
viewIntro = "";
|
|
110
|
+
viewFacets = [];
|
|
111
|
+
viewFacetLabel = "What this page shows";
|
|
112
|
+
searchResultsTitle = "";
|
|
113
|
+
searchResultsSummary = "";
|
|
114
|
+
searchFilters = [];
|
|
115
|
+
searchFilterLabel = "Narrow the results";
|
|
116
|
+
searchBest = null;
|
|
117
|
+
searchBestTitle = "Closest match";
|
|
118
|
+
recentSearches = [];
|
|
119
|
+
recentSearchesTitle = "Recent searches";
|
|
120
|
+
viewMode = "list";
|
|
121
|
+
gridLabel = "";
|
|
122
|
+
tableLabel = "";
|
|
123
|
+
viewSwitchLabel = "How the library is shown";
|
|
124
|
+
trail = [];
|
|
125
|
+
trailLabel = "Where you are";
|
|
126
|
+
trailStep = new EventEmitter();
|
|
127
|
+
viewModeChange = new EventEmitter();
|
|
128
|
+
detailHeadAction = new EventEmitter();
|
|
129
|
+
sourceAction = new EventEmitter();
|
|
130
|
+
sectionMore = new EventEmitter();
|
|
131
|
+
viewFacetChange = new EventEmitter();
|
|
132
|
+
playerOpen = new EventEmitter();
|
|
133
|
+
emptyPageAction = new EventEmitter();
|
|
134
|
+
notificationAction = new EventEmitter();
|
|
135
|
+
notificationsOpen = new EventEmitter();
|
|
136
|
+
notificationsRead = new EventEmitter();
|
|
137
|
+
playerBack = new EventEmitter();
|
|
138
|
+
searchFilterChange = new EventEmitter();
|
|
139
|
+
searchBestAction = new EventEmitter();
|
|
140
|
+
searchAgain = new EventEmitter();
|
|
99
141
|
libraryTitle = "Local library";
|
|
100
142
|
libraryContentTitle = "";
|
|
101
143
|
backLabel = null;
|
|
@@ -105,7 +147,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
105
147
|
searchLabel = "Search audio library";
|
|
106
148
|
searchTerm = "";
|
|
107
149
|
libraryViews = [];
|
|
150
|
+
playerPanel = true;
|
|
108
151
|
quickViewIds = [];
|
|
152
|
+
quickViewItems = [];
|
|
109
153
|
quickViewsLabel = "Quick access";
|
|
110
154
|
activeLibraryView = "tracks";
|
|
111
155
|
librarySections = [];
|
|
@@ -152,7 +196,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
152
196
|
saveLabel = "Save";
|
|
153
197
|
cancelLabel = "Cancel";
|
|
154
198
|
refreshLabel = "Refresh";
|
|
155
|
-
|
|
199
|
+
queueCountLabel = "";
|
|
156
200
|
newPlaylistPlaceholder = "New playlist name";
|
|
157
201
|
renamePlaylistPlaceholder = "Rename playlist";
|
|
158
202
|
remotePlaybackLabel = "Remote playback";
|
|
@@ -173,17 +217,22 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
173
217
|
favoriteLabel = "Add to favorites";
|
|
174
218
|
ringtoneAvailable = false;
|
|
175
219
|
ringtoneLabel = "Make a ringtone";
|
|
220
|
+
trackActionsLabel = "More actions";
|
|
176
221
|
favoriteActiveLabel = "Remove from favorites";
|
|
177
222
|
favoritesLabel = "Favorites";
|
|
178
223
|
queueItems = [];
|
|
224
|
+
queueEditable = false;
|
|
225
|
+
queueMoveUpLabel = "";
|
|
226
|
+
queueMoveDownLabel = "";
|
|
227
|
+
queueRemoveLabel = "";
|
|
179
228
|
currentTrackAvailable = false;
|
|
180
229
|
playlistOptions = [];
|
|
230
|
+
playlistsPageOpen = false;
|
|
231
|
+
playlistsSummary = "";
|
|
232
|
+
playlistsOpen = new EventEmitter();
|
|
181
233
|
set playlistTargetTrack(track) {
|
|
182
234
|
this.playlistTarget = track;
|
|
183
|
-
if (track)
|
|
184
|
-
this.playlistToolsOpen = true;
|
|
185
|
-
this.revealPanel();
|
|
186
|
-
}
|
|
235
|
+
if (track) this.playlistsOpen.emit();
|
|
187
236
|
}
|
|
188
237
|
get playlistTargetTrack() {
|
|
189
238
|
return this.playlistTarget;
|
|
@@ -199,12 +248,29 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
199
248
|
lyricsPanel = null;
|
|
200
249
|
showDeviceButton = true;
|
|
201
250
|
deviceItems = [];
|
|
251
|
+
outputItems = [];
|
|
252
|
+
set audioOutputId(value) {
|
|
253
|
+
this.wantedAudioOutput = value ?? "";
|
|
254
|
+
this.applyAudioOutput();
|
|
255
|
+
}
|
|
256
|
+
get audioOutputId() {
|
|
257
|
+
return this.wantedAudioOutput;
|
|
258
|
+
}
|
|
259
|
+
wantedAudioOutput = "";
|
|
260
|
+
appliedAudioOutput = null;
|
|
261
|
+
castGroupLabel = "Play on";
|
|
262
|
+
castGroupHint = "";
|
|
263
|
+
outputGroupLabel = "Audio output";
|
|
264
|
+
outputGroupHint = "";
|
|
265
|
+
searchDevicesLabel = "Search for devices";
|
|
266
|
+
keepQueueLabel = "";
|
|
202
267
|
closeLabel = "Close";
|
|
203
268
|
sourceChangeLabel = "Open file";
|
|
204
269
|
sourceChangeTitle = "";
|
|
205
270
|
sourceDropTitle = "";
|
|
206
271
|
sourceDropHint = "";
|
|
207
272
|
sourceChangeAccept = "audio/*";
|
|
273
|
+
showSourceButton = true;
|
|
208
274
|
folderImportLabel = "";
|
|
209
275
|
libraryStatus = "";
|
|
210
276
|
libraryBusy = false;
|
|
@@ -236,7 +302,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
236
302
|
addLibraryItemNext = new EventEmitter();
|
|
237
303
|
addLibraryItemToQueue = new EventEmitter();
|
|
238
304
|
selectQueueItem = new EventEmitter();
|
|
305
|
+
queueMoveUp = new EventEmitter();
|
|
306
|
+
queueMoveDown = new EventEmitter();
|
|
307
|
+
queueRemove = new EventEmitter();
|
|
239
308
|
createPlaylist = new EventEmitter();
|
|
309
|
+
playerPageAction = new EventEmitter();
|
|
240
310
|
addCurrentToPlaylist = new EventEmitter();
|
|
241
311
|
addTrackToPlaylist = new EventEmitter();
|
|
242
312
|
requestPlaylistTarget = new EventEmitter();
|
|
@@ -250,7 +320,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
250
320
|
deletePlaylist = new EventEmitter();
|
|
251
321
|
toggleDevices = new EventEmitter();
|
|
252
322
|
refreshDevices = new EventEmitter();
|
|
253
|
-
|
|
323
|
+
selectOutput = new EventEmitter();
|
|
324
|
+
keepQueueAsPlaylist = new EventEmitter();
|
|
325
|
+
audioOutputApplied = new EventEmitter();
|
|
254
326
|
refreshLyrics = new EventEmitter();
|
|
255
327
|
seekLyrics = new EventEmitter();
|
|
256
328
|
playOnDevice = new EventEmitter();
|
|
@@ -271,14 +343,19 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
271
343
|
smartPlayer;
|
|
272
344
|
audioFileInput;
|
|
273
345
|
document = inject(DOCUMENT);
|
|
346
|
+
constructor() {
|
|
347
|
+
const dismiss = (event) => this.closeDialogsOnPointerOutside(event);
|
|
348
|
+
this.document.addEventListener("pointerdown", dismiss, true);
|
|
349
|
+
inject(DestroyRef).onDestroy(() => this.document.removeEventListener("pointerdown", dismiss, true));
|
|
350
|
+
}
|
|
274
351
|
libraryScroll;
|
|
275
|
-
lyricsLinesEl;
|
|
276
352
|
queueListEl;
|
|
353
|
+
playerLyricsEl;
|
|
277
354
|
compactLyricsEl;
|
|
355
|
+
playerLyricsFollowed = "";
|
|
278
356
|
compactLyricsFollowed = "";
|
|
279
357
|
panelEl;
|
|
280
358
|
sheetButtonEl;
|
|
281
|
-
lyricsFollowed = "";
|
|
282
359
|
queueFollowed = "";
|
|
283
360
|
static QUEUE_ROW = 57;
|
|
284
361
|
static QUEUE_WINDOW_MIN = 60;
|
|
@@ -328,17 +405,8 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
328
405
|
}
|
|
329
406
|
fileDragActive = false;
|
|
330
407
|
panelSheetOpen = false;
|
|
331
|
-
playlistToolsOpen = false;
|
|
332
|
-
lyricsOpen = false;
|
|
333
408
|
queuePanelOpen = true;
|
|
334
|
-
|
|
335
|
-
panelOrder = [
|
|
336
|
-
"queue",
|
|
337
|
-
"lyrics",
|
|
338
|
-
"devices",
|
|
339
|
-
"playlists"
|
|
340
|
-
];
|
|
341
|
-
collapsedPanels = /* @__PURE__ */ new Set();
|
|
409
|
+
panelOrder = [];
|
|
342
410
|
playlistDraftName = "";
|
|
343
411
|
stationNameDraft = "";
|
|
344
412
|
stationUrlDraft = "";
|
|
@@ -351,6 +419,31 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
351
419
|
playerState = null;
|
|
352
420
|
progressPercent = 0;
|
|
353
421
|
currentTimeSec = 0;
|
|
422
|
+
waveformBars = [
|
|
423
|
+
34,
|
|
424
|
+
58,
|
|
425
|
+
88,
|
|
426
|
+
47,
|
|
427
|
+
72,
|
|
428
|
+
95,
|
|
429
|
+
40,
|
|
430
|
+
66,
|
|
431
|
+
52,
|
|
432
|
+
80,
|
|
433
|
+
36,
|
|
434
|
+
68,
|
|
435
|
+
44,
|
|
436
|
+
90,
|
|
437
|
+
56,
|
|
438
|
+
38,
|
|
439
|
+
74,
|
|
440
|
+
50
|
|
441
|
+
];
|
|
442
|
+
get playedBars() {
|
|
443
|
+
if (this.durationSec <= 0) return 0;
|
|
444
|
+
const ratio = Math.min(1, Math.max(0, this.currentTimeSec / this.durationSec));
|
|
445
|
+
return Math.round(ratio * this.waveformBars.length);
|
|
446
|
+
}
|
|
354
447
|
durationSec = 0;
|
|
355
448
|
elapsedLabel = "0:00";
|
|
356
449
|
detectedDurationLabel = "";
|
|
@@ -359,16 +452,23 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
359
452
|
return this.playerState?.kind === "playing";
|
|
360
453
|
}
|
|
361
454
|
get isHomeView() {
|
|
362
|
-
return this.
|
|
455
|
+
return this.playerPanel;
|
|
363
456
|
}
|
|
364
457
|
get primaryViews() {
|
|
365
458
|
return this.libraryViews.filter((view) => !COLLECTION_VIEW_IDS.includes(view.id) && !APP_VIEW_IDS.includes(view.id));
|
|
366
459
|
}
|
|
460
|
+
get openViewChildren() {
|
|
461
|
+
return this.primaryViews.find((view) => view.active)?.children ?? [];
|
|
462
|
+
}
|
|
367
463
|
hasQuickView(id) {
|
|
368
464
|
return this.quickViewIds.includes(id);
|
|
369
465
|
}
|
|
466
|
+
get railEntries() {
|
|
467
|
+
return this.libraryViews.flatMap((view) => [view, ...view.children ?? []]);
|
|
468
|
+
}
|
|
370
469
|
get quickViews() {
|
|
371
|
-
|
|
470
|
+
const entries = this.quickViewItems.length ? this.quickViewItems : this.railEntries;
|
|
471
|
+
return this.quickViewIds.map((id) => entries.find((view) => view.id === id)).filter((view) => !!view);
|
|
372
472
|
}
|
|
373
473
|
get appViews() {
|
|
374
474
|
return this.libraryViews.filter((view) => APP_VIEW_IDS.includes(view.id));
|
|
@@ -379,44 +479,18 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
379
479
|
get panelTab() {
|
|
380
480
|
return this.panelOrder.find((panel) => this.isPanelOpen(panel)) ?? "queue";
|
|
381
481
|
}
|
|
382
|
-
get lyricsTitle() {
|
|
383
|
-
return this.lyricsPanel?.title ?? "";
|
|
384
|
-
}
|
|
385
482
|
isPanelOpen(panel) {
|
|
386
|
-
if (panel === "queue") return this.
|
|
387
|
-
|
|
388
|
-
if (panel === "devices") return this.devicesOpen;
|
|
389
|
-
return this.playlistToolsOpen;
|
|
390
|
-
}
|
|
391
|
-
isPanelCollapsed(panel) {
|
|
392
|
-
return this.collapsedPanels.has(panel);
|
|
393
|
-
}
|
|
394
|
-
togglePanelCollapsed(panel) {
|
|
395
|
-
if (!this.collapsedPanels.delete(panel)) this.collapsedPanels.add(panel);
|
|
483
|
+
if (panel === "queue") return this.queuePanelOpen;
|
|
484
|
+
return this.devicesOpen;
|
|
396
485
|
}
|
|
397
486
|
togglePanel(panel) {
|
|
398
487
|
const wasOpen = this.isPanelOpen(panel);
|
|
399
|
-
if (!wasOpen)
|
|
400
|
-
this.revealPanel();
|
|
401
|
-
this.collapsedPanels.delete(panel);
|
|
402
|
-
}
|
|
488
|
+
if (!wasOpen) this.revealPanel();
|
|
403
489
|
if (panel === "devices") {
|
|
404
490
|
this.toggleDevices.emit();
|
|
405
491
|
return;
|
|
406
492
|
}
|
|
407
|
-
|
|
408
|
-
this.lyricsOpen = !wasOpen;
|
|
409
|
-
if (!wasOpen) {
|
|
410
|
-
this.lyricsFollowed = "";
|
|
411
|
-
this.openLyrics.emit();
|
|
412
|
-
}
|
|
413
|
-
return;
|
|
414
|
-
}
|
|
415
|
-
if (panel === "playlists") {
|
|
416
|
-
this.playlistToolsOpen = !wasOpen;
|
|
417
|
-
return;
|
|
418
|
-
}
|
|
419
|
-
this.queueOpen = !wasOpen;
|
|
493
|
+
this.queuePanelOpen = !wasOpen;
|
|
420
494
|
}
|
|
421
495
|
get displayDurationLabel() {
|
|
422
496
|
return this.detectedDurationLabel || this.currentDuration || this.durationFromMeta() || "0:00";
|
|
@@ -451,7 +525,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
451
525
|
return item.album || this.splitSubtitle(item.subtitle)[1] || item.meta || "-";
|
|
452
526
|
}
|
|
453
527
|
durationOf(item) {
|
|
454
|
-
return item.duration || item.meta
|
|
528
|
+
return item.duration || (TIME_LIKE.test(item.meta ?? "") ? item.meta : "");
|
|
455
529
|
}
|
|
456
530
|
togglePrimaryPlayback() {
|
|
457
531
|
if (this.config && this.smartPlayer) {
|
|
@@ -468,6 +542,19 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
468
542
|
seekTo(timeSec) {
|
|
469
543
|
this.smartPlayer?.seekTo(timeSec);
|
|
470
544
|
}
|
|
545
|
+
seekBy(deltaSec) {
|
|
546
|
+
if (Number.isFinite(deltaSec) && deltaSec !== 0) this.smartPlayer?.seekRel(deltaSec);
|
|
547
|
+
}
|
|
548
|
+
get audioOutputSelectable() {
|
|
549
|
+
return this.smartPlayer?.audioOutputSelectable ?? false;
|
|
550
|
+
}
|
|
551
|
+
async applyAudioOutput() {
|
|
552
|
+
if (!this.smartPlayer || this.appliedAudioOutput === this.wantedAudioOutput) return;
|
|
553
|
+
const taken = await this.smartPlayer.setAudioOutput(this.wantedAudioOutput);
|
|
554
|
+
this.appliedAudioOutput = taken ? this.wantedAudioOutput : null;
|
|
555
|
+
this.audioOutputApplied.emit(taken ? this.wantedAudioOutput : "");
|
|
556
|
+
this.cdr.markForCheck();
|
|
557
|
+
}
|
|
471
558
|
contentScrollTop() {
|
|
472
559
|
const panel = this.libraryScroll?.nativeElement;
|
|
473
560
|
if (panel && panel.scrollTop > 0) return panel.scrollTop;
|
|
@@ -504,6 +591,47 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
504
591
|
onSearchInput(event) {
|
|
505
592
|
this.searchTermChange.emit(event.target?.value ?? "");
|
|
506
593
|
}
|
|
594
|
+
get hasSearchQuery() {
|
|
595
|
+
return !!this.searchTerm.trim();
|
|
596
|
+
}
|
|
597
|
+
searchBestMeta(best) {
|
|
598
|
+
return [best.item.subtitle, best.item.meta].filter((part) => !!part).join(" · ");
|
|
599
|
+
}
|
|
600
|
+
searchParts(text) {
|
|
601
|
+
const term = this.searchTerm.trim();
|
|
602
|
+
if (!term) return [{
|
|
603
|
+
text,
|
|
604
|
+
hit: false
|
|
605
|
+
}];
|
|
606
|
+
const haystack = text.toLocaleLowerCase();
|
|
607
|
+
const needle = term.toLocaleLowerCase();
|
|
608
|
+
const parts = [];
|
|
609
|
+
let from = 0;
|
|
610
|
+
for (let at = haystack.indexOf(needle, from); at !== -1; at = haystack.indexOf(needle, from)) {
|
|
611
|
+
if (at > from) parts.push({
|
|
612
|
+
text: text.slice(from, at),
|
|
613
|
+
hit: false
|
|
614
|
+
});
|
|
615
|
+
parts.push({
|
|
616
|
+
text: text.slice(at, at + needle.length),
|
|
617
|
+
hit: true
|
|
618
|
+
});
|
|
619
|
+
from = at + needle.length;
|
|
620
|
+
}
|
|
621
|
+
if (from < text.length) parts.push({
|
|
622
|
+
text: text.slice(from),
|
|
623
|
+
hit: false
|
|
624
|
+
});
|
|
625
|
+
return parts;
|
|
626
|
+
}
|
|
627
|
+
selectViewFacet(facet) {
|
|
628
|
+
if (facet.disabled || facet.active) return;
|
|
629
|
+
this.viewFacetChange.emit(facet.id);
|
|
630
|
+
}
|
|
631
|
+
selectSearchFilter(filter) {
|
|
632
|
+
if (filter.disabled || filter.active) return;
|
|
633
|
+
this.searchFilterChange.emit(filter.id);
|
|
634
|
+
}
|
|
507
635
|
onFileDragEnter(event) {
|
|
508
636
|
if (!this.dragHasFiles(event)) return;
|
|
509
637
|
event.preventDefault();
|
|
@@ -534,6 +662,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
534
662
|
}
|
|
535
663
|
onPlayerStateChange(state) {
|
|
536
664
|
this.playerState = state;
|
|
665
|
+
if (state.kind === "playing") this.applyAudioOutput();
|
|
537
666
|
this.playerStateChange.emit(state);
|
|
538
667
|
this.cdr.markForCheck();
|
|
539
668
|
}
|
|
@@ -555,33 +684,65 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
555
684
|
}
|
|
556
685
|
this.queuePanelOpen = !this.queuePanelOpen;
|
|
557
686
|
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
687
|
+
onEscape() {
|
|
688
|
+
if (this.trackMenu) {
|
|
689
|
+
this.dismissTrackMenu();
|
|
690
|
+
return;
|
|
691
|
+
}
|
|
692
|
+
if (this.notificationsPage) {
|
|
693
|
+
this.dismissNotifications();
|
|
694
|
+
return;
|
|
695
|
+
}
|
|
696
|
+
if (this.devicesOpen) {
|
|
697
|
+
this.dismissDevices();
|
|
698
|
+
return;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
closeDialogsOnPointerOutside(event) {
|
|
702
|
+
const target = event.target instanceof Element ? event.target : null;
|
|
703
|
+
if (this.notificationsPage && !target?.closest(".ngxsp-wmp-bellWrap")) this.closeNotifications();
|
|
704
|
+
if (this.devicesOpen && !target?.closest(".ngxsp-wmp-switchWrap")) this.closeDevices();
|
|
705
|
+
}
|
|
706
|
+
closeNotifications() {
|
|
707
|
+
if (this.notificationsPage) this.notificationsOpen.emit();
|
|
708
|
+
}
|
|
709
|
+
closeDevices() {
|
|
710
|
+
if (this.devicesOpen) this.toggleDevices.emit();
|
|
711
|
+
}
|
|
712
|
+
dismissNotifications() {
|
|
713
|
+
this.closeNotifications();
|
|
714
|
+
this.restoreFocusTo(".ngxsp-wmp-bellButton");
|
|
715
|
+
}
|
|
716
|
+
dismissDevices() {
|
|
717
|
+
this.closeDevices();
|
|
718
|
+
this.restoreFocusTo(".ngxsp-wmp-devicesButton");
|
|
719
|
+
}
|
|
720
|
+
restoreFocusTo(selector) {
|
|
721
|
+
setTimeout(() => {
|
|
722
|
+
Array.from(this.host.nativeElement.querySelectorAll(selector)).find((button) => button.offsetParent !== null)?.focus();
|
|
568
723
|
});
|
|
724
|
+
}
|
|
725
|
+
get panelSwitches() {
|
|
726
|
+
const switches = [];
|
|
569
727
|
if (this.showDeviceButton) switches.push({
|
|
570
728
|
id: "devices",
|
|
571
729
|
icon: this.devicesOpen ? "devices-active" : "devices",
|
|
572
730
|
label: this.devicesOpen ? this.hideDevicesLabel : this.devicesLabel
|
|
573
731
|
});
|
|
574
|
-
switches.push({
|
|
575
|
-
id: "playlists",
|
|
576
|
-
icon: "layers",
|
|
577
|
-
label: this.playlistsLabel
|
|
578
|
-
});
|
|
579
732
|
return switches;
|
|
580
733
|
}
|
|
734
|
+
get columnSwitches() {
|
|
735
|
+
return this.panelSwitches.filter((panel) => panel.id !== "devices");
|
|
736
|
+
}
|
|
581
737
|
isPanelShowing(panel) {
|
|
738
|
+
if (panel === "devices") return this.devicesOpen;
|
|
582
739
|
return this.queuePanelOpen && this.isPanelOpen(panel);
|
|
583
740
|
}
|
|
584
741
|
togglePanelFromBar(panel) {
|
|
742
|
+
if (panel === "devices") {
|
|
743
|
+
this.toggleDevices.emit();
|
|
744
|
+
return;
|
|
745
|
+
}
|
|
585
746
|
if (!this.isPanelShowing(panel)) {
|
|
586
747
|
this.selectPanelTab(panel);
|
|
587
748
|
return;
|
|
@@ -613,6 +774,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
613
774
|
this.panelSheetOpen = false;
|
|
614
775
|
setTimeout(() => this.sheetButtonEl?.nativeElement.focus());
|
|
615
776
|
}
|
|
777
|
+
onSheetKeys(event) {
|
|
778
|
+
if (!this.panelSheetOpen) return;
|
|
779
|
+
if (event.currentTarget instanceof HTMLElement) keepTabInside(event, event.currentTarget);
|
|
780
|
+
}
|
|
616
781
|
get hasCompactLyrics() {
|
|
617
782
|
return (this.lyricsPanel?.lines.length ?? 0) > 0;
|
|
618
783
|
}
|
|
@@ -629,8 +794,17 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
629
794
|
}
|
|
630
795
|
return found;
|
|
631
796
|
}
|
|
797
|
+
canMoveQueueItem(id, direction) {
|
|
798
|
+
const index = this.queueItems.findIndex((item) => item.id === id);
|
|
799
|
+
if (index < 0) return false;
|
|
800
|
+
return direction === "up" ? index > 0 : index < this.queueItems.length - 1;
|
|
801
|
+
}
|
|
802
|
+
rowTooltip(item) {
|
|
803
|
+
return [item.title, item.subtitle].filter(Boolean).join(" - ");
|
|
804
|
+
}
|
|
632
805
|
playFromLyrics(timeSec) {
|
|
633
806
|
this.smartPlayer?.seekTo(timeSec);
|
|
807
|
+
if (!this.isPlaying) this.togglePrimaryPlayback();
|
|
634
808
|
this.seekLyrics.emit(timeSec);
|
|
635
809
|
}
|
|
636
810
|
ngAfterViewChecked() {
|
|
@@ -649,29 +823,20 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
649
823
|
behavior: reduced ? "auto" : "smooth"
|
|
650
824
|
});
|
|
651
825
|
}
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
const container = this.lyricsLinesEl?.nativeElement;
|
|
664
|
-
const active = container?.querySelector(".ngxsp-wmp-lyricsLine.active");
|
|
665
|
-
const key = active && container ? `${Array.prototype.indexOf.call(container.children, active)}:${active.textContent}` : "";
|
|
666
|
-
if (!active || key === this.lyricsFollowed) return;
|
|
667
|
-
this.lyricsFollowed = key;
|
|
668
|
-
active.scrollIntoView({
|
|
669
|
-
block: "center",
|
|
826
|
+
this.playerLyricsFollowed = this.centreSungLine(this.playerLyricsEl?.nativeElement, "button.active", this.playerLyricsFollowed, reduced);
|
|
827
|
+
this.compactLyricsFollowed = this.centreSungLine(this.compactLyricsEl?.nativeElement, ".ngxsp-wmp-compactLyricsLine.active", this.compactLyricsFollowed, reduced);
|
|
828
|
+
}
|
|
829
|
+
centreSungLine(container, selector, followed, reduced) {
|
|
830
|
+
const sung = container?.querySelector(selector);
|
|
831
|
+
const key = container && sung ? `${this.currentTrackId}:${this.activeLyricsIndex}:${container.clientHeight}` : "";
|
|
832
|
+
if (!container || !sung || key === followed) return followed;
|
|
833
|
+
const box = container.getBoundingClientRect();
|
|
834
|
+
const line = sung.getBoundingClientRect();
|
|
835
|
+
container.scrollTo({
|
|
836
|
+
top: container.scrollTop + (line.top - box.top) - (box.height - line.height) / 2,
|
|
670
837
|
behavior: reduced ? "auto" : "smooth"
|
|
671
838
|
});
|
|
672
|
-
|
|
673
|
-
togglePlaylistTools() {
|
|
674
|
-
this.playlistToolsOpen = !this.playlistToolsOpen;
|
|
839
|
+
return key;
|
|
675
840
|
}
|
|
676
841
|
get hasPlaylists() {
|
|
677
842
|
return this.playlistOptions.length > 0;
|
|
@@ -679,10 +844,60 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
679
844
|
isRemovable(itemId) {
|
|
680
845
|
return this.removableItemIds.includes(itemId);
|
|
681
846
|
}
|
|
682
|
-
rowActionsWidth(
|
|
683
|
-
const buttons =
|
|
847
|
+
rowActionsWidth(section) {
|
|
848
|
+
const buttons = section.kind === "groups" ? 2 + (section.items.some((item) => this.isRemovable(item.id)) ? 1 : 0) : 2 + (this.hasPlaylists ? 1 : 0) + (this.ringtoneAvailable && section.items.some((item) => !item.live) ? 1 : 0);
|
|
684
849
|
return `${buttons * 32 + (buttons - 1) * 2 + 8}px`;
|
|
685
850
|
}
|
|
851
|
+
trackMenu = null;
|
|
852
|
+
trackMenuOpener = null;
|
|
853
|
+
trackMenuBox;
|
|
854
|
+
openTrackMenu(event, item) {
|
|
855
|
+
event.preventDefault();
|
|
856
|
+
event.stopPropagation();
|
|
857
|
+
const asked = event.currentTarget instanceof HTMLElement ? event.currentTarget : null;
|
|
858
|
+
this.trackMenuOpener = asked && !asked.matches("button") ? asked.querySelector("button") : asked;
|
|
859
|
+
const width = 240;
|
|
860
|
+
const height = 48 + (this.isRemovable(item.id) ? 3 : 2) * 36;
|
|
861
|
+
const view = this.document.defaultView;
|
|
862
|
+
const maxX = (view?.innerWidth ?? width) - width - 8;
|
|
863
|
+
const maxY = (view?.innerHeight ?? height) - height - 8;
|
|
864
|
+
this.trackMenu = {
|
|
865
|
+
id: item.id,
|
|
866
|
+
title: item.title,
|
|
867
|
+
x: Math.max(8, Math.min(event.clientX, Math.max(8, maxX))),
|
|
868
|
+
y: Math.max(8, Math.min(event.clientY, Math.max(8, maxY)))
|
|
869
|
+
};
|
|
870
|
+
setTimeout(() => this.trackMenuBox?.nativeElement.focus());
|
|
871
|
+
}
|
|
872
|
+
closeTrackMenu() {
|
|
873
|
+
this.trackMenu = null;
|
|
874
|
+
this.trackMenuOpener = null;
|
|
875
|
+
}
|
|
876
|
+
dismissTrackMenu() {
|
|
877
|
+
const opener = this.trackMenuOpener;
|
|
878
|
+
this.closeTrackMenu();
|
|
879
|
+
setTimeout(() => opener?.focus());
|
|
880
|
+
}
|
|
881
|
+
runTrackAction(action) {
|
|
882
|
+
const id = this.trackMenu?.id;
|
|
883
|
+
const opener = this.trackMenuOpener;
|
|
884
|
+
this.closeTrackMenu();
|
|
885
|
+
if (!id) return;
|
|
886
|
+
if (action === "next") this.addLibraryItemNext.emit(id);
|
|
887
|
+
else if (action === "queue") this.addLibraryItemToQueue.emit(id);
|
|
888
|
+
else this.removeLibraryItem.emit(id);
|
|
889
|
+
setTimeout(() => {
|
|
890
|
+
if (opener && isShown(opener)) opener.focus();
|
|
891
|
+
});
|
|
892
|
+
}
|
|
893
|
+
onMenuKeys(event) {
|
|
894
|
+
if (event.key === "Tab") {
|
|
895
|
+
event.preventDefault();
|
|
896
|
+
this.dismissTrackMenu();
|
|
897
|
+
return;
|
|
898
|
+
}
|
|
899
|
+
walkWithArrows(event, MENU_WALK);
|
|
900
|
+
}
|
|
686
901
|
addToPlaylist(playlistId) {
|
|
687
902
|
const target = this.playlistTargetTrack;
|
|
688
903
|
if (target) this.addTrackToPlaylist.emit({
|
|
@@ -746,12 +961,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
746
961
|
if (!name) return;
|
|
747
962
|
this.createPlaylist.emit(name);
|
|
748
963
|
this.playlistDraftName = "";
|
|
749
|
-
this.playlistToolsOpen = true;
|
|
750
964
|
}
|
|
751
965
|
startRenamePlaylist(id, name) {
|
|
752
966
|
this.editingPlaylistId = id;
|
|
753
967
|
this.renameDraftName = name;
|
|
754
|
-
this.playlistToolsOpen = true;
|
|
755
968
|
}
|
|
756
969
|
onRenameDraftInput(event) {
|
|
757
970
|
this.renameDraftName = event.target?.value ?? "";
|
|
@@ -788,7 +1001,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
788
1001
|
}
|
|
789
1002
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
790
1003
|
minVersion: "12.0.0",
|
|
791
|
-
version: "22.
|
|
1004
|
+
version: "22.3.0",
|
|
792
1005
|
ngImport: i0,
|
|
793
1006
|
type: NgxSmartPlayerAudioUiComponent,
|
|
794
1007
|
deps: [],
|
|
@@ -796,7 +1009,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
796
1009
|
});
|
|
797
1010
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
798
1011
|
minVersion: "17.0.0",
|
|
799
|
-
version: "22.
|
|
1012
|
+
version: "22.3.0",
|
|
800
1013
|
type: NgxSmartPlayerAudioUiComponent,
|
|
801
1014
|
isStandalone: true,
|
|
802
1015
|
selector: "ngxsp-audio-player-ui",
|
|
@@ -806,6 +1019,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
806
1019
|
ports: "ports",
|
|
807
1020
|
engines: "engines",
|
|
808
1021
|
debug: "debug",
|
|
1022
|
+
handlingFailure: "handlingFailure",
|
|
809
1023
|
startTimeSec: "startTimeSec",
|
|
810
1024
|
autoplayOnInit: "autoplayOnInit",
|
|
811
1025
|
playRequest: "playRequest",
|
|
@@ -817,9 +1031,35 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
817
1031
|
repeatLabel: "repeatLabel",
|
|
818
1032
|
hasPlaylistControls: "hasPlaylistControls",
|
|
819
1033
|
castEnabled: "castEnabled",
|
|
1034
|
+
castLabels: "castLabels",
|
|
820
1035
|
libraryViewsLabel: "libraryViewsLabel",
|
|
821
1036
|
transportLabel: "transportLabel",
|
|
822
1037
|
seekLabel: "seekLabel",
|
|
1038
|
+
detailHead: "detailHead",
|
|
1039
|
+
sourcesPage: "sourcesPage",
|
|
1040
|
+
playerPage: "playerPage",
|
|
1041
|
+
notificationsPage: "notificationsPage",
|
|
1042
|
+
emptyPage: "emptyPage",
|
|
1043
|
+
notificationsLabel: "notificationsLabel",
|
|
1044
|
+
notificationsUnread: "notificationsUnread",
|
|
1045
|
+
playerOpenLabel: "playerOpenLabel",
|
|
1046
|
+
viewIntro: "viewIntro",
|
|
1047
|
+
viewFacets: "viewFacets",
|
|
1048
|
+
viewFacetLabel: "viewFacetLabel",
|
|
1049
|
+
searchResultsTitle: "searchResultsTitle",
|
|
1050
|
+
searchResultsSummary: "searchResultsSummary",
|
|
1051
|
+
searchFilters: "searchFilters",
|
|
1052
|
+
searchFilterLabel: "searchFilterLabel",
|
|
1053
|
+
searchBest: "searchBest",
|
|
1054
|
+
searchBestTitle: "searchBestTitle",
|
|
1055
|
+
recentSearches: "recentSearches",
|
|
1056
|
+
recentSearchesTitle: "recentSearchesTitle",
|
|
1057
|
+
viewMode: "viewMode",
|
|
1058
|
+
gridLabel: "gridLabel",
|
|
1059
|
+
tableLabel: "tableLabel",
|
|
1060
|
+
viewSwitchLabel: "viewSwitchLabel",
|
|
1061
|
+
trail: "trail",
|
|
1062
|
+
trailLabel: "trailLabel",
|
|
823
1063
|
libraryTitle: "libraryTitle",
|
|
824
1064
|
libraryContentTitle: "libraryContentTitle",
|
|
825
1065
|
backLabel: "backLabel",
|
|
@@ -829,7 +1069,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
829
1069
|
searchLabel: "searchLabel",
|
|
830
1070
|
searchTerm: "searchTerm",
|
|
831
1071
|
libraryViews: "libraryViews",
|
|
1072
|
+
playerPanel: "playerPanel",
|
|
832
1073
|
quickViewIds: "quickViewIds",
|
|
1074
|
+
quickViewItems: "quickViewItems",
|
|
833
1075
|
quickViewsLabel: "quickViewsLabel",
|
|
834
1076
|
activeLibraryView: "activeLibraryView",
|
|
835
1077
|
librarySections: "librarySections",
|
|
@@ -874,7 +1116,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
874
1116
|
saveLabel: "saveLabel",
|
|
875
1117
|
cancelLabel: "cancelLabel",
|
|
876
1118
|
refreshLabel: "refreshLabel",
|
|
877
|
-
|
|
1119
|
+
queueCountLabel: "queueCountLabel",
|
|
878
1120
|
newPlaylistPlaceholder: "newPlaylistPlaceholder",
|
|
879
1121
|
renamePlaylistPlaceholder: "renamePlaylistPlaceholder",
|
|
880
1122
|
remotePlaybackLabel: "remotePlaybackLabel",
|
|
@@ -895,11 +1137,18 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
895
1137
|
favoriteLabel: "favoriteLabel",
|
|
896
1138
|
ringtoneAvailable: "ringtoneAvailable",
|
|
897
1139
|
ringtoneLabel: "ringtoneLabel",
|
|
1140
|
+
trackActionsLabel: "trackActionsLabel",
|
|
898
1141
|
favoriteActiveLabel: "favoriteActiveLabel",
|
|
899
1142
|
favoritesLabel: "favoritesLabel",
|
|
900
1143
|
queueItems: "queueItems",
|
|
1144
|
+
queueEditable: "queueEditable",
|
|
1145
|
+
queueMoveUpLabel: "queueMoveUpLabel",
|
|
1146
|
+
queueMoveDownLabel: "queueMoveDownLabel",
|
|
1147
|
+
queueRemoveLabel: "queueRemoveLabel",
|
|
901
1148
|
currentTrackAvailable: "currentTrackAvailable",
|
|
902
1149
|
playlistOptions: "playlistOptions",
|
|
1150
|
+
playlistsPageOpen: "playlistsPageOpen",
|
|
1151
|
+
playlistsSummary: "playlistsSummary",
|
|
903
1152
|
playlistTargetTrack: "playlistTargetTrack",
|
|
904
1153
|
removableItemIds: "removableItemIds",
|
|
905
1154
|
stationForm: "stationForm",
|
|
@@ -910,12 +1159,21 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
910
1159
|
lyricsPanel: "lyricsPanel",
|
|
911
1160
|
showDeviceButton: "showDeviceButton",
|
|
912
1161
|
deviceItems: "deviceItems",
|
|
1162
|
+
outputItems: "outputItems",
|
|
1163
|
+
audioOutputId: "audioOutputId",
|
|
1164
|
+
castGroupLabel: "castGroupLabel",
|
|
1165
|
+
castGroupHint: "castGroupHint",
|
|
1166
|
+
outputGroupLabel: "outputGroupLabel",
|
|
1167
|
+
outputGroupHint: "outputGroupHint",
|
|
1168
|
+
searchDevicesLabel: "searchDevicesLabel",
|
|
1169
|
+
keepQueueLabel: "keepQueueLabel",
|
|
913
1170
|
closeLabel: "closeLabel",
|
|
914
1171
|
sourceChangeLabel: "sourceChangeLabel",
|
|
915
1172
|
sourceChangeTitle: "sourceChangeTitle",
|
|
916
1173
|
sourceDropTitle: "sourceDropTitle",
|
|
917
1174
|
sourceDropHint: "sourceDropHint",
|
|
918
1175
|
sourceChangeAccept: "sourceChangeAccept",
|
|
1176
|
+
showSourceButton: "showSourceButton",
|
|
919
1177
|
folderImportLabel: "folderImportLabel",
|
|
920
1178
|
libraryStatus: "libraryStatus",
|
|
921
1179
|
libraryBusy: "libraryBusy",
|
|
@@ -932,8 +1190,24 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
932
1190
|
revealFileLabel: "revealFileLabel"
|
|
933
1191
|
},
|
|
934
1192
|
outputs: {
|
|
1193
|
+
trailStep: "trailStep",
|
|
1194
|
+
viewModeChange: "viewModeChange",
|
|
1195
|
+
detailHeadAction: "detailHeadAction",
|
|
1196
|
+
sourceAction: "sourceAction",
|
|
1197
|
+
sectionMore: "sectionMore",
|
|
1198
|
+
viewFacetChange: "viewFacetChange",
|
|
1199
|
+
playerOpen: "playerOpen",
|
|
1200
|
+
emptyPageAction: "emptyPageAction",
|
|
1201
|
+
notificationAction: "notificationAction",
|
|
1202
|
+
notificationsOpen: "notificationsOpen",
|
|
1203
|
+
notificationsRead: "notificationsRead",
|
|
1204
|
+
playerBack: "playerBack",
|
|
1205
|
+
searchFilterChange: "searchFilterChange",
|
|
1206
|
+
searchBestAction: "searchBestAction",
|
|
1207
|
+
searchAgain: "searchAgain",
|
|
935
1208
|
compactModeChange: "compactModeChange",
|
|
936
1209
|
compactLyricsToggle: "compactLyricsToggle",
|
|
1210
|
+
playlistsOpen: "playlistsOpen",
|
|
937
1211
|
settingsBack: "settingsBack",
|
|
938
1212
|
ended: "ended",
|
|
939
1213
|
videoSize: "videoSize",
|
|
@@ -953,7 +1227,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
953
1227
|
addLibraryItemNext: "addLibraryItemNext",
|
|
954
1228
|
addLibraryItemToQueue: "addLibraryItemToQueue",
|
|
955
1229
|
selectQueueItem: "selectQueueItem",
|
|
1230
|
+
queueMoveUp: "queueMoveUp",
|
|
1231
|
+
queueMoveDown: "queueMoveDown",
|
|
1232
|
+
queueRemove: "queueRemove",
|
|
956
1233
|
createPlaylist: "createPlaylist",
|
|
1234
|
+
playerPageAction: "playerPageAction",
|
|
957
1235
|
addCurrentToPlaylist: "addCurrentToPlaylist",
|
|
958
1236
|
addTrackToPlaylist: "addTrackToPlaylist",
|
|
959
1237
|
requestPlaylistTarget: "requestPlaylistTarget",
|
|
@@ -967,7 +1245,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
967
1245
|
deletePlaylist: "deletePlaylist",
|
|
968
1246
|
toggleDevices: "toggleDevices",
|
|
969
1247
|
refreshDevices: "refreshDevices",
|
|
970
|
-
|
|
1248
|
+
selectOutput: "selectOutput",
|
|
1249
|
+
keepQueueAsPlaylist: "keepQueueAsPlaylist",
|
|
1250
|
+
audioOutputApplied: "audioOutputApplied",
|
|
971
1251
|
refreshLyrics: "refreshLyrics",
|
|
972
1252
|
seekLyrics: "seekLyrics",
|
|
973
1253
|
playOnDevice: "playOnDevice",
|
|
@@ -985,6 +1265,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
985
1265
|
outputVolumeChange: "outputVolumeChange",
|
|
986
1266
|
outputMuteToggle: "outputMuteToggle"
|
|
987
1267
|
},
|
|
1268
|
+
host: { listeners: { "document:keydown.escape": "onEscape()" } },
|
|
988
1269
|
viewQueries: [
|
|
989
1270
|
{
|
|
990
1271
|
propertyName: "smartPlayer",
|
|
@@ -1005,15 +1286,15 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1005
1286
|
descendants: true
|
|
1006
1287
|
},
|
|
1007
1288
|
{
|
|
1008
|
-
propertyName: "
|
|
1289
|
+
propertyName: "queueListEl",
|
|
1009
1290
|
first: true,
|
|
1010
|
-
predicate: ["
|
|
1291
|
+
predicate: ["queueList"],
|
|
1011
1292
|
descendants: true
|
|
1012
1293
|
},
|
|
1013
1294
|
{
|
|
1014
|
-
propertyName: "
|
|
1295
|
+
propertyName: "playerLyricsEl",
|
|
1015
1296
|
first: true,
|
|
1016
|
-
predicate: ["
|
|
1297
|
+
predicate: ["playerLyricsLines"],
|
|
1017
1298
|
descendants: true
|
|
1018
1299
|
},
|
|
1019
1300
|
{
|
|
@@ -1033,6 +1314,12 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1033
1314
|
first: true,
|
|
1034
1315
|
predicate: ["sheetButton"],
|
|
1035
1316
|
descendants: true
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
propertyName: "trackMenuBox",
|
|
1320
|
+
first: true,
|
|
1321
|
+
predicate: ["trackMenuBox"],
|
|
1322
|
+
descendants: true
|
|
1036
1323
|
}
|
|
1037
1324
|
],
|
|
1038
1325
|
ngImport: i0,
|
|
@@ -1053,6 +1340,40 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1053
1340
|
(dragleave)="onFileDragLeave($event)"
|
|
1054
1341
|
(drop)="onFileDrop($event)"
|
|
1055
1342
|
>
|
|
1343
|
+
@if (trackMenu) {
|
|
1344
|
+
<button
|
|
1345
|
+
class="ngxsp-wmp-trackMenuScrim"
|
|
1346
|
+
type="button"
|
|
1347
|
+
[attr.aria-label]="closeLabel + ' - ' + trackMenu.title"
|
|
1348
|
+
(click)="dismissTrackMenu()"
|
|
1349
|
+
(contextmenu)="$event.preventDefault(); dismissTrackMenu()"
|
|
1350
|
+
></button>
|
|
1351
|
+
<div
|
|
1352
|
+
#trackMenuBox
|
|
1353
|
+
class="ngxsp-wmp-trackMenu"
|
|
1354
|
+
role="menu"
|
|
1355
|
+
tabindex="-1"
|
|
1356
|
+
[attr.aria-label]="trackMenu.title"
|
|
1357
|
+
[style.left.px]="trackMenu.x"
|
|
1358
|
+
[style.top.px]="trackMenu.y"
|
|
1359
|
+
(keydown)="onMenuKeys($event)"
|
|
1360
|
+
>
|
|
1361
|
+
<!-- Le nom de la boîte le dit déjà : laissé dans l'arbre, il s'entendait deux fois. -->
|
|
1362
|
+
<strong class="ngxsp-wmp-trackMenuTitle" aria-hidden="true">{{ trackMenu.title }}</strong>
|
|
1363
|
+
<button type="button" role="menuitem" (click)="runTrackAction('next')">
|
|
1364
|
+
<ngxsp-smart-icon name="next" /><span>{{ queueNextLabel }}</span>
|
|
1365
|
+
</button>
|
|
1366
|
+
<button type="button" role="menuitem" (click)="runTrackAction('queue')">
|
|
1367
|
+
<ngxsp-smart-icon name="playlist-plus" /><span>{{ queueAddLabel }}</span>
|
|
1368
|
+
</button>
|
|
1369
|
+
@if (isRemovable(trackMenu.id)) {
|
|
1370
|
+
<button type="button" role="menuitem" class="danger" (click)="runTrackAction('remove')">
|
|
1371
|
+
<ngxsp-smart-icon name="close" /><span>{{ removeItemLabel }}</span>
|
|
1372
|
+
</button>
|
|
1373
|
+
}
|
|
1374
|
+
</div>
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1056
1377
|
@if (fileDragActive) {
|
|
1057
1378
|
<div class="ngxsp-wmp-dropOverlay" aria-hidden="true">
|
|
1058
1379
|
<span class="ngxsp-wmp-dropIcon"><ngxsp-smart-icon name="folder" /></span>
|
|
@@ -1064,6 +1385,9 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1064
1385
|
}
|
|
1065
1386
|
|
|
1066
1387
|
@if (config) {
|
|
1388
|
+
<!-- The engine, and only the engine: the cover and the waveform of this application are its
|
|
1389
|
+
own, so the player is mounted in a box of a pixel. Its own stage for a sound — a disc
|
|
1390
|
+
turning, five bars pulsing — went on turning inside that box, clipped away. -->
|
|
1067
1391
|
<div class="ngxsp-wmp-engineMount" aria-hidden="true" inert>
|
|
1068
1392
|
<ngx-smart-player
|
|
1069
1393
|
[config]="config"
|
|
@@ -1071,6 +1395,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1071
1395
|
[ports]="ports"
|
|
1072
1396
|
[engines]="engines"
|
|
1073
1397
|
[debug]="debug"
|
|
1398
|
+
[handlingFailure]="handlingFailure"
|
|
1074
1399
|
[startTimeSec]="startTimeSec"
|
|
1075
1400
|
[autoplayOnInit]="autoplayOnInit"
|
|
1076
1401
|
[playRequest]="playRequest"
|
|
@@ -1082,7 +1407,10 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1082
1407
|
[repeatLabel]="repeatLabel"
|
|
1083
1408
|
[hasPlaylistControls]="hasPlaylistControls"
|
|
1084
1409
|
[mediaMode]="'audio'"
|
|
1410
|
+
[showAudioVisual]="false"
|
|
1085
1411
|
[castEnabled]="castEnabled"
|
|
1412
|
+
[castLabels]="castLabels"
|
|
1413
|
+
|
|
1086
1414
|
(ended)="ended.emit()"
|
|
1087
1415
|
(videoSize)="videoSize.emit($event)"
|
|
1088
1416
|
(prev)="prev.emit()"
|
|
@@ -1113,33 +1441,17 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1113
1441
|
</label>
|
|
1114
1442
|
|
|
1115
1443
|
<div class="ngxsp-wmp-titleActions">
|
|
1116
|
-
@if (quickViews.length) {
|
|
1117
|
-
<!-- On a phone the rail is a strip one scrolls, and these views sat at the far end of
|
|
1118
|
-
it: settings were eight drags away, for the view a listener opens most. They move
|
|
1119
|
-
up here, on the actions side, and leave the strip at that width rather than being
|
|
1120
|
-
listed twice, which is what data-quick does below. Icon only: four more words
|
|
1121
|
-
beside the folder button would read as a menu rather than as a way out of one. -->
|
|
1122
|
-
<nav class="ngxsp-wmp-quickViews" [attr.aria-label]="quickViewsLabel">
|
|
1123
|
-
@for (view of quickViews; track view.id) {
|
|
1124
|
-
<button
|
|
1125
|
-
class="ngxsp-wmp-quickView"
|
|
1126
|
-
type="button"
|
|
1127
|
-
[class.active]="view.active"
|
|
1128
|
-
[attr.aria-current]="view.active ? 'page' : null"
|
|
1129
|
-
[title]="view.label"
|
|
1130
|
-
[attr.aria-label]="view.label"
|
|
1131
|
-
(click)="selectLibraryView.emit(view.id)"
|
|
1132
|
-
>
|
|
1133
|
-
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
1134
|
-
</button>
|
|
1135
|
-
}
|
|
1136
|
-
</nav>
|
|
1137
|
-
}
|
|
1138
1444
|
@if (statusMessage) {
|
|
1139
1445
|
<div class="ngxsp-wmp-status" [class.success]="statusKind === 'success'" [class.error]="statusKind === 'error'" [attr.role]="statusKind === 'error' ? 'alert' : 'status'" [attr.aria-live]="statusKind === 'error' ? 'assertive' : 'polite'" aria-atomic="true" [title]="statusMessage">
|
|
1140
1446
|
{{ statusMessage }}
|
|
1141
1447
|
</div>
|
|
1142
1448
|
}
|
|
1449
|
+
<!--
|
|
1450
|
+
What the top bar carries, when it carries anything. A host whose Sources page owns the
|
|
1451
|
+
folders says so by turning this off: one place for one thing beats two that can give
|
|
1452
|
+
different answers. A host without such a page keeps it, and that is the default.
|
|
1453
|
+
-->
|
|
1454
|
+
@if (showSourceButton) {
|
|
1143
1455
|
<!-- The import action lives in the top bar, as in the video player. A folder is what
|
|
1144
1456
|
builds the library, so it is the action wherever one can be loaded. -->
|
|
1145
1457
|
@if (folderImportLabel) {
|
|
@@ -1153,6 +1465,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1153
1465
|
<span>{{ sourceChangeLabel }}</span>
|
|
1154
1466
|
</button>
|
|
1155
1467
|
}
|
|
1468
|
+
}
|
|
1156
1469
|
<input #audioFileInput class="ngxsp-wmp-fileInput" type="file" [accept]="sourceChangeAccept" aria-hidden="true" tabindex="-1" (change)="onSourceFileInput($event)" />
|
|
1157
1470
|
@if (languageOptions.length) {
|
|
1158
1471
|
<div class="ngxsp-wmp-segmented ngxsp-wmp-languageSwitch" role="group" [attr.aria-label]="languageLabel">
|
|
@@ -1164,8 +1477,51 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1164
1477
|
</div>
|
|
1165
1478
|
}
|
|
1166
1479
|
<button class="ngxsp-wmp-iconButton" type="button" [class.active]="queuePanelOpen" [attr.aria-pressed]="queuePanelOpen" [title]="queueTitle" [attr.aria-label]="queueTitle" (click)="toggleQueuePanel()">
|
|
1167
|
-
<ngxsp-smart-icon name="
|
|
1480
|
+
<ngxsp-smart-icon name="queue" />
|
|
1168
1481
|
</button>
|
|
1482
|
+
<!-- The bell the compact boards draw, with the dot that says something happened and
|
|
1483
|
+
nobody has looked. The video player has had one; this side had none. -->
|
|
1484
|
+
<!--
|
|
1485
|
+
What the application did without being asked is read in passing, over whatever one
|
|
1486
|
+
was doing. Notifications.dc.html hangs it under the bell: a page took the whole
|
|
1487
|
+
window away to say it, and then had to be left again.
|
|
1488
|
+
-->
|
|
1489
|
+
<!-- Escape closes it, wherever the keyboard is: on the bell, or inside the dialog. -->
|
|
1490
|
+
<span class="ngxsp-wmp-bellWrap">
|
|
1491
|
+
<!-- Escape closes it from here as well as from inside: a dialog one cannot dismiss by
|
|
1492
|
+
key is a trap, and the hand is usually still on the button that opened it. -->
|
|
1493
|
+
<button class="ngxsp-wmp-iconButton ngxsp-wmp-bellButton" type="button" aria-haspopup="dialog" [class.active]="!!notificationsPage" [attr.aria-expanded]="!!notificationsPage" [attr.aria-label]="notificationsUnread ? notificationsLabel + ' (' + notificationsUnread + ')' : notificationsLabel" [title]="notificationsLabel" (click)="notificationsOpen.emit()">
|
|
1494
|
+
<ngxsp-smart-icon name="bell" />
|
|
1495
|
+
@if (notificationsUnread) { <i class="ngxsp-wmp-bellDot" aria-hidden="true"></i> }
|
|
1496
|
+
</button>
|
|
1497
|
+
@if (notificationsPage) {
|
|
1498
|
+
<div class="ngxsp-wmp-notificationsPopover" role="dialog" [attr.aria-label]="notificationsLabel">
|
|
1499
|
+
<ngxsp-notifications [page]="notificationsPage" (entryAction)="notificationAction.emit($event)" (markAllRead)="notificationsRead.emit()" />
|
|
1500
|
+
</div>
|
|
1501
|
+
}
|
|
1502
|
+
</span>
|
|
1503
|
+
@if (quickViews.length) {
|
|
1504
|
+
<!-- On a phone the rail is a strip one scrolls, and these views sat at the far end of
|
|
1505
|
+
it: settings were eight drags away, for the view a listener opens most. They move
|
|
1506
|
+
up here, on the actions side, and leave the strip at that width rather than being
|
|
1507
|
+
listed twice, which is what data-quick does below. Icon only: four more words
|
|
1508
|
+
beside the folder button would read as a menu rather than as a way out of one. -->
|
|
1509
|
+
<nav class="ngxsp-wmp-quickViews" [attr.aria-label]="quickViewsLabel">
|
|
1510
|
+
@for (view of quickViews; track view.id) {
|
|
1511
|
+
<button
|
|
1512
|
+
class="ngxsp-wmp-quickView"
|
|
1513
|
+
type="button"
|
|
1514
|
+
[class.active]="view.active"
|
|
1515
|
+
[attr.aria-current]="view.active ? 'page' : null"
|
|
1516
|
+
[title]="view.label"
|
|
1517
|
+
[attr.aria-label]="view.label"
|
|
1518
|
+
(click)="selectLibraryView.emit(view.id)"
|
|
1519
|
+
>
|
|
1520
|
+
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
1521
|
+
</button>
|
|
1522
|
+
}
|
|
1523
|
+
</nav>
|
|
1524
|
+
}
|
|
1169
1525
|
</div>
|
|
1170
1526
|
</header>
|
|
1171
1527
|
|
|
@@ -1173,13 +1529,25 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1173
1529
|
@if (libraryViews.length) {
|
|
1174
1530
|
<nav class="ngxsp-wmp-nav" [attr.aria-label]="libraryViewsLabel">
|
|
1175
1531
|
@for (view of primaryViews; track view.id) {
|
|
1176
|
-
<button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
|
|
1532
|
+
<button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-expanded]="view.children?.length ? !!view.active : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
|
|
1177
1533
|
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
1178
1534
|
<span>{{ view.label }}</span>
|
|
1179
|
-
@if (view.
|
|
1535
|
+
@if (view.children?.length) {
|
|
1536
|
+
<ngxsp-smart-icon class="ngxsp-wmp-navChevron" [name]="view.active ? 'chevron-down' : 'chevron-right'" />
|
|
1537
|
+
} @else if (view.count !== undefined) {
|
|
1180
1538
|
<small>{{ view.count }}</small>
|
|
1181
1539
|
}
|
|
1182
1540
|
</button>
|
|
1541
|
+
@if (view.active) {
|
|
1542
|
+
@for (child of view.children ?? []; track child.id) {
|
|
1543
|
+
<button class="ngxsp-wmp-navItem ngxsp-wmp-navChild" [class.active]="child.active" type="button" [attr.aria-current]="child.active ? 'page' : null" [attr.aria-label]="child.count !== undefined ? child.label + ' ' + child.count : child.label" (click)="selectLibraryView.emit(child.id)">
|
|
1544
|
+
<span>{{ child.label }}</span>
|
|
1545
|
+
@if (child.count !== undefined) {
|
|
1546
|
+
<small>{{ child.count }}</small>
|
|
1547
|
+
}
|
|
1548
|
+
</button>
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1183
1551
|
}
|
|
1184
1552
|
@if (collectionViews.length) {
|
|
1185
1553
|
<span class="ngxsp-wmp-navDivider" aria-hidden="true"></span>
|
|
@@ -1218,7 +1586,125 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1218
1586
|
</div>
|
|
1219
1587
|
</aside>
|
|
1220
1588
|
|
|
1589
|
+
<!-- A phone puts the families where a thumb reaches them. The rail flattened the whole tree
|
|
1590
|
+
into one strip one had to scroll sideways; the boards draw three fixed targets at the
|
|
1591
|
+
bottom, and the facets of the open family at the top of what it holds. -->
|
|
1592
|
+
<nav class="ngxsp-wmp-tabBar" [attr.aria-label]="libraryViewsLabel">
|
|
1593
|
+
@for (view of primaryViews; track view.id) {
|
|
1594
|
+
@if (!hasQuickView(view.id)) {
|
|
1595
|
+
<button class="ngxsp-wmp-tab" type="button" [class.active]="view.active" [attr.aria-current]="view.active ? 'page' : null" (click)="selectLibraryView.emit(view.id)">
|
|
1596
|
+
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
1597
|
+
<span>{{ view.label }}</span>
|
|
1598
|
+
</button>
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
</nav>
|
|
1602
|
+
|
|
1221
1603
|
<section #libraryScroll class="ngxsp-wmp-main" [attr.aria-label]="libraryContentTitle || libraryTitle">
|
|
1604
|
+
@if (playerPage; as page) {
|
|
1605
|
+
<!-- A track as a page: the board draws the cover large, what it is made of under it, and
|
|
1606
|
+
the words beside it. The video player has had a page of its own since it became a
|
|
1607
|
+
place one goes into; this side listened from the bottom bar and nowhere else. -->
|
|
1608
|
+
<section class="ngxsp-wmp-playerPage" [attr.aria-label]="page.title">
|
|
1609
|
+
@if (page.backLabel) {
|
|
1610
|
+
<button class="ngxsp-wmp-playerBack" type="button" [attr.aria-label]="page.backLabel" [title]="page.backLabel" (click)="playerBack.emit()">
|
|
1611
|
+
<ngxsp-smart-icon name="chevron-left" />
|
|
1612
|
+
<span>{{ page.backLabel }}</span>
|
|
1613
|
+
</button>
|
|
1614
|
+
}
|
|
1615
|
+
<div class="ngxsp-wmp-playerStage">
|
|
1616
|
+
<div class="ngxsp-wmp-playerSide">
|
|
1617
|
+
<div class="ngxsp-wmp-playerArt ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(page.artworkUrl)" [attr.data-tone]="artTone(currentTrackId || page.title)">
|
|
1618
|
+
@if (artworkSrc(page.artworkUrl); as artworkUrl) {
|
|
1619
|
+
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
|
|
1620
|
+
} @else {
|
|
1621
|
+
<ngxsp-smart-icon name="music" />
|
|
1622
|
+
}
|
|
1623
|
+
</div>
|
|
1624
|
+
<div class="ngxsp-wmp-playerCopy">
|
|
1625
|
+
<h1>{{ page.title }}</h1>
|
|
1626
|
+
@if (page.artist) { <p>{{ page.artist }}</p> }
|
|
1627
|
+
@if (page.meta) { <small>{{ page.meta }}</small> }
|
|
1628
|
+
@if (page.actions?.length) {
|
|
1629
|
+
<div class="ngxsp-wmp-detailActions">
|
|
1630
|
+
@for (action of page.actions; track action.id) {
|
|
1631
|
+
<button
|
|
1632
|
+
class="ngxsp-wmp-detailAction"
|
|
1633
|
+
type="button"
|
|
1634
|
+
[class.primary]="action.primary"
|
|
1635
|
+
[class.compact]="action.compact"
|
|
1636
|
+
[class.active]="action.active"
|
|
1637
|
+
[disabled]="action.disabled"
|
|
1638
|
+
[attr.aria-pressed]="action.active === undefined ? null : action.active"
|
|
1639
|
+
[attr.aria-label]="action.label"
|
|
1640
|
+
[title]="action.label"
|
|
1641
|
+
(click)="playerPageAction.emit(action.id)"
|
|
1642
|
+
>
|
|
1643
|
+
@if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
|
|
1644
|
+
@if (!action.compact) { <span>{{ action.label }}</span> }
|
|
1645
|
+
</button>
|
|
1646
|
+
}
|
|
1647
|
+
</div>
|
|
1648
|
+
}
|
|
1649
|
+
</div>
|
|
1650
|
+
<!-- A sound has no picture of its own to show: the bars say how far it has gone. -->
|
|
1651
|
+
<div class="ngxsp-wmp-playerWave" aria-hidden="true">
|
|
1652
|
+
@for (bar of waveformBars; track $index) {
|
|
1653
|
+
<span [class.played]="$index < playedBars" [style.height.%]="bar"></span>
|
|
1654
|
+
}
|
|
1655
|
+
</div>
|
|
1656
|
+
</div>
|
|
1657
|
+
@if (lyricsPanel; as lyrics) {
|
|
1658
|
+
<section class="ngxsp-wmp-playerLyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
|
|
1659
|
+
<div class="ngxsp-wmp-playerLyricsHead">
|
|
1660
|
+
<ngxsp-smart-icon name="lyrics" />
|
|
1661
|
+
<span>{{ lyrics.status || lyrics.title }}</span>
|
|
1662
|
+
@if (lyrics.searchLabel) {
|
|
1663
|
+
<button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
|
|
1664
|
+
}
|
|
1665
|
+
</div>
|
|
1666
|
+
<div class="ngxsp-wmp-playerLyricsLines" #playerLyricsLines>
|
|
1667
|
+
@for (line of lyrics.lines; track $index) {
|
|
1668
|
+
@if (line.timeSec !== undefined) {
|
|
1669
|
+
<button type="button" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
|
|
1670
|
+
} @else {
|
|
1671
|
+
<p>{{ line.text }}</p>
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
</div>
|
|
1675
|
+
</section>
|
|
1676
|
+
}
|
|
1677
|
+
</div>
|
|
1678
|
+
</section>
|
|
1679
|
+
}
|
|
1680
|
+
@if (!playerPage) {
|
|
1681
|
+
@if (openViewChildren.length) {
|
|
1682
|
+
<div class="ngxsp-wmp-tabFacets" role="group" [attr.aria-label]="libraryViewsLabel">
|
|
1683
|
+
@for (child of openViewChildren; track child.id) {
|
|
1684
|
+
<button type="button" [class.active]="child.active" [attr.aria-current]="child.active ? 'page' : null" (click)="selectLibraryView.emit(child.id)">
|
|
1685
|
+
<span>{{ child.label }}</span>
|
|
1686
|
+
@if (child.count !== undefined) { <small>{{ child.count }}</small> }
|
|
1687
|
+
</button>
|
|
1688
|
+
}
|
|
1689
|
+
</div>
|
|
1690
|
+
}
|
|
1691
|
+
<!--
|
|
1692
|
+
Where one is, and the way back up through it. The video player has had this since its
|
|
1693
|
+
views became places one goes into; an album one has opened is as deep as a season, and
|
|
1694
|
+
the listener was told as little about it as a Back button can say.
|
|
1695
|
+
-->
|
|
1696
|
+
@if (trail.length > 1) {
|
|
1697
|
+
<nav class="ngxsp-wmp-trail" [attr.aria-label]="trailLabel">
|
|
1698
|
+
@for (step of trail; track step.id; let last = $last) {
|
|
1699
|
+
@if (last) {
|
|
1700
|
+
<b aria-current="page">{{ step.label }}</b>
|
|
1701
|
+
} @else {
|
|
1702
|
+
<button class="ngxsp-wmp-trailStep" type="button" (click)="trailStep.emit(step.id)">{{ step.label }}</button>
|
|
1703
|
+
<span aria-hidden="true">›</span>
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
</nav>
|
|
1707
|
+
}
|
|
1222
1708
|
@if (isHomeView) {
|
|
1223
1709
|
<section class="ngxsp-wmp-nowPanel" [attr.aria-label]="nowListeningLabel">
|
|
1224
1710
|
<div class="ngxsp-wmp-art ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(currentArtworkUrl)" [attr.data-tone]="artTone(currentTrackId || currentTitle)">
|
|
@@ -1289,6 +1775,14 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1289
1775
|
}
|
|
1290
1776
|
|
|
1291
1777
|
<section class="ngxsp-wmp-librarySurface">
|
|
1778
|
+
<!-- A page with a head of its own does not take the view's as well: Sources says its
|
|
1779
|
+
own name, and the eyebrow above it would say the family a second time.
|
|
1780
|
+
|
|
1781
|
+
The notifications are not one of those pages any more. They hang off the bell as a
|
|
1782
|
+
dialog over the view, and the view is still there underneath: listed here, opening
|
|
1783
|
+
the bell tore the heading, the back button and the detail block off the page one was
|
|
1784
|
+
reading, which then came back on its own when the dialog closed. -->
|
|
1785
|
+
@if (!sourcesPage && !emptyPage && !playlistsPageOpen) {
|
|
1292
1786
|
<header class="ngxsp-wmp-sectionHeader">
|
|
1293
1787
|
@if (backLabel) {
|
|
1294
1788
|
<button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="backLabel" [title]="backLabel" (click)="back.emit()">
|
|
@@ -1296,13 +1790,70 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1296
1790
|
<span>{{ backLabel }}</span>
|
|
1297
1791
|
</button>
|
|
1298
1792
|
}
|
|
1299
|
-
|
|
1793
|
+
@if (detailHead; as head) {
|
|
1794
|
+
<!-- What one has opened says what it is: the eyebrow is the trail's business now, and
|
|
1795
|
+
the plain heading would say the name a second time. -->
|
|
1796
|
+
<div class="ngxsp-wmp-detailHead">
|
|
1797
|
+
<div class="ngxsp-wmp-detailArt">
|
|
1798
|
+
@if (head.artworkUrl) {
|
|
1799
|
+
<img [src]="head.artworkUrl" alt="" loading="lazy" decoding="async" />
|
|
1800
|
+
}
|
|
1801
|
+
</div>
|
|
1802
|
+
<div class="ngxsp-wmp-detailText">
|
|
1803
|
+
<h1>{{ head.title }}</h1>
|
|
1804
|
+
@if (head.meta) { <p class="ngxsp-wmp-detailMeta">{{ head.meta }}</p> }
|
|
1805
|
+
@if (head.format) { <p class="ngxsp-wmp-detailFormat">{{ head.format }}</p> }
|
|
1806
|
+
@if (head.actions?.length) {
|
|
1807
|
+
<div class="ngxsp-wmp-detailActions">
|
|
1808
|
+
@for (action of head.actions; track action.id) {
|
|
1809
|
+
<button
|
|
1810
|
+
class="ngxsp-wmp-detailAction"
|
|
1811
|
+
type="button"
|
|
1812
|
+
[class.primary]="action.primary"
|
|
1813
|
+
[class.compact]="action.compact"
|
|
1814
|
+
[class.active]="action.active"
|
|
1815
|
+
[disabled]="action.disabled"
|
|
1816
|
+
[attr.aria-pressed]="action.active === undefined ? null : action.active"
|
|
1817
|
+
[attr.aria-label]="action.label"
|
|
1818
|
+
[title]="action.label"
|
|
1819
|
+
(click)="detailHeadAction.emit(action.id)"
|
|
1820
|
+
>
|
|
1821
|
+
@if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
|
|
1822
|
+
@if (!action.compact) { <span>{{ action.label }}</span> }
|
|
1823
|
+
</button>
|
|
1824
|
+
}
|
|
1825
|
+
</div>
|
|
1826
|
+
}
|
|
1827
|
+
</div>
|
|
1828
|
+
</div>
|
|
1829
|
+
} @else if (hasSearchQuery) {
|
|
1830
|
+
<!-- A search is a page of its own: what was looked for, and how much answered. The
|
|
1831
|
+
view's own name would say where one happens to stand, which is not the subject. -->
|
|
1832
|
+
<h1 class="ngxsp-wmp-searchTitle">{{ searchResultsTitle }}</h1>
|
|
1833
|
+
@if (searchResultsSummary) { <p class="ngxsp-wmp-searchSummary">{{ searchResultsSummary }}</p> }
|
|
1834
|
+
} @else {
|
|
1835
|
+
<!-- A page that says what it is for says it under its own name, and nothing above it:
|
|
1836
|
+
the boards draw one line there, not two that say different things. -->
|
|
1837
|
+
@if (!viewIntro) { <span>{{ libraryEyebrow }}</span> }
|
|
1300
1838
|
@if (isHomeView) {
|
|
1301
1839
|
<h2>{{ libraryContentTitle || libraryTitle }}</h2>
|
|
1302
1840
|
} @else {
|
|
1303
1841
|
<h1>{{ libraryContentTitle || libraryTitle }}</h1>
|
|
1304
1842
|
}
|
|
1843
|
+
<!-- What the page is for, said once under its name. -->
|
|
1844
|
+
@if (viewIntro) { <p class="ngxsp-wmp-viewIntro">{{ viewIntro }}</p> }
|
|
1845
|
+
<!-- The shape the view is read in, which the boards draw beside its name — on a list,
|
|
1846
|
+
not on what one has opened: an album is its tracks, in order, and not on a page of
|
|
1847
|
+
counters over one list, which is not a shelf one reshapes. -->
|
|
1848
|
+
@if (gridLabel && tableLabel && !viewFacets.length && !settingsSections.length) {
|
|
1849
|
+
<div class="ngxsp-wmp-viewSwitch" role="group" [attr.aria-label]="viewSwitchLabel">
|
|
1850
|
+
<button type="button" [class.active]="viewMode === 'grid'" [attr.aria-pressed]="viewMode === 'grid'" (click)="viewModeChange.emit('grid')">{{ gridLabel }}</button>
|
|
1851
|
+
<button type="button" [class.active]="viewMode === 'list'" [attr.aria-pressed]="viewMode === 'list'" (click)="viewModeChange.emit('list')">{{ tableLabel }}</button>
|
|
1852
|
+
</div>
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1305
1855
|
</header>
|
|
1856
|
+
}
|
|
1306
1857
|
<div class="ngxsp-wmp-sectionScroll">
|
|
1307
1858
|
@if (serverForm; as form) {
|
|
1308
1859
|
<form class="ngxsp-wmp-stationForm" (submit)="submitServer($event)">
|
|
@@ -1348,6 +1899,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1348
1899
|
@if (form.hint) { <small class="ngxsp-wmp-stationHint">{{ form.hint }}</small> }
|
|
1349
1900
|
</form>
|
|
1350
1901
|
}
|
|
1902
|
+
@if (emptyPage) {
|
|
1903
|
+
<!-- The first opening: nothing has been loaded, and the page says what to do about it.
|
|
1904
|
+
Drawn by the shared component, so both players say it the same way. -->
|
|
1905
|
+
<ngxsp-empty-page [page]="emptyPage" (pageAction)="emptyPageAction.emit($event)" />
|
|
1906
|
+
}
|
|
1351
1907
|
@if (settingsSections.length) {
|
|
1352
1908
|
<!-- The settings have always been a page here rather than a panel over one, but a page
|
|
1353
1909
|
needs a way out, and theirs was the rail's own entry. That entry leaves the strip
|
|
@@ -1361,52 +1917,231 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1361
1917
|
}
|
|
1362
1918
|
<ngxsp-settings [sections]="settingsSections" (settingChange)="settingChange.emit($event)" (settingAction)="settingAction.emit($event)" />
|
|
1363
1919
|
}
|
|
1364
|
-
@
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1920
|
+
@if (playlistsPageOpen) {
|
|
1921
|
+
<!--
|
|
1922
|
+
The lists are a view of the rail, beside Sources. They were a page of the title bar,
|
|
1923
|
+
which is where the three that belong to no family are reached — and a list of one's
|
|
1924
|
+
own making belongs to the library's side of the window, not to that row.
|
|
1925
|
+
An entry of the rail is a destination, so there is nothing to unwind and no way back
|
|
1926
|
+
to draw: one leaves it by going somewhere, which is what the rail is for.
|
|
1927
|
+
-->
|
|
1928
|
+
<section class="ngxsp-wmp-playlistsPage" [attr.aria-label]="playlistsLabel">
|
|
1929
|
+
<div class="ngxsp-wmp-playlistsHead">
|
|
1930
|
+
<h1>{{ playlistsLabel }}</h1>
|
|
1931
|
+
<!-- Combien il y en a, et ce qu'elles sont : la maquette écrit cette ligne sous le
|
|
1932
|
+
titre, comme la page des sources écrit la sienne. -->
|
|
1933
|
+
@if (playlistsSummary) { <p>{{ playlistsSummary }}</p> }
|
|
1934
|
+
</div>
|
|
1935
|
+
<section class="ngxsp-wmp-management">
|
|
1936
|
+
<div class="ngxsp-wmp-inlineForm">
|
|
1937
|
+
<input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
|
|
1938
|
+
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
|
|
1939
|
+
</div>
|
|
1940
|
+
@if (playlistTargetTrack; as target) {
|
|
1941
|
+
<div class="ngxsp-wmp-targetBanner">
|
|
1942
|
+
<span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
|
|
1943
|
+
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
|
|
1944
|
+
</div>
|
|
1945
|
+
}
|
|
1946
|
+
<div class="ngxsp-wmp-targets">
|
|
1947
|
+
@for (playlist of playlistOptions; track playlist.id) {
|
|
1948
|
+
<div class="ngxsp-wmp-target">
|
|
1949
|
+
<div class="ngxsp-wmp-targetMain">
|
|
1950
|
+
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
|
|
1951
|
+
<span class="ngxsp-wmp-rowCopy">
|
|
1952
|
+
<strong>{{ playlist.name }}</strong>
|
|
1953
|
+
@if (playlist.countLabel) { <small>{{ playlist.countLabel }}</small> }
|
|
1954
|
+
</span>
|
|
1955
|
+
@if (playlistTargetTrack || currentTrackAvailable) {
|
|
1956
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
|
|
1957
|
+
<ngxsp-smart-icon name="plus" />
|
|
1958
|
+
<span>{{ addLabel }}</span>
|
|
1959
|
+
</button>
|
|
1960
|
+
}
|
|
1961
|
+
</div>
|
|
1962
|
+
@if (editingPlaylistId === playlist.id) {
|
|
1963
|
+
<div class="ngxsp-wmp-inlineForm">
|
|
1964
|
+
<input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
|
|
1965
|
+
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
|
|
1966
|
+
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
|
|
1967
|
+
</div>
|
|
1968
|
+
} @else {
|
|
1969
|
+
<div class="ngxsp-wmp-targetActions">
|
|
1970
|
+
<button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
|
|
1971
|
+
<button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
|
|
1972
|
+
</div>
|
|
1368
1973
|
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1974
|
+
</div>
|
|
1975
|
+
} @empty {
|
|
1976
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
|
|
1977
|
+
}
|
|
1978
|
+
</div>
|
|
1979
|
+
@if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
|
|
1980
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
|
|
1981
|
+
}
|
|
1982
|
+
</section>
|
|
1983
|
+
</section>
|
|
1984
|
+
}
|
|
1985
|
+
@if (sourcesPage; as page) {
|
|
1986
|
+
<section class="ngxsp-wmp-sourcesPage" [attr.aria-label]="page.title">
|
|
1987
|
+
<div class="ngxsp-wmp-sourcesHead">
|
|
1988
|
+
<div>
|
|
1989
|
+
<h1>{{ page.title }}</h1>
|
|
1990
|
+
@if (page.summary) { <p>{{ page.summary }}</p> }
|
|
1991
|
+
</div>
|
|
1992
|
+
@if (page.addLabel) {
|
|
1993
|
+
<button class="ngxsp-wmp-detailAction accent" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add' })">{{ page.addLabel }}</button>
|
|
1994
|
+
}
|
|
1995
|
+
</div>
|
|
1996
|
+
@for (group of page.groups; track group.id) {
|
|
1997
|
+
<h2 class="ngxsp-wmp-sourceGroupTitle">{{ group.title }}</h2>
|
|
1998
|
+
<div class="ngxsp-wmp-sourceRows">
|
|
1999
|
+
@for (row of group.rows; track row.id) {
|
|
2000
|
+
<div class="ngxsp-wmp-sourceRow" [class.active]="row.active">
|
|
2001
|
+
<span class="ngxsp-wmp-sourceIcon" aria-hidden="true"><ngxsp-smart-icon [name]="row.icon || 'folder'" /></span>
|
|
2002
|
+
<span class="ngxsp-wmp-sourceCopy">
|
|
2003
|
+
<strong>{{ row.title }}</strong>
|
|
2004
|
+
@if (row.detail) { <small>{{ row.detail }}</small> }
|
|
2005
|
+
</span>
|
|
2006
|
+
@if (row.state) { <span class="ngxsp-wmp-sourceState">{{ row.state }}</span> }
|
|
2007
|
+
@for (action of row.actions ?? []; track action.id) {
|
|
2008
|
+
<button class="ngxsp-wmp-detailAction" type="button" [disabled]="action.disabled" (click)="sourceAction.emit({ sourceId: row.id, actionId: action.id })">{{ action.label }}</button>
|
|
2009
|
+
}
|
|
2010
|
+
</div>
|
|
2011
|
+
}
|
|
2012
|
+
</div>
|
|
2013
|
+
}
|
|
2014
|
+
@if (page.footerLabel) {
|
|
2015
|
+
<button class="ngxsp-wmp-sourceRow footer" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add-server' })">
|
|
2016
|
+
<span class="ngxsp-wmp-sourceIcon dashed" aria-hidden="true"><ngxsp-smart-icon name="plus" /></span>
|
|
2017
|
+
<span class="ngxsp-wmp-sourceCopy">
|
|
2018
|
+
<strong>{{ page.footerLabel }}</strong>
|
|
2019
|
+
@if (page.footerHint) { <small>{{ page.footerHint }}</small> }
|
|
2020
|
+
</span>
|
|
2021
|
+
</button>
|
|
2022
|
+
}
|
|
2023
|
+
</section>
|
|
2024
|
+
}
|
|
2025
|
+
<!-- The facets of the page, which the boards put here rather than in the rail: a page
|
|
2026
|
+
with one list under a row of counters, not two entries nobody counted. A search
|
|
2027
|
+
replaces the page's content, and brings chips of its own. -->
|
|
2028
|
+
@if (viewFacets.length && !hasSearchQuery) {
|
|
2029
|
+
<div class="ngxsp-wmp-searchFilters ngxsp-wmp-viewFacets" role="group" [attr.aria-label]="viewFacetLabel">
|
|
2030
|
+
@for (facet of viewFacets; track facet.id) {
|
|
2031
|
+
<button type="button" [class.active]="facet.active" [disabled]="facet.disabled" [attr.aria-pressed]="!!facet.active" (click)="selectViewFacet(facet)">
|
|
2032
|
+
<span>{{ facet.label }}</span>
|
|
2033
|
+
@if (facet.count !== undefined) { <small>{{ facet.count }}</small> }
|
|
2034
|
+
</button>
|
|
2035
|
+
}
|
|
2036
|
+
</div>
|
|
2037
|
+
}
|
|
2038
|
+
@if (hasSearchQuery) {
|
|
2039
|
+
@if (searchFilters.length) {
|
|
2040
|
+
<div class="ngxsp-wmp-searchFilters" role="group" [attr.aria-label]="searchFilterLabel">
|
|
2041
|
+
@for (filter of searchFilters; track filter.id) {
|
|
2042
|
+
<button type="button" [class.active]="filter.active" [disabled]="filter.disabled" [attr.aria-pressed]="!!filter.active" (click)="selectSearchFilter(filter)">
|
|
2043
|
+
<span>{{ filter.label }}</span>
|
|
2044
|
+
@if (filter.count !== undefined) { <small>{{ filter.count }}</small> }
|
|
2045
|
+
</button>
|
|
2046
|
+
}
|
|
2047
|
+
</div>
|
|
2048
|
+
}
|
|
2049
|
+
@if (searchBest; as best) {
|
|
2050
|
+
<section class="ngxsp-wmp-searchBestBlock">
|
|
2051
|
+
<h2 class="ngxsp-wmp-sourceGroupTitle">{{ searchBestTitle }}</h2>
|
|
2052
|
+
<article class="ngxsp-wmp-searchBest">
|
|
2053
|
+
<button class="ngxsp-wmp-searchBestArt ngxsp-wmp-cover" type="button" [class.has-image]="!!artworkSrc(best.item.artworkUrl)" [attr.data-tone]="artTone(best.item.id)" [attr.aria-label]="playLabel + ' ' + best.item.title" (click)="searchBestAction.emit('open')">
|
|
2054
|
+
@if (artworkSrc(best.item.artworkUrl); as artworkUrl) {
|
|
2055
|
+
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
|
|
2056
|
+
} @else {
|
|
2057
|
+
<ngxsp-smart-icon name="music" />
|
|
2058
|
+
}
|
|
2059
|
+
</button>
|
|
2060
|
+
<div class="ngxsp-wmp-searchBestCopy">
|
|
2061
|
+
<h3>@for (part of searchParts(best.item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</h3>
|
|
2062
|
+
@if (searchBestMeta(best); as meta) { <p>{{ meta }}</p> }
|
|
2063
|
+
@if (best.note) { <small>{{ best.note }}</small> }
|
|
2064
|
+
@if (best.actions?.length) {
|
|
2065
|
+
<div class="ngxsp-wmp-detailActions">
|
|
2066
|
+
@for (action of best.actions; track action.id) {
|
|
2067
|
+
<button class="ngxsp-wmp-detailAction" type="button" [class.primary]="action.primary" [disabled]="action.disabled" [attr.aria-label]="action.label" [title]="action.label" (click)="searchBestAction.emit(action.id)">
|
|
2068
|
+
@if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
|
|
2069
|
+
<span>{{ action.label }}</span>
|
|
2070
|
+
</button>
|
|
2071
|
+
}
|
|
2072
|
+
</div>
|
|
2073
|
+
}
|
|
2074
|
+
</div>
|
|
2075
|
+
</article>
|
|
2076
|
+
</section>
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
@for (section of librarySections; track section.id) {
|
|
2080
|
+
<section class="ngxsp-wmp-section">
|
|
2081
|
+
<!-- A lone list under chips that already name it does not need a heading saying so. -->
|
|
2082
|
+
@if (section.title !== (libraryContentTitle || libraryTitle) && !(viewFacets.length && librarySections.length === 1)) {
|
|
2083
|
+
@if (isHomeView) { <h3>{{ section.title }}</h3> } @else { <h2>{{ section.title }}</h2> }
|
|
2084
|
+
}
|
|
2085
|
+
@if (section.layout === 'cards') {
|
|
2086
|
+
<div class="ngxsp-wmp-cardGrid">
|
|
2087
|
+
@for (item of section.items; track item.id) {
|
|
2088
|
+
<div class="ngxsp-wmp-card" [class.active]="item.active" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
|
|
2089
|
+
<button class="ngxsp-wmp-cardSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
|
|
2090
|
+
<span class="ngxsp-wmp-thumb ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
|
|
2091
|
+
@if (artworkSrc(item.artworkUrl); as artworkUrl) {
|
|
2092
|
+
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
|
|
2093
|
+
} @else {
|
|
2094
|
+
<ngxsp-smart-icon name="music" />
|
|
2095
|
+
}
|
|
2096
|
+
@if (showResumeProgress && item.progressPercent && item.progressPercent > 0) {
|
|
2097
|
+
<span class="ngxsp-wmp-rowProgress" aria-hidden="true"><i [style.width.%]="item.progressPercent"></i></span>
|
|
2098
|
+
}
|
|
2099
|
+
</span>
|
|
2100
|
+
<span class="ngxsp-wmp-cardCopy">
|
|
2101
|
+
<strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
|
|
2102
|
+
@if (item.subtitle) { <small>{{ item.subtitle }}</small> }
|
|
2103
|
+
@if (item.meta) { <em>{{ item.meta }}</em> }
|
|
2104
|
+
</span>
|
|
2105
|
+
</button>
|
|
2106
|
+
<span class="ngxsp-wmp-cardPlaySlot">
|
|
2107
|
+
<button class="ngxsp-wmp-cardPlay" type="button" [title]="playLabel" [attr.aria-label]="playLabel + ' ' + item.title" (click)="playItem(item.id)">
|
|
1392
2108
|
@if (item.active && isPlaying) { <ngxsp-smart-icon name="waveform" /> } @else { <ngxsp-smart-icon name="play" /> }
|
|
1393
2109
|
</button>
|
|
1394
2110
|
</span>
|
|
1395
2111
|
<span class="ngxsp-wmp-cardActions">
|
|
2112
|
+
@if (section.kind === 'groups') {
|
|
2113
|
+
<!--
|
|
2114
|
+
An album, an artist, a genre: a heading that stands for several tracks. What
|
|
2115
|
+
one does with it is put it in the queue, so those buttons stay where they are.
|
|
2116
|
+
-->
|
|
1396
2117
|
<button class="ngxsp-wmp-cardAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
|
|
1397
2118
|
<ngxsp-smart-icon name="next" />
|
|
1398
2119
|
</button>
|
|
1399
2120
|
<button class="ngxsp-wmp-cardAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
|
|
1400
2121
|
<ngxsp-smart-icon name="playlist-plus" />
|
|
1401
2122
|
</button>
|
|
1402
|
-
@if (
|
|
2123
|
+
@if (isRemovable(item.id)) {
|
|
2124
|
+
<button class="ngxsp-wmp-cardAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
|
|
2125
|
+
<ngxsp-smart-icon name="close" />
|
|
2126
|
+
</button>
|
|
2127
|
+
}
|
|
2128
|
+
} @else {
|
|
2129
|
+
<!-- The same three a row offers, and the same menu: a grid and a table say one thing. -->
|
|
2130
|
+
<button class="ngxsp-wmp-cardAction ngxsp-wmp-cardFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
|
|
2131
|
+
<ngxsp-smart-icon name="heart" />
|
|
2132
|
+
</button>
|
|
2133
|
+
@if (hasPlaylists) {
|
|
2134
|
+
<button class="ngxsp-wmp-cardAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
|
|
2135
|
+
<ngxsp-smart-icon name="list" />
|
|
2136
|
+
</button>
|
|
2137
|
+
}
|
|
2138
|
+
@if (ringtoneAvailable && !item.live) {
|
|
1403
2139
|
<button class="ngxsp-wmp-cardAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
|
|
1404
2140
|
<ngxsp-smart-icon name="bell" />
|
|
1405
2141
|
</button>
|
|
1406
2142
|
}
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
<ngxsp-smart-icon name="close" />
|
|
2143
|
+
<button class="ngxsp-wmp-cardAction ngxsp-wmp-cardMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
|
|
2144
|
+
<ngxsp-smart-icon name="more" />
|
|
1410
2145
|
</button>
|
|
1411
2146
|
}
|
|
1412
2147
|
</span>
|
|
@@ -1414,7 +2149,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1414
2149
|
}
|
|
1415
2150
|
</div>
|
|
1416
2151
|
} @else {
|
|
1417
|
-
<div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section
|
|
2152
|
+
<div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section)">
|
|
1418
2153
|
<div class="ngxsp-wmp-tableHead" role="row">
|
|
1419
2154
|
<span role="columnheader">#</span>
|
|
1420
2155
|
<span role="columnheader">{{ titleColumnLabel }}</span>
|
|
@@ -1423,8 +2158,8 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1423
2158
|
<span role="columnheader" class="ngxsp-wmp-timeHead" [attr.aria-label]="timeColumnLabel" [title]="timeColumnLabel"><ngxsp-smart-icon name="clock" /></span>
|
|
1424
2159
|
</div>
|
|
1425
2160
|
@for (item of section.items; track item.id; let index = $index) {
|
|
1426
|
-
<div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row">
|
|
1427
|
-
<button class="ngxsp-wmp-trackSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
|
|
2161
|
+
<div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
|
|
2162
|
+
<button class="ngxsp-wmp-trackSelect" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
|
|
1428
2163
|
<span class="ngxsp-wmp-trackIndex">
|
|
1429
2164
|
@if (item.active) { <ngxsp-smart-icon name="waveform" /> } @else { <span class="ngxsp-wmp-indexNumber">{{ index + 1 }}</span><ngxsp-smart-icon class="ngxsp-wmp-indexPlay" name="play" /> }
|
|
1430
2165
|
</span>
|
|
@@ -1437,7 +2172,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1437
2172
|
}
|
|
1438
2173
|
</span>
|
|
1439
2174
|
<span class="ngxsp-wmp-rowCopy">
|
|
1440
|
-
<strong>{{
|
|
2175
|
+
<strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
|
|
1441
2176
|
@if (item.genre) { <small>{{ item.genre }}</small> }
|
|
1442
2177
|
</span>
|
|
1443
2178
|
</span>
|
|
@@ -1445,29 +2180,41 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1445
2180
|
<span class="ngxsp-wmp-trackCell ngxsp-wmp-albumCell">{{ albumOf(item) }}</span>
|
|
1446
2181
|
<span class="ngxsp-wmp-trackTime">{{ durationOf(item) }}</span>
|
|
1447
2182
|
</button>
|
|
2183
|
+
<!--
|
|
2184
|
+
Three things a track offers, and a menu for the rest. There were six buttons
|
|
2185
|
+
on a row — and the room of four, so the heart was drawn over the duration.
|
|
2186
|
+
A section of albums can be read as a table too, and an album is not a track:
|
|
2187
|
+
it keeps the buttons it had.
|
|
2188
|
+
-->
|
|
1448
2189
|
<span class="ngxsp-wmp-rowActions">
|
|
1449
|
-
|
|
1450
|
-
<ngxsp-smart-icon name="heart" />
|
|
1451
|
-
</button>
|
|
2190
|
+
@if (section.kind === 'groups') {
|
|
1452
2191
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
|
|
1453
2192
|
<ngxsp-smart-icon name="next" />
|
|
1454
2193
|
</button>
|
|
1455
2194
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
|
|
1456
2195
|
<ngxsp-smart-icon name="playlist-plus" />
|
|
1457
2196
|
</button>
|
|
2197
|
+
@if (isRemovable(item.id)) {
|
|
2198
|
+
<button class="ngxsp-wmp-rowQueueAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
|
|
2199
|
+
<ngxsp-smart-icon name="close" />
|
|
2200
|
+
</button>
|
|
2201
|
+
}
|
|
2202
|
+
} @else {
|
|
2203
|
+
<button class="ngxsp-wmp-rowFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
|
|
2204
|
+
<ngxsp-smart-icon name="heart" />
|
|
2205
|
+
</button>
|
|
1458
2206
|
@if (hasPlaylists) {
|
|
1459
2207
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
|
|
1460
2208
|
<ngxsp-smart-icon name="list" />
|
|
1461
2209
|
</button>
|
|
1462
2210
|
}
|
|
1463
|
-
@if (ringtoneAvailable) {
|
|
2211
|
+
@if (ringtoneAvailable && !item.live) {
|
|
1464
2212
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
|
|
1465
2213
|
<ngxsp-smart-icon name="bell" />
|
|
1466
2214
|
</button>
|
|
1467
2215
|
}
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
<ngxsp-smart-icon name="close" />
|
|
2216
|
+
<button class="ngxsp-wmp-rowQueueAction ngxsp-wmp-rowMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
|
|
2217
|
+
<ngxsp-smart-icon name="more" />
|
|
1471
2218
|
</button>
|
|
1472
2219
|
}
|
|
1473
2220
|
</span>
|
|
@@ -1478,9 +2225,25 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1478
2225
|
}
|
|
1479
2226
|
</div>
|
|
1480
2227
|
}
|
|
2228
|
+
@if (!section.items.length && section.emptyLabel) {
|
|
2229
|
+
<div class="ngxsp-wmp-emptyLibrary">
|
|
2230
|
+
<ngxsp-smart-icon name="list" />
|
|
2231
|
+
<span>{{ section.emptyLabel }}</span>
|
|
2232
|
+
</div>
|
|
2233
|
+
}
|
|
2234
|
+
<!-- The rest of a shelf that comes a page at a time: under it, where one stops
|
|
2235
|
+
reading, and not among the tracks. -->
|
|
2236
|
+
@if (section.more) {
|
|
2237
|
+
<button class="ngxsp-wmp-shelfMore" type="button" [disabled]="!!section.more.busy" (click)="sectionMore.emit(section.id)">
|
|
2238
|
+
<span>{{ section.more.label }}</span>
|
|
2239
|
+
@if (section.more.detail) { <small>{{ section.more.detail }}</small> }
|
|
2240
|
+
</button>
|
|
2241
|
+
}
|
|
1481
2242
|
</section>
|
|
1482
2243
|
} @empty {
|
|
1483
|
-
|
|
2244
|
+
<!-- A page that is the view's own content says what there is: "no track indexed" under
|
|
2245
|
+
the sources page would answer a question nobody asked there. -->
|
|
2246
|
+
@if (!settingsSections.length && !sourcesPage && !playlistsPageOpen) {
|
|
1484
2247
|
<div class="ngxsp-wmp-emptyLibrary">
|
|
1485
2248
|
<ngxsp-smart-icon name="music" />
|
|
1486
2249
|
<span>{{ emptyLibraryLabel }}</span>
|
|
@@ -1489,6 +2252,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1489
2252
|
}
|
|
1490
2253
|
</div>
|
|
1491
2254
|
</section>
|
|
2255
|
+
}
|
|
1492
2256
|
</section>
|
|
1493
2257
|
|
|
1494
2258
|
<aside
|
|
@@ -1500,41 +2264,77 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1500
2264
|
[attr.aria-modal]="panelSheetOpen ? 'true' : null"
|
|
1501
2265
|
[attr.aria-label]="queueTitle"
|
|
1502
2266
|
(keydown.escape)="closePanelSheet()"
|
|
2267
|
+
(keydown)="onSheetKeys($event)"
|
|
1503
2268
|
>
|
|
1504
2269
|
@if (panelSheetOpen) {
|
|
1505
2270
|
<div class="ngxsp-wmp-sheetHeader">
|
|
1506
2271
|
<strong>{{ currentTitle || noTrackTitle }}</strong>
|
|
1507
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="closePanelSheet()">{{ closeLabel }}</button>
|
|
2272
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="closeLabel + ' - ' + queueTitle" (click)="closePanelSheet()">{{ closeLabel }}</button>
|
|
1508
2273
|
</div>
|
|
2274
|
+
<!--
|
|
2275
|
+
What the column can open, and only that. The sheet stops above the transport bar, so
|
|
2276
|
+
the bar is still on screen underneath it: the devices keep the button they have there
|
|
2277
|
+
and never become a switch in here. Compact-Lecteur-Audio.dc.html draws them that way,
|
|
2278
|
+
off a button of their own, and Appareils.dc.html opens its dialog over that button.
|
|
2279
|
+
-->
|
|
2280
|
+
@if (columnSwitches.length) {
|
|
1509
2281
|
<div class="ngxsp-wmp-sheetToggles" role="group" [attr.aria-label]="queueTitle">
|
|
1510
|
-
@for (panel of
|
|
2282
|
+
@for (panel of columnSwitches; track panel.id) {
|
|
1511
2283
|
<button class="ngxsp-wmp-iconButton" type="button" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanel(panel.id)">
|
|
1512
2284
|
<ngxsp-smart-icon [name]="panel.icon" />
|
|
1513
2285
|
</button>
|
|
1514
2286
|
}
|
|
1515
2287
|
</div>
|
|
1516
2288
|
}
|
|
2289
|
+
}
|
|
1517
2290
|
<div class="ngxsp-wmp-panelStack">
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
<button class="ngxsp-wmp-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
2291
|
+
<!--
|
|
2292
|
+
The board's pills, which name what can be opened over the queue. In the sheet the same
|
|
2293
|
+
switches are already drawn as icons above, so the row would say everything twice.
|
|
2294
|
+
-->
|
|
2295
|
+
@if (!panelSheetOpen && columnSwitches.length) {
|
|
2296
|
+
<div class="ngxsp-wmp-panelTabs" role="group" [attr.aria-label]="queueTitle">
|
|
2297
|
+
@for (panel of columnSwitches; track panel.id) {
|
|
2298
|
+
<button type="button" class="ngxsp-wmp-panelPill" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" (click)="togglePanel(panel.id)">{{ panel.label }}</button>
|
|
2299
|
+
}
|
|
2300
|
+
</div>
|
|
2301
|
+
}
|
|
2302
|
+
@if (hasSearchQuery && recentSearches.length) {
|
|
2303
|
+
<!-- The board puts them in this column, beside what the search found. -->
|
|
2304
|
+
<section class="ngxsp-wmp-stackItem collapsed">
|
|
2305
|
+
<header class="ngxsp-wmp-stackHead"><strong>{{ recentSearchesTitle }}</strong></header>
|
|
2306
|
+
<div class="ngxsp-wmp-recentSearches">
|
|
2307
|
+
@for (term of recentSearches; track term) {
|
|
2308
|
+
<button type="button" [class.active]="term === searchTerm" (click)="searchAgain.emit(term)">
|
|
2309
|
+
<ngxsp-smart-icon name="clock" />
|
|
2310
|
+
<span>{{ term }}</span>
|
|
2311
|
+
</button>
|
|
2312
|
+
}
|
|
2313
|
+
</div>
|
|
2314
|
+
</section>
|
|
2315
|
+
}
|
|
2316
|
+
<!--
|
|
2317
|
+
The queue is the column, not a panel folded away inside it. Commun-Audio.dc.html draws
|
|
2318
|
+
the pills at the head of the column and the queue below them, in full — no chevron, and
|
|
2319
|
+
nothing that folds it down to a header. Its switch is the one in the top bar, which shows
|
|
2320
|
+
and hides the whole column; the video player's column had already been through this.
|
|
2321
|
+
-->
|
|
2322
|
+
<section class="ngxsp-wmp-stackItem">
|
|
2323
|
+
<header class="ngxsp-wmp-stackHead"><strong>{{ queueTitle }}</strong></header>
|
|
1530
2324
|
<div class="ngxsp-wmp-sectionHeader slim">
|
|
1531
2325
|
<span>{{ queueEyebrow }}</span>
|
|
1532
|
-
<strong>{{
|
|
2326
|
+
<strong>{{ queueCountLabel }}</strong>
|
|
1533
2327
|
</div>
|
|
1534
2328
|
<div class="ngxsp-wmp-queueList" #queueList (scroll)="onQueueScroll()">
|
|
1535
2329
|
@if (queueSpaceBefore) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceBefore" aria-hidden="true"></div> }
|
|
1536
2330
|
@for (item of windowedQueue; track item.id) {
|
|
1537
|
-
|
|
2331
|
+
<!--
|
|
2332
|
+
La rangée tient deux choses : le bouton qui joue le titre, et les gestes qui touchent
|
|
2333
|
+
à la file elle-même. Elle n'en tenait qu'une — on ne pouvait rien en retirer ni rien
|
|
2334
|
+
y déplacer, alors que la file du lecteur vidéo le permet depuis toujours.
|
|
2335
|
+
-->
|
|
2336
|
+
<div class="ngxsp-wmp-queueRow" [class.active]="item.active">
|
|
2337
|
+
<button class="ngxsp-wmp-queueItem" [class.active]="item.active" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectQueueItem.emit(item.id)">
|
|
1538
2338
|
<span class="ngxsp-wmp-queueCover ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
|
|
1539
2339
|
@if (artworkSrc(item.artworkUrl); as artworkUrl) {
|
|
1540
2340
|
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
|
|
@@ -1561,150 +2361,42 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1561
2361
|
</span>
|
|
1562
2362
|
@if (item.meta) { <span class="ngxsp-wmp-rowMeta">{{ item.meta }}</span> }
|
|
1563
2363
|
</button>
|
|
1564
|
-
|
|
1565
|
-
<
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('lyrics')" [attr.aria-label]="lyricsTitle" (click)="togglePanelCollapsed('lyrics')">
|
|
1577
|
-
<ngxsp-smart-icon [name]="isPanelCollapsed('lyrics') ? 'chevron-down' : 'chevron-up'" />
|
|
1578
|
-
</button>
|
|
1579
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('lyrics')">
|
|
1580
|
-
<ngxsp-smart-icon name="close" />
|
|
1581
|
-
</button>
|
|
1582
|
-
</header>
|
|
1583
|
-
@if (!isPanelCollapsed('lyrics')) {
|
|
1584
|
-
@if (lyricsPanel; as lyrics) {
|
|
1585
|
-
<section class="ngxsp-wmp-lyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
|
|
1586
|
-
<div class="ngxsp-wmp-sectionHeader slim">
|
|
1587
|
-
<strong>{{ currentTitle }}</strong>
|
|
1588
|
-
@if (lyrics.searchLabel) {
|
|
1589
|
-
<button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
|
|
1590
|
-
}
|
|
1591
|
-
</div>
|
|
1592
|
-
@if (lyrics.status) { <p class="ngxsp-wmp-lyricsStatus">{{ lyrics.status }}</p> }
|
|
1593
|
-
<div class="ngxsp-wmp-lyricsLines" #lyricsLines>
|
|
1594
|
-
@for (line of lyrics.lines; track $index) {
|
|
1595
|
-
@if (line.timeSec !== undefined) {
|
|
1596
|
-
<button type="button" class="ngxsp-wmp-lyricsLine" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
|
|
1597
|
-
} @else {
|
|
1598
|
-
<p class="ngxsp-wmp-lyricsLine plain">{{ line.text }}</p>
|
|
1599
|
-
}
|
|
2364
|
+
@if (queueEditable) {
|
|
2365
|
+
<span class="ngxsp-wmp-queueControls">
|
|
2366
|
+
<button type="button" [disabled]="!canMoveQueueItem(item.id, 'up')" [title]="queueMoveUpLabel" [attr.aria-label]="queueMoveUpLabel + ' - ' + item.title" (click)="queueMoveUp.emit(item.id)">
|
|
2367
|
+
<ngxsp-smart-icon name="chevron-up" />
|
|
2368
|
+
</button>
|
|
2369
|
+
<button type="button" [disabled]="!canMoveQueueItem(item.id, 'down')" [title]="queueMoveDownLabel" [attr.aria-label]="queueMoveDownLabel + ' - ' + item.title" (click)="queueMoveDown.emit(item.id)">
|
|
2370
|
+
<ngxsp-smart-icon name="chevron-down" />
|
|
2371
|
+
</button>
|
|
2372
|
+
@if (hasPlaylists) {
|
|
2373
|
+
<button type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
|
|
2374
|
+
<ngxsp-smart-icon name="list" />
|
|
2375
|
+
</button>
|
|
1600
2376
|
}
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
2377
|
+
<button type="button" [title]="queueRemoveLabel" [attr.aria-label]="queueRemoveLabel + ' - ' + item.title" (click)="queueRemove.emit(item.id)">
|
|
2378
|
+
<ngxsp-smart-icon name="close" />
|
|
2379
|
+
</button>
|
|
2380
|
+
</span>
|
|
1604
2381
|
}
|
|
1605
|
-
</section>
|
|
1606
|
-
}
|
|
1607
|
-
@if (isPanelOpen('devices') && showDeviceButton) {
|
|
1608
|
-
<section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('devices')">
|
|
1609
|
-
<header class="ngxsp-wmp-stackHead">
|
|
1610
|
-
<strong>{{ devicesLabel }}</strong>
|
|
1611
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('devices')" [attr.aria-label]="devicesLabel" (click)="togglePanelCollapsed('devices')">
|
|
1612
|
-
<ngxsp-smart-icon [name]="isPanelCollapsed('devices') ? 'chevron-down' : 'chevron-up'" />
|
|
1613
|
-
</button>
|
|
1614
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('devices')">
|
|
1615
|
-
<ngxsp-smart-icon name="close" />
|
|
1616
|
-
</button>
|
|
1617
|
-
</header>
|
|
1618
|
-
@if (!isPanelCollapsed('devices')) {
|
|
1619
|
-
<section class="ngxsp-wmp-devices">
|
|
1620
|
-
<div class="ngxsp-wmp-sectionHeader slim">
|
|
1621
|
-
<strong>{{ remotePlaybackLabel }}</strong>
|
|
1622
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="refreshDevices.emit()">{{ refreshLabel }}</button>
|
|
1623
|
-
</div>
|
|
1624
|
-
@for (device of deviceItems; track device.id) {
|
|
1625
|
-
<div class="ngxsp-wmp-device" [class.active]="device.active">
|
|
1626
|
-
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
|
|
1627
|
-
<span class="ngxsp-wmp-rowCopy">
|
|
1628
|
-
<strong>{{ device.name }}</strong>
|
|
1629
|
-
@if (device.subtitle) { <small>{{ device.subtitle }}</small> }
|
|
1630
|
-
</span>
|
|
1631
|
-
<span class="ngxsp-wmp-deviceActions">
|
|
1632
|
-
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
|
|
1633
|
-
@if (device.stoppable !== false) {
|
|
1634
|
-
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
|
|
1635
|
-
}
|
|
1636
|
-
</span>
|
|
1637
2382
|
</div>
|
|
1638
2383
|
} @empty {
|
|
1639
|
-
<div class="ngxsp-wmp-emptyLibrary">{{
|
|
1640
|
-
}
|
|
1641
|
-
</section>
|
|
2384
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ emptyQueueLabel }}</div>
|
|
1642
2385
|
}
|
|
1643
|
-
|
|
2386
|
+
@if (queueSpaceAfter) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceAfter" aria-hidden="true"></div> }
|
|
2387
|
+
</div>
|
|
2388
|
+
<!--
|
|
2389
|
+
Commun-Audio.dc.html ends the column on it. A queue built by hand over an evening is
|
|
2390
|
+
exactly what a playlist is, and until now the only way to keep one was to build it a
|
|
2391
|
+
second time, track by track, in the Lists page.
|
|
2392
|
+
-->
|
|
2393
|
+
@if (keepQueueLabel && queueItems.length) {
|
|
2394
|
+
<button class="ngxsp-wmp-keepQueue" type="button" (click)="keepQueueAsPlaylist.emit()">
|
|
2395
|
+
<ngxsp-smart-icon name="plus" />
|
|
2396
|
+
<span>{{ keepQueueLabel }}</span>
|
|
2397
|
+
</button>
|
|
1644
2398
|
}
|
|
1645
|
-
@if (isPanelOpen('playlists')) {
|
|
1646
|
-
<section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('playlists')">
|
|
1647
|
-
<header class="ngxsp-wmp-stackHead">
|
|
1648
|
-
<strong>{{ playlistsLabel }}</strong>
|
|
1649
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('playlists')" [attr.aria-label]="playlistsLabel" (click)="togglePanelCollapsed('playlists')">
|
|
1650
|
-
<ngxsp-smart-icon [name]="isPanelCollapsed('playlists') ? 'chevron-down' : 'chevron-up'" />
|
|
1651
|
-
</button>
|
|
1652
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('playlists')">
|
|
1653
|
-
<ngxsp-smart-icon name="close" />
|
|
1654
|
-
</button>
|
|
1655
|
-
</header>
|
|
1656
|
-
@if (!isPanelCollapsed('playlists')) {
|
|
1657
|
-
<section class="ngxsp-wmp-management">
|
|
1658
|
-
<div class="ngxsp-wmp-inlineForm">
|
|
1659
|
-
<input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
|
|
1660
|
-
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
|
|
1661
|
-
</div>
|
|
1662
|
-
@if (playlistTargetTrack; as target) {
|
|
1663
|
-
<div class="ngxsp-wmp-targetBanner">
|
|
1664
|
-
<span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
|
|
1665
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
|
|
1666
|
-
</div>
|
|
1667
|
-
}
|
|
1668
|
-
<div class="ngxsp-wmp-targets">
|
|
1669
|
-
@for (playlist of playlistOptions; track playlist.id) {
|
|
1670
|
-
<div class="ngxsp-wmp-target">
|
|
1671
|
-
<div class="ngxsp-wmp-targetMain">
|
|
1672
|
-
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
|
|
1673
|
-
<span class="ngxsp-wmp-rowCopy">
|
|
1674
|
-
<strong>{{ playlist.name }}</strong>
|
|
1675
|
-
@if (playlist.trackCount !== undefined) { <small>{{ playlist.trackCount }} {{ tracksCountLabel }}</small> }
|
|
1676
|
-
</span>
|
|
1677
|
-
@if (playlistTargetTrack || currentTrackAvailable) {
|
|
1678
|
-
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
|
|
1679
|
-
<ngxsp-smart-icon name="plus" />
|
|
1680
|
-
<span>{{ addLabel }}</span>
|
|
1681
|
-
</button>
|
|
1682
|
-
}
|
|
1683
|
-
</div>
|
|
1684
|
-
@if (editingPlaylistId === playlist.id) {
|
|
1685
|
-
<div class="ngxsp-wmp-inlineForm">
|
|
1686
|
-
<input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
|
|
1687
|
-
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
|
|
1688
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
|
|
1689
|
-
</div>
|
|
1690
|
-
} @else {
|
|
1691
|
-
<div class="ngxsp-wmp-targetActions">
|
|
1692
|
-
<button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
|
|
1693
|
-
<button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
|
|
1694
|
-
</div>
|
|
1695
|
-
}
|
|
1696
|
-
</div>
|
|
1697
|
-
} @empty {
|
|
1698
|
-
<div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
|
|
1699
|
-
}
|
|
1700
|
-
</div>
|
|
1701
|
-
@if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
|
|
1702
|
-
<div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
|
|
1703
|
-
}
|
|
1704
2399
|
</section>
|
|
1705
|
-
}
|
|
1706
|
-
</section>
|
|
1707
|
-
}
|
|
1708
2400
|
</div>
|
|
1709
2401
|
</aside>
|
|
1710
2402
|
|
|
@@ -1717,10 +2409,11 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1717
2409
|
<ngxsp-smart-icon name="music" />
|
|
1718
2410
|
}
|
|
1719
2411
|
</span>
|
|
1720
|
-
|
|
2412
|
+
<!-- The way into the page, which is where the video player puts its own. -->
|
|
2413
|
+
<button class="ngxsp-wmp-miniCopy" type="button" [attr.aria-label]="playerOpenLabel + ' - ' + (currentTitle || noTrackTitle)" [title]="playerOpenLabel" (click)="playerOpen.emit()">
|
|
1721
2414
|
<strong>{{ currentTitle || noTrackTitle }}</strong>
|
|
1722
2415
|
<small>{{ currentSubtitle || currentMeta || readyLabel }}</small>
|
|
1723
|
-
</
|
|
2416
|
+
</button>
|
|
1724
2417
|
<button class="ngxsp-wmp-iconButton" type="button" [class.active]="favoriteActive" [attr.aria-pressed]="favoriteActive" [title]="favoriteActive ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="favoriteActive ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(currentTrackId)">
|
|
1725
2418
|
<ngxsp-smart-icon name="heart" />
|
|
1726
2419
|
</button>
|
|
@@ -1784,10 +2477,76 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1784
2477
|
|
|
1785
2478
|
<div class="ngxsp-wmp-transportModes">
|
|
1786
2479
|
@for (panel of panelSwitches; track panel.id) {
|
|
1787
|
-
<
|
|
1788
|
-
<ngxsp-
|
|
2480
|
+
<span class="ngxsp-wmp-switchWrap">
|
|
2481
|
+
<button class="ngxsp-wmp-iconButton" type="button" [class.ngxsp-wmp-devicesButton]="panel.id === 'devices'" [class.active]="isPanelShowing(panel.id)" [attr.aria-pressed]="isPanelShowing(panel.id)" [attr.aria-haspopup]="panel.id === 'devices' ? 'dialog' : null" [attr.aria-expanded]="panel.id === 'devices' ? isPanelShowing(panel.id) : null" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanelFromBar(panel.id)">
|
|
2482
|
+
<ngxsp-smart-icon [name]="panel.icon" />
|
|
2483
|
+
</button>
|
|
2484
|
+
<!--
|
|
2485
|
+
The devices are a small dialog over the button that opens them, which is what the
|
|
2486
|
+
boards draw: where the sound goes is about what is playing, not about the page being
|
|
2487
|
+
read, and a column panel put it as far from its own switch as the window allows.
|
|
2488
|
+
-->
|
|
2489
|
+
@if (panel.id === 'devices' && isPanelShowing('devices') && showDeviceButton) {
|
|
2490
|
+
<div class="ngxsp-wmp-devicesPopover" role="dialog" [attr.aria-label]="devicesLabel">
|
|
2491
|
+
<header class="ngxsp-wmp-popoverHead">
|
|
2492
|
+
<strong>{{ devicesLabel }}</strong>
|
|
2493
|
+
<button class="ngxsp-wmp-stackIcon" type="button" [title]="searchDevicesLabel" [attr.aria-label]="searchDevicesLabel" (click)="refreshDevices.emit()">
|
|
2494
|
+
<ngxsp-smart-icon name="refresh" />
|
|
2495
|
+
</button>
|
|
2496
|
+
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel + ' - ' + devicesLabel" (click)="dismissDevices()">
|
|
2497
|
+
<ngxsp-smart-icon name="close" />
|
|
2498
|
+
</button>
|
|
2499
|
+
</header>
|
|
2500
|
+
<section class="ngxsp-wmp-devices">
|
|
2501
|
+
<!--
|
|
2502
|
+
Two lists sit here, and a reader who cannot tell them apart will send the sound to the
|
|
2503
|
+
wrong place: one hands the track to a machine that plays it itself, the other only
|
|
2504
|
+
changes which speakers this player uses. Each says which it is, in a line.
|
|
2505
|
+
-->
|
|
2506
|
+
<h3 class="ngxsp-wmp-deviceGroup">{{ castGroupLabel }}</h3>
|
|
2507
|
+
@if (castGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ castGroupHint }}</p> }
|
|
2508
|
+
@for (device of deviceItems; track device.id) {
|
|
2509
|
+
<div class="ngxsp-wmp-device" [class.active]="device.active">
|
|
2510
|
+
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
|
|
2511
|
+
<span class="ngxsp-wmp-rowCopy">
|
|
2512
|
+
<strong>{{ device.name }}</strong>
|
|
2513
|
+
@if (device.subtitle) { <small>{{ device.subtitle }}</small> }
|
|
2514
|
+
</span>
|
|
2515
|
+
<span class="ngxsp-wmp-deviceActions">
|
|
2516
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
|
|
2517
|
+
@if (device.stoppable !== false) {
|
|
2518
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
|
|
2519
|
+
}
|
|
2520
|
+
</span>
|
|
2521
|
+
</div>
|
|
2522
|
+
} @empty {
|
|
2523
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ emptyDevicesLabel }}</div>
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
@if (outputItems.length) {
|
|
2527
|
+
<h3 class="ngxsp-wmp-deviceGroup">{{ outputGroupLabel }}</h3>
|
|
2528
|
+
@if (outputGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ outputGroupHint }}</p> }
|
|
2529
|
+
@for (output of outputItems; track output.id) {
|
|
2530
|
+
<button
|
|
2531
|
+
class="ngxsp-wmp-output"
|
|
2532
|
+
type="button"
|
|
2533
|
+
[class.active]="output.active"
|
|
2534
|
+
[attr.aria-pressed]="!!output.active"
|
|
2535
|
+
(click)="selectOutput.emit(output.id)"
|
|
2536
|
+
>
|
|
2537
|
+
<span class="ngxsp-wmp-rowCopy">
|
|
2538
|
+
<strong>{{ output.label }}</strong>
|
|
2539
|
+
@if (output.detail) { <small>{{ output.detail }}</small> }
|
|
2540
|
+
</span>
|
|
2541
|
+
@if (output.active) { <ngxsp-smart-icon name="check" /> }
|
|
1789
2542
|
</button>
|
|
1790
2543
|
}
|
|
2544
|
+
}
|
|
2545
|
+
</section>
|
|
2546
|
+
</div>
|
|
2547
|
+
}
|
|
2548
|
+
</span>
|
|
2549
|
+
}
|
|
1791
2550
|
@if (compactModes && compactMode === 'full') {
|
|
1792
2551
|
<button class="ngxsp-wmp-iconButton ngxsp-wmp-windowButton" type="button" [title]="compactMiniLabel" [attr.aria-label]="compactMiniLabel" (click)="compactModeChange.emit('mini')">
|
|
1793
2552
|
<ngxsp-smart-icon name="window-mini" />
|
|
@@ -1821,7 +2580,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1821
2580
|
</section>
|
|
1822
2581
|
`,
|
|
1823
2582
|
isInline: true,
|
|
1824
|
-
styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-quickViews{display:flex;align-items:center;gap:2px;min-width:0}.ngxsp-wmp-backButton{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px 6px 6px;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);font-size:13px;cursor:pointer}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2);color:var(--wmp-ink)}@media(hover:none){.ngxsp-wmp-backButton:hover{background:transparent;color:var(--wmp-ink-2)}}.ngxsp-wmp-quickView{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);cursor:pointer}.ngxsp-wmp-quickView:hover{background:var(--wmp-s2);color:var(--wmp-ink)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}@media(hover:none){.ngxsp-wmp-quickView:hover{background:transparent;color:var(--wmp-ink-2)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-sectionScroll{display:grid;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{min-width:0;overflow-wrap:anywhere;padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-shell,.ngxsp-wmp-shell button,.ngxsp-wmp-shell [role=button]{touch-action:manipulation}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}@media(hover:none){.ngxsp-wmp-search input,.ngxsp-wmp-inlineForm input,.ngxsp-wmp-stationForm input{font-size:16px}}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackItem.collapsed{flex:0 0 auto}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto;overflow-anchor:none}.ngxsp-wmp-queueSpace{pointer-events:none;overflow-anchor:none}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-lyrics{flex:1;display:grid;gap:8px;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}.ngxsp-wmp-lyricsStatus{margin:0;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-lyricsLines{display:grid;gap:2px;overflow-y:auto;padding-right:4px;scroll-behavior:smooth}.ngxsp-wmp-lyricsLine{margin:0;padding:6px 8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);font-size:13px;line-height:1.45;text-align:left;white-space:pre-wrap}button.ngxsp-wmp-lyricsLine{cursor:pointer}button.ngxsp-wmp-lyricsLine:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-lyricsLine.active{background:var(--wmp-s2);color:var(--wmp-text);font-weight:600}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-lyricsLines{scroll-behavior:auto}}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:960px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{position:sticky;top:env(safe-area-inset-top,0px);z-index:4;border-right:0;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem[data-quick],.ngxsp-wmp-navDivider{display:none}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-lyricsLines{min-height:50vh}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:0;z-index:30;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton{display:grid}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"],
|
|
2583
|
+
styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-quickViews{display:flex;align-items:center;gap:2px;min-width:0}.ngxsp-wmp-backButton{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px 6px 6px;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);font-size:13px;cursor:pointer}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2);color:var(--wmp-ink)}@media(hover:none){.ngxsp-wmp-backButton:hover{background:transparent;color:var(--wmp-ink-2)}}.ngxsp-wmp-quickView{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);cursor:pointer}.ngxsp-wmp-quickView:hover{background:var(--wmp-s2);color:var(--wmp-ink)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}@media(hover:none){.ngxsp-wmp-quickView:hover{background:transparent;color:var(--wmp-ink-2)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navItem .ngxsp-wmp-navChevron{width:14px;height:14px;opacity:.55}.ngxsp-wmp-navItem.active .ngxsp-wmp-navChevron{opacity:.8}.ngxsp-wmp-navChild{height:30px;grid-template-columns:minmax(0,1fr) auto;padding-left:38px}.ngxsp-wmp-navChild span{font-weight:400;color:var(--wmp-text-3)}.ngxsp-wmp-navChild:hover span{color:var(--wmp-text)}.ngxsp-wmp-navChild.active{background:var(--wmp-s1)}.ngxsp-wmp-navChild.active span{color:var(--wmp-text);font-weight:500}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 2px 10px;font-size:12px;color:var(--wmp-text-3)}.ngxsp-wmp-trail b{color:var(--wmp-text);font-weight:600}.ngxsp-wmp-trailStep{padding:2px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-trailStep:hover,.ngxsp-wmp-trailStep:focus-visible{background:var(--wmp-surface-2,rgba(127,127,127,.12));color:var(--wmp-text)}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch){grid-template-columns:minmax(0,1fr) auto;align-items:center}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>span,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h1,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h2{grid-column:1}.ngxsp-wmp-viewSwitch{grid-column:2;grid-row:1 / span 2;display:flex;gap:6px}.ngxsp-wmp-viewSwitch button{height:30px;padding:0 12px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-viewSwitch button:hover:not(.active){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-viewSwitch button.active{border-color:var(--wmp-line-strong);color:var(--wmp-text)}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-detailHead{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px;padding-top:2px}.ngxsp-wmp-detailArt{flex:none;width:176px;height:176px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:14px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1))}.ngxsp-wmp-detailArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-detailText{flex:1 1 320px;min-width:0}.ngxsp-wmp-detailHead h1{font-size:24px;line-height:1.2;font-weight:700}.ngxsp-wmp-detailMeta{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-detailFormat{margin:3px 0 0;color:var(--wmp-text-3);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-detailActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ngxsp-wmp-detailAction{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 16px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-detailAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-detailAction:hover:not(:disabled){background:var(--wmp-s2, rgb(127 127 127 / .14))}.ngxsp-wmp-detailAction.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-detailAction.primary:hover:not(:disabled){filter:brightness(1.1)}.ngxsp-wmp-detailAction.compact{width:34px;padding:0;justify-content:center}.ngxsp-wmp-detailAction.active{border-color:transparent;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-detailAction.accent{border-color:var(--wmp-accent);color:var(--wmp-accent)}.ngxsp-wmp-detailAction:disabled{opacity:.45;cursor:default}.ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{justify-content:center}.ngxsp-wmp-sourcesPage,.ngxsp-wmp-playlistsPage{display:grid;gap:10px;padding-top:16px}.ngxsp-wmp-playlistsPage h1{margin:0;font-size:19px;font-weight:600}.ngxsp-wmp-playlistsHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourcesHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px}.ngxsp-wmp-sourcesHead h1{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-sourcesHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourceGroupTitle{margin:0;font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-sourceRows{display:grid;gap:10px;margin-bottom:14px}.ngxsp-wmp-sourceRow{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-sourceRow.active{border-color:var(--wmp-accent)}.ngxsp-wmp-sourceRow.footer{border-style:dashed;background:transparent}button.ngxsp-wmp-sourceRow{width:100%;text-align:start;color:inherit;font:inherit;cursor:pointer}button.ngxsp-wmp-sourceRow:hover,button.ngxsp-wmp-sourceRow:focus-visible{border-color:var(--wmp-line-strong)}.ngxsp-wmp-sourceIcon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-sourceIcon.dashed{border:1px dashed var(--wmp-line-strong);background:transparent;color:var(--wmp-text-3)}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceIcon{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-sourceIcon ngxsp-smart-icon{width:19px;height:19px}.ngxsp-wmp-sourceCopy{flex:1 1 180px;min-width:0;display:grid;gap:2px}.ngxsp-wmp-sourceCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-sourceCopy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-sourceState{flex:none;padding:3px 9px;border-radius:11px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceState{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-searchTitle{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-searchSummary,.ngxsp-wmp-viewIntro{margin:4px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-bellButton{position:relative}.ngxsp-wmp-bellWrap{position:relative;display:inline-flex}.ngxsp-wmp-notificationsPopover{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:392px;max-height:min(70vh,460px);overflow:auto;padding:12px;border:1px solid var(--wmp-line);border-radius:14px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 22px 54px #0000008c;text-align:left}.ngxsp-wmp-notificationsPopover ngxsp-notifications{gap:14px}.ngxsp-wmp-bellDot{position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;background:var(--wmp-danger);box-shadow:0 0 0 2px var(--wmp-s0)}.ngxsp-wmp-tabBar,.ngxsp-wmp-tabFacets{display:none}.ngxsp-wmp-playerPage{position:relative;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:40px 44px;background:radial-gradient(110% 80% at 20% 0%,var(--wmp-s2),var(--wmp-bg))}.ngxsp-wmp-playerBack{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 13px 0 10px;border:0;border-radius:16px;background:var(--wmp-s1);color:var(--wmp-text);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-playerBack ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-playerBack:hover{background:var(--wmp-s3)}.ngxsp-wmp-playerStage{display:flex;flex-wrap:wrap;gap:32px;align-items:center;min-height:0}.ngxsp-wmp-playerSide{flex:none;width:268px;display:flex;flex-direction:column;align-items:center;gap:18px}.ngxsp-wmp-playerArt{display:grid;place-items:center;width:268px;height:268px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:16px;box-shadow:0 22px 50px #00000080}.ngxsp-wmp-playerArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-playerArt ngxsp-smart-icon{width:64px;height:64px;opacity:.55}.ngxsp-wmp-playerCopy{text-align:center;max-width:268px}.ngxsp-wmp-playerCopy h1{margin:0;font-size:20px;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy p{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy small{display:block;margin:3px 0 0;color:var(--wmp-text-3);font-size:11.5px;overflow-wrap:anywhere}.ngxsp-wmp-playerWave{width:100%;height:40px;display:flex;align-items:flex-end;gap:2px}.ngxsp-wmp-playerWave span{flex:1;border-radius:1px;background:var(--wmp-accent-soft)}.ngxsp-wmp-playerWave span.played{background:var(--wmp-accent);opacity:.55}.ngxsp-wmp-playerLyrics{flex:1 1 320px;min-width:0;min-height:0;max-height:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.ngxsp-wmp-playerLyricsHead{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-playerLyricsHead ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-playerLyricsLines{display:flex;flex-direction:column;min-height:0;overflow-y:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-playerLyricsLines::-webkit-scrollbar{display:none}.ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerLyricsLines p{margin:0;padding:6px 0;border:0;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:16px;line-height:1.4;text-align:start}.ngxsp-wmp-playerLyricsLines button{cursor:pointer}.ngxsp-wmp-playerLyricsLines button:hover{color:var(--wmp-text-2)}.ngxsp-wmp-playerLyricsLines button.active{color:var(--wmp-text);font-size:19px;font-weight:600}@media(max-width:1024px){.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-rail{display:none}.ngxsp-wmp-playerPage{padding:24px 16px 16px}.ngxsp-wmp-playerStage{justify-content:center}.ngxsp-wmp-playerLyrics{max-height:40vh}.ngxsp-wmp-playerBack{position:static;align-self:flex-start;margin-bottom:14px}}.ngxsp-wmp-searchFilters{display:flex;flex-wrap:wrap;gap:6px}.ngxsp-wmp-searchFilters button{height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-searchFilters button small{opacity:.7;font-size:11px}.ngxsp-wmp-searchFilters button:hover:not(.active):not(:disabled){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-searchFilters button.active{border-color:transparent;background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-searchFilters button.active small{opacity:.75}.ngxsp-wmp-searchFilters button:disabled{opacity:.45;cursor:default}.ngxsp-wmp-searchBestBlock{display:grid;gap:10px}.ngxsp-wmp-searchBest{display:flex;flex-wrap:wrap;gap:16px;padding:14px;border:1px solid var(--wmp-accent);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-searchBestArt{flex:none;display:grid;place-items:center;width:140px;height:140px;overflow:hidden;padding:0;border:1px solid var(--wmp-line);border-radius:12px;cursor:pointer}.ngxsp-wmp-searchBestArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-searchBestArt ngxsp-smart-icon{width:34px;height:34px;opacity:.6}.ngxsp-wmp-searchBestCopy{flex:1 1 260px;min-width:0}.ngxsp-wmp-searchBestCopy h3{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy p{margin:5px 0 0;color:var(--wmp-text-2);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy small{display:block;margin:8px 0 0;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-searchBestCopy .ngxsp-wmp-detailActions{margin-top:14px}mark{background:var(--wmp-accent-soft);color:var(--wmp-text);border-radius:3px;padding:0 2px}.ngxsp-wmp-recentSearches{display:grid;gap:2px;padding:0 8px 8px}.ngxsp-wmp-recentSearches button{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12.5px;text-align:start;cursor:pointer}.ngxsp-wmp-recentSearches button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-recentSearches button ngxsp-smart-icon{width:14px;height:14px;opacity:.7}.ngxsp-wmp-recentSearches button:hover,.ngxsp-wmp-recentSearches button.active{background:var(--wmp-s2);color:var(--wmp-text)}@media(max-width:720px){.ngxsp-wmp-detailArt{width:112px;height:112px}.ngxsp-wmp-detailHead h1{font-size:20px}}.ngxsp-wmp-sectionScroll{display:grid;min-width:0;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{min-width:0;overflow-wrap:anywhere;padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-shell,.ngxsp-wmp-shell button,.ngxsp-wmp-shell [role=button]{touch-action:manipulation}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}@media(hover:none){.ngxsp-wmp-search input,.ngxsp-wmp-inlineForm input,.ngxsp-wmp-stationForm input{font-size:16px}}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-cardFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-cardFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-trackMenuScrim{position:fixed;inset:0;z-index:60;padding:0;border:0;background:transparent;cursor:default}.ngxsp-wmp-trackMenu{position:fixed;z-index:61;min-width:208px;max-width:280px;display:grid;gap:2px;padding:6px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-md);background:var(--wmp-s2);box-shadow:0 16px 40px #0000007a}.ngxsp-wmp-trackMenuTitle{padding:6px 10px 8px;font-size:11px;font-weight:600;color:var(--wmp-text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackMenu button{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:13px;text-align:left;cursor:pointer}.ngxsp-wmp-trackMenu button ngxsp-smart-icon{width:18px;height:18px;flex:0 0 auto}.ngxsp-wmp-trackMenu button:hover{background:var(--wmp-s3)}.ngxsp-wmp-trackMenu button.danger{color:var(--wmp-danger-text)}.ngxsp-wmp-trackMenu button.danger:hover{background:#f25f5c29}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-shelfMore{justify-self:start;margin-top:8px;display:inline-flex;align-items:baseline;gap:8px;padding:8px 14px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:var(--wmp-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-shelfMore small{color:var(--wmp-text-2);font-weight:500;font-variant-numeric:tabular-nums}.ngxsp-wmp-shelfMore:hover:not(:disabled),.ngxsp-wmp-shelfMore:focus-visible{background:var(--wmp-s2)}.ngxsp-wmp-shelfMore:disabled{opacity:.6;cursor:default}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-panelTabs{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}.ngxsp-wmp-panelPill{height:26px;padding:0 11px;border:1px solid var(--wmp-border,#d9d9d9);border-radius:999px;background:transparent;color:var(--wmp-muted,#6a6a6a);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.ngxsp-wmp-panelPill.active{background:var(--wmp-accent,#2b6cb0);border-color:transparent;color:var(--wmp-accent-text,#fff);font-weight:600}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto;overflow-anchor:none}.ngxsp-wmp-queueSpace{pointer-events:none;overflow-anchor:none}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueRow{position:relative;min-width:0}.ngxsp-wmp-queueControls{position:absolute;top:4px;right:4px;display:grid;grid-template-columns:repeat(2,28px);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueControls button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-queueControls button:hover:not(:disabled){background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-queueControls button.active{color:var(--wmp-accent)}.ngxsp-wmp-queueControls button:disabled{opacity:.3;cursor:default}.ngxsp-wmp-queueControls ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow.active .ngxsp-wmp-rowMeta{visibility:hidden}@media(hover:none){.ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueRow .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow .ngxsp-wmp-rowMeta{visibility:hidden}}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-keepQueue{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;margin:0 8px 10px;padding:8px 10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-keepQueue:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-keepQueue ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-deviceGroup{margin:10px 0 2px;font-size:11px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-deviceGroup:first-child{margin-top:0}.ngxsp-wmp-deviceHint{margin:0 0 7px;color:var(--wmp-text-2);font-size:11px;line-height:1.4}.ngxsp-wmp-output{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:var(--wmp-r-md);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.ngxsp-wmp-output:hover{background:var(--wmp-s2)}.ngxsp-wmp-output.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-output .ngxsp-wmp-rowCopy{flex:1;min-width:0}.ngxsp-wmp-output ngxsp-smart-icon{flex:0 0 auto;width:15px;height:15px;color:var(--wmp-accent)}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}button.ngxsp-wmp-miniCopy{padding:4px 6px;margin:-4px -6px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}button.ngxsp-wmp-miniCopy:hover{background:var(--wmp-s2)}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-switchWrap{position:relative;display:inline-flex;flex:0 0 auto}.ngxsp-wmp-devicesPopover{position:absolute;right:-6px;bottom:calc(100% + 12px);z-index:40;width:300px;max-height:min(60vh,420px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 18px 40px #00000073;text-align:left}.ngxsp-wmp-popoverHead{flex:none;display:flex;align-items:center;gap:8px;padding:12px 12px 2px}.ngxsp-wmp-popoverHead strong{flex:1;font-size:12.5px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:1023px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;right:16px;bottom:calc(var(--wmp-transport-h) + 12px);z-index:40;max-width:min(420px,calc(100vw - 32px));white-space:normal;height:auto;min-height:30px;padding:6px 12px;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;--wmp-tabbar-h:66px;padding-bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;left:12px;right:12px;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px) + 8px);z-index:40;max-width:none;height:auto;min-height:34px;padding:8px 12px;white-space:normal;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titleActions .ngxsp-wmp-status{bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px) + 8px)}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{display:none}.ngxsp-wmp-tabBar{position:fixed;left:0;right:0;bottom:0;z-index:31;height:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-tab{flex:1;min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 4px;border:0;border-radius:10px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:10px;cursor:pointer}.ngxsp-wmp-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-tab ngxsp-smart-icon{width:20px;height:20px}.ngxsp-wmp-tab.active{background:var(--wmp-accent-soft);color:var(--wmp-accent);font-weight:600}.ngxsp-wmp-tabFacets{display:flex;gap:7px;padding:10px 12px 0;overflow-x:auto}.ngxsp-wmp-tabFacets button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:16px;background:var(--wmp-s2);color:var(--wmp-text-2);font:inherit;font-size:12.5px;cursor:pointer}.ngxsp-wmp-tabFacets button small{opacity:.7;font-size:11px}.ngxsp-wmp-tabFacets button.active{background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage){--wmp-transport-h:116px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-tabBar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{bottom:0;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titlebar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playerPage{min-height:calc(100vh - var(--wmp-transport-h) - env(safe-area-inset-bottom,0px));justify-content:center;padding:12px 20px 20px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerSide{display:contents}.ngxsp-wmp-playerPage .ngxsp-wmp-playerStage{flex-direction:column;align-items:center;gap:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerArt{order:2;width:150px;height:150px;border-radius:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyrics{order:3;flex:none;width:100%;max-width:320px;max-height:24vh}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsHead{justify-content:center;margin-bottom:6px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines{align-items:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines p{padding:7px 0;font-size:14px;text-align:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button.active{font-size:17px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy{order:4;max-width:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy small,.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{display:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerWave{order:5;max-width:320px;height:34px}.ngxsp-wmp-playerBack{order:-1}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{background:transparent;box-shadow:none;border-top:0}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniArt,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniCopy{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center;gap:10px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons{grid-column:1 / -1;grid-row:1;justify-content:center;gap:18px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playButton{width:56px;height:56px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-seekRow{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportModes{grid-column:1 / -1;grid-row:2;justify-content:center}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-footerVolume{display:none}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem[data-quick],.ngxsp-wmp-navDivider{display:none}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navChevron{display:none}.ngxsp-wmp-navChild{grid-template-columns:auto auto;padding:0 12px;background:var(--wmp-s1)}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:30;height:var(--wmp-transport-h);grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px 6px;box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"],
|
|
1825
2584
|
dependencies: [
|
|
1826
2585
|
{
|
|
1827
2586
|
kind: "ngmodule",
|
|
@@ -1837,6 +2596,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1837
2596
|
"ports",
|
|
1838
2597
|
"engines",
|
|
1839
2598
|
"debug",
|
|
2599
|
+
"handlingFailure",
|
|
1840
2600
|
"startTimeSec",
|
|
1841
2601
|
"autoplayOnInit",
|
|
1842
2602
|
"playRequest",
|
|
@@ -1851,9 +2611,13 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1851
2611
|
"repeatMode",
|
|
1852
2612
|
"repeatLabel",
|
|
1853
2613
|
"hasPlaylistControls",
|
|
2614
|
+
"showCastControl",
|
|
2615
|
+
"showPictureInPicture",
|
|
2616
|
+
"showPlaylistModes",
|
|
1854
2617
|
"mediaMode",
|
|
1855
2618
|
"castEnabled",
|
|
1856
2619
|
"castConnected",
|
|
2620
|
+
"overlayLabels",
|
|
1857
2621
|
"documentShortcuts",
|
|
1858
2622
|
"nowPlayingLabel",
|
|
1859
2623
|
"nowListeningLabel",
|
|
@@ -1872,7 +2636,14 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1872
2636
|
"outputUnmuteLabel",
|
|
1873
2637
|
"timelineDurationSec",
|
|
1874
2638
|
"timelineMarkers",
|
|
1875
|
-
"
|
|
2639
|
+
"showAudioVisual",
|
|
2640
|
+
"showTrackControls",
|
|
2641
|
+
"menuLabels",
|
|
2642
|
+
"castLabels",
|
|
2643
|
+
"holdControls",
|
|
2644
|
+
"preferredTextLanguage",
|
|
2645
|
+
"captionScale",
|
|
2646
|
+
"loadSidecarSubtitles"
|
|
1876
2647
|
],
|
|
1877
2648
|
outputs: [
|
|
1878
2649
|
"ended",
|
|
@@ -1903,6 +2674,20 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1903
2674
|
inputs: ["sections"],
|
|
1904
2675
|
outputs: ["settingChange", "settingAction"]
|
|
1905
2676
|
},
|
|
2677
|
+
{
|
|
2678
|
+
kind: "component",
|
|
2679
|
+
type: SmartNotificationsComponent,
|
|
2680
|
+
selector: "ngxsp-notifications",
|
|
2681
|
+
inputs: ["page"],
|
|
2682
|
+
outputs: ["entryAction", "markAllRead"]
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
kind: "component",
|
|
2686
|
+
type: SmartEmptyPageComponent,
|
|
2687
|
+
selector: "ngxsp-empty-page",
|
|
2688
|
+
inputs: ["page"],
|
|
2689
|
+
outputs: ["pageAction"]
|
|
2690
|
+
},
|
|
1906
2691
|
{
|
|
1907
2692
|
kind: "component",
|
|
1908
2693
|
type: NgxspTimeSlider,
|
|
@@ -1945,7 +2730,7 @@ var NgxSmartPlayerAudioUiComponent = class NgxSmartPlayerAudioUiComponent {
|
|
|
1945
2730
|
};
|
|
1946
2731
|
i0.ɵɵngDeclareClassMetadata({
|
|
1947
2732
|
minVersion: "12.0.0",
|
|
1948
|
-
version: "22.
|
|
2733
|
+
version: "22.3.0",
|
|
1949
2734
|
ngImport: i0,
|
|
1950
2735
|
type: NgxSmartPlayerAudioUiComponent,
|
|
1951
2736
|
decorators: [{
|
|
@@ -1958,6 +2743,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1958
2743
|
SmartPlayerComponent,
|
|
1959
2744
|
SmartPlayerIconComponent,
|
|
1960
2745
|
SmartSettingsComponent,
|
|
2746
|
+
SmartNotificationsComponent,
|
|
2747
|
+
SmartEmptyPageComponent,
|
|
1961
2748
|
NgxspTimeSlider,
|
|
1962
2749
|
NgxspVolumeControl
|
|
1963
2750
|
],
|
|
@@ -1978,6 +2765,40 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1978
2765
|
(dragleave)="onFileDragLeave($event)"
|
|
1979
2766
|
(drop)="onFileDrop($event)"
|
|
1980
2767
|
>
|
|
2768
|
+
@if (trackMenu) {
|
|
2769
|
+
<button
|
|
2770
|
+
class="ngxsp-wmp-trackMenuScrim"
|
|
2771
|
+
type="button"
|
|
2772
|
+
[attr.aria-label]="closeLabel + ' - ' + trackMenu.title"
|
|
2773
|
+
(click)="dismissTrackMenu()"
|
|
2774
|
+
(contextmenu)="$event.preventDefault(); dismissTrackMenu()"
|
|
2775
|
+
></button>
|
|
2776
|
+
<div
|
|
2777
|
+
#trackMenuBox
|
|
2778
|
+
class="ngxsp-wmp-trackMenu"
|
|
2779
|
+
role="menu"
|
|
2780
|
+
tabindex="-1"
|
|
2781
|
+
[attr.aria-label]="trackMenu.title"
|
|
2782
|
+
[style.left.px]="trackMenu.x"
|
|
2783
|
+
[style.top.px]="trackMenu.y"
|
|
2784
|
+
(keydown)="onMenuKeys($event)"
|
|
2785
|
+
>
|
|
2786
|
+
<!-- Le nom de la boîte le dit déjà : laissé dans l'arbre, il s'entendait deux fois. -->
|
|
2787
|
+
<strong class="ngxsp-wmp-trackMenuTitle" aria-hidden="true">{{ trackMenu.title }}</strong>
|
|
2788
|
+
<button type="button" role="menuitem" (click)="runTrackAction('next')">
|
|
2789
|
+
<ngxsp-smart-icon name="next" /><span>{{ queueNextLabel }}</span>
|
|
2790
|
+
</button>
|
|
2791
|
+
<button type="button" role="menuitem" (click)="runTrackAction('queue')">
|
|
2792
|
+
<ngxsp-smart-icon name="playlist-plus" /><span>{{ queueAddLabel }}</span>
|
|
2793
|
+
</button>
|
|
2794
|
+
@if (isRemovable(trackMenu.id)) {
|
|
2795
|
+
<button type="button" role="menuitem" class="danger" (click)="runTrackAction('remove')">
|
|
2796
|
+
<ngxsp-smart-icon name="close" /><span>{{ removeItemLabel }}</span>
|
|
2797
|
+
</button>
|
|
2798
|
+
}
|
|
2799
|
+
</div>
|
|
2800
|
+
}
|
|
2801
|
+
|
|
1981
2802
|
@if (fileDragActive) {
|
|
1982
2803
|
<div class="ngxsp-wmp-dropOverlay" aria-hidden="true">
|
|
1983
2804
|
<span class="ngxsp-wmp-dropIcon"><ngxsp-smart-icon name="folder" /></span>
|
|
@@ -1989,6 +2810,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1989
2810
|
}
|
|
1990
2811
|
|
|
1991
2812
|
@if (config) {
|
|
2813
|
+
<!-- The engine, and only the engine: the cover and the waveform of this application are its
|
|
2814
|
+
own, so the player is mounted in a box of a pixel. Its own stage for a sound — a disc
|
|
2815
|
+
turning, five bars pulsing — went on turning inside that box, clipped away. -->
|
|
1992
2816
|
<div class="ngxsp-wmp-engineMount" aria-hidden="true" inert>
|
|
1993
2817
|
<ngx-smart-player
|
|
1994
2818
|
[config]="config"
|
|
@@ -1996,6 +2820,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1996
2820
|
[ports]="ports"
|
|
1997
2821
|
[engines]="engines"
|
|
1998
2822
|
[debug]="debug"
|
|
2823
|
+
[handlingFailure]="handlingFailure"
|
|
1999
2824
|
[startTimeSec]="startTimeSec"
|
|
2000
2825
|
[autoplayOnInit]="autoplayOnInit"
|
|
2001
2826
|
[playRequest]="playRequest"
|
|
@@ -2007,7 +2832,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2007
2832
|
[repeatLabel]="repeatLabel"
|
|
2008
2833
|
[hasPlaylistControls]="hasPlaylistControls"
|
|
2009
2834
|
[mediaMode]="'audio'"
|
|
2835
|
+
[showAudioVisual]="false"
|
|
2010
2836
|
[castEnabled]="castEnabled"
|
|
2837
|
+
[castLabels]="castLabels"
|
|
2838
|
+
|
|
2011
2839
|
(ended)="ended.emit()"
|
|
2012
2840
|
(videoSize)="videoSize.emit($event)"
|
|
2013
2841
|
(prev)="prev.emit()"
|
|
@@ -2038,33 +2866,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2038
2866
|
</label>
|
|
2039
2867
|
|
|
2040
2868
|
<div class="ngxsp-wmp-titleActions">
|
|
2041
|
-
@if (quickViews.length) {
|
|
2042
|
-
<!-- On a phone the rail is a strip one scrolls, and these views sat at the far end of
|
|
2043
|
-
it: settings were eight drags away, for the view a listener opens most. They move
|
|
2044
|
-
up here, on the actions side, and leave the strip at that width rather than being
|
|
2045
|
-
listed twice, which is what data-quick does below. Icon only: four more words
|
|
2046
|
-
beside the folder button would read as a menu rather than as a way out of one. -->
|
|
2047
|
-
<nav class="ngxsp-wmp-quickViews" [attr.aria-label]="quickViewsLabel">
|
|
2048
|
-
@for (view of quickViews; track view.id) {
|
|
2049
|
-
<button
|
|
2050
|
-
class="ngxsp-wmp-quickView"
|
|
2051
|
-
type="button"
|
|
2052
|
-
[class.active]="view.active"
|
|
2053
|
-
[attr.aria-current]="view.active ? 'page' : null"
|
|
2054
|
-
[title]="view.label"
|
|
2055
|
-
[attr.aria-label]="view.label"
|
|
2056
|
-
(click)="selectLibraryView.emit(view.id)"
|
|
2057
|
-
>
|
|
2058
|
-
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
2059
|
-
</button>
|
|
2060
|
-
}
|
|
2061
|
-
</nav>
|
|
2062
|
-
}
|
|
2063
2869
|
@if (statusMessage) {
|
|
2064
2870
|
<div class="ngxsp-wmp-status" [class.success]="statusKind === 'success'" [class.error]="statusKind === 'error'" [attr.role]="statusKind === 'error' ? 'alert' : 'status'" [attr.aria-live]="statusKind === 'error' ? 'assertive' : 'polite'" aria-atomic="true" [title]="statusMessage">
|
|
2065
2871
|
{{ statusMessage }}
|
|
2066
2872
|
</div>
|
|
2067
2873
|
}
|
|
2874
|
+
<!--
|
|
2875
|
+
What the top bar carries, when it carries anything. A host whose Sources page owns the
|
|
2876
|
+
folders says so by turning this off: one place for one thing beats two that can give
|
|
2877
|
+
different answers. A host without such a page keeps it, and that is the default.
|
|
2878
|
+
-->
|
|
2879
|
+
@if (showSourceButton) {
|
|
2068
2880
|
<!-- The import action lives in the top bar, as in the video player. A folder is what
|
|
2069
2881
|
builds the library, so it is the action wherever one can be loaded. -->
|
|
2070
2882
|
@if (folderImportLabel) {
|
|
@@ -2078,6 +2890,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2078
2890
|
<span>{{ sourceChangeLabel }}</span>
|
|
2079
2891
|
</button>
|
|
2080
2892
|
}
|
|
2893
|
+
}
|
|
2081
2894
|
<input #audioFileInput class="ngxsp-wmp-fileInput" type="file" [accept]="sourceChangeAccept" aria-hidden="true" tabindex="-1" (change)="onSourceFileInput($event)" />
|
|
2082
2895
|
@if (languageOptions.length) {
|
|
2083
2896
|
<div class="ngxsp-wmp-segmented ngxsp-wmp-languageSwitch" role="group" [attr.aria-label]="languageLabel">
|
|
@@ -2089,8 +2902,51 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2089
2902
|
</div>
|
|
2090
2903
|
}
|
|
2091
2904
|
<button class="ngxsp-wmp-iconButton" type="button" [class.active]="queuePanelOpen" [attr.aria-pressed]="queuePanelOpen" [title]="queueTitle" [attr.aria-label]="queueTitle" (click)="toggleQueuePanel()">
|
|
2092
|
-
<ngxsp-smart-icon name="
|
|
2905
|
+
<ngxsp-smart-icon name="queue" />
|
|
2906
|
+
</button>
|
|
2907
|
+
<!-- The bell the compact boards draw, with the dot that says something happened and
|
|
2908
|
+
nobody has looked. The video player has had one; this side had none. -->
|
|
2909
|
+
<!--
|
|
2910
|
+
What the application did without being asked is read in passing, over whatever one
|
|
2911
|
+
was doing. Notifications.dc.html hangs it under the bell: a page took the whole
|
|
2912
|
+
window away to say it, and then had to be left again.
|
|
2913
|
+
-->
|
|
2914
|
+
<!-- Escape closes it, wherever the keyboard is: on the bell, or inside the dialog. -->
|
|
2915
|
+
<span class="ngxsp-wmp-bellWrap">
|
|
2916
|
+
<!-- Escape closes it from here as well as from inside: a dialog one cannot dismiss by
|
|
2917
|
+
key is a trap, and the hand is usually still on the button that opened it. -->
|
|
2918
|
+
<button class="ngxsp-wmp-iconButton ngxsp-wmp-bellButton" type="button" aria-haspopup="dialog" [class.active]="!!notificationsPage" [attr.aria-expanded]="!!notificationsPage" [attr.aria-label]="notificationsUnread ? notificationsLabel + ' (' + notificationsUnread + ')' : notificationsLabel" [title]="notificationsLabel" (click)="notificationsOpen.emit()">
|
|
2919
|
+
<ngxsp-smart-icon name="bell" />
|
|
2920
|
+
@if (notificationsUnread) { <i class="ngxsp-wmp-bellDot" aria-hidden="true"></i> }
|
|
2093
2921
|
</button>
|
|
2922
|
+
@if (notificationsPage) {
|
|
2923
|
+
<div class="ngxsp-wmp-notificationsPopover" role="dialog" [attr.aria-label]="notificationsLabel">
|
|
2924
|
+
<ngxsp-notifications [page]="notificationsPage" (entryAction)="notificationAction.emit($event)" (markAllRead)="notificationsRead.emit()" />
|
|
2925
|
+
</div>
|
|
2926
|
+
}
|
|
2927
|
+
</span>
|
|
2928
|
+
@if (quickViews.length) {
|
|
2929
|
+
<!-- On a phone the rail is a strip one scrolls, and these views sat at the far end of
|
|
2930
|
+
it: settings were eight drags away, for the view a listener opens most. They move
|
|
2931
|
+
up here, on the actions side, and leave the strip at that width rather than being
|
|
2932
|
+
listed twice, which is what data-quick does below. Icon only: four more words
|
|
2933
|
+
beside the folder button would read as a menu rather than as a way out of one. -->
|
|
2934
|
+
<nav class="ngxsp-wmp-quickViews" [attr.aria-label]="quickViewsLabel">
|
|
2935
|
+
@for (view of quickViews; track view.id) {
|
|
2936
|
+
<button
|
|
2937
|
+
class="ngxsp-wmp-quickView"
|
|
2938
|
+
type="button"
|
|
2939
|
+
[class.active]="view.active"
|
|
2940
|
+
[attr.aria-current]="view.active ? 'page' : null"
|
|
2941
|
+
[title]="view.label"
|
|
2942
|
+
[attr.aria-label]="view.label"
|
|
2943
|
+
(click)="selectLibraryView.emit(view.id)"
|
|
2944
|
+
>
|
|
2945
|
+
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
2946
|
+
</button>
|
|
2947
|
+
}
|
|
2948
|
+
</nav>
|
|
2949
|
+
}
|
|
2094
2950
|
</div>
|
|
2095
2951
|
</header>
|
|
2096
2952
|
|
|
@@ -2098,13 +2954,25 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2098
2954
|
@if (libraryViews.length) {
|
|
2099
2955
|
<nav class="ngxsp-wmp-nav" [attr.aria-label]="libraryViewsLabel">
|
|
2100
2956
|
@for (view of primaryViews; track view.id) {
|
|
2101
|
-
<button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
|
|
2957
|
+
<button class="ngxsp-wmp-navItem" [attr.data-quick]="hasQuickView(view.id) ? '' : null" [class.active]="view.active" type="button" [attr.aria-current]="view.active ? 'page' : null" [attr.aria-expanded]="view.children?.length ? !!view.active : null" [attr.aria-label]="view.count !== undefined ? view.label + ' ' + view.count : view.label" (click)="selectLibraryView.emit(view.id)">
|
|
2102
2958
|
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
2103
2959
|
<span>{{ view.label }}</span>
|
|
2104
|
-
@if (view.
|
|
2960
|
+
@if (view.children?.length) {
|
|
2961
|
+
<ngxsp-smart-icon class="ngxsp-wmp-navChevron" [name]="view.active ? 'chevron-down' : 'chevron-right'" />
|
|
2962
|
+
} @else if (view.count !== undefined) {
|
|
2105
2963
|
<small>{{ view.count }}</small>
|
|
2106
2964
|
}
|
|
2107
2965
|
</button>
|
|
2966
|
+
@if (view.active) {
|
|
2967
|
+
@for (child of view.children ?? []; track child.id) {
|
|
2968
|
+
<button class="ngxsp-wmp-navItem ngxsp-wmp-navChild" [class.active]="child.active" type="button" [attr.aria-current]="child.active ? 'page' : null" [attr.aria-label]="child.count !== undefined ? child.label + ' ' + child.count : child.label" (click)="selectLibraryView.emit(child.id)">
|
|
2969
|
+
<span>{{ child.label }}</span>
|
|
2970
|
+
@if (child.count !== undefined) {
|
|
2971
|
+
<small>{{ child.count }}</small>
|
|
2972
|
+
}
|
|
2973
|
+
</button>
|
|
2974
|
+
}
|
|
2975
|
+
}
|
|
2108
2976
|
}
|
|
2109
2977
|
@if (collectionViews.length) {
|
|
2110
2978
|
<span class="ngxsp-wmp-navDivider" aria-hidden="true"></span>
|
|
@@ -2143,7 +3011,125 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2143
3011
|
</div>
|
|
2144
3012
|
</aside>
|
|
2145
3013
|
|
|
3014
|
+
<!-- A phone puts the families where a thumb reaches them. The rail flattened the whole tree
|
|
3015
|
+
into one strip one had to scroll sideways; the boards draw three fixed targets at the
|
|
3016
|
+
bottom, and the facets of the open family at the top of what it holds. -->
|
|
3017
|
+
<nav class="ngxsp-wmp-tabBar" [attr.aria-label]="libraryViewsLabel">
|
|
3018
|
+
@for (view of primaryViews; track view.id) {
|
|
3019
|
+
@if (!hasQuickView(view.id)) {
|
|
3020
|
+
<button class="ngxsp-wmp-tab" type="button" [class.active]="view.active" [attr.aria-current]="view.active ? 'page' : null" (click)="selectLibraryView.emit(view.id)">
|
|
3021
|
+
<ngxsp-smart-icon [name]="viewIcon(view.id)" />
|
|
3022
|
+
<span>{{ view.label }}</span>
|
|
3023
|
+
</button>
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
</nav>
|
|
3027
|
+
|
|
2146
3028
|
<section #libraryScroll class="ngxsp-wmp-main" [attr.aria-label]="libraryContentTitle || libraryTitle">
|
|
3029
|
+
@if (playerPage; as page) {
|
|
3030
|
+
<!-- A track as a page: the board draws the cover large, what it is made of under it, and
|
|
3031
|
+
the words beside it. The video player has had a page of its own since it became a
|
|
3032
|
+
place one goes into; this side listened from the bottom bar and nowhere else. -->
|
|
3033
|
+
<section class="ngxsp-wmp-playerPage" [attr.aria-label]="page.title">
|
|
3034
|
+
@if (page.backLabel) {
|
|
3035
|
+
<button class="ngxsp-wmp-playerBack" type="button" [attr.aria-label]="page.backLabel" [title]="page.backLabel" (click)="playerBack.emit()">
|
|
3036
|
+
<ngxsp-smart-icon name="chevron-left" />
|
|
3037
|
+
<span>{{ page.backLabel }}</span>
|
|
3038
|
+
</button>
|
|
3039
|
+
}
|
|
3040
|
+
<div class="ngxsp-wmp-playerStage">
|
|
3041
|
+
<div class="ngxsp-wmp-playerSide">
|
|
3042
|
+
<div class="ngxsp-wmp-playerArt ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(page.artworkUrl)" [attr.data-tone]="artTone(currentTrackId || page.title)">
|
|
3043
|
+
@if (artworkSrc(page.artworkUrl); as artworkUrl) {
|
|
3044
|
+
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" />
|
|
3045
|
+
} @else {
|
|
3046
|
+
<ngxsp-smart-icon name="music" />
|
|
3047
|
+
}
|
|
3048
|
+
</div>
|
|
3049
|
+
<div class="ngxsp-wmp-playerCopy">
|
|
3050
|
+
<h1>{{ page.title }}</h1>
|
|
3051
|
+
@if (page.artist) { <p>{{ page.artist }}</p> }
|
|
3052
|
+
@if (page.meta) { <small>{{ page.meta }}</small> }
|
|
3053
|
+
@if (page.actions?.length) {
|
|
3054
|
+
<div class="ngxsp-wmp-detailActions">
|
|
3055
|
+
@for (action of page.actions; track action.id) {
|
|
3056
|
+
<button
|
|
3057
|
+
class="ngxsp-wmp-detailAction"
|
|
3058
|
+
type="button"
|
|
3059
|
+
[class.primary]="action.primary"
|
|
3060
|
+
[class.compact]="action.compact"
|
|
3061
|
+
[class.active]="action.active"
|
|
3062
|
+
[disabled]="action.disabled"
|
|
3063
|
+
[attr.aria-pressed]="action.active === undefined ? null : action.active"
|
|
3064
|
+
[attr.aria-label]="action.label"
|
|
3065
|
+
[title]="action.label"
|
|
3066
|
+
(click)="playerPageAction.emit(action.id)"
|
|
3067
|
+
>
|
|
3068
|
+
@if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
|
|
3069
|
+
@if (!action.compact) { <span>{{ action.label }}</span> }
|
|
3070
|
+
</button>
|
|
3071
|
+
}
|
|
3072
|
+
</div>
|
|
3073
|
+
}
|
|
3074
|
+
</div>
|
|
3075
|
+
<!-- A sound has no picture of its own to show: the bars say how far it has gone. -->
|
|
3076
|
+
<div class="ngxsp-wmp-playerWave" aria-hidden="true">
|
|
3077
|
+
@for (bar of waveformBars; track $index) {
|
|
3078
|
+
<span [class.played]="$index < playedBars" [style.height.%]="bar"></span>
|
|
3079
|
+
}
|
|
3080
|
+
</div>
|
|
3081
|
+
</div>
|
|
3082
|
+
@if (lyricsPanel; as lyrics) {
|
|
3083
|
+
<section class="ngxsp-wmp-playerLyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
|
|
3084
|
+
<div class="ngxsp-wmp-playerLyricsHead">
|
|
3085
|
+
<ngxsp-smart-icon name="lyrics" />
|
|
3086
|
+
<span>{{ lyrics.status || lyrics.title }}</span>
|
|
3087
|
+
@if (lyrics.searchLabel) {
|
|
3088
|
+
<button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
|
|
3089
|
+
}
|
|
3090
|
+
</div>
|
|
3091
|
+
<div class="ngxsp-wmp-playerLyricsLines" #playerLyricsLines>
|
|
3092
|
+
@for (line of lyrics.lines; track $index) {
|
|
3093
|
+
@if (line.timeSec !== undefined) {
|
|
3094
|
+
<button type="button" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
|
|
3095
|
+
} @else {
|
|
3096
|
+
<p>{{ line.text }}</p>
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
</div>
|
|
3100
|
+
</section>
|
|
3101
|
+
}
|
|
3102
|
+
</div>
|
|
3103
|
+
</section>
|
|
3104
|
+
}
|
|
3105
|
+
@if (!playerPage) {
|
|
3106
|
+
@if (openViewChildren.length) {
|
|
3107
|
+
<div class="ngxsp-wmp-tabFacets" role="group" [attr.aria-label]="libraryViewsLabel">
|
|
3108
|
+
@for (child of openViewChildren; track child.id) {
|
|
3109
|
+
<button type="button" [class.active]="child.active" [attr.aria-current]="child.active ? 'page' : null" (click)="selectLibraryView.emit(child.id)">
|
|
3110
|
+
<span>{{ child.label }}</span>
|
|
3111
|
+
@if (child.count !== undefined) { <small>{{ child.count }}</small> }
|
|
3112
|
+
</button>
|
|
3113
|
+
}
|
|
3114
|
+
</div>
|
|
3115
|
+
}
|
|
3116
|
+
<!--
|
|
3117
|
+
Where one is, and the way back up through it. The video player has had this since its
|
|
3118
|
+
views became places one goes into; an album one has opened is as deep as a season, and
|
|
3119
|
+
the listener was told as little about it as a Back button can say.
|
|
3120
|
+
-->
|
|
3121
|
+
@if (trail.length > 1) {
|
|
3122
|
+
<nav class="ngxsp-wmp-trail" [attr.aria-label]="trailLabel">
|
|
3123
|
+
@for (step of trail; track step.id; let last = $last) {
|
|
3124
|
+
@if (last) {
|
|
3125
|
+
<b aria-current="page">{{ step.label }}</b>
|
|
3126
|
+
} @else {
|
|
3127
|
+
<button class="ngxsp-wmp-trailStep" type="button" (click)="trailStep.emit(step.id)">{{ step.label }}</button>
|
|
3128
|
+
<span aria-hidden="true">›</span>
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
</nav>
|
|
3132
|
+
}
|
|
2147
3133
|
@if (isHomeView) {
|
|
2148
3134
|
<section class="ngxsp-wmp-nowPanel" [attr.aria-label]="nowListeningLabel">
|
|
2149
3135
|
<div class="ngxsp-wmp-art ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(currentArtworkUrl)" [attr.data-tone]="artTone(currentTrackId || currentTitle)">
|
|
@@ -2214,6 +3200,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2214
3200
|
}
|
|
2215
3201
|
|
|
2216
3202
|
<section class="ngxsp-wmp-librarySurface">
|
|
3203
|
+
<!-- A page with a head of its own does not take the view's as well: Sources says its
|
|
3204
|
+
own name, and the eyebrow above it would say the family a second time.
|
|
3205
|
+
|
|
3206
|
+
The notifications are not one of those pages any more. They hang off the bell as a
|
|
3207
|
+
dialog over the view, and the view is still there underneath: listed here, opening
|
|
3208
|
+
the bell tore the heading, the back button and the detail block off the page one was
|
|
3209
|
+
reading, which then came back on its own when the dialog closed. -->
|
|
3210
|
+
@if (!sourcesPage && !emptyPage && !playlistsPageOpen) {
|
|
2217
3211
|
<header class="ngxsp-wmp-sectionHeader">
|
|
2218
3212
|
@if (backLabel) {
|
|
2219
3213
|
<button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="backLabel" [title]="backLabel" (click)="back.emit()">
|
|
@@ -2221,13 +3215,70 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2221
3215
|
<span>{{ backLabel }}</span>
|
|
2222
3216
|
</button>
|
|
2223
3217
|
}
|
|
2224
|
-
|
|
3218
|
+
@if (detailHead; as head) {
|
|
3219
|
+
<!-- What one has opened says what it is: the eyebrow is the trail's business now, and
|
|
3220
|
+
the plain heading would say the name a second time. -->
|
|
3221
|
+
<div class="ngxsp-wmp-detailHead">
|
|
3222
|
+
<div class="ngxsp-wmp-detailArt">
|
|
3223
|
+
@if (head.artworkUrl) {
|
|
3224
|
+
<img [src]="head.artworkUrl" alt="" loading="lazy" decoding="async" />
|
|
3225
|
+
}
|
|
3226
|
+
</div>
|
|
3227
|
+
<div class="ngxsp-wmp-detailText">
|
|
3228
|
+
<h1>{{ head.title }}</h1>
|
|
3229
|
+
@if (head.meta) { <p class="ngxsp-wmp-detailMeta">{{ head.meta }}</p> }
|
|
3230
|
+
@if (head.format) { <p class="ngxsp-wmp-detailFormat">{{ head.format }}</p> }
|
|
3231
|
+
@if (head.actions?.length) {
|
|
3232
|
+
<div class="ngxsp-wmp-detailActions">
|
|
3233
|
+
@for (action of head.actions; track action.id) {
|
|
3234
|
+
<button
|
|
3235
|
+
class="ngxsp-wmp-detailAction"
|
|
3236
|
+
type="button"
|
|
3237
|
+
[class.primary]="action.primary"
|
|
3238
|
+
[class.compact]="action.compact"
|
|
3239
|
+
[class.active]="action.active"
|
|
3240
|
+
[disabled]="action.disabled"
|
|
3241
|
+
[attr.aria-pressed]="action.active === undefined ? null : action.active"
|
|
3242
|
+
[attr.aria-label]="action.label"
|
|
3243
|
+
[title]="action.label"
|
|
3244
|
+
(click)="detailHeadAction.emit(action.id)"
|
|
3245
|
+
>
|
|
3246
|
+
@if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
|
|
3247
|
+
@if (!action.compact) { <span>{{ action.label }}</span> }
|
|
3248
|
+
</button>
|
|
3249
|
+
}
|
|
3250
|
+
</div>
|
|
3251
|
+
}
|
|
3252
|
+
</div>
|
|
3253
|
+
</div>
|
|
3254
|
+
} @else if (hasSearchQuery) {
|
|
3255
|
+
<!-- A search is a page of its own: what was looked for, and how much answered. The
|
|
3256
|
+
view's own name would say where one happens to stand, which is not the subject. -->
|
|
3257
|
+
<h1 class="ngxsp-wmp-searchTitle">{{ searchResultsTitle }}</h1>
|
|
3258
|
+
@if (searchResultsSummary) { <p class="ngxsp-wmp-searchSummary">{{ searchResultsSummary }}</p> }
|
|
3259
|
+
} @else {
|
|
3260
|
+
<!-- A page that says what it is for says it under its own name, and nothing above it:
|
|
3261
|
+
the boards draw one line there, not two that say different things. -->
|
|
3262
|
+
@if (!viewIntro) { <span>{{ libraryEyebrow }}</span> }
|
|
2225
3263
|
@if (isHomeView) {
|
|
2226
3264
|
<h2>{{ libraryContentTitle || libraryTitle }}</h2>
|
|
2227
3265
|
} @else {
|
|
2228
3266
|
<h1>{{ libraryContentTitle || libraryTitle }}</h1>
|
|
2229
3267
|
}
|
|
3268
|
+
<!-- What the page is for, said once under its name. -->
|
|
3269
|
+
@if (viewIntro) { <p class="ngxsp-wmp-viewIntro">{{ viewIntro }}</p> }
|
|
3270
|
+
<!-- The shape the view is read in, which the boards draw beside its name — on a list,
|
|
3271
|
+
not on what one has opened: an album is its tracks, in order, and not on a page of
|
|
3272
|
+
counters over one list, which is not a shelf one reshapes. -->
|
|
3273
|
+
@if (gridLabel && tableLabel && !viewFacets.length && !settingsSections.length) {
|
|
3274
|
+
<div class="ngxsp-wmp-viewSwitch" role="group" [attr.aria-label]="viewSwitchLabel">
|
|
3275
|
+
<button type="button" [class.active]="viewMode === 'grid'" [attr.aria-pressed]="viewMode === 'grid'" (click)="viewModeChange.emit('grid')">{{ gridLabel }}</button>
|
|
3276
|
+
<button type="button" [class.active]="viewMode === 'list'" [attr.aria-pressed]="viewMode === 'list'" (click)="viewModeChange.emit('list')">{{ tableLabel }}</button>
|
|
3277
|
+
</div>
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
2230
3280
|
</header>
|
|
3281
|
+
}
|
|
2231
3282
|
<div class="ngxsp-wmp-sectionScroll">
|
|
2232
3283
|
@if (serverForm; as form) {
|
|
2233
3284
|
<form class="ngxsp-wmp-stationForm" (submit)="submitServer($event)">
|
|
@@ -2239,62 +3290,227 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2239
3290
|
}
|
|
2240
3291
|
</select>
|
|
2241
3292
|
}
|
|
2242
|
-
@let serverKind = selectedServerKind(form);
|
|
2243
|
-
<input type="text" inputmode="url" [value]="serverAddressDraft" (input)="onServerAddressInput($event)" [placeholder]="serverKind?.addressPlaceholder || form.addressPlaceholder" [attr.aria-label]="serverKind?.addressPlaceholder || form.addressPlaceholder" />
|
|
2244
|
-
@if (serverKind?.credentials !== false) {
|
|
2245
|
-
<input type="text" autocomplete="username" [value]="serverUsernameDraft" (input)="onServerUsernameInput($event)" [placeholder]="form.usernamePlaceholder" [attr.aria-label]="form.usernamePlaceholder" />
|
|
2246
|
-
<input type="password" autocomplete="current-password" [value]="serverPasswordDraft" (input)="onServerPasswordInput($event)" [placeholder]="form.passwordPlaceholder" [attr.aria-label]="form.passwordPlaceholder" />
|
|
3293
|
+
@let serverKind = selectedServerKind(form);
|
|
3294
|
+
<input type="text" inputmode="url" [value]="serverAddressDraft" (input)="onServerAddressInput($event)" [placeholder]="serverKind?.addressPlaceholder || form.addressPlaceholder" [attr.aria-label]="serverKind?.addressPlaceholder || form.addressPlaceholder" />
|
|
3295
|
+
@if (serverKind?.credentials !== false) {
|
|
3296
|
+
<input type="text" autocomplete="username" [value]="serverUsernameDraft" (input)="onServerUsernameInput($event)" [placeholder]="form.usernamePlaceholder" [attr.aria-label]="form.usernamePlaceholder" />
|
|
3297
|
+
<input type="password" autocomplete="current-password" [value]="serverPasswordDraft" (input)="onServerPasswordInput($event)" [placeholder]="form.passwordPlaceholder" [attr.aria-label]="form.passwordPlaceholder" />
|
|
3298
|
+
}
|
|
3299
|
+
<button class="ngxsp-wmp-smallButton primary" type="submit" [disabled]="form.busy || !serverAddressDraft.trim()">{{ form.submitLabel }}</button>
|
|
3300
|
+
@if (form.discovery && serverKind?.discoverable) {
|
|
3301
|
+
<button class="ngxsp-wmp-smallButton" type="button" [disabled]="form.discovery.busy" (click)="discoverServers.emit(serverKind!.id)">{{ form.discovery.busy ? form.discovery.searchingLabel : form.discovery.searchLabel }}</button>
|
|
3302
|
+
}
|
|
3303
|
+
@if (form.hint) { <small class="ngxsp-wmp-stationHint">{{ form.hint }}</small> }
|
|
3304
|
+
@if (form.discovery && serverKind?.discoverable && (form.discovery.servers.length || form.discovery.emptyLabel)) {
|
|
3305
|
+
<ul class="ngxsp-wmp-discovered" [attr.aria-label]="form.discovery.searchLabel">
|
|
3306
|
+
@for (server of form.discovery.servers; track server.id) {
|
|
3307
|
+
<li>
|
|
3308
|
+
<span><strong>{{ server.name }}</strong>@if (server.subtitle) { <small>{{ server.subtitle }}</small> }</span>
|
|
3309
|
+
<button class="ngxsp-wmp-smallButton" type="button" [disabled]="form.busy" [attr.aria-label]="form.discovery.connectLabel + ' - ' + server.name" (click)="connectDiscoveredServer.emit(server.id)">{{ form.discovery.connectLabel }}</button>
|
|
3310
|
+
</li>
|
|
3311
|
+
} @empty {
|
|
3312
|
+
<li class="empty">{{ form.discovery.emptyLabel }}</li>
|
|
3313
|
+
}
|
|
3314
|
+
</ul>
|
|
3315
|
+
}
|
|
3316
|
+
</form>
|
|
3317
|
+
}
|
|
3318
|
+
@if (stationForm; as form) {
|
|
3319
|
+
<form class="ngxsp-wmp-stationForm" (submit)="submitStation($event)">
|
|
3320
|
+
<span class="ngxsp-wmp-stationTitle">{{ form.title }}</span>
|
|
3321
|
+
<input type="text" [value]="stationNameDraft" (input)="onStationNameInput($event)" [placeholder]="form.namePlaceholder" [attr.aria-label]="form.namePlaceholder" />
|
|
3322
|
+
<input type="url" inputmode="url" [value]="stationUrlDraft" (input)="onStationUrlInput($event)" [placeholder]="form.urlPlaceholder" [attr.aria-label]="form.urlPlaceholder" />
|
|
3323
|
+
<button class="ngxsp-wmp-smallButton primary" type="submit" [disabled]="!stationUrlDraft.trim()">{{ form.submitLabel }}</button>
|
|
3324
|
+
@if (form.hint) { <small class="ngxsp-wmp-stationHint">{{ form.hint }}</small> }
|
|
3325
|
+
</form>
|
|
3326
|
+
}
|
|
3327
|
+
@if (emptyPage) {
|
|
3328
|
+
<!-- The first opening: nothing has been loaded, and the page says what to do about it.
|
|
3329
|
+
Drawn by the shared component, so both players say it the same way. -->
|
|
3330
|
+
<ngxsp-empty-page [page]="emptyPage" (pageAction)="emptyPageAction.emit($event)" />
|
|
3331
|
+
}
|
|
3332
|
+
@if (settingsSections.length) {
|
|
3333
|
+
<!-- The settings have always been a page here rather than a panel over one, but a page
|
|
3334
|
+
needs a way out, and theirs was the rail's own entry. That entry leaves the strip
|
|
3335
|
+
on a phone now that the title bar carries it, so the page says where it goes back
|
|
3336
|
+
to, as the video player's does. -->
|
|
3337
|
+
@if (settingsBackLabel) {
|
|
3338
|
+
<button class="ngxsp-wmp-backButton" type="button" [attr.aria-label]="settingsBackLabel" [title]="settingsBackLabel" (click)="settingsBack.emit()">
|
|
3339
|
+
<ngxsp-smart-icon name="chevron-left" />
|
|
3340
|
+
<span>{{ settingsBackLabel }}</span>
|
|
3341
|
+
</button>
|
|
3342
|
+
}
|
|
3343
|
+
<ngxsp-settings [sections]="settingsSections" (settingChange)="settingChange.emit($event)" (settingAction)="settingAction.emit($event)" />
|
|
3344
|
+
}
|
|
3345
|
+
@if (playlistsPageOpen) {
|
|
3346
|
+
<!--
|
|
3347
|
+
The lists are a view of the rail, beside Sources. They were a page of the title bar,
|
|
3348
|
+
which is where the three that belong to no family are reached — and a list of one's
|
|
3349
|
+
own making belongs to the library's side of the window, not to that row.
|
|
3350
|
+
An entry of the rail is a destination, so there is nothing to unwind and no way back
|
|
3351
|
+
to draw: one leaves it by going somewhere, which is what the rail is for.
|
|
3352
|
+
-->
|
|
3353
|
+
<section class="ngxsp-wmp-playlistsPage" [attr.aria-label]="playlistsLabel">
|
|
3354
|
+
<div class="ngxsp-wmp-playlistsHead">
|
|
3355
|
+
<h1>{{ playlistsLabel }}</h1>
|
|
3356
|
+
<!-- Combien il y en a, et ce qu'elles sont : la maquette écrit cette ligne sous le
|
|
3357
|
+
titre, comme la page des sources écrit la sienne. -->
|
|
3358
|
+
@if (playlistsSummary) { <p>{{ playlistsSummary }}</p> }
|
|
3359
|
+
</div>
|
|
3360
|
+
<section class="ngxsp-wmp-management">
|
|
3361
|
+
<div class="ngxsp-wmp-inlineForm">
|
|
3362
|
+
<input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
|
|
3363
|
+
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
|
|
3364
|
+
</div>
|
|
3365
|
+
@if (playlistTargetTrack; as target) {
|
|
3366
|
+
<div class="ngxsp-wmp-targetBanner">
|
|
3367
|
+
<span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
|
|
3368
|
+
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
|
|
3369
|
+
</div>
|
|
3370
|
+
}
|
|
3371
|
+
<div class="ngxsp-wmp-targets">
|
|
3372
|
+
@for (playlist of playlistOptions; track playlist.id) {
|
|
3373
|
+
<div class="ngxsp-wmp-target">
|
|
3374
|
+
<div class="ngxsp-wmp-targetMain">
|
|
3375
|
+
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
|
|
3376
|
+
<span class="ngxsp-wmp-rowCopy">
|
|
3377
|
+
<strong>{{ playlist.name }}</strong>
|
|
3378
|
+
@if (playlist.countLabel) { <small>{{ playlist.countLabel }}</small> }
|
|
3379
|
+
</span>
|
|
3380
|
+
@if (playlistTargetTrack || currentTrackAvailable) {
|
|
3381
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
|
|
3382
|
+
<ngxsp-smart-icon name="plus" />
|
|
3383
|
+
<span>{{ addLabel }}</span>
|
|
3384
|
+
</button>
|
|
3385
|
+
}
|
|
3386
|
+
</div>
|
|
3387
|
+
@if (editingPlaylistId === playlist.id) {
|
|
3388
|
+
<div class="ngxsp-wmp-inlineForm">
|
|
3389
|
+
<input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
|
|
3390
|
+
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
|
|
3391
|
+
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
|
|
3392
|
+
</div>
|
|
3393
|
+
} @else {
|
|
3394
|
+
<div class="ngxsp-wmp-targetActions">
|
|
3395
|
+
<button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
|
|
3396
|
+
<button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
|
|
3397
|
+
</div>
|
|
3398
|
+
}
|
|
3399
|
+
</div>
|
|
3400
|
+
} @empty {
|
|
3401
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
|
|
3402
|
+
}
|
|
3403
|
+
</div>
|
|
3404
|
+
@if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
|
|
3405
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
|
|
3406
|
+
}
|
|
3407
|
+
</section>
|
|
3408
|
+
</section>
|
|
3409
|
+
}
|
|
3410
|
+
@if (sourcesPage; as page) {
|
|
3411
|
+
<section class="ngxsp-wmp-sourcesPage" [attr.aria-label]="page.title">
|
|
3412
|
+
<div class="ngxsp-wmp-sourcesHead">
|
|
3413
|
+
<div>
|
|
3414
|
+
<h1>{{ page.title }}</h1>
|
|
3415
|
+
@if (page.summary) { <p>{{ page.summary }}</p> }
|
|
3416
|
+
</div>
|
|
3417
|
+
@if (page.addLabel) {
|
|
3418
|
+
<button class="ngxsp-wmp-detailAction accent" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add' })">{{ page.addLabel }}</button>
|
|
3419
|
+
}
|
|
3420
|
+
</div>
|
|
3421
|
+
@for (group of page.groups; track group.id) {
|
|
3422
|
+
<h2 class="ngxsp-wmp-sourceGroupTitle">{{ group.title }}</h2>
|
|
3423
|
+
<div class="ngxsp-wmp-sourceRows">
|
|
3424
|
+
@for (row of group.rows; track row.id) {
|
|
3425
|
+
<div class="ngxsp-wmp-sourceRow" [class.active]="row.active">
|
|
3426
|
+
<span class="ngxsp-wmp-sourceIcon" aria-hidden="true"><ngxsp-smart-icon [name]="row.icon || 'folder'" /></span>
|
|
3427
|
+
<span class="ngxsp-wmp-sourceCopy">
|
|
3428
|
+
<strong>{{ row.title }}</strong>
|
|
3429
|
+
@if (row.detail) { <small>{{ row.detail }}</small> }
|
|
3430
|
+
</span>
|
|
3431
|
+
@if (row.state) { <span class="ngxsp-wmp-sourceState">{{ row.state }}</span> }
|
|
3432
|
+
@for (action of row.actions ?? []; track action.id) {
|
|
3433
|
+
<button class="ngxsp-wmp-detailAction" type="button" [disabled]="action.disabled" (click)="sourceAction.emit({ sourceId: row.id, actionId: action.id })">{{ action.label }}</button>
|
|
3434
|
+
}
|
|
3435
|
+
</div>
|
|
3436
|
+
}
|
|
3437
|
+
</div>
|
|
2247
3438
|
}
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
3439
|
+
@if (page.footerLabel) {
|
|
3440
|
+
<button class="ngxsp-wmp-sourceRow footer" type="button" (click)="sourceAction.emit({ sourceId: '', actionId: 'add-server' })">
|
|
3441
|
+
<span class="ngxsp-wmp-sourceIcon dashed" aria-hidden="true"><ngxsp-smart-icon name="plus" /></span>
|
|
3442
|
+
<span class="ngxsp-wmp-sourceCopy">
|
|
3443
|
+
<strong>{{ page.footerLabel }}</strong>
|
|
3444
|
+
@if (page.footerHint) { <small>{{ page.footerHint }}</small> }
|
|
3445
|
+
</span>
|
|
3446
|
+
</button>
|
|
2251
3447
|
}
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
<
|
|
2262
|
-
}
|
|
2263
|
-
</
|
|
3448
|
+
</section>
|
|
3449
|
+
}
|
|
3450
|
+
<!-- The facets of the page, which the boards put here rather than in the rail: a page
|
|
3451
|
+
with one list under a row of counters, not two entries nobody counted. A search
|
|
3452
|
+
replaces the page's content, and brings chips of its own. -->
|
|
3453
|
+
@if (viewFacets.length && !hasSearchQuery) {
|
|
3454
|
+
<div class="ngxsp-wmp-searchFilters ngxsp-wmp-viewFacets" role="group" [attr.aria-label]="viewFacetLabel">
|
|
3455
|
+
@for (facet of viewFacets; track facet.id) {
|
|
3456
|
+
<button type="button" [class.active]="facet.active" [disabled]="facet.disabled" [attr.aria-pressed]="!!facet.active" (click)="selectViewFacet(facet)">
|
|
3457
|
+
<span>{{ facet.label }}</span>
|
|
3458
|
+
@if (facet.count !== undefined) { <small>{{ facet.count }}</small> }
|
|
3459
|
+
</button>
|
|
2264
3460
|
}
|
|
2265
|
-
</
|
|
3461
|
+
</div>
|
|
2266
3462
|
}
|
|
2267
|
-
@if (
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
<
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
3463
|
+
@if (hasSearchQuery) {
|
|
3464
|
+
@if (searchFilters.length) {
|
|
3465
|
+
<div class="ngxsp-wmp-searchFilters" role="group" [attr.aria-label]="searchFilterLabel">
|
|
3466
|
+
@for (filter of searchFilters; track filter.id) {
|
|
3467
|
+
<button type="button" [class.active]="filter.active" [disabled]="filter.disabled" [attr.aria-pressed]="!!filter.active" (click)="selectSearchFilter(filter)">
|
|
3468
|
+
<span>{{ filter.label }}</span>
|
|
3469
|
+
@if (filter.count !== undefined) { <small>{{ filter.count }}</small> }
|
|
3470
|
+
</button>
|
|
3471
|
+
}
|
|
3472
|
+
</div>
|
|
2275
3473
|
}
|
|
2276
|
-
@if (
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
3474
|
+
@if (searchBest; as best) {
|
|
3475
|
+
<section class="ngxsp-wmp-searchBestBlock">
|
|
3476
|
+
<h2 class="ngxsp-wmp-sourceGroupTitle">{{ searchBestTitle }}</h2>
|
|
3477
|
+
<article class="ngxsp-wmp-searchBest">
|
|
3478
|
+
<button class="ngxsp-wmp-searchBestArt ngxsp-wmp-cover" type="button" [class.has-image]="!!artworkSrc(best.item.artworkUrl)" [attr.data-tone]="artTone(best.item.id)" [attr.aria-label]="playLabel + ' ' + best.item.title" (click)="searchBestAction.emit('open')">
|
|
3479
|
+
@if (artworkSrc(best.item.artworkUrl); as artworkUrl) {
|
|
3480
|
+
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
|
|
3481
|
+
} @else {
|
|
3482
|
+
<ngxsp-smart-icon name="music" />
|
|
3483
|
+
}
|
|
3484
|
+
</button>
|
|
3485
|
+
<div class="ngxsp-wmp-searchBestCopy">
|
|
3486
|
+
<h3>@for (part of searchParts(best.item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</h3>
|
|
3487
|
+
@if (searchBestMeta(best); as meta) { <p>{{ meta }}</p> }
|
|
3488
|
+
@if (best.note) { <small>{{ best.note }}</small> }
|
|
3489
|
+
@if (best.actions?.length) {
|
|
3490
|
+
<div class="ngxsp-wmp-detailActions">
|
|
3491
|
+
@for (action of best.actions; track action.id) {
|
|
3492
|
+
<button class="ngxsp-wmp-detailAction" type="button" [class.primary]="action.primary" [disabled]="action.disabled" [attr.aria-label]="action.label" [title]="action.label" (click)="searchBestAction.emit(action.id)">
|
|
3493
|
+
@if (action.icon) { <ngxsp-smart-icon [name]="action.icon" /> }
|
|
3494
|
+
<span>{{ action.label }}</span>
|
|
3495
|
+
</button>
|
|
3496
|
+
}
|
|
3497
|
+
</div>
|
|
3498
|
+
}
|
|
3499
|
+
</div>
|
|
3500
|
+
</article>
|
|
3501
|
+
</section>
|
|
2286
3502
|
}
|
|
2287
|
-
<ngxsp-settings [sections]="settingsSections" (settingChange)="settingChange.emit($event)" (settingAction)="settingAction.emit($event)" />
|
|
2288
3503
|
}
|
|
2289
3504
|
@for (section of librarySections; track section.id) {
|
|
2290
3505
|
<section class="ngxsp-wmp-section">
|
|
2291
|
-
|
|
3506
|
+
<!-- A lone list under chips that already name it does not need a heading saying so. -->
|
|
3507
|
+
@if (section.title !== (libraryContentTitle || libraryTitle) && !(viewFacets.length && librarySections.length === 1)) {
|
|
2292
3508
|
@if (isHomeView) { <h3>{{ section.title }}</h3> } @else { <h2>{{ section.title }}</h2> }
|
|
2293
3509
|
}
|
|
2294
3510
|
@if (section.layout === 'cards') {
|
|
2295
3511
|
<div class="ngxsp-wmp-cardGrid">
|
|
2296
3512
|
@for (item of section.items; track item.id) {
|
|
2297
|
-
<div class="ngxsp-wmp-card" [class.active]="item.active">
|
|
3513
|
+
<div class="ngxsp-wmp-card" [class.active]="item.active" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
|
|
2298
3514
|
<button class="ngxsp-wmp-cardSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
|
|
2299
3515
|
<span class="ngxsp-wmp-thumb ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
|
|
2300
3516
|
@if (artworkSrc(item.artworkUrl); as artworkUrl) {
|
|
@@ -2307,7 +3523,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2307
3523
|
}
|
|
2308
3524
|
</span>
|
|
2309
3525
|
<span class="ngxsp-wmp-cardCopy">
|
|
2310
|
-
<strong>{{
|
|
3526
|
+
<strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
|
|
2311
3527
|
@if (item.subtitle) { <small>{{ item.subtitle }}</small> }
|
|
2312
3528
|
@if (item.meta) { <em>{{ item.meta }}</em> }
|
|
2313
3529
|
</span>
|
|
@@ -2318,20 +3534,39 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2318
3534
|
</button>
|
|
2319
3535
|
</span>
|
|
2320
3536
|
<span class="ngxsp-wmp-cardActions">
|
|
3537
|
+
@if (section.kind === 'groups') {
|
|
3538
|
+
<!--
|
|
3539
|
+
An album, an artist, a genre: a heading that stands for several tracks. What
|
|
3540
|
+
one does with it is put it in the queue, so those buttons stay where they are.
|
|
3541
|
+
-->
|
|
2321
3542
|
<button class="ngxsp-wmp-cardAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
|
|
2322
3543
|
<ngxsp-smart-icon name="next" />
|
|
2323
3544
|
</button>
|
|
2324
3545
|
<button class="ngxsp-wmp-cardAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
|
|
2325
3546
|
<ngxsp-smart-icon name="playlist-plus" />
|
|
2326
3547
|
</button>
|
|
2327
|
-
@if (
|
|
3548
|
+
@if (isRemovable(item.id)) {
|
|
3549
|
+
<button class="ngxsp-wmp-cardAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
|
|
3550
|
+
<ngxsp-smart-icon name="close" />
|
|
3551
|
+
</button>
|
|
3552
|
+
}
|
|
3553
|
+
} @else {
|
|
3554
|
+
<!-- The same three a row offers, and the same menu: a grid and a table say one thing. -->
|
|
3555
|
+
<button class="ngxsp-wmp-cardAction ngxsp-wmp-cardFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
|
|
3556
|
+
<ngxsp-smart-icon name="heart" />
|
|
3557
|
+
</button>
|
|
3558
|
+
@if (hasPlaylists) {
|
|
3559
|
+
<button class="ngxsp-wmp-cardAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
|
|
3560
|
+
<ngxsp-smart-icon name="list" />
|
|
3561
|
+
</button>
|
|
3562
|
+
}
|
|
3563
|
+
@if (ringtoneAvailable && !item.live) {
|
|
2328
3564
|
<button class="ngxsp-wmp-cardAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
|
|
2329
3565
|
<ngxsp-smart-icon name="bell" />
|
|
2330
3566
|
</button>
|
|
2331
3567
|
}
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
<ngxsp-smart-icon name="close" />
|
|
3568
|
+
<button class="ngxsp-wmp-cardAction ngxsp-wmp-cardMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
|
|
3569
|
+
<ngxsp-smart-icon name="more" />
|
|
2335
3570
|
</button>
|
|
2336
3571
|
}
|
|
2337
3572
|
</span>
|
|
@@ -2339,7 +3574,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2339
3574
|
}
|
|
2340
3575
|
</div>
|
|
2341
3576
|
} @else {
|
|
2342
|
-
<div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section
|
|
3577
|
+
<div class="ngxsp-wmp-table" role="table" [attr.aria-label]="tracksLabel" [style.--wmp-actions-w]="rowActionsWidth(section)">
|
|
2343
3578
|
<div class="ngxsp-wmp-tableHead" role="row">
|
|
2344
3579
|
<span role="columnheader">#</span>
|
|
2345
3580
|
<span role="columnheader">{{ titleColumnLabel }}</span>
|
|
@@ -2348,8 +3583,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2348
3583
|
<span role="columnheader" class="ngxsp-wmp-timeHead" [attr.aria-label]="timeColumnLabel" [title]="timeColumnLabel"><ngxsp-smart-icon name="clock" /></span>
|
|
2349
3584
|
</div>
|
|
2350
3585
|
@for (item of section.items; track item.id; let index = $index) {
|
|
2351
|
-
<div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row">
|
|
2352
|
-
<button class="ngxsp-wmp-trackSelect" type="button" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
|
|
3586
|
+
<div class="ngxsp-wmp-trackRow" [class.active]="item.active" role="row" (contextmenu)="section.kind === 'groups' ? null : openTrackMenu($event, item)">
|
|
3587
|
+
<button class="ngxsp-wmp-trackSelect" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectLibraryItem.emit(item.id)">
|
|
2353
3588
|
<span class="ngxsp-wmp-trackIndex">
|
|
2354
3589
|
@if (item.active) { <ngxsp-smart-icon name="waveform" /> } @else { <span class="ngxsp-wmp-indexNumber">{{ index + 1 }}</span><ngxsp-smart-icon class="ngxsp-wmp-indexPlay" name="play" /> }
|
|
2355
3590
|
</span>
|
|
@@ -2362,7 +3597,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2362
3597
|
}
|
|
2363
3598
|
</span>
|
|
2364
3599
|
<span class="ngxsp-wmp-rowCopy">
|
|
2365
|
-
<strong>{{
|
|
3600
|
+
<strong>@for (part of searchParts(item.title); track $index) {@if (part.hit) {<mark>{{ part.text }}</mark>} @else {<span>{{ part.text }}</span>}}</strong>
|
|
2366
3601
|
@if (item.genre) { <small>{{ item.genre }}</small> }
|
|
2367
3602
|
</span>
|
|
2368
3603
|
</span>
|
|
@@ -2370,29 +3605,41 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2370
3605
|
<span class="ngxsp-wmp-trackCell ngxsp-wmp-albumCell">{{ albumOf(item) }}</span>
|
|
2371
3606
|
<span class="ngxsp-wmp-trackTime">{{ durationOf(item) }}</span>
|
|
2372
3607
|
</button>
|
|
3608
|
+
<!--
|
|
3609
|
+
Three things a track offers, and a menu for the rest. There were six buttons
|
|
3610
|
+
on a row — and the room of four, so the heart was drawn over the duration.
|
|
3611
|
+
A section of albums can be read as a table too, and an album is not a track:
|
|
3612
|
+
it keeps the buttons it had.
|
|
3613
|
+
-->
|
|
2373
3614
|
<span class="ngxsp-wmp-rowActions">
|
|
2374
|
-
|
|
2375
|
-
<ngxsp-smart-icon name="heart" />
|
|
2376
|
-
</button>
|
|
3615
|
+
@if (section.kind === 'groups') {
|
|
2377
3616
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueNextLabel" [attr.aria-label]="queueNextLabel + ' ' + item.title" (click)="addLibraryItemNext.emit(item.id)">
|
|
2378
3617
|
<ngxsp-smart-icon name="next" />
|
|
2379
3618
|
</button>
|
|
2380
3619
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [title]="queueAddLabel" [attr.aria-label]="queueAddLabel + ' ' + item.title" (click)="addLibraryItemToQueue.emit(item.id)">
|
|
2381
3620
|
<ngxsp-smart-icon name="playlist-plus" />
|
|
2382
3621
|
</button>
|
|
3622
|
+
@if (isRemovable(item.id)) {
|
|
3623
|
+
<button class="ngxsp-wmp-rowQueueAction danger" type="button" [title]="removeItemLabel" [attr.aria-label]="removeItemLabel + ' - ' + item.title" (click)="removeLibraryItem.emit(item.id)">
|
|
3624
|
+
<ngxsp-smart-icon name="close" />
|
|
3625
|
+
</button>
|
|
3626
|
+
}
|
|
3627
|
+
} @else {
|
|
3628
|
+
<button class="ngxsp-wmp-rowFavorite" [class.active]="item.favorite" type="button" [attr.aria-pressed]="!!item.favorite" [title]="item.favorite ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="item.favorite ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(item.id)">
|
|
3629
|
+
<ngxsp-smart-icon name="heart" />
|
|
3630
|
+
</button>
|
|
2383
3631
|
@if (hasPlaylists) {
|
|
2384
3632
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
|
|
2385
3633
|
<ngxsp-smart-icon name="list" />
|
|
2386
3634
|
</button>
|
|
2387
3635
|
}
|
|
2388
|
-
@if (ringtoneAvailable) {
|
|
3636
|
+
@if (ringtoneAvailable && !item.live) {
|
|
2389
3637
|
<button class="ngxsp-wmp-rowQueueAction" type="button" [title]="ringtoneLabel" [attr.aria-label]="ringtoneLabel + ' - ' + item.title" (click)="makeRingtone.emit(item.id)">
|
|
2390
3638
|
<ngxsp-smart-icon name="bell" />
|
|
2391
3639
|
</button>
|
|
2392
3640
|
}
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
<ngxsp-smart-icon name="close" />
|
|
3641
|
+
<button class="ngxsp-wmp-rowQueueAction ngxsp-wmp-rowMore" type="button" aria-haspopup="menu" [class.active]="trackMenu?.id === item.id" [attr.aria-expanded]="trackMenu?.id === item.id" [title]="trackActionsLabel" [attr.aria-label]="trackActionsLabel + ' - ' + item.title" (click)="openTrackMenu($event, item)">
|
|
3642
|
+
<ngxsp-smart-icon name="more" />
|
|
2396
3643
|
</button>
|
|
2397
3644
|
}
|
|
2398
3645
|
</span>
|
|
@@ -2403,9 +3650,25 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2403
3650
|
}
|
|
2404
3651
|
</div>
|
|
2405
3652
|
}
|
|
3653
|
+
@if (!section.items.length && section.emptyLabel) {
|
|
3654
|
+
<div class="ngxsp-wmp-emptyLibrary">
|
|
3655
|
+
<ngxsp-smart-icon name="list" />
|
|
3656
|
+
<span>{{ section.emptyLabel }}</span>
|
|
3657
|
+
</div>
|
|
3658
|
+
}
|
|
3659
|
+
<!-- The rest of a shelf that comes a page at a time: under it, where one stops
|
|
3660
|
+
reading, and not among the tracks. -->
|
|
3661
|
+
@if (section.more) {
|
|
3662
|
+
<button class="ngxsp-wmp-shelfMore" type="button" [disabled]="!!section.more.busy" (click)="sectionMore.emit(section.id)">
|
|
3663
|
+
<span>{{ section.more.label }}</span>
|
|
3664
|
+
@if (section.more.detail) { <small>{{ section.more.detail }}</small> }
|
|
3665
|
+
</button>
|
|
3666
|
+
}
|
|
2406
3667
|
</section>
|
|
2407
3668
|
} @empty {
|
|
2408
|
-
|
|
3669
|
+
<!-- A page that is the view's own content says what there is: "no track indexed" under
|
|
3670
|
+
the sources page would answer a question nobody asked there. -->
|
|
3671
|
+
@if (!settingsSections.length && !sourcesPage && !playlistsPageOpen) {
|
|
2409
3672
|
<div class="ngxsp-wmp-emptyLibrary">
|
|
2410
3673
|
<ngxsp-smart-icon name="music" />
|
|
2411
3674
|
<span>{{ emptyLibraryLabel }}</span>
|
|
@@ -2414,6 +3677,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2414
3677
|
}
|
|
2415
3678
|
</div>
|
|
2416
3679
|
</section>
|
|
3680
|
+
}
|
|
2417
3681
|
</section>
|
|
2418
3682
|
|
|
2419
3683
|
<aside
|
|
@@ -2425,41 +3689,77 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2425
3689
|
[attr.aria-modal]="panelSheetOpen ? 'true' : null"
|
|
2426
3690
|
[attr.aria-label]="queueTitle"
|
|
2427
3691
|
(keydown.escape)="closePanelSheet()"
|
|
3692
|
+
(keydown)="onSheetKeys($event)"
|
|
2428
3693
|
>
|
|
2429
3694
|
@if (panelSheetOpen) {
|
|
2430
3695
|
<div class="ngxsp-wmp-sheetHeader">
|
|
2431
3696
|
<strong>{{ currentTitle || noTrackTitle }}</strong>
|
|
2432
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="closePanelSheet()">{{ closeLabel }}</button>
|
|
3697
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="closeLabel + ' - ' + queueTitle" (click)="closePanelSheet()">{{ closeLabel }}</button>
|
|
2433
3698
|
</div>
|
|
3699
|
+
<!--
|
|
3700
|
+
What the column can open, and only that. The sheet stops above the transport bar, so
|
|
3701
|
+
the bar is still on screen underneath it: the devices keep the button they have there
|
|
3702
|
+
and never become a switch in here. Compact-Lecteur-Audio.dc.html draws them that way,
|
|
3703
|
+
off a button of their own, and Appareils.dc.html opens its dialog over that button.
|
|
3704
|
+
-->
|
|
3705
|
+
@if (columnSwitches.length) {
|
|
2434
3706
|
<div class="ngxsp-wmp-sheetToggles" role="group" [attr.aria-label]="queueTitle">
|
|
2435
|
-
@for (panel of
|
|
3707
|
+
@for (panel of columnSwitches; track panel.id) {
|
|
2436
3708
|
<button class="ngxsp-wmp-iconButton" type="button" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanel(panel.id)">
|
|
2437
3709
|
<ngxsp-smart-icon [name]="panel.icon" />
|
|
2438
3710
|
</button>
|
|
2439
3711
|
}
|
|
2440
3712
|
</div>
|
|
2441
3713
|
}
|
|
3714
|
+
}
|
|
2442
3715
|
<div class="ngxsp-wmp-panelStack">
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
<button class="ngxsp-wmp-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
3716
|
+
<!--
|
|
3717
|
+
The board's pills, which name what can be opened over the queue. In the sheet the same
|
|
3718
|
+
switches are already drawn as icons above, so the row would say everything twice.
|
|
3719
|
+
-->
|
|
3720
|
+
@if (!panelSheetOpen && columnSwitches.length) {
|
|
3721
|
+
<div class="ngxsp-wmp-panelTabs" role="group" [attr.aria-label]="queueTitle">
|
|
3722
|
+
@for (panel of columnSwitches; track panel.id) {
|
|
3723
|
+
<button type="button" class="ngxsp-wmp-panelPill" [class.active]="isPanelOpen(panel.id)" [attr.aria-pressed]="isPanelOpen(panel.id)" (click)="togglePanel(panel.id)">{{ panel.label }}</button>
|
|
3724
|
+
}
|
|
3725
|
+
</div>
|
|
3726
|
+
}
|
|
3727
|
+
@if (hasSearchQuery && recentSearches.length) {
|
|
3728
|
+
<!-- The board puts them in this column, beside what the search found. -->
|
|
3729
|
+
<section class="ngxsp-wmp-stackItem collapsed">
|
|
3730
|
+
<header class="ngxsp-wmp-stackHead"><strong>{{ recentSearchesTitle }}</strong></header>
|
|
3731
|
+
<div class="ngxsp-wmp-recentSearches">
|
|
3732
|
+
@for (term of recentSearches; track term) {
|
|
3733
|
+
<button type="button" [class.active]="term === searchTerm" (click)="searchAgain.emit(term)">
|
|
3734
|
+
<ngxsp-smart-icon name="clock" />
|
|
3735
|
+
<span>{{ term }}</span>
|
|
3736
|
+
</button>
|
|
3737
|
+
}
|
|
3738
|
+
</div>
|
|
3739
|
+
</section>
|
|
3740
|
+
}
|
|
3741
|
+
<!--
|
|
3742
|
+
The queue is the column, not a panel folded away inside it. Commun-Audio.dc.html draws
|
|
3743
|
+
the pills at the head of the column and the queue below them, in full — no chevron, and
|
|
3744
|
+
nothing that folds it down to a header. Its switch is the one in the top bar, which shows
|
|
3745
|
+
and hides the whole column; the video player's column had already been through this.
|
|
3746
|
+
-->
|
|
3747
|
+
<section class="ngxsp-wmp-stackItem">
|
|
3748
|
+
<header class="ngxsp-wmp-stackHead"><strong>{{ queueTitle }}</strong></header>
|
|
2455
3749
|
<div class="ngxsp-wmp-sectionHeader slim">
|
|
2456
3750
|
<span>{{ queueEyebrow }}</span>
|
|
2457
|
-
<strong>{{
|
|
3751
|
+
<strong>{{ queueCountLabel }}</strong>
|
|
2458
3752
|
</div>
|
|
2459
3753
|
<div class="ngxsp-wmp-queueList" #queueList (scroll)="onQueueScroll()">
|
|
2460
3754
|
@if (queueSpaceBefore) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceBefore" aria-hidden="true"></div> }
|
|
2461
3755
|
@for (item of windowedQueue; track item.id) {
|
|
2462
|
-
|
|
3756
|
+
<!--
|
|
3757
|
+
La rangée tient deux choses : le bouton qui joue le titre, et les gestes qui touchent
|
|
3758
|
+
à la file elle-même. Elle n'en tenait qu'une — on ne pouvait rien en retirer ni rien
|
|
3759
|
+
y déplacer, alors que la file du lecteur vidéo le permet depuis toujours.
|
|
3760
|
+
-->
|
|
3761
|
+
<div class="ngxsp-wmp-queueRow" [class.active]="item.active">
|
|
3762
|
+
<button class="ngxsp-wmp-queueItem" [class.active]="item.active" type="button" [title]="rowTooltip(item)" [attr.aria-current]="item.active ? 'true' : null" (click)="selectQueueItem.emit(item.id)">
|
|
2463
3763
|
<span class="ngxsp-wmp-queueCover ngxsp-wmp-cover" [class.has-image]="!!artworkSrc(item.artworkUrl)" [attr.data-tone]="artTone(item.id)">
|
|
2464
3764
|
@if (artworkSrc(item.artworkUrl); as artworkUrl) {
|
|
2465
3765
|
<img [src]="artworkUrl" alt="" (error)="markArtworkFailed(artworkUrl)" loading="lazy" decoding="async" />
|
|
@@ -2486,150 +3786,42 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2486
3786
|
</span>
|
|
2487
3787
|
@if (item.meta) { <span class="ngxsp-wmp-rowMeta">{{ item.meta }}</span> }
|
|
2488
3788
|
</button>
|
|
2489
|
-
|
|
2490
|
-
<
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('lyrics')" [attr.aria-label]="lyricsTitle" (click)="togglePanelCollapsed('lyrics')">
|
|
2502
|
-
<ngxsp-smart-icon [name]="isPanelCollapsed('lyrics') ? 'chevron-down' : 'chevron-up'" />
|
|
2503
|
-
</button>
|
|
2504
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('lyrics')">
|
|
2505
|
-
<ngxsp-smart-icon name="close" />
|
|
2506
|
-
</button>
|
|
2507
|
-
</header>
|
|
2508
|
-
@if (!isPanelCollapsed('lyrics')) {
|
|
2509
|
-
@if (lyricsPanel; as lyrics) {
|
|
2510
|
-
<section class="ngxsp-wmp-lyrics" [attr.aria-label]="lyrics.title" [attr.aria-busy]="lyrics.busy ? 'true' : null">
|
|
2511
|
-
<div class="ngxsp-wmp-sectionHeader slim">
|
|
2512
|
-
<strong>{{ currentTitle }}</strong>
|
|
2513
|
-
@if (lyrics.searchLabel) {
|
|
2514
|
-
<button class="ngxsp-wmp-smallButton" type="button" [disabled]="lyrics.busy" (click)="refreshLyrics.emit()">{{ lyrics.searchLabel }}</button>
|
|
2515
|
-
}
|
|
2516
|
-
</div>
|
|
2517
|
-
@if (lyrics.status) { <p class="ngxsp-wmp-lyricsStatus">{{ lyrics.status }}</p> }
|
|
2518
|
-
<div class="ngxsp-wmp-lyricsLines" #lyricsLines>
|
|
2519
|
-
@for (line of lyrics.lines; track $index) {
|
|
2520
|
-
@if (line.timeSec !== undefined) {
|
|
2521
|
-
<button type="button" class="ngxsp-wmp-lyricsLine" [class.active]="$index === activeLyricsIndex" [attr.aria-current]="$index === activeLyricsIndex ? 'true' : null" [attr.aria-label]="(lyrics.seekLabel ? lyrics.seekLabel + ' - ' : '') + line.text" (click)="playFromLyrics(line.timeSec)">{{ line.text || '♪' }}</button>
|
|
2522
|
-
} @else {
|
|
2523
|
-
<p class="ngxsp-wmp-lyricsLine plain">{{ line.text }}</p>
|
|
2524
|
-
}
|
|
3789
|
+
@if (queueEditable) {
|
|
3790
|
+
<span class="ngxsp-wmp-queueControls">
|
|
3791
|
+
<button type="button" [disabled]="!canMoveQueueItem(item.id, 'up')" [title]="queueMoveUpLabel" [attr.aria-label]="queueMoveUpLabel + ' - ' + item.title" (click)="queueMoveUp.emit(item.id)">
|
|
3792
|
+
<ngxsp-smart-icon name="chevron-up" />
|
|
3793
|
+
</button>
|
|
3794
|
+
<button type="button" [disabled]="!canMoveQueueItem(item.id, 'down')" [title]="queueMoveDownLabel" [attr.aria-label]="queueMoveDownLabel + ' - ' + item.title" (click)="queueMoveDown.emit(item.id)">
|
|
3795
|
+
<ngxsp-smart-icon name="chevron-down" />
|
|
3796
|
+
</button>
|
|
3797
|
+
@if (hasPlaylists) {
|
|
3798
|
+
<button type="button" [class.active]="playlistTargetTrack?.id === item.id" [title]="addToPlaylistLabel" [attr.aria-label]="addToPlaylistLabel + ' - ' + item.title" (click)="requestPlaylistTarget.emit(item.id)">
|
|
3799
|
+
<ngxsp-smart-icon name="list" />
|
|
3800
|
+
</button>
|
|
2525
3801
|
}
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
3802
|
+
<button type="button" [title]="queueRemoveLabel" [attr.aria-label]="queueRemoveLabel + ' - ' + item.title" (click)="queueRemove.emit(item.id)">
|
|
3803
|
+
<ngxsp-smart-icon name="close" />
|
|
3804
|
+
</button>
|
|
3805
|
+
</span>
|
|
2529
3806
|
}
|
|
2530
|
-
</section>
|
|
2531
|
-
}
|
|
2532
|
-
@if (isPanelOpen('devices') && showDeviceButton) {
|
|
2533
|
-
<section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('devices')">
|
|
2534
|
-
<header class="ngxsp-wmp-stackHead">
|
|
2535
|
-
<strong>{{ devicesLabel }}</strong>
|
|
2536
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('devices')" [attr.aria-label]="devicesLabel" (click)="togglePanelCollapsed('devices')">
|
|
2537
|
-
<ngxsp-smart-icon [name]="isPanelCollapsed('devices') ? 'chevron-down' : 'chevron-up'" />
|
|
2538
|
-
</button>
|
|
2539
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('devices')">
|
|
2540
|
-
<ngxsp-smart-icon name="close" />
|
|
2541
|
-
</button>
|
|
2542
|
-
</header>
|
|
2543
|
-
@if (!isPanelCollapsed('devices')) {
|
|
2544
|
-
<section class="ngxsp-wmp-devices">
|
|
2545
|
-
<div class="ngxsp-wmp-sectionHeader slim">
|
|
2546
|
-
<strong>{{ remotePlaybackLabel }}</strong>
|
|
2547
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="refreshDevices.emit()">{{ refreshLabel }}</button>
|
|
2548
|
-
</div>
|
|
2549
|
-
@for (device of deviceItems; track device.id) {
|
|
2550
|
-
<div class="ngxsp-wmp-device" [class.active]="device.active">
|
|
2551
|
-
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
|
|
2552
|
-
<span class="ngxsp-wmp-rowCopy">
|
|
2553
|
-
<strong>{{ device.name }}</strong>
|
|
2554
|
-
@if (device.subtitle) { <small>{{ device.subtitle }}</small> }
|
|
2555
|
-
</span>
|
|
2556
|
-
<span class="ngxsp-wmp-deviceActions">
|
|
2557
|
-
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
|
|
2558
|
-
@if (device.stoppable !== false) {
|
|
2559
|
-
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
|
|
2560
|
-
}
|
|
2561
|
-
</span>
|
|
2562
3807
|
</div>
|
|
2563
3808
|
} @empty {
|
|
2564
|
-
<div class="ngxsp-wmp-emptyLibrary">{{
|
|
2565
|
-
}
|
|
2566
|
-
</section>
|
|
3809
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ emptyQueueLabel }}</div>
|
|
2567
3810
|
}
|
|
2568
|
-
|
|
3811
|
+
@if (queueSpaceAfter) { <div class="ngxsp-wmp-queueSpace" [style.height.px]="queueSpaceAfter" aria-hidden="true"></div> }
|
|
3812
|
+
</div>
|
|
3813
|
+
<!--
|
|
3814
|
+
Commun-Audio.dc.html ends the column on it. A queue built by hand over an evening is
|
|
3815
|
+
exactly what a playlist is, and until now the only way to keep one was to build it a
|
|
3816
|
+
second time, track by track, in the Lists page.
|
|
3817
|
+
-->
|
|
3818
|
+
@if (keepQueueLabel && queueItems.length) {
|
|
3819
|
+
<button class="ngxsp-wmp-keepQueue" type="button" (click)="keepQueueAsPlaylist.emit()">
|
|
3820
|
+
<ngxsp-smart-icon name="plus" />
|
|
3821
|
+
<span>{{ keepQueueLabel }}</span>
|
|
3822
|
+
</button>
|
|
2569
3823
|
}
|
|
2570
|
-
@if (isPanelOpen('playlists')) {
|
|
2571
|
-
<section class="ngxsp-wmp-stackItem" [class.collapsed]="isPanelCollapsed('playlists')">
|
|
2572
|
-
<header class="ngxsp-wmp-stackHead">
|
|
2573
|
-
<strong>{{ playlistsLabel }}</strong>
|
|
2574
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [attr.aria-expanded]="!isPanelCollapsed('playlists')" [attr.aria-label]="playlistsLabel" (click)="togglePanelCollapsed('playlists')">
|
|
2575
|
-
<ngxsp-smart-icon [name]="isPanelCollapsed('playlists') ? 'chevron-down' : 'chevron-up'" />
|
|
2576
|
-
</button>
|
|
2577
|
-
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel" (click)="togglePanel('playlists')">
|
|
2578
|
-
<ngxsp-smart-icon name="close" />
|
|
2579
|
-
</button>
|
|
2580
|
-
</header>
|
|
2581
|
-
@if (!isPanelCollapsed('playlists')) {
|
|
2582
|
-
<section class="ngxsp-wmp-management">
|
|
2583
|
-
<div class="ngxsp-wmp-inlineForm">
|
|
2584
|
-
<input [value]="playlistDraftName" (input)="onPlaylistDraftInput($event)" (keydown.enter)="submitCreatePlaylist()" type="text" [placeholder]="newPlaylistPlaceholder" [attr.aria-label]="newPlaylistPlaceholder" />
|
|
2585
|
-
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitCreatePlaylist()" [disabled]="!playlistDraftName.trim()">{{ createLabel }}</button>
|
|
2586
|
-
</div>
|
|
2587
|
-
@if (playlistTargetTrack; as target) {
|
|
2588
|
-
<div class="ngxsp-wmp-targetBanner">
|
|
2589
|
-
<span>{{ playlistTargetLabel }}<strong>{{ target.title }}</strong></span>
|
|
2590
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelPlaylistTarget.emit()">{{ cancelLabel }}</button>
|
|
2591
|
-
</div>
|
|
2592
|
-
}
|
|
2593
|
-
<div class="ngxsp-wmp-targets">
|
|
2594
|
-
@for (playlist of playlistOptions; track playlist.id) {
|
|
2595
|
-
<div class="ngxsp-wmp-target">
|
|
2596
|
-
<div class="ngxsp-wmp-targetMain">
|
|
2597
|
-
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon name="list" /></span>
|
|
2598
|
-
<span class="ngxsp-wmp-rowCopy">
|
|
2599
|
-
<strong>{{ playlist.name }}</strong>
|
|
2600
|
-
@if (playlist.trackCount !== undefined) { <small>{{ playlist.trackCount }} {{ tracksCountLabel }}</small> }
|
|
2601
|
-
</span>
|
|
2602
|
-
@if (playlistTargetTrack || currentTrackAvailable) {
|
|
2603
|
-
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="addLabel + ' - ' + playlist.name" (click)="addToPlaylist(playlist.id)">
|
|
2604
|
-
<ngxsp-smart-icon name="plus" />
|
|
2605
|
-
<span>{{ addLabel }}</span>
|
|
2606
|
-
</button>
|
|
2607
|
-
}
|
|
2608
|
-
</div>
|
|
2609
|
-
@if (editingPlaylistId === playlist.id) {
|
|
2610
|
-
<div class="ngxsp-wmp-inlineForm">
|
|
2611
|
-
<input [value]="renameDraftName" (input)="onRenameDraftInput($event)" (keydown.enter)="submitRenamePlaylist()" type="text" [placeholder]="renamePlaylistPlaceholder" [attr.aria-label]="renamePlaylistPlaceholder" />
|
|
2612
|
-
<button class="ngxsp-wmp-smallButton primary" type="button" (click)="submitRenamePlaylist()" [disabled]="!renameDraftName.trim()">{{ saveLabel }}</button>
|
|
2613
|
-
<button class="ngxsp-wmp-smallButton" type="button" (click)="cancelRenamePlaylist()">{{ cancelLabel }}</button>
|
|
2614
|
-
</div>
|
|
2615
|
-
} @else {
|
|
2616
|
-
<div class="ngxsp-wmp-targetActions">
|
|
2617
|
-
<button type="button" (click)="startRenamePlaylist(playlist.id, playlist.name)">{{ renameLabel }}</button>
|
|
2618
|
-
<button type="button" class="danger" (click)="deletePlaylist.emit(playlist.id)">{{ deleteLabel }}</button>
|
|
2619
|
-
</div>
|
|
2620
|
-
}
|
|
2621
|
-
</div>
|
|
2622
|
-
} @empty {
|
|
2623
|
-
<div class="ngxsp-wmp-emptyLibrary">{{ emptyPlaylistTargetsLabel }}</div>
|
|
2624
|
-
}
|
|
2625
|
-
</div>
|
|
2626
|
-
@if (!playlistTargetTrack && !currentTrackAvailable && playlistOptions.length) {
|
|
2627
|
-
<div class="ngxsp-wmp-emptyLibrary">{{ selectTrackForPlaylistLabel }}</div>
|
|
2628
|
-
}
|
|
2629
|
-
</section>
|
|
2630
|
-
}
|
|
2631
3824
|
</section>
|
|
2632
|
-
}
|
|
2633
3825
|
</div>
|
|
2634
3826
|
</aside>
|
|
2635
3827
|
|
|
@@ -2642,10 +3834,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2642
3834
|
<ngxsp-smart-icon name="music" />
|
|
2643
3835
|
}
|
|
2644
3836
|
</span>
|
|
2645
|
-
|
|
3837
|
+
<!-- The way into the page, which is where the video player puts its own. -->
|
|
3838
|
+
<button class="ngxsp-wmp-miniCopy" type="button" [attr.aria-label]="playerOpenLabel + ' - ' + (currentTitle || noTrackTitle)" [title]="playerOpenLabel" (click)="playerOpen.emit()">
|
|
2646
3839
|
<strong>{{ currentTitle || noTrackTitle }}</strong>
|
|
2647
3840
|
<small>{{ currentSubtitle || currentMeta || readyLabel }}</small>
|
|
2648
|
-
</
|
|
3841
|
+
</button>
|
|
2649
3842
|
<button class="ngxsp-wmp-iconButton" type="button" [class.active]="favoriteActive" [attr.aria-pressed]="favoriteActive" [title]="favoriteActive ? favoriteActiveLabel : favoriteLabel" [attr.aria-label]="favoriteActive ? favoriteActiveLabel : favoriteLabel" (click)="toggleFavorite.emit(currentTrackId)">
|
|
2650
3843
|
<ngxsp-smart-icon name="heart" />
|
|
2651
3844
|
</button>
|
|
@@ -2709,10 +3902,76 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2709
3902
|
|
|
2710
3903
|
<div class="ngxsp-wmp-transportModes">
|
|
2711
3904
|
@for (panel of panelSwitches; track panel.id) {
|
|
2712
|
-
<
|
|
2713
|
-
<ngxsp-
|
|
3905
|
+
<span class="ngxsp-wmp-switchWrap">
|
|
3906
|
+
<button class="ngxsp-wmp-iconButton" type="button" [class.ngxsp-wmp-devicesButton]="panel.id === 'devices'" [class.active]="isPanelShowing(panel.id)" [attr.aria-pressed]="isPanelShowing(panel.id)" [attr.aria-haspopup]="panel.id === 'devices' ? 'dialog' : null" [attr.aria-expanded]="panel.id === 'devices' ? isPanelShowing(panel.id) : null" [title]="panel.label" [attr.aria-label]="panel.label" (click)="togglePanelFromBar(panel.id)">
|
|
3907
|
+
<ngxsp-smart-icon [name]="panel.icon" />
|
|
3908
|
+
</button>
|
|
3909
|
+
<!--
|
|
3910
|
+
The devices are a small dialog over the button that opens them, which is what the
|
|
3911
|
+
boards draw: where the sound goes is about what is playing, not about the page being
|
|
3912
|
+
read, and a column panel put it as far from its own switch as the window allows.
|
|
3913
|
+
-->
|
|
3914
|
+
@if (panel.id === 'devices' && isPanelShowing('devices') && showDeviceButton) {
|
|
3915
|
+
<div class="ngxsp-wmp-devicesPopover" role="dialog" [attr.aria-label]="devicesLabel">
|
|
3916
|
+
<header class="ngxsp-wmp-popoverHead">
|
|
3917
|
+
<strong>{{ devicesLabel }}</strong>
|
|
3918
|
+
<button class="ngxsp-wmp-stackIcon" type="button" [title]="searchDevicesLabel" [attr.aria-label]="searchDevicesLabel" (click)="refreshDevices.emit()">
|
|
3919
|
+
<ngxsp-smart-icon name="refresh" />
|
|
3920
|
+
</button>
|
|
3921
|
+
<button class="ngxsp-wmp-stackIcon" type="button" [title]="closeLabel" [attr.aria-label]="closeLabel + ' - ' + devicesLabel" (click)="dismissDevices()">
|
|
3922
|
+
<ngxsp-smart-icon name="close" />
|
|
3923
|
+
</button>
|
|
3924
|
+
</header>
|
|
3925
|
+
<section class="ngxsp-wmp-devices">
|
|
3926
|
+
<!--
|
|
3927
|
+
Two lists sit here, and a reader who cannot tell them apart will send the sound to the
|
|
3928
|
+
wrong place: one hands the track to a machine that plays it itself, the other only
|
|
3929
|
+
changes which speakers this player uses. Each says which it is, in a line.
|
|
3930
|
+
-->
|
|
3931
|
+
<h3 class="ngxsp-wmp-deviceGroup">{{ castGroupLabel }}</h3>
|
|
3932
|
+
@if (castGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ castGroupHint }}</p> }
|
|
3933
|
+
@for (device of deviceItems; track device.id) {
|
|
3934
|
+
<div class="ngxsp-wmp-device" [class.active]="device.active">
|
|
3935
|
+
<span class="ngxsp-wmp-targetIcon" aria-hidden="true"><ngxsp-smart-icon [name]="device.active ? 'devices-active' : 'devices'" /></span>
|
|
3936
|
+
<span class="ngxsp-wmp-rowCopy">
|
|
3937
|
+
<strong>{{ device.name }}</strong>
|
|
3938
|
+
@if (device.subtitle) { <small>{{ device.subtitle }}</small> }
|
|
3939
|
+
</span>
|
|
3940
|
+
<span class="ngxsp-wmp-deviceActions">
|
|
3941
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="(device.actionLabel ?? playLabel) + ' - ' + device.name" (click)="playOnDevice.emit(device.id)">{{ device.actionLabel ?? playLabel }}</button>
|
|
3942
|
+
@if (device.stoppable !== false) {
|
|
3943
|
+
<button class="ngxsp-wmp-smallButton" type="button" [attr.aria-label]="stopLabel + ' - ' + device.name" (click)="stopOnDevice.emit(device.id)">{{ stopLabel }}</button>
|
|
3944
|
+
}
|
|
3945
|
+
</span>
|
|
3946
|
+
</div>
|
|
3947
|
+
} @empty {
|
|
3948
|
+
<div class="ngxsp-wmp-emptyLibrary">{{ emptyDevicesLabel }}</div>
|
|
3949
|
+
}
|
|
3950
|
+
|
|
3951
|
+
@if (outputItems.length) {
|
|
3952
|
+
<h3 class="ngxsp-wmp-deviceGroup">{{ outputGroupLabel }}</h3>
|
|
3953
|
+
@if (outputGroupHint) { <p class="ngxsp-wmp-deviceHint">{{ outputGroupHint }}</p> }
|
|
3954
|
+
@for (output of outputItems; track output.id) {
|
|
3955
|
+
<button
|
|
3956
|
+
class="ngxsp-wmp-output"
|
|
3957
|
+
type="button"
|
|
3958
|
+
[class.active]="output.active"
|
|
3959
|
+
[attr.aria-pressed]="!!output.active"
|
|
3960
|
+
(click)="selectOutput.emit(output.id)"
|
|
3961
|
+
>
|
|
3962
|
+
<span class="ngxsp-wmp-rowCopy">
|
|
3963
|
+
<strong>{{ output.label }}</strong>
|
|
3964
|
+
@if (output.detail) { <small>{{ output.detail }}</small> }
|
|
3965
|
+
</span>
|
|
3966
|
+
@if (output.active) { <ngxsp-smart-icon name="check" /> }
|
|
2714
3967
|
</button>
|
|
2715
3968
|
}
|
|
3969
|
+
}
|
|
3970
|
+
</section>
|
|
3971
|
+
</div>
|
|
3972
|
+
}
|
|
3973
|
+
</span>
|
|
3974
|
+
}
|
|
2716
3975
|
@if (compactModes && compactMode === 'full') {
|
|
2717
3976
|
<button class="ngxsp-wmp-iconButton ngxsp-wmp-windowButton" type="button" [title]="compactMiniLabel" [attr.aria-label]="compactMiniLabel" (click)="compactModeChange.emit('mini')">
|
|
2718
3977
|
<ngxsp-smart-icon name="window-mini" />
|
|
@@ -2746,15 +4005,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2746
4005
|
</section>
|
|
2747
4006
|
`,
|
|
2748
4007
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2749
|
-
styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-quickViews{display:flex;align-items:center;gap:2px;min-width:0}.ngxsp-wmp-backButton{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px 6px 6px;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);font-size:13px;cursor:pointer}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2);color:var(--wmp-ink)}@media(hover:none){.ngxsp-wmp-backButton:hover{background:transparent;color:var(--wmp-ink-2)}}.ngxsp-wmp-quickView{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);cursor:pointer}.ngxsp-wmp-quickView:hover{background:var(--wmp-s2);color:var(--wmp-ink)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}@media(hover:none){.ngxsp-wmp-quickView:hover{background:transparent;color:var(--wmp-ink-2)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-sectionScroll{display:grid;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{min-width:0;overflow-wrap:anywhere;padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-shell,.ngxsp-wmp-shell button,.ngxsp-wmp-shell [role=button]{touch-action:manipulation}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}@media(hover:none){.ngxsp-wmp-search input,.ngxsp-wmp-inlineForm input,.ngxsp-wmp-stationForm input{font-size:16px}}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackItem.collapsed{flex:0 0 auto}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto;overflow-anchor:none}.ngxsp-wmp-queueSpace{pointer-events:none;overflow-anchor:none}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-lyrics{flex:1;display:grid;gap:8px;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}.ngxsp-wmp-lyricsStatus{margin:0;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-lyricsLines{display:grid;gap:2px;overflow-y:auto;padding-right:4px;scroll-behavior:smooth}.ngxsp-wmp-lyricsLine{margin:0;padding:6px 8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);font-size:13px;line-height:1.45;text-align:left;white-space:pre-wrap}button.ngxsp-wmp-lyricsLine{cursor:pointer}button.ngxsp-wmp-lyricsLine:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-lyricsLine.active{background:var(--wmp-s2);color:var(--wmp-text);font-weight:600}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-lyricsLines{scroll-behavior:auto}}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:960px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{display:none}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{position:sticky;top:env(safe-area-inset-top,0px);z-index:4;border-right:0;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem[data-quick],.ngxsp-wmp-navDivider{display:none}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-lyricsLines{min-height:50vh}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:0;z-index:30;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-devicesButton{display:grid}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"]
|
|
4008
|
+
styles: [":host{display:block;height:100%;min-height:0;color:var(--nsp-text, #ededf0);font-family:var(--nsp-font, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, sans-serif);font-size:13px;line-height:1.4}.ngxsp-wmp-shell{--wmp-bg:var(--nsp-bg, #0d0e11);--wmp-s0:var(--nsp-surface-0, #121317);--wmp-s1:var(--nsp-surface-1, #17181d);--wmp-s2:var(--nsp-surface-2, #1e1f25);--wmp-s3:var(--nsp-surface-3, #26272e);--wmp-line:var(--nsp-line, rgb(255 255 255 / .07));--wmp-line-strong:var(--nsp-line-strong, rgb(255 255 255 / .13));--wmp-text:var(--nsp-text, #ededf0);--wmp-text-2:var(--nsp-text-2, #a3a5ae);--wmp-text-3:var(--nsp-text-3, #80828c);--wmp-accent:var(--nsp-accent, #8b90ff);--wmp-accent-strong:var(--nsp-accent-strong, #5d63ee);--wmp-accent-soft:var(--nsp-accent-soft, rgb(139 144 255 / .14));--wmp-on-accent:var(--nsp-on-accent, #fff);--wmp-success:var(--nsp-success, #3ecf8e);--wmp-danger:var(--nsp-danger, #f25f5c);--wmp-danger-text:var(--nsp-danger-text, #ffb4b2);--wmp-r-sm:var(--nsp-radius-sm, 6px);--wmp-r-md:var(--nsp-radius-md, 10px);--wmp-ease:var(--nsp-ease, cubic-bezier(.2,0,0,1));--wmp-dur:var(--nsp-dur, .14s);--wmp-title-h:var(--nsp-titlebar-height, 48px);--wmp-rail-w:232px;--wmp-panel-w:320px;--wmp-transport-h:84px;position:relative;height:100%;min-height:600px;display:grid;grid-template-columns:var(--wmp-rail-w) minmax(0,1fr) var(--wmp-panel-w);grid-template-rows:var(--wmp-title-h) minmax(0,1fr) var(--wmp-transport-h);grid-template-areas:\"title title title\" \"rail main panel\" \"transport transport transport\";overflow:hidden;background:var(--wmp-bg);color:var(--wmp-text);box-sizing:border-box}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-shell *{box-sizing:border-box;letter-spacing:0}.ngxsp-wmp-shell *::-webkit-scrollbar{width:10px;height:10px}.ngxsp-wmp-shell *::-webkit-scrollbar-track{background:transparent}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb{background:var(--wmp-s3);border-radius:999px;border:3px solid transparent;background-clip:padding-box}.ngxsp-wmp-shell *::-webkit-scrollbar-thumb:hover{background-color:var(--wmp-line-strong)}button,input{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-fileInput{display:none}.ngxsp-wmp-shell button:focus-visible,.ngxsp-wmp-shell input:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:2px}.ngxsp-wmp-engineMount{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.ngxsp-wmp-engineMount ngx-smart-player{display:block;width:1px;height:1px;min-height:0;border:0}.ngxsp-wmp-iconButton{width:32px;height:32px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:1px solid transparent;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease),border-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-iconButton:hover:not(:disabled){background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-iconButton.active,.ngxsp-wmp-iconButton.active:hover:not(:disabled){color:var(--wmp-accent)}.ngxsp-wmp-iconButton.outlined{width:40px;height:40px;border-color:var(--wmp-line-strong);border-radius:999px}.ngxsp-wmp-iconButton:disabled{opacity:.35;cursor:default}.ngxsp-wmp-iconButton.active ngxsp-smart-icon[name=heart] ::ng-deep path{fill:currentColor}.ngxsp-wmp-playButton{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-text);color:var(--wmp-bg);transition:transform var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-playButton:hover{transform:scale(1.05)}.ngxsp-wmp-primaryButton{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 20px 0 16px;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-weight:600;transition:filter var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-primaryButton:hover{filter:brightness(1.1)}.ngxsp-wmp-primaryButton:active{transform:scale(.98)}.ngxsp-wmp-smallButton{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:12px;font-weight:500;white-space:nowrap}.ngxsp-wmp-smallButton ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-smallButton:hover:not(:disabled){background:var(--wmp-s2)}.ngxsp-wmp-smallButton.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-smallButton.primary:hover:not(:disabled){background:var(--wmp-accent-strong);filter:brightness(1.1)}.ngxsp-wmp-smallButton:disabled{opacity:.45;cursor:default}.ngxsp-wmp-segmented{display:inline-flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:var(--wmp-s2)}.ngxsp-wmp-segmented button{height:32px;min-width:0;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--wmp-text-2);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-segmented button:hover{color:var(--wmp-text)}.ngxsp-wmp-segmented button.active{background:var(--wmp-s3);color:var(--wmp-text);box-shadow:0 1px 2px #0000004d}.ngxsp-wmp-titlebar{grid-area:title;min-width:0;display:grid;grid-template-columns:calc(var(--wmp-rail-w) - 16px) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:16px;padding:0 calc(12px + var(--nsp-titlebar-inset-end, 0px)) 0 calc(16px + var(--nsp-titlebar-inset-start, 0px));border-bottom:1px solid var(--wmp-line);background:var(--wmp-s0);-webkit-app-region:drag;-webkit-user-select:none;user-select:none}.ngxsp-wmp-titlebar button,.ngxsp-wmp-titlebar input,.ngxsp-wmp-titlebar label,.ngxsp-wmp-titlebar .ngxsp-wmp-status{-webkit-app-region:no-drag}.ngxsp-wmp-brand{min-width:0;display:flex;align-items:center;gap:10px}.ngxsp-wmp-brandIcon{width:26px;height:26px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px;color:#fff;background:linear-gradient(145deg,#8b90ff,#5d63ee 55%,#4146c9);box-shadow:inset 0 1px #ffffff38}.ngxsp-wmp-brandIcon ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-brandLogo{width:26px;height:26px;flex:0 0 auto;display:block}.ngxsp-wmp-brandName{font-size:13px;font-weight:600;white-space:nowrap}.ngxsp-wmp-quickViews{display:flex;align-items:center;gap:2px;min-width:0}.ngxsp-wmp-backButton{display:inline-flex;align-items:center;gap:4px;margin:0 0 12px;padding:6px 10px 6px 6px;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);font-size:13px;cursor:pointer}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2);color:var(--wmp-ink)}@media(hover:none){.ngxsp-wmp-backButton:hover{background:transparent;color:var(--wmp-ink-2)}}.ngxsp-wmp-quickView{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 auto;border:0;border-radius:8px;background:transparent;color:var(--wmp-ink-2);cursor:pointer}.ngxsp-wmp-quickView:hover{background:var(--wmp-s2);color:var(--wmp-ink)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}@media(hover:none){.ngxsp-wmp-quickView:hover{background:transparent;color:var(--wmp-ink-2)}.ngxsp-wmp-quickView.active{background:var(--wmp-s2);color:var(--wmp-accent)}}.ngxsp-wmp-search{position:relative;justify-self:center;width:100%;max-width:440px;height:34px;display:block;color:var(--wmp-text-3)}.ngxsp-wmp-search ngxsp-smart-icon{position:absolute;left:11px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ngxsp-wmp-search input{width:100%;height:100%;padding:0 10px 0 35px;border:1px solid transparent;border-radius:8px;outline:0;background:var(--wmp-s2);color:var(--wmp-text);font-size:13px;transition:border-color var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),box-shadow var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-search input:hover{border-color:var(--wmp-line-strong)}.ngxsp-wmp-shell .ngxsp-wmp-search input:focus,.ngxsp-wmp-shell .ngxsp-wmp-search input:focus-visible{outline:0;border-color:var(--wmp-accent);background:var(--wmp-s1);box-shadow:0 0 0 3px var(--wmp-accent-soft)}.ngxsp-wmp-search input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-titleActions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}.ngxsp-wmp-status{min-width:0;max-width:300px;height:26px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;background:var(--wmp-s2);color:var(--wmp-text-2);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngxsp-wmp-status:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-accent)}.ngxsp-wmp-status.success:before{background:var(--wmp-success)}.ngxsp-wmp-status.error{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-status.error:before{background:var(--wmp-danger)}.ngxsp-wmp-rail{grid-area:rail;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:1px;padding:12px 8px;overflow:auto}.ngxsp-wmp-navItem{width:100%;height:34px;flex:0 0 auto;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-navItem span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ngxsp-wmp-navItem small{color:var(--wmp-text-3);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-navItem:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-navItem.active{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-navItem.active ngxsp-smart-icon{color:var(--wmp-accent)}.ngxsp-wmp-navItem.active small{color:var(--wmp-text-2)}.ngxsp-wmp-navItem .ngxsp-wmp-navChevron{width:14px;height:14px;opacity:.55}.ngxsp-wmp-navItem.active .ngxsp-wmp-navChevron{opacity:.8}.ngxsp-wmp-navChild{height:30px;grid-template-columns:minmax(0,1fr) auto;padding-left:38px}.ngxsp-wmp-navChild span{font-weight:400;color:var(--wmp-text-3)}.ngxsp-wmp-navChild:hover span{color:var(--wmp-text)}.ngxsp-wmp-navChild.active{background:var(--wmp-s1)}.ngxsp-wmp-navChild.active span{color:var(--wmp-text);font-weight:500}.ngxsp-wmp-navDivider{display:block;flex:0 0 auto;height:1px;margin:10px;background:var(--wmp-line)}ngxsp-settings{--ngxsp-settings-surface:var(--wmp-s1);--ngxsp-settings-text:var(--wmp-text);--ngxsp-settings-muted:var(--wmp-text-2);--ngxsp-settings-line:var(--wmp-line);--ngxsp-settings-control:var(--wmp-s3);--ngxsp-settings-accent:var(--wmp-accent);--ngxsp-settings-radius:var(--wmp-r-md, 10px)}.ngxsp-wmp-railTools{display:grid;gap:12px;padding:12px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-sourceButton{flex:0 0 auto;height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 12px 0 10px;border:0;border-radius:var(--wmp-r-sm);background:var(--wmp-accent-strong);color:var(--wmp-on-accent);font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.ngxsp-wmp-sourceButton ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-sourceButton:hover{filter:brightness(1.1)}.ngxsp-wmp-sourceButton:disabled{opacity:.7;cursor:progress}.ngxsp-wmp-trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 2px 10px;font-size:12px;color:var(--wmp-text-3)}.ngxsp-wmp-trail b{color:var(--wmp-text);font-weight:600}.ngxsp-wmp-trailStep{padding:2px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-trailStep:hover,.ngxsp-wmp-trailStep:focus-visible{background:var(--wmp-surface-2,rgba(127,127,127,.12));color:var(--wmp-text)}.ngxsp-wmp-libraryInfo{min-width:0;display:grid;gap:2px;padding:0 4px}.ngxsp-wmp-libraryInfo strong,.ngxsp-wmp-libraryInfo small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-libraryInfo strong{font-size:12px;font-weight:600}.ngxsp-wmp-libraryInfo small{color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-libraryStatus{display:flex;align-items:center;gap:6px}.ngxsp-wmp-libraryStatus:before{content:\"\";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:var(--wmp-success)}.ngxsp-wmp-libraryStatus.busy:before{background:var(--wmp-accent);animation:ngxsp-wmp-pulse 1.2s ease-in-out infinite}@keyframes ngxsp-wmp-pulse{0%,to{opacity:.35}50%{opacity:1}}.ngxsp-wmp-main{grid-area:main;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;background:var(--wmp-bg)}.ngxsp-wmp-nowPanel{position:relative;flex:0 0 auto;display:grid;grid-template-columns:184px minmax(0,1fr);align-items:end;gap:28px;padding:32px 32px 28px;background:radial-gradient(120% 140% at 0% 0%,rgb(93 99 238 / .2) 0%,transparent 60%),linear-gradient(180deg,var(--wmp-s1) 0%,var(--wmp-bg) 100%);border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-art{width:184px;height:184px;display:grid;place-items:center;overflow:hidden;border-radius:var(--wmp-r-md);background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-media, 0 18px 40px rgb(0 0 0 / .45))}.ngxsp-wmp-artNote ngxsp-smart-icon{width:56px;height:56px}.ngxsp-wmp-playerSurface{min-width:0;min-height:160px;display:flex;flex-direction:column;justify-content:flex-end;gap:16px}.ngxsp-wmp-nowCopy{min-width:0;display:grid;gap:4px}.ngxsp-wmp-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-liveDot{width:6px;height:6px;border-radius:50%;background:var(--wmp-success);box-shadow:0 0 0 3px #3ecf8e2e}.ngxsp-wmp-nowCopy h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:32px;line-height:1.15;font-weight:700}.ngxsp-wmp-shell .ngxsp-wmp-nowCopy h1{letter-spacing:-.015em}.ngxsp-wmp-nowCopy p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text);font-size:14px;font-weight:500}.ngxsp-wmp-nowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-nowActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ngxsp-wmp-nowOscillogram{min-width:0;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 2px;column-gap:14px;row-gap:6px;align-items:end}.ngxsp-wmp-nowWaveform{grid-column:1;grid-row:1;height:40px;display:flex;align-items:flex-end;gap:3px;overflow:hidden}.ngxsp-wmp-nowWaveform span{flex:1 1 0;min-width:2px;border-radius:2px 2px 0 0;background:var(--wmp-line-strong);transform-origin:bottom;transition:background-color .24s var(--wmp-ease)}.ngxsp-wmp-nowWaveform span.played{background:var(--wmp-accent)}.ngxsp-wmp-nowProgressLine{grid-column:1;grid-row:2;position:relative;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden}.ngxsp-wmp-nowProgressLine i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent);border-radius:inherit}.ngxsp-wmp-nowTime{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;gap:4px;color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-nowTime small+small:before{content:\"/ \";color:var(--wmp-text-3)}.ngxsp-wmp-emptyPlayer{display:grid;justify-items:start;gap:10px}.ngxsp-wmp-emptyPlayer h1{font-size:28px;font-weight:700}.ngxsp-wmp-emptyPlayer p{color:var(--wmp-text-2);max-width:52ch}.ngxsp-wmp-shell .ngxsp-wmp-cover:not(.has-image){color:#fff9;background:radial-gradient(90% 70% at 20% 10%,rgb(255 255 255 / .16),transparent 60%),linear-gradient(140deg,var(--tone-a),var(--tone-b))}.ngxsp-wmp-cover[data-tone=\"0\"]{--tone-a:#4a4fc4;--tone-b:#1d1e45}.ngxsp-wmp-cover[data-tone=\"1\"]{--tone-a:#1f8078;--tone-b:#0e2a2c}.ngxsp-wmp-cover[data-tone=\"2\"]{--tone-a:#b3782a;--tone-b:#35230f}.ngxsp-wmp-cover[data-tone=\"3\"]{--tone-a:#a83a62;--tone-b:#2e1120}.ngxsp-wmp-cover[data-tone=\"4\"]{--tone-a:#2f6fa8;--tone-b:#0f2031}.ngxsp-wmp-cover[data-tone=\"5\"]{--tone-a:#6f7f2e;--tone-b:#1f240f}.ngxsp-wmp-cover[data-tone=\"6\"]{--tone-a:#7a48b8;--tone-b:#231436}.ngxsp-wmp-cover[data-tone=\"7\"]{--tone-a:#b0543a;--tone-b:#321710}.ngxsp-wmp-librarySurface{flex:1 0 auto;min-width:0;display:flex;flex-direction:column}.ngxsp-wmp-sectionHeader{display:grid;gap:2px;padding:24px 32px 8px}.ngxsp-wmp-sectionHeader>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-2);font-size:12px;font-weight:600}.ngxsp-wmp-backButton{justify-self:start;display:inline-flex;align-items:center;gap:4px;max-width:100%;height:28px;margin:0 0 6px -8px;padding:0 10px 0 4px;border:0;border-radius:999px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-backButton ngxsp-smart-icon{flex:none;width:18px;height:18px}.ngxsp-wmp-backButton span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-backButton:hover{background:var(--wmp-s2, rgb(127 127 127 / .14));color:var(--wmp-text)}.ngxsp-wmp-sectionHeader h1,.ngxsp-wmp-sectionHeader h2{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:22px;line-height:1.2;font-weight:700}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch){grid-template-columns:minmax(0,1fr) auto;align-items:center}.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>span,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h1,.ngxsp-wmp-sectionHeader:has(.ngxsp-wmp-viewSwitch)>h2{grid-column:1}.ngxsp-wmp-viewSwitch{grid-column:2;grid-row:1 / span 2;display:flex;gap:6px}.ngxsp-wmp-viewSwitch button{height:30px;padding:0 12px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-viewSwitch button:hover:not(.active){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-viewSwitch button.active{border-color:var(--wmp-line-strong);color:var(--wmp-text)}.ngxsp-wmp-sectionHeader.slim{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:14px 20px 8px}.ngxsp-wmp-sectionHeader.slim>span{grid-column:1}.ngxsp-wmp-sectionHeader.slim strong{grid-column:1;font-size:13px;font-weight:600}.ngxsp-wmp-sectionHeader.slim .ngxsp-wmp-smallButton{grid-column:2;grid-row:1 / span 2}.ngxsp-wmp-detailHead{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px;padding-top:2px}.ngxsp-wmp-detailArt{flex:none;width:176px;height:176px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:14px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1))}.ngxsp-wmp-detailArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-detailText{flex:1 1 320px;min-width:0}.ngxsp-wmp-detailHead h1{font-size:24px;line-height:1.2;font-weight:700}.ngxsp-wmp-detailMeta{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-detailFormat{margin:3px 0 0;color:var(--wmp-text-3);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-detailActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ngxsp-wmp-detailAction{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 16px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-detailAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-detailAction:hover:not(:disabled){background:var(--wmp-s2, rgb(127 127 127 / .14))}.ngxsp-wmp-detailAction.primary{border-color:transparent;background:var(--wmp-accent-strong);color:var(--wmp-on-accent)}.ngxsp-wmp-detailAction.primary:hover:not(:disabled){filter:brightness(1.1)}.ngxsp-wmp-detailAction.compact{width:34px;padding:0;justify-content:center}.ngxsp-wmp-detailAction.active{border-color:transparent;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-detailAction.accent{border-color:var(--wmp-accent);color:var(--wmp-accent)}.ngxsp-wmp-detailAction:disabled{opacity:.45;cursor:default}.ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{justify-content:center}.ngxsp-wmp-sourcesPage,.ngxsp-wmp-playlistsPage{display:grid;gap:10px;padding-top:16px}.ngxsp-wmp-playlistsPage h1{margin:0;font-size:19px;font-weight:600}.ngxsp-wmp-playlistsHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourcesHead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px}.ngxsp-wmp-sourcesHead h1{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-sourcesHead p{margin:5px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-sourceGroupTitle{margin:0;font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-sourceRows{display:grid;gap:10px;margin-bottom:14px}.ngxsp-wmp-sourceRow{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-sourceRow.active{border-color:var(--wmp-accent)}.ngxsp-wmp-sourceRow.footer{border-style:dashed;background:transparent}button.ngxsp-wmp-sourceRow{width:100%;text-align:start;color:inherit;font:inherit;cursor:pointer}button.ngxsp-wmp-sourceRow:hover,button.ngxsp-wmp-sourceRow:focus-visible{border-color:var(--wmp-line-strong)}.ngxsp-wmp-sourceIcon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-sourceIcon.dashed{border:1px dashed var(--wmp-line-strong);background:transparent;color:var(--wmp-text-3)}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceIcon{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-sourceIcon ngxsp-smart-icon{width:19px;height:19px}.ngxsp-wmp-sourceCopy{flex:1 1 180px;min-width:0;display:grid;gap:2px}.ngxsp-wmp-sourceCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-sourceCopy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-sourceState{flex:none;padding:3px 9px;border-radius:11px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-sourceRow.active .ngxsp-wmp-sourceState{background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-searchTitle{margin:0;font-size:21px;font-weight:600;letter-spacing:-.2px}.ngxsp-wmp-searchSummary,.ngxsp-wmp-viewIntro{margin:4px 0 0;color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-bellButton{position:relative}.ngxsp-wmp-bellWrap{position:relative;display:inline-flex}.ngxsp-wmp-notificationsPopover{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:392px;max-height:min(70vh,460px);overflow:auto;padding:12px;border:1px solid var(--wmp-line);border-radius:14px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 22px 54px #0000008c;text-align:left}.ngxsp-wmp-notificationsPopover ngxsp-notifications{gap:14px}.ngxsp-wmp-bellDot{position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;background:var(--wmp-danger);box-shadow:0 0 0 2px var(--wmp-s0)}.ngxsp-wmp-tabBar,.ngxsp-wmp-tabFacets{display:none}.ngxsp-wmp-playerPage{position:relative;min-height:100%;display:flex;flex-direction:column;justify-content:center;padding:40px 44px;background:radial-gradient(110% 80% at 20% 0%,var(--wmp-s2),var(--wmp-bg))}.ngxsp-wmp-playerBack{position:absolute;left:16px;top:16px;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 13px 0 10px;border:0;border-radius:16px;background:var(--wmp-s1);color:var(--wmp-text);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-playerBack ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-playerBack:hover{background:var(--wmp-s3)}.ngxsp-wmp-playerStage{display:flex;flex-wrap:wrap;gap:32px;align-items:center;min-height:0}.ngxsp-wmp-playerSide{flex:none;width:268px;display:flex;flex-direction:column;align-items:center;gap:18px}.ngxsp-wmp-playerArt{display:grid;place-items:center;width:268px;height:268px;overflow:hidden;border:1px solid var(--wmp-line);border-radius:16px;box-shadow:0 22px 50px #00000080}.ngxsp-wmp-playerArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-playerArt ngxsp-smart-icon{width:64px;height:64px;opacity:.55}.ngxsp-wmp-playerCopy{text-align:center;max-width:268px}.ngxsp-wmp-playerCopy h1{margin:0;font-size:20px;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy p{margin:6px 0 0;color:var(--wmp-text-2);font-size:13px;overflow-wrap:anywhere}.ngxsp-wmp-playerCopy small{display:block;margin:3px 0 0;color:var(--wmp-text-3);font-size:11.5px;overflow-wrap:anywhere}.ngxsp-wmp-playerWave{width:100%;height:40px;display:flex;align-items:flex-end;gap:2px}.ngxsp-wmp-playerWave span{flex:1;border-radius:1px;background:var(--wmp-accent-soft)}.ngxsp-wmp-playerWave span.played{background:var(--wmp-accent);opacity:.55}.ngxsp-wmp-playerLyrics{flex:1 1 320px;min-width:0;min-height:0;max-height:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.ngxsp-wmp-playerLyricsHead{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-playerLyricsHead ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-playerLyricsLines{display:flex;flex-direction:column;min-height:0;overflow-y:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-playerLyricsLines::-webkit-scrollbar{display:none}.ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerLyricsLines p{margin:0;padding:6px 0;border:0;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:16px;line-height:1.4;text-align:start}.ngxsp-wmp-playerLyricsLines button{cursor:pointer}.ngxsp-wmp-playerLyricsLines button:hover{color:var(--wmp-text-2)}.ngxsp-wmp-playerLyricsLines button.active{color:var(--wmp-text);font-size:19px;font-weight:600}@media(max-width:1024px){.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-rail{display:none}.ngxsp-wmp-playerPage{padding:24px 16px 16px}.ngxsp-wmp-playerStage{justify-content:center}.ngxsp-wmp-playerLyrics{max-height:40vh}.ngxsp-wmp-playerBack{position:static;align-self:flex-start;margin-bottom:14px}}.ngxsp-wmp-searchFilters{display:flex;flex-wrap:wrap;gap:6px}.ngxsp-wmp-searchFilters button{height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--wmp-line);border-radius:15px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-searchFilters button small{opacity:.7;font-size:11px}.ngxsp-wmp-searchFilters button:hover:not(.active):not(:disabled){background:var(--wmp-s2);color:var(--wmp-text-2)}.ngxsp-wmp-searchFilters button.active{border-color:transparent;background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-searchFilters button.active small{opacity:.75}.ngxsp-wmp-searchFilters button:disabled{opacity:.45;cursor:default}.ngxsp-wmp-searchBestBlock{display:grid;gap:10px}.ngxsp-wmp-searchBest{display:flex;flex-wrap:wrap;gap:16px;padding:14px;border:1px solid var(--wmp-accent);border-radius:12px;background:var(--wmp-s1)}.ngxsp-wmp-searchBestArt{flex:none;display:grid;place-items:center;width:140px;height:140px;overflow:hidden;padding:0;border:1px solid var(--wmp-line);border-radius:12px;cursor:pointer}.ngxsp-wmp-searchBestArt img{display:block;width:100%;height:100%;object-fit:cover}.ngxsp-wmp-searchBestArt ngxsp-smart-icon{width:34px;height:34px;opacity:.6}.ngxsp-wmp-searchBestCopy{flex:1 1 260px;min-width:0}.ngxsp-wmp-searchBestCopy h3{margin:0;font-size:15px;font-weight:600;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy p{margin:5px 0 0;color:var(--wmp-text-2);font-size:12px;overflow-wrap:anywhere}.ngxsp-wmp-searchBestCopy small{display:block;margin:8px 0 0;color:var(--wmp-text-3);font-size:11.5px}.ngxsp-wmp-searchBestCopy .ngxsp-wmp-detailActions{margin-top:14px}mark{background:var(--wmp-accent-soft);color:var(--wmp-text);border-radius:3px;padding:0 2px}.ngxsp-wmp-recentSearches{display:grid;gap:2px;padding:0 8px 8px}.ngxsp-wmp-recentSearches button{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12.5px;text-align:start;cursor:pointer}.ngxsp-wmp-recentSearches button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-recentSearches button ngxsp-smart-icon{width:14px;height:14px;opacity:.7}.ngxsp-wmp-recentSearches button:hover,.ngxsp-wmp-recentSearches button.active{background:var(--wmp-s2);color:var(--wmp-text)}@media(max-width:720px){.ngxsp-wmp-detailArt{width:112px;height:112px}.ngxsp-wmp-detailHead h1{font-size:20px}}.ngxsp-wmp-sectionScroll{display:grid;min-width:0;gap:28px;padding:8px 24px 32px}.ngxsp-wmp-section{min-width:0;display:grid;gap:10px}.ngxsp-wmp-section>h2,.ngxsp-wmp-section>h3{min-width:0;overflow-wrap:anywhere;padding:0 8px;font-size:15px;font-weight:600}.ngxsp-wmp-cardGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:4px}.ngxsp-wmp-card{position:relative;min-width:0;container-type:inline-size;border-radius:var(--wmp-r-md);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover,.ngxsp-wmp-card:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-cardSelect{width:100%;min-width:0;display:grid;gap:10px;padding:10px;border:0;border-radius:inherit;background:transparent;text-align:left}.ngxsp-wmp-thumb{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,var(--wmp-s3),var(--wmp-s1));color:var(--wmp-text-3);box-shadow:var(--nsp-shadow-card, 0 6px 18px rgb(0 0 0 / .3))}.ngxsp-wmp-thumb>ngxsp-smart-icon{width:36px;height:36px}.ngxsp-wmp-cardPlaySlot{position:absolute;top:calc(100cqw - 58px);right:18px;display:flex;opacity:0;transform:translateY(6px);transition:opacity var(--wmp-dur) var(--wmp-ease),transform var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardPlaySlot,.ngxsp-wmp-card.active .ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}.ngxsp-wmp-cardPlay{width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:var(--wmp-accent-strong);color:#fff;box-shadow:0 8px 20px #0006}.ngxsp-wmp-cardPlay ngxsp-smart-icon{width:18px;height:18px}.ngxsp-wmp-shell,.ngxsp-wmp-shell button,.ngxsp-wmp-shell [role=button]{touch-action:manipulation}.ngxsp-wmp-cardCopy{min-width:0;display:grid;gap:2px}@media(hover:none){.ngxsp-wmp-search input,.ngxsp-wmp-inlineForm input,.ngxsp-wmp-stationForm input{font-size:16px}}.ngxsp-wmp-cardCopy strong,.ngxsp-wmp-cardCopy small,.ngxsp-wmp-cardCopy em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-cardCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-card.active .ngxsp-wmp-cardCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-cardCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-cardCopy em{color:var(--wmp-text-3);font-size:11px;font-style:normal}.ngxsp-wmp-cardActions{position:absolute;top:18px;right:18px;display:flex;gap:4px;opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-card:hover .ngxsp-wmp-cardActions,.ngxsp-wmp-card:focus-within .ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardAction{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:#0d0e11cc;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ngxsp-wmp-cardAction ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-cardAction:hover{background:#0d0e11f2}.ngxsp-wmp-table{min-width:0;display:grid}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{display:grid;grid-template-columns:36px minmax(0,2.4fr) minmax(0,1.3fr) minmax(0,1.3fr) 48px;align-items:center;gap:14px}.ngxsp-wmp-tableHead{position:sticky;top:0;z-index:1;height:34px;margin-bottom:4px;padding:0 calc(var(--wmp-actions-w, 112px) + 8px) 0 10px;border-bottom:1px solid var(--wmp-line);background:var(--wmp-bg);color:var(--wmp-text-2);font-size:11px;font-weight:600}.ngxsp-wmp-tableHead>span:first-child{text-align:center}.ngxsp-wmp-timeHead{display:flex;justify-content:flex-end}.ngxsp-wmp-timeHead ngxsp-smart-icon{width:15px;height:15px}.ngxsp-wmp-trackRow{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--wmp-actions-w, 112px);align-items:center;gap:8px;border-radius:var(--wmp-r-sm);transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-trackRow:hover,.ngxsp-wmp-trackRow:focus-within{background:var(--wmp-s1)}.ngxsp-wmp-trackRow.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-trackSelect{min-width:0;height:52px;padding:0 0 0 10px;border:0;border-radius:inherit;background:transparent;color:var(--wmp-text-2);text-align:left}.ngxsp-wmp-trackIndex{position:relative;display:grid;place-items:center;color:var(--wmp-text-2);font-variant-numeric:tabular-nums}.ngxsp-wmp-trackIndex>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-trackIndex{color:var(--wmp-accent)}.ngxsp-wmp-indexPlay{position:absolute;opacity:0;color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexNumber{opacity:0}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-indexPlay{opacity:1}.ngxsp-wmp-trackTitle{min-width:0;display:flex;align-items:center;gap:12px}.ngxsp-wmp-rowIcon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-rowIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowCopy{min-width:0;display:grid;gap:1px}.ngxsp-wmp-rowCopy strong,.ngxsp-wmp-rowCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-rowCopy strong{color:var(--wmp-text);font-size:13px;font-weight:500}.ngxsp-wmp-rowCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-trackRow.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-trackCell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackTime{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.ngxsp-wmp-rowActions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease),background-color var(--wmp-dur) var(--wmp-ease),color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-rowFavorite ngxsp-smart-icon,.ngxsp-wmp-rowQueueAction ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-rowFavorite:hover,.ngxsp-wmp-rowQueueAction:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:hover .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowFavorite,.ngxsp-wmp-trackRow:focus-within .ngxsp-wmp-rowQueueAction,.ngxsp-wmp-rowFavorite.active{opacity:1}.ngxsp-wmp-rowFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-rowFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-cardFavorite.active{color:var(--wmp-accent)}.ngxsp-wmp-cardFavorite.active ngxsp-smart-icon ::ng-deep path{fill:currentColor}.ngxsp-wmp-trackMenuScrim{position:fixed;inset:0;z-index:60;padding:0;border:0;background:transparent;cursor:default}.ngxsp-wmp-trackMenu{position:fixed;z-index:61;min-width:208px;max-width:280px;display:grid;gap:2px;padding:6px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-md);background:var(--wmp-s2);box-shadow:0 16px 40px #0000007a}.ngxsp-wmp-trackMenuTitle{padding:6px 10px 8px;font-size:11px;font-weight:600;color:var(--wmp-text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-trackMenu button{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 10px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text);font-size:13px;text-align:left;cursor:pointer}.ngxsp-wmp-trackMenu button ngxsp-smart-icon{width:18px;height:18px;flex:0 0 auto}.ngxsp-wmp-trackMenu button:hover{background:var(--wmp-s3)}.ngxsp-wmp-trackMenu button.danger{color:var(--wmp-danger-text)}.ngxsp-wmp-trackMenu button.danger:hover{background:#f25f5c29}.ngxsp-wmp-rowProgress{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:999px;background:var(--wmp-line);overflow:hidden;pointer-events:none}.ngxsp-wmp-thumb .ngxsp-wmp-rowProgress{left:0;right:0;bottom:0;border-radius:0}.ngxsp-wmp-rowProgress i{position:absolute;inset:0 auto 0 0;background:var(--wmp-accent)}.ngxsp-wmp-emptyLibrary{display:grid;justify-items:center;gap:8px;padding:32px 16px;border:1px dashed var(--wmp-line-strong);border-radius:var(--wmp-r-md);color:var(--wmp-text-2);text-align:center}.ngxsp-wmp-emptyLibrary ngxsp-smart-icon{width:28px;height:28px;color:var(--wmp-text-3)}.ngxsp-wmp-shelfMore{justify-self:start;margin-top:8px;display:inline-flex;align-items:baseline;gap:8px;padding:8px 14px;border:1px solid var(--wmp-line-strong);border-radius:999px;background:transparent;color:var(--wmp-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.ngxsp-wmp-shelfMore small{color:var(--wmp-text-2);font-weight:500;font-variant-numeric:tabular-nums}.ngxsp-wmp-shelfMore:hover:not(:disabled),.ngxsp-wmp-shelfMore:focus-visible{background:var(--wmp-s2)}.ngxsp-wmp-shelfMore:disabled{opacity:.6;cursor:default}.ngxsp-wmp-playlist{grid-area:panel;min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--wmp-line);background:var(--wmp-s0);overflow:hidden}.ngxsp-wmp-sheetToggles{display:flex;justify-content:center;gap:4px;padding:4px 12px 0}.ngxsp-wmp-panelStack{flex:1;display:flex;flex-direction:column;gap:10px;padding:12px;overflow:hidden;min-height:0}.ngxsp-wmp-panelTabs{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}.ngxsp-wmp-panelPill{height:26px;padding:0 11px;border:1px solid var(--wmp-border,#d9d9d9);border-radius:999px;background:transparent;color:var(--wmp-muted,#6a6a6a);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.ngxsp-wmp-panelPill.active{background:var(--wmp-accent,#2b6cb0);border-color:transparent;color:var(--wmp-accent-text,#fff);font-weight:600}.ngxsp-wmp-stackItem{flex:1 1 0;border:1px solid var(--wmp-border,#d9d9d9);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-height:0}.ngxsp-wmp-stackHead{display:flex;align-items:center;gap:8px;padding:7px 8px 7px 11px;background:var(--wmp-surface-2,rgba(127,127,127,.08))}.ngxsp-wmp-stackHead strong{font-size:12.5px;font-weight:600}.ngxsp-wmp-stackIcon{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer;opacity:.65}.ngxsp-wmp-stackIcon:hover,.ngxsp-wmp-stackIcon:focus-visible{opacity:1}.ngxsp-wmp-stackIcon+.ngxsp-wmp-stackIcon{margin-left:-2px}.ngxsp-wmp-stackHead .ngxsp-wmp-stackIcon:first-of-type{margin-left:auto}.ngxsp-wmp-stackItem svg{width:14px;height:14px}.ngxsp-wmp-queueList{flex:1;min-height:0;display:grid;align-content:start;gap:1px;padding:0 8px 12px;overflow:auto;overflow-anchor:none}.ngxsp-wmp-queueSpace{pointer-events:none;overflow-anchor:none}.ngxsp-wmp-queueItem{width:100%;min-width:0;min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:0;border-radius:var(--wmp-r-sm);background:transparent;text-align:left;transition:background-color var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueItem:hover{background:var(--wmp-s2)}.ngxsp-wmp-queueItem.active{background:var(--wmp-accent-soft)}.ngxsp-wmp-queueItem.active .ngxsp-wmp-rowCopy strong{color:var(--wmp-accent)}.ngxsp-wmp-queueRow{position:relative;min-width:0}.ngxsp-wmp-queueControls{position:absolute;top:4px;right:4px;display:grid;grid-template-columns:repeat(2,28px);opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueControls,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueControls button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-queueControls button:hover:not(:disabled){background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-queueControls button.active{color:var(--wmp-accent)}.ngxsp-wmp-queueControls button:disabled{opacity:.3;cursor:default}.ngxsp-wmp-queueControls ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-queueItem,.ngxsp-wmp-queueRow.active .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow:hover .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow:focus-within .ngxsp-wmp-rowMeta,.ngxsp-wmp-queueRow.active .ngxsp-wmp-rowMeta{visibility:hidden}@media(hover:none){.ngxsp-wmp-queueControls{opacity:1}.ngxsp-wmp-queueRow .ngxsp-wmp-queueItem{padding-right:64px}.ngxsp-wmp-queueRow .ngxsp-wmp-rowMeta{visibility:hidden}}.ngxsp-wmp-queueCover{position:relative;width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-queueCover>ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-queueNow{position:absolute;inset:0;display:grid;place-items:center;background:#0d0e1199;color:#fff}.ngxsp-wmp-rowBadges{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.ngxsp-wmp-rowBadges em{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border-radius:4px;background:var(--wmp-s3);color:var(--wmp-text-2);font-size:10px;font-style:normal;font-weight:500}.ngxsp-wmp-rowBadges em ngxsp-smart-icon{width:10px;height:10px}.ngxsp-wmp-rowBadges em.favorite{color:var(--wmp-accent)}.ngxsp-wmp-rowMeta{color:var(--wmp-text-2);font-size:12px;font-variant-numeric:tabular-nums}.ngxsp-wmp-management,.ngxsp-wmp-devices{flex:1;min-height:0;display:grid;align-content:start;gap:10px;padding:10px 12px 16px;overflow:auto}.ngxsp-wmp-devices .ngxsp-wmp-sectionHeader.slim{padding:4px 4px 6px}.ngxsp-wmp-inlineForm{display:flex;gap:6px}.ngxsp-wmp-inlineForm input{flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s1);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-inlineForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-inlineForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationForm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-stationTitle{font-size:12px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-discovered{flex:1 1 100%;display:grid;gap:4px;margin:0;padding:0;list-style:none}.ngxsp-wmp-discovered li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:2px 0 2px 8px;border-top:1px solid var(--wmp-line)}.ngxsp-wmp-discovered li span{display:grid;min-width:0}.ngxsp-wmp-discovered strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-discovered small,.ngxsp-wmp-discovered li.empty{overflow:hidden;color:var(--wmp-text-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-serverKind{height:32px;padding:0 8px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input{flex:1 1 180px;min-width:0;height:32px;padding:0 10px;border:1px solid var(--wmp-line-strong);border-radius:var(--wmp-r-sm);background:var(--wmp-s0);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-stationForm input::placeholder{color:var(--wmp-text-3)}.ngxsp-wmp-shell .ngxsp-wmp-stationForm input:focus-visible{outline:0;border-color:var(--wmp-accent);box-shadow:0 0 0 2px var(--wmp-accent-soft)}.ngxsp-wmp-stationHint{flex:1 0 100%;color:var(--wmp-text-3);font-size:11px}.ngxsp-wmp-targetBanner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--wmp-accent-soft);border-radius:var(--wmp-r-sm);background:var(--wmp-accent-soft);color:var(--wmp-text);font-size:12px}.ngxsp-wmp-targetBanner strong{margin-left:4px}.ngxsp-wmp-rowQueueAction.danger:hover,.ngxsp-wmp-cardAction.danger:hover{color:var(--wmp-danger, #e5484d)}.ngxsp-wmp-rowQueueAction.active{color:var(--wmp-accent)}.ngxsp-wmp-targets{display:grid;gap:6px}.ngxsp-wmp-target,.ngxsp-wmp-device{display:grid;gap:8px;padding:10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:var(--wmp-s1)}.ngxsp-wmp-sheetButton,.ngxsp-wmp-sheetHeader{display:none}.ngxsp-wmp-targetMain{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px}.ngxsp-wmp-targetIcon{width:32px;height:32px;display:grid;place-items:center;border-radius:var(--wmp-r-sm);background:var(--wmp-s3);color:var(--wmp-text-2)}.ngxsp-wmp-targetIcon ngxsp-smart-icon{width:16px;height:16px}.ngxsp-wmp-targetActions{display:flex;gap:4px;padding-left:38px}.ngxsp-wmp-targetActions button{height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-targetActions button:hover{background:var(--wmp-s3);color:var(--wmp-text)}.ngxsp-wmp-targetActions button.danger:hover{color:var(--wmp-danger-text);background:#f25f5c29}.ngxsp-wmp-device{grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px}.ngxsp-wmp-device.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-device.active .ngxsp-wmp-targetIcon{color:var(--wmp-accent)}.ngxsp-wmp-deviceActions{grid-column:2;display:flex;gap:6px}.ngxsp-wmp-keepQueue{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:7px;margin:0 8px 10px;padding:8px 10px;border:1px solid var(--wmp-line);border-radius:var(--wmp-r-md);background:transparent;color:var(--wmp-text-2);font:inherit;font-size:12px;cursor:pointer}.ngxsp-wmp-keepQueue:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-keepQueue ngxsp-smart-icon{width:14px;height:14px}.ngxsp-wmp-deviceGroup{margin:10px 0 2px;font-size:11px;font-weight:600;color:var(--wmp-text-2)}.ngxsp-wmp-deviceGroup:first-child{margin-top:0}.ngxsp-wmp-deviceHint{margin:0 0 7px;color:var(--wmp-text-2);font-size:11px;line-height:1.4}.ngxsp-wmp-output{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:var(--wmp-r-md);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.ngxsp-wmp-output:hover{background:var(--wmp-s2)}.ngxsp-wmp-output.active{border-color:#8b90ff66;background:var(--wmp-accent-soft)}.ngxsp-wmp-output .ngxsp-wmp-rowCopy{flex:1;min-width:0}.ngxsp-wmp-output ngxsp-smart-icon{flex:0 0 auto;width:15px;height:15px;color:var(--wmp-accent)}.ngxsp-wmp-transport{grid-area:transport;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,620px) minmax(min-content,1fr);align-items:center;gap:24px;padding:0 16px;border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-miniNow{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.ngxsp-wmp-miniArt{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--wmp-s2);color:var(--wmp-text-3)}.ngxsp-wmp-miniCopy{min-width:0;display:grid;gap:2px}button.ngxsp-wmp-miniCopy{padding:4px 6px;margin:-4px -6px;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}button.ngxsp-wmp-miniCopy:hover{background:var(--wmp-s2)}.ngxsp-wmp-miniCopy strong,.ngxsp-wmp-miniCopy small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-miniCopy strong{font-size:13px;font-weight:600}.ngxsp-wmp-miniCopy small{color:var(--wmp-text-2);font-size:12px}.ngxsp-wmp-transportCenter{min-width:0;display:grid;justify-items:center;gap:0}.ngxsp-wmp-transportButtons{display:flex;align-items:center;gap:12px}.ngxsp-wmp-seekRow{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;color:var(--wmp-text-2);font-size:11px;font-variant-numeric:tabular-nums}.ngxsp-wmp-seekRow small:first-child{text-align:right}.ngxsp-wmp-seek{min-height:32px;--ngxsp-track-size:4px;--ngxsp-track-bg:var(--wmp-s3);--ngxsp-buffered-bg:transparent;--ngxsp-accent:var(--wmp-text);--ngxsp-thumb-size:12px;--ngxsp-thumb-bg:var(--wmp-text);--ngxsp-preview-bg:var(--wmp-s2);--ngxsp-preview-border:var(--wmp-line-strong)}.ngxsp-wmp-seek:hover{--ngxsp-accent:var(--wmp-accent)}.ngxsp-wmp-seek ::ng-deep .ngxsp-ts-thumb{opacity:0;transition:opacity var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-seek:hover ::ng-deep .ngxsp-ts-thumb,.ngxsp-wmp-seek:focus-visible ::ng-deep .ngxsp-ts-thumb{opacity:1}.ngxsp-wmp-transportModes{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:6px}.ngxsp-wmp-switchWrap{position:relative;display:inline-flex;flex:0 0 auto}.ngxsp-wmp-devicesPopover{position:absolute;right:-6px;bottom:calc(100% + 12px);z-index:40;width:300px;max-height:min(60vh,420px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--wmp-line);border-radius:12px;background:var(--wmp-s1);color:var(--wmp-text);box-shadow:0 18px 40px #00000073;text-align:left}.ngxsp-wmp-popoverHead{flex:none;display:flex;align-items:center;gap:8px;padding:12px 12px 2px}.ngxsp-wmp-popoverHead strong{flex:1;font-size:12.5px}.ngxsp-wmp-volumeControl{--ngxsp-control-size:32px;--ngxsp-volume-range-min:72px;--ngxsp-volume-range-max:112px;--ngxsp-volume-gap:4px;--ngxsp-volume-button-border:1px solid transparent;--ngxsp-volume-button-radius:6px;--ngxsp-volume-accent:var(--wmp-text);--ngxsp-volume-track-bg:var(--wmp-s3);--ngxsp-volume-thumb-bg:var(--wmp-text);--ngxsp-volume-thumb-size:12px;--ngxsp-volume-thumb-shadow:none;--ngxsp-focus-ring:0 0 0 2px var(--wmp-accent);color:var(--wmp-text-2)}.ngxsp-wmp-volumeControl:hover{--ngxsp-volume-accent:var(--wmp-accent);color:var(--wmp-text)}.ngxsp-wmp-dropOverlay{position:absolute;inset:12px;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;border:2px dashed var(--wmp-accent);border-radius:14px;background:var(--nsp-scrim, rgb(13 14 17 / .88));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--wmp-text);text-align:center;pointer-events:none}.ngxsp-wmp-dropIcon{width:56px;height:56px;display:grid;place-items:center;border-radius:14px;background:var(--wmp-accent-soft);color:var(--wmp-accent)}.ngxsp-wmp-dropIcon ngxsp-smart-icon{width:28px;height:28px}.ngxsp-wmp-dropOverlay strong{font-size:16px;font-weight:600}.ngxsp-wmp-dropOverlay span:last-child{color:var(--wmp-text-2)}@media(hover:none),(pointer:coarse){.ngxsp-wmp-rowFavorite,.ngxsp-wmp-rowQueueAction,.ngxsp-wmp-cardActions{opacity:1}.ngxsp-wmp-cardPlaySlot{opacity:1;transform:none}}@media(max-width:1180px){.ngxsp-wmp-shell{--wmp-rail-w:208px;--wmp-panel-w:284px}.ngxsp-wmp-sourceButton span{display:none}.ngxsp-wmp-sourceButton{width:32px;padding:0;justify-content:center}.ngxsp-wmp-tableHead,.ngxsp-wmp-trackSelect{grid-template-columns:32px minmax(0,2fr) minmax(0,1fr) 48px}.ngxsp-wmp-tableHead>span:nth-child(4),.ngxsp-wmp-albumCell{display:none}.ngxsp-wmp-nowPanel{grid-template-columns:148px minmax(0,1fr);gap:22px;padding:24px}.ngxsp-wmp-art{width:148px;height:148px}.ngxsp-wmp-nowCopy h1{font-size:26px}.ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(240px,1.4fr) minmax(min-content,1fr);gap:16px}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:84px}}@media(max-width:1023px)and (min-width:721px){.ngxsp-wmp-shell{--wmp-rail-w:188px;--wmp-panel-w:260px}.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{grid-template-columns:var(--wmp-rail-w) minmax(0,1fr);grid-template-areas:\"title title\" \"rail main\" \"transport transport\"}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;right:16px;bottom:calc(var(--wmp-transport-h) + 12px);z-index:40;max-width:min(420px,calc(100vw - 32px));white-space:normal;height:auto;min-height:30px;padding:6px 12px;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}}@media(max-height:760px)and (min-width:721px){.ngxsp-wmp-nowPanel{padding-top:20px;padding-bottom:20px}}@media(max-width:720px){.ngxsp-wmp-shell,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden{height:auto;min-height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:\"title\" \"rail\" \"main\" \"panel\";--wmp-transport-h:100px;--wmp-tabbar-h:66px;padding-bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));overflow:visible}.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:flex}.ngxsp-wmp-titlebar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px auto;row-gap:0;padding:0 12px 10px}.ngxsp-wmp-search{grid-column:1 / -1;grid-row:2;justify-self:stretch;width:100%}.ngxsp-wmp-titleActions .ngxsp-wmp-status{position:fixed;left:12px;right:12px;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px) + 8px);z-index:40;max-width:none;height:auto;min-height:34px;padding:8px 12px;white-space:normal;background:var(--wmp-s3);box-shadow:0 10px 30px #00000073}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titleActions .ngxsp-wmp-status{bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px) + 8px)}.ngxsp-wmp-titleActions>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-rail{display:none}.ngxsp-wmp-tabBar{position:fixed;left:0;right:0;bottom:0;z-index:31;height:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));display:flex;align-items:stretch;gap:2px;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--wmp-line);background:var(--wmp-s0)}.ngxsp-wmp-tab{flex:1;min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 4px;border:0;border-radius:10px;background:transparent;color:var(--wmp-text-3);font:inherit;font-size:10px;cursor:pointer}.ngxsp-wmp-tab span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-tab ngxsp-smart-icon{width:20px;height:20px}.ngxsp-wmp-tab.active{background:var(--wmp-accent-soft);color:var(--wmp-accent);font-weight:600}.ngxsp-wmp-tabFacets{display:flex;gap:7px;padding:10px 12px 0;overflow-x:auto}.ngxsp-wmp-tabFacets button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:16px;background:var(--wmp-s2);color:var(--wmp-text-2);font:inherit;font-size:12.5px;cursor:pointer}.ngxsp-wmp-tabFacets button small{opacity:.7;font-size:11px}.ngxsp-wmp-tabFacets button.active{background:var(--wmp-accent);color:var(--wmp-on-accent);font-weight:600}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage){--wmp-transport-h:116px;padding-bottom:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-tabBar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{bottom:0;height:calc(var(--wmp-transport-h) + env(safe-area-inset-bottom,0px));padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-titlebar{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playerPage{min-height:calc(100vh - var(--wmp-transport-h) - env(safe-area-inset-bottom,0px));justify-content:center;padding:12px 20px 20px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerSide{display:contents}.ngxsp-wmp-playerPage .ngxsp-wmp-playerStage{flex-direction:column;align-items:center;gap:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerArt{order:2;width:150px;height:150px;border-radius:16px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyrics{order:3;flex:none;width:100%;max-width:320px;max-height:24vh}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsHead{justify-content:center;margin-bottom:6px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines{align-items:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button,.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines p{padding:7px 0;font-size:14px;text-align:center}.ngxsp-wmp-playerPage .ngxsp-wmp-playerLyricsLines button.active{font-size:17px}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy{order:4;max-width:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy small,.ngxsp-wmp-playerPage .ngxsp-wmp-playerCopy .ngxsp-wmp-detailActions{display:none}.ngxsp-wmp-playerPage .ngxsp-wmp-playerWave{order:5;max-width:320px;height:34px}.ngxsp-wmp-playerBack{order:-1}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transport{background:transparent;box-shadow:none;border-top:0}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniArt,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniCopy{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-miniNow{grid-column:1 / -1;grid-row:2;display:flex;justify-content:center;gap:10px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons{grid-column:1 / -1;grid-row:1;justify-content:center;gap:18px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:grid}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-playButton{width:56px;height:56px}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-seekRow{display:none}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-transportModes{grid-column:1 / -1;grid-row:2;justify-content:center}.ngxsp-wmp-shell:has(.ngxsp-wmp-playerPage) .ngxsp-wmp-footerVolume{display:none}.ngxsp-wmp-nav{flex-direction:row;gap:4px;padding:8px 12px;overflow-x:auto}.ngxsp-wmp-navItem[data-quick],.ngxsp-wmp-navDivider{display:none}.ngxsp-wmp-navItem{width:auto;flex:0 0 auto;grid-template-columns:16px auto auto;height:32px;gap:6px}.ngxsp-wmp-navChevron{display:none}.ngxsp-wmp-navChild{grid-template-columns:auto auto;padding:0 12px;background:var(--wmp-s1)}.ngxsp-wmp-navDivider{width:1px;height:20px;margin:6px 4px}.ngxsp-wmp-railTools{display:none}.ngxsp-wmp-main{overflow:visible}.ngxsp-wmp-nowPanel{grid-template-columns:96px minmax(0,1fr);align-items:center;gap:16px;padding:16px}.ngxsp-wmp-art{width:96px;height:96px;align-self:start}.ngxsp-wmp-playerSurface{min-height:120px;gap:10px}.ngxsp-wmp-nowCopy h1{font-size:20px}.ngxsp-wmp-nowOscillogram{grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-nowTime{display:none}.ngxsp-wmp-nowActions{gap:8px}.ngxsp-wmp-nowActions .ngxsp-wmp-iconButton.outlined{width:36px;height:36px}.ngxsp-wmp-primaryButton{height:36px}.ngxsp-wmp-sectionHeader{padding:16px 16px 4px}.ngxsp-wmp-sectionScroll{padding:4px 8px 16px;gap:18px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,42%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.ngxsp-wmp-card{scroll-snap-align:start}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-cardGrid .ngxsp-wmp-card:nth-child(n+5){display:none}.ngxsp-wmp-browseMode .ngxsp-wmp-cardGrid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-sectionScroll>.ngxsp-wmp-section:nth-child(n+2){display:none}.ngxsp-wmp-cardActions{top:14px;right:14px}.ngxsp-wmp-shell:not(.ngxsp-wmp-browseMode) .ngxsp-wmp-table .ngxsp-wmp-trackRow:nth-of-type(n+6){display:none}.ngxsp-wmp-tableHead{display:none}.ngxsp-wmp-trackRow{grid-template-columns:minmax(0,1fr) auto}.ngxsp-wmp-trackSelect{grid-template-columns:28px minmax(0,1fr) 44px;gap:10px}.ngxsp-wmp-trackSelect>.ngxsp-wmp-trackCell{display:none}.ngxsp-wmp-rowQueueAction{display:none}.ngxsp-wmp-rowActions{padding-right:4px}.ngxsp-wmp-playlist,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist{display:none}.ngxsp-wmp-playlist.sheet,.ngxsp-wmp-shell.ngxsp-wmp-panelHidden .ngxsp-wmp-playlist.sheet{display:flex;position:fixed;left:0;right:0;top:0;bottom:calc(var(--wmp-transport-h) + var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:40;border:0;border-bottom:1px solid var(--wmp-line);overflow-y:auto;background:var(--wmp-s0);padding-top:env(safe-area-inset-top,0px)}.ngxsp-wmp-playlist.sheet .ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:grid}.ngxsp-wmp-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--wmp-line)}.ngxsp-wmp-sheetHeader strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ngxsp-wmp-queueList{overflow:visible}.ngxsp-wmp-queueList .ngxsp-wmp-queueItem:nth-of-type(n+5){display:none}.ngxsp-wmp-transport{position:fixed;left:0;right:0;bottom:calc(var(--wmp-tabbar-h) + env(safe-area-inset-bottom,0px));z-index:30;height:var(--wmp-transport-h);grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 8px;padding:10px 12px 6px;box-shadow:0 -12px 32px #00000059}.ngxsp-wmp-miniNow{grid-template-columns:44px minmax(0,1fr) auto}.ngxsp-wmp-miniNow>.ngxsp-wmp-iconButton{display:none}.ngxsp-wmp-miniNow>.ngxsp-wmp-sheetButton{display:grid}.ngxsp-wmp-miniArt{width:44px;height:44px}.ngxsp-wmp-transportCenter{display:contents}.ngxsp-wmp-transportButtons{grid-column:2;grid-row:1;gap:4px}.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:first-child,.ngxsp-wmp-transportButtons>.ngxsp-wmp-iconButton:last-child{display:none}.ngxsp-wmp-seekRow{grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr)}.ngxsp-wmp-seekRow small{display:none}.ngxsp-wmp-transportModes{grid-column:2;grid-row:2;gap:0}.ngxsp-wmp-volumeControl{--ngxsp-volume-range-min:56px;--ngxsp-volume-range-max:72px}}@media(max-width:480px){.ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-transportModes>.ngxsp-wmp-windowButton{display:grid}}.ngxsp-wmp-shell.ngxsp-wmp-compact{height:100vh;min-height:0;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);padding:env(titlebar-area-height,0px) 0 0}.ngxsp-wmp-shell.ngxsp-wmp-compact>:not(.ngxsp-wmp-transport){display:none!important}.ngxsp-wmp-shell.ngxsp-wmp-compact .ngxsp-wmp-transport{grid-area:1 / 1;position:static;height:auto;min-height:0;border-top:0;box-shadow:none;-webkit-user-select:none;user-select:none;-webkit-app-region:drag}.ngxsp-wmp-compact .ngxsp-wmp-transport :is(button,ngxsp-time-slider,ngxsp-volume-control){-webkit-app-region:no-drag}.ngxsp-wmp-compact .ngxsp-wmp-sheetButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-iconButton,.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap{display:none}.ngxsp-wmp-compact .ngxsp-wmp-transportModes>.ngxsp-wmp-switchWrap:has(>.ngxsp-wmp-devicesButton){display:inline-flex}.ngxsp-wmp-compactMini .ngxsp-wmp-transport{align-content:center;padding:10px 12px 8px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transport{grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;row-gap:4px}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-compactLyrics{grid-column:1 / -1;grid-row:1;align-self:stretch}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-miniNow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportButtons{grid-row:2}.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-seekRow,.ngxsp-wmp-compactMiniLyrics .ngxsp-wmp-transportModes{grid-row:3}.ngxsp-wmp-compactLyrics{position:relative;min-height:0;display:grid;align-content:start;gap:2px;overflow-y:auto;padding:6px 4px 10px;border-bottom:1px solid var(--wmp-line);-webkit-app-region:no-drag;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}.ngxsp-wmp-compactLyrics::-webkit-scrollbar{display:none}.ngxsp-wmp-compactLyricsLine{margin:0;padding:3px 6px;border:0;border-radius:var(--wmp-r-sm);background:none;color:var(--wmp-text-3);font:inherit;font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:color var(--wmp-dur) var(--wmp-ease),font-size var(--wmp-dur) var(--wmp-ease)}.ngxsp-wmp-compactLyricsLine.plain{cursor:default;color:var(--wmp-text-2)}.ngxsp-wmp-compactLyricsLine.active{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-compactLyricsLine:not(.plain):hover{color:var(--wmp-text-2)}.ngxsp-wmp-shell.ngxsp-wmp-compactBarLyrics .ngxsp-wmp-transport{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(280px,560px) minmax(0,1fr)}.ngxsp-wmp-barLyrics{min-width:0;display:grid;gap:2px;text-align:center}.ngxsp-wmp-barLyrics strong,.ngxsp-wmp-barLyrics span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngxsp-wmp-barLyrics strong{color:var(--wmp-text);font-size:15px;font-weight:650}.ngxsp-wmp-barLyrics span{color:var(--wmp-text-3);font-size:12px}.ngxsp-wmp-compactActions{display:inline-flex;align-items:center;gap:2px}.ngxsp-wmp-compactActions button{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:var(--wmp-r-sm);background:transparent;color:var(--wmp-text-2);cursor:pointer}.ngxsp-wmp-compactActions button:hover{background:var(--wmp-s2);color:var(--wmp-text)}.ngxsp-wmp-compactActions button:focus-visible{outline:2px solid var(--wmp-accent);outline-offset:1px}.ngxsp-wmp-compactActions ngxsp-smart-icon{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.ngxsp-wmp-shell *,.ngxsp-wmp-shell *:before,.ngxsp-wmp-shell *:after{animation:none!important;transition:none!important}}\n"]
|
|
2750
4009
|
}]
|
|
2751
4010
|
}],
|
|
4011
|
+
ctorParameters: () => [],
|
|
2752
4012
|
propDecorators: {
|
|
2753
4013
|
config: [{ type: Input }],
|
|
2754
4014
|
plugins: [{ type: Input }],
|
|
2755
4015
|
ports: [{ type: Input }],
|
|
2756
4016
|
engines: [{ type: Input }],
|
|
2757
4017
|
debug: [{ type: Input }],
|
|
4018
|
+
handlingFailure: [{ type: Input }],
|
|
2758
4019
|
startTimeSec: [{ type: Input }],
|
|
2759
4020
|
autoplayOnInit: [{ type: Input }],
|
|
2760
4021
|
playRequest: [{ type: Input }],
|
|
@@ -2766,9 +4027,50 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2766
4027
|
repeatLabel: [{ type: Input }],
|
|
2767
4028
|
hasPlaylistControls: [{ type: Input }],
|
|
2768
4029
|
castEnabled: [{ type: Input }],
|
|
4030
|
+
castLabels: [{ type: Input }],
|
|
2769
4031
|
libraryViewsLabel: [{ type: Input }],
|
|
2770
4032
|
transportLabel: [{ type: Input }],
|
|
2771
4033
|
seekLabel: [{ type: Input }],
|
|
4034
|
+
detailHead: [{ type: Input }],
|
|
4035
|
+
sourcesPage: [{ type: Input }],
|
|
4036
|
+
playerPage: [{ type: Input }],
|
|
4037
|
+
notificationsPage: [{ type: Input }],
|
|
4038
|
+
emptyPage: [{ type: Input }],
|
|
4039
|
+
notificationsLabel: [{ type: Input }],
|
|
4040
|
+
notificationsUnread: [{ type: Input }],
|
|
4041
|
+
playerOpenLabel: [{ type: Input }],
|
|
4042
|
+
viewIntro: [{ type: Input }],
|
|
4043
|
+
viewFacets: [{ type: Input }],
|
|
4044
|
+
viewFacetLabel: [{ type: Input }],
|
|
4045
|
+
searchResultsTitle: [{ type: Input }],
|
|
4046
|
+
searchResultsSummary: [{ type: Input }],
|
|
4047
|
+
searchFilters: [{ type: Input }],
|
|
4048
|
+
searchFilterLabel: [{ type: Input }],
|
|
4049
|
+
searchBest: [{ type: Input }],
|
|
4050
|
+
searchBestTitle: [{ type: Input }],
|
|
4051
|
+
recentSearches: [{ type: Input }],
|
|
4052
|
+
recentSearchesTitle: [{ type: Input }],
|
|
4053
|
+
viewMode: [{ type: Input }],
|
|
4054
|
+
gridLabel: [{ type: Input }],
|
|
4055
|
+
tableLabel: [{ type: Input }],
|
|
4056
|
+
viewSwitchLabel: [{ type: Input }],
|
|
4057
|
+
trail: [{ type: Input }],
|
|
4058
|
+
trailLabel: [{ type: Input }],
|
|
4059
|
+
trailStep: [{ type: Output }],
|
|
4060
|
+
viewModeChange: [{ type: Output }],
|
|
4061
|
+
detailHeadAction: [{ type: Output }],
|
|
4062
|
+
sourceAction: [{ type: Output }],
|
|
4063
|
+
sectionMore: [{ type: Output }],
|
|
4064
|
+
viewFacetChange: [{ type: Output }],
|
|
4065
|
+
playerOpen: [{ type: Output }],
|
|
4066
|
+
emptyPageAction: [{ type: Output }],
|
|
4067
|
+
notificationAction: [{ type: Output }],
|
|
4068
|
+
notificationsOpen: [{ type: Output }],
|
|
4069
|
+
notificationsRead: [{ type: Output }],
|
|
4070
|
+
playerBack: [{ type: Output }],
|
|
4071
|
+
searchFilterChange: [{ type: Output }],
|
|
4072
|
+
searchBestAction: [{ type: Output }],
|
|
4073
|
+
searchAgain: [{ type: Output }],
|
|
2772
4074
|
libraryTitle: [{ type: Input }],
|
|
2773
4075
|
libraryContentTitle: [{ type: Input }],
|
|
2774
4076
|
backLabel: [{ type: Input }],
|
|
@@ -2778,7 +4080,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2778
4080
|
searchLabel: [{ type: Input }],
|
|
2779
4081
|
searchTerm: [{ type: Input }],
|
|
2780
4082
|
libraryViews: [{ type: Input }],
|
|
4083
|
+
playerPanel: [{ type: Input }],
|
|
2781
4084
|
quickViewIds: [{ type: Input }],
|
|
4085
|
+
quickViewItems: [{ type: Input }],
|
|
2782
4086
|
quickViewsLabel: [{ type: Input }],
|
|
2783
4087
|
activeLibraryView: [{ type: Input }],
|
|
2784
4088
|
librarySections: [{ type: Input }],
|
|
@@ -2825,7 +4129,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2825
4129
|
saveLabel: [{ type: Input }],
|
|
2826
4130
|
cancelLabel: [{ type: Input }],
|
|
2827
4131
|
refreshLabel: [{ type: Input }],
|
|
2828
|
-
|
|
4132
|
+
queueCountLabel: [{ type: Input }],
|
|
2829
4133
|
newPlaylistPlaceholder: [{ type: Input }],
|
|
2830
4134
|
renamePlaylistPlaceholder: [{ type: Input }],
|
|
2831
4135
|
remotePlaybackLabel: [{ type: Input }],
|
|
@@ -2846,11 +4150,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2846
4150
|
favoriteLabel: [{ type: Input }],
|
|
2847
4151
|
ringtoneAvailable: [{ type: Input }],
|
|
2848
4152
|
ringtoneLabel: [{ type: Input }],
|
|
4153
|
+
trackActionsLabel: [{ type: Input }],
|
|
2849
4154
|
favoriteActiveLabel: [{ type: Input }],
|
|
2850
4155
|
favoritesLabel: [{ type: Input }],
|
|
2851
4156
|
queueItems: [{ type: Input }],
|
|
4157
|
+
queueEditable: [{ type: Input }],
|
|
4158
|
+
queueMoveUpLabel: [{ type: Input }],
|
|
4159
|
+
queueMoveDownLabel: [{ type: Input }],
|
|
4160
|
+
queueRemoveLabel: [{ type: Input }],
|
|
2852
4161
|
currentTrackAvailable: [{ type: Input }],
|
|
2853
4162
|
playlistOptions: [{ type: Input }],
|
|
4163
|
+
playlistsPageOpen: [{ type: Input }],
|
|
4164
|
+
playlistsSummary: [{ type: Input }],
|
|
4165
|
+
playlistsOpen: [{ type: Output }],
|
|
2854
4166
|
playlistTargetTrack: [{ type: Input }],
|
|
2855
4167
|
removableItemIds: [{ type: Input }],
|
|
2856
4168
|
stationForm: [{ type: Input }],
|
|
@@ -2862,12 +4174,21 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2862
4174
|
lyricsPanel: [{ type: Input }],
|
|
2863
4175
|
showDeviceButton: [{ type: Input }],
|
|
2864
4176
|
deviceItems: [{ type: Input }],
|
|
4177
|
+
outputItems: [{ type: Input }],
|
|
4178
|
+
audioOutputId: [{ type: Input }],
|
|
4179
|
+
castGroupLabel: [{ type: Input }],
|
|
4180
|
+
castGroupHint: [{ type: Input }],
|
|
4181
|
+
outputGroupLabel: [{ type: Input }],
|
|
4182
|
+
outputGroupHint: [{ type: Input }],
|
|
4183
|
+
searchDevicesLabel: [{ type: Input }],
|
|
4184
|
+
keepQueueLabel: [{ type: Input }],
|
|
2865
4185
|
closeLabel: [{ type: Input }],
|
|
2866
4186
|
sourceChangeLabel: [{ type: Input }],
|
|
2867
4187
|
sourceChangeTitle: [{ type: Input }],
|
|
2868
4188
|
sourceDropTitle: [{ type: Input }],
|
|
2869
4189
|
sourceDropHint: [{ type: Input }],
|
|
2870
4190
|
sourceChangeAccept: [{ type: Input }],
|
|
4191
|
+
showSourceButton: [{ type: Input }],
|
|
2871
4192
|
folderImportLabel: [{ type: Input }],
|
|
2872
4193
|
libraryStatus: [{ type: Input }],
|
|
2873
4194
|
libraryBusy: [{ type: Input }],
|
|
@@ -2899,7 +4220,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2899
4220
|
addLibraryItemNext: [{ type: Output }],
|
|
2900
4221
|
addLibraryItemToQueue: [{ type: Output }],
|
|
2901
4222
|
selectQueueItem: [{ type: Output }],
|
|
4223
|
+
queueMoveUp: [{ type: Output }],
|
|
4224
|
+
queueMoveDown: [{ type: Output }],
|
|
4225
|
+
queueRemove: [{ type: Output }],
|
|
2902
4226
|
createPlaylist: [{ type: Output }],
|
|
4227
|
+
playerPageAction: [{ type: Output }],
|
|
2903
4228
|
addCurrentToPlaylist: [{ type: Output }],
|
|
2904
4229
|
addTrackToPlaylist: [{ type: Output }],
|
|
2905
4230
|
requestPlaylistTarget: [{ type: Output }],
|
|
@@ -2913,7 +4238,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2913
4238
|
deletePlaylist: [{ type: Output }],
|
|
2914
4239
|
toggleDevices: [{ type: Output }],
|
|
2915
4240
|
refreshDevices: [{ type: Output }],
|
|
2916
|
-
|
|
4241
|
+
selectOutput: [{ type: Output }],
|
|
4242
|
+
keepQueueAsPlaylist: [{ type: Output }],
|
|
4243
|
+
audioOutputApplied: [{ type: Output }],
|
|
2917
4244
|
refreshLyrics: [{ type: Output }],
|
|
2918
4245
|
seekLyrics: [{ type: Output }],
|
|
2919
4246
|
playOnDevice: [{ type: Output }],
|
|
@@ -2943,14 +4270,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2943
4270
|
type: ViewChild,
|
|
2944
4271
|
args: ["libraryScroll"]
|
|
2945
4272
|
}],
|
|
2946
|
-
lyricsLinesEl: [{
|
|
2947
|
-
type: ViewChild,
|
|
2948
|
-
args: ["lyricsLines"]
|
|
2949
|
-
}],
|
|
2950
4273
|
queueListEl: [{
|
|
2951
4274
|
type: ViewChild,
|
|
2952
4275
|
args: ["queueList"]
|
|
2953
4276
|
}],
|
|
4277
|
+
playerLyricsEl: [{
|
|
4278
|
+
type: ViewChild,
|
|
4279
|
+
args: ["playerLyricsLines"]
|
|
4280
|
+
}],
|
|
2954
4281
|
compactLyricsEl: [{
|
|
2955
4282
|
type: ViewChild,
|
|
2956
4283
|
args: ["compactLyricsLines"]
|
|
@@ -2962,13 +4289,21 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2962
4289
|
sheetButtonEl: [{
|
|
2963
4290
|
type: ViewChild,
|
|
2964
4291
|
args: ["sheetButton"]
|
|
4292
|
+
}],
|
|
4293
|
+
onEscape: [{
|
|
4294
|
+
type: HostListener,
|
|
4295
|
+
args: ["document:keydown.escape"]
|
|
4296
|
+
}],
|
|
4297
|
+
trackMenuBox: [{
|
|
4298
|
+
type: ViewChild,
|
|
4299
|
+
args: ["trackMenuBox"]
|
|
2965
4300
|
}]
|
|
2966
4301
|
}
|
|
2967
4302
|
});
|
|
2968
4303
|
var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
|
|
2969
4304
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2970
4305
|
minVersion: "12.0.0",
|
|
2971
|
-
version: "22.
|
|
4306
|
+
version: "22.3.0",
|
|
2972
4307
|
ngImport: i0,
|
|
2973
4308
|
type: NgxSmartPlayerAudioUiModule,
|
|
2974
4309
|
deps: [],
|
|
@@ -2976,7 +4311,7 @@ var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
|
|
|
2976
4311
|
});
|
|
2977
4312
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
2978
4313
|
minVersion: "14.0.0",
|
|
2979
|
-
version: "22.
|
|
4314
|
+
version: "22.3.0",
|
|
2980
4315
|
ngImport: i0,
|
|
2981
4316
|
type: NgxSmartPlayerAudioUiModule,
|
|
2982
4317
|
imports: [NgxSmartPlayerAudioUiComponent],
|
|
@@ -2984,7 +4319,7 @@ var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
|
|
|
2984
4319
|
});
|
|
2985
4320
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
2986
4321
|
minVersion: "12.0.0",
|
|
2987
|
-
version: "22.
|
|
4322
|
+
version: "22.3.0",
|
|
2988
4323
|
ngImport: i0,
|
|
2989
4324
|
type: NgxSmartPlayerAudioUiModule,
|
|
2990
4325
|
imports: [NgxSmartPlayerAudioUiComponent]
|
|
@@ -2992,7 +4327,7 @@ var NgxSmartPlayerAudioUiModule = class NgxSmartPlayerAudioUiModule {
|
|
|
2992
4327
|
};
|
|
2993
4328
|
i0.ɵɵngDeclareClassMetadata({
|
|
2994
4329
|
minVersion: "12.0.0",
|
|
2995
|
-
version: "22.
|
|
4330
|
+
version: "22.3.0",
|
|
2996
4331
|
ngImport: i0,
|
|
2997
4332
|
type: NgxSmartPlayerAudioUiModule,
|
|
2998
4333
|
decorators: [{
|