mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Rewrite to TidalLuna of All Plugins
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
# neptune plugin template
|
||||
This is a repository template for a neptune plugin monorepo.
|
||||
|
||||
Each plugin in the `plugins/` directory will be automatically built by running `pnpm run build` to their respective `dist/` folder.
|
||||
@@ -1,104 +0,0 @@
|
||||
const esbuild = require("esbuild");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const crypto = require("crypto");
|
||||
|
||||
const nativeExternals = ["@plugin", "electron", "@neptune-types", "@neptune"];
|
||||
|
||||
const plugins = fs.readdirSync("./plugins");
|
||||
for (const plugin of plugins) {
|
||||
let pluginPath = path.join("./plugins/", plugin);
|
||||
|
||||
const pluginManifest = JSON.parse(
|
||||
fs.readFileSync(path.join(pluginPath, "plugin.json"))
|
||||
);
|
||||
|
||||
const outfile = path.join(pluginPath, "dist/index.js");
|
||||
|
||||
esbuild
|
||||
.build({
|
||||
entryPoints: [
|
||||
"./" + path.join(pluginPath, pluginManifest.main ?? "index.js"),
|
||||
],
|
||||
logLevel: "debug",
|
||||
plugins: [
|
||||
{
|
||||
name: "neptuneNativeImports",
|
||||
setup(build) {
|
||||
build.onLoad(
|
||||
{ filter: /.*[\/\\].+\.native\.[a-z]+/g },
|
||||
async (args) => {
|
||||
const result = await esbuild.build({
|
||||
entryPoints: [args.path],
|
||||
bundle: true,
|
||||
minify: true,
|
||||
platform: "node",
|
||||
format: "iife",
|
||||
globalName: "neptuneExports",
|
||||
write: false,
|
||||
external: nativeExternals
|
||||
});
|
||||
|
||||
const outputCode = result.outputFiles[0].text;
|
||||
|
||||
// HATE! WHY WHY WHY WHY WHY (globalName breaks metafile. crying emoji)
|
||||
const { metafile } = await esbuild.build({
|
||||
entryPoints: [args.path],
|
||||
platform: "node",
|
||||
write: false,
|
||||
metafile: true,
|
||||
bundle: true, // I find it annoying that I have to enable bundling.
|
||||
format: "esm", // This avoids exports not being properly defined, thus you do not need to change log levels.
|
||||
external: nativeExternals,
|
||||
});
|
||||
|
||||
const builtExports = Object.values(metafile.outputs)[0].exports;
|
||||
|
||||
return {
|
||||
contents: `import {addUnloadable} from "@plugin";const contextId=NeptuneNative.createEvalScope(${JSON.stringify(
|
||||
outputCode
|
||||
)});${builtExports
|
||||
.map(
|
||||
(e) =>
|
||||
`export ${e == "default" ? "default " : `const ${e} =`
|
||||
} NeptuneNative.getNativeValue(contextId,${JSON.stringify(
|
||||
e
|
||||
)})`
|
||||
)
|
||||
.join(
|
||||
";"
|
||||
)};addUnloadable(() => NeptuneNative.deleteEvalScope(contextId))`,
|
||||
};
|
||||
}
|
||||
);
|
||||
},
|
||||
},
|
||||
],
|
||||
bundle: true,
|
||||
minify: true,
|
||||
format: "esm",
|
||||
external: nativeExternals,
|
||||
platform: "browser",
|
||||
outfile,
|
||||
metafile: true, // Add this line to generate a metafile
|
||||
})
|
||||
.then((result) => {
|
||||
fs.createReadStream(outfile)
|
||||
// It being md5 does not matter, this is for caching and not security
|
||||
.pipe(crypto.createHash("md5").setEncoding("hex"))
|
||||
.on("finish", function () {
|
||||
fs.writeFileSync(
|
||||
path.join(pluginPath, "dist/manifest.json"),
|
||||
JSON.stringify({
|
||||
name: pluginManifest.name,
|
||||
description: pluginManifest.description,
|
||||
author: pluginManifest.author,
|
||||
hash: this.read(),
|
||||
metafile: result.metafile, // Add this line to include the metafile in the manifest
|
||||
})
|
||||
);
|
||||
|
||||
console.log("Built " + pluginManifest.name + "!");
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# WIP
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@itzzexcel/clean-view",
|
||||
"description": "Make your \"Now Playing View\" clean wherever you want, heavily based in beautiful-lyrics from @surfbryce!.",
|
||||
"author": {
|
||||
"name": "itzzexcel",
|
||||
"url": "https://github.com/ItzzExcel",
|
||||
"avatarUrl": "https://avatars.githubusercontent.com/u/ItzzExcel"
|
||||
},
|
||||
"main": "./src/index.ts",
|
||||
"type": "module"
|
||||
}
|
||||
+95
-83
@@ -1,9 +1,10 @@
|
||||
require("./tracer");
|
||||
import { Tracer } from "./tracer";
|
||||
import * as ui from "./ui";
|
||||
import { intercept, store, utils } from "@neptune"
|
||||
import { LunaUnload, Tracer, ftch } from "@luna/core";
|
||||
|
||||
const trace = Tracer("[Clean View]");
|
||||
export const { trace } = Tracer("[Clean View]");
|
||||
|
||||
|
||||
// clean up resources
|
||||
export const unloads = new Set<LunaUnload>();
|
||||
|
||||
const styles = `
|
||||
[data-test="footer-player"], [class*="tabItems"] {
|
||||
@@ -37,71 +38,75 @@ const styles = `
|
||||
}
|
||||
`;
|
||||
|
||||
function ApplyCSS(style) {
|
||||
const themeUrl = "https://raw.githubusercontent.com/itzzexcel/neptune-projects/refs/heads/main/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css";
|
||||
|
||||
function ApplyCSS(style: string): HTMLStyleElement {
|
||||
const styleElement = document.createElement("style");
|
||||
styleElement.type = "text/css";
|
||||
if (styleElement.styleSheet) styleElement.styleSheet.cssText = style;
|
||||
else styleElement.appendChild(document.createTextNode(style));
|
||||
|
||||
styleElement.textContent = style;
|
||||
document.head.appendChild(styleElement);
|
||||
return styleElement;
|
||||
}
|
||||
|
||||
async function HttpGet(url) {
|
||||
async function HttpGet(url: string): Promise<string | null> {
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
const content = await response.text();
|
||||
const content = await ftch.text(url);
|
||||
return content;
|
||||
} catch (error) {
|
||||
trace.msg.err(`Failed to fetch URL: ${error.message}`);
|
||||
trace.msg.err(`Failed to fetch URL: ${error instanceof Error ? error.message : String(error)}`);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
var isCleanView = false;
|
||||
var appliedStyle;
|
||||
const toggleCleanButton = ui.NewPlayerButton(() => {
|
||||
if (isCleanView) {
|
||||
if (appliedStyle) {
|
||||
appliedStyle.remove();
|
||||
var appliedStyle: HTMLStyleElement | null = null;
|
||||
|
||||
const toggleCleanButton = function(callback: () => void, icon: string, customIndex: number = 2): void {
|
||||
setTimeout(() => {
|
||||
const iconHolder = document.querySelector("[class*=\"_moreContainer\"");
|
||||
if (!iconHolder) return;
|
||||
|
||||
const button = document.createElement("button");
|
||||
button.style.width = "40px";
|
||||
button.style.border = "none";
|
||||
button.classList.add("xcl_customButton");
|
||||
|
||||
const buttonIcon = document.createElement("img");
|
||||
buttonIcon.src = icon;
|
||||
buttonIcon.style.width = "100%";
|
||||
buttonIcon.style.height = "100%";
|
||||
button.onclick = callback;
|
||||
|
||||
button.appendChild(buttonIcon);
|
||||
|
||||
const children = Array.from(iconHolder.children);
|
||||
if (customIndex <= children.length) {
|
||||
iconHolder.insertBefore(button, children[customIndex - 1]);
|
||||
} else {
|
||||
iconHolder.appendChild(button);
|
||||
}
|
||||
} else {
|
||||
appliedStyle = ApplyCSS(styles);
|
||||
}
|
||||
isCleanView = !isCleanView;
|
||||
}, "https://lexploits.top/favicon.ico", 2);
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
// STYLES FOR THE LYRICS
|
||||
const themeUrl = "https://raw.githubusercontent.com/itzzexcel/neptune-projects/refs/heads/main/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css";
|
||||
|
||||
var style;
|
||||
var styleElement;
|
||||
|
||||
(async () => {
|
||||
style = await HttpGet(themeUrl);
|
||||
styleElement = ApplyCSS(style);
|
||||
})();
|
||||
|
||||
|
||||
function observeTrackTitle() {
|
||||
function observeTrackTitle(): void {
|
||||
const trackTitleElement = document.querySelector('[class^="_trackTitleContainer"]');
|
||||
if (trackTitleElement) {
|
||||
trackTitleElement.addEventListener('DOMSubtreeModified', () => {
|
||||
const observer = new MutationObserver(() => {
|
||||
setTimeout(() => {
|
||||
// console.log("Track changed: " + trackTitleElement.querySelector("span").innerHTML + "\n")
|
||||
onTrackChanged();
|
||||
}, 300);
|
||||
});
|
||||
|
||||
observer.observe(trackTitleElement, {
|
||||
childList: true,
|
||||
subtree: true
|
||||
});
|
||||
|
||||
unloads.add(() => observer.disconnect());
|
||||
}
|
||||
}
|
||||
|
||||
const onTrackChanged = function (method = 0) {
|
||||
// Tu amor tan liminal, tu amor tan liminal
|
||||
// - Ghouljaboy, 2021
|
||||
|
||||
const onTrackChanged = function (method: number = 0): void {
|
||||
if (method === 1) {
|
||||
setTimeout(() => {
|
||||
onTrackChanged();
|
||||
@@ -109,29 +114,31 @@ const onTrackChanged = function (method = 0) {
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
let albumImageElement = document.querySelector('figure[class*="_albumImage"] > div > div > div > img');
|
||||
let albumImageSrc;
|
||||
let albumImageElement = document.querySelector('figure[class*="_albumImage"] > div > div > div > img') as HTMLImageElement;
|
||||
let albumImageSrc: string | null = null;
|
||||
|
||||
if (albumImageElement) {
|
||||
albumImageSrc = albumImageElement.src;
|
||||
|
||||
// Set res to 1280x1280
|
||||
albumImageSrc = albumImageSrc.replace(/\d+x\d+/, '1280x1280');
|
||||
albumImageElement.src = albumImageSrc;
|
||||
} else if (albumImageElement = document.querySelector('figure[class*="_albumImage"] > div > div > div > video')) {
|
||||
albumImageSrc = albumImageElement.getAttribute("poster");
|
||||
|
||||
// Set res to 1280x1280
|
||||
albumImageSrc = albumImageSrc.replace(/\d+x\d+/, '1280x1280');
|
||||
albumImageElement.src = albumImageSrc;
|
||||
} else {
|
||||
cleanUpDynamicArt();
|
||||
console.log("Couldn't get album art");
|
||||
|
||||
const videoElement = document.querySelector('figure[class*="_albumImage"] > div > div > div > video') as HTMLVideoElement;
|
||||
if (videoElement) {
|
||||
albumImageSrc = videoElement.getAttribute("poster");
|
||||
if (albumImageSrc) {
|
||||
// Set res to 1280x1280
|
||||
albumImageSrc = albumImageSrc.replace(/\d+x\d+/, '1280x1280');
|
||||
}
|
||||
} else {
|
||||
cleanUpDynamicArt();
|
||||
console.log("Couldn't get album art");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Setting background to the *="nowPlayingContainer" element
|
||||
let nowPlayingContainerElement = document.querySelector('[class*="_nowPlayingContainer"]');
|
||||
const nowPlayingContainerElement = document.querySelector('[class*="_nowPlayingContainer"]') as HTMLElement;
|
||||
if (nowPlayingContainerElement && albumImageSrc) {
|
||||
// Remove existing corner images if they exist
|
||||
const existingImages = nowPlayingContainerElement.querySelectorAll('.corner-image');
|
||||
@@ -184,31 +191,34 @@ const onTrackChanged = function (method = 0) {
|
||||
}
|
||||
};
|
||||
|
||||
const cleanUpDynamicArt = function () {
|
||||
[...document.getElementsByClassName("corner-image")].forEach((element) => {
|
||||
const cleanUpDynamicArt = function (): void {
|
||||
const cornerImages = document.getElementsByClassName("corner-image");
|
||||
Array.from(cornerImages).forEach((element) => {
|
||||
element.remove();
|
||||
});
|
||||
};
|
||||
|
||||
const PLAYBACK_EVENTS = [
|
||||
"playbackControls/PREFILL_MEDIA_PRODUCT_TRANSITION",
|
||||
"playbackControls/MEDIA_PRODUCT_TRANSITION"
|
||||
];
|
||||
// STYLES FOR THE LYRICS - Added Top-level async since Luna plugins are modules <3
|
||||
const style = await HttpGet(themeUrl);
|
||||
const styleElement = style ? ApplyCSS(style) : null;
|
||||
|
||||
const unsubscribeFunctions = PLAYBACK_EVENTS.map(event =>
|
||||
intercept(event, () => {
|
||||
onTrackChanged(1);
|
||||
})
|
||||
);
|
||||
const toggleCleanButtonInstance = toggleCleanButton(() => {
|
||||
if (isCleanView) {
|
||||
if (appliedStyle) {
|
||||
appliedStyle.remove();
|
||||
appliedStyle = null;
|
||||
}
|
||||
} else {
|
||||
appliedStyle = ApplyCSS(styles);
|
||||
}
|
||||
isCleanView = !isCleanView;
|
||||
}, "https://lexploits.top/favicon.ico", 2);
|
||||
|
||||
observeTrackTitle();
|
||||
observeTrackTitle();
|
||||
observeTrackTitle();
|
||||
observeTrackTitle();
|
||||
|
||||
onTrackChanged(1);
|
||||
|
||||
function CleanUpCSS() {
|
||||
// Add cleanup to unloads
|
||||
unloads.add(() => {
|
||||
if (styleElement && styleElement.parentNode) {
|
||||
styleElement.parentNode.removeChild(styleElement);
|
||||
}
|
||||
@@ -216,16 +226,18 @@ function CleanUpCSS() {
|
||||
if (appliedStyle && appliedStyle.parentNode) {
|
||||
appliedStyle.parentNode.removeChild(appliedStyle);
|
||||
}
|
||||
}
|
||||
|
||||
export function onUnload() {
|
||||
CleanUpCSS();
|
||||
ui.CleanupButtons();
|
||||
unsubscribeFunctions.forEach(unsubscribe => unsubscribe());
|
||||
cleanUpDynamicArt();
|
||||
|
||||
const trackTitleElement = document.querySelector('div[class^="_trackTitleContainer"]');
|
||||
if (trackTitleElement) {
|
||||
trackTitleElement.removeEventListener('DOMSubtreeModified', onTrackChanged);
|
||||
// Clean up custom buttons
|
||||
const customButtons = document.getElementsByClassName("xcl_customButton");
|
||||
Array.from(customButtons).forEach(element => {
|
||||
element.remove();
|
||||
});
|
||||
|
||||
// Clean up spin animation
|
||||
const spinAnimationStyle = document.querySelector('#spinAnimation');
|
||||
if (spinAnimationStyle && spinAnimationStyle.parentNode) {
|
||||
spinAnimationStyle.parentNode.removeChild(spinAnimationStyle);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
# WIP
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@itzzexcel/copy-lyrics",
|
||||
"description": "A working neptune plugin that allows the user to copy the lyrics of a song selecting it.",
|
||||
"author": {
|
||||
"name": "itzzexcel",
|
||||
"url": "https://github.com/ItzzExcel",
|
||||
"avatarUrl": "https://avatars.githubusercontent.com/u/ItzzExcel"
|
||||
},
|
||||
"main": "./src/index.ts",
|
||||
"type": "module"
|
||||
}
|
||||
@@ -1,7 +1,10 @@
|
||||
require("./tracer");
|
||||
import { Tracer } from "./tracer";
|
||||
import { LunaUnload, Tracer } from "@luna/core";
|
||||
|
||||
const trace = Tracer("[Copy Lyrics]");
|
||||
export const { trace } = Tracer("[Copy Lyrics]");
|
||||
|
||||
|
||||
// clean up resources
|
||||
export const unloads = new Set<LunaUnload>();
|
||||
|
||||
const unlockSelection = `
|
||||
[class^="_lyricsText"]>div>span {
|
||||
@@ -15,17 +18,15 @@ const unlockSelection = `
|
||||
}
|
||||
`;
|
||||
|
||||
function ApplyCSS(style) {
|
||||
function ApplyCSS(style: string): HTMLStyleElement {
|
||||
const styleElement = document.createElement("style");
|
||||
styleElement.type = "text/css";
|
||||
if (styleElement.styleSheet) styleElement.styleSheet.cssText = style;
|
||||
else styleElement.appendChild(document.createTextNode(style));
|
||||
|
||||
styleElement.textContent = style;
|
||||
document.head.appendChild(styleElement);
|
||||
return styleElement;
|
||||
}
|
||||
|
||||
function SetClipboard(text) {
|
||||
function SetClipboard(text: string): void {
|
||||
const textarea = document.createElement("textarea");
|
||||
textarea.value = text;
|
||||
textarea.style.position = "fixed"; // Avoid scrolling to bottom
|
||||
@@ -36,7 +37,7 @@ function SetClipboard(text) {
|
||||
const success = document.execCommand("copy");
|
||||
if (!success) throw new Error("Failed to copy text.");
|
||||
} catch (err) {
|
||||
trace.msg.err(err);
|
||||
trace.msg.err(err instanceof Error ? err.message : String(err));
|
||||
} finally {
|
||||
document.body.removeChild(textarea);
|
||||
}
|
||||
@@ -46,38 +47,38 @@ const styleElement = ApplyCSS(unlockSelection);
|
||||
|
||||
let isSelecting = false;
|
||||
|
||||
const onMouseDown = function () {
|
||||
const onMouseDown = function (): void {
|
||||
isSelecting = true;
|
||||
};
|
||||
|
||||
const onMouseUp = function (event) {
|
||||
const onMouseUp = function (event: MouseEvent): void {
|
||||
if (isSelecting) {
|
||||
const selection = window.getSelection();
|
||||
if (selection.toString().length > 0) {
|
||||
const selectedSpans = [];
|
||||
if (selection && selection.toString().length > 0) {
|
||||
const selectedSpans: HTMLSpanElement[] = [];
|
||||
const range = selection.getRangeAt(0);
|
||||
let container = range.commonAncestorContainer;
|
||||
// If the container is NOT and element and a document, try to adjust it.
|
||||
|
||||
// If the container is NOT an element and a document, adjust it.
|
||||
if (
|
||||
container.nodeType !== Node.ELEMENT_NODE &&
|
||||
container.nodeType !== Node.DOCUMENT_NODE
|
||||
) {
|
||||
// Get the parent element if it's a text node
|
||||
const parentElement = container.parentElement;
|
||||
if (parentElement && parentElement.hasAttribute("data-current") || container.ELEMENT_NODE.hasAttribute("data-current")) {
|
||||
if (parentElement && parentElement.hasAttribute("data-current")) {
|
||||
let text_ = selection.toString().trim();
|
||||
SetClipboard(text_);
|
||||
trace.msg.log("Copied to clipboard!");
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Get all the spans inside the container.
|
||||
const spans = container.getElementsByTagName("span");
|
||||
const spans = (container as Element).getElementsByTagName("span");
|
||||
for (let span of spans) {
|
||||
if (selection.containsNode(span, true)) {
|
||||
selectedSpans.push(span);
|
||||
selectedSpans.push(span as HTMLSpanElement);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,29 +95,22 @@ const onMouseUp = function (event) {
|
||||
}
|
||||
});
|
||||
|
||||
if (hasCorrectAttribute) {
|
||||
console.log(hasCorrectAttribute);
|
||||
}
|
||||
|
||||
text = text.trim();
|
||||
|
||||
if (hasCorrectAttribute === true) {
|
||||
if (hasCorrectAttribute) {
|
||||
SetClipboard(text);
|
||||
trace.msg.log("Copied to clipboard!");
|
||||
if (window.getSelection) {
|
||||
selection.removeAllRanges();
|
||||
}
|
||||
selection.removeAllRanges();
|
||||
}
|
||||
|
||||
}
|
||||
isSelecting = false;
|
||||
}
|
||||
};
|
||||
|
||||
const onClickHooked = function (event) {
|
||||
const onClickHooked = function (event: MouseEvent): boolean | void {
|
||||
if (!isSelecting) return;
|
||||
|
||||
const target = event.target;
|
||||
const target = event.target as HTMLElement;
|
||||
if (target.tagName.toLowerCase() === "span" && target.hasAttribute("data-current")) {
|
||||
// Prevent default behavior and stop event propagation
|
||||
event.preventDefault();
|
||||
@@ -131,8 +125,9 @@ document.addEventListener("click", onClickHooked, true);
|
||||
document.addEventListener("mousedown", onMouseDown);
|
||||
document.addEventListener("mouseup", onMouseUp);
|
||||
|
||||
export function onUnload() {
|
||||
if (styleElement && styleElement.parentNode) {
|
||||
// Add cleanup to unloads
|
||||
unloads.add(() => {
|
||||
if (styleElement.parentNode) {
|
||||
styleElement.parentNode.removeChild(styleElement);
|
||||
}
|
||||
|
||||
@@ -140,4 +135,4 @@ export function onUnload() {
|
||||
document.removeEventListener("click", onClickHooked, true);
|
||||
document.removeEventListener("mousedown", onMouseDown);
|
||||
document.removeEventListener("mouseup", onMouseUp);
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,26 @@
|
||||
# OLED Theme Luna Plugin
|
||||
|
||||
This is a port of the OLED Theme plugin from Neptune to Luna framework.
|
||||
|
||||
## Description
|
||||
|
||||
A working theme plugin that applies a dark OLED-friendly theme to Tidal Luna.
|
||||
|
||||
## Features
|
||||
|
||||
- Applies a dark, OLED-optimized theme
|
||||
- Fetches the latest theme CSS from the GitHub repository
|
||||
|
||||
## Installation
|
||||
|
||||
1. Build the plugin using `pnpm run build` in the Luna plugin root
|
||||
2. Install the generated `luna.oled-theme.mjs` file in Luna
|
||||
3. ~~Or install directly from the URL: `https://your-repository/releases/download/latest/luna.oled-theme`~~
|
||||
|
||||
## Author
|
||||
|
||||
- **itzzexcel** - [GitHub](https://github.com/ItzzExcel)
|
||||
|
||||
## Credits
|
||||
|
||||
Original Neptune version by itzzexcel. Ported to Luna framework following the Luna plugin template structure by meowarex with help from Inrixia <3
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@itzzexcel/oled-theme",
|
||||
"description": "A working theme, ong.",
|
||||
"author": {
|
||||
"name": "itzzexcel",
|
||||
"url": "https://github.com/ItzzExcel",
|
||||
"avatarUrl": "https://avatars.githubusercontent.com/u/ItzzExcel"
|
||||
},
|
||||
"main": "./src/index.ts",
|
||||
"type": "module"
|
||||
}
|
||||
@@ -0,0 +1,301 @@
|
||||
/*
|
||||
{
|
||||
"name": "Abyss Neptune",
|
||||
"author": "@itzzexcel",
|
||||
"description": "Abyss Neptune: ShadowX Theme from Spicetify to TIDAL (17/Jan/2025)"
|
||||
}
|
||||
*/
|
||||
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root {
|
||||
--wave-color-solid-accent-fill: white;
|
||||
--wave-color-solid-rainbow-yellow-fill: white;
|
||||
--wave-color-solid-contrast-fill: white;
|
||||
--wave-color-solid-base-brighter: black;
|
||||
--wave-text-body-medium: white !important;
|
||||
--track-vibrant-color: white !important;
|
||||
--wave-color-opacity-contrast-fill-ultra-thin: #fffafa1a !important;
|
||||
--wave-color-solid-rainbow-yellow-darkest: #fffafa1a !important;
|
||||
--wave-color-solid-accent-dark: rgb(128, 128, 128);
|
||||
}
|
||||
|
||||
/* Credits to https://github.com/surfbryce for the fonts */
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 400;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsRegular.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 500;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsMedium.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 600;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsSemibold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 700;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsBold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
[class^="followingButton"],
|
||||
[title="Unfollow"],
|
||||
[title="Follow"],
|
||||
[title="Unfollow"]>span,
|
||||
[title="Follow"]>span {
|
||||
background-color: var(--wave-color-solid-rainbow-yellow-fill) !important;
|
||||
color: var(--wave-color-solid-base-brighter);
|
||||
}
|
||||
|
||||
[class^="_wave-badge-color-max"] {
|
||||
color: black !important;
|
||||
background-color: var(--wave-color-solid-accent-fill);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
[data-test="main-layout-sidebar-wrapper"] {
|
||||
border-right: rgb(25, 25, 25) 1px solid;
|
||||
}
|
||||
|
||||
[class^="_wave-badge"] {
|
||||
background-color: var(--wave-color-solid-accent-fill);
|
||||
border-radius: 4px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
[class^="_progressBarWrapper"] {
|
||||
color: var(--wave-color-solid-accent-fill) !important;
|
||||
}
|
||||
|
||||
[class^="_sidebarItem"]>span {
|
||||
color: var(--wave-color-solid-accent-dark);
|
||||
}
|
||||
|
||||
[data-test="main-layout-header"] {
|
||||
border-left: 0 !important;
|
||||
}
|
||||
|
||||
[class^="_sidebarItem"]:hover span {
|
||||
color: var(--wave-color-solid-contrast-fill);
|
||||
}
|
||||
|
||||
[class^="_sidebarItem"] [class^="active"]>span {
|
||||
color: var(--wave-color-solid-accent-dark) !important;
|
||||
}
|
||||
|
||||
[class^="_active"] {
|
||||
color: var(--wave-color-solid-accent-fill) !important;
|
||||
}
|
||||
|
||||
[class^="ReactVirtualized__Grid"] {
|
||||
border-radius: 10px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
[data-test="media-table"]>div>div>div {
|
||||
border: 1px solid rgb(25, 25, 25) !important;
|
||||
}
|
||||
|
||||
[class^="ReactVirtualized__Grid__innerScrollContainer"] {
|
||||
border: none;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
[class^="button"]>span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
[class^="_explicitBadge"] {
|
||||
color: var(--wave-color-solid-accent-fill);
|
||||
}
|
||||
|
||||
[class^="viewAllButton"] {
|
||||
border-radius: 4px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
[data-test="current-media-imagery"] {
|
||||
border: 0 !important;
|
||||
margin: none;
|
||||
}
|
||||
|
||||
[class^="_imageBorder"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[class^="_headerButtons"]>button,
|
||||
[class^="_headerButtons"]>button>span,
|
||||
[data-test="toggle-picture-in-picture"] {
|
||||
background-color: var(--wave-color-solid-accent-fill) !important;
|
||||
color: black;
|
||||
}
|
||||
|
||||
[class^="_container"]>[class^="_navigationArrows"] {
|
||||
color: black;
|
||||
background-color: var(--wave-color-solid-accent-fill) !important;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
[class^="_buttons"]>button>span {
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
[class^="_container"]>button {
|
||||
border: 0px none;
|
||||
}
|
||||
|
||||
|
||||
[data-test="feed-sidebar"] {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
[data-test="footer-player"] {
|
||||
width: calc(100% - 20px);
|
||||
bottom: 10px;
|
||||
left: 10px;
|
||||
border: 1px solid rgb(25, 25, 25);
|
||||
border-radius: 4px !important;
|
||||
position: absolute !important;
|
||||
}
|
||||
|
||||
[class^="_tooltipContainer"]>button {
|
||||
background-color: var(--wave-color-solid-accent-fill);
|
||||
color: black;
|
||||
}
|
||||
|
||||
[class^="_tooltipContainer"]>button:hover {
|
||||
background-color: lightgray !important;
|
||||
}
|
||||
|
||||
[class^="_tableRow"]:hover>*,
|
||||
[data-test-is-playing="true"]>* {
|
||||
color: var(--wave-color-solid-accent-fill) !important;
|
||||
}
|
||||
|
||||
[class^="_tableRow"]>*,
|
||||
[data-test-is-playing="false"]>* {
|
||||
color: lightgray !important;
|
||||
}
|
||||
|
||||
[class*="coverColumn"] {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
[class^="actionList"] {
|
||||
background-color: transparent;
|
||||
margin: 0px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
button[data-test="request-fullscreen"],
|
||||
button[data-test="close-now-playing"],
|
||||
button[data-test="play-all"],
|
||||
button[data-test="shuffle-all"] {
|
||||
color: black;
|
||||
background-color: var(--wave-color-solid-accent-fill);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
button[data-test="request-fullscreen"]:hover,
|
||||
button[data-test="close-now-playing"]:hover {
|
||||
color: black;
|
||||
background-color: lightgray !important;
|
||||
}
|
||||
|
||||
.neptune-switch-checkbox:checked+.neptune-switch {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
[data-test="navigation-arrows"]>button {
|
||||
background-color: var(--wave-color-solid-accent-fill) !important;
|
||||
color: black !important;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
[data-test="navigation-arrows"]>button:disabled {
|
||||
background-color: lightgray !important;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-test="main-layout-header"],
|
||||
[data-test="feed-sidebar"],
|
||||
[data-test="stream-metadata"],
|
||||
[data-test="footer-player"] {
|
||||
background-color: rgba(0, 0, 0, 0.8) !important;
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin) !important;
|
||||
}
|
||||
|
||||
[data-wave-color=textUrl] {
|
||||
color: var(--wave-color-solid-accent-fill);
|
||||
}
|
||||
|
||||
[class^="_smallHeader"] {
|
||||
margin-top: 7.5px;
|
||||
}
|
||||
|
||||
[data-test="play-all"]>div>*,
|
||||
[data-test="shuffle-all"]>div>*,
|
||||
[data-test="play-all"],
|
||||
[data-test="shuffle-all"] {
|
||||
color: var(--wave-color-solid-accent-fill) !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
[class^="__NEPTUNE_PAGE"],
|
||||
[data-test="main"] {
|
||||
margin-top: 35px;
|
||||
}
|
||||
|
||||
[data-test="button-desktop-release-notes"],
|
||||
[data-test="button-release-notes"] {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
[data-test="button-desktop-release-notes"]:hover,
|
||||
[data-test="button-release-notes"]:hover {
|
||||
background-color: lightgray !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
#playQueueSidebar {
|
||||
top: 50px !important;
|
||||
border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin);
|
||||
margin: 2px;
|
||||
margin-right: -14px !important;
|
||||
background-color: rgba(0, 0, 0, 0.8) !important;
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
[class^="_bottomGradient"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
[data-test="settings-page"] {
|
||||
padding-bottom: 60px !important;
|
||||
}
|
||||
|
||||
[data-test="query-suggestions"],
|
||||
[data-test="recent-searches-container"] {
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
[data-test="contextmenu"] {
|
||||
border: 1px solid var(--wave-color-opacity-contrast-fill-ultra-thin) !important;
|
||||
}
|
||||
|
||||
[class^="_dataContainer_"]::before {
|
||||
background-image: var(--img);
|
||||
filter: blur(10px) brightness(0.4);
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
import { LunaUnload, Tracer, ftch } from "@luna/core";
|
||||
|
||||
export const { trace } = Tracer("[OLED Theme]");
|
||||
|
||||
const themeUrl = "https://raw.githubusercontent.com/ItzzExcel/neptune-projects/refs/heads/main/themes/black-neptune-theme.css";
|
||||
|
||||
// called when plugin is unloaded.
|
||||
// clean up resources
|
||||
export const unloads = new Set<LunaUnload>();
|
||||
|
||||
// Added Top-level async since Luna plugins are modules <3
|
||||
const style = await ftch.text(themeUrl).catch((error: Error) => {
|
||||
trace.msg.err(`Failed to fetch theme CSS: ${error.message}`);
|
||||
return null;
|
||||
});
|
||||
|
||||
// Apply the OLED theme if CSS was fetched successfully
|
||||
if (style) {
|
||||
const styleElement = document.createElement("style");
|
||||
styleElement.type = "text/css";
|
||||
styleElement.textContent = style;
|
||||
document.head.appendChild(styleElement);
|
||||
|
||||
// Add cleanup to unloads
|
||||
unloads.add(() => {
|
||||
if (styleElement.parentNode) {
|
||||
styleElement.parentNode.removeChild(styleElement);
|
||||
}
|
||||
});
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
declare module "*.css" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
Generated
-550
@@ -1,550 +0,0 @@
|
||||
{
|
||||
"name": "neptune-plugin-template",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "neptune-plugin-template",
|
||||
"dependencies": {
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"neptune-types": "^1.0.1",
|
||||
"wanakana": "^5.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.18.13"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/runtime": {
|
||||
"version": "7.26.9",
|
||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.9.tgz",
|
||||
"integrity": "sha512-aA63XwOkcl4xxQa3HjPMqOP6LiK0ZDv3mUPYEFXkpHbaFjtGggE1A61FjFzJnB+p7/oy2gA8E+rcBNl/zC1tMg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"regenerator-runtime": "^0.14.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-arm": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
|
||||
"integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"android"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-arm64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
|
||||
"integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"android"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"android"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/darwin-arm64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
|
||||
"integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/darwin-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/freebsd-arm64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
|
||||
"integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"freebsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/freebsd-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"freebsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-arm": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
|
||||
"integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-arm64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
|
||||
"integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-ia32": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
|
||||
"integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-loong64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
|
||||
"integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-mips64el": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
|
||||
"integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
|
||||
"cpu": [
|
||||
"mips64el"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-ppc64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
|
||||
"integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-riscv64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
|
||||
"integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-s390x": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
|
||||
"integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/netbsd-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"netbsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/openbsd-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"openbsd"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/sunos-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"sunos"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/win32-arm64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
|
||||
"integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/win32-ia32": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
|
||||
"integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/win32-x64": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
|
||||
"integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/canvas-confetti": {
|
||||
"version": "1.9.3",
|
||||
"resolved": "https://registry.npmjs.org/canvas-confetti/-/canvas-confetti-1.9.3.tgz",
|
||||
"integrity": "sha512-rFfTURMvmVEX1gyXFgn5QMn81bYk70qa0HLzcIOSVEyl57n6o9ItHeBtUSWdvKAPY0xlvBHno4/v3QPrT83q9g==",
|
||||
"license": "ISC",
|
||||
"funding": {
|
||||
"type": "donate",
|
||||
"url": "https://www.paypal.me/kirilvatev"
|
||||
}
|
||||
},
|
||||
"node_modules/esbuild": {
|
||||
"version": "0.18.20",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
|
||||
"integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"esbuild": "bin/esbuild"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@esbuild/android-arm": "0.18.20",
|
||||
"@esbuild/android-arm64": "0.18.20",
|
||||
"@esbuild/android-x64": "0.18.20",
|
||||
"@esbuild/darwin-arm64": "0.18.20",
|
||||
"@esbuild/darwin-x64": "0.18.20",
|
||||
"@esbuild/freebsd-arm64": "0.18.20",
|
||||
"@esbuild/freebsd-x64": "0.18.20",
|
||||
"@esbuild/linux-arm": "0.18.20",
|
||||
"@esbuild/linux-arm64": "0.18.20",
|
||||
"@esbuild/linux-ia32": "0.18.20",
|
||||
"@esbuild/linux-loong64": "0.18.20",
|
||||
"@esbuild/linux-mips64el": "0.18.20",
|
||||
"@esbuild/linux-ppc64": "0.18.20",
|
||||
"@esbuild/linux-riscv64": "0.18.20",
|
||||
"@esbuild/linux-s390x": "0.18.20",
|
||||
"@esbuild/linux-x64": "0.18.20",
|
||||
"@esbuild/netbsd-x64": "0.18.20",
|
||||
"@esbuild/openbsd-x64": "0.18.20",
|
||||
"@esbuild/sunos-x64": "0.18.20",
|
||||
"@esbuild/win32-arm64": "0.18.20",
|
||||
"@esbuild/win32-ia32": "0.18.20",
|
||||
"@esbuild/win32-x64": "0.18.20"
|
||||
}
|
||||
},
|
||||
"node_modules/htm": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/htm/-/htm-3.1.1.tgz",
|
||||
"integrity": "sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/idb-keyval": {
|
||||
"version": "6.2.1",
|
||||
"resolved": "https://registry.npmjs.org/idb-keyval/-/idb-keyval-6.2.1.tgz",
|
||||
"integrity": "sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/immutable": {
|
||||
"version": "5.0.0-beta.4",
|
||||
"resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.0-beta.4.tgz",
|
||||
"integrity": "sha512-sl9RE3lqd2LoQSESc8VV0k8qE9y57iT7dinq3Q+8mR2dqReHDZlgUrudzmFfZhDXBLXlNJMVWv3SG1YpQIokig==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/neptune-types": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/neptune-types/-/neptune-types-1.0.1.tgz",
|
||||
"integrity": "sha512-XDkESq/jNTH9La//peJQirzJTwJySxkc4pCjHz1RtgcmoFbYIZ72JR0mkFYNsCZ0oyI7gLgaApd405VzU1gqOw==",
|
||||
"license": "MS-PL",
|
||||
"dependencies": {
|
||||
"idb-keyval": "^6.2.1",
|
||||
"immutable": "5.0.0-beta.4",
|
||||
"redux": "^4.2.1",
|
||||
"spitroast": "^1.4.3",
|
||||
"type-fest": "^4.3.1",
|
||||
"voby": "^0.54.0",
|
||||
"zod": "^3.2.2"
|
||||
}
|
||||
},
|
||||
"node_modules/oby": {
|
||||
"version": "14.3.5",
|
||||
"resolved": "https://registry.npmjs.org/oby/-/oby-14.3.5.tgz",
|
||||
"integrity": "sha512-0RgL6n1qmxdkUgvXFnmG/J+Lv8HWjwnWmULtu/omMxRUV9KhD/8x3sL7DmanUvEOi5wX4xTbef1sKe5NzqGm7g=="
|
||||
},
|
||||
"node_modules/redux": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
|
||||
"integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.2"
|
||||
}
|
||||
},
|
||||
"node_modules/regenerator-runtime": {
|
||||
"version": "0.14.1",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
|
||||
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/spitroast": {
|
||||
"version": "1.4.4",
|
||||
"resolved": "https://registry.npmjs.org/spitroast/-/spitroast-1.4.4.tgz",
|
||||
"integrity": "sha512-S69rzIFjbGoEW5YCLpm1kEdqMEYqC09lmE1ZMY4gyUXfke0wi9qZjKYa0DDSv5eIy/D+/UGJT8yxgJddU3oqlA==",
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
"node_modules/type-fest": {
|
||||
"version": "4.34.1",
|
||||
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.34.1.tgz",
|
||||
"integrity": "sha512-6kSc32kT0rbwxD6QL1CYe8IqdzN/J/ILMrNK+HMQCKH3insCDRY/3ITb0vcBss0a3t72fzh2YSzj8ko1HgwT3g==",
|
||||
"license": "(MIT OR CC0-1.0)",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/voby": {
|
||||
"version": "0.54.0",
|
||||
"resolved": "https://registry.npmjs.org/voby/-/voby-0.54.0.tgz",
|
||||
"integrity": "sha512-hH8LXcP0QR4J6nnzfSWGD13onq7hqdc/ya1r1Bb+TxibtECYKZRO1m4HdSU4RcE7MdAaQwR5pwgd+hqXCqk2OA==",
|
||||
"dependencies": {
|
||||
"htm": "^3.1.1",
|
||||
"oby": "^14.3.0"
|
||||
}
|
||||
},
|
||||
"node_modules/wanakana": {
|
||||
"version": "5.3.1",
|
||||
"resolved": "https://registry.npmjs.org/wanakana/-/wanakana-5.3.1.tgz",
|
||||
"integrity": "sha512-OSDqupzTlzl2LGyqTdhcXcl6ezMiFhcUwLBP8YKaBIbMYW1wAwDvupw2T9G9oVaKT9RmaSpyTXjxddFPUcFFIw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
}
|
||||
},
|
||||
"node_modules/zod": {
|
||||
"version": "3.24.2",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz",
|
||||
"integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/colinhacks"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"name": "neptune-plugin-template",
|
||||
"description": "A neptune plugin monorepo template",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "node ./build.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.18.13"
|
||||
},
|
||||
"dependencies": {
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"neptune-types": "^1.0.1",
|
||||
"wanakana": "^5.3.1"
|
||||
}
|
||||
}
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
var E=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var O=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>{for(var r in e)E(t,r,{get:e[r],enumerable:!0})},_=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of L(e))!A.call(t,o)&&o!==r&&E(t,o,{get:()=>e[o],enumerable:!(i=v(e,o))||i.enumerable});return t};var k=t=>_(E({},"__esModule",{value:!0}),t);var y={};R(y,{Tracer:()=>m,libTrace:()=>D});import{actions as h}from"@neptune";var m,D,C=O(()=>{"use strict";m=t=>{let e=s=>{let n=(...c)=>{s(t,...c)};return n.withContext=c=>(...u)=>{s(t,c,...u)},n},r=e(console.log),i=e(console.warn),o=e(console.error),f=e(console.debug),a=(s,n,c)=>{let u=d=>{s(d),n({message:`${t} - ${d}`,category:"OTHER",severity:c})};return u.withContext=d=>{let S=s.withContext(d);return l=>{S(l),l instanceof Error&&(l=l.message),n({message:`${t}.${d} - ${l}`,category:"OTHER",severity:c})}},u};return{log:r,warn:i,err:o,debug:f,msg:{log:a(r,h.message.messageInfo,"INFO"),warn:a(i,h.message.messageWarn,"WARN"),err:a(o,h.message.messageError,"ERROR")}}},D=m("[lib]")});C();C();var x=m("[Copy Lyrics]"),M=`
|
||||
[class^="_lyricsText"]>div>span {
|
||||
user-select: text;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: rgb(0, 0, 0);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
`;function $(t){let e=document.createElement("style");return e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),document.head.appendChild(e),e}function b(t){let e=document.createElement("textarea");e.value=t,e.style.position="fixed",document.body.appendChild(e),e.select();try{if(!document.execCommand("copy"))throw new Error("Failed to copy text.")}catch(r){x.msg.err(r)}finally{document.body.removeChild(e)}}var g=$(M),p=!1,w=function(){p=!0},N=function(t){if(p){let e=window.getSelection();if(e.toString().length>0){let r=[],o=e.getRangeAt(0).commonAncestorContainer;if(o.nodeType!==Node.ELEMENT_NODE&&o.nodeType!==Node.DOCUMENT_NODE){let n=o.parentElement;if(n&&n.hasAttribute("data-current")||o.ELEMENT_NODE.hasAttribute("data-current")){let c=e.toString().trim();b(c),x.msg.log("Copied to clipboard!");return}}let f=o.getElementsByTagName("span");for(let n of f)e.containsNode(n,!0)&&r.push(n);let a=!1,s="";r.forEach(n=>{n.hasAttribute("data-current")&&(a=!0,s+=n.textContent+`
|
||||
`,[...n.classList].some(c=>c.startsWith("endOfStanza--"))&&(s+=`
|
||||
`))}),a&&console.log(a),s=s.trim(),a===!0&&(b(s),x.msg.log("Copied to clipboard!"),window.getSelection&&e.removeAllRanges())}p=!1}},T=function(t){if(!p)return;let e=t.target;if(e.tagName.toLowerCase()==="span"&&e.hasAttribute("data-current"))return t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),!1};document.addEventListener("click",T,!0);document.addEventListener("mousedown",w);document.addEventListener("mouseup",N);function U(){g&&g.parentNode&&g.parentNode.removeChild(g),document.removeEventListener("click",T,!0),document.removeEventListener("mousedown",w),document.removeEventListener("mouseup",N)}export{U as onUnload};
|
||||
@@ -1 +0,0 @@
|
||||
{"name":"Copy Lyrics","description":"A working neptune plugin that allows the user to copy the lyrics of a song selecting it.","author":"itzzexcel@github","hash":"e9cb09fb13455726d61951a9de2571f8","metafile":{"inputs":{"plugins/copy-lyrics/src/tracer.js":{"bytes":1596,"imports":[{"path":"@neptune","kind":"import-statement","external":true}],"format":"esm"},"plugins/copy-lyrics/src/index.js":{"bytes":4702,"imports":[{"path":"plugins/copy-lyrics/src/tracer.js","kind":"import-statement","original":"./tracer"},{"path":"plugins/copy-lyrics/src/tracer.js","kind":"require-call","original":"./tracer"}],"format":"esm"}},"outputs":{"plugins/copy-lyrics/dist/index.js":{"imports":[{"path":"@neptune","kind":"import-statement","external":true}],"exports":["onUnload"],"entryPoint":"plugins/copy-lyrics/src/index.js","inputs":{"plugins/copy-lyrics/src/tracer.js":{"bytesInOutput":693},"plugins/copy-lyrics/src/index.js":{"bytesInOutput":1915}},"bytes":3078}}}}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"canvas-confetti": "^1.6.0",
|
||||
"neptune-types": "1.0.1"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "Copy Lyrics",
|
||||
"description": "A working neptune plugin that allows the user to copy the lyrics of a song selecting it.",
|
||||
"author": "itzzexcel@github",
|
||||
"main": "./src/index.js"
|
||||
}
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
lockfileVersion: '6.1'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
dependencies:
|
||||
canvas-confetti:
|
||||
specifier: ^1.6.0
|
||||
version: 1.6.0
|
||||
|
||||
packages:
|
||||
|
||||
/canvas-confetti@1.6.0:
|
||||
resolution: {integrity: sha512-ej+w/m8Jzpv9Z7W7uJZer14Ke8P2ogsjg4ZMGIuq4iqUOqY2Jq8BNW42iGmNfRwREaaEfFIczLuZZiEVSYNHAA==}
|
||||
dev: false
|
||||
@@ -1,55 +0,0 @@
|
||||
// Based on https://github.com/Inrixia/neptune-plugins/blob/3d28c9ea3252782da830698032dbb49dbe5b9fd6/plugins/_lib/trace.ts
|
||||
// Credits to inrixia
|
||||
|
||||
import { actions } from "@neptune";
|
||||
|
||||
export const Tracer = (source) => {
|
||||
const createLogger = (logger) => {
|
||||
const _logger = (...data) => {
|
||||
logger(source, ...data);
|
||||
return undefined;
|
||||
};
|
||||
_logger.withContext = (context) => (...data) => {
|
||||
logger(source, context, ...data);
|
||||
return undefined;
|
||||
};
|
||||
return _logger;
|
||||
};
|
||||
|
||||
const log = createLogger(console.log);
|
||||
const warn = createLogger(console.warn);
|
||||
const err = createLogger(console.error);
|
||||
const debug = createLogger(console.debug);
|
||||
|
||||
const createMessager = (logger, messager, severity) => {
|
||||
const _messager = (message) => {
|
||||
logger(message);
|
||||
messager({ message: `${source} - ${message}`, category: "OTHER", severity });
|
||||
return undefined;
|
||||
};
|
||||
_messager.withContext = (context) => {
|
||||
const loggerWithContext = logger.withContext(context);
|
||||
return (message) => {
|
||||
loggerWithContext(message);
|
||||
if (message instanceof Error) message = message.message;
|
||||
messager({ message: `${source}.${context} - ${message}`, category: "OTHER", severity });
|
||||
return undefined;
|
||||
};
|
||||
};
|
||||
return _messager;
|
||||
};
|
||||
|
||||
return {
|
||||
log,
|
||||
warn,
|
||||
err,
|
||||
debug,
|
||||
msg: {
|
||||
log: createMessager(log, actions.message.messageInfo, "INFO"),
|
||||
warn: createMessager(warn, actions.message.messageWarn, "WARN"),
|
||||
err: createMessager(err, actions.message.messageError, "ERROR"),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export const libTrace = Tracer("[lib]");
|
||||
@@ -1,36 +0,0 @@
|
||||
var C=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var O=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>{for(var n in e)C(t,n,{get:e[n],enumerable:!0})},q=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of R(e))!B.call(t,s)&&s!==n&&C(t,s,{get:()=>e[s],enumerable:!(a=k(e,s))||a.enumerable});return t};var L=t=>q(C({},"__esModule",{value:!0}),t);var x={};P(x,{Tracer:()=>g,libTrace:()=>D});import{actions as b}from"@neptune";var g,D,E=O(()=>{"use strict";g=t=>{let e=i=>{let m=(...c)=>{i(t,...c)};return m.withContext=c=>(...f)=>{i(t,c,...f)},m},n=e(console.log),a=e(console.warn),s=e(console.error),r=e(console.debug),o=(i,m,c)=>{let f=u=>{i(u),m({message:`${t} - ${u}`,category:"OTHER",severity:c})};return f.withContext=u=>{let A=i.withContext(u);return d=>{A(d),d instanceof Error&&(d=d.message),m({message:`${t}.${u} - ${d}`,category:"OTHER",severity:c})}},f};return{log:n,warn:a,err:s,debug:r,msg:{log:o(n,b.message.messageInfo,"INFO"),warn:o(a,b.message.messageWarn,"WARN"),err:o(s,b.message.messageError,"ERROR")}}},D=g("[lib]")});E();var T=[];function w(t,e,n=1){setTimeout(()=>{let a=document.querySelector('[class*="_moreContainer"'),s=document.createElement("button");s.style.width="40px",s.style.border="none",s.classList.add("xcl_customButton");let r=document.createElement("img");r.src=e,r.style.width="100%",r.style.height="100%",s.onclick=t,s.appendChild(r);let o=Array.from(a.children);return n<=o.length?a.insertBefore(s,o[n-1]):a.appendChild(s),T.push(s),s},1e3)}function S(){Array.from(T).forEach(t=>{t.remove()}),Array.from(document.getElementsByClassName("xcl_customButton")).forEach(t=>{t.remove()})}import{intercept as U}from"@neptune";E();var $=g("[Clean View]"),F=`
|
||||
[data-test="footer-player"], [class*="tabItems"] {
|
||||
opacity: 0 !important;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
[class*="_imageContainer"] {
|
||||
margin-top: 140px;
|
||||
}
|
||||
|
||||
[data-test="footer-player"]:hover, [class*="_tabItems"]:hover {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
[data-test="header-container"] {
|
||||
opacity: 0;
|
||||
margin: -40px;
|
||||
}
|
||||
|
||||
[class*="_nowPlayingContainer"] {
|
||||
padding-left: 6%;
|
||||
}
|
||||
|
||||
[class^="_bar"] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
[class^="_bar"]>* {
|
||||
opacity: 0;
|
||||
}
|
||||
`;function _(t){let e=document.createElement("style");return e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),document.head.appendChild(e),e}async function H(t){try{let e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);return await e.text()}catch(e){return $.msg.err(`Failed to fetch URL: ${e.message}`),null}}var v=!1,l,Z=w(()=>{v?l&&l.remove():l=_(F),v=!v},"https://lexploits.top/favicon.ico",2),z="https://raw.githubusercontent.com/itzzexcel/neptune-projects/refs/heads/main/plugins/plugins/not-actual-fullscreen/src/separated-lyrics.css",I,p;(async()=>(I=await H(z),p=_(I)))();function h(){let t=document.querySelector('[class^="_trackTitleContainer"]');t&&t.addEventListener("DOMSubtreeModified",()=>{setTimeout(()=>{y()},300)})}var y=function(t=0){t===1&&setTimeout(()=>{y()},2e3);let e=document.querySelector('figure[class*="_albumImage"] > div > div > div > img'),n;e?(n=e.src,n=n.replace(/\d+x\d+/,"1280x1280"),e.src=n):(e=document.querySelector('figure[class*="_albumImage"] > div > div > div > video'))?(n=e.getAttribute("poster"),n=n.replace(/\d+x\d+/,"1280x1280"),e.src=n):(N(),console.log("Couldn't get album art"));let a=document.querySelector('[class*="_nowPlayingContainer"]');if(a&&n){a.querySelectorAll(".corner-image").forEach(i=>i.remove());let r=document.createElement("img");r.src=n,r.className="corner-image",r.style.position="absolute",r.style.left="50%",r.style.top="50%",r.style.transform="translate(-50%, -50%)",r.style.width="75vw",r.style.height="150vh",r.style.objectFit="cover",r.style.zIndex="-1",r.style.filter="blur(100px) brightness(0.4) contrast(1.2) saturate(1)",r.style.animation="spin 35s linear infinite",r.style.animationDelay="5s",a.appendChild(r);let o=document.createElement("img");if(o.src=n,o.className="corner-image",o.style.position="absolute",o.style.left="50%",o.style.top="50%",o.style.transform="translate(-50%, -50%)",o.style.width="75vw",o.style.height="150vh",o.style.objectFit="cover",o.style.zIndex="-1",o.style.filter="blur(100px) brightness(0.4) contrast(1.2) saturate(1)",o.style.animation="spin 35s linear infinite",a.appendChild(o),!document.querySelector("#spinAnimation")){let i=document.createElement("style");i.id="spinAnimation",i.textContent=`
|
||||
@keyframes spin {
|
||||
from { transform: translate(-50%, -50%) rotate(0deg); }
|
||||
to { transform: translate(-50%, -50%) rotate(360deg); }
|
||||
}
|
||||
`,document.head.appendChild(i)}}},N=function(){[...document.getElementsByClassName("corner-image")].forEach(t=>{t.remove()})},j=["playbackControls/PREFILL_MEDIA_PRODUCT_TRANSITION","playbackControls/MEDIA_PRODUCT_TRANSITION"],V=j.map(t=>U(t,()=>{y(1)}));h();h();h();h();y(1);function W(){p&&p.parentNode&&p.parentNode.removeChild(p),l&&l.parentNode&&l.parentNode.removeChild(l)}function ee(){W(),S(),V.forEach(e=>e()),N();let t=document.querySelector('div[class^="_trackTitleContainer"]');t&&t.removeEventListener("DOMSubtreeModified",y)}export{ee as onUnload};
|
||||
@@ -1 +0,0 @@
|
||||
{"name":"Clean View","description":"Make your \"Now Playing View\" clean wherever you want, heavily based in beautiful-lyrics from @surfbryce!.","author":"itzzexcel@github","hash":"c93ec09d958c8db4f4e7019a63f35476","metafile":{"inputs":{"plugins/not-actual-fullscreen/src/tracer.js":{"bytes":1596,"imports":[{"path":"@neptune","kind":"import-statement","external":true}],"format":"esm"},"plugins/not-actual-fullscreen/src/ui.js":{"bytes":1267,"imports":[],"format":"esm"},"plugins/not-actual-fullscreen/src/index.js":{"bytes":7427,"imports":[{"path":"plugins/not-actual-fullscreen/src/tracer.js","kind":"import-statement","original":"./tracer"},{"path":"plugins/not-actual-fullscreen/src/ui.js","kind":"import-statement","original":"./ui"},{"path":"@neptune","kind":"import-statement","external":true},{"path":"plugins/not-actual-fullscreen/src/tracer.js","kind":"require-call","original":"./tracer"}],"format":"esm"}},"outputs":{"plugins/not-actual-fullscreen/dist/index.js":{"imports":[{"path":"@neptune","kind":"import-statement","external":true},{"path":"@neptune","kind":"import-statement","external":true}],"exports":["onUnload"],"entryPoint":"plugins/not-actual-fullscreen/src/index.js","inputs":{"plugins/not-actual-fullscreen/src/tracer.js":{"bytesInOutput":693},"plugins/not-actual-fullscreen/src/index.js":{"bytesInOutput":3610},"plugins/not-actual-fullscreen/src/ui.js":{"bytesInOutput":581}},"bytes":5355}}}}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"canvas-confetti": "^1.6.0",
|
||||
"neptune-types": "1.0.1"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "Clean View",
|
||||
"description": "Make your \"Now Playing View\" clean wherever you want, heavily based in beautiful-lyrics from @surfbryce!.",
|
||||
"author": "itzzexcel@github",
|
||||
"main": "./src/index.js"
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
lockfileVersion: '6.1'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
dependencies:
|
||||
canvas-confetti:
|
||||
specifier: ^1.6.0
|
||||
version: 1.6.0
|
||||
|
||||
packages:
|
||||
|
||||
/canvas-confetti@1.6.0:
|
||||
resolution: {integrity: sha512-ej+w/m8Jzpv9Z7W7uJZer14Ke8P2ogsjg4ZMGIuq4iqUOqY2Jq8BNW42iGmNfRwREaaEfFIczLuZZiEVSYNHAA==}
|
||||
dev: false
|
||||
@@ -1,97 +0,0 @@
|
||||
/* TODO: ADD INTERLUDE SUPPORT FOR THE THREE DOTS */
|
||||
/* Credits to https://github.com/surfbryce for the fonts */
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 400;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsRegular.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 500;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsMedium.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 600;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsSemibold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "AbyssFont";
|
||||
font-weight: 700;
|
||||
src: url("https://excel.lexploits.top/extra/tidal/LyricsBold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
[class*="_lyricsText"]>span[class*="_active"] {
|
||||
text-shadow: 0 0 2px #fff, 0 0 20px #fff;
|
||||
padding-left: 20px;
|
||||
transition-duration: 0.7s;
|
||||
font-size: 60px;
|
||||
}
|
||||
|
||||
[class*="_lyricsText"]>span {
|
||||
text-shadow: 0 0 0px transparent, 0 0 0px transparent;
|
||||
transition-duration: 0.25s;
|
||||
color: rgba(128, 128, 128, 0.4);
|
||||
font-size: 45px;
|
||||
}
|
||||
|
||||
[class*="_lyricsText"]>span:hover {
|
||||
text-shadow: 0 0 2px lightgray, 0 0 20px lightgray;
|
||||
color: lightgray;
|
||||
padding-left: 20px;
|
||||
transition-duration: 0.7s;
|
||||
}
|
||||
|
||||
[data-test="now-playing-track-title"] {
|
||||
text-shadow: 0 0 1px #fff, 0 0 30px #fff;
|
||||
}
|
||||
|
||||
[class^="_bottomGradient"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
[aria-label="Show credits"] {
|
||||
top: calc(var(--headerHeight) + 80px);
|
||||
}
|
||||
|
||||
[data-current] {
|
||||
transition: text-shadow 0.7s ease-in-out, text-shadow 0.7s ease-in-out padding 0.7s ease-in-out;
|
||||
}
|
||||
|
||||
[data-current="true"] {
|
||||
text-shadow: 0 0 2px #fff, 0 0 20px #fff;
|
||||
padding-left: 20px;
|
||||
transition-duration: 0.7s;
|
||||
}
|
||||
|
||||
[data-current="false"] {
|
||||
text-shadow: 0 0 0px transparent, 0 0 0px transparent;
|
||||
transition-duration: 0.25s;
|
||||
color: rgba(128, 128, 128, 0.4);
|
||||
}
|
||||
|
||||
[data-current="false"]:hover {
|
||||
text-shadow: 0 0 2px lightgray, 0 0 20px lightgray;
|
||||
color: lightgray;
|
||||
padding-left: 20px;
|
||||
transition-duration: 0.7s;
|
||||
}
|
||||
|
||||
[class^="_lyricsContainer"]>div>div>span {
|
||||
margin-bottom: 2rem;
|
||||
opacity: 1;
|
||||
font-family: "AbyssFont", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 43px !important;
|
||||
}
|
||||
|
||||
[class^="_lyricsProvider"] {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
[class^="_syncButton"] {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
// Based on https://github.com/Inrixia/neptune-plugins/blob/3d28c9ea3252782da830698032dbb49dbe5b9fd6/plugins/_lib/trace.ts
|
||||
// Credits to inrixia
|
||||
|
||||
import { actions } from "@neptune";
|
||||
|
||||
export const Tracer = (source) => {
|
||||
const createLogger = (logger) => {
|
||||
const _logger = (...data) => {
|
||||
logger(source, ...data);
|
||||
return undefined;
|
||||
};
|
||||
_logger.withContext = (context) => (...data) => {
|
||||
logger(source, context, ...data);
|
||||
return undefined;
|
||||
};
|
||||
return _logger;
|
||||
};
|
||||
|
||||
const log = createLogger(console.log);
|
||||
const warn = createLogger(console.warn);
|
||||
const err = createLogger(console.error);
|
||||
const debug = createLogger(console.debug);
|
||||
|
||||
const createMessager = (logger, messager, severity) => {
|
||||
const _messager = (message) => {
|
||||
logger(message);
|
||||
messager({ message: `${source} - ${message}`, category: "OTHER", severity });
|
||||
return undefined;
|
||||
};
|
||||
_messager.withContext = (context) => {
|
||||
const loggerWithContext = logger.withContext(context);
|
||||
return (message) => {
|
||||
loggerWithContext(message);
|
||||
if (message instanceof Error) message = message.message;
|
||||
messager({ message: `${source}.${context} - ${message}`, category: "OTHER", severity });
|
||||
return undefined;
|
||||
};
|
||||
};
|
||||
return _messager;
|
||||
};
|
||||
|
||||
return {
|
||||
log,
|
||||
warn,
|
||||
err,
|
||||
debug,
|
||||
msg: {
|
||||
log: createMessager(log, actions.message.messageInfo, "INFO"),
|
||||
warn: createMessager(warn, actions.message.messageWarn, "WARN"),
|
||||
err: createMessager(err, actions.message.messageError, "ERROR"),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export const libTrace = Tracer("[lib]");
|
||||
@@ -1,40 +0,0 @@
|
||||
var buttonElementList = [];
|
||||
|
||||
export function NewPlayerButton(callback, icon, customIndex = 1) {
|
||||
setTimeout(() => {
|
||||
let iconHolder = document.querySelector("[class*=\"_moreContainer\"");
|
||||
|
||||
let button = document.createElement("button");
|
||||
button.style.width = "40px";
|
||||
button.style.border = "none";
|
||||
button.classList.add("xcl_customButton");
|
||||
|
||||
let buttonIcon = document.createElement("img");
|
||||
buttonIcon.src = icon;
|
||||
buttonIcon.style.width = "100%";
|
||||
buttonIcon.style.height = "100%";
|
||||
button.onclick = callback;
|
||||
|
||||
button.appendChild(buttonIcon);
|
||||
|
||||
const children = Array.from(iconHolder.children);
|
||||
if (customIndex <= children.length) {
|
||||
iconHolder.insertBefore(button, children[customIndex - 1]);
|
||||
} else {
|
||||
iconHolder.appendChild(button);
|
||||
}
|
||||
|
||||
buttonElementList.push(button);
|
||||
return button;
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
export function CleanupButtons() {
|
||||
Array.from(buttonElementList).forEach(element => {
|
||||
element.remove();
|
||||
});
|
||||
|
||||
Array.from(document.getElementsByClassName("xcl_customButton")).forEach(element => {
|
||||
element.remove();
|
||||
});
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
var f=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var b=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>{for(var n in e)f(t,n,{get:e[n],enumerable:!0})},$=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of x(e))!S.call(t,r)&&r!==n&&f(t,r,{get:()=>e[r],enumerable:!(s=C(e,r))||s.enumerable});return t};var O=t=>$(f({},"__esModule",{value:!0}),t);var E={};R(E,{Tracer:()=>m,libTrace:()=>k});import{actions as h}from"@neptune";var m,k,g=b(()=>{"use strict";m=t=>{let e=c=>{let a=(...o)=>{c(t,...o)};return a.withContext=o=>(...d)=>{c(t,o,...d)},a},n=e(console.log),s=e(console.warn),r=e(console.error),w=e(console.debug),p=(c,a,o)=>{let d=i=>{c(i),a({message:`${t} - ${i}`,category:"OTHER",severity:o})};return d.withContext=i=>{let y=c.withContext(i);return l=>{y(l),l instanceof Error&&(l=l.message),a({message:`${t}.${i} - ${l}`,category:"OTHER",severity:o})}},d};return{log:n,warn:s,err:r,debug:w,msg:{log:p(n,h.message.messageInfo,"INFO"),warn:p(s,h.message.messageWarn,"WARN"),err:p(r,h.message.messageError,"ERROR")}}},k=m("[lib]")});g();import"@neptune";g();var N=m("[OLED Theme]"),H="https://raw.githubusercontent.com/ItzzExcel/neptune-projects/refs/heads/main/themes/black-neptune-theme.css",T,u;function L(t){let e=document.createElement("style");return e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),document.head.appendChild(e),e}function U(){u&&u.parentNode&&u.parentNode.removeChild(u)}async function v(t){try{let e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);return await e.text()}catch(e){return N.msg.err(`Failed to fetch URL: ${e.message}`),null}}(async()=>(T=await v(H),u=L(T)))();function F(){U();let t=document.querySelector('div[class^="trackTitleContainer"]');t&&t.removeEventListener("DOMSubtreeModified",onTrackChanged)}export{F as onUnload};
|
||||
@@ -1 +0,0 @@
|
||||
{"name":"Dark Abyss (OLED Theme)","description":"A working theme, ong.","author":"itzzexcel@github","hash":"6861f72cdfb2fdbd665f9d29c8fd52d9","metafile":{"inputs":{"plugins/oled-theme/src/tracer.js":{"bytes":1596,"imports":[{"path":"@neptune","kind":"import-statement","external":true}],"format":"esm"},"plugins/oled-theme/src/index.js":{"bytes":6921,"imports":[{"path":"plugins/oled-theme/src/tracer.js","kind":"import-statement","original":"./tracer"},{"path":"@neptune","kind":"import-statement","external":true},{"path":"plugins/oled-theme/src/tracer.js","kind":"require-call","original":"./tracer"}],"format":"esm"}},"outputs":{"plugins/oled-theme/dist/index.js":{"imports":[{"path":"@neptune","kind":"import-statement","external":true},{"path":"@neptune","kind":"import-statement","external":true}],"exports":["onUnload"],"entryPoint":"plugins/oled-theme/src/index.js","inputs":{"plugins/oled-theme/src/tracer.js":{"bytesInOutput":693},"plugins/oled-theme/src/index.js":{"bytesInOutput":785}},"bytes":1948}}}}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"canvas-confetti": "^1.6.0",
|
||||
"neptune-types": "1.0.1"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "Dark Abyss (OLED Theme)",
|
||||
"description": "A working theme, ong.",
|
||||
"author": "itzzexcel@github",
|
||||
"main": "./src/index.js"
|
||||
}
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
lockfileVersion: '6.1'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
dependencies:
|
||||
canvas-confetti:
|
||||
specifier: ^1.6.0
|
||||
version: 1.6.0
|
||||
|
||||
packages:
|
||||
|
||||
/canvas-confetti@1.6.0:
|
||||
resolution: {integrity: sha512-ej+w/m8Jzpv9Z7W7uJZer14Ke8P2ogsjg4ZMGIuq4iqUOqY2Jq8BNW42iGmNfRwREaaEfFIczLuZZiEVSYNHAA==}
|
||||
dev: false
|
||||
@@ -1,189 +0,0 @@
|
||||
require("./tracer")
|
||||
import { Tracer } from "./tracer";
|
||||
import { intercept, store, utils } from "@neptune"
|
||||
|
||||
const trace = Tracer("[OLED Theme]");
|
||||
const themeUrl = "https://raw.githubusercontent.com/ItzzExcel/neptune-projects/refs/heads/main/themes/black-neptune-theme.css";
|
||||
|
||||
let style;
|
||||
let styleElement;
|
||||
|
||||
// function observeTrackTitle() {
|
||||
// const trackTitleElement = document.querySelector('[class^="trackTitleContainer"]');
|
||||
// if (trackTitleElement) {
|
||||
// trackTitleElement.addEventListener('DOMSubtreeModified', () => {
|
||||
// setTimeout(() => {
|
||||
// // console.log("Track changed: " + trackTitleElement.querySelector("span").innerHTML + "\n")
|
||||
// onTrackChanged();
|
||||
// }, 300);
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
|
||||
function ApplyCSS(style) {
|
||||
const styleElement = document.createElement("style");
|
||||
styleElement.type = "text/css";
|
||||
if (styleElement.styleSheet) styleElement.styleSheet.cssText = style;
|
||||
else styleElement.appendChild(document.createTextNode(style));
|
||||
|
||||
document.head.appendChild(styleElement);
|
||||
return styleElement;
|
||||
}
|
||||
|
||||
function CleanUpCSS() {
|
||||
if (styleElement && styleElement.parentNode) {
|
||||
styleElement.parentNode.removeChild(styleElement);
|
||||
}
|
||||
}
|
||||
|
||||
async function HttpGet(url) {
|
||||
try {
|
||||
const response = await fetch(url);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
const content = await response.text();
|
||||
return content;
|
||||
} catch (error) {
|
||||
trace.msg.err(`Failed to fetch URL: ${error.message}`);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Since HttpGet is async, we need to await its result
|
||||
(async () => {
|
||||
style = await HttpGet(themeUrl);
|
||||
styleElement = ApplyCSS(style);
|
||||
})();
|
||||
|
||||
// const onTrackChanged = function (method = 0) {
|
||||
// // Tu amor tan liminal, tu amor tan liminal
|
||||
// // - Ghouljaboy, 2021
|
||||
|
||||
// if (method === 1) {
|
||||
// setTimeout(() => {
|
||||
// onTrackChanged();
|
||||
// return;
|
||||
// }, 2000);
|
||||
// }
|
||||
|
||||
// let albumImageElement = document.querySelector('figure[class*="albumImage"] > div > div > div > img');
|
||||
// let albumImageSrc;
|
||||
|
||||
// if (albumImageElement) {
|
||||
// albumImageSrc = albumImageElement.src;
|
||||
|
||||
// // Set res to 1280x1280
|
||||
// albumImageSrc = albumImageSrc.replace(/\d+x\d+/, '1280x1280');
|
||||
// albumImageElement.src = albumImageSrc;
|
||||
// }
|
||||
|
||||
// // Setting background to the *="nowPlayingContainer" element
|
||||
// let nowPlayingContainerElement = document.querySelector('[class*="nowPlayingContainer"]');
|
||||
// if (nowPlayingContainerElement && albumImageSrc) {
|
||||
// // Remove existing corner images if they exist
|
||||
// const existingImages = nowPlayingContainerElement.querySelectorAll('.corner-image');
|
||||
// existingImages.forEach(img => img.remove());
|
||||
|
||||
// // Create and append center image
|
||||
// const centerImg = document.createElement('img');
|
||||
// centerImg.src = albumImageSrc;
|
||||
// centerImg.className = 'corner-image';
|
||||
// centerImg.style.position = 'absolute';
|
||||
// centerImg.style.left = '50%';
|
||||
// centerImg.style.top = '50%';
|
||||
// centerImg.style.transform = 'translate(-50%, -50%)';
|
||||
// centerImg.style.width = '75vw';
|
||||
// centerImg.style.height = '150vh';
|
||||
// centerImg.style.objectFit = 'cover';
|
||||
// centerImg.style.zIndex = '-1';
|
||||
// centerImg.style.filter = 'blur(100px) brightness(0.6) contrast(1.2) saturate(1)';
|
||||
// centerImg.style.animation = 'spin 35s linear infinite';
|
||||
// nowPlayingContainerElement.appendChild(centerImg);
|
||||
|
||||
// const centerImg2 = document.createElement('img');
|
||||
// centerImg2.src = albumImageSrc;
|
||||
// centerImg2.className = 'corner-image';
|
||||
// centerImg2.style.position = 'absolute';
|
||||
// centerImg2.style.left = '50%';
|
||||
// centerImg2.style.top = '50%';
|
||||
// centerImg2.style.transform = 'translate(-50%, -50%)';
|
||||
// centerImg2.style.width = '75vw';
|
||||
// centerImg2.style.height = '150vh';
|
||||
// centerImg2.style.objectFit = 'cover';
|
||||
// centerImg2.style.zIndex = '-1';
|
||||
// centerImg2.style.filter = 'blur(100px) brightness(0.6) contrast(1.2) saturate(1)';
|
||||
// centerImg2.style.animation = 'spin 35s linear infinite';
|
||||
// nowPlayingContainerElement.appendChild(centerImg2);
|
||||
|
||||
// // Add keyframe animation if it doesn't exist
|
||||
// if (!document.querySelector('#spinAnimation')) {
|
||||
// const styleSheet = document.createElement('style');
|
||||
// styleSheet.id = 'spinAnimation';
|
||||
// styleSheet.textContent = `
|
||||
// @keyframes spin {
|
||||
// from { transform: translate(-50%, -50%) rotate(0deg); }
|
||||
// to { transform: translate(-50%, -50%) rotate(360deg); }
|
||||
// }
|
||||
// `;
|
||||
// document.head.appendChild(styleSheet);
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
|
||||
// const spinElement = function(elementToSpin) {
|
||||
// elementToSpin.style.animation = "spin 35s linear infinite";
|
||||
// };
|
||||
|
||||
// const resumeSpinAnimation = function(elementToResume) {
|
||||
// elementToResume.style.animationPlayState = "running";
|
||||
// };
|
||||
|
||||
// const pauseSpinAnimation = function(elementToPause) {
|
||||
// elementToPause.style.animationPlayState = "paused";
|
||||
// };
|
||||
|
||||
// const cleanUpDynamicArt = function () {
|
||||
// [...document.getElementsByClassName("corner-image")].forEach((element) => {
|
||||
// element.remove();
|
||||
// });
|
||||
// };
|
||||
|
||||
// const onTrackPaused = function ([track]) {
|
||||
// [...document.getElementsByClassName("corner-image")].forEach((element) => {
|
||||
// element.style.animation = "spin 50s linear infinite";
|
||||
// });
|
||||
// }
|
||||
|
||||
// const onTrackResumed = function ([track]) {
|
||||
// [...document.getElementsByClassName("corner-image")].forEach((element) => {
|
||||
// element.style.animation = "spin 20s linear infinite";
|
||||
// });
|
||||
// }
|
||||
// const PLAYBACK_EVENTS = [
|
||||
// "playbackControls/PREFILL_MEDIA_PRODUCT_TRANSITION",
|
||||
// "playbackControls/MEDIA_PRODUCT_TRANSITION"
|
||||
// ];
|
||||
|
||||
// observeTrackTitle();
|
||||
// observeTrackTitle();
|
||||
// observeTrackTitle();
|
||||
// observeTrackTitle();
|
||||
|
||||
// const unsubscribeFunctions = PLAYBACK_EVENTS.map(event =>
|
||||
// intercept(event, () => {
|
||||
// onTrackChanged(1);
|
||||
// })
|
||||
// );
|
||||
|
||||
|
||||
export function onUnload() {
|
||||
CleanUpCSS();
|
||||
// unsubscribeFunctions.forEach(unsubscribe => unsubscribe());
|
||||
// cleanUpDynamicArt();
|
||||
|
||||
const trackTitleElement = document.querySelector('div[class^="trackTitleContainer"]');
|
||||
if (trackTitleElement) {
|
||||
trackTitleElement.removeEventListener('DOMSubtreeModified', onTrackChanged);
|
||||
}
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
// Based on https://github.com/Inrixia/neptune-plugins/blob/3d28c9ea3252782da830698032dbb49dbe5b9fd6/plugins/_lib/trace.ts
|
||||
// Credits to inrixia
|
||||
|
||||
import { actions } from "@neptune";
|
||||
|
||||
export const Tracer = (source) => {
|
||||
const createLogger = (logger) => {
|
||||
const _logger = (...data) => {
|
||||
logger(source, ...data);
|
||||
return undefined;
|
||||
};
|
||||
_logger.withContext = (context) => (...data) => {
|
||||
logger(source, context, ...data);
|
||||
return undefined;
|
||||
};
|
||||
return _logger;
|
||||
};
|
||||
|
||||
const log = createLogger(console.log);
|
||||
const warn = createLogger(console.warn);
|
||||
const err = createLogger(console.error);
|
||||
const debug = createLogger(console.debug);
|
||||
|
||||
const createMessager = (logger, messager, severity) => {
|
||||
const _messager = (message) => {
|
||||
logger(message);
|
||||
messager({ message: `${source} - ${message}`, category: "OTHER", severity });
|
||||
return undefined;
|
||||
};
|
||||
_messager.withContext = (context) => {
|
||||
const loggerWithContext = logger.withContext(context);
|
||||
return (message) => {
|
||||
loggerWithContext(message);
|
||||
if (message instanceof Error) message = message.message;
|
||||
messager({ message: `${source}.${context} - ${message}`, category: "OTHER", severity });
|
||||
return undefined;
|
||||
};
|
||||
};
|
||||
return _messager;
|
||||
};
|
||||
|
||||
return {
|
||||
log,
|
||||
warn,
|
||||
err,
|
||||
debug,
|
||||
msg: {
|
||||
log: createMessager(log, actions.message.messageInfo, "INFO"),
|
||||
warn: createMessager(warn, actions.message.messageWarn, "WARN"),
|
||||
err: createMessager(err, actions.message.messageError, "ERROR"),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export const libTrace = Tracer("[lib]");
|
||||
Generated
-308
@@ -1,308 +0,0 @@
|
||||
lockfileVersion: '6.1'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
devDependencies:
|
||||
esbuild:
|
||||
specifier: ^0.18.13
|
||||
version: 0.18.13
|
||||
neptune-types:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
|
||||
packages:
|
||||
|
||||
/@babel/runtime@7.22.15:
|
||||
resolution: {integrity: sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dependencies:
|
||||
regenerator-runtime: 0.14.0
|
||||
dev: true
|
||||
|
||||
/@esbuild/android-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-j7NhycJUoUAG5kAzGf4fPWfd17N6SM3o1X6MlXVqfHvs2buFraCJzos9vbeWjLxOyBKHyPOnuCuipbhvbYtTAg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-arm@0.18.13:
|
||||
resolution: {integrity: sha512-KwqFhxRFMKZINHzCqf8eKxE0XqWlAVPRxwy6rc7CbVFxzUWB2sA/s3hbMZeemPdhN3fKBkqOaFhTbS8xJXYIWQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-x64@0.18.13:
|
||||
resolution: {integrity: sha512-M2eZkRxR6WnWfVELHmv6MUoHbOqnzoTVSIxgtsyhm/NsgmL+uTmag/VVzdXvmahak1I6sOb1K/2movco5ikDJg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-f5goG30YgR1GU+fxtaBRdSW3SBG9pZW834Mmhxa6terzcboz7P2R0k4lDxlkP7NYRIIdBbWp+VgwQbmMH4yV7w==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-x64@0.18.13:
|
||||
resolution: {integrity: sha512-RIrxoKH5Eo+yE5BtaAIMZaiKutPhZjw+j0OCh8WdvKEKJQteacq0myZvBDLU+hOzQOZWJeDnuQ2xgSScKf1Ovw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-AfRPhHWmj9jGyLgW/2FkYERKmYR+IjYxf2rtSLmhOrPGFh0KCETFzSjx/JX/HJnvIqHt/DRQD/KAaVsUKoI3Xg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [freebsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-x64@0.18.13:
|
||||
resolution: {integrity: sha512-pGzWWZJBInhIgdEwzn8VHUBang8UvFKsvjDkeJ2oyY5gZtAM6BaxK0QLCuZY+qoj/nx/lIaItH425rm/hloETA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-hCzZbVJEHV7QM77fHPv2qgBcWxgglGFGCxk6KfQx6PsVIdi1u09X7IvgE9QKqm38OpkzaAkPnnPqwRsltvLkIQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm@0.18.13:
|
||||
resolution: {integrity: sha512-4iMxLRMCxGyk7lEvkkvrxw4aJeC93YIIrfbBlUJ062kilUUnAiMb81eEkVvCVoh3ON283ans7+OQkuy1uHW+Hw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ia32@0.18.13:
|
||||
resolution: {integrity: sha512-I3OKGbynl3AAIO6onXNrup/ttToE6Rv2XYfFgLK/wnr2J+1g+7k4asLrE+n7VMhaqX+BUnyWkCu27rl+62Adug==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ia32]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-loong64@0.18.13:
|
||||
resolution: {integrity: sha512-8pcKDApAsKc6WW51ZEVidSGwGbebYw2qKnO1VyD8xd6JN0RN6EUXfhXmDk9Vc4/U3Y4AoFTexQewQDJGsBXBpg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [loong64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-mips64el@0.18.13:
|
||||
resolution: {integrity: sha512-6GU+J1PLiVqWx8yoCK4Z0GnfKyCGIH5L2KQipxOtbNPBs+qNDcMJr9euxnyJ6FkRPyMwaSkjejzPSISD9hb+gg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [mips64el]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ppc64@0.18.13:
|
||||
resolution: {integrity: sha512-pfn/OGZ8tyR8YCV7MlLl5hAit2cmS+j/ZZg9DdH0uxdCoJpV7+5DbuXrR+es4ayRVKIcfS9TTMCs60vqQDmh+w==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-riscv64@0.18.13:
|
||||
resolution: {integrity: sha512-aIbhU3LPg0lOSCfVeGHbmGYIqOtW6+yzO+Nfv57YblEK01oj0mFMtvDJlOaeAZ6z0FZ9D13oahi5aIl9JFphGg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-s390x@0.18.13:
|
||||
resolution: {integrity: sha512-Pct1QwF2sp+5LVi4Iu5Y+6JsGaV2Z2vm4O9Dd7XZ5tKYxEHjFtb140fiMcl5HM1iuv6xXO8O1Vrb1iJxHlv8UA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-x64@0.18.13:
|
||||
resolution: {integrity: sha512-zTrIP0KzYP7O0+3ZnmzvUKgGtUvf4+piY8PIO3V8/GfmVd3ZyHJGz7Ht0np3P1wz+I8qJ4rjwJKqqEAbIEPngA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/netbsd-x64@0.18.13:
|
||||
resolution: {integrity: sha512-I6zs10TZeaHDYoGxENuksxE1sxqZpCp+agYeW039yqFwh3MgVvdmXL5NMveImOC6AtpLvE4xG5ujVic4NWFIDQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [netbsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/openbsd-x64@0.18.13:
|
||||
resolution: {integrity: sha512-W5C5nczhrt1y1xPG5bV+0M12p2vetOGlvs43LH8SopQ3z2AseIROu09VgRqydx5qFN7y9qCbpgHLx0kb0TcW7g==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [openbsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/sunos-x64@0.18.13:
|
||||
resolution: {integrity: sha512-X/xzuw4Hzpo/yq3YsfBbIsipNgmsm8mE/QeWbdGdTTeZ77fjxI2K0KP3AlhZ6gU3zKTw1bKoZTuKLnqcJ537qw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [sunos]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-4CGYdRQT/ILd+yLLE5i4VApMPfGE0RPc/wFQhlluDQCK09+b4JDbxzzjpgQqTPrdnP7r5KUtGVGZYclYiPuHrw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-ia32@0.18.13:
|
||||
resolution: {integrity: sha512-D+wKZaRhQI+MUGMH+DbEr4owC2D7XnF+uyGiZk38QbgzLcofFqIOwFs7ELmIeU45CQgfHNy9Q+LKW3cE8g37Kg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-x64@0.18.13:
|
||||
resolution: {integrity: sha512-iVl6lehAfJS+VmpF3exKpNQ8b0eucf5VWfzR8S7xFve64NBNz2jPUgx1X93/kfnkfgP737O+i1k54SVQS7uVZA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/esbuild@0.18.13:
|
||||
resolution: {integrity: sha512-vhg/WR/Oiu4oUIkVhmfcc23G6/zWuEQKFS+yiosSHe4aN6+DQRXIfeloYGibIfVhkr4wyfuVsGNLr+sQU1rWWw==}
|
||||
engines: {node: '>=12'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@esbuild/android-arm': 0.18.13
|
||||
'@esbuild/android-arm64': 0.18.13
|
||||
'@esbuild/android-x64': 0.18.13
|
||||
'@esbuild/darwin-arm64': 0.18.13
|
||||
'@esbuild/darwin-x64': 0.18.13
|
||||
'@esbuild/freebsd-arm64': 0.18.13
|
||||
'@esbuild/freebsd-x64': 0.18.13
|
||||
'@esbuild/linux-arm': 0.18.13
|
||||
'@esbuild/linux-arm64': 0.18.13
|
||||
'@esbuild/linux-ia32': 0.18.13
|
||||
'@esbuild/linux-loong64': 0.18.13
|
||||
'@esbuild/linux-mips64el': 0.18.13
|
||||
'@esbuild/linux-ppc64': 0.18.13
|
||||
'@esbuild/linux-riscv64': 0.18.13
|
||||
'@esbuild/linux-s390x': 0.18.13
|
||||
'@esbuild/linux-x64': 0.18.13
|
||||
'@esbuild/netbsd-x64': 0.18.13
|
||||
'@esbuild/openbsd-x64': 0.18.13
|
||||
'@esbuild/sunos-x64': 0.18.13
|
||||
'@esbuild/win32-arm64': 0.18.13
|
||||
'@esbuild/win32-ia32': 0.18.13
|
||||
'@esbuild/win32-x64': 0.18.13
|
||||
dev: true
|
||||
|
||||
/htm@3.1.1:
|
||||
resolution: {integrity: sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==}
|
||||
dev: true
|
||||
|
||||
/idb-keyval@6.2.1:
|
||||
resolution: {integrity: sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==}
|
||||
dev: true
|
||||
|
||||
/immutable@5.0.0-beta.4:
|
||||
resolution: {integrity: sha512-sl9RE3lqd2LoQSESc8VV0k8qE9y57iT7dinq3Q+8mR2dqReHDZlgUrudzmFfZhDXBLXlNJMVWv3SG1YpQIokig==}
|
||||
dev: true
|
||||
|
||||
/neptune-types@1.0.0:
|
||||
resolution: {integrity: sha512-ulXxp5m7lup2fR3ppdnHQBXPrvwLmBK54Npfded2pYhK5SGrlbIlpcNUPkT5aqsbZhjOVaRZY4BWoFt5LGI+cQ==}
|
||||
dependencies:
|
||||
idb-keyval: 6.2.1
|
||||
immutable: 5.0.0-beta.4
|
||||
redux: 4.2.1
|
||||
spitroast: 1.4.3
|
||||
type-fest: 4.3.1
|
||||
voby: 0.54.0
|
||||
zod: 3.22.2
|
||||
dev: true
|
||||
|
||||
/oby@14.3.1:
|
||||
resolution: {integrity: sha512-/5BvIarE2epsV2DDjcBf6R7DvcoUqtU62AOEEQyUqaKzwz0kdpB6huOG8anaqU0Asa9UGPFxdQWVbUPpEGLkuw==}
|
||||
dev: true
|
||||
|
||||
/redux@4.2.1:
|
||||
resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.22.15
|
||||
dev: true
|
||||
|
||||
/regenerator-runtime@0.14.0:
|
||||
resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==}
|
||||
dev: true
|
||||
|
||||
/spitroast@1.4.3:
|
||||
resolution: {integrity: sha512-JdkzAy2tT82ahx+eEtM5ohBeHICqFln/Yzo+vPGnE5sX1LYgPHCU2qcaSIJfR/xNrhI0q+ftwFz0H2aJysv3EA==}
|
||||
dev: true
|
||||
|
||||
/type-fest@4.3.1:
|
||||
resolution: {integrity: sha512-pphNW/msgOUSkJbH58x8sqpq8uQj6b0ZKGxEsLKMUnGorRcDjrUaLS+39+/ub41JNTwrrMyJcUB8+YZs3mbwqw==}
|
||||
engines: {node: '>=16'}
|
||||
dev: true
|
||||
|
||||
/voby@0.54.0:
|
||||
resolution: {integrity: sha512-hH8LXcP0QR4J6nnzfSWGD13onq7hqdc/ya1r1Bb+TxibtECYKZRO1m4HdSU4RcE7MdAaQwR5pwgd+hqXCqk2OA==}
|
||||
dependencies:
|
||||
htm: 3.1.1
|
||||
oby: 14.3.1
|
||||
dev: true
|
||||
|
||||
/zod@3.22.2:
|
||||
resolution: {integrity: sha512-wvWkphh5WQsJbVk1tbx1l1Ly4yg+XecD+Mq280uBGt9wa5BKSWf4Mhp6GmrkPixhMxmabYY7RbzlwVP32pbGCg==}
|
||||
dev: true
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": "neptune-types/tsconfig.base.json"
|
||||
}
|
||||
Reference in New Issue
Block a user