|
@@ -1,7 +1,7 @@
|
|
import * as UserUtils from "@sv443-network/userutils";
|
|
import * as UserUtils from "@sv443-network/userutils";
|
|
import * as compareVersions from "compare-versions";
|
|
import * as compareVersions from "compare-versions";
|
|
import { mode, branch, host, buildNumber, compressionFormat, scriptInfo } from "./constants.js";
|
|
import { mode, branch, host, buildNumber, compressionFormat, scriptInfo } from "./constants.js";
|
|
-import { getResourceUrl, getSessionId, getVideoTime, log, setLocale, getLocale, hasKey, hasKeyFor, NanoEmitter, t, tp, type TrLocale, info, error, onInteraction, getThumbnailUrl, getBestThumbnailUrl, fetchVideoVotes } from "./utils/index.js";
|
|
|
|
|
|
+import { getResourceUrl, getSessionId, getVideoTime, log, setLocale, getLocale, hasKey, hasKeyFor, t, tp, type TrLocale, info, error, onInteraction, getThumbnailUrl, getBestThumbnailUrl, fetchVideoVotes } from "./utils/index.js";
|
|
import { addSelectorListener } from "./observers.js";
|
|
import { addSelectorListener } from "./observers.js";
|
|
import { getFeatures, setFeatures } from "./config.js";
|
|
import { getFeatures, setFeatures } from "./config.js";
|
|
import { autoLikeStore, featInfo, fetchLyricsUrlTop, getLyricsCacheEntry, sanitizeArtists, sanitizeSong } from "./features/index.js";
|
|
import { autoLikeStore, featInfo, fetchLyricsUrlTop, getLyricsCacheEntry, sanitizeArtists, sanitizeSong } from "./features/index.js";
|
|
@@ -9,7 +9,7 @@ import { allSiteEvents, type SiteEventsMap } from "./siteEvents.js";
|
|
import { LogLevel, type FeatureConfig, type FeatureInfo, type LyricsCacheEntry, type PluginDef, type PluginInfo, type PluginRegisterResult, type PluginDefResolvable, type PluginEventMap, type PluginItem, type BytmObject, type AutoLikeData, type InterfaceFunctions } from "./types.js";
|
|
import { LogLevel, type FeatureConfig, type FeatureInfo, type LyricsCacheEntry, type PluginDef, type PluginInfo, type PluginRegisterResult, type PluginDefResolvable, type PluginEventMap, type PluginItem, type BytmObject, type AutoLikeData, type InterfaceFunctions } from "./types.js";
|
|
import { BytmDialog, ExImDialog, createCircularBtn, createHotkeyInput, createRipple, createToggleInput, showIconToast, showToast } from "./components/index.js";
|
|
import { BytmDialog, ExImDialog, createCircularBtn, createHotkeyInput, createRipple, createToggleInput, showIconToast, showToast } from "./components/index.js";
|
|
|
|
|
|
-const { getUnsafeWindow, randomId } = UserUtils;
|
|
|
|
|
|
+const { getUnsafeWindow, randomId, NanoEmitter } = UserUtils;
|
|
|
|
|
|
//#region interface globals
|
|
//#region interface globals
|
|
|
|
|