//META{"name":"ThemeRepo","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/ThemeRepo","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/ThemeRepo/ThemeRepo.plugin.js"}*// class ThemeRepo { getName () {return "ThemeRepo";} getVersion () {return "1.8.9";} getAuthor () {return "DevilBro";} getDescription () {return "Allows you to preview all themes from the theme repo and download them on the fly. Repo button is in the theme settings.";} constructor () { this.changelog = { "improved":[["ThemeFixer","Fixed and improved"]] }; this.patchModules = { "V2C_List":"componentDidMount" }; } initConstructor () { this.sortings = { sort: { name: "Name", author: "Author", version: "Version", description: "Description", state: "Update State", fav: "Favorites", new: "New Themes" }, order: { asc: "Ascending", desc: "Descending" } }; this.loading = {is:false, timeout:null, amount:0}; this.cachedThemes = []; this.grabbedThemes = []; this.foundThemes = []; this.loadedThemes = {}; this.generatorThemes = []; this.updateInterval; this.themeRepoButtonMarkup = ``; this.themeRepoIconMarkup = ``; this.frameMarkup = ``; this.themeEntryMarkup = `