getVirtualAddress(url) {
		try {
			const storageList = JSON.parse(localStorage.storageList || "[]");

			const matches = [];
			for (let storage of storageList) {
				const regex = new RegExp(
					"^" + escapeStringRegexp(storage.uri ?? storage.url),
				);
				matches.push({
					regex,
					charMatched: url.length - url.replace(regex, "").length,
					storage,
				});
			}

			const matched = matches.sort((a, b) => {
				return b.charMatched - a.charMatched;
			})[0];

			if (matched) {
				const { storage, regex } = matched;
				const { name } = storage;
				const [base, paths] = url.split("::");
				url = base + "/" + paths.split("/").slice(1).join("/");
				return url.replace(regex, name).replace(/\/+/g, "/");
			}

			return url;
		} catch (e) {
			return url;
		}
	}
Gets virtual address by replacing root with name i.e. added in file explorer
@param {string} url