From b6ea53b93271b73d52f0cd91fb06be94407ab259 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 4 Aug 2020 16:05:52 +0200 Subject: [PATCH] stuff --- Plugins/BDFDB.js | 88 +- Plugins/BDFDB.min.js | 2 +- Plugins/ChatAliases/ChatAliases.plugin.js | 1 - Plugins/ChatFilter/ChatFilter.plugin.js | 1 - .../CopyRawMessage/CopyRawMessage.plugin.js | 2 - .../DisplayLargeMessages.plugin.js | 1 - Plugins/EditChannels/EditChannels.plugin.js | 2 - Plugins/EditServers/EditServers.plugin.js | 2 - Plugins/EditUsers/EditUsers.plugin.js | 2 - .../GoogleSearchReplace.plugin.js | 4 +- .../GoogleTranslateOption.plugin.js | 2 - Plugins/PersonalPins/PersonalPins.plugin.js | 2 - Plugins/PinDMs/PinDMs.plugin.js | 4 - Plugins/PluginRepo/PluginRepo.plugin.js | 1961 +++++++------- .../ReadAllNotificationsButton.plugin.js | 6 - .../RevealAllSpoilersOption.plugin.js | 1 - .../ReverseImageSearch.plugin.js | 2 + Plugins/ServerFolders/ServerFolders.plugin.js | 4 - Plugins/ServerHider/ServerHider.plugin.js | 2 - .../ShowHiddenChannels.plugin.js | 1 - Plugins/SpellCheck/SpellCheck.plugin.js | 2 - Plugins/ThemeRepo/ThemeRepo.plugin.js | 2341 ++++++++--------- Plugins/UserNotes/UserNotes.plugin.js | 1 - 23 files changed, 2234 insertions(+), 2200 deletions(-) diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 5d3d3de613..742e3572f5 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -3528,13 +3528,14 @@ BDFDB.ContextMenuUtils.createItem = function (component, props = {}) { if (!component) return null; else { + if (props.persisting || (typeof props.color == "string" && !BDFDB.DiscordClasses[`menu${props.color.toLowerCase()}`])) component = InternalComponents.MenuItem; if (BDFDB.ObjectUtils.toArray(RealMenuItems).some(c => c == component)) return BDFDB.ReactUtils.createElement(component, props); else return BDFDB.ReactUtils.createElement(RealMenuItems.MenuItem, { id: props.id, disabled: props.disabled, render: menuItemProps => { if (!props.state) props.state = BDFDB.ObjectUtils.extract(props, "checked", "value"); - return BDFDB.ReactUtils.createElement(component, Object.assign(props, menuItemProps)); + return BDFDB.ReactUtils.createElement(component, Object.assign(props, menuItemProps, {color: props.color})); } }); } @@ -4174,6 +4175,7 @@ paginationListPagination: "pagination-ko4zZk", popoutWrapper: "popout-xwjvsX", quickSelectWrapper: "quickSelectWrapper-UCfTKz", + menuColorCustom: "colorCustom-44asd2", menuItemHint: "hint-BK71lM", modalHeaderShade: "shade-h6F4sT", modalHeaderHasSibling: "hasSiblings-fRyjyl", @@ -4571,6 +4573,7 @@ DiscordClassModules.LoadingScreen = BDFDB.ModuleUtils.findByProperties("container", "problemsText", "problems"); DiscordClassModules.Margins = BDFDB.ModuleUtils.findByProperties("marginBottom4", "marginCenterHorz"); DiscordClassModules.Menu = BDFDB.ModuleUtils.findByProperties("menu", "styleFlexible", "item"); + DiscordClassModules.MenuCaret = BDFDB.ModuleUtils.findByProperties("arrow", "open"); DiscordClassModules.MenuReactButton = BDFDB.ModuleUtils.findByProperties("wrapper", "icon", "focused"); DiscordClassModules.MenuSlider = BDFDB.ModuleUtils.findByProperties("slider", "sliderContainer"); DiscordClassModules.Member = BDFDB.ModuleUtils.findByProperties("member", "ownerIcon"); @@ -5527,9 +5530,12 @@ mentionwrapper: ["NotFound", "mentionWrapper"], menu: ["Menu", "menu"], menucaret: ["Menu", "caret"], + menucaretarrow: ["MenuCaret", "arrow"], + menucaretopen: ["MenuCaret", "open"], menucheck: ["Menu", "check"], menucheckbox: ["Menu", "checkbox"], menucolorbrand: ["Menu", "colorBrand"], + menucolorcustom: ["BDFDB", "menuColorCustom"], menucolordanger: ["Menu", "colorDanger"], menucolordefault: ["Menu", "colorDefault"], menucolorpremium: ["Menu", "colorPremium"], @@ -6912,6 +6918,69 @@ var InternalComponents = {NativeSubComponents: {}, LibraryComponents: {}}, reactInitialized = LibraryModules.React && LibraryModules.React.Component; + InternalComponents.MenuItem = reactInitialized && class BDFDB_MenuItem extends LibraryModules.React.Component { + render() { + let color = (typeof this.props.color == "string" ? this.props.color : InternalComponents.LibraryComponents.MenuItems.Colors.DEFAULT).toLowerCase(); + let isCustomColor = false; + if (color) { + if (!BDFDB.DiscordClasses[`menu${color}`] && BDFDB.ColorUtils.getType(color)) { + isCustomColor = true; + color = BDFDB.ColorUtils.convert(color, "RGBA"); + } + else color = (InternalComponents.LibraryComponents.MenuItems.Colors.DEFAULT || "").toLowerCase(); + } + return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, Object.assign({ + className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.menuitem, BDFDB.disCN.menulabelcontainer, color && (isCustomColor ? BDFDB.disCN.menucolorcustom : BDFDB.disCN[`menu${color}`]), this.props.disabled && BDFDB.disCN.menudisabled, this.props.isFocused && BDFDB.disCN.menufocused), + style: { + color: isCustomColor && (!this.props.isFocused ? color : (BDFDB.ColorUtils.isBright(color) ? "#000" : "#FFF")), + background: isCustomColor && this.props.isFocused && color + }, + onClick: this.props.disabled ? null : e => { + if (!this.props.action) return false; + !this.props.persisting && this.props.onClose(); + this.props.action(e, this); + }, + "aria-disabled": this.props.disabled, + children: [ + BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.menulabel, + children: [ + typeof this.props.label == "function" ? this.props.label(this) : this.props.label, + this.props.subtext && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.menusubtext, + children: typeof this.props.subtext == "function" ? this.props.subtext(this) : this.props.subtext + }) + ].filter(n => n) + }), + this.props.hint && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.menuhintcontainer, + children: typeof this.props.hint == "function" ? this.props.hint(this) : this.props.hint + }), + this.props.icon && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.menuiconcontainer, + children: BDFDB.ReactUtils.createElement(this.props.icon, { + className: BDFDB.disCN.menuicon, + }) + }), + this.props.imageUrl && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.menuimagecontainer, + children: BDFDB.ReactUtils.createElement("img", { + className: BDFDB.disCN.menuimage, + src: typeof this.props.imageUrl == "function" ? this.props.imageUrl(this) : this.props.imageUrl, + alt: "" + }) + }), + this.props.hasSubmenu && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN.menuiconcontainer, + children: BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.SvgIcon, { + className: BDFDB.disCN.menucaret, + name: InternalComponents.LibraryComponents.SvgIcon.Names.MENU_CARET + }) + }) + ].filter(n => n) + }, this.props.menuItemProps)); + } + }; InternalComponents.ErrorBoundary = reactInitialized && class BDFDB_ErrorBoundary extends LibraryModules.React.PureComponent { constructor(props) { super(props); @@ -8217,12 +8286,6 @@ } }; - InternalComponents.LibraryComponents.MenuItems.MenuPersistingItem = InternalBDFDB.loadPatchedComp("MenuItems.MenuPersistingItem") || reactInitialized && class BDFDB_MenuPersistingItem extends LibraryModules.React.Component { - render() { - return BDFDB.ReactUtils.createElement(InternalComponents.NativeSubComponents.MenuItem, Object.assign({}, this.props, {onClose: _ => {}})); - } - }; - InternalComponents.LibraryComponents.MenuItems.MenuSliderItem = InternalBDFDB.loadPatchedComp("MenuItems.MenuSliderItem") || reactInitialized && class BDFDB_MenuSliderItem extends LibraryModules.React.Component { handleValueChange(value) { if (this.props.state) { @@ -8394,7 +8457,7 @@ if (!this.props.alphabetKey) items = this.props.items; else { let unsortedItems = [].concat(this.props.items); - for (let key of ["0-9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]) { + for (let key of ["0-9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]) { let numbers = key == "0-9", alphaItems = []; for (let item of unsortedItems) if (item && item[this.props.alphabetKey] && (numbers && !isNaN(parseInt(item[this.props.alphabetKey][0])) || item[this.props.alphabetKey].toUpperCase().indexOf(key) == 0)) alphaItems.push(item); for (let sortedItem of alphaItems) BDFDB.ArrayUtils.remove(unsortedItems, sortedItem); @@ -8545,7 +8608,6 @@ label: option.label, id: BDFDB.ContextMenuUtils.createItemId("option", option.key || option.value || i), action: selected ? null : event2 => { - BDFDB.ContextMenuUtils.close(event2._targetInst); this.handleChange.bind(this)(option) } }) @@ -9025,7 +9087,9 @@ width: 24, height: 24, color: "currentColor" - }, this.props.name.defaultProps, this.props); + }, this.props.name.defaultProps, this.props, { + className: BDFDB.DOMUtils.formatClassName(typeof this.props.name.getClassName == "function" && this.props.name.getClassName(this.props), this.props.className) + }); for (let key in props) this.props.iconSVG = this.props.iconSVG.replace(new RegExp(`%%${key}`, "g"), props[key]); } if (this.props.iconSVG) { @@ -9114,6 +9178,10 @@ LOCK_CLOSED: { icon: `` }, + MENU_CARET: { + getClassName: props => BDFDB.DOMUtils.formatClassName(BDFDB.disCN.menucaretarrow, props.open && BDFDB.disCN.menucaretopen), + icon: `` + }, NOVA_AT: { icon: `` }, diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js index c3178429f4..4264d66726 100644 --- a/Plugins/BDFDB.min.js +++ b/Plugins/BDFDB.min.js @@ -1 +1 @@ -(a=>{if(window['BDFDB']&&window['BDFDB']['PluginUtils']&&typeof window['BDFDB']['PluginUtils']['cleanUp']=='function')window['BDFDB']['PluginUtils']['cleanUp'](window['BDFDB']);const b={'myPlugins':Object['assign']({},window['BDFDB']&&window['BDFDB']['myPlugins']),'InternalData':Object['assign']({'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'componentPatchQueries':{}},window['BDFDB']&&window['BDFDB']['InternalData'],{'creationTime':performance['now']()}),'name':'BDFDB'};const c={'name':'BDFDB','started':!![],'patchPriority':0x0};const d=Math['round'](Math['random']()*0x2386f26fc10000),e='278543574059057154',f='410787888507256842';b['InternalData']['loadId']=d;var g={};if(typeof Array['prototype']['flat']!='function')Array['prototype']['flat']=function(){return this;};c['defaults']={'settings':{'showToasts':{'value':!![],'description':'Show\x20Plugin\x20start\x20and\x20stop\x20Toasts'},'showSupportBadges':{'value':!![],'description':'Show\x20little\x20Badges\x20for\x20Users\x20who\x20support\x20my\x20Patreon'}}};b['LogUtils']={};b['LogUtils']['log']=function(I,J){console['log']('%c['+(typeof J=='string'&&J||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;',(typeof I=='string'&&I||'')['trim']());};b['LogUtils']['warn']=function(I,J){console['warn']('%c['+(typeof J=='string'&&J||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;',(typeof I=='string'&&I||'')['trim']());};b['LogUtils']['error']=function(I,J){console['error']('%c['+(typeof J=='string'&&J||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;','Fatal\x20Error:\x20'+(typeof I=='string'&&I||'')['trim']());};b['LogUtils']['log']('Loading\x20library.');b['cleanUp']=b['PluginUtils']={};b['PluginUtils']['init']=b['loadMessage']=function(I){I['name']=I['name']||(typeof I['getName']=='function'?I['getName']():null);I['version']=I['version']||(typeof I['getVersion']=='function'?I['getVersion']():null);I['author']=I['author']||(typeof I['getAuthor']=='function'?I['getAuthor']():null);I['description']=I['description']||(typeof I['getDescription']=='function'?I['getDescription']():null);if(typeof I['getSettingsPanel']!='function')I['getSettingsPanel']=M=>{return I['started']&&b['PluginUtils']['createSettingsPanel'](I,[]);};let J=b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_started','v'+I['version']);b['LogUtils']['log'](J,I['name']);if(!b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['showToasts'])&&g['showToasts'])b['NotificationUtils']['toast'](I['name']+'\x20'+J,{'nopointer':!![],'selector':'plugin-started-toast'});let K=typeof I['getRawUrl']=='function'&&typeof I['getRawUrl']()=='string'?I['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+I['name']+'/'+I['name']+'.plugin.js';b['PluginUtils']['checkUpdate'](I['name'],K);if(typeof I['initConstructor']==='function')b['TimeUtils']['suppress'](I['initConstructor']['bind'](I),'Could\x20not\x20initiate\x20constructor!',I['name'])();if(typeof I['css']==='string')b['DOMUtils']['appendLocalStyle'](I['name'],I['css']);c['patchPlugin'](I);c['addSpecialListeners'](I);b['PluginUtils']['translate'](I);b['PluginUtils']['checkChangeLog'](I);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][K]={'name':I['name'],'raw':K,'version':I['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=b['TimeUtils']['interval'](M=>{b['PluginUtils']['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);I['started']=!![];delete I['stopping'];let L=0x1;for(let M in b['myPlugins'])if(!b['myPlugins'][M]['started']&&typeof b['myPlugins'][M]['initialize']=='function')setTimeout(N=>{b['TimeUtils']['suppress'](b['myPlugins'][M]['initialize']['bind'](b['myPlugins'][M]),'Could\x20not\x20initiate\x20plugin!',M)();},0x64*L++);};b['PluginUtils']['clear']=b['unloadMessage']=function(I){c['clearStartTimeout'](I);delete b['myPlugins'][I['name']];let J=b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_stopped','v'+I['version']);b['LogUtils']['log'](J,I['name']);if(!b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['showToasts'])&&g['showToasts'])b['NotificationUtils']['toast'](I['name']+'\x20'+J,{'nopointer':!![],'selector':'plugin-stopped-toast'});let K=typeof I['getRawUrl']=='function'&&typeof I['getRawUrl']()=='string'?I['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+I['name']+'/'+I['name']+'.plugin.js';if(typeof I['css']==='string')b['DOMUtils']['removeLocalStyle'](I['name']);b['PluginUtils']['cleanUp'](I);for(let L in b['InternalData']['componentPatchQueries'])b['ArrayUtils']['remove'](b['InternalData']['componentPatchQueries'][L]['query'],I,!![]);for(let M of document['querySelectorAll']('.'+I['name']+'-modal,\x20.'+I['name']['toLowerCase']()+'-modal,\x20.'+I['name']+'-settingsmodal,\x20.'+I['name']['toLowerCase']()+'-settingsmodal')){let N=M['querySelector'](b['dotCN']['modalclose']);if(N)N['click']();}delete b['DataUtils']['cached'][I['name']];delete window['PluginUpdates']['plugins'][K];delete I['started'];b['TimeUtils']['timeout'](O=>{delete I['stopping'];});};b['PluginUtils']['translate']=function(I){I['labels']={};if(typeof I['setLabelsByLanguage']==='function'||typeof I['changeLanguageStrings']==='function'){if(n['LanguageStore']['chosenLocale'])J();else b['TimeUtils']['interval'](K=>{if(n['LanguageStore']['chosenLocale']){b['TimeUtils']['clear'](K);J();}},0x64);function J(){let K=b['LanguageUtils']['getLanguage']();if(typeof I['setLabelsByLanguage']==='function')I['labels']=I['setLabelsByLanguage'](K['id']);if(typeof I['changeLanguageStrings']==='function')I['changeLanguageStrings']();b['LogUtils']['log'](b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',K['ownlang']),I['name']);}}};b['PluginUtils']['cleanUp']=function(I){b['ListenerUtils']['remove'](I);b['StoreChangeUtils']['remove'](I);b['ObserverUtils']['disconnect'](I);b['ModuleUtils']['unpatch'](I);b['WindowUtils']['closeAll'](I);b['WindowUtils']['removeListener'](I);};b['PluginUtils']['checkUpdate']=function(I,J){if(I&&J)return new Promise(K=>{m['request'](J,(L,M,N)=>{if(L)return K(null);let O=N['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!O)return K(null);if(b['NumberUtils']['getVersionDifference'](O[0x0],window['PluginUpdates']['plugins'][J]['version'])>0.2){b['NotificationUtils']['toast'](I+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});b['PluginUtils']['downloadUpdate'](I,J);return K(0x2);}else if(b['NumberUtils']['compareVersions'](O[0x0],window['PluginUpdates']['plugins'][J]['version'])){b['PluginUtils']['showUpdateNotice'](I,J);return K(0x1);}else{b['PluginUtils']['removeUpdateNotice'](I);return K(0x0);}});});return new Promise(K=>{callback(null);});};b['PluginUtils']['checkAllUpdates']=function(){return new Promise(I=>{let J=0x0,K=0x0;for(let L in window['PluginUpdates']['plugins']){let M=window['PluginUpdates']['plugins'][L];if(M)b['PluginUtils']['checkUpdate'](M['name'],M['raw'])['then'](N=>{J++;if(N==0x1)K++;if(J>=Object['keys'](window['PluginUpdates']['plugins'])['length'])I(K);});}});};b['PluginUtils']['showUpdateNotice']=function(I,J){if(!I||!J)return;let K=document['querySelector']('#pluginNotice');if(!K){K=b['NotificationUtils']['notice'](b['LanguageUtils']['LibraryStrings']['update_notice_update']+'    ',{'html':!![],'id':'pluginNotice','type':'info','btn':!b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['automaticLoading'])?b['LanguageUtils']['LanguageStrings']['ERRORS_RELOAD']:'','customicon':''});K['style']['setProperty']('display','block','important');K['style']['setProperty']('visibility','visible','important');K['style']['setProperty']('opacity','1','important');K['querySelector'](b['dotCN']['noticedismiss'])['addEventListener']('click',M=>{b['DOMUtils']['remove']('.update-clickme-tooltip');});let L=K['querySelector'](b['dotCN']['noticebutton']);if(L){b['DOMUtils']['toggle'](L,!![]);L['addEventListener']('click',M=>{m['electron']['remote']['getCurrentWindow']()['reload']();});L['addEventListener']('mouseenter',M=>{if(window['PluginUpdates']['downloaded'])b['TooltipUtils']['create'](L,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(K){let M=K['querySelector']('#outdatedPlugins');if(M&&!M['querySelector']('#'+I+'-notice')){if(M['querySelector']('span'))M['appendChild'](b['DOMUtils']['create'](',\x20'));let N=b['DOMUtils']['create'](''+I+'');N['addEventListener']('click',O=>{b['PluginUtils']['downloadUpdate'](I,J);});M['appendChild'](N);if(!M['hasTooltip']){M['hasTooltip']=!![];b['TooltipUtils']['create'](M,b['LanguageUtils']['LibraryStrings']['update_notice_click'],{'type':'bottom','unhideable':!![],'delay':0x1f4,'onHide':O=>{M['hasTooltip']=![];}});}}}};b['PluginUtils']['removeUpdateNotice']=function(I,J=document['querySelector']('#pluginNotice')){if(!I||!J)return;let K=J['querySelector']('#outdatedPlugins');if(K){let L=K['querySelector']('#'+I+'-notice');if(L){let M=L['nextSibling'];let N=L['prevSibling'];if(M&&b['DOMUtils']['containsClass'](M,'separator'))M['remove']();else if(N&&b['DOMUtils']['containsClass'](N,'separator'))N['remove']();L['remove']();}if(!K['querySelector']('span')){let O=J['querySelector'](b['dotCN']['noticebutton']);if(O){J['querySelector']('.notice-message')['innerText']=b['LanguageUtils']['LibraryStrings']['update_notice_reload'];b['DOMUtils']['toggle'](O,![]);}else J['querySelector'](b['dotCN']['noticedismiss'])['click']();}}};b['PluginUtils']['downloadUpdate']=function(I,J){if(!I||!J)return;m['request'](J,(K,L,M)=>{if(K)return b['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+I);b['InternalData']['creationTime']=0x0;let N=b['BDUtils']['isPluginEnabled'](I);let O=(M['match'](/"name"\s*:\s*"([^"]+)"/)||[])[0x1]||I;let P=M['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i)['toString']()['replace'](/['"]/g,'');let Q=window['PluginUpdates']['plugins'][J]['version'];m['fs']['writeFile'](m['path']['join'](b['BDUtils']['getPluginsFolder'](),O+'.plugin.js'),M,R=>{if(I!=O){J=J['replace'](new RegExp(I,'g'),O);m['fs']['unlink'](m['path']['join'](b['BDUtils']['getPluginsFolder'](),I+'.plugin.js'),U=>{});let T=m['path']['join'](b['BDUtils']['getPluginsFolder'](),I+'.config.json');m['fs']['exists'](T,U=>{if(U)m['fs']['rename'](T,m['path']['join'](b['BDUtils']['getPluginsFolder'](),O+'.config.json'),V=>{});});b['TimeUtils']['timeout'](U=>{if(N&&!b['BDUtils']['isPluginEnabled'](O))b['BDUtils']['enablePlugin'](O);},0xbb8);}b['NotificationUtils']['toast'](b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_updated',I,'v'+Q,O,'v'+P),{'nopointer':!![],'selector':'plugin-updated-toast'});let S=document['querySelector']('#pluginNotice');if(S){if(S['querySelector'](b['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][J]['version']=P;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](I))window['PluginUpdates']['downloaded']['push'](I);}b['PluginUtils']['removeUpdateNotice'](I,S);}});});};b['PluginUtils']['checkChangeLog']=function(I){if(!b['ObjectUtils']['is'](I)||!I['changelog'])return;let J=b['DataUtils']['load'](I,'changelog');if(!J['currentversion']||b['NumberUtils']['compareVersions'](I['version'],J['currentversion'])){J['currentversion']=I['version'];b['DataUtils']['save'](J,I,'changelog');b['PluginUtils']['openChangeLog'](I);}};b['PluginUtils']['openChangeLog']=function(I){if(!b['ObjectUtils']['is'](I)||!I['changelog'])return;let J='',K={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let L in I['changelog']){L=L['toLowerCase']();let M=b['disCN']['changelog'+L];if(M){J+=''+K[L]+'
    ';for(let N of I['changelog'][L])J+='
  • '+N[0x0]+''+(N[0x1]?':\x20'+N[0x1]+'.':'')+'
  • ';J+='
';}}if(J)b['ModalUtils']['open'](I,{'header':I['name']+'\x20'+b['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'subheader':'Version\x20'+I['version'],'children':b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](J)),'className':b['disCN']['modalchangelogmodal'],'contentClassName':b['disCNS']['changelogcontainer']+b['disCN']['modalminicontent']});};b['PluginUtils']['addLoadingIcon']=function(I){if(!Node['prototype']['isPrototypeOf'](I))return;let J=document['querySelector'](b['dotCN']['app']);if(!J)return;b['DOMUtils']['addClass'](I,b['disCN']['loadingicon']);let K=document['querySelector'](b['dotCN']['app']+'>'+b['dotCN']['loadingiconwrapper']);if(!K){K=b['DOMUtils']['create']('');J['appendChild'](K);let L=new MutationObserver(M=>{if(!K['firstElementChild'])b['DOMUtils']['remove'](K);});L['observe'](K,{'childList':!![]});}K['appendChild'](I);};b['PluginUtils']['createSettingsPanel']=function(I,J){if(!b['ObjectUtils']['is'](I)||!J||!b['ReactUtils']['isValidElement'](J)&&!b['ArrayUtils']['is'](J))return;let K=b['DOMUtils']['create']('');b['ReactUtils']['render'](b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsPanel'],{'key':I['name']+'-settingsPanel','title':I['name'],'controls':[I['changelog']&&b['ReactUtils']['createElement'](x['LibraryComponents']['Clickable'],{'className':b['disCN']['settingspanelheaderbutton'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['CHANGELOG'],'onClick':L=>{b['PluginUtils']['openChangeLog'](I);}})})}),I!=b&&!I['noLibrary']&&b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],{'size':x['LibraryComponents']['Button']['Sizes']['MIN'],'children':b['LanguageUtils']['LibraryStrings']['library_settings'],'onClick':L=>{let M=b['DOMUtils']['getParent'](b['dotCN']['_repocard'],L['currentTarget']);if(M){let N=c['createLibrarySettings']();if(N){let O=[];while(M['childElementCount']){O['push'](M['firstChild']);M['firstChild']['remove']();}let P=b['DOMUtils']['create']('');M['appendChild'](P);P['addEventListener']('click',Q=>{while(M['childElementCount'])M['firstChild']['remove']();while(O['length'])M['appendChild'](O['shift']());let R=M['querySelector'](b['dotCN']['_reposettings']);if(R){while(R['childElementCount'])R['firstChild']['remove']();R['appendChild'](I['getSettingsPanel']());}});M['appendChild'](N);}}}})],'children':J}),K);return K;};b['PluginUtils']['refreshSettingsPanel']=function(I,J,...K){if(!b['ObjectUtils']['is'](I)||typeof I['getSettingsPanel']!='function'||!Node['prototype']['isPrototypeOf'](J)||!J['parentElement'])return;J['parentElement']['appendChild'](I['getSettingsPanel'](...K));J['remove']();};c['createLibrarySettings']=function(){if(!window['BDFDB']||typeof b!='object'||!b['loaded'])return;let I,J=[];let K=b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['showToasts']);for(let L in g)J['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsSaveItem'],{'className':b['disCN']['marginbottom8'],'type':'Switch','plugin':c,'disabled':L=='showToasts'&&K,'keys':['settings',L],'label':c['defaults']['settings'][L]['description'],'note':L=='showToasts'&&K&&'Disable\x20BBDs\x20general\x20\x27Show\x20Toast\x27\x20setting\x20before\x20disabling\x20this','dividerbottom':!![],'value':g[L]||L=='showToasts'&&K}));return I=b['PluginUtils']['createSettingsPanel'](b,J);};c['clearStartTimeout']=function(I){if(!b['ObjectUtils']['is'](I))return;b['TimeUtils']['clear'](I['startTimeout'],I['libLoadTimeout']);delete I['startTimeout'];delete I['libLoadTimeout'];};c['addSpecialListeners']=function(I){I=I==b&&c||I;if(b['ObjectUtils']['is'](I)){if(typeof I['onSettingsClosed']==='function'){let J=b['ModuleUtils']['findByName']('StandardSidebarView');if(J)b['ModuleUtils']['patch'](I,J['prototype'],'componentWillUnmount',{'after':K=>{I['onSettingsClosed']();}});}if(typeof I['onSwitch']==='function'){let K=document['querySelector'](b['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+b['dotCN']['chatspacer']);if(K){let L=new MutationObserver(N=>{N['forEach'](O=>{if(O['target']&&b['DOMUtils']['containsClass'](O['target'],b['disCN']['nochannel']))I['onSwitch']();});});b['ObserverUtils']['connect'](I,K['querySelector'](b['dotCNC']['chat']+b['dotCN']['nochannel']),{'name':'switchFixNoChannelObserver','instance':L},{'attributes':!![]});let M=new MutationObserver(N=>{N['forEach'](O=>{if(O['addedNodes']){O['addedNodes']['forEach'](P=>{if(b['DOMUtils']['containsClass'](P,b['disCN']['chat'],b['disCN']['nochannel'],![])){b['ObserverUtils']['connect'](I,P,{'name':'switchFixNoChannelObserver','instance':L},{'attributes':!![]});}});}});});b['ObserverUtils']['connect'](I,K,{'name':'switchFixSpacerObserver','instance':M},{'childList':!![]});}}c['addContextListeners'](I);}};b['ObserverUtils']={};b['ObserverUtils']['connect']=function(I,J,K,L={'childList':!![]}){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!J||!K)return;if(b['ObjectUtils']['isEmpty'](I['observers']))I['observers']={};if(!b['ArrayUtils']['is'](I['observers'][K['name']]))I['observers'][K['name']]=[];if(!K['multi'])for(let N of I['observers'][K['name']])N['disconnect']();if(K['instance'])I['observers'][K['name']]['push'](K['instance']);let M=I['observers'][K['name']][I['observers'][K['name']]['length']-0x1];if(M){let O=Node['prototype']['isPrototypeOf'](J)?J:typeof J==='string'?document['querySelector'](J):null;if(O)M['observe'](O,L);}};b['ObserverUtils']['disconnect']=function(I,J){I=I==b&&c||I;if(b['ObjectUtils']['is'](I)&&!b['ObjectUtils']['isEmpty'](I['observers'])){let K=typeof J=='string'?J:b['ObjectUtils']['is'](J)?J['name']:null;if(!K){for(let L in I['observers'])for(let M of I['observers'][L])M['disconnect']();delete I['observers'];}else if(!b['ArrayUtils']['is'](I['observers'][K])){for(let N of I['observers'][K])N['disconnect']();delete I['observers'][K];}}};b['StoreChangeUtils']={};b['StoreChangeUtils']['add']=function(I,J,K){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ObjectUtils']['is'](J)||typeof J['addChangeListener']!='function'||typeof K!='function')return;b['ListenerUtils']['remove'](I,J,K);if(!b['ArrayUtils']['is'](I['changeListeners']))I['changeListeners']=[];I['changeListeners']['push']({'store':J,'callback':K});J['addChangeListener'](K);};b['StoreChangeUtils']['remove']=function(I,J,K){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ArrayUtils']['is'](I['changeListeners']))return;if(!J){while(I['changeListeners']['length']){let L=I['changeListeners']['pop']();L['store']['removeChangeListener'](L['callback']);}}else if(b['ObjectUtils']['is'](J)&&typeof J['addChangeListener']=='function'){if(!K){for(let M of I['changeListeners']){let N=[];if(M['store']==J){M['store']['removeChangeListener'](M['callback']);N['push'](M);}if(N['length'])I['changeListeners']=I['changeListeners']['filter'](O=>!N['includes'](O));}}else if(typeof K=='function'){J['removeChangeListener'](K);I['changeListeners']=I['changeListeners']['filter'](O=>O['store']==J&&O['callback']==K);}}};b['ListenerUtils']={};b['ListenerUtils']['add']=function(I,J,K,L,M){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!Node['prototype']['isPrototypeOf'](J)&&J!==window||!K)return;let N=typeof L=='function';let O=N?undefined:L;let P=N?L:M;if(typeof P!='function')return;b['ListenerUtils']['remove'](I,J,K,O);for(let Q of K['split']('\x20')){Q=Q['split']('.');let R=Q['shift']()['toLowerCase']();if(!R)return;let S=R;R=R=='mouseenter'||R=='mouseleave'?'mouseover':R;let T=(Q['join']('.')||'')+I['name'];if(!b['ArrayUtils']['is'](I['eventListeners']))I['eventListeners']=[];let U=null;if(O){if(S=='mouseenter'||S=='mouseleave'){U=V=>{for(let W of V['path'])if(typeof W['matches']=='function'&&W['matches'](O)&&!W[T+'BDFDB'+S]){W[T+'BDFDB'+S]=!![];if(S=='mouseenter')P(b['ListenerUtils']['copyEvent'](V,W));let X=Y=>{if(Y['target']['contains'](W)||Y['target']==W||!W['contains'](Y['target'])){if(S=='mouseleave')P(b['ListenerUtils']['copyEvent'](V,W));delete W[T+'BDFDB'+S];document['removeEventListener']('mouseout',X);}};document['addEventListener']('mouseout',X);break;}};}else{U=V=>{for(let W of V['path'])if(typeof W['matches']=='function'&&W['matches'](O)){P(b['ListenerUtils']['copyEvent'](V,W));break;}};}}else U=V=>{P(b['ListenerUtils']['copyEvent'](V,J));};I['eventListeners']['push']({'ele':J,'eventName':R,'origEventName':S,'namespace':T,'selector':O,'eventCallback':U});J['addEventListener'](R,U,!![]);}};b['ListenerUtils']['remove']=function(I,J,K='',L){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ArrayUtils']['is'](I['eventListeners']))return;if(!J){while(I['eventListeners']['length']){let M=I['eventListeners']['pop']();M['ele']['removeEventListener'](M['eventName'],M['eventCallback'],!![]);}}else if(Node['prototype']['isPrototypeOf'](J)||J===window){for(let N of K['split']('\x20')){N=N['split']('.');let O=N['shift']()['toLowerCase']();let P=(N['join']('.')||'')+I['name'];for(let Q of I['eventListeners']){let R=[];if(Q['ele']==J&&(!O||Q['origEventName']==O)&&Q['namespace']==P&&(L===undefined||Q['selector']==L)){Q['ele']['removeEventListener'](Q['eventName'],Q['eventCallback'],!![]);R['push'](Q);}if(R['length'])I['eventListeners']=I['eventListeners']['filter'](S=>!R['includes'](S));}}}};b['ListenerUtils']['multiAdd']=function(I,J,K){if(!Node['prototype']['isPrototypeOf'](I)||!J||typeof K!='function')return;for(let L of J['trim']()['split']('\x20')['filter'](M=>M))I['addEventListener'](L,K,!![]);};b['ListenerUtils']['multiRemove']=function(I,J,K){if(!Node['prototype']['isPrototypeOf'](I)||!J||typeof K!='function')return;for(let L of J['trim']()['split']('\x20')['filter'](M=>M))I['removeEventListener'](L,K,!![]);};b['ListenerUtils']['addToChildren']=function(I,J,K,L){if(!Node['prototype']['isPrototypeOf'](I)||!J||!K||!K['trim']()||typeof L!='function')return;for(let M of J['trim']()['split']('\x20')['filter'](N=>N)){let N=L;if(M=='mouseenter'||M=='mouseleave')N=O=>{if(O['target']['matches'](K))L(O);};I['querySelectorAll'](K['trim']())['forEach'](O=>{O['addEventListener'](M,N,!![]);});}};b['ListenerUtils']['copyEvent']=function(I,J){if(!I||!I['constructor']||!I['type'])return I;let K=new I['constructor'](I['type'],I);Object['defineProperty'](K,'originalEvent',{'value':I});Object['defineProperty'](K,'which',{'value':I['which']});Object['defineProperty'](K,'keyCode',{'value':I['keyCode']});Object['defineProperty'](K,'path',{'value':I['path']});Object['defineProperty'](K,'relatedTarget',{'value':I['relatedTarget']});Object['defineProperty'](K,'srcElement',{'value':I['srcElement']});Object['defineProperty'](K,'target',{'value':I['target']});Object['defineProperty'](K,'toElement',{'value':I['toElement']});if(J)Object['defineProperty'](K,'currentTarget',{'value':J});return K;};b['ListenerUtils']['stopEvent']=function(I){if(b['ObjectUtils']['is'](I)){if(typeof I['preventDefault']=='function')I['preventDefault']();if(typeof I['stopPropagation']=='function')I['stopPropagation']();if(typeof I['stopImmediatePropagation']=='function')I['stopImmediatePropagation']();if(b['ObjectUtils']['is'](I['originalEvent'])){if(typeof I['originalEvent']['preventDefault']=='function')I['originalEvent']['preventDefault']();if(typeof I['originalEvent']['stopPropagation']=='function')I['originalEvent']['stopPropagation']();if(typeof I['originalEvent']['stopImmediatePropagation']=='function')I['originalEvent']['stopImmediatePropagation']();}}};var h=[],i={'queue':[],'running':![]};b['NotificationUtils']={};b['NotificationUtils']['toast']=function(I,J={}){let K=document['querySelector']('.toasts,\x20.bd-toasts');if(!K){let M=document['querySelector'](b['dotCN']['channels']+'\x20+\x20div');let N=M?b['DOMUtils']['getRects'](M):null;let O=M?M['querySelector'](b['dotCN']['memberswrap']):null;let P=N?N['left']:0x136;let Q=N?O?N['width']-b['DOMUtils']['getRects'](O)['width']:N['width']:window['outerWidth']-0x0;let R=M?M['querySelector']('form'):null;let S=R?b['DOMUtils']['getRects'](R)['height']:0x50;K=b['DOMUtils']['create']('');(document['querySelector'](b['dotCN']['app'])||document['body'])['appendChild'](K);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=J;let L=b['DOMUtils']['create'](''+(html===!![]?I:b['StringUtils']['htmlEscape'](I))+'');if(type){b['DOMUtils']['addClass'](L,'toast-'+type);if(icon)b['DOMUtils']['addClass'](L,'icon');}else if(color){let T=b['ColorUtils']['convert'](color,'RGB');if(T)L['style']['setProperty']('background-color',T);}b['DOMUtils']['addClass'](L,selector);K['appendChild'](L);L['close']=U=>{if(document['contains'](L)){b['DOMUtils']['addClass'](L,'closing');L['style']['setProperty']('pointer-events','none','important');b['TimeUtils']['timeout'](V=>{L['remove']();if(!K['querySelectorAll']('.toast,\x20.bd-toast')['length'])K['remove']();},0xbb8);}};if(nopointer)L['style']['setProperty']('pointer-events','none','important');else L['addEventListener']('click',L['close']);b['TimeUtils']['timeout'](U=>{L['close']();},timeout>0x0?timeout:0x927c0);return L;};b['NotificationUtils']['desktop']=function(I,J={}){const K=N=>{i['queue']['push']({'parsedcontent':I,'parsedoptions':J});L();};const L=N=>{if(!i['running']){let O=i['queue']['shift']();if(O)M(O['parsedcontent'],O['parsedoptions']);}};const M=(N,O)=>{i['running']=!![];let P=O['silent'];O['silent']=O['silent']||O['sound']?!![]:![];let Q=new Notification(N,O);let R=new Audio();let S=b['TimeUtils']['timeout'](U=>{T();},O['timeout']?O['timeout']:0xbb8);if(typeof O['click']=='function')Q['onclick']=U=>{b['TimeUtils']['clear'](S);T();O['click']();};if(!P&&O['sound']){R['src']=O['sound'];R['play']();}const T=U=>{R['pause']();Q['close']();i['running']=![];b['TimeUtils']['timeout'](V=>{L();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')K();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(N){if(N==='granted')K();});};b['NotificationUtils']['notice']=function(I,J={}){if(!I)return;let K=document['querySelector'](b['dotCN']['layers']);if(!K)return;let L=b['NumberUtils']['generateId'](h);let M=b['DOMUtils']['create']('');K['parentElement']['insertBefore'](M,K);let N=M['querySelector']('.notice-message');if(J['platform'])for(let Q of J['platform']['split']('\x20'))if(u['noticeicon'+Q]){let R=b['DOMUtils']['create']('');b['DOMUtils']['addClass'](R,b['disCN']['noticeplatformicon']);b['DOMUtils']['removeClass'](R,b['disCN']['noticeicon']);M['insertBefore'](R,N);}if(J['customicon']){let S=b['DOMUtils']['create'](J['customicon']);let T=b['DOMUtils']['create']('');if(S['tagName']=='span'&&!S['firstElementChild'])T['style']['setProperty']('background','url('+J['customicon']+')\x20center/cover\x20no-repeat');else T['appendChild'](S);b['DOMUtils']['addClass'](T,b['disCN']['noticeplatformicon']);b['DOMUtils']['removeClass'](T,b['disCN']['noticeicon']);M['insertBefore'](T,N);}if(J['btn']||J['button'])M['appendChild'](b['DOMUtils']['create'](''+(J['btn']||J['button'])+''));if(J['id'])M['id']=J['id']['split']('\x20')['join']('');if(J['selector'])b['DOMUtils']['addClass'](M,J['selector']);if(J['css'])b['DOMUtils']['appendLocalStyle']('BDFDBcustomNotificationBar'+L,J['css']);if(J['style'])M['style']=J['style'];if(J['html']===!![])N['innerHTML']=I;else{let U=document['createElement']('a');let V=[];for(let W of I['split']('\x20')){let X=b['StringUtils']['htmlEscape'](W);U['href']=W;V['push'](U['host']&&U['host']!==window['location']['host']?''+X+'':X);}N['innerHTML']=V['join']('\x20');}let O=null;if(J['type']&&!document['querySelector'](b['dotCNS']['chatbase']+b['dotCN']['noticestreamer'])){if(O=b['disCN']['notice'+J['type']])b['DOMUtils']['addClass'](M,O);if(J['type']=='premium'){let Y=M['querySelector'](b['dotCN']['noticebutton']);if(Y)b['DOMUtils']['addClass'](Y,b['disCN']['noticepremiumaction']);b['DOMUtils']['addClass'](N,b['disCN']['noticepremiumtext']);M['insertBefore'](b['DOMUtils']['create'](''),N);}}if(!O){let Z=b['ColorUtils']['convert'](J['color'],'RGBCOMP');if(Z){let a0=Z[0x0]>0xb4&&Z[0x1]>0xb4&&Z[0x2]>0xb4?'#000':'#FFF';let a1=b['ColorUtils']['convert'](Z,'HEX');let a2=Z[0x0]>0xb4&&Z[0x1]>0xb4&&Z[0x2]>0xb4?'brightness(0%)':'brightness(100%)';b['DOMUtils']['appendLocalStyle']('BDFDBcustomNotificationBarColorCorrection'+L,b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]{background-color:'+a1+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20.notice-message\x20{color:'+a0+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20'+b['dotCN']['noticebutton']+'\x20{color:'+a0+'\x20!important;border-color:'+b['ColorUtils']['setAlpha'](a0,0.25,'RGBA')+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20'+b['dotCN']['noticebutton']+':hover\x20{color:'+a1+'\x20!important;background-color:'+a0+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20'+b['dotCN']['noticedismiss']+'\x20{filter:'+a2+'\x20!important;}');}else b['DOMUtils']['addClass'](M,b['disCN']['noticedefault']);}M['style']['setProperty']('height','36px','important');M['style']['setProperty']('min-width','70vw','important');M['style']['setProperty']('left','unset','important');M['style']['setProperty']('right','unset','important');let P=(b['DOMUtils']['getWidth'](document['body']['firstElementChild'])-b['DOMUtils']['getWidth'](M))/0x2;M['style']['setProperty']('left',P+'px','important');M['style']['setProperty']('right',P+'px','important');M['style']['setProperty']('min-width','unset','important');M['style']['setProperty']('width','unset','important');M['style']['setProperty']('max-width','calc(100vw\x20-\x20'+P*0x2+'px)','important');M['querySelector'](b['dotCN']['noticedismiss'])['addEventListener']('click',a3=>{M['style']['setProperty']('overflow','hidden','important');M['style']['setProperty']('height','0px','important');b['TimeUtils']['timeout'](a4=>{b['ArrayUtils']['remove'](h,L);b['DOMUtils']['removeLocalStyle']('BDFDBcustomNotificationBar'+L);b['DOMUtils']['removeLocalStyle']('BDFDBcustomNotificationBarColorCorrection'+L);M['remove']();},0x1f4);});return M;};b['NotificationUtils']['alert']=function(I,J){if(typeof I=='string'&&typeof I=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](I,J);};var j=[];b['TooltipUtils']={};b['TooltipUtils']['create']=function(I,J,K={}){let L=document['querySelector'](b['dotCN']['appmount']+'\x20>\x20'+b['dotCN']['itemlayercontainer']);if(!L||typeof J!='string'&&!b['ObjectUtils']['is'](K['guild'])||!Node['prototype']['isPrototypeOf'](I)||!document['contains'](I))return null;let M=b['NumberUtils']['generateId'](j);let N=b['DOMUtils']['create']('');L['appendChild'](N);let O=N['firstElementChild'];let P=N['querySelector'](b['dotCN']['tooltipcontent']);let Q=N['querySelector'](b['dotCN']['tooltippointer']);if(K['id'])O['id']=K['id']['split']('\x20')['join']('');if(typeof K['type']!='string'||!b['disCN']['tooltip'+K['type']['toLowerCase']()])K['type']='top';let R=K['type']['toLowerCase']();b['DOMUtils']['addClass'](O,b['disCN']['tooltip'+R]);let S=![],T=![],U='';if(K['style'])U+=K['style'];if(K['fontColor']){S=b['ObjectUtils']['is'](K['fontColor']);if(!S)U=(U?U+'\x20':'')+('color:\x20'+b['ColorUtils']['convert'](K['fontColor'],'RGBA')+'\x20!important;');}if(K['backgroundColor']){T=!![];let X=b['ObjectUtils']['is'](K['backgroundColor']);let Y=!X?b['ColorUtils']['convert'](K['backgroundColor'],'RGBA'):b['ColorUtils']['createGradient'](K['backgroundColor']);U=(U?U+'\x20':'')+('background:\x20'+Y+'\x20!important;\x20border-color:\x20'+(X?b['ColorUtils']['convert'](K['backgroundColor'][R=='left'?0x64:0x0],'RGBA'):Y)+'\x20!important;');}if(U)O['style']=U;if(typeof K['zIndex']=='number'||K['unhideable']){N['style']['setProperty']('z-index',K['zIndex']||0x3ea,'important');O['style']['setProperty']('z-index',K['zIndex']||0x3ea,'important');P['style']['setProperty']('z-index',K['zIndex']||0x3ea,'important');}if(T||K['unhideable'])b['DOMUtils']['addClass'](O,b['disCN']['tooltipcustom']);else if(K['color']&&b['disCN']['tooltip'+K['color']['toLowerCase']()])b['DOMUtils']['addClass'](O,b['disCN']['tooltip'+K['color']['toLowerCase']()]);else b['DOMUtils']['addClass'](O,b['disCN']['tooltipblack']);if(K['list']||b['ObjectUtils']['is'](K['guild']))b['DOMUtils']['addClass'](O,b['disCN']['tooltiplistitem']);if(K['selector'])b['DOMUtils']['addClass'](O,K['selector']);if(b['ObjectUtils']['is'](K['guild'])){let Z=n['StreamUtils']['getAllApplicationStreams']()['filter'](a3=>a3['guildId']===K['guild']['id'])['map'](a3=>a3['ownerId'])||[];let a0=Z['map'](a3=>n['UserStore']['getUser'](a3))['filter'](a3=>a3);let a1=Object['keys'](n['VoiceUtils']['getVoiceStates'](K['guild']['id']))['map'](a3=>!Z['includes'](a3)&&b['LibraryModules']['UserStore']['getUser'](a3))['filter'](a3=>a3);let a2=J||K['guild']['toString']();if(S)a2=''+b['StringUtils']['htmlEscape'](a2)+'';b['ReactUtils']['render'](b['ReactUtils']['createElement'](b['ReactUtils']['Fragment'],{'children':[b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['tooltiprow'],b['disCN']['tooltiprowguildname']),'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['Badge'],{'guild':K['guild'],'size':n['StringUtils']['cssValueToNumber'](t['TooltipGuild']['iconSize']),'className':b['disCN']['tooltiprowicon']}),b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](b['disCN']['tooltipguildnametext'],(a1['length']||a0['length'])&&b['disCN']['tooltipguildnametextlimitedsize']),'children':S||K['html']?b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](a2)):a2})]}),a1['length']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['tooltiprow'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['SPEAKER'],'className':b['disCN']['tooltipactivityicon']}),b['ReactUtils']['createElement'](x['LibraryComponents']['UserSummaryItem'],{'users':a1,'max':0x6})]}):null,a0['length']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['tooltiprow'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['STREAM'],'className':b['disCN']['tooltipactivityicon']}),b['ReactUtils']['createElement'](x['LibraryComponents']['UserSummaryItem'],{'users':a0,'max':0x6})]}):null]['filter'](a3=>a3)}),P);}else{if(S)P['innerHTML']=''+b['StringUtils']['htmlEscape'](J)+'';else if(K['html']===!![])P['innerHTML']=J;else P['innerText']=J;}let V=a3=>{b['DOMUtils']['remove'](N);};if(!K['perssist'])I['addEventListener']('mouseleave',V);let W=new MutationObserver(a3=>a3['forEach'](a4=>{let a5=Array['from'](a4['removedNodes']);if(a5['indexOf'](N)>-0x1||a5['indexOf'](I)>-0x1||a5['some'](a6=>a6['contains'](I))){b['ArrayUtils']['remove'](j,M);W['disconnect']();b['DOMUtils']['remove'](N);b['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+M,L);I['removeEventListener']('mouseleave',V);if(typeof K['onHide']=='function')K['onHide'](N,I);}}));W['observe'](document['body'],{'subtree':!![],'childList':!![]});(O['update']=N['update']=a3=>{let a4,a5,a6=b['DOMUtils']['getRects'](I),a7=b['DOMUtils']['getRects'](N),a8=b['DOMUtils']['getRects'](document['querySelector'](b['dotCN']['appmount'])),a9={'height':0xa,'width':0xa},aa=typeof K['offset']=='number'?K['offset']:0x0;switch(R){case'top':a5=a6['top']-a7['height']-a9['height']+0x2-aa;a4=a6['left']+(a6['width']-a7['width'])/0x2;break;case'bottom':a5=a6['top']+a6['height']+a9['height']-0x2+aa;a4=a6['left']+(a6['width']-a7['width'])/0x2;break;case'left':a5=a6['top']+(a6['height']-a7['height'])/0x2;a4=a6['left']-a7['width']-a9['width']+0x2-aa;break;case'right':a5=a6['top']+(a6['height']-a7['height'])/0x2;a4=a6['left']+a6['width']+a9['width']-0x2+aa;break;}N['style']['setProperty']('top',a5+'px','important');N['style']['setProperty']('left',a4+'px','important');Q['style']['removeProperty']('margin-left');Q['style']['removeProperty']('margin-top');if(R=='top'||R=='bottom'){if(a4<0x0){N['style']['setProperty']('left','5px','important');Q['style']['setProperty']('margin-left',a4-0xa+'px','important');}else{let ab=a8['width']-(a4+a7['width']);if(ab<0x0){N['style']['setProperty']('left',a8['width']-a7['width']-0x5+'px','important');Q['style']['setProperty']('margin-left',-0x1*ab+'px','important');}}}else if(R=='left'||R=='right'){if(a5<0x0){N['style']['setProperty']('top','5px');Q['style']['setProperty']('margin-top',a5-0xa+'px','important');}else{let ac=a8['height']-(a5+a7['height']);if(ac<0x0){N['style']['setProperty']('top',a8['height']-a7['height']-0x5+'px','important');Q['style']['setProperty']('margin-top',-0x1*ac+'px','important');}}}if(K['unhideable']){for(let ad of[N,O,P]){ad['style']['setProperty']('position','absolute','important');ad['style']['setProperty']('right','unset','important');ad['style']['setProperty']('bottom','unset','important');ad['style']['setProperty']('display','block','important');ad['style']['setProperty']('opacity','1','important');ad['style']['setProperty']('visibility','visible','important');ad['style']['setProperty']('max-width','unset','important');ad['style']['setProperty']('min-width','50px','important');ad['style']['setProperty']('width','unset','important');ad['style']['setProperty']('max-height','unset','important');ad['style']['setProperty']('min-height','14px','important');ad['style']['setProperty']('height','unset','important');ad['style']['setProperty']('animation','unset','important');ad['style']['setProperty']('transform','unset','important');}for(let ae of[O,P]){ae['style']['setProperty']('position','static','important');ae['style']['setProperty']('top','unset','important');ae['style']['setProperty']('left','unset','important');}O['style']['setProperty']('background','#000','important');P['style']['setProperty']('color','#dcddde','important');Q['style']['setProperty']('border-top-color','#000','important');}})();if(K['delay']){b['DOMUtils']['toggle'](N);b['TimeUtils']['timeout'](a3=>{b['DOMUtils']['toggle'](N);if(typeof K['onShow']=='function')K['onShow'](N,I);},K['delay']);}else{if(typeof K['onShow']=='function')K['onShow'](N,I);}return N;};b['ObjectUtils']={};b['ObjectUtils']['is']=function(I){return I&&Object['prototype']['isPrototypeOf'](I)&&!Array['prototype']['isPrototypeOf'](I);};b['ObjectUtils']['extract']=function(I,...J){let K={};if(b['ObjectUtils']['is'](I))for(let L of J['flat'](0xa)['filter'](M=>M))if(I[L])K[L]=I[L];return K;};b['ObjectUtils']['exclude']=function(I,...J){let K=Object['assign']({},I);b['ObjectUtils']['delete'](K,...J);return K;};b['ObjectUtils']['delete']=function(I,...J){if(b['ObjectUtils']['is'](I))for(let K of J['flat'](0xa)['filter'](L=>L))delete I[K];};b['ObjectUtils']['sort']=function(I,J,K){if(!b['ObjectUtils']['is'](I))return{};let L={};if(J===undefined||!J)for(let M of Object['keys'](I)['sort']())L[M]=I[M];else{let N=[];for(let O in I)N['push'](I[O]);N=b['ArrayUtils']['keySort'](N,J,K);for(let P of N)for(let Q in I)if(b['equals'](P,I[Q])){L[Q]=P;break;}}return L;};b['ObjectUtils']['reverse']=function(I,J){if(!b['ObjectUtils']['is'](I))return{};let K={};for(let L of J===undefined||!J?Object['keys'](I)['reverse']():Object['keys'](I)['sort']()['reverse']())K[L]=I[L];return K;};b['ObjectUtils']['filter']=function(I,J,K=![]){if(!b['ObjectUtils']['is'](I))return{};if(typeof J!='function')return I;return Object['keys'](I)['filter'](L=>J(K?L:I[L]))['reduce']((L,M)=>(L[M]=I[M],L),{});};b['ObjectUtils']['push']=function(I,J){if(b['ObjectUtils']['is'](I))I[Object['keys'](I)['length']]=J;};b['ObjectUtils']['pop']=function(I,J){if(b['ObjectUtils']['is'](I)){let K=Object['keys'](I);if(!K['length'])return;let L=I[K[K['length']-0x1]];delete I[K[K['length']-0x1]];return L;}};b['ObjectUtils']['map']=function(I,J){if(!b['ObjectUtils']['is'](I))return{};if(typeof J!='string'&&typeof J!='function')return I;let K={};for(let L in I)if(b['ObjectUtils']['is'](I[L]))K[L]=typeof J=='string'?I[L][J]:J(I[L],L);return K;};b['ObjectUtils']['toArray']=function(I){if(!b['ObjectUtils']['is'](I))return[];return Object['entries'](I)['map'](J=>J[0x1]);};b['ObjectUtils']['deepAssign']=function(I,...J){if(!J['length'])return I;let K=J['shift']();if(b['ObjectUtils']['is'](I)&&b['ObjectUtils']['is'](K)){for(let L in K){if(b['ObjectUtils']['is'](K[L])){if(!I[L])Object['assign'](I,{[L]:{}});b['ObjectUtils']['deepAssign'](I[L],K[L]);}else Object['assign'](I,{[L]:K[L]});}}return b['ObjectUtils']['deepAssign'](I,...J);};b['ObjectUtils']['isEmpty']=function(I){return!b['ObjectUtils']['is'](I)||Object['getOwnPropertyNames'](I)['length']==0x0;};b['ArrayUtils']={};b['ArrayUtils']['is']=function(I){return I&&Array['isArray'](I);};b['ArrayUtils']['sum']=function(I){return Array['isArray'](I)?I['reduce']((J,K)=>J+Math['round'](K),0x0):0x0;};b['ArrayUtils']['keySort']=function(I,J,K){if(!b['ArrayUtils']['is'](I))return[];if(J==null)return I;if(K===undefined)K=null;return I['sort']((L,M)=>{let N=L[J],O=M[J];if(N!==K)return NO?0x1:0x0;});};b['ArrayUtils']['numSort']=function(I){return I['sort']((J,K)=>JK?0x1:0x0);};b['ArrayUtils']['includes']=function(I,...J){if(!b['ArrayUtils']['is'](I))return null;if(!I['length'])return![];let K=J['pop']();if(typeof K!='boolean'){J['push'](K);K=!![];}if(!J['length'])return![];let L=undefined;for(let M of J){if(L===undefined)L=K;if(K&&!I['includes'](M))L=![];if(!K&&I['includes'](M))L=!![];}return L;};b['ArrayUtils']['remove']=function(I,J,K=![]){if(!b['ArrayUtils']['is'](I))return[];if(!I['includes'](J))return I;if(!K)I['splice'](I['indexOf'](J),0x1);else while(I['indexOf'](J)>-0x1)I['splice'](I['indexOf'](J),0x1);return I;};b['ArrayUtils']['getAllIndexes']=function(I,J){if(!b['ArrayUtils']['is'](I)&&typeof I!='string')return[];var K=[],L=-0x1;while((L=I['indexOf'](J,L+0x1))!==-0x1)K['push'](L);return K;};b['ArrayUtils']['removeCopies']=function(I){if(!b['ArrayUtils']['is'](I))return[];return[...new Set(I)];};b['ModuleUtils']={};b['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};b['ModuleUtils']['find']=function(I,J){J=typeof J!='boolean'?!![]:J;let K=c['getWebModuleReq']();for(let L in K['c'])if(K['c']['hasOwnProperty'](L)){let M=K['c'][L]['exports'];if(M&&(typeof M=='object'||typeof M=='function')&&I(M))return J?M:K['c'][L];if(M&&M['__esModule']){for(let N in M)if(M[N]&&(typeof M[N]=='object'||typeof M[N]=='function')&&I(M[N]))return J?M[N]:K['c'][L];if(M['default']&&(typeof M['default']=='object'||typeof M['default']=='function'))for(let O in M['default'])if(M['default'][O]&&(typeof M['default'][O]=='object'||typeof M['default'][O]=='function')&&I(M['default'][O]))return J?M['default'][O]:K['c'][L];}}for(let P in K['m'])if(K['m']['hasOwnProperty'](P)){let Q=K['m'][P];if(Q&&typeof Q=='function'&&I(Q)){if(K['c'][P])return J?K['c'][P]['exports']:K['c'][P];else{let R={};K['m'][P](R,null,K);return J?R['exports']:R;}}}};b['ModuleUtils']['findByProperties']=function(...I){I=I['flat'](0xa);let J=I['pop']();if(typeof J!='boolean'){I['push'](J);J=!![];}return c['findModule']('prop',JSON['stringify'](I),K=>I['every'](L=>K[L]!==undefined),J);};b['ModuleUtils']['findByName']=function(I,J){return c['findModule']('name',JSON['stringify'](I),K=>K['displayName']===I||K['render']&&K['render']['displayName']===I,typeof J!='boolean'?!![]:J);};b['ModuleUtils']['findByString']=function(...I){I=I['flat'](0xa);let J=I['pop']();if(typeof J!='boolean'){I['push'](J);J=!![];}return c['findModule']('string',JSON['stringify'](I),K=>I['every'](L=>typeof K=='function'&&(K['toString']()['indexOf'](L)>-0x1||typeof K['__originalMethod']=='function'&&K['__originalMethod']['toString']()['indexOf'](L)>-0x1||typeof K['__originalFunction']=='function'&&K['__originalFunction']['toString']()['indexOf'](L)>-0x1)||b['ObjectUtils']['is'](K)&&typeof K['type']=='function'&&K['type']['toString']()['indexOf'](L)>-0x1),J);};b['ModuleUtils']['findByPrototypes']=function(...I){I=I['flat'](0xa);let J=I['pop']();if(typeof J!='boolean'){I['push'](J);J=!![];}return c['findModule']('proto',JSON['stringify'](I),K=>K['prototype']&&I['every'](L=>K['prototype'][L]!==undefined),J);};c['findModule']=function(I,J,K,L){if(!b['ObjectUtils']['is'](b['ModuleUtils']['cached'][I]))b['ModuleUtils']['cached'][I]={'module':{},'export':{}};if(L&&b['ModuleUtils']['cached'][I]['export'][J])return b['ModuleUtils']['cached'][I]['export'][J];else if(!L&&b['ModuleUtils']['cached'][I]['module'][J])return b['ModuleUtils']['cached'][I]['module'][J];else{let M=b['ModuleUtils']['find'](K,L);if(M){if(L)b['ModuleUtils']['cached'][I]['export'][J]=M;else b['ModuleUtils']['cached'][I]['module'][J]=M;return M;}else b['LogUtils']['warn'](J+'\x20['+I+']\x20not\x20found\x20in\x20WebModules');}};c['getWebModuleReq']=function(){if(!c['getWebModuleReq']['req']){const I='BDFDB-WebModules';const J=window['webpackJsonp']['push']([[],{[I]:(K,L,M)=>K['exports']=M},[[I]]]);delete J['m'][I];delete J['c'][I];c['getWebModuleReq']['req']=J;}return c['getWebModuleReq']['req'];};var k={};k['PatchTypes']=['before','instead','after'];k['PatchMap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchResult':'Result','UserProfile':'UserProfileBody'};k['ForceObserve']=['DirectMessage','GuildIcon'];k['MemoComponent']=['EmojiPicker','ExpressionPicker','GuildFolder','MessageContent','NowPlayingHeader'];k['NonRender']=b['ArrayUtils']['removeCopies']([]['concat'](k['MemoComponent'],['Attachment','ChannelCallHeader','ConnectedPrivateChannelsList','DiscordTag','IncomingCallModal','InviteModalUserRow','Mention','Menu','MenuCheckboxItem','MenuControlItem','MenuItem','Message','MessageTimestamp','NameTag','NowPlayingItem','PictureInPictureVideo','PrivateChannelEmptyMessage','RecentsChannelHeader','RecentsHeader','SystemMessage','SimpleMessageAccessories','UnreadMessages','UserInfo','WebhookCard']));k['LoadedInComponents']={'AutocompleteChannelResult':'LibraryComponents.AutocompleteItems.Channel','AutocompleteUserResult':'LibraryComponents.AutocompleteItems.User','QuickSwitchChannelResult':'LibraryComponents.QuickSwitchItems.Channel','QuickSwitchGroupDMResult':'LibraryComponents.QuickSwitchItems.GroupDM','QuickSwitchGuildResult':'LibraryComponents.QuickSwitchItems.Guild','QuickSwitchUserResult':'LibraryComponents.QuickSwitchItems.User'};k['SpecialFilter']={'V2C_ContentColumn':I=>I&&I['return']&&I['return']['stateNode']&&I['return']['stateNode']['props']&&typeof I['return']['stateNode']['props']['title']=='string'&&(I['return']['stateNode']['props']['title']['toUpperCase']()['indexOf']('PLUGINS')==0x0||I['return']['stateNode']['props']['title']['toUpperCase']()['indexOf']('THEMES')==0x0)&&I['return']['type'],'GuildFolder':I=>I&&I['return']&&I['return']['memoizedProps']&&I['return']['memoizedProps']['folderId']&&I['return']['memoizedProps']['guildIds']&&I['return']['type']};k['PatchFinder']={'Account':'accountinfo','App':'app','AppSkeleton':'app','AppView':'appcontainer','AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','Category':'categorycontainerdefault','ChannelCall':'callcurrentcontainer','ChannelMember':'member','Channels':'guildchannels','ChannelTextAreaForm':'chatform','ChannelWindow':'chatcontent','DirectMessage':'guildouter','Guild':'guildouter','GuildFolder':'guildfolderwrapper','GuildIcon':'avataricon','GuildRoleSettings':'settingswindowcontent','Guilds':'guildswrapper','GuildSettings':'layer','GuildSettingsBans':'guildsettingsbannedcard','GuildSettingsEmoji':'guildsettingsemojicard','GuildSettingsMembers':'guildsettingsmembercard','GuildSidebar':'guildchannels','I18nLoaderWrapper':'app','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','MemberCard':'guildsettingsmembercard','Messages':'messages','MessagesPopout':'messagespopout','ModalLayer':'layermodal','MutualGuilds':'userprofilebody','MutualFriends':'userprofilebody','Note':'usernotetextarea','PopoutContainer':'popout','Popouts':'popouts','PrivateChannelCall':'callcurrentcontainer','PrivateChannelCallParticipants':'callcurrentcontainer','PrivateChannelRecipientsInvitePopout':'searchpopoutdmaddpopout','PrivateChannelsList':'dmchannelsscroller','QuickSwitchChannelResult':'quickswitchresult','QuickSwitchGuildResult':'quickswitchresult','QuickSwitchResult':'quickswitchresult','Reaction':'messagereactionme','Reactor':'messagereactionsmodalreactor','RTCConnection':'voicedetails','SearchResults':'searchresultswrap','TypingUsers':'typing','UnreadDMs':'guildsscroller','Upload':'uploadmodal','UserHook':'auditloguserhook','UserPopout':'userpopout','UserProfile':'userprofile','V2C_ContentColumn':'settingswindowcontentcolumn'};k['CodeFinder']={'EmojiPicker':['allowManagedEmojis','EMOJI_PICKER_TAB_PANEL_ID','diversitySelector'],'SearchResultsInner':['SEARCH_HIDE_BLOCKED_MESSAGES','totalResults','SEARCH_PAGE_SIZE']};k['PropsFinder']={'Avatar':'AnimatedAvatar','MessageHeader':'MessageTimestamp','UnavailableGuildsButton':'UnavailableGuildsButton'};k['NonPrototype']=b['ArrayUtils']['removeCopies']([]['concat'](k['NonRender'],Object['keys'](k['CodeFinder']),Object['keys'](k['PropsFinder']),['ChannelTextAreaContainer']));b['ModuleUtils']['isPatched']=function(I,J,K){I=I==b&&c||I;if(!I||!b['ObjectUtils']['is'](J)||!J['BDFDBpatch']||!K)return![];const L=(typeof I==='string'?I:I['name'])['toLowerCase']();return L&&J[K]&&J[K]['__isBDFDBpatched']&&J['BDFDBpatch'][K]&&b['ObjectUtils']['toArray'](J['BDFDBpatch'][K])['some'](M=>b['ObjectUtils']['toArray'](M)['some'](N=>Object['keys'](N)['includes'](L)));};b['ModuleUtils']['patch']=function(I,J,K,L,M={}){I=I==b&&c||I;if(!I||!b['ObjectUtils']['is'](J)||!K||!b['ObjectUtils']['is'](L))return null;L=b['ObjectUtils']['filter'](L,R=>k['PatchTypes']['includes'](R),!![]);if(b['ObjectUtils']['isEmpty'](L))return null;const N=typeof I==='string'?I:I['name'];const O=N['toLowerCase']();const P=b['ObjectUtils']['is'](I)&&!isNaN(I['patchPriority'])?I['patchPriority']<0x0?0x0:I['patchPriority']>0xa?0xa:Math['round'](I['patchPriority']):0x5;if(!b['ObjectUtils']['is'](J['BDFDBpatch']))J['BDFDBpatch']={};K=[K]['flat'](0xa)['filter'](R=>R);let Q=R=>{b['ModuleUtils']['unpatch'](I,J,K);};for(let R of K)if(J[R]==null||typeof J[R]=='function'){if(!J['BDFDBpatch'][R]||M['force']&&(!J[R]||!J[R]['__isBDFDBpatched'])){if(!J['BDFDBpatch'][R]){J['BDFDBpatch'][R]={};for(let T of k['PatchTypes'])J['BDFDBpatch'][R][T]={};}if(!J[R])J[R]=U=>{};const S=J[R];J['BDFDBpatch'][R]['originalMethod']=S;J[R]=function(){let U=![],V=![];const W={'thisObject':this,'methodArguments':arguments,'originalMethod':S,'originalMethodName':R,'callOriginalMethod':X=>{if(!V)W['returnValue']=W['originalMethod']['apply'](W['thisObject'],W['methodArguments']);},'callOriginalMethodAfterwards':X=>{U=!![];},'stopOriginalMethodCall':X=>{V=!![];}};if(J['BDFDBpatch']&&J['BDFDBpatch'][R]){for(let Y in J['BDFDBpatch'][R]['before'])for(let Z in b['ObjectUtils']['sort'](J['BDFDBpatch'][R]['before'][Y])){b['TimeUtils']['suppress'](J['BDFDBpatch'][R]['before'][Y][Z],'\x22before\x22\x20callback\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'),J['BDFDBpatch'][R]['before'][Y][Z]['pluginName'])(W);}if(!J['BDFDBpatch']||!J['BDFDBpatch'][R])return R=='render'&&W['returnValue']===undefined?null:W['returnValue'];let X=b['ObjectUtils']['toArray'](J['BDFDBpatch'][R]['instead'])['some'](a0=>!b['ObjectUtils']['isEmpty'](a0));if(X)for(let a0 in J['BDFDBpatch'][R]['instead'])for(let a1 in b['ObjectUtils']['sort'](J['BDFDBpatch'][R]['instead'][a0])){let a2=b['TimeUtils']['suppress'](J['BDFDBpatch'][R]['instead'][a0][a1],'\x22instead\x22\x20callback\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'),J['BDFDBpatch'][R]['instead'][a0][a1]['pluginName'])(W);if(a2!==undefined)W['returnValue']=a2;}if((!X||U)&&!V)b['TimeUtils']['suppress'](W['callOriginalMethod'],'originalMethod\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'))();if(!J['BDFDBpatch']||!J['BDFDBpatch'][R])return R=='render'&&W['returnValue']===undefined?null:W['returnValue'];for(let a3 in J['BDFDBpatch'][R]['after'])for(let a4 in b['ObjectUtils']['sort'](J['BDFDBpatch'][R]['after'][a3])){let a5=b['TimeUtils']['suppress'](J['BDFDBpatch'][R]['after'][a3][a4],'\x22after\x22\x20callback\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'),J['BDFDBpatch'][R]['after'][a3][a4]['pluginName'])(W);if(a5!==undefined)W['returnValue']=a5;}}else b['TimeUtils']['suppress'](W['callOriginalMethod'],'originalMethod\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'))();U=![],V=![];return R=='render'&&W['returnValue']===undefined?null:W['returnValue'];};for(let U of Object['keys'](S))J[R][U]=S[U];if(!J[R]['__originalFunction']){let V=S['__originalMethod']||S['__originalFunction']||S;if(typeof V=='function'){J[R]['__originalFunction']=V;J[R]['toString']=W=>V['toString']();}}J[R]['__isBDFDBpatched']=!![];}for(let W in L)if(typeof L[W]=='function'){if(!b['ObjectUtils']['is'](J['BDFDBpatch'][R][W][P]))J['BDFDBpatch'][R][W][P]={};J['BDFDBpatch'][R][W][P][O]=(...X)=>{if(M['once']||!I['started'])Q();return L[W](...X);};J['BDFDBpatch'][R][W][P][O]['pluginName']=N;}}if(b['ObjectUtils']['is'](I)&&!M['once']&&!M['noCache']){if(!b['ArrayUtils']['is'](I['patchCancels']))I['patchCancels']=[];I['patchCancels']['push'](Q);}return Q;};b['ModuleUtils']['unpatch']=function(I,J,K){I=I==b&&c||I;if(!J&&!K){if(b['ObjectUtils']['is'](I)&&b['ArrayUtils']['is'](I['patchCancels']))while(I['patchCancels']['length'])I['patchCancels']['pop']()();}else{if(!b['ObjectUtils']['is'](J)||!J['BDFDBpatch'])return;const M=!I?null:(typeof I==='string'?I:I['name'])['toLowerCase']();if(K){for(let N of[K]['flat'](0xa)['filter'](O=>O))if(J[N]&&J['BDFDBpatch'][N])L(N,M);}else for(let O of J['BDFDBpatch'])L(O,M);}function L(P,Q){for(let R of k['PatchTypes']){if(Q)for(let S in J['BDFDBpatch'][P][R]){delete J['BDFDBpatch'][P][R][S][Q];if(b['ObjectUtils']['isEmpty'](J['BDFDBpatch'][P][R][S]))delete J['BDFDBpatch'][P][R][S];}else delete J['BDFDBpatch'][P][R];}if(b['ObjectUtils']['isEmpty'](b['ObjectUtils']['filter'](J['BDFDBpatch'][P],T=>k['PatchTypes']['includes'](T)&&!b['ObjectUtils']['isEmpty'](J['BDFDBpatch'][P][T]),!![]))){J[P]=J['BDFDBpatch'][P]['originalMethod'];delete J['BDFDBpatch'][P];if(b['ObjectUtils']['isEmpty'](J['BDFDBpatch']))delete J['BDFDBpatch'];}}};b['ModuleUtils']['forceAllUpdates']=function(I,J){I=[I]['flat'](0xa)['map'](K=>K==b&&c||K)['filter'](K=>b['ObjectUtils']['is'](K['patchedModules']));if(I['length']){const K=document['querySelector'](b['dotCN']['app']);const L=document['querySelector']('#bd-settingspane-container\x20>\x20*');if(K){J=[J]['flat'](0xa)['filter'](O=>O)['map'](O=>O&&k['PatchMap'][O]?k['PatchMap'][O]+'\x20_\x20_\x20'+O:O);let M={};for(let O of I){M[O['name']]={'filteredModules':[],'specialModules':[],'specialModuleTypes':[],'patchTypes':{}};for(let P in O['patchedModules'])for(let Q in O['patchedModules'][P]){let R=[O['patchedModules'][P][Q]]['flat'](0xa)['filter'](S=>S);if(b['ArrayUtils']['includes'](R,'componentDidMount','componentDidUpdate','render',![])&&(!J['length']||J['includes'](Q))){let S=Q['split']('\x20_\x20_\x20')[0x1]||Q;let T=k['SpecialFilter'][S];let U=[k['PatchFinder'][S]]['flat'](0xa)['filter'](W=>u[W])['map'](W=>b['dotCN'][W])['join'](',\x20');if(U&&typeof T=='function'){for(let W of document['querySelectorAll'](U)){let X=T(b['ReactUtils']['getInstance'](W));if(X){M[O['name']]['specialModules']['push']([Q,X]);M[O['name']]['specialModuleTypes']['push'](Q);break;}}}else M[O['name']]['filteredModules']['push'](Q);let V=Q['split']('\x20_\x20_\x20')[0x0];if(!M[O['name']]['patchTypes'][V])M[O['name']]['patchTypes'][V]=[];M[O['name']]['patchTypes'][V]['push'](P);}}}let N=b['ObjectUtils']['toArray'](M);if(b['ArrayUtils']['sum'](N['map'](Y=>Y['filteredModules']['length']+Y['specialModules']['length']))){try{let Y=b['ArrayUtils']['removeCopies'](N['map'](a2=>a2['filteredModules'])['flat'](0xa));let Z=b['ArrayUtils']['removeCopies'](N['map'](a2=>a2['specialModules'])['flat'](0xa));const a0=b['ReactUtils']['findOwner'](K,{'name':Y,'type':Z,'all':!![],'group':!![],'unlimited':!![]});const a1=b['ReactUtils']['findOwner'](K,{'name':Y,'type':Z,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let a2 in a0){let a3=I['filter'](a4=>M[a4['name']]['filteredModules']['includes'](a2)||M[a4['name']]['specialModuleTypes']['includes'](a2))['map'](a4=>({'plugin':a4,'patchTypes':M[a4['name']]['patchTypes']}));for(let a4 of a0[a2])c['forceInitiateProcess'](a3,a4,a2);}for(let a5 in a1){let a6=I['filter'](a7=>M[a7['name']]['filteredModules']['includes'](a5)||M[a7['name']]['specialModuleTypes']['includes'](a5))['map'](a7=>({'plugin':a7,'patchTypes':M[a7['name']]['patchTypes']}));for(let a7 of a1[a5])c['forceInitiateProcess'](a6,a7,a5);}if(L){const a8=b['ReactUtils']['findOwner'](L,{'name':Y,'type':Z,'all':!![],'unlimited':!![]});if(a8['length']){const a9=b['ReactUtils']['findOwner'](b['ReactUtils']['getInstance'](document['querySelector']('#bd-settingspane-container\x20>\x20*')),{'props':'onChange','up':!![]});if(a9&&a9['props']&&typeof a9['props']['onChange']=='function')a9['props']['onChange'](a9['props']['type']);}}}catch(aa){b['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+aa,I['map'](ab=>ab['name'])['join'](',\x20'));}}}}};c['forceInitiateProcess']=function(I,J,K){I=[I]['flat'](0xa)['filter'](L=>L);if(I['length']&&J&&K){let L=![];for(let M of I){let N=M['plugin']==b&&c||M['plugin'],O=[];for(let P in N['patchedModules'])if(N['patchedModules'][P][K])O['push'](N['patchedModules'][P][K]);O=b['ArrayUtils']['removeCopies'](O)['flat'](0xa)['filter'](Q=>Q);if(O['includes']('componentDidMount'))c['initiateProcess'](N,K,{'instance':J,'methodname':'componentDidMount','patchtypes':Object['keys'](M['patchTypes'])});if(O['includes']('render'))L=!![];else if(!L&&O['includes']('componentDidUpdate'))c['initiateProcess'](N,K,{'instance':J,'methodname':'componentDidUpdate','patchtypes':Object['keys'](M['patchTypes'])});}if(L)b['ReactUtils']['forceUpdate'](J);}};c['initiateProcess']=function(I,J,K){I=I==b&&c||I;if(b['ObjectUtils']['is'](I)&&!I['stopping']&&K['instance']){J=n['StringUtils']['upperCaseFirstChar'](J['split']('\x20_\x20_\x20')[0x1]||J)['replace'](/[^A-z0-9]|_/g,'');if(typeof I['process'+J]=='function'){if(typeof K['methodname']=='string'&&(K['methodname']['indexOf']('componentDid')==0x0||K['methodname']['indexOf']('componentWill')==0x0)){K['node']=b['ReactUtils']['findDOMNode'](K['instance']);if(K['node'])return I['process'+J](K);else b['TimeUtils']['timeout'](L=>{K['node']=b['ReactUtils']['findDOMNode'](K['instance']);if(K['node'])return I['process'+J](K);});}else if(K['returnvalue']||K['patchtypes']['includes']('before'))return I['process'+J](K);}}};if(!b['InternalData']['patchObserverData'])b['InternalData']['patchObserverData']={'observer':null,'data':{}};c['patchPlugin']=function(I){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ObjectUtils']['is'](I['patchedModules']))return;b['ModuleUtils']['unpatch'](I);let J={};for(let K in I['patchedModules'])for(let L in I['patchedModules'][K]){if(!J[L])J[L]={};J[L][K]=I['patchedModules'][K][L];}for(let M in J){let N={'plugin':I,'patchTypes':J[M]};let O=M['split']('\x20_\x20_\x20')[0x1]||M;let P=k['LoadedInComponents'][M]&&b['ReactUtils']['getValue'](x,k['LoadedInComponents'][M]);if(P)c['patch_PatchInstance'](N,k['NonRender']['includes'](O)?(b['ModuleUtils']['find'](Q=>Q==P,![])||{})['exports']:P,M);else{let Q=[k['PatchFinder'][O]]['flat'](0xa)['filter'](W=>u[W]);let R=k['CodeFinder'][O];let S=k['PropsFinder'][O];let T=k['PatchMap'][M];let U=T?T+'\x20_\x20_\x20'+M:M;let V=U['split']('\x20_\x20_\x20')[0x0];if(T){for(let W in I['patchedModules'])if(I['patchedModules'][W][M]){I['patchedModules'][W][U]=I['patchedModules'][W][M];delete I['patchedModules'][W][M];}}if(Q['length'])c['patch_CheckForInstance'](N,Q,U,k['ForceObserve']['includes'](O));else if(R){let X=(b['ModuleUtils']['findByString'](R,![])||{})['exports'];c['patch_PatchInstance'](N,X&&k['MemoComponent']['includes'](O)?X['default']:X,U,!![]);}else if(S){let Y=(b['ModuleUtils']['findByProperties'](S,![])||{})['exports'];c['patch_PatchInstance'](N,Y&&k['MemoComponent']['includes'](O)?Y['default']:Y,U,!![]);}else if(k['NonRender']['includes'](O)){let Z=(b['ModuleUtils']['findByName'](V,![])||{})['exports'];c['patch_PatchInstance'](N,Z&&k['MemoComponent']['includes'](O)?Z['default']:Z,U,!![]);}else c['patch_PatchInstance'](N,b['ModuleUtils']['findByName'](V),U);}}};c['patch_PatchInstance']=function(I,J,K,L){I=[I]['flat'](0xa)['filter'](M=>M);if(I['length']&&J){let M=K['split']('\x20_\x20_\x20')[0x0];J=J['_reactInternalFiber']&&J['_reactInternalFiber']['type']?J['_reactInternalFiber']['type']:J;J=L||c['isInstanceCorrect'](J,M)||k['LoadedInComponents'][K]?J:b['ReactUtils']['findConstructor'](J,M)||b['ReactUtils']['findConstructor'](J,M,{'up':!![]});if(J){J=J['_reactInternalFiber']&&J['_reactInternalFiber']['type']?J['_reactInternalFiber']['type']:J;let N=k['NonPrototype']['includes'](M)?J:J['prototype'];for(let O of I)for(let P in O['patchTypes']){let Q={};Q[P]=R=>{return c['initiateProcess'](O['plugin'],K,{'instance':window!=R['thisObject']?R['thisObject']:{'props':R['methodArguments'][0x0]},'returnvalue':R['returnValue'],'methodname':R['originalMethodName'],'patchtypes':[P]});};b['ModuleUtils']['patch'](O['plugin'],N,O['patchTypes'][P],Q);}}}};c['patch_CheckEle']=function(I,J,K){I=[I]['flat'](0xa)['filter'](O=>O);let L=K['split']('\x20_\x20_\x20')[0x1]||K;let M=b['ReactUtils']['getInstance'](J);let N=k['SpecialFilter'][L];if(typeof N=='function'){let O=N(M);if(O){if(k['NonRender']['includes'](L)){let P=(b['ModuleUtils']['find'](Q=>Q==O,![])||{})['exports'];c['patch_PatchInstance'](I,P&&k['MemoComponent']['includes'](L)?P['default']:P,K,!![]);}else c['patch_PatchInstance'](I,O,K,!![]);b['ModuleUtils']['forceAllUpdates'](I['map'](Q=>Q['plugin']),K);return!![];}}else if(c['patch_IsCorrectInstance'](M,K)){c['patch_PatchInstance'](I,M,K);b['ModuleUtils']['forceAllUpdates'](I['map'](Q=>Q['plugin']),K);return!![];}return![];};c['patch_CheckForInstance']=function(I,J,K,L){const M=document['querySelector'](b['dotCN']['app']),N=document['querySelector']('#bd-settingspane-container\x20'+b['dotCN']['scrollerwrap']);let O=![];if(!L){if(M){let P=b['ReactUtils']['findConstructor'](M,K,{'unlimited':!![]})||b['ReactUtils']['findConstructor'](M,K,{'unlimited':!![],'up':!![]});if(P&&(O=!![]))c['patch_PatchInstance'](I,P,K);}if(!O&&N){let Q=b['ReactUtils']['findConstructor'](N,K,{'unlimited':!![]});if(Q&&(O=!![]))c['patch_PatchInstance'](I,Q,K);}}if(!O){let R=![],S=J['map'](U=>b['disCN'][U]),T=J['map'](U=>b['dotCN'][U])['join'](',\x20');for(let U of document['querySelectorAll'](T)){R=c['patch_CheckEle'](I,U,K);if(R)break;}if(!R){if(!b['InternalData']['patchObserverData']['observer']){let V=document['querySelector'](b['dotCN']['appmount']);if(V){b['InternalData']['patchObserverData']['observer']=new MutationObserver(W=>{W['forEach'](X=>{X['addedNodes']['forEach'](Y=>{if(!Y||!Y['tagName'])return;for(let Z in b['InternalData']['patchObserverData']['data'])if(!b['InternalData']['patchObserverData']['data'][Z]['found']){let a0=null;if((a0=b['DOMUtils']['containsClass'](Y,...b['InternalData']['patchObserverData']['data'][Z]['classes'])?Y:Y['querySelector'](b['InternalData']['patchObserverData']['data'][Z]['selector']))!=null){b['InternalData']['patchObserverData']['data'][Z]['found']=c['patch_CheckEle'](b['InternalData']['patchObserverData']['data'][Z]['plugins'],a0,Z);if(b['InternalData']['patchObserverData']['data'][Z]['found']){delete b['InternalData']['patchObserverData']['data'][Z];if(b['ObjectUtils']['isEmpty'](b['InternalData']['patchObserverData']['data'])){b['InternalData']['patchObserverData']['observer']['disconnect']();b['InternalData']['patchObserverData']['observer']=null;}}}}});});});b['InternalData']['patchObserverData']['observer']['observe'](V,{'childList':!![],'subtree':!![]});}}if(!b['InternalData']['patchObserverData']['data'][K])b['InternalData']['patchObserverData']['data'][K]={'selector':T,'classes':S,'found':![],'plugins':[]};b['InternalData']['patchObserverData']['data'][K]['plugins']['push'](I);}}};c['patch_IsCorrectInstance']=function(I,J){if(!I)return![];I=I['_reactInternalFiber']&&I['_reactInternalFiber']['type']?I['_reactInternalFiber']['type']:I;I=c['isInstanceCorrect'](I,J)?I:b['ReactUtils']['findConstructor'](I,J)||b['ReactUtils']['findConstructor'](I,J,{'up':!![]});return!!I;};c['isInstanceCorrect']=function(I,J){return I&&(I['type']&&(I['type']['render']&&I['type']['render']['displayName']===J||I['type']['displayName']===J||I['type']['name']===J||I['type']===J)||I['render']&&(I['render']['displayName']===J||I['render']['name']===J)||I['displayName']==J||I['name']===J);};b['DiscordConstants']=b['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var l={};l['Channel']=b['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');l['Guild']=b['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');l['Invite']=b['ModuleUtils']['findByPrototypes']('getExpiresAt','isExpired');l['Message']=b['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');l['Messages']=b['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');l['Timestamp']=b['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');l['User']=b['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');b['DiscordObjects']=Object['assign']({},l);var m={};for(let I of['child_process','electron','fs','path','process','request']){try{m[I]=require(I);}catch(J){}}b['LibraryRequires']=Object['assign']({},m);var n={};n['AckUtils']=b['ModuleUtils']['findByProperties']('localAck','bulkAck');n['ActivityUtils']=b['ModuleUtils']['findByProperties']('sendActivityInvite','updateActivity');n['APIUtils']=b['ModuleUtils']['findByProperties']('getAPIBaseURL');n['AnalyticsUtils']=b['ModuleUtils']['findByProperties']('isThrottled','track');n['AnimationUtils']=b['ModuleUtils']['findByProperties']('spring','decay');n['AssetUtils']=b['ModuleUtils']['findByProperties']('getAssetImage','getAssetIds');n['BadgeUtils']=b['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');n['CallUtils']=b['ModuleUtils']['findByProperties']('getCalls','isCallActive');n['CategoryCollapseStore']=b['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');n['CategoryCollapseUtils']=b['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');n['ChannelStore']=b['ModuleUtils']['findByProperties']('getChannel','getChannels');n['ColorUtils']=b['ModuleUtils']['findByProperties']('hex2int','hex2rgb');n['ContextMenuUtils']=b['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');n['CopyLinkUtils']=b['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');n['CurrentUserStore']=b['ModuleUtils']['findByProperties']('getCurrentUser');n['CurrentVoiceUtils']=b['ModuleUtils']['findByProperties']('getAveragePing','isConnected');n['DirectMessageStore']=b['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');n['DirectMessageUnreadStore']=b['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');n['DispatchApiUtils']=b['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');n['DispatchUtils']=b['ModuleUtils']['findByProperties']('ComponentDispatch');n['DirectMessageUtils']=b['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');n['EmojiUtils']=b['ModuleUtils']['findByProperties']('translateInlineEmojiToSurrogates','translateSurrogatesToInlineEmoji');n['EmojiStateUtils']=b['ModuleUtils']['findByProperties']('getURL','isEmojiDisabled');n['FriendUtils']=b['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');n['FolderStore']=b['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');n['FolderUtils']=b['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');n['GuildBoostUtils']=b['ModuleUtils']['findByProperties']('getTierName','getUserLevel');n['GuildChannelStore']=b['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');n['GuildEmojiStore']=b['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');n['GuildNotificationsUtils']=b['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateGuildNotificationSettings');n['GuildSettingsSectionUtils']=b['ModuleUtils']['findByProperties']('getGuildSettingsSections');n['GuildSettingsUtils']=b['ModuleUtils']['findByProperties']('open','updateGuild');n['GuildStore']=b['ModuleUtils']['findByProperties']('getGuild','getGuilds');n['GuildUnavailableStore']=b['ModuleUtils']['findByProperties']('isUnavailable','totalUnavailableGuilds');n['GuildUtils']=b['ModuleUtils']['findByProperties']('transitionToGuildSync');n['GuildWelcomeStore']=b['ModuleUtils']['findByProperties']('hasSeen','get');n['GuildWelcomeUtils']=b['ModuleUtils']['findByProperties']('welcomeScreenViewed','resetWelcomeScreen');n['HistoryUtils']=b['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;n['IconUtils']=b['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');n['InviteUtils']=b['ModuleUtils']['findByProperties']('acceptInvite','createInvite');n['KeyCodeUtils']=Object['assign']({},b['ModuleUtils']['findByProperties']('toCombo','keyToCode'));n['KeyCodeUtils']['getString']=function(K){return n['KeyCodeUtils']['toString']([K]['flat'](0xa)['filter'](L=>L)['map'](L=>[b['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],L,b['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};n['KeyEvents']=b['ModuleUtils']['findByProperties']('aliases','code','codes');n['LanguageStore']=b['ModuleUtils']['findByProperties']('getLanguages','Messages');n['LastChannelStore']=b['ModuleUtils']['findByProperties']('getLastSelectedChannelId');n['LastGuildStore']=b['ModuleUtils']['findByProperties']('getLastSelectedGuildId');n['LoginUtils']=b['ModuleUtils']['findByProperties']('login','logout');n['MemberStore']=b['ModuleUtils']['findByProperties']('getMember','getMembers');n['MentionUtils']=b['ModuleUtils']['findByProperties']('isRawMessageMentioned','isMentioned');n['MessageManageUtils']=b['ModuleUtils']['findByProperties']('copyLink','quoteMessage');n['MessagePinUtils']=b['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');n['MessageStore']=b['ModuleUtils']['findByProperties']('getMessage','getMessages');n['MessageUtils']=b['ModuleUtils']['findByProperties']('receiveMessage','editMessage');n['ModalUtils']=b['ModuleUtils']['findByProperties']('openModal','hasModalOpen');n['MutedUtils']=b['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');n['NoteStore']=b['ModuleUtils']['findByProperties']('getNote');n['NotificationSettingsStore']=b['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');n['NotificationSettingsUtils']=b['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');n['NotificationUtils']=b['ModuleUtils']['findByProperties']('makeTextChatNotification','shouldNotify');n['PlatformUtils']=b['ModuleUtils']['findByProperties']('isWindows','isLinux');n['PermissionUtils']=b['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');n['PermissionRoleUtils']=b['ModuleUtils']['findByProperties']('getHighestRole','can');n['QuoteUtils']=b['ModuleUtils']['findByProperties']('canQuote','createQuotedText');n['ReactionEmojiUtils']=b['ModuleUtils']['findByProperties']('getReactionEmojiName','getReactionEmojiName');n['ReactionUtils']=b['ModuleUtils']['findByProperties']('addReaction','removeReaction');n['RecentMentionUtils']=b['ModuleUtils']['findByProperties']('deleteRecentMention','fetchRecentMentions');n['SearchPageUtils']=b['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');n['SelectChannelUtils']=b['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');n['SettingsUtils']=b['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');n['SlateUtils']=b['ModuleUtils']['findByProperties']('serialize','deserialize');n['SlateUtils']=b['ModuleUtils']['find'](K=>typeof K['serialize']=='function'&&typeof K['deserialize']=='function'&&typeof K['deserialize']=='function'&&typeof K['getFlag']!='function');n['SlateSelectionUtils']=b['ModuleUtils']['findByProperties']('serialize','serializeSelection');n['SlowmodeUtils']=b['ModuleUtils']['findByProperties']('getSlowmodeCooldownGuess');n['SoundStateUtils']=b['ModuleUtils']['findByProperties']('isSoundDisabled','getDisabledSounds');n['SoundUtils']=b['ModuleUtils']['findByProperties']('playSound','createSound');n['SpellCheckUtils']=b['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');n['SpotifyTrackUtils']=b['ModuleUtils']['findByProperties']('hasConnectedAccount','getLastPlayedTrackId');n['SpotifyUtils']=b['ModuleUtils']['findByProperties']('setActiveDevice','pause');n['StateStoreUtils']=b['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');n['StatusMetaUtils']=b['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');n['StoreChangeUtils']=b['ModuleUtils']['findByProperties']('get','set','clear','remove');n['StreamerModeStore']=b['ModuleUtils']['findByProperties']('disableSounds','hidePersonalInformation');n['StreamUtils']=b['ModuleUtils']['findByProperties']('getActiveStreamForUser','getAllApplicationStreams');n['StringUtils']=b['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');n['UnreadGuildUtils']=b['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');n['UnreadChannelUtils']=b['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');n['UploadUtils']=b['ModuleUtils']['findByProperties']('upload','instantBatchUpload');n['UserFetchUtils']=b['ModuleUtils']['findByProperties']('fetchCurrentUser','getUser');n['UserNameUtils']=b['ModuleUtils']['findByProperties']('getName','getNickname');n['UserProfileUtils']=b['ModuleUtils']['findByProperties']('open','fetchProfile');n['UserSettingsUtils']=b['ModuleUtils']['findByProperties']('open','updateAccount');n['UserStore']=b['ModuleUtils']['findByProperties']('getUser','getUsers');n['Utilities']=b['ModuleUtils']['findByProperties']('flatMap','cloneDeep');n['VoiceUtils']=b['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');n['ZoomUtils']=b['ModuleUtils']['findByProperties']('setZoom','setFontSize');b['LibraryModules']=Object['assign']({},n);n['React']=b['ModuleUtils']['findByProperties']('createElement','cloneElement');n['ReactDOM']=b['ModuleUtils']['findByProperties']('render','findDOMNode');b['ReactUtils']=Object['assign']({},n['React'],n['ReactDOM']);b['ReactUtils']['childrenToArray']=function(K){if(K&&K['props']&&K['props']['children']&&!b['ArrayUtils']['is'](K['props']['children'])){var L=K['props']['children'];K['props']['children']=[];K['props']['children']['push'](L);}return K['props']['children'];};b['ReactUtils']['createElement']=function(K,L={},M=![]){if(K&&K['defaultProps'])for(let N in K['defaultProps'])if(L[N]==null)L[N]=K['defaultProps'][N];try{let O=n['React']['createElement'](K||'div',L)||null;if(M)return n['React']['createElement'](x['ErrorBoundary'],{},O)||null;else return O;}catch(P){b['LogUtils']['error']('Could\x20not\x20create\x20react\x20element!\x20'+P);}return null;};b['ReactUtils']['objectToReact']=function(K){if(!K)return null;else if(typeof K=='string')return K;else if(b['ObjectUtils']['is'](K))return b['ReactUtils']['createElement'](K['type']||K['props']&&K['props']['href']&&'a'||'div',!K['props']?{}:Object['assign']({},K['props'],{'children':K['props']['children']?b['ReactUtils']['objectToReact'](K['props']['children']):null}));else if(b['ArrayUtils']['is'](K))return K['map'](L=>b['ReactUtils']['objectToReact'](L));else return null;};b['ReactUtils']['elementToReact']=function(K,L){if(b['ReactUtils']['isValidElement'](K))return K;else if(!Node['prototype']['isPrototypeOf'](K))return null;else if(K['nodeType']==Node['TEXT_NODE'])return K['nodeValue'];let M={},N=[];if(typeof L=='function')M['ref']=L;for(let P of K['attributes'])M[P['name']]=P['value'];if(K['attributes']['style'])M['style']=b['ObjectUtils']['filter'](K['style'],Q=>K['style'][Q]&&isNaN(parseInt(Q)),!![]);M['children']=[];if(K['style']&&K['style']['cssText'])for(let Q of K['style']['cssText']['split'](';'))if(Q['endsWith']('!important')){let R=Q['split'](':')[0x0];let S=R['replace'](/-([a-z]?)/g,(T,U)=>U['toUpperCase']());if(M['style'][S]!=null)N['push'](R);}for(let T of K['childNodes'])M['children']['push'](b['ReactUtils']['elementToReact'](T));M['className']=b['DOMUtils']['formatClassName'](M['className'],M['class']);delete M['class'];let O=b['ReactUtils']['createElement'](K['tagName'],M);b['ReactUtils']['forceStyle'](O,N);return O;};b['ReactUtils']['forceStyle']=function(K,L){if(!b['ReactUtils']['isValidElement'](K)||!b['ObjectUtils']['is'](K['props']['style'])||!b['ArrayUtils']['is'](L)||!L['length'])return null;let M=K['ref'];K['ref']=N=>{if(typeof M=='function')M(N);let O=b['ReactUtils']['findDOMNode'](N);if(Node['prototype']['isPrototypeOf'](O))for(let P of L){let Q=K['props']['style'][P['replace'](/-([a-z]?)/g,(R,S)=>S['toUpperCase']())];if(Q!=null)O['style']['setProperty'](P,Q,'important');}};return K;};b['ReactUtils']['findChild']=function(K,L){if(!K||!b['ObjectUtils']['is'](L)||!L['name']&&!L['key']&&!L['props']&&!L['filter'])return L['all']?[]:null;let M=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](M)&&!b['ArrayUtils']['is'](M))return null;L['name']=L['name']&&[L['name']]['flat']()['filter'](W=>W);L['key']=L['key']&&[L['key']]['flat']()['filter'](W=>W);L['props']=L['props']&&[L['props']]['flat']()['filter'](W=>W);L['filter']=typeof L['filter']=='function'&&L['filter'];let N=-0x1;let O=performance['now']();let P=L['unlimited']?0x3b9ac9ff:L['depth']===undefined?0x1e:L['depth'];let Q=L['unlimited']?0x3b9ac9ff:L['time']===undefined?0x96:L['time'];let R=[];let S=T(M);if(L['all']){for(let W in R)delete R[W]['BDFDBreactSearch'];return R;}else return S;function T(X){let Y=null;if(!X||N>=P||performance['now']()-O>=Q)return Y;if(!b['ArrayUtils']['is'](X)){if(U(X)){if(L['all']===undefined||!L['all'])Y=X;else if(L['all']){if(!X['BDFDBreactSearch']){X['BDFDBreactSearch']=!![];R['push'](X);}}}else if(X['props']&&X['props']['children']){N++;Y=T(X['props']['children']);N--;}}else{for(let Z of X)if(Z){if(b['ArrayUtils']['is'](Z))Y=T(Z);else if(U(Z)){if(L['all']===undefined||!L['all'])Y=Z;else if(L['all']){if(!Z['BDFDBreactSearch']){Z['BDFDBreactSearch']=!![];R['push'](Z);}}}else if(Z['props']&&Z['props']['children']){N++;Y=T(Z['props']['children']);N--;}if(Y)break;}}return Y;}function U(X){if(!X)return![];let Y=X['stateNode']?X['stateNode']['props']:X['props'];return X['type']&&L['name']&&L['name']['some'](Z=>c['isInstanceCorrect'](X,Z))||L['key']&&L['key']['some'](Z=>X['key']==Z)||Y&&L['props']&&L['props'][L['someProps']?'some':'every'](Z=>b['ArrayUtils']['is'](Z)?b['ArrayUtils']['is'](Z[0x1])?Z[0x1]['some'](a0=>V(Y,Z[0x0],a0)):V(Y,Z[0x0],Z[0x1]):Y[Z]!==undefined)||L['filter']&&L['filter'](X);}function V(X,Y,Z){return Y!=null&&X[Y]!=null&&Z!=null&&(Y=='className'?('\x20'+X[Y]+'\x20')['indexOf']('\x20'+Z+'\x20')>-0x1:b['equals'](X[Y],Z));}};b['ReactUtils']['setChild']=function(K,L){if(!b['ReactUtils']['isValidElement'](K)||!b['ReactUtils']['isValidElement'](L)&&typeof L!='string'&&!b['ArrayUtils']['is'](L))return;let M=![];N(K);function N(P){if(M)return;if(!b['ArrayUtils']['is'](P))O(P);else for(let Q of P)O(Q);}function O(P){if(!b['ReactUtils']['isValidElement'](P))return;if(b['ReactUtils']['isValidElement'](P['props']['children']))N(P['props']['children']);else if(b['ArrayUtils']['is'](P['props']['children'])){if(P['props']['children']['every'](Q=>!Q||typeof Q=='string')){M=!![];P['props']['children']=[L]['flat'](0xa);}else N(P['props']['children']);}else{M=!![];P['props']['children']=L;}}};b['ReactUtils']['findConstructor']=function(K,L,M={}){if(!b['ObjectUtils']['is'](M))return null;if(!K||!L)return M['all']?M['group']?{}:[]:null;let N=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](N))return M['all']?M['group']?{}:[]:null;L=L&&[L]['flat'](0xa)['filter'](W=>typeof W=='string');if(!L['length'])return M['all']?M['group']?{}:[]:null;;let O=-0x1;let P=performance['now']();let Q=M['unlimited']?0x3b9ac9ff:M['depth']===undefined?0x1e:M['depth'];let R=M['unlimited']?0x3b9ac9ff:M['time']===undefined?0x96:M['time'];let S=M['up']?{'return':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]};let T=M['group']?{}:[];let U=V(N);if(M['all']){for(let W in T){if(M['group'])for(let X in T[W])delete T[W][X]['BDFDBreactSearch'];else delete T[W]['BDFDBreactSearch'];}return T;}else return U;function V(Y){O++;let Z=undefined;if(Y&&!Node['prototype']['isPrototypeOf'](Y)&&!b['ReactUtils']['getInstance'](Y)&&Oc['isInstanceCorrect'](Y,a0['split']('\x20_\x20_\x20')[0x0]))){if(M['all']===undefined||!M['all'])Z=Y['type'];else if(M['all']){if(!Y['type']['BDFDBreactSearch']){Y['type']['BDFDBreactSearch']=!![];if(M['group']){if(Y['type']&&(Y['type']['render']&&Y['type']['render']['displayName']||Y['type']['displayName']||Y['type']['name'])){let a0=M['name']['find'](a1=>(Y['type']['render']&&Y['type']['render']['displayName']||Y['type']['displayName']||Y['type']['name']||Y['type'])==a1['split']('\x20_\x20_\x20')[0x0])||'Default';if(!b['ArrayUtils']['is'](T[a0]))T[a0]=[];T[a0]['push'](Y['stateNode']);}}else T['push'](Y['type']);}}}if(Z===undefined){let a1=Object['getOwnPropertyNames'](Y);for(let a2=0x0;Z===undefined&&a2V);L['type']=L['type']&&[L['type']]['flat']()['filter'](V=>V);L['key']=L['key']&&[L['key']]['flat']()['filter'](V=>V);L['props']=L['props']&&[L['props']]['flat']()['filter'](V=>V);let N=-0x1;let O=performance['now']();let P=L['unlimited']?0x3b9ac9ff:L['depth']===undefined?0x1e:L['depth'];let Q=L['unlimited']?0x3b9ac9ff:L['time']===undefined?0x96:L['time'];let R=L['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};let S=L['group']?{}:[];let T=U(M);if(L['all']){for(let V in S){if(L['group'])for(let W in S[V])delete S[V][W]['BDFDBreactSearch'];else delete S[V]['BDFDBreactSearch'];}return S;}else return T;function U(X){N++;let Y=undefined;if(X&&!Node['prototype']['isPrototypeOf'](X)&&!b['ReactUtils']['getInstance'](X)&&Nc['isInstanceCorrect'](X,a0['split']('\x20_\x20_\x20')[0x0]))||X['type']&&L['type']&&L['type']['some'](a0=>b['ArrayUtils']['is'](a0)?X['type']===a0[0x1]:X['type']===a0)||X['key']&&L['key']&&L['key']['some'](a0=>X['key']==a0)||Z&&L['props']&&L['props']['every'](a0=>b['ArrayUtils']['is'](a0)?b['ArrayUtils']['is'](a0[0x1])?a0[0x1]['some'](a1=>b['equals'](Z[a0[0x0]],a1)):b['equals'](Z[a0[0x0]],a0[0x1]):Z[a0]!==undefined))){if(L['all']===undefined||!L['all'])Y=X['stateNode'];else if(L['all']){if(!X['stateNode']['BDFDBreactSearch']){X['stateNode']['BDFDBreactSearch']=!![];if(L['group']){if(L['name']&&X['type']&&(X['type']['render']&&X['type']['render']['displayName']||X['type']['displayName']||X['type']['name']||X['type'])){let a0=L['name']['find'](a1=>(X['type']['render']&&X['type']['render']['displayName']||X['type']['displayName']||X['type']['name']||X['type'])==a1['split']('\x20_\x20_\x20')[0x0])||'Default';if(!b['ArrayUtils']['is'](S[a0]))S[a0]=[];S[a0]['push'](X['stateNode']);}else if(L['type']&&X['type']){let a1=[L['type']['find'](a2=>b['ArrayUtils']['is'](a2)&&X['type']===a2[0x1])]['flat'](0xa)[0x0]||'Default';if(!b['ArrayUtils']['is'](S[a1]))S[a1]=[];S[a1]['push'](X['stateNode']);}}else S['push'](X['stateNode']);}}}if(Y===undefined){let a2=Object['getOwnPropertyNames'](X);for(let a3=0x0;Y===undefined&&a3S);L['key']=L['key']&&[L['key']]['flat']()['filter'](S=>S);L['props']=L['props']&&[L['props']]['flat']()['filter'](S=>S);L['filter']=typeof L['filter']=='function'&&L['filter'];let N=firstArray=M;while(!b['ArrayUtils']['is'](firstArray)&&firstArray['props']&&firstArray['props']['children'])firstArray=firstArray['props']['children'];if(!b['ArrayUtils']['is'](firstArray)){if(N&&N['props']){N['props']['children']=[N['props']['children']];firstArray=N['props']['children'];}else firstArray=[];}return O(M);function O(S){let T=[firstArray,-0x1];if(!S)return T;if(!b['ArrayUtils']['is'](S)){if(Q(S))T=P(S);else if(S['props']&&S['props']['children']){N=S;T=O(S['props']['children']);}}else{for(let U=0x0;T[0x1]==-0x1&&Uc['isInstanceCorrect'](S,U))||L['key']&&L['key']['some'](U=>S['key']==U)||T&&L['props']&&L['props'][L['someProps']?'some':'every'](U=>b['ArrayUtils']['is'](U)?b['ArrayUtils']['is'](U[0x1])?U[0x1]['some'](V=>R(T,U[0x0],V)):R(T,U[0x0],U[0x1]):T[U]!==undefined)||L['filter']&&L['filter'](S);}function R(S,T,U){return T!=null&&S[T]!=null&&U!=null&&(T=='className'?('\x20'+S[T]+'\x20')['indexOf']('\x20'+U+'\x20')>-0x1:b['equals'](S[T],U));}};b['ReactUtils']['findProps']=function(K,L){if(!b['ObjectUtils']['is'](L))return null;if(!K||!L['name']&&!L['key'])return null;let M=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](M))return null;L['name']=L['name']&&[L['name']]['flat']()['filter'](T=>T);L['key']=L['key']&&[L['key']]['flat']()['filter'](T=>T);let N=-0x1;let O=performance['now']();let P=L['unlimited']?0x3b9ac9ff:L['depth']===undefined?0x1e:L['depth'];let Q=L['unlimited']?0x3b9ac9ff:L['time']===undefined?0x96:L['time'];let R=L['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return S(M);function S(T){N++;let U=undefined;if(T&&!Node['prototype']['isPrototypeOf'](T)&&!b['ReactUtils']['getInstance'](T)&&Nc['isInstanceCorrect'](T,V['split']('\x20_\x20_\x20')[0x0]))||L['key']&&L['key']['some'](V=>T['key']==V)))U=T['memoizedProps'];if(U===undefined){let V=Object['getOwnPropertyNames'](T);for(let W=0x0;U===undefined&&WM))if(L['updater']&&typeof L['updater']['isMounted']=='function'&&L['updater']['isMounted'](L))L['forceUpdate']();};b['ReactUtils']['getInstance']=function(K){if(!b['ObjectUtils']['is'](K))return null;return K[Object['keys'](K)['find'](L=>L['startsWith']('__reactInternalInstance'))];};b['ReactUtils']['getValue']=function(K,L){if(!K||!L)return null;let M=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](M))return null;let N=M,O=L['split']('.')['filter'](P=>P);for(value of O){if(!N)return null;N=N[value];}return N;};b['ReactUtils']['render']=function(K,L){if(!b['ReactUtils']['isValidElement'](K)||!Node['prototype']['isPrototypeOf'](L))return;try{n['ReactDOM']['render'](K,L);let M=new MutationObserver(N=>N['forEach'](O=>{let P=Array['from'](O['removedNodes']);if(P['indexOf'](L)>-0x1||P['some'](Q=>Q['contains'](L))){M['disconnect']();b['ReactUtils']['unmountComponentAtNode'](L);}}));M['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(N){b['LogUtils']['error']('Could\x20not\x20render\x20react\x20element!\x20'+N);}};c['setDefaultProps']=function(K,L){if(b['ObjectUtils']['is'](K))K['defaultProps']=Object['assign']({},K['defaultProps'],L);};c['loadPatchedComp']=function(K){let L=b['ReactUtils']['getValue'](window['BDFDB'],'LibraryComponents.'+K);if(L&&L['prototype']&&L['prototype']['BDFDBpatch'])return L;};b['sameProto']=function(K,L){if(K!=null&&typeof K=='object')return K['constructor']&&K['constructor']['prototype']&&typeof K['constructor']['prototype']['isPrototypeOf']=='function'&&K['constructor']['prototype']['isPrototypeOf'](L);else return typeof K==typeof L;};b['equals']=function(K,L,M){var N=-0x1;if(M===undefined||typeof M!=='boolean')M=![];return O(K,L);function O(P,Q){N++;var R=!![];if(N>0x3e8)R=null;else{if(typeof P!==typeof Q)R=![];else if(typeof P==='function')R=P['toString']()==Q['toString']();else if(typeof P==='undefined')R=!![];else if(typeof P==='symbol')R=!![];else if(typeof P==='boolean')R=P==Q;else if(typeof P==='string')R=P==Q;else if(typeof P==='number'){if(isNaN(P)||isNaN(Q))R=isNaN(P)==isNaN(Q);else R=P==Q;}else if(!P&&!Q)R=!![];else if(!P||!Q)R=![];else if(typeof P==='object'){var S=Object['getOwnPropertyNames'](P);var T=Object['getOwnPropertyNames'](Q);if(S['length']!==T['length'])R=![];else for(let U=0x0;R===!![]&&U{let L=b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['app']),{'name':'Messages','unlimited':!![]});let M=b['ReactUtils']['getValue'](L,'_reactInternalFiber.type.prototype');if(L&&M){b['ModuleUtils']['patch'](b,M,'render',{'after':N=>{let [O,P]=b['ReactUtils']['findParent'](N['returnValue'],{'props':['message','channel']});if(P>-0x1)for(let Q of O)if(Q['props']['message'])Q['props']['message']=new b['DiscordObjects']['Message'](Q['props']['message']);}},{'once':!![]});b['ReactUtils']['forceUpdate'](L);}},0x3e8);};b['UserUtils']={};b['UserUtils']['is']=function(K){return K&&K instanceof b['DiscordObjects']['User'];};var p=n['CurrentUserStore']&&n['CurrentUserStore']['getCurrentUser']();b['UserUtils']['me']=new Proxy(p||{},{'get':function(K,L){return(p=n['CurrentUserStore']['getCurrentUser']())&&p[L];}});b['UserUtils']['getStatus']=function(K=b['UserUtils']['me']['id']){K=typeof K=='number'?K['toFixed']():K;let L=b['UserUtils']['getActivitiy'](K);return L&&L['type']==b['DiscordConstants']['ActivityTypes']['STREAMING']?'streaming':n['StatusMetaUtils']['getStatus'](K);};b['UserUtils']['getStatusColor']=function(K){K=typeof K=='string'?K['toLowerCase']():null;switch(K){case'online':return b['DiscordConstants']['Colors']['STATUS_GREEN'];case'mobile':return b['DiscordConstants']['Colors']['STATUS_GREEN'];case'idle':return b['DiscordConstants']['Colors']['STATUS_YELLOW'];case'dnd':return b['DiscordConstants']['Colors']['STATUS_RED'];case'playing':return b['DiscordConstants']['Colors']['BRAND'];case'listening':return b['DiscordConstants']['Colors']['SPOTIFY'];case'streaming':return b['DiscordConstants']['Colors']['TWITCH'];default:return b['DiscordConstants']['Colors']['STATUS_GREY'];}};b['UserUtils']['getActivitiy']=function(K=b['UserUtils']['me']['id']){for(let L of n['StatusMetaUtils']['getActivities'](K))if(L['type']!=b['DiscordConstants']['ActivityTypes']['CUSTOM_STATUS'])return L;return null;};b['UserUtils']['getAvatar']=function(K=b['UserUtils']['me']['id']){let L=n['UserStore']['getUser'](typeof K=='number'?K['toFixed']():K);if(!L)return window['location']['origin']+'/assets/322c936a8c8be1b803cd94861bdfa868.png';else return((L['avatar']?'':window['location']['origin'])+n['IconUtils']['getUserAvatarURL'](L))['split']('?')[0x0];};b['UserUtils']['can']=function(K,L=b['UserUtils']['me']['id'],M=n['LastChannelStore']['getChannelId']()){if(!b['DiscordConstants']['Permissions'][K])b['LogUtils']['warn'](K+'\x20not\x20found\x20in\x20Permissions');else{let N=n['ChannelStore']['getChannel'](M);if(N)return n['PermissionUtils']['canUser'](L,b['DiscordConstants']['Permissions'][K],N);}return![];};let q;b['GuildUtils']={};b['GuildUtils']['is']=function(K){if(!b['ObjectUtils']['is'](K))return![];let L=Object['keys'](K);return K instanceof b['DiscordObjects']['Guild']||Object['keys'](new b['DiscordObjects']['Guild']({}))['every'](M=>L['indexOf'](M)>-0x1);};b['GuildUtils']['getIcon']=function(K){let L=n['GuildStore']['getGuild'](typeof K=='number'?K['toFixed']():K);if(!L||!L['icon'])return null;return n['IconUtils']['getGuildIconURL'](L)['split']('?')[0x0];};b['GuildUtils']['getBanner']=function(K){let L=n['GuildStore']['getGuild'](typeof K=='number'?K['toFixed']():K);if(!L||!L['banner'])return null;return n['IconUtils']['getGuildBannerURL'](L)['split']('?')[0x0];};b['GuildUtils']['getFolder']=function(K){return b['LibraryModules']['FolderStore']['guildFolders']['filter'](L=>L['folderId'])['find'](L=>L['guildIds']['includes'](K));};b['GuildUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;let L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],K);if(!L)return;let M=L['querySelector'](b['dotCN']['guildiconwrapper']);let N=M&&M['href']?M['href']['split']('/')['slice'](-0x2)[0x0]:null;return N&&!isNaN(parseInt(N))?N['toString']():null;};b['GuildUtils']['getData']=function(K){if(!K)return null;let L=Node['prototype']['isPrototypeOf'](K)?b['GuildUtils']['getId'](K):typeof K=='object'?K['id']:K;L=typeof L=='number'?L['toFixed']():L;for(let M of b['GuildUtils']['getAll']())if(M&&M['id']==L)return M;return null;};b['GuildUtils']['getAll']=function(){let K=[],L=[];for(let M of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(M['props']&&M['props']['guild'])L['push'](Object['assign'](new M['props']['guild']['constructor'](M['props']['guild']),{'div':M['handleContextMenu']&&b['ReactUtils']['findDOMNode'](M),'instance':M}));}for(let N of b['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let O=null;for(let P of L)if(P['id']==N){O=P;break;}if(O)K['push'](O);else{let Q=b['LibraryModules']['GuildStore']['getGuild'](N);if(Q)K['push'](Object['assign'](new Q['constructor'](Q),{'div':null,'instance':null}));}}return K;};b['GuildUtils']['getUnread']=function(K){let L=[];for(let M of K===undefined||!b['ArrayUtils']['is'](K)?b['GuildUtils']['getAll']():K){if(!M)return null;let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):typeof M=='object'?M['id']:M;N=typeof N=='number'?N['toFixed']():N;if(N&&(n['UnreadGuildUtils']['hasUnread'](N)||n['UnreadGuildUtils']['getMentionCount'](N)>0x0))L['push'](M);}return L;};b['GuildUtils']['getPinged']=function(K){let L=[];for(let M of K===undefined||!b['ArrayUtils']['is'](K)?b['GuildUtils']['getAll']():K){if(!M)return null;let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):typeof M=='object'?M['id']:M;N=typeof N=='number'?N['toFixed']():N;if(N&&n['UnreadGuildUtils']['getMentionCount'](N)>0x0)L['push'](M);}return L;};b['GuildUtils']['getMuted']=function(K){let L=[];for(let M of K===undefined||!b['ArrayUtils']['is'](K)?b['GuildUtils']['getAll']():K){if(!M)return null;let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):typeof M=='object'?M['id']:M;N=typeof N=='number'?N['toFixed']():N;if(N&&n['MutedUtils']['isGuildOrCategoryOrChannelMuted'](N))L['push'](M);}return L;};b['GuildUtils']['getSelected']=function(){let K=n['GuildStore']['getGuild'](n['LastGuildStore']['getGuildId']());if(K)return b['GuildUtils']['getData'](K['id'])||Object['assign'](new K['constructor'](K),{'div':null,'instance':null});else return null;};b['GuildUtils']['openMenu']=function(K,L=b['InternalData']['mousePosition']){if(!K)return;let M=Node['prototype']['isPrototypeOf'](K)?b['GuildUtils']['getId'](K):typeof K=='object'?K['id']:K;let N=n['GuildStore']['getGuild'](M);if(N)n['ContextMenuUtils']['openContextMenu'](L,function(O){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('GuildContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},O,{'guild':N}));});};b['GuildUtils']['markAsRead']=function(K){if(!K)return;let L=[];for(let M of b['ArrayUtils']['is'](K)?K:typeof K=='string'||typeof K=='number'?Array['of'](K):Array['from'](K)){let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):M&&typeof M=='object'?M['id']:M;let O=N&&n['GuildChannelStore']['getChannels'](N);if(O)for(let P in O)if(b['ArrayUtils']['is'](O[P]))for(let Q of O[P])L['push'](Q['channel']['id']);}if(L['length'])b['ChannelUtils']['markAsRead'](L);};b['GuildUtils']['rerenderAll']=function(){b['TimeUtils']['clear'](q);q=b['TimeUtils']['timeout'](K=>{let L=b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['app']),{'name':'Guilds','unlimited':!![]});let M=b['ReactUtils']['getValue'](L,'_reactInternalFiber.type.prototype');if(L&&M){b['ModuleUtils']['patch'](b,M,'render',{'after':N=>{let [O,P]=b['ReactUtils']['findParent'](N['returnValue'],{'name':'ConnectedUnreadDMs'});if(P>-0x1)O['splice'](P+0x1,0x0,b['ReactUtils']['createElement']('div',{}));b['ReactUtils']['forceUpdate'](L);}},{'once':!![]});b['ReactUtils']['forceUpdate'](L);}},0x3e8);};b['FolderUtils']={};b['FolderUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;K=b['DOMUtils']['getParent'](b['dotCN']['guildfolderwrapper'],K);if(!K)return;return b['ReactUtils']['findValue'](K,'folderId',{'up':!![]});};b['FolderUtils']['getDefaultName']=function(K){let L=b['LibraryModules']['FolderStore']['getGuildFolderById'](K);if(!L)return'';let M=0x2*b['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let N=[],O=L['guildIds']['map'](P=>(b['LibraryModules']['GuildStore']['getGuild'](P)||{})['name'])['filter'](P=>P);for(let P of O)if(P['length']L['indexOf'](M)>-0x1);};b['ChannelUtils']['isTextChannel']=function(K){let L=typeof K=='string'?n['ChannelStore']['getChannel'](K):K;return b['ObjectUtils']['is'](L)&&(L['type']==b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']||L['type']==b['DiscordConstants']['ChannelTypes']['GUILD_STORE']||L['type']==b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']);};b['ChannelUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;K=b['DOMUtils']['getParent'](b['dotCNC']['categorycontainerdefault']+b['dotCNC']['channelcontainerdefault']+b['dotCN']['dmchannel'],K);if(!K)return;let L=b['ReactUtils']['findValue'](K,'channel');return L?L['id']['toString']():null;};b['ChannelUtils']['getDiv']=function(K){if(!K)return null;let L=b['ChannelUtils']['getData'](K);return L?L['div']:null;};b['ChannelUtils']['getData']=function(K){if(!K)return null;let L=Node['prototype']['isPrototypeOf'](K)?b['ChannelUtils']['getId'](K):typeof K=='object'?K['id']:K;L=typeof L=='number'?L['toFixed']():L;for(let M of b['ChannelUtils']['getAll']())if(M&&M['id']==L)return M;return null;};b['ChannelUtils']['getName']=function(K,L){let M=b['LibraryModules']['ChannelStore']['getChannel'](K);if(!M)return'';switch(M['type']){case b['DiscordConstants']['ChannelTypes']['DM']:let N=M['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](P=>P)[0x0];return(L&&'@'||'')+(N&&N['toString']()||'');case b['DiscordConstants']['ChannelTypes']['GROUP_DM']:if(M['name'])return M['name'];let O=M['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](P=>P);return O['length']>0x0?O['map'](P=>P['toString'])['join'](',\x20'):b['LanguageUtils']['LanguageStrings']['UNNAMED'];case b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']:case b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']:return(L&&'#'||'')+M['name'];default:return M['name'];}};b['ChannelUtils']['getAll']=function(){let K=[];for(let L of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['channels']),{'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'unlimited':!![]}))if(L['props']&&!L['props']['ispin']&&L['props']['channel']&&L['_reactInternalFiber']['return']){let M=b['ReactUtils']['findDOMNode'](L);M=M&&b['DOMUtils']['containsClass'](M['parentElement'],b['disCN']['categorycontainerdefault'],b['disCN']['channelcontainerdefault'],![])?M['parentElement']:M;K['push'](Object['assign'](new L['props']['channel']['constructor'](L['props']['channel']),{'div':M,'instance':L}));}return K;};b['ChannelUtils']['getSelected']=function(){let K=n['ChannelStore']['getChannel'](n['LastChannelStore']['getChannelId']());if(K)return b['ChannelUtils']['getData'](K['id'])||Object['assign'](new K['constructor'](K),{'div':null,'instance':null});else return null;};b['ChannelUtils']['markAsRead']=function(K){if(!K)return;let L=[];for(let M of K=b['ArrayUtils']['is'](K)?K:typeof K=='string'||typeof K=='number'?Array['of'](K):Array['from'](K)){let N=Node['prototype']['isPrototypeOf'](M)?b['ChannelUtils']['getId'](M):M&&typeof M=='object'?M['id']:M;if(N&&b['ChannelUtils']['isTextChannel'](N))L['push']({'channelId':N,'messageId':n['UnreadChannelUtils']['lastMessageId'](N)});}if(L['length'])n['AckUtils']['bulkAck'](L);};b['DMUtils']={};b['DMUtils']['isDMChannel']=function(K){let L=typeof K=='string'?n['ChannelStore']['getChannel'](K):K;return b['ObjectUtils']['is'](L)&&(L['type']==b['DiscordConstants']['ChannelTypes']['DM']||L['type']==b['DiscordConstants']['ChannelTypes']['GROUP_DM']);};b['DMUtils']['getIcon']=function(K){let L=n['ChannelStore']['getChannel'](K=typeof K=='number'?K['toFixed']():K);if(!L)return null;if(!L['icon'])return L['type']==0x1?b['UserUtils']['getAvatar'](L['recipients'][0x0]):L['type']==0x3?window['location']['origin']+n['IconUtils']['getChannelIconURL'](L)['split']('?')[0x0]:null;return n['IconUtils']['getChannelIconURL'](L)['split']('?')[0x0];};b['DMUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;let L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],K);if(!L)return;let M=L['querySelector'](b['dotCN']['guildiconwrapper']);let N=M&&M['href']?M['href']['split']('/')['slice'](-0x1)[0x0]:null;return N&&!isNaN(parseInt(N))?N['toString']():null;};b['DMUtils']['getDiv']=function(K){if(!K)return null;if(Node['prototype']['isPrototypeOf'](K)){var L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],K);return L?L['parentElement']:L;}else{let M=typeof K=='object'?K['id']:K;if(M){var L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],document['querySelector'](b['dotCNS']['guilds']+b['dotCN']['dmpill']+'\x20+\x20*\x20'+b['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+M+'\x22]'));return L&&b?L['parentElement']:L;}}return null;};b['DMUtils']['getData']=function(K){if(!K)return null;let L=Node['prototype']['isPrototypeOf'](K)?b['BDFDB']['DMUtils']['getId'](K):typeof K=='object'?K['id']:K;L=typeof L=='number'?L['toFixed']():L;for(let M of b['DMUtils']['getAll']())if(M&&M['id']==L)return M;return null;};b['DMUtils']['getAll']=function(){let K=[];for(let L of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':'DirectMessage','all':!![],'unlimited':!![]})){if(L['props']&&L['props']['channel'])K['push'](Object['assign'](new L['props']['channel']['constructor'](L['props']['channel']),{'div':b['ReactUtils']['findDOMNode'](L),'instance':L}));}return K;};b['DMUtils']['openMenu']=function(K,L=b['InternalData']['mousePosition']){if(!K)return;let M=Node['prototype']['isPrototypeOf'](K)?b['ChannelUtils']['getId'](K):typeof K=='object'?K['id']:K;let N=n['ChannelStore']['getChannel'](M);if(N){if(N['isMultiUserDM']())n['ContextMenuUtils']['openContextMenu'](L,function(O){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('GroupDMContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},O,{'channel':N,'selected':N['id']==n['LastChannelStore']['getChannelId']()}));});else n['ContextMenuUtils']['openContextMenu'](L,function(O){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('DMUserContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},O,{'user':n['UserStore']['getUser'](N['recipients'][0x0]),'channel':N,'selected':N['id']==n['LastChannelStore']['getChannelId']()}));});}};b['DMUtils']['markAsRead']=function(K){if(!K)return;let L=[];for(let M of K=b['ArrayUtils']['is'](K)?K:typeof K=='string'||typeof K=='number'?Array['of'](K):Array['from'](K)){let N=Node['prototype']['isPrototypeOf'](M)?b['BDFDB']['DMUtils']['getId'](M):M&&typeof M=='object'?M['id']:M;if(N)L['push'](N);}for(let O in L)b['TimeUtils']['timeout'](P=>{n['AckUtils']['ack'](L[O]);},O*0x3e8);};b['DataUtils']={};b['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};b['DataUtils']['save']=function(K,L,M,N){L=L==b&&c||L;let O=typeof L==='string'?L:L['name'];let P=m['path']['join'](b['BDUtils']['getPluginsFolder'](),O+'.config.json');let Q=b['DataUtils']['cached'][O]!==undefined?b['DataUtils']['cached'][O]:c['readConfig'](P)||{};if(M===undefined)Q=b['ObjectUtils']['is'](K)?b['ObjectUtils']['sort'](K):K;else{if(N===undefined)Q[M]=b['ObjectUtils']['is'](K)?b['ObjectUtils']['sort'](K):K;else{if(!b['ObjectUtils']['is'](Q[M]))Q[M]={};Q[M][N]=b['ObjectUtils']['is'](K)?b['ObjectUtils']['sort'](K):K;}}let R=b['ObjectUtils']['is'](Q);if(M!==undefined&&R&&b['ObjectUtils']['is'](Q[M])&&b['ObjectUtils']['isEmpty'](Q[M]))delete Q[M];if(b['ObjectUtils']['isEmpty'](Q)){delete b['DataUtils']['cached'][O];if(m['fs']['existsSync'](P))m['fs']['unlinkSync'](P);}else{if(R)Q=b['ObjectUtils']['sort'](Q);b['DataUtils']['cached'][O]=R?b['ObjectUtils']['deepAssign']({},Q):Q;c['writeConfig'](P,Q);}};b['DataUtils']['load']=function(K,L,M){K=K==b&&c||K;let N=typeof K==='string'?K:K['name'];let O=m['path']['join'](b['BDUtils']['getPluginsFolder'](),N+'.config.json');let P=b['DataUtils']['cached'][N]!==undefined?b['DataUtils']['cached'][N]:c['readConfig'](O)||{};let Q=b['ObjectUtils']['is'](P);b['DataUtils']['cached'][N]=Q?b['ObjectUtils']['deepAssign']({},P):P;if(L===undefined)return P;else{let R=Q?b['ObjectUtils']['is'](P[L])||P[L]==undefined?b['ObjectUtils']['deepAssign']({},P[L]):P[L]:null;if(M===undefined)return R;else return!b['ObjectUtils']['is'](R)||R[M]===undefined?null:R[M];}};b['DataUtils']['remove']=function(K,L,M){K=K==b&&c||K;let N=typeof K==='string'?K:K['name'];let O=m['path']['join'](b['BDUtils']['getPluginsFolder'](),N+'.config.json');let P=b['DataUtils']['cached'][N]!==undefined?b['DataUtils']['cached'][N]:c['readConfig'](O)||{};let Q=b['ObjectUtils']['is'](P);if(L===undefined||!Q)P={};else{if(M===undefined)delete P[L];else if(b['ObjectUtils']['is'](P[L]))delete P[L][M];}if(b['ObjectUtils']['is'](P[L])&&b['ObjectUtils']['isEmpty'](P[L]))delete P[L];if(b['ObjectUtils']['isEmpty'](P)){delete b['DataUtils']['cached'][N];if(m['fs']['existsSync'](O))m['fs']['unlinkSync'](O);}else{if(Q)P=b['ObjectUtils']['sort'](P);b['DataUtils']['cached'][N]=Q?b['ObjectUtils']['deepAssign']({},P):P;c['writeConfig'](O,P);}};b['DataUtils']['get']=function(K,L,M){K=K==b&&c||K;K=typeof K=='string'?b['BDUtils']['getPlugin'](K):K;if(!b['ObjectUtils']['is'](K))return M===undefined?{}:null;let N=K['defaults'];if(!b['ObjectUtils']['is'](N)||!N[L])return M===undefined?{}:null;let O=b['DataUtils']['load'](K,L),P={},Q=![];for(let R in N[L]){let S=b['ObjectUtils']['is'](N[L][R]['value']);if(O[R]==null||S&&(!b['ObjectUtils']['is'](O[R])||Object['keys'](N[L][R]['value'])['some'](T=>N[L][R]['value'][T]!=null&&!b['sameProto'](N[L][R]['value'][T],O[R][T])))){P[R]=S?b['ObjectUtils']['deepAssign']({},N[L][R]['value']):N[L][R]['value'];Q=!![];}else P[R]=O[R];}if(Q)b['DataUtils']['save'](P,K,L);if(M===undefined)return P;else return P[M]===undefined?null:P[M];};c['writeConfig']=function(K,L){try{m['fs']['writeFileSync'](K,JSON['stringify'](L,null,'\x09'));}catch(M){}};c['readConfig']=function(K){try{return JSON['parse'](m['fs']['readFileSync'](K));}catch(L){return{};}};b['ColorUtils']={};b['ColorUtils']['convert']=function(K,L,M){if(b['ObjectUtils']['is'](K)){var N={};for(let ab in K)N[ab]=b['ColorUtils']['convert'](K[ab],L,M);return N;}else{L=L===undefined||!L?L='RGBCOMP':L['toUpperCase']();M=M===undefined||!M||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](M['toUpperCase']())?b['ColorUtils']['getType'](K):M['toUpperCase']();if(L=='RGBCOMP'){switch(M){case'RGBCOMP':if(K['length']==0x3)return a6(K);else if(K['length']==0x4){let ae=a7(K['pop']());return a6(K)['concat'](ae);}break;case'RGB':return a6(K['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let ac=K['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let ad=a7(ac['pop']());return a6(ac)['concat'](ad);case'HSLCOMP':if(K['length']==0x3)return b['ColorUtils']['convert']('hsl('+a9(K)['join'](',')+')','RGBCOMP');else if(K['length']==0x4){let af=a7(K['pop']());return b['ColorUtils']['convert']('hsl('+a9(K)['join'](',')+')','RGBCOMP')['concat'](af);}break;case'HSL':var O=a9(K['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var P,Q,R,S,T,U,V,W;var X=O[0x0]/0x168,Y=parseInt(O[0x1])/0x64,Z=parseInt(O[0x2])/0x64;S=Math['floor'](X*0x6);T=X*0x6-S;U=Z*(0x1-Y);V=Z*(0x1-T*Y);W=Z*(0x1-(0x1-T)*Y);switch(S%0x6){case 0x0:P=Z,Q=W,R=U;break;case 0x1:P=V,Q=Z,R=U;break;case 0x2:P=U,Q=Z,R=W;break;case 0x3:P=U,Q=V,R=Z;break;case 0x4:P=W,Q=U,R=Z;break;case 0x5:P=Z,Q=U,R=V;break;}return[Math['round'](P*0xff),Math['round'](Q*0xff),Math['round'](R*0xff)];case'HSLA':var O=K['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return b['ColorUtils']['convert']('hsl('+O['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](a7(O['pop']()));case'HEX':var a0=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](K);return[parseInt(a0[0x1]+a0[0x1]||a0[0x4],0x10)['toString'](),parseInt(a0[0x2]+a0[0x2]||a0[0x5],0x10)['toString'](),parseInt(a0[0x3]+a0[0x3]||a0[0x6],0x10)['toString']()];case'HEXA':var a0=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](K);return[parseInt(a0[0x1]+a0[0x1]||a0[0x5],0x10)['toString'](),parseInt(a0[0x2]+a0[0x2]||a0[0x6],0x10)['toString'](),parseInt(a0[0x3]+a0[0x3]||a0[0x7],0x10)['toString'](),Math['floor'](b['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(a0[0x4]+a0[0x4]||a0[0x8],0x10)['toString']()))/0x64];case'INT':K=aa(K);return[(K>>0x10&0xff)['toString'](),(K>>0x8&0xff)['toString'](),(K&0xff)['toString']()];default:return null;}}else{if(L&&M&&L['indexOf']('HSL')==0x0&&M['indexOf']('HSL')==0x0){if(M=='HSLCOMP'){switch(L){case'HSLCOMP':if(K['length']==0x3)return a9(K);else if(K['length']==0x4){var a1=a7(K['pop']());return a9(K)['concat'](a1);}break;case'HSL':return'hsl('+a9(K['slice'](0x0,0x3))['join'](',')+')';case'HSLA':K=K['slice'](0x0,0x4);var a1=K['length']==0x4?a7(K['pop']()):0x1;return'hsla('+a9(K)['concat'](a1)['join'](',')+')';}}else return b['ColorUtils']['convert'](K['replace'](/\s/g,'')['slice'](K['toLowerCase']()['indexOf']('hsla')==0x0?0x5:0x4,-0x1)['split'](','),L,'HSLCOMP');}else{let ag=M=='RGBCOMP'?K:b['ColorUtils']['convert'](K,'RGBCOMP',M);if(ag)switch(L){case'RGB':return'rgb('+a6(ag['slice'](0x0,0x3))['join'](',')+')';case'RGBA':ag=ag['slice'](0x0,0x4);var a1=ag['length']==0x4?a7(ag['pop']()):0x1;return'rgba('+a6(ag)['concat'](a1)['join'](',')+')';case'HSLCOMP':var a1=ag['length']==0x4?a7(ag['pop']()):null;var O=a9(b['ColorUtils']['convert'](ag,'HSL')['replace'](/\s/g,'')['split'](','));return a1!=null?O['concat'](a1):O;case'HSL':var P=a5(ag[0x0]),Q=a5(ag[0x1]),R=a5(ag[0x2]);var a2=Math['max'](P,Q,R),a3=Math['min'](P,Q,R),a4=a2-a3,X,Y=a2===0x0?0x0:a4/a2,Z=a2/0xff;switch(a2){case a3:X=0x0;break;case P:X=Q-R+a4*(Q0xff?0xff:ah<0x0?0x0:ah;}};function a6(ah){return ah['map'](ai=>{return a5(ai);});};function a7(ah){if(ah==null){return 0x1;}else{ah=ah['toString']();ah=(ah['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ah['replace'](/[^0-9\.\-]/g,''));return isNaN(ah)||ah>0x1?0x1:ah<0x0?0x0:ah;}};function a8(ah){if(ah==null){return'100%';}else{ah=parseFloat(ah['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(ah)||ah>0x64?0x64:ah<0x0?0x0:ah)+'%';}};function a9(ah){let ai=parseFloat(ah['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));ai=isNaN(ai)||ai>0x168?0x168:ai<0x0?0x0:ai;return[ai]['concat'](ah['map'](aj=>{return a8(aj);}));};function aa(ah){if(ah==null){return 0xffffff;}else{ah=parseInt(ah['toString']()['replace'](/[^0-9]/g,''));return isNaN(ah)||ah>0xffffff?0xffffff:ah<0x0?0x0:ah;}};};b['ColorUtils']['setAlpha']=function(K,L,M){if(b['ObjectUtils']['is'](K)){var N={};for(let P in K)N[P]=b['ColorUtils']['setAlpha'](K[P],L,M);return N;}else{var O=b['ColorUtils']['convert'](K,'RGBCOMP');if(O){L=L['toString']();L=(L['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(L['replace'](/[^0-9\.\-]/g,''));L=isNaN(L)||L>0x1?0x1:L<0x0?0x0:L;O[0x3]=L;M=(M||b['ColorUtils']['getType'](K))['toUpperCase']();M=M=='RGB'||M=='HSL'||M=='HEX'?M+'A':M;return b['ColorUtils']['convert'](O,M);}}return null;};b['ColorUtils']['getAlpha']=function(K){var L=b['ColorUtils']['convert'](K,'RGBCOMP');if(L){if(L['length']==0x3)return 0x1;else if(L['length']==0x4){let M=L[0x3]['toString']();M=(M['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(M['replace'](/[^0-9\.\-]/g,''));return isNaN(M)||M>0x1?0x1:M<0x0?0x0:M;}}return null;};b['ColorUtils']['change']=function(K,L,M){L=parseFloat(L);if(K!=null&&typeof L=='number'&&!isNaN(L)){if(b['ObjectUtils']['is'](K)){var N={};for(let P in K)N[P]=b['ColorUtils']['change'](K[P],L,M);return N;}else{var O=b['ColorUtils']['convert'](K,'RGBCOMP');if(O){if(parseInt(L)!==L){L=L['toString']();L=(L['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(L['replace'](/[^0-9\.\-]/g,''));L=isNaN(L)?0x0:L;return b['ColorUtils']['convert']([Math['round'](O[0x0]*(0x1+L)),Math['round'](O[0x1]*(0x1+L)),Math['round'](O[0x2]*(0x1+L))],M||b['ColorUtils']['getType'](K));}else return b['ColorUtils']['convert']([Math['round'](O[0x0]+L),Math['round'](O[0x1]+L),Math['round'](O[0x2]+L)],M||b['ColorUtils']['getType'](K));}}}return null;};b['ColorUtils']['invert']=function(K,L){if(b['ObjectUtils']['is'](K)){var M={};for(let O in K)M[O]=b['ColorUtils']['invert'](K[O],L);return M;}else{var N=b['ColorUtils']['convert'](K,'RGBCOMP');if(N)return b['ColorUtils']['convert']([0xff-N[0x0],0xff-N[0x1],0xff-N[0x2]],L||b['ColorUtils']['getType'](K));}return null;};b['ColorUtils']['compare']=function(K,L){if(K&&L){K=b['ColorUtils']['convert'](K,'RGBA');L=b['ColorUtils']['convert'](L,'RGBA');if(K&&L)return b['equals'](K,L);}return null;};b['ColorUtils']['isBright']=function(K,L=0xa0){K=b['ColorUtils']['convert'](K,'RGBCOMP');if(!K)return![];return parseInt(L)-0x1&&K<0x1000000)return'INT';}return null;function M(O){return O['slice'](0x0,0x3)['every'](P=>P['toString']()['indexOf']('%')==-0x1&&parseFloat(P)==parseInt(P));};function N(O){return O['slice'](0x1,0x3)['every'](P=>P['toString']()['indexOf']('%')==P['length']-0x1);};};b['ColorUtils']['createGradient']=function(K,L='to\x20right'){var M={};var N='linear-gradient('+L;for(let O of Object['keys'](K)['sort']()){let P=b['ColorUtils']['convert'](K[O],'RGBA');N+=P?',\x20'+P+'\x20'+O*0x64+'%':'';}return N+=')';};b['ColorUtils']['getSwatchColor']=function(K,L){if(!Node['prototype']['isPrototypeOf'](K))return;let M=K['querySelector'](b['dotCN']['colorpickerswatches']+'[number=\x22'+L+'\x22],\x20'+b['dotCN']['colorpickerswatch']+'[number=\x22'+L+'\x22]');if(!M)return null;return b['ColorUtils']['convert'](b['ReactUtils']['findValue'](b['ReactUtils']['getInstance'](M),'selectedColor',{'up':!![],'blacklist':{'props':!![]}}));};b['DOMUtils']={};b['DOMUtils']['getSelection']=function(){let K=document['getSelection']();return K&&K['anchorNode']?K['getRangeAt'](0x0)['toString']():'';};b['DOMUtils']['addClass']=function(K,...L){if(!K||!L)return;for(let N of[K]['flat'](0xa)['filter'](O=>O)){if(Node['prototype']['isPrototypeOf'](N))M(N);else if(NodeList['prototype']['isPrototypeOf'](N))for(let O of N)M(O);else if(typeof N=='string')for(let P of N['split'](','))if(P&&(P=P['trim']()))for(let Q of document['querySelectorAll'](P))M(Q);}function M(R){if(R&&R['classList'])for(let S of L)for(let T of[S]['flat'](0xa)['filter'](U=>U))if(typeof T=='string')for(let U of T['split']('\x20'))if(U)R['classList']['add'](U);}};b['DOMUtils']['removeClass']=function(K,...L){if(!K||!L)return;for(let N of[K]['flat'](0xa)['filter'](O=>O)){if(Node['prototype']['isPrototypeOf'](N))M(N);else if(NodeList['prototype']['isPrototypeOf'](N))for(let O of N)M(O);else if(typeof N=='string')for(let P of N['split'](','))if(P&&(P=P['trim']()))for(let Q of document['querySelectorAll'](P))M(Q);}function M(R){if(R&&R['classList'])for(let S of L)for(let T of[S]['flat'](0xa)['filter'](U=>U))if(typeof T=='string')for(let U of T['split']('\x20'))if(U)R['classList']['remove'](U);}};b['DOMUtils']['toggleClass']=function(K,...L){if(!K||!L)return;var M=L['pop']();if(typeof M!='boolean'){L['push'](M);M=undefined;}if(!L['length'])return;for(let O of[K]['flat'](0xa)['filter'](P=>P)){if(!O){}else if(Node['prototype']['isPrototypeOf'](O))N(O);else if(NodeList['prototype']['isPrototypeOf'](O))for(let P of O)N(P);else if(typeof O=='string')for(let Q of O['split'](','))if(Q&&(Q=Q['trim']()))for(let R of document['querySelectorAll'](Q))N(R);}function N(S){if(S&&S['classList'])for(let T of L)for(let U of[T]['flat'](0xa)['filter'](V=>V))if(typeof U=='string')for(let V of U['split']('\x20'))if(V)S['classList']['toggle'](V,M);}};b['DOMUtils']['containsClass']=function(K,...L){if(!K||!L)return;let M=L['pop']();if(typeof M!='boolean'){L['push'](M);M=!![];}if(!L['length'])return;let N=undefined;for(let P of b['ArrayUtils']['is'](K)?K:Array['of'](K)){if(!P){}else if(Node['prototype']['isPrototypeOf'](P))O(P);else if(NodeList['prototype']['isPrototypeOf'](P))for(let Q of P)O(Q);else if(typeof P=='string')for(let R of P['split'](','))if(R&&(R=R['trim']()))for(let S of document['querySelectorAll'](R))O(S);}return N;function O(T){if(T&&T['classList'])for(let U of L)if(typeof U=='string')for(let V of U['split']('\x20'))if(V){if(N===undefined)N=M;if(M&&!T['classList']['contains'](V))N=![];if(!M&&T['classList']['contains'](V))N=!![];}}};b['DOMUtils']['replaceClass']=function(K,L,M){if(!K||typeof L!='string'||typeof M!='string')return;for(let O of[K]['flat'](0xa)['filter'](P=>P)){if(Node['prototype']['isPrototypeOf'](O))N(O);else if(NodeList['prototype']['isPrototypeOf'](O))for(let P of O)N(P);else if(typeof O=='string')for(let Q of O['split'](','))if(Q&&(Q=Q['trim']()))for(let R of document['querySelectorAll'](Q))N(R);}function N(S){if(S&&S['tagName']&&S['className'])S['className']=S['className']['replace'](new RegExp(L,'g'),M)['trim']();}};b['DOMUtils']['formatClassName']=function(...K){return b['ArrayUtils']['removeCopies'](K['flat'](0xa)['filter'](L=>L)['join']('\x20')['split']('\x20'))['join']('\x20')['trim']();};b['DOMUtils']['removeClassFromDOM']=function(...K){for(let L of K['flat'](0xa)['filter'](M=>M))if(typeof L=='string')for(let M of L['split'](','))if(M&&(M=M['replace'](/\.|\s/g,'')))b['DOMUtils']['removeClass'](document['querySelectorAll']('.'+M),M);};b['DOMUtils']['show']=function(...K){b['DOMUtils']['toggle'](...K,!![]);};b['DOMUtils']['hide']=function(...K){b['DOMUtils']['toggle'](...K,![]);};b['DOMUtils']['toggle']=function(...K){if(!K)return;let L=K['pop']();if(typeof L!='boolean'){K['push'](L);L=undefined;}if(!K['length'])return;for(let N of K['flat'](0xa)['filter'](O=>O)){if(Node['prototype']['isPrototypeOf'](N))M(N);else if(NodeList['prototype']['isPrototypeOf'](N))for(let O of N)M(O);else if(typeof N=='string')for(let P of N['split'](','))if(P&&(P=P['trim']()))for(let Q of document['querySelectorAll'](P))M(Q);}function M(R){if(!R||!Node['prototype']['isPrototypeOf'](R))return;let S=L===undefined?!b['DOMUtils']['isHidden'](R):!L;if(S){let T=R['style']['getPropertyValue']('display');if(T&&T!='none')R['BDFDBhideDisplayState']={'display':T,'important':(('\x20'+R['style']['cssText']+'\x20')['split']('\x20display:\x20'+T)[0x1]||'')['trim']()['indexOf']('!important')==0x0};R['style']['setProperty']('display','none','important');}else{if(R['BDFDBhideDisplayState']){R['style']['setProperty']('display',R['BDFDBhideDisplayState']['display'],R['BDFDBhideDisplayState']['important']?'important':'');delete R['BDFDBhideDisplayState'];}else R['style']['removeProperty']('display');}}};b['DOMUtils']['isHidden']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE'])return getComputedStyle(K,null)['getPropertyValue']('display')=='none';};b['DOMUtils']['remove']=function(...K){for(let L of K['flat'](0xa)['filter'](M=>M)){if(Node['prototype']['isPrototypeOf'](L))L['remove']();else if(NodeList['prototype']['isPrototypeOf'](L)){let M=Array['from'](L);while(M['length'])M['shift']()['remove']();}else if(typeof L=='string')for(let N of L['split'](','))if(N&&(N=N['trim']())){let O=Array['from'](document['querySelectorAll'](N));while(O['length'])O['shift']()['remove']();}}};b['DOMUtils']['create']=function(K){if(typeof K!='string'||!K['trim']())return null;let L=document['createElement']('template');try{L['innerHTML']=K['replace'](/(?[\t\r\n]+<(?!pre)/g,'><');}catch(M){L['innerHTML']=K['replace'](/>[\t\r\n]+<(?!pre)/g,'><');}if(L['content']['childNodes']['length']==0x1)return L['content']['firstElementChild'];else{let N=document['createElement']('span');let O=Array['from'](L['content']['childNodes']);while(O['length'])N['appendChild'](O['shift']());return N;}};b['DOMUtils']['getParent']=function(K,L){let M=null;if(Node['prototype']['isPrototypeOf'](L)&&K){let N=NodeList['prototype']['isPrototypeOf'](K)?K:typeof K=='string'?document['querySelectorAll'](K):null;if(N)for(let O of N)if(O['contains'](L)){M=O;break;}}return M;};b['DOMUtils']['setText']=function(K,L){if(!K||!Node['prototype']['isPrototypeOf'](K))return;let M=K['nodeType']==Node['TEXT_NODE']?K:null;if(!M)for(let N of K['childNodes'])if(N['nodeType']==Node['TEXT_NODE']||b['DOMUtils']['containsClass'](N,'BDFDB-textnode')){M=N;break;}if(M){if(Node['prototype']['isPrototypeOf'](L)&&L['nodeType']!=Node['TEXT_NODE']){b['DOMUtils']['addClass'](L,'BDFDB-textnode');K['replaceChild'](L,M);}else if(Node['prototype']['isPrototypeOf'](M)&&M['nodeType']!=Node['TEXT_NODE'])K['replaceChild'](document['createTextNode'](L),M);else M['textContent']=L;}else K['appendChild'](Node['prototype']['isPrototypeOf'](L)?L:document['createTextNode'](L));};b['DOMUtils']['getText']=function(K){if(!K||!Node['prototype']['isPrototypeOf'](K))return;for(let L of K['childNodes'])if(L['nodeType']==Node['TEXT_NODE'])return L['textContent'];};b['DOMUtils']['getRects']=function(K){let L={};if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let M=K;while(M){let N=b['DOMUtils']['isHidden'](M);if(N){b['DOMUtils']['toggle'](M,!![]);M['BDFDBgetRectsHidden']=!![];}M=M['parentElement'];}L=K['getBoundingClientRect']();M=K;while(M){if(M['BDFDBgetRectsHidden']){b['DOMUtils']['toggle'](M,![]);delete M['BDFDBgetRectsHidden'];}M=M['parentElement'];}}return L;};b['DOMUtils']['getHeight']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['height']+parseInt(M['marginTop'])+parseInt(M['marginBottom']);}return 0x0;};b['DOMUtils']['getInnerHeight']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['height']-parseInt(M['paddingTop'])-parseInt(M['paddingBottom']);}return 0x0;};b['DOMUtils']['getWidth']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['width']+parseInt(M['marginLeft'])+parseInt(M['marginRight']);}return 0x0;};b['DOMUtils']['getInnerWidth']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['width']-parseInt(M['paddingLeft'])-parseInt(M['paddingRight']);}return 0x0;};b['DOMUtils']['appendWebScript']=function(K,L){if(!L&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](b['DOMUtils']['create'](''));L=L||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['removeWebScript'](K,L);let M=document['createElement']('script');M['src']=K;L['appendChild'](M);};b['DOMUtils']['removeWebScript']=function(K,L){L=L||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['remove'](L['querySelectorAll']('script[src=\x22'+K+'\x22]'));};b['DOMUtils']['appendWebStyle']=function(K,L){if(!L&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](b['DOMUtils']['create'](''));L=L||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['removeWebStyle'](K,L);L['appendChild'](b['DOMUtils']['create'](''));};b['DOMUtils']['removeWebStyle']=function(K,L){L=L||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['remove'](L['querySelectorAll']('link[href=\x22'+K+'\x22]'));};b['DOMUtils']['appendLocalStyle']=function(K,L,M){if(!M&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](b['DOMUtils']['create'](''));M=M||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];M=Node['prototype']['isPrototypeOf'](M)?M:document['head'];b['DOMUtils']['removeLocalStyle'](K,M);M['appendChild'](b['DOMUtils']['create'](''+L['replace'](/\t|\r|\n/g,'')+''));};b['DOMUtils']['removeLocalStyle']=function(K,L){L=L||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['remove'](L['querySelectorAll']('style[id=\x22'+K+'CSS\x22]'));};b['ModalUtils']={};b['ModalUtils']['open']=function(K,L){if(!b['ObjectUtils']['is'](K)||!b['ObjectUtils']['is'](L))return;let M,N,O,P=[],Q=U=>{if(b['ObjectUtils']['is'](O)&&typeof O['onClose']=='function')O['onClose']();};let R=[],S=[],T=[];if(typeof L['text']=='string'){S['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'children':L['text']}));}if(L['children']){let U=[];for(let V of[L['children']]['flat'](0xa)['filter'](W=>W))if(n['React']['isValidElement'](V)){if(V['type']==x['LibraryComponents']['ModalComponents']['ModalTabContent']){if(!U['length'])V['props']['open']=!![];else delete V['props']['open'];U['push']({'value':V['props']['tab']});}S['push'](V);}if(U['length'])R['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['tabbarcontainer'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['TabBar'],{'className':b['disCN']['tabbar'],'itemClassName':b['disCN']['tabbaritem'],'type':x['LibraryComponents']['TabBar']['Types']['TOP'],'items':U,'onItemSelect':(W,X)=>{let Y=b['ReactUtils']['findOwner'](M,{'name':'BDFDB_ModalTabContent','all':!![],'unlimited':!![]});for(let Z of Y){if(Z['props']['tab']==W)Z['props']['open']=!![];else delete Z['props']['open'];}b['ReactUtils']['forceUpdate'](Y);}}),L['tabBarChildren']]['flat'](0xa)['filter'](W=>W)}));}if(b['ArrayUtils']['is'](L['buttons']))for(let W of L['buttons']){let X=typeof W['contents']=='string'&&W['contents'];if(X){let Y=typeof W['color']=='string'&&x['LibraryComponents']['Button']['Colors'][W['color']['toUpperCase']()];let Z=typeof W['look']=='string'&&x['LibraryComponents']['Button']['Looks'][W['look']['toUpperCase']()];let a0=typeof W['click']=='function'?W['click']:typeof W['onClick']=='function'?W['onClick']:a1=>{};if(W['cancel'])P['push'](a0);T['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],b['ObjectUtils']['exclude'](Object['assign']({},W,{'look':Z||(Y?x['LibraryComponents']['Button']['Looks']['FILLED']:x['LibraryComponents']['Button']['Looks']['LINK']),'color':Y||x['LibraryComponents']['Button']['Colors']['PRIMARY'],'onClick':a1=>{if(W['close'])Q();if(!(W['close']&&W['cancel']))a0(M,N);},'children':X}),'click','close','cancel','contents')));}}S=S['concat'](L['contentChildren'])['filter'](a1=>a1&&(typeof a1=='string'||b['ReactUtils']['isValidElement'](a1)));R=R['concat'](L['headerChildren'])['filter'](a1=>a1&&(typeof a1=='string'||b['ReactUtils']['isValidElement'](a1)));T=T['concat'](L['footerChildren'])['filter'](a1=>a1&&(typeof a1=='string'||b['ReactUtils']['isValidElement'](a1)));if(S['length']){if(typeof L['onClose']!='function')L['onClose']=a3=>{};if(typeof L['onOpen']!='function')L['onOpen']=a3=>{};let a1=K['name']||(typeof K['getName']=='function'?K['getName']():null);a1=typeof a1=='string'?a1:null;let a2=0x0;n['ModalUtils']['openModal'](a3=>{O=a3;return b['ReactUtils']['createElement'](class BDFDB_Modal extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalRoot'],{'className':b['DOMUtils']['formatClassName'](a1&&a1+'-modal',b['disCN']['modalwrapper'],L['className']),'size':typeof L['size']=='string'&&x['LibraryComponents']['ModalComponents']['ModalSize'][L['size']['toUpperCase']()]||x['LibraryComponents']['ModalComponents']['ModalSize']['SMALL'],'transitionState':a3['transitionState'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalHeader'],{'className':b['DOMUtils']['formatClassName'](L['headerClassName'],L['shade']&&b['disCN']['modalheadershade'],R['length']&&b['disCN']['modalheaderhassibling']),'separator':L['headerSeparator']||![],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H4'],'children':L['header']}),b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'size':x['LibraryComponents']['TextElement']['Sizes']['SIZE_12'],'children':typeof L['subheader']=='string'||b['ReactUtils']['isValidElement'](L['subheader'])?L['subheader']:a1||''})]}),b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalCloseButton'],{'onClick':Q})]}),R['length']?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'grow':0x0,'shrink':0x0,'children':R}):null,b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalContent'],{'className':L['contentClassName'],'scroller':L['scroller'],'direction':L['direction'],'content':L['content'],'children':S}),T['length']?b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalFooter'],{'className':L['footerClassName'],'children':T}):null]});}['componentDidMount'](){N=this;M=b['ReactUtils']['findDOMNode'](this);M=M&&M['parentElement']?M['parentElement']['querySelector'](b['dotCN']['modalwrapper']):null;if(M&&a3['transitionState']==0x1&&a3['transitionState']>a2)L['onOpen'](M,this);a2=a3['transitionState'];}['componentWillUnmount'](){if(M&&a3['transitionState']==0x3){for(let a4 of P)a4(M);L['onClose'](M,this);}}},a3,!![]);},{'onCloseRequest':Q});}};b['ModalUtils']['confirm']=function(K,L,M){if(!b['ObjectUtils']['is'](K)||typeof L!='string')return;b['ModalUtils']['open'](K,{'text':L,'header':'Are\x20you\x20sure?','className':b['disCN']['modalconfirmmodal'],'scroller':![],'buttons':[{'contents':b['LanguageUtils']['LanguageStrings']['OKAY'],'close':!![],'color':'RED','click':typeof M=='function'?M:N=>{}},{'contents':b['LanguageUtils']['LanguageStrings']['CANCEL'],'close':!![]}]});};const r=b['ModuleUtils']['findByProperties']('MenuItem','MenuGroup');b['ContextMenuUtils']={};b['ContextMenuUtils']['open']=function(K,L,M){n['ContextMenuUtils']['openContextMenu'](L,function(N){return b['ReactUtils']['createElement'](x['LibraryComponents']['Menu'],{'navId':'bdfdb-context','onClose':b['LibraryModules']['ContextMenuUtils']['closeContextMenu'],'children':M},!![]);});};b['ContextMenuUtils']['close']=function(K){if(!b['ObjectUtils']['is'](K))return;let L=b['ReactUtils']['findOwner'](K,{'props':'closeContextMenu','up':!![]});if(b['ObjectUtils']['is'](L)&&L['props']&&typeof L['props']['closeContextMenu']=='function')L['props']['closeContextMenu']();else b['LibraryModules']['ContextMenuUtils']['closeContextMenu']();};b['ContextMenuUtils']['createItem']=function(K,L={}){if(!K)return null;else{if(b['ObjectUtils']['toArray'](r)['some'](M=>M==K))return b['ReactUtils']['createElement'](K,L);else return b['ReactUtils']['createElement'](r['MenuItem'],{'id':L['id'],'disabled':L['disabled'],'render':M=>{if(!L['state'])L['state']=b['ObjectUtils']['extract'](L,'checked','value');return b['ReactUtils']['createElement'](K,Object['assign'](L,M));}});}};b['ContextMenuUtils']['createItemId']=function(...K){return K['map'](L=>typeof L=='number'?L['toString']():L)['filter'](L=>typeof L=='string')['map'](L=>L['toLowerCase']()['replace'](/\s/,'-'))['join']('-');};b['ContextMenuUtils']['findItem']=function(K,L){if(!K||!b['ObjectUtils']['is'](L)||!L['label']&&!L['id'])return[null,-0x1];L['label']=L['label']&&[L['label']]['flat']()['filter'](O=>O);L['id']=L['id']&&[L['id']]['flat']()['filter'](O=>O);let M=b['ReactUtils']['findChild'](K,{'props':'navId'});if(M){for(let O in M['props']['children']){if(M['props']['children'][O]&&M['props']['children'][O]['type']==r['MenuGroup']){if(b['ArrayUtils']['is'](M['props']['children'][O]['props']['children'])){for(let P in M['props']['children'][O]['props']['children'])if(N(M['props']['children'][O]['props']['children'][P])){if(L['group'])return[M['props']['children'],parseInt(O)];else return[M['props']['children'][O]['props']['children'],parseInt(P)];}}else if(M['props']['children'][O]&&M['props']['children'][O]['props']){if(N(M['props']['children'][O]['props']['children'])){if(L['group'])return[M['props']['children'],parseInt(O)];else{M['props']['children'][O]['props']['children']=[M['props']['children'][O]['props']['children']];return[M['props']['children'][O]['props']['children'],0x0];}}else if(M['props']['children'][O]['props']['children']&&M['props']['children'][O]['props']['children']['props']&&b['ArrayUtils']['is'](M['props']['children'][O]['props']['children']['props']['children'])){for(let Q in M['props']['children'][O]['props']['children']['props']['children'])if(N(M['props']['children'][O]['props']['children']['props']['children'][Q])){if(L['group'])return[M['props']['children'],parseInt(O)];else return[M['props']['children'][O]['props']['children']['props']['children'],parseInt(Q)];}}}}else if(N(M['props']['children'][O]))return[M['props']['children'],parseInt(O)];}return[M['props']['children'],-0x1];}return[null,-0x1];function N(R){if(!R)return![];let S=R['stateNode']?R['stateNode']['props']:R['props'];if(!S)return![];return L['id']&&L['id']['some'](T=>S['id']==T)||L['label']&&L['label']['some'](T=>S['label']==T);}};b['TimeUtils']={};b['TimeUtils']['interval']=function(K,L,...M){if(typeof K!='function'||typeof L!='number'||L<0x1)return;else{let N=0x0,O=setInterval(P=>{b['TimeUtils']['suppress'](K,'Interval')(...[O,N++,M]['flat']());},L);return O;}};b['TimeUtils']['timeout']=function(K,L,...M){if(typeof K!='function')return;else if(typeof L!='number'||L<0x1){let N=setImmediate(O=>{b['TimeUtils']['suppress'](K,'Immediate')(...[N,M]['flat']());});return N;}else{let O=setTimeout(P=>{b['TimeUtils']['suppress'](K,'Timeout')(...[O,M]['flat']());},L);return O;}};b['TimeUtils']['clear']=function(...K){for(let L of K['flat'](0xa)['filter'](M=>M)){if(typeof L=='number'){clearInterval(L);clearTimeout(L);}else if(typeof L=='object')clearImmediate(L);}};b['TimeUtils']['suppress']=function(K,L,M){return function(...N){try{return K(...N);}catch(O){b['LogUtils']['error']((typeof L=='string'&&L||'')+'\x20'+O,M);}};};b['StringUtils']={};b['StringUtils']['htmlEscape']=function(K){let L=document['createElement']('div');L['innerText']=K;return L['innerHTML'];};b['StringUtils']['regEscape']=function(K){return typeof K=='string'&&K['replace'](/([\-\/\\\^\$\*\+\?\.\(\)\|\[\]\{\}])/g,'\x5c$1');};b['StringUtils']['insertNRST']=function(K){return typeof K=='string'&&K['replace'](/\\r/g,'\x0d')['replace'](/\\n/g,'\x0a')['replace'](/\\t/g,'\x09')['replace'](/\\s/g,'\x20');};b['StringUtils']['highlight']=function(K,L,M='',N=''){if(typeof K!='string'||!L||L['length']<0x1)return K;let O=0x0,P=K;b['ArrayUtils']['getAllIndexes'](K['toUpperCase'](),L['toUpperCase']())['forEach'](Q=>{let R=O*(M['length']+N['length']);Q=Q+R;let S=Q+L['length'];let T=[-0x1]['concat'](b['ArrayUtils']['getAllIndexes'](K['substring'](0x0,Q),'<'));let U=[-0x1]['concat'](b['ArrayUtils']['getAllIndexes'](K['substring'](0x0,Q),'>'));if(T[T['length']-0x1]>U[U['length']-0x1])return;K=K['substring'](0x0,Q)+M+K['substring'](Q,S)+N+K['substring'](S);O++;});return K||P;};b['StringUtils']['extractSelection']=function(K,L){if(typeof K!='string')return'';if(typeof L!='string')return K;let M=[],N=[],O=0x0,P=![],Q=![];for(let R of b['ArrayUtils']['getAllIndexes'](K,L[0x0]))if(!Q){while(R<=K['length']&&!Q){let S=L['slice'](M['filter'](T=>T!=undefined)['length']);if(!S&&M['length']-0x14<=L['length'])Q=!![];else for(let T in S)if(!Q&&!P){if(K[R]==S[T]){M[R]=S[T];N[R]=S[T];O=0x0;if(R==K['length'])Q=!![];}else{M[R]=null;N[R]=K[R];O++;if(O>0x4){M=[],N=[],O=0x0,P=!![];break;}}break;}P=![];R++;}}if(M['filter'](U=>U)['length']){let U=[]['concat'](M)['reverse'](),V=0x0,W=0x0;for(let X in M){if(M[X]==null)V=parseInt(X)+0x1;else break;}for(let Y in U){if(U[Y]==null)W=parseInt(Y)+0x1;else break;}return N['slice'](V,N['length']-W)['join']('');}else return K;};b['SlateUtils']={};b['SlateUtils']['isRichValue']=function(K){return b['ObjectUtils']['is'](K)&&n['SlateUtils']['deserialize']('')['constructor']['prototype']['isPrototypeOf'](K);};b['SlateUtils']['copyRichValue']=function(K,L){let M=n['SlateUtils']['deserialize'](K);if(b['SlateUtils']['isRichValue'](L)&&L['_map']&&L['_map']['_root']&&b['ArrayUtils']['is'](L['_map']['_root']['entries'])){for(let N in L['_map']['_root']['entries'])if(L['_map']['_root']['entries'][N][0x0]=='selection'){M['_map']['_root']['entries'][N]=L['_map']['_root']['entries'][N];break;}}return M;};b['SlateUtils']['hasOpenPlainTextCodeBlock']=function(K){let L=b['ReactUtils']['getValue'](K,'props.richValue');if(!b['SlateUtils']['isRichValue'](L))return![];let M=b['LibraryModules']['SlateSelectionUtils']['serializeSelection'](L['document'],{'start':{'key':L['document']['getFirstText']()['key'],'offset':0x0},'end':L['selection']['start']},'raw')['match'](/```/g);return M&&M['length']&&M['length']%0x2!=0x0;};b['SlateUtils']['getCurrentWord']=function(K){let L=b['ReactUtils']['getValue'](K,'props.richValue');if(!b['SlateUtils']['isRichValue'](L)||!L['selection']['isCollapsed']||b['SlateUtils']['hasOpenPlainTextCodeBlock'](K)||L['document']['text']['trim']()['length']==0x0)return{'word':null,'isAtStart':![]};if(K['props']['useSlate']){if(L['document']['text']['startsWith']('/giphy\x20')||L['document']['text']['startsWith']('/tenor\x20')){let R=L['document']['getNode'](L['selection']['start']['key']);if(R)return{'word':R['text']['substring'](0x0,L['selection']['start']['offset']),'isAtStart':!![]};}let M=L['document']['getNode'](L['selection']['start']['key']);if(M==null)return{'word':null,'isAtStart':![]};let N='',O=![];let P=L['selection']['start']['offset'];let Q=L['document']['getClosestBlock'](M['key']);while(!![]){if(--P<0x0){if(M=Q['getPreviousNode'](M['key'])==null){O=!![];break;}if(M['object']!=='text')break;P=M['text']['length']-0x1;}if(M['object']!=='text')break;let S=M['text'][P];if(/(\t|\s)/['test'](S))break;N=S+N;}return{'word':!N?null:N,'isAtStart':O&&Q['type']=='line'&&L['document']['nodes']['get'](0x0)===Q};}else{let T=b['ReactUtils']['findDOMNode'](K['ref']['current']);if(!Node['prototype']['isPrototypeOf'](T)||T['tagName']!='TEXTAREA'||!T['value']['length']||/\s/['test'](T['value']['slice'](T['selectionStart'],T['selectionEnd'])))return{'word':null,'isAtStart':!![]};else{if(T['selectionEnd']==T['value']['length']){let U=T['value']['split'](/\s/)['reverse']();return{'word':!U[0x0]?null:U[0x0],'isAtStart':U['length']>0x1};}else{let V=T['value']['split'](''),W='',X='',Y=![],Z=!![];for(let a0 in V){if(a0==T['selectionStart'])Y=!![];if(/\s/['test'](V[a0])){W='';Z=X['length']>0x0&&Z||![];Y=![];}else{W+=V[a0];if(Y)X=W;}}return{'word':!X?null:X,'isAtStart':Z};}}}};b['NumberUtils']={};b['NumberUtils']['formatBytes']=function(K,L){K=parseInt(K);if(isNaN(K)||K<0x0)return'0\x20Bytes';if(K==0x1)return'1\x20Byte';let M=Math['floor'](Math['log'](K)/Math['log'](0x400));return parseFloat((K/Math['pow'](0x400,M))['toFixed'](L<0x1?0x0:L>0x14?0x14:L||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][M];};b['NumberUtils']['mapRange']=function(K,L,M){if(parseFloat(M)parseFloat(K[0x1]))return parseFloat(L[0x1]);else return parseFloat(L[0x0])+(parseFloat(M)-parseFloat(K[0x0]))*(parseFloat(L[0x1])-parseFloat(L[0x0]))/(parseFloat(K[0x1])-parseFloat(K[0x0]));};b['NumberUtils']['generateId']=function(K){K=b['ArrayUtils']['is'](K)?K:[];let L=Math['floor'](Math['random']()*0x2386f26fc10000);if(K['includes'](L))return b['NumberUtils']['generateId'](K);else{K['push'](L);return L;}};b['NumberUtils']['compareVersions']=function(K,L){if(!K||!L)return!![];K=K['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](O=>parseInt(O))['filter'](O=>(O||O==0x0)&&!isNaN(O));L=L['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](O=>parseInt(O))['filter'](O=>(O||O==0x0)&&!isNaN(O));var M=Math['max'](K['length'],L['length']);if(!M)return!![];if(K['length']>L['length']){var N=new Array(K['length']-L['length']);for(let O=0x0;OL[S])return!![];}return![];};b['NumberUtils']['getVersionDifference']=function(K,L){if(!K||!L)return![];K=K['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](Q=>parseInt(Q))['filter'](Q=>(Q||Q==0x0)&&!isNaN(Q));L=L['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](Q=>parseInt(Q))['filter'](Q=>(Q||Q==0x0)&&!isNaN(Q));var M=Math['max'](K['length'],L['length']);if(!M)return![];if(K['length']>L['length']){var N=new Array(K['length']-L['length']);for(let Q=0x0;Q0x12c?'stable':da>0xc8?'canary':'ptb';else K='stable';}else K='stable';}}b['DiscordUtils']['getBuilt']['built']=K;return K;}};b['DiscordUtils']['getVersion']=function(){if(b['DiscordUtils']['getBuilt']['version'])return b['DiscordUtils']['getBuilt']['version'];else{let K=null;try{K=m['electron']['remote']['app']['getVersion']();}catch(L){K='';}b['DiscordUtils']['getBuilt']['version']=K;return K;}};b['DiscordUtils']['isDevModeEnabled']=function(){return n['StoreChangeUtils']['get']('UserSettingsStore')['developerMode'];};b['DiscordUtils']['getTheme']=function(){return n['StoreChangeUtils']['get']('UserSettingsStore')['theme']=='dark'?b['disCN']['themedark']:b['disCN']['themelight'];};b['DiscordUtils']['getMode']=function(){return n['StoreChangeUtils']['get']('UserSettingsStore')['message_display_compact']?'compact':'cozy';};b['DiscordUtils']['getZoomFactor']=function(){let K=b['DOMUtils']['getRects'](document['querySelector'](b['dotCN']['appmount']));let L=Math['round'](0x64*window['outerWidth']/K['width']);let M=Math['round'](0x64*window['outerHeight']/K['height']);return L{N['onLoad'](...P);});if(typeof N['onClose']=='function')O['once']('closed',(...P)=>{N['onClose'](...P);});if(typeof O['removeMenu']=='function')O['removeMenu']();else O['setMenu'](null);O['loadURL'](L);O['executeJavaScriptSafe']=P=>{if(!O['isDestroyed']())O['webContents']['executeJavaScript']('(_\x20=>\x20{'+P+'})();');};K['browserWindows']['push'](O);return O;};b['WindowUtils']['close']=function(K){if(b['ObjectUtils']['is'](K)&&!K['isDestroyed']()&&K['isClosable']())K['close']();};b['WindowUtils']['closeAll']=function(K){K=K==b&&c||K;if(b['ObjectUtils']['is'](K)&&b['ArrayUtils']['is'](K['browserWindows']))while(K['browserWindows']['length'])b['WindowUtils']['close'](K['browserWindows']['pop']());};b['WindowUtils']['addListener']=function(K,L,M){K=K==b&&c||K;if(!b['ObjectUtils']['is'](K)||!L||typeof M!='function')return;b['WindowUtils']['removeListener'](K,L);for(let N of L['split']('\x20')){N=N['split']('.');let O=N['shift']();if(!O)return;let P=(N['join']('.')||'')+K['name'];if(!b['ArrayUtils']['is'](K['ipcListeners']))K['ipcListeners']=[];K['ipcListeners']['push']({'eventName':O,'namespace':P,'callback':M});m['electron']['ipcRenderer']['on'](O,M);}};b['WindowUtils']['removeListener']=function(K,L=''){K=K==b&&c||K;if(!b['ObjectUtils']['is'](K)||!b['ArrayUtils']['is'](K['ipcListeners']))return;if(L){for(let M of L['split']('\x20')){M=M['split']('.');let N=M['shift']();let O=(M['join']('.')||'')+K['name'];for(let P of K['ipcListeners']){let Q=[];if(P['eventName']==N&&P['namespace']==O){m['electron']['ipcRenderer']['off'](P['eventName'],P['callback']);Q['push'](P);}if(Q['length'])K['ipcListeners']=K['ipcListeners']['filter'](R=>{return Q['indexOf'](R)<0x0;});}}}else{for(let R of K['ipcListeners'])m['electron']['ipcRenderer']['off'](R['eventName'],R['callback']);K['ipcListeners']=[];}};b['BDUtils']={};b['BDUtils']['getPluginsFolder']=function(){if(m['process']['env']['injDir'])return m['path']['resolve'](m['process']['env']['injDir'],'plugins/');else switch(m['process']['platform']){case'win32':return m['path']['resolve'](m['process']['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return m['path']['resolve'](m['process']['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(m['process']['env']['XDG_CONFIG_HOME'])return m['path']['resolve'](m['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return m['path']['resolve'](m['process']['env']['HOME'],'.config/BetterDiscord/plugins/');}};b['BDUtils']['getThemesFolder']=function(){if(m['process']['env']['injDir'])return m['path']['resolve'](m['process']['env']['injDir'],'plugins/');else switch(m['process']['platform']){case'win32':return m['path']['resolve'](m['process']['env']['appdata'],'BetterDiscord/themes/');case'darwin':return m['path']['resolve'](m['process']['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(m['process']['env']['XDG_CONFIG_HOME'])return m['path']['resolve'](m['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return m['path']['resolve'](m['process']['env']['HOME'],'.config/BetterDiscord/themes/');}};b['BDUtils']['isPluginEnabled']=function(K){if(!window['BdApi'])return null;else if(BdApi['Plugins']&&typeof BdApi['Plugins']['isEnabled']=='function')return BdApi['Plugins']['isEnabled'](K);else if(typeof BdApi['isPluginEnabled']=='function')return BdApi['isPluginEnabled'](K);};b['BDUtils']['enablePlugin']=function(K){if(!window['BdApi'])return;else if(BdApi['Plugins']&&typeof BdApi['Plugins']['enable']=='function')BdApi['Plugins']['enable'](K);else if(window['pluginModule'])window['pluginModule']['startPlugin'](K);};b['BDUtils']['disablePlugin']=function(K){if(!window['BdApi'])return;else if(BdApi['Plugins']&&typeof BdApi['Plugins']['disable']=='function')BdApi['Plugins']['disable'](K);else if(window['pluginModule'])window['pluginModule']['stopPlugin'](K);};b['BDUtils']['getPlugin']=function(K,L=![],M=![]){if(window['BdApi']&&!L||b['BDUtils']['isPluginEnabled'](K)){if(BdApi['Plugins']['get']&&typeof BdApi['Plugins']['get']=='function'){let N=BdApi['Plugins']['get'](K);if(M)return N?{'filename':m['fs']['existsSync'](m['path']['join'](b['BDUtils']['getPluginsFolder'](),K+'.plugin.js'))?K+'.plugin.js':null,'id':K,'name':K,'plugin':N}:null;else return N;}else if(window['bdplugins'])M?window['bdplugins'][K]:(window['bdplugins'][K]||{})['plugin'];}return null;};b['BDUtils']['isThemeEnabled']=function(K){if(!window['BdApi'])return null;else if(BdApi['Themes']&&typeof BdApi['Themes']['isEnabled']=='function')return BdApi['Themes']['isEnabled'](K);else if(typeof BdApi['isThemeEnabled']=='function')return BdApi['isThemeEnabled'](K);};b['BDUtils']['enableTheme']=function(K){if(!window['BdApi'])return;else if(BdApi['Themes']&&typeof BdApi['Themes']['enable']=='function')BdApi['Themes']['enable'](K);else if(window['themeModule'])window['themeModule']['enableTheme'](K);};b['BDUtils']['disableTheme']=function(K){if(!window['BdApi'])return;else if(BdApi['Themes']&&typeof BdApi['Themes']['disable']=='function')BdApi['Themes']['disable'](K);else if(window['themeModule'])window['themeModule']['disableTheme'](K);};b['BDUtils']['getTheme']=function(K,L=![]){if(window['BdApi']&&!L||b['BDUtils']['isThemeEnabled'](K)){if(BdApi['Themes']&&typeof BdApi['Themes']['get']=='function')return BdApi['Themes']['get'](K);else if(window['bdthemes'])window['bdthemes'][K];}return null;};let s=window['BdApi']&&!b['ArrayUtils']['is'](BdApi['settings']);b['BDUtils']['settingsIds']=s?{'automaticLoading':'fork-ps-5','coloredText':'bda-gs-7','normalizedClasses':'fork-ps-4','showToasts':'fork-ps-2'}:{'automaticLoading':'settings.addons.autoReload','coloredText':'settings.appearance.coloredText','normalizedClasses':'settings.general.classNormalizer','showToasts':'settings.general.showToasts'};b['BDUtils']['toggleSettings']=function(K,L){if(window['BdApi']&&typeof K=='string'){let M=K['split']('.');let N=b['BDUtils']['getSettings'](K);if(L===!![]){if(N===![])BdApi['enableSetting'](...M);}else if(L===![]){if(N===!![])BdApi['disableSetting'](...M);}else if(N===!![]||N===![])b['BDUtils']['toggleSettings'](K,!N);}};b['BDUtils']['getSettings']=function(K){if(!window['BdApi'])return{};if(typeof K=='string')return BdApi['isSettingEnabled'](...K['split']('.'));else return s?b['ReactUtils']['getValue'](BdApi['getBDData']('settings'),b['DiscordUtils']['getBuilt']()+'.settings'):BdApi['settings']['map'](L=>L['settings']['map'](M=>M['settings']['map'](N=>({'id':[L['id'],M['id'],N['id']]['join']('.'),'value':N['value']}))))['flat'](0xa)['reduce']((L,M)=>(L[M['id']]=M['value'],L),{});};var t={};t['BDFDB']={'BDFDBundefined':'BDFDB_undefined','badge':'badge-7R_W3s','bdaRepoEntry':'entry-9JnAPs','bdaRepoListHeader':'repoHeader-2KfNvH','bdaRepoListWrapper':'repoList-9JnAPs','cardInner':'inner-OP_8zd','cardWrapper':'card-rT4Wbb','charCounter':'counter-uAzbKp','changeLogModal':'changeLogModal-ny_dHC','collapseContainer':'container-fAVkOf','collapseContainerArrow':'arrow-uglXxc','collapseContainerCollapsed':'collapsed-2BUBZm','collapseContainerHeader':'header-2s6x-5','collapseContainerInner':'inner-TkGytd','collapseContainerMini':'container-fAVkOf\x20containerMini-_k6Rts','collapseContainerTitle':'title-ROsJi-','colorPicker':'colorPicker-h5sF8g','colorPickerAlpha':'alpha-VcPGeR','colorPickerAlphaCheckered':'alpha-checkered','colorPickerAlphaCursor':'alpha-cursor','colorPickerAlphaHorizontal':'alpha-horizontal','colorPickerGradient':'gradient-TJOYTr','colorPickerGradientCheckered':'gradient-checkered','colorPickerGradientCursor':'gradient-cursor','colorPickerGradientCursorEdge':'gradient-cursor-edge','colorPickerGradientCursorSelected':'gradient-cursor-selected','colorPickerGradientHorizontal':'gradient-horizontal','colorPickerGradientButton':'gradientButton-eBBuwD','colorPickerGradientButtonEnabled':'enabled-MypHME','colorPickerSwatches':'swatches-QxZw_N','colorPickerSwatchesDisabled':'disabled-2JgNxl','colorPickerSwatchSingle':'single-Fbb1wB','colorPickerSwatchSelected':'selected-f5IVXN','confirmModal':'confirmModal-t-WDWJ','dev':'dev-A7f2Rx','favButtonContainer':'favbutton-8Fzu45','guild':'guild-r3yAE_','guildLowerLeftBadge':'lowerLeftBadge-zr4T_9','guildUpperLeftBadge':'upperLeftBadge-e35IpL','hasBadge':'hasBadge-4rT8_u','hotkeyResetButton':'resetButton-hI9Ax7','hotkeyWrapper':'recorder-can0vx','inputNumberButton':'button-J9muv5','inputNumberButtonDown':'down-cOY7Qp\x20button-J9muv5','inputNumberButtonUp':'up-mUs_72\x20button-J9muv5','inputNumberButtons':'buttons-our3p-','inputNumberWrapper':'numberInputWrapper-j4svZS','inputNumberWrapperDefault':'numberInputWrapperDefault-gRxcuK\x20numberInputWrapper-j4svZS','inputNumberWrapperMini':'numberInputWrapperMini-wtUU31\x20numberInputWrapper-j4svZS','listRow':'listRow-7SfZww','loadingIcon':'loadingIcon-cOYMPl','loadingIconWrapper':'loadingIconWrapper-PsVJ9m','overflowEllipsis':'ellipsis-qlo9sA','paginationList':'list-PIKebU','paginationListAlphabet':'alphabet-2ANo0x','paginationListAlphabetChar':'alphabetChar-bq-8Go','paginationListAlphabetCharDisabled':'disabled-XmhCq2','paginationListContent':'listContent-aG3Fq8','paginationListPagination':'pagination-ko4zZk','popoutWrapper':'popout-xwjvsX','quickSelectWrapper':'quickSelectWrapper-UCfTKz','menuItemHint':'hint-BK71lM','modalHeaderShade':'shade-h6F4sT','modalHeaderHasSibling':'hasSiblings-fRyjyl','modalNoScroller':'noScroller-YgPpF3','modalSidebar':'sidebar-_0OpfR','modalTabContent':'tabContent-nZ-1U5','modalTabContentOpen':'open-yICTYu','modalSubInner':'inner-t84Frz','modalWrapper':'modal-6GHvdM','noticeWrapper':'noticeWrapper-8z511t','selectWrapper':'selectWrapper-yPjeij','settingsGuild':'guild-J3Egt5','settingsGuildDisabled':'disabled-b2o83O','settingsPanel':'settingsPanel-w2ySNR','settingsPanelHeader':'settingsHeader-7g994w','settingsPanelHeaderButton':'button-ff4a_z','settingsPanelHeaderControls':'controls-g2WW5_','settingsPanelInner':'settingsInner-zw1xAY','settingsPanelList':'settingsList-eZjkXj','settingsPanelTitle':'title-GTF_8J','settingsTableCard':'settingsTableCard-628t52','settingsTableCardConfigs':'settingsTableCardConfigs-w5X9-Z','settingsTableCardLabel':'settingsTableCardLabel-MElgIg','settingsTableHeaders':'settingsTableHeaders-WKzw9_','settingsTableHeaderVertical':'headerVertical-4MNxqk','settingsTableList':'settingsTableList-f6sW2y','sidebar':'sidebar-frSZx3','sidebarContent':'content-1SbgDG','sidebarList':'list-VCoBc2','sliderBubble':'bubble-3we2di','supporter':'supporter-Z3FfwL','supporterCustom':'customSupporter-thxL4U','svgIcon':'icon-GhnIRB','svgIconWrapper':'iconWrapper-g20jFn','tabBarContainerBottom':'bottom-b8sdfs','table':'table-moqjM0','tableBodyCell':'bodyCell-dQam9V','tableHeader':'header-g67q9_','tableHeaderCell':'headerCell-T6Fo3K','tableHeaderCellSorted':'headerCellSorted-FMjMWK','tableHeaderSortIcon':'sortIcon-WZjMja','tableRow':'row-_9Ehcp','tableStickyHeader':'stickyHeader-JabwjW\x20header-g67q9_','textScroller':'textScroller-dc9_kz','themedPopout':'themedPopout-1TrfdI','tooltipCustom':'tooltipCustom-hH39_Z','userInfoDate':'date-YN6TCS'};t['BDrepo']={'bdAddonCard':'bd-addon-card','bdButton':'bd-button','bdaAuthor':'bd-author\x20author\x20bda-author','bdaControls':'bd-controls\x20bd-addon-controls\x20bda-controls','bdaControlsButton':'bd-addon-button','bdaDescription':'bd-description\x20bd-addon-description\x20bda-description','bdaDescriptionWrap':'bd-description-wrap\x20bda-description-wrap','bdaFooter':'bd-footer\x20bd-card-footer\x20bda-footer','bdaHeader':'bd-addon-header\x20bda-header','bdaHeaderTitle':'bd-title\x20bd-card-title\x20bda-header-title','bdaLink':'bd-link\x20bda-link','bdaLinks':'bd-links\x20bd-addon-links\x20bda-links','bdaName':'bd-name\x20name\x20bda-name','bdaSettingsButton':'bd-button\x20bd-button-addon-settings\x20bd-settings-button\x20bda-settings-button','bdaSlist':'bda-slist\x20bd-addon-list','bdaVersion':'bd-version\x20version\x20bda-version','bdGuild':'bd-guild','bdGuildAnimatable':'bd-animatable','bdGuildAudio':'bd-audio','bdGuildSelected':'bd-selected','bdGuildSeparator':'bd-guild-separator','bdGuildUnread':'bd-unread','bdGuildVideo':'bd-video','bdIcon':'bd-icon','bdPillSelected':'bd-selected','bdPillUnread':'bd-unread','bdPfbtn':'bd-pfbtn','bdSwitch':'bd-switch','bdSwitchChecked':'bd-switch-checked','bdSwitchInner':'bd-checkbox','bdUpdatebtn':'bd-updatebtn','settings':'plugin-settings','settingsOpen':'settings-open','settingsClosed':'settings-closed','switch':'ui-switch','switchCheckbox':'ui-switch-checkbox','switchChecked':'checked','switchItem':'ui-switch-item','switchWrapper':'ui-switch-wrapper'};t['BadgesEverywhere']={'badge':'badge-7CsdQq','badges':'badges-XRnWAp','badgesChat':'badgesChat-f_cbR8','badgesInner':'inner-dA0J42','badgesList':'badgesList-Aw_p52','badgesPopout':'badgesPopout-srZ8EX','badgesSettings':'badgesSettings-ychoGn','indicator':'indicator-cY1-b4','indicatorInner':'indicatorInner-08W8Jl','mini':'mini-g-JPgX','size17':'size17-2GsONg','size21':'size21-Y634b3','size22':'size22-AJj9xV','size24':'size24-NlR6be'};t['BetterNsfwTag']={'nsfwTag':'nsfwTag-666omg'};t['ChatFilter']={'blocked':'blocked-jUhayi','blockedStamp':'blockedStamp-ijVeNn','censored':'censored-UYfeYg','censoredStamp':'censoredStamp-fb2cYb'};t['CharCounter']={'charCounter':'charCounter-7fw40k','chatCounter':'chatCounter-XOMPsh','counterAdded':'charCounterAdded-zz9O4t','editCounter':'editCounter-pNT1Xe','nickCounter':'nickCounter-tJrO_4','popoutNoteCounter':'popoutNoteCounter-62U4Rh','profileNoteCounter':'profileNoteCounter-p0fWA_','uploadCounter':'uploadCounter-iEGQQk'};t['CreationDate']={'date':'creationDate-CJwdKT'};t['DisplayLargeMessages']={'injectButton':'injectButton-8eKqGu'};t['DisplayServersAsChannels']={'badge':'badge-fxFrUP','name':'name-z5133D','styled':'styledGuildsAsChannels-DNHtg_'};t['EmojiStatistics']={'statisticsButton':'statisticsButton-nW2KoM','amountCell':'amountCell-g_W6Rx','iconCell':'iconCell--wniOu','nameCell':'nameCell-xyXENZ'};t['FriendNotifications']={'friendsOnline':'friendsOnline-2JkivW'};t['GoogleTranslateOption']={'reverseButton':'reverseButton-5S47qV','translateButton':'translateButton-DhP9x8','translated':'translated-5YO8i3','translating':'translating-Yi-YxC'};t['ImageGallery']={'details':'details-9dkFPc','detailsLabel':'label-mrlccN','detailsWrapper':'detailsWrapper-TE1mu5','gallery':'gallery-JViwKR','icon':'icon-QY6cR4','next':'next-SHEZrz','previous':'previous-xsNq6B','sibling':'sibling-6vI7Pu'};t['ImageZoom']={'backdrop':'lenseBackdrop-yEm7Om','lense':'zoomLense-uOK8xV','modal':'imageModal-8J0ttB','operations':'operations-3V47CY'};t['JoinedAtDate']={'date':'joinedAtDate-IawR02'};t['LastMessageDate']={'date':'lastMessageDate-ocEw13'};t['OldTitleBar']={'oldTitleBarEnabled':'oldTitleBarEnabled-D8ppJQ','settingsToolbar':'settingsToolbar-wu4yfQ','toolbar':'toolbar-hRzFw-'};t['PinDMs']={'dragPreview':'dragPreview-nXiByA','dmChannelPinned':'pinned-0lM4wD','dmChannelPlaceholder':'placeholder-7bhR5s','pinnedChannelsHeaderAmount':'headerAmount-_-7GrS','pinnedChannelsHeaderArrow':'pinnedChannelsHeaderArrow-44rrTz','pinnedChannelsHeaderCollapsed':'collapsed-3w_-ff','pinnedChannelsHeaderColored':'colored-oIzG5s','pinnedChannelsHeaderContainer':'pinnedChannelsHeaderContainer-89Gjv4','recentPinned':'pinned-jHvFrr','recentPlaceholder':'placeholder-Uff-gH','unpinButton':'unpinButton-z3-UVO','unpinIcon':'unpinIcon-79ZnEr'};t['ReadAllNotificationsButton']={'button':'button-Jt-tIg','frame':'frame-oXWS21','innerFrame':'innerFrame-8Hg64E'};t['ServerFolders']={'dragPreview':'dragPreview-nXiByA','guildPlaceholder':'placeholder-7bhR5s','folderContent':'content-Pph8t6','folderContentClosed':'closed-j55_T-','folderContentIsOpen':'folderContentIsOpen-zz6FgW','iconSwatch':'iconSwatch-_78Ghj','iconSwatchInner':'iconInner-aOY-qk','iconSwatchPreview':'preview-Bbg_24','iconSwatchSelected':'selected-P5oePO'};t['ShowImageDetails']={'details':'details-1t6Zms','detailsAdded':'detailsAdded-SAy48f'};t['SpellCheck']={'error':'error-k9z2IV','overlay':'spellCheckOverlay-cNSap5'};t['SpotifyControls']={'bar':'bar-g2ZMIm','barGabber':'grabber-7sd5f5','barFill':'barFill-Dhkah7','barText':'barText-lmqc5O','buttonActive':'active-6TsW-_','container':'container-6sXIoE','containerInner':'inner-WRV6k5','containerMaximized':'maximized-vv2Wr0','containerWithTimeline':'withTimeline-824fT_','cover':'cover-SwJ-ck','coverMaximizer':'maximizer-RVu85p','coverWrapper':'coverWrapper-YAplwJ','details':'details-ntX2k5','interpret':'interpret-F93iqP','song':'song-tIdBpF','timeline':'timeline-UWmgAx','volumeSlider':'volumeSlider-sR5g00'};t['TimedLightDarkMode']={'dateGrabber':'dateGrabber-QrRkIX','timerGrabber':'timerGrabber-zpRAIk','timerSettings':'timerSettings-wkvEfF'};t['TopRolesEverywhere']={'badgeStyle':'badgeStyle-tFiEQ8','chatTag':'chatTag-Y-5TDc','memberTag':'memberTag-QVWzGc','roleStyle':'roleStyle-jQ7KI2','tag':'tag-wWVHyf'};t['NotFound']={'_':'','badgeWrapper':'wrapper-232cHJ','channelPanelTitle':'title-eS5yk3','emoji':'emoji','guildChannels':'container-PNkimc','highlight':'highlight','hoverCardButton':'button-2CgfFz','loginScreen':'wrapper-3Q5DdO','messagesWelcomeButton':'button-2OOM0p','mention':'mention','mentionInteractive':'interactive','mentionWrapper':'wrapper-3WhCwL','nameContainerNameContainer':'container-2ax-kl','hueCursor':'hue-cursor','hueHorizontal':'hue-horizontal','hueVertical':'hue-vertical','saturationBlack':'saturation-black','saturationColor':'saturation-color','saturationCursor':'saturation-cursor','saturationWhite':'saturation-white','splashBackground':'splashBackground-1FRCko','stopAnimations':'stop-animations','subtext':'subtext-3CDbHg','themeDark':'theme-dark','themeLight':'theme-light','themeUndefined':'theme-undefined','voiceDraggable':'draggable-1KoBzC'};t['ColorPicker']={'colorPickerCustom':'colorPickerCustom-2CWBn2','colorPickerDropper':'colorPickerDropper-3c2mIf','colorPickerDropperFg':'colorPickerDropperFg-3jYKWI','colorPickerRow':'colorPickerRow-1LgLnl','colorPickerSwatch':'colorPickerSwatch-5GX3Ve','custom':'custom-2SJn4n','customColorPickerInput':'customColorPickerInput-14pB0r','default':'default-cS_caM','disabled':'disabled-1C4eHl','input':'input-GfazGc','noColor':'noColor-1pdBDm'};t['ColorPickerInner']={'hue':'hue-13HAGb','saturation':'saturation-1FDvtn','wrapper':'wrapper-2AQieU'};t['AccountDetails']=b['ModuleUtils']['findByProperties']('usernameContainer','container');t['AccountDetailsButtons']=b['ModuleUtils']['findByProperties']('button','enabled','disabled');t['Anchor']=b['ModuleUtils']['findByProperties']('anchor','anchorUnderlineOnHover');t['AnimationContainer']=b['ModuleUtils']['findByProperties']('animatorLeft','didRender');t['AppBase']=b['ModuleUtils']['findByProperties']('container','base');t['AppInner']=b['ModuleUtils']['findByProperties']('app','layers');t['AppMount']=b['ModuleUtils']['findByProperties']('appMount');t['ApplicationStore']=b['ModuleUtils']['findByProperties']('applicationStore','navigation');t['AppOuter']=b['ModuleUtils']['find'](K=>typeof K['app']=='string'&&Object['keys'](K)['length']==0x1);t['AuditLog']=b['ModuleUtils']['findByProperties']('auditLog');t['AuthBox']=b['ModuleUtils']['findByProperties']('authBox');t['Autocomplete']=b['ModuleUtils']['findByProperties']('autocomplete','autocompleteRow');t['Avatar']=b['ModuleUtils']['findByProperties']('avatar','mask','wrapper');t['AvatarIcon']=b['ModuleUtils']['findByProperties']('iconActiveLarge','iconActiveMedium');t['Backdrop']=b['ModuleUtils']['findByProperties']('backdrop','backdropWithLayer');t['Badge']=b['ModuleUtils']['findByProperties']('numberBadge','textBadge','iconBadge');t['BotTag']=b['ModuleUtils']['findByProperties']('botTag','botTagInvert');t['Button']=b['ModuleUtils']['findByProperties']('colorBlack','button');t['CallCurrent']=b['ModuleUtils']['findByProperties']('wrapper','fullScreen');t['CallDetails']=b['ModuleUtils']['findByProperties']('container','hotspot');t['CallIncoming']=b['ModuleUtils']['findByProperties']('wrapper','mainChannelInfo');t['Card']=b['ModuleUtils']['findByProperties']('card','cardBrand');t['CardStatus']=b['ModuleUtils']['findByProperties']('reset','error','card');t['Category']=b['ModuleUtils']['findByProperties']('wrapper','children','muted');t['CategoryContainer']=b['ModuleUtils']['findByProperties']('addButtonIcon','containerDefault');t['ChangeLog']=b['ModuleUtils']['findByProperties']('added','fixed','improved','progress');t['Channel']=b['ModuleUtils']['findByProperties']('wrapper','content','modeSelected');t['ChannelContainer']=b['ModuleUtils']['findByProperties']('actionIcon','containerDefault');t['ChannelLimit']=b['ModuleUtils']['findByProperties']('users','total','wrapper');t['ChannelTextArea']=b['ModuleUtils']['findByProperties']('textArea','buttons');t['ChannelTextAreaAttachButton']=b['ModuleUtils']['findByProperties']('attachButton','attachWrapper');t['ChannelTextAreaButton']=b['ModuleUtils']['findByProperties']('buttonWrapper','active');t['ChannelTextAreaCharCounter']=b['ModuleUtils']['findByProperties']('characterCount','error');t['ChannelTextAreaSlate']=b['ModuleUtils']['findByProperties']('slateContainer','placeholder');t['ChatWindow']=b['ModuleUtils']['findByProperties']('chat','channelTextArea');t['Checkbox']=b['ModuleUtils']['findByProperties']('checkboxWrapper','round');t['CtaVerification']=b['ModuleUtils']['findByProperties']('attendeeCTA','verificationNotice');t['Cursor']=b['ModuleUtils']['findByProperties']('cursorDefault','userSelectNone');t['CustomStatusIcon']=b['ModuleUtils']['findByProperties']('textRuler','emoji','icon');t['DmAddPopout']=b['ModuleUtils']['findByProperties']('popout','searchBarComponent');t['DmAddPopoutItems']=b['ModuleUtils']['findByProperties']('friendSelected','friendWrapper');t['DownloadLink']=b['ModuleUtils']['findByProperties']('downloadLink');t['Embed']=b['ModuleUtils']['findByProperties']('embed','embedAuthorIcon');t['EmbedActions']=b['ModuleUtils']['findByProperties']('iconPlay','iconWrapperActive');t['Emoji']=b['ModuleUtils']['find'](K=>typeof K['emoji']=='string'&&Object['keys'](K)['length']==0x1);t['EmojiButton']=b['ModuleUtils']['findByProperties']('emojiButton','sprite');t['EmojiInput']=b['ModuleUtils']['findByProperties']('inputContainer','emojiButton');t['EmojiPicker']=b['ModuleUtils']['findByProperties']('emojiPicker','inspector');t['EmojiPickerDiversitySelector']=b['ModuleUtils']['findByProperties']('diversityEmojiItemImage','diversitySelectorPopout');t['EmojiPickerItem']=b['ModuleUtils']['findByProperties']('emojiSpriteImage');t['EmojiPickerInspector']=b['ModuleUtils']['findByProperties']('inspector','glyphEmoji');t['ExpressionPicker']=b['ModuleUtils']['findByProperties']('contentWrapper','navButton','navList');t['File']=b['ModuleUtils']['findByProperties']('downloadButton','fileNameLink');t['Flex']=b['ModuleUtils']['findByProperties']('alignBaseline','alignCenter');t['FlexChild']=b['ModuleUtils']['findByProperties']('flexChild','flex');t['FlowerStar']=b['ModuleUtils']['findByProperties']('flowerStarContainer','flowerStar');t['Focusable']=b['ModuleUtils']['findByProperties']('focusable');t['FormText']=b['ModuleUtils']['findByProperties']('description','modeDefault');t['Game']=b['ModuleUtils']['findByProperties']('game','gameName');t['GameIcon']=b['ModuleUtils']['findByProperties']('gameIcon','small','xsmall');t['GameLibraryTable']=b['ModuleUtils']['findByProperties']('stickyHeader','emptyStateText');t['GifFavoriteButton']=b['ModuleUtils']['findByProperties']('gifFavoriteButton','showPulse');t['GoLiveDetails']=b['ModuleUtils']['findByProperties']('panel','gameWrapper');t['Guild']=b['ModuleUtils']['findByProperties']('wrapper','lowerBadge','svg');t['GuildChannels']=b['ModuleUtils']['findByProperties']('positionedContainer','unreadBar');t['GuildDiscovery']=b['ModuleUtils']['findByProperties']('pageWrapper','guildList');t['GuildDm']=b['ModuleUtils']['find'](K=>typeof K['pill']=='string'&&Object['keys'](K)['length']==0x1);t['GuildEdges']=b['ModuleUtils']['findByProperties']('wrapper','edge','autoPointerEvents');t['GuildFolder']=b['ModuleUtils']['findByProperties']('folder','expandedFolderIconWrapper');t['GuildHeader']=b['ModuleUtils']['findByProperties']('header','name','bannerImage');t['GuildHeaderButton']=b['ModuleUtils']['findByProperties']('button','open');t['GuildIcon']=b['ModuleUtils']['findByProperties']('acronym','selected','wrapper');t['GuildInvite']=b['ModuleUtils']['findByProperties']('wrapper','guildIconJoined');t['GuildSettingsBanned']=b['ModuleUtils']['findByProperties']('bannedUser','bannedUserAvatar');t['GuildSettingsEmoji']=b['ModuleUtils']['findByProperties']('emojiRow','emojiAliasPlaceholder');t['GuildSettingsInvite']=b['ModuleUtils']['findByProperties']('countdownColumn','inviteSettingsInviteRow');t['GuildSettingsMember']=b['ModuleUtils']['findByProperties']('member','membersFilterPopout');t['GuildSettingsRoles']=b['ModuleUtils']['findByProperties']('buttonWrapper','addRoleIcon');t['GuildServer']=b['ModuleUtils']['findByProperties']('blobContainer','pill');t['GuildsItems']=b['ModuleUtils']['findByProperties']('guildSeparator','guildsError');t['GuildsWrapper']=b['ModuleUtils']['findByProperties']('scroller','unreadMentionsBar','wrapper');t['HeaderBar']=b['ModuleUtils']['findByProperties']('container','children','toolbar');t['HeaderBarExtras']=b['ModuleUtils']['findByProperties']('headerBarLoggedOut','search');t['HeaderBarSearch']=b['ModuleUtils']['findByProperties']('search','searchBar','open');t['HeaderBarTopic']=b['ModuleUtils']['findByProperties']('topic','expandable','content');t['HomeIcon']=b['ModuleUtils']['findByProperties']('homeIcon');t['HotKeyRecorder']=b['ModuleUtils']['findByProperties']('editIcon','recording');t['HoverCard']=b['ModuleUtils']['findByProperties']('card','active');t['IconDirection']=b['ModuleUtils']['findByProperties']('directionDown','directionUp');t['ImageWrapper']=b['ModuleUtils']['findByProperties']('clickable','imageWrapperBackground');t['InviteModal']=b['ModuleUtils']['findByProperties']('inviteRow','modal');t['Item']=b['ModuleUtils']['findByProperties']('item','side','header');t['ItemRole']=b['ModuleUtils']['findByProperties']('role','dragged');t['ItemLayerContainer']=b['ModuleUtils']['findByProperties']('layer','layerContainer');t['Input']=b['ModuleUtils']['findByProperties']('inputMini','inputDefault');t['LayerModal']=b['ModuleUtils']['findByProperties']('root','small','medium');t['Layers']=b['ModuleUtils']['findByProperties']('layer','layers');t['LiveTag']=b['ModuleUtils']['findByProperties']('liveLarge','live');t['LoadingScreen']=b['ModuleUtils']['findByProperties']('container','problemsText','problems');t['Margins']=b['ModuleUtils']['findByProperties']('marginBottom4','marginCenterHorz');t['Menu']=b['ModuleUtils']['findByProperties']('menu','styleFlexible','item');t['MenuReactButton']=b['ModuleUtils']['findByProperties']('wrapper','icon','focused');t['MenuSlider']=b['ModuleUtils']['findByProperties']('slider','sliderContainer');t['Member']=b['ModuleUtils']['findByProperties']('member','ownerIcon');t['MembersThreads']=b['ModuleUtils']['findByProperties']('tabBar','thread');t['MembersWrap']=b['ModuleUtils']['findByProperties']('membersWrap','membersGroup');t['Message']=b['ModuleUtils']['findByProperties']('message','mentioned');t['MessageAccessory']=b['ModuleUtils']['findByProperties']('embedWrapper','gifFavoriteButton');t['MessageBlocked']=b['ModuleUtils']['findByProperties']('blockedMessageText','expanded');t['MessageBody']=b['ModuleUtils']['findByProperties']('markupRtl','edited');t['MessageDivider']=b['ModuleUtils']['findByProperties']('isUnread','divider');t['MessageElements']=b['ModuleUtils']['findByProperties']('messageGroupBlockedBtn','dividerRed');t['MessageFile']=b['ModuleUtils']['findByProperties']('cancelButton','filenameLinkWrapper');t['MessageLocalBot']=b['ModuleUtils']['find'](K=>typeof K['localBotMessage']=='string'&&Object['keys'](K)['length']==0x1);t['MessageMarkup']=b['ModuleUtils']['findByProperties']('markup');t['MessageOperations']=b['ModuleUtils']['find'](K=>typeof K['operations']=='string'&&Object['keys'](K)['length']==0x1);t['MessageReactions']=b['ModuleUtils']['findByProperties']('reactions','reactionMe');t['MessageReactionsModal']=b['ModuleUtils']['findByProperties']('reactor','reactionSelected');t['MessageSystem']=b['ModuleUtils']['findByProperties']('container','actionAnchor');t['MessageToolbar']=b['ModuleUtils']['findByProperties']('container','icon','isHeader');t['MessageToolbarItems']=b['ModuleUtils']['findByProperties']('wrapper','button','separator');t['MessagesPopout']=b['ModuleUtils']['findByProperties']('messagesPopoutWrap','jumpButton');t['MessagesPopoutButtons']=b['ModuleUtils']['findByProperties']('secondary','tertiary','button');t['MessagesPopoutTabBar']=b['ModuleUtils']['findByProperties']('header','tabBar','active');t['MessagesWelcome']=b['ModuleUtils']['findByProperties']('emptyChannelIcon','description','header');t['MessagesWrap']=b['ModuleUtils']['findByProperties']('messagesWrapper','messageGroupBlocked');t['Modal']=b['ModuleUtils']['findByProperties']('modal','sizeLarge');t['ModalDivider']=b['ModuleUtils']['find'](K=>typeof K['divider']=='string'&&Object['keys'](K)['length']==0x1);t['ModalItems']=b['ModuleUtils']['findByProperties']('guildName','checkboxContainer');t['ModalMiniContent']=b['ModuleUtils']['find'](K=>typeof K['modal']=='string'&&typeof K['content']=='string'&&Object['keys'](K)['length']==0x2);t['ModalWrap']=b['ModuleUtils']['find'](K=>typeof K['modal']=='string'&&typeof K['inner']=='string'&&Object['keys'](K)['length']==0x2);t['NameContainer']=b['ModuleUtils']['findByProperties']('nameAndDecorators','name');t['NameTag']=b['ModuleUtils']['findByProperties']('bot','nameTag');t['NitroStore']=b['ModuleUtils']['findByProperties']('applicationStore','marketingHeader');t['NoteTextarea']=b['ModuleUtils']['find'](K=>typeof K['textarea']=='string'&&Object['keys'](K)['length']==0x1);t['Notice']=b['ModuleUtils']['findByProperties']('notice','noticeFacebook');t['Peoples']=b['ModuleUtils']['findByProperties']('peopleColumn','tabBar');t['PictureInPicture']=b['ModuleUtils']['findByProperties']('pictureInPicture','pictureInPictureWindow');t['PillWrapper']=b['ModuleUtils']['find'](K=>typeof K['item']=='string'&&typeof K['wrapper']=='string'&&Object['keys'](K)['length']==0x2);t['PrivateChannel']=b['ModuleUtils']['findByProperties']('channel','closeButton');t['PrivateChannelList']=b['ModuleUtils']['findByProperties']('privateChannels','searchBar');t['PrivateChannelListScroller']=b['ModuleUtils']['findByProperties']('scroller','empty');t['Popout']=b['ModuleUtils']['findByProperties']('popout','arrowAlignmentTop');t['PopoutActivity']=b['ModuleUtils']['findByProperties']('ellipsis','activityActivityFeed');t['QuickMessage']=b['ModuleUtils']['find'](K=>typeof K['input']=='string'&&Object['keys'](K)['length']==0x1);t['QuickSelect']=b['ModuleUtils']['findByProperties']('quickSelectArrow','selected');t['QuickSwitch']=b['ModuleUtils']['findByProperties']('resultFocused','guildIconContainer');t['QuickSwitchWrap']=b['ModuleUtils']['findByProperties']('container','miscContainer');t['Reactions']=b['ModuleUtils']['findByProperties']('reactionBtn','reaction');t['RecentMentions']=b['ModuleUtils']['findByProperties']('recentMentionsPopout');t['RecentMentionsHeader']=b['ModuleUtils']['findByProperties']('channelName','channelHeader','dmIcon');t['Role']=b['ModuleUtils']['findByProperties']('roleCircle','roleName','roleRemoveIcon');t['Scrollbar']=b['ModuleUtils']['findByProperties']('scrollbar','scrollbarGhost');t['Scroller']=b['ModuleUtils']['findByProperties']('scrollerBase','none','fade');t['ScrollerOld']=b['ModuleUtils']['findByProperties']('scrollerThemed','scroller');t['SearchBar']=b['ModuleUtils']['findByProperties']('clear','container','pointer');t['SearchPopout']=b['ModuleUtils']['findByProperties']('datePicker','searchResultChannelIconBackground');t['SearchPopoutWrap']=b['ModuleUtils']['findByProperties']('container','queryContainer');t['SearchResults']=b['ModuleUtils']['findByProperties']('noResults','searchResultsWrap');t['SearchResultsElements']=b['ModuleUtils']['findByProperties']('resultsBlocked','channelSeparator');t['SearchResultsPagination']=b['ModuleUtils']['findByProperties']('paginationButton','pagination');t['SearchResultsMessage']=b['ModuleUtils']['findByProperties']('after','messageGroupCozy');t['Select']=b['ModuleUtils']['findByProperties']('select','error','errorMessage');t['SettingsCloseButton']=b['ModuleUtils']['findByProperties']('closeButton','keybind');t['SettingsItems']=b['ModuleUtils']['findByProperties']('dividerMini','note');t['SettingsTable']=b['ModuleUtils']['findByProperties']('headerOption','headerName');t['SettingsWindow']=b['ModuleUtils']['findByProperties']('contentRegion','standardSidebarView');t['SettingsWindowScroller']=b['ModuleUtils']['findByProperties']('sidebarScrollable','content','scroller');t['Slider']=b['ModuleUtils']['findByProperties']('slider','grabber');t['Spoiler']=b['ModuleUtils']['findByProperties']('spoilerContainer','hidden');t['SpoilerEmbed']=b['ModuleUtils']['findByProperties']('hiddenSpoilers','spoiler');t['Switch']=b['ModuleUtils']['findByProperties']('switchDisabled','valueChecked');t['Table']=b['ModuleUtils']['findByProperties']('stickyHeader','sortIcon');t['Text']=b['ModuleUtils']['findByProperties']('defaultColor','defaultMarginh1');t['TextColor']=b['ModuleUtils']['findByProperties']('colorStandard','colorMuted','colorError');t['TextColor2']=b['ModuleUtils']['findByProperties']('muted','wrapper','base');t['TextSize']=b['ModuleUtils']['findByProperties']('size10','size14','size20');t['TextStyle']=b['ModuleUtils']['findByProperties']('strikethrough','underline','bold');t['Tip']=b['ModuleUtils']['findByProperties']('pro','inline');t['Title']=b['ModuleUtils']['findByProperties']('title','size18');t['TitleBar']=b['ModuleUtils']['findByProperties']('titleBar','wordmark');t['Tooltip']=b['ModuleUtils']['findByProperties']('tooltip','tooltipTop');t['TooltipGuild']=b['ModuleUtils']['findByProperties']('rowIcon','rowGuildName');t['Typing']=b['ModuleUtils']['findByProperties']('cooldownWrapper','typing');t['UnreadBar']=b['ModuleUtils']['findByProperties']('active','bar','unread');t['UploadModal']=b['ModuleUtils']['findByProperties']('uploadModal','bgScale');t['UserInfo']=b['ModuleUtils']['findByProperties']('userInfo','discordTag');t['UserPopout']=b['ModuleUtils']['findByProperties']('userPopout','headerPlaying');t['UserProfile']=b['ModuleUtils']['findByProperties']('topSectionNormal','tabBarContainer');t['Video']=b['ModuleUtils']['findByProperties']('video','fullScreen');t['VoiceChannel']=b['ModuleUtils']['findByProperties']('avatarSpeaking','voiceUser');t['VoiceChannelList']=b['ModuleUtils']['findByProperties']('list','collapsed');t['VoiceDetails']=b['ModuleUtils']['findByProperties']('container','customStatusContainer');t['VoiceDetailsPing']=b['ModuleUtils']['findByProperties']('rtcConnectionQualityBad','rtcConnectionQualityFine');t['WebhookCard']=b['ModuleUtils']['findByProperties']('pulseBorder','copyButton');b['DiscordClassModules']=Object['assign']({},t);var u={'_bdguild':['BDrepo','bdGuild'],'_bdguildanimatable':['BDrepo','bdGuildAnimatable'],'_bdguildaudio':['BDrepo','bdGuildAudio'],'_bdguildselected':['BDrepo','bdGuildSelected'],'_bdguildseparator':['BDrepo','bdGuildSeparator'],'_bdguildunread':['BDrepo','bdGuildUnread'],'_bdguildvideo':['BDrepo','bdGuildVideo'],'_bdpillselected':['BDrepo','bdPillSelected'],'_bdpillunread':['BDrepo','bdPillUnread'],'_betternsfwtagtag':['BetterNsfwTag','nsfwTag'],'_badgeseverywherebadge':['BadgesEverywhere','badge'],'_badgeseverywherebadges':['BadgesEverywhere','badges'],'_badgeseverywherebadgeschat':['BadgesEverywhere','badgesChat'],'_badgeseverywherebadgesinner':['BadgesEverywhere','badgesInner'],'_badgeseverywherebadgeslist':['BadgesEverywhere','badgesList'],'_badgeseverywherebadgespopout':['BadgesEverywhere','badgesPopout'],'_badgeseverywherebadgessettings':['BadgesEverywhere','badgesSettings'],'_badgeseverywhereindicator':['BadgesEverywhere','indicator'],'_badgeseverywhereindicatorinner':['BadgesEverywhere','indicatorInner'],'_badgeseverywheremini':['BadgesEverywhere','mini'],'_badgeseverywheresize17':['BadgesEverywhere','size17'],'_badgeseverywheresize21':['BadgesEverywhere','size21'],'_badgeseverywheresize22':['BadgesEverywhere','size22'],'_badgeseverywheresize24':['BadgesEverywhere','size24'],'_chatfilterblocked':['ChatFilter','blocked'],'_chatfilterblockedstamp':['ChatFilter','blockedStamp'],'_chatfiltercensored':['ChatFilter','censored'],'_chatfiltercensoredstamp':['ChatFilter','censoredStamp'],'_charcountercounter':['CharCounter','charCounter'],'_charcounterchatcounter':['CharCounter','chatCounter'],'_charcountercounteradded':['CharCounter','counterAdded'],'_charcountereditcounter':['CharCounter','editCounter'],'_charcounternickcounter':['CharCounter','nickCounter'],'_charcounterpopoutnotecounter':['CharCounter','popoutNoteCounter'],'_charcounterprofilenotecounter':['CharCounter','profileNoteCounter'],'_charcounteruploadcounter':['CharCounter','uploadCounter'],'_creationdatedate':['CreationDate','date'],'_displaylargemessagesinjectbutton':['DisplayLargeMessages','injectButton'],'_displayserversaschannelsbadge':['DisplayServersAsChannels','badge'],'_displayserversaschannelsname':['DisplayServersAsChannels','name'],'_displayserversaschannelsstyled':['DisplayServersAsChannels','styled'],'_emojistatisticsstatisticsbutton':['EmojiStatistics','statisticsButton'],'_emojistatisticsamountcell':['EmojiStatistics','amountCell'],'_emojistatisticsiconcell':['EmojiStatistics','iconCell'],'_emojistatisticsnamecell':['EmojiStatistics','nameCell'],'_friendnotificationsfriendsonline':['FriendNotifications','friendsOnline'],'_imagegallerydetails':['ImageGallery','details'],'_imagegallerydetailslabel':['ImageGallery','detailsLabel'],'_imagegallerydetailswrapper':['ImageGallery','detailsWrapper'],'_imagegallerygallery':['ImageGallery','gallery'],'_imagegalleryicon':['ImageGallery','icon'],'_imagegallerynext':['ImageGallery','next'],'_imagegalleryprevious':['ImageGallery','previous'],'_imagegallerysibling':['ImageGallery','sibling'],'_imagezoombackdrop':['ImageZoom','backdrop'],'_imagezoomimagemodal':['ImageZoom','modal'],'_imagezoomlense':['ImageZoom','lense'],'_imagezoomoperations':['ImageZoom','operations'],'_joinedatdatedate':['JoinedAtDate','date'],'_lastmessagedatedate':['LastMessageDate','date'],'_googletranslateoptionreversebutton':['GoogleTranslateOption','reverseButton'],'_googletranslateoptiontranslatebutton':['GoogleTranslateOption','translateButton'],'_googletranslateoptiontranslated':['GoogleTranslateOption','translated'],'_googletranslateoptiontranslating':['GoogleTranslateOption','translating'],'_oldtitlebarenabled':['OldTitleBar','oldTitleBarEnabled'],'_oldtitlebarsettingstoolbar':['OldTitleBar','settingsToolbar'],'_oldtitlebartoolbar':['OldTitleBar','toolbar'],'_pindmsdragpreview':['PinDMs','dragPreview'],'_pindmsdmchannelpinned':['PinDMs','dmChannelPinned'],'_pindmsdmchannelplaceholder':['PinDMs','dmChannelPlaceholder'],'_pindmspinnedchannelsheaderamount':['PinDMs','pinnedChannelsHeaderAmount'],'_pindmspinnedchannelsheaderarrow':['PinDMs','pinnedChannelsHeaderArrow'],'_pindmspinnedchannelsheadercollapsed':['PinDMs','pinnedChannelsHeaderCollapsed'],'_pindmspinnedchannelsheadercolored':['PinDMs','pinnedChannelsHeaderColored'],'_pindmspinnedchannelsheadercontainer':['PinDMs','pinnedChannelsHeaderContainer'],'_pindmsrecentpinned':['PinDMs','recentPinned'],'_pindmsrecentplaceholder':['PinDMs','recentPlaceholder'],'_pindmsunpinbutton':['PinDMs','unpinButton'],'_pindmsunpinicon':['PinDMs','unpinIcon'],'_readallnotificationsbuttonbutton':['ReadAllNotificationsButton','button'],'_readallnotificationsbuttonframe':['ReadAllNotificationsButton','frame'],'_readallnotificationsbuttoninner':['ReadAllNotificationsButton','innerFrame'],'_serverfoldersdragpreview':['ServerFolders','dragPreview'],'_serverfoldersfoldercontent':['ServerFolders','folderContent'],'_serverfoldersfoldercontentclosed':['ServerFolders','folderContentClosed'],'_serverfoldersfoldercontentisopen':['ServerFolders','folderContentIsOpen'],'_serverfoldersguildplaceholder':['ServerFolders','guildPlaceholder'],'_serverfoldersiconswatch':['ServerFolders','iconSwatch'],'_serverfoldersiconswatchinner':['ServerFolders','iconSwatchInner'],'_serverfoldersiconswatchpreview':['ServerFolders','iconSwatchPreview'],'_serverfoldersiconswatchselected':['ServerFolders','iconSwatchSelected'],'_showimagedetailsdetails':['ShowImageDetails','details'],'_spellcheckerror':['SpellCheck','error'],'_spellcheckoverlay':['SpellCheck','overlay'],'_spotifycontrolsbar':['SpotifyControls','bar'],'_spotifycontrolsbarfill':['SpotifyControls','barFill'],'_spotifycontrolsbargrabber':['SpotifyControls','barGabber'],'_spotifycontrolsbartext':['SpotifyControls','barText'],'_spotifycontrolsbuttonactive':['SpotifyControls','buttonActive'],'_spotifycontrolscontainer':['SpotifyControls','container'],'_spotifycontrolscontainerinner':['SpotifyControls','containerInner'],'_spotifycontrolscontainermaximized':['SpotifyControls','containerMaximized'],'_spotifycontrolscontainerwithtimeline':['SpotifyControls','containerWithTimeline'],'_spotifycontrolscover':['SpotifyControls','cover'],'_spotifycontrolscovermaximizer':['SpotifyControls','coverMaximizer'],'_spotifycontrolscoverwrapper':['SpotifyControls','coverWrapper'],'_spotifycontrolsdetails':['SpotifyControls','details'],'_spotifycontrolsinterpret':['SpotifyControls','interpret'],'_spotifycontrolssong':['SpotifyControls','song'],'_spotifycontrolstimeline':['SpotifyControls','timeline'],'_spotifycontrolsvolumeslider':['SpotifyControls','volumeSlider'],'_timedlightdarkmodedategrabber':['TimedLightDarkMode','dateGrabber'],'_timedlightdarkmodetimergrabber':['TimedLightDarkMode','timerGrabber'],'_timedlightdarkmodetimersettings':['TimedLightDarkMode','timerSettings'],'_toproleseverywherebadgestyle':['TopRolesEverywhere','badgeStyle'],'_toproleseverywherechattag':['TopRolesEverywhere','chatTag'],'_toproleseverywheremembertag':['TopRolesEverywhere','memberTag'],'_toproleseverywhererolestyle':['TopRolesEverywhere','roleStyle'],'_toproleseverywheretag':['TopRolesEverywhere','tag'],'_repoauthor':['BDrepo','bdaAuthor'],'_repobutton':['BDrepo','bdButton'],'_repocard':['BDrepo','bdAddonCard'],'_repocheckbox':['BDrepo','switchCheckbox'],'_repocheckboxchecked':['BDrepo','switchChecked'],'_repocheckboxinner':['BDrepo','switch'],'_repocheckboxitem':['BDrepo','switchItem'],'_repocheckboxwrap':['BDrepo','switchWrapper'],'_repocontrols':['BDrepo','bdaControls'],'_repocontrolsbutton':['BDrepo','bdaControlsButton'],'_repodescription':['BDrepo','bdaDescription'],'_repodescriptionwrap':['BDrepo','bdaDescriptionWrap'],'_repoentry':['BDFDB','bdaRepoEntry'],'_repofolderbutton':['BDrepo','bdPfbtn'],'_repofooter':['BDrepo','bdaFooter'],'_repoheader':['BDrepo','bdaHeader'],'_repoheadertitle':['BDrepo','bdaHeaderTitle'],'_repoicon':['BDrepo','bdIcon'],'_repolist':['BDrepo','bdaSlist'],'_repolistheader':['BDFDB','bdaRepoListHeader'],'_repolistwrapper':['BDFDB','bdaRepoListWrapper'],'_repolink':['BDrepo','bdaLink'],'_repolinks':['BDrepo','bdaLinks'],'_reponame':['BDrepo','bdaName'],'_reposettings':['BDrepo','settings'],'_reposettingsbutton':['BDrepo','bdaSettingsButton'],'_reposettingsopen':['BDrepo','settingsOpen'],'_reposettingsclosed':['BDrepo','settingsClosed'],'_reposwitch':['BDrepo','bdSwitch'],'_reposwitchchecked':['BDrepo','bdSwitchChecked'],'_reposwitchinner':['BDrepo','bdSwitchInner'],'_repoupdatebutton':['BDrepo','bdUpdatebtn'],'_repoversion':['BDrepo','bdaVersion'],'accountinfo':['AccountDetails','container'],'accountinfoavatar':['AccountDetails','avatar'],'accountinfoavatarwrapper':['AccountDetails','avatarWrapper'],'accountinfobutton':['AccountDetailsButtons','button'],'accountinfobuttondisabled':['AccountDetailsButtons','disabled'],'accountinfobuttonenabled':['AccountDetailsButtons','enabled'],'accountinfodetails':['AccountDetails','usernameContainer'],'accountinfonametag':['AccountDetails','nameTag'],'alignbaseline':['Flex','alignBaseline'],'aligncenter':['Flex','alignCenter'],'alignend':['Flex','alignEnd'],'alignstart':['Flex','alignStart'],'alignstretch':['Flex','alignStretch'],'anchor':['Anchor','anchor'],'anchorunderlineonhover':['Anchor','anchorUnderlineOnHover'],'animationcontainerbottom':['AnimationContainer','animatorBottom'],'animationcontainerleft':['AnimationContainer','animatorLeft'],'animationcontainerright':['AnimationContainer','animatorRight'],'animationcontainertop':['AnimationContainer','animatorTop'],'animationcontainerrender':['AnimationContainer','didRender'],'animationcontainerscale':['AnimationContainer','scale'],'animationcontainertranslate':['AnimationContainer','translate'],'app':['AppOuter','app'],'appcontainer':['AppBase','container'],'appmount':['AppMount','appMount'],'applayers':['AppInner','layers'],'applicationstore':['ApplicationStore','applicationStore'],'appold':['AppInner','app'],'auditlog':['AuditLog','auditLog'],'auditlogoverflowellipsis':['AuditLog','overflowEllipsis'],'auditloguserhook':['AuditLog','userHook'],'authbox':['AuthBox','authBox'],'autocomplete':['Autocomplete','autocomplete'],'autocompletecontent':['Autocomplete','content'],'autocompletecontenttitle':['Autocomplete','contentTitle'],'autocompletedescription':['Autocomplete','description'],'autocompletedescriptiondiscriminator':['Autocomplete','descriptionDiscriminator'],'autocompletedescriptionusername':['Autocomplete','descriptionUsername'],'autocompleteicon':['Autocomplete','icon'],'autocompleteiconforeground':['Autocomplete','iconForeground'],'autocompleteinner':['Autocomplete','autocompleteInner'],'autocompleterow':['Autocomplete','autocompleteRow'],'autocompleterowhorizontal':['Autocomplete','autocompleteRowHorizontal'],'autocompleterowvertical':['Autocomplete','autocompleteRowVertical'],'autocompleteselectable':['Autocomplete','selectable'],'autocompleteselected':['Autocomplete','selectorSelected'],'autocompleteselector':['Autocomplete','selector'],'avatar':['Avatar','avatar'],'avatarcursordefault':['Avatar','cursorDefault'],'avataricon':['AvatarIcon','icon'],'avatariconactivelarge':['AvatarIcon','iconActiveLarge'],'avatariconactivemedium':['AvatarIcon','iconActiveMedium'],'avatariconactivemini':['AvatarIcon','iconActiveMini'],'avatariconactivesmall':['AvatarIcon','iconActiveSmall'],'avatariconactivexlarge':['AvatarIcon','iconActiveXLarge'],'avatariconinactive':['AvatarIcon','iconInactive'],'avatariconsizelarge':['AvatarIcon','iconSizeLarge'],'avatariconsizemedium':['AvatarIcon','iconSizeMedium'],'avatariconsizemini':['AvatarIcon','iconSizeMini'],'avatariconsizesmol':['AvatarIcon','iconSizeSmol'],'avatariconsizesmall':['AvatarIcon','iconSizeSmall'],'avatariconsizexlarge':['AvatarIcon','iconSizeXLarge'],'avatarmask':['Avatar','mask'],'avatarnoicon':['AvatarIcon','noIcon'],'avatarpointer':['Avatar','pointer'],'avatarpointerevents':['Avatar','pointerEvents'],'avatarwrapper':['Avatar','wrapper'],'backdrop':['Backdrop','backdrop'],'backdropwithlayer':['Backdrop','backdropWithLayer'],'badgebase':['Badge','base'],'badgeicon':['Badge','icon'],'badgeiconbadge':['Badge','iconBadge'],'badgenumberbadge':['Badge','numberBadge'],'badgetextbadge':['Badge','textBadge'],'badgewrapper':['NotFound','badgeWrapper'],'bdfdbbadge':['BDFDB','badge'],'bdfdbdev':['BDFDB','dev'],'bdfdbhasbadge':['BDFDB','hasBadge'],'bdfdbsupporter':['BDFDB','supporter'],'bdfdbsupportercustom':['BDFDB','supporterCustom'],'bold':['TextStyle','bold'],'bottag':['BotTag','botTag'],'bottaginvert':['BotTag','botTagInvert'],'bottagmember':['Member','botTag'],'bottagnametag':['NameTag','bot'],'bottagpx':['BotTag','px'],'bottagregular':['BotTag','botTagRegular'],'bottagrem':['BotTag','rem'],'bottagtext':['BotTag','botText'],'bottagverified':['BotTag','botTagVerified'],'button':['Button','button'],'buttoncolorblack':['Button','colorBlack'],'buttoncolorbrand':['Button','colorBrand'],'buttoncolorgreen':['Button','colorGreen'],'buttoncolorgrey':['Button','colorGrey'],'buttoncolorlink':['Button','colorLink'],'buttoncolorprimary':['Button','colorPrimary'],'buttoncolorred':['Button','colorRed'],'buttoncolortransparent':['Button','colorTransparent'],'buttoncolorwhite':['Button','colorWhite'],'buttoncoloryellow':['Button','colorYellow'],'buttoncontents':['Button','contents'],'buttondisabledoverlay':['Button','disabledButtonOverlay'],'buttondisabledwrapper':['Button','disabledButtonWrapper'],'buttonfullwidth':['Button','fullWidth'],'buttongrow':['Button','grow'],'buttonhashover':['Button','hasHover'],'buttonhoverblack':['Button','hoverBlack'],'buttonhoverbrand':['Button','hoverBrand'],'buttonhovergreen':['Button','hoverGreen'],'buttonhovergrey':['Button','hoverGrey'],'buttonhoverlink':['Button','hoverLink'],'buttonhoverprimary':['Button','hoverPrimary'],'buttonhoverred':['Button','hoverRed'],'buttonhovertransparent':['Button','hoverTransparent'],'buttonhoverwhite':['Button','hoverWhite'],'buttonhoveryellow':['Button','hoverYellow'],'buttonlookblank':['Button','lookBlank'],'buttonlookfilled':['Button','lookFilled'],'buttonlookghost':['Button','lookGhost'],'buttonlookinverted':['Button','lookInverted'],'buttonlooklink':['Button','lookLink'],'buttonlookoutlined':['Button','lookOutlined'],'buttonsizeicon':['Button','sizeIcon'],'buttonsizelarge':['Button','sizeLarge'],'buttonsizemax':['Button','sizeMax'],'buttonsizemedium':['Button','sizeMedium'],'buttonsizemin':['Button','sizeMin'],'buttonsizesmall':['Button','sizeSmall'],'buttonsizexlarge':['Button','sizeXlarge'],'buttonspinner':['Button','spinner'],'buttonspinneritem':['Button','spinnerItem'],'buttonsubmitting':['Button','submitting'],'callcurrentcontainer':['CallCurrent','wrapper'],'callcurrentdetails':['CallDetails','container'],'callcurrentvideo':['Video','video'],'callincomingicon':['CallIncoming','icon'],'callincomingroot':['CallIncoming','root'],'callincomingtitle':['CallIncoming','title'],'callincomingwrapper':['CallIncoming','wrapper'],'card':['Card','card'],'cardbrand':['Card','cardBrand'],'cardbrandoutline':['Card','cardBrandOutline'],'carddanger':['Card','cardDanger'],'carddangeroutline':['Card','cardDangerOutline'],'carderror':['CardStatus','error'],'cardprimary':['Card','cardPrimary'],'cardprimaryeditable':['Card','cardPrimaryEditable'],'cardprimaryoutline':['Card','cardPrimaryOutline'],'cardprimaryoutlineeditable':['Card','cardPrimaryOutlineEditable'],'cardreset':['CardStatus','reset'],'cardsuccess':['Card','cardSuccess'],'cardsuccessoutline':['Card','cardSuccessOutline'],'cardwarning':['Card','cardWarning'],'cardwarningoutline':['Card','cardWarningOutline'],'categoryaddbutton':['CategoryContainer','addButton'],'categoryaddbuttonicon':['CategoryContainer','addButtonIcon'],'categorychildren':['Category','children'],'categoryclickable':['Category','clickable'],'categorycollapsed':['Category','collapsed'],'categorycontainerdefault':['CategoryContainer','containerDefault'],'categoryforcevisible':['CategoryContainer','forceVisible'],'categoryicon':['Category','icon'],'categoryiconvisibility':['CategoryContainer','iconVisibility'],'categorymuted':['Category','muted'],'categoryname':['Category','name'],'categorywrapper':['Category','wrapper'],'changelogadded':['ChangeLog','added'],'changelogcontainer':['ChangeLog','container'],'changelogfixed':['ChangeLog','fixed'],'changelogimproved':['ChangeLog','improved'],'changelogprogress':['ChangeLog','progress'],'changelogtitle':['ChangeLog','title'],'channelactionicon':['ChannelContainer','actionIcon'],'channelchildicon':['ChannelContainer','iconItem'],'channelchildiconbase':['ChannelContainer','iconBase'],'channelchildren':['Channel','children'],'channelcontainerdefault':['ChannelContainer','containerDefault'],'channelcontent':['Channel','content'],'channeldisabled':['ChannelContainer','disabled'],'channelheaderchannelname':['ChatWindow','channelName'],'channelheaderchildren':['HeaderBar','children'],'channelheaderdivider':['HeaderBar','divider'],'channelheaderheaderbar':['HeaderBar','container'],'channelheaderheaderbarthemed':['HeaderBar','themed'],'channelheaderheaderbartitle':['HeaderBar','title'],'channelheadericon':['HeaderBar','icon'],'channelheadericonbadge':['HeaderBar','iconBadge'],'channelheadericonclickable':['HeaderBar','clickable'],'channelheadericonselected':['HeaderBar','selected'],'channelheadericonwrapper':['HeaderBar','iconWrapper'],'channelheadertitle':['ChatWindow','title'],'channelheadertitlewrapper':['ChatWindow','titleWrapper'],'channelheadersearch':['HeaderBarExtras','search'],'channelheadersearchbar':['HeaderBarSearch','searchBar'],'channelheadersearchicon':['HeaderBarSearch','icon'],'channelheadersearchinner':['HeaderBarSearch','search'],'channelheadertoolbar':['HeaderBar','toolbar'],'channelheadertoolbar2':['HeaderBarExtras','toolbar'],'channelheadertopic':['HeaderBarTopic','topic'],'channelheadertopicexpandable':['HeaderBarTopic','expandable'],'channelicon':['Channel','icon'],'channeliconvisibility':['ChannelContainer','iconVisibility'],'channelmentionsbadge':['ChannelContainer','mentionsBadge'],'channelmodeconnected':['Channel','modeConnected'],'channelmodelocked':['Channel','modeLocked'],'channelmodemuted':['Channel','modeMuted'],'channelmodeselected':['Channel','modeSelected'],'channelmodeunread':['Channel','modeUnread'],'channelname':['Channel','name'],'channelpanel':['AppBase','activityPanel'],'channelpaneltitle':['NotFound','channelPanelTitle'],'channelpanels':['AppBase','panels'],'channels':['AppBase','sidebar'],'channelselected':['ChannelContainer','selected'],'channelsscroller':['GuildChannels','scroller'],'channelsunreadbar':['GuildChannels','unreadBar'],'channelsunreadbarcontainer':['GuildChannels','positionedContainer'],'channelsunreadbarbottom':['GuildChannels','unreadBottom'],'channelsunreadbarunread':['GuildChannels','unread'],'channelsunreadbartop':['GuildChannels','unreadTop'],'channelunread':['Channel','unread'],'channeluserlimit':['ChannelLimit','wrapper'],'channeluserlimitcontainer':['ChannelContainer','userLimit'],'channeluserlimittotal':['ChannelLimit','total'],'channeluserlimitusers':['ChannelLimit','users'],'channelwrapper':['Channel','wrapper'],'charcounter':['BDFDB','charCounter'],'chat':['ChatWindow','chat'],'chatbase':['AppBase','base'],'chatcontent':['ChatWindow','chatContent'],'chatform':['ChatWindow','form'],'chatinner':['ChatWindow','content'],'chatspacer':['AppBase','content'],'checkbox':['Checkbox','checkbox'],'checkboxchecked':['Checkbox','checked'],'checkboxcontainer':['ModalItems','checkboxContainer'],'checkboxinput':['Checkbox','input'],'checkboxinputdefault':['Checkbox','inputDefault'],'checkboxinputdisabled':['Checkbox','inputDisabled'],'checkboxround':['Checkbox','round'],'checkboxwrapper':['Checkbox','checkboxWrapper'],'checkboxwrapperdisabled':['Checkbox','checkboxWrapperDisabled'],'collapsecontainer':['BDFDB','collapseContainer'],'collapsecontainerarrow':['BDFDB','collapseContainerArrow'],'collapsecontainercollapsed':['BDFDB','collapseContainerCollapsed'],'collapsecontainerheader':['BDFDB','collapseContainerHeader'],'collapsecontainerinner':['BDFDB','collapseContainerInner'],'collapsecontainermini':['BDFDB','collapseContainerMini'],'collapsecontainertitle':['BDFDB','collapseContainerTitle'],'colorbase':['TextColor2','base'],'colorbrand':['TextColor','colorBrand'],'colorerror':['TextColor','colorError'],'colormuted':['TextColor','colorMuted'],'colorgreen':['TextColor','colorStatusGreen'],'colorpicker':['ColorPicker','colorPickerCustom'],'colorpickeralpha':['BDFDB','colorPickerAlpha'],'colorpickeralphacheckered':['BDFDB','colorPickerAlphaCheckered'],'colorpickeralphacursor':['BDFDB','colorPickerAlphaCursor'],'colorpickeralphahorizontal':['BDFDB','colorPickerAlphaHorizontal'],'colorpickergradient':['BDFDB','colorPickerGradient'],'colorpickergradientbutton':['BDFDB','colorPickerGradientButton'],'colorpickergradientbuttonenabled':['BDFDB','colorPickerGradientButtonEnabled'],'colorpickergradientcheckered':['BDFDB','colorPickerGradientCheckered'],'colorpickergradientcursor':['BDFDB','colorPickerGradientCursor'],'colorpickergradientcursoredge':['BDFDB','colorPickerGradientCursorEdge'],'colorpickergradientcursorselected':['BDFDB','colorPickerGradientCursorSelected'],'colorpickergradienthorizontal':['BDFDB','colorPickerGradientHorizontal'],'colorpickerhexinput':['ColorPicker','customColorPickerInput'],'colorpickerhue':['ColorPickerInner','hue'],'colorpickerhuecursor':['NotFound','hueCursor'],'colorpickerhuehorizontal':['NotFound','hueHorizontal'],'colorpickerhuevertical':['NotFound','hueVertical'],'colorpickerinner':['ColorPickerInner','wrapper'],'colorpickerrow':['ColorPicker','colorPickerRow'],'colorpickersaturation':['ColorPickerInner','saturation'],'colorpickersaturationblack':['NotFound','saturationBlack'],'colorpickersaturationcolor':['NotFound','saturationColor'],'colorpickersaturationcursor':['NotFound','saturationCursor'],'colorpickersaturationwhite':['NotFound','saturationWhite'],'colorpickerswatch':['ColorPicker','colorPickerSwatch'],'colorpickerswatches':['BDFDB','colorPickerSwatches'],'colorpickerswatchesdisabled':['BDFDB','colorPickerSwatchesDisabled'],'colorpickerswatchcustom':['ColorPicker','custom'],'colorpickerswatchdefault':['ColorPicker','default'],'colorpickerswatchdisabled':['ColorPicker','disabled'],'colorpickerswatchdropper':['ColorPicker','colorPickerDropper'],'colorpickerswatchdropperfg':['ColorPicker','colorPickerDropperFg'],'colorpickerswatchnocolor':['ColorPicker','noColor'],'colorpickerswatchselected':['BDFDB','colorPickerSwatchSelected'],'colorpickerswatchsingle':['BDFDB','colorPickerSwatchSingle'],'colorpickerwrapper':['BDFDB','colorPicker'],'colorprimary':['TextColor','colorHeaderPrimary'],'colorred':['TextColor','colorStatusRed'],'colorsecondary':['TextColor','colorHeaderSecondary'],'colorselectable':['TextColor','selectable'],'colorstandard':['TextColor','colorStandard'],'coloryellow':['TextColor','colorStatusYellow'],'cursordefault':['Cursor','cursorDefault'],'cursorpointer':['Cursor','cursorPointer'],'customstatusemoji':['CustomStatusIcon','emoji'],'customstatusicon':['CustomStatusIcon','icon'],'defaultcolor':['Text','defaultColor'],'description':['FormText','description'],'directioncolumn':['Flex','directionColumn'],'directiondown':['IconDirection','directionDown'],'directionleft':['IconDirection','directionLeft'],'directionright':['IconDirection','directionRight'],'directionrow':['Flex','directionRow'],'directionrowreverse':['Flex','directionRowReverse'],'directionup':['IconDirection','directionUp'],'directiontransition':['IconDirection','transition'],'disabled':['SettingsItems','disabled'],'discriminator':['NameTag','discriminator'],'divider':['ModalDivider','divider'],'dividerdefault':['SettingsItems','dividerDefault'],'dividermini':['SettingsItems','dividerMini'],'dmchannel':['PrivateChannel','channel'],'dmchannelactivity':['PrivateChannel','activity'],'dmchannelactivityemoji':['PrivateChannel','activityEmoji'],'dmchannelactivitytext':['PrivateChannel','activityText'],'dmchannelclose':['PrivateChannel','closeButton'],'dmchannelheadercontainer':['PrivateChannelListScroller','privateChannelsHeaderContainer'],'dmchannelheadertext':['PrivateChannelListScroller','headerText'],'dmchannels':['PrivateChannelList','privateChannels'],'dmchannelsempty':['PrivateChannelListScroller','empty'],'dmchannelsscroller':['PrivateChannelListScroller','scroller'],'dmpill':['GuildDm','pill'],'downloadlink':['DownloadLink','downloadLink'],'ellipsis':['PopoutActivity','ellipsis'],'embed':['Embed','embed'],'embedauthor':['Embed','embedAuthor'],'embedauthoricon':['Embed','embedAuthorIcon'],'embedauthorname':['Embed','embedAuthorName'],'embedauthornamelink':['Embed','embedAuthorNameLink'],'embedcentercontent':['Embed','centerContent'],'embeddescription':['Embed','embedDescription'],'embedfield':['Embed','embedField'],'embedfieldname':['Embed','embedFieldName'],'embedfields':['Embed','embedFields'],'embedfieldvalue':['Embed','embedFieldValue'],'embedfooter':['Embed','embedFooter'],'embedfootericon':['Embed','embedFooterIcon'],'embedfooterseparator':['Embed','embedFooterSeparator'],'embedfootertext':['Embed','embedFooterText'],'embedfull':['Embed','embedFull'],'embedgiftag':['Embed','embedGIFTag'],'embedgrid':['Embed','grid'],'embedhasthumbnail':['Embed','hasThumbnail'],'embedhiddenspoiler':['Embed','hiddenSpoiler'],'embediframe':['Embed','embedIframe'],'embedimage':['Embed','embedImage'],'embedlink':['Embed','embedLink'],'embedmargin':['Embed','embedMargin'],'embedmedia':['Embed','embedMedia'],'embedprovider':['Embed','embedProvider'],'embedspoilerattachment':['Embed','spoilerAttachment'],'embedspoilerembed':['Embed','spoilerEmbed'],'embedspotify':['Embed','embedSpotify'],'embedthumbnail':['Embed','embedThumbnail'],'embedtitle':['Embed','embedTitle'],'embedtitlelink':['Embed','embedTitleLink'],'embedvideo':['Embed','embedVideo'],'embedvideoaction':['Embed','embedVideoAction'],'embedvideoactions':['Embed','embedVideoActions'],'embedvideoimagecomponent':['Embed','embedVideoImageComponent'],'embedvideoimagecomponentinner':['Embed','embedVideoImageComponentInner'],'embedwrapper':['MessageAccessory','embedWrapper'],'emoji':['Emoji','emoji'],'emojiold':['NotFound','emoji'],'emojibutton':['EmojiButton','emojiButton'],'emojibuttonhovered':['EmojiButton','emojiButtonHovered'],'emojibuttonnormal':['EmojiButton','emojiButtonNormal'],'emojibuttonsprite':['EmojiButton','sprite'],'emojiinput':['EmojiInput','input'],'emojiinputbutton':['EmojiInput','emojiButton'],'emojiinputbuttoncontainer':['EmojiInput','emojiButtonContainer'],'emojiinputclearbutton':['EmojiInput','clearButton'],'emojiinputclearicon':['EmojiInput','clearIcon'],'emojiinputcontainer':['EmojiInput','inputContainer'],'emojipickerbutton':['Reactions','reactionBtn'],'emojipicker':['EmojiPicker','emojiPicker'],'emojipickerdiversityemojiitem':['EmojiPickerDiversitySelector','diversityEmojiItem'],'emojipickerdiversityemojiitemimage':['EmojiPickerDiversitySelector','diversityEmojiItemImage'],'emojipickerdiversityselector':['EmojiPickerDiversitySelector','diversitySelector'],'emojipickerdiversityselectorpopout':['EmojiPickerDiversitySelector','diversitySelectorPopout'],'emojipickerdiversityselectorwrapper':['EmojiPicker','diversitySelector'],'emojipickeremojispriteimage':['EmojiPickerItem','emojiSpriteImage'],'emojipickerheader':['EmojiPicker','header'],'emojipickerinspector':['EmojiPickerInspector','inspector'],'emojipickerinspectoremoji':['EmojiPickerInspector','emoji'],'expressionpicker':['ExpressionPicker','contentWrapper'],'expressionpickernav':['ExpressionPicker','nav'],'expressionpickernavbutton':['ExpressionPicker','navButton'],'expressionpickernavbuttonactive':['ExpressionPicker','navButtonActive'],'expressionpickernavitem':['ExpressionPicker','navItem'],'expressionpickernavlist':['ExpressionPicker','navList'],'favbuttoncontainer':['BDFDB','favButtonContainer'],'fileattachment':['File','attachment'],'fileattachmentinner':['File','attachmentInner'],'filecancelbutton':['File','cancelButton'],'filedownloadbutton':['File','downloadButton'],'filename':['File','filename'],'filenamelink':['File','fileNameLink'],'filenamelinkwrapper':['File','filenameLinkWrapper'],'filenamewrapper':['File','filenameWrapper'],'flex':['FlexChild','flex'],'flex2':['Flex','flex'],'flexcenter':['Flex','flexCenter'],'flexchild':['FlexChild','flexChild'],'flexmarginreset':['FlexChild','flexMarginReset'],'flexspacer':['Flex','spacer'],'flowerstar':['FlowerStar','flowerStar'],'flowerstarchild':['FlowerStar','childContainer'],'flowerstarcontainer':['FlowerStar','flowerStarContainer'],'focusable':['Focusable','focusable'],'formtext':['FormText','formText'],'game':['Game','game'],'gameicon':['GameIcon','gameIcon'],'gameiconlarge':['GameIcon','large'],'gameiconmedium':['GameIcon','medium'],'gameiconsmall':['GameIcon','small'],'gameiconxsmall':['GameIcon','xsmall'],'gamelibrarytable':['GameLibraryTable','table'],'gamelibrarytableheader':['GameLibraryTable','header'],'gamelibrarytableheadercell':['GameLibraryTable','headerCell'],'gamelibrarytableheadercellsorted':['GameLibraryTable','headerCellSorted'],'gamelibrarytablerow':['GameLibraryTable','row'],'gamelibrarytablerowwrapper':['GameLibraryTable','rowWrapper'],'gamelibrarytablestickyheader':['GameLibraryTable','stickyHeader'],'gamename':['Game','gameName'],'gamenameinput':['Game','gameNameInput'],'giffavoritebutton':['MessageAccessory','gifFavoriteButton'],'giffavoritecolor':['GifFavoriteButton','gifFavoriteButton'],'giffavoriteicon':['GifFavoriteButton','icon'],'giffavoriteshowpulse':['GifFavoriteButton','showPulse'],'giffavoritesize':['GifFavoriteButton','size'],'giffavoriteselected':['GifFavoriteButton','selected'],'goliveactions':['GoLiveDetails','actions'],'golivebody':['GoLiveDetails','body'],'goliveclickablegamewrapper':['GoLiveDetails','clickableGameWrapper'],'golivegameicon':['GoLiveDetails','gameIcon'],'golivegamename':['GoLiveDetails','gameName'],'golivegamewrapper':['GoLiveDetails','gameWrapper'],'goliveinfo':['GoLiveDetails','info'],'golivepanel':['GoLiveDetails','panel'],'guild':['BDFDB','guild'],'guildbuttoncontainer':['GuildsItems','circleButtonMask'],'guildbuttoninner':['GuildsItems','circleIconButton'],'guildbuttonicon':['GuildsItems','circleIcon'],'guildbuttonpill':['GuildsItems','pill'],'guildbuttonselected':['GuildsItems','selected'],'guildchannels':['NotFound','guildChannels'],'guildcontainer':['GuildServer','blobContainer'],'guilddiscovery':['GuildDiscovery','pageWrapper'],'guildedge':['GuildEdges','edge'],'guildedgehalf':['GuildEdges','half'],'guildedgehigher':['GuildEdges','higher'],'guildedgemiddle':['GuildEdges','middle'],'guildedgewrapper':['GuildEdges','wrapper'],'guildserror':['GuildsItems','guildsError'],'guildserrorinner':['GuildsItems','errorInner'],'guildfolder':['GuildFolder','folder'],'guildfolderexpandedbackground':['GuildFolder','expandedFolderBackground'],'guildfolderexpandedbackgroundcollapsed':['GuildFolder','collapsed'],'guildfolderexpandedbackgroundhover':['GuildFolder','hover'],'guildfolderguildicon':['GuildFolder','guildIcon'],'guildfoldericonwrapper':['GuildFolder','folderIconWrapper'],'guildfoldericonwrapperclosed':['GuildFolder','closedFolderIconWrapper'],'guildfoldericonwrapperexpanded':['GuildFolder','expandedFolderIconWrapper'],'guildfolderwrapper':['GuildFolder','wrapper'],'guildheader':['GuildHeader','container'],'guildheaderbannerimage':['GuildHeader','bannerImage'],'guildheaderbannerimagecontainer':['GuildHeader','animatedContainer'],'guildheaderbannervisible':['GuildHeader','bannerVisible'],'guildheaderbutton':['GuildHeaderButton','button'],'guildheaderbuttonopen':['GuildHeaderButton','open'],'guildheaderclickable':['GuildHeader','clickable'],'guildheaderhasbanner':['GuildHeader','hasBanner'],'guildheadericoncontainer':['GuildHeader','guildIconContainer'],'guildheadericonbgtiernone':['GuildHeader','iconBackgroundTierNone'],'guildheadericonbgtierone':['GuildHeader','iconBackgroundTierOne'],'guildheadericonbgtierthree':['GuildHeader','iconBackgroundTierThree'],'guildheadericonbgtiertwo':['GuildHeader','iconBackgroundTierTwo'],'guildheadericonpremiumgem':['GuildHeader','premiumGuildIconGem'],'guildheadericontiernone':['GuildHeader','iconTierNone'],'guildheadericontierone':['GuildHeader','iconTierOne'],'guildheadericontierthree':['GuildHeader','iconTierThree'],'guildheadericontiertwo':['GuildHeader','iconTierTwo'],'guildheaderheader':['GuildHeader','header'],'guildheadername':['GuildHeader','name'],'guildicon':['GuildIcon','icon'],'guildiconacronym':['GuildIcon','acronym'],'guildiconbadge':['GuildsItems','iconBadge'],'guildiconchildwrapper':['GuildIcon','childWrapper'],'guildiconselected':['GuildIcon','selected'],'guildiconwrapper':['GuildIcon','wrapper'],'guildinner':['Guild','wrapper'],'guildinnerwrapper':['GuildsItems','listItemWrapper'],'guildlowerbadge':['Guild','lowerBadge'],'guildlowerleftbadge':['BDFDB','guildLowerLeftBadge'],'guildouter':['GuildsItems','listItem'],'guildpill':['GuildServer','pill'],'guildpillitem':['PillWrapper','item'],'guildpillwrapper':['PillWrapper','wrapper'],'guildplaceholder':['GuildsItems','dragInner'],'guildplaceholdermask':['GuildsItems','placeholderMask'],'guilds':['AppBase','guilds'],'guildseparator':['GuildsItems','guildSeparator'],'guildserror':['GuildsItems','guildsError'],'guildsettingsbannedcard':['GuildSettingsBanned','bannedUser'],'guildsettingsbanneddiscrim':['GuildSettingsBanned','discrim'],'guildsettingsbannedusername':['GuildSettingsBanned','username'],'guildsettingsemojicard':['GuildSettingsEmoji','emojiRow'],'guildsettingsinvitecard':['GuildSettingsInvite','inviteSettingsInviteRow'],'guildsettingsinvitechannelname':['GuildSettingsInvite','channelName'],'guildsettingsinviteusername':['GuildSettingsInvite','username'],'guildsettingsmembercard':['GuildSettingsMember','member'],'guildsettingsmembername':['GuildSettingsMember','name'],'guildsettingsmembernametag':['GuildSettingsMember','nameTag'],'guildsettingsrolesbuttonwrapper':['GuildSettingsRoles','buttonWrapper'],'guildsscroller':['GuildsWrapper','scroller'],'guildsvg':['Guild','svg'],'guildswrapper':['GuildsWrapper','wrapper'],'guildswrapperunreadmentionsbar':['GuildsWrapper','unreadMentionsBar'],'guildswrapperunreadmentionsbarbottom':['GuildsWrapper','unreadMentionsIndicatorBottom'],'guildswrapperunreadmentionsbartop':['GuildsWrapper','unreadMentionsIndicatorTop'],'guildtutorialcontainer':['GuildsItems','tutorialContainer'],'guildupperbadge':['Guild','upperBadge'],'guildupperleftbadge':['BDFDB','guildUpperLeftBadge'],'h1':['Text','h1'],'h1defaultmargin':['Text','defaultMarginh1'],'h2':['Text','h2'],'h2defaultmargin':['Text','defaultMarginh2'],'h3':['Text','h3'],'h3defaultmargin':['Text','defaultMarginh3'],'h4':['Text','h4'],'h4defaultmargin':['Text','defaultMarginh4'],'h5':['Text','h5'],'h5defaultmargin':['Text','defaultMarginh5'],'headertitle':['Text','title'],'height12':['UserPopout','height12'],'height16':['File','height16'],'height24':['Title','height24'],'height36':['Notice','height36'],'highlight':['NotFound','highlight'],'homebuttonicon':['HomeIcon','homeIcon'],'homebuttonpill':['HomeIcon','pill'],'horizontal':['FlexChild','horizontal'],'horizontal2':['NotFound','_'],'horizontalreverse':['FlexChild','horizontalReverse'],'horizontalreverse2':['NotFound','_'],'hotkeybase':['NotFound','_'],'hotkeybutton':['HotKeyRecorder','button'],'hotkeybutton2':['NotFound','_'],'hotkeycontainer':['HotKeyRecorder','container'],'hotkeycontainer2':['NotFound','_'],'hotkeydisabled':['HotKeyRecorder','disabled'],'hotkeydisabled2':['NotFound','_'],'hotkeyediticon':['HotKeyRecorder','editIcon'],'hotkeyhasvalue':['HotKeyRecorder','hasValue'],'hotkeyinput':['HotKeyRecorder','input'],'hotkeyinput2':['HotKeyRecorder','input'],'hotkeylayout':['HotKeyRecorder','layout'],'hotkeylayout2':['HotKeyRecorder','layout'],'hotkeyrecording':['HotKeyRecorder','recording'],'hotkeyresetbutton':['BDFDB','hotkeyResetButton'],'hotkeyshadowpulse':['HotKeyRecorder','shadowPulse'],'hotkeytext':['HotKeyRecorder','text'],'hotkeywrapper':['BDFDB','hotkeyWrapper'],'hovercard':['HoverCard','card'],'hovercardbutton':['NotFound','hoverCardButton'],'hovercardinner':['BDFDB','cardInner'],'hovercardwrapper':['BDFDB','cardWrapper'],'icon':['EmbedActions','icon'],'iconactionswrapper':['EmbedActions','wrapper'],'iconexternal':['EmbedActions','iconExternal'],'iconexternalmargins':['EmbedActions','iconExternalMargins'],'iconplay':['EmbedActions','iconPlay'],'iconwrapper':['EmbedActions','iconWrapper'],'iconwrapperactive':['EmbedActions','iconWrapperActive'],'imageaccessory':['ImageWrapper','imageAccessory'],'imageclickable':['ImageWrapper','clickable'],'imageerror':['ImageWrapper','imageError'],'imageplaceholder':['ImageWrapper','imagePlaceholder'],'imageplaceholderoverlay':['ImageWrapper','imagePlaceholderOverlay'],'imagewrapper':['ImageWrapper','imageWrapper'],'imagewrapperbackground':['ImageWrapper','imageWrapperBackground'],'imagewrapperinner':['ImageWrapper','imageWrapperInner'],'imagezoom':['ImageWrapper','imageZoom'],'itemlayer':['ItemLayerContainer','layer'],'itemlayercontainer':['ItemLayerContainer','layerContainer'],'itemlayerdisabledpointerevents':['ItemLayerContainer','disabledPointerEvents'],'input':['Input','input'],'inputdefault':['Input','inputDefault'],'inputdisabled':['Input','disabled'],'inputeditable':['Input','editable'],'inputerror':['Input','error'],'inputfocused':['Input','focused'],'inputmini':['Input','inputMini'],'inputprefix':['Input','inputPrefix'],'inputsuccess':['Input','success'],'inputwrapper':['Input','inputWrapper'],'inputnumberbutton':['BDFDB','inputNumberButton'],'inputnumberbuttondown':['BDFDB','inputNumberButtonDown'],'inputnumberbuttonup':['BDFDB','inputNumberButtonUp'],'inputnumberbuttons':['BDFDB','inputNumberButtons'],'inputnumberwrapper':['BDFDB','inputNumberWrapper'],'inputnumberwrapperdefault':['BDFDB','inputNumberWrapperDefault'],'inputnumberwrappermini':['BDFDB','inputNumberWrapperMini'],'invite':['GuildInvite','wrapper'],'invitebutton':['GuildInvite','button'],'invitebuttonfornonmember':['GuildInvite','buttonForNonMember'],'invitebuttonresolving':['GuildInvite','invite-button-resolving'],'invitebuttonsize':['GuildInvite','buttonSize'],'invitechannel':['GuildInvite','channel'],'invitechannelicon':['GuildInvite','channelIcon'],'invitechannelname':['GuildInvite','channelName'],'invitecontent':['GuildInvite','content'],'invitecount':['GuildInvite','count'],'invitecursordefault':['GuildInvite','cursorDefault'],'invitedestination':['GuildInvite','inviteDestination'],'invitedestinationexpired':['GuildInvite','inviteDestinationExpired'],'invitedestinationjoined':['GuildInvite','inviteDestinationJoined'],'inviteguildbadge':['GuildInvite','guildBadge'],'inviteguilddetail':['GuildInvite','guildDetail'],'inviteguildicon':['GuildInvite','guildIcon'],'inviteguildiconexpired':['GuildInvite','guildIconExpired'],'inviteguildiconimage':['GuildInvite','guildIconImage'],'inviteguildiconimagejoined':['GuildInvite','guildIconImageJoined'],'inviteguildiconjoined':['GuildInvite','guildIconJoined'],'inviteguildinfo':['GuildInvite','guildInfo'],'inviteguildname':['GuildInvite','guildName'],'inviteguildnamewrapper':['GuildInvite','guildNameWrapper'],'inviteheader':['GuildInvite','header'],'invitemodal':['InviteModal','modal'],'invitemodalinviterow':['InviteModal','inviteRow'],'invitemodalinviterowname':['InviteModal','inviteRowName'],'invitemodalwrapper':['InviteModal','wrapper'],'invitesplash':['GuildInvite','inviteSplash'],'invitesplashimage':['GuildInvite','inviteSplashImage'],'invitesplashimageloaded':['GuildInvite','inviteSplashImageLoaded'],'inviteresolving':['GuildInvite','resolving'],'inviteresolvingbackground':['GuildInvite','resolvingBackground'],'invitestatus':['GuildInvite','status'],'invitestatuscounts':['GuildInvite','statusCounts'],'invitestatusoffline':['GuildInvite','statusOffline'],'invitestatusonline':['GuildInvite','statusOnline'],'inviteuserselectnone':['GuildInvite','userSelectNone'],'italics':['TextStyle','italics'],'justifycenter':['Flex','justifyCenter'],'justifyend':['Flex','justifyEnd'],'justifystart':['Flex','justifyStart'],'layermodal':['LayerModal','root'],'layermodallarge':['LayerModal','large'],'layermodalmedium':['LayerModal','medium'],'layermodalsmall':['LayerModal','small'],'layer':['Layers','layer'],'layerbase':['Layers','baseLayer'],'layers':['Layers','layers'],'layersbg':['Layers','bg'],'listavatar':['UserProfile','listAvatar'],'listdiscriminator':['UserProfile','listDiscriminator'],'listname':['UserProfile','listName'],'listrow':['UserProfile','listRow'],'listrowcontent':['UserProfile','listRowContent'],'listrowwrapper':['BDFDB','listRow'],'listscroller':['UserProfile','listScroller'],'livetag':['LiveTag','live'],'livetaggrey':['LiveTag','grey'],'livetaglarge':['LiveTag','liveLarge'],'livetagsmall':['LiveTag','liveSmall'],'loadingicon':['BDFDB','loadingIcon'],'loadingiconwrapper':['BDFDB','loadingIconWrapper'],'loadingscreen':['LoadingScreen','container'],'loginscreen':['NotFound','loginScreen'],'marginbottom4':['Margins','marginBottom4'],'marginbottom8':['Margins','marginBottom8'],'marginbottom20':['Margins','marginBottom20'],'marginbottom40':['Margins','marginBottom40'],'marginbottom60':['Margins','marginBottom60'],'margincenterhorz':['Margins','marginCenterHorz'],'marginleft4':['Autocomplete','marginLeft4'],'marginleft8':['Autocomplete','marginLeft8'],'marginreset':['Margins','marginReset'],'margintop4':['Margins','marginTop4'],'margintop8':['Margins','marginTop8'],'margintop20':['Margins','marginTop20'],'margintop40':['Margins','marginTop40'],'margintop60':['Margins','marginTop60'],'member':['Member','member'],'memberactivity':['Member','activity'],'membericon':['Member','icon'],'memberoffline':['Member','offline'],'memberownericon':['Member','ownerIcon'],'memberpremiumicon':['Member','premiumIcon'],'members':['MembersWrap','members'],'membersgroup':['MembersWrap','membersGroup'],'memberstabbar':['MembersThreads','tabBar'],'membersthread':['MembersThreads','thread'],'memberswrap':['MembersWrap','membersWrap'],'memberusername':['Member','roleColor'],'mention':['NotFound','mention'],'mentioninteractive':['NotFound','mentionInteractive'],'mentionwrapper':['NotFound','mentionWrapper'],'menu':['Menu','menu'],'menucaret':['Menu','caret'],'menucheck':['Menu','check'],'menucheckbox':['Menu','checkbox'],'menucolorbrand':['Menu','colorBrand'],'menucolordanger':['Menu','colorDanger'],'menucolordefault':['Menu','colorDefault'],'menucolorpremium':['Menu','colorPremium'],'menucustomitem':['Menu','customItem'],'menudisabled':['Menu','disabled'],'menufocused':['Menu','focused'],'menuhideinteraction':['Menu','hideInteraction'],'menuhint':['BDFDB','menuItemHint'],'menuhintcontainer':['Menu','hintContainer'],'menuicon':['Menu','icon'],'menuiconcontainer':['Menu','iconContainer'],'menuimage':['Menu','image'],'menuimagecontainer':['Menu','imageContainer'],'menuitem':['Menu','item'],'menulabel':['Menu','label'],'menulabelcontainer':['Menu','labelContainer'],'menureactbutton':['MenuReactButton','button'],'menureactbuttonfocused':['MenuReactButton','focused'],'menureactbuttonicon':['MenuReactButton','icon'],'menureactbuttons':['MenuReactButton','wrapper'],'menuscroller':['Menu','scroller'],'menuseparator':['Menu','separator'],'menuslider':['MenuSlider','slider'],'menuslidercontainer':['MenuSlider','sliderContainer'],'menustylefixed':['Menu','styleFixed'],'menustyleflexible':['Menu','styleFlexible'],'menusubmenu':['Menu','submenu'],'menusubmenucontainer':['Menu','submenuContainer'],'menusubtext':['Menu','subtext'],'message':['Message','message'],'messageaccessory':['MessageAccessory','container'],'messageavatar':['MessageBody','avatar'],'messageavatarclickable':['MessageBody','clickable'],'messagebackgroundflash':['Message','backgroundFlash'],'messagebarbase':['MessageElements','barBase'],'messagebarbuttonalt':['MessageElements','barButtonAlt'],'messagebarbuttonbase':['MessageElements','barButtonBase'],'messagebarbuttonicon':['MessageElements','barButtonIcon'],'messagebarbuttonmain':['MessageElements','barButtonMain'],'messagebarhasmore':['MessageElements','hasMore'],'messagebarjumptopresentbar':['MessageElements','jumpToPresentBar'],'messagebarloadingmore':['MessageElements','loadingMore'],'messagebarnewmessagesbar':['MessageElements','newMessagesBar'],'messagebarspan':['MessageElements','span'],'messagebarspinner':['MessageElements','spinner'],'messagebarspinneritem':['MessageElements','spinnerItem'],'messagebeforegroup':['Message','beforeGroup'],'messageblockedaction':['MessageBlocked','blockedAction'],'messageblockedcontainer':['MessageBlocked','container'],'messageblockedexpanded':['MessageBlocked','expanded'],'messageblockedicon':['MessageBlocked','blockedIcon'],'messageblockedsystemmessage':['MessageBlocked','blockedSystemMessage'],'messageblockedtext':['MessageBlocked','blockedMessageText'],'messageblockquotecontainer':['MessageMarkup','blockquoteContainer'],'messageblockquotedivider':['MessageMarkup','blockquoteDivider'],'messagebottag':['MessageBody','botTag'],'messagebottagcompact':['MessageBody','botTagCompact'],'messagebottagcozy':['MessageBody','botTagCozy'],'messagebuttoncontainer':['MessageBody','buttonContainer'],'messagebuttons':['Message','buttons'],'messagechanneltextarea':['Message','channelTextArea'],'messagecompact':['MessageBody','compact'],'messagecontents':['MessageBody','contents'],'messagecozy':['MessageBody','cozy'],'messagecozymessage':['Message','cozyMessage'],'messagedisableinteraction':['Message','disableInteraction'],'messagedivider':['Message','divider'],'messagedividerhascontent':['Message','hasContent'],'messageedited':['MessageBody','edited'],'messagegroupstart':['Message','groupStart'],'messagegroupblocked':['MessageElements','messageGroupBlocked'],'messagegroupblockedbtn':['MessageElements','messageGroupBlockedBtn'],'messagegroupblockedrevealed':['MessageElements','revealed'],'messageheader':['MessageBody','header'],'messagelocalbot':['Message','localBot'],'messagelocalbotoperations':['MessageLocalBot','localBotMessage'],'messagemarkup':['MessageMarkup','markup'],'messagemarkupcompact':['MessageBody','compact'],'messagemarkupcontent':['MessageBody','messageContent'],'messagemarkupcozy':['MessageBody','cozy'],'messagemarkupisfailed':['MessageBody','isFailed'],'messagemarkupissending':['MessageBody','isSending'],'messagemarkuprtl':['MessageBody','markupRtl'],'messagementioned':['Message','mentioned'],'messageoperations':['MessageOperations','operations'],'messagereaction':['MessageReactions','reaction'],'messagereactionme':['MessageReactions','reactionMe'],'messagereactions':['MessageReactions','reactions'],'messagereactionsmodalemoji':['MessageReactionsModal','emoji'],'messagereactionsmodalname':['MessageReactionsModal','name'],'messagereactionsmodalnickname':['MessageReactionsModal','nickname'],'messagereactionsmodalreactor':['MessageReactionsModal','reactor'],'messagereactionsmodalusername':['MessageReactionsModal','username'],'messageselected':['Message','selected'],'messages':['MessagesWrap','messages'],'messagesdivider':['MessagesWrap','divider'],'messagespopout':['MessagesPopout','messagesPopout'],'messagespopoutactionbuttons':['MessagesPopout','actionButtons'],'messagespopoutbody':['MessagesPopout','body'],'messagespopoutbottom':['MessagesPopout','bottom'],'messagespopoutbutton':['MessagesPopoutButtons','button'],'messagespopoutbuttonsecondary':['MessagesPopoutButtons','secondary'],'messagespopoutbuttontertiary':['MessagesPopoutButtons','tertiary'],'messagespopoutchannelname':['MessagesPopout','channelName'],'messagespopoutchannelseparator':['MessagesPopout','channelSeparator'],'messagespopoutclosebutton':['MessagesPopout','closeIcon'],'messagespopoutemptyplaceholder':['MessagesPopout','emptyPlaceholder'],'messagespopoutfooter':['MessagesPopout','footer'],'messagespopoutguildname':['MessagesPopout','guildName'],'messagespopoutgroupcozy':['MessagesPopout','messageGroupCozy'],'messagespopoutgroupwrapper':['MessagesPopout','messageGroupWrapper'],'messagespopouthasmore':['MessagesPopout','hasMore'],'messagespopouthasmorebutton':['MessagesPopout','hasMoreButton'],'messagespopoutheader':['MessagesPopout','header'],'messagespopoutimage':['MessagesPopout','image'],'messagespopoutjumpbutton':['MessagesPopout','jumpButton'],'messagespopoutloading':['MessagesPopout','loading'],'messagespopoutloadingmore':['MessagesPopout','loadingMore'],'messagespopoutloadingplaceholder':['MessagesPopout','loadingPlaceholder'],'messagespopoutscrollingfooterwrap':['MessagesPopout','scrollingFooterWrap'],'messagespopoutspinner':['MessagesPopout','spinner'],'messagespopouttabbar':['MessagesPopoutTabBar','tabBar'],'messagespopouttabbarheader':['MessagesPopoutTabBar','header'],'messagespopouttabbartab':['MessagesPopoutTabBar','tab'],'messagespopouttabbartabactive':['MessagesPopoutTabBar','active'],'messagespopouttitle':['MessagesPopout','title'],'messagespopoutvisible':['MessagesPopout','visible'],'messagespopoutwrap':['MessagesPopout','messagesPopoutWrap'],'messagesscroller':['MessagesWrap','scroller'],'messagesscrollerinner':['MessagesWrap','scrollerInner'],'messagesscrollerwrapper':['MessagesWrap','scrollerWrap'],'messageswelcome':['MessagesWelcome','container'],'messageswelcomebutton':['NotFound','messagesWelcomeButton'],'messageswelcomedescription':['MessagesWelcome','description'],'messageswelcomeemptychannelicon':['MessagesWelcome','emptyChannelIcon'],'messageswelcomehasdivider':['MessagesWelcome','hasDivider'],'messageswelcomeheader':['MessagesWelcome','header'],'messageswelcomelocked':['MessagesWelcome','lcoked'],'messageswrapper':['MessagesWrap','messagesWrapper'],'messagesystem':['Message','systemMessage'],'messagesystemaccessories':['MessageBody','systemMessageAccessories'],'messagesystemcontainer':['MessageSystem','container'],'messagesystemcontent':['MessageSystem','content'],'messagesystemicon':['MessageSystem','icon'],'messagesystemiconcontainer':['MessageSystem','iconContainer'],'messagesystemiconsize':['MessageSystem','iconSize'],'messagetimedivider':['MessageDivider','divider'],'messagetimedividercontent':['MessageDivider','content'],'messagetimedividerhascontent':['MessageDivider','hasContent'],'messagetimedividerisunread':['MessageDivider','isUnread'],'messagetimedividerunreadpill':['MessageDivider','unreadPill'],'messagetimedividerunreadpillcap':['MessageDivider','unreadPillCap'],'messagetimedividerunreadpillcapstroke':['MessageDivider','unreadPillCapStroke'],'messagetimestampasiancompact':['MessageBody','asianCompactTimeStamp'],'messagetimestamp':['MessageBody','timestamp'],'messagetimestampalt':['MessageBody','alt'],'messagetimestamplatin12compact':['MessageBody','latin12CompactTimeStamp'],'messagetimestamplatin24compact':['MessageBody','latin24CompactTimeStamp'],'messagetimestampseparator':['MessageBody','separator'],'messagetimestampsystem':['MessageSystem','timestamp'],'messagetimestamptooltip':['MessageBody','timestampTooltip'],'messagetimestampvisibleonhover':['MessageBody','timestampVisibleOnHover'],'messagetoolbar':['MessageToolbar','container'],'messagetoolbarbutton':['MessageToolbarItems','button'],'messagetoolbarbuttondisabled':['MessageToolbarItems','disabled'],'messagetoolbarbuttonselected':['MessageToolbarItems','selected'],'messagetoolbaricon':['MessageToolbar','icon'],'messagetoolbarinner':['MessageToolbarItems','wrapper'],'messagetoolbarisheader':['MessageToolbar','isHeader'],'messagetoolbarseparator':['MessageToolbarItems','separator'],'messageuploadcancel':['MessageFile','cancelButton'],'messageusername':['MessageBody','username'],'messagewrapper':['MessageBody','wrapper'],'messagezalgo':['MessageBody','zalgo'],'modal':['ModalWrap','modal'],'modalclose':['LayerModal','close'],'modalchangelogmodal':['BDFDB','changeLogModal'],'modalconfirmmodal':['BDFDB','confirmModal'],'modalcontent':['LayerModal','content'],'modalfooter':['Modal','footer'],'modalguildname':['ModalItems','guildName'],'modalheader':['Modal','header'],'modalheaderhassibling':['BDFDB','modalHeaderHasSibling'],'modalheadershade':['BDFDB','modalHeaderShade'],'modalinner':['ModalWrap','inner'],'modalmini':['ModalMiniContent','modal'],'modalminicontent':['ModalMiniContent','content'],'modalminitext':['HeaderBarTopic','content'],'modalnoscroller':['BDFDB','modalNoScroller'],'modalseparator':['LayerModal','separator'],'modalsidebar':['BDFDB','modalSidebar'],'modalsizelarge':['Modal','sizeLarge'],'modalsizemedium':['Modal','sizeMedium'],'modalsizesmall':['Modal','sizeSmall'],'modalsub':['Modal','modal'],'modalsubinner':['BDFDB','modalSubInner'],'modaltabcontent':['BDFDB','modalTabContent'],'modaltabcontentopen':['BDFDB','modalTabContentOpen'],'modalwrapper':['BDFDB','modalWrapper'],'modedefault':['FormText','modeDefault'],'modedisabled':['FormText','modeDisabled'],'modeselectable':['FormText','modeSelectable'],'namecontainer':['NameContainer','container'],'namecontaineravatar':['NameContainer','avatar'],'namecontainerchildren':['NameContainer','children'],'namecontainerclickable':['NameContainer','clickable'],'namecontainercontent':['NameContainer','content'],'namecontainerlayout':['NameContainer','layout'],'namecontainername':['NameContainer','name'],'namecontainernamecontainer':['NotFound','nameContainerNameContainer'],'namecontainernamewrapper':['NameContainer','nameAndDecorators'],'namecontainerselected':['NameContainer','selected'],'namecontainersubtext':['NameContainer','subText'],'nametag':['NameTag','nameTag'],'nitrostore':['NitroStore','applicationStore'],'nochannel':['ChatWindow','noChannel'],'notice':['Notice','notice'],'noticebrand':['Notice','noticeBrand'],'noticebutton':['Notice','button'],'noticedanger':['Notice','noticeDanger'],'noticedefault':['Notice','noticeDefault'],'noticedownload':['Notice','noticeDownload'],'noticedismiss':['Notice','dismiss'],'noticefacebook':['Notice','noticeFacebook'],'noticeicon':['Notice','icon'],'noticeiconandroid':['Notice','iconAndroid'],'noticeiconapple':['Notice','iconApple'],'noticeiconwindows':['Notice','iconWindows'],'noticeinfo':['Notice','noticeInfo'],'noticenotification':['Notice','noticeNotification'],'noticeplatformicon':['Notice','platformIcon'],'noticepremium':['Notice','noticePremium'],'noticepremiumaction':['Notice','premiumAction'],'noticepremiumlogo':['Notice','premiumLogo'],'noticepremiumtext':['Notice','premiumText'],'noticepremiumtier1':['Notice','noticePremiumTier1'],'noticepremiumtier2':['Notice','noticePremiumTier2'],'noticerichpresence':['Notice','noticeRichPresence'],'noticespotify':['Notice','noticeSpotify'],'noticestreamer':['Notice','noticeStreamerMode'],'noticesuccess':['Notice','noticeSuccess'],'noticesurvey':['Notice','noticeSurvey'],'noticewrapper':['BDFDB','noticeWrapper'],'note':['SettingsItems','note'],'nowrap':['Flex','noWrap'],'overflowellipsis':['BDFDB','overflowEllipsis'],'paginationlist':['BDFDB','paginationList'],'paginationlistalphabet':['BDFDB','paginationListAlphabet'],'paginationlistalphabetchar':['BDFDB','paginationListAlphabetChar'],'paginationlistalphabetchardisabled':['BDFDB','paginationListAlphabetCharDisabled'],'paginationlistcontent':['BDFDB','paginationListContent'],'paginationlistpagination':['BDFDB','paginationListPagination'],'peoples':['Peoples','container'],'peoplesbadge':['Peoples','badge'],'peoplesnowplayingcolumn':['Peoples','nowPlayingColumn'],'peoplespeoplecolumn':['Peoples','peopleColumn'],'peoplestabbar':['Peoples','tabBar'],'pictureinpicture':['PictureInPicture','pictureInPicture'],'pictureinpicturewindow':['PictureInPicture','pictureInPictureWindow'],'popout':['Popout','popout'],'popoutarrowalignmentmiddle':['Popout','arrowAlignmentMiddle'],'popoutarrowalignmenttop':['Popout','arrowAlignmentTop'],'popoutbottom':['Popout','popoutBottom'],'popoutbottomleft':['Popout','popoutBottomLeft'],'popoutbottomright':['Popout','popoutBottomRight'],'popoutinvert':['Popout','popoutInvert'],'popoutleft':['Popout','popoutLeft'],'popoutnoarrow':['Popout','noArrow'],'popoutnoshadow':['Popout','noShadow'],'popoutright':['Popout','popoutRight'],'popouts':['Popout','popouts'],'popoutthemedpopout':['BDFDB','themedPopout'],'popouttop':['Popout','popoutTop'],'popouttopleft':['Popout','popoutTopLeft'],'popouttopright':['Popout','popoutTopRight'],'popoutwrapper':['BDFDB','popoutWrapper'],'quickmessage':['QuickMessage','input'],'quickselect':['QuickSelect','quickSelect'],'quickselectarrow':['QuickSelect','quickSelectArrow'],'quickselectclick':['QuickSelect','quickSelectClick'],'quickselectlabel':['QuickSelect','quickSelectLabel'],'quickselectvalue':['QuickSelect','quickSelectValue'],'quickselectwrapper':['BDFDB','quickSelectWrapper'],'quickswitcher':['QuickSwitchWrap','quickswitcher'],'quickswitchresult':['QuickSwitch','result'],'quickswitchresultfocused':['QuickSwitch','resultFocused'],'quickswitchresultguildicon':['QuickSwitch','guildIcon'],'quickswitchresulticon':['QuickSwitch','icon'],'quickswitchresulticoncontainer':['QuickSwitch','iconContainer'],'quickswitchresultmatch':['QuickSwitch','match'],'quickswitchresultmisccontainer':['QuickSwitchWrap','miscContainer'],'quickswitchresultname':['QuickSwitch','name'],'quickswitchresultnote':['QuickSwitch','note'],'quickswitchresultusername':['QuickSwitch','username'],'recentmentionschannelname':['RecentMentionsHeader','channelName'],'recentmentionsclosebutton':['RecentMentions','closeButton'],'recentmentionsdmicon':['RecentMentionsHeader','dmIcon'],'recentmentionsguildicon':['RecentMentionsHeader','guildIcon'],'recentmentionsguildname':['RecentMentionsHeader','guildName'],'recentmentionsjumpbutton':['RecentMentions','jumpButton'],'recentmentionspopout':['RecentMentions','recentMentionsPopout'],'scrollbar':['Scrollbar','scrollbar'],'scrollbardefault':['Scrollbar','scrollbarDefault'],'scrollbarghost':['Scrollbar','scrollbarGhost'],'scrollbarghosthairline':['Scrollbar','scrollbarGhostHairline'],'scroller':['ScrollerOld','scroller'],'scrollerbase':['Scroller','scrollerBase'],'scrollerbaseauto':['Scroller','auto'],'scrollerbasefade':['Scroller','fade'],'scrollerbaselistcontent':['Scroller','listContent'],'scrollerbasenone':['Scroller','none'],'scrollerbasescrolling':['Scroller','scrolling'],'scrollerbasethin':['Scroller','thin'],'scrollerfade':['ScrollerOld','scrollerFade'],'scrollersystempad':['ScrollerOld','systemPad'],'scrollerthemed':['ScrollerOld','scrollerThemed'],'scrollerthemedwithtrack':['ScrollerOld','themedWithTrack'],'scrollerthemeghost':['ScrollerOld','themeGhost'],'scrollerthemeghosthairline':['ScrollerOld','themeGhostHairline'],'scrollerthemeghosthairlinechannels':['ScrollerOld','themeGhostHairlineChannels'],'scrollerwrap':['ScrollerOld','scrollerWrap'],'searchbar':['SearchBar','container'],'searchbarclear':['SearchBar','clear'],'searchbarclose':['SearchBar','close'],'searchbaricon':['SearchBar','icon'],'searchbariconlayout':['SearchBar','iconLayout'],'searchbariconwrap':['SearchBar','iconContainer'],'searchbarinner':['SearchBar','inner'],'searchbarinput':['SearchBar','input'],'searchbarlarge':['SearchBar','large'],'searchbarmedium':['SearchBar','medium'],'searchbarsmall':['SearchBar','small'],'searchbartag':['SearchBar','tag'],'searchbarvisible':['SearchBar','visible'],'searchpopout':['SearchPopoutWrap','container'],'searchpopoutanswer':['SearchPopout','answer'],'searchpopoutdatepicker':['SearchPopout','datePicker'],'searchpopoutdatepickerhint':['SearchPopout','datePickerHint'],'searchpopoutdmaddpopout':['DmAddPopout','popout'],'searchpopoutddmadddiscordtag':['DmAddPopoutItems','discordTag'],'searchpopoutddmaddfriend':['DmAddPopoutItems','friend'],'searchpopoutddmaddfriendwrapper':['DmAddPopoutItems','friendWrapper'],'searchpopoutddmaddnickname':['DmAddPopoutItems','nickname'],'searchpopoutdisplayavatar':['SearchPopout','displayAvatar'],'searchpopoutdisplayusername':['SearchPopout','displayUsername'],'searchpopoutdisplayednick':['SearchPopout','displayedNick'],'searchpopoutfilter':['SearchPopout','filter'],'searchpopoutheader':['SearchPopout','header'],'searchpopouthint':['SearchPopout','hint'],'searchpopouthintvalue':['SearchPopout','hintValue'],'searchpopoutlinksource':['SearchPopout','linkSource'],'searchpopoutnontext':['SearchPopout','nonText'],'searchpopoutoption':['SearchPopout','option'],'searchpopoutplusicon':['SearchPopout','plusIcon'],'searchpopoutresultchannel':['SearchPopout','resultChannel'],'searchpopoutresultsgroup':['SearchPopout','resultsGroup'],'searchpopoutsearchclearhistory':['SearchPopout','searchClearHistory'],'searchpopoutsearchlearnmore':['SearchPopout','searchLearnMore'],'searchpopoutsearchoption':['SearchPopout','searchOption'],'searchpopoutsearchresultchannelcategory':['SearchPopout','searchResultChannelCategory'],'searchpopoutsearchresultchannelicon':['SearchPopout','searchResultChannelIcon'],'searchpopoutsearchresultchanneliconbackground':['SearchPopout','searchResultChannelIconBackground'],'searchpopoutselected':['SearchPopout','selected'],'searchpopoutuser':['SearchPopout','user'],'searchresultsafter':['SearchResultsMessage','after'],'searchresultsalt':['SearchResults','alt'],'searchresultsbefore':['SearchResultsMessage','before'],'searchresultschannelname':['SearchResultsElements','channelName'],'searchresultschannelSeparator':['SearchResultsElements','channelSeparator'],'searchresultsexpanded':['SearchResultsMessage','expanded'],'searchresultsgroupcozy':['SearchResultsMessage','messageGroupCozy'],'searchresultshit':['SearchResultsMessage','hit'],'searchresultspagination':['SearchResultsPagination','pagination'],'searchresultspaginationbutton':['SearchResultsPagination','paginationButton'],'searchresultspaginationdisabled':['SearchResultsPagination','disabled'],'searchresultspaginationicon':['SearchResultsPagination','icon'],'searchresultssibling':['SearchResultsMessage','sibling'],'searchresultswrap':['SearchResults','searchResultsWrap'],'select':['Select','select'],'selectwrapper':['BDFDB','selectWrapper'],'settingsclosebutton':['SettingsCloseButton','closeButton'],'settingsclosebuttoncontainer':['SettingsCloseButton','container'],'settingsguild':['BDFDB','settingsGuild'],'settingsguilddisabled':['BDFDB','settingsGuildDisabled'],'settingsheader':['Item','header'],'settingsitem':['Item','item'],'settingsitemdragged':['ItemRole','dragged'],'settingsitemdlock':['ItemRole','lock'],'settingsitemrole':['ItemRole','role'],'settingsitemroleinner':['ItemRole','roleInner'],'settingsitemselected':['Item','selected'],'settingsitemthemed':['Item','themed'],'settingsPanel':['BDFDB','settingsPanel'],'settingspanelheader':['BDFDB','settingsPanelHeader'],'settingspanelheaderbutton':['BDFDB','settingsPanelHeaderButton'],'settingspanelheadercontrols':['BDFDB','settingsPanelHeaderControls'],'settingspanelinner':['BDFDB','settingsPanelInner'],'settingspanellist':['BDFDB','settingsPanelList'],'settingspaneltitle':['BDFDB','settingsPanelTitle'],'settingsseparator':['Item','separator'],'settingstableheader':['SettingsTable','header'],'settingstableheadername':['SettingsTable','headerName'],'settingstableheaderoption':['SettingsTable','headerOption'],'settingstableheaders':['BDFDB','settingsTableHeaders'],'settingstableheadervertical':['BDFDB','settingsTableHeaderVertical'],'settingstablecard':['BDFDB','settingsTableCard'],'settingstablecardconfigs':['BDFDB','settingsTableCardConfigs'],'settingstablecardlabel':['BDFDB','settingsTableCardLabel'],'settingstablelist':['BDFDB','settingsTableList'],'settingswindowcontentcolumn':['SettingsWindow','contentColumn'],'settingswindowcontentregion':['SettingsWindow','contentRegion'],'settingswindowcontentregionscroller':['SettingsWindow','contentRegionScroller'],'settingswindowsidebarregion':['SettingsWindow','sidebarRegion'],'settingswindowsidebarregionscroller':['SettingsWindow','sidebarRegionScroller'],'settingswindowstandardsidebarview':['SettingsWindow','standardSidebarView'],'settingswindowsubsidebarcontent':['SettingsWindowScroller','content'],'settingswindowsubsidebarscroller':['SettingsWindowScroller','scroller'],'settingswindowtoolscontainer':['SettingsWindow','toolsContainer'],'sidebar':['BDFDB','sidebar'],'sidebarcontent':['BDFDB','sidebarContent'],'sidebarlist':['BDFDB','sidebarList'],'size10':['TextSize','size10'],'size12':['TextSize','size12'],'size14':['TextSize','size14'],'size16':['TextSize','size16'],'size20':['TextSize','size20'],'size24':['TextSize','size24'],'size32':['TextSize','size32'],'slider':['Slider','slider'],'sliderbar':['Slider','bar'],'sliderbarfill':['Slider','barFill'],'sliderbubble':['BDFDB','sliderBubble'],'sliderdisabled':['Slider','disabled'],'slidergrabber':['Slider','grabber'],'sliderinput':['Slider','input'],'slidermark':['Slider','mark'],'slidermarkdash':['Slider','markDash'],'slidermarkdashsimple':['Slider','markDashSimple'],'slidermarkvalue':['Slider','markValue'],'slidermini':['Slider','mini'],'slidertrack':['Slider','track'],'spoilercontainer':['Spoiler','spoilerContainer'],'spoilerembed':['SpoilerEmbed','spoiler'],'spoilerembedhidden':['SpoilerEmbed','hiddenSpoilers'],'spoilerembedinline':['SpoilerEmbed','inline'],'spoilerhidden':['Spoiler','hidden'],'spoilertext':['Spoiler','spoilerText'],'spoilerwarning':['Spoiler','spoilerWarning'],'splashbackground':['NotFound','splashBackground'],'strikethrough':['TextStyle','strikethrough'],'status':['Avatar','status'],'stopanimations':['NotFound','stopAnimations'],'subtext':['NotFound','subtext'],'svgicon':['BDFDB','svgIcon'],'svgiconwrapper':['BDFDB','svgIconWrapper'],'switch':['Switch','switch'],'switchdisabled':['Switch','switchDisabled'],'switchenabled':['Switch','switchEnabled'],'switchinner':['Switch','checkbox'],'switchinnerdisabled':['Switch','checkboxDisabled'],'switchinnerenabled':['Switch','checkboxEnabled'],'switchsize':['Switch','size'],'switchsizedefault':['Switch','sizeDefault'],'switchsizemini':['Switch','sizeMini'],'switchthemeclear':['Switch','themeClear'],'switchthemedefault':['Switch','themeDefault'],'switchvalue':['Switch','value'],'switchvaluechecked':['Switch','valueChecked'],'switchvalueunchecked':['Switch','valueUnchecked'],'tabbar':['UserProfile','tabBar'],'tabbarcontainer':['UserProfile','tabBarContainer'],'tabbarcontainerbottom':['BDFDB','tabBarContainerBottom'],'tabbaritem':['UserProfile','tabBarItem'],'tabbartop':['Item','top'],'table':['BDFDB','table'],'tablebodycell':['BDFDB','tableBodyCell'],'tableheader':['BDFDB','tableHeader'],'tableheadercell':['BDFDB','tableHeaderCellSorted'],'tableheadercellsorted':['BDFDB','tableHeaderCell'],'tableheadersorticon':['BDFDB','tableHeaderSortIcon'],'tablerow':['BDFDB','tableRow'],'tablestickyheader':['BDFDB','tableStickyHeader'],'textarea':['ChannelTextArea','textArea'],'textareaattachbutton':['ChannelTextAreaAttachButton','attachButton'],'textareaattachbuttoninner':['ChannelTextAreaAttachButton','attachButtonInner'],'textareaattachbuttonplus':['ChannelTextAreaAttachButton','attachButtonPlus'],'textareaattachwrapper':['ChannelTextAreaAttachButton','attachWrapper'],'textareabutton':['ChannelTextAreaButton','button'],'textareabuttonactive':['ChannelTextAreaButton','active'],'textareabuttonpulse':['ChannelTextAreaButton','pulseButton'],'textareabuttonwrapper':['ChannelTextAreaButton','buttonWrapper'],'textareacharcounter':['ChannelTextAreaCharCounter','characterCount'],'textareacharcountererror':['ChannelTextAreaCharCounter','error'],'textareadisabled':['ChannelTextArea','textAreaDisabled'],'textareafontsize12padding':['ChannelTextArea','fontSize12Padding'],'textareafontsize14padding':['ChannelTextArea','fontSize14Padding'],'textareafontsize15padding':['ChannelTextArea','fontSize15Padding'],'textareafontsize16padding':['ChannelTextArea','fontSize16Padding'],'textareafontsize18padding':['ChannelTextArea','fontSize18Padding'],'textareafontsize20padding':['ChannelTextArea','fontSize20Padding'],'textareafontsize24padding':['ChannelTextArea','fontSize24Padding'],'textareaicon':['ChannelTextAreaButton','icon'],'textareaiconpulse':['ChannelTextAreaButton','pulseIcon'],'textareainner':['ChannelTextArea','inner'],'textareainnerdisabled':['ChannelTextArea','innerDisabled'],'textareapickerbutton':['ChannelTextArea','button'],'textareapickerbuttoncontainer':['ChannelTextArea','buttonContainer'],'textareapickerbuttons':['ChannelTextArea','buttons'],'textareascrollablecontainer':['ChannelTextArea','scrollableContainer'],'textareaslate':['ChannelTextArea','textAreaSlate'],'textareaslatemarkup':['ChannelTextAreaSlate','slateTextArea'],'textareaslatecontainer':['ChannelTextAreaSlate','slateContainer'],'textareaslateplaceholder':['ChannelTextAreaSlate','placeholder'],'textareauploadinput':['ChannelTextAreaAttachButton','uploadInput'],'textareawebkit':['ChannelTextArea','webkit'],'textareawrapall':['ChannelTextArea','channelTextArea'],'textareawrapchat':['ChatWindow','channelTextArea'],'textareawrapdisabled':['ChannelTextArea','channelTextAreaDisabled'],'textlink':['Notice','textLink'],'textrow':['PopoutActivity','textRow'],'textscroller':['BDFDB','textScroller'],'themedark':['NotFound','themeDark'],'themelight':['NotFound','themeLight'],'themeundefined':['NotFound','themeUndefined'],'tip':['Tip','tip'],'tipblock':['Tip','block'],'tippro':['Tip','pro'],'tipinline':['Tip','inline'],'title':['SettingsItems','title'],'titlebar':['TitleBar','titleBar'],'titlebarmac':['TitleBar','typeMacOS'],'titlebarmacbutton':['TitleBar','macButton'],'titlebarmacbuttonclose':['TitleBar','macButtonClose'],'titlebarmacbuttonmin':['TitleBar','macButtonMinimize'],'titlebarmacbuttonmax':['TitleBar','macButtonMaximize'],'titlebarmacbuttons':['TitleBar','macButtons'],'titlebarmacwithframe':['TitleBar','typeMacOSWithFrame'],'titlebarwinbutton':['TitleBar','winButton'],'titlebarwinbuttonclose':['TitleBar','winButtonClose'],'titlebarwinbuttonminmax':['TitleBar','winButtonMinMax'],'titlebarwindows':['TitleBar','typeWindows'],'titlebarwithframe':['TitleBar','withFrame'],'titlebarwordmark':['TitleBar','wordmark'],'titlebarwordmarkmac':['TitleBar','wordmarkMacOS'],'titlebarwordmarkwindows':['TitleBar','wordmarkWindows'],'titledefault':['SettingsItems','titleDefault'],'titlemini':['SettingsItems','titleMini'],'titlesize10':['UserPopout','size10'],'titlesize12':['UserPopout','size12'],'titlesize14':['UserPopout','size14'],'titlesize16':['UserPopout','size16'],'titlesize18':['Title','size18'],'tooltip':['Tooltip','tooltip'],'tooltipactivityicon':['TooltipGuild','activityIcon'],'tooltipblack':['Tooltip','tooltipBlack'],'tooltipbottom':['Tooltip','tooltipBottom'],'tooltipbrand':['Tooltip','tooltipBrand'],'tooltipcontent':['Tooltip','tooltipContent'],'tooltipcontentallowoverflow':['Tooltip','tooltipContentAllowOverflow'],'tooltipcustom':['BDFDB','tooltipCustom'],'tooltipgreen':['Tooltip','tooltipGreen'],'tooltipgrey':['Tooltip','tooltipGrey'],'tooltipguildnametext':['TooltipGuild','guildNameText'],'tooltipguildnametextlimitedsize':['TooltipGuild','guildNameTextLimitedSize'],'tooltipleft':['Tooltip','tooltipLeft'],'tooltiplistitem':['GuildsItems','listItemTooltip'],'tooltippointer':['Tooltip','tooltipPointer'],'tooltipred':['Tooltip','tooltipRed'],'tooltipright':['Tooltip','tooltipRight'],'tooltiprow':['TooltipGuild','row'],'tooltiprowguildname':['TooltipGuild','rowGuildName'],'tooltiprowicon':['TooltipGuild','rowIcon'],'tooltiptop':['Tooltip','tooltipTop'],'tooltipyellow':['Tooltip','tooltipYellow'],'typing':['Typing','typing'],'typingcooldownwrapper':['Typing','cooldownWrapper'],'typingtext':['Typing','text'],'underline':['TextStyle','underline'],'unreadbar':['UnreadBar','bar'],'unreadbaractive':['UnreadBar','active'],'unreadbarcontainer':['UnreadBar','container'],'unreadbaricon':['UnreadBar','icon'],'unreadbarmention':['UnreadBar','mention'],'unreadbartext':['UnreadBar','text'],'unreadbarunread':['UnreadBar','unread'],'uploadmodal':['UploadModal','uploadModal'],'userinfo':['UserInfo','userInfo'],'userinfoavatar':['UserInfo','avatar'],'userinfodate':['BDFDB','userInfoDate'],'userinfodiscordtag':['UserInfo','discordTag'],'userinfodiscriminator':['UserInfo','discriminator'],'userinfohovered':['UserInfo','hovered'],'userinfosubtext':['UserInfo','subtext'],'userinfotext':['UserInfo','text'],'userinfousername':['UserInfo','username'],'userpopout':['UserPopout','userPopout'],'userpopoutavatarhint':['UserPopout','avatarHint'],'userpopoutavatarhintinner':['UserPopout','avatarHintInner'],'userpopoutavatarwrapper':['UserPopout','avatarWrapper'],'userpopoutavatarwrappernormal':['UserPopout','avatarWrapperNormal'],'userpopoutbody':['UserPopout','body'],'userpopoutbodytitle':['UserPopout','bodyTitle'],'userpopoutcustomstatus':['UserPopout','customStatus'],'userpopoutcustomstatusemoji':['UserPopout','customStatusEmoji'],'userpopoutcustomstatussoloemoji':['UserPopout','customStatusSoloEmoji'],'userpopoutcustomstatustext':['UserPopout','customStatusText'],'userpopoutendbodysection':['UserPopout','endBodySection'],'userpopoutfooter':['UserPopout','footer'],'userpopoutheader':['UserPopout','header'],'userpopoutheaderbottagwithnickname':['UserPopout','headerBotTagWithNickname'],'userpopoutheadernamewrapper':['UserPopout','headerNameWrapper'],'userpopoutheadernickname':['UserPopout','headerName'],'userpopoutheadernormal':['UserPopout','headerNormal'],'userpopoutheaderplaying':['UserPopout','headerPlaying'],'userpopoutheaderspotify':['UserPopout','headerSpotify'],'userpopoutheaderstreaming':['UserPopout','headerStreaming'],'userpopoutheadertag':['UserPopout','headerTag'],'userpopoutheadertagnonickname':['UserPopout','headerTagNoNickname'],'userpopoutheadertagusernamenonickname':['UserPopout','headerTagUsernameNoNickname'],'userpopoutheadertagwithnickname':['UserPopout','headerTagWithNickname'],'userpopoutheadertext':['UserPopout','headerText'],'userpopoutheadertop':['UserPopout','headerTop'],'userpopoutprotip':['UserPopout','protip'],'userpopoutrole':['Role','role'],'userpopoutrolecircle':['Role','roleCircle'],'userpopoutrolelist':['UserPopout','rolesList'],'userpopoutrolename':['Role','roleName'],'userpopoutroles':['Role','root'],'userprofile':['UserProfile','root'],'userprofilebody':['UserProfile','body'],'userprofilebottag':['UserProfile','botTag'],'userprofilecustomstatus':['UserProfile','customStatusText'],'userprofilecustomstatusemoji':['UserProfile','customStatusEmoji'],'userprofileheader':['UserProfile','header'],'userprofileheaderfill':['UserProfile','headerFill'],'userprofileheaderinfo':['UserProfile','headerInfo'],'userprofilelistavatar':['UserProfile','listAvatar'],'userprofilelistguildavatarwithouticon':['UserProfile','guildAvatarWithoutIcon'],'userprofilenametag':['UserProfile','nameTag'],'userprofiletopsectionnormal':['UserProfile','topSectionNormal'],'userprofiletopsectionplaying':['UserProfile','topSectionPlaying'],'userprofiletopsectionspotify':['UserProfile','topSectionSpotify'],'userprofiletopsectionstreaming':['UserProfile','topSectionStreaming'],'userprofiletopsectionxbox':['UserProfile','topSectionXbox'],'userprofileusername':['UserProfile','username'],'username':['NameTag','username'],'usernotepopout':['UserPopout','note'],'usernoteprofile':['UserProfile','note'],'usernotetextarea':['NoteTextarea','textarea'],'vertical':['Flex','vertical'],'voiceavatar':['VoiceChannel','avatar'],'voiceavatarcontainer':['VoiceChannel','avatarContainer'],'voiceavatarlarge':['VoiceChannel','avatarLarge'],'voiceavatarsmall':['VoiceChannel','avatarSmall'],'voiceavatarspeaking':['VoiceChannel','avatarSpeaking'],'voiceclickable':['VoiceChannel','clickable'],'voicecontent':['VoiceChannel','content'],'voicedetails':['VoiceDetails','container'],'voicedetailsactionbuttons':['VoiceDetails','actionButtons'],'voicedetailsbutton':['VoiceDetails','button'],'voicedetailsbuttonactive':['VoiceDetails','buttonActive'],'voicedetailsbuttoncolor':['VoiceDetails','buttonColor'],'voicedetailsbuttonicon':['VoiceDetails','buttonIcon'],'voicedetailschannel':['VoiceDetails','channel'],'voicedetailscustomstatuscontainer':['VoiceDetails','customStatusContainer'],'voicedetailshotspot':['VoiceDetails','hotspot'],'voicedetailsinner':['VoiceDetails','inner'],'voicedetailslabelwrapper':['VoiceDetailsPing','labelWrapper'],'voicedetailsping':['VoiceDetailsPing','ping'],'voicedetailspingforeground':['VoiceDetailsPing','pingForeground'],'voicedetailsqualityaverage':['VoiceDetailsPing','rtcConnectionQualityAverage'],'voicedetailsqualitybad':['VoiceDetailsPing','rtcConnectionQualityBad'],'voicedetailsqualityfine':['VoiceDetailsPing','rtcConnectionQualityFine'],'voicedetailsstatus':['VoiceDetailsPing','rtcConnectionStatus'],'voicedetailsstatusconnected':['VoiceDetailsPing','rtcConnectionStatusConnected'],'voicedetailsstatusconnecting':['VoiceDetailsPing','rtcConnectionStatusConnecting'],'voicedetailsstatuserror':['VoiceDetailsPing','rtcConnectionStatusError'],'voicedetailsstatuswithpopout':['VoiceDetails','statusWithPopout'],'voicedraggable':['NotFound','voiceDraggable'],'voiceflipped':['VoiceChannel','flipped'],'voiceicon':['VoiceChannel','icon'],'voiceicons':['VoiceChannel','icons'],'voiceiconspacing':['VoiceChannel','iconSpacing'],'voicelist':['VoiceChannel','list'],'voicelist2':['VoiceChannelList','list'],'voicelistcollapsed':['VoiceChannel','listCollapse'],'voicelistcollapsed2':['VoiceChannelList','collapsed'],'voicelistdefault':['VoiceChannel','listDefault'],'voiceliveicon':['VoiceChannel','liveIcon'],'voicename':['VoiceChannel','username'],'voicenamefont':['VoiceChannel','usernameFont'],'voicenamespeaking':['VoiceChannel','usernameSpeaking'],'voiceselected':['VoiceChannel','selected'],'voiceuser':['VoiceChannel','voiceUser'],'voiceuserlarge':['VoiceChannel','userLarge'],'voiceusersmall':['VoiceChannel','userSmall'],'webhookcard':['WebhookCard','card'],'webhookcardbody':['WebhookCard','body'],'webhookcardcopybutton':['WebhookCard','copyButton'],'webhookcardheader':['WebhookCard','header'],'wrap':['Flex','wrap'],'wrapreverse':['Flex','wrapReverse']};b['DiscordClasses']=Object['assign']({},u);c['getDiscordClass']=(K,L)=>{let M=t['BDFDB']['BDFDBundefined'];if(u[K]===undefined){b['LogUtils']['warn'](K+'\x20not\x20found\x20in\x20DiscordClasses');return M;}else if(!b['ArrayUtils']['is'](u[K])||u[K]['length']!=0x2){b['LogUtils']['warn'](K+'\x20is\x20not\x20an\x20Array\x20of\x20Length\x202\x20in\x20DiscordClasses');return M;}else if(t[u[K][0x0]]===undefined){b['LogUtils']['warn'](u[K][0x0]+'\x20not\x20found\x20in\x20DiscordClassModules');return M;}else if(t[u[K][0x0]][u[K][0x1]]===undefined){b['LogUtils']['warn'](u[K][0x1]+'\x20not\x20found\x20in\x20'+u[K][0x0]+'\x20in\x20DiscordClassModules');return M;}else{M=t[u[K][0x0]][u[K][0x1]];if(L){M=M['split']('\x20')['filter'](N=>N['indexOf']('da-')!=0x0)['join'](L?'.':'\x20');M=M||t['BDFDB']['BDFDBundefined'];}else{if(b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['normalizedClasses']))M=M['split']('\x20')['filter'](N=>N['indexOf']('da-')!=0x0)['map'](N=>N['replace'](/^([A-z0-9]+?)-([A-z0-9_-]{6})$/g,'$1-$2\x20da-$1'))['join']('\x20');}return b['ArrayUtils']['removeCopies'](M['split']('\x20'))['join']('\x20');}};b['disCN']=new Proxy(u,{'get':function(K,L){return c['getDiscordClass'](L,![])['replace']('#','');}});b['disCNS']=new Proxy(u,{'get':function(K,L){return c['getDiscordClass'](L,![])['replace']('#','')+'\x20';}});b['disCNC']=new Proxy(u,{'get':function(K,L){return c['getDiscordClass'](L,![])['replace']('#','')+',';}});b['dotCN']=new Proxy(u,{'get':function(K,L){let M=c['getDiscordClass'](L,!![]);return(M['indexOf']('#')==0x0?'':'.')+M;}});b['dotCNS']=new Proxy(u,{'get':function(K,L){let M=c['getDiscordClass'](L,!![]);return(M['indexOf']('#')==0x0?'':'.')+M+'\x20';}});b['dotCNC']=new Proxy(u,{'get':function(K,L){let M=c['getDiscordClass'](L,!![]);return(M['indexOf']('#')==0x0?'':'.')+M+',';}});b['notCN']=new Proxy(u,{'get':function(K,L){return':not(.'+c['getDiscordClass'](L,!![])['split']('.')[0x0]+')';}});b['notCNS']=new Proxy(u,{'get':function(K,L){return':not(.'+c['getDiscordClass'](L,!![])['split']('.')[0x0]+')\x20';}});b['notCNC']=new Proxy(u,{'get':function(K,L){return':not(.'+c['getDiscordClass'](L,!![])['split']('.')[0x0]+'),';}});var v=n['LanguageStore']&&n['LanguageStore']['_proxyContext']?Object['assign']({},n['LanguageStore']['_proxyContext']['defaultMessages']):{};b['LanguageUtils']={};b['LanguageUtils']['languages']={'$discord':{'name':'Discord\x20(English))','id':'en','ownlang':'English'},'af':{'name':'Afrikaans','id':'af','ownlang':'Afrikaans'},'sq':{'name':'Albanian','id':'sq','ownlang':'Shqiptar'},'am':{'name':'Amharic','id':'am','ownlang':'አማርኛ'},'ar':{'name':'Arabic','id':'ar','ownlang':'اللغة\x20العربية'},'hy':{'name':'Armenian','id':'hy','ownlang':'Հայերեն'},'az':{'name':'Azerbaijani','id':'az','ownlang':'آذربایجان\x20دیلی'},'ba':{'name':'Bashkir','id':'ba','ownlang':'Башҡорт'},'eu':{'name':'Basque','id':'eu','ownlang':'Euskara'},'be':{'name':'Belarusian','id':'be','ownlang':'Беларуская'},'bn':{'name':'Bengali','id':'bn','ownlang':'বাংলা'},'bs':{'name':'Bosnian','id':'bs','ownlang':'Босански'},'bg':{'name':'Bulgarian','id':'bg','ownlang':'български'},'my':{'name':'Burmese','id':'my','ownlang':'မြန်မာစာ'},'ca':{'name':'Catalan','id':'ca','ownlang':'Català'},'ceb':{'name':'Cebuano','id':'ceb','ownlang':'Bisaya'},'ny':{'name':'Chichewa','id':'ny','ownlang':'Nyanja'},'zh':{'name':'Chinese','id':'zh','ownlang':'中文'},'zh-HK':{'name':'Chinese\x20(Hong\x20Kong)','id':'zh-HK','ownlang':'香港中文'},'zh-CN':{'name':'Chinese\x20(Simplified)','id':'zh-CN','ownlang':'简体中文'},'zh-TW':{'name':'Chinese\x20(Traditional)','id':'zh-TW','ownlang':'繁體中文'},'co':{'name':'Corsican','id':'co','ownlang':'Corsu'},'hr':{'name':'Croatian','id':'hr','ownlang':'Hrvatski'},'cs':{'name':'Czech','id':'cs','ownlang':'Čeština'},'da':{'name':'Danish','id':'da','ownlang':'Dansk'},'nl':{'name':'Dutch','id':'nl','ownlang':'Nederlands'},'en':{'name':'English','id':'en','ownlang':'English'},'en-GB':{'name':'English\x20(UK)','id':'en-GB','ownlang':'English\x20(UK)'},'en-US':{'name':'English\x20(US)','id':'en-US','ownlang':'English\x20(US)'},'eo':{'name':'Esperanto','id':'eo','ownlang':'Esperanto'},'et':{'name':'Estonian','id':'et','ownlang':'Eesti'},'fil':{'name':'Filipino','id':'fil','ownlang':'Wikang\x20Filipino'},'fi':{'name':'Finnish','id':'fi','ownlang':'Suomi'},'fr':{'name':'French','id':'fr','ownlang':'Français'},'fr-CA':{'name':'French\x20(Canadian)','id':'fr-CA','ownlang':'Français\x20Canadien'},'fy':{'name':'Frisian','id':'fy','ownlang':'Frysk'},'gl':{'name':'Galician','id':'gl','ownlang':'Galego'},'ka':{'name':'Georgian','id':'ka','ownlang':'ქართული'},'de':{'name':'German','id':'de','ownlang':'Deutsch'},'de-AT':{'name':'German\x20(Austria)','id':'de-AT','ownlang':'Österreichisch\x20Deutsch'},'de-CH':{'name':'German\x20(Switzerland)','id':'de-CH','ownlang':'Schweizerdeutsch'},'el':{'name':'Greek','id':'el','ownlang':'Ελληνικά'},'gu':{'name':'Gujarati','id':'gu','ownlang':'ગુજરાતી'},'ht':{'name':'Haitian\x20Creole','id':'ht','ownlang':'Kreyòl\x20Ayisyen'},'ha':{'name':'Hausa','id':'ha','ownlang':'حَوْسَ'},'haw':{'name':'Hawaiian','id':'haw','ownlang':'ʻŌlelo\x20Hawaiʻi'},'he':{'name':'Hebrew','id':'he','ownlang':'עברית'},'iw':{'name':'Hebrew\x20(Israel)','id':'iw','ownlang':'עברית'},'hi':{'name':'Hindi','id':'hi','ownlang':'हिन्दी'},'hmn':{'name':'Hmong','id':'hmn','ownlang':'lol\x20Hmongb'},'hu':{'name':'Hungarian','id':'hu','ownlang':'Magyar'},'is':{'name':'Icelandic','id':'is','ownlang':'Íslenska'},'ig':{'name':'Igbo','id':'ig','ownlang':'Asụsụ\x20Igbo'},'id':{'name':'Indonesian','id':'id','ownlang':'Bahasa\x20Indonesia'},'ga':{'name':'Irish','id':'ga','ownlang':'Gaeilge'},'it':{'name':'Italian','id':'it','ownlang':'Italiano'},'ja':{'name':'Japanese','id':'ja','ownlang':'日本語'},'jv':{'name':'Javanese','id':'jv','ownlang':'ꦧꦱꦗꦮ'},'jw':{'name':'Javanese\x20(Javanese)','id':'jw','ownlang':'ꦧꦱꦗꦮ'},'kn':{'name':'Kannada','id':'kn','ownlang':'ಕನ್ನಡ'},'kk':{'name':'Kazakh','id':'kk','ownlang':'Қазақ\x20Tілі'},'km':{'name':'Khmer','id':'km','ownlang':'ភាសាខ្មែរ'},'rw':{'name':'Kinyarwanda','id':'rw','ownlang':'Ikinyarwanda'},'ko':{'name':'Korean','id':'ko','ownlang':'한국어'},'ku':{'name':'Kurdish','id':'ku','ownlang':'کوردی'},'ky':{'name':'Kyrgyz','id':'ky','ownlang':'кыргызча'},'lo':{'name':'Lao','id':'lo','ownlang':'ພາສາລາວ'},'la':{'name':'Latin','id':'la','ownlang':'Latina'},'lv':{'name':'Latvian','id':'lv','ownlang':'Latviešu'},'lt':{'name':'Lithuanian','id':'lt','ownlang':'Lietuvių'},'lb':{'name':'Luxembourgish','id':'lb','ownlang':'Lëtzebuergesch'},'mk':{'name':'Macedonian','id':'mk','ownlang':'Mакедонски'},'mg':{'name':'Malagasy','id':'mg','ownlang':'Malagasy'},'ms':{'name':'Malay','id':'ms','ownlang':'بهاس\x20ملايو'},'ml':{'name':'Malayalam','id':'ml','ownlang':'മലയാളം'},'mt':{'name':'Maltese','id':'mt','ownlang':'Malti'},'mi':{'name':'Maori','id':'mi','ownlang':'te\x20Reo\x20Māori'},'mr':{'name':'Marathi','id':'mr','ownlang':'मराठी'},'mhr':{'name':'Mari','id':'mhr','ownlang':'марий\x20йылме'},'mn':{'name':'Mongolian','id':'mn','ownlang':'Монгол\x20Хэл'},'my':{'name':'Myanmar\x20(Burmese)','id':'my','ownlang':'မြန်မာл\x20Хэл'},'ne':{'name':'Nepali','id':'ne','ownlang':'नेपाली'},'no':{'name':'Norwegian','id':'no','ownlang':'Norsk'},'or':{'name':'Odia','id':'or','ownlang':'ଓଡ଼ିଆ'},'pap':{'name':'Papiamento','id':'pap','ownlang':'Papiamentu'},'ps':{'name':'Pashto','id':'ps','ownlang':'پښتو'},'fa':{'name':'Persian','id':'fa','ownlang':'فارسی'},'pl':{'name':'Polish','id':'pl','ownlang':'Polski'},'pt':{'name':'Portuguese','id':'pt','ownlang':'Português'},'pt-BR':{'name':'Portuguese\x20(Brazil)','id':'pt-BR','ownlang':'Português\x20do\x20Brasil'},'pt-PT':{'name':'Portuguese\x20(Portugal)','id':'pt-PT','ownlang':'Português\x20do\x20Portugal'},'pa':{'name':'Punjabi','id':'pa','ownlang':'पंजाबी'},'ro':{'name':'Romanian','id':'ro','ownlang':'Română'},'ru':{'name':'Russian','id':'ru','ownlang':'Pусский'},'sm':{'name':'Samoan','id':'sm','ownlang':'Gagana\x20Sāmoa'},'gd':{'name':'Scottish\x20Gaelic','id':'gd','ownlang':'Gàidhlig'},'sr':{'name':'Serbian','id':'sr','ownlang':'Српски'},'st':{'name':'Sesotho','id':'st','ownlang':'Sesotho'},'sn':{'name':'Shona','id':'sn','ownlang':'Shona'},'sd':{'name':'Sindhi','id':'sd','ownlang':'سنڌي'},'si':{'name':'Sinhala','id':'si','ownlang':'සිංහල'},'sk':{'name':'Slovak','id':'sk','ownlang':'Slovenčina'},'sl':{'name':'Slovenian','id':'sl','ownlang':'Slovenščina'},'so':{'name':'Somali','id':'so','ownlang':'Soomaali'},'es':{'name':'Spanish','id':'es','ownlang':'Español'},'es-419':{'name':'Spanish\x20(Latin\x20America)','id':'es-419','ownlang':'Español\x20latinoamericano'},'su':{'name':'Sundanese','id':'su','ownlang':'Basa\x20Sunda'},'sw':{'name':'Swahili','id':'sw','ownlang':'Kiswahili'},'sv':{'name':'Swedish','id':'sv','ownlang':'Svenska'},'tl':{'name':'Tagalog','id':'tl','ownlang':'Wikang\x20Tagalog'},'tg':{'name':'Tajik','id':'tg','ownlang':'тоҷикӣ'},'ta':{'name':'Tamil','id':'ta','ownlang':'தமிழ்'},'tt':{'name':'Tatar','id':'tt','ownlang':'татарча'},'te':{'name':'Telugu','id':'te','ownlang':'తెలుగు'},'th':{'name':'Thai','id':'th','ownlang':'ภาษาไทย'},'tr':{'name':'Turkish','id':'tr','ownlang':'Türkçe'},'tk':{'name':'Turkmen','id':'tk','ownlang':'Türkmençe'},'udm':{'name':'Udmurt','id':'udm','ownlang':'удмурт\x20кыл'},'uk':{'name':'Ukrainian','id':'uk','ownlang':'Yкраїнський'},'ur':{'name':'Urdu','id':'ur','ownlang':'اُردُو'},'ug':{'name':'Uyghur','id':'ug','ownlang':'ئۇيغۇر\x20تىلى'},'uz':{'name':'Uzbek','id':'uz','ownlang':'اوزبیک'},'vi':{'name':'Vietnamese','id':'vi','ownlang':'Tiếng\x20Việt\x20Nam'},'cy':{'name':'Welsh','id':'cy','ownlang':'Cymraeg'},'xh':{'name':'Xhosa','id':'xh','ownlang':'Xhosa'},'yi':{'name':'Yiddish','id':'yi','ownlang':'ייִדיש\x20ייִדיש‬'},'yo':{'name':'Yoruba','id':'yo','ownlang':'Èdè\x20Yorùbá'},'zu':{'name':'Zulu','id':'zu','ownlang':'Zulu'}};c['LibraryStrings']={'hr':{'ascending':'Uzlazni','descending':'Silazni','file_navigator_text':'Pregledajte\x20datoteku','first':'Prvi','last':'Zadnji','library_settings':'Postavke\x20biblioteke','order':'Slijed','sort_by':'Poredaj\x20po','toast_plugin_started':'{{var0}}\x20je\x20započeo.','toast_plugin_stopped':'{{var0}}\x20zaustavljen.','toast_plugin_translated':'prijevod\x20na\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20zamijenjen\x20je\x20s\x20{{var2}}\x20{{var3}}.','update_notice_click':'Kliknite\x20za\x20ažuriranje!','update_notice_reload':'Za\x20završetak\x20ažuriranja\x20potrebno\x20je\x20ponovo\x20učitati.','update_notice_update':'Sljedeće\x20dodatke\x20treba\x20ažurirati:'},'da':{'ascending':'Stigende','descending':'Aftagende','file_navigator_text':'Gennemse\x20fil','first':'Første','last':'Sidste','library_settings':'Biblioteksindstillinger','order':'Sekvens','sort_by':'Sorter\x20efter','toast_plugin_started':'{{var0}}\x20er\x20startet.','toast_plugin_stopped':'{{var0}}\x20er\x20stoppet.','toast_plugin_translated':'oversat\x20til\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20blev\x20erstattet\x20af\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klik\x20for\x20at\x20opdatere!','update_notice_reload':'For\x20at\x20afslutte\x20opdateringen\x20skal\x20du\x20genindlæse.','update_notice_update':'Følgende\x20plugins\x20skal\x20opdateres:'},'de':{'ascending':'Aufsteigend','descending':'Absteigend','file_navigator_text':'Datei\x20durchsuchen','first':'Erste','last':'Letzte','library_settings':'Bibliothekseinstellungen','order':'Reihenfolge','sort_by':'Sortieren\x20nach','toast_plugin_started':'{{var0}}\x20wurde\x20gestartet.','toast_plugin_stopped':'{{var0}}\x20wurde\x20gestoppt.','toast_plugin_translated':'auf\x20{{var0}}\x20übersetzt.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20wurde\x20durch\x20{{var2}}\x20{{var3}}\x20ersetzt.','update_notice_click':'Zum\x20Aktualisieren\x20klicken!','update_notice_reload':'Lade\x20neu,\x20die\x20Aktualisierung\x20abzuschließen.','update_notice_update':'Die\x20folgenden\x20Plugins\x20müssen\x20aktualisiert\x20werden:'},'es':{'ascending':'Ascendente','descending':'Descendente','file_navigator_text':'Buscar\x20archivo','first':'Primero','last':'Último','library_settings':'Configuraciones\x20de\x20biblioteca','order':'Secuencia','sort_by':'Ordenar\x20por','toast_plugin_started':'{{var0}}\x20se\x20guilddiv\x20iniciado.','toast_plugin_stopped':'{{var0}}\x20se\x20guilddiv\x20detenido.','toast_plugin_translated':'traducido\x20a\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20ha\x20sido\x20reemplazado\x20por\x20{{var2}}\x20{{var3}}.','update_notice_click':'Haga\x20clic\x20para\x20actualizar!','update_notice_reload':'Para\x20finalizar\x20la\x20actualización,\x20debe\x20volver\x20a\x20cargar.','update_notice_update':'Los\x20siguientes\x20complementos\x20deben\x20actualizarse:'},'fr':{'ascending':'Ascendant','descending':'Descendant','file_navigator_text':'Parcourir\x20le\x20fichier','first':'Première','last':'Dernier','library_settings':'Paramètres\x20de\x20la\x20bibliothèque','order':'Séquence','sort_by':'Trier\x20par','toast_plugin_started':'{{var0}}\x20a\x20été\x20démarré.','toast_plugin_stopped':'{{var0}}\x20a\x20été\x20arrêté.','toast_plugin_translated':'traduit\x20en\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20a\x20été\x20remplacé\x20par\x20{{var2}}\x20{{var3}}.','update_notice_click':'Cliquez\x20pour\x20mettre\x20à\x20jour!','update_notice_reload':'Pour\x20terminer\x20la\x20mise\x20à\x20jour,\x20vous\x20devez\x20recharger.','update_notice_update':'Les\x20plugins\x20suivants\x20doivent\x20être\x20mis\x20à\x20jour:'},'it':{'ascending':'Ascendente','descending':'Discendente','file_navigator_text':'Sfoglia\x20file','first':'Primo','last':'Ultimo','library_settings':'Impostazioni\x20della\x20libreria','order':'Sequenza','sort_by':'Ordina\x20per','toast_plugin_started':'{{var0}}\x20è\x20stato\x20avviato.','toast_plugin_stopped':'{{var0}}\x20è\x20stato\x20interrotto.','toast_plugin_translated':'tradotto\x20in\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20è\x20stato\x20sostituito\x20da\x20{{var2}}\x20{{var3}}.','update_notice_click':'Clicca\x20per\x20aggiornare!','update_notice_reload':'Per\x20terminare\x20l\x27aggiornamento\x20è\x20necessario\x20ricaricare.','update_notice_update':'I\x20seguenti\x20plugin\x20devono\x20essere\x20aggiornati:'},'nl':{'ascending':'Oplopend','descending':'Aflopend','file_navigator_text':'Bestand\x20zoeken','first':'Eerste','last':'Laatste','library_settings':'Bibliotheekinstellingen','order':'Volgorde','sort_by':'Sorteer\x20op','toast_plugin_started':'{{var0}}\x20is\x20gestart.','toast_plugin_stopped':'{{var0}}\x20is\x20gestopt.','toast_plugin_translated':'vertaald\x20naar\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20is\x20vervangen\x20door\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klik\x20om\x20te\x20updaten!','update_notice_reload':'Om\x20de\x20update\x20te\x20voltooien,\x20moet\x20u\x20opnieuw\x20laden.','update_notice_update':'De\x20volgende\x20plug-ins\x20moeten\x20worden\x20bijgewerkt:'},'no':{'ascending':'Stigende','descending':'Synkende','file_navigator_text':'Bla\x20gjennom\x20fil','first':'Første','last':'Siste','library_settings':'Bibliotekinnstillinger','order':'Sekvens','sort_by':'Sorter\x20etter','toast_plugin_started':'{{var0}}\x20er\x20startet.','toast_plugin_stopped':'{{var0}}\x20er\x20stoppet.','toast_plugin_translated':'oversatt\x20til\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20er\x20erstattet\x20av\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klikk\x20for\x20å\x20oppdatere!','update_notice_reload':'For\x20å\x20fullføre\x20oppdateringen\x20må\x20du\x20laste\x20inn\x20på\x20nytt.','update_notice_update':'Følgende\x20plugins\x20må\x20oppdateres:'},'pl':{'ascending':'Rosnąco','descending':'Malejąco','file_navigator_text':'Przeglądać\x20plik','first':'Pierwszy','last':'Ostatni','library_settings':'Ustawienia\x20biblioteki','order':'Sekwencja','sort_by':'Sortuj\x20według','toast_plugin_started':'{{var0}}\x20został\x20uruchomiony.','toast_plugin_stopped':'{{var0}}\x20został\x20zatrzymany.','toast_plugin_translated':'przetłumaczono\x20na\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20został\x20zastąpiony\x20przez\x20{{var2}}\x20{{var3}}.','update_notice_click':'Kliknij,\x20aby\x20zaktualizować!','update_notice_reload':'Aby\x20zakończyć\x20aktualizację,\x20musisz\x20ponownie\x20załadować.','update_notice_update':'Należy\x20zaktualizować\x20następujące\x20wtyczki:'},'pt-BR':{'ascending':'Crescente','descending':'Descendente','file_navigator_text':'Procurar\x20arquivo','first':'Primeiro','last':'Último','library_settings':'Configurações\x20da\x20biblioteca','order':'Seqüência','sort_by':'Ordenar\x20por','toast_plugin_started':'{{var0}}\x20foi\x20iniciado.','toast_plugin_stopped':'{{var0}}\x20foi\x20interrompido.','toast_plugin_translated':'traduzido\x20para\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20foi\x20substituído\x20por\x20{{var2}}\x20{{var3}}.','update_notice_click':'Clique\x20para\x20atualizar!','update_notice_reload':'Para\x20concluir\x20a\x20atualização,\x20você\x20precisa\x20recarregar.','update_notice_update':'Os\x20seguintes\x20plugins\x20precisam\x20ser\x20atualizados:'},'fi':{'ascending':'Nouseva','descending':'Laskeva','file_navigator_text':'Selaa\x20tiedostoa','first':'Ensimmäinen','last':'Viimeinen','library_settings':'Kirjastoasetukset','order':'Jakso','sort_by':'Järjestä','toast_plugin_started':'{{var0}}\x20on\x20käynnistetty.','toast_plugin_stopped':'{{var0}}\x20on\x20pysäytetty.','toast_plugin_translated':'käännetty\x20osoitteeseen\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20on\x20korvattu\x20{{var2}}\x20{{var3}}.','update_notice_click':'Napsauta\x20päivittääksesi!','update_notice_reload':'Päivittäminen\x20on\x20suoritettava\x20uudelleen.','update_notice_update':'Seuraavat\x20laajennukset\x20on\x20päivitettävä:'},'sv':{'ascending':'Stigande','descending':'Nedåtgående','file_navigator_text':'Bläddra\x20i\x20fil','first':'Första','last':'Sista','library_settings':'Biblioteksinställningar','order':'Sekvens','sort_by':'Sortera\x20efter','toast_plugin_started':'{{var0}}\x20har\x20startats.','toast_plugin_stopped':'{{var0}}\x20har\x20blivit\x20stoppad.','toast_plugin_translated':'översatt\x20till\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20har\x20ersatts\x20av\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klicka\x20för\x20att\x20uppdatera!','update_notice_reload':'För\x20att\x20avsluta\x20uppdateringen\x20måste\x20du\x20ladda\x20om.','update_notice_update':'Följande\x20plugins\x20måste\x20uppdateras:'},'tr':{'ascending':'Yükselen','descending':'Azalan','file_navigator_text':'Dosyaya\x20gözat','first':'Ilk','last':'Son','library_settings':'Kütüphane\x20Ayarları','order':'Sıra','sort_by':'Göre\x20sırala','toast_plugin_started':'{{var0}}\x20başlatıldı.','toast_plugin_stopped':'{{var0}}\x20durduruldu.','toast_plugin_translated':'{{var0}}\x20olarak\x20çevrildi.','toast_plugin_updated':'{{var0}}\x20{{var1}},\x20{{var2}}\x20{{var3}}\x20ile\x20değiştirildi.','update_notice_click':'Güncellemek\x20için\x20tıklayın!','update_notice_reload':'Güncellemeyi\x20tamamlamak\x20için\x20yeniden\x20yüklemeniz\x20gerekir.','update_notice_update':'Aşağıdaki\x20eklentilerin\x20güncellenmesi\x20gerekir:'},'cs':{'ascending':'Vzestupně','descending':'Klesající','file_navigator_text':'Procházet\x20soubor','first':'První','last':'Poslední','library_settings':'Nastavení\x20knihovny','order':'Sekvence','sort_by':'Seřazeno\x20podle','toast_plugin_started':'{{var0}}\x20byl\x20spuštěn.','toast_plugin_stopped':'{{var0}}\x20byl\x20zastaven.','toast_plugin_translated':'přeložen\x20do\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20byl\x20nahrazen\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klepnutím\x20aktualizujte!','update_notice_reload':'Pro\x20dokončení\x20aktualizace\x20je\x20třeba\x20znovu\x20načíst.','update_notice_update':'Následující\x20doplňky\x20je\x20třeba\x20aktualizovat:'},'bg':{'ascending':'Възходящ','descending':'Низходящ','file_navigator_text':'Прегледайте\x20файла','first':'Първият','last':'Последният','library_settings':'Настройки\x20на\x20библиотеката','order':'Последователност','sort_by':'Сортиране\x20по','toast_plugin_started':'{{var0}}\x20е\x20стартиран.','toast_plugin_stopped':'{{var0}}\x20е\x20спрян.','toast_plugin_translated':'преведена\x20на\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20е\x20заменен\x20с\x20{{var2}}\x20{{var3}}.','update_notice_click':'Кликнете,\x20за\x20да\x20актуализирате!','update_notice_reload':'За\x20да\x20завършите\x20актуализацията,\x20трябва\x20да\x20презаредите.','update_notice_update':'Следните\x20приставки\x20трябва\x20да\x20бъдат\x20актуализирани:'},'ru':{'ascending':'По\x20возрастанию','descending':'По\x20убыванию','file_navigator_text':'Просмотр\x20файла','first':'Первый','last':'Последний','library_settings':'Настройки\x20библиотеки','order':'Последовательность','sort_by':'Сортировать\x20по','toast_plugin_started':'{{var0}}\x20запущен.','toast_plugin_stopped':'{{var0}}\x20остановлен.','toast_plugin_translated':'переведен\x20на\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20был\x20заменен\x20{{var2}}\x20{{var3}}.','update_notice_click':'Нажмите,\x20чтобы\x20обновить!','update_notice_reload':'Для\x20завершения\x20обновления\x20необходимо\x20перезагрузить.','update_notice_update':'Следующие\x20плагины\x20должны\x20быть\x20обновлены:'},'uk':{'ascending':'Зростання','descending':'Спад','file_navigator_text':'Перегляньте\x20файл','first':'Перший','last':'Останній','library_settings':'Налаштування\x20бібліотеки','order':'Послідовність','sort_by':'Сортувати\x20за','toast_plugin_started':'{{var0}}\x20було\x20запущено.','toast_plugin_stopped':'{{var0}}\x20було\x20зупинено.','toast_plugin_translated':'перекладено\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20було\x20замінено\x20на\x20{{var2}}\x20{{var3}}.','update_notice_click':'Натисніть,\x20щоб\x20оновити!','update_notice_reload':'Щоб\x20закінчити\x20оновлення,\x20вам\x20потрібно\x20перезавантажити.','update_notice_update':'Необхідно\x20оновити\x20наступні\x20плагіни:'},'ja':{'ascending':'上昇','descending':'降順','file_navigator_text':'ファイルを参照','first':'最初','last':'最後','library_settings':'ライブラリ設定','order':'ソート順','sort_by':'並び替え','toast_plugin_started':'{{var0}}が開始されました.','toast_plugin_stopped':'{{var0}}が停止しました.','toast_plugin_translated':'は{{var0}}に翻訳されました.','toast_plugin_updated':'{{var0}}\x20{{var1}}は{{var2}}\x20{{var3}}に置き換えられました.','update_notice_click':'クリックして更新!','update_notice_reload':'更新を完了するには、リロードする必要があります.','update_notice_update':'次のプラグインを更新する必要があります:'},'zh-TW':{'ascending':'上升','descending':'降序','file_navigator_text':'瀏覽文件','first':'首先','last':'最後','library_settings':'庫設置','order':'排序','sort_by':'排序方式','toast_plugin_started':'{{var0}}已經啟動.','toast_plugin_stopped':'{{var0}}已停止.','toast_plugin_translated':'翻譯為{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}已由{{var2}}\x20{{var3}}取代.','update_notice_click':'點擊更新!','update_notice_reload':'要完成更新,您需要重新加載.','update_notice_update':'以下插件需要更新:'},'ko':{'ascending':'오름차순','descending':'내림차순','file_navigator_text':'파일\x20찾아보기','first':'첫번째','last':'마지막','library_settings':'라이브러리\x20설정','order':'정렬\x20순서','sort_by':'정렬\x20기준','toast_plugin_started':'{{var0}}\x20시작되었습니다.','toast_plugin_stopped':'{{var0}}\x20중지되었습니다.','toast_plugin_translated':'{{var0}}\x20로\x20번역되었습니다.','toast_plugin_updated':'{{var0}}\x20{{var1}}이\x20(가)\x20{{var2}}\x20{{var3}}\x20(으)로\x20대체되었습니다.','update_notice_click':'업데이트하려면\x20클릭하십시오!','update_notice_reload':'업데이트를\x20마치려면\x20다시로드해야합니다.','update_notice_update':'다음\x20플러그인을\x20업데이트해야합니다:'},'default':{'ascending':'Ascending','descending':'Descending','file_navigator_text':'Browse\x20File','first':'First','last':'Last','library_settings':'Library\x20Settings','order':'Order','sort_by':'Sort\x20by','toast_plugin_started':'{{var0}}\x20has\x20been\x20started.','toast_plugin_stopped':'{{var0}}\x20has\x20been\x20stopped.','toast_plugin_translated':'translated\x20to\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20has\x20been\x20replaced\x20by\x20{{var2}}\x20{{var3}}.','update_notice_click':'Click\x20to\x20update!','update_notice_reload':'To\x20finish\x20updating\x20you\x20need\x20to\x20reload.','update_notice_update':'The\x20following\x20plugins\x20need\x20to\x20be\x20updated:'}};b['LanguageUtils']['getLanguage']=function(){let K=n['LanguageStore']['chosenLocale']||'en';if(K=='en-GB'||K=='en-US')K='en';let L=K['split']('-');let M=L[0x0];let N=L[0x1]||'';K=N&&M['toUpperCase']()!==N['toUpperCase']()?M+'-'+N:M;return b['LanguageUtils']['languages'][K]||b['LanguageUtils']['languages'][M]||b['LanguageUtils']['languages']['en'];};b['LanguageUtils']['LanguageStrings']=new Proxy(v,{'get':function(K,L){let M=n['LanguageStore']['Messages'][L];if(!M)b['LogUtils']['warn'](L+'\x20not\x20found\x20in\x20BDFDB.LanguageUtils.LanguageStrings');else{if(M&&typeof M=='object'&&typeof M['format']=='function')return b['LanguageUtils']['LanguageStringsFormat'](L);else return M;}return'';}});b['LanguageUtils']['LanguageStringsCheck']=new Proxy(v,{'get':function(K,L){return!!n['LanguageStore']['Messages'][L];}});let w=K=>{let L='';if(typeof K=='string')L+=K;else if(b['ObjectUtils']['is'](K)){if(K['props'])L+=w(K['props']);else if(K['type']){let M=K['content']||K['children']&&K['children'][0x0]&&K['children'][0x0]['toString']()||'';if(M){if(K['type']=='text'||K['content'])L=w(M);else L+='<'+K['type']+'>'+w(M)+'';}}}else if(b['ArrayUtils']['is'](K))for(let N of K)L+=w(N);return L;};b['LanguageUtils']['LanguageStringsFormat']=function(K,...L){if(K){let M=n['LanguageStore']['Messages'][K];if(M&&typeof M=='object'&&typeof M['format']=='function'){let N=0x0,O,P={};while(!O&&N<0xa){N++;try{O=M['format'](P,![]);}catch(Q){O=null;let R=L['shift']();P[Q['toString']()['split']('for:\x20')[0x1]]=R!=null?R===0x0?'0':R:'undefined';}}if(O)return w(O);else{b['LogUtils']['warn'](K+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageUtils.LanguageStrings');return'';}}else return b['LanguageUtils']['LanguageStrings'][K];}else b['LogUtils']['warn'](K+'\x20enter\x20a\x20valid\x20key\x20to\x20format\x20the\x20string\x20in\x20BDFDB.LanguageUtils.LanguageStrings');return'';};b['LanguageUtils']['LibraryStrings']=new Proxy(c['LibraryStrings']['default'],{'get':function(K,L){let M=b['LanguageUtils']['getLanguage']()['id'];if(c['LibraryStrings'][M]&&c['LibraryStrings'][M][L])return c['LibraryStrings'][M][L];else if(c['LibraryStrings']['default'][L])return c['LibraryStrings']['default'][L];else b['LogUtils']['warn'](L+'\x20not\x20found\x20in\x20BDFDB.LanguageUtils.LibraryStrings');return'';}});b['LanguageUtils']['LibraryStringsCheck']=new Proxy(v,{'get':function(K,L){return!!c['LibraryStrings']['default'][L];}});b['LanguageUtils']['LibraryStringsFormat']=function(K,...L){if(K&&L['length']){let M=b['LanguageUtils']['getLanguage']()['id'],N=null;if(c['LibraryStrings'][M]&&c['LibraryStrings'][M][K])N=c['LibraryStrings'][M][K];else if(c['LibraryStrings']['default'][K])N=c['LibraryStrings']['default'][K];if(N){for(let O=0x0;O{if(n['LanguageStore']['chosenLocale']){b['TimeUtils']['clear'](K);let L=b['LanguageUtils']['getLanguage']();b['LanguageUtils']['languages']['$discord']['name']='Discord\x20('+L['name']+')';b['LanguageUtils']['languages']['$discord']['id']=L['id'];b['LanguageUtils']['languages']['$discord']['google']=L['google'];b['LanguageUtils']['languages']['$discord']['ownlang']=L['ownlang'];}},0x64);var x={'NativeSubComponents':{},'LibraryComponents':{}},y=n['React']&&n['React']['Component'];x['ErrorBoundary']=y&&class BDFDB_ErrorBoundary extends n['React']['PureComponent']{constructor(K){super(K);this['state']={'hasError':![]};}static['getDerivedStateFromError'](K){return{'hasError':!![]};}['componentDidCatch'](K,L){b['LogUtils']['error']('Could\x20not\x20create\x20react\x20element!\x20'+K);}['render'](){if(this['state']['hasError'])return n['React']['createElement']('span',{'style':{'background':b['DiscordConstants']&&b['DiscordConstants']['Colors']&&b['DiscordConstants']['Colors']['PRIMARY_DARK'],'borderRadius':0x5,'color':b['DiscordConstants']&&b['DiscordConstants']['Colors']&&b['DiscordConstants']['Colors']['STATUS_RED'],'fontSize':0xc,'fontWeight':0x258,'padding':0x6,'textAlign':'center','verticalAlign':'center'},'children':'React\x20Component\x20Error'});return this['props']['children'];}};x['NativeSubComponents']['Button']=b['ModuleUtils']['findByProperties']('Colors','Hovers','Looks');x['NativeSubComponents']['Checkbox']=b['ModuleUtils']['findByName']('Checkbox');x['NativeSubComponents']['Clickable']=b['ModuleUtils']['findByName']('Clickable');x['NativeSubComponents']['FavButton']=b['ModuleUtils']['findByName']('GIFFavButton');x['NativeSubComponents']['KeybindRecorder']=b['ModuleUtils']['findByName']('KeybindRecorder');x['NativeSubComponents']['MenuCheckboxItem']=b['ModuleUtils']['findByName']('MenuCheckboxItem');x['NativeSubComponents']['MenuControlItem']=b['ModuleUtils']['findByName']('MenuControlItem');x['NativeSubComponents']['MenuItem']=b['ModuleUtils']['findByName']('MenuItem');x['NativeSubComponents']['PopoutContainer']=b['ModuleUtils']['findByName']('Popout');x['NativeSubComponents']['QuickSelect']=b['ModuleUtils']['findByName']('QuickSelectWrapper');x['NativeSubComponents']['RadioGroup']=b['ModuleUtils']['findByName']('RadioGroup');x['NativeSubComponents']['SearchBar']=b['ModuleUtils']['find'](K=>K&&K['displayName']=='SearchBar'&&K['prototype']['focus']);x['NativeSubComponents']['Select']=b['ModuleUtils']['findByName']('SelectTempWrapper');x['NativeSubComponents']['Slider']=b['ModuleUtils']['findByName']('Slider');x['NativeSubComponents']['Switch']=b['ModuleUtils']['findByName']('Switch');x['NativeSubComponents']['TabBar']=b['ModuleUtils']['findByName']('TabBar');x['NativeSubComponents']['Table']=b['ModuleUtils']['findByName']('Table');x['NativeSubComponents']['TextArea']=b['ModuleUtils']['findByName']('TextArea');x['NativeSubComponents']['TextInput']=b['ModuleUtils']['findByName']('TextInput');x['NativeSubComponents']['TooltipContainer']=b['ModuleUtils']['findByName']('Tooltip');x['LibraryComponents']['AddonCard']=c['loadPatchedComp']('AddonCard')||y&&class BDFDB_AddonCard extends n['React']['Component']{['render'](){return!b['ObjectUtils']['is'](this['props']['data'])?null:b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['_repoentry'],this['props']['className'],b['disCN']['_repocard'],b['disCN']['_reposettingsclosed'],b['disCN']['_repocheckboxitem']),'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['_repoheader'],'style':{'overflow':'visible'},'children':[b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repoheadertitle'],'children':[b['ReactUtils']['createElement']('span',{'className':b['disCN']['_reponame'],'children':this['props']['data']['name']}),'\x20v',b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repoversion'],'children':this['props']['data']['version']}),'\x20by\x20',b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repoauthor'],'children':this['props']['data']['author']})]}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['_repocontrols'],'children':this['props']['controls']})]}),b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerVertical'],{'outerClassName':b['disCN']['_repodescriptionwrap'],'className':b['disCN']['_repodescription'],'children':this['props']['data']['description']}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['_repofooter'],'children':[b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repolinks'],'children':[]['concat'](this['props']['links'])['map']((K,L)=>b['ObjectUtils']['is'](K)&&[L>0x0&&'\x20|\x20',b['ReactUtils']['createElement']('a',{'className':b['DOMUtils']['formatClassName'](b['disCN']['_repolink'],typeof K['label']=='string'&&b['disCN']['_repolink']+'-'+K['label']['toLowerCase']()['replace'](/\s/g,'')),'href':K['href'],'children':K['label']})])['flat'](0xa)['filter'](K=>K)}),this['props']['buttons']]['flat'](0xa)['filter'](K=>K)})]});}};x['LibraryComponents']['Anchor']=b['ModuleUtils']['findByName']('Anchor');x['LibraryComponents']['Animations']=Object['assign']({},b['ModuleUtils']['findByProperties']('Controller','Spring'));x['LibraryComponents']['AutocompleteItems']=b['ModuleUtils']['findByProperties']('Generic','User','Command');x['LibraryComponents']['AutocompleteMenu']=b['ModuleUtils']['findByName']('Autocomplete');let z=b['ModuleUtils']['findByProperties']('AnimatedAvatar')||{};x['LibraryComponents']['Avatar']=z['default'];x['LibraryComponents']['AvatarComponents']=z;x['LibraryComponents']['BadgeAnimationContainer']=c['loadPatchedComp']('BadgeAnimationContainer')||y&&class BDFDB_BadgeAnimationContainer extends n['React']['Component']{['componentDidMount'](){b['ReactUtils']['forceUpdate'](this);}['componentWillAppear'](K){if(typeof K=='function')K();}['componentWillEnter'](K){if(typeof K=='function')K();}['componentWillLeave'](K){if(typeof K=='function')this['timeoutId']=setTimeout(K,0x12c);}['componentWillUnmount'](){clearTimeout(this['timeoutId']);}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Animations']['animated']['div'],{'className':this['props']['className'],'style':this['props']['animatedStyle'],'children':this['props']['children']});}};x['LibraryComponents']['Badges']=Object['assign']({},b['ModuleUtils']['findByProperties']('IconBadge','NumberBadge'));x['LibraryComponents']['Badges']['IconBadge']=c['loadPatchedComp']('Badges.IconBadge')||y&&class BDFDB_IconBadge extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['badgeiconbadge'],this['props']['className']),'style':Object['assign']({'backgroundColor':this['props']['disableColor']?null:this['props']['color']||b['DiscordConstants']['Colors']['STATUS_RED']},this['props']['style']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['badgeicon'],'name':this['props']['icon']})});}};x['LibraryComponents']['BotTag']=c['loadPatchedComp']('BotTag')||y&&class BDFDB_BotTag extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['render'](){return b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['invertColor']?b['disCN']['bottaginvert']:b['disCN']['bottagregular'],this['props']['useRemSizes']?b['disCN']['bottagrem']:b['disCN']['bottagpx']),'style':this['props']['style'],'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'children':b['ReactUtils']['createElement']('span',{'className':b['disCN']['bottagtext'],'children':this['props']['tag']||b['LanguageUtils']['LanguageStrings']['BOT_TAG_BOT']})});}};x['LibraryComponents']['Button']=c['loadPatchedComp']('Button')||y&&class BDFDB_Button extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['handleMouseDown'](K){if(typeof this['props']['onMouseDown']=='function')this['props']['onMouseDown'](K,this);}['handleMouseUp'](K){if(typeof this['props']['onMouseUp']=='function')this['props']['onMouseUp'](K,this);}['handleMouseEnter'](K){if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['render'](){let K=(this['props']['disabled']||this['props']['submitting'])&&(null!=this['props']['onMouseEnter']||null!=this['props']['onMouseLeave']);let L=b['ObjectUtils']['exclude'](this['props'],'look','color','hover','size','fullWidth','grow','disabled','submitting','type','style','wrapperClassName','className','innerClassName','onClick','onContextMenu','onMouseDown','onMouseUp','onMouseEnter','onMouseLeave','children','rel');let M=b['ReactUtils']['createElement']('button',Object['assign']({},!this['props']['disabled']&&!this['props']['submitting']&&L,{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['button'],this['props']['look']!=null?this['props']['look']:x['LibraryComponents']['Button']['Looks']['FILLED'],this['props']['color']!=null?this['props']['color']:x['LibraryComponents']['Button']['Colors']['BRAND'],this['props']['hover'],this['props']['size']!=null?this['props']['size']:x['LibraryComponents']['Button']['Sizes']['MEDIUM'],K&&this['props']['wrapperClassName'],this['props']['fullWidth']&&b['disCN']['buttonfullwidth'],(this['props']['grow']===undefined||this['props']['grow'])&&b['disCN']['buttongrow'],this['props']['hover']&&this['props']['hover']!==x['LibraryComponents']['Button']['Hovers']['DEFAULT']&&b['disCN']['buttonhashover'],this['props']['submitting']&&b['disCN']['buttonsubmitting']),'onClick':this['props']['disabled']||this['props']['submitting']?N=>{return N['preventDefault']();}:this['handleClick']['bind'](this),'onContextMenu':this['props']['disabled']||this['props']['submitting']?N=>{return N['preventDefault']();}:this['handleContextMenu']['bind'](this),'onMouseUp':!this['props']['disabled']&&this['handleMouseDown']['bind'](this),'onMouseDown':!this['props']['disabled']&&this['handleMouseUp']['bind'](this),'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'type':!this['props']['type']?'button':this['props']['type'],'disabled':this['props']['disabled'],'style':this['props']['style'],'rel':this['props']['rel'],'children':[this['props']['submitting']&&!this['props']['disabled']?b['ReactUtils']['createElement'](x['LibraryComponents']['Spinner'],{'type':x['LibraryComponents']['Spinner']['Type']['PULSING_ELLIPSIS'],'className':b['disCN']['buttonspinner'],'itemClassName':b['disCN']['buttonspinneritem']}):null,b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['buttoncontents'],this['props']['innerClassName']),'children':this['props']['children']})]}));return!K?M:b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](b['disCN']['buttondisabledwrapper'],this['props']['wrapperClassName'],this['props']['size']!=null?this['props']['size']:x['LibraryComponents']['Button']['Sizes']['MEDIUM'],this['props']['fullWidth']&&b['disCN']['buttonfullwidth'],(this['props']['grow']===undefined||this['props']['grow'])&&b['disCN']['buttongrow']),'children':[M,b['ReactUtils']['createElement']('span',{'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'className':b['disCN']['buttondisabledoverlay']})]});}};x['LibraryComponents']['Card']=c['loadPatchedComp']('Card')||y&&class BDFDB_Card extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['hovercardwrapper'],this['props']['backdrop']&&b['disCN']['hovercard'],this['props']['className']),'onMouseEnter':K=>{if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);},'onMouseLeave':K=>{if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);},'onClick':K=>{if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);},'onContextMenu':K=>{if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);},'children':[!this['props']['noRemove']?b['ReactUtils']['createElement'](x['LibraryComponents']['CardRemoveButton'],{'onClick':K=>{if(typeof this['props']['onRemove']=='function')this['props']['onRemove'](K,this);b['ListenerUtils']['stopEvent'](K);}}):null,typeof this['props']['children']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'className':b['disCN']['hovercardinner'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'children':this['props']['children']})}):this['props']['children']]['flat'](0xa)['filter'](K=>K)}),'backdrop','noRemove'));}};c['setDefaultProps'](x['LibraryComponents']['Card'],{'backdrop':!![],'noRemove':![]});x['LibraryComponents']['CardRemoveButton']=b['ModuleUtils']['findByName']('RemoveButton');x['LibraryComponents']['ChannelTextAreaButton']=c['loadPatchedComp']('ChannelTextAreaButton')||y&&class BDFDB_ChannelTextAreaButton extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],{'look':x['LibraryComponents']['Button']['Looks']['BLANK'],'size':x['LibraryComponents']['Button']['Sizes']['NONE'],'aria-label':this['props']['label'],'tabIndex':this['props']['tabIndex'],'className':b['DOMUtils']['formatClassName'](b['disCN']['textareabuttonwrapper'],this['props']['isActive']&&b['disCN']['textareabuttonactive']),'innerClassName':b['DOMUtils']['formatClassName'](b['disCN']['textareabutton'],this['props']['className'],this['props']['pulse']&&b['disCN']['textareaattachbuttonplus']),'onClick':this['props']['onClick'],'onContextMenu':this['props']['onContextMenu'],'onMouseEnter':this['props']['onMouseEnter'],'onMouseLeave':this['props']['onMouseLeave'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':this['props']['iconName'],'iconSVG':this['props']['iconSVG'],'className':b['DOMUtils']['formatClassName'](b['disCN']['textareaicon'],this['props']['iconClassName'],this['props']['pulse']&&b['disCN']['textareaiconpulse']),'nativeClass':this['props']['nativeClass']})});}};c['setDefaultProps'](x['LibraryComponents']['ChannelTextAreaButton'],{'tabIndex':0x0});x['LibraryComponents']['CharCounter']=c['loadPatchedComp']('CharCounter')||y&&class BDFDB_CharCounter extends n['React']['Component']{['getCounterString'](){let K=this['refElement']||{},L='';if(b['DOMUtils']['containsClass'](this['refElement'],b['disCN']['textarea'])){let S=b['ReactUtils']['findOwner'](K,{'name':'ChannelEditorContainer','up':!![]});if(S)L=S['props']['textValue'];else L=K['value']||K['textContent']||'';}else L=K['value']||K['textContent']||'';let M=K['selectionStart']||0x0,N=K['selectionEnd']||0x0,O=N-M,P=b['DOMUtils']['getSelection']();let Q=!O&&!P?0x0:O||P['length'];Q=!Q?0x0:Q>L['length']?N||M?L['length']-(L['length']-N-M):L['length']:Q;let R=[typeof this['props']['renderPrefix']=='function'&&this['props']['renderPrefix'](L['length']),''+L['length']+(!this['props']['max']?'':'/'+this['props']['max'])+(!Q?'':'\x20('+Q+')'),typeof this['props']['renderSuffix']=='function'&&this['props']['renderSuffix'](L['length'])]['filter'](T=>T);if(typeof this['props']['onChange']=='function')this['props']['onChange'](this);return R['length']==0x1?R[0x0]:b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':R});}['updateCounter'](){if(!this['refElement'])return;b['TimeUtils']['clear'](this['updateTimeout']);this['updateTimeout']=b['TimeUtils']['timeout'](this['forceUpdateCounter']['bind'](this),0x64);}['forceUpdateCounter'](){if(!this['refElement'])return;this['props']['children']=this['getCounterString']();b['ReactUtils']['forceUpdate'](this);}['handleSelection'](){if(!this['refElement'])return;let K=N=>{b['TimeUtils']['timeout'](this['forceUpdateCounter']['bind'](this),0xa);};let L=N=>{document['removeEventListener']('mousemove',K);document['removeEventListener']('mouseup',L);if(this['refElement']['selectionEnd']-this['refElement']['selectionStart'])b['TimeUtils']['timeout'](O=>{document['addEventListener']('click',M);});};let M=N=>{b['TimeUtils']['timeout'](this['forceUpdateCounter']['bind'](this),0x64);document['removeEventListener']('mousemove',K);document['removeEventListener']('mouseup',L);document['removeEventListener']('click',M);};document['addEventListener']('mousemove',K);document['addEventListener']('mouseup',L);}['componentDidMount'](){if(this['props']['refClass']){let K=b['ReactUtils']['findDOMNode'](this);if(K&&K['parentElement']){this['refElement']=K['parentElement']['querySelector'](this['props']['refClass']);if(this['refElement']){if(!this['_updateCounter'])this['_updateCounter']=L=>{if(!document['contains'](K))b['ListenerUtils']['multiRemove'](this['refElement'],'keydown\x20click\x20change',this['_updateCounter']);else this['updateCounter']();};if(!this['_handleSelection'])this['_handleSelection']=L=>{if(!document['contains'](K))b['ListenerUtils']['multiRemove'](this['refElement'],'mousedown',this['_handleSelection']);else this['handleSelection']();};b['ListenerUtils']['multiRemove'](this['refElement'],'mousedown',this['_handleSelection']);b['ListenerUtils']['multiAdd'](this['refElement'],'mousedown',this['_handleSelection']);if(this['refElement']['tagName']=='INPUT'||this['refElement']['tagName']=='TEXTAREA'){b['ListenerUtils']['multiRemove'](this['refElement'],'keydown\x20click\x20change',this['_updateCounter']);b['ListenerUtils']['multiAdd'](this['refElement'],'keydown\x20click\x20change',this['_updateCounter']);}else{if(!this['_mutationObserver'])this['_mutationObserver']=new MutationObserver(L=>{if(!document['contains'](K))this['_mutationObserver']['disconnect']();else this['updateCounter']();});else this['_mutationObserver']['disconnect']();this['_mutationObserver']['observe'](this['refElement'],{'childList':!![],'subtree':!![]});}this['updateCounter']();}else b['LogUtils']['warn']('could\x20not\x20find\x20referenceElement\x20for\x20BDFDB_CharCounter');}}else b['LogUtils']['warn']('refClass\x20can\x20not\x20be\x20undefined\x20for\x20BDFDB_CharCounter');}['render'](){let K=this['getCounterString']();b['TimeUtils']['timeout'](L=>{if(K!=this['getCounterString']())b['ReactUtils']['forceUpdate'](this);});return b['ReactUtils']['createElement']('div',b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['charcounter'],this['props']['className']),'children':K}),'parsing','max','refClass','renderPrefix','renderSuffix'));}};x['LibraryComponents']['Checkbox']=c['loadPatchedComp']('Checkbox')||y&&class BDFDB_Checkbox extends n['React']['Component']{['handleChange'](){this['props']['value']=!this['props']['value'];if(typeof this['props']['onChange']=='function')this['props']['onChange'](this['props']['value'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Checkbox'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}));}};x['LibraryComponents']['Clickable']=c['loadPatchedComp']('Clickable')||y&&class BDFDB_Clickable extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['handleMouseDown'](K){if(typeof this['props']['onMouseDown']=='function')this['props']['onMouseDown'](K,this);}['handleMouseUp'](K){if(typeof this['props']['onMouseUp']=='function')this['props']['onMouseUp'](K,this);}['handleMouseEnter'](K){if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Clickable'],Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],(this['props']['className']||'')['toLowerCase']()['indexOf']('disabled')==-0x1&&b['disCN']['cursorpointer']),'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'onMouseUp':this['handleMouseDown']['bind'](this),'onMouseDown':!this['props']['disabled']&&this['handleMouseUp']['bind'](this),'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this)}));}};x['LibraryComponents']['CollapseContainer']=c['loadPatchedComp']('CollapseContainer')||y&&class BDFDB_CollapseContainer extends n['React']['Component']{['render'](){if(!b['ObjectUtils']['is'](this['props']['collapseStates']))this['props']['collapseStates']={};this['props']['collapsed']=this['props']['collapsed']&&(this['props']['collapseStates'][this['props']['title']]||this['props']['collapseStates'][this['props']['title']]==undefined);this['props']['collapseStates'][this['props']['title']]=this['props']['collapsed'];return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['collapsed']&&b['disCN']['collapsecontainercollapsed'],this['props']['mini']?b['disCN']['collapsecontainermini']:b['disCN']['collapsecontainer'],this['props']['className']),'id':this['props']['id'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['collapsecontainerheader'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'onClick':K=>{this['props']['collapsed']=!this['props']['collapsed'];this['props']['collapseStates'][this['props']['title']]=this['props']['collapsed'];if(typeof this['props']['onClick']=='function')this['props']['onClick'](this['props']['collapsed'],this);b['ReactUtils']['forceUpdate'](this);},'children':b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H5'],'className':b['disCN']['collapsecontainertitle'],'children':this['props']['title']})}),!this['props']['collapsed']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['collapsecontainerinner'],'children':this['props']['children']}):null]});}};c['setDefaultProps'](x['LibraryComponents']['CollapseContainer'],{'collapsed':!![],'mini':!![]});x['LibraryComponents']['ColorPicker']=c['loadPatchedComp']('ColorPicker')||y&&class BDFDB_ColorPicker extends n['React']['Component']{constructor(K){super(K);if(!this['state'])this['state']={};this['state']['isGradient']=K['gradient']&&K['color']&&b['ObjectUtils']['is'](K['color']);this['state']['gradientBarEnabled']=this['state']['isGradient'];this['state']['draggingAlphaCursor']=![];this['state']['draggingGradientCursor']=![];this['state']['selectedGradientCursor']=0x0;}['handleColorChange'](K){let L=![];if(K!=null){L=!b['equals'](this['state']['isGradient']?this['props']['color'][this['state']['selectedGradientCursor']]:this['props']['color'],K);if(this['state']['isGradient'])this['props']['color'][this['state']['selectedGradientCursor']]=K;else this['props']['color']=K;}else L=!![];if(L){if(typeof this['props']['onColorChange']=='function')this['props']['onColorChange'](this['props']['color']);b['ReactUtils']['forceUpdate'](this);}}['componentDidMount'](){this['domElementRef']={'current':b['DOMUtils']['getParent'](b['dotCN']['itemlayer'],b['ReactUtils']['findDOMNode'](this))};let K=b['ReactUtils']['findOwner'](this['domElementRef']['current'],{'name':'BDFDB_PopoutContainer','up':!![],'unlimited':!![]});if(K){let L=M=>{if(!this['domElementRef']['current']||!document['contains'](this['domElementRef']['current']))document['removeEventListener']('mousedown',L);else if(!this['domElementRef']['current']['contains'](M['target'])){let N=O=>{if(!this['domElementRef']['current']||!document['contains'](this['domElementRef']['current'])){document['removeEventListener']('mousedown',L);document['removeEventListener']('mouseup',N);}else if(!this['domElementRef']['current']['contains'](O['target'])){document['removeEventListener']('mousedown',L);document['removeEventListener']('mouseup',N);K['handleClick'](O);}};document['addEventListener']('mouseup',N);}};document['addEventListener']('mousedown',L);}}['render'](){if(this['state']['isGradient'])this['props']['color']=Object['assign']({},this['props']['color']);let K=this['props']['alpha']?'HSLA':'HSL';let L=this['props']['alpha']?/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i:/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;let M=b['ColorUtils']['convert'](this['state']['isGradient']?this['props']['color'][this['state']['selectedGradientCursor']]:this['props']['color'],K)||b['ColorUtils']['convert']('#000000FF',K);let N=this['state']['isGradient']?Object['entries'](this['props']['color'],K):[[0x0,M],[0x1,M]];let [O,P,Q]=b['ColorUtils']['convert'](M,'HSLCOMP');let R=b['ColorUtils']['getAlpha'](M);R=R==null?0x1:R;return b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutFocusLock'],{'className':b['disCNS']['colorpickerwrapper']+b['disCN']['colorpicker'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerinner'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturation'],'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationcolor'],'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0,'cursor':'crosshair','backgroundColor':b['ColorUtils']['convert']([O,'100%','100%'],'RGB')},'onClick':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickersaturationcolor'],S['target']));let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x64],S['clientX'])+'%';let V=b['NumberUtils']['mapRange']([T['top'],T['top']+T['height']],[0x64,0x0],S['clientY'])+'%';this['handleColorChange'](b['ColorUtils']['convert']([O,U,V,R],K));},'onMouseDown':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickersaturationcolor'],S['target']));let U=W=>{document['removeEventListener']('mouseup',U);document['removeEventListener']('mousemove',V);};let V=W=>{let X=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x64],W['clientX'])+'%';let Y=b['NumberUtils']['mapRange']([T['top'],T['top']+T['height']],[0x64,0x0],W['clientY'])+'%';this['handleColorChange'](b['ColorUtils']['convert']([O,X,Y,R],K));};document['addEventListener']('mouseup',U);document['addEventListener']('mousemove',V);},'children':[b['ReactUtils']['createElement']('style',{'children':b['dotCN']['colorpickersaturationwhite']+'\x20{background:\x20-webkit-linear-gradient(to\x20right,\x20#fff,\x20rgba(255,255,255,0));background:\x20linear-gradient(to\x20right,\x20#fff,\x20rgba(255,255,255,0));}'+b['dotCN']['colorpickersaturationblack']+'\x20{background:\x20-webkit-linear-gradient(to\x20top,\x20#000,\x20rgba(0,0,0,0));background:\x20linear-gradient(to\x20top,\x20#000,\x20rgba(0,0,0,0));}'}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationwhite'],'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationblack'],'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0}}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationcursor'],'style':{'position':'absolute','cursor':'crosshair','left':P,'top':b['NumberUtils']['mapRange']([0x0,0x64],[0x64,0x0],parseFloat(Q))+'%'},'children':b['ReactUtils']['createElement']('div',{'style':{'width':0x4,'height':0x4,'boxShadow':'rgb(255,\x20255,\x20255)\x200px\x200px\x200px\x201.5px,\x20rgba(0,\x200,\x200,\x200.3)\x200px\x200px\x201px\x201px\x20inset,\x20rgba(0,\x200,\x200,\x200.4)\x200px\x200px\x201px\x202px','borderRadius':'50%','transform':'translate(-2px,\x20-2px)'}})})]})]})}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerhue'],'children':b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerhuehorizontal'],'style':{'padding':'0px\x202px','position':'relative','height':'100%'},'onClick':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickerhuehorizontal'],S['target']));let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x168],S['clientX']);this['handleColorChange'](b['ColorUtils']['convert']([U,P,Q,R],K));},'onMouseDown':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickerhuehorizontal'],S['target']));let U=W=>{document['removeEventListener']('mouseup',U);document['removeEventListener']('mousemove',V);};let V=W=>{let X=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x168],W['clientX']);this['handleColorChange'](b['ColorUtils']['convert']([X,P,Q,R],K));};document['addEventListener']('mouseup',U);document['addEventListener']('mousemove',V);},'children':[b['ReactUtils']['createElement']('style',{'children':b['dotCN']['colorpickerhuehorizontal']+'\x20{background:\x20linear-gradient(to\x20right,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);background:\x20-webkit-linear-gradient(to\x20right,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);}'+b['dotCN']['colorpickerhuevertical']+'\x20{background:\x20linear-gradient(to\x20top,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);background:\x20-webkit-linear-gradient(to\x20top,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);}'}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerhuecursor'],'style':{'position':'absolute','cursor':'ew-resize','left':b['NumberUtils']['mapRange']([0x0,0x168],[0x0,0x64],O)+'%'},'children':b['ReactUtils']['createElement']('div',{'style':{'marginTop':0x1,'width':0x4,'borderRadius':0x1,'height':0x8,'boxShadow':'rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x202px','background':'rgb(255,\x20255,\x20255)','transform':'translateX(-2px)'}})})]})})}),this['props']['alpha']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralpha'],'children':[b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralphacheckered'],'style':{'padding':'0px\x202px','position':'relative','height':'100%'}})}),b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralphahorizontal'],'style':{'padding':'0px\x202px','position':'relative','height':'100%','background':'linear-gradient(to\x20right,\x20'+b['ColorUtils']['setAlpha']([O,P,Q],0x0,'RGBA')+',\x20'+b['ColorUtils']['setAlpha']([O,P,Q],0x1,'RGBA')},'onClick':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickeralphahorizontal'],S['target']));let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x1],S['clientX']);this['handleColorChange'](b['ColorUtils']['setAlpha'](M,U,K));},'onMouseDown':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickeralphahorizontal'],S['target']));let U=W=>{document['removeEventListener']('mouseup',U);document['removeEventListener']('mousemove',V);this['state']['draggingAlphaCursor']=![];b['ReactUtils']['forceUpdate'](this);};let V=W=>{this['state']['draggingAlphaCursor']=!![];let X=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x1],W['clientX']);this['handleColorChange'](b['ColorUtils']['setAlpha'](M,X,K));};document['addEventListener']('mouseup',U);document['addEventListener']('mousemove',V);},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralphacursor'],'style':{'position':'absolute','cursor':'ew-resize','left':R*0x64+'%'},'children':[b['ReactUtils']['createElement']('div',{'style':{'marginTop':0x1,'width':0x4,'borderRadius':0x1,'height':0x8,'boxShadow':'rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x202px','background':'rgb(255,\x20255,\x20255)','transform':'translateX(-2px)'}}),this['state']['draggingAlphaCursor']&&b['ReactUtils']['createElement']('span',{'className':b['disCN']['sliderbubble'],'style':{'opacity':0x1,'visibility':'visible','left':0x2},'children':Math['floor'](R*0x64)+'%'})]['filter'](S=>S)})})})]}),this['state']['gradientBarEnabled']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickergradient'],'children':[b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickergradientcheckered'],'style':{'padding':'0px\x202px','position':'relative','height':'100%'}})}),b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickergradienthorizontal'],'style':{'padding':'0px\x202px','position':'relative','cursor':'copy','height':'100%','background':b['ColorUtils']['createGradient'](N['reduce']((S,T)=>(S[T[0x0]]=T[0x1],S),{}))},'onClick':S=>{let T=b['DOMUtils']['getRects'](S['target']);let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0.01,0.99],S['clientX']);if(Object['keys'](this['props']['color'])['indexOf'](U)==-0x1){this['props']['color'][U]=b['ColorUtils']['convert']('#000000FF',K);this['state']['selectedGradientCursor']=U;this['handleColorChange']();}},'children':N['map'](S=>b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickergradientcursor'],(S[0x0]==0x0||S[0x0]==0x1)&&b['disCNS']['colorpickergradientcursoredge'],this['state']['selectedGradientCursor']==S[0x0]&&b['disCN']['colorpickergradientcursorselected']),'style':{'position':'absolute','cursor':'pointer','left':S[0x0]*0x64+'%'},'onMouseDown':S[0x0]==0x0||S[0x0]==0x1?T=>{}:T=>{T=T['nativeEvent']||T;let U=W=>{if(Math['sqrt']((T['pageX']-W['pageX'])**0x2)>0xa){document['removeEventListener']('mousemove',U);document['removeEventListener']('mouseup',V);this['state']['draggingGradientCursor']=!![];let X=b['DOMUtils']['getParent'](b['dotCN']['colorpickergradientcursor'],T['target']);let Y=b['DOMUtils']['getRects'](X['parentElement']);let Z=a1=>{document['removeEventListener']('mousemove',a0);document['removeEventListener']('mouseup',Z);b['TimeUtils']['timeout'](a2=>{this['state']['draggingGradientCursor']=![];});};let a0=a1=>{let a2=b['NumberUtils']['mapRange']([Y['left'],Y['left']+Y['width']],[0.01,0.99],a1['clientX']);if(Object['keys'](this['props']['color'])['indexOf'](a2)==-0x1){delete this['props']['color'][S[0x0]];S[0x0]=a2;this['props']['color'][a2]=S[0x1];this['state']['selectedGradientCursor']=a2;this['handleColorChange']();}};document['addEventListener']('mousemove',a0);document['addEventListener']('mouseup',Z);}};let V=W=>{document['removeEventListener']('mousemove',U);document['removeEventListener']('mouseup',V);};document['addEventListener']('mousemove',U);document['addEventListener']('mouseup',V);},'onClick':T=>{b['ListenerUtils']['stopEvent'](T);if(!this['state']['draggingGradientCursor']){this['state']['selectedGradientCursor']=S[0x0];b['ReactUtils']['forceUpdate'](this);}},'onContextMenu':S[0x0]==0x0||S[0x0]==0x1?T=>{}:T=>{b['ListenerUtils']['stopEvent'](T);delete this['props']['color'][S[0x0]];this['state']['selectedGradientCursor']=0x0;this['handleColorChange']();},'children':b['ReactUtils']['createElement']('div',{'style':{'background':b['ColorUtils']['convert'](S[0x1],'RGBA')}})}))})})]})]['filter'](S=>S)}),b['ReactUtils']['createElement'](x['LibraryComponents']['TextInput'],{'className':b['disCNS']['colorpickerhexinput']+b['disCN']['margintop8'],'maxLength':this['props']['alpha']?0x9:0x7,'valuePrefix':'#','value':b['ColorUtils']['convert'](M,this['props']['alpha']?'HEXA':'HEX'),'autoFocus':!![],'onChange':S=>{if(L['test'](S))this['handleColorChange'](S);},'inputChildren':this['props']['gradient']&&b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':'Gradient','children':b['ReactUtils']['createElement'](x['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickergradientbutton'],this['state']['gradientBarEnabled']&&b['disCN']['colorpickergradientbuttonenabled']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'nativeClass':!![],'width':0x1c,'height':0x1c,'name':x['LibraryComponents']['SvgIcon']['Names']['GRADIENT']}),'onClick':S=>{this['state']['gradientBarEnabled']=!this['state']['gradientBarEnabled'];if(this['state']['gradientBarEnabled']&&!this['state']['isGradient'])this['props']['color']={0:M,1:M};else if(!this['state']['gradientBarEnabled']&&this['state']['isGradient'])this['props']['color']=M;this['state']['isGradient']=this['props']['color']&&b['ObjectUtils']['is'](this['props']['color']);this['handleColorChange']();}})})}),b['ReactUtils']['createElement']('div',{'className':'move-corners','children':[{'top':0x0,'left':0x0},{'top':0x0,'right':0x0},{'bottom':0x0,'right':0x0},{'bottom':0x0,'left':0x0}]['map'](S=>b['ReactUtils']['createElement']('div',{'className':'move-corner','onMouseDown':T=>{if(!this['domElementRef']['current'])return;let U=b['DOMUtils']['getRects'](this['domElementRef']['current']);let V=U['left'],W=U['top'];let X=T['pageX'],Y=T['pageY'];let Z=a1=>{document['removeEventListener']('mouseup',Z);document['removeEventListener']('mousemove',a0);};let a0=a1=>{V=V-(X-a1['pageX']),W=W-(Y-a1['pageY']);X=a1['pageX'],Y=a1['pageY'];this['domElementRef']['current']['style']['setProperty']('left',V+'px','important');this['domElementRef']['current']['style']['setProperty']('top',W+'px','important');};document['addEventListener']('mouseup',Z);document['addEventListener']('mousemove',a0);},'style':Object['assign']({},S,{'width':0xa,'height':0xa,'cursor':'move','position':'absolute'})}))})]});}};x['LibraryComponents']['ColorSwatches']=c['loadPatchedComp']('ColorSwatches')||y&&class BDFDB_ColorSwatches extends n['React']['Component']{constructor(K){super(K);K['selectedColor']=b['ObjectUtils']['is'](K['color'])?K['color']:b['ColorUtils']['convert'](K['color'],'RGBA');K['colors']=(b['ArrayUtils']['is'](K['colors'])?K['colors']:[null,0x52e91e,0x2ecc71,0x1abc9c,0x3498db,0x3454db,0x861ee9,0x9b59b6,0xe91e63,0xe9411e,0xe74c3c,0xe67e22,0xf1c40f,0xc7cccd,0x708088,0x636363,0xffffff,0x3bad14,0x1f8b4c,0x11806a,0x206694,0x203994,0x6d14ad,0x71368a,0xad1457,0xad2014,0x992d22,0xa84300,0xc27c0e,0x979c9f,0x5d686d,0x2c2c2c])['map'](M=>b['ColorUtils']['convert'](M,'RGBA'));K['colorRows']=K['colors']['length']?[K['colors']['slice'](0x0,parseInt(K['colors']['length']/0x2)),K['colors']['slice'](parseInt(K['colors']['length']/0x2))]:[];K['customColor']=K['selectedColor']!=null?K['colors']['indexOf'](K['selectedColor'])>-0x1?null:K['selectedColor']:null;K['customSelected']=!!K['customColor'];K['pickerConfig']=b['ObjectUtils']['is'](K['pickerConfig'])?K['pickerConfig']:{'gradient':!![],'alpha':!![]};this['state']=K;var L=this;this['ColorSwatch']=class BDFDB_ColorSwatch extends n['React']['Component']{['render'](){let M=!b['ColorUtils']['isBright'](this['props']['color']);let N=b['ReactUtils']['createElement']('button',{'type':'button','className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickerswatch'],this['props']['isSingle']&&b['disCN']['colorpickerswatchsingle'],this['props']['isDisabled']&&b['disCN']['colorpickerswatchdisabled'],this['props']['isSelected']&&b['disCN']['colorpickerswatchselected'],this['props']['isCustom']&&b['disCN']['colorpickerswatchcustom'],this['props']['color']==null&&b['disCN']['colorpickerswatchnocolor']),'number':this['props']['number'],'disabled':this['props']['isDisabled'],'onClick':O=>{if(!this['props']['isSelected']){let P=this['props']['isCustom']&&this['props']['color']==null?'rgba(0,\x200,\x200,\x201)':this['props']['color'];if(typeof L['props']['onColorChange']=='function')L['props']['onColorChange'](b['ColorUtils']['convert'](P,'RGBA'));L['setState']({'selectedColor':P,'customColor':this['props']['isCustom']?P:L['state']['customColor'],'customSelected':this['props']['isCustom']});}},'style':Object['assign']({},this['props']['style'],{'background':b['ObjectUtils']['is'](this['props']['color'])?b['ColorUtils']['createGradient'](this['props']['color']):b['ColorUtils']['convert'](this['props']['color'],'RGBA')}),'children':[this['props']['isCustom']||this['props']['isSingle']?b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['colorpickerswatchdropper'],'foreground':b['disCN']['colorpickerswatchdropperfg'],'name':x['LibraryComponents']['SvgIcon']['Names']['DROPPER'],'width':this['props']['isCustom']?0xe:0xa,'height':this['props']['isCustom']?0xe:0xa,'color':M?b['DiscordConstants']['Colors']['WHITE']:b['DiscordConstants']['Colors']['BLACK']}):null,this['props']['isSelected']&&!this['props']['isSingle']?b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['CHECKMARK'],'width':this['props']['isCustom']?0x20:0x10,'height':this['props']['isCustom']?0x18:0x10,'color':M?b['DiscordConstants']['Colors']['WHITE']:b['DiscordConstants']['Colors']['BLACK']}):null]});if(this['props']['isCustom']||this['props']['isSingle']||this['props']['color']==null)N=b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':this['props']['isCustom']||this['props']['isSingle']?b['LanguageUtils']['LanguageStrings']['CUSTOM_COLOR']:b['LanguageUtils']['LanguageStrings']['DEFAULT'],'tooltipConfig':{'type':this['props']['isSingle']?'top':'bottom'},'children':N});if(this['props']['isCustom']||this['props']['isSingle'])N=b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutContainer'],{'children':N,'wrap':![],'popoutClassName':b['disCNS']['colorpickerwrapper']+b['disCN']['colorpicker'],'animation':x['LibraryComponents']['PopoutContainer']['Animation']['TRANSLATE'],'position':x['LibraryComponents']['PopoutContainer']['Positions']['BOTTOM'],'align':x['LibraryComponents']['PopoutContainer']['Align']['CENTER'],'renderPopout':O=>{return b['ReactUtils']['createElement'](x['LibraryComponents']['ColorPicker'],Object['assign']({'color':this['props']['color'],'onColorChange':P=>{if(typeof L['props']['onColorChange']=='function')L['props']['onColorChange'](b['ColorUtils']['convert'](P,'RGBA'));this['props']['color']=P;L['setState']({'selectedColor':P,'customColor':P,'customSelected':!![]});}},K['pickerConfig']),!![]);}});return N;}};}['renderRow'](K){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['colorpickerrow'],'wrap':x['LibraryComponents']['Flex']['Wrap']['WRAP'],'children':K['map'](L=>{return b['ReactUtils']['createElement'](this['ColorSwatch'],{'color':L,'isCustom':![],'isSelected':!this['state']['customSelected']&&L===this['state']['selectedColor'],'isDisabled':this['state']['disabled']});})});}['render'](){let K=b['ReactUtils']['createElement'](this['ColorSwatch'],{'number':!this['state']['colors']['length']?this['props']['number']!=null?this['props']['number']:0x0:null,'color':this['state']['customColor'],'isSingle':!this['state']['colors']['length'],'isCustom':this['state']['colors']['length'],'isSelected':this['state']['customSelected'],'isDisabled':this['state']['disabled'],'style':{'margin':0x0}});return!this['state']['colors']['length']?K:b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickerswatches'],this['state']['disabled']&&b['disCN']['colorpickerswatchesdisabled']),'number':this['props']['number']!=null?this['props']['number']:0x0,'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'className':b['disCN']['marginreset'],'shrink':0x0,'grow':0x0,'children':K}),b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'className':b['disCN']['flexmarginreset'],'grow':0x1,'children':[this['renderRow'](this['state']['colorRows'][0x0]),this['renderRow'](this['state']['colorRows'][0x1])]})]});}};x['LibraryComponents']['Connectors']=Object['assign']({},b['ModuleUtils']['findByProperties']('Router','Link'));x['LibraryComponents']['DiscordTag']=b['ModuleUtils']['findByName']('DiscordTag');x['LibraryComponents']['Emoji']=b['ModuleUtils']['findByName']('Emoji');x['LibraryComponents']['EmojiButton']=b['ModuleUtils']['findByName']('EmojiButton');x['LibraryComponents']['EmojiPickerButton']=c['loadPatchedComp']('EmojiPickerButton')||y&&class BDFDB_EmojiPickerButton extends n['React']['Component']{['handleEmojiChange'](K){if(K!=null){this['props']['emoji']=K['id']?{'id':K['id'],'name':K['name'],'animated':K['animated']}:{'id':null,'name':K['optionallyDiverseSequence'],'animated':![]};if(typeof this['props']['onSelect']=='function')this['props']['onSelect'](this['props']['emoji'],this);b['ReactUtils']['forceUpdate'](this);}}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutContainer'],{'children':b['ReactUtils']['createElement'](x['LibraryComponents']['EmojiButton'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['emojiinputbutton']),'renderButtonContents':this['props']['emoji']?K=>b['ReactUtils']['createElement'](x['LibraryComponents']['Emoji'],{'className':b['disCN']['emoji'],'emoji':this['props']['emoji']}):null}),'wrap':![],'animation':x['LibraryComponents']['PopoutContainer']['Animation']['NONE'],'position':x['LibraryComponents']['PopoutContainer']['Positions']['TOP'],'align':x['LibraryComponents']['PopoutContainer']['Align']['LEFT'],'renderPopout':K=>{return b['ReactUtils']['createElement'](b['ModuleUtils']['findByString']('allowManagedEmojis','EMOJI_PICKER_TAB_PANEL_ID','diversitySelector'),{'closePopout':K['close'],'onSelectEmoji':this['handleEmojiChange']['bind'](this),'allowManagedEmojis':![]});}});}};x['LibraryComponents']['FavButton']=c['loadPatchedComp']('FavButton')||y&&class BDFDB_FavButton extends n['React']['Component']{['handleClick'](){this['props']['isFavorite']=!this['props']['isFavorite'];if(typeof this['props']['onClick']=='function')this['props']['onClick'](this['props']['isFavorite'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['favbuttoncontainer'],this['props']['className']),'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['FavButton'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'onClick':this['handleClick']['bind'](this)}),'className'))});}};x['LibraryComponents']['FileButton']=c['loadPatchedComp']('FileButton')||y&&class BDFDB_FileButton extends n['React']['Component']{['render'](){let K=this['props']['filter']&&[this['props']['filter']]['flat'](0xa)['filter'](L=>typeof L=='string')||[];return b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'onClick':L=>{L['currentTarget']['querySelector']('input')['click']();},'children':[b['LanguageUtils']['LibraryStrings']['file_navigator_text'],b['ReactUtils']['createElement']('input',{'type':'file','accept':K['length']&&K['join']('/*,')+'/*','style':{'display':'none'},'onChange':L=>{let M=L['currentTarget']['files'][0x0];if(this['refInput']&&M&&(!K['length']||K['some'](N=>M['type']['indexOf'](N)==0x0))){this['refInput']['props']['value']=''+(this['props']['mode']=='url'?'url(\x27':'')+(this['props']['useFilePath']||this['props']['useFilepath']?M['path']:'data:'+M['type']+';base64,'+b['LibraryRequires']['fs']['readFileSync'](M['path'])['toString']('base64'))+(this['props']['mode']?'\x27)':'');b['ReactUtils']['forceUpdate'](this['refInput']);this['refInput']['handleChange'](this['refInput']['props']['value']);}}})]}),'filter','mode','useFilePath','useFilepath'));}};x['LibraryComponents']['Flex']=b['ModuleUtils']['findByProperties']('Wrap','Direction','Child');x['LibraryComponents']['FlowerStarIcon']=b['ModuleUtils']['findByName']('FlowerStarIcon');x['LibraryComponents']['FormComponents']=Object['assign']({},b['ModuleUtils']['findByProperties']('FormSection','FormText'));x['LibraryComponents']['FormComponents']['FormItem']=c['loadPatchedComp']('FormComponents.FormItem')||y&&class BDFDB_FormItem extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':this['props']['className'],'style':this['props']['style'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['BASELINE'],'children':[this['props']['title']!=null||this['props']['error']!=null?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'wrap':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'tag':this['props']['tag']||x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H5'],'disabled':this['props']['disabled'],'required':this['props']['required'],'error':this['props']['error'],'className':this['props']['titleClassName'],'children':this['props']['title']})}):null]['concat']([this['props']['titlechildren']]['flat'](0xa))['filter'](K=>K)})]['concat'](this['props']['children'])});}};x['LibraryComponents']['GuildComponents']={};x['LibraryComponents']['GuildComponents']['Badge']=b['ModuleUtils']['findByName']('GuildBadge');x['LibraryComponents']['GuildComponents']['BlobMask']=b['ModuleUtils']['findByName']('BlobMask');x['LibraryComponents']['GuildComponents']['Guild']=c['loadPatchedComp']('GuildComponents.Guild')||y&&class BDFDB_Guild extends n['React']['Component']{constructor(K){super(K);this['state']={'hovered':![]};}['handleMouseEnter'](K){if(!this['props']['sorting'])this['setState']({'hovered':!![]});if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(!this['props']['sorting'])this['setState']({'hovered':![]});if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['handleMouseDown'](K){if(!this['props']['unavailable']&&this['props']['guild']&&this['props']['selectedChannelId'])n['DirectMessageUtils']['preload'](this['props']['guild']['id'],this['props']['selectedChannelId']);if(K['button']==0x0&&typeof this['props']['onMouseDown']=='function')this['props']['onMouseDown'](K,this);}['handleMouseUp'](K){if(K['button']==0x0&&typeof this['props']['onMouseUp']=='function')this['props']['onMouseUp'](K,this);}['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(this['props']['menu'])b['GuildUtils']['openMenu'](this['props']['guild'],K);if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['setRef'](K){if(typeof this['props']['setRef']=='function')this['props']['setRef'](this['props']['guild']['id'],K);}['componentDidMount'](){let K=b['ReactUtils']['findDOMNode'](this);if(K)for(let L of K['querySelectorAll']('a'))L['setAttribute']('draggable',![]);}['render'](){if(!this['props']['guild'])return null;let K=n['ChannelStore']['getChannel'](n['CurrentVoiceUtils']['getChannelId']());let L=K&&n['VoiceUtils']['hasVideo'](K);this['props']['guildId']=this['props']['guild']['id'];this['props']['selectedChannelId']=n['LastChannelStore']['getChannelId'](this['props']['guild']['id']);this['props']['selected']=this['props']['state']?n['LastGuildStore']['getGuildId']()==this['props']['guild']['id']:![];this['props']['unread']=this['props']['state']?n['UnreadGuildUtils']['hasUnread'](this['props']['guild']['id']):![];this['props']['badge']=this['props']['state']?n['UnreadGuildUtils']['getMentionCount'](this['props']['guild']['id']):0x0;this['props']['audio']=this['props']['state']?K&&K['guild_id']==this['props']['guild']['id']&&!L:![];this['props']['video']=this['props']['state']?K&&K['guild_id']==this['props']['guild']['id']&&L:![];this['props']['screenshare']=this['props']['state']?!!n['StreamUtils']['getAllApplicationStreams']()['filter'](P=>P['guildId']==this['props']['guild']['id'])[0x0]:![];this['props']['isCurrentUserInThisGuildVoice']=this['props']['state']?n['CurrentVoiceUtils']['getGuildId']()==this['props']['guild']['id']:![];this['props']['animatable']=this['props']['state']?n['IconUtils']['hasAnimatedGuildIcon'](this['props']['guild']):![];this['props']['unavailable']=this['props']['state']?n['GuildUnavailableStore']['unavailableGuilds']['includes'](this['props']['guild']['id']):![];let M=this['props']['draggingGuildId']===this['props']['guild']['id'];let N=M?b['ReactUtils']['createElement']('div',{'children':b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['Items']['DragPlaceholder'],{})}):b['ReactUtils']['createElement']('div',{'className':b['disCN']['guildcontainer'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['BlobMask'],{'selected':this['state']['isDropHovering']||this['props']['selected']||this['state']['hovered'],'upperBadge':this['props']['unavailable']?x['LibraryComponents']['GuildComponents']['Items']['renderUnavailableBadge']():x['LibraryComponents']['GuildComponents']['Items']['renderIconBadge'](this['props']['audio'],this['props']['video'],this['props']['screenshare'],this['props']['isCurrentUserInThisGuildVoice']),'lowerBadge':this['props']['badge']>0x0?x['LibraryComponents']['GuildComponents']['Items']['renderMentionBadge'](this['props']['badge']):null,'lowerBadgeWidth':x['LibraryComponents']['Badges']['getBadgeWidthForValue'](this['props']['badge']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['NavItem'],{'to':{'pathname':b['DiscordConstants']['Routes']['CHANNEL'](this['props']['guild']['id'],this['props']['selectedChannelId']),'state':{'analyticsSource':{'page':b['DiscordConstants']['AnalyticsPages']['GUILD_CHANNEL'],'section':b['DiscordConstants']['AnalyticsSections']['CHANNEL_LIST'],'object':b['DiscordConstants']['AnalyticsObjects']['CHANNEL']}}},'name':this['props']['guild']['name'],'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'onMouseDown':this['handleMouseDown']['bind'](this),'onMouseUp':this['handleMouseUp']['bind'](this),'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'icon':this['props']['guild']['getIconURL'](this['state']['hovered']&&this['props']['animatable']?'gif':'jpg'),'selected':this['props']['selected']||this['state']['hovered']})})});if(this['props']['draggable']&&typeof this['props']['connectDragSource']=='function')N=this['props']['connectDragSource'](N);let O=[this['props']['list']||this['props']['pill']?b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['Pill'],{'hovered':!M&&this['state']['hovered'],'selected':!M&&this['props']['selected'],'unread':!M&&this['props']['unread'],'className':b['disCN']['guildpill']}):null,!this['props']['tooltip']?N:b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'tooltipConfig':Object['assign']({'type':'right'},this['props']['tooltipConfig'],{'guild':this['props']['list']&&this['props']['guild']}),'children':N})]['filter'](P=>P);return this['props']['list']?b['ReactUtils']['createElement']('div',{'ref':null!=this['props']['setRef']?this['props']['setRef']:null,'className':b['DOMUtils']['formatClassName'](b['disCN']['guildouter'],b['disCN']['_bdguild'],this['props']['unread']&&b['disCN']['_bdguildunread'],this['props']['selected']&&b['disCN']['_bdguildselected'],this['props']['unread']&&b['disCN']['_bdguildunread'],this['props']['audio']&&b['disCN']['_bdguildaudio'],this['props']['video']&&b['disCN']['_bdguildvideo']),'children':b['ReactUtils']['createElement'](b['ReactUtils']['Fragment'],{'children':O})}):b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['guild'],this['props']['className']),'children':O});}};c['setDefaultProps'](x['LibraryComponents']['GuildComponents']['Guild'],{'menu':!![],'tooltip':!![],'list':![],'state':![],'draggable':![],'sorting':![]});x['LibraryComponents']['GuildComponents']['Icon']=b['ModuleUtils']['findByName']('GuildIconWrapper');x['LibraryComponents']['GuildComponents']['Items']=b['ModuleUtils']['findByProperties']('Separator','DragPlaceholder');x['LibraryComponents']['GuildComponents']['Pill']=b['ModuleUtils']['findByString']('opacity:1,height:','20:8','default.item');x['LibraryComponents']['HeaderBarComponents']=b['ModuleUtils']['findByName']('HeaderBarContainer');x['LibraryComponents']['KeybindRecorder']=c['loadPatchedComp']('KeybindRecorder')||y&&class BDFDB_KeybindRecorder extends n['React']['Component']{['handleChange'](K){if(typeof this['props']['onChange']=='function')this['props']['onChange'](K['map'](L=>n['KeyEvents']['codes'][b['LibraryModules']['KeyCodeUtils']['codeToKey'](L)]||L[0x1]),this);}['handleReset'](){this['props']['defaultValue']=[];let K=b['ReactUtils']['findOwner'](this,{'name':'KeybindRecorder'});if(K)K['setState']({'codes':[]});if(typeof this['props']['onChange']=='function')this['props']['onChange']([],this);if(typeof this['props']['onReset']=='function')this['props']['onReset'](this);}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['hotkeywrapper'],'direction':x['LibraryComponents']['Flex']['Direction']['HORIZONTAL'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[b['ReactUtils']['createElement'](x['NativeSubComponents']['KeybindRecorder'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'defaultValue':[this['props']['defaultValue']]['flat'](0xa)['filter'](K=>K)['map'](K=>[b['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],K,b['DiscordConstants']['KeyboardEnvs']['BROWSER']]),'onChange':this['handleChange']['bind'](this)}),'reset','onReset')),this['props']['reset']||this['props']['onReset']?b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['REMOVE_KEYBIND'],'tooltipConfig':{'type':'top'},'children':b['ReactUtils']['createElement'](x['LibraryComponents']['Clickable'],{'className':b['disCN']['hotkeyresetbutton'],'onClick':this['handleReset']['bind'](this),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'iconSVG':''})})}):null]['filter'](K=>K)});}};x['LibraryComponents']['LazyImage']=b['ModuleUtils']['findByName']('LazyImage');x['LibraryComponents']['ListHeader']=b['ModuleUtils']['findByName']('ListSectionItem');x['LibraryComponents']['ListRow']=c['loadPatchedComp']('ListRow')||y&&class BDFDB_ListRow extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['listrowwrapper'],this['props']['className'],b['disCN']['listrow']),'children':[this['props']['prefix'],b['ReactUtils']['createElement']('div',{'className':b['disCN']['listrowcontent'],'style':{'flex':'1\x201\x20auto'},'children':[b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['listname'],this['props']['labelClassName']),'style':{'flex':'1\x201\x20auto'},'children':this['props']['label']}),typeof this['props']['note']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormText'],{'type':x['LibraryComponents']['FormComponents']['FormText']['Types']['DESCRIPTION'],'children':this['props']['note']}):null]['filter'](K=>K)}),this['props']['suffix']]['filter'](K=>K)});}};x['LibraryComponents']['MemberRole']=c['loadPatchedComp']('MemberRole')||y&&class BDFDB_MemberRole extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['render'](){let K=b['ColorUtils']['convert'](this['props']['role']['colorString']||b['DiscordConstants']['Colors']['PRIMARY_DARK_300'],'RGB');return b['ReactUtils']['createElement']('li',{'className':b['DOMUtils']['formatClassName'](b['disCN']['userpopoutrole'],this['props']['className']),'style':{'borderColor':b['ColorUtils']['setAlpha'](K,0.6)},'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'children':[!this['props']['noCircle']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['userpopoutrolecircle'],'style':{'backgroundColor':K}}):null,b['ReactUtils']['createElement']('div',{'className':b['disCN']['userpopoutrolename'],'children':this['props']['role']['name']})]['filter'](L=>L)});}};x['LibraryComponents']['Menu']=b['ModuleUtils']['findByName']('Menu');x['LibraryComponents']['MenuItems']=Object['assign']({},b['ModuleUtils']['findByProperties']('MenuItem','MenuGroup'));x['LibraryComponents']['MenuItems']['Colors']=(b['ModuleUtils']['findByProperties']('MenuItemColor')||{})['MenuItemColor']||{};x['LibraryComponents']['MenuItems']['MenuCheckboxItem']=c['loadPatchedComp']('MenuItems.MenuCheckboxItem')||y&&class BDFDB_MenuCheckboxItem extends n['React']['Component']{['handleClick'](){if(this['props']['state']){this['props']['state']['checked']=!this['props']['state']['checked'];if(typeof this['props']['action']=='function')this['props']['action'](this['props']['state']['checked'],this);}b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['MenuCheckboxItem'],Object['assign']({},this['props'],{'checked':this['props']['state']&&this['props']['state']['checked'],'action':this['handleClick']['bind'](this)}));}};x['LibraryComponents']['MenuItems']['MenuHint']=c['loadPatchedComp']('MenuItems.MenuHint')||y&&class BDFDB_MenuHint extends n['React']['Component']{['render'](){return!this['props']['hint']?null:b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuhint'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'children':this['props']['hint']})});}};x['LibraryComponents']['MenuItems']['MenuIcon']=c['loadPatchedComp']('MenuItems.MenuIcon')||y&&class BDFDB_MenuIcon extends n['React']['Component']{['render'](){let K=typeof this['props']['icon']=='string';return!this['props']['icon']?null:b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['menuicon'],'nativeClass':!![],'iconSVG':K?this['props']['icon']:null,'name':!K?this['props']['icon']:null});}};x['LibraryComponents']['MenuItems']['MenuPersistingItem']=c['loadPatchedComp']('MenuItems.MenuPersistingItem')||y&&class BDFDB_MenuPersistingItem extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['MenuItem'],Object['assign']({},this['props'],{'onClose':K=>{}}));}};x['LibraryComponents']['MenuItems']['MenuSliderItem']=c['loadPatchedComp']('MenuItems.MenuSliderItem')||y&&class BDFDB_MenuSliderItem extends n['React']['Component']{['handleValueChange'](K){if(this['props']['state']){this['props']['state']['value']=Math['round'](b['NumberUtils']['mapRange']([0x0,0x64],[this['props']['minValue'],this['props']['maxValue']],K)*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);if(typeof this['props']['onValueChange']=='function')this['props']['onValueChange'](this['props']['state']['value'],this);}b['ReactUtils']['forceUpdate'](this);}['handleValueRender'](K){let L=Math['round'](b['NumberUtils']['mapRange']([0x0,0x64],[this['props']['minValue'],this['props']['maxValue']],K)*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);if(typeof this['props']['onValueRender']=='function'){let M=this['props']['onValueRender'](L,this);if(M!=undefined)L=M;}return L;}['render'](){let K=this['props']['state']&&this['props']['state']['value']||0x0;return b['ReactUtils']['createElement'](x['NativeSubComponents']['MenuControlItem'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'label':typeof this['props']['renderLabel']=='function'?this['props']['renderLabel'](Math['round'](K*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits'])):this['props']['label'],'control':(L,M)=>{return b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuslidercontainer'],'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['Slider'],Object['assign']({},L,{'ref':M,'className':b['disCN']['menuslider'],'mini':!![],'initialValue':Math['round'](b['NumberUtils']['mapRange']([this['props']['minValue'],this['props']['maxValue']],[0x0,0x64],K)*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']),'onValueChange':this['handleValueChange']['bind'](this),'onValueRender':this['handleValueRender']['bind'](this)}))});}}),'digits','renderLabel'));}};c['setDefaultProps'](x['LibraryComponents']['MenuItems']['MenuSliderItem'],{'minValue':0x0,'maxValue':0x64,'digits':0x0});x['LibraryComponents']['MessageGroup']=b['ModuleUtils']['findByName']('ChannelMessage');x['LibraryComponents']['MessagesPopoutComponents']=b['ModuleUtils']['findByProperties']('Header','EmptyStateBottom');x['LibraryComponents']['ModalComponents']=Object['assign']({},b['ModuleUtils']['findByProperties']('ModalContent','ModalFooter'));x['LibraryComponents']['ModalComponents']['ModalContent']=c['loadPatchedComp']('ModalComponents.ModalContent')||y&&class BDFDB_ModalContent extends n['React']['Component']{['render'](){return this['props']['scroller']?b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerThin'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['modalcontent'],this['props']['className']),'ref':this['props']['scrollerRef'],'children':this['props']['children']}):b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['DOMUtils']['formatClassName'](this['props']['content']&&b['disCN']['modalcontent'],b['disCN']['modalnoscroller'],this['props']['className']),'direction':this['props']['direction']||x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'align':x['LibraryComponents']['Flex']['Align']['STRETCH'],'children':this['props']['children']});}};c['setDefaultProps'](x['LibraryComponents']['ModalComponents']['ModalContent'],{'scroller':!![],'content':!![]});x['LibraryComponents']['ModalComponents']['ModalTabContent']=c['loadPatchedComp']('ModalComponents.ModalTabContent')||y&&class BDFDB_ModalTabContent extends n['React']['Component']{['render'](){return b['ReactUtils']['forceStyle'](b['ReactUtils']['createElement'](this['props']['scroller']?x['LibraryComponents']['ScrollerThin']:'div',Object['assign'](b['ObjectUtils']['exclude'](this['props'],'scroller','open','render'),{'className':b['DOMUtils']['formatClassName'](b['disCN']['modaltabcontent'],this['props']['open']&&b['disCN']['modaltabcontentopen'],this['props']['className']),'style':Object['assign']({},this['props']['style'],{'display':this['props']['open']?null:'none'}),'children':!this['props']['open']&&!this['props']['render']?null:this['props']['children']})),['display']);}};c['setDefaultProps'](x['LibraryComponents']['ModalComponents']['ModalTabContent'],{'tab':'unnamed','render':!![]});x['LibraryComponents']['NavItem']=b['ModuleUtils']['findByName']('NavItem');x['LibraryComponents']['PaginatedList']=c['loadPatchedComp']('PaginatedList')||y&&class BDFDB_PaginatedList extends n['React']['Component']{['jump'](K){if(K>-0x1&&Kthis['props']['amount']&&b['ReactUtils']['createElement']('nav',{'className':b['disCN']['paginationlistpagination'],'children':[b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LibraryStrings']['first'],'aria-label':b['LanguageUtils']['LibraryStrings']['first'],'onClick':L=>{if(this['props']['offset']>0x0)this['jump'](0x0);},'children':b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['searchresultspaginationbutton'],this['props']['offset']<=0x0&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['LEFT_DOUBLE_CARET']})})}),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['PAGINATION_PREVIOUS'],'aria-label':b['LanguageUtils']['LanguageStrings']['PAGINATION_PREVIOUS'],'onClick':L=>{if(this['props']['offset']>0x0)this['jump'](this['props']['offset']-0x1);},'children':b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['searchresultspaginationbutton'],this['props']['offset']<=0x0&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['LEFT_CARET']})})}),b['LanguageUtils']['LanguageStringsFormat']('PAGINATION_PAGE_OF',this['props']['offset']+0x1,K+0x1),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['PAGINATION_NEXT'],'aria-label':b['LanguageUtils']['LanguageStrings']['PAGINATION_NEXT'],'onClick':L=>{if(this['props']['offset']=K&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['RIGHT_CARET']})})}),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LibraryStrings']['last'],'aria-label':b['LanguageUtils']['LibraryStrings']['last'],'onClick':L=>{if(this['props']['offset']=K&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['RIGHT_DOUBLE_CARET']})})}),b['ReactUtils']['createElement'](b['LibraryComponents']['TextInput'],{'key':'pagination-list-jumpinput','type':'number','size':b['LibraryComponents']['TextInput']['Sizes']['MINI'],'value':this['props']['offset']+0x1,'min':0x1,'max':K+0x1,'onKeyDown':(L,M)=>{if(L['which']==0xd)this['jump'](isNaN(parseInt(M['props']['value']))?-0x1:M['props']['value']-0x1);}}),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['JUMP'],'aria-label':b['LanguageUtils']['LanguageStrings']['JUMP'],'onClick':(L,M)=>{let N=b['ReactUtils']['findOwner'](M['_reactInternalFiber']['return'],{'key':'pagination-list-jumpinput'});if(N)this['jump'](isNaN(parseInt(N['props']['value']))?-0x1:N['props']['value']-0x1);},'children':b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['disCN']['searchresultspaginationbutton'],'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'style':{'transform':'rotate(90deg'},'name':b['LibraryComponents']['SvgIcon']['Names']['RIGHT_CARET']})})})]});}['render'](){let K=[],L={};if(b['ArrayUtils']['is'](this['props']['items'])&&this['props']['items']['length']){if(!this['props']['alphabetKey'])K=this['props']['items'];else{let M=[]['concat'](this['props']['items']);for(let N of['0-9','A','B','C','D','E','F','G','H','I','J','K','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']){let O=N=='0-9',P=[];for(let Q of M)if(Q&&Q[this['props']['alphabetKey']]&&(O&&!isNaN(parseInt(Q[this['props']['alphabetKey']][0x0]))||Q[this['props']['alphabetKey']]['toUpperCase']()['indexOf'](N)==0x0))P['push'](Q);for(let R of P)b['ArrayUtils']['remove'](M,R);L[N]={'items':b['ArrayUtils']['keySort'](P,this['props']['alphabetKey']),'disabled':!P['length']};}L['?!']={'items':b['ArrayUtils']['keySort'](M,this['props']['alphabetKey']),'disabled':!M['length']};for(let S in L)K['push'](L[S]['items']);K=K['flat'](0xa);}}return typeof this['props']['renderItem']!='function'||!K['length']?null:b['ReactUtils']['createElement']('div',{'className':b['disCN']['paginationlist'],'children':[this['renderPagination'](),K['length']>this['props']['amount']&&this['props']['alphabetKey']&&b['ReactUtils']['createElement']('nav',{'className':b['disCN']['paginationlistalphabet'],'children':Object['keys'](L)['map'](T=>b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['paginationlistalphabetchar'],L[T]['disabled']&&b['disCN']['paginationlistalphabetchardisabled']),'onClick':U=>{if(!L[T]['disabled'])this['jump'](Math['floor'](K['indexOf'](L[T]['items'][0x0])/this['props']['amount']));},'children':T}))}),this['props']['header'],b['ReactUtils']['createElement']('div',{'className':b['disCN']['paginationlistcontent'],'children':K['slice'](this['props']['offset']*this['props']['amount'],(this['props']['offset']+0x1)*this['props']['amount'])['map']((T,U)=>{return this['props']['renderItem'](T,U);})['flat'](0xa)['filter'](T=>T)}),this['props']['copyToBottom']&&this['renderPagination']()]['flat'](0xa)['filter'](T=>T)});}};c['setDefaultProps'](x['LibraryComponents']['PaginatedList'],{'amount':0x32,'offset':0x0});x['LibraryComponents']['Popout']=c['loadPatchedComp']('Popout')||y&&class BDFDB_Popout extends n['React']['Component']{['componentWillUnmount'](){delete this['props']['containerInstance']['popout'];if(typeof this['props']['onClose']=='function')this['props']['onClose'](this['props']['containerInstance'],this);}['render'](){let K=typeof this['props']['position']=='string'?this['props']['position']['toLowerCase']():null;let L=K&&u['popout'+K]?b['disCN']['popout'+K]:b['disCN']['popouttop'];let M=!this['props']['arrow']?b['disCN']['popoutnoarrow']:K&&K['indexOf']('top')>-0x1&&K!='top'?b['disCN']['popoutarrowalignmenttop']:b['disCN']['popoutarrowalignmentmiddle'];return b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutFocusLock'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['popoutwrapper'],b['disCN']['popout'],L,this['props']['invert']&&K&&K!='bottom'&&b['disCN']['popoutinvert'],M,!this['props']['shadow']&&b['disCN']['popoutnoshadow']),'id':this['props']['id'],'onClick':N=>{N['stopPropagation']();},'style':Object['assign']({},this['props']['style'],{'position':this['props']['isChild']?'relative':'absolute'}),'children':b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['themed']&&b['disCN']['popoutthemedpopout']),'style':b['ObjectUtils']['extract'](this['props'],'padding','height','maxHeight','minHeight','width','maxWidth','minWidth'),'children':this['props']['children']})});}};c['setDefaultProps'](x['LibraryComponents']['Popout'],{'themed':!![]});x['LibraryComponents']['PopoutContainer']=c['loadPatchedComp']('PopoutContainer')||y&&class BDFDB_PopoutContainer extends n['React']['Component']{['handleRender'](K){let L=typeof this['props']['renderPopout']=='function'?this['props']['renderPopout'](this):null;return this['popout']=!L?null:!this['props']['wrap']?L:b['ReactUtils']['createElement'](x['LibraryComponents']['Popout'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':this['props']['popoutClassName'],'containerInstance':this,'isChild':!![],'position':K['position'],'style':this['props']['popoutStyle'],'onClose':typeof this['props']['onClose']=='function'?this['props']['onClose']['bind'](this):M=>{},'children':L}),'popoutStyle','popoutClassName'));}['componentDidMount'](){let K=b['ReactUtils']['findOwner'](this,{'name':'BasePopout'});if(!K||!K['handleClick'])return;K['isBDFDBpopout']=!![];this['handleClick']=L=>{return K['handleClick'](b['ObjectUtils']['is'](L)?L:new MouseEvent({}));};this['close']=K['close'];this['domElementRef']=K['domElementRef'];}['render'](){let K=(b['ArrayUtils']['is'](this['props']['children'])?this['props']['children'][0x0]:this['props']['children'])||b['ReactUtils']['createElement']('div',{'style':{'height':'100%','width':'100%'}});K['props']['className']=b['DOMUtils']['formatClassName'](K['props']['className'],this['props']['className']);let L=K['props']['onClick'],M=K['props']['onContextMenu'];K['props']['onClick']=(N,O)=>{if(!this['domElementRef']['current']||this['domElementRef']['current']['contains'](N['target'])){if((this['props']['openOnClick']||this['props']['openOnClick']===undefined)&&typeof this['handleClick']=='function')this['handleClick'](N);if(typeof this['props']['onClick']=='function')this['props']['onClick'](N,this);if(typeof L=='function')L(N,O);}else N['stopPropagation']();};K['props']['onContextMenu']=(N,O)=>{if(!this['domElementRef']['current']||this['domElementRef']['current']['contains'](N['target'])){if(this['props']['openOnContextMenu']&&typeof this['handleClick']=='function')this['handleClick'](N);if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](N,this);if(typeof M=='function')M(N,O);}else N['stopPropagation']();};return b['ReactUtils']['createElement'](n['React']['Fragment'],{'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['PopoutContainer'],Object['assign']({},this['props'],{'children':N=>{return K;},'renderPopout':this['handleRender']['bind'](this)}))});}};c['setDefaultProps'](x['LibraryComponents']['PopoutContainer'],{'wrap':!![]});x['LibraryComponents']['PopoutFocusLock']=b['ModuleUtils']['findByString']('useFocusLock','useImperativeHandle');x['LibraryComponents']['PrivateChannelItems']=b['ModuleUtils']['findByProperties']('DirectMessage','GroupDM');x['LibraryComponents']['QuickSelect']=c['loadPatchedComp']('QuickSelect')||y&&class BDFDB_QuickSelect extends n['React']['Component']{['handleChange'](K){this['props']['value']=K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K['value']||K['key'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=(b['ArrayUtils']['is'](this['props']['options'])?this['props']['options']:[{}])['filter'](M=>M);let L=b['ObjectUtils']['is'](this['props']['value'])?this['props']['value']:K[0x0]||{};return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['quickselectwrapper']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['quickselect'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['quickselectlabel'],'children':this['props']['label']}),b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'className':b['disCN']['quickselectclick'],'onClick':M=>{n['ContextMenuUtils']['openContextMenu'](M,N=>{return b['ReactUtils']['createElement'](x['LibraryComponents']['Menu'],{'navId':'bdfdb-quickselect','onClose':b['LibraryModules']['ContextMenuUtils']['closeContextMenu'],'className':this['props']['popoutClassName'],'children':b['ContextMenuUtils']['createItem'](x['LibraryComponents']['MenuItems']['MenuGroup'],{'children':K['map']((O,P)=>{let Q=O['value']&&O['value']===L['value']||O['key']&&O['key']===L['key'];return b['ContextMenuUtils']['createItem'](x['LibraryComponents']['MenuItems']['MenuItem'],{'label':O['label'],'id':b['ContextMenuUtils']['createItemId']('option',O['key']||O['value']||P),'action':Q?null:R=>{b['ContextMenuUtils']['close'](R['_targetInst']);this['handleChange']['bind'](this)(O);}});})})});});},'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['quickselectvalue'],'children':typeof this['props']['renderValue']=='function'?this['props']['renderValue'](this['props']['value']):this['props']['value']['label']}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['quickselectarrow']})]})]})});}};x['LibraryComponents']['QuickSwitchItems']=b['ModuleUtils']['findByProperties']('Channel','GroupDM','Header');x['LibraryComponents']['QuickSwitchMenu']=b['ModuleUtils']['findByName']('QuickSwitcher');x['LibraryComponents']['RadioGroup']=c['loadPatchedComp']('RadioGroup')||y&&class BDFDB_RadioGroup extends n['React']['Component']{['handleChange'](K){this['props']['value']=K['value'];if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['RadioGroup'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}));}};let A=b['ModuleUtils']['findByProperties']('AdvancedScrollerThin','AdvancedScrollerAuto')||{};x['LibraryComponents']['ScrollerAuto']=A['AdvancedScrollerAuto']||A['default'];x['LibraryComponents']['ScrollerNone']=A['AdvancedScrollerNone']||A['default'];x['LibraryComponents']['ScrollerThin']=A['AdvancedScrollerThin']||A['default'];x['LibraryComponents']['ScrollerVertical']=b['ModuleUtils']['findByName']('VerticalScroller');x['LibraryComponents']['SearchBar']=c['loadPatchedComp']('SearchBar')||y&&class BDFDB_SearchBar extends n['React']['Component']{['handleChange'](K){this['props']['query']=K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['handleClear'](){this['props']['query']='';if(this['props']['changeOnClear']&&typeof this['props']['onChange']=='function')this['props']['onChange']('',this);if(typeof this['props']['onClear']=='function')this['props']['onClear'](this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this),'onClear':this['handleClear']['bind'](this)});if(typeof K['query']!='string')K['query']='';return b['ReactUtils']['createElement'](x['NativeSubComponents']['SearchBar'],K);}};x['LibraryComponents']['Select']=c['loadPatchedComp']('Select')||y&&class BDFDB_Select extends n['React']['Component']{['handleChange'](K){this['props']['value']=K['value']||K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['selectwrapper'],'direction':x['LibraryComponents']['Flex']['Direction']['HORIZONTAL'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['Select'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}))});}};x['LibraryComponents']['SettingsGuildList']=c['loadPatchedComp']('SettingsGuildList')||y&&class BDFDB_SettingsGuildList extends n['React']['Component']{['render'](){this['props']['disabled']=b['ArrayUtils']['is'](this['props']['disabled'])?this['props']['disabled']:[];return b['ReactUtils']['createElement'](b['LibraryComponents']['Flex'],{'className':this['props']['className'],'wrap':b['LibraryComponents']['Flex']['Wrap']['WRAP'],'children':[this['props']['includeDMs']&&{'name':'Direct\x20Messages','acronym':'DMs','id':b['DiscordConstants']['ME'],'getIconURL':K=>{}}]['concat'](b['LibraryModules']['FolderStore']['getFlattenedGuilds']())['filter'](K=>K)['map'](K=>b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':K['name'],'children':b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['guildClassName'],b['disCN']['settingsguild'],this['props']['disabled']['includes'](K['id'])&&b['disCN']['settingsguilddisabled']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['GuildComponents']['Icon'],{'guild':K,'size':this['props']['size']||b['LibraryComponents']['GuildComponents']['Icon']['Sizes']['MEDIUM']}),'onClick':L=>{let M=this['props']['disabled']['includes'](K['id']);if(M)b['ArrayUtils']['remove'](this['props']['disabled'],K['id'],!![]);else this['props']['disabled']['push'](K['id']);if(typeof this['props']['onClick']=='function')this['props']['onClick'](this['props']['disabled'],this);b['ReactUtils']['forceUpdate'](this);}})}))});}};x['LibraryComponents']['SettingsPanel']=c['loadPatchedComp']('SettingsPanel')||y&&class BDFDB_SettingsPanel extends n['React']['Component']{['render'](){let K=[this['props']['title']&&b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'className':b['disCN']['settingspaneltitle'],'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H2'],'children':this['props']['title']}),this['props']['controls']&&b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanelheadercontrols'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'grow':0x0,'children':this['props']['controls']})]['flat'](0xa)['filter'](M=>M);let L=[this['props']['children']]['flat'](0xa)['filter'](M=>M);return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'grow':0x1,'children':[K['length']&&[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanelheader'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':K}),L['length']&&b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':b['disCNS']['margintop4']+b['disCN']['marginbottom8']})],b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanelinner'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'children':L})]['flat'](0xa)['filter'](M=>M)});}};x['LibraryComponents']['SettingsPanelInner']=c['loadPatchedComp']('SettingsPanelInner')||y&&class BDFDB_SettingsPanelInner extends n['React']['Component']{['render'](){return this['props']['children']?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':this['props']['className'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'children':[!this['props']['first']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':b['disCN']['marginbottom8']}):null,typeof this['props']['title']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'className':b['disCN']['marginbottom4'],'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H3'],'children':this['props']['title']}):null,b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanellist'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'children':this['props']['children']}),!this['props']['last']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':b['disCN']['marginbottom20']}):null]}):null;}};x['LibraryComponents']['SettingsItem']=c['loadPatchedComp']('SettingsItem')||y&&class BDFDB_SettingsItem extends n['React']['Component']{['handleChange'](K){if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);}['render'](){if(typeof this['props']['type']!='string'||!['BUTTON','SELECT','SWITCH','TEXTINPUT']['includes'](this['props']['type']['toUpperCase']()))return null;let K=x['LibraryComponents'][this['props']['type']];if(!K)return null;if(this['props']['mini']&&K['Sizes'])this['props']['size']=K['Sizes']['MINI']||K['Sizes']['MIN'];return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['disabled']&&b['disCN']['disabled']),'id':this['props']['id'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'align':x['LibraryComponents']['Flex']['Align']['STRETCH'],'grow':this['props']['grow'],'stretch':this['props']['stretch'],'children':[this['props']['dividertop']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':this['props']['mini']?b['disCN']['marginbottom4']:b['disCN']['marginbottom8']}):null,b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[this['props']['label']?this['props']['tag']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'className':b['DOMUtils']['formatClassName'](this['props']['labelClassName'],b['disCN']['marginreset']),'tag':this['props']['tag'],'children':this['props']['label']}):b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsLabel'],{'className':this['props']['labelClassName'],'mini':this['props']['mini'],'label':this['props']['label']})}):null,this['props']['labelchildren'],b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'grow':0x0,'shrink':this['props']['basis']?0x0:0x1,'basis':this['props']['basis'],'wrap':!![],'children':b['ReactUtils']['createElement'](K,b['ObjectUtils']['exclude'](Object['assign'](b['ObjectUtils']['exclude'](this['props'],'className','id','type'),this['props']['childProps'],{'onChange':this['handleChange']['bind'](this)}),'grow','stretch','basis','dividerbottom','dividertop','label','labelClassName','labelchildren','tag','mini','note','childProps'))})]['flat'](0xa)['filter'](L=>L)}),typeof this['props']['note']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'className':b['disCN']['note'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormText'],{'disabled':this['props']['disabled'],'type':x['LibraryComponents']['FormComponents']['FormText']['Types']['DESCRIPTION'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'speed':0x2,'children':this['props']['note']})})}):null,this['props']['dividerbottom']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':this['props']['mini']?b['disCN']['margintop4']:b['disCN']['margintop8']}):null]});}};x['LibraryComponents']['SettingsLabel']=c['loadPatchedComp']('SettingsLabel')||y&&class BDFDB_SettingsLabel extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['mini']?b['disCN']['titlemini']:b['disCN']['titledefault'],b['disCN']['cursordefault']),'speed':0x2,'children':this['props']['label']});}};x['LibraryComponents']['SettingsList']=c['loadPatchedComp']('SettingsList')||y&&class BDFDB_SettingsList extends n['React']['Component']{['componentDidMount'](){let K=b['ReactUtils']['findDOMNode'](this);if(K&&!this['props']['maxWidth']){let L=Array['from'](K['querySelectorAll'](b['dotCN']['settingstableheader']));L['shift']();if(b['DOMUtils']['getRects'](L[0x0])['width']==0x0)b['TimeUtils']['timeout'](M=>{this['resizeList'](K,L);});else this['resizeList'](K,L);}}['resizeList'](K,L){let M=0x0,N=0x0;if(!M){for(let O of L){O['style']='';let P=b['DOMUtils']['getRects'](O)['width'];M=P>M?P:M;}M+=0x4;N=M;}if(L['length']*M>0x12c){this['props']['vertical']=!![];M=parseInt(0x122/L['length']);}else if(M<0x24){M=0x24;N=M;}this['props']['maxWidth']=M;this['props']['biggestWidth']=N;this['props']['fullWidth']=b['DOMUtils']['getRects'](K)['width'];b['ReactUtils']['forceUpdate'](this);}['render'](){this['props']['settings']=b['ArrayUtils']['is'](this['props']['settings'])?this['props']['settings']:[];this['props']['renderLabel']=typeof this['props']['renderLabel']=='function'?this['props']['renderLabel']:Q=>Q['label'];this['props']['data']=(b['ArrayUtils']['is'](this['props']['data'])?this['props']['data']:[{}])['filter'](Q=>Q);let K=this['props']['maxWidth']&&this['props']['fullWidth']&&this['props']['fullWidth']-0x14-this['props']['maxWidth']*this['props']['settings']['length'];let L=this['props']['maxWidth']&&this['props']['maxWidth']*this['props']['settings']['length'];let M=typeof this['props']['onHeaderClick']=='function'||typeof this['props']['onHeaderContextMenu']=='function';let N=Q=>b['ReactUtils']['createElement'](x['LibraryComponents']['Card'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName']([this['props']['cardClassName'],Q['className']]['filter'](R=>R)['join']('\x20')['indexOf'](b['disCN']['card'])==-0x1&&b['disCN']['cardprimaryoutline'],b['disCN']['settingstablecard'],this['props']['cardClassName'],Q['className']),'cardId':Q['key'],'backdrop':![],'style':Object['assign']({},this['props']['cardStyle'],Q['style']),'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingstablecardlabel'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'grow':0x0,'shrink':0x0,'basis':K||'auto','style':{'maxWidth':K||null},'children':this['props']['renderLabel'](Q)}),b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingstablecardconfigs'],'justify':x['LibraryComponents']['Flex']['Justify']['AROUND'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'grow':0x0,'shrink':0x0,'basis':L||'auto','style':{'maxWidth':L||null},'children':this['props']['settings']['map'](R=>b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'className':b['disCN']['checkboxcontainer'],'grow':0x0,'shrink':0x0,'wrap':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['Checkbox'],{'disabled':Q['disabled'],'cardId':Q['key'],'settingId':R,'shape':x['LibraryComponents']['Checkbox']['Shapes']['ROUND'],'type':x['LibraryComponents']['Checkbox']['Types']['INVERTED'],'value':Q[R],'onChange':this['props']['onCheckboxChange']})}))['flat'](0xa)['filter'](R=>R)})]}),'title','data','settings','renderLabel','cardClassName','cardStyle','onCheckboxChange','maxWidth','fullWidth','pagination'));let O=b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingstableheaders'],'align':x['LibraryComponents']['Flex']['Align']['STRETCH'],'style':this['props']['vertical']&&this['props']['biggestWidth']?{'marginTop':this['props']['biggestWidth']-0xf||0x0}:{},'children':[]['concat'](this['props']['title']||'',this['props']['settings'])['map']((Q,R)=>b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](R==0x0?b['disCN']['settingstableheadername']:b['disCN']['settingstableheaderoption'],R!=0x0&&this['props']['vertical']&&b['disCN']['settingstableheadervertical'],b['disCN']['colorbase'],b['disCN']['size10'],M&&b['disCN']['cursorpointer']),'onClick':S=>{if(typeof this['props']['onHeaderClick']=='function')this['props']['onHeaderClick'](Q,this);},'onContextMenu':S=>{if(typeof this['props']['onHeaderContextMenu']=='function')this['props']['onHeaderContextMenu'](Q,this);},'style':R!=0x0&&this['props']['maxWidth']?{'maxWidth':this['props']['maxWidth'],'width':this['props']['maxWidth'],'flex':'0\x200\x20'+this['props']['maxWidth']+'px'}:{},'children':b['ReactUtils']['createElement']('span',{'children':Q})}))});let P=b['ObjectUtils']['is'](this['props']['pagination']);return!this['props']['data']['length']?null:b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['settingstablelist'],this['props']['className']),'children':[!P&&O,!P?this['props']['data']['map'](N):b['ReactUtils']['createElement'](x['LibraryComponents']['PaginatedList'],Object['assign']({},this['props']['pagination'],{'header':O,'items':this['props']['data'],'renderItem':N,'onJump':(Q,R)=>{this['props']['pagination']['offset']=Q;if(typeof this['props']['pagination']['onJump']=='function')this['props']['pagination']['onJump'](Q,this,R);}}))]['filter'](Q=>Q)});}};x['LibraryComponents']['SettingsSaveItem']=c['loadPatchedComp']('SettingsSaveItem')||y&&class BDFDB_SettingsSaveItem extends n['React']['Component']{['saveSettings'](K){if(!b['ArrayUtils']['is'](this['props']['keys'])||!b['ObjectUtils']['is'](this['props']['plugin']))return;let L=this['props']['keys']['filter'](N=>N);let M=L['shift']();if(b['ObjectUtils']['is'](this['props']['plugin'])&&M){let N=b['DataUtils']['load'](this['props']['plugin'],M);let O='';for(let R of L)O+='{\x22'+R+'\x22:';K=K!=null&&K['value']!=null?K['value']:K;let P=typeof K=='string';let Q=P?'\x22':'';O+=Q+(P?K['replace'](/\\/g,'\x5c\x5c'):K)+Q+'}'['repeat'](L['length']);O=JSON['parse'](O);b['DataUtils']['save'](b['ObjectUtils']['is'](O)?b['ObjectUtils']['deepAssign']({},N,O):O,this['props']['plugin'],M);this['props']['plugin']['SettingsUpdated']=!![];}if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);}['render'](){if(typeof this['props']['type']!='string'||!['SELECT','SWITCH','TEXTINPUT']['includes'](this['props']['type']['toUpperCase']()))return null;return b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsItem'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'onChange':this['saveSettings']['bind'](this)}),'keys','plugin'));}};x['LibraryComponents']['SidebarList']=c['loadPatchedComp']('SidebarList')||y&&class BDFDB_SidebarList extends n['React']['Component']{['handleItemSelect'](K){this['props']['selectedItem']=K;if(typeof this['props']['onItemSelect']=='function')this['props']['onItemSelect'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=(b['ArrayUtils']['is'](this['props']['items'])?this['props']['items']:[{}])['filter'](O=>O);let L=this['props']['selectedItem']||(K[0x0]||{})['value'];let M=(K['find'](O=>O['value']==L)||{})['elements'];let N=typeof this['props']['renderElement']=='function'?this['props']['renderElement']:O=>{};return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['sidebarlist']),'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerThin'],{'className':b['DOMUtils']['formatClassName'](this['props']['sidebarClassName'],b['disCN']['sidebar']),'fade':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TabBar'],{'itemClassName':this['props']['itemClassName'],'type':x['LibraryComponents']['TabBar']['Types']['SIDE'],'items':K,'selectedItem':L,'renderItem':this['props']['renderItem'],'onItemSelect':this['handleItemSelect']['bind'](this)})}),b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerThin'],{'className':b['DOMUtils']['formatClassName'](this['props']['contentClassName'],b['disCN']['sidebarcontent']),'fade':!![],'children':[M]['flat'](0xa)['filter'](O=>O)['map'](O=>N(O))})]});}};x['LibraryComponents']['Slider']=c['loadPatchedComp']('Slider')||y&&class BDFDB_Slider extends n['React']['Component']{['handleValueChange'](K){let L=b['ArrayUtils']['is'](this['props']['edges'])&&this['props']['edges']['length']==0x2?b['NumberUtils']['mapRange']([0x0,0x64],this['props']['edges'],K):K;if(typeof this['props']['digits']=='number')L=Math['round'](L*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);this['props']['defaultValue']=L;if(typeof this['props']['onValueChange']=='function')this['props']['onValueChange'](L,this);b['ReactUtils']['forceUpdate'](this);}['handleValueRender'](K){let L=b['ArrayUtils']['is'](this['props']['edges'])&&this['props']['edges']['length']==0x2?b['NumberUtils']['mapRange']([0x0,0x64],this['props']['edges'],K):K;if(typeof this['props']['digits']=='number')L=Math['round'](L*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);if(typeof this['props']['onValueRender']=='function'){let M=this['props']['onValueRender'](L,this);if(M!=undefined)L=M;}return L;}['render'](){let K=b['ArrayUtils']['is'](this['props']['edges'])&&this['props']['edges']['length']==0x2?b['NumberUtils']['mapRange'](this['props']['edges'],[0x0,0x64],this['props']['defaultValue']):this['props']['defaultValue'];if(typeof this['props']['digits']=='number')K=Math['round'](K*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);return b['ReactUtils']['createElement'](x['NativeSubComponents']['Slider'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'initialValue':K,'onValueChange':this['handleValueChange']['bind'](this),'onValueRender':this['handleValueRender']['bind'](this)}),'digits','edges'));}};x['LibraryComponents']['Spinner']=b['ModuleUtils']['findByName']('Spinner');x['LibraryComponents']['SvgIcon']=c['loadPatchedComp']('SvgIcon')||y&&class BDFDB_Icon extends n['React']['Component']{['render'](){if(b['ObjectUtils']['is'](this['props']['name'])){if(this['props']['className'])this['props']['nativeClass']=!![];this['props']['iconSVG']=this['props']['name']['icon'];let K=Object['assign']({'width':0x18,'height':0x18,'color':'currentColor'},this['props']['name']['defaultProps'],this['props']);for(let L in K)this['props']['iconSVG']=this['props']['iconSVG']['replace'](new RegExp('%%'+L,'g'),K[L]);}if(this['props']['iconSVG']){let M=b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](this['props']['iconSVG']));if(b['ReactUtils']['isValidElement'](M)){M['props']['className']=b['DOMUtils']['formatClassName'](!this['props']['nativeClass']&&b['disCN']['svgicon'],M['props']['className'],this['props']['className']);M['props']['style']=Object['assign']({},M['props']['style'],this['props']['style']);M['props']=Object['assign']({},b['ObjectUtils']['extract'](this['props'],'onClick','onContextMenu','onMouseDown','onMouseUp','onMouseEnter','onMouseLeave'),M['props']);return M;}}return null;}};x['LibraryComponents']['SvgIcon']['Names']={'CHANGELOG':{'icon':''},'CHECKBOX':{'defaultProps':{'background':'','foreground':''},'icon':''},'CHECKBOX_EMPTY':{'defaultProps':{'foreground':''},'icon':''},'CHECKMARK':{'defaultProps':{'width':0x12,'height':0x12},'icon':''},'CLOSE':{'defaultProps':{'width':0xc,'height':0xc},'icon':''},'CLOSE_CIRCLE':{'icon':''},'COG':{'defaultProps':{'width':0x14,'height':0x14},'icon':''},'CROWN':{'icon':''},'DROPPER':{'defaultProps':{'width':0x10,'height':0x10,'foreground':''},'icon':''},'FOLDER':{'icon':''},'GITHUB':{'icon':''},'GRADIENT':{'defaultProps':{'width':0x24,'height':0x24},'icon':''},'LEFT_CARET':{'icon':''},'LEFT_DOUBLE_CARET':{'icon':''},'LOCK_CLOSED':{'icon':''},'NOVA_AT':{'icon':''},'NOVA_PIN':{'icon':''},'NOVA_TRASH':{'icon':''},'PENCIL':{'defaultProps':{'width':0x10,'height':0x10},'icon':''},'PIN':{'defaultProps':{'width':0x10,'height':0x10},'icon':''},'RAW_TEXT':{'icon':''},'RIGHT_CARET':{'icon':''},'RIGHT_DOUBLE_CARET':{'icon':''},'SEARCH':{'defaultProps':{'width':0x12,'height':0x12},'icon':''},'SPEAKER':{'icon':''},'STREAM':{'icon':''}};x['LibraryComponents']['Switch']=c['loadPatchedComp']('Switch')||y&&class BDFDB_Switch extends n['React']['Component']{['handleChange'](){this['props']['value']=!this['props']['value'];if(typeof this['props']['onChange']=='function')this['props']['onChange'](this['props']['value'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Switch'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}));}};x['LibraryComponents']['TabBar']=c['loadPatchedComp']('TabBar')||y&&class BDFDB_TabBar extends n['React']['Component']{['handleItemSelect'](K){this['props']['selectedItem']=K;if(typeof this['props']['onItemSelect']=='function')this['props']['onItemSelect'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=(b['ArrayUtils']['is'](this['props']['items'])?this['props']['items']:[{}])['filter'](N=>N);let L=this['props']['selectedItem']||(K[0x0]||{})['value'];let M=typeof this['props']['renderItem']=='function'?this['props']['renderItem']:N=>N['label']||N['value'];return b['ReactUtils']['createElement'](x['NativeSubComponents']['TabBar'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'selectedItem':L,'onItemSelect':this['handleItemSelect']['bind'](this),'children':K['map'](N=>{return b['ReactUtils']['createElement'](x['LibraryComponents']['TabBar']['Item'],{'className':b['DOMUtils']['formatClassName'](this['props']['itemClassName'],L==N['value']&&this['props']['itemSelectedClassName']),'itemType':this['props']['type'],'id':N['value'],'children':M(N),'aria-label':N['label']||N['value']});})}),'itemClassName','items','renderItem'));}};x['LibraryComponents']['Table']=c['loadPatchedComp']('Table')||y&&class BDFDB_Table extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Table'],Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['table'],this['props']['className']),'headerClassName':b['DOMUtils']['formatClassName'](this['props']['stickyHeader']?b['disCN']['tablestickyheader']:b['disCN']['tableheader'],this['props']['headerClassName']),'headerCellClassName':b['DOMUtils']['formatClassName'](b['disCN']['tableheadercell'],this['props']['headerCellClassName']),'sortedHeaderCellClassName':b['DOMUtils']['formatClassName'](b['disCN']['tableheadercellsorted'],this['props']['sortedHeaderCellClassName']),'bodyCellClassName':b['DOMUtils']['formatClassName'](b['disCN']['tablebodycell'],this['props']['bodyCellClassName']),'rowClassName':b['DOMUtils']['formatClassName'](b['disCN']['tablerow'],this['props']['rowClassName']),'onSort':(K,L)=>{this['props']['sortDirection']=this['props']['sortKey']!=K&&L==x['LibraryComponents']['Table']['SortDirection']['ASCENDING']&&this['props']['columns']['filter'](M=>M['key']==K)[0x0]['reverse']?x['LibraryComponents']['Table']['SortDirection']['DESCENDING']:L;this['props']['sortKey']=K;this['props']['data']=b['ArrayUtils']['keySort'](this['props']['data'],this['props']['sortKey']);if(this['props']['sortDirection']==x['LibraryComponents']['Table']['SortDirection']['DESCENDING'])this['props']['data']['reverse']();if(typeof this['props']['onSort']=='function')this['props']['onSort'](this['props']['sortKey'],this['props']['sortDirection']);b['ReactUtils']['forceUpdate'](this);}}));}};x['LibraryComponents']['TextArea']=c['loadPatchedComp']('TextArea')||y&&class BDFDB_TextArea extends n['React']['Component']{['handleChange'](K){this['props']['value']=K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['handleBlur'](K){if(typeof this['props']['onBlur']=='function')this['props']['onBlur'](K,this);}['handleFocus'](K){if(typeof this['props']['onFocus']=='function')this['props']['onFocus'](K,this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['TextArea'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this),'onBlur':this['handleBlur']['bind'](this),'onFocus':this['handleFocus']['bind'](this)}));}};x['LibraryComponents']['TextElement']=b['ModuleUtils']['findByName']('Text');x['LibraryComponents']['TextGradientElement']=c['loadPatchedComp']('TextGradientElement')||y&&class BDFDB_TextGradientElement extends n['React']['Component']{['render'](){if(this['props']['gradient']&&this['props']['children'])return b['ReactUtils']['createElement']('span',{'children':this['props']['children'],'ref':K=>{let L=b['ReactUtils']['findDOMNode'](K);if(L){L['style']['setProperty']('background-image',this['props']['gradient'],'important');L['style']['setProperty']('color','transparent','important');L['style']['setProperty']('-webkit-background-clip','text','important');}}});return this['props']['children']||null;}};x['LibraryComponents']['TextInput']=c['loadPatchedComp']('TextInput')||y&&class BDFDB_TextInput extends n['React']['Component']{['handleChange'](K){let L=K=b['ObjectUtils']['is'](K)?K['currentTarget']['value']:K;this['props']['value']=this['props']['valuePrefix']&&!L['startsWith'](this['props']['valuePrefix'])?this['props']['valuePrefix']+L:L;if(typeof this['props']['onChange']=='function')this['props']['onChange'](this['props']['value'],this);b['ReactUtils']['forceUpdate'](this);}['handleInput'](K){if(typeof this['props']['onInput']=='function')this['props']['onInput'](b['ObjectUtils']['is'](K)?K['currentTarget']['value']:K,this);}['handleKeyDown'](K){if(typeof this['props']['onKeyDown']=='function')this['props']['onKeyDown'](K,this);}['handleBlur'](K){if(typeof this['props']['onBlur']=='function')this['props']['onBlur'](K,this);}['handleFocus'](K){if(typeof this['props']['onFocus']=='function')this['props']['onFocus'](K,this);}['handleMouseEnter'](K){if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['handleNumberButton'](K,L){b['TimeUtils']['clear'](K['pressedTimeout']);K['pressedTimeout']=b['TimeUtils']['timeout'](M=>{delete this['props']['focused'];b['ReactUtils']['forceUpdate'](this);},0x3e8);this['props']['focused']=!![];this['handleChange']['bind'](this)(L);this['handleInput']['bind'](this)(L);}['componentDidMount'](){if(this['props']['type']=='file'){let L=b['ReactUtils']['findOwner'](this,{'name':'BDFDB_FileButton'});if(L)L['refInput']=this;}let K=b['ReactUtils']['findDOMNode'](this);if(!K)return;K=K['querySelector']('input')||K;if(K&&!K['patched']){K['addEventListener']('keydown',M=>{this['handleKeyDown']['bind'](this)(M);M['stopImmediatePropagation']();});K['patched']=!![];}}['render'](){let K=[b['ReactUtils']['createElement']('input',b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](this['props']['size']&&x['LibraryComponents']['TextInput']['Sizes'][this['props']['size']['toUpperCase']()]&&b['disCN']['input'+this['props']['size']['toLowerCase']()]||b['disCN']['inputdefault'],this['props']['inputClassName'],this['props']['focused']&&b['disCN']['inputfocused'],this['props']['error']||this['props']['errorMessage']?b['disCN']['inputerror']:this['props']['success']&&b['disCN']['inputsuccess'],this['props']['disabled']&&b['disCN']['inputdisabled'],this['props']['editable']&&b['disCN']['inputeditable']),'type':this['props']['type']=='color'||this['props']['type']=='file'?'text':this['props']['type'],'onChange':this['handleChange']['bind'](this),'onInput':this['handleInput']['bind'](this),'onKeyDown':this['handleKeyDown']['bind'](this),'onBlur':this['handleBlur']['bind'](this),'onFocus':this['handleFocus']['bind'](this),'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'maxLength':this['props']['type']=='file'?![]:this['props']['maxLength'],'ref':this['props']['inputRef']}),'errorMessage','focused','error','success','inputClassName','inputChildren','valuePrefix','inputPrefix','size','editable','inputRef','style','mode','filter','useFilePath','useFilepath')),this['props']['inputChildren'],this['props']['type']=='color'?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'wrap':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['ColorSwatches'],{'colors':[],'color':this['props']['value']&&this['props']['mode']=='comp'?b['ColorUtils']['convert'](this['props']['value']['split'](','),'RGB'):this['props']['value'],'onColorChange':L=>{this['handleChange'](!L?'':this['props']['mode']=='comp'?b['ColorUtils']['convert'](L,'RGBCOMP')['slice'](0x0,0x3)['join'](','):L);},'pickerConfig':{'gradient':![],'alpha':this['props']['mode']!='comp'}})}):null,this['props']['type']=='file'?b['ReactUtils']['createElement'](x['LibraryComponents']['FileButton'],{'filter':this['props']['filter'],'mode':this['props']['mode'],'useFilePath':this['props']['useFilePath']||this['props']['useFilepath']}):null]['flat'](0xa)['filter'](L=>L);return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['inputwrapper'],this['props']['type']=='number'&&(this['props']['size']&&x['LibraryComponents']['TextInput']['Sizes'][this['props']['size']['toUpperCase']()]&&b['disCN']['inputnumberwrapper'+this['props']['size']['toLowerCase']()]||b['disCN']['inputnumberwrapperdefault']),this['props']['className']),'style':this['props']['style'],'children':[this['props']['inputPrefix']?b['ReactUtils']['createElement']('span',{'className':b['disCN']['inputprefix']}):null,this['props']['type']=='number'?b['ReactUtils']['createElement']('div',{'className':b['disCN']['inputnumberbuttons'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['inputnumberbuttonup'],'onClick':L=>{let M=parseInt(this['props']['min']);let N=parseInt(this['props']['max']);let O=parseInt(this['props']['value'])+0x1||M||0x0;if(isNaN(N)||!isNaN(N)&&O<=N)this['handleNumberButton']['bind'](this)(L['_targetInst'],isNaN(M)||!isNaN(M)&&O>=M?O:M);}}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['inputnumberbuttondown'],'onClick':L=>{let M=parseInt(this['props']['min']);let N=parseInt(this['props']['max']);let O=parseInt(this['props']['value'])-0x1||M||0x0;if(isNaN(M)||!isNaN(M)&&O>=M)this['handleNumberButton']['bind'](this)(L['_targetInst'],isNaN(N)||!isNaN(N)&&O<=N?O:N);}})]}):null,K['length']==0x1?K[0x0]:b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':K['map']((L,M)=>M!=0x0?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'shrink':0x0,'children':L}):L)}),this['props']['errorMessage']?b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'className':b['disCN']['carderror'],'size':x['LibraryComponents']['TextElement']['Sizes']['SIZE_12'],'color':x['LibraryComponents']['TextElement']['Colors']['STATUS_RED'],'children':this['props']['errorMessage']}):null]['filter'](L=>L)});}};x['LibraryComponents']['TextScroller']=c['loadPatchedComp']('TextScroller')||y&&class BDFDB_TextScroller extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['textscroller'],this['props']['className']),'style':Object['assign']({},this['props']['style'],{'position':'relative','display':'block','overflow':'hidden'}),'ref':K=>{let L=b['ReactUtils']['findDOMNode'](K);if(L&&L['parentElement']){let M=b['DOMUtils']['getInnerWidth'](L['parentElement']);if(M>0x32)L['style']['setProperty']('max-width',M+'px');b['TimeUtils']['timeout'](O=>{if(document['contains'](L['parentElement'])){let P=b['DOMUtils']['getInnerWidth'](L['parentElement']);if(P>M)L['style']['setProperty']('max-width',P+'px');}},0xbb8);let N=new n['AnimationUtils']['Value'](0x0);N['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,(b['DOMUtils']['getRects'](L['firstElementChild'])['width']-b['DOMUtils']['getRects'](L)['width'])*-0x1]})['addListener'](O=>{L['firstElementChild']['style']['setProperty']('left',O['value']+'px','important');});this['scroll']=O=>{let P=O+parseFloat(L['firstElementChild']['style']['getPropertyValue']('left'))/(b['DOMUtils']['getRects'](L['firstElementChild'])['width']-b['DOMUtils']['getRects'](L)['width']);P=isNaN(P)||!isFinite(P)?O:P;P*=b['DOMUtils']['getRects'](L['firstElementChild'])['width']/(b['DOMUtils']['getRects'](L)['width']*0x2);n['AnimationUtils']['parallel']([n['AnimationUtils']['timing'](N,{'toValue':O,'duration':Math['sqrt'](P**0x2)*0xfa0/(parseInt(this['props']['speed'])||0x1)})])['start']();};}},'onClick':K=>{if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);},'onMouseEnter':K=>{if(b['DOMUtils']['getRects'](K['currentTarget'])['width']{if(this['scrolling']){delete this['scrolling'];K['currentTarget']['firstElementChild']['style']['setProperty']('display','inline','important');this['scroll'](0x0);}},'children':b['ReactUtils']['createElement']('div',{'style':{'left':'0','position':'relative','display':'inline','whiteSpace':'nowrap'},'children':this['props']['children']})});}};x['LibraryComponents']['TooltipContainer']=c['loadPatchedComp']('TooltipContainer')||y&&class BDFDB_TooltipContainer extends n['React']['Component']{['render'](){let K=(b['ArrayUtils']['is'](this['props']['children'])?this['props']['children'][0x0]:this['props']['children'])||b['ReactUtils']['createElement']('div',{});K['props']['className']=b['DOMUtils']['formatClassName'](K['props']['className'],this['props']['className']);let L=K['props']['onMouseEnter'],M=K['props']['onMouseLeave'],N=K['props']['onClick'],O=K['props']['onContextMenu'];let P=![];K['props']['onMouseEnter']=(Q,R)=>{if(!P){P=!![];b['TooltipUtils']['create'](Q['currentTarget'],this['props']['text'],Object['assign']({'delay':this['props']['delay']},this['props']['tooltipConfig']));if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](Q,this);if(typeof L=='function')L(Q,R);}};K['props']['onMouseLeave']=(Q,R)=>{P=![];if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](Q,this);if(typeof M=='function')M(Q,R);};K['props']['onClick']=(Q,R)=>{if(typeof this['props']['onClick']=='function')this['props']['onClick'](Q,this);if(typeof N=='function')N(Q,R);};K['props']['onContextMenu']=(Q,R)=>{if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](Q,this);if(typeof O=='function')O(Q,R);};return b['ReactUtils']['createElement'](n['React']['Fragment'],{'children':K});}};x['LibraryComponents']['UserSummaryItem']=b['ModuleUtils']['findByName']('UserSummaryItem');for(let K in x['NativeSubComponents'])if(x['LibraryComponents'][K])for(let L in x['NativeSubComponents'][K])if(L!='displayName'&&L!='name'&&(typeof x['NativeSubComponents'][K][L]!='function'||L['charAt'](0x0)==L['charAt'](0x0)['toUpperCase']())){if(L=='defaultProps')x['LibraryComponents'][K][L]=Object['assign']({},x['LibraryComponents'][K][L],x['NativeSubComponents'][K][L]);else x['LibraryComponents'][K][L]=x['NativeSubComponents'][K][L];}b['LibraryComponents']=Object['assign']({},x['LibraryComponents']);b['DOMUtils']['appendLocalStyle']('BDFDB','\x0a\x09\x09@import\x20url(https://mwittrien.github.io/BetterDiscordAddons/Themes/res/SupporterBadge.css);\x0a\x09\x09\x0a\x09\x09img:not([src]),\x20img[src=\x22\x22],\x20img[src=\x22null\x22]\x20{\x0a\x09\x09\x09opacity:\x200;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['loadingiconwrapper']+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09\x09right:\x200;\x0a\x09\x09\x09z-index:\x201000;\x0a\x09\x09\x09animation:\x20loadingwrapper-fade\x203s\x20infinite\x20ease;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['loadingiconwrapper']+b['dotCN']['loadingicon'])+'\x20{\x0a\x09\x09\x09margin:\x200\x205px;\x0a\x09\x09}\x0a\x09\x09@keyframes\x20loadingwrapper-fade\x20{\x0a\x09\x09\x09from\x20{opacity:\x200.1;}\x0a\x09\x09\x0950%\x20{opacity:\x200.9;}\x0a\x09\x09\x09to\x20{opacity:\x200.1;}\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['settingspanelheader']+'\x20{\x0a\x09\x09\x09padding-right:\x205px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanelheadercontrols']+'\x20>\x20*\x20{\x0a\x09\x09\x09margin-left:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanelheaderbutton']+'\x20{\x0a\x09\x09\x09height:\x2024px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanelinner']+'\x20{\x0a\x09\x09\x09padding-left:\x2015px;\x0a\x09\x09\x09padding-right:\x205px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanellist']+'\x20{\x0a\x09\x09\x09padding-left:\x2015px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['collapsecontainer']+'\x20{\x0a\x09\x09\x09margin-bottom:\x2020px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainermini']+'\x20{\x0a\x09\x09\x09margin-bottom:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainerheader']+'\x20{\x0a\x09\x09\x09margin-bottom:\x204px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['collapsecontainercollapsed']+b['dotCN']['collapsecontainertitle'])+'\x20{\x0a\x09\x09\x09margin-bottom:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09justify-content:\x20space-between;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09order:\x201;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--text-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+'::before\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09\x09background-color:\x20currentColor;\x0a\x09\x09\x09height:\x202px;\x0a\x09\x09\x09margin:\x200\x2010px\x200\x2015px;\x0a\x09\x09\x09opacity:\x200.2;\x0a\x09\x09\x09order:\x202;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+'::after\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09-webkit-mask:\x20url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSItOTUwIDUzMiAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAtOTUwIDUzMiAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6bm9uZTt9DQoJLnN0MXtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjEuNTtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTS05MzIsNTMydjE4aC0xOHYtMThILTkzMnoiLz4NCjxwb2x5bGluZSBjbGFzcz0ic3QxIiBwb2ludHM9Ii05MzYuNiw1MzguOCAtOTQxLDU0My4yIC05NDUuNCw1MzguOCAiLz4NCjwvc3ZnPg0K)\x20center/cover\x20no-repeat;\x0a\x09\x09\x09background-color:\x20currentColor;\x0a\x09\x09\x09width:\x2020px;\x0a\x09\x09\x09height:\x2020px;\x0a\x09\x09\x09order:\x203;\x0a\x09\x09\x09transition:\x20transform\x20.3s\x20ease;\x0a\x09\x09\x09transform:\x20rotate(0);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['collapsecontainercollapsed']+b['dotCN']['collapsecontainertitle'])+'::after\x20{\x0a\x09\x09\x09transform:\x20rotate(90deg)\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainerinner']+'\x20{\x0a\x09\x09\x09padding-left:\x2015px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['settingsguild']+'\x20{\x0a\x09\x09\x09border-radius:\x2050%;\x0a\x09\x09\x09border:\x203px\x20solid\x20'+b['DiscordConstants']['Colors']['STATUS_GREEN']+';\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09margin:\x203px;\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingsguilddisabled']+'\x20{\x0a\x09\x09\x09border-color:\x20'+b['DiscordConstants']['Colors']['STATUS_GREY']+';\x0a\x09\x09\x09filter:\x20grayscale(100%)\x20brightness(50%);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['paginationlistpagination']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09font-size:\x2016px;\x0a\x09\x09\x09line-height:\x2020px;\x0a\x09\x09\x09margin-top:\x2010px;\x0a\x09\x09\x09margin-bottom:\x2010px;\x0a\x09\x09\x09color:\x20var(--text-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['paginationlistalphabet']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09font-size:\x2016px;\x0a\x09\x09\x09line-height:\x2020px;\x0a\x09\x09\x09margin-bottom:\x2010px;\x0a\x09\x09\x09color:\x20var(--text-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['paginationlistalphabetchar']+'\x20{\x0a\x09\x09\x09min-width:\x2012px;\x0a\x09\x09\x09text-align:\x20center;\x0a\x09\x09\x09margin:\x200\x204px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['paginationlistalphabetchar']+b['notCN']['paginationlistalphabetchardisabled'])+':hover\x20{\x0a\x09\x09\x09color:\x20var(--header-primary);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['paginationlistalphabetchar']+b['dotCN']['paginationlistalphabetchardisabled'])+'\x20{\x0a\x09\x09\x09color:\x20var(--text-muted);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['overflowellipsis']+'\x20{\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09\x09text-overflow:\x20ellipsis;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['userpopout']+b['dotCN']['userpopoutheadertext'])+'\x20+\x20'+b['dotCN']['userinfodate']+',\x0a\x09\x09'+(b['dotCNS']['userprofile']+b['dotCN']['userprofilenametag'])+'\x20+\x20'+b['dotCN']['userinfodate']+'\x20{\x0a\x09\x09\x09margin-top:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['userinfodate']+'\x20+\x20'+b['dotCN']['userpopoutcustomstatus']+'\x20{\x0a\x09\x09\x09margin-top:\x204px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['userpopoutheadernormal']+b['dotCN']['userinfodate'])+'\x20{\x0a\x09\x09\x09color:\x20#b9bbbe;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['userpopoutheader']+b['notCNS']['userpopoutheadernormal']+b['dotCN']['userinfodate'])+',\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['userpopoutheader']+b['dotCN']['userinfodate'])+'\x20{\x0a\x09\x09\x09color:\x20hsla(0,0%,100%,.6);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['userprofiletopsectionnormal']+b['dotCN']['userinfodate'])+'\x20{\x0a\x09\x09\x09color:\x20hsla(216,4%,74%,.6);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['themelight']+'\x20[class*=\x27topSection\x27]'+(b['notCNS']['userprofiletopsectionnormal']+b['dotCN']['userinfodate'])+',\x0a\x09\x09'+b['dotCN']['themedark']+'\x20[class*=\x27topSection\x27]\x20'+b['dotCN']['userinfodate']+'\x20{\x0a\x09\x09\x09color:\x20hsla(0,0%,100%,.6);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCN']['messageavatar']+b['dotCN']['bdfdbbadge'])+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09overflow:\x20visible;\x0a\x09\x09\x09border-radius:\x200;\x0a\x09\x09}\x0a\x0a\x09\x09'+b['dotCN']['favbuttoncontainer']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09}\x0a\x0a\x09\x09'+b['dotCN']['menuhint']+'\x20{\x0a\x09\x09\x09width:\x2042px;\x0a\x09\x09\x09max-width:\x2042px;\x0a\x09\x09\x09margin-left:\x208px;\x0a\x09\x09}\x0a\x0a\x09\x09'+b['dotCN']['cursordefault']+'\x20{\x0a\x09\x09\x09cursor:\x20default\x20!important;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['cursorpointer']+'\x20{\x0a\x09\x09\x09cursor:\x20pointer\x20!important;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['slidergrabber']+':active\x20'+b['dotCN']['sliderbubble']+',\x0a\x09\x09'+b['dotCN']['slidergrabber']+':hover\x20'+b['dotCN']['sliderbubble']+'\x20{\x0a\x09\x09\x09visibility:\x20visible;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sliderbubble']+'\x20{\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09\x09top:\x20-32px;\x0a\x09\x09\x09height:\x2022px;\x0a\x09\x09\x09width:\x20auto;\x0a\x09\x09\x09padding:\x200\x205px;\x0a\x09\x09\x09white-space:\x20pre;\x0a\x09\x09\x09transform:\x20translateX(-50%);\x0a\x09\x09\x09line-height:\x2022px;\x0a\x09\x09\x09text-align:\x20center;\x0a\x09\x09\x09font-weight:\x20600;\x0a\x09\x09\x09font-size:\x2012px;\x0a\x09\x09\x09color:\x20#f6f6f7;\x0a\x09\x09\x09visibility:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sliderbubble']+',\x0a\x09\x09'+b['dotCN']['sliderbubble']+':before\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09left:\x2050%;\x0a\x09\x09\x09pointer-events:\x20none;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sliderbubble']+':before\x20{\x0a\x09\x09\x09border:\x205px\x20solid\x20transparent;\x0a\x09\x09\x09content:\x20\x22\x20\x22;\x0a\x09\x09\x09width:\x200;\x0a\x09\x09\x09height:\x200;\x0a\x09\x09\x09margin-left:\x20-5px;\x0a\x09\x09\x09top:\x20100%;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['sliderbubble'])+'\x20{\x0a\x09\x09\x09background-color:\x20#4f545c;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['sliderbubble'])+':before\x20{\x0a\x09\x09\x09border-top-color:\x20#4f545c;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['sliderbubble'])+'\x20{\x0a\x09\x09\x09background-color:\x20#72767d;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['sliderbubble'])+':before\x20{\x0a\x09\x09\x09border-top-color:\x20#72767d;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['selectwrapper']+b['dotCN']['select'])+'\x20{\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['selectwrapper']+'\x20[class*=\x22css-\x22][class*=\x22-container\x22]\x20>\x20[class*=\x22css-\x22][class*=\x22-menu\x22]\x20{\x0a\x09\x09\x09z-index:\x203;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['hotkeywrapper']+b['dotCN']['hotkeycontainer'])+'\x20{\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['hotkeyresetbutton']+'\x20{\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09margin-left:\x205px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['hotkeyresetbutton']+b['dotCN']['svgicon'])+':hover\x20{\x0a\x09\x09\x09color:\x20'+b['DiscordConstants']['Colors']['STATUS_RED']+';\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['hovercardwrapper']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['hovercardwrapper']+b['dotCN']['hovercard'])+'\x20{\x0a\x09\x09\x09padding:\x2010px\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['hovercardwrapper']+b['dotCN']['hovercard'])+'\x20>\x20*\x20{\x0a\x09\x09\x09z-index:\x201;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNC']['hovercardwrapper']+b['dotCN']['hovercardinner'])+'\x20{\x0a\x09\x09\x09min-height:\x2028px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['hovercardinner']+'\x20{\x0a\x09\x09\x09width:\x20100%;\x0a\x09\x09\x09padding-right:\x205px;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09z-index:\x201;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['hovercardwrapper']+b['dotCN']['hovercardbutton'])+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09top:\x20-6px;\x0a\x09\x09\x09right:\x20-6px;\x0a\x09\x09\x09opacity:\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['hovercardwrapper']+b['dotCNS']['hovercard']+b['dotCN']['hovercardbutton'])+'\x20{\x0a\x09\x09\x09right:\x20-25px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['hovercardwrapper']+':hover\x20'+b['dotCN']['hovercardbutton']+'\x20{\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['table']+'\x20{\x0a\x09\x09\x09width:\x20100%;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheader']+'\x20{\x0a\x09\x09\x09padding:\x200px\x2012px\x208px\x200;\x0a\x09\x09\x09margin-bottom:\x205px;\x0a\x09\x09\x09font-size:\x2012px;\x0a\x09\x09\x09font-weight:\x20600;\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09background-color:\x20var(--background-primary);\x0a\x09\x09\x09border-bottom:\x201px\x20solid\x20var(--background-modifier-accent);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tablestickyheader']+':first-child\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09width:\x20100%;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['modalsub']+b['dotCN']['tablestickyheader'])+':first-child\x20{\x0a\x09\x09\x09padding-left:\x2020px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercell']+'\x20{\x0a\x09\x09\x09text-transform:\x20uppercase;\x0a\x09\x09\x09color:\x20var(--interactive-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercell']+',\x0a\x09\x09'+b['dotCN']['tablebodycell']+'\x20{\x0a\x09\x09\x09border-left:\x201px\x20solid\x20var(--background-modifier-accent);\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09padding:\x200\x2012px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercell']+':first-child,\x0a\x09\x09'+b['dotCN']['tablebodycell']+':first-child\x20{\x0a\x09\x09\x09border-left:\x20none;\x0a\x09\x09\x09padding-left:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercellsorted']+',\x0a\x09\x09'+b['dotCN']['tableheadercellsorted']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-active);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadersorticon']+'\x20{\x0a\x09\x09\x09width:\x2018px;\x0a\x09\x09\x09height:\x2018px;\x0a\x09\x09\x09margin-left:\x204px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tablerow']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09margin-bottom:\x205px;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09color:\x20var(--header-secondary);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tablebodycell']+'\x20{\x0a\x09\x09\x09font-size:\x2015px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['settingstablelist']+b['dotCN']['checkboxcontainer'])+':before\x20{\x0a\x09\x09\x09display:\x20none;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['settingstablelist']+b['dotCN']['settingstableheader'])+'\x20{\x0a\x09\x09\x09min-height:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['settingstablelist']+b['dotCN']['settingstableheaderoption'])+'\x20{\x0a\x09\x09\x09width:\x20unset;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstableheadervertical']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstableheadervertical']+'\x20>\x20span\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09bottom:\x2050%;\x0a\x09\x09\x09right:\x20calc(50%\x20-\x205px);\x0a\x09\x09\x09margin-bottom:\x20-5px;\x0a\x09\x09\x09writing-mode:\x20vertical-rl;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstablecard']+'\x20{\x0a\x09\x09\x09height:\x2060px;\x0a\x09\x09\x09padding:\x200\x2010px;\x0a\x09\x09\x09margin-bottom:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['settingstablecard']+b['dotCN']['settingstablecardlabel'])+'\x20{\x0a\x09\x09\x09padding-right:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['settingstablecard']+b['dotCN']['settingstablecardlabel'])+',\x0a\x09\x09'+(b['dotCNS']['settingstablecard']+b['dotCN']['settingstablecardconfigs'])+'\x20{\x0a\x09\x09\x09margin:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstableheaders']+'\x20{\x0a\x09\x09\x09margin-right:\x2010px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['popoutwrapper']+b['dotCN']['messagespopouttabbarheader'])+'\x20{\x0a\x09\x09\x09flex:\x201\x200\x20auto;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09height:\x20unset;\x0a\x09\x09\x09min-height:\x2056px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['popoutwrapper']+b['dotCNS']['messagespopouttabbarheader']+b['dotCN']['messagespopouttabbar'])+'\x20{\x0a\x09\x09\x09min-height:\x2032px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['charcounter']+'\x20{\x0a\x09\x09\x09color:\x20var(--channels-default);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['inputnumberwrapper']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbuttons']+':hover\x20+\x20'+(b['dotCN']['input']+b['notCN']['inputfocused']+b['notCN']['inputerror']+b['notCN']['inputsuccess']+b['notCN']['inputdisabled'])+':not(:focus)\x20{\x0a\x09\x09\x09border-color:\x20#040405;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapperdefault']+b['dotCN']['input'])+'\x20{\x0a\x09\x09\x09padding-right:\x2025px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrappermini']+b['dotCN']['input'])+'\x20{\x0a\x09\x09\x09padding-left:\x206px;\x0a\x09\x09\x09padding-right:\x2017px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapper']+b['dotCN']['input'])+'::-webkit-inner-spin-button,\x20\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapper']+b['dotCN']['input'])+'::-webkit-outer-spin-button{\x0a\x09\x09\x09-webkit-appearance:\x20none\x20!important;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbuttons']+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20space-around;\x0a\x09\x09\x09height:\x20110%;\x0a\x09\x09\x09top:\x20-2%;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapperdefault']+b['dotCN']['inputnumberbuttons'])+'\x20{\x0a\x09\x09\x09right:\x208px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrappermini']+b['dotCN']['inputnumberbuttons'])+'\x20{\x0a\x09\x09\x09right:\x204px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbutton']+'\x20{\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09border:\x20transparent\x20solid\x205px;\x0a\x09\x09\x09border-top-width:\x202.5px;\x0a\x09\x09\x09display:\x20inline-block;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['inputnumberbutton'])+'\x20{\x0a\x09\x09\x09border-bottom-color:\x20#dcddde;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['inputnumberbutton'])+':hover\x20{\x0a\x09\x09\x09border-bottom-color:\x20#4f545c;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['inputnumberbutton'])+'\x20{\x0a\x09\x09\x09border-bottom-color:\x20#72767d;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['inputnumberbutton'])+':hover\x20{\x0a\x09\x09\x09border-bottom-color:\x20#f6f6f7;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbuttondown']+'\x20{\x0a\x09\x09\x09transform:\x20rotate(180deg);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['guildupperleftbadge']+'\x20{\x0a\x09\x09\x09top:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['guildlowerleftbadge']+'\x20{\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNC']['guildlowerleftbadge']+b['dotCN']['guildupperleftbadge'])+'\x20{\x0a\x09\x09\x09pointer-events:\x20none;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09left:\x200;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['svgiconwrapper']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['svgicon']+'\x20{\x0a\x09\x09\x09color:\x20var(--interactive-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['svgicon']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-hover);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['svgicon']+':active\x20{\x0a\x09\x09\x09color:\x20var(--interactive-active);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['listrowwrapper']+b['dotCN']['listavatar'])+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['sidebarlist']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09flex-direction:\x20row;\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sidebar']+'\x20{\x0a\x09\x09\x09padding:\x208px;\x0a\x09\x09\x09flex:\x200\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sidebarcontent']+'\x20{\x0a\x09\x09\x09padding:\x208px\x200;\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['modalsubinner']+'\x20{\x0a\x09\x09\x09padding-left:\x2016px;\x0a\x09\x09\x09padding-right:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modalnoscroller']+'\x20{\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['modalcontent']+b['dotCN']['modalnoscroller'])+'\x20{\x0a\x09\x09\x09padding-bottom:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modaltabcontent']+'\x20{\x0a\x09\x09\x09margin-top:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['listscroller']+b['dotCN']['modaltabcontent'])+'\x20{\x0a\x09\x09\x09margin-top:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modalheaderhassibling']+'\x20{\x0a\x09\x09\x09padding-bottom:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modalheadershade']+',\x0a\x09\x09'+b['dotCN']['modalsidebar']+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.1);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['modalheadershade'])+',\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['modalsidebar'])+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.2);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['tabbarcontainer']+b['dotCN']['tabbarcontainerbottom'])+'\x20{\x0a\x09\x09\x09border-top:\x20unset;\x0a\x09\x09\x09border-bottom:\x201px\x20solid\x20hsla(0,0%,100%,.1);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['modalwrapper']+b['dotCN']['tabbarcontainer'])+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.1);\x0a\x09\x09\x09border:\x20none;\x0a\x09\x09\x09box-shadow:\x200\x202px\x203px\x200\x20rgba(0,\x200,\x200,\x200.05);\x0a\x09\x09\x09padding-right:\x2012px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['modalwrapper']+b['dotCN']['tabbarcontainer'])+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.2);\x0a\x09\x09\x09box-shadow:\x200\x202px\x203px\x200\x20rgba(0,\x200,\x200,\x200.1);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutright']+b['dotCN']['popoutarrowalignmentmiddle'])+':before\x20{\x0a\x09\x09\x09border-right-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutleft']+b['dotCN']['popoutarrowalignmentmiddle'])+':before\x20{\x0a\x09\x09\x09border-left-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottom']+b['dotCN']['popoutarrowalignmentmiddle'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottom']+b['dotCN']['popoutarrowalignmenttop'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomleft']+b['dotCN']['popoutarrowalignmentmiddle'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomleft']+b['dotCN']['popoutarrowalignmenttop'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomright']+b['dotCN']['popoutarrowalignmentmiddle'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomright']+b['dotCN']['popoutarrowalignmenttop'])+':before\x20{\x0a\x09\x09\x09border-bottom-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popouttop'])+':after,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popouttopleft'])+':after,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popouttopright'])+':after\x20{\x0a\x09\x09\x09border-top-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['popoutthemedpopout']+'\x20{\x0a\x09\x09\x09background-color:\x20#fff;\x0a\x09\x09\x09border:\x201px\x20solid\x20hsla(0,0%,74.9%,.3);\x0a\x09\x09\x09-webkit-box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,.1);\x0a\x09\x09\x09box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,.1);\x0a\x09\x09\x09-webkit-box-sizing:\x20border-box;\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09\x09display:\x20-webkit-box;\x0a\x09\x09\x09display:\x20-ms-flexbox;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09-webkit-box-orient:\x20vertical;\x0a\x09\x09\x09-webkit-box-direction:\x20normal;\x0a\x09\x09\x09-ms-flex-direction:\x20column;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutthemedpopout'])+'\x20{\x0a\x09\x09\x09background-color:\x20#2f3136;\x0a\x09\x09\x09border:\x201px\x20solid\x20rgba(28,36,43,.6);\x0a\x09\x09\x09-webkit-box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,20%);\x0a\x09\x09\x09box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,.2);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['popoutwrapper']+b['dotCNS']['popoutarrowalignmentmiddle']+b['dotCN']['popoutthemedpopout'])+',\x0a\x09\x09'+(b['dotCN']['popoutwrapper']+b['dotCNS']['popoutarrowalignmenttop']+b['dotCN']['popoutthemedpopout'])+'\x20{\x0a\x09\x09\x09border-color:\x20transparent;\x0a\x09\x09}\x0a\x0a\x09\x09#bd-settingspane-container\x20.ui-form-title\x20{\x0a\x09\x09\x09display:\x20inline-block;\x0a\x09\x09}\x0a\x09\x09#bd-settingspane-container\x20'+b['dotCN']['_repofolderbutton']+'\x20{\x0a\x09\x09\x09position:\x20static;\x0a\x09\x09\x09margin-bottom:\x200;\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09\x09display:\x20inline-block;\x0a\x09\x09\x09margin-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09#bd-settingspane-container\x20'+b['dotCN']['_repoupdatebutton']+'[style]\x20{\x0a\x09\x09\x09display:\x20none\x20!important;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['_repolistheader'])+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09\x09padding-top:\x2060px;\x0a\x09\x09\x09padding-right:\x2070px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['_repolistheader'])+'\x20>\x20*\x20{\x0a\x09\x09\x09max-width:\x20740px;\x0a\x09\x09\x09min-width:\x20460px;\x0a\x09\x09\x09padding-left:\x2040px;\x0a\x09\x09\x09padding-right:\x2040px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['settingswindowtoolscontainer'])+'\x20{\x0a\x09\x09\x09margin-top:\x20-140px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['settingswindowcontentregionscroller'])+'\x20{\x0a\x09\x09\x09height:\x20calc(100%\x20-\x20140px);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['settingswindowcontentcolumn'])+'\x20{\x0a\x09\x09\x09padding-top:\x2020px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCNS']['_repoentry']+b['dotCN']['_repocontrols'])+'\x20>\x20*\x20{\x0a\x09\x09\x09margin-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCNS']['_repoentry']+b['dotCN']['_repofooter'])+'\x20>\x20*\x20{\x0a\x09\x09\x09margin-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCNS']['_repoentry']+b['dotCN']['_repofooter'])+'\x20>\x20*:first-child\x20{\x0a\x09\x09\x09margin-left:\x20auto;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['noticewrapper']+'\x20{\x0a\x09\x09\x09transition:\x20height\x200.5s\x20ease\x20!important;\x0a\x09\x09\x09border-radius:\x200\x20!important;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['noticewrapper']+b['dotCN']['noticeplatformicon'])+'\x20{\x0a\x09\x09\x09margin-top:\x20-7px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['noticewrapper']+b['dotCN']['noticeplatformicon'])+'\x20svg\x20{\x0a\x09\x09\x09max-height:\x2028px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['noticesurvey']+'\x20{\x0a\x09\x09\x09background-color:\x20#222;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCN']['tooltip']+b['dotCNS']['tooltipcustom']+b['dotCN']['tooltippointer'])+'\x20{\x0a\x09\x09\x09border-top-color:\x20inherit\x20!important;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['colorpickerswatchsingle']+'\x20{\x0a\x09\x09\x09height:\x2030px;\x0a\x09\x09\x09width:\x2030px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatches']+b['dotCN']['colorpickerswatchesdisabled'])+'\x20{\x0a\x09\x09\x09cursor:\x20no-drop;\x0a\x09\x09\x09filter:\x20grayscale(70%)\x20brightness(50%);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchnocolor']+b['notCN']['colorpickerswatchdefault']+b['notCN']['colorpickerswatchdisabled'])+'\x20{\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchnocolor']+b['notCN']['colorpickerswatchdefault']+b['notCN']['colorpickerswatchdisabled'])+':after\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09top:\x200;\x0a\x09\x09\x09right:\x200;\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09\x09left:\x200;\x0a\x09\x09\x09z-index:\x20-1;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['dotCN']['colorpickerswatchcustom'])+'[style*=\x22background\x22]\x20{\x0a\x09\x09\x09border:\x20none;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchdefault'])+':after\x20{\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['dotCN']['colorpickerswatchcustom']+b['notCN']['colorpickerswatchdefault'])+':after\x20{\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchnocolor']+b['notCN']['colorpickerswatchdefault']+b['notCN']['colorpickerswatchdisabled'])+':after\x20{\x0a\x09\x09\x09background:\x20url(\x27data:image/svg+xml;\x20utf8,\x20\x27)\x20center\x20repeat;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['colorpickeralpha']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09height:\x208px;\x0a\x09\x09\x09margin:\x2016px\x200\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickergradient']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09height:\x208px;\x0a\x09\x09\x09margin:\x2027px\x202px\x202px\x202px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickeralpha']+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09height:\x2016px\x20!important;\x0a\x09\x09\x09width:\x208px\x20!important;\x0a\x09\x09\x09margin-top:\x20-3px\x20!important;\x0a\x09\x09\x09border-radius:\x203px\x20!important;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['colorpickersaturation'])+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09box-shadow:\x20rgb(200,\x20200,\x20200)\x200px\x200px\x200px\x201.5px,\x20rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x201px\x201px\x20inset,\x20rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x201px\x202px\x20!important;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['colorpickerhue'])+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div,\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['colorpickeralpha'])+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09background:\x20rgb(200,\x20200,\x20200)\x20!important;\x0a\x09\x09\x09box-shadow:\x20rgba(0,\x200,\x200,\x201)\x200px\x200px\x202px\x20!important;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickeralpha']+'\x20>\x20div\x20>\x20div,\x0a\x09\x09'+b['dotCN']['colorpickergradient']+'\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickeralpha']+b['dotCN']['colorpickeralphacheckered'])+',\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcheckered'])+',\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div:after\x20{\x0a\x09\x09\x09background:\x20url(\x27data:image/svg+xml;\x20utf8,\x20\x27)\x20center\x20repeat;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div\x20{\x0a\x09\x09\x09height:\x208px;\x0a\x09\x09\x09width:\x208px;\x0a\x09\x09\x09margin-top:\x20-15px;\x0a\x09\x09\x09border:\x201px\x20solid\x20rgb(128,\x20128,\x20128);\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09\x09transform:\x20translateX(-5px);\x0a\x09\x09\x09transform-style:\x20preserve-3d;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div:after\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09top:\x200;\x0a\x09\x09\x09right:\x200;\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09\x09left:\x200;\x0a\x09\x09\x09z-index:\x20-1;\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09\x09transform:\x20translateZ(-1px);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09border:\x203px\x20solid\x20transparent;\x0a\x09\x09\x09border-top-width:\x205px;\x0a\x09\x09\x09border-top-color:\x20rgb(128,\x20128,\x20128);\x0a\x09\x09\x09width:\x200;\x0a\x09\x09\x09height:\x200;\x0a\x09\x09\x09top:\x20100%;\x0a\x09\x09\x09left:\x20-50%;\x0a\x09\x09\x09transform:\x20translateX(5px);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursoredge'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-right-width:\x200;\x0a\x09\x09\x09border-left-width:\x205px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursoredge'])+'\x20~\x20'+(b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursoredge'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-right-width:\x205px;\x0a\x09\x09\x09border-left-width:\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div\x20{\x0a\x09\x09\x09border-color:\x20rgb(55,\x2055,\x2055);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-top-color:\x20rgb(55,\x2055,\x2055);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div\x20{\x0a\x09\x09\x09border-color:\x20rgb(200,\x20200,\x20200);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-top-color:\x20rgb(200,\x20200,\x20200);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickergradientbutton']+'\x20{\x0a\x09\x09\x09color:\x20var(--interactive-normal);\x0a\x09\x09\x09opacity:\x200.6;\x0a\x09\x09\x09margin-left:\x206px;\x0a\x09\x09\x09transition:\x20color\x20200ms\x20ease,\x20opactity\x20200ms\x20ease;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickergradientbutton']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-hover);\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickergradientbutton']+b['dotCN']['colorpickergradientbuttonenabled'])+',\x0a\x09\x09'+(b['dotCN']['colorpickergradientbutton']+b['dotCN']['colorpickergradientbuttonenabled'])+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-active);\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNC']['layermodallarge']+b['dotCN']['modalsizelarge'])+'\x20{\x0a\x09\x09\x09max-height:\x2095vh;\x0a\x09\x09}\x0a\x09\x09@media\x20only\x20screen\x20and\x20(max-height:\x20900px)\x20{\x0a\x09\x09\x09'+(b['dotCNC']['layermodalmedium']+b['dotCN']['modalsizemedium'])+'\x20{\x0a\x09\x09\x09\x09max-height:\x2075vh;\x0a\x09\x09\x09}\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09#pluginNotice\x20.notice-message\x20{\x0a\x09\x09\x09white-space:\x20pre;\x0a\x09\x09}\x0a\x09\x09#pluginNotice\x20#outdatedPlugins\x20span\x20{\x0a\x09\x09\x09-webkit-app-region:\x20no-drag;\x0a\x09\x09\x09color:\x20#FFF;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09}\x0a\x09\x09#pluginNotice\x20#outdatedPlugins\x20span:hover\x20{\x0a\x09\x09\x09text-decoration:\x20underline;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09.toasts\x20{\x0a\x09\x09\x09position:\x20fixed;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09top:\x200;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20flex-end;\x0a\x09\x09\x09pointer-events:\x20none;\x0a\x09\x09\x09z-index:\x204000;\x0a\x09\x09}\x0a\x09\x09@keyframes\x20toast-up\x20{\x0a\x09\x09\x09from\x20{\x0a\x09\x09\x09\x09transform:\x20translateY(0);\x0a\x09\x09\x09\x09opacity:\x200;\x0a\x09\x09\x09}\x0a\x09\x09}\x0a\x09\x09.toast\x20{\x0a\x09\x09\x09animation:\x20toast-up\x20300ms\x20ease;\x0a\x09\x09\x09transform:\x20translateY(-10px);\x0a\x09\x09\x09background-color:\x20#36393F;\x0a\x09\x09\x09padding:\x2010px;\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09\x09box-shadow:\x200\x200\x200\x201px\x20rgba(32,34,37,.6),\x200\x202px\x2010px\x200\x20rgba(0,0,0,.2);\x0a\x09\x09\x09font-weight:\x20500;\x0a\x09\x09\x09color:\x20#fff;\x0a\x09\x09\x09user-select:\x20text;\x0a\x09\x09\x09font-size:\x2014px;\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09\x09margin-top:\x2010px;\x0a\x09\x09\x09pointer-events:\x20auto;\x0a\x09\x09}\x0a\x09\x09@keyframes\x20toast-down\x20{\x0a\x09\x09\x09to\x20{\x0a\x09\x09\x09\x09transform:\x20translateY(0px);\x0a\x09\x09\x09\x09opacity:\x200;\x0a\x09\x09\x09}\x0a\x09\x09}\x0a\x09\x09.toast.closing\x20{\x0a\x09\x09\x09animation:\x20toast-down\x20200ms\x20ease;\x0a\x09\x09\x09animation-fill-mode:\x20forwards;\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09\x09transform:\x20translateY(-10px);\x0a\x09\x09}\x0a\x09\x09.toast\x20.toast-inner\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09}\x0a\x09\x09.toast\x20.toast-avatar\x20{\x0a\x09\x09\x09margin-right:\x205px;\x0a\x09\x09\x09width:\x2025px;\x0a\x09\x09\x09height:\x2025px;\x0a\x09\x09\x09flex:\x200\x200\x20auto;\x0a\x09\x09\x09background-size:\x20cover;\x0a\x09\x09\x09background-position:\x20center;\x0a\x09\x09\x09border-radius:\x2050%;\x0a\x09\x09}\x0a\x09\x09.toast.icon\x20{\x0a\x09\x09\x09padding-left:\x2030px;\x0a\x09\x09\x09background-position:\x206px\x2050%;\x0a\x09\x09\x09background-size:\x2020px\x2020px;\x0a\x09\x09\x09background-repeat:\x20no-repeat;\x0a\x09\x09}\x0a\x09\x09.toast.toast-brand\x20{\x0a\x09\x09\x09background-color:\x20#7289DA;\x0a\x09\x09}\x0a\x09\x09.toast.toast-brand.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjI3IDI3IDExNSAxMTUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDkwIDkwOyI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xMTEuMywxMjQuMWMwLDAtMy40LTQuMS02LjMtNy43YzEyLjYtMy41LDE3LjQtMTEuMywxNy40LTExLjMgYy00LDIuNi03LjcsNC40LTExLjEsNS42Yy00LjgsMi05LjUsMy4zLTE0LDQuMWMtOS4yLDEuNy0xNy42LDEuMy0yNC45LTAuMWMtNS41LTEtMTAuMi0yLjUtMTQuMS00LjFjLTIuMi0wLjgtNC42LTEuOS03LjEtMy4zIGMtMC4zLTAuMi0wLjYtMC4zLTAuOS0wLjVjLTAuMS0wLjEtMC4zLTAuMi0wLjQtMC4yYy0xLjctMS0yLjYtMS42LTIuNi0xLjZzNC42LDcuNiwxNi44LDExLjJjLTIuOSwzLjYtNi40LDcuOS02LjQsNy45IGMtMjEuMi0wLjYtMjkuMy0xNC41LTI5LjMtMTQuNWMwLTMwLjYsMTMuOC01NS40LDEzLjgtNTUuNGMxMy44LTEwLjMsMjYuOS0xMCwyNi45LTEwbDEsMS4xQzUyLjgsNTAuMyw0NSw1Ny45LDQ1LDU3LjkgczIuMS0xLjIsNS43LTIuN2MxMC4zLTQuNSwxOC40LTUuNywyMS44LTZjMC41LTAuMSwxLjEtMC4yLDEuNi0wLjJjNS45LTAuNywxMi41LTAuOSwxOS40LTAuMmM5LjEsMSwxOC45LDMuNywyOC45LDkuMSBjMCwwLTcuNS03LjItMjMuOS0xMi4xbDEuMy0xLjVjMCwwLDEzLjEtMC4zLDI2LjksMTBjMCwwLDEzLjgsMjQuOCwxMy44LDU1LjRDMTQwLjYsMTA5LjYsMTMyLjUsMTIzLjUsMTExLjMsMTI0LjF6IE0xMDEuNyw3OS43Yy01LjQsMC05LjgsNC43LTkuOCwxMC41YzAsNS44LDQuNCwxMC41LDkuOCwxMC41YzUuNCwwLDkuOC00LjcsOS44LTEwLjUgQzExMS41LDg0LjQsMTA3LjEsNzkuNywxMDEuNyw3OS43eiBNNjYuNyw3OS43Yy01LjQsMC05LjgsNC43LTkuOCwxMC41YzAsNS44LDQuNCwxMC41LDkuOCwxMC41YzUuNCwwLDkuOC00LjcsOS44LTEwLjUgQzc2LjUsODQuNCw3Mi4xLDc5LjcsNjYuNyw3OS43eiIvPjwvc3ZnPg==);\x0a\x09\x09}\x0a\x09\x09.toast.toast-danger,\x20\x0a\x09\x09.toast.toast-error\x20{\x0a\x09\x09\x09background-color:\x20#F04747;\x0a\x09\x09}\x0a\x09\x09.toast.toast-danger.icon,\x0a\x09\x09.toast.toast-error.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTEyIDJDNi40NyAyIDIgNi40NyAyIDEyczQuNDcgMTAgMTAgMTAgMTAtNC40NyAxMC0xMFMxNy41MyAyIDEyIDJ6bTUgMTMuNTlMMTUuNTkgMTcgMTIgMTMuNDEgOC40MSAxNyA3IDE1LjU5IDEwLjU5IDEyIDcgOC40MSA4LjQxIDcgMTIgMTAuNTkgMTUuNTkgNyAxNyA4LjQxIDEzLjQxIDEyIDE3IDE1LjU5eiIvPiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+);\x0a\x09\x09}\x0a\x09\x09.toast.toast-default\x20{\x0a\x09\x09\x09background-color:\x20#F26522;\x0a\x09\x09}\x0a\x09\x09.toast.toast-default.icon\x20{\x0a\x09\x09\x09padding-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09.toast.toast-facebook\x20{\x0a\x09\x09\x09background-color:\x20#355089;\x0a\x09\x09}\x0a\x09\x09.toast.toast-facebook.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9Ii01IC01IDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDkwIDkwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBhdGggaWQ9IkZhY2Vib29rX194MjhfYWx0X3gyOV8iIGQ9Ik05MCwxNS4wMDFDOTAsNy4xMTksODIuODg0LDAsNzUsMEgxNUM3LjExNiwwLDAsNy4xMTksMCwxNS4wMDF2NTkuOTk4ICAgQzAsODIuODgxLDcuMTE2LDkwLDE1LjAwMSw5MEg0NVY1NkgzNFY0MWgxMXYtNS44NDRDNDUsMjUuMDc3LDUyLjU2OCwxNiw2MS44NzUsMTZINzR2MTVINjEuODc1QzYwLjU0OCwzMSw1OSwzMi42MTEsNTksMzUuMDI0VjQxICAgaDE1djE1SDU5djM0aDE2YzcuODg0LDAsMTUtNy4xMTksMTUtMTUuMDAxVjE1LjAwMXoiIGZpbGw9IndoaXRlIi8+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjwvc3ZnPg==);\x0a\x09\x09}\x0a\x09\x09.toast.toast-info\x20{\x0a\x09\x09\x09background-color:\x20#4A90E2;\x0a\x09\x09}\x0a\x09\x09.toast.toast-info.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtNmgydjZ6bTAtOGgtMlY3aDJ2MnoiLz48L3N2Zz4=);\x0a\x09\x09}\x0a\x09\x09.toast.toast-premium\x20{\x0a\x09\x09\x09background-color:\x20#202225;\x0a\x09\x09}\x0a\x09\x09.toast.toast-premium.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iMjYiPiAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOTYuMjgyNiA4LjYwMjc4ODI0bC0xLjIxNTUgOC4zOTAzNTI5NmMtLjI3NzUgMS45ODI2Mjc0LTIuNDY1NSAyLjkwMzMzMzMtNC40NzkgMi45MDMzMzMzLTEuODc1IDAtMy43MTU1LS45MjA3MDU5LTMuNDcyNS0yLjcyNTkyMTZsMS4yMTU1LTguNTY3NzY0NjZjLjI3NzUtMS44NzY1ODgyNCAyLjQ2NTUtMi44MzI0NzA2IDQuNDc5LTIuODMyNDcwNiAyLjAxNCAwIDMuNzUuOTU1ODgyMzYgMy40NzI1IDIuODMyNDcwNk05My43NzIxLjAwMzkyNTVsLjAwMDUtLjAwNDA3ODQ0aC0xMy4wODRjLS4zMzQgMC0uNjE4LjI1MDMxMzcyLS42NjYuNTg3Mjk0MTJsLS42MzY1IDQuNDMyMjM1M2MtLjA1OTUuNDE0NDcwNTguMjU2Ljc4NjExNzY0LjY2NjUuNzg2MTE3NjRoMi4zODk1Yy4yNCAwIC40MDQ1LjI0OTgwMzkyLjMxLjQ3NTY0NzA2LS4yOTguNzEyMTk2MDctLjUxNTUgMS40ODYwNzg0My0uNjM2IDIuMzIxNjQ3MDZsLTEuMjE1NSA4LjU2Nzc2NDY2Yy0uNzk5IDUuNzM1Mjk0MiAzLjg4OSA4LjYwMjQzMTQgOC45OTMgOC42MDI0MzE0IDUuMzQ3NSAwIDEwLjU5MDUtMi44NjcxMzcyIDExLjM4OS04LjYwMjQzMTRsMS4yMTUtOC41Njc3NjQ2NmMuNzgzLTUuNjIyMTE3NjUtMy43Mzk1LTguNDg4MjM1My04LjcyNTUtOC41OTg4NjI3NW0tNzguNTk1MjUgMTEuNzI4NjUxbC4wNjcgNC4xNTg5ODA0Yy4wMDE1LjA4NTEzNzItLjA1NS4xNjA1ODgyLS4xMzYuMTgxNDkwMmgtLjAwMDVsLTEuMzg1NS01LjAxNjQ3MDZjLS4wMDItLjAwNzY0NzEtLjAwNS0uMDE0Nzg0My0uMDA4LS4wMjI0MzE0TDkuNDE0MzUuNzcwNzcyNTNjLS4xMDYtLjI1Mjg2Mjc1LS4zNDk1LS40MTY1MDk4LS42MTk1LS40MTY1MDk4aC00Ljg3MjVjLS4zMzYgMC0uNjIwNS4yNTIzNTI5NC0uNjY3LjU5MTM3MjU0TC4wMDY4NSAyNC42MzcyNDMxYy0uMDU3LjQxMzQ1MS4yNTc1Ljc4MjAzOTMuNjY2NS43ODIwMzkzaDQuODU0Yy4zMzY1IDAgLjYyMTUtLjI1MzM3MjYuNjY3NS0uNTkyOTAybDEuMjcyLTkuNDEyNTA5OGMuMDAxNS0uMDA5MTc2NS4wMDItLjAxODM1My4wMDItLjAyNzUyOTRsLS4wNjk1LTQuODM2NTA5OC4xMzg1LS4wMzUxNzY1IDEuNDU1NSA1LjAxNjQ3MDZjLjAwMjUuMDA3MTM3Mi4wMDUuMDEzNzY0Ny4wMDc1LjAyMDkwMmw0LjAyMTUgOS40NTM4MDM5Yy4xMDY1LjI1MDgyMzUuMzQ5NS40MTM0NTEuNjE3NS40MTM0NTFoNS4yNTY1Yy4zMzYgMCAuNjIwNS0uMjUyMzUzLjY2Ny0uNTkxODgyNGwzLjI0OTUtMjMuNjkxNjA3ODRjLjA1NjUtLjQxMjk0MTE4LS4yNTgtLjc4MTUyOTQyLS42NjctLjc4MTUyOTQyaC00LjgyMDVjLS4zMzYgMC0uNjIwNS4yNTE4NDMxNC0uNjY3LjU5MDg2Mjc1bC0xLjQ4IDEwLjc1ODkwMmMtLjAwMS4wMDkxNzY0LS4wMDE1LjAxODg2MjctLjAwMTUuMDI4NTQ5bTkuMzk0IDEzLjY4NjYwMzloNC44NTVjLjMzNiAwIC42MjA1LS4yNTIzNTI5LjY2Ny0uNTkxMzcyNmwzLjI0OS0yMy42OTIxMTc2Yy4wNTY1LS40MTI5NDEyLS4yNTgtLjc4MTUyOTQ0LS42NjctLjc4MTUyOTQ0aC00Ljg1NWMtLjMzNiAwLS42MjA1LjI1MjM1Mjk0LS42NjcuNTkxMzcyNTVsLTMuMjQ5IDIzLjY5MjExNzY4Yy0uMDU2NS40MTI5NDEyLjI1OC43ODE1Mjk0LjY2Ny43ODE1Mjk0TTM2LjYyMTE1LjkwNjA3NDVsLS42MzYgNC40MzIyMzUzYy0uMDU5NS40MTQ0NzA2LjI1NTUuNzg2MTE3NjUuNjY2Ljc4NjExNzY1aDUuMDgwNWMuNDA4NSAwIC43MjMuMzY3NTY4NjMuNjY3NS43ODA1MDk4bC0yLjM5MzUgMTcuNzM0MDM5MjVjLS4wNTU1LjQxMjQzMTMuMjU4NS43OC42NjcuNzhoNC45MjU1Yy4zMzY1IDAgLjYyMS0uMjUyODYyOC42NjctLjU5MjkwMmwyLjQ0NC0xOC4xMDg3NDUxYy4wNDYtLjMzOTUyOTQuMzMwNS0uNTkyOTAxOTUuNjY3LS41OTI5MDE5NWg1LjQ2MjVjLjMzNCAwIC42MTgtLjI0OTgwMzkyLjY2Ni0uNTg3Mjk0MTJsLjYzNy00LjQzMjIzNTNjLjA1OTUtLjQxNDQ3MDU4LS4yNTU1LS43ODYxMTc2NC0uNjY2NS0uNzg2MTE3NjRoLTE4LjE4NzVjLS4zMzQ1IDAtLjYxOC4yNTAzMTM3LS42NjY1LjU4NzI5NDFNNzEuMDM4NyA5LjA5ODM2ODZjLS4xNzQgMS40NTE0MTE3Ny0xLjI4NDUgMi45MDI4MjM1Ny0zLjE5NSAyLjkwMjgyMzU3aC0yLjg2OTVjLS40MSAwLS43MjQ1LS4zNjk2MDc5LS42NjctLjc4MzA1ODlsLjYwNzUtNC4zNjE4ODIzM2MuMDQ3LS4zMzg1MDk4LjMzMTUtLjU5MDM1Mjk0LjY2Ny0uNTkwMzUyOTRoMy4wNjFjMS44NDA1IDAgMi41Njk1IDEuMzEwMTk2MDggMi4zOTYgMi44MzI0NzA2TTY5LjMzNzIuMzU0MjExNzZoLTkuMjQwNWMtLjMzNiAwLS42MjA1LjI1MjM1Mjk0LS42NjcuNTkxMzcyNTRsLTMuMjQ5IDIzLjY5MjExNzdjLS4wNTY1LjQxMjk0MTEuMjU4Ljc4MTUyOTQuNjY3Ljc4MTUyOTRoNC45MjM1Yy4zMzY1IDAgLjYyMTUtLjI1MzM3MjYuNjY3NS0uNTkyOTAybC45NTYtNy4wNzY1ODgyYy4wMjMtLjE2OTc2NDcuMTY1LS4yOTYxOTYxLjMzMzUtLjI5NjE5NjFoLjYzM2MuMTE0NSAwIC4yMjE1LjA1OTY0NzEuMjgzNS4xNTgwMzkybDQuNzAyIDcuNDkxMDU4OGMuMTI0LjE5NzI5NDIuMzM3NS4zMTY1ODgzLjU2NzUuMzE2NTg4M2g2LjA4MWMuNTQ1IDAgLjg2NDUtLjYyNTAxOTYuNTUyLTEuMDgwMjc0NWwtNC45MzQ1LTcuMTkxODA0Yy0uMTE4LS4xNzI4MjM1LS4wNTc1LS40MTI0MzEzLjEyOC0uNTA0NzA1OCAzLjE1MDUtMS41Njk2ODYzIDQuOTc5NS0zLjE3ODExNzcgNS41ODMtNy42NTAxMTc3LjY5MzUtNS44NzcwMTk2LTIuOTE3LTguNjM4MTE3NjMtNy45ODY1LTguNjM4MTE3NjMiLz48L3N2Zz4=);\x0a\x09\x09\x09background-size:\x2063px\x2016px;\x0a\x09\x09\x09padding-left:\x2073px;\x0a\x09\x09}\x0a\x09\x09.toast.toast-spotify\x20{\x0a\x09\x09\x09background-color:\x20#1DB954;\x0a\x09\x09}\x0a\x09\x09.toast.toast-spotify.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUwOC41MiA1MDguNTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUwOC41MiA1MDguNTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4Ij4KPGc+Cgk8Zz4KCQk8Zz4KCQkJPHBhdGggZD0iTTI1NC4yNiwwQzExMy44NDUsMCwwLDExMy44NDUsMCwyNTQuMjZzMTEzLjg0NSwyNTQuMjYsMjU0LjI2LDI1NC4yNiAgICAgczI1NC4yNi0xMTMuODQ1LDI1NC4yNi0yNTQuMjZTMzk0LjY3NSwwLDI1NC4yNiwweiBNMzcxLjY5Niw0MDMuMjg4Yy0zLjE3OCw1LjgxNi05LjEyMiw5LjA1OC0xNS4yODcsOS4wNTggICAgIGMtMi44NiwwLTUuNzIxLTAuNjY3LTguNDIyLTIuMTI5Yy00MC43MTMtMjIuNDM4LTg2Ljk1Ny0zNC4yOTMtMTMzLjY3Ny0zNC4yOTNjLTI4LDAtNTUuNjUxLDQuMTYzLTgyLjEyNiwxMi4zNjMgICAgIGMtOS4yMTcsMi44Ni0xOS4wMDYtMi4yODgtMjEuODM1LTExLjUzN2MtMi44Ni05LjE4NSwyLjI4OC0yOC43LDExLjUzNy0zMS41OTJjMjkuODQ0LTkuMjQ5LDYwLjk1OS0xMy45MjEsOTIuNDU1LTEzLjkyMSAgICAgYzUyLjU2OCwwLDEwNC42NiwxMy4zNDksMTUwLjUyMiwzOC42MTZDMzczLjMxNywzNzQuNDYxLDM3Ni40LDM5NC44NjYsMzcxLjY5Niw0MDMuMjg4eiBNNDA0LjAxOSwzMDcuNTI3ICAgICBjLTMuNjIzLDcuMDI0LTEwLjc0MiwxOC4zMzgtMTguMDg0LDE4LjMzOGMtMy4yMSwwLTYuMzg4LTAuNjk5LTkuMzc2LTIuMzJjLTUwLjQ3MS0yNi4xODktMTA1LjA0MS0zOS40NzQtMTYyLjIxOC0zOS40NzQgICAgIGMtMzEuNDk2LDAtNjIuNzcsNC4xMzItOTIuOTY0LDEyLjQ1OWMtMTAuOTAxLDIuOTU2LTIyLjA4OS0zLjQwMS0yNS4wNDUtMTQuMzAyYy0yLjkyNC0xMC45MDEsMy40NjQtMjkuNDMxLDE0LjMzNC0zMi4zODYgICAgIGMzMy42ODktOS4xODUsNjguNTg3LTEzLjg1NywxMDMuNjc0LTEzLjg1N2M2Mi44OTgsMCwxMjUuNDQ1LDE1LjI1NiwxODAuOTM4LDQ0LjExNCAgICAgQzQwNS4yOSwyODUuMjQ4LDQwOS4xOTksMjk3LjUxNiw0MDQuMDE5LDMwNy41Mjd6IE00MTcuNTI2LDIzMC44MzZjLTMuNDY0LDAtNy4wMjQtMC43OTUtMTAuMzYxLTIuNDQ3ICAgICBjLTYwLjIyOC0zMC4wMzQtMTI1LjA5Ni00NS4yMjYtMTkyLjc2MS00NS4yMjZjLTM1LjI3OSwwLTcwLjQzLDQuMjkxLTEwNC41MzMsMTIuNzEzYy0xMi41MjIsMy4wODMtMjUuMTQtNC41MTMtMjguMjIzLTE3LjAwNCAgICAgYy0zLjExNS0xMi40NTksNC41MTMtMjcuNTU1LDE3LjAwNC0zMC42MzhjMzcuNzI2LTkuMzc2LDc2LjY1OS0xNC4xMTEsMTE1LjcyLTE0LjExMWM3NC45NzUsMCwxNDYuODY3LDE2Ljg3NywyMTMuNTc4LDUwLjEyMSAgICAgYzExLjUzNyw1Ljc1MywxNi4yNDEsMTkuNzM3LDEwLjQ4OCwzMS4yNDJDNDM0LjMwOCwyMjMuNjUzLDQyNi4xMDgsMjMwLjgzNiw0MTcuNTI2LDIzMC44MzZ6IiBmaWxsPSIjRkZGRkZGIi8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);\x0a\x09\x09}\x0a\x09\x09.toast.toast-streamermode\x20{\x0a\x09\x09\x09background-color:\x20#593695;\x0a\x09\x09}\x0a\x09\x09.toast.toast-streamermode.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSItMjUgLTI1IDU0MiA1NDIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ5MiA0OTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiPjxwYXRoIGQ9Ik00ODguMywxNDIuNXYyMDMuMWMwLDE1LjctMTcsMjUuNS0zMC42LDE3LjdsLTg0LjYtNDguOHYxMy45YzAsNDEuOC0zMy45LDc1LjctNzUuNyw3NS43SDc1LjdDMzMuOSw0MDQuMSwwLDM3MC4yLDAsMzI4LjQgICBWMTU5LjljMC00MS44LDMzLjktNzUuNyw3NS43LTc1LjdoMjIxLjhjNDEuOCwwLDc1LjcsMzMuOSw3NS43LDc1Ljd2MTMuOWw4NC42LTQ4LjhDNDcxLjMsMTE3LDQ4OC4zLDEyNi45LDQ4OC4zLDE0Mi41eiIgZmlsbD0iI0ZGRkZGRiIvPjwvc3ZnPg==);\x0a\x09\x09}\x0a\x09\x09.toast.toast-success\x20{\x0a\x09\x09\x09background-color:\x20#43B581;\x0a\x09\x09}\x0a\x09\x09.toast.toast-success.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=);\x0a\x09\x09}\x0a\x09\x09.toast.toast-warning,\x0a\x09\x09.toast.toast-warn\x20{\x0a\x09\x09\x09background-color:\x20#FFA600;\x0a\x09\x09}\x0a\x09\x09.toast.toast-warning.icon,\x0a\x09\x09.toast.toast-warn.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMSAyMWgyMkwxMiAyIDEgMjF6bTEyLTNoLTJ2LTJoMnYyem0wLTRoLTJ2LTRoMnY0eiIvPjwvc3ZnPg==);\x0a\x09\x09}');var B={};b['ListenerUtils']['add'](b,document,'keydown.BDFDBPressedKeys',M=>{if(!b['InternalData']['pressedKeys']['includes'](M['which'])){b['TimeUtils']['clear'](B[M['which']]);b['InternalData']['pressedKeys']['push'](M['which']);B[M['which']]=b['TimeUtils']['timeout'](N=>{b['ArrayUtils']['remove'](b['InternalData']['pressedKeys'],M['which'],!![]);},0xea60);}});b['ListenerUtils']['add'](b,document,'keyup.BDFDBPressedKeys',M=>{b['TimeUtils']['clear'](B[M['which']]);b['ArrayUtils']['remove'](b['InternalData']['pressedKeys'],M['which'],!![]);});b['ListenerUtils']['add'](b,document,'mousedown.BDFDBMousePosition',M=>{b['InternalData']['mousePosition']=M;});b['ListenerUtils']['add'](b,window,'focus.BDFDBPressedKeysReset',M=>{b['InternalData']['pressedKeys']=[];});c['patchedModules']={'before':{'MessageContent':'type'},'after':{'DiscordTag':'default','Mention':'default','Message':'default','MessageHeader':'default','MemberListItem':['componentDidMount','componentDidUpdate'],'PrivateChannel':['componentDidMount','componentDidUpdate'],'UserPopout':['componentDidMount','componentDidUpdate'],'UserProfile':['componentDidMount','componentDidUpdate'],'V2C_ContentColumn':'render'}};c['processV2CContentColumn']=function(M){if(window['PluginUpdates']&&window['PluginUpdates']['plugins']&&typeof M['instance']['props']['title']=='string'&&M['instance']['props']['title']['toUpperCase']()['indexOf']('PLUGINS')==0x0){let [N,O]=b['ReactUtils']['findParent'](M['returnvalue'],{'key':'folder-button'});if(O>-0x1)N['splice'](O+0x1,0x0,b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':'Only\x20checks\x20for\x20updates\x20of\x20plugins,\x20which\x20support\x20the\x20updatecheck.\x20Rightclick\x20for\x20a\x20list\x20of\x20supported\x20plugins.\x20(Listed\x20≠\x20Outdated)','tooltipConfig':{'selector':'update-button-tooltip','style':'max-width:\x20420px'},'children':b['ReactUtils']['createElement']('button',{'className':b['disCNS']['_repobutton']+b['disCN']['_repofolderbutton']+'\x20bd-updatebtn','onClick':P=>{let Q=b['NotificationUtils']['toast']('Plugin\x20update\x20check\x20in\x20progress.',{'type':'info','timeout':0x0});b['PluginUtils']['checkAllUpdates']()['then'](R=>{Q['close']();if(R>0x0)b['NotificationUtils']['toast']('Plugin\x20update\x20check\x20complete.\x20'+R+'\x20outdated!',{'type':'error'});else b['NotificationUtils']['toast']('Plugin\x20update\x20check\x20complete.',{'type':'success'});});},'onContextMenu':P=>{if(window['PluginUpdates']&&window['PluginUpdates']['plugins']&&!document['querySelector']('.update-list-tooltip'))b['TooltipUtils']['create'](P['currentTarget'],b['ObjectUtils']['toArray'](window['PluginUpdates']['plugins'])['map'](Q=>Q['name'])['filter'](Q=>Q)['sort']()['join'](',\x20'),{'type':'bottom','selector':'update-list-tooltip','style':'max-width:\x20420px'});},'children':'Check\x20for\x20Updates'})}));}};let C=b['ModuleUtils']['findByProperties']('MessageTimestamp',![]);if(C)c['processMessage']=function(M){if(b['ReactUtils']['getValue'](M,'instance.props.childrenHeader.type.type.name')&&b['ReactUtils']['getValue'](M,'instance.props.childrenHeader.props.message')){M['instance']['props']['childrenHeader']['type']=C['exports']['default'];}};const BDFDB_Patrons_T2=['363785301195358221','106938698938978304'];const BDFDB_Patrons_T3=['443943393660239872','329018006371827713','562008872467038230'];const BDFDB_Patrons_T3_hasBadge=['562008872467038230'];c['_processAvatarRender']=function(M,N){if(b['ReactUtils']['isValidElement'](N)&&b['ObjectUtils']['is'](M)){N['props']['user_by_BDFDB']=M['id'];let O='',P=b['DOMUtils']['formatClassName']((N['props']['className']||'')['replace'](b['disCN']['avatar'],''));if(BDFDB_Patrons_T2['includes'](M['id'])){O='BDFDB\x20Patron';P=b['DOMUtils']['formatClassName'](P,g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter']);}if(BDFDB_Patrons_T3['includes'](M['id'])){O='BDFDB\x20Patron\x20Level\x202';P=b['DOMUtils']['formatClassName'](P,g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter'],g['showSupportBadges']&&BDFDB_Patrons_T3_hasBadge['includes'](M['id'])&&b['disCN']['bdfdbsupportercustom']);}if(M['id']==e){O='Theme\x20Developer';P=b['DOMUtils']['formatClassName'](P,b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbdev']);}if(O){delete N['props']['user_by_BDFDB'];if(N['type']=='img')N=b['ReactUtils']['createElement'](x['LibraryComponents']['AvatarComponents']['default'],Object['assign']({},N['props'],{'size':b['LibraryComponents']['AvatarComponents']['Sizes']['SIZE_40']}));delete N['props']['className'];N=b['ReactUtils']['createElement']('div',{'className':P,'style':{'borderRadius':0x0,'overflow':'visible'},'custombadge_id':BDFDB_Patrons_T3_hasBadge['includes'](M['id'])?M['id']:null,'user_by_BDFDB':M['id'],'children':[N]});if(g['showSupportBadges'])N['props']['children']['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':O,'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['bdfdbbadge']})}));return N;}}};c['_processAvatarMount']=function(M,N,O='top'){if(Node['prototype']['isPrototypeOf'](N)&&b['ObjectUtils']['is'](M)){N['setAttribute']('user_by_BDFDB',M['id']);let P='';if(BDFDB_Patrons_T2['includes'](M['id'])&&g['showSupportBadges']){P='BDFDB\x20Patron';N['className']=b['DOMUtils']['formatClassName'](N['className'],g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter']);}else if(BDFDB_Patrons_T3['includes'](M['id'])&&g['showSupportBadges']){P='BDFDB\x20Patron\x20Level\x202';N['className']=b['DOMUtils']['formatClassName'](N['className'],g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter'],g['showSupportBadges']&&BDFDB_Patrons_T3_hasBadge['includes'](M['id'])&&b['disCN']['bdfdbsupportercustom']);}else if(M['id']==e){P='Theme\x20Developer';N['className']=b['DOMUtils']['formatClassName'](N['className'],b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbdev']);}if(P&&!N['querySelector'](b['dotCN']['bdfdbbadge'])){if(g['showSupportBadges']){if(BDFDB_Patrons_T3_hasBadge['includes'](M['id']))N['setAttribute']('custombadge_id',M['id']);let Q=document['createElement']('div');Q['className']=b['disCN']['bdfdbbadge'];Q['addEventListener']('mouseenter',R=>{b['TooltipUtils']['create'](Q,P,{'position':O});});N['style']['setProperty']('position','relative');N['style']['setProperty']('overflow','visible');N['style']['setProperty']('border-radius',0x0);N['appendChild'](Q);}}}};c['processMessageHeader']=function(M){if(M['instance']['props']['message']&&M['instance']['props']['message']['author']){let N=b['ReactUtils']['getValue'](M,'returnvalue.props.children.0');if(N&&N['props']&&typeof N['props']['children']=='function'){let O=N['props']['children'];N['props']['children']=(...P)=>{let Q=O(...P);return c['_processAvatarRender'](M['instance']['props']['message']['author'],Q)||Q;};}else if(N&&N['type']=='img')M['returnvalue']['props']['children'][0x0]=c['_processAvatarRender'](M['instance']['props']['message']['author'],N)||N;}};c['processMemberListItem']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['avatarwrapper']));};c['processPrivateChannel']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['avatarwrapper']));};c['processUserPopout']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['userpopoutavatarwrapper']));};c['processUserProfile']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['avatarwrapper']));};c['processDiscordTag']=function(M){if(M['instance']&&M['instance']['props']&&M['instance']['props']['user']&&M['returnvalue'])M['returnvalue']['props']['user']=M['instance']['props']['user'];};c['processMessageContent']=function(M){if(b['ArrayUtils']['is'](M['instance']['props']['content']))for(let N of M['instance']['props']['content'])c['_processMessageContentEle'](N,M['instance']['props']['message']);};c['_processMessageContentEle']=function(M,N){if(b['ReactUtils']['isValidElement'](M)){if(typeof M['props']['render']=='function'&&b['ReactUtils']['getValue'](M,'props.children.type.displayName')=='Mention'){let O=b['ReactUtils']['getValue'](M['props']['render'](),'props.userId');if(O&&!M['props']['children']['props']['userId'])M['props']['children']['props']['userId']=O;if(N&&N['mentioned'])M['props']['children']['props']['mentioned']=!![];}else if(b['ReactUtils']['isValidElement'](M['props']['children']))c['_processMessageContentEle'](M['props']['children'],N);else if(b['ArrayUtils']['is'](M['props']['children']))for(let P of M['props']['children'])c['_processMessageContentEle'](P,N);}else if(b['ArrayUtils']['is'](M))for(let Q of M)c['_processMessageContentEle'](Q,N);};c['processMention']=function(M){delete M['returnvalue']['props']['userId'];};const D=['UserSettingsCog','User','Developer','Slate','GuildFolder','GroupDM','SystemMessage','Message','Native','Channel','Guild'];const E=b['ArrayUtils']['removeCopies']([]['concat'](D['map'](M=>M+'ContextMenu'),['MessageOptionContextMenu','MessageOptionToolbar']));c['addContextListeners']=function(M){M=M==b&&c||M;for(let N of E)if(typeof M['on'+N]==='function'){b['InternalData']['componentPatchQueries'][N]['query']['push'](M);b['InternalData']['componentPatchQueries'][N]['query']=b['ArrayUtils']['removeCopies'](b['InternalData']['componentPatchQueries'][N]['query']);b['InternalData']['componentPatchQueries'][N]['query']['sort']((O,P)=>{return O['name']P['name']?0x1:0x0;});for(let O of b['InternalData']['componentPatchQueries'][N]['modules'])c['patchContextMenuForPlugin'](M,N,O);}};c['patchContextMenuForPlugin']=function(M,N,O){M=M==b&&c||M;if(O&&O['exports']&&O['exports']['default'])b['ModuleUtils']['patch'](M,O['exports'],'default',{'after':P=>{if(P['returnValue']&&typeof M['on'+N]==='function')M['on'+N]({'instance':{'props':P['methodArguments'][0x0]},'returnvalue':P['returnValue'],'methodname':'default','type':O['exports']['default']['displayName']});}});};c['executeExtraPatchedPatches']=function(M,N){if(N['returnvalue']&&b['ObjectUtils']['is'](b['InternalData']['componentPatchQueries'][M])&&b['ArrayUtils']['is'](b['InternalData']['componentPatchQueries'][M]['query'])){for(let O of b['InternalData']['componentPatchQueries'][M]['query'])if(typeof O['on'+M]==='function')O['on'+M](N);}};c['patchPlugin'](b);for(let M of E)if(!b['InternalData']['componentPatchQueries'][M])b['InternalData']['componentPatchQueries'][M]={'query':[],'modules':[]};b['ModuleUtils']['patch'](b,n['ContextMenuUtils'],'openContextMenu',{'before':N=>{let O=N['methodArguments'][0x1]();if(b['ObjectUtils']['is'](O)&&O['type']&&O['type']['displayName']){for(let P of D)if(O['type']['displayName']['indexOf'](P)>-0x1){let Q=P+'ContextMenu';let R=b['ModuleUtils']['find'](S=>S==O['type'],![]);if(R&&R['exports']&&R['exports']['default']&&b['InternalData']['componentPatchQueries'][Q]){b['InternalData']['componentPatchQueries'][Q]['modules']['push'](R);b['InternalData']['componentPatchQueries'][Q]['modules']=b['ArrayUtils']['removeCopies'](b['InternalData']['componentPatchQueries'][Q]['modules']);for(let S of b['InternalData']['componentPatchQueries'][Q]['query'])c['patchContextMenuForPlugin'](S,Q,R);}break;}}}});b['ModuleUtils']['patch'](b,b['ReactUtils']['getValue'](b['ModuleUtils']['findByString']('renderReactions','canAddNewReactions','showMoreUtilities',![]),'exports.default'),'type',{'after':N=>{if(document['querySelector'](b['dotCN']['emojipicker'])||!b['ObjectUtils']['toArray'](b['myPlugins'])['some'](P=>P['onMessageOptionContextMenu']||P['onMessageOptionToolbar']))return;let O=b['ReactUtils']['findChild'](N['returnValue'],{'filter':P=>P&&P['props']&&P['props']['showMoreUtilities']!=undefined&&P['props']['showEmojiPicker']!=undefined&&P['props']['setPopout']!=undefined});if(O)b['ModuleUtils']['patch'](b,O,'type',{'after':P=>{let Q=b['ReactUtils']['findChild'](P['returnValue'],{'filter':R=>R&&R['props']&&typeof R['props']['onRequestClose']=='function'&&R['props']['onRequestClose']['toString']()['indexOf']('moreUtilities')>-0x1});c['executeExtraPatchedPatches']('MessageOptionToolbar',{'instance':{'props':P['methodArguments'][0x0]},'returnvalue':P['returnValue'],'methodname':'default'});if(Q&&typeof Q['props']['renderPopout']=='function'){let R=Q['props']['renderPopout'];Q['props']['renderPopout']=(...S)=>{let T=R(...S);b['ModuleUtils']['patch'](b,T,'type',{'after':U=>{c['executeExtraPatchedPatches']('MessageOptionContextMenu',{'instance':{'props':U['methodArguments'][0x0]},'returnvalue':U['returnValue'],'methodname':'default'});}},{'noCache':!![]});return T;};}}},{'once':!![]});}});c['onSettingsClosed']=function(){if(c['SettingsUpdated']){delete c['SettingsUpdated'];c['forceUpdateAll']();}};c['forceUpdateAll']=function(){if(m['path'])g=b['DataUtils']['get'](this,'settings');b['MessageUtils']['rerenderAll']();b['ModuleUtils']['forceAllUpdates'](b);};c['addSpecialListeners'](b);let F=b['ModuleUtils']['findByName']('BasePopout'),G=b['ModuleUtils']['findByName']('ReferencePositionLayer');if(F&&G)b['ModuleUtils']['patch'](b,F['prototype'],'renderLayer',{'after':N=>{if(N['returnValue']&&N['thisObject']['isBDFDBpopout']){N['returnValue']=b['ReactUtils']['createPortal'](b['ReactUtils']['createElement'](G,N['returnValue']['props']),document['querySelector'](b['dotCN']['appmount']+'\x20>\x20'+b['dotCN']['itemlayercontainer']));}}});if(x['LibraryComponents']['GuildComponents']['BlobMask']){let N=['lowerLeftBadge','upperLeftBadge'];b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'render',{'before':P=>{P['thisObject']['props']=Object['assign']({},x['LibraryComponents']['GuildComponents']['BlobMask']['defaultProps'],P['thisObject']['props']);for(let Q of N)if(!P['thisObject']['state'][Q+'Mask'])P['thisObject']['state'][Q+'Mask']=new x['LibraryComponents']['Animations']['Controller']({'spring':0x0});},'after':P=>{let [Q,R]=b['ReactUtils']['findParent'](P['returnValue'],{'name':'TransitionGroup'});if(R>-0x1){Q[R]['props']['children']['push'](!P['thisObject']['props']['lowerLeftBadge']?null:b['ReactUtils']['createElement'](x['LibraryComponents']['BadgeAnimationContainer'],{'className':b['disCN']['guildlowerleftbadge'],'key':'lower-left-badge','animatedStyle':P['thisObject']['getLowerLeftBadgeStyles'](),'children':P['thisObject']['props']['lowerLeftBadge']}));Q[R]['props']['children']['push'](!P['thisObject']['props']['upperLeftBadge']?null:b['ReactUtils']['createElement'](x['LibraryComponents']['BadgeAnimationContainer'],{'className':b['disCN']['guildupperleftbadge'],'key':'upper-left-badge','animatedStyle':P['thisObject']['getUpperLeftBadgeStyles'](),'children':P['thisObject']['props']['upperLeftBadge']}));}[Q,R]=b['ReactUtils']['findParent'](P['returnValue'],{'name':'mask'});if(R>-0x1){Q[R]['props']['children']['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Animations']['animated']['rect'],{'x':-0x4,'y':-0x4,'width':P['thisObject']['props']['upperLeftBadgeWidth']+0x8,'height':0x18,'rx':0xc,'ry':0xc,'transform':P['thisObject']['getLeftBadgePositionInterpolation'](P['thisObject']['state']['upperLeftBadgeMask'],-0x1),'fill':'black'}));Q[R]['props']['children']['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Animations']['animated']['rect'],{'x':-0x4,'y':0x1c,'width':P['thisObject']['props']['lowerLeftBadgeWidth']+0x8,'height':0x18,'rx':0xc,'ry':0xc,'transform':P['thisObject']['getLeftBadgePositionInterpolation'](P['thisObject']['state']['lowerLeftBadgeMask']),'fill':'black'}));}}});b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'componentDidMount',{'after':P=>{for(let Q of N)P['thisObject']['state'][Q+'Mask']['update']({'spring':P['thisObject']['props'][Q]!=null?0x1:0x0,'immediate':!![]})['start']();}});b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'componentWillUnmount',{'after':P=>{for(let Q of N)if(P['thisObject']['state'][Q+'Mask'])P['thisObject']['state'][Q+'Mask']['destroy']();}});b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'componentDidUpdate',{'after':P=>{for(let Q of N)if(P['thisObject']['props'][Q]!=null&&P['methodArguments'][0x0][Q]==null){P['thisObject']['state'][Q+'Mask']['update']({'spring':0x1,'immediate':!document['hasFocus'](),'config':{'friction':0x1e,'tension':0x384,'mass':0x1}})['start']();}else if(P['thisObject']['props'][Q]==null&&P['methodArguments'][0x0][Q]!=null){P['thisObject']['state'][Q+'Mask']['update']({'spring':0x0,'immediate':!document['hasFocus'](),'config':{'duration':0x96,'friction':0xa,'tension':0x64,'mass':0x1}})['start']();}}});x['LibraryComponents']['GuildComponents']['BlobMask']['prototype']['getLeftBadgePositionInterpolation']=function(P,Q){return void 0x0===Q&&(Q=0x1),P['animated']['spring']['to']([0x0,0x1],[0x14,0x0])['to'](function(R){return'translate('+R*-0x1+'\x20'+R*Q+')';});};x['LibraryComponents']['GuildComponents']['BlobMask']['prototype']['getLowerLeftBadgeStyles']=function(){var P=this['state']['lowerLeftBadgeMask']['animated']['spring'];return{'opacity':P['to']([0x0,0.5,0x1],[0x0,0x0,0x1]),'transform':P['to'](function(Q){return'translate('+-0x1*(0x10-0x10*Q)+'px,\x20'+(0x10-0x10*Q)+'px)';})};};x['LibraryComponents']['GuildComponents']['BlobMask']['prototype']['getUpperLeftBadgeStyles']=function(){var P=this['state']['upperLeftBadgeMask']['animated']['spring'];return{'opacity':P['to']([0x0,0.5,0x1],[0x0,0x0,0x1]),'transform':P['to'](function(Q){return'translate('+-0x1*(0x10-0x10*Q)+'px,\x20'+-0x1*(0x10-0x10*Q)+'px)';})};};let O={};for(let P of N)O[P+'Width']=0x10;c['setDefaultProps'](x['LibraryComponents']['GuildComponents']['BlobMask'],O);}b['ModuleUtils']['patch'](b,n['GuildStore'],'getGuild',{'after':Q=>{if(Q['returnValue']&&Q['methodArguments'][0x0]==f)Q['returnValue']['banner']='https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB_banner.png';}});b['ModuleUtils']['patch'](b,n['IconUtils'],'getGuildBannerURL',{'instead':Q=>{return Q['methodArguments'][0x0]['id']==f?Q['methodArguments'][0x0]['banner']:Q['callOriginalMethod']();}});c['forceUpdateAll']();b['ReactUtils']['findChildren']=b['ReactUtils']['findParent'];if(b['UserUtils']['me']['id']==e){for(let Q in t)if(!t[Q])b['LogUtils']['warn'](Q+'\x20not\x20initialized\x20in\x20DiscordClassModules');for(let R in l)if(!l[R])b['LogUtils']['warn'](R+'\x20not\x20initialized\x20in\x20DiscordObjects');for(let S in m)if(!m[S])b['LogUtils']['warn'](S+'\x20not\x20initialized\x20in\x20LibraryRequires');for(let T in n)if(!n[T])b['LogUtils']['warn'](T+'\x20not\x20initialized\x20in\x20LibraryModules');for(let U in x['NativeSubComponents'])if(!x['NativeSubComponents'][U])b['LogUtils']['warn'](U+'\x20not\x20initialized\x20in\x20NativeSubComponents');for(let V in x['LibraryComponents'])if(!x['LibraryComponents'][V])b['LogUtils']['warn'](V+'\x20not\x20initialized\x20in\x20LibraryComponents');b['ModuleUtils']['DevFuncs']={};b['ModuleUtils']['DevFuncs']['generateClassId']=function(){let W='';while(W['length']<0x6)W+=b['ModuleUtils']['DevFuncs']['generateClassId']['chars'][Math['floor'](Math['random']()*b['ModuleUtils']['DevFuncs']['generateClassId']['chars']['length'])];return W;};b['ModuleUtils']['DevFuncs']['generateClassId']['chars']='0123456789ABCDEFGHIJKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split']('');b['ModuleUtils']['DevFuncs']['findByIndex']=function(W){return b['ModuleUtils']['DevFuncs']['req']['c'][W];};b['ModuleUtils']['DevFuncs']['findPropAny']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['every'](Y=>X['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='object')for(let Z in Y)if(window['t']['$filter'](Z))window['t'][Z+'_'+X]=Y;if(Y&&typeof Y=='object'&&typeof Y['default']=='object')for(let a0 in Y['default'])if(window['t']['$filter'](a0))window['t'][a0+'_default_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findPropFunc']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['every'](Y=>X['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='object')for(let Z in Y)if(window['t']['$filter'](Z)&&typeof Y[Z]!='string')window['t'][Z+'_'+X]=Y;if(Y&&typeof Y=='object'&&typeof Y['default']=='object')for(let a0 in Y['default'])if(window['t']['$filter'](a0)&&typeof Y['default'][a0]!='string')window['t'][a0+'_default_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findPropStringLib']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['every'](Y=>X['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='object')for(let Z in Y)if(window['t']['$filter'](Z)&&typeof Y[Z]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Y[Z]))window['t'][Z+'_'+X]=Y;if(Y&&typeof Y=='object'&&typeof Y['default']=='object')for(let a0 in Y['default'])if(window['t']['$filter'](a0)&&typeof Y['default'][a0]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Y['default'][a0]))window['t'][a0+'_default_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findNameAny']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['some'](Y=>typeof X['displayName']=='string'&&X['displayName']['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1||X['name']=='string'&&X['name']['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&(typeof Y=='object'||typeof Y=='function')&&window['t']['$filter'](Y))window['t'][(Y['displayName']||Y['name'])+'_'+X]=Y;if(Y&&(typeof Y=='object'||typeof Y=='function')&&Y['default']&&(typeof Y['default']=='object'||typeof Y['default']=='function')&&window['t']['$filter'](Y['default']))window['t'][(Y['default']['displayName']||Y['default']['name'])+'_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findCodeAny']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['map'](Y=>Y['toLowerCase']())['every'](Y=>typeof X=='function'&&(X['toString']()['toLowerCase']()['indexOf'](Y)>-0x1||typeof X['__originalMethod']=='function'&&X['__originalMethod']['toString']()['toLowerCase']()['indexOf'](Y)>-0x1||typeof X['__originalFunction']=='function'&&X['__originalFunction']['toString']()['toLowerCase']()['indexOf'](Y)>-0x1)||b['ObjectUtils']['is'](X)&&typeof X['type']=='function'&&X['type']['toString']()['toLowerCase']()['indexOf'](Y)>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='function'&&window['t']['$filter'](Y))window['t']['module_'+X]={'string':Y['toString'](),'func':Y};if(Y&&Y['__esModule']){for(let Z in Y)if(Y[Z]&&typeof Y[Z]=='function'&&window['t']['$filter'](Y[Z]))window['t'][Z+'_module_'+X]={'string':Y[Z]['toString'](),'func':Y[Z],'module':Y};if(Y['default']&&(typeof Y['default']=='object'||typeof Y['default']=='function'))for(let a0 in Y['default'])if(Y['default'][a0]&&typeof Y['default'][a0]=='function'&&window['t']['$filter'](Y['default'][a0]))window['t'][a0+'_module_'+X+'_default']={'string':Y['default'][a0]['toString'](),'func':Y['default'][a0],'module':Y};}}for(let a1 in b['ModuleUtils']['DevFuncs']['req']['m'])if(typeof b['ModuleUtils']['DevFuncs']['req']['m'][a1]=='function'&&window['t']['$filter'](b['ModuleUtils']['DevFuncs']['req']['m'][a1]))window['t']['funtion_'+a1]={'string':b['ModuleUtils']['DevFuncs']['req']['m'][a1]['toString'](),'func':b['ModuleUtils']['DevFuncs']['req']['m'][a1]};console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['getAllModules']=function(){window['t']={};for(let W in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](W)){let X=b['ModuleUtils']['DevFuncs']['req']['c'][W]['exports'];if(X&&typeof X=='object')window['t'][W]=X;}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['getAllStringLibs']=function(){window['t']=[];for(let Y in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](Y)){let Z=b['ModuleUtils']['DevFuncs']['req']['c'][Y]['exports'];if(Z&&typeof Z=='object'&&!b['ArrayUtils']['is'](Z)&&Object['keys'](Z)['length']){var W=!![],X=![];for(let a0 in Z){if(typeof Z[a0]!='string')W=![];if(typeof Z[a0]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Z[a0]))X=!![];}if(W&&X)window['t']['push'](Z);}if(Z&&typeof Z=='object'&&Z['default']&&typeof Z['default']=='object'&&!b['ArrayUtils']['is'](Z['default'])&&Object['keys'](Z['default'])['length']){var W=!![],X=![];for(let a1 in Z['default']){if(typeof Z['default'][a1]!='string')W=![];if(typeof Z['default'][a1]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Z['default'][a1]))X=!![];}if(W&&X)window['t']['push'](Z['default']);}}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['listen']=function(W){W=b['ArrayUtils']['is'](W)?W:Array['from'](arguments);b['ModuleUtils']['DevFuncs']['listenstop']();b['ModuleUtils']['DevFuncs']['listen']['p']=b['ModuleUtils']['patch']('WebpackSearch',b['ModuleUtils']['findByProperties'](W),W[0x0],{'after':X=>{console['log'](X);}});};b['ModuleUtils']['DevFuncs']['listenstop']=function(){if(typeof b['ModuleUtils']['DevFuncs']['listen']['p']=='function')b['ModuleUtils']['DevFuncs']['listen']['p']();};b['ModuleUtils']['DevFuncs']['req']=c['getWebModuleReq']();}for(let W in l)if(!l[W]){l[W]=function(){};b['DiscordObjects'][W]=function(){};}for(let X in x['NativeSubComponents'])if(!x['NativeSubComponents'][X])x['NativeSubComponents'][X]='div';for(let Y in x['LibraryComponents'])if(!x['LibraryComponents'][Y]){x['LibraryComponents'][Y]='div';b['LibraryComponents'][Y]='div';}b['loaded']=!![];window['BDFDB']=b;c['reloadLib']=Z=>{let a0=document['querySelector']('head\x20script#BDFDBLibraryScript');if(a0)a0['remove']();a0=document['createElement']('script');a0['setAttribute']('id','BDFDBLibraryScript');a0['setAttribute']('type','text/javascript');a0['setAttribute']('src','https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js');a0['setAttribute']('date',performance['now']());document['head']['appendChild'](a0);};let H=Object['keys'](b)['length']-0xa;b['TimeUtils']['interval'](Z=>{if(!window['BDFDB']||typeof b!='object'||Object['keys'](b)['length']0x112a880){b['TimeUtils']['clear'](Z);c['reloadLib']();}},0x2710);})(); \ No newline at end of file +(a=>{if(window['BDFDB']&&window['BDFDB']['PluginUtils']&&typeof window['BDFDB']['PluginUtils']['cleanUp']=='function')window['BDFDB']['PluginUtils']['cleanUp'](window['BDFDB']);const b={'myPlugins':Object['assign']({},window['BDFDB']&&window['BDFDB']['myPlugins']),'InternalData':Object['assign']({'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'componentPatchQueries':{}},window['BDFDB']&&window['BDFDB']['InternalData'],{'creationTime':performance['now']()}),'name':'BDFDB'};const c={'name':'BDFDB','started':!![],'patchPriority':0x0};const d=Math['round'](Math['random']()*0x2386f26fc10000),e='278543574059057154',f='410787888507256842';b['InternalData']['loadId']=d;var g={};if(typeof Array['prototype']['flat']!='function')Array['prototype']['flat']=function(){return this;};c['defaults']={'settings':{'showToasts':{'value':!![],'description':'Show\x20Plugin\x20start\x20and\x20stop\x20Toasts'},'showSupportBadges':{'value':!![],'description':'Show\x20little\x20Badges\x20for\x20Users\x20who\x20support\x20my\x20Patreon'}}};b['LogUtils']={};b['LogUtils']['log']=function(I,J){console['log']('%c['+(typeof J=='string'&&J||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;',(typeof I=='string'&&I||'')['trim']());};b['LogUtils']['warn']=function(I,J){console['warn']('%c['+(typeof J=='string'&&J||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;',(typeof I=='string'&&I||'')['trim']());};b['LogUtils']['error']=function(I,J){console['error']('%c['+(typeof J=='string'&&J||'BDFDB')+']','color:\x20#3a71c1;\x20font-weight:\x20700;','Fatal\x20Error:\x20'+(typeof I=='string'&&I||'')['trim']());};b['LogUtils']['log']('Loading\x20library.');b['cleanUp']=b['PluginUtils']={};b['PluginUtils']['init']=b['loadMessage']=function(I){I['name']=I['name']||(typeof I['getName']=='function'?I['getName']():null);I['version']=I['version']||(typeof I['getVersion']=='function'?I['getVersion']():null);I['author']=I['author']||(typeof I['getAuthor']=='function'?I['getAuthor']():null);I['description']=I['description']||(typeof I['getDescription']=='function'?I['getDescription']():null);if(typeof I['getSettingsPanel']!='function')I['getSettingsPanel']=M=>{return I['started']&&b['PluginUtils']['createSettingsPanel'](I,[]);};let J=b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_started','v'+I['version']);b['LogUtils']['log'](J,I['name']);if(!b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['showToasts'])&&g['showToasts'])b['NotificationUtils']['toast'](I['name']+'\x20'+J,{'nopointer':!![],'selector':'plugin-started-toast'});let K=typeof I['getRawUrl']=='function'&&typeof I['getRawUrl']()=='string'?I['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+I['name']+'/'+I['name']+'.plugin.js';b['PluginUtils']['checkUpdate'](I['name'],K);if(typeof I['initConstructor']==='function')b['TimeUtils']['suppress'](I['initConstructor']['bind'](I),'Could\x20not\x20initiate\x20constructor!',I['name'])();if(typeof I['css']==='string')b['DOMUtils']['appendLocalStyle'](I['name'],I['css']);c['patchPlugin'](I);c['addSpecialListeners'](I);b['PluginUtils']['translate'](I);b['PluginUtils']['checkChangeLog'](I);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][K]={'name':I['name'],'raw':K,'version':I['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=b['TimeUtils']['interval'](M=>{b['PluginUtils']['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);I['started']=!![];delete I['stopping'];let L=0x1;for(let M in b['myPlugins'])if(!b['myPlugins'][M]['started']&&typeof b['myPlugins'][M]['initialize']=='function')setTimeout(N=>{b['TimeUtils']['suppress'](b['myPlugins'][M]['initialize']['bind'](b['myPlugins'][M]),'Could\x20not\x20initiate\x20plugin!',M)();},0x64*L++);};b['PluginUtils']['clear']=b['unloadMessage']=function(I){c['clearStartTimeout'](I);delete b['myPlugins'][I['name']];let J=b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_stopped','v'+I['version']);b['LogUtils']['log'](J,I['name']);if(!b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['showToasts'])&&g['showToasts'])b['NotificationUtils']['toast'](I['name']+'\x20'+J,{'nopointer':!![],'selector':'plugin-stopped-toast'});let K=typeof I['getRawUrl']=='function'&&typeof I['getRawUrl']()=='string'?I['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+I['name']+'/'+I['name']+'.plugin.js';if(typeof I['css']==='string')b['DOMUtils']['removeLocalStyle'](I['name']);b['PluginUtils']['cleanUp'](I);for(let L in b['InternalData']['componentPatchQueries'])b['ArrayUtils']['remove'](b['InternalData']['componentPatchQueries'][L]['query'],I,!![]);for(let M of document['querySelectorAll']('.'+I['name']+'-modal,\x20.'+I['name']['toLowerCase']()+'-modal,\x20.'+I['name']+'-settingsmodal,\x20.'+I['name']['toLowerCase']()+'-settingsmodal')){let N=M['querySelector'](b['dotCN']['modalclose']);if(N)N['click']();}delete b['DataUtils']['cached'][I['name']];delete window['PluginUpdates']['plugins'][K];delete I['started'];b['TimeUtils']['timeout'](O=>{delete I['stopping'];});};b['PluginUtils']['translate']=function(I){I['labels']={};if(typeof I['setLabelsByLanguage']==='function'||typeof I['changeLanguageStrings']==='function'){if(n['LanguageStore']['chosenLocale'])J();else b['TimeUtils']['interval'](K=>{if(n['LanguageStore']['chosenLocale']){b['TimeUtils']['clear'](K);J();}},0x64);function J(){let K=b['LanguageUtils']['getLanguage']();if(typeof I['setLabelsByLanguage']==='function')I['labels']=I['setLabelsByLanguage'](K['id']);if(typeof I['changeLanguageStrings']==='function')I['changeLanguageStrings']();b['LogUtils']['log'](b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',K['ownlang']),I['name']);}}};b['PluginUtils']['cleanUp']=function(I){b['ListenerUtils']['remove'](I);b['StoreChangeUtils']['remove'](I);b['ObserverUtils']['disconnect'](I);b['ModuleUtils']['unpatch'](I);b['WindowUtils']['closeAll'](I);b['WindowUtils']['removeListener'](I);};b['PluginUtils']['checkUpdate']=function(I,J){if(I&&J)return new Promise(K=>{m['request'](J,(L,M,N)=>{if(L)return K(null);let O=N['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!O)return K(null);if(b['NumberUtils']['getVersionDifference'](O[0x0],window['PluginUpdates']['plugins'][J]['version'])>0.2){b['NotificationUtils']['toast'](I+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});b['PluginUtils']['downloadUpdate'](I,J);return K(0x2);}else if(b['NumberUtils']['compareVersions'](O[0x0],window['PluginUpdates']['plugins'][J]['version'])){b['PluginUtils']['showUpdateNotice'](I,J);return K(0x1);}else{b['PluginUtils']['removeUpdateNotice'](I);return K(0x0);}});});return new Promise(K=>{callback(null);});};b['PluginUtils']['checkAllUpdates']=function(){return new Promise(I=>{let J=0x0,K=0x0;for(let L in window['PluginUpdates']['plugins']){let M=window['PluginUpdates']['plugins'][L];if(M)b['PluginUtils']['checkUpdate'](M['name'],M['raw'])['then'](N=>{J++;if(N==0x1)K++;if(J>=Object['keys'](window['PluginUpdates']['plugins'])['length'])I(K);});}});};b['PluginUtils']['showUpdateNotice']=function(I,J){if(!I||!J)return;let K=document['querySelector']('#pluginNotice');if(!K){K=b['NotificationUtils']['notice'](b['LanguageUtils']['LibraryStrings']['update_notice_update']+'    ',{'html':!![],'id':'pluginNotice','type':'info','btn':!b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['automaticLoading'])?b['LanguageUtils']['LanguageStrings']['ERRORS_RELOAD']:'','customicon':''});K['style']['setProperty']('display','block','important');K['style']['setProperty']('visibility','visible','important');K['style']['setProperty']('opacity','1','important');K['querySelector'](b['dotCN']['noticedismiss'])['addEventListener']('click',M=>{b['DOMUtils']['remove']('.update-clickme-tooltip');});let L=K['querySelector'](b['dotCN']['noticebutton']);if(L){b['DOMUtils']['toggle'](L,!![]);L['addEventListener']('click',M=>{m['electron']['remote']['getCurrentWindow']()['reload']();});L['addEventListener']('mouseenter',M=>{if(window['PluginUpdates']['downloaded'])b['TooltipUtils']['create'](L,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(K){let M=K['querySelector']('#outdatedPlugins');if(M&&!M['querySelector']('#'+I+'-notice')){if(M['querySelector']('span'))M['appendChild'](b['DOMUtils']['create'](',\x20'));let N=b['DOMUtils']['create'](''+I+'');N['addEventListener']('click',O=>{b['PluginUtils']['downloadUpdate'](I,J);});M['appendChild'](N);if(!M['hasTooltip']){M['hasTooltip']=!![];b['TooltipUtils']['create'](M,b['LanguageUtils']['LibraryStrings']['update_notice_click'],{'type':'bottom','unhideable':!![],'delay':0x1f4,'onHide':O=>{M['hasTooltip']=![];}});}}}};b['PluginUtils']['removeUpdateNotice']=function(I,J=document['querySelector']('#pluginNotice')){if(!I||!J)return;let K=J['querySelector']('#outdatedPlugins');if(K){let L=K['querySelector']('#'+I+'-notice');if(L){let M=L['nextSibling'];let N=L['prevSibling'];if(M&&b['DOMUtils']['containsClass'](M,'separator'))M['remove']();else if(N&&b['DOMUtils']['containsClass'](N,'separator'))N['remove']();L['remove']();}if(!K['querySelector']('span')){let O=J['querySelector'](b['dotCN']['noticebutton']);if(O){J['querySelector']('.notice-message')['innerText']=b['LanguageUtils']['LibraryStrings']['update_notice_reload'];b['DOMUtils']['toggle'](O,![]);}else J['querySelector'](b['dotCN']['noticedismiss'])['click']();}}};b['PluginUtils']['downloadUpdate']=function(I,J){if(!I||!J)return;m['request'](J,(K,L,M)=>{if(K)return b['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+I);b['InternalData']['creationTime']=0x0;let N=b['BDUtils']['isPluginEnabled'](I);let O=(M['match'](/"name"\s*:\s*"([^"]+)"/)||[])[0x1]||I;let P=M['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i)['toString']()['replace'](/['"]/g,'');let Q=window['PluginUpdates']['plugins'][J]['version'];m['fs']['writeFile'](m['path']['join'](b['BDUtils']['getPluginsFolder'](),O+'.plugin.js'),M,R=>{if(I!=O){J=J['replace'](new RegExp(I,'g'),O);m['fs']['unlink'](m['path']['join'](b['BDUtils']['getPluginsFolder'](),I+'.plugin.js'),U=>{});let T=m['path']['join'](b['BDUtils']['getPluginsFolder'](),I+'.config.json');m['fs']['exists'](T,U=>{if(U)m['fs']['rename'](T,m['path']['join'](b['BDUtils']['getPluginsFolder'](),O+'.config.json'),V=>{});});b['TimeUtils']['timeout'](U=>{if(N&&!b['BDUtils']['isPluginEnabled'](O))b['BDUtils']['enablePlugin'](O);},0xbb8);}b['NotificationUtils']['toast'](b['LanguageUtils']['LibraryStringsFormat']('toast_plugin_updated',I,'v'+Q,O,'v'+P),{'nopointer':!![],'selector':'plugin-updated-toast'});let S=document['querySelector']('#pluginNotice');if(S){if(S['querySelector'](b['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][J]['version']=P;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](I))window['PluginUpdates']['downloaded']['push'](I);}b['PluginUtils']['removeUpdateNotice'](I,S);}});});};b['PluginUtils']['checkChangeLog']=function(I){if(!b['ObjectUtils']['is'](I)||!I['changelog'])return;let J=b['DataUtils']['load'](I,'changelog');if(!J['currentversion']||b['NumberUtils']['compareVersions'](I['version'],J['currentversion'])){J['currentversion']=I['version'];b['DataUtils']['save'](J,I,'changelog');b['PluginUtils']['openChangeLog'](I);}};b['PluginUtils']['openChangeLog']=function(I){if(!b['ObjectUtils']['is'](I)||!I['changelog'])return;let J='',K={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let L in I['changelog']){L=L['toLowerCase']();let M=b['disCN']['changelog'+L];if(M){J+=''+K[L]+'
    ';for(let N of I['changelog'][L])J+='
  • '+N[0x0]+''+(N[0x1]?':\x20'+N[0x1]+'.':'')+'
  • ';J+='
';}}if(J)b['ModalUtils']['open'](I,{'header':I['name']+'\x20'+b['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'subheader':'Version\x20'+I['version'],'children':b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](J)),'className':b['disCN']['modalchangelogmodal'],'contentClassName':b['disCNS']['changelogcontainer']+b['disCN']['modalminicontent']});};b['PluginUtils']['addLoadingIcon']=function(I){if(!Node['prototype']['isPrototypeOf'](I))return;let J=document['querySelector'](b['dotCN']['app']);if(!J)return;b['DOMUtils']['addClass'](I,b['disCN']['loadingicon']);let K=document['querySelector'](b['dotCN']['app']+'>'+b['dotCN']['loadingiconwrapper']);if(!K){K=b['DOMUtils']['create']('');J['appendChild'](K);let L=new MutationObserver(M=>{if(!K['firstElementChild'])b['DOMUtils']['remove'](K);});L['observe'](K,{'childList':!![]});}K['appendChild'](I);};b['PluginUtils']['createSettingsPanel']=function(I,J){if(!b['ObjectUtils']['is'](I)||!J||!b['ReactUtils']['isValidElement'](J)&&!b['ArrayUtils']['is'](J))return;let K=b['DOMUtils']['create']('');b['ReactUtils']['render'](b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsPanel'],{'key':I['name']+'-settingsPanel','title':I['name'],'controls':[I['changelog']&&b['ReactUtils']['createElement'](x['LibraryComponents']['Clickable'],{'className':b['disCN']['settingspanelheaderbutton'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['CHANGELOG'],'onClick':L=>{b['PluginUtils']['openChangeLog'](I);}})})}),I!=b&&!I['noLibrary']&&b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],{'size':x['LibraryComponents']['Button']['Sizes']['MIN'],'children':b['LanguageUtils']['LibraryStrings']['library_settings'],'onClick':L=>{let M=b['DOMUtils']['getParent'](b['dotCN']['_repocard'],L['currentTarget']);if(M){let N=c['createLibrarySettings']();if(N){let O=[];while(M['childElementCount']){O['push'](M['firstChild']);M['firstChild']['remove']();}let P=b['DOMUtils']['create']('');M['appendChild'](P);P['addEventListener']('click',Q=>{while(M['childElementCount'])M['firstChild']['remove']();while(O['length'])M['appendChild'](O['shift']());let R=M['querySelector'](b['dotCN']['_reposettings']);if(R){while(R['childElementCount'])R['firstChild']['remove']();R['appendChild'](I['getSettingsPanel']());}});M['appendChild'](N);}}}})],'children':J}),K);return K;};b['PluginUtils']['refreshSettingsPanel']=function(I,J,...K){if(!b['ObjectUtils']['is'](I)||typeof I['getSettingsPanel']!='function'||!Node['prototype']['isPrototypeOf'](J)||!J['parentElement'])return;J['parentElement']['appendChild'](I['getSettingsPanel'](...K));J['remove']();};c['createLibrarySettings']=function(){if(!window['BDFDB']||typeof b!='object'||!b['loaded'])return;let I,J=[];let K=b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['showToasts']);for(let L in g)J['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsSaveItem'],{'className':b['disCN']['marginbottom8'],'type':'Switch','plugin':c,'disabled':L=='showToasts'&&K,'keys':['settings',L],'label':c['defaults']['settings'][L]['description'],'note':L=='showToasts'&&K&&'Disable\x20BBDs\x20general\x20\x27Show\x20Toast\x27\x20setting\x20before\x20disabling\x20this','dividerbottom':!![],'value':g[L]||L=='showToasts'&&K}));return I=b['PluginUtils']['createSettingsPanel'](b,J);};c['clearStartTimeout']=function(I){if(!b['ObjectUtils']['is'](I))return;b['TimeUtils']['clear'](I['startTimeout'],I['libLoadTimeout']);delete I['startTimeout'];delete I['libLoadTimeout'];};c['addSpecialListeners']=function(I){I=I==b&&c||I;if(b['ObjectUtils']['is'](I)){if(typeof I['onSettingsClosed']==='function'){let J=b['ModuleUtils']['findByName']('StandardSidebarView');if(J)b['ModuleUtils']['patch'](I,J['prototype'],'componentWillUnmount',{'after':K=>{I['onSettingsClosed']();}});}if(typeof I['onSwitch']==='function'){let K=document['querySelector'](b['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+b['dotCN']['chatspacer']);if(K){let L=new MutationObserver(N=>{N['forEach'](O=>{if(O['target']&&b['DOMUtils']['containsClass'](O['target'],b['disCN']['nochannel']))I['onSwitch']();});});b['ObserverUtils']['connect'](I,K['querySelector'](b['dotCNC']['chat']+b['dotCN']['nochannel']),{'name':'switchFixNoChannelObserver','instance':L},{'attributes':!![]});let M=new MutationObserver(N=>{N['forEach'](O=>{if(O['addedNodes']){O['addedNodes']['forEach'](P=>{if(b['DOMUtils']['containsClass'](P,b['disCN']['chat'],b['disCN']['nochannel'],![])){b['ObserverUtils']['connect'](I,P,{'name':'switchFixNoChannelObserver','instance':L},{'attributes':!![]});}});}});});b['ObserverUtils']['connect'](I,K,{'name':'switchFixSpacerObserver','instance':M},{'childList':!![]});}}c['addContextListeners'](I);}};b['ObserverUtils']={};b['ObserverUtils']['connect']=function(I,J,K,L={'childList':!![]}){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!J||!K)return;if(b['ObjectUtils']['isEmpty'](I['observers']))I['observers']={};if(!b['ArrayUtils']['is'](I['observers'][K['name']]))I['observers'][K['name']]=[];if(!K['multi'])for(let N of I['observers'][K['name']])N['disconnect']();if(K['instance'])I['observers'][K['name']]['push'](K['instance']);let M=I['observers'][K['name']][I['observers'][K['name']]['length']-0x1];if(M){let O=Node['prototype']['isPrototypeOf'](J)?J:typeof J==='string'?document['querySelector'](J):null;if(O)M['observe'](O,L);}};b['ObserverUtils']['disconnect']=function(I,J){I=I==b&&c||I;if(b['ObjectUtils']['is'](I)&&!b['ObjectUtils']['isEmpty'](I['observers'])){let K=typeof J=='string'?J:b['ObjectUtils']['is'](J)?J['name']:null;if(!K){for(let L in I['observers'])for(let M of I['observers'][L])M['disconnect']();delete I['observers'];}else if(!b['ArrayUtils']['is'](I['observers'][K])){for(let N of I['observers'][K])N['disconnect']();delete I['observers'][K];}}};b['StoreChangeUtils']={};b['StoreChangeUtils']['add']=function(I,J,K){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ObjectUtils']['is'](J)||typeof J['addChangeListener']!='function'||typeof K!='function')return;b['ListenerUtils']['remove'](I,J,K);if(!b['ArrayUtils']['is'](I['changeListeners']))I['changeListeners']=[];I['changeListeners']['push']({'store':J,'callback':K});J['addChangeListener'](K);};b['StoreChangeUtils']['remove']=function(I,J,K){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ArrayUtils']['is'](I['changeListeners']))return;if(!J){while(I['changeListeners']['length']){let L=I['changeListeners']['pop']();L['store']['removeChangeListener'](L['callback']);}}else if(b['ObjectUtils']['is'](J)&&typeof J['addChangeListener']=='function'){if(!K){for(let M of I['changeListeners']){let N=[];if(M['store']==J){M['store']['removeChangeListener'](M['callback']);N['push'](M);}if(N['length'])I['changeListeners']=I['changeListeners']['filter'](O=>!N['includes'](O));}}else if(typeof K=='function'){J['removeChangeListener'](K);I['changeListeners']=I['changeListeners']['filter'](O=>O['store']==J&&O['callback']==K);}}};b['ListenerUtils']={};b['ListenerUtils']['add']=function(I,J,K,L,M){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!Node['prototype']['isPrototypeOf'](J)&&J!==window||!K)return;let N=typeof L=='function';let O=N?undefined:L;let P=N?L:M;if(typeof P!='function')return;b['ListenerUtils']['remove'](I,J,K,O);for(let Q of K['split']('\x20')){Q=Q['split']('.');let R=Q['shift']()['toLowerCase']();if(!R)return;let S=R;R=R=='mouseenter'||R=='mouseleave'?'mouseover':R;let T=(Q['join']('.')||'')+I['name'];if(!b['ArrayUtils']['is'](I['eventListeners']))I['eventListeners']=[];let U=null;if(O){if(S=='mouseenter'||S=='mouseleave'){U=V=>{for(let W of V['path'])if(typeof W['matches']=='function'&&W['matches'](O)&&!W[T+'BDFDB'+S]){W[T+'BDFDB'+S]=!![];if(S=='mouseenter')P(b['ListenerUtils']['copyEvent'](V,W));let X=Y=>{if(Y['target']['contains'](W)||Y['target']==W||!W['contains'](Y['target'])){if(S=='mouseleave')P(b['ListenerUtils']['copyEvent'](V,W));delete W[T+'BDFDB'+S];document['removeEventListener']('mouseout',X);}};document['addEventListener']('mouseout',X);break;}};}else{U=V=>{for(let W of V['path'])if(typeof W['matches']=='function'&&W['matches'](O)){P(b['ListenerUtils']['copyEvent'](V,W));break;}};}}else U=V=>{P(b['ListenerUtils']['copyEvent'](V,J));};I['eventListeners']['push']({'ele':J,'eventName':R,'origEventName':S,'namespace':T,'selector':O,'eventCallback':U});J['addEventListener'](R,U,!![]);}};b['ListenerUtils']['remove']=function(I,J,K='',L){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ArrayUtils']['is'](I['eventListeners']))return;if(!J){while(I['eventListeners']['length']){let M=I['eventListeners']['pop']();M['ele']['removeEventListener'](M['eventName'],M['eventCallback'],!![]);}}else if(Node['prototype']['isPrototypeOf'](J)||J===window){for(let N of K['split']('\x20')){N=N['split']('.');let O=N['shift']()['toLowerCase']();let P=(N['join']('.')||'')+I['name'];for(let Q of I['eventListeners']){let R=[];if(Q['ele']==J&&(!O||Q['origEventName']==O)&&Q['namespace']==P&&(L===undefined||Q['selector']==L)){Q['ele']['removeEventListener'](Q['eventName'],Q['eventCallback'],!![]);R['push'](Q);}if(R['length'])I['eventListeners']=I['eventListeners']['filter'](S=>!R['includes'](S));}}}};b['ListenerUtils']['multiAdd']=function(I,J,K){if(!Node['prototype']['isPrototypeOf'](I)||!J||typeof K!='function')return;for(let L of J['trim']()['split']('\x20')['filter'](M=>M))I['addEventListener'](L,K,!![]);};b['ListenerUtils']['multiRemove']=function(I,J,K){if(!Node['prototype']['isPrototypeOf'](I)||!J||typeof K!='function')return;for(let L of J['trim']()['split']('\x20')['filter'](M=>M))I['removeEventListener'](L,K,!![]);};b['ListenerUtils']['addToChildren']=function(I,J,K,L){if(!Node['prototype']['isPrototypeOf'](I)||!J||!K||!K['trim']()||typeof L!='function')return;for(let M of J['trim']()['split']('\x20')['filter'](N=>N)){let N=L;if(M=='mouseenter'||M=='mouseleave')N=O=>{if(O['target']['matches'](K))L(O);};I['querySelectorAll'](K['trim']())['forEach'](O=>{O['addEventListener'](M,N,!![]);});}};b['ListenerUtils']['copyEvent']=function(I,J){if(!I||!I['constructor']||!I['type'])return I;let K=new I['constructor'](I['type'],I);Object['defineProperty'](K,'originalEvent',{'value':I});Object['defineProperty'](K,'which',{'value':I['which']});Object['defineProperty'](K,'keyCode',{'value':I['keyCode']});Object['defineProperty'](K,'path',{'value':I['path']});Object['defineProperty'](K,'relatedTarget',{'value':I['relatedTarget']});Object['defineProperty'](K,'srcElement',{'value':I['srcElement']});Object['defineProperty'](K,'target',{'value':I['target']});Object['defineProperty'](K,'toElement',{'value':I['toElement']});if(J)Object['defineProperty'](K,'currentTarget',{'value':J});return K;};b['ListenerUtils']['stopEvent']=function(I){if(b['ObjectUtils']['is'](I)){if(typeof I['preventDefault']=='function')I['preventDefault']();if(typeof I['stopPropagation']=='function')I['stopPropagation']();if(typeof I['stopImmediatePropagation']=='function')I['stopImmediatePropagation']();if(b['ObjectUtils']['is'](I['originalEvent'])){if(typeof I['originalEvent']['preventDefault']=='function')I['originalEvent']['preventDefault']();if(typeof I['originalEvent']['stopPropagation']=='function')I['originalEvent']['stopPropagation']();if(typeof I['originalEvent']['stopImmediatePropagation']=='function')I['originalEvent']['stopImmediatePropagation']();}}};var h=[],i={'queue':[],'running':![]};b['NotificationUtils']={};b['NotificationUtils']['toast']=function(I,J={}){let K=document['querySelector']('.toasts,\x20.bd-toasts');if(!K){let M=document['querySelector'](b['dotCN']['channels']+'\x20+\x20div');let N=M?b['DOMUtils']['getRects'](M):null;let O=M?M['querySelector'](b['dotCN']['memberswrap']):null;let P=N?N['left']:0x136;let Q=N?O?N['width']-b['DOMUtils']['getRects'](O)['width']:N['width']:window['outerWidth']-0x0;let R=M?M['querySelector']('form'):null;let S=R?b['DOMUtils']['getRects'](R)['height']:0x50;K=b['DOMUtils']['create']('');(document['querySelector'](b['dotCN']['app'])||document['body'])['appendChild'](K);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=J;let L=b['DOMUtils']['create'](''+(html===!![]?I:b['StringUtils']['htmlEscape'](I))+'');if(type){b['DOMUtils']['addClass'](L,'toast-'+type);if(icon)b['DOMUtils']['addClass'](L,'icon');}else if(color){let T=b['ColorUtils']['convert'](color,'RGB');if(T)L['style']['setProperty']('background-color',T);}b['DOMUtils']['addClass'](L,selector);K['appendChild'](L);L['close']=U=>{if(document['contains'](L)){b['DOMUtils']['addClass'](L,'closing');L['style']['setProperty']('pointer-events','none','important');b['TimeUtils']['timeout'](V=>{L['remove']();if(!K['querySelectorAll']('.toast,\x20.bd-toast')['length'])K['remove']();},0xbb8);}};if(nopointer)L['style']['setProperty']('pointer-events','none','important');else L['addEventListener']('click',L['close']);b['TimeUtils']['timeout'](U=>{L['close']();},timeout>0x0?timeout:0x927c0);return L;};b['NotificationUtils']['desktop']=function(I,J={}){const K=N=>{i['queue']['push']({'parsedcontent':I,'parsedoptions':J});L();};const L=N=>{if(!i['running']){let O=i['queue']['shift']();if(O)M(O['parsedcontent'],O['parsedoptions']);}};const M=(N,O)=>{i['running']=!![];let P=O['silent'];O['silent']=O['silent']||O['sound']?!![]:![];let Q=new Notification(N,O);let R=new Audio();let S=b['TimeUtils']['timeout'](U=>{T();},O['timeout']?O['timeout']:0xbb8);if(typeof O['click']=='function')Q['onclick']=U=>{b['TimeUtils']['clear'](S);T();O['click']();};if(!P&&O['sound']){R['src']=O['sound'];R['play']();}const T=U=>{R['pause']();Q['close']();i['running']=![];b['TimeUtils']['timeout'](V=>{L();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')K();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(N){if(N==='granted')K();});};b['NotificationUtils']['notice']=function(I,J={}){if(!I)return;let K=document['querySelector'](b['dotCN']['layers']);if(!K)return;let L=b['NumberUtils']['generateId'](h);let M=b['DOMUtils']['create']('');K['parentElement']['insertBefore'](M,K);let N=M['querySelector']('.notice-message');if(J['platform'])for(let Q of J['platform']['split']('\x20'))if(u['noticeicon'+Q]){let R=b['DOMUtils']['create']('');b['DOMUtils']['addClass'](R,b['disCN']['noticeplatformicon']);b['DOMUtils']['removeClass'](R,b['disCN']['noticeicon']);M['insertBefore'](R,N);}if(J['customicon']){let S=b['DOMUtils']['create'](J['customicon']);let T=b['DOMUtils']['create']('');if(S['tagName']=='span'&&!S['firstElementChild'])T['style']['setProperty']('background','url('+J['customicon']+')\x20center/cover\x20no-repeat');else T['appendChild'](S);b['DOMUtils']['addClass'](T,b['disCN']['noticeplatformicon']);b['DOMUtils']['removeClass'](T,b['disCN']['noticeicon']);M['insertBefore'](T,N);}if(J['btn']||J['button'])M['appendChild'](b['DOMUtils']['create'](''+(J['btn']||J['button'])+''));if(J['id'])M['id']=J['id']['split']('\x20')['join']('');if(J['selector'])b['DOMUtils']['addClass'](M,J['selector']);if(J['css'])b['DOMUtils']['appendLocalStyle']('BDFDBcustomNotificationBar'+L,J['css']);if(J['style'])M['style']=J['style'];if(J['html']===!![])N['innerHTML']=I;else{let U=document['createElement']('a');let V=[];for(let W of I['split']('\x20')){let X=b['StringUtils']['htmlEscape'](W);U['href']=W;V['push'](U['host']&&U['host']!==window['location']['host']?''+X+'':X);}N['innerHTML']=V['join']('\x20');}let O=null;if(J['type']&&!document['querySelector'](b['dotCNS']['chatbase']+b['dotCN']['noticestreamer'])){if(O=b['disCN']['notice'+J['type']])b['DOMUtils']['addClass'](M,O);if(J['type']=='premium'){let Y=M['querySelector'](b['dotCN']['noticebutton']);if(Y)b['DOMUtils']['addClass'](Y,b['disCN']['noticepremiumaction']);b['DOMUtils']['addClass'](N,b['disCN']['noticepremiumtext']);M['insertBefore'](b['DOMUtils']['create'](''),N);}}if(!O){let Z=b['ColorUtils']['convert'](J['color'],'RGBCOMP');if(Z){let a0=Z[0x0]>0xb4&&Z[0x1]>0xb4&&Z[0x2]>0xb4?'#000':'#FFF';let a1=b['ColorUtils']['convert'](Z,'HEX');let a2=Z[0x0]>0xb4&&Z[0x1]>0xb4&&Z[0x2]>0xb4?'brightness(0%)':'brightness(100%)';b['DOMUtils']['appendLocalStyle']('BDFDBcustomNotificationBarColorCorrection'+L,b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]{background-color:'+a1+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20.notice-message\x20{color:'+a0+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20'+b['dotCN']['noticebutton']+'\x20{color:'+a0+'\x20!important;border-color:'+b['ColorUtils']['setAlpha'](a0,0.25,'RGBA')+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20'+b['dotCN']['noticebutton']+':hover\x20{color:'+a1+'\x20!important;background-color:'+a0+'\x20!important;}'+b['dotCN']['noticewrapper']+'[notice-id=\x22'+L+'\x22]\x20'+b['dotCN']['noticedismiss']+'\x20{filter:'+a2+'\x20!important;}');}else b['DOMUtils']['addClass'](M,b['disCN']['noticedefault']);}M['style']['setProperty']('height','36px','important');M['style']['setProperty']('min-width','70vw','important');M['style']['setProperty']('left','unset','important');M['style']['setProperty']('right','unset','important');let P=(b['DOMUtils']['getWidth'](document['body']['firstElementChild'])-b['DOMUtils']['getWidth'](M))/0x2;M['style']['setProperty']('left',P+'px','important');M['style']['setProperty']('right',P+'px','important');M['style']['setProperty']('min-width','unset','important');M['style']['setProperty']('width','unset','important');M['style']['setProperty']('max-width','calc(100vw\x20-\x20'+P*0x2+'px)','important');M['querySelector'](b['dotCN']['noticedismiss'])['addEventListener']('click',a3=>{M['style']['setProperty']('overflow','hidden','important');M['style']['setProperty']('height','0px','important');b['TimeUtils']['timeout'](a4=>{b['ArrayUtils']['remove'](h,L);b['DOMUtils']['removeLocalStyle']('BDFDBcustomNotificationBar'+L);b['DOMUtils']['removeLocalStyle']('BDFDBcustomNotificationBarColorCorrection'+L);M['remove']();},0x1f4);});return M;};b['NotificationUtils']['alert']=function(I,J){if(typeof I=='string'&&typeof I=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](I,J);};var j=[];b['TooltipUtils']={};b['TooltipUtils']['create']=function(I,J,K={}){let L=document['querySelector'](b['dotCN']['appmount']+'\x20>\x20'+b['dotCN']['itemlayercontainer']);if(!L||typeof J!='string'&&!b['ObjectUtils']['is'](K['guild'])||!Node['prototype']['isPrototypeOf'](I)||!document['contains'](I))return null;let M=b['NumberUtils']['generateId'](j);let N=b['DOMUtils']['create']('');L['appendChild'](N);let O=N['firstElementChild'];let P=N['querySelector'](b['dotCN']['tooltipcontent']);let Q=N['querySelector'](b['dotCN']['tooltippointer']);if(K['id'])O['id']=K['id']['split']('\x20')['join']('');if(typeof K['type']!='string'||!b['disCN']['tooltip'+K['type']['toLowerCase']()])K['type']='top';let R=K['type']['toLowerCase']();b['DOMUtils']['addClass'](O,b['disCN']['tooltip'+R]);let S=![],T=![],U='';if(K['style'])U+=K['style'];if(K['fontColor']){S=b['ObjectUtils']['is'](K['fontColor']);if(!S)U=(U?U+'\x20':'')+('color:\x20'+b['ColorUtils']['convert'](K['fontColor'],'RGBA')+'\x20!important;');}if(K['backgroundColor']){T=!![];let X=b['ObjectUtils']['is'](K['backgroundColor']);let Y=!X?b['ColorUtils']['convert'](K['backgroundColor'],'RGBA'):b['ColorUtils']['createGradient'](K['backgroundColor']);U=(U?U+'\x20':'')+('background:\x20'+Y+'\x20!important;\x20border-color:\x20'+(X?b['ColorUtils']['convert'](K['backgroundColor'][R=='left'?0x64:0x0],'RGBA'):Y)+'\x20!important;');}if(U)O['style']=U;if(typeof K['zIndex']=='number'||K['unhideable']){N['style']['setProperty']('z-index',K['zIndex']||0x3ea,'important');O['style']['setProperty']('z-index',K['zIndex']||0x3ea,'important');P['style']['setProperty']('z-index',K['zIndex']||0x3ea,'important');}if(T||K['unhideable'])b['DOMUtils']['addClass'](O,b['disCN']['tooltipcustom']);else if(K['color']&&b['disCN']['tooltip'+K['color']['toLowerCase']()])b['DOMUtils']['addClass'](O,b['disCN']['tooltip'+K['color']['toLowerCase']()]);else b['DOMUtils']['addClass'](O,b['disCN']['tooltipblack']);if(K['list']||b['ObjectUtils']['is'](K['guild']))b['DOMUtils']['addClass'](O,b['disCN']['tooltiplistitem']);if(K['selector'])b['DOMUtils']['addClass'](O,K['selector']);if(b['ObjectUtils']['is'](K['guild'])){let Z=n['StreamUtils']['getAllApplicationStreams']()['filter'](a3=>a3['guildId']===K['guild']['id'])['map'](a3=>a3['ownerId'])||[];let a0=Z['map'](a3=>n['UserStore']['getUser'](a3))['filter'](a3=>a3);let a1=Object['keys'](n['VoiceUtils']['getVoiceStates'](K['guild']['id']))['map'](a3=>!Z['includes'](a3)&&b['LibraryModules']['UserStore']['getUser'](a3))['filter'](a3=>a3);let a2=J||K['guild']['toString']();if(S)a2=''+b['StringUtils']['htmlEscape'](a2)+'';b['ReactUtils']['render'](b['ReactUtils']['createElement'](b['ReactUtils']['Fragment'],{'children':[b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['tooltiprow'],b['disCN']['tooltiprowguildname']),'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['Badge'],{'guild':K['guild'],'size':n['StringUtils']['cssValueToNumber'](t['TooltipGuild']['iconSize']),'className':b['disCN']['tooltiprowicon']}),b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](b['disCN']['tooltipguildnametext'],(a1['length']||a0['length'])&&b['disCN']['tooltipguildnametextlimitedsize']),'children':S||K['html']?b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](a2)):a2})]}),a1['length']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['tooltiprow'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['SPEAKER'],'className':b['disCN']['tooltipactivityicon']}),b['ReactUtils']['createElement'](x['LibraryComponents']['UserSummaryItem'],{'users':a1,'max':0x6})]}):null,a0['length']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['tooltiprow'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['STREAM'],'className':b['disCN']['tooltipactivityicon']}),b['ReactUtils']['createElement'](x['LibraryComponents']['UserSummaryItem'],{'users':a0,'max':0x6})]}):null]['filter'](a3=>a3)}),P);}else{if(S)P['innerHTML']=''+b['StringUtils']['htmlEscape'](J)+'';else if(K['html']===!![])P['innerHTML']=J;else P['innerText']=J;}let V=a3=>{b['DOMUtils']['remove'](N);};if(!K['perssist'])I['addEventListener']('mouseleave',V);let W=new MutationObserver(a3=>a3['forEach'](a4=>{let a5=Array['from'](a4['removedNodes']);if(a5['indexOf'](N)>-0x1||a5['indexOf'](I)>-0x1||a5['some'](a6=>a6['contains'](I))){b['ArrayUtils']['remove'](j,M);W['disconnect']();b['DOMUtils']['remove'](N);b['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+M,L);I['removeEventListener']('mouseleave',V);if(typeof K['onHide']=='function')K['onHide'](N,I);}}));W['observe'](document['body'],{'subtree':!![],'childList':!![]});(O['update']=N['update']=a3=>{let a4,a5,a6=b['DOMUtils']['getRects'](I),a7=b['DOMUtils']['getRects'](N),a8=b['DOMUtils']['getRects'](document['querySelector'](b['dotCN']['appmount'])),a9={'height':0xa,'width':0xa},aa=typeof K['offset']=='number'?K['offset']:0x0;switch(R){case'top':a5=a6['top']-a7['height']-a9['height']+0x2-aa;a4=a6['left']+(a6['width']-a7['width'])/0x2;break;case'bottom':a5=a6['top']+a6['height']+a9['height']-0x2+aa;a4=a6['left']+(a6['width']-a7['width'])/0x2;break;case'left':a5=a6['top']+(a6['height']-a7['height'])/0x2;a4=a6['left']-a7['width']-a9['width']+0x2-aa;break;case'right':a5=a6['top']+(a6['height']-a7['height'])/0x2;a4=a6['left']+a6['width']+a9['width']-0x2+aa;break;}N['style']['setProperty']('top',a5+'px','important');N['style']['setProperty']('left',a4+'px','important');Q['style']['removeProperty']('margin-left');Q['style']['removeProperty']('margin-top');if(R=='top'||R=='bottom'){if(a4<0x0){N['style']['setProperty']('left','5px','important');Q['style']['setProperty']('margin-left',a4-0xa+'px','important');}else{let ab=a8['width']-(a4+a7['width']);if(ab<0x0){N['style']['setProperty']('left',a8['width']-a7['width']-0x5+'px','important');Q['style']['setProperty']('margin-left',-0x1*ab+'px','important');}}}else if(R=='left'||R=='right'){if(a5<0x0){N['style']['setProperty']('top','5px');Q['style']['setProperty']('margin-top',a5-0xa+'px','important');}else{let ac=a8['height']-(a5+a7['height']);if(ac<0x0){N['style']['setProperty']('top',a8['height']-a7['height']-0x5+'px','important');Q['style']['setProperty']('margin-top',-0x1*ac+'px','important');}}}if(K['unhideable']){for(let ad of[N,O,P]){ad['style']['setProperty']('position','absolute','important');ad['style']['setProperty']('right','unset','important');ad['style']['setProperty']('bottom','unset','important');ad['style']['setProperty']('display','block','important');ad['style']['setProperty']('opacity','1','important');ad['style']['setProperty']('visibility','visible','important');ad['style']['setProperty']('max-width','unset','important');ad['style']['setProperty']('min-width','50px','important');ad['style']['setProperty']('width','unset','important');ad['style']['setProperty']('max-height','unset','important');ad['style']['setProperty']('min-height','14px','important');ad['style']['setProperty']('height','unset','important');ad['style']['setProperty']('animation','unset','important');ad['style']['setProperty']('transform','unset','important');}for(let ae of[O,P]){ae['style']['setProperty']('position','static','important');ae['style']['setProperty']('top','unset','important');ae['style']['setProperty']('left','unset','important');}O['style']['setProperty']('background','#000','important');P['style']['setProperty']('color','#dcddde','important');Q['style']['setProperty']('border-top-color','#000','important');}})();if(K['delay']){b['DOMUtils']['toggle'](N);b['TimeUtils']['timeout'](a3=>{b['DOMUtils']['toggle'](N);if(typeof K['onShow']=='function')K['onShow'](N,I);},K['delay']);}else{if(typeof K['onShow']=='function')K['onShow'](N,I);}return N;};b['ObjectUtils']={};b['ObjectUtils']['is']=function(I){return I&&Object['prototype']['isPrototypeOf'](I)&&!Array['prototype']['isPrototypeOf'](I);};b['ObjectUtils']['extract']=function(I,...J){let K={};if(b['ObjectUtils']['is'](I))for(let L of J['flat'](0xa)['filter'](M=>M))if(I[L])K[L]=I[L];return K;};b['ObjectUtils']['exclude']=function(I,...J){let K=Object['assign']({},I);b['ObjectUtils']['delete'](K,...J);return K;};b['ObjectUtils']['delete']=function(I,...J){if(b['ObjectUtils']['is'](I))for(let K of J['flat'](0xa)['filter'](L=>L))delete I[K];};b['ObjectUtils']['sort']=function(I,J,K){if(!b['ObjectUtils']['is'](I))return{};let L={};if(J===undefined||!J)for(let M of Object['keys'](I)['sort']())L[M]=I[M];else{let N=[];for(let O in I)N['push'](I[O]);N=b['ArrayUtils']['keySort'](N,J,K);for(let P of N)for(let Q in I)if(b['equals'](P,I[Q])){L[Q]=P;break;}}return L;};b['ObjectUtils']['reverse']=function(I,J){if(!b['ObjectUtils']['is'](I))return{};let K={};for(let L of J===undefined||!J?Object['keys'](I)['reverse']():Object['keys'](I)['sort']()['reverse']())K[L]=I[L];return K;};b['ObjectUtils']['filter']=function(I,J,K=![]){if(!b['ObjectUtils']['is'](I))return{};if(typeof J!='function')return I;return Object['keys'](I)['filter'](L=>J(K?L:I[L]))['reduce']((L,M)=>(L[M]=I[M],L),{});};b['ObjectUtils']['push']=function(I,J){if(b['ObjectUtils']['is'](I))I[Object['keys'](I)['length']]=J;};b['ObjectUtils']['pop']=function(I,J){if(b['ObjectUtils']['is'](I)){let K=Object['keys'](I);if(!K['length'])return;let L=I[K[K['length']-0x1]];delete I[K[K['length']-0x1]];return L;}};b['ObjectUtils']['map']=function(I,J){if(!b['ObjectUtils']['is'](I))return{};if(typeof J!='string'&&typeof J!='function')return I;let K={};for(let L in I)if(b['ObjectUtils']['is'](I[L]))K[L]=typeof J=='string'?I[L][J]:J(I[L],L);return K;};b['ObjectUtils']['toArray']=function(I){if(!b['ObjectUtils']['is'](I))return[];return Object['entries'](I)['map'](J=>J[0x1]);};b['ObjectUtils']['deepAssign']=function(I,...J){if(!J['length'])return I;let K=J['shift']();if(b['ObjectUtils']['is'](I)&&b['ObjectUtils']['is'](K)){for(let L in K){if(b['ObjectUtils']['is'](K[L])){if(!I[L])Object['assign'](I,{[L]:{}});b['ObjectUtils']['deepAssign'](I[L],K[L]);}else Object['assign'](I,{[L]:K[L]});}}return b['ObjectUtils']['deepAssign'](I,...J);};b['ObjectUtils']['isEmpty']=function(I){return!b['ObjectUtils']['is'](I)||Object['getOwnPropertyNames'](I)['length']==0x0;};b['ArrayUtils']={};b['ArrayUtils']['is']=function(I){return I&&Array['isArray'](I);};b['ArrayUtils']['sum']=function(I){return Array['isArray'](I)?I['reduce']((J,K)=>J+Math['round'](K),0x0):0x0;};b['ArrayUtils']['keySort']=function(I,J,K){if(!b['ArrayUtils']['is'](I))return[];if(J==null)return I;if(K===undefined)K=null;return I['sort']((L,M)=>{let N=L[J],O=M[J];if(N!==K)return NO?0x1:0x0;});};b['ArrayUtils']['numSort']=function(I){return I['sort']((J,K)=>JK?0x1:0x0);};b['ArrayUtils']['includes']=function(I,...J){if(!b['ArrayUtils']['is'](I))return null;if(!I['length'])return![];let K=J['pop']();if(typeof K!='boolean'){J['push'](K);K=!![];}if(!J['length'])return![];let L=undefined;for(let M of J){if(L===undefined)L=K;if(K&&!I['includes'](M))L=![];if(!K&&I['includes'](M))L=!![];}return L;};b['ArrayUtils']['remove']=function(I,J,K=![]){if(!b['ArrayUtils']['is'](I))return[];if(!I['includes'](J))return I;if(!K)I['splice'](I['indexOf'](J),0x1);else while(I['indexOf'](J)>-0x1)I['splice'](I['indexOf'](J),0x1);return I;};b['ArrayUtils']['getAllIndexes']=function(I,J){if(!b['ArrayUtils']['is'](I)&&typeof I!='string')return[];var K=[],L=-0x1;while((L=I['indexOf'](J,L+0x1))!==-0x1)K['push'](L);return K;};b['ArrayUtils']['removeCopies']=function(I){if(!b['ArrayUtils']['is'](I))return[];return[...new Set(I)];};b['ModuleUtils']={};b['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};b['ModuleUtils']['find']=function(I,J){J=typeof J!='boolean'?!![]:J;let K=c['getWebModuleReq']();for(let L in K['c'])if(K['c']['hasOwnProperty'](L)){let M=K['c'][L]['exports'];if(M&&(typeof M=='object'||typeof M=='function')&&I(M))return J?M:K['c'][L];if(M&&M['__esModule']){for(let N in M)if(M[N]&&(typeof M[N]=='object'||typeof M[N]=='function')&&I(M[N]))return J?M[N]:K['c'][L];if(M['default']&&(typeof M['default']=='object'||typeof M['default']=='function'))for(let O in M['default'])if(M['default'][O]&&(typeof M['default'][O]=='object'||typeof M['default'][O]=='function')&&I(M['default'][O]))return J?M['default'][O]:K['c'][L];}}for(let P in K['m'])if(K['m']['hasOwnProperty'](P)){let Q=K['m'][P];if(Q&&typeof Q=='function'&&I(Q)){if(K['c'][P])return J?K['c'][P]['exports']:K['c'][P];else{let R={};K['m'][P](R,null,K);return J?R['exports']:R;}}}};b['ModuleUtils']['findByProperties']=function(...I){I=I['flat'](0xa);let J=I['pop']();if(typeof J!='boolean'){I['push'](J);J=!![];}return c['findModule']('prop',JSON['stringify'](I),K=>I['every'](L=>K[L]!==undefined),J);};b['ModuleUtils']['findByName']=function(I,J){return c['findModule']('name',JSON['stringify'](I),K=>K['displayName']===I||K['render']&&K['render']['displayName']===I,typeof J!='boolean'?!![]:J);};b['ModuleUtils']['findByString']=function(...I){I=I['flat'](0xa);let J=I['pop']();if(typeof J!='boolean'){I['push'](J);J=!![];}return c['findModule']('string',JSON['stringify'](I),K=>I['every'](L=>typeof K=='function'&&(K['toString']()['indexOf'](L)>-0x1||typeof K['__originalMethod']=='function'&&K['__originalMethod']['toString']()['indexOf'](L)>-0x1||typeof K['__originalFunction']=='function'&&K['__originalFunction']['toString']()['indexOf'](L)>-0x1)||b['ObjectUtils']['is'](K)&&typeof K['type']=='function'&&K['type']['toString']()['indexOf'](L)>-0x1),J);};b['ModuleUtils']['findByPrototypes']=function(...I){I=I['flat'](0xa);let J=I['pop']();if(typeof J!='boolean'){I['push'](J);J=!![];}return c['findModule']('proto',JSON['stringify'](I),K=>K['prototype']&&I['every'](L=>K['prototype'][L]!==undefined),J);};c['findModule']=function(I,J,K,L){if(!b['ObjectUtils']['is'](b['ModuleUtils']['cached'][I]))b['ModuleUtils']['cached'][I]={'module':{},'export':{}};if(L&&b['ModuleUtils']['cached'][I]['export'][J])return b['ModuleUtils']['cached'][I]['export'][J];else if(!L&&b['ModuleUtils']['cached'][I]['module'][J])return b['ModuleUtils']['cached'][I]['module'][J];else{let M=b['ModuleUtils']['find'](K,L);if(M){if(L)b['ModuleUtils']['cached'][I]['export'][J]=M;else b['ModuleUtils']['cached'][I]['module'][J]=M;return M;}else b['LogUtils']['warn'](J+'\x20['+I+']\x20not\x20found\x20in\x20WebModules');}};c['getWebModuleReq']=function(){if(!c['getWebModuleReq']['req']){const I='BDFDB-WebModules';const J=window['webpackJsonp']['push']([[],{[I]:(K,L,M)=>K['exports']=M},[[I]]]);delete J['m'][I];delete J['c'][I];c['getWebModuleReq']['req']=J;}return c['getWebModuleReq']['req'];};var k={};k['PatchTypes']=['before','instead','after'];k['PatchMap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchResult':'Result','UserProfile':'UserProfileBody'};k['ForceObserve']=['DirectMessage','GuildIcon'];k['MemoComponent']=['EmojiPicker','ExpressionPicker','GuildFolder','MessageContent','NowPlayingHeader'];k['NonRender']=b['ArrayUtils']['removeCopies']([]['concat'](k['MemoComponent'],['Attachment','ChannelCallHeader','ConnectedPrivateChannelsList','DiscordTag','IncomingCallModal','InviteModalUserRow','Mention','Menu','MenuCheckboxItem','MenuControlItem','MenuItem','Message','MessageTimestamp','NameTag','NowPlayingItem','PictureInPictureVideo','PrivateChannelEmptyMessage','RecentsChannelHeader','RecentsHeader','SystemMessage','SimpleMessageAccessories','UnreadMessages','UserInfo','WebhookCard']));k['LoadedInComponents']={'AutocompleteChannelResult':'LibraryComponents.AutocompleteItems.Channel','AutocompleteUserResult':'LibraryComponents.AutocompleteItems.User','QuickSwitchChannelResult':'LibraryComponents.QuickSwitchItems.Channel','QuickSwitchGroupDMResult':'LibraryComponents.QuickSwitchItems.GroupDM','QuickSwitchGuildResult':'LibraryComponents.QuickSwitchItems.Guild','QuickSwitchUserResult':'LibraryComponents.QuickSwitchItems.User'};k['SpecialFilter']={'V2C_ContentColumn':I=>I&&I['return']&&I['return']['stateNode']&&I['return']['stateNode']['props']&&typeof I['return']['stateNode']['props']['title']=='string'&&(I['return']['stateNode']['props']['title']['toUpperCase']()['indexOf']('PLUGINS')==0x0||I['return']['stateNode']['props']['title']['toUpperCase']()['indexOf']('THEMES')==0x0)&&I['return']['type'],'GuildFolder':I=>I&&I['return']&&I['return']['memoizedProps']&&I['return']['memoizedProps']['folderId']&&I['return']['memoizedProps']['guildIds']&&I['return']['type']};k['PatchFinder']={'Account':'accountinfo','App':'app','AppSkeleton':'app','AppView':'appcontainer','AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','Category':'categorycontainerdefault','ChannelCall':'callcurrentcontainer','ChannelMember':'member','Channels':'guildchannels','ChannelTextAreaForm':'chatform','ChannelWindow':'chatcontent','DirectMessage':'guildouter','Guild':'guildouter','GuildFolder':'guildfolderwrapper','GuildIcon':'avataricon','GuildRoleSettings':'settingswindowcontent','Guilds':'guildswrapper','GuildSettings':'layer','GuildSettingsBans':'guildsettingsbannedcard','GuildSettingsEmoji':'guildsettingsemojicard','GuildSettingsMembers':'guildsettingsmembercard','GuildSidebar':'guildchannels','I18nLoaderWrapper':'app','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','MemberCard':'guildsettingsmembercard','Messages':'messages','MessagesPopout':'messagespopout','ModalLayer':'layermodal','MutualGuilds':'userprofilebody','MutualFriends':'userprofilebody','Note':'usernotetextarea','PopoutContainer':'popout','Popouts':'popouts','PrivateChannelCall':'callcurrentcontainer','PrivateChannelCallParticipants':'callcurrentcontainer','PrivateChannelRecipientsInvitePopout':'searchpopoutdmaddpopout','PrivateChannelsList':'dmchannelsscroller','QuickSwitchChannelResult':'quickswitchresult','QuickSwitchGuildResult':'quickswitchresult','QuickSwitchResult':'quickswitchresult','Reaction':'messagereactionme','Reactor':'messagereactionsmodalreactor','RTCConnection':'voicedetails','SearchResults':'searchresultswrap','TypingUsers':'typing','UnreadDMs':'guildsscroller','Upload':'uploadmodal','UserHook':'auditloguserhook','UserPopout':'userpopout','UserProfile':'userprofile','V2C_ContentColumn':'settingswindowcontentcolumn'};k['CodeFinder']={'EmojiPicker':['allowManagedEmojis','EMOJI_PICKER_TAB_PANEL_ID','diversitySelector'],'SearchResultsInner':['SEARCH_HIDE_BLOCKED_MESSAGES','totalResults','SEARCH_PAGE_SIZE']};k['PropsFinder']={'Avatar':'AnimatedAvatar','MessageHeader':'MessageTimestamp','UnavailableGuildsButton':'UnavailableGuildsButton'};k['NonPrototype']=b['ArrayUtils']['removeCopies']([]['concat'](k['NonRender'],Object['keys'](k['CodeFinder']),Object['keys'](k['PropsFinder']),['ChannelTextAreaContainer']));b['ModuleUtils']['isPatched']=function(I,J,K){I=I==b&&c||I;if(!I||!b['ObjectUtils']['is'](J)||!J['BDFDBpatch']||!K)return![];const L=(typeof I==='string'?I:I['name'])['toLowerCase']();return L&&J[K]&&J[K]['__isBDFDBpatched']&&J['BDFDBpatch'][K]&&b['ObjectUtils']['toArray'](J['BDFDBpatch'][K])['some'](M=>b['ObjectUtils']['toArray'](M)['some'](N=>Object['keys'](N)['includes'](L)));};b['ModuleUtils']['patch']=function(I,J,K,L,M={}){I=I==b&&c||I;if(!I||!b['ObjectUtils']['is'](J)||!K||!b['ObjectUtils']['is'](L))return null;L=b['ObjectUtils']['filter'](L,R=>k['PatchTypes']['includes'](R),!![]);if(b['ObjectUtils']['isEmpty'](L))return null;const N=typeof I==='string'?I:I['name'];const O=N['toLowerCase']();const P=b['ObjectUtils']['is'](I)&&!isNaN(I['patchPriority'])?I['patchPriority']<0x0?0x0:I['patchPriority']>0xa?0xa:Math['round'](I['patchPriority']):0x5;if(!b['ObjectUtils']['is'](J['BDFDBpatch']))J['BDFDBpatch']={};K=[K]['flat'](0xa)['filter'](R=>R);let Q=R=>{b['ModuleUtils']['unpatch'](I,J,K);};for(let R of K)if(J[R]==null||typeof J[R]=='function'){if(!J['BDFDBpatch'][R]||M['force']&&(!J[R]||!J[R]['__isBDFDBpatched'])){if(!J['BDFDBpatch'][R]){J['BDFDBpatch'][R]={};for(let T of k['PatchTypes'])J['BDFDBpatch'][R][T]={};}if(!J[R])J[R]=U=>{};const S=J[R];J['BDFDBpatch'][R]['originalMethod']=S;J[R]=function(){let U=![],V=![];const W={'thisObject':this,'methodArguments':arguments,'originalMethod':S,'originalMethodName':R,'callOriginalMethod':X=>{if(!V)W['returnValue']=W['originalMethod']['apply'](W['thisObject'],W['methodArguments']);},'callOriginalMethodAfterwards':X=>{U=!![];},'stopOriginalMethodCall':X=>{V=!![];}};if(J['BDFDBpatch']&&J['BDFDBpatch'][R]){for(let Y in J['BDFDBpatch'][R]['before'])for(let Z in b['ObjectUtils']['sort'](J['BDFDBpatch'][R]['before'][Y])){b['TimeUtils']['suppress'](J['BDFDBpatch'][R]['before'][Y][Z],'\x22before\x22\x20callback\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'),J['BDFDBpatch'][R]['before'][Y][Z]['pluginName'])(W);}if(!J['BDFDBpatch']||!J['BDFDBpatch'][R])return R=='render'&&W['returnValue']===undefined?null:W['returnValue'];let X=b['ObjectUtils']['toArray'](J['BDFDBpatch'][R]['instead'])['some'](a0=>!b['ObjectUtils']['isEmpty'](a0));if(X)for(let a0 in J['BDFDBpatch'][R]['instead'])for(let a1 in b['ObjectUtils']['sort'](J['BDFDBpatch'][R]['instead'][a0])){let a2=b['TimeUtils']['suppress'](J['BDFDBpatch'][R]['instead'][a0][a1],'\x22instead\x22\x20callback\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'),J['BDFDBpatch'][R]['instead'][a0][a1]['pluginName'])(W);if(a2!==undefined)W['returnValue']=a2;}if((!X||U)&&!V)b['TimeUtils']['suppress'](W['callOriginalMethod'],'originalMethod\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'))();if(!J['BDFDBpatch']||!J['BDFDBpatch'][R])return R=='render'&&W['returnValue']===undefined?null:W['returnValue'];for(let a3 in J['BDFDBpatch'][R]['after'])for(let a4 in b['ObjectUtils']['sort'](J['BDFDBpatch'][R]['after'][a3])){let a5=b['TimeUtils']['suppress'](J['BDFDBpatch'][R]['after'][a3][a4],'\x22after\x22\x20callback\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'),J['BDFDBpatch'][R]['after'][a3][a4]['pluginName'])(W);if(a5!==undefined)W['returnValue']=a5;}}else b['TimeUtils']['suppress'](W['callOriginalMethod'],'originalMethod\x20of\x20'+R+'\x20in\x20'+(J['constructor']?J['constructor']['displayName']||J['constructor']['name']:'module'))();U=![],V=![];return R=='render'&&W['returnValue']===undefined?null:W['returnValue'];};for(let U of Object['keys'](S))J[R][U]=S[U];if(!J[R]['__originalFunction']){let V=S['__originalMethod']||S['__originalFunction']||S;if(typeof V=='function'){J[R]['__originalFunction']=V;J[R]['toString']=W=>V['toString']();}}J[R]['__isBDFDBpatched']=!![];}for(let W in L)if(typeof L[W]=='function'){if(!b['ObjectUtils']['is'](J['BDFDBpatch'][R][W][P]))J['BDFDBpatch'][R][W][P]={};J['BDFDBpatch'][R][W][P][O]=(...X)=>{if(M['once']||!I['started'])Q();return L[W](...X);};J['BDFDBpatch'][R][W][P][O]['pluginName']=N;}}if(b['ObjectUtils']['is'](I)&&!M['once']&&!M['noCache']){if(!b['ArrayUtils']['is'](I['patchCancels']))I['patchCancels']=[];I['patchCancels']['push'](Q);}return Q;};b['ModuleUtils']['unpatch']=function(I,J,K){I=I==b&&c||I;if(!J&&!K){if(b['ObjectUtils']['is'](I)&&b['ArrayUtils']['is'](I['patchCancels']))while(I['patchCancels']['length'])I['patchCancels']['pop']()();}else{if(!b['ObjectUtils']['is'](J)||!J['BDFDBpatch'])return;const M=!I?null:(typeof I==='string'?I:I['name'])['toLowerCase']();if(K){for(let N of[K]['flat'](0xa)['filter'](O=>O))if(J[N]&&J['BDFDBpatch'][N])L(N,M);}else for(let O of J['BDFDBpatch'])L(O,M);}function L(P,Q){for(let R of k['PatchTypes']){if(Q)for(let S in J['BDFDBpatch'][P][R]){delete J['BDFDBpatch'][P][R][S][Q];if(b['ObjectUtils']['isEmpty'](J['BDFDBpatch'][P][R][S]))delete J['BDFDBpatch'][P][R][S];}else delete J['BDFDBpatch'][P][R];}if(b['ObjectUtils']['isEmpty'](b['ObjectUtils']['filter'](J['BDFDBpatch'][P],T=>k['PatchTypes']['includes'](T)&&!b['ObjectUtils']['isEmpty'](J['BDFDBpatch'][P][T]),!![]))){J[P]=J['BDFDBpatch'][P]['originalMethod'];delete J['BDFDBpatch'][P];if(b['ObjectUtils']['isEmpty'](J['BDFDBpatch']))delete J['BDFDBpatch'];}}};b['ModuleUtils']['forceAllUpdates']=function(I,J){I=[I]['flat'](0xa)['map'](K=>K==b&&c||K)['filter'](K=>b['ObjectUtils']['is'](K['patchedModules']));if(I['length']){const K=document['querySelector'](b['dotCN']['app']);const L=document['querySelector']('#bd-settingspane-container\x20>\x20*');if(K){J=[J]['flat'](0xa)['filter'](O=>O)['map'](O=>O&&k['PatchMap'][O]?k['PatchMap'][O]+'\x20_\x20_\x20'+O:O);let M={};for(let O of I){M[O['name']]={'filteredModules':[],'specialModules':[],'specialModuleTypes':[],'patchTypes':{}};for(let P in O['patchedModules'])for(let Q in O['patchedModules'][P]){let R=[O['patchedModules'][P][Q]]['flat'](0xa)['filter'](S=>S);if(b['ArrayUtils']['includes'](R,'componentDidMount','componentDidUpdate','render',![])&&(!J['length']||J['includes'](Q))){let S=Q['split']('\x20_\x20_\x20')[0x1]||Q;let T=k['SpecialFilter'][S];let U=[k['PatchFinder'][S]]['flat'](0xa)['filter'](W=>u[W])['map'](W=>b['dotCN'][W])['join'](',\x20');if(U&&typeof T=='function'){for(let W of document['querySelectorAll'](U)){let X=T(b['ReactUtils']['getInstance'](W));if(X){M[O['name']]['specialModules']['push']([Q,X]);M[O['name']]['specialModuleTypes']['push'](Q);break;}}}else M[O['name']]['filteredModules']['push'](Q);let V=Q['split']('\x20_\x20_\x20')[0x0];if(!M[O['name']]['patchTypes'][V])M[O['name']]['patchTypes'][V]=[];M[O['name']]['patchTypes'][V]['push'](P);}}}let N=b['ObjectUtils']['toArray'](M);if(b['ArrayUtils']['sum'](N['map'](Y=>Y['filteredModules']['length']+Y['specialModules']['length']))){try{let Y=b['ArrayUtils']['removeCopies'](N['map'](a2=>a2['filteredModules'])['flat'](0xa));let Z=b['ArrayUtils']['removeCopies'](N['map'](a2=>a2['specialModules'])['flat'](0xa));const a0=b['ReactUtils']['findOwner'](K,{'name':Y,'type':Z,'all':!![],'group':!![],'unlimited':!![]});const a1=b['ReactUtils']['findOwner'](K,{'name':Y,'type':Z,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let a2 in a0){let a3=I['filter'](a4=>M[a4['name']]['filteredModules']['includes'](a2)||M[a4['name']]['specialModuleTypes']['includes'](a2))['map'](a4=>({'plugin':a4,'patchTypes':M[a4['name']]['patchTypes']}));for(let a4 of a0[a2])c['forceInitiateProcess'](a3,a4,a2);}for(let a5 in a1){let a6=I['filter'](a7=>M[a7['name']]['filteredModules']['includes'](a5)||M[a7['name']]['specialModuleTypes']['includes'](a5))['map'](a7=>({'plugin':a7,'patchTypes':M[a7['name']]['patchTypes']}));for(let a7 of a1[a5])c['forceInitiateProcess'](a6,a7,a5);}if(L){const a8=b['ReactUtils']['findOwner'](L,{'name':Y,'type':Z,'all':!![],'unlimited':!![]});if(a8['length']){const a9=b['ReactUtils']['findOwner'](b['ReactUtils']['getInstance'](document['querySelector']('#bd-settingspane-container\x20>\x20*')),{'props':'onChange','up':!![]});if(a9&&a9['props']&&typeof a9['props']['onChange']=='function')a9['props']['onChange'](a9['props']['type']);}}}catch(aa){b['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+aa,I['map'](ab=>ab['name'])['join'](',\x20'));}}}}};c['forceInitiateProcess']=function(I,J,K){I=[I]['flat'](0xa)['filter'](L=>L);if(I['length']&&J&&K){let L=![];for(let M of I){let N=M['plugin']==b&&c||M['plugin'],O=[];for(let P in N['patchedModules'])if(N['patchedModules'][P][K])O['push'](N['patchedModules'][P][K]);O=b['ArrayUtils']['removeCopies'](O)['flat'](0xa)['filter'](Q=>Q);if(O['includes']('componentDidMount'))c['initiateProcess'](N,K,{'instance':J,'methodname':'componentDidMount','patchtypes':Object['keys'](M['patchTypes'])});if(O['includes']('render'))L=!![];else if(!L&&O['includes']('componentDidUpdate'))c['initiateProcess'](N,K,{'instance':J,'methodname':'componentDidUpdate','patchtypes':Object['keys'](M['patchTypes'])});}if(L)b['ReactUtils']['forceUpdate'](J);}};c['initiateProcess']=function(I,J,K){I=I==b&&c||I;if(b['ObjectUtils']['is'](I)&&!I['stopping']&&K['instance']){J=n['StringUtils']['upperCaseFirstChar'](J['split']('\x20_\x20_\x20')[0x1]||J)['replace'](/[^A-z0-9]|_/g,'');if(typeof I['process'+J]=='function'){if(typeof K['methodname']=='string'&&(K['methodname']['indexOf']('componentDid')==0x0||K['methodname']['indexOf']('componentWill')==0x0)){K['node']=b['ReactUtils']['findDOMNode'](K['instance']);if(K['node'])return I['process'+J](K);else b['TimeUtils']['timeout'](L=>{K['node']=b['ReactUtils']['findDOMNode'](K['instance']);if(K['node'])return I['process'+J](K);});}else if(K['returnvalue']||K['patchtypes']['includes']('before'))return I['process'+J](K);}}};if(!b['InternalData']['patchObserverData'])b['InternalData']['patchObserverData']={'observer':null,'data':{}};c['patchPlugin']=function(I){I=I==b&&c||I;if(!b['ObjectUtils']['is'](I)||!b['ObjectUtils']['is'](I['patchedModules']))return;b['ModuleUtils']['unpatch'](I);let J={};for(let K in I['patchedModules'])for(let L in I['patchedModules'][K]){if(!J[L])J[L]={};J[L][K]=I['patchedModules'][K][L];}for(let M in J){let N={'plugin':I,'patchTypes':J[M]};let O=M['split']('\x20_\x20_\x20')[0x1]||M;let P=k['LoadedInComponents'][M]&&b['ReactUtils']['getValue'](x,k['LoadedInComponents'][M]);if(P)c['patch_PatchInstance'](N,k['NonRender']['includes'](O)?(b['ModuleUtils']['find'](Q=>Q==P,![])||{})['exports']:P,M);else{let Q=[k['PatchFinder'][O]]['flat'](0xa)['filter'](W=>u[W]);let R=k['CodeFinder'][O];let S=k['PropsFinder'][O];let T=k['PatchMap'][M];let U=T?T+'\x20_\x20_\x20'+M:M;let V=U['split']('\x20_\x20_\x20')[0x0];if(T){for(let W in I['patchedModules'])if(I['patchedModules'][W][M]){I['patchedModules'][W][U]=I['patchedModules'][W][M];delete I['patchedModules'][W][M];}}if(Q['length'])c['patch_CheckForInstance'](N,Q,U,k['ForceObserve']['includes'](O));else if(R){let X=(b['ModuleUtils']['findByString'](R,![])||{})['exports'];c['patch_PatchInstance'](N,X&&k['MemoComponent']['includes'](O)?X['default']:X,U,!![]);}else if(S){let Y=(b['ModuleUtils']['findByProperties'](S,![])||{})['exports'];c['patch_PatchInstance'](N,Y&&k['MemoComponent']['includes'](O)?Y['default']:Y,U,!![]);}else if(k['NonRender']['includes'](O)){let Z=(b['ModuleUtils']['findByName'](V,![])||{})['exports'];c['patch_PatchInstance'](N,Z&&k['MemoComponent']['includes'](O)?Z['default']:Z,U,!![]);}else c['patch_PatchInstance'](N,b['ModuleUtils']['findByName'](V),U);}}};c['patch_PatchInstance']=function(I,J,K,L){I=[I]['flat'](0xa)['filter'](M=>M);if(I['length']&&J){let M=K['split']('\x20_\x20_\x20')[0x0];J=J['_reactInternalFiber']&&J['_reactInternalFiber']['type']?J['_reactInternalFiber']['type']:J;J=L||c['isInstanceCorrect'](J,M)||k['LoadedInComponents'][K]?J:b['ReactUtils']['findConstructor'](J,M)||b['ReactUtils']['findConstructor'](J,M,{'up':!![]});if(J){J=J['_reactInternalFiber']&&J['_reactInternalFiber']['type']?J['_reactInternalFiber']['type']:J;let N=k['NonPrototype']['includes'](M)?J:J['prototype'];for(let O of I)for(let P in O['patchTypes']){let Q={};Q[P]=R=>{return c['initiateProcess'](O['plugin'],K,{'instance':window!=R['thisObject']?R['thisObject']:{'props':R['methodArguments'][0x0]},'returnvalue':R['returnValue'],'methodname':R['originalMethodName'],'patchtypes':[P]});};b['ModuleUtils']['patch'](O['plugin'],N,O['patchTypes'][P],Q);}}}};c['patch_CheckEle']=function(I,J,K){I=[I]['flat'](0xa)['filter'](O=>O);let L=K['split']('\x20_\x20_\x20')[0x1]||K;let M=b['ReactUtils']['getInstance'](J);let N=k['SpecialFilter'][L];if(typeof N=='function'){let O=N(M);if(O){if(k['NonRender']['includes'](L)){let P=(b['ModuleUtils']['find'](Q=>Q==O,![])||{})['exports'];c['patch_PatchInstance'](I,P&&k['MemoComponent']['includes'](L)?P['default']:P,K,!![]);}else c['patch_PatchInstance'](I,O,K,!![]);b['ModuleUtils']['forceAllUpdates'](I['map'](Q=>Q['plugin']),K);return!![];}}else if(c['patch_IsCorrectInstance'](M,K)){c['patch_PatchInstance'](I,M,K);b['ModuleUtils']['forceAllUpdates'](I['map'](Q=>Q['plugin']),K);return!![];}return![];};c['patch_CheckForInstance']=function(I,J,K,L){const M=document['querySelector'](b['dotCN']['app']),N=document['querySelector']('#bd-settingspane-container\x20'+b['dotCN']['scrollerwrap']);let O=![];if(!L){if(M){let P=b['ReactUtils']['findConstructor'](M,K,{'unlimited':!![]})||b['ReactUtils']['findConstructor'](M,K,{'unlimited':!![],'up':!![]});if(P&&(O=!![]))c['patch_PatchInstance'](I,P,K);}if(!O&&N){let Q=b['ReactUtils']['findConstructor'](N,K,{'unlimited':!![]});if(Q&&(O=!![]))c['patch_PatchInstance'](I,Q,K);}}if(!O){let R=![],S=J['map'](U=>b['disCN'][U]),T=J['map'](U=>b['dotCN'][U])['join'](',\x20');for(let U of document['querySelectorAll'](T)){R=c['patch_CheckEle'](I,U,K);if(R)break;}if(!R){if(!b['InternalData']['patchObserverData']['observer']){let V=document['querySelector'](b['dotCN']['appmount']);if(V){b['InternalData']['patchObserverData']['observer']=new MutationObserver(W=>{W['forEach'](X=>{X['addedNodes']['forEach'](Y=>{if(!Y||!Y['tagName'])return;for(let Z in b['InternalData']['patchObserverData']['data'])if(!b['InternalData']['patchObserverData']['data'][Z]['found']){let a0=null;if((a0=b['DOMUtils']['containsClass'](Y,...b['InternalData']['patchObserverData']['data'][Z]['classes'])?Y:Y['querySelector'](b['InternalData']['patchObserverData']['data'][Z]['selector']))!=null){b['InternalData']['patchObserverData']['data'][Z]['found']=c['patch_CheckEle'](b['InternalData']['patchObserverData']['data'][Z]['plugins'],a0,Z);if(b['InternalData']['patchObserverData']['data'][Z]['found']){delete b['InternalData']['patchObserverData']['data'][Z];if(b['ObjectUtils']['isEmpty'](b['InternalData']['patchObserverData']['data'])){b['InternalData']['patchObserverData']['observer']['disconnect']();b['InternalData']['patchObserverData']['observer']=null;}}}}});});});b['InternalData']['patchObserverData']['observer']['observe'](V,{'childList':!![],'subtree':!![]});}}if(!b['InternalData']['patchObserverData']['data'][K])b['InternalData']['patchObserverData']['data'][K]={'selector':T,'classes':S,'found':![],'plugins':[]};b['InternalData']['patchObserverData']['data'][K]['plugins']['push'](I);}}};c['patch_IsCorrectInstance']=function(I,J){if(!I)return![];I=I['_reactInternalFiber']&&I['_reactInternalFiber']['type']?I['_reactInternalFiber']['type']:I;I=c['isInstanceCorrect'](I,J)?I:b['ReactUtils']['findConstructor'](I,J)||b['ReactUtils']['findConstructor'](I,J,{'up':!![]});return!!I;};c['isInstanceCorrect']=function(I,J){return I&&(I['type']&&(I['type']['render']&&I['type']['render']['displayName']===J||I['type']['displayName']===J||I['type']['name']===J||I['type']===J)||I['render']&&(I['render']['displayName']===J||I['render']['name']===J)||I['displayName']==J||I['name']===J);};b['DiscordConstants']=b['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var l={};l['Channel']=b['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');l['Guild']=b['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');l['Invite']=b['ModuleUtils']['findByPrototypes']('getExpiresAt','isExpired');l['Message']=b['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');l['Messages']=b['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');l['Timestamp']=b['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');l['User']=b['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');b['DiscordObjects']=Object['assign']({},l);var m={};for(let I of['child_process','electron','fs','path','process','request']){try{m[I]=require(I);}catch(J){}}b['LibraryRequires']=Object['assign']({},m);var n={};n['AckUtils']=b['ModuleUtils']['findByProperties']('localAck','bulkAck');n['ActivityUtils']=b['ModuleUtils']['findByProperties']('sendActivityInvite','updateActivity');n['APIUtils']=b['ModuleUtils']['findByProperties']('getAPIBaseURL');n['AnalyticsUtils']=b['ModuleUtils']['findByProperties']('isThrottled','track');n['AnimationUtils']=b['ModuleUtils']['findByProperties']('spring','decay');n['AssetUtils']=b['ModuleUtils']['findByProperties']('getAssetImage','getAssetIds');n['BadgeUtils']=b['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');n['CallUtils']=b['ModuleUtils']['findByProperties']('getCalls','isCallActive');n['CategoryCollapseStore']=b['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');n['CategoryCollapseUtils']=b['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');n['ChannelStore']=b['ModuleUtils']['findByProperties']('getChannel','getChannels');n['ColorUtils']=b['ModuleUtils']['findByProperties']('hex2int','hex2rgb');n['ContextMenuUtils']=b['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');n['CopyLinkUtils']=b['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');n['CurrentUserStore']=b['ModuleUtils']['findByProperties']('getCurrentUser');n['CurrentVoiceUtils']=b['ModuleUtils']['findByProperties']('getAveragePing','isConnected');n['DirectMessageStore']=b['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');n['DirectMessageUnreadStore']=b['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');n['DispatchApiUtils']=b['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');n['DispatchUtils']=b['ModuleUtils']['findByProperties']('ComponentDispatch');n['DirectMessageUtils']=b['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');n['EmojiUtils']=b['ModuleUtils']['findByProperties']('translateInlineEmojiToSurrogates','translateSurrogatesToInlineEmoji');n['EmojiStateUtils']=b['ModuleUtils']['findByProperties']('getURL','isEmojiDisabled');n['FriendUtils']=b['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');n['FolderStore']=b['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');n['FolderUtils']=b['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');n['GuildBoostUtils']=b['ModuleUtils']['findByProperties']('getTierName','getUserLevel');n['GuildChannelStore']=b['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');n['GuildEmojiStore']=b['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');n['GuildNotificationsUtils']=b['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateGuildNotificationSettings');n['GuildSettingsSectionUtils']=b['ModuleUtils']['findByProperties']('getGuildSettingsSections');n['GuildSettingsUtils']=b['ModuleUtils']['findByProperties']('open','updateGuild');n['GuildStore']=b['ModuleUtils']['findByProperties']('getGuild','getGuilds');n['GuildUnavailableStore']=b['ModuleUtils']['findByProperties']('isUnavailable','totalUnavailableGuilds');n['GuildUtils']=b['ModuleUtils']['findByProperties']('transitionToGuildSync');n['GuildWelcomeStore']=b['ModuleUtils']['findByProperties']('hasSeen','get');n['GuildWelcomeUtils']=b['ModuleUtils']['findByProperties']('welcomeScreenViewed','resetWelcomeScreen');n['HistoryUtils']=b['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;n['IconUtils']=b['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');n['InviteUtils']=b['ModuleUtils']['findByProperties']('acceptInvite','createInvite');n['KeyCodeUtils']=Object['assign']({},b['ModuleUtils']['findByProperties']('toCombo','keyToCode'));n['KeyCodeUtils']['getString']=function(K){return n['KeyCodeUtils']['toString']([K]['flat'](0xa)['filter'](L=>L)['map'](L=>[b['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],L,b['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};n['KeyEvents']=b['ModuleUtils']['findByProperties']('aliases','code','codes');n['LanguageStore']=b['ModuleUtils']['findByProperties']('getLanguages','Messages');n['LastChannelStore']=b['ModuleUtils']['findByProperties']('getLastSelectedChannelId');n['LastGuildStore']=b['ModuleUtils']['findByProperties']('getLastSelectedGuildId');n['LoginUtils']=b['ModuleUtils']['findByProperties']('login','logout');n['MemberStore']=b['ModuleUtils']['findByProperties']('getMember','getMembers');n['MentionUtils']=b['ModuleUtils']['findByProperties']('isRawMessageMentioned','isMentioned');n['MessageManageUtils']=b['ModuleUtils']['findByProperties']('copyLink','quoteMessage');n['MessagePinUtils']=b['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');n['MessageStore']=b['ModuleUtils']['findByProperties']('getMessage','getMessages');n['MessageUtils']=b['ModuleUtils']['findByProperties']('receiveMessage','editMessage');n['ModalUtils']=b['ModuleUtils']['findByProperties']('openModal','hasModalOpen');n['MutedUtils']=b['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');n['NoteStore']=b['ModuleUtils']['findByProperties']('getNote');n['NotificationSettingsStore']=b['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');n['NotificationSettingsUtils']=b['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');n['NotificationUtils']=b['ModuleUtils']['findByProperties']('makeTextChatNotification','shouldNotify');n['PlatformUtils']=b['ModuleUtils']['findByProperties']('isWindows','isLinux');n['PermissionUtils']=b['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');n['PermissionRoleUtils']=b['ModuleUtils']['findByProperties']('getHighestRole','can');n['QuoteUtils']=b['ModuleUtils']['findByProperties']('canQuote','createQuotedText');n['ReactionEmojiUtils']=b['ModuleUtils']['findByProperties']('getReactionEmojiName','getReactionEmojiName');n['ReactionUtils']=b['ModuleUtils']['findByProperties']('addReaction','removeReaction');n['RecentMentionUtils']=b['ModuleUtils']['findByProperties']('deleteRecentMention','fetchRecentMentions');n['SearchPageUtils']=b['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');n['SelectChannelUtils']=b['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');n['SettingsUtils']=b['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');n['SlateUtils']=b['ModuleUtils']['findByProperties']('serialize','deserialize');n['SlateUtils']=b['ModuleUtils']['find'](K=>typeof K['serialize']=='function'&&typeof K['deserialize']=='function'&&typeof K['deserialize']=='function'&&typeof K['getFlag']!='function');n['SlateSelectionUtils']=b['ModuleUtils']['findByProperties']('serialize','serializeSelection');n['SlowmodeUtils']=b['ModuleUtils']['findByProperties']('getSlowmodeCooldownGuess');n['SoundStateUtils']=b['ModuleUtils']['findByProperties']('isSoundDisabled','getDisabledSounds');n['SoundUtils']=b['ModuleUtils']['findByProperties']('playSound','createSound');n['SpellCheckUtils']=b['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');n['SpotifyTrackUtils']=b['ModuleUtils']['findByProperties']('hasConnectedAccount','getLastPlayedTrackId');n['SpotifyUtils']=b['ModuleUtils']['findByProperties']('setActiveDevice','pause');n['StateStoreUtils']=b['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');n['StatusMetaUtils']=b['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');n['StoreChangeUtils']=b['ModuleUtils']['findByProperties']('get','set','clear','remove');n['StreamerModeStore']=b['ModuleUtils']['findByProperties']('disableSounds','hidePersonalInformation');n['StreamUtils']=b['ModuleUtils']['findByProperties']('getActiveStreamForUser','getAllApplicationStreams');n['StringUtils']=b['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');n['UnreadGuildUtils']=b['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');n['UnreadChannelUtils']=b['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');n['UploadUtils']=b['ModuleUtils']['findByProperties']('upload','instantBatchUpload');n['UserFetchUtils']=b['ModuleUtils']['findByProperties']('fetchCurrentUser','getUser');n['UserNameUtils']=b['ModuleUtils']['findByProperties']('getName','getNickname');n['UserProfileUtils']=b['ModuleUtils']['findByProperties']('open','fetchProfile');n['UserSettingsUtils']=b['ModuleUtils']['findByProperties']('open','updateAccount');n['UserStore']=b['ModuleUtils']['findByProperties']('getUser','getUsers');n['Utilities']=b['ModuleUtils']['findByProperties']('flatMap','cloneDeep');n['VoiceUtils']=b['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');n['ZoomUtils']=b['ModuleUtils']['findByProperties']('setZoom','setFontSize');b['LibraryModules']=Object['assign']({},n);n['React']=b['ModuleUtils']['findByProperties']('createElement','cloneElement');n['ReactDOM']=b['ModuleUtils']['findByProperties']('render','findDOMNode');b['ReactUtils']=Object['assign']({},n['React'],n['ReactDOM']);b['ReactUtils']['childrenToArray']=function(K){if(K&&K['props']&&K['props']['children']&&!b['ArrayUtils']['is'](K['props']['children'])){var L=K['props']['children'];K['props']['children']=[];K['props']['children']['push'](L);}return K['props']['children'];};b['ReactUtils']['createElement']=function(K,L={},M=![]){if(K&&K['defaultProps'])for(let N in K['defaultProps'])if(L[N]==null)L[N]=K['defaultProps'][N];try{let O=n['React']['createElement'](K||'div',L)||null;if(M)return n['React']['createElement'](x['ErrorBoundary'],{},O)||null;else return O;}catch(P){b['LogUtils']['error']('Could\x20not\x20create\x20react\x20element!\x20'+P);}return null;};b['ReactUtils']['objectToReact']=function(K){if(!K)return null;else if(typeof K=='string')return K;else if(b['ObjectUtils']['is'](K))return b['ReactUtils']['createElement'](K['type']||K['props']&&K['props']['href']&&'a'||'div',!K['props']?{}:Object['assign']({},K['props'],{'children':K['props']['children']?b['ReactUtils']['objectToReact'](K['props']['children']):null}));else if(b['ArrayUtils']['is'](K))return K['map'](L=>b['ReactUtils']['objectToReact'](L));else return null;};b['ReactUtils']['elementToReact']=function(K,L){if(b['ReactUtils']['isValidElement'](K))return K;else if(!Node['prototype']['isPrototypeOf'](K))return null;else if(K['nodeType']==Node['TEXT_NODE'])return K['nodeValue'];let M={},N=[];if(typeof L=='function')M['ref']=L;for(let P of K['attributes'])M[P['name']]=P['value'];if(K['attributes']['style'])M['style']=b['ObjectUtils']['filter'](K['style'],Q=>K['style'][Q]&&isNaN(parseInt(Q)),!![]);M['children']=[];if(K['style']&&K['style']['cssText'])for(let Q of K['style']['cssText']['split'](';'))if(Q['endsWith']('!important')){let R=Q['split'](':')[0x0];let S=R['replace'](/-([a-z]?)/g,(T,U)=>U['toUpperCase']());if(M['style'][S]!=null)N['push'](R);}for(let T of K['childNodes'])M['children']['push'](b['ReactUtils']['elementToReact'](T));M['className']=b['DOMUtils']['formatClassName'](M['className'],M['class']);delete M['class'];let O=b['ReactUtils']['createElement'](K['tagName'],M);b['ReactUtils']['forceStyle'](O,N);return O;};b['ReactUtils']['forceStyle']=function(K,L){if(!b['ReactUtils']['isValidElement'](K)||!b['ObjectUtils']['is'](K['props']['style'])||!b['ArrayUtils']['is'](L)||!L['length'])return null;let M=K['ref'];K['ref']=N=>{if(typeof M=='function')M(N);let O=b['ReactUtils']['findDOMNode'](N);if(Node['prototype']['isPrototypeOf'](O))for(let P of L){let Q=K['props']['style'][P['replace'](/-([a-z]?)/g,(R,S)=>S['toUpperCase']())];if(Q!=null)O['style']['setProperty'](P,Q,'important');}};return K;};b['ReactUtils']['findChild']=function(K,L){if(!K||!b['ObjectUtils']['is'](L)||!L['name']&&!L['key']&&!L['props']&&!L['filter'])return L['all']?[]:null;let M=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](M)&&!b['ArrayUtils']['is'](M))return null;L['name']=L['name']&&[L['name']]['flat']()['filter'](W=>W);L['key']=L['key']&&[L['key']]['flat']()['filter'](W=>W);L['props']=L['props']&&[L['props']]['flat']()['filter'](W=>W);L['filter']=typeof L['filter']=='function'&&L['filter'];let N=-0x1;let O=performance['now']();let P=L['unlimited']?0x3b9ac9ff:L['depth']===undefined?0x1e:L['depth'];let Q=L['unlimited']?0x3b9ac9ff:L['time']===undefined?0x96:L['time'];let R=[];let S=T(M);if(L['all']){for(let W in R)delete R[W]['BDFDBreactSearch'];return R;}else return S;function T(X){let Y=null;if(!X||N>=P||performance['now']()-O>=Q)return Y;if(!b['ArrayUtils']['is'](X)){if(U(X)){if(L['all']===undefined||!L['all'])Y=X;else if(L['all']){if(!X['BDFDBreactSearch']){X['BDFDBreactSearch']=!![];R['push'](X);}}}else if(X['props']&&X['props']['children']){N++;Y=T(X['props']['children']);N--;}}else{for(let Z of X)if(Z){if(b['ArrayUtils']['is'](Z))Y=T(Z);else if(U(Z)){if(L['all']===undefined||!L['all'])Y=Z;else if(L['all']){if(!Z['BDFDBreactSearch']){Z['BDFDBreactSearch']=!![];R['push'](Z);}}}else if(Z['props']&&Z['props']['children']){N++;Y=T(Z['props']['children']);N--;}if(Y)break;}}return Y;}function U(X){if(!X)return![];let Y=X['stateNode']?X['stateNode']['props']:X['props'];return X['type']&&L['name']&&L['name']['some'](Z=>c['isInstanceCorrect'](X,Z))||L['key']&&L['key']['some'](Z=>X['key']==Z)||Y&&L['props']&&L['props'][L['someProps']?'some':'every'](Z=>b['ArrayUtils']['is'](Z)?b['ArrayUtils']['is'](Z[0x1])?Z[0x1]['some'](a0=>V(Y,Z[0x0],a0)):V(Y,Z[0x0],Z[0x1]):Y[Z]!==undefined)||L['filter']&&L['filter'](X);}function V(X,Y,Z){return Y!=null&&X[Y]!=null&&Z!=null&&(Y=='className'?('\x20'+X[Y]+'\x20')['indexOf']('\x20'+Z+'\x20')>-0x1:b['equals'](X[Y],Z));}};b['ReactUtils']['setChild']=function(K,L){if(!b['ReactUtils']['isValidElement'](K)||!b['ReactUtils']['isValidElement'](L)&&typeof L!='string'&&!b['ArrayUtils']['is'](L))return;let M=![];N(K);function N(P){if(M)return;if(!b['ArrayUtils']['is'](P))O(P);else for(let Q of P)O(Q);}function O(P){if(!b['ReactUtils']['isValidElement'](P))return;if(b['ReactUtils']['isValidElement'](P['props']['children']))N(P['props']['children']);else if(b['ArrayUtils']['is'](P['props']['children'])){if(P['props']['children']['every'](Q=>!Q||typeof Q=='string')){M=!![];P['props']['children']=[L]['flat'](0xa);}else N(P['props']['children']);}else{M=!![];P['props']['children']=L;}}};b['ReactUtils']['findConstructor']=function(K,L,M={}){if(!b['ObjectUtils']['is'](M))return null;if(!K||!L)return M['all']?M['group']?{}:[]:null;let N=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](N))return M['all']?M['group']?{}:[]:null;L=L&&[L]['flat'](0xa)['filter'](W=>typeof W=='string');if(!L['length'])return M['all']?M['group']?{}:[]:null;;let O=-0x1;let P=performance['now']();let Q=M['unlimited']?0x3b9ac9ff:M['depth']===undefined?0x1e:M['depth'];let R=M['unlimited']?0x3b9ac9ff:M['time']===undefined?0x96:M['time'];let S=M['up']?{'return':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]};let T=M['group']?{}:[];let U=V(N);if(M['all']){for(let W in T){if(M['group'])for(let X in T[W])delete T[W][X]['BDFDBreactSearch'];else delete T[W]['BDFDBreactSearch'];}return T;}else return U;function V(Y){O++;let Z=undefined;if(Y&&!Node['prototype']['isPrototypeOf'](Y)&&!b['ReactUtils']['getInstance'](Y)&&Oc['isInstanceCorrect'](Y,a0['split']('\x20_\x20_\x20')[0x0]))){if(M['all']===undefined||!M['all'])Z=Y['type'];else if(M['all']){if(!Y['type']['BDFDBreactSearch']){Y['type']['BDFDBreactSearch']=!![];if(M['group']){if(Y['type']&&(Y['type']['render']&&Y['type']['render']['displayName']||Y['type']['displayName']||Y['type']['name'])){let a0=M['name']['find'](a1=>(Y['type']['render']&&Y['type']['render']['displayName']||Y['type']['displayName']||Y['type']['name']||Y['type'])==a1['split']('\x20_\x20_\x20')[0x0])||'Default';if(!b['ArrayUtils']['is'](T[a0]))T[a0]=[];T[a0]['push'](Y['stateNode']);}}else T['push'](Y['type']);}}}if(Z===undefined){let a1=Object['getOwnPropertyNames'](Y);for(let a2=0x0;Z===undefined&&a2V);L['type']=L['type']&&[L['type']]['flat']()['filter'](V=>V);L['key']=L['key']&&[L['key']]['flat']()['filter'](V=>V);L['props']=L['props']&&[L['props']]['flat']()['filter'](V=>V);let N=-0x1;let O=performance['now']();let P=L['unlimited']?0x3b9ac9ff:L['depth']===undefined?0x1e:L['depth'];let Q=L['unlimited']?0x3b9ac9ff:L['time']===undefined?0x96:L['time'];let R=L['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};let S=L['group']?{}:[];let T=U(M);if(L['all']){for(let V in S){if(L['group'])for(let W in S[V])delete S[V][W]['BDFDBreactSearch'];else delete S[V]['BDFDBreactSearch'];}return S;}else return T;function U(X){N++;let Y=undefined;if(X&&!Node['prototype']['isPrototypeOf'](X)&&!b['ReactUtils']['getInstance'](X)&&Nc['isInstanceCorrect'](X,a0['split']('\x20_\x20_\x20')[0x0]))||X['type']&&L['type']&&L['type']['some'](a0=>b['ArrayUtils']['is'](a0)?X['type']===a0[0x1]:X['type']===a0)||X['key']&&L['key']&&L['key']['some'](a0=>X['key']==a0)||Z&&L['props']&&L['props']['every'](a0=>b['ArrayUtils']['is'](a0)?b['ArrayUtils']['is'](a0[0x1])?a0[0x1]['some'](a1=>b['equals'](Z[a0[0x0]],a1)):b['equals'](Z[a0[0x0]],a0[0x1]):Z[a0]!==undefined))){if(L['all']===undefined||!L['all'])Y=X['stateNode'];else if(L['all']){if(!X['stateNode']['BDFDBreactSearch']){X['stateNode']['BDFDBreactSearch']=!![];if(L['group']){if(L['name']&&X['type']&&(X['type']['render']&&X['type']['render']['displayName']||X['type']['displayName']||X['type']['name']||X['type'])){let a0=L['name']['find'](a1=>(X['type']['render']&&X['type']['render']['displayName']||X['type']['displayName']||X['type']['name']||X['type'])==a1['split']('\x20_\x20_\x20')[0x0])||'Default';if(!b['ArrayUtils']['is'](S[a0]))S[a0]=[];S[a0]['push'](X['stateNode']);}else if(L['type']&&X['type']){let a1=[L['type']['find'](a2=>b['ArrayUtils']['is'](a2)&&X['type']===a2[0x1])]['flat'](0xa)[0x0]||'Default';if(!b['ArrayUtils']['is'](S[a1]))S[a1]=[];S[a1]['push'](X['stateNode']);}}else S['push'](X['stateNode']);}}}if(Y===undefined){let a2=Object['getOwnPropertyNames'](X);for(let a3=0x0;Y===undefined&&a3S);L['key']=L['key']&&[L['key']]['flat']()['filter'](S=>S);L['props']=L['props']&&[L['props']]['flat']()['filter'](S=>S);L['filter']=typeof L['filter']=='function'&&L['filter'];let N=firstArray=M;while(!b['ArrayUtils']['is'](firstArray)&&firstArray['props']&&firstArray['props']['children'])firstArray=firstArray['props']['children'];if(!b['ArrayUtils']['is'](firstArray)){if(N&&N['props']){N['props']['children']=[N['props']['children']];firstArray=N['props']['children'];}else firstArray=[];}return O(M);function O(S){let T=[firstArray,-0x1];if(!S)return T;if(!b['ArrayUtils']['is'](S)){if(Q(S))T=P(S);else if(S['props']&&S['props']['children']){N=S;T=O(S['props']['children']);}}else{for(let U=0x0;T[0x1]==-0x1&&Uc['isInstanceCorrect'](S,U))||L['key']&&L['key']['some'](U=>S['key']==U)||T&&L['props']&&L['props'][L['someProps']?'some':'every'](U=>b['ArrayUtils']['is'](U)?b['ArrayUtils']['is'](U[0x1])?U[0x1]['some'](V=>R(T,U[0x0],V)):R(T,U[0x0],U[0x1]):T[U]!==undefined)||L['filter']&&L['filter'](S);}function R(S,T,U){return T!=null&&S[T]!=null&&U!=null&&(T=='className'?('\x20'+S[T]+'\x20')['indexOf']('\x20'+U+'\x20')>-0x1:b['equals'](S[T],U));}};b['ReactUtils']['findProps']=function(K,L){if(!b['ObjectUtils']['is'](L))return null;if(!K||!L['name']&&!L['key'])return null;let M=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](M))return null;L['name']=L['name']&&[L['name']]['flat']()['filter'](T=>T);L['key']=L['key']&&[L['key']]['flat']()['filter'](T=>T);let N=-0x1;let O=performance['now']();let P=L['unlimited']?0x3b9ac9ff:L['depth']===undefined?0x1e:L['depth'];let Q=L['unlimited']?0x3b9ac9ff:L['time']===undefined?0x96:L['time'];let R=L['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return S(M);function S(T){N++;let U=undefined;if(T&&!Node['prototype']['isPrototypeOf'](T)&&!b['ReactUtils']['getInstance'](T)&&Nc['isInstanceCorrect'](T,V['split']('\x20_\x20_\x20')[0x0]))||L['key']&&L['key']['some'](V=>T['key']==V)))U=T['memoizedProps'];if(U===undefined){let V=Object['getOwnPropertyNames'](T);for(let W=0x0;U===undefined&&WM))if(L['updater']&&typeof L['updater']['isMounted']=='function'&&L['updater']['isMounted'](L))L['forceUpdate']();};b['ReactUtils']['getInstance']=function(K){if(!b['ObjectUtils']['is'](K))return null;return K[Object['keys'](K)['find'](L=>L['startsWith']('__reactInternalInstance'))];};b['ReactUtils']['getValue']=function(K,L){if(!K||!L)return null;let M=Node['prototype']['isPrototypeOf'](K)?b['ReactUtils']['getInstance'](K):K;if(!b['ObjectUtils']['is'](M))return null;let N=M,O=L['split']('.')['filter'](P=>P);for(value of O){if(!N)return null;N=N[value];}return N;};b['ReactUtils']['render']=function(K,L){if(!b['ReactUtils']['isValidElement'](K)||!Node['prototype']['isPrototypeOf'](L))return;try{n['ReactDOM']['render'](K,L);let M=new MutationObserver(N=>N['forEach'](O=>{let P=Array['from'](O['removedNodes']);if(P['indexOf'](L)>-0x1||P['some'](Q=>Q['contains'](L))){M['disconnect']();b['ReactUtils']['unmountComponentAtNode'](L);}}));M['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(N){b['LogUtils']['error']('Could\x20not\x20render\x20react\x20element!\x20'+N);}};c['setDefaultProps']=function(K,L){if(b['ObjectUtils']['is'](K))K['defaultProps']=Object['assign']({},K['defaultProps'],L);};c['loadPatchedComp']=function(K){let L=b['ReactUtils']['getValue'](window['BDFDB'],'LibraryComponents.'+K);if(L&&L['prototype']&&L['prototype']['BDFDBpatch'])return L;};b['sameProto']=function(K,L){if(K!=null&&typeof K=='object')return K['constructor']&&K['constructor']['prototype']&&typeof K['constructor']['prototype']['isPrototypeOf']=='function'&&K['constructor']['prototype']['isPrototypeOf'](L);else return typeof K==typeof L;};b['equals']=function(K,L,M){var N=-0x1;if(M===undefined||typeof M!=='boolean')M=![];return O(K,L);function O(P,Q){N++;var R=!![];if(N>0x3e8)R=null;else{if(typeof P!==typeof Q)R=![];else if(typeof P==='function')R=P['toString']()==Q['toString']();else if(typeof P==='undefined')R=!![];else if(typeof P==='symbol')R=!![];else if(typeof P==='boolean')R=P==Q;else if(typeof P==='string')R=P==Q;else if(typeof P==='number'){if(isNaN(P)||isNaN(Q))R=isNaN(P)==isNaN(Q);else R=P==Q;}else if(!P&&!Q)R=!![];else if(!P||!Q)R=![];else if(typeof P==='object'){var S=Object['getOwnPropertyNames'](P);var T=Object['getOwnPropertyNames'](Q);if(S['length']!==T['length'])R=![];else for(let U=0x0;R===!![]&&U{let L=b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['app']),{'name':'Messages','unlimited':!![]});let M=b['ReactUtils']['getValue'](L,'_reactInternalFiber.type.prototype');if(L&&M){b['ModuleUtils']['patch'](b,M,'render',{'after':N=>{let [O,P]=b['ReactUtils']['findParent'](N['returnValue'],{'props':['message','channel']});if(P>-0x1)for(let Q of O)if(Q['props']['message'])Q['props']['message']=new b['DiscordObjects']['Message'](Q['props']['message']);}},{'once':!![]});b['ReactUtils']['forceUpdate'](L);}},0x3e8);};b['UserUtils']={};b['UserUtils']['is']=function(K){return K&&K instanceof b['DiscordObjects']['User'];};var p=n['CurrentUserStore']&&n['CurrentUserStore']['getCurrentUser']();b['UserUtils']['me']=new Proxy(p||{},{'get':function(K,L){return(p=n['CurrentUserStore']['getCurrentUser']())&&p[L];}});b['UserUtils']['getStatus']=function(K=b['UserUtils']['me']['id']){K=typeof K=='number'?K['toFixed']():K;let L=b['UserUtils']['getActivitiy'](K);return L&&L['type']==b['DiscordConstants']['ActivityTypes']['STREAMING']?'streaming':n['StatusMetaUtils']['getStatus'](K);};b['UserUtils']['getStatusColor']=function(K){K=typeof K=='string'?K['toLowerCase']():null;switch(K){case'online':return b['DiscordConstants']['Colors']['STATUS_GREEN'];case'mobile':return b['DiscordConstants']['Colors']['STATUS_GREEN'];case'idle':return b['DiscordConstants']['Colors']['STATUS_YELLOW'];case'dnd':return b['DiscordConstants']['Colors']['STATUS_RED'];case'playing':return b['DiscordConstants']['Colors']['BRAND'];case'listening':return b['DiscordConstants']['Colors']['SPOTIFY'];case'streaming':return b['DiscordConstants']['Colors']['TWITCH'];default:return b['DiscordConstants']['Colors']['STATUS_GREY'];}};b['UserUtils']['getActivitiy']=function(K=b['UserUtils']['me']['id']){for(let L of n['StatusMetaUtils']['getActivities'](K))if(L['type']!=b['DiscordConstants']['ActivityTypes']['CUSTOM_STATUS'])return L;return null;};b['UserUtils']['getAvatar']=function(K=b['UserUtils']['me']['id']){let L=n['UserStore']['getUser'](typeof K=='number'?K['toFixed']():K);if(!L)return window['location']['origin']+'/assets/322c936a8c8be1b803cd94861bdfa868.png';else return((L['avatar']?'':window['location']['origin'])+n['IconUtils']['getUserAvatarURL'](L))['split']('?')[0x0];};b['UserUtils']['can']=function(K,L=b['UserUtils']['me']['id'],M=n['LastChannelStore']['getChannelId']()){if(!b['DiscordConstants']['Permissions'][K])b['LogUtils']['warn'](K+'\x20not\x20found\x20in\x20Permissions');else{let N=n['ChannelStore']['getChannel'](M);if(N)return n['PermissionUtils']['canUser'](L,b['DiscordConstants']['Permissions'][K],N);}return![];};let q;b['GuildUtils']={};b['GuildUtils']['is']=function(K){if(!b['ObjectUtils']['is'](K))return![];let L=Object['keys'](K);return K instanceof b['DiscordObjects']['Guild']||Object['keys'](new b['DiscordObjects']['Guild']({}))['every'](M=>L['indexOf'](M)>-0x1);};b['GuildUtils']['getIcon']=function(K){let L=n['GuildStore']['getGuild'](typeof K=='number'?K['toFixed']():K);if(!L||!L['icon'])return null;return n['IconUtils']['getGuildIconURL'](L)['split']('?')[0x0];};b['GuildUtils']['getBanner']=function(K){let L=n['GuildStore']['getGuild'](typeof K=='number'?K['toFixed']():K);if(!L||!L['banner'])return null;return n['IconUtils']['getGuildBannerURL'](L)['split']('?')[0x0];};b['GuildUtils']['getFolder']=function(K){return b['LibraryModules']['FolderStore']['guildFolders']['filter'](L=>L['folderId'])['find'](L=>L['guildIds']['includes'](K));};b['GuildUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;let L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],K);if(!L)return;let M=L['querySelector'](b['dotCN']['guildiconwrapper']);let N=M&&M['href']?M['href']['split']('/')['slice'](-0x2)[0x0]:null;return N&&!isNaN(parseInt(N))?N['toString']():null;};b['GuildUtils']['getData']=function(K){if(!K)return null;let L=Node['prototype']['isPrototypeOf'](K)?b['GuildUtils']['getId'](K):typeof K=='object'?K['id']:K;L=typeof L=='number'?L['toFixed']():L;for(let M of b['GuildUtils']['getAll']())if(M&&M['id']==L)return M;return null;};b['GuildUtils']['getAll']=function(){let K=[],L=[];for(let M of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(M['props']&&M['props']['guild'])L['push'](Object['assign'](new M['props']['guild']['constructor'](M['props']['guild']),{'div':M['handleContextMenu']&&b['ReactUtils']['findDOMNode'](M),'instance':M}));}for(let N of b['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let O=null;for(let P of L)if(P['id']==N){O=P;break;}if(O)K['push'](O);else{let Q=b['LibraryModules']['GuildStore']['getGuild'](N);if(Q)K['push'](Object['assign'](new Q['constructor'](Q),{'div':null,'instance':null}));}}return K;};b['GuildUtils']['getUnread']=function(K){let L=[];for(let M of K===undefined||!b['ArrayUtils']['is'](K)?b['GuildUtils']['getAll']():K){if(!M)return null;let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):typeof M=='object'?M['id']:M;N=typeof N=='number'?N['toFixed']():N;if(N&&(n['UnreadGuildUtils']['hasUnread'](N)||n['UnreadGuildUtils']['getMentionCount'](N)>0x0))L['push'](M);}return L;};b['GuildUtils']['getPinged']=function(K){let L=[];for(let M of K===undefined||!b['ArrayUtils']['is'](K)?b['GuildUtils']['getAll']():K){if(!M)return null;let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):typeof M=='object'?M['id']:M;N=typeof N=='number'?N['toFixed']():N;if(N&&n['UnreadGuildUtils']['getMentionCount'](N)>0x0)L['push'](M);}return L;};b['GuildUtils']['getMuted']=function(K){let L=[];for(let M of K===undefined||!b['ArrayUtils']['is'](K)?b['GuildUtils']['getAll']():K){if(!M)return null;let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):typeof M=='object'?M['id']:M;N=typeof N=='number'?N['toFixed']():N;if(N&&n['MutedUtils']['isGuildOrCategoryOrChannelMuted'](N))L['push'](M);}return L;};b['GuildUtils']['getSelected']=function(){let K=n['GuildStore']['getGuild'](n['LastGuildStore']['getGuildId']());if(K)return b['GuildUtils']['getData'](K['id'])||Object['assign'](new K['constructor'](K),{'div':null,'instance':null});else return null;};b['GuildUtils']['openMenu']=function(K,L=b['InternalData']['mousePosition']){if(!K)return;let M=Node['prototype']['isPrototypeOf'](K)?b['GuildUtils']['getId'](K):typeof K=='object'?K['id']:K;let N=n['GuildStore']['getGuild'](M);if(N)n['ContextMenuUtils']['openContextMenu'](L,function(O){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('GuildContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},O,{'guild':N}));});};b['GuildUtils']['markAsRead']=function(K){if(!K)return;let L=[];for(let M of b['ArrayUtils']['is'](K)?K:typeof K=='string'||typeof K=='number'?Array['of'](K):Array['from'](K)){let N=Node['prototype']['isPrototypeOf'](M)?b['GuildUtils']['getId'](M):M&&typeof M=='object'?M['id']:M;let O=N&&n['GuildChannelStore']['getChannels'](N);if(O)for(let P in O)if(b['ArrayUtils']['is'](O[P]))for(let Q of O[P])L['push'](Q['channel']['id']);}if(L['length'])b['ChannelUtils']['markAsRead'](L);};b['GuildUtils']['rerenderAll']=function(){b['TimeUtils']['clear'](q);q=b['TimeUtils']['timeout'](K=>{let L=b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['app']),{'name':'Guilds','unlimited':!![]});let M=b['ReactUtils']['getValue'](L,'_reactInternalFiber.type.prototype');if(L&&M){b['ModuleUtils']['patch'](b,M,'render',{'after':N=>{let [O,P]=b['ReactUtils']['findParent'](N['returnValue'],{'name':'ConnectedUnreadDMs'});if(P>-0x1)O['splice'](P+0x1,0x0,b['ReactUtils']['createElement']('div',{}));b['ReactUtils']['forceUpdate'](L);}},{'once':!![]});b['ReactUtils']['forceUpdate'](L);}},0x3e8);};b['FolderUtils']={};b['FolderUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;K=b['DOMUtils']['getParent'](b['dotCN']['guildfolderwrapper'],K);if(!K)return;return b['ReactUtils']['findValue'](K,'folderId',{'up':!![]});};b['FolderUtils']['getDefaultName']=function(K){let L=b['LibraryModules']['FolderStore']['getGuildFolderById'](K);if(!L)return'';let M=0x2*b['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let N=[],O=L['guildIds']['map'](P=>(b['LibraryModules']['GuildStore']['getGuild'](P)||{})['name'])['filter'](P=>P);for(let P of O)if(P['length']L['indexOf'](M)>-0x1);};b['ChannelUtils']['isTextChannel']=function(K){let L=typeof K=='string'?n['ChannelStore']['getChannel'](K):K;return b['ObjectUtils']['is'](L)&&(L['type']==b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']||L['type']==b['DiscordConstants']['ChannelTypes']['GUILD_STORE']||L['type']==b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']);};b['ChannelUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;K=b['DOMUtils']['getParent'](b['dotCNC']['categorycontainerdefault']+b['dotCNC']['channelcontainerdefault']+b['dotCN']['dmchannel'],K);if(!K)return;let L=b['ReactUtils']['findValue'](K,'channel');return L?L['id']['toString']():null;};b['ChannelUtils']['getDiv']=function(K){if(!K)return null;let L=b['ChannelUtils']['getData'](K);return L?L['div']:null;};b['ChannelUtils']['getData']=function(K){if(!K)return null;let L=Node['prototype']['isPrototypeOf'](K)?b['ChannelUtils']['getId'](K):typeof K=='object'?K['id']:K;L=typeof L=='number'?L['toFixed']():L;for(let M of b['ChannelUtils']['getAll']())if(M&&M['id']==L)return M;return null;};b['ChannelUtils']['getName']=function(K,L){let M=b['LibraryModules']['ChannelStore']['getChannel'](K);if(!M)return'';switch(M['type']){case b['DiscordConstants']['ChannelTypes']['DM']:let N=M['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](P=>P)[0x0];return(L&&'@'||'')+(N&&N['toString']()||'');case b['DiscordConstants']['ChannelTypes']['GROUP_DM']:if(M['name'])return M['name'];let O=M['recipients']['map'](b['LibraryModules']['UserStore']['getUser'])['filter'](P=>P);return O['length']>0x0?O['map'](P=>P['toString'])['join'](',\x20'):b['LanguageUtils']['LanguageStrings']['UNNAMED'];case b['DiscordConstants']['ChannelTypes']['GUILD_ANNOUNCEMENT']:case b['DiscordConstants']['ChannelTypes']['GUILD_TEXT']:return(L&&'#'||'')+M['name'];default:return M['name'];}};b['ChannelUtils']['getAll']=function(){let K=[];for(let L of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['channels']),{'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'unlimited':!![]}))if(L['props']&&!L['props']['ispin']&&L['props']['channel']&&L['_reactInternalFiber']['return']){let M=b['ReactUtils']['findDOMNode'](L);M=M&&b['DOMUtils']['containsClass'](M['parentElement'],b['disCN']['categorycontainerdefault'],b['disCN']['channelcontainerdefault'],![])?M['parentElement']:M;K['push'](Object['assign'](new L['props']['channel']['constructor'](L['props']['channel']),{'div':M,'instance':L}));}return K;};b['ChannelUtils']['getSelected']=function(){let K=n['ChannelStore']['getChannel'](n['LastChannelStore']['getChannelId']());if(K)return b['ChannelUtils']['getData'](K['id'])||Object['assign'](new K['constructor'](K),{'div':null,'instance':null});else return null;};b['ChannelUtils']['markAsRead']=function(K){if(!K)return;let L=[];for(let M of K=b['ArrayUtils']['is'](K)?K:typeof K=='string'||typeof K=='number'?Array['of'](K):Array['from'](K)){let N=Node['prototype']['isPrototypeOf'](M)?b['ChannelUtils']['getId'](M):M&&typeof M=='object'?M['id']:M;if(N&&b['ChannelUtils']['isTextChannel'](N))L['push']({'channelId':N,'messageId':n['UnreadChannelUtils']['lastMessageId'](N)});}if(L['length'])n['AckUtils']['bulkAck'](L);};b['DMUtils']={};b['DMUtils']['isDMChannel']=function(K){let L=typeof K=='string'?n['ChannelStore']['getChannel'](K):K;return b['ObjectUtils']['is'](L)&&(L['type']==b['DiscordConstants']['ChannelTypes']['DM']||L['type']==b['DiscordConstants']['ChannelTypes']['GROUP_DM']);};b['DMUtils']['getIcon']=function(K){let L=n['ChannelStore']['getChannel'](K=typeof K=='number'?K['toFixed']():K);if(!L)return null;if(!L['icon'])return L['type']==0x1?b['UserUtils']['getAvatar'](L['recipients'][0x0]):L['type']==0x3?window['location']['origin']+n['IconUtils']['getChannelIconURL'](L)['split']('?')[0x0]:null;return n['IconUtils']['getChannelIconURL'](L)['split']('?')[0x0];};b['DMUtils']['getId']=function(K){if(!Node['prototype']['isPrototypeOf'](K)||!b['ReactUtils']['getInstance'](K))return;let L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],K);if(!L)return;let M=L['querySelector'](b['dotCN']['guildiconwrapper']);let N=M&&M['href']?M['href']['split']('/')['slice'](-0x1)[0x0]:null;return N&&!isNaN(parseInt(N))?N['toString']():null;};b['DMUtils']['getDiv']=function(K){if(!K)return null;if(Node['prototype']['isPrototypeOf'](K)){var L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],K);return L?L['parentElement']:L;}else{let M=typeof K=='object'?K['id']:K;if(M){var L=b['DOMUtils']['getParent'](b['dotCN']['guildouter'],document['querySelector'](b['dotCNS']['guilds']+b['dotCN']['dmpill']+'\x20+\x20*\x20'+b['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+M+'\x22]'));return L&&b?L['parentElement']:L;}}return null;};b['DMUtils']['getData']=function(K){if(!K)return null;let L=Node['prototype']['isPrototypeOf'](K)?b['BDFDB']['DMUtils']['getId'](K):typeof K=='object'?K['id']:K;L=typeof L=='number'?L['toFixed']():L;for(let M of b['DMUtils']['getAll']())if(M&&M['id']==L)return M;return null;};b['DMUtils']['getAll']=function(){let K=[];for(let L of b['ReactUtils']['findOwner'](document['querySelector'](b['dotCN']['guilds']),{'name':'DirectMessage','all':!![],'unlimited':!![]})){if(L['props']&&L['props']['channel'])K['push'](Object['assign'](new L['props']['channel']['constructor'](L['props']['channel']),{'div':b['ReactUtils']['findDOMNode'](L),'instance':L}));}return K;};b['DMUtils']['openMenu']=function(K,L=b['InternalData']['mousePosition']){if(!K)return;let M=Node['prototype']['isPrototypeOf'](K)?b['ChannelUtils']['getId'](K):typeof K=='object'?K['id']:K;let N=n['ChannelStore']['getChannel'](M);if(N){if(N['isMultiUserDM']())n['ContextMenuUtils']['openContextMenu'](L,function(O){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('GroupDMContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},O,{'channel':N,'selected':N['id']==n['LastChannelStore']['getChannelId']()}));});else n['ContextMenuUtils']['openContextMenu'](L,function(O){return b['ReactUtils']['createElement']((b['ModuleUtils']['findByName']('DMUserContextMenu',![])||{'exports':{}})['exports']['default'],Object['assign']({},O,{'user':n['UserStore']['getUser'](N['recipients'][0x0]),'channel':N,'selected':N['id']==n['LastChannelStore']['getChannelId']()}));});}};b['DMUtils']['markAsRead']=function(K){if(!K)return;let L=[];for(let M of K=b['ArrayUtils']['is'](K)?K:typeof K=='string'||typeof K=='number'?Array['of'](K):Array['from'](K)){let N=Node['prototype']['isPrototypeOf'](M)?b['BDFDB']['DMUtils']['getId'](M):M&&typeof M=='object'?M['id']:M;if(N)L['push'](N);}for(let O in L)b['TimeUtils']['timeout'](P=>{n['AckUtils']['ack'](L[O]);},O*0x3e8);};b['DataUtils']={};b['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};b['DataUtils']['save']=function(K,L,M,N){L=L==b&&c||L;let O=typeof L==='string'?L:L['name'];let P=m['path']['join'](b['BDUtils']['getPluginsFolder'](),O+'.config.json');let Q=b['DataUtils']['cached'][O]!==undefined?b['DataUtils']['cached'][O]:c['readConfig'](P)||{};if(M===undefined)Q=b['ObjectUtils']['is'](K)?b['ObjectUtils']['sort'](K):K;else{if(N===undefined)Q[M]=b['ObjectUtils']['is'](K)?b['ObjectUtils']['sort'](K):K;else{if(!b['ObjectUtils']['is'](Q[M]))Q[M]={};Q[M][N]=b['ObjectUtils']['is'](K)?b['ObjectUtils']['sort'](K):K;}}let R=b['ObjectUtils']['is'](Q);if(M!==undefined&&R&&b['ObjectUtils']['is'](Q[M])&&b['ObjectUtils']['isEmpty'](Q[M]))delete Q[M];if(b['ObjectUtils']['isEmpty'](Q)){delete b['DataUtils']['cached'][O];if(m['fs']['existsSync'](P))m['fs']['unlinkSync'](P);}else{if(R)Q=b['ObjectUtils']['sort'](Q);b['DataUtils']['cached'][O]=R?b['ObjectUtils']['deepAssign']({},Q):Q;c['writeConfig'](P,Q);}};b['DataUtils']['load']=function(K,L,M){K=K==b&&c||K;let N=typeof K==='string'?K:K['name'];let O=m['path']['join'](b['BDUtils']['getPluginsFolder'](),N+'.config.json');let P=b['DataUtils']['cached'][N]!==undefined?b['DataUtils']['cached'][N]:c['readConfig'](O)||{};let Q=b['ObjectUtils']['is'](P);b['DataUtils']['cached'][N]=Q?b['ObjectUtils']['deepAssign']({},P):P;if(L===undefined)return P;else{let R=Q?b['ObjectUtils']['is'](P[L])||P[L]==undefined?b['ObjectUtils']['deepAssign']({},P[L]):P[L]:null;if(M===undefined)return R;else return!b['ObjectUtils']['is'](R)||R[M]===undefined?null:R[M];}};b['DataUtils']['remove']=function(K,L,M){K=K==b&&c||K;let N=typeof K==='string'?K:K['name'];let O=m['path']['join'](b['BDUtils']['getPluginsFolder'](),N+'.config.json');let P=b['DataUtils']['cached'][N]!==undefined?b['DataUtils']['cached'][N]:c['readConfig'](O)||{};let Q=b['ObjectUtils']['is'](P);if(L===undefined||!Q)P={};else{if(M===undefined)delete P[L];else if(b['ObjectUtils']['is'](P[L]))delete P[L][M];}if(b['ObjectUtils']['is'](P[L])&&b['ObjectUtils']['isEmpty'](P[L]))delete P[L];if(b['ObjectUtils']['isEmpty'](P)){delete b['DataUtils']['cached'][N];if(m['fs']['existsSync'](O))m['fs']['unlinkSync'](O);}else{if(Q)P=b['ObjectUtils']['sort'](P);b['DataUtils']['cached'][N]=Q?b['ObjectUtils']['deepAssign']({},P):P;c['writeConfig'](O,P);}};b['DataUtils']['get']=function(K,L,M){K=K==b&&c||K;K=typeof K=='string'?b['BDUtils']['getPlugin'](K):K;if(!b['ObjectUtils']['is'](K))return M===undefined?{}:null;let N=K['defaults'];if(!b['ObjectUtils']['is'](N)||!N[L])return M===undefined?{}:null;let O=b['DataUtils']['load'](K,L),P={},Q=![];for(let R in N[L]){let S=b['ObjectUtils']['is'](N[L][R]['value']);if(O[R]==null||S&&(!b['ObjectUtils']['is'](O[R])||Object['keys'](N[L][R]['value'])['some'](T=>N[L][R]['value'][T]!=null&&!b['sameProto'](N[L][R]['value'][T],O[R][T])))){P[R]=S?b['ObjectUtils']['deepAssign']({},N[L][R]['value']):N[L][R]['value'];Q=!![];}else P[R]=O[R];}if(Q)b['DataUtils']['save'](P,K,L);if(M===undefined)return P;else return P[M]===undefined?null:P[M];};c['writeConfig']=function(K,L){try{m['fs']['writeFileSync'](K,JSON['stringify'](L,null,'\x09'));}catch(M){}};c['readConfig']=function(K){try{return JSON['parse'](m['fs']['readFileSync'](K));}catch(L){return{};}};b['ColorUtils']={};b['ColorUtils']['convert']=function(K,L,M){if(b['ObjectUtils']['is'](K)){var N={};for(let ab in K)N[ab]=b['ColorUtils']['convert'](K[ab],L,M);return N;}else{L=L===undefined||!L?L='RGBCOMP':L['toUpperCase']();M=M===undefined||!M||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](M['toUpperCase']())?b['ColorUtils']['getType'](K):M['toUpperCase']();if(L=='RGBCOMP'){switch(M){case'RGBCOMP':if(K['length']==0x3)return a6(K);else if(K['length']==0x4){let ae=a7(K['pop']());return a6(K)['concat'](ae);}break;case'RGB':return a6(K['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let ac=K['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let ad=a7(ac['pop']());return a6(ac)['concat'](ad);case'HSLCOMP':if(K['length']==0x3)return b['ColorUtils']['convert']('hsl('+a9(K)['join'](',')+')','RGBCOMP');else if(K['length']==0x4){let af=a7(K['pop']());return b['ColorUtils']['convert']('hsl('+a9(K)['join'](',')+')','RGBCOMP')['concat'](af);}break;case'HSL':var O=a9(K['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var P,Q,R,S,T,U,V,W;var X=O[0x0]/0x168,Y=parseInt(O[0x1])/0x64,Z=parseInt(O[0x2])/0x64;S=Math['floor'](X*0x6);T=X*0x6-S;U=Z*(0x1-Y);V=Z*(0x1-T*Y);W=Z*(0x1-(0x1-T)*Y);switch(S%0x6){case 0x0:P=Z,Q=W,R=U;break;case 0x1:P=V,Q=Z,R=U;break;case 0x2:P=U,Q=Z,R=W;break;case 0x3:P=U,Q=V,R=Z;break;case 0x4:P=W,Q=U,R=Z;break;case 0x5:P=Z,Q=U,R=V;break;}return[Math['round'](P*0xff),Math['round'](Q*0xff),Math['round'](R*0xff)];case'HSLA':var O=K['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return b['ColorUtils']['convert']('hsl('+O['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](a7(O['pop']()));case'HEX':var a0=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](K);return[parseInt(a0[0x1]+a0[0x1]||a0[0x4],0x10)['toString'](),parseInt(a0[0x2]+a0[0x2]||a0[0x5],0x10)['toString'](),parseInt(a0[0x3]+a0[0x3]||a0[0x6],0x10)['toString']()];case'HEXA':var a0=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](K);return[parseInt(a0[0x1]+a0[0x1]||a0[0x5],0x10)['toString'](),parseInt(a0[0x2]+a0[0x2]||a0[0x6],0x10)['toString'](),parseInt(a0[0x3]+a0[0x3]||a0[0x7],0x10)['toString'](),Math['floor'](b['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(a0[0x4]+a0[0x4]||a0[0x8],0x10)['toString']()))/0x64];case'INT':K=aa(K);return[(K>>0x10&0xff)['toString'](),(K>>0x8&0xff)['toString'](),(K&0xff)['toString']()];default:return null;}}else{if(L&&M&&L['indexOf']('HSL')==0x0&&M['indexOf']('HSL')==0x0){if(M=='HSLCOMP'){switch(L){case'HSLCOMP':if(K['length']==0x3)return a9(K);else if(K['length']==0x4){var a1=a7(K['pop']());return a9(K)['concat'](a1);}break;case'HSL':return'hsl('+a9(K['slice'](0x0,0x3))['join'](',')+')';case'HSLA':K=K['slice'](0x0,0x4);var a1=K['length']==0x4?a7(K['pop']()):0x1;return'hsla('+a9(K)['concat'](a1)['join'](',')+')';}}else return b['ColorUtils']['convert'](K['replace'](/\s/g,'')['slice'](K['toLowerCase']()['indexOf']('hsla')==0x0?0x5:0x4,-0x1)['split'](','),L,'HSLCOMP');}else{let ag=M=='RGBCOMP'?K:b['ColorUtils']['convert'](K,'RGBCOMP',M);if(ag)switch(L){case'RGB':return'rgb('+a6(ag['slice'](0x0,0x3))['join'](',')+')';case'RGBA':ag=ag['slice'](0x0,0x4);var a1=ag['length']==0x4?a7(ag['pop']()):0x1;return'rgba('+a6(ag)['concat'](a1)['join'](',')+')';case'HSLCOMP':var a1=ag['length']==0x4?a7(ag['pop']()):null;var O=a9(b['ColorUtils']['convert'](ag,'HSL')['replace'](/\s/g,'')['split'](','));return a1!=null?O['concat'](a1):O;case'HSL':var P=a5(ag[0x0]),Q=a5(ag[0x1]),R=a5(ag[0x2]);var a2=Math['max'](P,Q,R),a3=Math['min'](P,Q,R),a4=a2-a3,X,Y=a2===0x0?0x0:a4/a2,Z=a2/0xff;switch(a2){case a3:X=0x0;break;case P:X=Q-R+a4*(Q0xff?0xff:ah<0x0?0x0:ah;}};function a6(ah){return ah['map'](ai=>{return a5(ai);});};function a7(ah){if(ah==null){return 0x1;}else{ah=ah['toString']();ah=(ah['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ah['replace'](/[^0-9\.\-]/g,''));return isNaN(ah)||ah>0x1?0x1:ah<0x0?0x0:ah;}};function a8(ah){if(ah==null){return'100%';}else{ah=parseFloat(ah['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(ah)||ah>0x64?0x64:ah<0x0?0x0:ah)+'%';}};function a9(ah){let ai=parseFloat(ah['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));ai=isNaN(ai)||ai>0x168?0x168:ai<0x0?0x0:ai;return[ai]['concat'](ah['map'](aj=>{return a8(aj);}));};function aa(ah){if(ah==null){return 0xffffff;}else{ah=parseInt(ah['toString']()['replace'](/[^0-9]/g,''));return isNaN(ah)||ah>0xffffff?0xffffff:ah<0x0?0x0:ah;}};};b['ColorUtils']['setAlpha']=function(K,L,M){if(b['ObjectUtils']['is'](K)){var N={};for(let P in K)N[P]=b['ColorUtils']['setAlpha'](K[P],L,M);return N;}else{var O=b['ColorUtils']['convert'](K,'RGBCOMP');if(O){L=L['toString']();L=(L['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(L['replace'](/[^0-9\.\-]/g,''));L=isNaN(L)||L>0x1?0x1:L<0x0?0x0:L;O[0x3]=L;M=(M||b['ColorUtils']['getType'](K))['toUpperCase']();M=M=='RGB'||M=='HSL'||M=='HEX'?M+'A':M;return b['ColorUtils']['convert'](O,M);}}return null;};b['ColorUtils']['getAlpha']=function(K){var L=b['ColorUtils']['convert'](K,'RGBCOMP');if(L){if(L['length']==0x3)return 0x1;else if(L['length']==0x4){let M=L[0x3]['toString']();M=(M['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(M['replace'](/[^0-9\.\-]/g,''));return isNaN(M)||M>0x1?0x1:M<0x0?0x0:M;}}return null;};b['ColorUtils']['change']=function(K,L,M){L=parseFloat(L);if(K!=null&&typeof L=='number'&&!isNaN(L)){if(b['ObjectUtils']['is'](K)){var N={};for(let P in K)N[P]=b['ColorUtils']['change'](K[P],L,M);return N;}else{var O=b['ColorUtils']['convert'](K,'RGBCOMP');if(O){if(parseInt(L)!==L){L=L['toString']();L=(L['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(L['replace'](/[^0-9\.\-]/g,''));L=isNaN(L)?0x0:L;return b['ColorUtils']['convert']([Math['round'](O[0x0]*(0x1+L)),Math['round'](O[0x1]*(0x1+L)),Math['round'](O[0x2]*(0x1+L))],M||b['ColorUtils']['getType'](K));}else return b['ColorUtils']['convert']([Math['round'](O[0x0]+L),Math['round'](O[0x1]+L),Math['round'](O[0x2]+L)],M||b['ColorUtils']['getType'](K));}}}return null;};b['ColorUtils']['invert']=function(K,L){if(b['ObjectUtils']['is'](K)){var M={};for(let O in K)M[O]=b['ColorUtils']['invert'](K[O],L);return M;}else{var N=b['ColorUtils']['convert'](K,'RGBCOMP');if(N)return b['ColorUtils']['convert']([0xff-N[0x0],0xff-N[0x1],0xff-N[0x2]],L||b['ColorUtils']['getType'](K));}return null;};b['ColorUtils']['compare']=function(K,L){if(K&&L){K=b['ColorUtils']['convert'](K,'RGBA');L=b['ColorUtils']['convert'](L,'RGBA');if(K&&L)return b['equals'](K,L);}return null;};b['ColorUtils']['isBright']=function(K,L=0xa0){K=b['ColorUtils']['convert'](K,'RGBCOMP');if(!K)return![];return parseInt(L)-0x1&&K<0x1000000)return'INT';}return null;function M(O){return O['slice'](0x0,0x3)['every'](P=>P['toString']()['indexOf']('%')==-0x1&&parseFloat(P)==parseInt(P));};function N(O){return O['slice'](0x1,0x3)['every'](P=>P['toString']()['indexOf']('%')==P['length']-0x1);};};b['ColorUtils']['createGradient']=function(K,L='to\x20right'){var M={};var N='linear-gradient('+L;for(let O of Object['keys'](K)['sort']()){let P=b['ColorUtils']['convert'](K[O],'RGBA');N+=P?',\x20'+P+'\x20'+O*0x64+'%':'';}return N+=')';};b['ColorUtils']['getSwatchColor']=function(K,L){if(!Node['prototype']['isPrototypeOf'](K))return;let M=K['querySelector'](b['dotCN']['colorpickerswatches']+'[number=\x22'+L+'\x22],\x20'+b['dotCN']['colorpickerswatch']+'[number=\x22'+L+'\x22]');if(!M)return null;return b['ColorUtils']['convert'](b['ReactUtils']['findValue'](b['ReactUtils']['getInstance'](M),'selectedColor',{'up':!![],'blacklist':{'props':!![]}}));};b['DOMUtils']={};b['DOMUtils']['getSelection']=function(){let K=document['getSelection']();return K&&K['anchorNode']?K['getRangeAt'](0x0)['toString']():'';};b['DOMUtils']['addClass']=function(K,...L){if(!K||!L)return;for(let N of[K]['flat'](0xa)['filter'](O=>O)){if(Node['prototype']['isPrototypeOf'](N))M(N);else if(NodeList['prototype']['isPrototypeOf'](N))for(let O of N)M(O);else if(typeof N=='string')for(let P of N['split'](','))if(P&&(P=P['trim']()))for(let Q of document['querySelectorAll'](P))M(Q);}function M(R){if(R&&R['classList'])for(let S of L)for(let T of[S]['flat'](0xa)['filter'](U=>U))if(typeof T=='string')for(let U of T['split']('\x20'))if(U)R['classList']['add'](U);}};b['DOMUtils']['removeClass']=function(K,...L){if(!K||!L)return;for(let N of[K]['flat'](0xa)['filter'](O=>O)){if(Node['prototype']['isPrototypeOf'](N))M(N);else if(NodeList['prototype']['isPrototypeOf'](N))for(let O of N)M(O);else if(typeof N=='string')for(let P of N['split'](','))if(P&&(P=P['trim']()))for(let Q of document['querySelectorAll'](P))M(Q);}function M(R){if(R&&R['classList'])for(let S of L)for(let T of[S]['flat'](0xa)['filter'](U=>U))if(typeof T=='string')for(let U of T['split']('\x20'))if(U)R['classList']['remove'](U);}};b['DOMUtils']['toggleClass']=function(K,...L){if(!K||!L)return;var M=L['pop']();if(typeof M!='boolean'){L['push'](M);M=undefined;}if(!L['length'])return;for(let O of[K]['flat'](0xa)['filter'](P=>P)){if(!O){}else if(Node['prototype']['isPrototypeOf'](O))N(O);else if(NodeList['prototype']['isPrototypeOf'](O))for(let P of O)N(P);else if(typeof O=='string')for(let Q of O['split'](','))if(Q&&(Q=Q['trim']()))for(let R of document['querySelectorAll'](Q))N(R);}function N(S){if(S&&S['classList'])for(let T of L)for(let U of[T]['flat'](0xa)['filter'](V=>V))if(typeof U=='string')for(let V of U['split']('\x20'))if(V)S['classList']['toggle'](V,M);}};b['DOMUtils']['containsClass']=function(K,...L){if(!K||!L)return;let M=L['pop']();if(typeof M!='boolean'){L['push'](M);M=!![];}if(!L['length'])return;let N=undefined;for(let P of b['ArrayUtils']['is'](K)?K:Array['of'](K)){if(!P){}else if(Node['prototype']['isPrototypeOf'](P))O(P);else if(NodeList['prototype']['isPrototypeOf'](P))for(let Q of P)O(Q);else if(typeof P=='string')for(let R of P['split'](','))if(R&&(R=R['trim']()))for(let S of document['querySelectorAll'](R))O(S);}return N;function O(T){if(T&&T['classList'])for(let U of L)if(typeof U=='string')for(let V of U['split']('\x20'))if(V){if(N===undefined)N=M;if(M&&!T['classList']['contains'](V))N=![];if(!M&&T['classList']['contains'](V))N=!![];}}};b['DOMUtils']['replaceClass']=function(K,L,M){if(!K||typeof L!='string'||typeof M!='string')return;for(let O of[K]['flat'](0xa)['filter'](P=>P)){if(Node['prototype']['isPrototypeOf'](O))N(O);else if(NodeList['prototype']['isPrototypeOf'](O))for(let P of O)N(P);else if(typeof O=='string')for(let Q of O['split'](','))if(Q&&(Q=Q['trim']()))for(let R of document['querySelectorAll'](Q))N(R);}function N(S){if(S&&S['tagName']&&S['className'])S['className']=S['className']['replace'](new RegExp(L,'g'),M)['trim']();}};b['DOMUtils']['formatClassName']=function(...K){return b['ArrayUtils']['removeCopies'](K['flat'](0xa)['filter'](L=>L)['join']('\x20')['split']('\x20'))['join']('\x20')['trim']();};b['DOMUtils']['removeClassFromDOM']=function(...K){for(let L of K['flat'](0xa)['filter'](M=>M))if(typeof L=='string')for(let M of L['split'](','))if(M&&(M=M['replace'](/\.|\s/g,'')))b['DOMUtils']['removeClass'](document['querySelectorAll']('.'+M),M);};b['DOMUtils']['show']=function(...K){b['DOMUtils']['toggle'](...K,!![]);};b['DOMUtils']['hide']=function(...K){b['DOMUtils']['toggle'](...K,![]);};b['DOMUtils']['toggle']=function(...K){if(!K)return;let L=K['pop']();if(typeof L!='boolean'){K['push'](L);L=undefined;}if(!K['length'])return;for(let N of K['flat'](0xa)['filter'](O=>O)){if(Node['prototype']['isPrototypeOf'](N))M(N);else if(NodeList['prototype']['isPrototypeOf'](N))for(let O of N)M(O);else if(typeof N=='string')for(let P of N['split'](','))if(P&&(P=P['trim']()))for(let Q of document['querySelectorAll'](P))M(Q);}function M(R){if(!R||!Node['prototype']['isPrototypeOf'](R))return;let S=L===undefined?!b['DOMUtils']['isHidden'](R):!L;if(S){let T=R['style']['getPropertyValue']('display');if(T&&T!='none')R['BDFDBhideDisplayState']={'display':T,'important':(('\x20'+R['style']['cssText']+'\x20')['split']('\x20display:\x20'+T)[0x1]||'')['trim']()['indexOf']('!important')==0x0};R['style']['setProperty']('display','none','important');}else{if(R['BDFDBhideDisplayState']){R['style']['setProperty']('display',R['BDFDBhideDisplayState']['display'],R['BDFDBhideDisplayState']['important']?'important':'');delete R['BDFDBhideDisplayState'];}else R['style']['removeProperty']('display');}}};b['DOMUtils']['isHidden']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE'])return getComputedStyle(K,null)['getPropertyValue']('display')=='none';};b['DOMUtils']['remove']=function(...K){for(let L of K['flat'](0xa)['filter'](M=>M)){if(Node['prototype']['isPrototypeOf'](L))L['remove']();else if(NodeList['prototype']['isPrototypeOf'](L)){let M=Array['from'](L);while(M['length'])M['shift']()['remove']();}else if(typeof L=='string')for(let N of L['split'](','))if(N&&(N=N['trim']())){let O=Array['from'](document['querySelectorAll'](N));while(O['length'])O['shift']()['remove']();}}};b['DOMUtils']['create']=function(K){if(typeof K!='string'||!K['trim']())return null;let L=document['createElement']('template');try{L['innerHTML']=K['replace'](/(?[\t\r\n]+<(?!pre)/g,'><');}catch(M){L['innerHTML']=K['replace'](/>[\t\r\n]+<(?!pre)/g,'><');}if(L['content']['childNodes']['length']==0x1)return L['content']['firstElementChild'];else{let N=document['createElement']('span');let O=Array['from'](L['content']['childNodes']);while(O['length'])N['appendChild'](O['shift']());return N;}};b['DOMUtils']['getParent']=function(K,L){let M=null;if(Node['prototype']['isPrototypeOf'](L)&&K){let N=NodeList['prototype']['isPrototypeOf'](K)?K:typeof K=='string'?document['querySelectorAll'](K):null;if(N)for(let O of N)if(O['contains'](L)){M=O;break;}}return M;};b['DOMUtils']['setText']=function(K,L){if(!K||!Node['prototype']['isPrototypeOf'](K))return;let M=K['nodeType']==Node['TEXT_NODE']?K:null;if(!M)for(let N of K['childNodes'])if(N['nodeType']==Node['TEXT_NODE']||b['DOMUtils']['containsClass'](N,'BDFDB-textnode')){M=N;break;}if(M){if(Node['prototype']['isPrototypeOf'](L)&&L['nodeType']!=Node['TEXT_NODE']){b['DOMUtils']['addClass'](L,'BDFDB-textnode');K['replaceChild'](L,M);}else if(Node['prototype']['isPrototypeOf'](M)&&M['nodeType']!=Node['TEXT_NODE'])K['replaceChild'](document['createTextNode'](L),M);else M['textContent']=L;}else K['appendChild'](Node['prototype']['isPrototypeOf'](L)?L:document['createTextNode'](L));};b['DOMUtils']['getText']=function(K){if(!K||!Node['prototype']['isPrototypeOf'](K))return;for(let L of K['childNodes'])if(L['nodeType']==Node['TEXT_NODE'])return L['textContent'];};b['DOMUtils']['getRects']=function(K){let L={};if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let M=K;while(M){let N=b['DOMUtils']['isHidden'](M);if(N){b['DOMUtils']['toggle'](M,!![]);M['BDFDBgetRectsHidden']=!![];}M=M['parentElement'];}L=K['getBoundingClientRect']();M=K;while(M){if(M['BDFDBgetRectsHidden']){b['DOMUtils']['toggle'](M,![]);delete M['BDFDBgetRectsHidden'];}M=M['parentElement'];}}return L;};b['DOMUtils']['getHeight']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['height']+parseInt(M['marginTop'])+parseInt(M['marginBottom']);}return 0x0;};b['DOMUtils']['getInnerHeight']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['height']-parseInt(M['paddingTop'])-parseInt(M['paddingBottom']);}return 0x0;};b['DOMUtils']['getWidth']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['width']+parseInt(M['marginLeft'])+parseInt(M['marginRight']);}return 0x0;};b['DOMUtils']['getInnerWidth']=function(K){if(Node['prototype']['isPrototypeOf'](K)&&K['nodeType']!=Node['TEXT_NODE']){let L=b['DOMUtils']['getRects'](K);let M=getComputedStyle(K);return L['width']-parseInt(M['paddingLeft'])-parseInt(M['paddingRight']);}return 0x0;};b['DOMUtils']['appendWebScript']=function(K,L){if(!L&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](b['DOMUtils']['create'](''));L=L||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['removeWebScript'](K,L);let M=document['createElement']('script');M['src']=K;L['appendChild'](M);};b['DOMUtils']['removeWebScript']=function(K,L){L=L||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['remove'](L['querySelectorAll']('script[src=\x22'+K+'\x22]'));};b['DOMUtils']['appendWebStyle']=function(K,L){if(!L&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](b['DOMUtils']['create'](''));L=L||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['removeWebStyle'](K,L);L['appendChild'](b['DOMUtils']['create'](''));};b['DOMUtils']['removeWebStyle']=function(K,L){L=L||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['remove'](L['querySelectorAll']('link[href=\x22'+K+'\x22]'));};b['DOMUtils']['appendLocalStyle']=function(K,L,M){if(!M&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](b['DOMUtils']['create'](''));M=M||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];M=Node['prototype']['isPrototypeOf'](M)?M:document['head'];b['DOMUtils']['removeLocalStyle'](K,M);M['appendChild'](b['DOMUtils']['create'](''+L['replace'](/\t|\r|\n/g,'')+''));};b['DOMUtils']['removeLocalStyle']=function(K,L){L=L||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];L=Node['prototype']['isPrototypeOf'](L)?L:document['head'];b['DOMUtils']['remove'](L['querySelectorAll']('style[id=\x22'+K+'CSS\x22]'));};b['ModalUtils']={};b['ModalUtils']['open']=function(K,L){if(!b['ObjectUtils']['is'](K)||!b['ObjectUtils']['is'](L))return;let M,N,O,P=[],Q=U=>{if(b['ObjectUtils']['is'](O)&&typeof O['onClose']=='function')O['onClose']();};let R=[],S=[],T=[];if(typeof L['text']=='string'){S['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'children':L['text']}));}if(L['children']){let U=[];for(let V of[L['children']]['flat'](0xa)['filter'](W=>W))if(n['React']['isValidElement'](V)){if(V['type']==x['LibraryComponents']['ModalComponents']['ModalTabContent']){if(!U['length'])V['props']['open']=!![];else delete V['props']['open'];U['push']({'value':V['props']['tab']});}S['push'](V);}if(U['length'])R['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['tabbarcontainer'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['TabBar'],{'className':b['disCN']['tabbar'],'itemClassName':b['disCN']['tabbaritem'],'type':x['LibraryComponents']['TabBar']['Types']['TOP'],'items':U,'onItemSelect':(W,X)=>{let Y=b['ReactUtils']['findOwner'](M,{'name':'BDFDB_ModalTabContent','all':!![],'unlimited':!![]});for(let Z of Y){if(Z['props']['tab']==W)Z['props']['open']=!![];else delete Z['props']['open'];}b['ReactUtils']['forceUpdate'](Y);}}),L['tabBarChildren']]['flat'](0xa)['filter'](W=>W)}));}if(b['ArrayUtils']['is'](L['buttons']))for(let W of L['buttons']){let X=typeof W['contents']=='string'&&W['contents'];if(X){let Y=typeof W['color']=='string'&&x['LibraryComponents']['Button']['Colors'][W['color']['toUpperCase']()];let Z=typeof W['look']=='string'&&x['LibraryComponents']['Button']['Looks'][W['look']['toUpperCase']()];let a0=typeof W['click']=='function'?W['click']:typeof W['onClick']=='function'?W['onClick']:a1=>{};if(W['cancel'])P['push'](a0);T['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],b['ObjectUtils']['exclude'](Object['assign']({},W,{'look':Z||(Y?x['LibraryComponents']['Button']['Looks']['FILLED']:x['LibraryComponents']['Button']['Looks']['LINK']),'color':Y||x['LibraryComponents']['Button']['Colors']['PRIMARY'],'onClick':a1=>{if(W['close'])Q();if(!(W['close']&&W['cancel']))a0(M,N);},'children':X}),'click','close','cancel','contents')));}}S=S['concat'](L['contentChildren'])['filter'](a1=>a1&&(typeof a1=='string'||b['ReactUtils']['isValidElement'](a1)));R=R['concat'](L['headerChildren'])['filter'](a1=>a1&&(typeof a1=='string'||b['ReactUtils']['isValidElement'](a1)));T=T['concat'](L['footerChildren'])['filter'](a1=>a1&&(typeof a1=='string'||b['ReactUtils']['isValidElement'](a1)));if(S['length']){if(typeof L['onClose']!='function')L['onClose']=a3=>{};if(typeof L['onOpen']!='function')L['onOpen']=a3=>{};let a1=K['name']||(typeof K['getName']=='function'?K['getName']():null);a1=typeof a1=='string'?a1:null;let a2=0x0;n['ModalUtils']['openModal'](a3=>{O=a3;return b['ReactUtils']['createElement'](class BDFDB_Modal extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalRoot'],{'className':b['DOMUtils']['formatClassName'](a1&&a1+'-modal',b['disCN']['modalwrapper'],L['className']),'size':typeof L['size']=='string'&&x['LibraryComponents']['ModalComponents']['ModalSize'][L['size']['toUpperCase']()]||x['LibraryComponents']['ModalComponents']['ModalSize']['SMALL'],'transitionState':a3['transitionState'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalHeader'],{'className':b['DOMUtils']['formatClassName'](L['headerClassName'],L['shade']&&b['disCN']['modalheadershade'],R['length']&&b['disCN']['modalheaderhassibling']),'separator':L['headerSeparator']||![],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H4'],'children':L['header']}),b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'size':x['LibraryComponents']['TextElement']['Sizes']['SIZE_12'],'children':typeof L['subheader']=='string'||b['ReactUtils']['isValidElement'](L['subheader'])?L['subheader']:a1||''})]}),b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalCloseButton'],{'onClick':Q})]}),R['length']?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'grow':0x0,'shrink':0x0,'children':R}):null,b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalContent'],{'className':L['contentClassName'],'scroller':L['scroller'],'direction':L['direction'],'content':L['content'],'children':S}),T['length']?b['ReactUtils']['createElement'](x['LibraryComponents']['ModalComponents']['ModalFooter'],{'className':L['footerClassName'],'children':T}):null]});}['componentDidMount'](){N=this;M=b['ReactUtils']['findDOMNode'](this);M=M&&M['parentElement']?M['parentElement']['querySelector'](b['dotCN']['modalwrapper']):null;if(M&&a3['transitionState']==0x1&&a3['transitionState']>a2)L['onOpen'](M,this);a2=a3['transitionState'];}['componentWillUnmount'](){if(M&&a3['transitionState']==0x3){for(let a4 of P)a4(M);L['onClose'](M,this);}}},a3,!![]);},{'onCloseRequest':Q});}};b['ModalUtils']['confirm']=function(K,L,M){if(!b['ObjectUtils']['is'](K)||typeof L!='string')return;b['ModalUtils']['open'](K,{'text':L,'header':'Are\x20you\x20sure?','className':b['disCN']['modalconfirmmodal'],'scroller':![],'buttons':[{'contents':b['LanguageUtils']['LanguageStrings']['OKAY'],'close':!![],'color':'RED','click':typeof M=='function'?M:N=>{}},{'contents':b['LanguageUtils']['LanguageStrings']['CANCEL'],'close':!![]}]});};const r=b['ModuleUtils']['findByProperties']('MenuItem','MenuGroup');b['ContextMenuUtils']={};b['ContextMenuUtils']['open']=function(K,L,M){n['ContextMenuUtils']['openContextMenu'](L,function(N){return b['ReactUtils']['createElement'](x['LibraryComponents']['Menu'],{'navId':'bdfdb-context','onClose':b['LibraryModules']['ContextMenuUtils']['closeContextMenu'],'children':M},!![]);});};b['ContextMenuUtils']['close']=function(K){if(!b['ObjectUtils']['is'](K))return;let L=b['ReactUtils']['findOwner'](K,{'props':'closeContextMenu','up':!![]});if(b['ObjectUtils']['is'](L)&&L['props']&&typeof L['props']['closeContextMenu']=='function')L['props']['closeContextMenu']();else b['LibraryModules']['ContextMenuUtils']['closeContextMenu']();};b['ContextMenuUtils']['createItem']=function(K,L={}){if(!K)return null;else{if(L['persisting']||typeof L['color']=='string'&&!b['DiscordClasses']['menu'+L['color']['toLowerCase']()])K=x['MenuItem'];if(b['ObjectUtils']['toArray'](r)['some'](M=>M==K))return b['ReactUtils']['createElement'](K,L);else return b['ReactUtils']['createElement'](r['MenuItem'],{'id':L['id'],'disabled':L['disabled'],'render':M=>{if(!L['state'])L['state']=b['ObjectUtils']['extract'](L,'checked','value');return b['ReactUtils']['createElement'](K,Object['assign'](L,M,{'color':L['color']}));}});}};b['ContextMenuUtils']['createItemId']=function(...K){return K['map'](L=>typeof L=='number'?L['toString']():L)['filter'](L=>typeof L=='string')['map'](L=>L['toLowerCase']()['replace'](/\s/,'-'))['join']('-');};b['ContextMenuUtils']['findItem']=function(K,L){if(!K||!b['ObjectUtils']['is'](L)||!L['label']&&!L['id'])return[null,-0x1];L['label']=L['label']&&[L['label']]['flat']()['filter'](O=>O);L['id']=L['id']&&[L['id']]['flat']()['filter'](O=>O);let M=b['ReactUtils']['findChild'](K,{'props':'navId'});if(M){for(let O in M['props']['children']){if(M['props']['children'][O]&&M['props']['children'][O]['type']==r['MenuGroup']){if(b['ArrayUtils']['is'](M['props']['children'][O]['props']['children'])){for(let P in M['props']['children'][O]['props']['children'])if(N(M['props']['children'][O]['props']['children'][P])){if(L['group'])return[M['props']['children'],parseInt(O)];else return[M['props']['children'][O]['props']['children'],parseInt(P)];}}else if(M['props']['children'][O]&&M['props']['children'][O]['props']){if(N(M['props']['children'][O]['props']['children'])){if(L['group'])return[M['props']['children'],parseInt(O)];else{M['props']['children'][O]['props']['children']=[M['props']['children'][O]['props']['children']];return[M['props']['children'][O]['props']['children'],0x0];}}else if(M['props']['children'][O]['props']['children']&&M['props']['children'][O]['props']['children']['props']&&b['ArrayUtils']['is'](M['props']['children'][O]['props']['children']['props']['children'])){for(let Q in M['props']['children'][O]['props']['children']['props']['children'])if(N(M['props']['children'][O]['props']['children']['props']['children'][Q])){if(L['group'])return[M['props']['children'],parseInt(O)];else return[M['props']['children'][O]['props']['children']['props']['children'],parseInt(Q)];}}}}else if(N(M['props']['children'][O]))return[M['props']['children'],parseInt(O)];}return[M['props']['children'],-0x1];}return[null,-0x1];function N(R){if(!R)return![];let S=R['stateNode']?R['stateNode']['props']:R['props'];if(!S)return![];return L['id']&&L['id']['some'](T=>S['id']==T)||L['label']&&L['label']['some'](T=>S['label']==T);}};b['TimeUtils']={};b['TimeUtils']['interval']=function(K,L,...M){if(typeof K!='function'||typeof L!='number'||L<0x1)return;else{let N=0x0,O=setInterval(P=>{b['TimeUtils']['suppress'](K,'Interval')(...[O,N++,M]['flat']());},L);return O;}};b['TimeUtils']['timeout']=function(K,L,...M){if(typeof K!='function')return;else if(typeof L!='number'||L<0x1){let N=setImmediate(O=>{b['TimeUtils']['suppress'](K,'Immediate')(...[N,M]['flat']());});return N;}else{let O=setTimeout(P=>{b['TimeUtils']['suppress'](K,'Timeout')(...[O,M]['flat']());},L);return O;}};b['TimeUtils']['clear']=function(...K){for(let L of K['flat'](0xa)['filter'](M=>M)){if(typeof L=='number'){clearInterval(L);clearTimeout(L);}else if(typeof L=='object')clearImmediate(L);}};b['TimeUtils']['suppress']=function(K,L,M){return function(...N){try{return K(...N);}catch(O){b['LogUtils']['error']((typeof L=='string'&&L||'')+'\x20'+O,M);}};};b['StringUtils']={};b['StringUtils']['htmlEscape']=function(K){let L=document['createElement']('div');L['innerText']=K;return L['innerHTML'];};b['StringUtils']['regEscape']=function(K){return typeof K=='string'&&K['replace'](/([\-\/\\\^\$\*\+\?\.\(\)\|\[\]\{\}])/g,'\x5c$1');};b['StringUtils']['insertNRST']=function(K){return typeof K=='string'&&K['replace'](/\\r/g,'\x0d')['replace'](/\\n/g,'\x0a')['replace'](/\\t/g,'\x09')['replace'](/\\s/g,'\x20');};b['StringUtils']['highlight']=function(K,L,M='',N=''){if(typeof K!='string'||!L||L['length']<0x1)return K;let O=0x0,P=K;b['ArrayUtils']['getAllIndexes'](K['toUpperCase'](),L['toUpperCase']())['forEach'](Q=>{let R=O*(M['length']+N['length']);Q=Q+R;let S=Q+L['length'];let T=[-0x1]['concat'](b['ArrayUtils']['getAllIndexes'](K['substring'](0x0,Q),'<'));let U=[-0x1]['concat'](b['ArrayUtils']['getAllIndexes'](K['substring'](0x0,Q),'>'));if(T[T['length']-0x1]>U[U['length']-0x1])return;K=K['substring'](0x0,Q)+M+K['substring'](Q,S)+N+K['substring'](S);O++;});return K||P;};b['StringUtils']['extractSelection']=function(K,L){if(typeof K!='string')return'';if(typeof L!='string')return K;let M=[],N=[],O=0x0,P=![],Q=![];for(let R of b['ArrayUtils']['getAllIndexes'](K,L[0x0]))if(!Q){while(R<=K['length']&&!Q){let S=L['slice'](M['filter'](T=>T!=undefined)['length']);if(!S&&M['length']-0x14<=L['length'])Q=!![];else for(let T in S)if(!Q&&!P){if(K[R]==S[T]){M[R]=S[T];N[R]=S[T];O=0x0;if(R==K['length'])Q=!![];}else{M[R]=null;N[R]=K[R];O++;if(O>0x4){M=[],N=[],O=0x0,P=!![];break;}}break;}P=![];R++;}}if(M['filter'](U=>U)['length']){let U=[]['concat'](M)['reverse'](),V=0x0,W=0x0;for(let X in M){if(M[X]==null)V=parseInt(X)+0x1;else break;}for(let Y in U){if(U[Y]==null)W=parseInt(Y)+0x1;else break;}return N['slice'](V,N['length']-W)['join']('');}else return K;};b['SlateUtils']={};b['SlateUtils']['isRichValue']=function(K){return b['ObjectUtils']['is'](K)&&n['SlateUtils']['deserialize']('')['constructor']['prototype']['isPrototypeOf'](K);};b['SlateUtils']['copyRichValue']=function(K,L){let M=n['SlateUtils']['deserialize'](K);if(b['SlateUtils']['isRichValue'](L)&&L['_map']&&L['_map']['_root']&&b['ArrayUtils']['is'](L['_map']['_root']['entries'])){for(let N in L['_map']['_root']['entries'])if(L['_map']['_root']['entries'][N][0x0]=='selection'){M['_map']['_root']['entries'][N]=L['_map']['_root']['entries'][N];break;}}return M;};b['SlateUtils']['hasOpenPlainTextCodeBlock']=function(K){let L=b['ReactUtils']['getValue'](K,'props.richValue');if(!b['SlateUtils']['isRichValue'](L))return![];let M=b['LibraryModules']['SlateSelectionUtils']['serializeSelection'](L['document'],{'start':{'key':L['document']['getFirstText']()['key'],'offset':0x0},'end':L['selection']['start']},'raw')['match'](/```/g);return M&&M['length']&&M['length']%0x2!=0x0;};b['SlateUtils']['getCurrentWord']=function(K){let L=b['ReactUtils']['getValue'](K,'props.richValue');if(!b['SlateUtils']['isRichValue'](L)||!L['selection']['isCollapsed']||b['SlateUtils']['hasOpenPlainTextCodeBlock'](K)||L['document']['text']['trim']()['length']==0x0)return{'word':null,'isAtStart':![]};if(K['props']['useSlate']){if(L['document']['text']['startsWith']('/giphy\x20')||L['document']['text']['startsWith']('/tenor\x20')){let R=L['document']['getNode'](L['selection']['start']['key']);if(R)return{'word':R['text']['substring'](0x0,L['selection']['start']['offset']),'isAtStart':!![]};}let M=L['document']['getNode'](L['selection']['start']['key']);if(M==null)return{'word':null,'isAtStart':![]};let N='',O=![];let P=L['selection']['start']['offset'];let Q=L['document']['getClosestBlock'](M['key']);while(!![]){if(--P<0x0){if(M=Q['getPreviousNode'](M['key'])==null){O=!![];break;}if(M['object']!=='text')break;P=M['text']['length']-0x1;}if(M['object']!=='text')break;let S=M['text'][P];if(/(\t|\s)/['test'](S))break;N=S+N;}return{'word':!N?null:N,'isAtStart':O&&Q['type']=='line'&&L['document']['nodes']['get'](0x0)===Q};}else{let T=b['ReactUtils']['findDOMNode'](K['ref']['current']);if(!Node['prototype']['isPrototypeOf'](T)||T['tagName']!='TEXTAREA'||!T['value']['length']||/\s/['test'](T['value']['slice'](T['selectionStart'],T['selectionEnd'])))return{'word':null,'isAtStart':!![]};else{if(T['selectionEnd']==T['value']['length']){let U=T['value']['split'](/\s/)['reverse']();return{'word':!U[0x0]?null:U[0x0],'isAtStart':U['length']>0x1};}else{let V=T['value']['split'](''),W='',X='',Y=![],Z=!![];for(let a0 in V){if(a0==T['selectionStart'])Y=!![];if(/\s/['test'](V[a0])){W='';Z=X['length']>0x0&&Z||![];Y=![];}else{W+=V[a0];if(Y)X=W;}}return{'word':!X?null:X,'isAtStart':Z};}}}};b['NumberUtils']={};b['NumberUtils']['formatBytes']=function(K,L){K=parseInt(K);if(isNaN(K)||K<0x0)return'0\x20Bytes';if(K==0x1)return'1\x20Byte';let M=Math['floor'](Math['log'](K)/Math['log'](0x400));return parseFloat((K/Math['pow'](0x400,M))['toFixed'](L<0x1?0x0:L>0x14?0x14:L||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][M];};b['NumberUtils']['mapRange']=function(K,L,M){if(parseFloat(M)parseFloat(K[0x1]))return parseFloat(L[0x1]);else return parseFloat(L[0x0])+(parseFloat(M)-parseFloat(K[0x0]))*(parseFloat(L[0x1])-parseFloat(L[0x0]))/(parseFloat(K[0x1])-parseFloat(K[0x0]));};b['NumberUtils']['generateId']=function(K){K=b['ArrayUtils']['is'](K)?K:[];let L=Math['floor'](Math['random']()*0x2386f26fc10000);if(K['includes'](L))return b['NumberUtils']['generateId'](K);else{K['push'](L);return L;}};b['NumberUtils']['compareVersions']=function(K,L){if(!K||!L)return!![];K=K['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](O=>parseInt(O))['filter'](O=>(O||O==0x0)&&!isNaN(O));L=L['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](O=>parseInt(O))['filter'](O=>(O||O==0x0)&&!isNaN(O));var M=Math['max'](K['length'],L['length']);if(!M)return!![];if(K['length']>L['length']){var N=new Array(K['length']-L['length']);for(let O=0x0;OL[S])return!![];}return![];};b['NumberUtils']['getVersionDifference']=function(K,L){if(!K||!L)return![];K=K['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](Q=>parseInt(Q))['filter'](Q=>(Q||Q==0x0)&&!isNaN(Q));L=L['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](Q=>parseInt(Q))['filter'](Q=>(Q||Q==0x0)&&!isNaN(Q));var M=Math['max'](K['length'],L['length']);if(!M)return![];if(K['length']>L['length']){var N=new Array(K['length']-L['length']);for(let Q=0x0;Q0x12c?'stable':da>0xc8?'canary':'ptb';else K='stable';}else K='stable';}}b['DiscordUtils']['getBuilt']['built']=K;return K;}};b['DiscordUtils']['getVersion']=function(){if(b['DiscordUtils']['getBuilt']['version'])return b['DiscordUtils']['getBuilt']['version'];else{let K=null;try{K=m['electron']['remote']['app']['getVersion']();}catch(L){K='';}b['DiscordUtils']['getBuilt']['version']=K;return K;}};b['DiscordUtils']['isDevModeEnabled']=function(){return n['StoreChangeUtils']['get']('UserSettingsStore')['developerMode'];};b['DiscordUtils']['getTheme']=function(){return n['StoreChangeUtils']['get']('UserSettingsStore')['theme']=='dark'?b['disCN']['themedark']:b['disCN']['themelight'];};b['DiscordUtils']['getMode']=function(){return n['StoreChangeUtils']['get']('UserSettingsStore')['message_display_compact']?'compact':'cozy';};b['DiscordUtils']['getZoomFactor']=function(){let K=b['DOMUtils']['getRects'](document['querySelector'](b['dotCN']['appmount']));let L=Math['round'](0x64*window['outerWidth']/K['width']);let M=Math['round'](0x64*window['outerHeight']/K['height']);return L{N['onLoad'](...P);});if(typeof N['onClose']=='function')O['once']('closed',(...P)=>{N['onClose'](...P);});if(typeof O['removeMenu']=='function')O['removeMenu']();else O['setMenu'](null);O['loadURL'](L);O['executeJavaScriptSafe']=P=>{if(!O['isDestroyed']())O['webContents']['executeJavaScript']('(_\x20=>\x20{'+P+'})();');};K['browserWindows']['push'](O);return O;};b['WindowUtils']['close']=function(K){if(b['ObjectUtils']['is'](K)&&!K['isDestroyed']()&&K['isClosable']())K['close']();};b['WindowUtils']['closeAll']=function(K){K=K==b&&c||K;if(b['ObjectUtils']['is'](K)&&b['ArrayUtils']['is'](K['browserWindows']))while(K['browserWindows']['length'])b['WindowUtils']['close'](K['browserWindows']['pop']());};b['WindowUtils']['addListener']=function(K,L,M){K=K==b&&c||K;if(!b['ObjectUtils']['is'](K)||!L||typeof M!='function')return;b['WindowUtils']['removeListener'](K,L);for(let N of L['split']('\x20')){N=N['split']('.');let O=N['shift']();if(!O)return;let P=(N['join']('.')||'')+K['name'];if(!b['ArrayUtils']['is'](K['ipcListeners']))K['ipcListeners']=[];K['ipcListeners']['push']({'eventName':O,'namespace':P,'callback':M});m['electron']['ipcRenderer']['on'](O,M);}};b['WindowUtils']['removeListener']=function(K,L=''){K=K==b&&c||K;if(!b['ObjectUtils']['is'](K)||!b['ArrayUtils']['is'](K['ipcListeners']))return;if(L){for(let M of L['split']('\x20')){M=M['split']('.');let N=M['shift']();let O=(M['join']('.')||'')+K['name'];for(let P of K['ipcListeners']){let Q=[];if(P['eventName']==N&&P['namespace']==O){m['electron']['ipcRenderer']['off'](P['eventName'],P['callback']);Q['push'](P);}if(Q['length'])K['ipcListeners']=K['ipcListeners']['filter'](R=>{return Q['indexOf'](R)<0x0;});}}}else{for(let R of K['ipcListeners'])m['electron']['ipcRenderer']['off'](R['eventName'],R['callback']);K['ipcListeners']=[];}};b['BDUtils']={};b['BDUtils']['getPluginsFolder']=function(){if(m['process']['env']['injDir'])return m['path']['resolve'](m['process']['env']['injDir'],'plugins/');else switch(m['process']['platform']){case'win32':return m['path']['resolve'](m['process']['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return m['path']['resolve'](m['process']['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(m['process']['env']['XDG_CONFIG_HOME'])return m['path']['resolve'](m['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return m['path']['resolve'](m['process']['env']['HOME'],'.config/BetterDiscord/plugins/');}};b['BDUtils']['getThemesFolder']=function(){if(m['process']['env']['injDir'])return m['path']['resolve'](m['process']['env']['injDir'],'plugins/');else switch(m['process']['platform']){case'win32':return m['path']['resolve'](m['process']['env']['appdata'],'BetterDiscord/themes/');case'darwin':return m['path']['resolve'](m['process']['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(m['process']['env']['XDG_CONFIG_HOME'])return m['path']['resolve'](m['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return m['path']['resolve'](m['process']['env']['HOME'],'.config/BetterDiscord/themes/');}};b['BDUtils']['isPluginEnabled']=function(K){if(!window['BdApi'])return null;else if(BdApi['Plugins']&&typeof BdApi['Plugins']['isEnabled']=='function')return BdApi['Plugins']['isEnabled'](K);else if(typeof BdApi['isPluginEnabled']=='function')return BdApi['isPluginEnabled'](K);};b['BDUtils']['enablePlugin']=function(K){if(!window['BdApi'])return;else if(BdApi['Plugins']&&typeof BdApi['Plugins']['enable']=='function')BdApi['Plugins']['enable'](K);else if(window['pluginModule'])window['pluginModule']['startPlugin'](K);};b['BDUtils']['disablePlugin']=function(K){if(!window['BdApi'])return;else if(BdApi['Plugins']&&typeof BdApi['Plugins']['disable']=='function')BdApi['Plugins']['disable'](K);else if(window['pluginModule'])window['pluginModule']['stopPlugin'](K);};b['BDUtils']['getPlugin']=function(K,L=![],M=![]){if(window['BdApi']&&!L||b['BDUtils']['isPluginEnabled'](K)){if(BdApi['Plugins']['get']&&typeof BdApi['Plugins']['get']=='function'){let N=BdApi['Plugins']['get'](K);if(M)return N?{'filename':m['fs']['existsSync'](m['path']['join'](b['BDUtils']['getPluginsFolder'](),K+'.plugin.js'))?K+'.plugin.js':null,'id':K,'name':K,'plugin':N}:null;else return N;}else if(window['bdplugins'])M?window['bdplugins'][K]:(window['bdplugins'][K]||{})['plugin'];}return null;};b['BDUtils']['isThemeEnabled']=function(K){if(!window['BdApi'])return null;else if(BdApi['Themes']&&typeof BdApi['Themes']['isEnabled']=='function')return BdApi['Themes']['isEnabled'](K);else if(typeof BdApi['isThemeEnabled']=='function')return BdApi['isThemeEnabled'](K);};b['BDUtils']['enableTheme']=function(K){if(!window['BdApi'])return;else if(BdApi['Themes']&&typeof BdApi['Themes']['enable']=='function')BdApi['Themes']['enable'](K);else if(window['themeModule'])window['themeModule']['enableTheme'](K);};b['BDUtils']['disableTheme']=function(K){if(!window['BdApi'])return;else if(BdApi['Themes']&&typeof BdApi['Themes']['disable']=='function')BdApi['Themes']['disable'](K);else if(window['themeModule'])window['themeModule']['disableTheme'](K);};b['BDUtils']['getTheme']=function(K,L=![]){if(window['BdApi']&&!L||b['BDUtils']['isThemeEnabled'](K)){if(BdApi['Themes']&&typeof BdApi['Themes']['get']=='function')return BdApi['Themes']['get'](K);else if(window['bdthemes'])window['bdthemes'][K];}return null;};let s=window['BdApi']&&!b['ArrayUtils']['is'](BdApi['settings']);b['BDUtils']['settingsIds']=s?{'automaticLoading':'fork-ps-5','coloredText':'bda-gs-7','normalizedClasses':'fork-ps-4','showToasts':'fork-ps-2'}:{'automaticLoading':'settings.addons.autoReload','coloredText':'settings.appearance.coloredText','normalizedClasses':'settings.general.classNormalizer','showToasts':'settings.general.showToasts'};b['BDUtils']['toggleSettings']=function(K,L){if(window['BdApi']&&typeof K=='string'){let M=K['split']('.');let N=b['BDUtils']['getSettings'](K);if(L===!![]){if(N===![])BdApi['enableSetting'](...M);}else if(L===![]){if(N===!![])BdApi['disableSetting'](...M);}else if(N===!![]||N===![])b['BDUtils']['toggleSettings'](K,!N);}};b['BDUtils']['getSettings']=function(K){if(!window['BdApi'])return{};if(typeof K=='string')return BdApi['isSettingEnabled'](...K['split']('.'));else return s?b['ReactUtils']['getValue'](BdApi['getBDData']('settings'),b['DiscordUtils']['getBuilt']()+'.settings'):BdApi['settings']['map'](L=>L['settings']['map'](M=>M['settings']['map'](N=>({'id':[L['id'],M['id'],N['id']]['join']('.'),'value':N['value']}))))['flat'](0xa)['reduce']((L,M)=>(L[M['id']]=M['value'],L),{});};var t={};t['BDFDB']={'BDFDBundefined':'BDFDB_undefined','badge':'badge-7R_W3s','bdaRepoEntry':'entry-9JnAPs','bdaRepoListHeader':'repoHeader-2KfNvH','bdaRepoListWrapper':'repoList-9JnAPs','cardInner':'inner-OP_8zd','cardWrapper':'card-rT4Wbb','charCounter':'counter-uAzbKp','changeLogModal':'changeLogModal-ny_dHC','collapseContainer':'container-fAVkOf','collapseContainerArrow':'arrow-uglXxc','collapseContainerCollapsed':'collapsed-2BUBZm','collapseContainerHeader':'header-2s6x-5','collapseContainerInner':'inner-TkGytd','collapseContainerMini':'container-fAVkOf\x20containerMini-_k6Rts','collapseContainerTitle':'title-ROsJi-','colorPicker':'colorPicker-h5sF8g','colorPickerAlpha':'alpha-VcPGeR','colorPickerAlphaCheckered':'alpha-checkered','colorPickerAlphaCursor':'alpha-cursor','colorPickerAlphaHorizontal':'alpha-horizontal','colorPickerGradient':'gradient-TJOYTr','colorPickerGradientCheckered':'gradient-checkered','colorPickerGradientCursor':'gradient-cursor','colorPickerGradientCursorEdge':'gradient-cursor-edge','colorPickerGradientCursorSelected':'gradient-cursor-selected','colorPickerGradientHorizontal':'gradient-horizontal','colorPickerGradientButton':'gradientButton-eBBuwD','colorPickerGradientButtonEnabled':'enabled-MypHME','colorPickerSwatches':'swatches-QxZw_N','colorPickerSwatchesDisabled':'disabled-2JgNxl','colorPickerSwatchSingle':'single-Fbb1wB','colorPickerSwatchSelected':'selected-f5IVXN','confirmModal':'confirmModal-t-WDWJ','dev':'dev-A7f2Rx','favButtonContainer':'favbutton-8Fzu45','guild':'guild-r3yAE_','guildLowerLeftBadge':'lowerLeftBadge-zr4T_9','guildUpperLeftBadge':'upperLeftBadge-e35IpL','hasBadge':'hasBadge-4rT8_u','hotkeyResetButton':'resetButton-hI9Ax7','hotkeyWrapper':'recorder-can0vx','inputNumberButton':'button-J9muv5','inputNumberButtonDown':'down-cOY7Qp\x20button-J9muv5','inputNumberButtonUp':'up-mUs_72\x20button-J9muv5','inputNumberButtons':'buttons-our3p-','inputNumberWrapper':'numberInputWrapper-j4svZS','inputNumberWrapperDefault':'numberInputWrapperDefault-gRxcuK\x20numberInputWrapper-j4svZS','inputNumberWrapperMini':'numberInputWrapperMini-wtUU31\x20numberInputWrapper-j4svZS','listRow':'listRow-7SfZww','loadingIcon':'loadingIcon-cOYMPl','loadingIconWrapper':'loadingIconWrapper-PsVJ9m','overflowEllipsis':'ellipsis-qlo9sA','paginationList':'list-PIKebU','paginationListAlphabet':'alphabet-2ANo0x','paginationListAlphabetChar':'alphabetChar-bq-8Go','paginationListAlphabetCharDisabled':'disabled-XmhCq2','paginationListContent':'listContent-aG3Fq8','paginationListPagination':'pagination-ko4zZk','popoutWrapper':'popout-xwjvsX','quickSelectWrapper':'quickSelectWrapper-UCfTKz','menuColorCustom':'colorCustom-44asd2','menuItemHint':'hint-BK71lM','modalHeaderShade':'shade-h6F4sT','modalHeaderHasSibling':'hasSiblings-fRyjyl','modalNoScroller':'noScroller-YgPpF3','modalSidebar':'sidebar-_0OpfR','modalTabContent':'tabContent-nZ-1U5','modalTabContentOpen':'open-yICTYu','modalSubInner':'inner-t84Frz','modalWrapper':'modal-6GHvdM','noticeWrapper':'noticeWrapper-8z511t','selectWrapper':'selectWrapper-yPjeij','settingsGuild':'guild-J3Egt5','settingsGuildDisabled':'disabled-b2o83O','settingsPanel':'settingsPanel-w2ySNR','settingsPanelHeader':'settingsHeader-7g994w','settingsPanelHeaderButton':'button-ff4a_z','settingsPanelHeaderControls':'controls-g2WW5_','settingsPanelInner':'settingsInner-zw1xAY','settingsPanelList':'settingsList-eZjkXj','settingsPanelTitle':'title-GTF_8J','settingsTableCard':'settingsTableCard-628t52','settingsTableCardConfigs':'settingsTableCardConfigs-w5X9-Z','settingsTableCardLabel':'settingsTableCardLabel-MElgIg','settingsTableHeaders':'settingsTableHeaders-WKzw9_','settingsTableHeaderVertical':'headerVertical-4MNxqk','settingsTableList':'settingsTableList-f6sW2y','sidebar':'sidebar-frSZx3','sidebarContent':'content-1SbgDG','sidebarList':'list-VCoBc2','sliderBubble':'bubble-3we2di','supporter':'supporter-Z3FfwL','supporterCustom':'customSupporter-thxL4U','svgIcon':'icon-GhnIRB','svgIconWrapper':'iconWrapper-g20jFn','tabBarContainerBottom':'bottom-b8sdfs','table':'table-moqjM0','tableBodyCell':'bodyCell-dQam9V','tableHeader':'header-g67q9_','tableHeaderCell':'headerCell-T6Fo3K','tableHeaderCellSorted':'headerCellSorted-FMjMWK','tableHeaderSortIcon':'sortIcon-WZjMja','tableRow':'row-_9Ehcp','tableStickyHeader':'stickyHeader-JabwjW\x20header-g67q9_','textScroller':'textScroller-dc9_kz','themedPopout':'themedPopout-1TrfdI','tooltipCustom':'tooltipCustom-hH39_Z','userInfoDate':'date-YN6TCS'};t['BDrepo']={'bdAddonCard':'bd-addon-card','bdButton':'bd-button','bdaAuthor':'bd-author\x20author\x20bda-author','bdaControls':'bd-controls\x20bd-addon-controls\x20bda-controls','bdaControlsButton':'bd-addon-button','bdaDescription':'bd-description\x20bd-addon-description\x20bda-description','bdaDescriptionWrap':'bd-description-wrap\x20bda-description-wrap','bdaFooter':'bd-footer\x20bd-card-footer\x20bda-footer','bdaHeader':'bd-addon-header\x20bda-header','bdaHeaderTitle':'bd-title\x20bd-card-title\x20bda-header-title','bdaLink':'bd-link\x20bda-link','bdaLinks':'bd-links\x20bd-addon-links\x20bda-links','bdaName':'bd-name\x20name\x20bda-name','bdaSettingsButton':'bd-button\x20bd-button-addon-settings\x20bd-settings-button\x20bda-settings-button','bdaSlist':'bda-slist\x20bd-addon-list','bdaVersion':'bd-version\x20version\x20bda-version','bdGuild':'bd-guild','bdGuildAnimatable':'bd-animatable','bdGuildAudio':'bd-audio','bdGuildSelected':'bd-selected','bdGuildSeparator':'bd-guild-separator','bdGuildUnread':'bd-unread','bdGuildVideo':'bd-video','bdIcon':'bd-icon','bdPillSelected':'bd-selected','bdPillUnread':'bd-unread','bdPfbtn':'bd-pfbtn','bdSwitch':'bd-switch','bdSwitchChecked':'bd-switch-checked','bdSwitchInner':'bd-checkbox','bdUpdatebtn':'bd-updatebtn','settings':'plugin-settings','settingsOpen':'settings-open','settingsClosed':'settings-closed','switch':'ui-switch','switchCheckbox':'ui-switch-checkbox','switchChecked':'checked','switchItem':'ui-switch-item','switchWrapper':'ui-switch-wrapper'};t['BadgesEverywhere']={'badge':'badge-7CsdQq','badges':'badges-XRnWAp','badgesChat':'badgesChat-f_cbR8','badgesInner':'inner-dA0J42','badgesList':'badgesList-Aw_p52','badgesPopout':'badgesPopout-srZ8EX','badgesSettings':'badgesSettings-ychoGn','indicator':'indicator-cY1-b4','indicatorInner':'indicatorInner-08W8Jl','mini':'mini-g-JPgX','size17':'size17-2GsONg','size21':'size21-Y634b3','size22':'size22-AJj9xV','size24':'size24-NlR6be'};t['BetterNsfwTag']={'nsfwTag':'nsfwTag-666omg'};t['ChatFilter']={'blocked':'blocked-jUhayi','blockedStamp':'blockedStamp-ijVeNn','censored':'censored-UYfeYg','censoredStamp':'censoredStamp-fb2cYb'};t['CharCounter']={'charCounter':'charCounter-7fw40k','chatCounter':'chatCounter-XOMPsh','counterAdded':'charCounterAdded-zz9O4t','editCounter':'editCounter-pNT1Xe','nickCounter':'nickCounter-tJrO_4','popoutNoteCounter':'popoutNoteCounter-62U4Rh','profileNoteCounter':'profileNoteCounter-p0fWA_','uploadCounter':'uploadCounter-iEGQQk'};t['CreationDate']={'date':'creationDate-CJwdKT'};t['DisplayLargeMessages']={'injectButton':'injectButton-8eKqGu'};t['DisplayServersAsChannels']={'badge':'badge-fxFrUP','name':'name-z5133D','styled':'styledGuildsAsChannels-DNHtg_'};t['EmojiStatistics']={'statisticsButton':'statisticsButton-nW2KoM','amountCell':'amountCell-g_W6Rx','iconCell':'iconCell--wniOu','nameCell':'nameCell-xyXENZ'};t['FriendNotifications']={'friendsOnline':'friendsOnline-2JkivW'};t['GoogleTranslateOption']={'reverseButton':'reverseButton-5S47qV','translateButton':'translateButton-DhP9x8','translated':'translated-5YO8i3','translating':'translating-Yi-YxC'};t['ImageGallery']={'details':'details-9dkFPc','detailsLabel':'label-mrlccN','detailsWrapper':'detailsWrapper-TE1mu5','gallery':'gallery-JViwKR','icon':'icon-QY6cR4','next':'next-SHEZrz','previous':'previous-xsNq6B','sibling':'sibling-6vI7Pu'};t['ImageZoom']={'backdrop':'lenseBackdrop-yEm7Om','lense':'zoomLense-uOK8xV','modal':'imageModal-8J0ttB','operations':'operations-3V47CY'};t['JoinedAtDate']={'date':'joinedAtDate-IawR02'};t['LastMessageDate']={'date':'lastMessageDate-ocEw13'};t['OldTitleBar']={'oldTitleBarEnabled':'oldTitleBarEnabled-D8ppJQ','settingsToolbar':'settingsToolbar-wu4yfQ','toolbar':'toolbar-hRzFw-'};t['PinDMs']={'dragPreview':'dragPreview-nXiByA','dmChannelPinned':'pinned-0lM4wD','dmChannelPlaceholder':'placeholder-7bhR5s','pinnedChannelsHeaderAmount':'headerAmount-_-7GrS','pinnedChannelsHeaderArrow':'pinnedChannelsHeaderArrow-44rrTz','pinnedChannelsHeaderCollapsed':'collapsed-3w_-ff','pinnedChannelsHeaderColored':'colored-oIzG5s','pinnedChannelsHeaderContainer':'pinnedChannelsHeaderContainer-89Gjv4','recentPinned':'pinned-jHvFrr','recentPlaceholder':'placeholder-Uff-gH','unpinButton':'unpinButton-z3-UVO','unpinIcon':'unpinIcon-79ZnEr'};t['ReadAllNotificationsButton']={'button':'button-Jt-tIg','frame':'frame-oXWS21','innerFrame':'innerFrame-8Hg64E'};t['ServerFolders']={'dragPreview':'dragPreview-nXiByA','guildPlaceholder':'placeholder-7bhR5s','folderContent':'content-Pph8t6','folderContentClosed':'closed-j55_T-','folderContentIsOpen':'folderContentIsOpen-zz6FgW','iconSwatch':'iconSwatch-_78Ghj','iconSwatchInner':'iconInner-aOY-qk','iconSwatchPreview':'preview-Bbg_24','iconSwatchSelected':'selected-P5oePO'};t['ShowImageDetails']={'details':'details-1t6Zms','detailsAdded':'detailsAdded-SAy48f'};t['SpellCheck']={'error':'error-k9z2IV','overlay':'spellCheckOverlay-cNSap5'};t['SpotifyControls']={'bar':'bar-g2ZMIm','barGabber':'grabber-7sd5f5','barFill':'barFill-Dhkah7','barText':'barText-lmqc5O','buttonActive':'active-6TsW-_','container':'container-6sXIoE','containerInner':'inner-WRV6k5','containerMaximized':'maximized-vv2Wr0','containerWithTimeline':'withTimeline-824fT_','cover':'cover-SwJ-ck','coverMaximizer':'maximizer-RVu85p','coverWrapper':'coverWrapper-YAplwJ','details':'details-ntX2k5','interpret':'interpret-F93iqP','song':'song-tIdBpF','timeline':'timeline-UWmgAx','volumeSlider':'volumeSlider-sR5g00'};t['TimedLightDarkMode']={'dateGrabber':'dateGrabber-QrRkIX','timerGrabber':'timerGrabber-zpRAIk','timerSettings':'timerSettings-wkvEfF'};t['TopRolesEverywhere']={'badgeStyle':'badgeStyle-tFiEQ8','chatTag':'chatTag-Y-5TDc','memberTag':'memberTag-QVWzGc','roleStyle':'roleStyle-jQ7KI2','tag':'tag-wWVHyf'};t['NotFound']={'_':'','badgeWrapper':'wrapper-232cHJ','channelPanelTitle':'title-eS5yk3','emoji':'emoji','guildChannels':'container-PNkimc','highlight':'highlight','hoverCardButton':'button-2CgfFz','loginScreen':'wrapper-3Q5DdO','messagesWelcomeButton':'button-2OOM0p','mention':'mention','mentionInteractive':'interactive','mentionWrapper':'wrapper-3WhCwL','nameContainerNameContainer':'container-2ax-kl','hueCursor':'hue-cursor','hueHorizontal':'hue-horizontal','hueVertical':'hue-vertical','saturationBlack':'saturation-black','saturationColor':'saturation-color','saturationCursor':'saturation-cursor','saturationWhite':'saturation-white','splashBackground':'splashBackground-1FRCko','stopAnimations':'stop-animations','subtext':'subtext-3CDbHg','themeDark':'theme-dark','themeLight':'theme-light','themeUndefined':'theme-undefined','voiceDraggable':'draggable-1KoBzC'};t['ColorPicker']={'colorPickerCustom':'colorPickerCustom-2CWBn2','colorPickerDropper':'colorPickerDropper-3c2mIf','colorPickerDropperFg':'colorPickerDropperFg-3jYKWI','colorPickerRow':'colorPickerRow-1LgLnl','colorPickerSwatch':'colorPickerSwatch-5GX3Ve','custom':'custom-2SJn4n','customColorPickerInput':'customColorPickerInput-14pB0r','default':'default-cS_caM','disabled':'disabled-1C4eHl','input':'input-GfazGc','noColor':'noColor-1pdBDm'};t['ColorPickerInner']={'hue':'hue-13HAGb','saturation':'saturation-1FDvtn','wrapper':'wrapper-2AQieU'};t['AccountDetails']=b['ModuleUtils']['findByProperties']('usernameContainer','container');t['AccountDetailsButtons']=b['ModuleUtils']['findByProperties']('button','enabled','disabled');t['Anchor']=b['ModuleUtils']['findByProperties']('anchor','anchorUnderlineOnHover');t['AnimationContainer']=b['ModuleUtils']['findByProperties']('animatorLeft','didRender');t['AppBase']=b['ModuleUtils']['findByProperties']('container','base');t['AppInner']=b['ModuleUtils']['findByProperties']('app','layers');t['AppMount']=b['ModuleUtils']['findByProperties']('appMount');t['ApplicationStore']=b['ModuleUtils']['findByProperties']('applicationStore','navigation');t['AppOuter']=b['ModuleUtils']['find'](K=>typeof K['app']=='string'&&Object['keys'](K)['length']==0x1);t['AuditLog']=b['ModuleUtils']['findByProperties']('auditLog');t['AuthBox']=b['ModuleUtils']['findByProperties']('authBox');t['Autocomplete']=b['ModuleUtils']['findByProperties']('autocomplete','autocompleteRow');t['Avatar']=b['ModuleUtils']['findByProperties']('avatar','mask','wrapper');t['AvatarIcon']=b['ModuleUtils']['findByProperties']('iconActiveLarge','iconActiveMedium');t['Backdrop']=b['ModuleUtils']['findByProperties']('backdrop','backdropWithLayer');t['Badge']=b['ModuleUtils']['findByProperties']('numberBadge','textBadge','iconBadge');t['BotTag']=b['ModuleUtils']['findByProperties']('botTag','botTagInvert');t['Button']=b['ModuleUtils']['findByProperties']('colorBlack','button');t['CallCurrent']=b['ModuleUtils']['findByProperties']('wrapper','fullScreen');t['CallDetails']=b['ModuleUtils']['findByProperties']('container','hotspot');t['CallIncoming']=b['ModuleUtils']['findByProperties']('wrapper','mainChannelInfo');t['Card']=b['ModuleUtils']['findByProperties']('card','cardBrand');t['CardStatus']=b['ModuleUtils']['findByProperties']('reset','error','card');t['Category']=b['ModuleUtils']['findByProperties']('wrapper','children','muted');t['CategoryContainer']=b['ModuleUtils']['findByProperties']('addButtonIcon','containerDefault');t['ChangeLog']=b['ModuleUtils']['findByProperties']('added','fixed','improved','progress');t['Channel']=b['ModuleUtils']['findByProperties']('wrapper','content','modeSelected');t['ChannelContainer']=b['ModuleUtils']['findByProperties']('actionIcon','containerDefault');t['ChannelLimit']=b['ModuleUtils']['findByProperties']('users','total','wrapper');t['ChannelTextArea']=b['ModuleUtils']['findByProperties']('textArea','buttons');t['ChannelTextAreaAttachButton']=b['ModuleUtils']['findByProperties']('attachButton','attachWrapper');t['ChannelTextAreaButton']=b['ModuleUtils']['findByProperties']('buttonWrapper','active');t['ChannelTextAreaCharCounter']=b['ModuleUtils']['findByProperties']('characterCount','error');t['ChannelTextAreaSlate']=b['ModuleUtils']['findByProperties']('slateContainer','placeholder');t['ChatWindow']=b['ModuleUtils']['findByProperties']('chat','channelTextArea');t['Checkbox']=b['ModuleUtils']['findByProperties']('checkboxWrapper','round');t['CtaVerification']=b['ModuleUtils']['findByProperties']('attendeeCTA','verificationNotice');t['Cursor']=b['ModuleUtils']['findByProperties']('cursorDefault','userSelectNone');t['CustomStatusIcon']=b['ModuleUtils']['findByProperties']('textRuler','emoji','icon');t['DmAddPopout']=b['ModuleUtils']['findByProperties']('popout','searchBarComponent');t['DmAddPopoutItems']=b['ModuleUtils']['findByProperties']('friendSelected','friendWrapper');t['DownloadLink']=b['ModuleUtils']['findByProperties']('downloadLink');t['Embed']=b['ModuleUtils']['findByProperties']('embed','embedAuthorIcon');t['EmbedActions']=b['ModuleUtils']['findByProperties']('iconPlay','iconWrapperActive');t['Emoji']=b['ModuleUtils']['find'](K=>typeof K['emoji']=='string'&&Object['keys'](K)['length']==0x1);t['EmojiButton']=b['ModuleUtils']['findByProperties']('emojiButton','sprite');t['EmojiInput']=b['ModuleUtils']['findByProperties']('inputContainer','emojiButton');t['EmojiPicker']=b['ModuleUtils']['findByProperties']('emojiPicker','inspector');t['EmojiPickerDiversitySelector']=b['ModuleUtils']['findByProperties']('diversityEmojiItemImage','diversitySelectorPopout');t['EmojiPickerItem']=b['ModuleUtils']['findByProperties']('emojiSpriteImage');t['EmojiPickerInspector']=b['ModuleUtils']['findByProperties']('inspector','glyphEmoji');t['ExpressionPicker']=b['ModuleUtils']['findByProperties']('contentWrapper','navButton','navList');t['File']=b['ModuleUtils']['findByProperties']('downloadButton','fileNameLink');t['Flex']=b['ModuleUtils']['findByProperties']('alignBaseline','alignCenter');t['FlexChild']=b['ModuleUtils']['findByProperties']('flexChild','flex');t['FlowerStar']=b['ModuleUtils']['findByProperties']('flowerStarContainer','flowerStar');t['Focusable']=b['ModuleUtils']['findByProperties']('focusable');t['FormText']=b['ModuleUtils']['findByProperties']('description','modeDefault');t['Game']=b['ModuleUtils']['findByProperties']('game','gameName');t['GameIcon']=b['ModuleUtils']['findByProperties']('gameIcon','small','xsmall');t['GameLibraryTable']=b['ModuleUtils']['findByProperties']('stickyHeader','emptyStateText');t['GifFavoriteButton']=b['ModuleUtils']['findByProperties']('gifFavoriteButton','showPulse');t['GoLiveDetails']=b['ModuleUtils']['findByProperties']('panel','gameWrapper');t['Guild']=b['ModuleUtils']['findByProperties']('wrapper','lowerBadge','svg');t['GuildChannels']=b['ModuleUtils']['findByProperties']('positionedContainer','unreadBar');t['GuildDiscovery']=b['ModuleUtils']['findByProperties']('pageWrapper','guildList');t['GuildDm']=b['ModuleUtils']['find'](K=>typeof K['pill']=='string'&&Object['keys'](K)['length']==0x1);t['GuildEdges']=b['ModuleUtils']['findByProperties']('wrapper','edge','autoPointerEvents');t['GuildFolder']=b['ModuleUtils']['findByProperties']('folder','expandedFolderIconWrapper');t['GuildHeader']=b['ModuleUtils']['findByProperties']('header','name','bannerImage');t['GuildHeaderButton']=b['ModuleUtils']['findByProperties']('button','open');t['GuildIcon']=b['ModuleUtils']['findByProperties']('acronym','selected','wrapper');t['GuildInvite']=b['ModuleUtils']['findByProperties']('wrapper','guildIconJoined');t['GuildSettingsBanned']=b['ModuleUtils']['findByProperties']('bannedUser','bannedUserAvatar');t['GuildSettingsEmoji']=b['ModuleUtils']['findByProperties']('emojiRow','emojiAliasPlaceholder');t['GuildSettingsInvite']=b['ModuleUtils']['findByProperties']('countdownColumn','inviteSettingsInviteRow');t['GuildSettingsMember']=b['ModuleUtils']['findByProperties']('member','membersFilterPopout');t['GuildSettingsRoles']=b['ModuleUtils']['findByProperties']('buttonWrapper','addRoleIcon');t['GuildServer']=b['ModuleUtils']['findByProperties']('blobContainer','pill');t['GuildsItems']=b['ModuleUtils']['findByProperties']('guildSeparator','guildsError');t['GuildsWrapper']=b['ModuleUtils']['findByProperties']('scroller','unreadMentionsBar','wrapper');t['HeaderBar']=b['ModuleUtils']['findByProperties']('container','children','toolbar');t['HeaderBarExtras']=b['ModuleUtils']['findByProperties']('headerBarLoggedOut','search');t['HeaderBarSearch']=b['ModuleUtils']['findByProperties']('search','searchBar','open');t['HeaderBarTopic']=b['ModuleUtils']['findByProperties']('topic','expandable','content');t['HomeIcon']=b['ModuleUtils']['findByProperties']('homeIcon');t['HotKeyRecorder']=b['ModuleUtils']['findByProperties']('editIcon','recording');t['HoverCard']=b['ModuleUtils']['findByProperties']('card','active');t['IconDirection']=b['ModuleUtils']['findByProperties']('directionDown','directionUp');t['ImageWrapper']=b['ModuleUtils']['findByProperties']('clickable','imageWrapperBackground');t['InviteModal']=b['ModuleUtils']['findByProperties']('inviteRow','modal');t['Item']=b['ModuleUtils']['findByProperties']('item','side','header');t['ItemRole']=b['ModuleUtils']['findByProperties']('role','dragged');t['ItemLayerContainer']=b['ModuleUtils']['findByProperties']('layer','layerContainer');t['Input']=b['ModuleUtils']['findByProperties']('inputMini','inputDefault');t['LayerModal']=b['ModuleUtils']['findByProperties']('root','small','medium');t['Layers']=b['ModuleUtils']['findByProperties']('layer','layers');t['LiveTag']=b['ModuleUtils']['findByProperties']('liveLarge','live');t['LoadingScreen']=b['ModuleUtils']['findByProperties']('container','problemsText','problems');t['Margins']=b['ModuleUtils']['findByProperties']('marginBottom4','marginCenterHorz');t['Menu']=b['ModuleUtils']['findByProperties']('menu','styleFlexible','item');t['MenuCaret']=b['ModuleUtils']['findByProperties']('arrow','open');t['MenuReactButton']=b['ModuleUtils']['findByProperties']('wrapper','icon','focused');t['MenuSlider']=b['ModuleUtils']['findByProperties']('slider','sliderContainer');t['Member']=b['ModuleUtils']['findByProperties']('member','ownerIcon');t['MembersThreads']=b['ModuleUtils']['findByProperties']('tabBar','thread');t['MembersWrap']=b['ModuleUtils']['findByProperties']('membersWrap','membersGroup');t['Message']=b['ModuleUtils']['findByProperties']('message','mentioned');t['MessageAccessory']=b['ModuleUtils']['findByProperties']('embedWrapper','gifFavoriteButton');t['MessageBlocked']=b['ModuleUtils']['findByProperties']('blockedMessageText','expanded');t['MessageBody']=b['ModuleUtils']['findByProperties']('markupRtl','edited');t['MessageDivider']=b['ModuleUtils']['findByProperties']('isUnread','divider');t['MessageElements']=b['ModuleUtils']['findByProperties']('messageGroupBlockedBtn','dividerRed');t['MessageFile']=b['ModuleUtils']['findByProperties']('cancelButton','filenameLinkWrapper');t['MessageLocalBot']=b['ModuleUtils']['find'](K=>typeof K['localBotMessage']=='string'&&Object['keys'](K)['length']==0x1);t['MessageMarkup']=b['ModuleUtils']['findByProperties']('markup');t['MessageOperations']=b['ModuleUtils']['find'](K=>typeof K['operations']=='string'&&Object['keys'](K)['length']==0x1);t['MessageReactions']=b['ModuleUtils']['findByProperties']('reactions','reactionMe');t['MessageReactionsModal']=b['ModuleUtils']['findByProperties']('reactor','reactionSelected');t['MessageSystem']=b['ModuleUtils']['findByProperties']('container','actionAnchor');t['MessageToolbar']=b['ModuleUtils']['findByProperties']('container','icon','isHeader');t['MessageToolbarItems']=b['ModuleUtils']['findByProperties']('wrapper','button','separator');t['MessagesPopout']=b['ModuleUtils']['findByProperties']('messagesPopoutWrap','jumpButton');t['MessagesPopoutButtons']=b['ModuleUtils']['findByProperties']('secondary','tertiary','button');t['MessagesPopoutTabBar']=b['ModuleUtils']['findByProperties']('header','tabBar','active');t['MessagesWelcome']=b['ModuleUtils']['findByProperties']('emptyChannelIcon','description','header');t['MessagesWrap']=b['ModuleUtils']['findByProperties']('messagesWrapper','messageGroupBlocked');t['Modal']=b['ModuleUtils']['findByProperties']('modal','sizeLarge');t['ModalDivider']=b['ModuleUtils']['find'](K=>typeof K['divider']=='string'&&Object['keys'](K)['length']==0x1);t['ModalItems']=b['ModuleUtils']['findByProperties']('guildName','checkboxContainer');t['ModalMiniContent']=b['ModuleUtils']['find'](K=>typeof K['modal']=='string'&&typeof K['content']=='string'&&Object['keys'](K)['length']==0x2);t['ModalWrap']=b['ModuleUtils']['find'](K=>typeof K['modal']=='string'&&typeof K['inner']=='string'&&Object['keys'](K)['length']==0x2);t['NameContainer']=b['ModuleUtils']['findByProperties']('nameAndDecorators','name');t['NameTag']=b['ModuleUtils']['findByProperties']('bot','nameTag');t['NitroStore']=b['ModuleUtils']['findByProperties']('applicationStore','marketingHeader');t['NoteTextarea']=b['ModuleUtils']['find'](K=>typeof K['textarea']=='string'&&Object['keys'](K)['length']==0x1);t['Notice']=b['ModuleUtils']['findByProperties']('notice','noticeFacebook');t['Peoples']=b['ModuleUtils']['findByProperties']('peopleColumn','tabBar');t['PictureInPicture']=b['ModuleUtils']['findByProperties']('pictureInPicture','pictureInPictureWindow');t['PillWrapper']=b['ModuleUtils']['find'](K=>typeof K['item']=='string'&&typeof K['wrapper']=='string'&&Object['keys'](K)['length']==0x2);t['PrivateChannel']=b['ModuleUtils']['findByProperties']('channel','closeButton');t['PrivateChannelList']=b['ModuleUtils']['findByProperties']('privateChannels','searchBar');t['PrivateChannelListScroller']=b['ModuleUtils']['findByProperties']('scroller','empty');t['Popout']=b['ModuleUtils']['findByProperties']('popout','arrowAlignmentTop');t['PopoutActivity']=b['ModuleUtils']['findByProperties']('ellipsis','activityActivityFeed');t['QuickMessage']=b['ModuleUtils']['find'](K=>typeof K['input']=='string'&&Object['keys'](K)['length']==0x1);t['QuickSelect']=b['ModuleUtils']['findByProperties']('quickSelectArrow','selected');t['QuickSwitch']=b['ModuleUtils']['findByProperties']('resultFocused','guildIconContainer');t['QuickSwitchWrap']=b['ModuleUtils']['findByProperties']('container','miscContainer');t['Reactions']=b['ModuleUtils']['findByProperties']('reactionBtn','reaction');t['RecentMentions']=b['ModuleUtils']['findByProperties']('recentMentionsPopout');t['RecentMentionsHeader']=b['ModuleUtils']['findByProperties']('channelName','channelHeader','dmIcon');t['Role']=b['ModuleUtils']['findByProperties']('roleCircle','roleName','roleRemoveIcon');t['Scrollbar']=b['ModuleUtils']['findByProperties']('scrollbar','scrollbarGhost');t['Scroller']=b['ModuleUtils']['findByProperties']('scrollerBase','none','fade');t['ScrollerOld']=b['ModuleUtils']['findByProperties']('scrollerThemed','scroller');t['SearchBar']=b['ModuleUtils']['findByProperties']('clear','container','pointer');t['SearchPopout']=b['ModuleUtils']['findByProperties']('datePicker','searchResultChannelIconBackground');t['SearchPopoutWrap']=b['ModuleUtils']['findByProperties']('container','queryContainer');t['SearchResults']=b['ModuleUtils']['findByProperties']('noResults','searchResultsWrap');t['SearchResultsElements']=b['ModuleUtils']['findByProperties']('resultsBlocked','channelSeparator');t['SearchResultsPagination']=b['ModuleUtils']['findByProperties']('paginationButton','pagination');t['SearchResultsMessage']=b['ModuleUtils']['findByProperties']('after','messageGroupCozy');t['Select']=b['ModuleUtils']['findByProperties']('select','error','errorMessage');t['SettingsCloseButton']=b['ModuleUtils']['findByProperties']('closeButton','keybind');t['SettingsItems']=b['ModuleUtils']['findByProperties']('dividerMini','note');t['SettingsTable']=b['ModuleUtils']['findByProperties']('headerOption','headerName');t['SettingsWindow']=b['ModuleUtils']['findByProperties']('contentRegion','standardSidebarView');t['SettingsWindowScroller']=b['ModuleUtils']['findByProperties']('sidebarScrollable','content','scroller');t['Slider']=b['ModuleUtils']['findByProperties']('slider','grabber');t['Spoiler']=b['ModuleUtils']['findByProperties']('spoilerContainer','hidden');t['SpoilerEmbed']=b['ModuleUtils']['findByProperties']('hiddenSpoilers','spoiler');t['Switch']=b['ModuleUtils']['findByProperties']('switchDisabled','valueChecked');t['Table']=b['ModuleUtils']['findByProperties']('stickyHeader','sortIcon');t['Text']=b['ModuleUtils']['findByProperties']('defaultColor','defaultMarginh1');t['TextColor']=b['ModuleUtils']['findByProperties']('colorStandard','colorMuted','colorError');t['TextColor2']=b['ModuleUtils']['findByProperties']('muted','wrapper','base');t['TextSize']=b['ModuleUtils']['findByProperties']('size10','size14','size20');t['TextStyle']=b['ModuleUtils']['findByProperties']('strikethrough','underline','bold');t['Tip']=b['ModuleUtils']['findByProperties']('pro','inline');t['Title']=b['ModuleUtils']['findByProperties']('title','size18');t['TitleBar']=b['ModuleUtils']['findByProperties']('titleBar','wordmark');t['Tooltip']=b['ModuleUtils']['findByProperties']('tooltip','tooltipTop');t['TooltipGuild']=b['ModuleUtils']['findByProperties']('rowIcon','rowGuildName');t['Typing']=b['ModuleUtils']['findByProperties']('cooldownWrapper','typing');t['UnreadBar']=b['ModuleUtils']['findByProperties']('active','bar','unread');t['UploadModal']=b['ModuleUtils']['findByProperties']('uploadModal','bgScale');t['UserInfo']=b['ModuleUtils']['findByProperties']('userInfo','discordTag');t['UserPopout']=b['ModuleUtils']['findByProperties']('userPopout','headerPlaying');t['UserProfile']=b['ModuleUtils']['findByProperties']('topSectionNormal','tabBarContainer');t['Video']=b['ModuleUtils']['findByProperties']('video','fullScreen');t['VoiceChannel']=b['ModuleUtils']['findByProperties']('avatarSpeaking','voiceUser');t['VoiceChannelList']=b['ModuleUtils']['findByProperties']('list','collapsed');t['VoiceDetails']=b['ModuleUtils']['findByProperties']('container','customStatusContainer');t['VoiceDetailsPing']=b['ModuleUtils']['findByProperties']('rtcConnectionQualityBad','rtcConnectionQualityFine');t['WebhookCard']=b['ModuleUtils']['findByProperties']('pulseBorder','copyButton');b['DiscordClassModules']=Object['assign']({},t);var u={'_bdguild':['BDrepo','bdGuild'],'_bdguildanimatable':['BDrepo','bdGuildAnimatable'],'_bdguildaudio':['BDrepo','bdGuildAudio'],'_bdguildselected':['BDrepo','bdGuildSelected'],'_bdguildseparator':['BDrepo','bdGuildSeparator'],'_bdguildunread':['BDrepo','bdGuildUnread'],'_bdguildvideo':['BDrepo','bdGuildVideo'],'_bdpillselected':['BDrepo','bdPillSelected'],'_bdpillunread':['BDrepo','bdPillUnread'],'_betternsfwtagtag':['BetterNsfwTag','nsfwTag'],'_badgeseverywherebadge':['BadgesEverywhere','badge'],'_badgeseverywherebadges':['BadgesEverywhere','badges'],'_badgeseverywherebadgeschat':['BadgesEverywhere','badgesChat'],'_badgeseverywherebadgesinner':['BadgesEverywhere','badgesInner'],'_badgeseverywherebadgeslist':['BadgesEverywhere','badgesList'],'_badgeseverywherebadgespopout':['BadgesEverywhere','badgesPopout'],'_badgeseverywherebadgessettings':['BadgesEverywhere','badgesSettings'],'_badgeseverywhereindicator':['BadgesEverywhere','indicator'],'_badgeseverywhereindicatorinner':['BadgesEverywhere','indicatorInner'],'_badgeseverywheremini':['BadgesEverywhere','mini'],'_badgeseverywheresize17':['BadgesEverywhere','size17'],'_badgeseverywheresize21':['BadgesEverywhere','size21'],'_badgeseverywheresize22':['BadgesEverywhere','size22'],'_badgeseverywheresize24':['BadgesEverywhere','size24'],'_chatfilterblocked':['ChatFilter','blocked'],'_chatfilterblockedstamp':['ChatFilter','blockedStamp'],'_chatfiltercensored':['ChatFilter','censored'],'_chatfiltercensoredstamp':['ChatFilter','censoredStamp'],'_charcountercounter':['CharCounter','charCounter'],'_charcounterchatcounter':['CharCounter','chatCounter'],'_charcountercounteradded':['CharCounter','counterAdded'],'_charcountereditcounter':['CharCounter','editCounter'],'_charcounternickcounter':['CharCounter','nickCounter'],'_charcounterpopoutnotecounter':['CharCounter','popoutNoteCounter'],'_charcounterprofilenotecounter':['CharCounter','profileNoteCounter'],'_charcounteruploadcounter':['CharCounter','uploadCounter'],'_creationdatedate':['CreationDate','date'],'_displaylargemessagesinjectbutton':['DisplayLargeMessages','injectButton'],'_displayserversaschannelsbadge':['DisplayServersAsChannels','badge'],'_displayserversaschannelsname':['DisplayServersAsChannels','name'],'_displayserversaschannelsstyled':['DisplayServersAsChannels','styled'],'_emojistatisticsstatisticsbutton':['EmojiStatistics','statisticsButton'],'_emojistatisticsamountcell':['EmojiStatistics','amountCell'],'_emojistatisticsiconcell':['EmojiStatistics','iconCell'],'_emojistatisticsnamecell':['EmojiStatistics','nameCell'],'_friendnotificationsfriendsonline':['FriendNotifications','friendsOnline'],'_imagegallerydetails':['ImageGallery','details'],'_imagegallerydetailslabel':['ImageGallery','detailsLabel'],'_imagegallerydetailswrapper':['ImageGallery','detailsWrapper'],'_imagegallerygallery':['ImageGallery','gallery'],'_imagegalleryicon':['ImageGallery','icon'],'_imagegallerynext':['ImageGallery','next'],'_imagegalleryprevious':['ImageGallery','previous'],'_imagegallerysibling':['ImageGallery','sibling'],'_imagezoombackdrop':['ImageZoom','backdrop'],'_imagezoomimagemodal':['ImageZoom','modal'],'_imagezoomlense':['ImageZoom','lense'],'_imagezoomoperations':['ImageZoom','operations'],'_joinedatdatedate':['JoinedAtDate','date'],'_lastmessagedatedate':['LastMessageDate','date'],'_googletranslateoptionreversebutton':['GoogleTranslateOption','reverseButton'],'_googletranslateoptiontranslatebutton':['GoogleTranslateOption','translateButton'],'_googletranslateoptiontranslated':['GoogleTranslateOption','translated'],'_googletranslateoptiontranslating':['GoogleTranslateOption','translating'],'_oldtitlebarenabled':['OldTitleBar','oldTitleBarEnabled'],'_oldtitlebarsettingstoolbar':['OldTitleBar','settingsToolbar'],'_oldtitlebartoolbar':['OldTitleBar','toolbar'],'_pindmsdragpreview':['PinDMs','dragPreview'],'_pindmsdmchannelpinned':['PinDMs','dmChannelPinned'],'_pindmsdmchannelplaceholder':['PinDMs','dmChannelPlaceholder'],'_pindmspinnedchannelsheaderamount':['PinDMs','pinnedChannelsHeaderAmount'],'_pindmspinnedchannelsheaderarrow':['PinDMs','pinnedChannelsHeaderArrow'],'_pindmspinnedchannelsheadercollapsed':['PinDMs','pinnedChannelsHeaderCollapsed'],'_pindmspinnedchannelsheadercolored':['PinDMs','pinnedChannelsHeaderColored'],'_pindmspinnedchannelsheadercontainer':['PinDMs','pinnedChannelsHeaderContainer'],'_pindmsrecentpinned':['PinDMs','recentPinned'],'_pindmsrecentplaceholder':['PinDMs','recentPlaceholder'],'_pindmsunpinbutton':['PinDMs','unpinButton'],'_pindmsunpinicon':['PinDMs','unpinIcon'],'_readallnotificationsbuttonbutton':['ReadAllNotificationsButton','button'],'_readallnotificationsbuttonframe':['ReadAllNotificationsButton','frame'],'_readallnotificationsbuttoninner':['ReadAllNotificationsButton','innerFrame'],'_serverfoldersdragpreview':['ServerFolders','dragPreview'],'_serverfoldersfoldercontent':['ServerFolders','folderContent'],'_serverfoldersfoldercontentclosed':['ServerFolders','folderContentClosed'],'_serverfoldersfoldercontentisopen':['ServerFolders','folderContentIsOpen'],'_serverfoldersguildplaceholder':['ServerFolders','guildPlaceholder'],'_serverfoldersiconswatch':['ServerFolders','iconSwatch'],'_serverfoldersiconswatchinner':['ServerFolders','iconSwatchInner'],'_serverfoldersiconswatchpreview':['ServerFolders','iconSwatchPreview'],'_serverfoldersiconswatchselected':['ServerFolders','iconSwatchSelected'],'_showimagedetailsdetails':['ShowImageDetails','details'],'_spellcheckerror':['SpellCheck','error'],'_spellcheckoverlay':['SpellCheck','overlay'],'_spotifycontrolsbar':['SpotifyControls','bar'],'_spotifycontrolsbarfill':['SpotifyControls','barFill'],'_spotifycontrolsbargrabber':['SpotifyControls','barGabber'],'_spotifycontrolsbartext':['SpotifyControls','barText'],'_spotifycontrolsbuttonactive':['SpotifyControls','buttonActive'],'_spotifycontrolscontainer':['SpotifyControls','container'],'_spotifycontrolscontainerinner':['SpotifyControls','containerInner'],'_spotifycontrolscontainermaximized':['SpotifyControls','containerMaximized'],'_spotifycontrolscontainerwithtimeline':['SpotifyControls','containerWithTimeline'],'_spotifycontrolscover':['SpotifyControls','cover'],'_spotifycontrolscovermaximizer':['SpotifyControls','coverMaximizer'],'_spotifycontrolscoverwrapper':['SpotifyControls','coverWrapper'],'_spotifycontrolsdetails':['SpotifyControls','details'],'_spotifycontrolsinterpret':['SpotifyControls','interpret'],'_spotifycontrolssong':['SpotifyControls','song'],'_spotifycontrolstimeline':['SpotifyControls','timeline'],'_spotifycontrolsvolumeslider':['SpotifyControls','volumeSlider'],'_timedlightdarkmodedategrabber':['TimedLightDarkMode','dateGrabber'],'_timedlightdarkmodetimergrabber':['TimedLightDarkMode','timerGrabber'],'_timedlightdarkmodetimersettings':['TimedLightDarkMode','timerSettings'],'_toproleseverywherebadgestyle':['TopRolesEverywhere','badgeStyle'],'_toproleseverywherechattag':['TopRolesEverywhere','chatTag'],'_toproleseverywheremembertag':['TopRolesEverywhere','memberTag'],'_toproleseverywhererolestyle':['TopRolesEverywhere','roleStyle'],'_toproleseverywheretag':['TopRolesEverywhere','tag'],'_repoauthor':['BDrepo','bdaAuthor'],'_repobutton':['BDrepo','bdButton'],'_repocard':['BDrepo','bdAddonCard'],'_repocheckbox':['BDrepo','switchCheckbox'],'_repocheckboxchecked':['BDrepo','switchChecked'],'_repocheckboxinner':['BDrepo','switch'],'_repocheckboxitem':['BDrepo','switchItem'],'_repocheckboxwrap':['BDrepo','switchWrapper'],'_repocontrols':['BDrepo','bdaControls'],'_repocontrolsbutton':['BDrepo','bdaControlsButton'],'_repodescription':['BDrepo','bdaDescription'],'_repodescriptionwrap':['BDrepo','bdaDescriptionWrap'],'_repoentry':['BDFDB','bdaRepoEntry'],'_repofolderbutton':['BDrepo','bdPfbtn'],'_repofooter':['BDrepo','bdaFooter'],'_repoheader':['BDrepo','bdaHeader'],'_repoheadertitle':['BDrepo','bdaHeaderTitle'],'_repoicon':['BDrepo','bdIcon'],'_repolist':['BDrepo','bdaSlist'],'_repolistheader':['BDFDB','bdaRepoListHeader'],'_repolistwrapper':['BDFDB','bdaRepoListWrapper'],'_repolink':['BDrepo','bdaLink'],'_repolinks':['BDrepo','bdaLinks'],'_reponame':['BDrepo','bdaName'],'_reposettings':['BDrepo','settings'],'_reposettingsbutton':['BDrepo','bdaSettingsButton'],'_reposettingsopen':['BDrepo','settingsOpen'],'_reposettingsclosed':['BDrepo','settingsClosed'],'_reposwitch':['BDrepo','bdSwitch'],'_reposwitchchecked':['BDrepo','bdSwitchChecked'],'_reposwitchinner':['BDrepo','bdSwitchInner'],'_repoupdatebutton':['BDrepo','bdUpdatebtn'],'_repoversion':['BDrepo','bdaVersion'],'accountinfo':['AccountDetails','container'],'accountinfoavatar':['AccountDetails','avatar'],'accountinfoavatarwrapper':['AccountDetails','avatarWrapper'],'accountinfobutton':['AccountDetailsButtons','button'],'accountinfobuttondisabled':['AccountDetailsButtons','disabled'],'accountinfobuttonenabled':['AccountDetailsButtons','enabled'],'accountinfodetails':['AccountDetails','usernameContainer'],'accountinfonametag':['AccountDetails','nameTag'],'alignbaseline':['Flex','alignBaseline'],'aligncenter':['Flex','alignCenter'],'alignend':['Flex','alignEnd'],'alignstart':['Flex','alignStart'],'alignstretch':['Flex','alignStretch'],'anchor':['Anchor','anchor'],'anchorunderlineonhover':['Anchor','anchorUnderlineOnHover'],'animationcontainerbottom':['AnimationContainer','animatorBottom'],'animationcontainerleft':['AnimationContainer','animatorLeft'],'animationcontainerright':['AnimationContainer','animatorRight'],'animationcontainertop':['AnimationContainer','animatorTop'],'animationcontainerrender':['AnimationContainer','didRender'],'animationcontainerscale':['AnimationContainer','scale'],'animationcontainertranslate':['AnimationContainer','translate'],'app':['AppOuter','app'],'appcontainer':['AppBase','container'],'appmount':['AppMount','appMount'],'applayers':['AppInner','layers'],'applicationstore':['ApplicationStore','applicationStore'],'appold':['AppInner','app'],'auditlog':['AuditLog','auditLog'],'auditlogoverflowellipsis':['AuditLog','overflowEllipsis'],'auditloguserhook':['AuditLog','userHook'],'authbox':['AuthBox','authBox'],'autocomplete':['Autocomplete','autocomplete'],'autocompletecontent':['Autocomplete','content'],'autocompletecontenttitle':['Autocomplete','contentTitle'],'autocompletedescription':['Autocomplete','description'],'autocompletedescriptiondiscriminator':['Autocomplete','descriptionDiscriminator'],'autocompletedescriptionusername':['Autocomplete','descriptionUsername'],'autocompleteicon':['Autocomplete','icon'],'autocompleteiconforeground':['Autocomplete','iconForeground'],'autocompleteinner':['Autocomplete','autocompleteInner'],'autocompleterow':['Autocomplete','autocompleteRow'],'autocompleterowhorizontal':['Autocomplete','autocompleteRowHorizontal'],'autocompleterowvertical':['Autocomplete','autocompleteRowVertical'],'autocompleteselectable':['Autocomplete','selectable'],'autocompleteselected':['Autocomplete','selectorSelected'],'autocompleteselector':['Autocomplete','selector'],'avatar':['Avatar','avatar'],'avatarcursordefault':['Avatar','cursorDefault'],'avataricon':['AvatarIcon','icon'],'avatariconactivelarge':['AvatarIcon','iconActiveLarge'],'avatariconactivemedium':['AvatarIcon','iconActiveMedium'],'avatariconactivemini':['AvatarIcon','iconActiveMini'],'avatariconactivesmall':['AvatarIcon','iconActiveSmall'],'avatariconactivexlarge':['AvatarIcon','iconActiveXLarge'],'avatariconinactive':['AvatarIcon','iconInactive'],'avatariconsizelarge':['AvatarIcon','iconSizeLarge'],'avatariconsizemedium':['AvatarIcon','iconSizeMedium'],'avatariconsizemini':['AvatarIcon','iconSizeMini'],'avatariconsizesmol':['AvatarIcon','iconSizeSmol'],'avatariconsizesmall':['AvatarIcon','iconSizeSmall'],'avatariconsizexlarge':['AvatarIcon','iconSizeXLarge'],'avatarmask':['Avatar','mask'],'avatarnoicon':['AvatarIcon','noIcon'],'avatarpointer':['Avatar','pointer'],'avatarpointerevents':['Avatar','pointerEvents'],'avatarwrapper':['Avatar','wrapper'],'backdrop':['Backdrop','backdrop'],'backdropwithlayer':['Backdrop','backdropWithLayer'],'badgebase':['Badge','base'],'badgeicon':['Badge','icon'],'badgeiconbadge':['Badge','iconBadge'],'badgenumberbadge':['Badge','numberBadge'],'badgetextbadge':['Badge','textBadge'],'badgewrapper':['NotFound','badgeWrapper'],'bdfdbbadge':['BDFDB','badge'],'bdfdbdev':['BDFDB','dev'],'bdfdbhasbadge':['BDFDB','hasBadge'],'bdfdbsupporter':['BDFDB','supporter'],'bdfdbsupportercustom':['BDFDB','supporterCustom'],'bold':['TextStyle','bold'],'bottag':['BotTag','botTag'],'bottaginvert':['BotTag','botTagInvert'],'bottagmember':['Member','botTag'],'bottagnametag':['NameTag','bot'],'bottagpx':['BotTag','px'],'bottagregular':['BotTag','botTagRegular'],'bottagrem':['BotTag','rem'],'bottagtext':['BotTag','botText'],'bottagverified':['BotTag','botTagVerified'],'button':['Button','button'],'buttoncolorblack':['Button','colorBlack'],'buttoncolorbrand':['Button','colorBrand'],'buttoncolorgreen':['Button','colorGreen'],'buttoncolorgrey':['Button','colorGrey'],'buttoncolorlink':['Button','colorLink'],'buttoncolorprimary':['Button','colorPrimary'],'buttoncolorred':['Button','colorRed'],'buttoncolortransparent':['Button','colorTransparent'],'buttoncolorwhite':['Button','colorWhite'],'buttoncoloryellow':['Button','colorYellow'],'buttoncontents':['Button','contents'],'buttondisabledoverlay':['Button','disabledButtonOverlay'],'buttondisabledwrapper':['Button','disabledButtonWrapper'],'buttonfullwidth':['Button','fullWidth'],'buttongrow':['Button','grow'],'buttonhashover':['Button','hasHover'],'buttonhoverblack':['Button','hoverBlack'],'buttonhoverbrand':['Button','hoverBrand'],'buttonhovergreen':['Button','hoverGreen'],'buttonhovergrey':['Button','hoverGrey'],'buttonhoverlink':['Button','hoverLink'],'buttonhoverprimary':['Button','hoverPrimary'],'buttonhoverred':['Button','hoverRed'],'buttonhovertransparent':['Button','hoverTransparent'],'buttonhoverwhite':['Button','hoverWhite'],'buttonhoveryellow':['Button','hoverYellow'],'buttonlookblank':['Button','lookBlank'],'buttonlookfilled':['Button','lookFilled'],'buttonlookghost':['Button','lookGhost'],'buttonlookinverted':['Button','lookInverted'],'buttonlooklink':['Button','lookLink'],'buttonlookoutlined':['Button','lookOutlined'],'buttonsizeicon':['Button','sizeIcon'],'buttonsizelarge':['Button','sizeLarge'],'buttonsizemax':['Button','sizeMax'],'buttonsizemedium':['Button','sizeMedium'],'buttonsizemin':['Button','sizeMin'],'buttonsizesmall':['Button','sizeSmall'],'buttonsizexlarge':['Button','sizeXlarge'],'buttonspinner':['Button','spinner'],'buttonspinneritem':['Button','spinnerItem'],'buttonsubmitting':['Button','submitting'],'callcurrentcontainer':['CallCurrent','wrapper'],'callcurrentdetails':['CallDetails','container'],'callcurrentvideo':['Video','video'],'callincomingicon':['CallIncoming','icon'],'callincomingroot':['CallIncoming','root'],'callincomingtitle':['CallIncoming','title'],'callincomingwrapper':['CallIncoming','wrapper'],'card':['Card','card'],'cardbrand':['Card','cardBrand'],'cardbrandoutline':['Card','cardBrandOutline'],'carddanger':['Card','cardDanger'],'carddangeroutline':['Card','cardDangerOutline'],'carderror':['CardStatus','error'],'cardprimary':['Card','cardPrimary'],'cardprimaryeditable':['Card','cardPrimaryEditable'],'cardprimaryoutline':['Card','cardPrimaryOutline'],'cardprimaryoutlineeditable':['Card','cardPrimaryOutlineEditable'],'cardreset':['CardStatus','reset'],'cardsuccess':['Card','cardSuccess'],'cardsuccessoutline':['Card','cardSuccessOutline'],'cardwarning':['Card','cardWarning'],'cardwarningoutline':['Card','cardWarningOutline'],'categoryaddbutton':['CategoryContainer','addButton'],'categoryaddbuttonicon':['CategoryContainer','addButtonIcon'],'categorychildren':['Category','children'],'categoryclickable':['Category','clickable'],'categorycollapsed':['Category','collapsed'],'categorycontainerdefault':['CategoryContainer','containerDefault'],'categoryforcevisible':['CategoryContainer','forceVisible'],'categoryicon':['Category','icon'],'categoryiconvisibility':['CategoryContainer','iconVisibility'],'categorymuted':['Category','muted'],'categoryname':['Category','name'],'categorywrapper':['Category','wrapper'],'changelogadded':['ChangeLog','added'],'changelogcontainer':['ChangeLog','container'],'changelogfixed':['ChangeLog','fixed'],'changelogimproved':['ChangeLog','improved'],'changelogprogress':['ChangeLog','progress'],'changelogtitle':['ChangeLog','title'],'channelactionicon':['ChannelContainer','actionIcon'],'channelchildicon':['ChannelContainer','iconItem'],'channelchildiconbase':['ChannelContainer','iconBase'],'channelchildren':['Channel','children'],'channelcontainerdefault':['ChannelContainer','containerDefault'],'channelcontent':['Channel','content'],'channeldisabled':['ChannelContainer','disabled'],'channelheaderchannelname':['ChatWindow','channelName'],'channelheaderchildren':['HeaderBar','children'],'channelheaderdivider':['HeaderBar','divider'],'channelheaderheaderbar':['HeaderBar','container'],'channelheaderheaderbarthemed':['HeaderBar','themed'],'channelheaderheaderbartitle':['HeaderBar','title'],'channelheadericon':['HeaderBar','icon'],'channelheadericonbadge':['HeaderBar','iconBadge'],'channelheadericonclickable':['HeaderBar','clickable'],'channelheadericonselected':['HeaderBar','selected'],'channelheadericonwrapper':['HeaderBar','iconWrapper'],'channelheadertitle':['ChatWindow','title'],'channelheadertitlewrapper':['ChatWindow','titleWrapper'],'channelheadersearch':['HeaderBarExtras','search'],'channelheadersearchbar':['HeaderBarSearch','searchBar'],'channelheadersearchicon':['HeaderBarSearch','icon'],'channelheadersearchinner':['HeaderBarSearch','search'],'channelheadertoolbar':['HeaderBar','toolbar'],'channelheadertoolbar2':['HeaderBarExtras','toolbar'],'channelheadertopic':['HeaderBarTopic','topic'],'channelheadertopicexpandable':['HeaderBarTopic','expandable'],'channelicon':['Channel','icon'],'channeliconvisibility':['ChannelContainer','iconVisibility'],'channelmentionsbadge':['ChannelContainer','mentionsBadge'],'channelmodeconnected':['Channel','modeConnected'],'channelmodelocked':['Channel','modeLocked'],'channelmodemuted':['Channel','modeMuted'],'channelmodeselected':['Channel','modeSelected'],'channelmodeunread':['Channel','modeUnread'],'channelname':['Channel','name'],'channelpanel':['AppBase','activityPanel'],'channelpaneltitle':['NotFound','channelPanelTitle'],'channelpanels':['AppBase','panels'],'channels':['AppBase','sidebar'],'channelselected':['ChannelContainer','selected'],'channelsscroller':['GuildChannels','scroller'],'channelsunreadbar':['GuildChannels','unreadBar'],'channelsunreadbarcontainer':['GuildChannels','positionedContainer'],'channelsunreadbarbottom':['GuildChannels','unreadBottom'],'channelsunreadbarunread':['GuildChannels','unread'],'channelsunreadbartop':['GuildChannels','unreadTop'],'channelunread':['Channel','unread'],'channeluserlimit':['ChannelLimit','wrapper'],'channeluserlimitcontainer':['ChannelContainer','userLimit'],'channeluserlimittotal':['ChannelLimit','total'],'channeluserlimitusers':['ChannelLimit','users'],'channelwrapper':['Channel','wrapper'],'charcounter':['BDFDB','charCounter'],'chat':['ChatWindow','chat'],'chatbase':['AppBase','base'],'chatcontent':['ChatWindow','chatContent'],'chatform':['ChatWindow','form'],'chatinner':['ChatWindow','content'],'chatspacer':['AppBase','content'],'checkbox':['Checkbox','checkbox'],'checkboxchecked':['Checkbox','checked'],'checkboxcontainer':['ModalItems','checkboxContainer'],'checkboxinput':['Checkbox','input'],'checkboxinputdefault':['Checkbox','inputDefault'],'checkboxinputdisabled':['Checkbox','inputDisabled'],'checkboxround':['Checkbox','round'],'checkboxwrapper':['Checkbox','checkboxWrapper'],'checkboxwrapperdisabled':['Checkbox','checkboxWrapperDisabled'],'collapsecontainer':['BDFDB','collapseContainer'],'collapsecontainerarrow':['BDFDB','collapseContainerArrow'],'collapsecontainercollapsed':['BDFDB','collapseContainerCollapsed'],'collapsecontainerheader':['BDFDB','collapseContainerHeader'],'collapsecontainerinner':['BDFDB','collapseContainerInner'],'collapsecontainermini':['BDFDB','collapseContainerMini'],'collapsecontainertitle':['BDFDB','collapseContainerTitle'],'colorbase':['TextColor2','base'],'colorbrand':['TextColor','colorBrand'],'colorerror':['TextColor','colorError'],'colormuted':['TextColor','colorMuted'],'colorgreen':['TextColor','colorStatusGreen'],'colorpicker':['ColorPicker','colorPickerCustom'],'colorpickeralpha':['BDFDB','colorPickerAlpha'],'colorpickeralphacheckered':['BDFDB','colorPickerAlphaCheckered'],'colorpickeralphacursor':['BDFDB','colorPickerAlphaCursor'],'colorpickeralphahorizontal':['BDFDB','colorPickerAlphaHorizontal'],'colorpickergradient':['BDFDB','colorPickerGradient'],'colorpickergradientbutton':['BDFDB','colorPickerGradientButton'],'colorpickergradientbuttonenabled':['BDFDB','colorPickerGradientButtonEnabled'],'colorpickergradientcheckered':['BDFDB','colorPickerGradientCheckered'],'colorpickergradientcursor':['BDFDB','colorPickerGradientCursor'],'colorpickergradientcursoredge':['BDFDB','colorPickerGradientCursorEdge'],'colorpickergradientcursorselected':['BDFDB','colorPickerGradientCursorSelected'],'colorpickergradienthorizontal':['BDFDB','colorPickerGradientHorizontal'],'colorpickerhexinput':['ColorPicker','customColorPickerInput'],'colorpickerhue':['ColorPickerInner','hue'],'colorpickerhuecursor':['NotFound','hueCursor'],'colorpickerhuehorizontal':['NotFound','hueHorizontal'],'colorpickerhuevertical':['NotFound','hueVertical'],'colorpickerinner':['ColorPickerInner','wrapper'],'colorpickerrow':['ColorPicker','colorPickerRow'],'colorpickersaturation':['ColorPickerInner','saturation'],'colorpickersaturationblack':['NotFound','saturationBlack'],'colorpickersaturationcolor':['NotFound','saturationColor'],'colorpickersaturationcursor':['NotFound','saturationCursor'],'colorpickersaturationwhite':['NotFound','saturationWhite'],'colorpickerswatch':['ColorPicker','colorPickerSwatch'],'colorpickerswatches':['BDFDB','colorPickerSwatches'],'colorpickerswatchesdisabled':['BDFDB','colorPickerSwatchesDisabled'],'colorpickerswatchcustom':['ColorPicker','custom'],'colorpickerswatchdefault':['ColorPicker','default'],'colorpickerswatchdisabled':['ColorPicker','disabled'],'colorpickerswatchdropper':['ColorPicker','colorPickerDropper'],'colorpickerswatchdropperfg':['ColorPicker','colorPickerDropperFg'],'colorpickerswatchnocolor':['ColorPicker','noColor'],'colorpickerswatchselected':['BDFDB','colorPickerSwatchSelected'],'colorpickerswatchsingle':['BDFDB','colorPickerSwatchSingle'],'colorpickerwrapper':['BDFDB','colorPicker'],'colorprimary':['TextColor','colorHeaderPrimary'],'colorred':['TextColor','colorStatusRed'],'colorsecondary':['TextColor','colorHeaderSecondary'],'colorselectable':['TextColor','selectable'],'colorstandard':['TextColor','colorStandard'],'coloryellow':['TextColor','colorStatusYellow'],'cursordefault':['Cursor','cursorDefault'],'cursorpointer':['Cursor','cursorPointer'],'customstatusemoji':['CustomStatusIcon','emoji'],'customstatusicon':['CustomStatusIcon','icon'],'defaultcolor':['Text','defaultColor'],'description':['FormText','description'],'directioncolumn':['Flex','directionColumn'],'directiondown':['IconDirection','directionDown'],'directionleft':['IconDirection','directionLeft'],'directionright':['IconDirection','directionRight'],'directionrow':['Flex','directionRow'],'directionrowreverse':['Flex','directionRowReverse'],'directionup':['IconDirection','directionUp'],'directiontransition':['IconDirection','transition'],'disabled':['SettingsItems','disabled'],'discriminator':['NameTag','discriminator'],'divider':['ModalDivider','divider'],'dividerdefault':['SettingsItems','dividerDefault'],'dividermini':['SettingsItems','dividerMini'],'dmchannel':['PrivateChannel','channel'],'dmchannelactivity':['PrivateChannel','activity'],'dmchannelactivityemoji':['PrivateChannel','activityEmoji'],'dmchannelactivitytext':['PrivateChannel','activityText'],'dmchannelclose':['PrivateChannel','closeButton'],'dmchannelheadercontainer':['PrivateChannelListScroller','privateChannelsHeaderContainer'],'dmchannelheadertext':['PrivateChannelListScroller','headerText'],'dmchannels':['PrivateChannelList','privateChannels'],'dmchannelsempty':['PrivateChannelListScroller','empty'],'dmchannelsscroller':['PrivateChannelListScroller','scroller'],'dmpill':['GuildDm','pill'],'downloadlink':['DownloadLink','downloadLink'],'ellipsis':['PopoutActivity','ellipsis'],'embed':['Embed','embed'],'embedauthor':['Embed','embedAuthor'],'embedauthoricon':['Embed','embedAuthorIcon'],'embedauthorname':['Embed','embedAuthorName'],'embedauthornamelink':['Embed','embedAuthorNameLink'],'embedcentercontent':['Embed','centerContent'],'embeddescription':['Embed','embedDescription'],'embedfield':['Embed','embedField'],'embedfieldname':['Embed','embedFieldName'],'embedfields':['Embed','embedFields'],'embedfieldvalue':['Embed','embedFieldValue'],'embedfooter':['Embed','embedFooter'],'embedfootericon':['Embed','embedFooterIcon'],'embedfooterseparator':['Embed','embedFooterSeparator'],'embedfootertext':['Embed','embedFooterText'],'embedfull':['Embed','embedFull'],'embedgiftag':['Embed','embedGIFTag'],'embedgrid':['Embed','grid'],'embedhasthumbnail':['Embed','hasThumbnail'],'embedhiddenspoiler':['Embed','hiddenSpoiler'],'embediframe':['Embed','embedIframe'],'embedimage':['Embed','embedImage'],'embedlink':['Embed','embedLink'],'embedmargin':['Embed','embedMargin'],'embedmedia':['Embed','embedMedia'],'embedprovider':['Embed','embedProvider'],'embedspoilerattachment':['Embed','spoilerAttachment'],'embedspoilerembed':['Embed','spoilerEmbed'],'embedspotify':['Embed','embedSpotify'],'embedthumbnail':['Embed','embedThumbnail'],'embedtitle':['Embed','embedTitle'],'embedtitlelink':['Embed','embedTitleLink'],'embedvideo':['Embed','embedVideo'],'embedvideoaction':['Embed','embedVideoAction'],'embedvideoactions':['Embed','embedVideoActions'],'embedvideoimagecomponent':['Embed','embedVideoImageComponent'],'embedvideoimagecomponentinner':['Embed','embedVideoImageComponentInner'],'embedwrapper':['MessageAccessory','embedWrapper'],'emoji':['Emoji','emoji'],'emojiold':['NotFound','emoji'],'emojibutton':['EmojiButton','emojiButton'],'emojibuttonhovered':['EmojiButton','emojiButtonHovered'],'emojibuttonnormal':['EmojiButton','emojiButtonNormal'],'emojibuttonsprite':['EmojiButton','sprite'],'emojiinput':['EmojiInput','input'],'emojiinputbutton':['EmojiInput','emojiButton'],'emojiinputbuttoncontainer':['EmojiInput','emojiButtonContainer'],'emojiinputclearbutton':['EmojiInput','clearButton'],'emojiinputclearicon':['EmojiInput','clearIcon'],'emojiinputcontainer':['EmojiInput','inputContainer'],'emojipickerbutton':['Reactions','reactionBtn'],'emojipicker':['EmojiPicker','emojiPicker'],'emojipickerdiversityemojiitem':['EmojiPickerDiversitySelector','diversityEmojiItem'],'emojipickerdiversityemojiitemimage':['EmojiPickerDiversitySelector','diversityEmojiItemImage'],'emojipickerdiversityselector':['EmojiPickerDiversitySelector','diversitySelector'],'emojipickerdiversityselectorpopout':['EmojiPickerDiversitySelector','diversitySelectorPopout'],'emojipickerdiversityselectorwrapper':['EmojiPicker','diversitySelector'],'emojipickeremojispriteimage':['EmojiPickerItem','emojiSpriteImage'],'emojipickerheader':['EmojiPicker','header'],'emojipickerinspector':['EmojiPickerInspector','inspector'],'emojipickerinspectoremoji':['EmojiPickerInspector','emoji'],'expressionpicker':['ExpressionPicker','contentWrapper'],'expressionpickernav':['ExpressionPicker','nav'],'expressionpickernavbutton':['ExpressionPicker','navButton'],'expressionpickernavbuttonactive':['ExpressionPicker','navButtonActive'],'expressionpickernavitem':['ExpressionPicker','navItem'],'expressionpickernavlist':['ExpressionPicker','navList'],'favbuttoncontainer':['BDFDB','favButtonContainer'],'fileattachment':['File','attachment'],'fileattachmentinner':['File','attachmentInner'],'filecancelbutton':['File','cancelButton'],'filedownloadbutton':['File','downloadButton'],'filename':['File','filename'],'filenamelink':['File','fileNameLink'],'filenamelinkwrapper':['File','filenameLinkWrapper'],'filenamewrapper':['File','filenameWrapper'],'flex':['FlexChild','flex'],'flex2':['Flex','flex'],'flexcenter':['Flex','flexCenter'],'flexchild':['FlexChild','flexChild'],'flexmarginreset':['FlexChild','flexMarginReset'],'flexspacer':['Flex','spacer'],'flowerstar':['FlowerStar','flowerStar'],'flowerstarchild':['FlowerStar','childContainer'],'flowerstarcontainer':['FlowerStar','flowerStarContainer'],'focusable':['Focusable','focusable'],'formtext':['FormText','formText'],'game':['Game','game'],'gameicon':['GameIcon','gameIcon'],'gameiconlarge':['GameIcon','large'],'gameiconmedium':['GameIcon','medium'],'gameiconsmall':['GameIcon','small'],'gameiconxsmall':['GameIcon','xsmall'],'gamelibrarytable':['GameLibraryTable','table'],'gamelibrarytableheader':['GameLibraryTable','header'],'gamelibrarytableheadercell':['GameLibraryTable','headerCell'],'gamelibrarytableheadercellsorted':['GameLibraryTable','headerCellSorted'],'gamelibrarytablerow':['GameLibraryTable','row'],'gamelibrarytablerowwrapper':['GameLibraryTable','rowWrapper'],'gamelibrarytablestickyheader':['GameLibraryTable','stickyHeader'],'gamename':['Game','gameName'],'gamenameinput':['Game','gameNameInput'],'giffavoritebutton':['MessageAccessory','gifFavoriteButton'],'giffavoritecolor':['GifFavoriteButton','gifFavoriteButton'],'giffavoriteicon':['GifFavoriteButton','icon'],'giffavoriteshowpulse':['GifFavoriteButton','showPulse'],'giffavoritesize':['GifFavoriteButton','size'],'giffavoriteselected':['GifFavoriteButton','selected'],'goliveactions':['GoLiveDetails','actions'],'golivebody':['GoLiveDetails','body'],'goliveclickablegamewrapper':['GoLiveDetails','clickableGameWrapper'],'golivegameicon':['GoLiveDetails','gameIcon'],'golivegamename':['GoLiveDetails','gameName'],'golivegamewrapper':['GoLiveDetails','gameWrapper'],'goliveinfo':['GoLiveDetails','info'],'golivepanel':['GoLiveDetails','panel'],'guild':['BDFDB','guild'],'guildbuttoncontainer':['GuildsItems','circleButtonMask'],'guildbuttoninner':['GuildsItems','circleIconButton'],'guildbuttonicon':['GuildsItems','circleIcon'],'guildbuttonpill':['GuildsItems','pill'],'guildbuttonselected':['GuildsItems','selected'],'guildchannels':['NotFound','guildChannels'],'guildcontainer':['GuildServer','blobContainer'],'guilddiscovery':['GuildDiscovery','pageWrapper'],'guildedge':['GuildEdges','edge'],'guildedgehalf':['GuildEdges','half'],'guildedgehigher':['GuildEdges','higher'],'guildedgemiddle':['GuildEdges','middle'],'guildedgewrapper':['GuildEdges','wrapper'],'guildserror':['GuildsItems','guildsError'],'guildserrorinner':['GuildsItems','errorInner'],'guildfolder':['GuildFolder','folder'],'guildfolderexpandedbackground':['GuildFolder','expandedFolderBackground'],'guildfolderexpandedbackgroundcollapsed':['GuildFolder','collapsed'],'guildfolderexpandedbackgroundhover':['GuildFolder','hover'],'guildfolderguildicon':['GuildFolder','guildIcon'],'guildfoldericonwrapper':['GuildFolder','folderIconWrapper'],'guildfoldericonwrapperclosed':['GuildFolder','closedFolderIconWrapper'],'guildfoldericonwrapperexpanded':['GuildFolder','expandedFolderIconWrapper'],'guildfolderwrapper':['GuildFolder','wrapper'],'guildheader':['GuildHeader','container'],'guildheaderbannerimage':['GuildHeader','bannerImage'],'guildheaderbannerimagecontainer':['GuildHeader','animatedContainer'],'guildheaderbannervisible':['GuildHeader','bannerVisible'],'guildheaderbutton':['GuildHeaderButton','button'],'guildheaderbuttonopen':['GuildHeaderButton','open'],'guildheaderclickable':['GuildHeader','clickable'],'guildheaderhasbanner':['GuildHeader','hasBanner'],'guildheadericoncontainer':['GuildHeader','guildIconContainer'],'guildheadericonbgtiernone':['GuildHeader','iconBackgroundTierNone'],'guildheadericonbgtierone':['GuildHeader','iconBackgroundTierOne'],'guildheadericonbgtierthree':['GuildHeader','iconBackgroundTierThree'],'guildheadericonbgtiertwo':['GuildHeader','iconBackgroundTierTwo'],'guildheadericonpremiumgem':['GuildHeader','premiumGuildIconGem'],'guildheadericontiernone':['GuildHeader','iconTierNone'],'guildheadericontierone':['GuildHeader','iconTierOne'],'guildheadericontierthree':['GuildHeader','iconTierThree'],'guildheadericontiertwo':['GuildHeader','iconTierTwo'],'guildheaderheader':['GuildHeader','header'],'guildheadername':['GuildHeader','name'],'guildicon':['GuildIcon','icon'],'guildiconacronym':['GuildIcon','acronym'],'guildiconbadge':['GuildsItems','iconBadge'],'guildiconchildwrapper':['GuildIcon','childWrapper'],'guildiconselected':['GuildIcon','selected'],'guildiconwrapper':['GuildIcon','wrapper'],'guildinner':['Guild','wrapper'],'guildinnerwrapper':['GuildsItems','listItemWrapper'],'guildlowerbadge':['Guild','lowerBadge'],'guildlowerleftbadge':['BDFDB','guildLowerLeftBadge'],'guildouter':['GuildsItems','listItem'],'guildpill':['GuildServer','pill'],'guildpillitem':['PillWrapper','item'],'guildpillwrapper':['PillWrapper','wrapper'],'guildplaceholder':['GuildsItems','dragInner'],'guildplaceholdermask':['GuildsItems','placeholderMask'],'guilds':['AppBase','guilds'],'guildseparator':['GuildsItems','guildSeparator'],'guildserror':['GuildsItems','guildsError'],'guildsettingsbannedcard':['GuildSettingsBanned','bannedUser'],'guildsettingsbanneddiscrim':['GuildSettingsBanned','discrim'],'guildsettingsbannedusername':['GuildSettingsBanned','username'],'guildsettingsemojicard':['GuildSettingsEmoji','emojiRow'],'guildsettingsinvitecard':['GuildSettingsInvite','inviteSettingsInviteRow'],'guildsettingsinvitechannelname':['GuildSettingsInvite','channelName'],'guildsettingsinviteusername':['GuildSettingsInvite','username'],'guildsettingsmembercard':['GuildSettingsMember','member'],'guildsettingsmembername':['GuildSettingsMember','name'],'guildsettingsmembernametag':['GuildSettingsMember','nameTag'],'guildsettingsrolesbuttonwrapper':['GuildSettingsRoles','buttonWrapper'],'guildsscroller':['GuildsWrapper','scroller'],'guildsvg':['Guild','svg'],'guildswrapper':['GuildsWrapper','wrapper'],'guildswrapperunreadmentionsbar':['GuildsWrapper','unreadMentionsBar'],'guildswrapperunreadmentionsbarbottom':['GuildsWrapper','unreadMentionsIndicatorBottom'],'guildswrapperunreadmentionsbartop':['GuildsWrapper','unreadMentionsIndicatorTop'],'guildtutorialcontainer':['GuildsItems','tutorialContainer'],'guildupperbadge':['Guild','upperBadge'],'guildupperleftbadge':['BDFDB','guildUpperLeftBadge'],'h1':['Text','h1'],'h1defaultmargin':['Text','defaultMarginh1'],'h2':['Text','h2'],'h2defaultmargin':['Text','defaultMarginh2'],'h3':['Text','h3'],'h3defaultmargin':['Text','defaultMarginh3'],'h4':['Text','h4'],'h4defaultmargin':['Text','defaultMarginh4'],'h5':['Text','h5'],'h5defaultmargin':['Text','defaultMarginh5'],'headertitle':['Text','title'],'height12':['UserPopout','height12'],'height16':['File','height16'],'height24':['Title','height24'],'height36':['Notice','height36'],'highlight':['NotFound','highlight'],'homebuttonicon':['HomeIcon','homeIcon'],'homebuttonpill':['HomeIcon','pill'],'horizontal':['FlexChild','horizontal'],'horizontal2':['NotFound','_'],'horizontalreverse':['FlexChild','horizontalReverse'],'horizontalreverse2':['NotFound','_'],'hotkeybase':['NotFound','_'],'hotkeybutton':['HotKeyRecorder','button'],'hotkeybutton2':['NotFound','_'],'hotkeycontainer':['HotKeyRecorder','container'],'hotkeycontainer2':['NotFound','_'],'hotkeydisabled':['HotKeyRecorder','disabled'],'hotkeydisabled2':['NotFound','_'],'hotkeyediticon':['HotKeyRecorder','editIcon'],'hotkeyhasvalue':['HotKeyRecorder','hasValue'],'hotkeyinput':['HotKeyRecorder','input'],'hotkeyinput2':['HotKeyRecorder','input'],'hotkeylayout':['HotKeyRecorder','layout'],'hotkeylayout2':['HotKeyRecorder','layout'],'hotkeyrecording':['HotKeyRecorder','recording'],'hotkeyresetbutton':['BDFDB','hotkeyResetButton'],'hotkeyshadowpulse':['HotKeyRecorder','shadowPulse'],'hotkeytext':['HotKeyRecorder','text'],'hotkeywrapper':['BDFDB','hotkeyWrapper'],'hovercard':['HoverCard','card'],'hovercardbutton':['NotFound','hoverCardButton'],'hovercardinner':['BDFDB','cardInner'],'hovercardwrapper':['BDFDB','cardWrapper'],'icon':['EmbedActions','icon'],'iconactionswrapper':['EmbedActions','wrapper'],'iconexternal':['EmbedActions','iconExternal'],'iconexternalmargins':['EmbedActions','iconExternalMargins'],'iconplay':['EmbedActions','iconPlay'],'iconwrapper':['EmbedActions','iconWrapper'],'iconwrapperactive':['EmbedActions','iconWrapperActive'],'imageaccessory':['ImageWrapper','imageAccessory'],'imageclickable':['ImageWrapper','clickable'],'imageerror':['ImageWrapper','imageError'],'imageplaceholder':['ImageWrapper','imagePlaceholder'],'imageplaceholderoverlay':['ImageWrapper','imagePlaceholderOverlay'],'imagewrapper':['ImageWrapper','imageWrapper'],'imagewrapperbackground':['ImageWrapper','imageWrapperBackground'],'imagewrapperinner':['ImageWrapper','imageWrapperInner'],'imagezoom':['ImageWrapper','imageZoom'],'itemlayer':['ItemLayerContainer','layer'],'itemlayercontainer':['ItemLayerContainer','layerContainer'],'itemlayerdisabledpointerevents':['ItemLayerContainer','disabledPointerEvents'],'input':['Input','input'],'inputdefault':['Input','inputDefault'],'inputdisabled':['Input','disabled'],'inputeditable':['Input','editable'],'inputerror':['Input','error'],'inputfocused':['Input','focused'],'inputmini':['Input','inputMini'],'inputprefix':['Input','inputPrefix'],'inputsuccess':['Input','success'],'inputwrapper':['Input','inputWrapper'],'inputnumberbutton':['BDFDB','inputNumberButton'],'inputnumberbuttondown':['BDFDB','inputNumberButtonDown'],'inputnumberbuttonup':['BDFDB','inputNumberButtonUp'],'inputnumberbuttons':['BDFDB','inputNumberButtons'],'inputnumberwrapper':['BDFDB','inputNumberWrapper'],'inputnumberwrapperdefault':['BDFDB','inputNumberWrapperDefault'],'inputnumberwrappermini':['BDFDB','inputNumberWrapperMini'],'invite':['GuildInvite','wrapper'],'invitebutton':['GuildInvite','button'],'invitebuttonfornonmember':['GuildInvite','buttonForNonMember'],'invitebuttonresolving':['GuildInvite','invite-button-resolving'],'invitebuttonsize':['GuildInvite','buttonSize'],'invitechannel':['GuildInvite','channel'],'invitechannelicon':['GuildInvite','channelIcon'],'invitechannelname':['GuildInvite','channelName'],'invitecontent':['GuildInvite','content'],'invitecount':['GuildInvite','count'],'invitecursordefault':['GuildInvite','cursorDefault'],'invitedestination':['GuildInvite','inviteDestination'],'invitedestinationexpired':['GuildInvite','inviteDestinationExpired'],'invitedestinationjoined':['GuildInvite','inviteDestinationJoined'],'inviteguildbadge':['GuildInvite','guildBadge'],'inviteguilddetail':['GuildInvite','guildDetail'],'inviteguildicon':['GuildInvite','guildIcon'],'inviteguildiconexpired':['GuildInvite','guildIconExpired'],'inviteguildiconimage':['GuildInvite','guildIconImage'],'inviteguildiconimagejoined':['GuildInvite','guildIconImageJoined'],'inviteguildiconjoined':['GuildInvite','guildIconJoined'],'inviteguildinfo':['GuildInvite','guildInfo'],'inviteguildname':['GuildInvite','guildName'],'inviteguildnamewrapper':['GuildInvite','guildNameWrapper'],'inviteheader':['GuildInvite','header'],'invitemodal':['InviteModal','modal'],'invitemodalinviterow':['InviteModal','inviteRow'],'invitemodalinviterowname':['InviteModal','inviteRowName'],'invitemodalwrapper':['InviteModal','wrapper'],'invitesplash':['GuildInvite','inviteSplash'],'invitesplashimage':['GuildInvite','inviteSplashImage'],'invitesplashimageloaded':['GuildInvite','inviteSplashImageLoaded'],'inviteresolving':['GuildInvite','resolving'],'inviteresolvingbackground':['GuildInvite','resolvingBackground'],'invitestatus':['GuildInvite','status'],'invitestatuscounts':['GuildInvite','statusCounts'],'invitestatusoffline':['GuildInvite','statusOffline'],'invitestatusonline':['GuildInvite','statusOnline'],'inviteuserselectnone':['GuildInvite','userSelectNone'],'italics':['TextStyle','italics'],'justifycenter':['Flex','justifyCenter'],'justifyend':['Flex','justifyEnd'],'justifystart':['Flex','justifyStart'],'layermodal':['LayerModal','root'],'layermodallarge':['LayerModal','large'],'layermodalmedium':['LayerModal','medium'],'layermodalsmall':['LayerModal','small'],'layer':['Layers','layer'],'layerbase':['Layers','baseLayer'],'layers':['Layers','layers'],'layersbg':['Layers','bg'],'listavatar':['UserProfile','listAvatar'],'listdiscriminator':['UserProfile','listDiscriminator'],'listname':['UserProfile','listName'],'listrow':['UserProfile','listRow'],'listrowcontent':['UserProfile','listRowContent'],'listrowwrapper':['BDFDB','listRow'],'listscroller':['UserProfile','listScroller'],'livetag':['LiveTag','live'],'livetaggrey':['LiveTag','grey'],'livetaglarge':['LiveTag','liveLarge'],'livetagsmall':['LiveTag','liveSmall'],'loadingicon':['BDFDB','loadingIcon'],'loadingiconwrapper':['BDFDB','loadingIconWrapper'],'loadingscreen':['LoadingScreen','container'],'loginscreen':['NotFound','loginScreen'],'marginbottom4':['Margins','marginBottom4'],'marginbottom8':['Margins','marginBottom8'],'marginbottom20':['Margins','marginBottom20'],'marginbottom40':['Margins','marginBottom40'],'marginbottom60':['Margins','marginBottom60'],'margincenterhorz':['Margins','marginCenterHorz'],'marginleft4':['Autocomplete','marginLeft4'],'marginleft8':['Autocomplete','marginLeft8'],'marginreset':['Margins','marginReset'],'margintop4':['Margins','marginTop4'],'margintop8':['Margins','marginTop8'],'margintop20':['Margins','marginTop20'],'margintop40':['Margins','marginTop40'],'margintop60':['Margins','marginTop60'],'member':['Member','member'],'memberactivity':['Member','activity'],'membericon':['Member','icon'],'memberoffline':['Member','offline'],'memberownericon':['Member','ownerIcon'],'memberpremiumicon':['Member','premiumIcon'],'members':['MembersWrap','members'],'membersgroup':['MembersWrap','membersGroup'],'memberstabbar':['MembersThreads','tabBar'],'membersthread':['MembersThreads','thread'],'memberswrap':['MembersWrap','membersWrap'],'memberusername':['Member','roleColor'],'mention':['NotFound','mention'],'mentioninteractive':['NotFound','mentionInteractive'],'mentionwrapper':['NotFound','mentionWrapper'],'menu':['Menu','menu'],'menucaret':['Menu','caret'],'menucaretarrow':['MenuCaret','arrow'],'menucaretopen':['MenuCaret','open'],'menucheck':['Menu','check'],'menucheckbox':['Menu','checkbox'],'menucolorbrand':['Menu','colorBrand'],'menucolorcustom':['BDFDB','menuColorCustom'],'menucolordanger':['Menu','colorDanger'],'menucolordefault':['Menu','colorDefault'],'menucolorpremium':['Menu','colorPremium'],'menucustomitem':['Menu','customItem'],'menudisabled':['Menu','disabled'],'menufocused':['Menu','focused'],'menuhideinteraction':['Menu','hideInteraction'],'menuhint':['BDFDB','menuItemHint'],'menuhintcontainer':['Menu','hintContainer'],'menuicon':['Menu','icon'],'menuiconcontainer':['Menu','iconContainer'],'menuimage':['Menu','image'],'menuimagecontainer':['Menu','imageContainer'],'menuitem':['Menu','item'],'menulabel':['Menu','label'],'menulabelcontainer':['Menu','labelContainer'],'menureactbutton':['MenuReactButton','button'],'menureactbuttonfocused':['MenuReactButton','focused'],'menureactbuttonicon':['MenuReactButton','icon'],'menureactbuttons':['MenuReactButton','wrapper'],'menuscroller':['Menu','scroller'],'menuseparator':['Menu','separator'],'menuslider':['MenuSlider','slider'],'menuslidercontainer':['MenuSlider','sliderContainer'],'menustylefixed':['Menu','styleFixed'],'menustyleflexible':['Menu','styleFlexible'],'menusubmenu':['Menu','submenu'],'menusubmenucontainer':['Menu','submenuContainer'],'menusubtext':['Menu','subtext'],'message':['Message','message'],'messageaccessory':['MessageAccessory','container'],'messageavatar':['MessageBody','avatar'],'messageavatarclickable':['MessageBody','clickable'],'messagebackgroundflash':['Message','backgroundFlash'],'messagebarbase':['MessageElements','barBase'],'messagebarbuttonalt':['MessageElements','barButtonAlt'],'messagebarbuttonbase':['MessageElements','barButtonBase'],'messagebarbuttonicon':['MessageElements','barButtonIcon'],'messagebarbuttonmain':['MessageElements','barButtonMain'],'messagebarhasmore':['MessageElements','hasMore'],'messagebarjumptopresentbar':['MessageElements','jumpToPresentBar'],'messagebarloadingmore':['MessageElements','loadingMore'],'messagebarnewmessagesbar':['MessageElements','newMessagesBar'],'messagebarspan':['MessageElements','span'],'messagebarspinner':['MessageElements','spinner'],'messagebarspinneritem':['MessageElements','spinnerItem'],'messagebeforegroup':['Message','beforeGroup'],'messageblockedaction':['MessageBlocked','blockedAction'],'messageblockedcontainer':['MessageBlocked','container'],'messageblockedexpanded':['MessageBlocked','expanded'],'messageblockedicon':['MessageBlocked','blockedIcon'],'messageblockedsystemmessage':['MessageBlocked','blockedSystemMessage'],'messageblockedtext':['MessageBlocked','blockedMessageText'],'messageblockquotecontainer':['MessageMarkup','blockquoteContainer'],'messageblockquotedivider':['MessageMarkup','blockquoteDivider'],'messagebottag':['MessageBody','botTag'],'messagebottagcompact':['MessageBody','botTagCompact'],'messagebottagcozy':['MessageBody','botTagCozy'],'messagebuttoncontainer':['MessageBody','buttonContainer'],'messagebuttons':['Message','buttons'],'messagechanneltextarea':['Message','channelTextArea'],'messagecompact':['MessageBody','compact'],'messagecontents':['MessageBody','contents'],'messagecozy':['MessageBody','cozy'],'messagecozymessage':['Message','cozyMessage'],'messagedisableinteraction':['Message','disableInteraction'],'messagedivider':['Message','divider'],'messagedividerhascontent':['Message','hasContent'],'messageedited':['MessageBody','edited'],'messagegroupstart':['Message','groupStart'],'messagegroupblocked':['MessageElements','messageGroupBlocked'],'messagegroupblockedbtn':['MessageElements','messageGroupBlockedBtn'],'messagegroupblockedrevealed':['MessageElements','revealed'],'messageheader':['MessageBody','header'],'messagelocalbot':['Message','localBot'],'messagelocalbotoperations':['MessageLocalBot','localBotMessage'],'messagemarkup':['MessageMarkup','markup'],'messagemarkupcompact':['MessageBody','compact'],'messagemarkupcontent':['MessageBody','messageContent'],'messagemarkupcozy':['MessageBody','cozy'],'messagemarkupisfailed':['MessageBody','isFailed'],'messagemarkupissending':['MessageBody','isSending'],'messagemarkuprtl':['MessageBody','markupRtl'],'messagementioned':['Message','mentioned'],'messageoperations':['MessageOperations','operations'],'messagereaction':['MessageReactions','reaction'],'messagereactionme':['MessageReactions','reactionMe'],'messagereactions':['MessageReactions','reactions'],'messagereactionsmodalemoji':['MessageReactionsModal','emoji'],'messagereactionsmodalname':['MessageReactionsModal','name'],'messagereactionsmodalnickname':['MessageReactionsModal','nickname'],'messagereactionsmodalreactor':['MessageReactionsModal','reactor'],'messagereactionsmodalusername':['MessageReactionsModal','username'],'messageselected':['Message','selected'],'messages':['MessagesWrap','messages'],'messagesdivider':['MessagesWrap','divider'],'messagespopout':['MessagesPopout','messagesPopout'],'messagespopoutactionbuttons':['MessagesPopout','actionButtons'],'messagespopoutbody':['MessagesPopout','body'],'messagespopoutbottom':['MessagesPopout','bottom'],'messagespopoutbutton':['MessagesPopoutButtons','button'],'messagespopoutbuttonsecondary':['MessagesPopoutButtons','secondary'],'messagespopoutbuttontertiary':['MessagesPopoutButtons','tertiary'],'messagespopoutchannelname':['MessagesPopout','channelName'],'messagespopoutchannelseparator':['MessagesPopout','channelSeparator'],'messagespopoutclosebutton':['MessagesPopout','closeIcon'],'messagespopoutemptyplaceholder':['MessagesPopout','emptyPlaceholder'],'messagespopoutfooter':['MessagesPopout','footer'],'messagespopoutguildname':['MessagesPopout','guildName'],'messagespopoutgroupcozy':['MessagesPopout','messageGroupCozy'],'messagespopoutgroupwrapper':['MessagesPopout','messageGroupWrapper'],'messagespopouthasmore':['MessagesPopout','hasMore'],'messagespopouthasmorebutton':['MessagesPopout','hasMoreButton'],'messagespopoutheader':['MessagesPopout','header'],'messagespopoutimage':['MessagesPopout','image'],'messagespopoutjumpbutton':['MessagesPopout','jumpButton'],'messagespopoutloading':['MessagesPopout','loading'],'messagespopoutloadingmore':['MessagesPopout','loadingMore'],'messagespopoutloadingplaceholder':['MessagesPopout','loadingPlaceholder'],'messagespopoutscrollingfooterwrap':['MessagesPopout','scrollingFooterWrap'],'messagespopoutspinner':['MessagesPopout','spinner'],'messagespopouttabbar':['MessagesPopoutTabBar','tabBar'],'messagespopouttabbarheader':['MessagesPopoutTabBar','header'],'messagespopouttabbartab':['MessagesPopoutTabBar','tab'],'messagespopouttabbartabactive':['MessagesPopoutTabBar','active'],'messagespopouttitle':['MessagesPopout','title'],'messagespopoutvisible':['MessagesPopout','visible'],'messagespopoutwrap':['MessagesPopout','messagesPopoutWrap'],'messagesscroller':['MessagesWrap','scroller'],'messagesscrollerinner':['MessagesWrap','scrollerInner'],'messagesscrollerwrapper':['MessagesWrap','scrollerWrap'],'messageswelcome':['MessagesWelcome','container'],'messageswelcomebutton':['NotFound','messagesWelcomeButton'],'messageswelcomedescription':['MessagesWelcome','description'],'messageswelcomeemptychannelicon':['MessagesWelcome','emptyChannelIcon'],'messageswelcomehasdivider':['MessagesWelcome','hasDivider'],'messageswelcomeheader':['MessagesWelcome','header'],'messageswelcomelocked':['MessagesWelcome','lcoked'],'messageswrapper':['MessagesWrap','messagesWrapper'],'messagesystem':['Message','systemMessage'],'messagesystemaccessories':['MessageBody','systemMessageAccessories'],'messagesystemcontainer':['MessageSystem','container'],'messagesystemcontent':['MessageSystem','content'],'messagesystemicon':['MessageSystem','icon'],'messagesystemiconcontainer':['MessageSystem','iconContainer'],'messagesystemiconsize':['MessageSystem','iconSize'],'messagetimedivider':['MessageDivider','divider'],'messagetimedividercontent':['MessageDivider','content'],'messagetimedividerhascontent':['MessageDivider','hasContent'],'messagetimedividerisunread':['MessageDivider','isUnread'],'messagetimedividerunreadpill':['MessageDivider','unreadPill'],'messagetimedividerunreadpillcap':['MessageDivider','unreadPillCap'],'messagetimedividerunreadpillcapstroke':['MessageDivider','unreadPillCapStroke'],'messagetimestampasiancompact':['MessageBody','asianCompactTimeStamp'],'messagetimestamp':['MessageBody','timestamp'],'messagetimestampalt':['MessageBody','alt'],'messagetimestamplatin12compact':['MessageBody','latin12CompactTimeStamp'],'messagetimestamplatin24compact':['MessageBody','latin24CompactTimeStamp'],'messagetimestampseparator':['MessageBody','separator'],'messagetimestampsystem':['MessageSystem','timestamp'],'messagetimestamptooltip':['MessageBody','timestampTooltip'],'messagetimestampvisibleonhover':['MessageBody','timestampVisibleOnHover'],'messagetoolbar':['MessageToolbar','container'],'messagetoolbarbutton':['MessageToolbarItems','button'],'messagetoolbarbuttondisabled':['MessageToolbarItems','disabled'],'messagetoolbarbuttonselected':['MessageToolbarItems','selected'],'messagetoolbaricon':['MessageToolbar','icon'],'messagetoolbarinner':['MessageToolbarItems','wrapper'],'messagetoolbarisheader':['MessageToolbar','isHeader'],'messagetoolbarseparator':['MessageToolbarItems','separator'],'messageuploadcancel':['MessageFile','cancelButton'],'messageusername':['MessageBody','username'],'messagewrapper':['MessageBody','wrapper'],'messagezalgo':['MessageBody','zalgo'],'modal':['ModalWrap','modal'],'modalclose':['LayerModal','close'],'modalchangelogmodal':['BDFDB','changeLogModal'],'modalconfirmmodal':['BDFDB','confirmModal'],'modalcontent':['LayerModal','content'],'modalfooter':['Modal','footer'],'modalguildname':['ModalItems','guildName'],'modalheader':['Modal','header'],'modalheaderhassibling':['BDFDB','modalHeaderHasSibling'],'modalheadershade':['BDFDB','modalHeaderShade'],'modalinner':['ModalWrap','inner'],'modalmini':['ModalMiniContent','modal'],'modalminicontent':['ModalMiniContent','content'],'modalminitext':['HeaderBarTopic','content'],'modalnoscroller':['BDFDB','modalNoScroller'],'modalseparator':['LayerModal','separator'],'modalsidebar':['BDFDB','modalSidebar'],'modalsizelarge':['Modal','sizeLarge'],'modalsizemedium':['Modal','sizeMedium'],'modalsizesmall':['Modal','sizeSmall'],'modalsub':['Modal','modal'],'modalsubinner':['BDFDB','modalSubInner'],'modaltabcontent':['BDFDB','modalTabContent'],'modaltabcontentopen':['BDFDB','modalTabContentOpen'],'modalwrapper':['BDFDB','modalWrapper'],'modedefault':['FormText','modeDefault'],'modedisabled':['FormText','modeDisabled'],'modeselectable':['FormText','modeSelectable'],'namecontainer':['NameContainer','container'],'namecontaineravatar':['NameContainer','avatar'],'namecontainerchildren':['NameContainer','children'],'namecontainerclickable':['NameContainer','clickable'],'namecontainercontent':['NameContainer','content'],'namecontainerlayout':['NameContainer','layout'],'namecontainername':['NameContainer','name'],'namecontainernamecontainer':['NotFound','nameContainerNameContainer'],'namecontainernamewrapper':['NameContainer','nameAndDecorators'],'namecontainerselected':['NameContainer','selected'],'namecontainersubtext':['NameContainer','subText'],'nametag':['NameTag','nameTag'],'nitrostore':['NitroStore','applicationStore'],'nochannel':['ChatWindow','noChannel'],'notice':['Notice','notice'],'noticebrand':['Notice','noticeBrand'],'noticebutton':['Notice','button'],'noticedanger':['Notice','noticeDanger'],'noticedefault':['Notice','noticeDefault'],'noticedownload':['Notice','noticeDownload'],'noticedismiss':['Notice','dismiss'],'noticefacebook':['Notice','noticeFacebook'],'noticeicon':['Notice','icon'],'noticeiconandroid':['Notice','iconAndroid'],'noticeiconapple':['Notice','iconApple'],'noticeiconwindows':['Notice','iconWindows'],'noticeinfo':['Notice','noticeInfo'],'noticenotification':['Notice','noticeNotification'],'noticeplatformicon':['Notice','platformIcon'],'noticepremium':['Notice','noticePremium'],'noticepremiumaction':['Notice','premiumAction'],'noticepremiumlogo':['Notice','premiumLogo'],'noticepremiumtext':['Notice','premiumText'],'noticepremiumtier1':['Notice','noticePremiumTier1'],'noticepremiumtier2':['Notice','noticePremiumTier2'],'noticerichpresence':['Notice','noticeRichPresence'],'noticespotify':['Notice','noticeSpotify'],'noticestreamer':['Notice','noticeStreamerMode'],'noticesuccess':['Notice','noticeSuccess'],'noticesurvey':['Notice','noticeSurvey'],'noticewrapper':['BDFDB','noticeWrapper'],'note':['SettingsItems','note'],'nowrap':['Flex','noWrap'],'overflowellipsis':['BDFDB','overflowEllipsis'],'paginationlist':['BDFDB','paginationList'],'paginationlistalphabet':['BDFDB','paginationListAlphabet'],'paginationlistalphabetchar':['BDFDB','paginationListAlphabetChar'],'paginationlistalphabetchardisabled':['BDFDB','paginationListAlphabetCharDisabled'],'paginationlistcontent':['BDFDB','paginationListContent'],'paginationlistpagination':['BDFDB','paginationListPagination'],'peoples':['Peoples','container'],'peoplesbadge':['Peoples','badge'],'peoplesnowplayingcolumn':['Peoples','nowPlayingColumn'],'peoplespeoplecolumn':['Peoples','peopleColumn'],'peoplestabbar':['Peoples','tabBar'],'pictureinpicture':['PictureInPicture','pictureInPicture'],'pictureinpicturewindow':['PictureInPicture','pictureInPictureWindow'],'popout':['Popout','popout'],'popoutarrowalignmentmiddle':['Popout','arrowAlignmentMiddle'],'popoutarrowalignmenttop':['Popout','arrowAlignmentTop'],'popoutbottom':['Popout','popoutBottom'],'popoutbottomleft':['Popout','popoutBottomLeft'],'popoutbottomright':['Popout','popoutBottomRight'],'popoutinvert':['Popout','popoutInvert'],'popoutleft':['Popout','popoutLeft'],'popoutnoarrow':['Popout','noArrow'],'popoutnoshadow':['Popout','noShadow'],'popoutright':['Popout','popoutRight'],'popouts':['Popout','popouts'],'popoutthemedpopout':['BDFDB','themedPopout'],'popouttop':['Popout','popoutTop'],'popouttopleft':['Popout','popoutTopLeft'],'popouttopright':['Popout','popoutTopRight'],'popoutwrapper':['BDFDB','popoutWrapper'],'quickmessage':['QuickMessage','input'],'quickselect':['QuickSelect','quickSelect'],'quickselectarrow':['QuickSelect','quickSelectArrow'],'quickselectclick':['QuickSelect','quickSelectClick'],'quickselectlabel':['QuickSelect','quickSelectLabel'],'quickselectvalue':['QuickSelect','quickSelectValue'],'quickselectwrapper':['BDFDB','quickSelectWrapper'],'quickswitcher':['QuickSwitchWrap','quickswitcher'],'quickswitchresult':['QuickSwitch','result'],'quickswitchresultfocused':['QuickSwitch','resultFocused'],'quickswitchresultguildicon':['QuickSwitch','guildIcon'],'quickswitchresulticon':['QuickSwitch','icon'],'quickswitchresulticoncontainer':['QuickSwitch','iconContainer'],'quickswitchresultmatch':['QuickSwitch','match'],'quickswitchresultmisccontainer':['QuickSwitchWrap','miscContainer'],'quickswitchresultname':['QuickSwitch','name'],'quickswitchresultnote':['QuickSwitch','note'],'quickswitchresultusername':['QuickSwitch','username'],'recentmentionschannelname':['RecentMentionsHeader','channelName'],'recentmentionsclosebutton':['RecentMentions','closeButton'],'recentmentionsdmicon':['RecentMentionsHeader','dmIcon'],'recentmentionsguildicon':['RecentMentionsHeader','guildIcon'],'recentmentionsguildname':['RecentMentionsHeader','guildName'],'recentmentionsjumpbutton':['RecentMentions','jumpButton'],'recentmentionspopout':['RecentMentions','recentMentionsPopout'],'scrollbar':['Scrollbar','scrollbar'],'scrollbardefault':['Scrollbar','scrollbarDefault'],'scrollbarghost':['Scrollbar','scrollbarGhost'],'scrollbarghosthairline':['Scrollbar','scrollbarGhostHairline'],'scroller':['ScrollerOld','scroller'],'scrollerbase':['Scroller','scrollerBase'],'scrollerbaseauto':['Scroller','auto'],'scrollerbasefade':['Scroller','fade'],'scrollerbaselistcontent':['Scroller','listContent'],'scrollerbasenone':['Scroller','none'],'scrollerbasescrolling':['Scroller','scrolling'],'scrollerbasethin':['Scroller','thin'],'scrollerfade':['ScrollerOld','scrollerFade'],'scrollersystempad':['ScrollerOld','systemPad'],'scrollerthemed':['ScrollerOld','scrollerThemed'],'scrollerthemedwithtrack':['ScrollerOld','themedWithTrack'],'scrollerthemeghost':['ScrollerOld','themeGhost'],'scrollerthemeghosthairline':['ScrollerOld','themeGhostHairline'],'scrollerthemeghosthairlinechannels':['ScrollerOld','themeGhostHairlineChannels'],'scrollerwrap':['ScrollerOld','scrollerWrap'],'searchbar':['SearchBar','container'],'searchbarclear':['SearchBar','clear'],'searchbarclose':['SearchBar','close'],'searchbaricon':['SearchBar','icon'],'searchbariconlayout':['SearchBar','iconLayout'],'searchbariconwrap':['SearchBar','iconContainer'],'searchbarinner':['SearchBar','inner'],'searchbarinput':['SearchBar','input'],'searchbarlarge':['SearchBar','large'],'searchbarmedium':['SearchBar','medium'],'searchbarsmall':['SearchBar','small'],'searchbartag':['SearchBar','tag'],'searchbarvisible':['SearchBar','visible'],'searchpopout':['SearchPopoutWrap','container'],'searchpopoutanswer':['SearchPopout','answer'],'searchpopoutdatepicker':['SearchPopout','datePicker'],'searchpopoutdatepickerhint':['SearchPopout','datePickerHint'],'searchpopoutdmaddpopout':['DmAddPopout','popout'],'searchpopoutddmadddiscordtag':['DmAddPopoutItems','discordTag'],'searchpopoutddmaddfriend':['DmAddPopoutItems','friend'],'searchpopoutddmaddfriendwrapper':['DmAddPopoutItems','friendWrapper'],'searchpopoutddmaddnickname':['DmAddPopoutItems','nickname'],'searchpopoutdisplayavatar':['SearchPopout','displayAvatar'],'searchpopoutdisplayusername':['SearchPopout','displayUsername'],'searchpopoutdisplayednick':['SearchPopout','displayedNick'],'searchpopoutfilter':['SearchPopout','filter'],'searchpopoutheader':['SearchPopout','header'],'searchpopouthint':['SearchPopout','hint'],'searchpopouthintvalue':['SearchPopout','hintValue'],'searchpopoutlinksource':['SearchPopout','linkSource'],'searchpopoutnontext':['SearchPopout','nonText'],'searchpopoutoption':['SearchPopout','option'],'searchpopoutplusicon':['SearchPopout','plusIcon'],'searchpopoutresultchannel':['SearchPopout','resultChannel'],'searchpopoutresultsgroup':['SearchPopout','resultsGroup'],'searchpopoutsearchclearhistory':['SearchPopout','searchClearHistory'],'searchpopoutsearchlearnmore':['SearchPopout','searchLearnMore'],'searchpopoutsearchoption':['SearchPopout','searchOption'],'searchpopoutsearchresultchannelcategory':['SearchPopout','searchResultChannelCategory'],'searchpopoutsearchresultchannelicon':['SearchPopout','searchResultChannelIcon'],'searchpopoutsearchresultchanneliconbackground':['SearchPopout','searchResultChannelIconBackground'],'searchpopoutselected':['SearchPopout','selected'],'searchpopoutuser':['SearchPopout','user'],'searchresultsafter':['SearchResultsMessage','after'],'searchresultsalt':['SearchResults','alt'],'searchresultsbefore':['SearchResultsMessage','before'],'searchresultschannelname':['SearchResultsElements','channelName'],'searchresultschannelSeparator':['SearchResultsElements','channelSeparator'],'searchresultsexpanded':['SearchResultsMessage','expanded'],'searchresultsgroupcozy':['SearchResultsMessage','messageGroupCozy'],'searchresultshit':['SearchResultsMessage','hit'],'searchresultspagination':['SearchResultsPagination','pagination'],'searchresultspaginationbutton':['SearchResultsPagination','paginationButton'],'searchresultspaginationdisabled':['SearchResultsPagination','disabled'],'searchresultspaginationicon':['SearchResultsPagination','icon'],'searchresultssibling':['SearchResultsMessage','sibling'],'searchresultswrap':['SearchResults','searchResultsWrap'],'select':['Select','select'],'selectwrapper':['BDFDB','selectWrapper'],'settingsclosebutton':['SettingsCloseButton','closeButton'],'settingsclosebuttoncontainer':['SettingsCloseButton','container'],'settingsguild':['BDFDB','settingsGuild'],'settingsguilddisabled':['BDFDB','settingsGuildDisabled'],'settingsheader':['Item','header'],'settingsitem':['Item','item'],'settingsitemdragged':['ItemRole','dragged'],'settingsitemdlock':['ItemRole','lock'],'settingsitemrole':['ItemRole','role'],'settingsitemroleinner':['ItemRole','roleInner'],'settingsitemselected':['Item','selected'],'settingsitemthemed':['Item','themed'],'settingsPanel':['BDFDB','settingsPanel'],'settingspanelheader':['BDFDB','settingsPanelHeader'],'settingspanelheaderbutton':['BDFDB','settingsPanelHeaderButton'],'settingspanelheadercontrols':['BDFDB','settingsPanelHeaderControls'],'settingspanelinner':['BDFDB','settingsPanelInner'],'settingspanellist':['BDFDB','settingsPanelList'],'settingspaneltitle':['BDFDB','settingsPanelTitle'],'settingsseparator':['Item','separator'],'settingstableheader':['SettingsTable','header'],'settingstableheadername':['SettingsTable','headerName'],'settingstableheaderoption':['SettingsTable','headerOption'],'settingstableheaders':['BDFDB','settingsTableHeaders'],'settingstableheadervertical':['BDFDB','settingsTableHeaderVertical'],'settingstablecard':['BDFDB','settingsTableCard'],'settingstablecardconfigs':['BDFDB','settingsTableCardConfigs'],'settingstablecardlabel':['BDFDB','settingsTableCardLabel'],'settingstablelist':['BDFDB','settingsTableList'],'settingswindowcontentcolumn':['SettingsWindow','contentColumn'],'settingswindowcontentregion':['SettingsWindow','contentRegion'],'settingswindowcontentregionscroller':['SettingsWindow','contentRegionScroller'],'settingswindowsidebarregion':['SettingsWindow','sidebarRegion'],'settingswindowsidebarregionscroller':['SettingsWindow','sidebarRegionScroller'],'settingswindowstandardsidebarview':['SettingsWindow','standardSidebarView'],'settingswindowsubsidebarcontent':['SettingsWindowScroller','content'],'settingswindowsubsidebarscroller':['SettingsWindowScroller','scroller'],'settingswindowtoolscontainer':['SettingsWindow','toolsContainer'],'sidebar':['BDFDB','sidebar'],'sidebarcontent':['BDFDB','sidebarContent'],'sidebarlist':['BDFDB','sidebarList'],'size10':['TextSize','size10'],'size12':['TextSize','size12'],'size14':['TextSize','size14'],'size16':['TextSize','size16'],'size20':['TextSize','size20'],'size24':['TextSize','size24'],'size32':['TextSize','size32'],'slider':['Slider','slider'],'sliderbar':['Slider','bar'],'sliderbarfill':['Slider','barFill'],'sliderbubble':['BDFDB','sliderBubble'],'sliderdisabled':['Slider','disabled'],'slidergrabber':['Slider','grabber'],'sliderinput':['Slider','input'],'slidermark':['Slider','mark'],'slidermarkdash':['Slider','markDash'],'slidermarkdashsimple':['Slider','markDashSimple'],'slidermarkvalue':['Slider','markValue'],'slidermini':['Slider','mini'],'slidertrack':['Slider','track'],'spoilercontainer':['Spoiler','spoilerContainer'],'spoilerembed':['SpoilerEmbed','spoiler'],'spoilerembedhidden':['SpoilerEmbed','hiddenSpoilers'],'spoilerembedinline':['SpoilerEmbed','inline'],'spoilerhidden':['Spoiler','hidden'],'spoilertext':['Spoiler','spoilerText'],'spoilerwarning':['Spoiler','spoilerWarning'],'splashbackground':['NotFound','splashBackground'],'strikethrough':['TextStyle','strikethrough'],'status':['Avatar','status'],'stopanimations':['NotFound','stopAnimations'],'subtext':['NotFound','subtext'],'svgicon':['BDFDB','svgIcon'],'svgiconwrapper':['BDFDB','svgIconWrapper'],'switch':['Switch','switch'],'switchdisabled':['Switch','switchDisabled'],'switchenabled':['Switch','switchEnabled'],'switchinner':['Switch','checkbox'],'switchinnerdisabled':['Switch','checkboxDisabled'],'switchinnerenabled':['Switch','checkboxEnabled'],'switchsize':['Switch','size'],'switchsizedefault':['Switch','sizeDefault'],'switchsizemini':['Switch','sizeMini'],'switchthemeclear':['Switch','themeClear'],'switchthemedefault':['Switch','themeDefault'],'switchvalue':['Switch','value'],'switchvaluechecked':['Switch','valueChecked'],'switchvalueunchecked':['Switch','valueUnchecked'],'tabbar':['UserProfile','tabBar'],'tabbarcontainer':['UserProfile','tabBarContainer'],'tabbarcontainerbottom':['BDFDB','tabBarContainerBottom'],'tabbaritem':['UserProfile','tabBarItem'],'tabbartop':['Item','top'],'table':['BDFDB','table'],'tablebodycell':['BDFDB','tableBodyCell'],'tableheader':['BDFDB','tableHeader'],'tableheadercell':['BDFDB','tableHeaderCellSorted'],'tableheadercellsorted':['BDFDB','tableHeaderCell'],'tableheadersorticon':['BDFDB','tableHeaderSortIcon'],'tablerow':['BDFDB','tableRow'],'tablestickyheader':['BDFDB','tableStickyHeader'],'textarea':['ChannelTextArea','textArea'],'textareaattachbutton':['ChannelTextAreaAttachButton','attachButton'],'textareaattachbuttoninner':['ChannelTextAreaAttachButton','attachButtonInner'],'textareaattachbuttonplus':['ChannelTextAreaAttachButton','attachButtonPlus'],'textareaattachwrapper':['ChannelTextAreaAttachButton','attachWrapper'],'textareabutton':['ChannelTextAreaButton','button'],'textareabuttonactive':['ChannelTextAreaButton','active'],'textareabuttonpulse':['ChannelTextAreaButton','pulseButton'],'textareabuttonwrapper':['ChannelTextAreaButton','buttonWrapper'],'textareacharcounter':['ChannelTextAreaCharCounter','characterCount'],'textareacharcountererror':['ChannelTextAreaCharCounter','error'],'textareadisabled':['ChannelTextArea','textAreaDisabled'],'textareafontsize12padding':['ChannelTextArea','fontSize12Padding'],'textareafontsize14padding':['ChannelTextArea','fontSize14Padding'],'textareafontsize15padding':['ChannelTextArea','fontSize15Padding'],'textareafontsize16padding':['ChannelTextArea','fontSize16Padding'],'textareafontsize18padding':['ChannelTextArea','fontSize18Padding'],'textareafontsize20padding':['ChannelTextArea','fontSize20Padding'],'textareafontsize24padding':['ChannelTextArea','fontSize24Padding'],'textareaicon':['ChannelTextAreaButton','icon'],'textareaiconpulse':['ChannelTextAreaButton','pulseIcon'],'textareainner':['ChannelTextArea','inner'],'textareainnerdisabled':['ChannelTextArea','innerDisabled'],'textareapickerbutton':['ChannelTextArea','button'],'textareapickerbuttoncontainer':['ChannelTextArea','buttonContainer'],'textareapickerbuttons':['ChannelTextArea','buttons'],'textareascrollablecontainer':['ChannelTextArea','scrollableContainer'],'textareaslate':['ChannelTextArea','textAreaSlate'],'textareaslatemarkup':['ChannelTextAreaSlate','slateTextArea'],'textareaslatecontainer':['ChannelTextAreaSlate','slateContainer'],'textareaslateplaceholder':['ChannelTextAreaSlate','placeholder'],'textareauploadinput':['ChannelTextAreaAttachButton','uploadInput'],'textareawebkit':['ChannelTextArea','webkit'],'textareawrapall':['ChannelTextArea','channelTextArea'],'textareawrapchat':['ChatWindow','channelTextArea'],'textareawrapdisabled':['ChannelTextArea','channelTextAreaDisabled'],'textlink':['Notice','textLink'],'textrow':['PopoutActivity','textRow'],'textscroller':['BDFDB','textScroller'],'themedark':['NotFound','themeDark'],'themelight':['NotFound','themeLight'],'themeundefined':['NotFound','themeUndefined'],'tip':['Tip','tip'],'tipblock':['Tip','block'],'tippro':['Tip','pro'],'tipinline':['Tip','inline'],'title':['SettingsItems','title'],'titlebar':['TitleBar','titleBar'],'titlebarmac':['TitleBar','typeMacOS'],'titlebarmacbutton':['TitleBar','macButton'],'titlebarmacbuttonclose':['TitleBar','macButtonClose'],'titlebarmacbuttonmin':['TitleBar','macButtonMinimize'],'titlebarmacbuttonmax':['TitleBar','macButtonMaximize'],'titlebarmacbuttons':['TitleBar','macButtons'],'titlebarmacwithframe':['TitleBar','typeMacOSWithFrame'],'titlebarwinbutton':['TitleBar','winButton'],'titlebarwinbuttonclose':['TitleBar','winButtonClose'],'titlebarwinbuttonminmax':['TitleBar','winButtonMinMax'],'titlebarwindows':['TitleBar','typeWindows'],'titlebarwithframe':['TitleBar','withFrame'],'titlebarwordmark':['TitleBar','wordmark'],'titlebarwordmarkmac':['TitleBar','wordmarkMacOS'],'titlebarwordmarkwindows':['TitleBar','wordmarkWindows'],'titledefault':['SettingsItems','titleDefault'],'titlemini':['SettingsItems','titleMini'],'titlesize10':['UserPopout','size10'],'titlesize12':['UserPopout','size12'],'titlesize14':['UserPopout','size14'],'titlesize16':['UserPopout','size16'],'titlesize18':['Title','size18'],'tooltip':['Tooltip','tooltip'],'tooltipactivityicon':['TooltipGuild','activityIcon'],'tooltipblack':['Tooltip','tooltipBlack'],'tooltipbottom':['Tooltip','tooltipBottom'],'tooltipbrand':['Tooltip','tooltipBrand'],'tooltipcontent':['Tooltip','tooltipContent'],'tooltipcontentallowoverflow':['Tooltip','tooltipContentAllowOverflow'],'tooltipcustom':['BDFDB','tooltipCustom'],'tooltipgreen':['Tooltip','tooltipGreen'],'tooltipgrey':['Tooltip','tooltipGrey'],'tooltipguildnametext':['TooltipGuild','guildNameText'],'tooltipguildnametextlimitedsize':['TooltipGuild','guildNameTextLimitedSize'],'tooltipleft':['Tooltip','tooltipLeft'],'tooltiplistitem':['GuildsItems','listItemTooltip'],'tooltippointer':['Tooltip','tooltipPointer'],'tooltipred':['Tooltip','tooltipRed'],'tooltipright':['Tooltip','tooltipRight'],'tooltiprow':['TooltipGuild','row'],'tooltiprowguildname':['TooltipGuild','rowGuildName'],'tooltiprowicon':['TooltipGuild','rowIcon'],'tooltiptop':['Tooltip','tooltipTop'],'tooltipyellow':['Tooltip','tooltipYellow'],'typing':['Typing','typing'],'typingcooldownwrapper':['Typing','cooldownWrapper'],'typingtext':['Typing','text'],'underline':['TextStyle','underline'],'unreadbar':['UnreadBar','bar'],'unreadbaractive':['UnreadBar','active'],'unreadbarcontainer':['UnreadBar','container'],'unreadbaricon':['UnreadBar','icon'],'unreadbarmention':['UnreadBar','mention'],'unreadbartext':['UnreadBar','text'],'unreadbarunread':['UnreadBar','unread'],'uploadmodal':['UploadModal','uploadModal'],'userinfo':['UserInfo','userInfo'],'userinfoavatar':['UserInfo','avatar'],'userinfodate':['BDFDB','userInfoDate'],'userinfodiscordtag':['UserInfo','discordTag'],'userinfodiscriminator':['UserInfo','discriminator'],'userinfohovered':['UserInfo','hovered'],'userinfosubtext':['UserInfo','subtext'],'userinfotext':['UserInfo','text'],'userinfousername':['UserInfo','username'],'userpopout':['UserPopout','userPopout'],'userpopoutavatarhint':['UserPopout','avatarHint'],'userpopoutavatarhintinner':['UserPopout','avatarHintInner'],'userpopoutavatarwrapper':['UserPopout','avatarWrapper'],'userpopoutavatarwrappernormal':['UserPopout','avatarWrapperNormal'],'userpopoutbody':['UserPopout','body'],'userpopoutbodytitle':['UserPopout','bodyTitle'],'userpopoutcustomstatus':['UserPopout','customStatus'],'userpopoutcustomstatusemoji':['UserPopout','customStatusEmoji'],'userpopoutcustomstatussoloemoji':['UserPopout','customStatusSoloEmoji'],'userpopoutcustomstatustext':['UserPopout','customStatusText'],'userpopoutendbodysection':['UserPopout','endBodySection'],'userpopoutfooter':['UserPopout','footer'],'userpopoutheader':['UserPopout','header'],'userpopoutheaderbottagwithnickname':['UserPopout','headerBotTagWithNickname'],'userpopoutheadernamewrapper':['UserPopout','headerNameWrapper'],'userpopoutheadernickname':['UserPopout','headerName'],'userpopoutheadernormal':['UserPopout','headerNormal'],'userpopoutheaderplaying':['UserPopout','headerPlaying'],'userpopoutheaderspotify':['UserPopout','headerSpotify'],'userpopoutheaderstreaming':['UserPopout','headerStreaming'],'userpopoutheadertag':['UserPopout','headerTag'],'userpopoutheadertagnonickname':['UserPopout','headerTagNoNickname'],'userpopoutheadertagusernamenonickname':['UserPopout','headerTagUsernameNoNickname'],'userpopoutheadertagwithnickname':['UserPopout','headerTagWithNickname'],'userpopoutheadertext':['UserPopout','headerText'],'userpopoutheadertop':['UserPopout','headerTop'],'userpopoutprotip':['UserPopout','protip'],'userpopoutrole':['Role','role'],'userpopoutrolecircle':['Role','roleCircle'],'userpopoutrolelist':['UserPopout','rolesList'],'userpopoutrolename':['Role','roleName'],'userpopoutroles':['Role','root'],'userprofile':['UserProfile','root'],'userprofilebody':['UserProfile','body'],'userprofilebottag':['UserProfile','botTag'],'userprofilecustomstatus':['UserProfile','customStatusText'],'userprofilecustomstatusemoji':['UserProfile','customStatusEmoji'],'userprofileheader':['UserProfile','header'],'userprofileheaderfill':['UserProfile','headerFill'],'userprofileheaderinfo':['UserProfile','headerInfo'],'userprofilelistavatar':['UserProfile','listAvatar'],'userprofilelistguildavatarwithouticon':['UserProfile','guildAvatarWithoutIcon'],'userprofilenametag':['UserProfile','nameTag'],'userprofiletopsectionnormal':['UserProfile','topSectionNormal'],'userprofiletopsectionplaying':['UserProfile','topSectionPlaying'],'userprofiletopsectionspotify':['UserProfile','topSectionSpotify'],'userprofiletopsectionstreaming':['UserProfile','topSectionStreaming'],'userprofiletopsectionxbox':['UserProfile','topSectionXbox'],'userprofileusername':['UserProfile','username'],'username':['NameTag','username'],'usernotepopout':['UserPopout','note'],'usernoteprofile':['UserProfile','note'],'usernotetextarea':['NoteTextarea','textarea'],'vertical':['Flex','vertical'],'voiceavatar':['VoiceChannel','avatar'],'voiceavatarcontainer':['VoiceChannel','avatarContainer'],'voiceavatarlarge':['VoiceChannel','avatarLarge'],'voiceavatarsmall':['VoiceChannel','avatarSmall'],'voiceavatarspeaking':['VoiceChannel','avatarSpeaking'],'voiceclickable':['VoiceChannel','clickable'],'voicecontent':['VoiceChannel','content'],'voicedetails':['VoiceDetails','container'],'voicedetailsactionbuttons':['VoiceDetails','actionButtons'],'voicedetailsbutton':['VoiceDetails','button'],'voicedetailsbuttonactive':['VoiceDetails','buttonActive'],'voicedetailsbuttoncolor':['VoiceDetails','buttonColor'],'voicedetailsbuttonicon':['VoiceDetails','buttonIcon'],'voicedetailschannel':['VoiceDetails','channel'],'voicedetailscustomstatuscontainer':['VoiceDetails','customStatusContainer'],'voicedetailshotspot':['VoiceDetails','hotspot'],'voicedetailsinner':['VoiceDetails','inner'],'voicedetailslabelwrapper':['VoiceDetailsPing','labelWrapper'],'voicedetailsping':['VoiceDetailsPing','ping'],'voicedetailspingforeground':['VoiceDetailsPing','pingForeground'],'voicedetailsqualityaverage':['VoiceDetailsPing','rtcConnectionQualityAverage'],'voicedetailsqualitybad':['VoiceDetailsPing','rtcConnectionQualityBad'],'voicedetailsqualityfine':['VoiceDetailsPing','rtcConnectionQualityFine'],'voicedetailsstatus':['VoiceDetailsPing','rtcConnectionStatus'],'voicedetailsstatusconnected':['VoiceDetailsPing','rtcConnectionStatusConnected'],'voicedetailsstatusconnecting':['VoiceDetailsPing','rtcConnectionStatusConnecting'],'voicedetailsstatuserror':['VoiceDetailsPing','rtcConnectionStatusError'],'voicedetailsstatuswithpopout':['VoiceDetails','statusWithPopout'],'voicedraggable':['NotFound','voiceDraggable'],'voiceflipped':['VoiceChannel','flipped'],'voiceicon':['VoiceChannel','icon'],'voiceicons':['VoiceChannel','icons'],'voiceiconspacing':['VoiceChannel','iconSpacing'],'voicelist':['VoiceChannel','list'],'voicelist2':['VoiceChannelList','list'],'voicelistcollapsed':['VoiceChannel','listCollapse'],'voicelistcollapsed2':['VoiceChannelList','collapsed'],'voicelistdefault':['VoiceChannel','listDefault'],'voiceliveicon':['VoiceChannel','liveIcon'],'voicename':['VoiceChannel','username'],'voicenamefont':['VoiceChannel','usernameFont'],'voicenamespeaking':['VoiceChannel','usernameSpeaking'],'voiceselected':['VoiceChannel','selected'],'voiceuser':['VoiceChannel','voiceUser'],'voiceuserlarge':['VoiceChannel','userLarge'],'voiceusersmall':['VoiceChannel','userSmall'],'webhookcard':['WebhookCard','card'],'webhookcardbody':['WebhookCard','body'],'webhookcardcopybutton':['WebhookCard','copyButton'],'webhookcardheader':['WebhookCard','header'],'wrap':['Flex','wrap'],'wrapreverse':['Flex','wrapReverse']};b['DiscordClasses']=Object['assign']({},u);c['getDiscordClass']=(K,L)=>{let M=t['BDFDB']['BDFDBundefined'];if(u[K]===undefined){b['LogUtils']['warn'](K+'\x20not\x20found\x20in\x20DiscordClasses');return M;}else if(!b['ArrayUtils']['is'](u[K])||u[K]['length']!=0x2){b['LogUtils']['warn'](K+'\x20is\x20not\x20an\x20Array\x20of\x20Length\x202\x20in\x20DiscordClasses');return M;}else if(t[u[K][0x0]]===undefined){b['LogUtils']['warn'](u[K][0x0]+'\x20not\x20found\x20in\x20DiscordClassModules');return M;}else if(t[u[K][0x0]][u[K][0x1]]===undefined){b['LogUtils']['warn'](u[K][0x1]+'\x20not\x20found\x20in\x20'+u[K][0x0]+'\x20in\x20DiscordClassModules');return M;}else{M=t[u[K][0x0]][u[K][0x1]];if(L){M=M['split']('\x20')['filter'](N=>N['indexOf']('da-')!=0x0)['join'](L?'.':'\x20');M=M||t['BDFDB']['BDFDBundefined'];}else{if(b['BDUtils']['getSettings'](b['BDUtils']['settingsIds']['normalizedClasses']))M=M['split']('\x20')['filter'](N=>N['indexOf']('da-')!=0x0)['map'](N=>N['replace'](/^([A-z0-9]+?)-([A-z0-9_-]{6})$/g,'$1-$2\x20da-$1'))['join']('\x20');}return b['ArrayUtils']['removeCopies'](M['split']('\x20'))['join']('\x20');}};b['disCN']=new Proxy(u,{'get':function(K,L){return c['getDiscordClass'](L,![])['replace']('#','');}});b['disCNS']=new Proxy(u,{'get':function(K,L){return c['getDiscordClass'](L,![])['replace']('#','')+'\x20';}});b['disCNC']=new Proxy(u,{'get':function(K,L){return c['getDiscordClass'](L,![])['replace']('#','')+',';}});b['dotCN']=new Proxy(u,{'get':function(K,L){let M=c['getDiscordClass'](L,!![]);return(M['indexOf']('#')==0x0?'':'.')+M;}});b['dotCNS']=new Proxy(u,{'get':function(K,L){let M=c['getDiscordClass'](L,!![]);return(M['indexOf']('#')==0x0?'':'.')+M+'\x20';}});b['dotCNC']=new Proxy(u,{'get':function(K,L){let M=c['getDiscordClass'](L,!![]);return(M['indexOf']('#')==0x0?'':'.')+M+',';}});b['notCN']=new Proxy(u,{'get':function(K,L){return':not(.'+c['getDiscordClass'](L,!![])['split']('.')[0x0]+')';}});b['notCNS']=new Proxy(u,{'get':function(K,L){return':not(.'+c['getDiscordClass'](L,!![])['split']('.')[0x0]+')\x20';}});b['notCNC']=new Proxy(u,{'get':function(K,L){return':not(.'+c['getDiscordClass'](L,!![])['split']('.')[0x0]+'),';}});var v=n['LanguageStore']&&n['LanguageStore']['_proxyContext']?Object['assign']({},n['LanguageStore']['_proxyContext']['defaultMessages']):{};b['LanguageUtils']={};b['LanguageUtils']['languages']={'$discord':{'name':'Discord\x20(English))','id':'en','ownlang':'English'},'af':{'name':'Afrikaans','id':'af','ownlang':'Afrikaans'},'sq':{'name':'Albanian','id':'sq','ownlang':'Shqiptar'},'am':{'name':'Amharic','id':'am','ownlang':'አማርኛ'},'ar':{'name':'Arabic','id':'ar','ownlang':'اللغة\x20العربية'},'hy':{'name':'Armenian','id':'hy','ownlang':'Հայերեն'},'az':{'name':'Azerbaijani','id':'az','ownlang':'آذربایجان\x20دیلی'},'ba':{'name':'Bashkir','id':'ba','ownlang':'Башҡорт'},'eu':{'name':'Basque','id':'eu','ownlang':'Euskara'},'be':{'name':'Belarusian','id':'be','ownlang':'Беларуская'},'bn':{'name':'Bengali','id':'bn','ownlang':'বাংলা'},'bs':{'name':'Bosnian','id':'bs','ownlang':'Босански'},'bg':{'name':'Bulgarian','id':'bg','ownlang':'български'},'my':{'name':'Burmese','id':'my','ownlang':'မြန်မာစာ'},'ca':{'name':'Catalan','id':'ca','ownlang':'Català'},'ceb':{'name':'Cebuano','id':'ceb','ownlang':'Bisaya'},'ny':{'name':'Chichewa','id':'ny','ownlang':'Nyanja'},'zh':{'name':'Chinese','id':'zh','ownlang':'中文'},'zh-HK':{'name':'Chinese\x20(Hong\x20Kong)','id':'zh-HK','ownlang':'香港中文'},'zh-CN':{'name':'Chinese\x20(Simplified)','id':'zh-CN','ownlang':'简体中文'},'zh-TW':{'name':'Chinese\x20(Traditional)','id':'zh-TW','ownlang':'繁體中文'},'co':{'name':'Corsican','id':'co','ownlang':'Corsu'},'hr':{'name':'Croatian','id':'hr','ownlang':'Hrvatski'},'cs':{'name':'Czech','id':'cs','ownlang':'Čeština'},'da':{'name':'Danish','id':'da','ownlang':'Dansk'},'nl':{'name':'Dutch','id':'nl','ownlang':'Nederlands'},'en':{'name':'English','id':'en','ownlang':'English'},'en-GB':{'name':'English\x20(UK)','id':'en-GB','ownlang':'English\x20(UK)'},'en-US':{'name':'English\x20(US)','id':'en-US','ownlang':'English\x20(US)'},'eo':{'name':'Esperanto','id':'eo','ownlang':'Esperanto'},'et':{'name':'Estonian','id':'et','ownlang':'Eesti'},'fil':{'name':'Filipino','id':'fil','ownlang':'Wikang\x20Filipino'},'fi':{'name':'Finnish','id':'fi','ownlang':'Suomi'},'fr':{'name':'French','id':'fr','ownlang':'Français'},'fr-CA':{'name':'French\x20(Canadian)','id':'fr-CA','ownlang':'Français\x20Canadien'},'fy':{'name':'Frisian','id':'fy','ownlang':'Frysk'},'gl':{'name':'Galician','id':'gl','ownlang':'Galego'},'ka':{'name':'Georgian','id':'ka','ownlang':'ქართული'},'de':{'name':'German','id':'de','ownlang':'Deutsch'},'de-AT':{'name':'German\x20(Austria)','id':'de-AT','ownlang':'Österreichisch\x20Deutsch'},'de-CH':{'name':'German\x20(Switzerland)','id':'de-CH','ownlang':'Schweizerdeutsch'},'el':{'name':'Greek','id':'el','ownlang':'Ελληνικά'},'gu':{'name':'Gujarati','id':'gu','ownlang':'ગુજરાતી'},'ht':{'name':'Haitian\x20Creole','id':'ht','ownlang':'Kreyòl\x20Ayisyen'},'ha':{'name':'Hausa','id':'ha','ownlang':'حَوْسَ'},'haw':{'name':'Hawaiian','id':'haw','ownlang':'ʻŌlelo\x20Hawaiʻi'},'he':{'name':'Hebrew','id':'he','ownlang':'עברית'},'iw':{'name':'Hebrew\x20(Israel)','id':'iw','ownlang':'עברית'},'hi':{'name':'Hindi','id':'hi','ownlang':'हिन्दी'},'hmn':{'name':'Hmong','id':'hmn','ownlang':'lol\x20Hmongb'},'hu':{'name':'Hungarian','id':'hu','ownlang':'Magyar'},'is':{'name':'Icelandic','id':'is','ownlang':'Íslenska'},'ig':{'name':'Igbo','id':'ig','ownlang':'Asụsụ\x20Igbo'},'id':{'name':'Indonesian','id':'id','ownlang':'Bahasa\x20Indonesia'},'ga':{'name':'Irish','id':'ga','ownlang':'Gaeilge'},'it':{'name':'Italian','id':'it','ownlang':'Italiano'},'ja':{'name':'Japanese','id':'ja','ownlang':'日本語'},'jv':{'name':'Javanese','id':'jv','ownlang':'ꦧꦱꦗꦮ'},'jw':{'name':'Javanese\x20(Javanese)','id':'jw','ownlang':'ꦧꦱꦗꦮ'},'kn':{'name':'Kannada','id':'kn','ownlang':'ಕನ್ನಡ'},'kk':{'name':'Kazakh','id':'kk','ownlang':'Қазақ\x20Tілі'},'km':{'name':'Khmer','id':'km','ownlang':'ភាសាខ្មែរ'},'rw':{'name':'Kinyarwanda','id':'rw','ownlang':'Ikinyarwanda'},'ko':{'name':'Korean','id':'ko','ownlang':'한국어'},'ku':{'name':'Kurdish','id':'ku','ownlang':'کوردی'},'ky':{'name':'Kyrgyz','id':'ky','ownlang':'кыргызча'},'lo':{'name':'Lao','id':'lo','ownlang':'ພາສາລາວ'},'la':{'name':'Latin','id':'la','ownlang':'Latina'},'lv':{'name':'Latvian','id':'lv','ownlang':'Latviešu'},'lt':{'name':'Lithuanian','id':'lt','ownlang':'Lietuvių'},'lb':{'name':'Luxembourgish','id':'lb','ownlang':'Lëtzebuergesch'},'mk':{'name':'Macedonian','id':'mk','ownlang':'Mакедонски'},'mg':{'name':'Malagasy','id':'mg','ownlang':'Malagasy'},'ms':{'name':'Malay','id':'ms','ownlang':'بهاس\x20ملايو'},'ml':{'name':'Malayalam','id':'ml','ownlang':'മലയാളം'},'mt':{'name':'Maltese','id':'mt','ownlang':'Malti'},'mi':{'name':'Maori','id':'mi','ownlang':'te\x20Reo\x20Māori'},'mr':{'name':'Marathi','id':'mr','ownlang':'मराठी'},'mhr':{'name':'Mari','id':'mhr','ownlang':'марий\x20йылме'},'mn':{'name':'Mongolian','id':'mn','ownlang':'Монгол\x20Хэл'},'my':{'name':'Myanmar\x20(Burmese)','id':'my','ownlang':'မြန်မာл\x20Хэл'},'ne':{'name':'Nepali','id':'ne','ownlang':'नेपाली'},'no':{'name':'Norwegian','id':'no','ownlang':'Norsk'},'or':{'name':'Odia','id':'or','ownlang':'ଓଡ଼ିଆ'},'pap':{'name':'Papiamento','id':'pap','ownlang':'Papiamentu'},'ps':{'name':'Pashto','id':'ps','ownlang':'پښتو'},'fa':{'name':'Persian','id':'fa','ownlang':'فارسی'},'pl':{'name':'Polish','id':'pl','ownlang':'Polski'},'pt':{'name':'Portuguese','id':'pt','ownlang':'Português'},'pt-BR':{'name':'Portuguese\x20(Brazil)','id':'pt-BR','ownlang':'Português\x20do\x20Brasil'},'pt-PT':{'name':'Portuguese\x20(Portugal)','id':'pt-PT','ownlang':'Português\x20do\x20Portugal'},'pa':{'name':'Punjabi','id':'pa','ownlang':'पंजाबी'},'ro':{'name':'Romanian','id':'ro','ownlang':'Română'},'ru':{'name':'Russian','id':'ru','ownlang':'Pусский'},'sm':{'name':'Samoan','id':'sm','ownlang':'Gagana\x20Sāmoa'},'gd':{'name':'Scottish\x20Gaelic','id':'gd','ownlang':'Gàidhlig'},'sr':{'name':'Serbian','id':'sr','ownlang':'Српски'},'st':{'name':'Sesotho','id':'st','ownlang':'Sesotho'},'sn':{'name':'Shona','id':'sn','ownlang':'Shona'},'sd':{'name':'Sindhi','id':'sd','ownlang':'سنڌي'},'si':{'name':'Sinhala','id':'si','ownlang':'සිංහල'},'sk':{'name':'Slovak','id':'sk','ownlang':'Slovenčina'},'sl':{'name':'Slovenian','id':'sl','ownlang':'Slovenščina'},'so':{'name':'Somali','id':'so','ownlang':'Soomaali'},'es':{'name':'Spanish','id':'es','ownlang':'Español'},'es-419':{'name':'Spanish\x20(Latin\x20America)','id':'es-419','ownlang':'Español\x20latinoamericano'},'su':{'name':'Sundanese','id':'su','ownlang':'Basa\x20Sunda'},'sw':{'name':'Swahili','id':'sw','ownlang':'Kiswahili'},'sv':{'name':'Swedish','id':'sv','ownlang':'Svenska'},'tl':{'name':'Tagalog','id':'tl','ownlang':'Wikang\x20Tagalog'},'tg':{'name':'Tajik','id':'tg','ownlang':'тоҷикӣ'},'ta':{'name':'Tamil','id':'ta','ownlang':'தமிழ்'},'tt':{'name':'Tatar','id':'tt','ownlang':'татарча'},'te':{'name':'Telugu','id':'te','ownlang':'తెలుగు'},'th':{'name':'Thai','id':'th','ownlang':'ภาษาไทย'},'tr':{'name':'Turkish','id':'tr','ownlang':'Türkçe'},'tk':{'name':'Turkmen','id':'tk','ownlang':'Türkmençe'},'udm':{'name':'Udmurt','id':'udm','ownlang':'удмурт\x20кыл'},'uk':{'name':'Ukrainian','id':'uk','ownlang':'Yкраїнський'},'ur':{'name':'Urdu','id':'ur','ownlang':'اُردُو'},'ug':{'name':'Uyghur','id':'ug','ownlang':'ئۇيغۇر\x20تىلى'},'uz':{'name':'Uzbek','id':'uz','ownlang':'اوزبیک'},'vi':{'name':'Vietnamese','id':'vi','ownlang':'Tiếng\x20Việt\x20Nam'},'cy':{'name':'Welsh','id':'cy','ownlang':'Cymraeg'},'xh':{'name':'Xhosa','id':'xh','ownlang':'Xhosa'},'yi':{'name':'Yiddish','id':'yi','ownlang':'ייִדיש\x20ייִדיש‬'},'yo':{'name':'Yoruba','id':'yo','ownlang':'Èdè\x20Yorùbá'},'zu':{'name':'Zulu','id':'zu','ownlang':'Zulu'}};c['LibraryStrings']={'hr':{'ascending':'Uzlazni','descending':'Silazni','file_navigator_text':'Pregledajte\x20datoteku','first':'Prvi','last':'Zadnji','library_settings':'Postavke\x20biblioteke','order':'Slijed','sort_by':'Poredaj\x20po','toast_plugin_started':'{{var0}}\x20je\x20započeo.','toast_plugin_stopped':'{{var0}}\x20zaustavljen.','toast_plugin_translated':'prijevod\x20na\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20zamijenjen\x20je\x20s\x20{{var2}}\x20{{var3}}.','update_notice_click':'Kliknite\x20za\x20ažuriranje!','update_notice_reload':'Za\x20završetak\x20ažuriranja\x20potrebno\x20je\x20ponovo\x20učitati.','update_notice_update':'Sljedeće\x20dodatke\x20treba\x20ažurirati:'},'da':{'ascending':'Stigende','descending':'Aftagende','file_navigator_text':'Gennemse\x20fil','first':'Første','last':'Sidste','library_settings':'Biblioteksindstillinger','order':'Sekvens','sort_by':'Sorter\x20efter','toast_plugin_started':'{{var0}}\x20er\x20startet.','toast_plugin_stopped':'{{var0}}\x20er\x20stoppet.','toast_plugin_translated':'oversat\x20til\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20blev\x20erstattet\x20af\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klik\x20for\x20at\x20opdatere!','update_notice_reload':'For\x20at\x20afslutte\x20opdateringen\x20skal\x20du\x20genindlæse.','update_notice_update':'Følgende\x20plugins\x20skal\x20opdateres:'},'de':{'ascending':'Aufsteigend','descending':'Absteigend','file_navigator_text':'Datei\x20durchsuchen','first':'Erste','last':'Letzte','library_settings':'Bibliothekseinstellungen','order':'Reihenfolge','sort_by':'Sortieren\x20nach','toast_plugin_started':'{{var0}}\x20wurde\x20gestartet.','toast_plugin_stopped':'{{var0}}\x20wurde\x20gestoppt.','toast_plugin_translated':'auf\x20{{var0}}\x20übersetzt.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20wurde\x20durch\x20{{var2}}\x20{{var3}}\x20ersetzt.','update_notice_click':'Zum\x20Aktualisieren\x20klicken!','update_notice_reload':'Lade\x20neu,\x20die\x20Aktualisierung\x20abzuschließen.','update_notice_update':'Die\x20folgenden\x20Plugins\x20müssen\x20aktualisiert\x20werden:'},'es':{'ascending':'Ascendente','descending':'Descendente','file_navigator_text':'Buscar\x20archivo','first':'Primero','last':'Último','library_settings':'Configuraciones\x20de\x20biblioteca','order':'Secuencia','sort_by':'Ordenar\x20por','toast_plugin_started':'{{var0}}\x20se\x20guilddiv\x20iniciado.','toast_plugin_stopped':'{{var0}}\x20se\x20guilddiv\x20detenido.','toast_plugin_translated':'traducido\x20a\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20ha\x20sido\x20reemplazado\x20por\x20{{var2}}\x20{{var3}}.','update_notice_click':'Haga\x20clic\x20para\x20actualizar!','update_notice_reload':'Para\x20finalizar\x20la\x20actualización,\x20debe\x20volver\x20a\x20cargar.','update_notice_update':'Los\x20siguientes\x20complementos\x20deben\x20actualizarse:'},'fr':{'ascending':'Ascendant','descending':'Descendant','file_navigator_text':'Parcourir\x20le\x20fichier','first':'Première','last':'Dernier','library_settings':'Paramètres\x20de\x20la\x20bibliothèque','order':'Séquence','sort_by':'Trier\x20par','toast_plugin_started':'{{var0}}\x20a\x20été\x20démarré.','toast_plugin_stopped':'{{var0}}\x20a\x20été\x20arrêté.','toast_plugin_translated':'traduit\x20en\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20a\x20été\x20remplacé\x20par\x20{{var2}}\x20{{var3}}.','update_notice_click':'Cliquez\x20pour\x20mettre\x20à\x20jour!','update_notice_reload':'Pour\x20terminer\x20la\x20mise\x20à\x20jour,\x20vous\x20devez\x20recharger.','update_notice_update':'Les\x20plugins\x20suivants\x20doivent\x20être\x20mis\x20à\x20jour:'},'it':{'ascending':'Ascendente','descending':'Discendente','file_navigator_text':'Sfoglia\x20file','first':'Primo','last':'Ultimo','library_settings':'Impostazioni\x20della\x20libreria','order':'Sequenza','sort_by':'Ordina\x20per','toast_plugin_started':'{{var0}}\x20è\x20stato\x20avviato.','toast_plugin_stopped':'{{var0}}\x20è\x20stato\x20interrotto.','toast_plugin_translated':'tradotto\x20in\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20è\x20stato\x20sostituito\x20da\x20{{var2}}\x20{{var3}}.','update_notice_click':'Clicca\x20per\x20aggiornare!','update_notice_reload':'Per\x20terminare\x20l\x27aggiornamento\x20è\x20necessario\x20ricaricare.','update_notice_update':'I\x20seguenti\x20plugin\x20devono\x20essere\x20aggiornati:'},'nl':{'ascending':'Oplopend','descending':'Aflopend','file_navigator_text':'Bestand\x20zoeken','first':'Eerste','last':'Laatste','library_settings':'Bibliotheekinstellingen','order':'Volgorde','sort_by':'Sorteer\x20op','toast_plugin_started':'{{var0}}\x20is\x20gestart.','toast_plugin_stopped':'{{var0}}\x20is\x20gestopt.','toast_plugin_translated':'vertaald\x20naar\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20is\x20vervangen\x20door\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klik\x20om\x20te\x20updaten!','update_notice_reload':'Om\x20de\x20update\x20te\x20voltooien,\x20moet\x20u\x20opnieuw\x20laden.','update_notice_update':'De\x20volgende\x20plug-ins\x20moeten\x20worden\x20bijgewerkt:'},'no':{'ascending':'Stigende','descending':'Synkende','file_navigator_text':'Bla\x20gjennom\x20fil','first':'Første','last':'Siste','library_settings':'Bibliotekinnstillinger','order':'Sekvens','sort_by':'Sorter\x20etter','toast_plugin_started':'{{var0}}\x20er\x20startet.','toast_plugin_stopped':'{{var0}}\x20er\x20stoppet.','toast_plugin_translated':'oversatt\x20til\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20er\x20erstattet\x20av\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klikk\x20for\x20å\x20oppdatere!','update_notice_reload':'For\x20å\x20fullføre\x20oppdateringen\x20må\x20du\x20laste\x20inn\x20på\x20nytt.','update_notice_update':'Følgende\x20plugins\x20må\x20oppdateres:'},'pl':{'ascending':'Rosnąco','descending':'Malejąco','file_navigator_text':'Przeglądać\x20plik','first':'Pierwszy','last':'Ostatni','library_settings':'Ustawienia\x20biblioteki','order':'Sekwencja','sort_by':'Sortuj\x20według','toast_plugin_started':'{{var0}}\x20został\x20uruchomiony.','toast_plugin_stopped':'{{var0}}\x20został\x20zatrzymany.','toast_plugin_translated':'przetłumaczono\x20na\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20został\x20zastąpiony\x20przez\x20{{var2}}\x20{{var3}}.','update_notice_click':'Kliknij,\x20aby\x20zaktualizować!','update_notice_reload':'Aby\x20zakończyć\x20aktualizację,\x20musisz\x20ponownie\x20załadować.','update_notice_update':'Należy\x20zaktualizować\x20następujące\x20wtyczki:'},'pt-BR':{'ascending':'Crescente','descending':'Descendente','file_navigator_text':'Procurar\x20arquivo','first':'Primeiro','last':'Último','library_settings':'Configurações\x20da\x20biblioteca','order':'Seqüência','sort_by':'Ordenar\x20por','toast_plugin_started':'{{var0}}\x20foi\x20iniciado.','toast_plugin_stopped':'{{var0}}\x20foi\x20interrompido.','toast_plugin_translated':'traduzido\x20para\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20foi\x20substituído\x20por\x20{{var2}}\x20{{var3}}.','update_notice_click':'Clique\x20para\x20atualizar!','update_notice_reload':'Para\x20concluir\x20a\x20atualização,\x20você\x20precisa\x20recarregar.','update_notice_update':'Os\x20seguintes\x20plugins\x20precisam\x20ser\x20atualizados:'},'fi':{'ascending':'Nouseva','descending':'Laskeva','file_navigator_text':'Selaa\x20tiedostoa','first':'Ensimmäinen','last':'Viimeinen','library_settings':'Kirjastoasetukset','order':'Jakso','sort_by':'Järjestä','toast_plugin_started':'{{var0}}\x20on\x20käynnistetty.','toast_plugin_stopped':'{{var0}}\x20on\x20pysäytetty.','toast_plugin_translated':'käännetty\x20osoitteeseen\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20on\x20korvattu\x20{{var2}}\x20{{var3}}.','update_notice_click':'Napsauta\x20päivittääksesi!','update_notice_reload':'Päivittäminen\x20on\x20suoritettava\x20uudelleen.','update_notice_update':'Seuraavat\x20laajennukset\x20on\x20päivitettävä:'},'sv':{'ascending':'Stigande','descending':'Nedåtgående','file_navigator_text':'Bläddra\x20i\x20fil','first':'Första','last':'Sista','library_settings':'Biblioteksinställningar','order':'Sekvens','sort_by':'Sortera\x20efter','toast_plugin_started':'{{var0}}\x20har\x20startats.','toast_plugin_stopped':'{{var0}}\x20har\x20blivit\x20stoppad.','toast_plugin_translated':'översatt\x20till\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20har\x20ersatts\x20av\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klicka\x20för\x20att\x20uppdatera!','update_notice_reload':'För\x20att\x20avsluta\x20uppdateringen\x20måste\x20du\x20ladda\x20om.','update_notice_update':'Följande\x20plugins\x20måste\x20uppdateras:'},'tr':{'ascending':'Yükselen','descending':'Azalan','file_navigator_text':'Dosyaya\x20gözat','first':'Ilk','last':'Son','library_settings':'Kütüphane\x20Ayarları','order':'Sıra','sort_by':'Göre\x20sırala','toast_plugin_started':'{{var0}}\x20başlatıldı.','toast_plugin_stopped':'{{var0}}\x20durduruldu.','toast_plugin_translated':'{{var0}}\x20olarak\x20çevrildi.','toast_plugin_updated':'{{var0}}\x20{{var1}},\x20{{var2}}\x20{{var3}}\x20ile\x20değiştirildi.','update_notice_click':'Güncellemek\x20için\x20tıklayın!','update_notice_reload':'Güncellemeyi\x20tamamlamak\x20için\x20yeniden\x20yüklemeniz\x20gerekir.','update_notice_update':'Aşağıdaki\x20eklentilerin\x20güncellenmesi\x20gerekir:'},'cs':{'ascending':'Vzestupně','descending':'Klesající','file_navigator_text':'Procházet\x20soubor','first':'První','last':'Poslední','library_settings':'Nastavení\x20knihovny','order':'Sekvence','sort_by':'Seřazeno\x20podle','toast_plugin_started':'{{var0}}\x20byl\x20spuštěn.','toast_plugin_stopped':'{{var0}}\x20byl\x20zastaven.','toast_plugin_translated':'přeložen\x20do\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20byl\x20nahrazen\x20{{var2}}\x20{{var3}}.','update_notice_click':'Klepnutím\x20aktualizujte!','update_notice_reload':'Pro\x20dokončení\x20aktualizace\x20je\x20třeba\x20znovu\x20načíst.','update_notice_update':'Následující\x20doplňky\x20je\x20třeba\x20aktualizovat:'},'bg':{'ascending':'Възходящ','descending':'Низходящ','file_navigator_text':'Прегледайте\x20файла','first':'Първият','last':'Последният','library_settings':'Настройки\x20на\x20библиотеката','order':'Последователност','sort_by':'Сортиране\x20по','toast_plugin_started':'{{var0}}\x20е\x20стартиран.','toast_plugin_stopped':'{{var0}}\x20е\x20спрян.','toast_plugin_translated':'преведена\x20на\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20е\x20заменен\x20с\x20{{var2}}\x20{{var3}}.','update_notice_click':'Кликнете,\x20за\x20да\x20актуализирате!','update_notice_reload':'За\x20да\x20завършите\x20актуализацията,\x20трябва\x20да\x20презаредите.','update_notice_update':'Следните\x20приставки\x20трябва\x20да\x20бъдат\x20актуализирани:'},'ru':{'ascending':'По\x20возрастанию','descending':'По\x20убыванию','file_navigator_text':'Просмотр\x20файла','first':'Первый','last':'Последний','library_settings':'Настройки\x20библиотеки','order':'Последовательность','sort_by':'Сортировать\x20по','toast_plugin_started':'{{var0}}\x20запущен.','toast_plugin_stopped':'{{var0}}\x20остановлен.','toast_plugin_translated':'переведен\x20на\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20был\x20заменен\x20{{var2}}\x20{{var3}}.','update_notice_click':'Нажмите,\x20чтобы\x20обновить!','update_notice_reload':'Для\x20завершения\x20обновления\x20необходимо\x20перезагрузить.','update_notice_update':'Следующие\x20плагины\x20должны\x20быть\x20обновлены:'},'uk':{'ascending':'Зростання','descending':'Спад','file_navigator_text':'Перегляньте\x20файл','first':'Перший','last':'Останній','library_settings':'Налаштування\x20бібліотеки','order':'Послідовність','sort_by':'Сортувати\x20за','toast_plugin_started':'{{var0}}\x20було\x20запущено.','toast_plugin_stopped':'{{var0}}\x20було\x20зупинено.','toast_plugin_translated':'перекладено\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20було\x20замінено\x20на\x20{{var2}}\x20{{var3}}.','update_notice_click':'Натисніть,\x20щоб\x20оновити!','update_notice_reload':'Щоб\x20закінчити\x20оновлення,\x20вам\x20потрібно\x20перезавантажити.','update_notice_update':'Необхідно\x20оновити\x20наступні\x20плагіни:'},'ja':{'ascending':'上昇','descending':'降順','file_navigator_text':'ファイルを参照','first':'最初','last':'最後','library_settings':'ライブラリ設定','order':'ソート順','sort_by':'並び替え','toast_plugin_started':'{{var0}}が開始されました.','toast_plugin_stopped':'{{var0}}が停止しました.','toast_plugin_translated':'は{{var0}}に翻訳されました.','toast_plugin_updated':'{{var0}}\x20{{var1}}は{{var2}}\x20{{var3}}に置き換えられました.','update_notice_click':'クリックして更新!','update_notice_reload':'更新を完了するには、リロードする必要があります.','update_notice_update':'次のプラグインを更新する必要があります:'},'zh-TW':{'ascending':'上升','descending':'降序','file_navigator_text':'瀏覽文件','first':'首先','last':'最後','library_settings':'庫設置','order':'排序','sort_by':'排序方式','toast_plugin_started':'{{var0}}已經啟動.','toast_plugin_stopped':'{{var0}}已停止.','toast_plugin_translated':'翻譯為{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}已由{{var2}}\x20{{var3}}取代.','update_notice_click':'點擊更新!','update_notice_reload':'要完成更新,您需要重新加載.','update_notice_update':'以下插件需要更新:'},'ko':{'ascending':'오름차순','descending':'내림차순','file_navigator_text':'파일\x20찾아보기','first':'첫번째','last':'마지막','library_settings':'라이브러리\x20설정','order':'정렬\x20순서','sort_by':'정렬\x20기준','toast_plugin_started':'{{var0}}\x20시작되었습니다.','toast_plugin_stopped':'{{var0}}\x20중지되었습니다.','toast_plugin_translated':'{{var0}}\x20로\x20번역되었습니다.','toast_plugin_updated':'{{var0}}\x20{{var1}}이\x20(가)\x20{{var2}}\x20{{var3}}\x20(으)로\x20대체되었습니다.','update_notice_click':'업데이트하려면\x20클릭하십시오!','update_notice_reload':'업데이트를\x20마치려면\x20다시로드해야합니다.','update_notice_update':'다음\x20플러그인을\x20업데이트해야합니다:'},'default':{'ascending':'Ascending','descending':'Descending','file_navigator_text':'Browse\x20File','first':'First','last':'Last','library_settings':'Library\x20Settings','order':'Order','sort_by':'Sort\x20by','toast_plugin_started':'{{var0}}\x20has\x20been\x20started.','toast_plugin_stopped':'{{var0}}\x20has\x20been\x20stopped.','toast_plugin_translated':'translated\x20to\x20{{var0}}.','toast_plugin_updated':'{{var0}}\x20{{var1}}\x20has\x20been\x20replaced\x20by\x20{{var2}}\x20{{var3}}.','update_notice_click':'Click\x20to\x20update!','update_notice_reload':'To\x20finish\x20updating\x20you\x20need\x20to\x20reload.','update_notice_update':'The\x20following\x20plugins\x20need\x20to\x20be\x20updated:'}};b['LanguageUtils']['getLanguage']=function(){let K=n['LanguageStore']['chosenLocale']||'en';if(K=='en-GB'||K=='en-US')K='en';let L=K['split']('-');let M=L[0x0];let N=L[0x1]||'';K=N&&M['toUpperCase']()!==N['toUpperCase']()?M+'-'+N:M;return b['LanguageUtils']['languages'][K]||b['LanguageUtils']['languages'][M]||b['LanguageUtils']['languages']['en'];};b['LanguageUtils']['LanguageStrings']=new Proxy(v,{'get':function(K,L){let M=n['LanguageStore']['Messages'][L];if(!M)b['LogUtils']['warn'](L+'\x20not\x20found\x20in\x20BDFDB.LanguageUtils.LanguageStrings');else{if(M&&typeof M=='object'&&typeof M['format']=='function')return b['LanguageUtils']['LanguageStringsFormat'](L);else return M;}return'';}});b['LanguageUtils']['LanguageStringsCheck']=new Proxy(v,{'get':function(K,L){return!!n['LanguageStore']['Messages'][L];}});let w=K=>{let L='';if(typeof K=='string')L+=K;else if(b['ObjectUtils']['is'](K)){if(K['props'])L+=w(K['props']);else if(K['type']){let M=K['content']||K['children']&&K['children'][0x0]&&K['children'][0x0]['toString']()||'';if(M){if(K['type']=='text'||K['content'])L=w(M);else L+='<'+K['type']+'>'+w(M)+'';}}}else if(b['ArrayUtils']['is'](K))for(let N of K)L+=w(N);return L;};b['LanguageUtils']['LanguageStringsFormat']=function(K,...L){if(K){let M=n['LanguageStore']['Messages'][K];if(M&&typeof M=='object'&&typeof M['format']=='function'){let N=0x0,O,P={};while(!O&&N<0xa){N++;try{O=M['format'](P,![]);}catch(Q){O=null;let R=L['shift']();P[Q['toString']()['split']('for:\x20')[0x1]]=R!=null?R===0x0?'0':R:'undefined';}}if(O)return w(O);else{b['LogUtils']['warn'](K+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageUtils.LanguageStrings');return'';}}else return b['LanguageUtils']['LanguageStrings'][K];}else b['LogUtils']['warn'](K+'\x20enter\x20a\x20valid\x20key\x20to\x20format\x20the\x20string\x20in\x20BDFDB.LanguageUtils.LanguageStrings');return'';};b['LanguageUtils']['LibraryStrings']=new Proxy(c['LibraryStrings']['default'],{'get':function(K,L){let M=b['LanguageUtils']['getLanguage']()['id'];if(c['LibraryStrings'][M]&&c['LibraryStrings'][M][L])return c['LibraryStrings'][M][L];else if(c['LibraryStrings']['default'][L])return c['LibraryStrings']['default'][L];else b['LogUtils']['warn'](L+'\x20not\x20found\x20in\x20BDFDB.LanguageUtils.LibraryStrings');return'';}});b['LanguageUtils']['LibraryStringsCheck']=new Proxy(v,{'get':function(K,L){return!!c['LibraryStrings']['default'][L];}});b['LanguageUtils']['LibraryStringsFormat']=function(K,...L){if(K&&L['length']){let M=b['LanguageUtils']['getLanguage']()['id'],N=null;if(c['LibraryStrings'][M]&&c['LibraryStrings'][M][K])N=c['LibraryStrings'][M][K];else if(c['LibraryStrings']['default'][K])N=c['LibraryStrings']['default'][K];if(N){for(let O=0x0;O{if(n['LanguageStore']['chosenLocale']){b['TimeUtils']['clear'](K);let L=b['LanguageUtils']['getLanguage']();b['LanguageUtils']['languages']['$discord']['name']='Discord\x20('+L['name']+')';b['LanguageUtils']['languages']['$discord']['id']=L['id'];b['LanguageUtils']['languages']['$discord']['google']=L['google'];b['LanguageUtils']['languages']['$discord']['ownlang']=L['ownlang'];}},0x64);var x={'NativeSubComponents':{},'LibraryComponents':{}},y=n['React']&&n['React']['Component'];x['MenuItem']=y&&class BDFDB_MenuItem extends n['React']['Component']{['render'](){let K=(typeof this['props']['color']=='string'?this['props']['color']:x['LibraryComponents']['MenuItems']['Colors']['DEFAULT'])['toLowerCase']();let L=![];if(K){if(!b['DiscordClasses']['menu'+K]&&b['ColorUtils']['getType'](K)){L=!![];K=b['ColorUtils']['convert'](K,'RGBA');}else K=(x['LibraryComponents']['MenuItems']['Colors']['DEFAULT']||'')['toLowerCase']();}return b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],Object['assign']({'className':b['DOMUtils']['formatClassName'](b['disCN']['menuitem'],b['disCN']['menulabelcontainer'],K&&(L?b['disCN']['menucolorcustom']:b['disCN']['menu'+K]),this['props']['disabled']&&b['disCN']['menudisabled'],this['props']['isFocused']&&b['disCN']['menufocused']),'style':{'color':L&&(!this['props']['isFocused']?K:b['ColorUtils']['isBright'](K)?'#000':'#FFF'),'background':L&&this['props']['isFocused']&&K},'onClick':this['props']['disabled']?null:M=>{if(!this['props']['action'])return![];!this['props']['persisting']&&this['props']['onClose']();this['props']['action'](M,this);},'aria-disabled':this['props']['disabled'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['menulabel'],'children':[typeof this['props']['label']=='function'?this['props']['label'](this):this['props']['label'],this['props']['subtext']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['menusubtext'],'children':typeof this['props']['subtext']=='function'?this['props']['subtext'](this):this['props']['subtext']})]['filter'](M=>M)}),this['props']['hint']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuhintcontainer'],'children':typeof this['props']['hint']=='function'?this['props']['hint'](this):this['props']['hint']}),this['props']['icon']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuiconcontainer'],'children':b['ReactUtils']['createElement'](this['props']['icon'],{'className':b['disCN']['menuicon']})}),this['props']['imageUrl']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuimagecontainer'],'children':b['ReactUtils']['createElement']('img',{'className':b['disCN']['menuimage'],'src':typeof this['props']['imageUrl']=='function'?this['props']['imageUrl'](this):this['props']['imageUrl'],'alt':''})}),this['props']['hasSubmenu']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuiconcontainer'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['menucaret'],'name':x['LibraryComponents']['SvgIcon']['Names']['MENU_CARET']})})]['filter'](M=>M)},this['props']['menuItemProps']));}};x['ErrorBoundary']=y&&class BDFDB_ErrorBoundary extends n['React']['PureComponent']{constructor(K){super(K);this['state']={'hasError':![]};}static['getDerivedStateFromError'](K){return{'hasError':!![]};}['componentDidCatch'](K,L){b['LogUtils']['error']('Could\x20not\x20create\x20react\x20element!\x20'+K);}['render'](){if(this['state']['hasError'])return n['React']['createElement']('span',{'style':{'background':b['DiscordConstants']&&b['DiscordConstants']['Colors']&&b['DiscordConstants']['Colors']['PRIMARY_DARK'],'borderRadius':0x5,'color':b['DiscordConstants']&&b['DiscordConstants']['Colors']&&b['DiscordConstants']['Colors']['STATUS_RED'],'fontSize':0xc,'fontWeight':0x258,'padding':0x6,'textAlign':'center','verticalAlign':'center'},'children':'React\x20Component\x20Error'});return this['props']['children'];}};x['NativeSubComponents']['Button']=b['ModuleUtils']['findByProperties']('Colors','Hovers','Looks');x['NativeSubComponents']['Checkbox']=b['ModuleUtils']['findByName']('Checkbox');x['NativeSubComponents']['Clickable']=b['ModuleUtils']['findByName']('Clickable');x['NativeSubComponents']['FavButton']=b['ModuleUtils']['findByName']('GIFFavButton');x['NativeSubComponents']['KeybindRecorder']=b['ModuleUtils']['findByName']('KeybindRecorder');x['NativeSubComponents']['MenuCheckboxItem']=b['ModuleUtils']['findByName']('MenuCheckboxItem');x['NativeSubComponents']['MenuControlItem']=b['ModuleUtils']['findByName']('MenuControlItem');x['NativeSubComponents']['MenuItem']=b['ModuleUtils']['findByName']('MenuItem');x['NativeSubComponents']['PopoutContainer']=b['ModuleUtils']['findByName']('Popout');x['NativeSubComponents']['QuickSelect']=b['ModuleUtils']['findByName']('QuickSelectWrapper');x['NativeSubComponents']['RadioGroup']=b['ModuleUtils']['findByName']('RadioGroup');x['NativeSubComponents']['SearchBar']=b['ModuleUtils']['find'](K=>K&&K['displayName']=='SearchBar'&&K['prototype']['focus']);x['NativeSubComponents']['Select']=b['ModuleUtils']['findByName']('SelectTempWrapper');x['NativeSubComponents']['Slider']=b['ModuleUtils']['findByName']('Slider');x['NativeSubComponents']['Switch']=b['ModuleUtils']['findByName']('Switch');x['NativeSubComponents']['TabBar']=b['ModuleUtils']['findByName']('TabBar');x['NativeSubComponents']['Table']=b['ModuleUtils']['findByName']('Table');x['NativeSubComponents']['TextArea']=b['ModuleUtils']['findByName']('TextArea');x['NativeSubComponents']['TextInput']=b['ModuleUtils']['findByName']('TextInput');x['NativeSubComponents']['TooltipContainer']=b['ModuleUtils']['findByName']('Tooltip');x['LibraryComponents']['AddonCard']=c['loadPatchedComp']('AddonCard')||y&&class BDFDB_AddonCard extends n['React']['Component']{['render'](){return!b['ObjectUtils']['is'](this['props']['data'])?null:b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['_repoentry'],this['props']['className'],b['disCN']['_repocard'],b['disCN']['_reposettingsclosed'],b['disCN']['_repocheckboxitem']),'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['_repoheader'],'style':{'overflow':'visible'},'children':[b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repoheadertitle'],'children':[b['ReactUtils']['createElement']('span',{'className':b['disCN']['_reponame'],'children':this['props']['data']['name']}),'\x20v',b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repoversion'],'children':this['props']['data']['version']}),'\x20by\x20',b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repoauthor'],'children':this['props']['data']['author']})]}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['_repocontrols'],'children':this['props']['controls']})]}),b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerVertical'],{'outerClassName':b['disCN']['_repodescriptionwrap'],'className':b['disCN']['_repodescription'],'children':this['props']['data']['description']}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['_repofooter'],'children':[b['ReactUtils']['createElement']('span',{'className':b['disCN']['_repolinks'],'children':[]['concat'](this['props']['links'])['map']((K,L)=>b['ObjectUtils']['is'](K)&&[L>0x0&&'\x20|\x20',b['ReactUtils']['createElement']('a',{'className':b['DOMUtils']['formatClassName'](b['disCN']['_repolink'],typeof K['label']=='string'&&b['disCN']['_repolink']+'-'+K['label']['toLowerCase']()['replace'](/\s/g,'')),'href':K['href'],'children':K['label']})])['flat'](0xa)['filter'](K=>K)}),this['props']['buttons']]['flat'](0xa)['filter'](K=>K)})]});}};x['LibraryComponents']['Anchor']=b['ModuleUtils']['findByName']('Anchor');x['LibraryComponents']['Animations']=Object['assign']({},b['ModuleUtils']['findByProperties']('Controller','Spring'));x['LibraryComponents']['AutocompleteItems']=b['ModuleUtils']['findByProperties']('Generic','User','Command');x['LibraryComponents']['AutocompleteMenu']=b['ModuleUtils']['findByName']('Autocomplete');let z=b['ModuleUtils']['findByProperties']('AnimatedAvatar')||{};x['LibraryComponents']['Avatar']=z['default'];x['LibraryComponents']['AvatarComponents']=z;x['LibraryComponents']['BadgeAnimationContainer']=c['loadPatchedComp']('BadgeAnimationContainer')||y&&class BDFDB_BadgeAnimationContainer extends n['React']['Component']{['componentDidMount'](){b['ReactUtils']['forceUpdate'](this);}['componentWillAppear'](K){if(typeof K=='function')K();}['componentWillEnter'](K){if(typeof K=='function')K();}['componentWillLeave'](K){if(typeof K=='function')this['timeoutId']=setTimeout(K,0x12c);}['componentWillUnmount'](){clearTimeout(this['timeoutId']);}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Animations']['animated']['div'],{'className':this['props']['className'],'style':this['props']['animatedStyle'],'children':this['props']['children']});}};x['LibraryComponents']['Badges']=Object['assign']({},b['ModuleUtils']['findByProperties']('IconBadge','NumberBadge'));x['LibraryComponents']['Badges']['IconBadge']=c['loadPatchedComp']('Badges.IconBadge')||y&&class BDFDB_IconBadge extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['badgeiconbadge'],this['props']['className']),'style':Object['assign']({'backgroundColor':this['props']['disableColor']?null:this['props']['color']||b['DiscordConstants']['Colors']['STATUS_RED']},this['props']['style']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['badgeicon'],'name':this['props']['icon']})});}};x['LibraryComponents']['BotTag']=c['loadPatchedComp']('BotTag')||y&&class BDFDB_BotTag extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['render'](){return b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['invertColor']?b['disCN']['bottaginvert']:b['disCN']['bottagregular'],this['props']['useRemSizes']?b['disCN']['bottagrem']:b['disCN']['bottagpx']),'style':this['props']['style'],'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'children':b['ReactUtils']['createElement']('span',{'className':b['disCN']['bottagtext'],'children':this['props']['tag']||b['LanguageUtils']['LanguageStrings']['BOT_TAG_BOT']})});}};x['LibraryComponents']['Button']=c['loadPatchedComp']('Button')||y&&class BDFDB_Button extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['handleMouseDown'](K){if(typeof this['props']['onMouseDown']=='function')this['props']['onMouseDown'](K,this);}['handleMouseUp'](K){if(typeof this['props']['onMouseUp']=='function')this['props']['onMouseUp'](K,this);}['handleMouseEnter'](K){if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['render'](){let K=(this['props']['disabled']||this['props']['submitting'])&&(null!=this['props']['onMouseEnter']||null!=this['props']['onMouseLeave']);let L=b['ObjectUtils']['exclude'](this['props'],'look','color','hover','size','fullWidth','grow','disabled','submitting','type','style','wrapperClassName','className','innerClassName','onClick','onContextMenu','onMouseDown','onMouseUp','onMouseEnter','onMouseLeave','children','rel');let M=b['ReactUtils']['createElement']('button',Object['assign']({},!this['props']['disabled']&&!this['props']['submitting']&&L,{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['button'],this['props']['look']!=null?this['props']['look']:x['LibraryComponents']['Button']['Looks']['FILLED'],this['props']['color']!=null?this['props']['color']:x['LibraryComponents']['Button']['Colors']['BRAND'],this['props']['hover'],this['props']['size']!=null?this['props']['size']:x['LibraryComponents']['Button']['Sizes']['MEDIUM'],K&&this['props']['wrapperClassName'],this['props']['fullWidth']&&b['disCN']['buttonfullwidth'],(this['props']['grow']===undefined||this['props']['grow'])&&b['disCN']['buttongrow'],this['props']['hover']&&this['props']['hover']!==x['LibraryComponents']['Button']['Hovers']['DEFAULT']&&b['disCN']['buttonhashover'],this['props']['submitting']&&b['disCN']['buttonsubmitting']),'onClick':this['props']['disabled']||this['props']['submitting']?N=>{return N['preventDefault']();}:this['handleClick']['bind'](this),'onContextMenu':this['props']['disabled']||this['props']['submitting']?N=>{return N['preventDefault']();}:this['handleContextMenu']['bind'](this),'onMouseUp':!this['props']['disabled']&&this['handleMouseDown']['bind'](this),'onMouseDown':!this['props']['disabled']&&this['handleMouseUp']['bind'](this),'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'type':!this['props']['type']?'button':this['props']['type'],'disabled':this['props']['disabled'],'style':this['props']['style'],'rel':this['props']['rel'],'children':[this['props']['submitting']&&!this['props']['disabled']?b['ReactUtils']['createElement'](x['LibraryComponents']['Spinner'],{'type':x['LibraryComponents']['Spinner']['Type']['PULSING_ELLIPSIS'],'className':b['disCN']['buttonspinner'],'itemClassName':b['disCN']['buttonspinneritem']}):null,b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['buttoncontents'],this['props']['innerClassName']),'children':this['props']['children']})]}));return!K?M:b['ReactUtils']['createElement']('span',{'className':b['DOMUtils']['formatClassName'](b['disCN']['buttondisabledwrapper'],this['props']['wrapperClassName'],this['props']['size']!=null?this['props']['size']:x['LibraryComponents']['Button']['Sizes']['MEDIUM'],this['props']['fullWidth']&&b['disCN']['buttonfullwidth'],(this['props']['grow']===undefined||this['props']['grow'])&&b['disCN']['buttongrow']),'children':[M,b['ReactUtils']['createElement']('span',{'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'className':b['disCN']['buttondisabledoverlay']})]});}};x['LibraryComponents']['Card']=c['loadPatchedComp']('Card')||y&&class BDFDB_Card extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['hovercardwrapper'],this['props']['backdrop']&&b['disCN']['hovercard'],this['props']['className']),'onMouseEnter':K=>{if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);},'onMouseLeave':K=>{if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);},'onClick':K=>{if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);},'onContextMenu':K=>{if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);},'children':[!this['props']['noRemove']?b['ReactUtils']['createElement'](x['LibraryComponents']['CardRemoveButton'],{'onClick':K=>{if(typeof this['props']['onRemove']=='function')this['props']['onRemove'](K,this);b['ListenerUtils']['stopEvent'](K);}}):null,typeof this['props']['children']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'className':b['disCN']['hovercardinner'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'children':this['props']['children']})}):this['props']['children']]['flat'](0xa)['filter'](K=>K)}),'backdrop','noRemove'));}};c['setDefaultProps'](x['LibraryComponents']['Card'],{'backdrop':!![],'noRemove':![]});x['LibraryComponents']['CardRemoveButton']=b['ModuleUtils']['findByName']('RemoveButton');x['LibraryComponents']['ChannelTextAreaButton']=c['loadPatchedComp']('ChannelTextAreaButton')||y&&class BDFDB_ChannelTextAreaButton extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],{'look':x['LibraryComponents']['Button']['Looks']['BLANK'],'size':x['LibraryComponents']['Button']['Sizes']['NONE'],'aria-label':this['props']['label'],'tabIndex':this['props']['tabIndex'],'className':b['DOMUtils']['formatClassName'](b['disCN']['textareabuttonwrapper'],this['props']['isActive']&&b['disCN']['textareabuttonactive']),'innerClassName':b['DOMUtils']['formatClassName'](b['disCN']['textareabutton'],this['props']['className'],this['props']['pulse']&&b['disCN']['textareaattachbuttonplus']),'onClick':this['props']['onClick'],'onContextMenu':this['props']['onContextMenu'],'onMouseEnter':this['props']['onMouseEnter'],'onMouseLeave':this['props']['onMouseLeave'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':this['props']['iconName'],'iconSVG':this['props']['iconSVG'],'className':b['DOMUtils']['formatClassName'](b['disCN']['textareaicon'],this['props']['iconClassName'],this['props']['pulse']&&b['disCN']['textareaiconpulse']),'nativeClass':this['props']['nativeClass']})});}};c['setDefaultProps'](x['LibraryComponents']['ChannelTextAreaButton'],{'tabIndex':0x0});x['LibraryComponents']['CharCounter']=c['loadPatchedComp']('CharCounter')||y&&class BDFDB_CharCounter extends n['React']['Component']{['getCounterString'](){let K=this['refElement']||{},L='';if(b['DOMUtils']['containsClass'](this['refElement'],b['disCN']['textarea'])){let S=b['ReactUtils']['findOwner'](K,{'name':'ChannelEditorContainer','up':!![]});if(S)L=S['props']['textValue'];else L=K['value']||K['textContent']||'';}else L=K['value']||K['textContent']||'';let M=K['selectionStart']||0x0,N=K['selectionEnd']||0x0,O=N-M,P=b['DOMUtils']['getSelection']();let Q=!O&&!P?0x0:O||P['length'];Q=!Q?0x0:Q>L['length']?N||M?L['length']-(L['length']-N-M):L['length']:Q;let R=[typeof this['props']['renderPrefix']=='function'&&this['props']['renderPrefix'](L['length']),''+L['length']+(!this['props']['max']?'':'/'+this['props']['max'])+(!Q?'':'\x20('+Q+')'),typeof this['props']['renderSuffix']=='function'&&this['props']['renderSuffix'](L['length'])]['filter'](T=>T);if(typeof this['props']['onChange']=='function')this['props']['onChange'](this);return R['length']==0x1?R[0x0]:b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':R});}['updateCounter'](){if(!this['refElement'])return;b['TimeUtils']['clear'](this['updateTimeout']);this['updateTimeout']=b['TimeUtils']['timeout'](this['forceUpdateCounter']['bind'](this),0x64);}['forceUpdateCounter'](){if(!this['refElement'])return;this['props']['children']=this['getCounterString']();b['ReactUtils']['forceUpdate'](this);}['handleSelection'](){if(!this['refElement'])return;let K=N=>{b['TimeUtils']['timeout'](this['forceUpdateCounter']['bind'](this),0xa);};let L=N=>{document['removeEventListener']('mousemove',K);document['removeEventListener']('mouseup',L);if(this['refElement']['selectionEnd']-this['refElement']['selectionStart'])b['TimeUtils']['timeout'](O=>{document['addEventListener']('click',M);});};let M=N=>{b['TimeUtils']['timeout'](this['forceUpdateCounter']['bind'](this),0x64);document['removeEventListener']('mousemove',K);document['removeEventListener']('mouseup',L);document['removeEventListener']('click',M);};document['addEventListener']('mousemove',K);document['addEventListener']('mouseup',L);}['componentDidMount'](){if(this['props']['refClass']){let K=b['ReactUtils']['findDOMNode'](this);if(K&&K['parentElement']){this['refElement']=K['parentElement']['querySelector'](this['props']['refClass']);if(this['refElement']){if(!this['_updateCounter'])this['_updateCounter']=L=>{if(!document['contains'](K))b['ListenerUtils']['multiRemove'](this['refElement'],'keydown\x20click\x20change',this['_updateCounter']);else this['updateCounter']();};if(!this['_handleSelection'])this['_handleSelection']=L=>{if(!document['contains'](K))b['ListenerUtils']['multiRemove'](this['refElement'],'mousedown',this['_handleSelection']);else this['handleSelection']();};b['ListenerUtils']['multiRemove'](this['refElement'],'mousedown',this['_handleSelection']);b['ListenerUtils']['multiAdd'](this['refElement'],'mousedown',this['_handleSelection']);if(this['refElement']['tagName']=='INPUT'||this['refElement']['tagName']=='TEXTAREA'){b['ListenerUtils']['multiRemove'](this['refElement'],'keydown\x20click\x20change',this['_updateCounter']);b['ListenerUtils']['multiAdd'](this['refElement'],'keydown\x20click\x20change',this['_updateCounter']);}else{if(!this['_mutationObserver'])this['_mutationObserver']=new MutationObserver(L=>{if(!document['contains'](K))this['_mutationObserver']['disconnect']();else this['updateCounter']();});else this['_mutationObserver']['disconnect']();this['_mutationObserver']['observe'](this['refElement'],{'childList':!![],'subtree':!![]});}this['updateCounter']();}else b['LogUtils']['warn']('could\x20not\x20find\x20referenceElement\x20for\x20BDFDB_CharCounter');}}else b['LogUtils']['warn']('refClass\x20can\x20not\x20be\x20undefined\x20for\x20BDFDB_CharCounter');}['render'](){let K=this['getCounterString']();b['TimeUtils']['timeout'](L=>{if(K!=this['getCounterString']())b['ReactUtils']['forceUpdate'](this);});return b['ReactUtils']['createElement']('div',b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['charcounter'],this['props']['className']),'children':K}),'parsing','max','refClass','renderPrefix','renderSuffix'));}};x['LibraryComponents']['Checkbox']=c['loadPatchedComp']('Checkbox')||y&&class BDFDB_Checkbox extends n['React']['Component']{['handleChange'](){this['props']['value']=!this['props']['value'];if(typeof this['props']['onChange']=='function')this['props']['onChange'](this['props']['value'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Checkbox'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}));}};x['LibraryComponents']['Clickable']=c['loadPatchedComp']('Clickable')||y&&class BDFDB_Clickable extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['handleMouseDown'](K){if(typeof this['props']['onMouseDown']=='function')this['props']['onMouseDown'](K,this);}['handleMouseUp'](K){if(typeof this['props']['onMouseUp']=='function')this['props']['onMouseUp'](K,this);}['handleMouseEnter'](K){if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Clickable'],Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],(this['props']['className']||'')['toLowerCase']()['indexOf']('disabled')==-0x1&&b['disCN']['cursorpointer']),'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'onMouseUp':this['handleMouseDown']['bind'](this),'onMouseDown':!this['props']['disabled']&&this['handleMouseUp']['bind'](this),'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this)}));}};x['LibraryComponents']['CollapseContainer']=c['loadPatchedComp']('CollapseContainer')||y&&class BDFDB_CollapseContainer extends n['React']['Component']{['render'](){if(!b['ObjectUtils']['is'](this['props']['collapseStates']))this['props']['collapseStates']={};this['props']['collapsed']=this['props']['collapsed']&&(this['props']['collapseStates'][this['props']['title']]||this['props']['collapseStates'][this['props']['title']]==undefined);this['props']['collapseStates'][this['props']['title']]=this['props']['collapsed'];return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['collapsed']&&b['disCN']['collapsecontainercollapsed'],this['props']['mini']?b['disCN']['collapsecontainermini']:b['disCN']['collapsecontainer'],this['props']['className']),'id':this['props']['id'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['collapsecontainerheader'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'onClick':K=>{this['props']['collapsed']=!this['props']['collapsed'];this['props']['collapseStates'][this['props']['title']]=this['props']['collapsed'];if(typeof this['props']['onClick']=='function')this['props']['onClick'](this['props']['collapsed'],this);b['ReactUtils']['forceUpdate'](this);},'children':b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H5'],'className':b['disCN']['collapsecontainertitle'],'children':this['props']['title']})}),!this['props']['collapsed']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['collapsecontainerinner'],'children':this['props']['children']}):null]});}};c['setDefaultProps'](x['LibraryComponents']['CollapseContainer'],{'collapsed':!![],'mini':!![]});x['LibraryComponents']['ColorPicker']=c['loadPatchedComp']('ColorPicker')||y&&class BDFDB_ColorPicker extends n['React']['Component']{constructor(K){super(K);if(!this['state'])this['state']={};this['state']['isGradient']=K['gradient']&&K['color']&&b['ObjectUtils']['is'](K['color']);this['state']['gradientBarEnabled']=this['state']['isGradient'];this['state']['draggingAlphaCursor']=![];this['state']['draggingGradientCursor']=![];this['state']['selectedGradientCursor']=0x0;}['handleColorChange'](K){let L=![];if(K!=null){L=!b['equals'](this['state']['isGradient']?this['props']['color'][this['state']['selectedGradientCursor']]:this['props']['color'],K);if(this['state']['isGradient'])this['props']['color'][this['state']['selectedGradientCursor']]=K;else this['props']['color']=K;}else L=!![];if(L){if(typeof this['props']['onColorChange']=='function')this['props']['onColorChange'](this['props']['color']);b['ReactUtils']['forceUpdate'](this);}}['componentDidMount'](){this['domElementRef']={'current':b['DOMUtils']['getParent'](b['dotCN']['itemlayer'],b['ReactUtils']['findDOMNode'](this))};let K=b['ReactUtils']['findOwner'](this['domElementRef']['current'],{'name':'BDFDB_PopoutContainer','up':!![],'unlimited':!![]});if(K){let L=M=>{if(!this['domElementRef']['current']||!document['contains'](this['domElementRef']['current']))document['removeEventListener']('mousedown',L);else if(!this['domElementRef']['current']['contains'](M['target'])){let N=O=>{if(!this['domElementRef']['current']||!document['contains'](this['domElementRef']['current'])){document['removeEventListener']('mousedown',L);document['removeEventListener']('mouseup',N);}else if(!this['domElementRef']['current']['contains'](O['target'])){document['removeEventListener']('mousedown',L);document['removeEventListener']('mouseup',N);K['handleClick'](O);}};document['addEventListener']('mouseup',N);}};document['addEventListener']('mousedown',L);}}['render'](){if(this['state']['isGradient'])this['props']['color']=Object['assign']({},this['props']['color']);let K=this['props']['alpha']?'HSLA':'HSL';let L=this['props']['alpha']?/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i:/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;let M=b['ColorUtils']['convert'](this['state']['isGradient']?this['props']['color'][this['state']['selectedGradientCursor']]:this['props']['color'],K)||b['ColorUtils']['convert']('#000000FF',K);let N=this['state']['isGradient']?Object['entries'](this['props']['color'],K):[[0x0,M],[0x1,M]];let [O,P,Q]=b['ColorUtils']['convert'](M,'HSLCOMP');let R=b['ColorUtils']['getAlpha'](M);R=R==null?0x1:R;return b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutFocusLock'],{'className':b['disCNS']['colorpickerwrapper']+b['disCN']['colorpicker'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerinner'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturation'],'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationcolor'],'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0,'cursor':'crosshair','backgroundColor':b['ColorUtils']['convert']([O,'100%','100%'],'RGB')},'onClick':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickersaturationcolor'],S['target']));let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x64],S['clientX'])+'%';let V=b['NumberUtils']['mapRange']([T['top'],T['top']+T['height']],[0x64,0x0],S['clientY'])+'%';this['handleColorChange'](b['ColorUtils']['convert']([O,U,V,R],K));},'onMouseDown':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickersaturationcolor'],S['target']));let U=W=>{document['removeEventListener']('mouseup',U);document['removeEventListener']('mousemove',V);};let V=W=>{let X=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x64],W['clientX'])+'%';let Y=b['NumberUtils']['mapRange']([T['top'],T['top']+T['height']],[0x64,0x0],W['clientY'])+'%';this['handleColorChange'](b['ColorUtils']['convert']([O,X,Y,R],K));};document['addEventListener']('mouseup',U);document['addEventListener']('mousemove',V);},'children':[b['ReactUtils']['createElement']('style',{'children':b['dotCN']['colorpickersaturationwhite']+'\x20{background:\x20-webkit-linear-gradient(to\x20right,\x20#fff,\x20rgba(255,255,255,0));background:\x20linear-gradient(to\x20right,\x20#fff,\x20rgba(255,255,255,0));}'+b['dotCN']['colorpickersaturationblack']+'\x20{background:\x20-webkit-linear-gradient(to\x20top,\x20#000,\x20rgba(0,0,0,0));background:\x20linear-gradient(to\x20top,\x20#000,\x20rgba(0,0,0,0));}'}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationwhite'],'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationblack'],'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0}}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickersaturationcursor'],'style':{'position':'absolute','cursor':'crosshair','left':P,'top':b['NumberUtils']['mapRange']([0x0,0x64],[0x64,0x0],parseFloat(Q))+'%'},'children':b['ReactUtils']['createElement']('div',{'style':{'width':0x4,'height':0x4,'boxShadow':'rgb(255,\x20255,\x20255)\x200px\x200px\x200px\x201.5px,\x20rgba(0,\x200,\x200,\x200.3)\x200px\x200px\x201px\x201px\x20inset,\x20rgba(0,\x200,\x200,\x200.4)\x200px\x200px\x201px\x202px','borderRadius':'50%','transform':'translate(-2px,\x20-2px)'}})})]})]})}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerhue'],'children':b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerhuehorizontal'],'style':{'padding':'0px\x202px','position':'relative','height':'100%'},'onClick':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickerhuehorizontal'],S['target']));let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x168],S['clientX']);this['handleColorChange'](b['ColorUtils']['convert']([U,P,Q,R],K));},'onMouseDown':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickerhuehorizontal'],S['target']));let U=W=>{document['removeEventListener']('mouseup',U);document['removeEventListener']('mousemove',V);};let V=W=>{let X=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x168],W['clientX']);this['handleColorChange'](b['ColorUtils']['convert']([X,P,Q,R],K));};document['addEventListener']('mouseup',U);document['addEventListener']('mousemove',V);},'children':[b['ReactUtils']['createElement']('style',{'children':b['dotCN']['colorpickerhuehorizontal']+'\x20{background:\x20linear-gradient(to\x20right,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);background:\x20-webkit-linear-gradient(to\x20right,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);}'+b['dotCN']['colorpickerhuevertical']+'\x20{background:\x20linear-gradient(to\x20top,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);background:\x20-webkit-linear-gradient(to\x20top,\x20#f00\x200%,\x20#ff0\x2017%,\x20#0f0\x2033%,\x20#0ff\x2050%,\x20#00f\x2067%,\x20#f0f\x2083%,\x20#f00\x20100%);}'}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickerhuecursor'],'style':{'position':'absolute','cursor':'ew-resize','left':b['NumberUtils']['mapRange']([0x0,0x168],[0x0,0x64],O)+'%'},'children':b['ReactUtils']['createElement']('div',{'style':{'marginTop':0x1,'width':0x4,'borderRadius':0x1,'height':0x8,'boxShadow':'rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x202px','background':'rgb(255,\x20255,\x20255)','transform':'translateX(-2px)'}})})]})})}),this['props']['alpha']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralpha'],'children':[b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralphacheckered'],'style':{'padding':'0px\x202px','position':'relative','height':'100%'}})}),b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralphahorizontal'],'style':{'padding':'0px\x202px','position':'relative','height':'100%','background':'linear-gradient(to\x20right,\x20'+b['ColorUtils']['setAlpha']([O,P,Q],0x0,'RGBA')+',\x20'+b['ColorUtils']['setAlpha']([O,P,Q],0x1,'RGBA')},'onClick':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickeralphahorizontal'],S['target']));let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x1],S['clientX']);this['handleColorChange'](b['ColorUtils']['setAlpha'](M,U,K));},'onMouseDown':S=>{let T=b['DOMUtils']['getRects'](b['DOMUtils']['getParent'](b['dotCN']['colorpickeralphahorizontal'],S['target']));let U=W=>{document['removeEventListener']('mouseup',U);document['removeEventListener']('mousemove',V);this['state']['draggingAlphaCursor']=![];b['ReactUtils']['forceUpdate'](this);};let V=W=>{this['state']['draggingAlphaCursor']=!![];let X=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0x0,0x1],W['clientX']);this['handleColorChange'](b['ColorUtils']['setAlpha'](M,X,K));};document['addEventListener']('mouseup',U);document['addEventListener']('mousemove',V);},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickeralphacursor'],'style':{'position':'absolute','cursor':'ew-resize','left':R*0x64+'%'},'children':[b['ReactUtils']['createElement']('div',{'style':{'marginTop':0x1,'width':0x4,'borderRadius':0x1,'height':0x8,'boxShadow':'rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x202px','background':'rgb(255,\x20255,\x20255)','transform':'translateX(-2px)'}}),this['state']['draggingAlphaCursor']&&b['ReactUtils']['createElement']('span',{'className':b['disCN']['sliderbubble'],'style':{'opacity':0x1,'visibility':'visible','left':0x2},'children':Math['floor'](R*0x64)+'%'})]['filter'](S=>S)})})})]}),this['state']['gradientBarEnabled']&&b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickergradient'],'children':[b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickergradientcheckered'],'style':{'padding':'0px\x202px','position':'relative','height':'100%'}})}),b['ReactUtils']['createElement']('div',{'style':{'position':'absolute','top':0x0,'right':0x0,'bottom':0x0,'left':0x0},'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['colorpickergradienthorizontal'],'style':{'padding':'0px\x202px','position':'relative','cursor':'copy','height':'100%','background':b['ColorUtils']['createGradient'](N['reduce']((S,T)=>(S[T[0x0]]=T[0x1],S),{}))},'onClick':S=>{let T=b['DOMUtils']['getRects'](S['target']);let U=b['NumberUtils']['mapRange']([T['left'],T['left']+T['width']],[0.01,0.99],S['clientX']);if(Object['keys'](this['props']['color'])['indexOf'](U)==-0x1){this['props']['color'][U]=b['ColorUtils']['convert']('#000000FF',K);this['state']['selectedGradientCursor']=U;this['handleColorChange']();}},'children':N['map'](S=>b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickergradientcursor'],(S[0x0]==0x0||S[0x0]==0x1)&&b['disCNS']['colorpickergradientcursoredge'],this['state']['selectedGradientCursor']==S[0x0]&&b['disCN']['colorpickergradientcursorselected']),'style':{'position':'absolute','cursor':'pointer','left':S[0x0]*0x64+'%'},'onMouseDown':S[0x0]==0x0||S[0x0]==0x1?T=>{}:T=>{T=T['nativeEvent']||T;let U=W=>{if(Math['sqrt']((T['pageX']-W['pageX'])**0x2)>0xa){document['removeEventListener']('mousemove',U);document['removeEventListener']('mouseup',V);this['state']['draggingGradientCursor']=!![];let X=b['DOMUtils']['getParent'](b['dotCN']['colorpickergradientcursor'],T['target']);let Y=b['DOMUtils']['getRects'](X['parentElement']);let Z=a1=>{document['removeEventListener']('mousemove',a0);document['removeEventListener']('mouseup',Z);b['TimeUtils']['timeout'](a2=>{this['state']['draggingGradientCursor']=![];});};let a0=a1=>{let a2=b['NumberUtils']['mapRange']([Y['left'],Y['left']+Y['width']],[0.01,0.99],a1['clientX']);if(Object['keys'](this['props']['color'])['indexOf'](a2)==-0x1){delete this['props']['color'][S[0x0]];S[0x0]=a2;this['props']['color'][a2]=S[0x1];this['state']['selectedGradientCursor']=a2;this['handleColorChange']();}};document['addEventListener']('mousemove',a0);document['addEventListener']('mouseup',Z);}};let V=W=>{document['removeEventListener']('mousemove',U);document['removeEventListener']('mouseup',V);};document['addEventListener']('mousemove',U);document['addEventListener']('mouseup',V);},'onClick':T=>{b['ListenerUtils']['stopEvent'](T);if(!this['state']['draggingGradientCursor']){this['state']['selectedGradientCursor']=S[0x0];b['ReactUtils']['forceUpdate'](this);}},'onContextMenu':S[0x0]==0x0||S[0x0]==0x1?T=>{}:T=>{b['ListenerUtils']['stopEvent'](T);delete this['props']['color'][S[0x0]];this['state']['selectedGradientCursor']=0x0;this['handleColorChange']();},'children':b['ReactUtils']['createElement']('div',{'style':{'background':b['ColorUtils']['convert'](S[0x1],'RGBA')}})}))})})]})]['filter'](S=>S)}),b['ReactUtils']['createElement'](x['LibraryComponents']['TextInput'],{'className':b['disCNS']['colorpickerhexinput']+b['disCN']['margintop8'],'maxLength':this['props']['alpha']?0x9:0x7,'valuePrefix':'#','value':b['ColorUtils']['convert'](M,this['props']['alpha']?'HEXA':'HEX'),'autoFocus':!![],'onChange':S=>{if(L['test'](S))this['handleColorChange'](S);},'inputChildren':this['props']['gradient']&&b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':'Gradient','children':b['ReactUtils']['createElement'](x['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickergradientbutton'],this['state']['gradientBarEnabled']&&b['disCN']['colorpickergradientbuttonenabled']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'nativeClass':!![],'width':0x1c,'height':0x1c,'name':x['LibraryComponents']['SvgIcon']['Names']['GRADIENT']}),'onClick':S=>{this['state']['gradientBarEnabled']=!this['state']['gradientBarEnabled'];if(this['state']['gradientBarEnabled']&&!this['state']['isGradient'])this['props']['color']={0:M,1:M};else if(!this['state']['gradientBarEnabled']&&this['state']['isGradient'])this['props']['color']=M;this['state']['isGradient']=this['props']['color']&&b['ObjectUtils']['is'](this['props']['color']);this['handleColorChange']();}})})}),b['ReactUtils']['createElement']('div',{'className':'move-corners','children':[{'top':0x0,'left':0x0},{'top':0x0,'right':0x0},{'bottom':0x0,'right':0x0},{'bottom':0x0,'left':0x0}]['map'](S=>b['ReactUtils']['createElement']('div',{'className':'move-corner','onMouseDown':T=>{if(!this['domElementRef']['current'])return;let U=b['DOMUtils']['getRects'](this['domElementRef']['current']);let V=U['left'],W=U['top'];let X=T['pageX'],Y=T['pageY'];let Z=a1=>{document['removeEventListener']('mouseup',Z);document['removeEventListener']('mousemove',a0);};let a0=a1=>{V=V-(X-a1['pageX']),W=W-(Y-a1['pageY']);X=a1['pageX'],Y=a1['pageY'];this['domElementRef']['current']['style']['setProperty']('left',V+'px','important');this['domElementRef']['current']['style']['setProperty']('top',W+'px','important');};document['addEventListener']('mouseup',Z);document['addEventListener']('mousemove',a0);},'style':Object['assign']({},S,{'width':0xa,'height':0xa,'cursor':'move','position':'absolute'})}))})]});}};x['LibraryComponents']['ColorSwatches']=c['loadPatchedComp']('ColorSwatches')||y&&class BDFDB_ColorSwatches extends n['React']['Component']{constructor(K){super(K);K['selectedColor']=b['ObjectUtils']['is'](K['color'])?K['color']:b['ColorUtils']['convert'](K['color'],'RGBA');K['colors']=(b['ArrayUtils']['is'](K['colors'])?K['colors']:[null,0x52e91e,0x2ecc71,0x1abc9c,0x3498db,0x3454db,0x861ee9,0x9b59b6,0xe91e63,0xe9411e,0xe74c3c,0xe67e22,0xf1c40f,0xc7cccd,0x708088,0x636363,0xffffff,0x3bad14,0x1f8b4c,0x11806a,0x206694,0x203994,0x6d14ad,0x71368a,0xad1457,0xad2014,0x992d22,0xa84300,0xc27c0e,0x979c9f,0x5d686d,0x2c2c2c])['map'](M=>b['ColorUtils']['convert'](M,'RGBA'));K['colorRows']=K['colors']['length']?[K['colors']['slice'](0x0,parseInt(K['colors']['length']/0x2)),K['colors']['slice'](parseInt(K['colors']['length']/0x2))]:[];K['customColor']=K['selectedColor']!=null?K['colors']['indexOf'](K['selectedColor'])>-0x1?null:K['selectedColor']:null;K['customSelected']=!!K['customColor'];K['pickerConfig']=b['ObjectUtils']['is'](K['pickerConfig'])?K['pickerConfig']:{'gradient':!![],'alpha':!![]};this['state']=K;var L=this;this['ColorSwatch']=class BDFDB_ColorSwatch extends n['React']['Component']{['render'](){let M=!b['ColorUtils']['isBright'](this['props']['color']);let N=b['ReactUtils']['createElement']('button',{'type':'button','className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickerswatch'],this['props']['isSingle']&&b['disCN']['colorpickerswatchsingle'],this['props']['isDisabled']&&b['disCN']['colorpickerswatchdisabled'],this['props']['isSelected']&&b['disCN']['colorpickerswatchselected'],this['props']['isCustom']&&b['disCN']['colorpickerswatchcustom'],this['props']['color']==null&&b['disCN']['colorpickerswatchnocolor']),'number':this['props']['number'],'disabled':this['props']['isDisabled'],'onClick':O=>{if(!this['props']['isSelected']){let P=this['props']['isCustom']&&this['props']['color']==null?'rgba(0,\x200,\x200,\x201)':this['props']['color'];if(typeof L['props']['onColorChange']=='function')L['props']['onColorChange'](b['ColorUtils']['convert'](P,'RGBA'));L['setState']({'selectedColor':P,'customColor':this['props']['isCustom']?P:L['state']['customColor'],'customSelected':this['props']['isCustom']});}},'style':Object['assign']({},this['props']['style'],{'background':b['ObjectUtils']['is'](this['props']['color'])?b['ColorUtils']['createGradient'](this['props']['color']):b['ColorUtils']['convert'](this['props']['color'],'RGBA')}),'children':[this['props']['isCustom']||this['props']['isSingle']?b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['colorpickerswatchdropper'],'foreground':b['disCN']['colorpickerswatchdropperfg'],'name':x['LibraryComponents']['SvgIcon']['Names']['DROPPER'],'width':this['props']['isCustom']?0xe:0xa,'height':this['props']['isCustom']?0xe:0xa,'color':M?b['DiscordConstants']['Colors']['WHITE']:b['DiscordConstants']['Colors']['BLACK']}):null,this['props']['isSelected']&&!this['props']['isSingle']?b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'name':x['LibraryComponents']['SvgIcon']['Names']['CHECKMARK'],'width':this['props']['isCustom']?0x20:0x10,'height':this['props']['isCustom']?0x18:0x10,'color':M?b['DiscordConstants']['Colors']['WHITE']:b['DiscordConstants']['Colors']['BLACK']}):null]});if(this['props']['isCustom']||this['props']['isSingle']||this['props']['color']==null)N=b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':this['props']['isCustom']||this['props']['isSingle']?b['LanguageUtils']['LanguageStrings']['CUSTOM_COLOR']:b['LanguageUtils']['LanguageStrings']['DEFAULT'],'tooltipConfig':{'type':this['props']['isSingle']?'top':'bottom'},'children':N});if(this['props']['isCustom']||this['props']['isSingle'])N=b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutContainer'],{'children':N,'wrap':![],'popoutClassName':b['disCNS']['colorpickerwrapper']+b['disCN']['colorpicker'],'animation':x['LibraryComponents']['PopoutContainer']['Animation']['TRANSLATE'],'position':x['LibraryComponents']['PopoutContainer']['Positions']['BOTTOM'],'align':x['LibraryComponents']['PopoutContainer']['Align']['CENTER'],'renderPopout':O=>{return b['ReactUtils']['createElement'](x['LibraryComponents']['ColorPicker'],Object['assign']({'color':this['props']['color'],'onColorChange':P=>{if(typeof L['props']['onColorChange']=='function')L['props']['onColorChange'](b['ColorUtils']['convert'](P,'RGBA'));this['props']['color']=P;L['setState']({'selectedColor':P,'customColor':P,'customSelected':!![]});}},K['pickerConfig']),!![]);}});return N;}};}['renderRow'](K){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['colorpickerrow'],'wrap':x['LibraryComponents']['Flex']['Wrap']['WRAP'],'children':K['map'](L=>{return b['ReactUtils']['createElement'](this['ColorSwatch'],{'color':L,'isCustom':![],'isSelected':!this['state']['customSelected']&&L===this['state']['selectedColor'],'isDisabled':this['state']['disabled']});})});}['render'](){let K=b['ReactUtils']['createElement'](this['ColorSwatch'],{'number':!this['state']['colors']['length']?this['props']['number']!=null?this['props']['number']:0x0:null,'color':this['state']['customColor'],'isSingle':!this['state']['colors']['length'],'isCustom':this['state']['colors']['length'],'isSelected':this['state']['customSelected'],'isDisabled':this['state']['disabled'],'style':{'margin':0x0}});return!this['state']['colors']['length']?K:b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['colorpickerswatches'],this['state']['disabled']&&b['disCN']['colorpickerswatchesdisabled']),'number':this['props']['number']!=null?this['props']['number']:0x0,'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'className':b['disCN']['marginreset'],'shrink':0x0,'grow':0x0,'children':K}),b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'className':b['disCN']['flexmarginreset'],'grow':0x1,'children':[this['renderRow'](this['state']['colorRows'][0x0]),this['renderRow'](this['state']['colorRows'][0x1])]})]});}};x['LibraryComponents']['Connectors']=Object['assign']({},b['ModuleUtils']['findByProperties']('Router','Link'));x['LibraryComponents']['DiscordTag']=b['ModuleUtils']['findByName']('DiscordTag');x['LibraryComponents']['Emoji']=b['ModuleUtils']['findByName']('Emoji');x['LibraryComponents']['EmojiButton']=b['ModuleUtils']['findByName']('EmojiButton');x['LibraryComponents']['EmojiPickerButton']=c['loadPatchedComp']('EmojiPickerButton')||y&&class BDFDB_EmojiPickerButton extends n['React']['Component']{['handleEmojiChange'](K){if(K!=null){this['props']['emoji']=K['id']?{'id':K['id'],'name':K['name'],'animated':K['animated']}:{'id':null,'name':K['optionallyDiverseSequence'],'animated':![]};if(typeof this['props']['onSelect']=='function')this['props']['onSelect'](this['props']['emoji'],this);b['ReactUtils']['forceUpdate'](this);}}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutContainer'],{'children':b['ReactUtils']['createElement'](x['LibraryComponents']['EmojiButton'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['emojiinputbutton']),'renderButtonContents':this['props']['emoji']?K=>b['ReactUtils']['createElement'](x['LibraryComponents']['Emoji'],{'className':b['disCN']['emoji'],'emoji':this['props']['emoji']}):null}),'wrap':![],'animation':x['LibraryComponents']['PopoutContainer']['Animation']['NONE'],'position':x['LibraryComponents']['PopoutContainer']['Positions']['TOP'],'align':x['LibraryComponents']['PopoutContainer']['Align']['LEFT'],'renderPopout':K=>{return b['ReactUtils']['createElement'](b['ModuleUtils']['findByString']('allowManagedEmojis','EMOJI_PICKER_TAB_PANEL_ID','diversitySelector'),{'closePopout':K['close'],'onSelectEmoji':this['handleEmojiChange']['bind'](this),'allowManagedEmojis':![]});}});}};x['LibraryComponents']['FavButton']=c['loadPatchedComp']('FavButton')||y&&class BDFDB_FavButton extends n['React']['Component']{['handleClick'](){this['props']['isFavorite']=!this['props']['isFavorite'];if(typeof this['props']['onClick']=='function')this['props']['onClick'](this['props']['isFavorite'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['favbuttoncontainer'],this['props']['className']),'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['FavButton'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'onClick':this['handleClick']['bind'](this)}),'className'))});}};x['LibraryComponents']['FileButton']=c['loadPatchedComp']('FileButton')||y&&class BDFDB_FileButton extends n['React']['Component']{['render'](){let K=this['props']['filter']&&[this['props']['filter']]['flat'](0xa)['filter'](L=>typeof L=='string')||[];return b['ReactUtils']['createElement'](x['LibraryComponents']['Button'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'onClick':L=>{L['currentTarget']['querySelector']('input')['click']();},'children':[b['LanguageUtils']['LibraryStrings']['file_navigator_text'],b['ReactUtils']['createElement']('input',{'type':'file','accept':K['length']&&K['join']('/*,')+'/*','style':{'display':'none'},'onChange':L=>{let M=L['currentTarget']['files'][0x0];if(this['refInput']&&M&&(!K['length']||K['some'](N=>M['type']['indexOf'](N)==0x0))){this['refInput']['props']['value']=''+(this['props']['mode']=='url'?'url(\x27':'')+(this['props']['useFilePath']||this['props']['useFilepath']?M['path']:'data:'+M['type']+';base64,'+b['LibraryRequires']['fs']['readFileSync'](M['path'])['toString']('base64'))+(this['props']['mode']?'\x27)':'');b['ReactUtils']['forceUpdate'](this['refInput']);this['refInput']['handleChange'](this['refInput']['props']['value']);}}})]}),'filter','mode','useFilePath','useFilepath'));}};x['LibraryComponents']['Flex']=b['ModuleUtils']['findByProperties']('Wrap','Direction','Child');x['LibraryComponents']['FlowerStarIcon']=b['ModuleUtils']['findByName']('FlowerStarIcon');x['LibraryComponents']['FormComponents']=Object['assign']({},b['ModuleUtils']['findByProperties']('FormSection','FormText'));x['LibraryComponents']['FormComponents']['FormItem']=c['loadPatchedComp']('FormComponents.FormItem')||y&&class BDFDB_FormItem extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':this['props']['className'],'style':this['props']['style'],'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['BASELINE'],'children':[this['props']['title']!=null||this['props']['error']!=null?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'wrap':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'tag':this['props']['tag']||x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H5'],'disabled':this['props']['disabled'],'required':this['props']['required'],'error':this['props']['error'],'className':this['props']['titleClassName'],'children':this['props']['title']})}):null]['concat']([this['props']['titlechildren']]['flat'](0xa))['filter'](K=>K)})]['concat'](this['props']['children'])});}};x['LibraryComponents']['GuildComponents']={};x['LibraryComponents']['GuildComponents']['Badge']=b['ModuleUtils']['findByName']('GuildBadge');x['LibraryComponents']['GuildComponents']['BlobMask']=b['ModuleUtils']['findByName']('BlobMask');x['LibraryComponents']['GuildComponents']['Guild']=c['loadPatchedComp']('GuildComponents.Guild')||y&&class BDFDB_Guild extends n['React']['Component']{constructor(K){super(K);this['state']={'hovered':![]};}['handleMouseEnter'](K){if(!this['props']['sorting'])this['setState']({'hovered':!![]});if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(!this['props']['sorting'])this['setState']({'hovered':![]});if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['handleMouseDown'](K){if(!this['props']['unavailable']&&this['props']['guild']&&this['props']['selectedChannelId'])n['DirectMessageUtils']['preload'](this['props']['guild']['id'],this['props']['selectedChannelId']);if(K['button']==0x0&&typeof this['props']['onMouseDown']=='function')this['props']['onMouseDown'](K,this);}['handleMouseUp'](K){if(K['button']==0x0&&typeof this['props']['onMouseUp']=='function')this['props']['onMouseUp'](K,this);}['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(this['props']['menu'])b['GuildUtils']['openMenu'](this['props']['guild'],K);if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['setRef'](K){if(typeof this['props']['setRef']=='function')this['props']['setRef'](this['props']['guild']['id'],K);}['componentDidMount'](){let K=b['ReactUtils']['findDOMNode'](this);if(K)for(let L of K['querySelectorAll']('a'))L['setAttribute']('draggable',![]);}['render'](){if(!this['props']['guild'])return null;let K=n['ChannelStore']['getChannel'](n['CurrentVoiceUtils']['getChannelId']());let L=K&&n['VoiceUtils']['hasVideo'](K);this['props']['guildId']=this['props']['guild']['id'];this['props']['selectedChannelId']=n['LastChannelStore']['getChannelId'](this['props']['guild']['id']);this['props']['selected']=this['props']['state']?n['LastGuildStore']['getGuildId']()==this['props']['guild']['id']:![];this['props']['unread']=this['props']['state']?n['UnreadGuildUtils']['hasUnread'](this['props']['guild']['id']):![];this['props']['badge']=this['props']['state']?n['UnreadGuildUtils']['getMentionCount'](this['props']['guild']['id']):0x0;this['props']['audio']=this['props']['state']?K&&K['guild_id']==this['props']['guild']['id']&&!L:![];this['props']['video']=this['props']['state']?K&&K['guild_id']==this['props']['guild']['id']&&L:![];this['props']['screenshare']=this['props']['state']?!!n['StreamUtils']['getAllApplicationStreams']()['filter'](P=>P['guildId']==this['props']['guild']['id'])[0x0]:![];this['props']['isCurrentUserInThisGuildVoice']=this['props']['state']?n['CurrentVoiceUtils']['getGuildId']()==this['props']['guild']['id']:![];this['props']['animatable']=this['props']['state']?n['IconUtils']['hasAnimatedGuildIcon'](this['props']['guild']):![];this['props']['unavailable']=this['props']['state']?n['GuildUnavailableStore']['unavailableGuilds']['includes'](this['props']['guild']['id']):![];let M=this['props']['draggingGuildId']===this['props']['guild']['id'];let N=M?b['ReactUtils']['createElement']('div',{'children':b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['Items']['DragPlaceholder'],{})}):b['ReactUtils']['createElement']('div',{'className':b['disCN']['guildcontainer'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['BlobMask'],{'selected':this['state']['isDropHovering']||this['props']['selected']||this['state']['hovered'],'upperBadge':this['props']['unavailable']?x['LibraryComponents']['GuildComponents']['Items']['renderUnavailableBadge']():x['LibraryComponents']['GuildComponents']['Items']['renderIconBadge'](this['props']['audio'],this['props']['video'],this['props']['screenshare'],this['props']['isCurrentUserInThisGuildVoice']),'lowerBadge':this['props']['badge']>0x0?x['LibraryComponents']['GuildComponents']['Items']['renderMentionBadge'](this['props']['badge']):null,'lowerBadgeWidth':x['LibraryComponents']['Badges']['getBadgeWidthForValue'](this['props']['badge']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['NavItem'],{'to':{'pathname':b['DiscordConstants']['Routes']['CHANNEL'](this['props']['guild']['id'],this['props']['selectedChannelId']),'state':{'analyticsSource':{'page':b['DiscordConstants']['AnalyticsPages']['GUILD_CHANNEL'],'section':b['DiscordConstants']['AnalyticsSections']['CHANNEL_LIST'],'object':b['DiscordConstants']['AnalyticsObjects']['CHANNEL']}}},'name':this['props']['guild']['name'],'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'onMouseDown':this['handleMouseDown']['bind'](this),'onMouseUp':this['handleMouseUp']['bind'](this),'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'icon':this['props']['guild']['getIconURL'](this['state']['hovered']&&this['props']['animatable']?'gif':'jpg'),'selected':this['props']['selected']||this['state']['hovered']})})});if(this['props']['draggable']&&typeof this['props']['connectDragSource']=='function')N=this['props']['connectDragSource'](N);let O=[this['props']['list']||this['props']['pill']?b['ReactUtils']['createElement'](x['LibraryComponents']['GuildComponents']['Pill'],{'hovered':!M&&this['state']['hovered'],'selected':!M&&this['props']['selected'],'unread':!M&&this['props']['unread'],'className':b['disCN']['guildpill']}):null,!this['props']['tooltip']?N:b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'tooltipConfig':Object['assign']({'type':'right'},this['props']['tooltipConfig'],{'guild':this['props']['list']&&this['props']['guild']}),'children':N})]['filter'](P=>P);return this['props']['list']?b['ReactUtils']['createElement']('div',{'ref':null!=this['props']['setRef']?this['props']['setRef']:null,'className':b['DOMUtils']['formatClassName'](b['disCN']['guildouter'],b['disCN']['_bdguild'],this['props']['unread']&&b['disCN']['_bdguildunread'],this['props']['selected']&&b['disCN']['_bdguildselected'],this['props']['unread']&&b['disCN']['_bdguildunread'],this['props']['audio']&&b['disCN']['_bdguildaudio'],this['props']['video']&&b['disCN']['_bdguildvideo']),'children':b['ReactUtils']['createElement'](b['ReactUtils']['Fragment'],{'children':O})}):b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['guild'],this['props']['className']),'children':O});}};c['setDefaultProps'](x['LibraryComponents']['GuildComponents']['Guild'],{'menu':!![],'tooltip':!![],'list':![],'state':![],'draggable':![],'sorting':![]});x['LibraryComponents']['GuildComponents']['Icon']=b['ModuleUtils']['findByName']('GuildIconWrapper');x['LibraryComponents']['GuildComponents']['Items']=b['ModuleUtils']['findByProperties']('Separator','DragPlaceholder');x['LibraryComponents']['GuildComponents']['Pill']=b['ModuleUtils']['findByString']('opacity:1,height:','20:8','default.item');x['LibraryComponents']['HeaderBarComponents']=b['ModuleUtils']['findByName']('HeaderBarContainer');x['LibraryComponents']['KeybindRecorder']=c['loadPatchedComp']('KeybindRecorder')||y&&class BDFDB_KeybindRecorder extends n['React']['Component']{['handleChange'](K){if(typeof this['props']['onChange']=='function')this['props']['onChange'](K['map'](L=>n['KeyEvents']['codes'][b['LibraryModules']['KeyCodeUtils']['codeToKey'](L)]||L[0x1]),this);}['handleReset'](){this['props']['defaultValue']=[];let K=b['ReactUtils']['findOwner'](this,{'name':'KeybindRecorder'});if(K)K['setState']({'codes':[]});if(typeof this['props']['onChange']=='function')this['props']['onChange']([],this);if(typeof this['props']['onReset']=='function')this['props']['onReset'](this);}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['hotkeywrapper'],'direction':x['LibraryComponents']['Flex']['Direction']['HORIZONTAL'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[b['ReactUtils']['createElement'](x['NativeSubComponents']['KeybindRecorder'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'defaultValue':[this['props']['defaultValue']]['flat'](0xa)['filter'](K=>K)['map'](K=>[b['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],K,b['DiscordConstants']['KeyboardEnvs']['BROWSER']]),'onChange':this['handleChange']['bind'](this)}),'reset','onReset')),this['props']['reset']||this['props']['onReset']?b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['REMOVE_KEYBIND'],'tooltipConfig':{'type':'top'},'children':b['ReactUtils']['createElement'](x['LibraryComponents']['Clickable'],{'className':b['disCN']['hotkeyresetbutton'],'onClick':this['handleReset']['bind'](this),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'iconSVG':''})})}):null]['filter'](K=>K)});}};x['LibraryComponents']['LazyImage']=b['ModuleUtils']['findByName']('LazyImage');x['LibraryComponents']['ListHeader']=b['ModuleUtils']['findByName']('ListSectionItem');x['LibraryComponents']['ListRow']=c['loadPatchedComp']('ListRow')||y&&class BDFDB_ListRow extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['listrowwrapper'],this['props']['className'],b['disCN']['listrow']),'children':[this['props']['prefix'],b['ReactUtils']['createElement']('div',{'className':b['disCN']['listrowcontent'],'style':{'flex':'1\x201\x20auto'},'children':[b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['listname'],this['props']['labelClassName']),'style':{'flex':'1\x201\x20auto'},'children':this['props']['label']}),typeof this['props']['note']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormText'],{'type':x['LibraryComponents']['FormComponents']['FormText']['Types']['DESCRIPTION'],'children':this['props']['note']}):null]['filter'](K=>K)}),this['props']['suffix']]['filter'](K=>K)});}};x['LibraryComponents']['MemberRole']=c['loadPatchedComp']('MemberRole')||y&&class BDFDB_MemberRole extends n['React']['Component']{['handleClick'](K){if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);}['handleContextMenu'](K){if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](K,this);}['render'](){let K=b['ColorUtils']['convert'](this['props']['role']['colorString']||b['DiscordConstants']['Colors']['PRIMARY_DARK_300'],'RGB');return b['ReactUtils']['createElement']('li',{'className':b['DOMUtils']['formatClassName'](b['disCN']['userpopoutrole'],this['props']['className']),'style':{'borderColor':b['ColorUtils']['setAlpha'](K,0.6)},'onClick':this['handleClick']['bind'](this),'onContextMenu':this['handleContextMenu']['bind'](this),'children':[!this['props']['noCircle']?b['ReactUtils']['createElement']('div',{'className':b['disCN']['userpopoutrolecircle'],'style':{'backgroundColor':K}}):null,b['ReactUtils']['createElement']('div',{'className':b['disCN']['userpopoutrolename'],'children':this['props']['role']['name']})]['filter'](L=>L)});}};x['LibraryComponents']['Menu']=b['ModuleUtils']['findByName']('Menu');x['LibraryComponents']['MenuItems']=Object['assign']({},b['ModuleUtils']['findByProperties']('MenuItem','MenuGroup'));x['LibraryComponents']['MenuItems']['Colors']=(b['ModuleUtils']['findByProperties']('MenuItemColor')||{})['MenuItemColor']||{};x['LibraryComponents']['MenuItems']['MenuCheckboxItem']=c['loadPatchedComp']('MenuItems.MenuCheckboxItem')||y&&class BDFDB_MenuCheckboxItem extends n['React']['Component']{['handleClick'](){if(this['props']['state']){this['props']['state']['checked']=!this['props']['state']['checked'];if(typeof this['props']['action']=='function')this['props']['action'](this['props']['state']['checked'],this);}b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['MenuCheckboxItem'],Object['assign']({},this['props'],{'checked':this['props']['state']&&this['props']['state']['checked'],'action':this['handleClick']['bind'](this)}));}};x['LibraryComponents']['MenuItems']['MenuHint']=c['loadPatchedComp']('MenuItems.MenuHint')||y&&class BDFDB_MenuHint extends n['React']['Component']{['render'](){return!this['props']['hint']?null:b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuhint'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'children':this['props']['hint']})});}};x['LibraryComponents']['MenuItems']['MenuIcon']=c['loadPatchedComp']('MenuItems.MenuIcon')||y&&class BDFDB_MenuIcon extends n['React']['Component']{['render'](){let K=typeof this['props']['icon']=='string';return!this['props']['icon']?null:b['ReactUtils']['createElement'](x['LibraryComponents']['SvgIcon'],{'className':b['disCN']['menuicon'],'nativeClass':!![],'iconSVG':K?this['props']['icon']:null,'name':!K?this['props']['icon']:null});}};x['LibraryComponents']['MenuItems']['MenuSliderItem']=c['loadPatchedComp']('MenuItems.MenuSliderItem')||y&&class BDFDB_MenuSliderItem extends n['React']['Component']{['handleValueChange'](K){if(this['props']['state']){this['props']['state']['value']=Math['round'](b['NumberUtils']['mapRange']([0x0,0x64],[this['props']['minValue'],this['props']['maxValue']],K)*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);if(typeof this['props']['onValueChange']=='function')this['props']['onValueChange'](this['props']['state']['value'],this);}b['ReactUtils']['forceUpdate'](this);}['handleValueRender'](K){let L=Math['round'](b['NumberUtils']['mapRange']([0x0,0x64],[this['props']['minValue'],this['props']['maxValue']],K)*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);if(typeof this['props']['onValueRender']=='function'){let M=this['props']['onValueRender'](L,this);if(M!=undefined)L=M;}return L;}['render'](){let K=this['props']['state']&&this['props']['state']['value']||0x0;return b['ReactUtils']['createElement'](x['NativeSubComponents']['MenuControlItem'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'label':typeof this['props']['renderLabel']=='function'?this['props']['renderLabel'](Math['round'](K*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits'])):this['props']['label'],'control':(L,M)=>{return b['ReactUtils']['createElement']('div',{'className':b['disCN']['menuslidercontainer'],'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['Slider'],Object['assign']({},L,{'ref':M,'className':b['disCN']['menuslider'],'mini':!![],'initialValue':Math['round'](b['NumberUtils']['mapRange']([this['props']['minValue'],this['props']['maxValue']],[0x0,0x64],K)*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']),'onValueChange':this['handleValueChange']['bind'](this),'onValueRender':this['handleValueRender']['bind'](this)}))});}}),'digits','renderLabel'));}};c['setDefaultProps'](x['LibraryComponents']['MenuItems']['MenuSliderItem'],{'minValue':0x0,'maxValue':0x64,'digits':0x0});x['LibraryComponents']['MessageGroup']=b['ModuleUtils']['findByName']('ChannelMessage');x['LibraryComponents']['MessagesPopoutComponents']=b['ModuleUtils']['findByProperties']('Header','EmptyStateBottom');x['LibraryComponents']['ModalComponents']=Object['assign']({},b['ModuleUtils']['findByProperties']('ModalContent','ModalFooter'));x['LibraryComponents']['ModalComponents']['ModalContent']=c['loadPatchedComp']('ModalComponents.ModalContent')||y&&class BDFDB_ModalContent extends n['React']['Component']{['render'](){return this['props']['scroller']?b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerThin'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['modalcontent'],this['props']['className']),'ref':this['props']['scrollerRef'],'children':this['props']['children']}):b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['DOMUtils']['formatClassName'](this['props']['content']&&b['disCN']['modalcontent'],b['disCN']['modalnoscroller'],this['props']['className']),'direction':this['props']['direction']||x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'align':x['LibraryComponents']['Flex']['Align']['STRETCH'],'children':this['props']['children']});}};c['setDefaultProps'](x['LibraryComponents']['ModalComponents']['ModalContent'],{'scroller':!![],'content':!![]});x['LibraryComponents']['ModalComponents']['ModalTabContent']=c['loadPatchedComp']('ModalComponents.ModalTabContent')||y&&class BDFDB_ModalTabContent extends n['React']['Component']{['render'](){return b['ReactUtils']['forceStyle'](b['ReactUtils']['createElement'](this['props']['scroller']?x['LibraryComponents']['ScrollerThin']:'div',Object['assign'](b['ObjectUtils']['exclude'](this['props'],'scroller','open','render'),{'className':b['DOMUtils']['formatClassName'](b['disCN']['modaltabcontent'],this['props']['open']&&b['disCN']['modaltabcontentopen'],this['props']['className']),'style':Object['assign']({},this['props']['style'],{'display':this['props']['open']?null:'none'}),'children':!this['props']['open']&&!this['props']['render']?null:this['props']['children']})),['display']);}};c['setDefaultProps'](x['LibraryComponents']['ModalComponents']['ModalTabContent'],{'tab':'unnamed','render':!![]});x['LibraryComponents']['NavItem']=b['ModuleUtils']['findByName']('NavItem');x['LibraryComponents']['PaginatedList']=c['loadPatchedComp']('PaginatedList')||y&&class BDFDB_PaginatedList extends n['React']['Component']{['jump'](K){if(K>-0x1&&Kthis['props']['amount']&&b['ReactUtils']['createElement']('nav',{'className':b['disCN']['paginationlistpagination'],'children':[b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LibraryStrings']['first'],'aria-label':b['LanguageUtils']['LibraryStrings']['first'],'onClick':L=>{if(this['props']['offset']>0x0)this['jump'](0x0);},'children':b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['searchresultspaginationbutton'],this['props']['offset']<=0x0&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['LEFT_DOUBLE_CARET']})})}),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['PAGINATION_PREVIOUS'],'aria-label':b['LanguageUtils']['LanguageStrings']['PAGINATION_PREVIOUS'],'onClick':L=>{if(this['props']['offset']>0x0)this['jump'](this['props']['offset']-0x1);},'children':b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['searchresultspaginationbutton'],this['props']['offset']<=0x0&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['LEFT_CARET']})})}),b['LanguageUtils']['LanguageStringsFormat']('PAGINATION_PAGE_OF',this['props']['offset']+0x1,K+0x1),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['PAGINATION_NEXT'],'aria-label':b['LanguageUtils']['LanguageStrings']['PAGINATION_NEXT'],'onClick':L=>{if(this['props']['offset']=K&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['RIGHT_CARET']})})}),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LibraryStrings']['last'],'aria-label':b['LanguageUtils']['LibraryStrings']['last'],'onClick':L=>{if(this['props']['offset']=K&&b['disCN']['searchresultspaginationdisabled'],b['disCN']['focusable']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'name':b['LibraryComponents']['SvgIcon']['Names']['RIGHT_DOUBLE_CARET']})})}),b['ReactUtils']['createElement'](b['LibraryComponents']['TextInput'],{'key':'pagination-list-jumpinput','type':'number','size':b['LibraryComponents']['TextInput']['Sizes']['MINI'],'value':this['props']['offset']+0x1,'min':0x1,'max':K+0x1,'onKeyDown':(L,M)=>{if(L['which']==0xd)this['jump'](isNaN(parseInt(M['props']['value']))?-0x1:M['props']['value']-0x1);}}),b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':b['LanguageUtils']['LanguageStrings']['JUMP'],'aria-label':b['LanguageUtils']['LanguageStrings']['JUMP'],'onClick':(L,M)=>{let N=b['ReactUtils']['findOwner'](M['_reactInternalFiber']['return'],{'key':'pagination-list-jumpinput'});if(N)this['jump'](isNaN(parseInt(N['props']['value']))?-0x1:N['props']['value']-0x1);},'children':b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['disCN']['searchresultspaginationbutton'],'children':b['ReactUtils']['createElement'](b['LibraryComponents']['SvgIcon'],{'className':b['disCN']['searchresultspaginationicon'],'style':{'transform':'rotate(90deg'},'name':b['LibraryComponents']['SvgIcon']['Names']['RIGHT_CARET']})})})]});}['render'](){let K=[],L={};if(b['ArrayUtils']['is'](this['props']['items'])&&this['props']['items']['length']){if(!this['props']['alphabetKey'])K=this['props']['items'];else{let M=[]['concat'](this['props']['items']);for(let N of['0-9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']){let O=N=='0-9',P=[];for(let Q of M)if(Q&&Q[this['props']['alphabetKey']]&&(O&&!isNaN(parseInt(Q[this['props']['alphabetKey']][0x0]))||Q[this['props']['alphabetKey']]['toUpperCase']()['indexOf'](N)==0x0))P['push'](Q);for(let R of P)b['ArrayUtils']['remove'](M,R);L[N]={'items':b['ArrayUtils']['keySort'](P,this['props']['alphabetKey']),'disabled':!P['length']};}L['?!']={'items':b['ArrayUtils']['keySort'](M,this['props']['alphabetKey']),'disabled':!M['length']};for(let S in L)K['push'](L[S]['items']);K=K['flat'](0xa);}}return typeof this['props']['renderItem']!='function'||!K['length']?null:b['ReactUtils']['createElement']('div',{'className':b['disCN']['paginationlist'],'children':[this['renderPagination'](),K['length']>this['props']['amount']&&this['props']['alphabetKey']&&b['ReactUtils']['createElement']('nav',{'className':b['disCN']['paginationlistalphabet'],'children':Object['keys'](L)['map'](T=>b['ReactUtils']['createElement'](b['LibraryComponents']['Clickable'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['paginationlistalphabetchar'],L[T]['disabled']&&b['disCN']['paginationlistalphabetchardisabled']),'onClick':U=>{if(!L[T]['disabled'])this['jump'](Math['floor'](K['indexOf'](L[T]['items'][0x0])/this['props']['amount']));},'children':T}))}),this['props']['header'],b['ReactUtils']['createElement']('div',{'className':b['disCN']['paginationlistcontent'],'children':K['slice'](this['props']['offset']*this['props']['amount'],(this['props']['offset']+0x1)*this['props']['amount'])['map']((T,U)=>{return this['props']['renderItem'](T,U);})['flat'](0xa)['filter'](T=>T)}),this['props']['copyToBottom']&&this['renderPagination']()]['flat'](0xa)['filter'](T=>T)});}};c['setDefaultProps'](x['LibraryComponents']['PaginatedList'],{'amount':0x32,'offset':0x0});x['LibraryComponents']['Popout']=c['loadPatchedComp']('Popout')||y&&class BDFDB_Popout extends n['React']['Component']{['componentWillUnmount'](){delete this['props']['containerInstance']['popout'];if(typeof this['props']['onClose']=='function')this['props']['onClose'](this['props']['containerInstance'],this);}['render'](){let K=typeof this['props']['position']=='string'?this['props']['position']['toLowerCase']():null;let L=K&&u['popout'+K]?b['disCN']['popout'+K]:b['disCN']['popouttop'];let M=!this['props']['arrow']?b['disCN']['popoutnoarrow']:K&&K['indexOf']('top')>-0x1&&K!='top'?b['disCN']['popoutarrowalignmenttop']:b['disCN']['popoutarrowalignmentmiddle'];return b['ReactUtils']['createElement'](x['LibraryComponents']['PopoutFocusLock'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['popoutwrapper'],b['disCN']['popout'],L,this['props']['invert']&&K&&K!='bottom'&&b['disCN']['popoutinvert'],M,!this['props']['shadow']&&b['disCN']['popoutnoshadow']),'id':this['props']['id'],'onClick':N=>{N['stopPropagation']();},'style':Object['assign']({},this['props']['style'],{'position':this['props']['isChild']?'relative':'absolute'}),'children':b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['themed']&&b['disCN']['popoutthemedpopout']),'style':b['ObjectUtils']['extract'](this['props'],'padding','height','maxHeight','minHeight','width','maxWidth','minWidth'),'children':this['props']['children']})});}};c['setDefaultProps'](x['LibraryComponents']['Popout'],{'themed':!![]});x['LibraryComponents']['PopoutContainer']=c['loadPatchedComp']('PopoutContainer')||y&&class BDFDB_PopoutContainer extends n['React']['Component']{['handleRender'](K){let L=typeof this['props']['renderPopout']=='function'?this['props']['renderPopout'](this):null;return this['popout']=!L?null:!this['props']['wrap']?L:b['ReactUtils']['createElement'](x['LibraryComponents']['Popout'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':this['props']['popoutClassName'],'containerInstance':this,'isChild':!![],'position':K['position'],'style':this['props']['popoutStyle'],'onClose':typeof this['props']['onClose']=='function'?this['props']['onClose']['bind'](this):M=>{},'children':L}),'popoutStyle','popoutClassName'));}['componentDidMount'](){let K=b['ReactUtils']['findOwner'](this,{'name':'BasePopout'});if(!K||!K['handleClick'])return;K['isBDFDBpopout']=!![];this['handleClick']=L=>{return K['handleClick'](b['ObjectUtils']['is'](L)?L:new MouseEvent({}));};this['close']=K['close'];this['domElementRef']=K['domElementRef'];}['render'](){let K=(b['ArrayUtils']['is'](this['props']['children'])?this['props']['children'][0x0]:this['props']['children'])||b['ReactUtils']['createElement']('div',{'style':{'height':'100%','width':'100%'}});K['props']['className']=b['DOMUtils']['formatClassName'](K['props']['className'],this['props']['className']);let L=K['props']['onClick'],M=K['props']['onContextMenu'];K['props']['onClick']=(N,O)=>{if(!this['domElementRef']['current']||this['domElementRef']['current']['contains'](N['target'])){if((this['props']['openOnClick']||this['props']['openOnClick']===undefined)&&typeof this['handleClick']=='function')this['handleClick'](N);if(typeof this['props']['onClick']=='function')this['props']['onClick'](N,this);if(typeof L=='function')L(N,O);}else N['stopPropagation']();};K['props']['onContextMenu']=(N,O)=>{if(!this['domElementRef']['current']||this['domElementRef']['current']['contains'](N['target'])){if(this['props']['openOnContextMenu']&&typeof this['handleClick']=='function')this['handleClick'](N);if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](N,this);if(typeof M=='function')M(N,O);}else N['stopPropagation']();};return b['ReactUtils']['createElement'](n['React']['Fragment'],{'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['PopoutContainer'],Object['assign']({},this['props'],{'children':N=>{return K;},'renderPopout':this['handleRender']['bind'](this)}))});}};c['setDefaultProps'](x['LibraryComponents']['PopoutContainer'],{'wrap':!![]});x['LibraryComponents']['PopoutFocusLock']=b['ModuleUtils']['findByString']('useFocusLock','useImperativeHandle');x['LibraryComponents']['PrivateChannelItems']=b['ModuleUtils']['findByProperties']('DirectMessage','GroupDM');x['LibraryComponents']['QuickSelect']=c['loadPatchedComp']('QuickSelect')||y&&class BDFDB_QuickSelect extends n['React']['Component']{['handleChange'](K){this['props']['value']=K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K['value']||K['key'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=(b['ArrayUtils']['is'](this['props']['options'])?this['props']['options']:[{}])['filter'](M=>M);let L=b['ObjectUtils']['is'](this['props']['value'])?this['props']['value']:K[0x0]||{};return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['quickselectwrapper']),'children':b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['quickselect'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['quickselectlabel'],'children':this['props']['label']}),b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'className':b['disCN']['quickselectclick'],'onClick':M=>{n['ContextMenuUtils']['openContextMenu'](M,N=>{return b['ReactUtils']['createElement'](x['LibraryComponents']['Menu'],{'navId':'bdfdb-quickselect','onClose':b['LibraryModules']['ContextMenuUtils']['closeContextMenu'],'className':this['props']['popoutClassName'],'children':b['ContextMenuUtils']['createItem'](x['LibraryComponents']['MenuItems']['MenuGroup'],{'children':K['map']((O,P)=>{let Q=O['value']&&O['value']===L['value']||O['key']&&O['key']===L['key'];return b['ContextMenuUtils']['createItem'](x['LibraryComponents']['MenuItems']['MenuItem'],{'label':O['label'],'id':b['ContextMenuUtils']['createItemId']('option',O['key']||O['value']||P),'action':Q?null:R=>{this['handleChange']['bind'](this)(O);}});})})});});},'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['quickselectvalue'],'children':typeof this['props']['renderValue']=='function'?this['props']['renderValue'](this['props']['value']):this['props']['value']['label']}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['quickselectarrow']})]})]})});}};x['LibraryComponents']['QuickSwitchItems']=b['ModuleUtils']['findByProperties']('Channel','GroupDM','Header');x['LibraryComponents']['QuickSwitchMenu']=b['ModuleUtils']['findByName']('QuickSwitcher');x['LibraryComponents']['RadioGroup']=c['loadPatchedComp']('RadioGroup')||y&&class BDFDB_RadioGroup extends n['React']['Component']{['handleChange'](K){this['props']['value']=K['value'];if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['RadioGroup'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}));}};let A=b['ModuleUtils']['findByProperties']('AdvancedScrollerThin','AdvancedScrollerAuto')||{};x['LibraryComponents']['ScrollerAuto']=A['AdvancedScrollerAuto']||A['default'];x['LibraryComponents']['ScrollerNone']=A['AdvancedScrollerNone']||A['default'];x['LibraryComponents']['ScrollerThin']=A['AdvancedScrollerThin']||A['default'];x['LibraryComponents']['ScrollerVertical']=b['ModuleUtils']['findByName']('VerticalScroller');x['LibraryComponents']['SearchBar']=c['loadPatchedComp']('SearchBar')||y&&class BDFDB_SearchBar extends n['React']['Component']{['handleChange'](K){this['props']['query']=K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['handleClear'](){this['props']['query']='';if(this['props']['changeOnClear']&&typeof this['props']['onChange']=='function')this['props']['onChange']('',this);if(typeof this['props']['onClear']=='function')this['props']['onClear'](this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this),'onClear':this['handleClear']['bind'](this)});if(typeof K['query']!='string')K['query']='';return b['ReactUtils']['createElement'](x['NativeSubComponents']['SearchBar'],K);}};x['LibraryComponents']['Select']=c['loadPatchedComp']('Select')||y&&class BDFDB_Select extends n['React']['Component']{['handleChange'](K){this['props']['value']=K['value']||K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['selectwrapper'],'direction':x['LibraryComponents']['Flex']['Direction']['HORIZONTAL'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':b['ReactUtils']['createElement'](x['NativeSubComponents']['Select'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}))});}};x['LibraryComponents']['SettingsGuildList']=c['loadPatchedComp']('SettingsGuildList')||y&&class BDFDB_SettingsGuildList extends n['React']['Component']{['render'](){this['props']['disabled']=b['ArrayUtils']['is'](this['props']['disabled'])?this['props']['disabled']:[];return b['ReactUtils']['createElement'](b['LibraryComponents']['Flex'],{'className':this['props']['className'],'wrap':b['LibraryComponents']['Flex']['Wrap']['WRAP'],'children':[this['props']['includeDMs']&&{'name':'Direct\x20Messages','acronym':'DMs','id':b['DiscordConstants']['ME'],'getIconURL':K=>{}}]['concat'](b['LibraryModules']['FolderStore']['getFlattenedGuilds']())['filter'](K=>K)['map'](K=>b['ReactUtils']['createElement'](b['LibraryComponents']['TooltipContainer'],{'text':K['name'],'children':b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['guildClassName'],b['disCN']['settingsguild'],this['props']['disabled']['includes'](K['id'])&&b['disCN']['settingsguilddisabled']),'children':b['ReactUtils']['createElement'](b['LibraryComponents']['GuildComponents']['Icon'],{'guild':K,'size':this['props']['size']||b['LibraryComponents']['GuildComponents']['Icon']['Sizes']['MEDIUM']}),'onClick':L=>{let M=this['props']['disabled']['includes'](K['id']);if(M)b['ArrayUtils']['remove'](this['props']['disabled'],K['id'],!![]);else this['props']['disabled']['push'](K['id']);if(typeof this['props']['onClick']=='function')this['props']['onClick'](this['props']['disabled'],this);b['ReactUtils']['forceUpdate'](this);}})}))});}};x['LibraryComponents']['SettingsPanel']=c['loadPatchedComp']('SettingsPanel')||y&&class BDFDB_SettingsPanel extends n['React']['Component']{['render'](){let K=[this['props']['title']&&b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'className':b['disCN']['settingspaneltitle'],'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H2'],'children':this['props']['title']}),this['props']['controls']&&b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanelheadercontrols'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'grow':0x0,'children':this['props']['controls']})]['flat'](0xa)['filter'](M=>M);let L=[this['props']['children']]['flat'](0xa)['filter'](M=>M);return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'grow':0x1,'children':[K['length']&&[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanelheader'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':K}),L['length']&&b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':b['disCNS']['margintop4']+b['disCN']['marginbottom8']})],b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanelinner'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'children':L})]['flat'](0xa)['filter'](M=>M)});}};x['LibraryComponents']['SettingsPanelInner']=c['loadPatchedComp']('SettingsPanelInner')||y&&class BDFDB_SettingsPanelInner extends n['React']['Component']{['render'](){return this['props']['children']?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':this['props']['className'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'children':[!this['props']['first']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':b['disCN']['marginbottom8']}):null,typeof this['props']['title']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'className':b['disCN']['marginbottom4'],'tag':x['LibraryComponents']['FormComponents']['FormTitle']['Tags']['H3'],'children':this['props']['title']}):null,b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingspanellist'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'children':this['props']['children']}),!this['props']['last']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':b['disCN']['marginbottom20']}):null]}):null;}};x['LibraryComponents']['SettingsItem']=c['loadPatchedComp']('SettingsItem')||y&&class BDFDB_SettingsItem extends n['React']['Component']{['handleChange'](K){if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);}['render'](){if(typeof this['props']['type']!='string'||!['BUTTON','SELECT','SWITCH','TEXTINPUT']['includes'](this['props']['type']['toUpperCase']()))return null;let K=x['LibraryComponents'][this['props']['type']];if(!K)return null;if(this['props']['mini']&&K['Sizes'])this['props']['size']=K['Sizes']['MINI']||K['Sizes']['MIN'];return b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['disabled']&&b['disCN']['disabled']),'id':this['props']['id'],'direction':x['LibraryComponents']['Flex']['Direction']['VERTICAL'],'align':x['LibraryComponents']['Flex']['Align']['STRETCH'],'grow':this['props']['grow'],'stretch':this['props']['stretch'],'children':[this['props']['dividertop']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':this['props']['mini']?b['disCN']['marginbottom4']:b['disCN']['marginbottom8']}):null,b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':[this['props']['label']?this['props']['tag']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormTitle'],{'className':b['DOMUtils']['formatClassName'](this['props']['labelClassName'],b['disCN']['marginreset']),'tag':this['props']['tag'],'children':this['props']['label']}):b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'children':b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsLabel'],{'className':this['props']['labelClassName'],'mini':this['props']['mini'],'label':this['props']['label']})}):null,this['props']['labelchildren'],b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'grow':0x0,'shrink':this['props']['basis']?0x0:0x1,'basis':this['props']['basis'],'wrap':!![],'children':b['ReactUtils']['createElement'](K,b['ObjectUtils']['exclude'](Object['assign'](b['ObjectUtils']['exclude'](this['props'],'className','id','type'),this['props']['childProps'],{'onChange':this['handleChange']['bind'](this)}),'grow','stretch','basis','dividerbottom','dividertop','label','labelClassName','labelchildren','tag','mini','note','childProps'))})]['flat'](0xa)['filter'](L=>L)}),typeof this['props']['note']=='string'?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'className':b['disCN']['note'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormText'],{'disabled':this['props']['disabled'],'type':x['LibraryComponents']['FormComponents']['FormText']['Types']['DESCRIPTION'],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'speed':0x2,'children':this['props']['note']})})}):null,this['props']['dividerbottom']?b['ReactUtils']['createElement'](x['LibraryComponents']['FormComponents']['FormDivider'],{'className':this['props']['mini']?b['disCN']['margintop4']:b['disCN']['margintop8']}):null]});}};x['LibraryComponents']['SettingsLabel']=c['loadPatchedComp']('SettingsLabel')||y&&class BDFDB_SettingsLabel extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['LibraryComponents']['TextScroller'],{'className':b['DOMUtils']['formatClassName'](this['props']['className'],this['props']['mini']?b['disCN']['titlemini']:b['disCN']['titledefault'],b['disCN']['cursordefault']),'speed':0x2,'children':this['props']['label']});}};x['LibraryComponents']['SettingsList']=c['loadPatchedComp']('SettingsList')||y&&class BDFDB_SettingsList extends n['React']['Component']{['componentDidMount'](){let K=b['ReactUtils']['findDOMNode'](this);if(K&&!this['props']['maxWidth']){let L=Array['from'](K['querySelectorAll'](b['dotCN']['settingstableheader']));L['shift']();if(b['DOMUtils']['getRects'](L[0x0])['width']==0x0)b['TimeUtils']['timeout'](M=>{this['resizeList'](K,L);});else this['resizeList'](K,L);}}['resizeList'](K,L){let M=0x0,N=0x0;if(!M){for(let O of L){O['style']='';let P=b['DOMUtils']['getRects'](O)['width'];M=P>M?P:M;}M+=0x4;N=M;}if(L['length']*M>0x12c){this['props']['vertical']=!![];M=parseInt(0x122/L['length']);}else if(M<0x24){M=0x24;N=M;}this['props']['maxWidth']=M;this['props']['biggestWidth']=N;this['props']['fullWidth']=b['DOMUtils']['getRects'](K)['width'];b['ReactUtils']['forceUpdate'](this);}['render'](){this['props']['settings']=b['ArrayUtils']['is'](this['props']['settings'])?this['props']['settings']:[];this['props']['renderLabel']=typeof this['props']['renderLabel']=='function'?this['props']['renderLabel']:Q=>Q['label'];this['props']['data']=(b['ArrayUtils']['is'](this['props']['data'])?this['props']['data']:[{}])['filter'](Q=>Q);let K=this['props']['maxWidth']&&this['props']['fullWidth']&&this['props']['fullWidth']-0x14-this['props']['maxWidth']*this['props']['settings']['length'];let L=this['props']['maxWidth']&&this['props']['maxWidth']*this['props']['settings']['length'];let M=typeof this['props']['onHeaderClick']=='function'||typeof this['props']['onHeaderContextMenu']=='function';let N=Q=>b['ReactUtils']['createElement'](x['LibraryComponents']['Card'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName']([this['props']['cardClassName'],Q['className']]['filter'](R=>R)['join']('\x20')['indexOf'](b['disCN']['card'])==-0x1&&b['disCN']['cardprimaryoutline'],b['disCN']['settingstablecard'],this['props']['cardClassName'],Q['className']),'cardId':Q['key'],'backdrop':![],'style':Object['assign']({},this['props']['cardStyle'],Q['style']),'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingstablecardlabel'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'grow':0x0,'shrink':0x0,'basis':K||'auto','style':{'maxWidth':K||null},'children':this['props']['renderLabel'](Q)}),b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingstablecardconfigs'],'justify':x['LibraryComponents']['Flex']['Justify']['AROUND'],'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'grow':0x0,'shrink':0x0,'basis':L||'auto','style':{'maxWidth':L||null},'children':this['props']['settings']['map'](R=>b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'className':b['disCN']['checkboxcontainer'],'grow':0x0,'shrink':0x0,'wrap':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['Checkbox'],{'disabled':Q['disabled'],'cardId':Q['key'],'settingId':R,'shape':x['LibraryComponents']['Checkbox']['Shapes']['ROUND'],'type':x['LibraryComponents']['Checkbox']['Types']['INVERTED'],'value':Q[R],'onChange':this['props']['onCheckboxChange']})}))['flat'](0xa)['filter'](R=>R)})]}),'title','data','settings','renderLabel','cardClassName','cardStyle','onCheckboxChange','maxWidth','fullWidth','pagination'));let O=b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'className':b['disCN']['settingstableheaders'],'align':x['LibraryComponents']['Flex']['Align']['STRETCH'],'style':this['props']['vertical']&&this['props']['biggestWidth']?{'marginTop':this['props']['biggestWidth']-0xf||0x0}:{},'children':[]['concat'](this['props']['title']||'',this['props']['settings'])['map']((Q,R)=>b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](R==0x0?b['disCN']['settingstableheadername']:b['disCN']['settingstableheaderoption'],R!=0x0&&this['props']['vertical']&&b['disCN']['settingstableheadervertical'],b['disCN']['colorbase'],b['disCN']['size10'],M&&b['disCN']['cursorpointer']),'onClick':S=>{if(typeof this['props']['onHeaderClick']=='function')this['props']['onHeaderClick'](Q,this);},'onContextMenu':S=>{if(typeof this['props']['onHeaderContextMenu']=='function')this['props']['onHeaderContextMenu'](Q,this);},'style':R!=0x0&&this['props']['maxWidth']?{'maxWidth':this['props']['maxWidth'],'width':this['props']['maxWidth'],'flex':'0\x200\x20'+this['props']['maxWidth']+'px'}:{},'children':b['ReactUtils']['createElement']('span',{'children':Q})}))});let P=b['ObjectUtils']['is'](this['props']['pagination']);return!this['props']['data']['length']?null:b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['settingstablelist'],this['props']['className']),'children':[!P&&O,!P?this['props']['data']['map'](N):b['ReactUtils']['createElement'](x['LibraryComponents']['PaginatedList'],Object['assign']({},this['props']['pagination'],{'header':O,'items':this['props']['data'],'renderItem':N,'onJump':(Q,R)=>{this['props']['pagination']['offset']=Q;if(typeof this['props']['pagination']['onJump']=='function')this['props']['pagination']['onJump'](Q,this,R);}}))]['filter'](Q=>Q)});}};x['LibraryComponents']['SettingsSaveItem']=c['loadPatchedComp']('SettingsSaveItem')||y&&class BDFDB_SettingsSaveItem extends n['React']['Component']{['saveSettings'](K){if(!b['ArrayUtils']['is'](this['props']['keys'])||!b['ObjectUtils']['is'](this['props']['plugin']))return;let L=this['props']['keys']['filter'](N=>N);let M=L['shift']();if(b['ObjectUtils']['is'](this['props']['plugin'])&&M){let N=b['DataUtils']['load'](this['props']['plugin'],M);let O='';for(let R of L)O+='{\x22'+R+'\x22:';K=K!=null&&K['value']!=null?K['value']:K;let P=typeof K=='string';let Q=P?'\x22':'';O+=Q+(P?K['replace'](/\\/g,'\x5c\x5c'):K)+Q+'}'['repeat'](L['length']);O=JSON['parse'](O);b['DataUtils']['save'](b['ObjectUtils']['is'](O)?b['ObjectUtils']['deepAssign']({},N,O):O,this['props']['plugin'],M);this['props']['plugin']['SettingsUpdated']=!![];}if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);}['render'](){if(typeof this['props']['type']!='string'||!['SELECT','SWITCH','TEXTINPUT']['includes'](this['props']['type']['toUpperCase']()))return null;return b['ReactUtils']['createElement'](x['LibraryComponents']['SettingsItem'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'onChange':this['saveSettings']['bind'](this)}),'keys','plugin'));}};x['LibraryComponents']['SidebarList']=c['loadPatchedComp']('SidebarList')||y&&class BDFDB_SidebarList extends n['React']['Component']{['handleItemSelect'](K){this['props']['selectedItem']=K;if(typeof this['props']['onItemSelect']=='function')this['props']['onItemSelect'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=(b['ArrayUtils']['is'](this['props']['items'])?this['props']['items']:[{}])['filter'](O=>O);let L=this['props']['selectedItem']||(K[0x0]||{})['value'];let M=(K['find'](O=>O['value']==L)||{})['elements'];let N=typeof this['props']['renderElement']=='function'?this['props']['renderElement']:O=>{};return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](this['props']['className'],b['disCN']['sidebarlist']),'children':[b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerThin'],{'className':b['DOMUtils']['formatClassName'](this['props']['sidebarClassName'],b['disCN']['sidebar']),'fade':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['TabBar'],{'itemClassName':this['props']['itemClassName'],'type':x['LibraryComponents']['TabBar']['Types']['SIDE'],'items':K,'selectedItem':L,'renderItem':this['props']['renderItem'],'onItemSelect':this['handleItemSelect']['bind'](this)})}),b['ReactUtils']['createElement'](x['LibraryComponents']['ScrollerThin'],{'className':b['DOMUtils']['formatClassName'](this['props']['contentClassName'],b['disCN']['sidebarcontent']),'fade':!![],'children':[M]['flat'](0xa)['filter'](O=>O)['map'](O=>N(O))})]});}};x['LibraryComponents']['Slider']=c['loadPatchedComp']('Slider')||y&&class BDFDB_Slider extends n['React']['Component']{['handleValueChange'](K){let L=b['ArrayUtils']['is'](this['props']['edges'])&&this['props']['edges']['length']==0x2?b['NumberUtils']['mapRange']([0x0,0x64],this['props']['edges'],K):K;if(typeof this['props']['digits']=='number')L=Math['round'](L*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);this['props']['defaultValue']=L;if(typeof this['props']['onValueChange']=='function')this['props']['onValueChange'](L,this);b['ReactUtils']['forceUpdate'](this);}['handleValueRender'](K){let L=b['ArrayUtils']['is'](this['props']['edges'])&&this['props']['edges']['length']==0x2?b['NumberUtils']['mapRange']([0x0,0x64],this['props']['edges'],K):K;if(typeof this['props']['digits']=='number')L=Math['round'](L*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);if(typeof this['props']['onValueRender']=='function'){let M=this['props']['onValueRender'](L,this);if(M!=undefined)L=M;}return L;}['render'](){let K=b['ArrayUtils']['is'](this['props']['edges'])&&this['props']['edges']['length']==0x2?b['NumberUtils']['mapRange'](this['props']['edges'],[0x0,0x64],this['props']['defaultValue']):this['props']['defaultValue'];if(typeof this['props']['digits']=='number')K=Math['round'](K*Math['pow'](0xa,this['props']['digits']))/Math['pow'](0xa,this['props']['digits']);return b['ReactUtils']['createElement'](x['NativeSubComponents']['Slider'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'initialValue':K,'onValueChange':this['handleValueChange']['bind'](this),'onValueRender':this['handleValueRender']['bind'](this)}),'digits','edges'));}};x['LibraryComponents']['Spinner']=b['ModuleUtils']['findByName']('Spinner');x['LibraryComponents']['SvgIcon']=c['loadPatchedComp']('SvgIcon')||y&&class BDFDB_Icon extends n['React']['Component']{['render'](){if(b['ObjectUtils']['is'](this['props']['name'])){if(this['props']['className'])this['props']['nativeClass']=!![];this['props']['iconSVG']=this['props']['name']['icon'];let K=Object['assign']({'width':0x18,'height':0x18,'color':'currentColor'},this['props']['name']['defaultProps'],this['props'],{'className':b['DOMUtils']['formatClassName'](typeof this['props']['name']['getClassName']=='function'&&this['props']['name']['getClassName'](this['props']),this['props']['className'])});for(let L in K)this['props']['iconSVG']=this['props']['iconSVG']['replace'](new RegExp('%%'+L,'g'),K[L]);}if(this['props']['iconSVG']){let M=b['ReactUtils']['elementToReact'](b['DOMUtils']['create'](this['props']['iconSVG']));if(b['ReactUtils']['isValidElement'](M)){M['props']['className']=b['DOMUtils']['formatClassName'](!this['props']['nativeClass']&&b['disCN']['svgicon'],M['props']['className'],this['props']['className']);M['props']['style']=Object['assign']({},M['props']['style'],this['props']['style']);M['props']=Object['assign']({},b['ObjectUtils']['extract'](this['props'],'onClick','onContextMenu','onMouseDown','onMouseUp','onMouseEnter','onMouseLeave'),M['props']);return M;}}return null;}};x['LibraryComponents']['SvgIcon']['Names']={'CHANGELOG':{'icon':''},'CHECKBOX':{'defaultProps':{'background':'','foreground':''},'icon':''},'CHECKBOX_EMPTY':{'defaultProps':{'foreground':''},'icon':''},'CHECKMARK':{'defaultProps':{'width':0x12,'height':0x12},'icon':''},'CLOSE':{'defaultProps':{'width':0xc,'height':0xc},'icon':''},'CLOSE_CIRCLE':{'icon':''},'COG':{'defaultProps':{'width':0x14,'height':0x14},'icon':''},'CROWN':{'icon':''},'DROPPER':{'defaultProps':{'width':0x10,'height':0x10,'foreground':''},'icon':''},'FOLDER':{'icon':''},'GITHUB':{'icon':''},'GRADIENT':{'defaultProps':{'width':0x24,'height':0x24},'icon':''},'LEFT_CARET':{'icon':''},'LEFT_DOUBLE_CARET':{'icon':''},'LOCK_CLOSED':{'icon':''},'MENU_CARET':{'getClassName':K=>b['DOMUtils']['formatClassName'](b['disCN']['menucaretarrow'],K['open']&&b['disCN']['menucaretopen']),'icon':''},'NOVA_AT':{'icon':''},'NOVA_PIN':{'icon':''},'NOVA_TRASH':{'icon':''},'PENCIL':{'defaultProps':{'width':0x10,'height':0x10},'icon':''},'PIN':{'defaultProps':{'width':0x10,'height':0x10},'icon':''},'RAW_TEXT':{'icon':''},'RIGHT_CARET':{'icon':''},'RIGHT_DOUBLE_CARET':{'icon':''},'SEARCH':{'defaultProps':{'width':0x12,'height':0x12},'icon':''},'SPEAKER':{'icon':''},'STREAM':{'icon':''}};x['LibraryComponents']['Switch']=c['loadPatchedComp']('Switch')||y&&class BDFDB_Switch extends n['React']['Component']{['handleChange'](){this['props']['value']=!this['props']['value'];if(typeof this['props']['onChange']=='function')this['props']['onChange'](this['props']['value'],this);b['ReactUtils']['forceUpdate'](this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Switch'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this)}));}};x['LibraryComponents']['TabBar']=c['loadPatchedComp']('TabBar')||y&&class BDFDB_TabBar extends n['React']['Component']{['handleItemSelect'](K){this['props']['selectedItem']=K;if(typeof this['props']['onItemSelect']=='function')this['props']['onItemSelect'](K,this);b['ReactUtils']['forceUpdate'](this);}['render'](){let K=(b['ArrayUtils']['is'](this['props']['items'])?this['props']['items']:[{}])['filter'](N=>N);let L=this['props']['selectedItem']||(K[0x0]||{})['value'];let M=typeof this['props']['renderItem']=='function'?this['props']['renderItem']:N=>N['label']||N['value'];return b['ReactUtils']['createElement'](x['NativeSubComponents']['TabBar'],b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'selectedItem':L,'onItemSelect':this['handleItemSelect']['bind'](this),'children':K['map'](N=>{return b['ReactUtils']['createElement'](x['LibraryComponents']['TabBar']['Item'],{'className':b['DOMUtils']['formatClassName'](this['props']['itemClassName'],L==N['value']&&this['props']['itemSelectedClassName']),'itemType':this['props']['type'],'id':N['value'],'children':M(N),'aria-label':N['label']||N['value']});})}),'itemClassName','items','renderItem'));}};x['LibraryComponents']['Table']=c['loadPatchedComp']('Table')||y&&class BDFDB_Table extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['Table'],Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](b['disCN']['table'],this['props']['className']),'headerClassName':b['DOMUtils']['formatClassName'](this['props']['stickyHeader']?b['disCN']['tablestickyheader']:b['disCN']['tableheader'],this['props']['headerClassName']),'headerCellClassName':b['DOMUtils']['formatClassName'](b['disCN']['tableheadercell'],this['props']['headerCellClassName']),'sortedHeaderCellClassName':b['DOMUtils']['formatClassName'](b['disCN']['tableheadercellsorted'],this['props']['sortedHeaderCellClassName']),'bodyCellClassName':b['DOMUtils']['formatClassName'](b['disCN']['tablebodycell'],this['props']['bodyCellClassName']),'rowClassName':b['DOMUtils']['formatClassName'](b['disCN']['tablerow'],this['props']['rowClassName']),'onSort':(K,L)=>{this['props']['sortDirection']=this['props']['sortKey']!=K&&L==x['LibraryComponents']['Table']['SortDirection']['ASCENDING']&&this['props']['columns']['filter'](M=>M['key']==K)[0x0]['reverse']?x['LibraryComponents']['Table']['SortDirection']['DESCENDING']:L;this['props']['sortKey']=K;this['props']['data']=b['ArrayUtils']['keySort'](this['props']['data'],this['props']['sortKey']);if(this['props']['sortDirection']==x['LibraryComponents']['Table']['SortDirection']['DESCENDING'])this['props']['data']['reverse']();if(typeof this['props']['onSort']=='function')this['props']['onSort'](this['props']['sortKey'],this['props']['sortDirection']);b['ReactUtils']['forceUpdate'](this);}}));}};x['LibraryComponents']['TextArea']=c['loadPatchedComp']('TextArea')||y&&class BDFDB_TextArea extends n['React']['Component']{['handleChange'](K){this['props']['value']=K;if(typeof this['props']['onChange']=='function')this['props']['onChange'](K,this);b['ReactUtils']['forceUpdate'](this);}['handleBlur'](K){if(typeof this['props']['onBlur']=='function')this['props']['onBlur'](K,this);}['handleFocus'](K){if(typeof this['props']['onFocus']=='function')this['props']['onFocus'](K,this);}['render'](){return b['ReactUtils']['createElement'](x['NativeSubComponents']['TextArea'],Object['assign']({},this['props'],{'onChange':this['handleChange']['bind'](this),'onBlur':this['handleBlur']['bind'](this),'onFocus':this['handleFocus']['bind'](this)}));}};x['LibraryComponents']['TextElement']=b['ModuleUtils']['findByName']('Text');x['LibraryComponents']['TextGradientElement']=c['loadPatchedComp']('TextGradientElement')||y&&class BDFDB_TextGradientElement extends n['React']['Component']{['render'](){if(this['props']['gradient']&&this['props']['children'])return b['ReactUtils']['createElement']('span',{'children':this['props']['children'],'ref':K=>{let L=b['ReactUtils']['findDOMNode'](K);if(L){L['style']['setProperty']('background-image',this['props']['gradient'],'important');L['style']['setProperty']('color','transparent','important');L['style']['setProperty']('-webkit-background-clip','text','important');}}});return this['props']['children']||null;}};x['LibraryComponents']['TextInput']=c['loadPatchedComp']('TextInput')||y&&class BDFDB_TextInput extends n['React']['Component']{['handleChange'](K){let L=K=b['ObjectUtils']['is'](K)?K['currentTarget']['value']:K;this['props']['value']=this['props']['valuePrefix']&&!L['startsWith'](this['props']['valuePrefix'])?this['props']['valuePrefix']+L:L;if(typeof this['props']['onChange']=='function')this['props']['onChange'](this['props']['value'],this);b['ReactUtils']['forceUpdate'](this);}['handleInput'](K){if(typeof this['props']['onInput']=='function')this['props']['onInput'](b['ObjectUtils']['is'](K)?K['currentTarget']['value']:K,this);}['handleKeyDown'](K){if(typeof this['props']['onKeyDown']=='function')this['props']['onKeyDown'](K,this);}['handleBlur'](K){if(typeof this['props']['onBlur']=='function')this['props']['onBlur'](K,this);}['handleFocus'](K){if(typeof this['props']['onFocus']=='function')this['props']['onFocus'](K,this);}['handleMouseEnter'](K){if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](K,this);}['handleMouseLeave'](K){if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](K,this);}['handleNumberButton'](K,L){b['TimeUtils']['clear'](K['pressedTimeout']);K['pressedTimeout']=b['TimeUtils']['timeout'](M=>{delete this['props']['focused'];b['ReactUtils']['forceUpdate'](this);},0x3e8);this['props']['focused']=!![];this['handleChange']['bind'](this)(L);this['handleInput']['bind'](this)(L);}['componentDidMount'](){if(this['props']['type']=='file'){let L=b['ReactUtils']['findOwner'](this,{'name':'BDFDB_FileButton'});if(L)L['refInput']=this;}let K=b['ReactUtils']['findDOMNode'](this);if(!K)return;K=K['querySelector']('input')||K;if(K&&!K['patched']){K['addEventListener']('keydown',M=>{this['handleKeyDown']['bind'](this)(M);M['stopImmediatePropagation']();});K['patched']=!![];}}['render'](){let K=[b['ReactUtils']['createElement']('input',b['ObjectUtils']['exclude'](Object['assign']({},this['props'],{'className':b['DOMUtils']['formatClassName'](this['props']['size']&&x['LibraryComponents']['TextInput']['Sizes'][this['props']['size']['toUpperCase']()]&&b['disCN']['input'+this['props']['size']['toLowerCase']()]||b['disCN']['inputdefault'],this['props']['inputClassName'],this['props']['focused']&&b['disCN']['inputfocused'],this['props']['error']||this['props']['errorMessage']?b['disCN']['inputerror']:this['props']['success']&&b['disCN']['inputsuccess'],this['props']['disabled']&&b['disCN']['inputdisabled'],this['props']['editable']&&b['disCN']['inputeditable']),'type':this['props']['type']=='color'||this['props']['type']=='file'?'text':this['props']['type'],'onChange':this['handleChange']['bind'](this),'onInput':this['handleInput']['bind'](this),'onKeyDown':this['handleKeyDown']['bind'](this),'onBlur':this['handleBlur']['bind'](this),'onFocus':this['handleFocus']['bind'](this),'onMouseEnter':this['handleMouseEnter']['bind'](this),'onMouseLeave':this['handleMouseLeave']['bind'](this),'maxLength':this['props']['type']=='file'?![]:this['props']['maxLength'],'ref':this['props']['inputRef']}),'errorMessage','focused','error','success','inputClassName','inputChildren','valuePrefix','inputPrefix','size','editable','inputRef','style','mode','filter','useFilePath','useFilepath')),this['props']['inputChildren'],this['props']['type']=='color'?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'wrap':!![],'children':b['ReactUtils']['createElement'](x['LibraryComponents']['ColorSwatches'],{'colors':[],'color':this['props']['value']&&this['props']['mode']=='comp'?b['ColorUtils']['convert'](this['props']['value']['split'](','),'RGB'):this['props']['value'],'onColorChange':L=>{this['handleChange'](!L?'':this['props']['mode']=='comp'?b['ColorUtils']['convert'](L,'RGBCOMP')['slice'](0x0,0x3)['join'](','):L);},'pickerConfig':{'gradient':![],'alpha':this['props']['mode']!='comp'}})}):null,this['props']['type']=='file'?b['ReactUtils']['createElement'](x['LibraryComponents']['FileButton'],{'filter':this['props']['filter'],'mode':this['props']['mode'],'useFilePath':this['props']['useFilePath']||this['props']['useFilepath']}):null]['flat'](0xa)['filter'](L=>L);return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['inputwrapper'],this['props']['type']=='number'&&(this['props']['size']&&x['LibraryComponents']['TextInput']['Sizes'][this['props']['size']['toUpperCase']()]&&b['disCN']['inputnumberwrapper'+this['props']['size']['toLowerCase']()]||b['disCN']['inputnumberwrapperdefault']),this['props']['className']),'style':this['props']['style'],'children':[this['props']['inputPrefix']?b['ReactUtils']['createElement']('span',{'className':b['disCN']['inputprefix']}):null,this['props']['type']=='number'?b['ReactUtils']['createElement']('div',{'className':b['disCN']['inputnumberbuttons'],'children':[b['ReactUtils']['createElement']('div',{'className':b['disCN']['inputnumberbuttonup'],'onClick':L=>{let M=parseInt(this['props']['min']);let N=parseInt(this['props']['max']);let O=parseInt(this['props']['value'])+0x1||M||0x0;if(isNaN(N)||!isNaN(N)&&O<=N)this['handleNumberButton']['bind'](this)(L['_targetInst'],isNaN(M)||!isNaN(M)&&O>=M?O:M);}}),b['ReactUtils']['createElement']('div',{'className':b['disCN']['inputnumberbuttondown'],'onClick':L=>{let M=parseInt(this['props']['min']);let N=parseInt(this['props']['max']);let O=parseInt(this['props']['value'])-0x1||M||0x0;if(isNaN(M)||!isNaN(M)&&O>=M)this['handleNumberButton']['bind'](this)(L['_targetInst'],isNaN(N)||!isNaN(N)&&O<=N?O:N);}})]}):null,K['length']==0x1?K[0x0]:b['ReactUtils']['createElement'](x['LibraryComponents']['Flex'],{'align':x['LibraryComponents']['Flex']['Align']['CENTER'],'children':K['map']((L,M)=>M!=0x0?b['ReactUtils']['createElement'](x['LibraryComponents']['Flex']['Child'],{'shrink':0x0,'children':L}):L)}),this['props']['errorMessage']?b['ReactUtils']['createElement'](x['LibraryComponents']['TextElement'],{'className':b['disCN']['carderror'],'size':x['LibraryComponents']['TextElement']['Sizes']['SIZE_12'],'color':x['LibraryComponents']['TextElement']['Colors']['STATUS_RED'],'children':this['props']['errorMessage']}):null]['filter'](L=>L)});}};x['LibraryComponents']['TextScroller']=c['loadPatchedComp']('TextScroller')||y&&class BDFDB_TextScroller extends n['React']['Component']{['render'](){return b['ReactUtils']['createElement']('div',{'className':b['DOMUtils']['formatClassName'](b['disCN']['textscroller'],this['props']['className']),'style':Object['assign']({},this['props']['style'],{'position':'relative','display':'block','overflow':'hidden'}),'ref':K=>{let L=b['ReactUtils']['findDOMNode'](K);if(L&&L['parentElement']){let M=b['DOMUtils']['getInnerWidth'](L['parentElement']);if(M>0x32)L['style']['setProperty']('max-width',M+'px');b['TimeUtils']['timeout'](O=>{if(document['contains'](L['parentElement'])){let P=b['DOMUtils']['getInnerWidth'](L['parentElement']);if(P>M)L['style']['setProperty']('max-width',P+'px');}},0xbb8);let N=new n['AnimationUtils']['Value'](0x0);N['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,(b['DOMUtils']['getRects'](L['firstElementChild'])['width']-b['DOMUtils']['getRects'](L)['width'])*-0x1]})['addListener'](O=>{L['firstElementChild']['style']['setProperty']('left',O['value']+'px','important');});this['scroll']=O=>{let P=O+parseFloat(L['firstElementChild']['style']['getPropertyValue']('left'))/(b['DOMUtils']['getRects'](L['firstElementChild'])['width']-b['DOMUtils']['getRects'](L)['width']);P=isNaN(P)||!isFinite(P)?O:P;P*=b['DOMUtils']['getRects'](L['firstElementChild'])['width']/(b['DOMUtils']['getRects'](L)['width']*0x2);n['AnimationUtils']['parallel']([n['AnimationUtils']['timing'](N,{'toValue':O,'duration':Math['sqrt'](P**0x2)*0xfa0/(parseInt(this['props']['speed'])||0x1)})])['start']();};}},'onClick':K=>{if(typeof this['props']['onClick']=='function')this['props']['onClick'](K,this);},'onMouseEnter':K=>{if(b['DOMUtils']['getRects'](K['currentTarget'])['width']{if(this['scrolling']){delete this['scrolling'];K['currentTarget']['firstElementChild']['style']['setProperty']('display','inline','important');this['scroll'](0x0);}},'children':b['ReactUtils']['createElement']('div',{'style':{'left':'0','position':'relative','display':'inline','whiteSpace':'nowrap'},'children':this['props']['children']})});}};x['LibraryComponents']['TooltipContainer']=c['loadPatchedComp']('TooltipContainer')||y&&class BDFDB_TooltipContainer extends n['React']['Component']{['render'](){let K=(b['ArrayUtils']['is'](this['props']['children'])?this['props']['children'][0x0]:this['props']['children'])||b['ReactUtils']['createElement']('div',{});K['props']['className']=b['DOMUtils']['formatClassName'](K['props']['className'],this['props']['className']);let L=K['props']['onMouseEnter'],M=K['props']['onMouseLeave'],N=K['props']['onClick'],O=K['props']['onContextMenu'];let P=![];K['props']['onMouseEnter']=(Q,R)=>{if(!P){P=!![];b['TooltipUtils']['create'](Q['currentTarget'],this['props']['text'],Object['assign']({'delay':this['props']['delay']},this['props']['tooltipConfig']));if(typeof this['props']['onMouseEnter']=='function')this['props']['onMouseEnter'](Q,this);if(typeof L=='function')L(Q,R);}};K['props']['onMouseLeave']=(Q,R)=>{P=![];if(typeof this['props']['onMouseLeave']=='function')this['props']['onMouseLeave'](Q,this);if(typeof M=='function')M(Q,R);};K['props']['onClick']=(Q,R)=>{if(typeof this['props']['onClick']=='function')this['props']['onClick'](Q,this);if(typeof N=='function')N(Q,R);};K['props']['onContextMenu']=(Q,R)=>{if(typeof this['props']['onContextMenu']=='function')this['props']['onContextMenu'](Q,this);if(typeof O=='function')O(Q,R);};return b['ReactUtils']['createElement'](n['React']['Fragment'],{'children':K});}};x['LibraryComponents']['UserSummaryItem']=b['ModuleUtils']['findByName']('UserSummaryItem');for(let K in x['NativeSubComponents'])if(x['LibraryComponents'][K])for(let L in x['NativeSubComponents'][K])if(L!='displayName'&&L!='name'&&(typeof x['NativeSubComponents'][K][L]!='function'||L['charAt'](0x0)==L['charAt'](0x0)['toUpperCase']())){if(L=='defaultProps')x['LibraryComponents'][K][L]=Object['assign']({},x['LibraryComponents'][K][L],x['NativeSubComponents'][K][L]);else x['LibraryComponents'][K][L]=x['NativeSubComponents'][K][L];}b['LibraryComponents']=Object['assign']({},x['LibraryComponents']);b['DOMUtils']['appendLocalStyle']('BDFDB','\x0a\x09\x09@import\x20url(https://mwittrien.github.io/BetterDiscordAddons/Themes/res/SupporterBadge.css);\x0a\x09\x09\x0a\x09\x09img:not([src]),\x20img[src=\x22\x22],\x20img[src=\x22null\x22]\x20{\x0a\x09\x09\x09opacity:\x200;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['loadingiconwrapper']+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09\x09right:\x200;\x0a\x09\x09\x09z-index:\x201000;\x0a\x09\x09\x09animation:\x20loadingwrapper-fade\x203s\x20infinite\x20ease;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['loadingiconwrapper']+b['dotCN']['loadingicon'])+'\x20{\x0a\x09\x09\x09margin:\x200\x205px;\x0a\x09\x09}\x0a\x09\x09@keyframes\x20loadingwrapper-fade\x20{\x0a\x09\x09\x09from\x20{opacity:\x200.1;}\x0a\x09\x09\x0950%\x20{opacity:\x200.9;}\x0a\x09\x09\x09to\x20{opacity:\x200.1;}\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['settingspanelheader']+'\x20{\x0a\x09\x09\x09padding-right:\x205px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanelheadercontrols']+'\x20>\x20*\x20{\x0a\x09\x09\x09margin-left:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanelheaderbutton']+'\x20{\x0a\x09\x09\x09height:\x2024px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanelinner']+'\x20{\x0a\x09\x09\x09padding-left:\x2015px;\x0a\x09\x09\x09padding-right:\x205px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingspanellist']+'\x20{\x0a\x09\x09\x09padding-left:\x2015px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['collapsecontainer']+'\x20{\x0a\x09\x09\x09margin-bottom:\x2020px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainermini']+'\x20{\x0a\x09\x09\x09margin-bottom:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainerheader']+'\x20{\x0a\x09\x09\x09margin-bottom:\x204px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['collapsecontainercollapsed']+b['dotCN']['collapsecontainertitle'])+'\x20{\x0a\x09\x09\x09margin-bottom:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09justify-content:\x20space-between;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09order:\x201;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--text-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+'::before\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09\x09background-color:\x20currentColor;\x0a\x09\x09\x09height:\x202px;\x0a\x09\x09\x09margin:\x200\x2010px\x200\x2015px;\x0a\x09\x09\x09opacity:\x200.2;\x0a\x09\x09\x09order:\x202;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainertitle']+'::after\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09-webkit-mask:\x20url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FscXVlXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSItOTUwIDUzMiAxOCAxOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAtOTUwIDUzMiAxOCAxODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6bm9uZTt9DQoJLnN0MXtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjEuNTtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTS05MzIsNTMydjE4aC0xOHYtMThILTkzMnoiLz4NCjxwb2x5bGluZSBjbGFzcz0ic3QxIiBwb2ludHM9Ii05MzYuNiw1MzguOCAtOTQxLDU0My4yIC05NDUuNCw1MzguOCAiLz4NCjwvc3ZnPg0K)\x20center/cover\x20no-repeat;\x0a\x09\x09\x09background-color:\x20currentColor;\x0a\x09\x09\x09width:\x2020px;\x0a\x09\x09\x09height:\x2020px;\x0a\x09\x09\x09order:\x203;\x0a\x09\x09\x09transition:\x20transform\x20.3s\x20ease;\x0a\x09\x09\x09transform:\x20rotate(0);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['collapsecontainercollapsed']+b['dotCN']['collapsecontainertitle'])+'::after\x20{\x0a\x09\x09\x09transform:\x20rotate(90deg)\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['collapsecontainerinner']+'\x20{\x0a\x09\x09\x09padding-left:\x2015px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['settingsguild']+'\x20{\x0a\x09\x09\x09border-radius:\x2050%;\x0a\x09\x09\x09border:\x203px\x20solid\x20'+b['DiscordConstants']['Colors']['STATUS_GREEN']+';\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09margin:\x203px;\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingsguilddisabled']+'\x20{\x0a\x09\x09\x09border-color:\x20'+b['DiscordConstants']['Colors']['STATUS_GREY']+';\x0a\x09\x09\x09filter:\x20grayscale(100%)\x20brightness(50%);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['paginationlistpagination']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09font-size:\x2016px;\x0a\x09\x09\x09line-height:\x2020px;\x0a\x09\x09\x09margin-top:\x2010px;\x0a\x09\x09\x09margin-bottom:\x2010px;\x0a\x09\x09\x09color:\x20var(--text-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['paginationlistalphabet']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09font-size:\x2016px;\x0a\x09\x09\x09line-height:\x2020px;\x0a\x09\x09\x09margin-bottom:\x2010px;\x0a\x09\x09\x09color:\x20var(--text-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['paginationlistalphabetchar']+'\x20{\x0a\x09\x09\x09min-width:\x2012px;\x0a\x09\x09\x09text-align:\x20center;\x0a\x09\x09\x09margin:\x200\x204px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['paginationlistalphabetchar']+b['notCN']['paginationlistalphabetchardisabled'])+':hover\x20{\x0a\x09\x09\x09color:\x20var(--header-primary);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['paginationlistalphabetchar']+b['dotCN']['paginationlistalphabetchardisabled'])+'\x20{\x0a\x09\x09\x09color:\x20var(--text-muted);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['overflowellipsis']+'\x20{\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09\x09text-overflow:\x20ellipsis;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['userpopout']+b['dotCN']['userpopoutheadertext'])+'\x20+\x20'+b['dotCN']['userinfodate']+',\x0a\x09\x09'+(b['dotCNS']['userprofile']+b['dotCN']['userprofilenametag'])+'\x20+\x20'+b['dotCN']['userinfodate']+'\x20{\x0a\x09\x09\x09margin-top:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['userinfodate']+'\x20+\x20'+b['dotCN']['userpopoutcustomstatus']+'\x20{\x0a\x09\x09\x09margin-top:\x204px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['userpopoutheadernormal']+b['dotCN']['userinfodate'])+'\x20{\x0a\x09\x09\x09color:\x20#b9bbbe;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['userpopoutheader']+b['notCNS']['userpopoutheadernormal']+b['dotCN']['userinfodate'])+',\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['userpopoutheader']+b['dotCN']['userinfodate'])+'\x20{\x0a\x09\x09\x09color:\x20hsla(0,0%,100%,.6);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['userprofiletopsectionnormal']+b['dotCN']['userinfodate'])+'\x20{\x0a\x09\x09\x09color:\x20hsla(216,4%,74%,.6);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['themelight']+'\x20[class*=\x27topSection\x27]'+(b['notCNS']['userprofiletopsectionnormal']+b['dotCN']['userinfodate'])+',\x0a\x09\x09'+b['dotCN']['themedark']+'\x20[class*=\x27topSection\x27]\x20'+b['dotCN']['userinfodate']+'\x20{\x0a\x09\x09\x09color:\x20hsla(0,0%,100%,.6);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCN']['messageavatar']+b['dotCN']['bdfdbbadge'])+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09overflow:\x20visible;\x0a\x09\x09\x09border-radius:\x200;\x0a\x09\x09}\x0a\x0a\x09\x09'+b['dotCN']['favbuttoncontainer']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09}\x0a\x0a\x09\x09'+b['dotCN']['menuhint']+'\x20{\x0a\x09\x09\x09width:\x2042px;\x0a\x09\x09\x09max-width:\x2042px;\x0a\x09\x09\x09margin-left:\x208px;\x0a\x09\x09}\x0a\x0a\x09\x09'+b['dotCN']['cursordefault']+'\x20{\x0a\x09\x09\x09cursor:\x20default\x20!important;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['cursorpointer']+'\x20{\x0a\x09\x09\x09cursor:\x20pointer\x20!important;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['slidergrabber']+':active\x20'+b['dotCN']['sliderbubble']+',\x0a\x09\x09'+b['dotCN']['slidergrabber']+':hover\x20'+b['dotCN']['sliderbubble']+'\x20{\x0a\x09\x09\x09visibility:\x20visible;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sliderbubble']+'\x20{\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09\x09top:\x20-32px;\x0a\x09\x09\x09height:\x2022px;\x0a\x09\x09\x09width:\x20auto;\x0a\x09\x09\x09padding:\x200\x205px;\x0a\x09\x09\x09white-space:\x20pre;\x0a\x09\x09\x09transform:\x20translateX(-50%);\x0a\x09\x09\x09line-height:\x2022px;\x0a\x09\x09\x09text-align:\x20center;\x0a\x09\x09\x09font-weight:\x20600;\x0a\x09\x09\x09font-size:\x2012px;\x0a\x09\x09\x09color:\x20#f6f6f7;\x0a\x09\x09\x09visibility:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sliderbubble']+',\x0a\x09\x09'+b['dotCN']['sliderbubble']+':before\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09left:\x2050%;\x0a\x09\x09\x09pointer-events:\x20none;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sliderbubble']+':before\x20{\x0a\x09\x09\x09border:\x205px\x20solid\x20transparent;\x0a\x09\x09\x09content:\x20\x22\x20\x22;\x0a\x09\x09\x09width:\x200;\x0a\x09\x09\x09height:\x200;\x0a\x09\x09\x09margin-left:\x20-5px;\x0a\x09\x09\x09top:\x20100%;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['sliderbubble'])+'\x20{\x0a\x09\x09\x09background-color:\x20#4f545c;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['sliderbubble'])+':before\x20{\x0a\x09\x09\x09border-top-color:\x20#4f545c;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['sliderbubble'])+'\x20{\x0a\x09\x09\x09background-color:\x20#72767d;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['sliderbubble'])+':before\x20{\x0a\x09\x09\x09border-top-color:\x20#72767d;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['selectwrapper']+b['dotCN']['select'])+'\x20{\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['selectwrapper']+'\x20[class*=\x22css-\x22][class*=\x22-container\x22]\x20>\x20[class*=\x22css-\x22][class*=\x22-menu\x22]\x20{\x0a\x09\x09\x09z-index:\x203;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['hotkeywrapper']+b['dotCN']['hotkeycontainer'])+'\x20{\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['hotkeyresetbutton']+'\x20{\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09margin-left:\x205px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['hotkeyresetbutton']+b['dotCN']['svgicon'])+':hover\x20{\x0a\x09\x09\x09color:\x20'+b['DiscordConstants']['Colors']['STATUS_RED']+';\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['hovercardwrapper']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['hovercardwrapper']+b['dotCN']['hovercard'])+'\x20{\x0a\x09\x09\x09padding:\x2010px\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['hovercardwrapper']+b['dotCN']['hovercard'])+'\x20>\x20*\x20{\x0a\x09\x09\x09z-index:\x201;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNC']['hovercardwrapper']+b['dotCN']['hovercardinner'])+'\x20{\x0a\x09\x09\x09min-height:\x2028px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['hovercardinner']+'\x20{\x0a\x09\x09\x09width:\x20100%;\x0a\x09\x09\x09padding-right:\x205px;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09z-index:\x201;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['hovercardwrapper']+b['dotCN']['hovercardbutton'])+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09top:\x20-6px;\x0a\x09\x09\x09right:\x20-6px;\x0a\x09\x09\x09opacity:\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['hovercardwrapper']+b['dotCNS']['hovercard']+b['dotCN']['hovercardbutton'])+'\x20{\x0a\x09\x09\x09right:\x20-25px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['hovercardwrapper']+':hover\x20'+b['dotCN']['hovercardbutton']+'\x20{\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['table']+'\x20{\x0a\x09\x09\x09width:\x20100%;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheader']+'\x20{\x0a\x09\x09\x09padding:\x200px\x2012px\x208px\x200;\x0a\x09\x09\x09margin-bottom:\x205px;\x0a\x09\x09\x09font-size:\x2012px;\x0a\x09\x09\x09font-weight:\x20600;\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09background-color:\x20var(--background-primary);\x0a\x09\x09\x09border-bottom:\x201px\x20solid\x20var(--background-modifier-accent);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tablestickyheader']+':first-child\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09width:\x20100%;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['modalsub']+b['dotCN']['tablestickyheader'])+':first-child\x20{\x0a\x09\x09\x09padding-left:\x2020px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercell']+'\x20{\x0a\x09\x09\x09text-transform:\x20uppercase;\x0a\x09\x09\x09color:\x20var(--interactive-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercell']+',\x0a\x09\x09'+b['dotCN']['tablebodycell']+'\x20{\x0a\x09\x09\x09border-left:\x201px\x20solid\x20var(--background-modifier-accent);\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09padding:\x200\x2012px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercell']+':first-child,\x0a\x09\x09'+b['dotCN']['tablebodycell']+':first-child\x20{\x0a\x09\x09\x09border-left:\x20none;\x0a\x09\x09\x09padding-left:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadercellsorted']+',\x0a\x09\x09'+b['dotCN']['tableheadercellsorted']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-active);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tableheadersorticon']+'\x20{\x0a\x09\x09\x09width:\x2018px;\x0a\x09\x09\x09height:\x2018px;\x0a\x09\x09\x09margin-left:\x204px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tablerow']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09margin-bottom:\x205px;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09color:\x20var(--header-secondary);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['tablebodycell']+'\x20{\x0a\x09\x09\x09font-size:\x2015px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['settingstablelist']+b['dotCN']['checkboxcontainer'])+':before\x20{\x0a\x09\x09\x09display:\x20none;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['settingstablelist']+b['dotCN']['settingstableheader'])+'\x20{\x0a\x09\x09\x09min-height:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['settingstablelist']+b['dotCN']['settingstableheaderoption'])+'\x20{\x0a\x09\x09\x09width:\x20unset;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstableheadervertical']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstableheadervertical']+'\x20>\x20span\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09bottom:\x2050%;\x0a\x09\x09\x09right:\x20calc(50%\x20-\x205px);\x0a\x09\x09\x09margin-bottom:\x20-5px;\x0a\x09\x09\x09writing-mode:\x20vertical-rl;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstablecard']+'\x20{\x0a\x09\x09\x09height:\x2060px;\x0a\x09\x09\x09padding:\x200\x2010px;\x0a\x09\x09\x09margin-bottom:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['settingstablecard']+b['dotCN']['settingstablecardlabel'])+'\x20{\x0a\x09\x09\x09padding-right:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['settingstablecard']+b['dotCN']['settingstablecardlabel'])+',\x0a\x09\x09'+(b['dotCNS']['settingstablecard']+b['dotCN']['settingstablecardconfigs'])+'\x20{\x0a\x09\x09\x09margin:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['settingstableheaders']+'\x20{\x0a\x09\x09\x09margin-right:\x2010px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['popoutwrapper']+b['dotCN']['messagespopouttabbarheader'])+'\x20{\x0a\x09\x09\x09flex:\x201\x200\x20auto;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09height:\x20unset;\x0a\x09\x09\x09min-height:\x2056px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['popoutwrapper']+b['dotCNS']['messagespopouttabbarheader']+b['dotCN']['messagespopouttabbar'])+'\x20{\x0a\x09\x09\x09min-height:\x2032px;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['charcounter']+'\x20{\x0a\x09\x09\x09color:\x20var(--channels-default);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['inputnumberwrapper']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbuttons']+':hover\x20+\x20'+(b['dotCN']['input']+b['notCN']['inputfocused']+b['notCN']['inputerror']+b['notCN']['inputsuccess']+b['notCN']['inputdisabled'])+':not(:focus)\x20{\x0a\x09\x09\x09border-color:\x20#040405;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapperdefault']+b['dotCN']['input'])+'\x20{\x0a\x09\x09\x09padding-right:\x2025px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrappermini']+b['dotCN']['input'])+'\x20{\x0a\x09\x09\x09padding-left:\x206px;\x0a\x09\x09\x09padding-right:\x2017px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapper']+b['dotCN']['input'])+'::-webkit-inner-spin-button,\x20\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapper']+b['dotCN']['input'])+'::-webkit-outer-spin-button{\x0a\x09\x09\x09-webkit-appearance:\x20none\x20!important;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbuttons']+'\x20{\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20space-around;\x0a\x09\x09\x09height:\x20110%;\x0a\x09\x09\x09top:\x20-2%;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrapperdefault']+b['dotCN']['inputnumberbuttons'])+'\x20{\x0a\x09\x09\x09right:\x208px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['inputnumberwrappermini']+b['dotCN']['inputnumberbuttons'])+'\x20{\x0a\x09\x09\x09right:\x204px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbutton']+'\x20{\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09\x09border:\x20transparent\x20solid\x205px;\x0a\x09\x09\x09border-top-width:\x202.5px;\x0a\x09\x09\x09display:\x20inline-block;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['inputnumberbutton'])+'\x20{\x0a\x09\x09\x09border-bottom-color:\x20#dcddde;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['inputnumberbutton'])+':hover\x20{\x0a\x09\x09\x09border-bottom-color:\x20#4f545c;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['inputnumberbutton'])+'\x20{\x0a\x09\x09\x09border-bottom-color:\x20#72767d;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['inputnumberbutton'])+':hover\x20{\x0a\x09\x09\x09border-bottom-color:\x20#f6f6f7;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['inputnumberbuttondown']+'\x20{\x0a\x09\x09\x09transform:\x20rotate(180deg);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['guildupperleftbadge']+'\x20{\x0a\x09\x09\x09top:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['guildlowerleftbadge']+'\x20{\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNC']['guildlowerleftbadge']+b['dotCN']['guildupperleftbadge'])+'\x20{\x0a\x09\x09\x09pointer-events:\x20none;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09left:\x200;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['svgiconwrapper']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['svgicon']+'\x20{\x0a\x09\x09\x09color:\x20var(--interactive-normal);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['svgicon']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-hover);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['svgicon']+':active\x20{\x0a\x09\x09\x09color:\x20var(--interactive-active);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['listrowwrapper']+b['dotCN']['listavatar'])+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09justify-content:\x20center;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['sidebarlist']+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09flex-direction:\x20row;\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sidebar']+'\x20{\x0a\x09\x09\x09padding:\x208px;\x0a\x09\x09\x09flex:\x200\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['sidebarcontent']+'\x20{\x0a\x09\x09\x09padding:\x208px\x200;\x0a\x09\x09\x09flex:\x201\x201\x20auto;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['modalsubinner']+'\x20{\x0a\x09\x09\x09padding-left:\x2016px;\x0a\x09\x09\x09padding-right:\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modalnoscroller']+'\x20{\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['modalcontent']+b['dotCN']['modalnoscroller'])+'\x20{\x0a\x09\x09\x09padding-bottom:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modaltabcontent']+'\x20{\x0a\x09\x09\x09margin-top:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['listscroller']+b['dotCN']['modaltabcontent'])+'\x20{\x0a\x09\x09\x09margin-top:\x200;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modalheaderhassibling']+'\x20{\x0a\x09\x09\x09padding-bottom:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['modalheadershade']+',\x0a\x09\x09'+b['dotCN']['modalsidebar']+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.1);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['modalheadershade'])+',\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['modalsidebar'])+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.2);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['tabbarcontainer']+b['dotCN']['tabbarcontainerbottom'])+'\x20{\x0a\x09\x09\x09border-top:\x20unset;\x0a\x09\x09\x09border-bottom:\x201px\x20solid\x20hsla(0,0%,100%,.1);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['modalwrapper']+b['dotCN']['tabbarcontainer'])+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.1);\x0a\x09\x09\x09border:\x20none;\x0a\x09\x09\x09box-shadow:\x200\x202px\x203px\x200\x20rgba(0,\x200,\x200,\x200.05);\x0a\x09\x09\x09padding-right:\x2012px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['modalwrapper']+b['dotCN']['tabbarcontainer'])+'\x20{\x0a\x09\x09\x09background:\x20rgba(0,\x200,\x200,\x200.2);\x0a\x09\x09\x09box-shadow:\x200\x202px\x203px\x200\x20rgba(0,\x200,\x200,\x200.1);\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutright']+b['dotCN']['popoutarrowalignmentmiddle'])+':before\x20{\x0a\x09\x09\x09border-right-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutleft']+b['dotCN']['popoutarrowalignmentmiddle'])+':before\x20{\x0a\x09\x09\x09border-left-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottom']+b['dotCN']['popoutarrowalignmentmiddle'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottom']+b['dotCN']['popoutarrowalignmenttop'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomleft']+b['dotCN']['popoutarrowalignmentmiddle'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomleft']+b['dotCN']['popoutarrowalignmenttop'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomright']+b['dotCN']['popoutarrowalignmentmiddle'])+':before,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popoutbottomright']+b['dotCN']['popoutarrowalignmenttop'])+':before\x20{\x0a\x09\x09\x09border-bottom-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popouttop'])+':after,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popouttopleft'])+':after,\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutwrapper']+b['dotCN']['popouttopright'])+':after\x20{\x0a\x09\x09\x09border-top-color:\x20#2f3136;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['popoutthemedpopout']+'\x20{\x0a\x09\x09\x09background-color:\x20#fff;\x0a\x09\x09\x09border:\x201px\x20solid\x20hsla(0,0%,74.9%,.3);\x0a\x09\x09\x09-webkit-box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,.1);\x0a\x09\x09\x09box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,.1);\x0a\x09\x09\x09-webkit-box-sizing:\x20border-box;\x0a\x09\x09\x09box-sizing:\x20border-box;\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09\x09display:\x20-webkit-box;\x0a\x09\x09\x09display:\x20-ms-flexbox;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09-webkit-box-orient:\x20vertical;\x0a\x09\x09\x09-webkit-box-direction:\x20normal;\x0a\x09\x09\x09-ms-flex-direction:\x20column;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCN']['popoutthemedpopout'])+'\x20{\x0a\x09\x09\x09background-color:\x20#2f3136;\x0a\x09\x09\x09border:\x201px\x20solid\x20rgba(28,36,43,.6);\x0a\x09\x09\x09-webkit-box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,20%);\x0a\x09\x09\x09box-shadow:\x200\x202px\x2010px\x200\x20rgba(0,0,0,.2);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['popoutwrapper']+b['dotCNS']['popoutarrowalignmentmiddle']+b['dotCN']['popoutthemedpopout'])+',\x0a\x09\x09'+(b['dotCN']['popoutwrapper']+b['dotCNS']['popoutarrowalignmenttop']+b['dotCN']['popoutthemedpopout'])+'\x20{\x0a\x09\x09\x09border-color:\x20transparent;\x0a\x09\x09}\x0a\x0a\x09\x09#bd-settingspane-container\x20.ui-form-title\x20{\x0a\x09\x09\x09display:\x20inline-block;\x0a\x09\x09}\x0a\x09\x09#bd-settingspane-container\x20'+b['dotCN']['_repofolderbutton']+'\x20{\x0a\x09\x09\x09position:\x20static;\x0a\x09\x09\x09margin-bottom:\x200;\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09\x09display:\x20inline-block;\x0a\x09\x09\x09margin-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09#bd-settingspane-container\x20'+b['dotCN']['_repoupdatebutton']+'[style]\x20{\x0a\x09\x09\x09display:\x20none\x20!important;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['_repolistheader'])+'\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09\x09padding-top:\x2060px;\x0a\x09\x09\x09padding-right:\x2070px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['_repolistheader'])+'\x20>\x20*\x20{\x0a\x09\x09\x09max-width:\x20740px;\x0a\x09\x09\x09min-width:\x20460px;\x0a\x09\x09\x09padding-left:\x2040px;\x0a\x09\x09\x09padding-right:\x2040px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['settingswindowtoolscontainer'])+'\x20{\x0a\x09\x09\x09margin-top:\x20-140px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['settingswindowcontentregionscroller'])+'\x20{\x0a\x09\x09\x09height:\x20calc(100%\x20-\x20140px);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCN']['settingswindowcontentcolumn'])+'\x20{\x0a\x09\x09\x09padding-top:\x2020px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCNS']['_repoentry']+b['dotCN']['_repocontrols'])+'\x20>\x20*\x20{\x0a\x09\x09\x09margin-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCNS']['_repoentry']+b['dotCN']['_repofooter'])+'\x20>\x20*\x20{\x0a\x09\x09\x09margin-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['_repolistwrapper']+b['dotCNS']['_repoentry']+b['dotCN']['_repofooter'])+'\x20>\x20*:first-child\x20{\x0a\x09\x09\x09margin-left:\x20auto;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['noticewrapper']+'\x20{\x0a\x09\x09\x09transition:\x20height\x200.5s\x20ease\x20!important;\x0a\x09\x09\x09border-radius:\x200\x20!important;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['noticewrapper']+b['dotCN']['noticeplatformicon'])+'\x20{\x0a\x09\x09\x09margin-top:\x20-7px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['noticewrapper']+b['dotCN']['noticeplatformicon'])+'\x20svg\x20{\x0a\x09\x09\x09max-height:\x2028px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['noticesurvey']+'\x20{\x0a\x09\x09\x09background-color:\x20#222;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCN']['tooltip']+b['dotCNS']['tooltipcustom']+b['dotCN']['tooltippointer'])+'\x20{\x0a\x09\x09\x09border-top-color:\x20inherit\x20!important;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['colorpickerswatchsingle']+'\x20{\x0a\x09\x09\x09height:\x2030px;\x0a\x09\x09\x09width:\x2030px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatches']+b['dotCN']['colorpickerswatchesdisabled'])+'\x20{\x0a\x09\x09\x09cursor:\x20no-drop;\x0a\x09\x09\x09filter:\x20grayscale(70%)\x20brightness(50%);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchnocolor']+b['notCN']['colorpickerswatchdefault']+b['notCN']['colorpickerswatchdisabled'])+'\x20{\x0a\x09\x09\x09overflow:\x20hidden;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchnocolor']+b['notCN']['colorpickerswatchdefault']+b['notCN']['colorpickerswatchdisabled'])+':after\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09top:\x200;\x0a\x09\x09\x09right:\x200;\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09\x09left:\x200;\x0a\x09\x09\x09z-index:\x20-1;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['dotCN']['colorpickerswatchcustom'])+'[style*=\x22background\x22]\x20{\x0a\x09\x09\x09border:\x20none;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchdefault'])+':after\x20{\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['dotCN']['colorpickerswatchcustom']+b['notCN']['colorpickerswatchdefault'])+':after\x20{\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickerswatch']+b['notCN']['colorpickerswatchnocolor']+b['notCN']['colorpickerswatchdefault']+b['notCN']['colorpickerswatchdisabled'])+':after\x20{\x0a\x09\x09\x09background:\x20url(\x27data:image/svg+xml;\x20utf8,\x20\x27)\x20center\x20repeat;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+b['dotCN']['colorpickeralpha']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09height:\x208px;\x0a\x09\x09\x09margin:\x2016px\x200\x208px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickergradient']+'\x20{\x0a\x09\x09\x09position:\x20relative;\x0a\x09\x09\x09height:\x208px;\x0a\x09\x09\x09margin:\x2027px\x202px\x202px\x202px;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickeralpha']+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09height:\x2016px\x20!important;\x0a\x09\x09\x09width:\x208px\x20!important;\x0a\x09\x09\x09margin-top:\x20-3px\x20!important;\x0a\x09\x09\x09border-radius:\x203px\x20!important;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['colorpickersaturation'])+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09box-shadow:\x20rgb(200,\x20200,\x20200)\x200px\x200px\x200px\x201.5px,\x20rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x201px\x201px\x20inset,\x20rgba(0,\x200,\x200,\x200.6)\x200px\x200px\x201px\x202px\x20!important;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['colorpickerhue'])+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div,\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCN']['colorpickeralpha'])+'\x20>\x20div\x20>\x20div\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09background:\x20rgb(200,\x20200,\x20200)\x20!important;\x0a\x09\x09\x09box-shadow:\x20rgba(0,\x200,\x200,\x201)\x200px\x200px\x202px\x20!important;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickeralpha']+'\x20>\x20div\x20>\x20div,\x0a\x09\x09'+b['dotCN']['colorpickergradient']+'\x20>\x20div\x20>\x20div\x20{\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickeralpha']+b['dotCN']['colorpickeralphacheckered'])+',\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcheckered'])+',\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div:after\x20{\x0a\x09\x09\x09background:\x20url(\x27data:image/svg+xml;\x20utf8,\x20\x27)\x20center\x20repeat;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div\x20{\x0a\x09\x09\x09height:\x208px;\x0a\x09\x09\x09width:\x208px;\x0a\x09\x09\x09margin-top:\x20-15px;\x0a\x09\x09\x09border:\x201px\x20solid\x20rgb(128,\x20128,\x20128);\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09\x09transform:\x20translateX(-5px);\x0a\x09\x09\x09transform-style:\x20preserve-3d;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div:after\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09top:\x200;\x0a\x09\x09\x09right:\x200;\x0a\x09\x09\x09bottom:\x200;\x0a\x09\x09\x09left:\x200;\x0a\x09\x09\x09z-index:\x20-1;\x0a\x09\x09\x09border-radius:\x203px;\x0a\x09\x09\x09transform:\x20translateZ(-1px);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09content:\x20\x22\x22;\x0a\x09\x09\x09position:\x20absolute;\x0a\x09\x09\x09border:\x203px\x20solid\x20transparent;\x0a\x09\x09\x09border-top-width:\x205px;\x0a\x09\x09\x09border-top-color:\x20rgb(128,\x20128,\x20128);\x0a\x09\x09\x09width:\x200;\x0a\x09\x09\x09height:\x200;\x0a\x09\x09\x09top:\x20100%;\x0a\x09\x09\x09left:\x20-50%;\x0a\x09\x09\x09transform:\x20translateX(5px);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursoredge'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-right-width:\x200;\x0a\x09\x09\x09border-left-width:\x205px;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursoredge'])+'\x20~\x20'+(b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursoredge'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-right-width:\x205px;\x0a\x09\x09\x09border-left-width:\x200;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div\x20{\x0a\x09\x09\x09border-color:\x20rgb(55,\x2055,\x2055);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themelight']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-top-color:\x20rgb(55,\x2055,\x2055);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div\x20{\x0a\x09\x09\x09border-color:\x20rgb(200,\x20200,\x20200);\x0a\x09\x09}\x0a\x09\x09'+(b['dotCNS']['themedark']+b['dotCNS']['colorpickergradient']+b['dotCN']['colorpickergradientcursor']+b['dotCN']['colorpickergradientcursorselected'])+'\x20>\x20div:before\x20{\x0a\x09\x09\x09border-top-color:\x20rgb(200,\x20200,\x20200);\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickergradientbutton']+'\x20{\x0a\x09\x09\x09color:\x20var(--interactive-normal);\x0a\x09\x09\x09opacity:\x200.6;\x0a\x09\x09\x09margin-left:\x206px;\x0a\x09\x09\x09transition:\x20color\x20200ms\x20ease,\x20opactity\x20200ms\x20ease;\x0a\x09\x09}\x0a\x09\x09'+b['dotCN']['colorpickergradientbutton']+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-hover);\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09}\x0a\x09\x09'+(b['dotCN']['colorpickergradientbutton']+b['dotCN']['colorpickergradientbuttonenabled'])+',\x0a\x09\x09'+(b['dotCN']['colorpickergradientbutton']+b['dotCN']['colorpickergradientbuttonenabled'])+':hover\x20{\x0a\x09\x09\x09color:\x20var(--interactive-active);\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09'+(b['dotCNC']['layermodallarge']+b['dotCN']['modalsizelarge'])+'\x20{\x0a\x09\x09\x09max-height:\x2095vh;\x0a\x09\x09}\x0a\x09\x09@media\x20only\x20screen\x20and\x20(max-height:\x20900px)\x20{\x0a\x09\x09\x09'+(b['dotCNC']['layermodalmedium']+b['dotCN']['modalsizemedium'])+'\x20{\x0a\x09\x09\x09\x09max-height:\x2075vh;\x0a\x09\x09\x09}\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09#pluginNotice\x20.notice-message\x20{\x0a\x09\x09\x09white-space:\x20pre;\x0a\x09\x09}\x0a\x09\x09#pluginNotice\x20#outdatedPlugins\x20span\x20{\x0a\x09\x09\x09-webkit-app-region:\x20no-drag;\x0a\x09\x09\x09color:\x20#FFF;\x0a\x09\x09\x09cursor:\x20pointer;\x0a\x09\x09}\x0a\x09\x09#pluginNotice\x20#outdatedPlugins\x20span:hover\x20{\x0a\x09\x09\x09text-decoration:\x20underline;\x0a\x09\x09}\x0a\x09\x09\x0a\x09\x09.toasts\x20{\x0a\x09\x09\x09position:\x20fixed;\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09top:\x200;\x0a\x09\x09\x09flex-direction:\x20column;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09\x09justify-content:\x20flex-end;\x0a\x09\x09\x09pointer-events:\x20none;\x0a\x09\x09\x09z-index:\x204000;\x0a\x09\x09}\x0a\x09\x09@keyframes\x20toast-up\x20{\x0a\x09\x09\x09from\x20{\x0a\x09\x09\x09\x09transform:\x20translateY(0);\x0a\x09\x09\x09\x09opacity:\x200;\x0a\x09\x09\x09}\x0a\x09\x09}\x0a\x09\x09.toast\x20{\x0a\x09\x09\x09animation:\x20toast-up\x20300ms\x20ease;\x0a\x09\x09\x09transform:\x20translateY(-10px);\x0a\x09\x09\x09background-color:\x20#36393F;\x0a\x09\x09\x09padding:\x2010px;\x0a\x09\x09\x09border-radius:\x205px;\x0a\x09\x09\x09box-shadow:\x200\x200\x200\x201px\x20rgba(32,34,37,.6),\x200\x202px\x2010px\x200\x20rgba(0,0,0,.2);\x0a\x09\x09\x09font-weight:\x20500;\x0a\x09\x09\x09color:\x20#fff;\x0a\x09\x09\x09user-select:\x20text;\x0a\x09\x09\x09font-size:\x2014px;\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09\x09margin-top:\x2010px;\x0a\x09\x09\x09pointer-events:\x20auto;\x0a\x09\x09}\x0a\x09\x09@keyframes\x20toast-down\x20{\x0a\x09\x09\x09to\x20{\x0a\x09\x09\x09\x09transform:\x20translateY(0px);\x0a\x09\x09\x09\x09opacity:\x200;\x0a\x09\x09\x09}\x0a\x09\x09}\x0a\x09\x09.toast.closing\x20{\x0a\x09\x09\x09animation:\x20toast-down\x20200ms\x20ease;\x0a\x09\x09\x09animation-fill-mode:\x20forwards;\x0a\x09\x09\x09opacity:\x201;\x0a\x09\x09\x09transform:\x20translateY(-10px);\x0a\x09\x09}\x0a\x09\x09.toast\x20.toast-inner\x20{\x0a\x09\x09\x09display:\x20flex;\x0a\x09\x09\x09align-items:\x20center;\x0a\x09\x09}\x0a\x09\x09.toast\x20.toast-avatar\x20{\x0a\x09\x09\x09margin-right:\x205px;\x0a\x09\x09\x09width:\x2025px;\x0a\x09\x09\x09height:\x2025px;\x0a\x09\x09\x09flex:\x200\x200\x20auto;\x0a\x09\x09\x09background-size:\x20cover;\x0a\x09\x09\x09background-position:\x20center;\x0a\x09\x09\x09border-radius:\x2050%;\x0a\x09\x09}\x0a\x09\x09.toast.icon\x20{\x0a\x09\x09\x09padding-left:\x2030px;\x0a\x09\x09\x09background-position:\x206px\x2050%;\x0a\x09\x09\x09background-size:\x2020px\x2020px;\x0a\x09\x09\x09background-repeat:\x20no-repeat;\x0a\x09\x09}\x0a\x09\x09.toast.toast-brand\x20{\x0a\x09\x09\x09background-color:\x20#7289DA;\x0a\x09\x09}\x0a\x09\x09.toast.toast-brand.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjI3IDI3IDExNSAxMTUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDkwIDkwOyI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xMTEuMywxMjQuMWMwLDAtMy40LTQuMS02LjMtNy43YzEyLjYtMy41LDE3LjQtMTEuMywxNy40LTExLjMgYy00LDIuNi03LjcsNC40LTExLjEsNS42Yy00LjgsMi05LjUsMy4zLTE0LDQuMWMtOS4yLDEuNy0xNy42LDEuMy0yNC45LTAuMWMtNS41LTEtMTAuMi0yLjUtMTQuMS00LjFjLTIuMi0wLjgtNC42LTEuOS03LjEtMy4zIGMtMC4zLTAuMi0wLjYtMC4zLTAuOS0wLjVjLTAuMS0wLjEtMC4zLTAuMi0wLjQtMC4yYy0xLjctMS0yLjYtMS42LTIuNi0xLjZzNC42LDcuNiwxNi44LDExLjJjLTIuOSwzLjYtNi40LDcuOS02LjQsNy45IGMtMjEuMi0wLjYtMjkuMy0xNC41LTI5LjMtMTQuNWMwLTMwLjYsMTMuOC01NS40LDEzLjgtNTUuNGMxMy44LTEwLjMsMjYuOS0xMCwyNi45LTEwbDEsMS4xQzUyLjgsNTAuMyw0NSw1Ny45LDQ1LDU3LjkgczIuMS0xLjIsNS43LTIuN2MxMC4zLTQuNSwxOC40LTUuNywyMS44LTZjMC41LTAuMSwxLjEtMC4yLDEuNi0wLjJjNS45LTAuNywxMi41LTAuOSwxOS40LTAuMmM5LjEsMSwxOC45LDMuNywyOC45LDkuMSBjMCwwLTcuNS03LjItMjMuOS0xMi4xbDEuMy0xLjVjMCwwLDEzLjEtMC4zLDI2LjksMTBjMCwwLDEzLjgsMjQuOCwxMy44LDU1LjRDMTQwLjYsMTA5LjYsMTMyLjUsMTIzLjUsMTExLjMsMTI0LjF6IE0xMDEuNyw3OS43Yy01LjQsMC05LjgsNC43LTkuOCwxMC41YzAsNS44LDQuNCwxMC41LDkuOCwxMC41YzUuNCwwLDkuOC00LjcsOS44LTEwLjUgQzExMS41LDg0LjQsMTA3LjEsNzkuNywxMDEuNyw3OS43eiBNNjYuNyw3OS43Yy01LjQsMC05LjgsNC43LTkuOCwxMC41YzAsNS44LDQuNCwxMC41LDkuOCwxMC41YzUuNCwwLDkuOC00LjcsOS44LTEwLjUgQzc2LjUsODQuNCw3Mi4xLDc5LjcsNjYuNyw3OS43eiIvPjwvc3ZnPg==);\x0a\x09\x09}\x0a\x09\x09.toast.toast-danger,\x20\x0a\x09\x09.toast.toast-error\x20{\x0a\x09\x09\x09background-color:\x20#F04747;\x0a\x09\x09}\x0a\x09\x09.toast.toast-danger.icon,\x0a\x09\x09.toast.toast-error.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTEyIDJDNi40NyAyIDIgNi40NyAyIDEyczQuNDcgMTAgMTAgMTAgMTAtNC40NyAxMC0xMFMxNy41MyAyIDEyIDJ6bTUgMTMuNTlMMTUuNTkgMTcgMTIgMTMuNDEgOC40MSAxNyA3IDE1LjU5IDEwLjU5IDEyIDcgOC40MSA4LjQxIDcgMTIgMTAuNTkgMTUuNTkgNyAxNyA4LjQxIDEzLjQxIDEyIDE3IDE1LjU5eiIvPiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+);\x0a\x09\x09}\x0a\x09\x09.toast.toast-default\x20{\x0a\x09\x09\x09background-color:\x20#F26522;\x0a\x09\x09}\x0a\x09\x09.toast.toast-default.icon\x20{\x0a\x09\x09\x09padding-left:\x2010px;\x0a\x09\x09}\x0a\x09\x09.toast.toast-facebook\x20{\x0a\x09\x09\x09background-color:\x20#355089;\x0a\x09\x09}\x0a\x09\x09.toast.toast-facebook.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9Ii01IC01IDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDkwIDkwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBhdGggaWQ9IkZhY2Vib29rX194MjhfYWx0X3gyOV8iIGQ9Ik05MCwxNS4wMDFDOTAsNy4xMTksODIuODg0LDAsNzUsMEgxNUM3LjExNiwwLDAsNy4xMTksMCwxNS4wMDF2NTkuOTk4ICAgQzAsODIuODgxLDcuMTE2LDkwLDE1LjAwMSw5MEg0NVY1NkgzNFY0MWgxMXYtNS44NDRDNDUsMjUuMDc3LDUyLjU2OCwxNiw2MS44NzUsMTZINzR2MTVINjEuODc1QzYwLjU0OCwzMSw1OSwzMi42MTEsNTksMzUuMDI0VjQxICAgaDE1djE1SDU5djM0aDE2YzcuODg0LDAsMTUtNy4xMTksMTUtMTUuMDAxVjE1LjAwMXoiIGZpbGw9IndoaXRlIi8+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjxnPjwvZz48Zz48L2c+PGc+PC9nPjwvc3ZnPg==);\x0a\x09\x09}\x0a\x09\x09.toast.toast-info\x20{\x0a\x09\x09\x09background-color:\x20#4A90E2;\x0a\x09\x09}\x0a\x09\x09.toast.toast-info.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtNmgydjZ6bTAtOGgtMlY3aDJ2MnoiLz48L3N2Zz4=);\x0a\x09\x09}\x0a\x09\x09.toast.toast-premium\x20{\x0a\x09\x09\x09background-color:\x20#202225;\x0a\x09\x09}\x0a\x09\x09.toast.toast-premium.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iMjYiPiAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOTYuMjgyNiA4LjYwMjc4ODI0bC0xLjIxNTUgOC4zOTAzNTI5NmMtLjI3NzUgMS45ODI2Mjc0LTIuNDY1NSAyLjkwMzMzMzMtNC40NzkgMi45MDMzMzMzLTEuODc1IDAtMy43MTU1LS45MjA3MDU5LTMuNDcyNS0yLjcyNTkyMTZsMS4yMTU1LTguNTY3NzY0NjZjLjI3NzUtMS44NzY1ODgyNCAyLjQ2NTUtMi44MzI0NzA2IDQuNDc5LTIuODMyNDcwNiAyLjAxNCAwIDMuNzUuOTU1ODgyMzYgMy40NzI1IDIuODMyNDcwNk05My43NzIxLjAwMzkyNTVsLjAwMDUtLjAwNDA3ODQ0aC0xMy4wODRjLS4zMzQgMC0uNjE4LjI1MDMxMzcyLS42NjYuNTg3Mjk0MTJsLS42MzY1IDQuNDMyMjM1M2MtLjA1OTUuNDE0NDcwNTguMjU2Ljc4NjExNzY0LjY2NjUuNzg2MTE3NjRoMi4zODk1Yy4yNCAwIC40MDQ1LjI0OTgwMzkyLjMxLjQ3NTY0NzA2LS4yOTguNzEyMTk2MDctLjUxNTUgMS40ODYwNzg0My0uNjM2IDIuMzIxNjQ3MDZsLTEuMjE1NSA4LjU2Nzc2NDY2Yy0uNzk5IDUuNzM1Mjk0MiAzLjg4OSA4LjYwMjQzMTQgOC45OTMgOC42MDI0MzE0IDUuMzQ3NSAwIDEwLjU5MDUtMi44NjcxMzcyIDExLjM4OS04LjYwMjQzMTRsMS4yMTUtOC41Njc3NjQ2NmMuNzgzLTUuNjIyMTE3NjUtMy43Mzk1LTguNDg4MjM1My04LjcyNTUtOC41OTg4NjI3NW0tNzguNTk1MjUgMTEuNzI4NjUxbC4wNjcgNC4xNTg5ODA0Yy4wMDE1LjA4NTEzNzItLjA1NS4xNjA1ODgyLS4xMzYuMTgxNDkwMmgtLjAwMDVsLTEuMzg1NS01LjAxNjQ3MDZjLS4wMDItLjAwNzY0NzEtLjAwNS0uMDE0Nzg0My0uMDA4LS4wMjI0MzE0TDkuNDE0MzUuNzcwNzcyNTNjLS4xMDYtLjI1Mjg2Mjc1LS4zNDk1LS40MTY1MDk4LS42MTk1LS40MTY1MDk4aC00Ljg3MjVjLS4zMzYgMC0uNjIwNS4yNTIzNTI5NC0uNjY3LjU5MTM3MjU0TC4wMDY4NSAyNC42MzcyNDMxYy0uMDU3LjQxMzQ1MS4yNTc1Ljc4MjAzOTMuNjY2NS43ODIwMzkzaDQuODU0Yy4zMzY1IDAgLjYyMTUtLjI1MzM3MjYuNjY3NS0uNTkyOTAybDEuMjcyLTkuNDEyNTA5OGMuMDAxNS0uMDA5MTc2NS4wMDItLjAxODM1My4wMDItLjAyNzUyOTRsLS4wNjk1LTQuODM2NTA5OC4xMzg1LS4wMzUxNzY1IDEuNDU1NSA1LjAxNjQ3MDZjLjAwMjUuMDA3MTM3Mi4wMDUuMDEzNzY0Ny4wMDc1LjAyMDkwMmw0LjAyMTUgOS40NTM4MDM5Yy4xMDY1LjI1MDgyMzUuMzQ5NS40MTM0NTEuNjE3NS40MTM0NTFoNS4yNTY1Yy4zMzYgMCAuNjIwNS0uMjUyMzUzLjY2Ny0uNTkxODgyNGwzLjI0OTUtMjMuNjkxNjA3ODRjLjA1NjUtLjQxMjk0MTE4LS4yNTgtLjc4MTUyOTQyLS42NjctLjc4MTUyOTQyaC00LjgyMDVjLS4zMzYgMC0uNjIwNS4yNTE4NDMxNC0uNjY3LjU5MDg2Mjc1bC0xLjQ4IDEwLjc1ODkwMmMtLjAwMS4wMDkxNzY0LS4wMDE1LjAxODg2MjctLjAwMTUuMDI4NTQ5bTkuMzk0IDEzLjY4NjYwMzloNC44NTVjLjMzNiAwIC42MjA1LS4yNTIzNTI5LjY2Ny0uNTkxMzcyNmwzLjI0OS0yMy42OTIxMTc2Yy4wNTY1LS40MTI5NDEyLS4yNTgtLjc4MTUyOTQ0LS42NjctLjc4MTUyOTQ0aC00Ljg1NWMtLjMzNiAwLS42MjA1LjI1MjM1Mjk0LS42NjcuNTkxMzcyNTVsLTMuMjQ5IDIzLjY5MjExNzY4Yy0uMDU2NS40MTI5NDEyLjI1OC43ODE1Mjk0LjY2Ny43ODE1Mjk0TTM2LjYyMTE1LjkwNjA3NDVsLS42MzYgNC40MzIyMzUzYy0uMDU5NS40MTQ0NzA2LjI1NTUuNzg2MTE3NjUuNjY2Ljc4NjExNzY1aDUuMDgwNWMuNDA4NSAwIC43MjMuMzY3NTY4NjMuNjY3NS43ODA1MDk4bC0yLjM5MzUgMTcuNzM0MDM5MjVjLS4wNTU1LjQxMjQzMTMuMjU4NS43OC42NjcuNzhoNC45MjU1Yy4zMzY1IDAgLjYyMS0uMjUyODYyOC42NjctLjU5MjkwMmwyLjQ0NC0xOC4xMDg3NDUxYy4wNDYtLjMzOTUyOTQuMzMwNS0uNTkyOTAxOTUuNjY3LS41OTI5MDE5NWg1LjQ2MjVjLjMzNCAwIC42MTgtLjI0OTgwMzkyLjY2Ni0uNTg3Mjk0MTJsLjYzNy00LjQzMjIzNTNjLjA1OTUtLjQxNDQ3MDU4LS4yNTU1LS43ODYxMTc2NC0uNjY2NS0uNzg2MTE3NjRoLTE4LjE4NzVjLS4zMzQ1IDAtLjYxOC4yNTAzMTM3LS42NjY1LjU4NzI5NDFNNzEuMDM4NyA5LjA5ODM2ODZjLS4xNzQgMS40NTE0MTE3Ny0xLjI4NDUgMi45MDI4MjM1Ny0zLjE5NSAyLjkwMjgyMzU3aC0yLjg2OTVjLS40MSAwLS43MjQ1LS4zNjk2MDc5LS42NjctLjc4MzA1ODlsLjYwNzUtNC4zNjE4ODIzM2MuMDQ3LS4zMzg1MDk4LjMzMTUtLjU5MDM1Mjk0LjY2Ny0uNTkwMzUyOTRoMy4wNjFjMS44NDA1IDAgMi41Njk1IDEuMzEwMTk2MDggMi4zOTYgMi44MzI0NzA2TTY5LjMzNzIuMzU0MjExNzZoLTkuMjQwNWMtLjMzNiAwLS42MjA1LjI1MjM1Mjk0LS42NjcuNTkxMzcyNTRsLTMuMjQ5IDIzLjY5MjExNzdjLS4wNTY1LjQxMjk0MTEuMjU4Ljc4MTUyOTQuNjY3Ljc4MTUyOTRoNC45MjM1Yy4zMzY1IDAgLjYyMTUtLjI1MzM3MjYuNjY3NS0uNTkyOTAybC45NTYtNy4wNzY1ODgyYy4wMjMtLjE2OTc2NDcuMTY1LS4yOTYxOTYxLjMzMzUtLjI5NjE5NjFoLjYzM2MuMTE0NSAwIC4yMjE1LjA1OTY0NzEuMjgzNS4xNTgwMzkybDQuNzAyIDcuNDkxMDU4OGMuMTI0LjE5NzI5NDIuMzM3NS4zMTY1ODgzLjU2NzUuMzE2NTg4M2g2LjA4MWMuNTQ1IDAgLjg2NDUtLjYyNTAxOTYuNTUyLTEuMDgwMjc0NWwtNC45MzQ1LTcuMTkxODA0Yy0uMTE4LS4xNzI4MjM1LS4wNTc1LS40MTI0MzEzLjEyOC0uNTA0NzA1OCAzLjE1MDUtMS41Njk2ODYzIDQuOTc5NS0zLjE3ODExNzcgNS41ODMtNy42NTAxMTc3LjY5MzUtNS44NzcwMTk2LTIuOTE3LTguNjM4MTE3NjMtNy45ODY1LTguNjM4MTE3NjMiLz48L3N2Zz4=);\x0a\x09\x09\x09background-size:\x2063px\x2016px;\x0a\x09\x09\x09padding-left:\x2073px;\x0a\x09\x09}\x0a\x09\x09.toast.toast-spotify\x20{\x0a\x09\x09\x09background-color:\x20#1DB954;\x0a\x09\x09}\x0a\x09\x09.toast.toast-spotify.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDUwOC41MiA1MDguNTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUwOC41MiA1MDguNTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4Ij4KPGc+Cgk8Zz4KCQk8Zz4KCQkJPHBhdGggZD0iTTI1NC4yNiwwQzExMy44NDUsMCwwLDExMy44NDUsMCwyNTQuMjZzMTEzLjg0NSwyNTQuMjYsMjU0LjI2LDI1NC4yNiAgICAgczI1NC4yNi0xMTMuODQ1LDI1NC4yNi0yNTQuMjZTMzk0LjY3NSwwLDI1NC4yNiwweiBNMzcxLjY5Niw0MDMuMjg4Yy0zLjE3OCw1LjgxNi05LjEyMiw5LjA1OC0xNS4yODcsOS4wNTggICAgIGMtMi44NiwwLTUuNzIxLTAuNjY3LTguNDIyLTIuMTI5Yy00MC43MTMtMjIuNDM4LTg2Ljk1Ny0zNC4yOTMtMTMzLjY3Ny0zNC4yOTNjLTI4LDAtNTUuNjUxLDQuMTYzLTgyLjEyNiwxMi4zNjMgICAgIGMtOS4yMTcsMi44Ni0xOS4wMDYtMi4yODgtMjEuODM1LTExLjUzN2MtMi44Ni05LjE4NSwyLjI4OC0yOC43LDExLjUzNy0zMS41OTJjMjkuODQ0LTkuMjQ5LDYwLjk1OS0xMy45MjEsOTIuNDU1LTEzLjkyMSAgICAgYzUyLjU2OCwwLDEwNC42NiwxMy4zNDksMTUwLjUyMiwzOC42MTZDMzczLjMxNywzNzQuNDYxLDM3Ni40LDM5NC44NjYsMzcxLjY5Niw0MDMuMjg4eiBNNDA0LjAxOSwzMDcuNTI3ICAgICBjLTMuNjIzLDcuMDI0LTEwLjc0MiwxOC4zMzgtMTguMDg0LDE4LjMzOGMtMy4yMSwwLTYuMzg4LTAuNjk5LTkuMzc2LTIuMzJjLTUwLjQ3MS0yNi4xODktMTA1LjA0MS0zOS40NzQtMTYyLjIxOC0zOS40NzQgICAgIGMtMzEuNDk2LDAtNjIuNzcsNC4xMzItOTIuOTY0LDEyLjQ1OWMtMTAuOTAxLDIuOTU2LTIyLjA4OS0zLjQwMS0yNS4wNDUtMTQuMzAyYy0yLjkyNC0xMC45MDEsMy40NjQtMjkuNDMxLDE0LjMzNC0zMi4zODYgICAgIGMzMy42ODktOS4xODUsNjguNTg3LTEzLjg1NywxMDMuNjc0LTEzLjg1N2M2Mi44OTgsMCwxMjUuNDQ1LDE1LjI1NiwxODAuOTM4LDQ0LjExNCAgICAgQzQwNS4yOSwyODUuMjQ4LDQwOS4xOTksMjk3LjUxNiw0MDQuMDE5LDMwNy41Mjd6IE00MTcuNTI2LDIzMC44MzZjLTMuNDY0LDAtNy4wMjQtMC43OTUtMTAuMzYxLTIuNDQ3ICAgICBjLTYwLjIyOC0zMC4wMzQtMTI1LjA5Ni00NS4yMjYtMTkyLjc2MS00NS4yMjZjLTM1LjI3OSwwLTcwLjQzLDQuMjkxLTEwNC41MzMsMTIuNzEzYy0xMi41MjIsMy4wODMtMjUuMTQtNC41MTMtMjguMjIzLTE3LjAwNCAgICAgYy0zLjExNS0xMi40NTksNC41MTMtMjcuNTU1LDE3LjAwNC0zMC42MzhjMzcuNzI2LTkuMzc2LDc2LjY1OS0xNC4xMTEsMTE1LjcyLTE0LjExMWM3NC45NzUsMCwxNDYuODY3LDE2Ljg3NywyMTMuNTc4LDUwLjEyMSAgICAgYzExLjUzNyw1Ljc1MywxNi4yNDEsMTkuNzM3LDEwLjQ4OCwzMS4yNDJDNDM0LjMwOCwyMjMuNjUzLDQyNi4xMDgsMjMwLjgzNiw0MTcuNTI2LDIzMC44MzZ6IiBmaWxsPSIjRkZGRkZGIi8+CgkJPC9nPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);\x0a\x09\x09}\x0a\x09\x09.toast.toast-streamermode\x20{\x0a\x09\x09\x09background-color:\x20#593695;\x0a\x09\x09}\x0a\x09\x09.toast.toast-streamermode.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSItMjUgLTI1IDU0MiA1NDIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ5MiA0OTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiPjxwYXRoIGQ9Ik00ODguMywxNDIuNXYyMDMuMWMwLDE1LjctMTcsMjUuNS0zMC42LDE3LjdsLTg0LjYtNDguOHYxMy45YzAsNDEuOC0zMy45LDc1LjctNzUuNyw3NS43SDc1LjdDMzMuOSw0MDQuMSwwLDM3MC4yLDAsMzI4LjQgICBWMTU5LjljMC00MS44LDMzLjktNzUuNyw3NS43LTc1LjdoMjIxLjhjNDEuOCwwLDc1LjcsMzMuOSw3NS43LDc1Ljd2MTMuOWw4NC42LTQ4LjhDNDcxLjMsMTE3LDQ4OC4zLDEyNi45LDQ4OC4zLDE0Mi41eiIgZmlsbD0iI0ZGRkZGRiIvPjwvc3ZnPg==);\x0a\x09\x09}\x0a\x09\x09.toast.toast-success\x20{\x0a\x09\x09\x09background-color:\x20#43B581;\x0a\x09\x09}\x0a\x09\x09.toast.toast-success.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=);\x0a\x09\x09}\x0a\x09\x09.toast.toast-warning,\x0a\x09\x09.toast.toast-warn\x20{\x0a\x09\x09\x09background-color:\x20#FFA600;\x0a\x09\x09}\x0a\x09\x09.toast.toast-warning.icon,\x0a\x09\x09.toast.toast-warn.icon\x20{\x0a\x09\x09\x09background-image:\x20url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPiAgICA8cGF0aCBkPSJNMSAyMWgyMkwxMiAyIDEgMjF6bTEyLTNoLTJ2LTJoMnYyem0wLTRoLTJ2LTRoMnY0eiIvPjwvc3ZnPg==);\x0a\x09\x09}');var B={};b['ListenerUtils']['add'](b,document,'keydown.BDFDBPressedKeys',M=>{if(!b['InternalData']['pressedKeys']['includes'](M['which'])){b['TimeUtils']['clear'](B[M['which']]);b['InternalData']['pressedKeys']['push'](M['which']);B[M['which']]=b['TimeUtils']['timeout'](N=>{b['ArrayUtils']['remove'](b['InternalData']['pressedKeys'],M['which'],!![]);},0xea60);}});b['ListenerUtils']['add'](b,document,'keyup.BDFDBPressedKeys',M=>{b['TimeUtils']['clear'](B[M['which']]);b['ArrayUtils']['remove'](b['InternalData']['pressedKeys'],M['which'],!![]);});b['ListenerUtils']['add'](b,document,'mousedown.BDFDBMousePosition',M=>{b['InternalData']['mousePosition']=M;});b['ListenerUtils']['add'](b,window,'focus.BDFDBPressedKeysReset',M=>{b['InternalData']['pressedKeys']=[];});c['patchedModules']={'before':{'MessageContent':'type'},'after':{'DiscordTag':'default','Mention':'default','Message':'default','MessageHeader':'default','MemberListItem':['componentDidMount','componentDidUpdate'],'PrivateChannel':['componentDidMount','componentDidUpdate'],'UserPopout':['componentDidMount','componentDidUpdate'],'UserProfile':['componentDidMount','componentDidUpdate'],'V2C_ContentColumn':'render'}};c['processV2CContentColumn']=function(M){if(window['PluginUpdates']&&window['PluginUpdates']['plugins']&&typeof M['instance']['props']['title']=='string'&&M['instance']['props']['title']['toUpperCase']()['indexOf']('PLUGINS')==0x0){let [N,O]=b['ReactUtils']['findParent'](M['returnvalue'],{'key':'folder-button'});if(O>-0x1)N['splice'](O+0x1,0x0,b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':'Only\x20checks\x20for\x20updates\x20of\x20plugins,\x20which\x20support\x20the\x20updatecheck.\x20Rightclick\x20for\x20a\x20list\x20of\x20supported\x20plugins.\x20(Listed\x20≠\x20Outdated)','tooltipConfig':{'selector':'update-button-tooltip','style':'max-width:\x20420px'},'children':b['ReactUtils']['createElement']('button',{'className':b['disCNS']['_repobutton']+b['disCN']['_repofolderbutton']+'\x20bd-updatebtn','onClick':P=>{let Q=b['NotificationUtils']['toast']('Plugin\x20update\x20check\x20in\x20progress.',{'type':'info','timeout':0x0});b['PluginUtils']['checkAllUpdates']()['then'](R=>{Q['close']();if(R>0x0)b['NotificationUtils']['toast']('Plugin\x20update\x20check\x20complete.\x20'+R+'\x20outdated!',{'type':'error'});else b['NotificationUtils']['toast']('Plugin\x20update\x20check\x20complete.',{'type':'success'});});},'onContextMenu':P=>{if(window['PluginUpdates']&&window['PluginUpdates']['plugins']&&!document['querySelector']('.update-list-tooltip'))b['TooltipUtils']['create'](P['currentTarget'],b['ObjectUtils']['toArray'](window['PluginUpdates']['plugins'])['map'](Q=>Q['name'])['filter'](Q=>Q)['sort']()['join'](',\x20'),{'type':'bottom','selector':'update-list-tooltip','style':'max-width:\x20420px'});},'children':'Check\x20for\x20Updates'})}));}};let C=b['ModuleUtils']['findByProperties']('MessageTimestamp',![]);if(C)c['processMessage']=function(M){if(b['ReactUtils']['getValue'](M,'instance.props.childrenHeader.type.type.name')&&b['ReactUtils']['getValue'](M,'instance.props.childrenHeader.props.message')){M['instance']['props']['childrenHeader']['type']=C['exports']['default'];}};const BDFDB_Patrons_T2=['363785301195358221','106938698938978304'];const BDFDB_Patrons_T3=['443943393660239872','329018006371827713','562008872467038230'];const BDFDB_Patrons_T3_hasBadge=['562008872467038230'];c['_processAvatarRender']=function(M,N){if(b['ReactUtils']['isValidElement'](N)&&b['ObjectUtils']['is'](M)){N['props']['user_by_BDFDB']=M['id'];let O='',P=b['DOMUtils']['formatClassName']((N['props']['className']||'')['replace'](b['disCN']['avatar'],''));if(BDFDB_Patrons_T2['includes'](M['id'])){O='BDFDB\x20Patron';P=b['DOMUtils']['formatClassName'](P,g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter']);}if(BDFDB_Patrons_T3['includes'](M['id'])){O='BDFDB\x20Patron\x20Level\x202';P=b['DOMUtils']['formatClassName'](P,g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter'],g['showSupportBadges']&&BDFDB_Patrons_T3_hasBadge['includes'](M['id'])&&b['disCN']['bdfdbsupportercustom']);}if(M['id']==e){O='Theme\x20Developer';P=b['DOMUtils']['formatClassName'](P,b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbdev']);}if(O){delete N['props']['user_by_BDFDB'];if(N['type']=='img')N=b['ReactUtils']['createElement'](x['LibraryComponents']['AvatarComponents']['default'],Object['assign']({},N['props'],{'size':b['LibraryComponents']['AvatarComponents']['Sizes']['SIZE_40']}));delete N['props']['className'];N=b['ReactUtils']['createElement']('div',{'className':P,'style':{'borderRadius':0x0,'overflow':'visible'},'custombadge_id':BDFDB_Patrons_T3_hasBadge['includes'](M['id'])?M['id']:null,'user_by_BDFDB':M['id'],'children':[N]});if(g['showSupportBadges'])N['props']['children']['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['TooltipContainer'],{'text':O,'children':b['ReactUtils']['createElement']('div',{'className':b['disCN']['bdfdbbadge']})}));return N;}}};c['_processAvatarMount']=function(M,N,O='top'){if(Node['prototype']['isPrototypeOf'](N)&&b['ObjectUtils']['is'](M)){N['setAttribute']('user_by_BDFDB',M['id']);let P='';if(BDFDB_Patrons_T2['includes'](M['id'])&&g['showSupportBadges']){P='BDFDB\x20Patron';N['className']=b['DOMUtils']['formatClassName'](N['className'],g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter']);}else if(BDFDB_Patrons_T3['includes'](M['id'])&&g['showSupportBadges']){P='BDFDB\x20Patron\x20Level\x202';N['className']=b['DOMUtils']['formatClassName'](N['className'],g['showSupportBadges']&&b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbsupporter'],g['showSupportBadges']&&BDFDB_Patrons_T3_hasBadge['includes'](M['id'])&&b['disCN']['bdfdbsupportercustom']);}else if(M['id']==e){P='Theme\x20Developer';N['className']=b['DOMUtils']['formatClassName'](N['className'],b['disCN']['bdfdbhasbadge'],b['disCN']['bdfdbdev']);}if(P&&!N['querySelector'](b['dotCN']['bdfdbbadge'])){if(g['showSupportBadges']){if(BDFDB_Patrons_T3_hasBadge['includes'](M['id']))N['setAttribute']('custombadge_id',M['id']);let Q=document['createElement']('div');Q['className']=b['disCN']['bdfdbbadge'];Q['addEventListener']('mouseenter',R=>{b['TooltipUtils']['create'](Q,P,{'position':O});});N['style']['setProperty']('position','relative');N['style']['setProperty']('overflow','visible');N['style']['setProperty']('border-radius',0x0);N['appendChild'](Q);}}}};c['processMessageHeader']=function(M){if(M['instance']['props']['message']&&M['instance']['props']['message']['author']){let N=b['ReactUtils']['getValue'](M,'returnvalue.props.children.0');if(N&&N['props']&&typeof N['props']['children']=='function'){let O=N['props']['children'];N['props']['children']=(...P)=>{let Q=O(...P);return c['_processAvatarRender'](M['instance']['props']['message']['author'],Q)||Q;};}else if(N&&N['type']=='img')M['returnvalue']['props']['children'][0x0]=c['_processAvatarRender'](M['instance']['props']['message']['author'],N)||N;}};c['processMemberListItem']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['avatarwrapper']));};c['processPrivateChannel']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['avatarwrapper']));};c['processUserPopout']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['userpopoutavatarwrapper']));};c['processUserProfile']=function(M){c['_processAvatarMount'](M['instance']['props']['user'],M['node']['querySelector'](b['dotCN']['avatarwrapper']));};c['processDiscordTag']=function(M){if(M['instance']&&M['instance']['props']&&M['instance']['props']['user']&&M['returnvalue'])M['returnvalue']['props']['user']=M['instance']['props']['user'];};c['processMessageContent']=function(M){if(b['ArrayUtils']['is'](M['instance']['props']['content']))for(let N of M['instance']['props']['content'])c['_processMessageContentEle'](N,M['instance']['props']['message']);};c['_processMessageContentEle']=function(M,N){if(b['ReactUtils']['isValidElement'](M)){if(typeof M['props']['render']=='function'&&b['ReactUtils']['getValue'](M,'props.children.type.displayName')=='Mention'){let O=b['ReactUtils']['getValue'](M['props']['render'](),'props.userId');if(O&&!M['props']['children']['props']['userId'])M['props']['children']['props']['userId']=O;if(N&&N['mentioned'])M['props']['children']['props']['mentioned']=!![];}else if(b['ReactUtils']['isValidElement'](M['props']['children']))c['_processMessageContentEle'](M['props']['children'],N);else if(b['ArrayUtils']['is'](M['props']['children']))for(let P of M['props']['children'])c['_processMessageContentEle'](P,N);}else if(b['ArrayUtils']['is'](M))for(let Q of M)c['_processMessageContentEle'](Q,N);};c['processMention']=function(M){delete M['returnvalue']['props']['userId'];};const D=['UserSettingsCog','User','Developer','Slate','GuildFolder','GroupDM','SystemMessage','Message','Native','Channel','Guild'];const E=b['ArrayUtils']['removeCopies']([]['concat'](D['map'](M=>M+'ContextMenu'),['MessageOptionContextMenu','MessageOptionToolbar']));c['addContextListeners']=function(M){M=M==b&&c||M;for(let N of E)if(typeof M['on'+N]==='function'){b['InternalData']['componentPatchQueries'][N]['query']['push'](M);b['InternalData']['componentPatchQueries'][N]['query']=b['ArrayUtils']['removeCopies'](b['InternalData']['componentPatchQueries'][N]['query']);b['InternalData']['componentPatchQueries'][N]['query']['sort']((O,P)=>{return O['name']P['name']?0x1:0x0;});for(let O of b['InternalData']['componentPatchQueries'][N]['modules'])c['patchContextMenuForPlugin'](M,N,O);}};c['patchContextMenuForPlugin']=function(M,N,O){M=M==b&&c||M;if(O&&O['exports']&&O['exports']['default'])b['ModuleUtils']['patch'](M,O['exports'],'default',{'after':P=>{if(P['returnValue']&&typeof M['on'+N]==='function')M['on'+N]({'instance':{'props':P['methodArguments'][0x0]},'returnvalue':P['returnValue'],'methodname':'default','type':O['exports']['default']['displayName']});}});};c['executeExtraPatchedPatches']=function(M,N){if(N['returnvalue']&&b['ObjectUtils']['is'](b['InternalData']['componentPatchQueries'][M])&&b['ArrayUtils']['is'](b['InternalData']['componentPatchQueries'][M]['query'])){for(let O of b['InternalData']['componentPatchQueries'][M]['query'])if(typeof O['on'+M]==='function')O['on'+M](N);}};c['patchPlugin'](b);for(let M of E)if(!b['InternalData']['componentPatchQueries'][M])b['InternalData']['componentPatchQueries'][M]={'query':[],'modules':[]};b['ModuleUtils']['patch'](b,n['ContextMenuUtils'],'openContextMenu',{'before':N=>{let O=N['methodArguments'][0x1]();if(b['ObjectUtils']['is'](O)&&O['type']&&O['type']['displayName']){for(let P of D)if(O['type']['displayName']['indexOf'](P)>-0x1){let Q=P+'ContextMenu';let R=b['ModuleUtils']['find'](S=>S==O['type'],![]);if(R&&R['exports']&&R['exports']['default']&&b['InternalData']['componentPatchQueries'][Q]){b['InternalData']['componentPatchQueries'][Q]['modules']['push'](R);b['InternalData']['componentPatchQueries'][Q]['modules']=b['ArrayUtils']['removeCopies'](b['InternalData']['componentPatchQueries'][Q]['modules']);for(let S of b['InternalData']['componentPatchQueries'][Q]['query'])c['patchContextMenuForPlugin'](S,Q,R);}break;}}}});b['ModuleUtils']['patch'](b,b['ReactUtils']['getValue'](b['ModuleUtils']['findByString']('renderReactions','canAddNewReactions','showMoreUtilities',![]),'exports.default'),'type',{'after':N=>{if(document['querySelector'](b['dotCN']['emojipicker'])||!b['ObjectUtils']['toArray'](b['myPlugins'])['some'](P=>P['onMessageOptionContextMenu']||P['onMessageOptionToolbar']))return;let O=b['ReactUtils']['findChild'](N['returnValue'],{'filter':P=>P&&P['props']&&P['props']['showMoreUtilities']!=undefined&&P['props']['showEmojiPicker']!=undefined&&P['props']['setPopout']!=undefined});if(O)b['ModuleUtils']['patch'](b,O,'type',{'after':P=>{let Q=b['ReactUtils']['findChild'](P['returnValue'],{'filter':R=>R&&R['props']&&typeof R['props']['onRequestClose']=='function'&&R['props']['onRequestClose']['toString']()['indexOf']('moreUtilities')>-0x1});c['executeExtraPatchedPatches']('MessageOptionToolbar',{'instance':{'props':P['methodArguments'][0x0]},'returnvalue':P['returnValue'],'methodname':'default'});if(Q&&typeof Q['props']['renderPopout']=='function'){let R=Q['props']['renderPopout'];Q['props']['renderPopout']=(...S)=>{let T=R(...S);b['ModuleUtils']['patch'](b,T,'type',{'after':U=>{c['executeExtraPatchedPatches']('MessageOptionContextMenu',{'instance':{'props':U['methodArguments'][0x0]},'returnvalue':U['returnValue'],'methodname':'default'});}},{'noCache':!![]});return T;};}}},{'once':!![]});}});c['onSettingsClosed']=function(){if(c['SettingsUpdated']){delete c['SettingsUpdated'];c['forceUpdateAll']();}};c['forceUpdateAll']=function(){if(m['path'])g=b['DataUtils']['get'](this,'settings');b['MessageUtils']['rerenderAll']();b['ModuleUtils']['forceAllUpdates'](b);};c['addSpecialListeners'](b);let F=b['ModuleUtils']['findByName']('BasePopout'),G=b['ModuleUtils']['findByName']('ReferencePositionLayer');if(F&&G)b['ModuleUtils']['patch'](b,F['prototype'],'renderLayer',{'after':N=>{if(N['returnValue']&&N['thisObject']['isBDFDBpopout']){N['returnValue']=b['ReactUtils']['createPortal'](b['ReactUtils']['createElement'](G,N['returnValue']['props']),document['querySelector'](b['dotCN']['appmount']+'\x20>\x20'+b['dotCN']['itemlayercontainer']));}}});if(x['LibraryComponents']['GuildComponents']['BlobMask']){let N=['lowerLeftBadge','upperLeftBadge'];b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'render',{'before':P=>{P['thisObject']['props']=Object['assign']({},x['LibraryComponents']['GuildComponents']['BlobMask']['defaultProps'],P['thisObject']['props']);for(let Q of N)if(!P['thisObject']['state'][Q+'Mask'])P['thisObject']['state'][Q+'Mask']=new x['LibraryComponents']['Animations']['Controller']({'spring':0x0});},'after':P=>{let [Q,R]=b['ReactUtils']['findParent'](P['returnValue'],{'name':'TransitionGroup'});if(R>-0x1){Q[R]['props']['children']['push'](!P['thisObject']['props']['lowerLeftBadge']?null:b['ReactUtils']['createElement'](x['LibraryComponents']['BadgeAnimationContainer'],{'className':b['disCN']['guildlowerleftbadge'],'key':'lower-left-badge','animatedStyle':P['thisObject']['getLowerLeftBadgeStyles'](),'children':P['thisObject']['props']['lowerLeftBadge']}));Q[R]['props']['children']['push'](!P['thisObject']['props']['upperLeftBadge']?null:b['ReactUtils']['createElement'](x['LibraryComponents']['BadgeAnimationContainer'],{'className':b['disCN']['guildupperleftbadge'],'key':'upper-left-badge','animatedStyle':P['thisObject']['getUpperLeftBadgeStyles'](),'children':P['thisObject']['props']['upperLeftBadge']}));}[Q,R]=b['ReactUtils']['findParent'](P['returnValue'],{'name':'mask'});if(R>-0x1){Q[R]['props']['children']['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Animations']['animated']['rect'],{'x':-0x4,'y':-0x4,'width':P['thisObject']['props']['upperLeftBadgeWidth']+0x8,'height':0x18,'rx':0xc,'ry':0xc,'transform':P['thisObject']['getLeftBadgePositionInterpolation'](P['thisObject']['state']['upperLeftBadgeMask'],-0x1),'fill':'black'}));Q[R]['props']['children']['push'](b['ReactUtils']['createElement'](x['LibraryComponents']['Animations']['animated']['rect'],{'x':-0x4,'y':0x1c,'width':P['thisObject']['props']['lowerLeftBadgeWidth']+0x8,'height':0x18,'rx':0xc,'ry':0xc,'transform':P['thisObject']['getLeftBadgePositionInterpolation'](P['thisObject']['state']['lowerLeftBadgeMask']),'fill':'black'}));}}});b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'componentDidMount',{'after':P=>{for(let Q of N)P['thisObject']['state'][Q+'Mask']['update']({'spring':P['thisObject']['props'][Q]!=null?0x1:0x0,'immediate':!![]})['start']();}});b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'componentWillUnmount',{'after':P=>{for(let Q of N)if(P['thisObject']['state'][Q+'Mask'])P['thisObject']['state'][Q+'Mask']['destroy']();}});b['ModuleUtils']['patch'](b,x['LibraryComponents']['GuildComponents']['BlobMask']['prototype'],'componentDidUpdate',{'after':P=>{for(let Q of N)if(P['thisObject']['props'][Q]!=null&&P['methodArguments'][0x0][Q]==null){P['thisObject']['state'][Q+'Mask']['update']({'spring':0x1,'immediate':!document['hasFocus'](),'config':{'friction':0x1e,'tension':0x384,'mass':0x1}})['start']();}else if(P['thisObject']['props'][Q]==null&&P['methodArguments'][0x0][Q]!=null){P['thisObject']['state'][Q+'Mask']['update']({'spring':0x0,'immediate':!document['hasFocus'](),'config':{'duration':0x96,'friction':0xa,'tension':0x64,'mass':0x1}})['start']();}}});x['LibraryComponents']['GuildComponents']['BlobMask']['prototype']['getLeftBadgePositionInterpolation']=function(P,Q){return void 0x0===Q&&(Q=0x1),P['animated']['spring']['to']([0x0,0x1],[0x14,0x0])['to'](function(R){return'translate('+R*-0x1+'\x20'+R*Q+')';});};x['LibraryComponents']['GuildComponents']['BlobMask']['prototype']['getLowerLeftBadgeStyles']=function(){var P=this['state']['lowerLeftBadgeMask']['animated']['spring'];return{'opacity':P['to']([0x0,0.5,0x1],[0x0,0x0,0x1]),'transform':P['to'](function(Q){return'translate('+-0x1*(0x10-0x10*Q)+'px,\x20'+(0x10-0x10*Q)+'px)';})};};x['LibraryComponents']['GuildComponents']['BlobMask']['prototype']['getUpperLeftBadgeStyles']=function(){var P=this['state']['upperLeftBadgeMask']['animated']['spring'];return{'opacity':P['to']([0x0,0.5,0x1],[0x0,0x0,0x1]),'transform':P['to'](function(Q){return'translate('+-0x1*(0x10-0x10*Q)+'px,\x20'+-0x1*(0x10-0x10*Q)+'px)';})};};let O={};for(let P of N)O[P+'Width']=0x10;c['setDefaultProps'](x['LibraryComponents']['GuildComponents']['BlobMask'],O);}b['ModuleUtils']['patch'](b,n['GuildStore'],'getGuild',{'after':Q=>{if(Q['returnValue']&&Q['methodArguments'][0x0]==f)Q['returnValue']['banner']='https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB_banner.png';}});b['ModuleUtils']['patch'](b,n['IconUtils'],'getGuildBannerURL',{'instead':Q=>{return Q['methodArguments'][0x0]['id']==f?Q['methodArguments'][0x0]['banner']:Q['callOriginalMethod']();}});c['forceUpdateAll']();b['ReactUtils']['findChildren']=b['ReactUtils']['findParent'];if(b['UserUtils']['me']['id']==e){for(let Q in t)if(!t[Q])b['LogUtils']['warn'](Q+'\x20not\x20initialized\x20in\x20DiscordClassModules');for(let R in l)if(!l[R])b['LogUtils']['warn'](R+'\x20not\x20initialized\x20in\x20DiscordObjects');for(let S in m)if(!m[S])b['LogUtils']['warn'](S+'\x20not\x20initialized\x20in\x20LibraryRequires');for(let T in n)if(!n[T])b['LogUtils']['warn'](T+'\x20not\x20initialized\x20in\x20LibraryModules');for(let U in x['NativeSubComponents'])if(!x['NativeSubComponents'][U])b['LogUtils']['warn'](U+'\x20not\x20initialized\x20in\x20NativeSubComponents');for(let V in x['LibraryComponents'])if(!x['LibraryComponents'][V])b['LogUtils']['warn'](V+'\x20not\x20initialized\x20in\x20LibraryComponents');b['ModuleUtils']['DevFuncs']={};b['ModuleUtils']['DevFuncs']['generateClassId']=function(){let W='';while(W['length']<0x6)W+=b['ModuleUtils']['DevFuncs']['generateClassId']['chars'][Math['floor'](Math['random']()*b['ModuleUtils']['DevFuncs']['generateClassId']['chars']['length'])];return W;};b['ModuleUtils']['DevFuncs']['generateClassId']['chars']='0123456789ABCDEFGHIJKMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split']('');b['ModuleUtils']['DevFuncs']['findByIndex']=function(W){return b['ModuleUtils']['DevFuncs']['req']['c'][W];};b['ModuleUtils']['DevFuncs']['findPropAny']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['every'](Y=>X['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='object')for(let Z in Y)if(window['t']['$filter'](Z))window['t'][Z+'_'+X]=Y;if(Y&&typeof Y=='object'&&typeof Y['default']=='object')for(let a0 in Y['default'])if(window['t']['$filter'](a0))window['t'][a0+'_default_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findPropFunc']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['every'](Y=>X['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='object')for(let Z in Y)if(window['t']['$filter'](Z)&&typeof Y[Z]!='string')window['t'][Z+'_'+X]=Y;if(Y&&typeof Y=='object'&&typeof Y['default']=='object')for(let a0 in Y['default'])if(window['t']['$filter'](a0)&&typeof Y['default'][a0]!='string')window['t'][a0+'_default_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findPropStringLib']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['every'](Y=>X['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='object')for(let Z in Y)if(window['t']['$filter'](Z)&&typeof Y[Z]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Y[Z]))window['t'][Z+'_'+X]=Y;if(Y&&typeof Y=='object'&&typeof Y['default']=='object')for(let a0 in Y['default'])if(window['t']['$filter'](a0)&&typeof Y['default'][a0]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Y['default'][a0]))window['t'][a0+'_default_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findNameAny']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['some'](Y=>typeof X['displayName']=='string'&&X['displayName']['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1||X['name']=='string'&&X['name']['toLowerCase']()['indexOf'](Y['toLowerCase']())>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&(typeof Y=='object'||typeof Y=='function')&&window['t']['$filter'](Y))window['t'][(Y['displayName']||Y['name'])+'_'+X]=Y;if(Y&&(typeof Y=='object'||typeof Y=='function')&&Y['default']&&(typeof Y['default']=='object'||typeof Y['default']=='function')&&window['t']['$filter'](Y['default']))window['t'][(Y['default']['displayName']||Y['default']['name'])+'_'+X]=Y['default'];}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['findCodeAny']=function(...W){window['t']={'$filter':X=>[...W]['flat'](0xa)['filter'](Y=>typeof Y=='string')['map'](Y=>Y['toLowerCase']())['every'](Y=>typeof X=='function'&&(X['toString']()['toLowerCase']()['indexOf'](Y)>-0x1||typeof X['__originalMethod']=='function'&&X['__originalMethod']['toString']()['toLowerCase']()['indexOf'](Y)>-0x1||typeof X['__originalFunction']=='function'&&X['__originalFunction']['toString']()['toLowerCase']()['indexOf'](Y)>-0x1)||b['ObjectUtils']['is'](X)&&typeof X['type']=='function'&&X['type']['toString']()['toLowerCase']()['indexOf'](Y)>-0x1)};for(let X in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](X)){let Y=b['ModuleUtils']['DevFuncs']['req']['c'][X]['exports'];if(Y&&typeof Y=='function'&&window['t']['$filter'](Y))window['t']['module_'+X]={'string':Y['toString'](),'func':Y};if(Y&&Y['__esModule']){for(let Z in Y)if(Y[Z]&&typeof Y[Z]=='function'&&window['t']['$filter'](Y[Z]))window['t'][Z+'_module_'+X]={'string':Y[Z]['toString'](),'func':Y[Z],'module':Y};if(Y['default']&&(typeof Y['default']=='object'||typeof Y['default']=='function'))for(let a0 in Y['default'])if(Y['default'][a0]&&typeof Y['default'][a0]=='function'&&window['t']['$filter'](Y['default'][a0]))window['t'][a0+'_module_'+X+'_default']={'string':Y['default'][a0]['toString'](),'func':Y['default'][a0],'module':Y};}}for(let a1 in b['ModuleUtils']['DevFuncs']['req']['m'])if(typeof b['ModuleUtils']['DevFuncs']['req']['m'][a1]=='function'&&window['t']['$filter'](b['ModuleUtils']['DevFuncs']['req']['m'][a1]))window['t']['funtion_'+a1]={'string':b['ModuleUtils']['DevFuncs']['req']['m'][a1]['toString'](),'func':b['ModuleUtils']['DevFuncs']['req']['m'][a1]};console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['getAllModules']=function(){window['t']={};for(let W in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](W)){let X=b['ModuleUtils']['DevFuncs']['req']['c'][W]['exports'];if(X&&typeof X=='object')window['t'][W]=X;}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['getAllStringLibs']=function(){window['t']=[];for(let Y in b['ModuleUtils']['DevFuncs']['req']['c'])if(b['ModuleUtils']['DevFuncs']['req']['c']['hasOwnProperty'](Y)){let Z=b['ModuleUtils']['DevFuncs']['req']['c'][Y]['exports'];if(Z&&typeof Z=='object'&&!b['ArrayUtils']['is'](Z)&&Object['keys'](Z)['length']){var W=!![],X=![];for(let a0 in Z){if(typeof Z[a0]!='string')W=![];if(typeof Z[a0]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Z[a0]))X=!![];}if(W&&X)window['t']['push'](Z);}if(Z&&typeof Z=='object'&&Z['default']&&typeof Z['default']=='object'&&!b['ArrayUtils']['is'](Z['default'])&&Object['keys'](Z['default'])['length']){var W=!![],X=![];for(let a1 in Z['default']){if(typeof Z['default'][a1]!='string')W=![];if(typeof Z['default'][a1]=='string'&&/^[A-z0-9]+\-[A-z0-9_-]{6}$/['test'](Z['default'][a1]))X=!![];}if(W&&X)window['t']['push'](Z['default']);}}console['clear']();console['log'](window['t']);};b['ModuleUtils']['DevFuncs']['listen']=function(W){W=b['ArrayUtils']['is'](W)?W:Array['from'](arguments);b['ModuleUtils']['DevFuncs']['listenstop']();b['ModuleUtils']['DevFuncs']['listen']['p']=b['ModuleUtils']['patch']('WebpackSearch',b['ModuleUtils']['findByProperties'](W),W[0x0],{'after':X=>{console['log'](X);}});};b['ModuleUtils']['DevFuncs']['listenstop']=function(){if(typeof b['ModuleUtils']['DevFuncs']['listen']['p']=='function')b['ModuleUtils']['DevFuncs']['listen']['p']();};b['ModuleUtils']['DevFuncs']['req']=c['getWebModuleReq']();}for(let W in l)if(!l[W]){l[W]=function(){};b['DiscordObjects'][W]=function(){};}for(let X in x['NativeSubComponents'])if(!x['NativeSubComponents'][X])x['NativeSubComponents'][X]='div';for(let Y in x['LibraryComponents'])if(!x['LibraryComponents'][Y]){x['LibraryComponents'][Y]='div';b['LibraryComponents'][Y]='div';}b['loaded']=!![];window['BDFDB']=b;c['reloadLib']=Z=>{let a0=document['querySelector']('head\x20script#BDFDBLibraryScript');if(a0)a0['remove']();a0=document['createElement']('script');a0['setAttribute']('id','BDFDBLibraryScript');a0['setAttribute']('type','text/javascript');a0['setAttribute']('src','https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js');a0['setAttribute']('date',performance['now']());document['head']['appendChild'](a0);};let H=Object['keys'](b)['length']-0xa;b['TimeUtils']['interval'](Z=>{if(!window['BDFDB']||typeof b!='object'||Object['keys'](b)['length']0x112a880){b['TimeUtils']['clear'](Z);c['reloadLib']();}},0x2710);})(); \ No newline at end of file diff --git a/Plugins/ChatAliases/ChatAliases.plugin.js b/Plugins/ChatAliases/ChatAliases.plugin.js index 78db8b07e9..6988156a3d 100644 --- a/Plugins/ChatAliases/ChatAliases.plugin.js +++ b/Plugins/ChatAliases/ChatAliases.plugin.js @@ -270,7 +270,6 @@ var ChatAliases = (_ => { label: "Add to ChatAliases", id: BDFDB.ContextMenuUtils.createItemId(this.name, "add-alias"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openAddModal(text.replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t")); } }) diff --git a/Plugins/ChatFilter/ChatFilter.plugin.js b/Plugins/ChatFilter/ChatFilter.plugin.js index 3ce56d20f9..d60804e721 100644 --- a/Plugins/ChatFilter/ChatFilter.plugin.js +++ b/Plugins/ChatFilter/ChatFilter.plugin.js @@ -249,7 +249,6 @@ var ChatFilter = (_ => { label: "Add to ChatFilter", id: BDFDB.ContextMenuUtils.createItemId(this.name, "add-filter"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openAddModal(text.replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t")); } }) diff --git a/Plugins/CopyRawMessage/CopyRawMessage.plugin.js b/Plugins/CopyRawMessage/CopyRawMessage.plugin.js index 0688157f4f..41b3a4e032 100644 --- a/Plugins/CopyRawMessage/CopyRawMessage.plugin.js +++ b/Plugins/CopyRawMessage/CopyRawMessage.plugin.js @@ -116,7 +116,6 @@ var CopyRawMessage = (_ => { }); }), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); BDFDB.LibraryRequires.electron.clipboard.write({text:messageString}); } }), @@ -124,7 +123,6 @@ var CopyRawMessage = (_ => { label: BDFDB.LanguageUtils.LanguageStrings.COPY_TEXT + " (Raw Embed)", id: BDFDB.ContextMenuUtils.createItemId(this.name, "copy-embed"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); BDFDB.LibraryRequires.electron.clipboard.write({text:embedString}); } }) diff --git a/Plugins/DisplayLargeMessages/DisplayLargeMessages.plugin.js b/Plugins/DisplayLargeMessages/DisplayLargeMessages.plugin.js index 9616041302..328472f905 100644 --- a/Plugins/DisplayLargeMessages/DisplayLargeMessages.plugin.js +++ b/Plugins/DisplayLargeMessages/DisplayLargeMessages.plugin.js @@ -166,7 +166,6 @@ var DisplayLargeMessages = (_ => { label: this.labels.context_uninjectattchment_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "uninject-attachment"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); delete encodedMessages[e.instance.props.message.id]; BDFDB.ModuleUtils.forceAllUpdates(this, ["Messages", "Attachment"]); } diff --git a/Plugins/EditChannels/EditChannels.plugin.js b/Plugins/EditChannels/EditChannels.plugin.js index 5571a6cc2e..841c47a4a6 100644 --- a/Plugins/EditChannels/EditChannels.plugin.js +++ b/Plugins/EditChannels/EditChannels.plugin.js @@ -160,7 +160,6 @@ var EditChannels = (_ => { label: this.labels.submenu_channelsettings_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "settings-change"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openChannelSettingsModal(e.instance.props.channel); } }), @@ -169,7 +168,6 @@ var EditChannels = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "settings-reset"), disabled: !changedChannels[e.instance.props.channel.id], action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); BDFDB.DataUtils.remove(this, "channels", e.instance.props.channel.id); this.forceUpdateAll(); } diff --git a/Plugins/EditServers/EditServers.plugin.js b/Plugins/EditServers/EditServers.plugin.js index 3376d7ef4f..c80c7ba0d4 100644 --- a/Plugins/EditServers/EditServers.plugin.js +++ b/Plugins/EditServers/EditServers.plugin.js @@ -170,7 +170,6 @@ var EditServers = (_ => { label: this.labels.submenu_serversettings_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "settings-change"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openGuildSettingsModal(e.instance.props.guild.id); } }), @@ -179,7 +178,6 @@ var EditServers = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "settings-reset"), disabled: !changedGuilds[e.instance.props.guild.id], action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); BDFDB.DataUtils.remove(this, "servers", e.instance.props.guild.id); this.forceUpdateAll(); } diff --git a/Plugins/EditUsers/EditUsers.plugin.js b/Plugins/EditUsers/EditUsers.plugin.js index 994eb71b29..ae4c036ff5 100644 --- a/Plugins/EditUsers/EditUsers.plugin.js +++ b/Plugins/EditUsers/EditUsers.plugin.js @@ -268,7 +268,6 @@ var EditUsers = (_ => { label: this.labels.submenu_usersettings_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "settings-change"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openUserSettingsModal(e.instance.props.user); } }), @@ -277,7 +276,6 @@ var EditUsers = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "settings-reset"), disabled: !changedUsers[e.instance.props.user.id], action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); BDFDB.DataUtils.remove(this, "users", e.instance.props.user.id); this.forceUpdateAll(); } diff --git a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js index aa5f0b4d43..c237d0230a 100644 --- a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js +++ b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js @@ -138,9 +138,10 @@ var GoogleSearchReplace = (_ => { children.splice(index, 1, BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { label: this.labels.context_googlesearchreplace_text.replace("...", this.defaults.engines[engineKeys[0]].name), id: children[index].props.id, + persisting: true, action: event => { if (!event.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); - BDFDB.DiscordUtils.openLink(this.defaults.engines[engineKeys[0]].url.replace(textUrlReplaceString, encodeURIComponent(text)), settings.useChromium, event.shiftKey); + BDFDB.DiscordUtils.openLink(this.defaults.engines[engineKeys[0]].url.replace(textUrlReplaceString, encodeURIComponent(text)), !settings.useChromium, event.shiftKey); } })); } @@ -150,6 +151,7 @@ var GoogleSearchReplace = (_ => { label: this.defaults.engines[key].name, id: BDFDB.ContextMenuUtils.createItemId(this.name, "search", key), color: key == "_all" ? BDFDB.LibraryComponents.MenuItems.Colors.DANGER : BDFDB.LibraryComponents.MenuItems.Colors.DEFAULT, + persisting: true, action: event => { if (!event.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); if (key == "_all") { diff --git a/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js b/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js index 5b3604384c..c2acb8e3df 100644 --- a/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js +++ b/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js @@ -183,7 +183,6 @@ var GoogleTranslateOption = (_ => { }), disabled: !translated && isTranslating, action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.translateMessage(e.instance.props.message, e.instance.props.channel); } })); @@ -217,7 +216,6 @@ var GoogleTranslateOption = (_ => { }; if (foundTranslation && foundInput && foundOutput) { if (document.querySelector(".googletranslate-tooltip")) { - BDFDB.ContextMenuUtils.close(e.instance); BDFDB.DiscordUtils.openLink(this.getGoogleTranslatePageURL(foundInput.id, foundOutput.id, text), settings.useChromium); } else createTooltip(); diff --git a/Plugins/PersonalPins/PersonalPins.plugin.js b/Plugins/PersonalPins/PersonalPins.plugin.js index c4621fb532..bb0207b2aa 100644 --- a/Plugins/PersonalPins/PersonalPins.plugin.js +++ b/Plugins/PersonalPins/PersonalPins.plugin.js @@ -142,7 +142,6 @@ var PersonalPins = (_ => { }); }), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.addMessageToNotes(e.instance.props.message, e.instance.props.channel); } })); @@ -150,7 +149,6 @@ var PersonalPins = (_ => { label: this.labels.context_updateoption_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "update-note"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.updateNoteData(note, e.instance.props.message); } })); diff --git a/Plugins/PinDMs/PinDMs.plugin.js b/Plugins/PinDMs/PinDMs.plugin.js index 2d3a22759b..c42fcf9db8 100644 --- a/Plugins/PinDMs/PinDMs.plugin.js +++ b/Plugins/PinDMs/PinDMs.plugin.js @@ -238,7 +238,6 @@ var PinDMs = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "unpin-channellist"), color: BDFDB.LibraryComponents.MenuItems.Colors.DANGER, action: _ => { - BDFDB.ContextMenuUtils.close(instance); this.removeFromCategory(id, currentCategory, "dmCategories"); } }) : BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { @@ -246,7 +245,6 @@ var PinDMs = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "new-channellist"), color: BDFDB.LibraryComponents.MenuItems.Colors.BRAND, action: _ => { - BDFDB.ContextMenuUtils.close(instance); this.openCategorySettingsModal({ id: this.generateID("dmCategories").toString(), name: `${this.labels.header_pinneddms_text} #${categories.length + 1}`, @@ -263,7 +261,6 @@ var PinDMs = (_ => { label: category.name || this.labels.header_pinneddms_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "pin-channellist", category.id), action: _ => { - BDFDB.ContextMenuUtils.close(instance); if (currentCategory) this.removeFromCategory(id, currentCategory, "dmCategories"); this.addToCategory(id, category, "dmCategories"); } @@ -276,7 +273,6 @@ var PinDMs = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, pinnedInGuild ? "unpin-serverlist" : "pin-serverlist"), danger: pinnedInGuild, action: _ => { - BDFDB.ContextMenuUtils.close(instance); if (!pinnedInGuild) this.addPin(id, "pinnedRecents"); else this.removePin(id, "pinnedRecents"); } diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index 05647b4b9c..015ab30edc 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -1,981 +1,980 @@ -//META{"name":"PluginRepo","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/PluginRepo","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js"}*// - -var PluginRepo = (_ => { - var _this; - var loading, cachedPlugins, grabbedPlugins, foundPlugins, loadedPlugins, updateInterval; - var list, header, searchTimeout, forcedSort, forcedOrder, showOnlyOutdated; - var settings = {}, modalSettings = {}, favorites = [], customList = []; - - const pluginStates = { - UPDATED: 0, - OUTDATED: 1, - DOWNLOADABLE: 2 - }; - const buttonData = { - UPDATED: { - colorClass: "GREEN", - backgroundColor: "STATUS_GREEN", - text: "Updated" - }, - OUTDATED: { - colorClass: "RED", - backgroundColor: "STATUS_RED", - text: "Outdated" - }, - DOWNLOADABLE: { - colorClass: "BRAND", - backgroundColor: "BRAND", - text: "Download" - } - }; - const favStates = { - FAVORIZED: 0, - NOT_FAVORIZED: 1 - }; - const newStates = { - NEW: 0, - NOT_NEW: 1 - }; - const sortKeys = { - NAME: "Name", - AUTHOR: "Author", - VERSION: "Version", - DESCRIPTION: "Description", - STATE: "Update State", - FAV: "Favorites", - NEW: "New Plugins" - }; - const orderKeys = { - ASC: "ascending", - DESC: "descending" - }; - - const pluginRepoIcon = ``; - - const RepoListComponent = class PluginList extends BdApi.React.Component { - componentDidMount() { - list = this; - BDFDB.TimeUtils.timeout(_ => { - forcedSort = null; - forcedOrder = null; - showOnlyOutdated = false; - }, 5000); - } - filterPlugins() { - let plugins = Object.keys(loadedPlugins).map(url => { - let plugin = loadedPlugins[url]; - let instPlugin = BDFDB.BDUtils.getPlugin(plugin.getName); - if (instPlugin && typeof instPlugin.getAuthor == "function" && _this.getString(instPlugin.getAuthor()).toUpperCase() == plugin.getAuthor.toUpperCase()) plugin.getState = _this.getString(instPlugin.getVersion()) != plugin.getVersion ? pluginStates.OUTDATED : pluginStates.UPDATED; - else plugin.getState = pluginStates.DOWNLOADABLE; - return { - url: plugin.url, - search: (plugin.getName + " " + plugin.getVersion + " " + plugin.getAuthor + " " + plugin.getDescription).toUpperCase(), - name: plugin.getName, - version: plugin.getVersion, - author: plugin.getAuthor, - description: plugin.getDescription || "No Description found.", - fav: favorites.includes(url) ? favStates.FAVORIZED : favStates.NOT_FAVORIZED, - new: !cachedPlugins.includes(url) ? newStates.NEW : newStates.NOT_NEW, - state: plugin.getState - }; - }); - if (!this.props.updated) plugins = plugins.filter(plugin => plugin.state != pluginStates.UPDATED); - if (!this.props.outdated) plugins = plugins.filter(plugin => plugin.state != pluginStates.OUTDATED); - if (!this.props.downloadable) plugins = plugins.filter(plugin => plugin.state != pluginStates.DOWNLOADABLE); - if (this.props.searchString) { - let searchString = this.props.searchString.toUpperCase(); - plugins = plugins.filter(plugin => plugin.search.indexOf(searchString) > -1).map(plugin => Object.assign({}, plugin, { - name: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.name, searchString))) || plugin.name, - version: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.version, searchString))) || plugin.version, - author: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.author, searchString))) || plugin.author, - description: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.description, searchString))) || plugin.description - })); - } - - BDFDB.ArrayUtils.keySort(plugins, (!this.props.sortKey || this.props.sortKey == "NEW" && !plugins.some(plugin => plugin.new == newStates.NEW) ? Object.keys(sortKeys)[0] : this.props.sortKey).toLowerCase()); - if (this.props.orderKey == "DESC") plugins.reverse(); - return plugins; - } - renderCard(plugin) { - let buttonConfig = buttonData[(Object.entries(pluginStates).find(n => n[1] == plugin.state) || [])[0]]; - return buttonConfig && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.AddonCard, { - data: plugin, - controls: [ - plugin.new == newStates.NEW && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Badges.TextBadge, { - style: { - borderRadius: 3, - textTransform: "uppercase", - background: BDFDB.DiscordConstants.Colors.STATUS_YELLOW - }, - text: BDFDB.LanguageUtils.LanguageStrings.NEW - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FavButton, { - className: BDFDB.disCN._repocontrolsbutton, - isFavorite: plugin.fav == favStates.FAVORIZED, - onClick: value => { - plugin.fav = value ? favStates.FAVORIZED : favStates.NOT_FAVORIZED; - if (value) favorites.push(plugin.url); - else BDFDB.ArrayUtils.remove(favorites, plugin.url, true); - BDFDB.DataUtils.save(favorites, _this, "favorites"); - } - }), - BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repocontrolsbutton, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { - text: "Go to Source", - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { - name: BDFDB.LibraryComponents.SvgIcon.Names.GITHUB, - className: BDFDB.disCN._repoicon, - onClick: _ => { - let gitUrl = null; - if (plugin.url.indexOf("https://raw.githubusercontent.com") == 0) { - let temp = plugin.url.replace("//raw.githubusercontent", "//github").split("/"); - temp.splice(5, 0, "blob"); - gitUrl = temp.join("/"); - } - else if (plugin.url.indexOf("https://gist.githubusercontent.com/") == 0) { - gitUrl = plugin.url.replace("//gist.githubusercontent", "//gist.github").split("/raw/")[0]; - } - if (gitUrl) BDFDB.DiscordUtils.openLink(gitUrl, settings.useChromium); - } - }) - }) - }), - ], - buttons: [ - plugin.state != pluginStates.DOWNLOADABLE && BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repocontrolsbutton, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { - text: "Delete Pluginfile", - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { - name: BDFDB.LibraryComponents.SvgIcon.Names.NOVA_TRASH, - className: BDFDB.disCN._repoicon, - onClick: (e, instance) => { - _this.stopPlugin(plugin); - _this.deletePluginFile(plugin); - BDFDB.TimeUtils.timeout(_ => { - BDFDB.ReactUtils.forceUpdate(this); - }, 3000); - } - }) - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { - size: BDFDB.LibraryComponents.Button.Sizes.MIN, - color: BDFDB.LibraryComponents.Button.Colors[buttonConfig.colorClass], - style: {backgroundColor: BDFDB.DiscordConstants.Colors[buttonConfig.backgroundColor]}, - children: buttonConfig.text, - onClick: (e, instance) => { - _this.downloadPlugin(plugin); - BDFDB.TimeUtils.timeout(_ => { - BDFDB.ReactUtils.forceUpdate(this); - if (this.props.rnmStart) _this.startPlugin(plugin); - }, 3000); - } - }) - ] - }); - } - render() { - let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading); - if (!this.props.tab) this.props.tab = "Plugins"; - this.props.entries = (!loading.is && !BDFDB.ObjectUtils.isEmpty(loadedPlugins) ? this.filterPlugins() : []).map(plugin => this.renderCard(plugin)).filter(n => n); - - BDFDB.TimeUtils.timeout(_ => { - if (!loading.is && header && this.props.entries.length != header.props.amount) { - header.props.amount = this.props.entries.length; - BDFDB.ReactUtils.forceUpdate(header); - } - }); - - return [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { - tab: "Plugins", - open: this.props.tab == "Plugins", - render: false, - children: loading.is ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, - justify: BDFDB.LibraryComponents.Flex.Justify.CENTER, - style: {marginTop: "50%"}, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, { - type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, { - className: BDFDB.disCN.margintop20, - style: {textAlign: "center"}, - children: "Plugins are still being fetched. Please wait a moment." - }) - ] - }) : BDFDB.ReactUtils.forceStyle(BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repolist, - style: { - display: "flex", - flexDirection: "column", - margin: "unset", - width: "unset" - }, - children: this.props.entries - }), ["display", "flex-direction", "margin", "width"]) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { - tab: BDFDB.LanguageUtils.LanguageStrings.SETTINGS, - open: this.props.tab == BDFDB.LanguageUtils.LanguageStrings.SETTINGS, - render: false, - children: [ - !automaticLoading && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCN.marginbottom20, - children: BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCNS.titledefault + BDFDB.disCN.cursordefault, - children: "To experience PluginRepo in the best way. I would recommend you to enable BD intern reload function, that way all downloaded files are loaded into Discord without the need to reload." - }) - }), - Object.keys(modalSettings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { - className: BDFDB.disCN.marginbottom20, - type: "Switch", - plugin: _this, - keys: ["modalSettings", key], - label: _this.defaults.modalSettings[key].description, - note: key == "rnmStart" && !automaticLoading && "Automatic Loading has to be enabled", - disabled: key == "rnmStart" && !automaticLoading, - value: this.props[key], - onChange: (value, instance) => { - this.props[key] = value; - BDFDB.ReactUtils.forceUpdate(this); - } - })) - ].flat(10).filter(n => n) - }) - ]; - } - }; - - const RepoListHeaderComponent = class PluginListHeader extends BdApi.React.Component { - componentDidMount() { - header = this; - } - render() { - if (!this.props.tab) this.props.tab = "Plugins"; - return BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repolistheader, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCN.marginbottom4, - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormTitle, { - tag: BDFDB.LibraryComponents.FormComponents.FormTitle.Tags.H2, - className: BDFDB.disCN.marginreset, - children: `Plugin Repo — ${loading.is ? 0 : this.props.amount || 0}/${loading.is ? 0 : Object.keys(loadedPlugins).length}` - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SearchBar, { - autoFocus: true, - query: this.props.searchString, - onChange: (value, instance) => { - BDFDB.TimeUtils.clear(searchTimeout); - searchTimeout = BDFDB.TimeUtils.timeout(_ => { - this.props.searchString = list.props.searchString = value.replace(/[<|>]/g, ""); - BDFDB.ReactUtils.forceUpdate(this, list); - }, 1000); - }, - onClear: instance => { - this.props.searchString = list.props.searchString = ""; - BDFDB.ReactUtils.forceUpdate(this, list); - } - }) - }) - ] - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCNS.tabbarcontainer + BDFDB.disCN.tabbarcontainerbottom, - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TabBar, { - className: BDFDB.disCN.tabbar, - itemClassName: BDFDB.disCN.tabbaritem, - type: BDFDB.LibraryComponents.TabBar.Types.TOP, - selectedItem: this.props.tab, - items: [{value:"Plugins"}, {value:BDFDB.LanguageUtils.LanguageStrings.SETTINGS}], - onItemSelect: (value, instance) => { - this.props.tab = list.props.tab = value; - BDFDB.ReactUtils.forceUpdate(list); - } - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { - label: BDFDB.LanguageUtils.LibraryStrings.sort_by + ":", - value: { - label: sortKeys[this.props.sortKey], - value: this.props.sortKey - }, - options: Object.keys(sortKeys).filter(n => n != "NEW" || Object.keys(loadedPlugins).some(p => !cachedPlugins.includes(p))).map(key => ({ - label: sortKeys[key], - value: key - })), - onChange: (key, instance) => { - this.props.sortKey = list.props.sortKey = key; - BDFDB.ReactUtils.forceUpdate(this, list); - } - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { - label: BDFDB.LanguageUtils.LibraryStrings.order + ":", - value: { - label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[this.props.orderKey]], - value: this.props.orderKey - }, - options: Object.keys(orderKeys).map(key => ({ - label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[key]], - value: key - })), - onChange: (key, instance) => { - this.props.orderKey = list.props.orderKey = key; - BDFDB.ReactUtils.forceUpdate(this, list); - } - }) - }) - ] - }) - ] - }); - } - }; - - return class PluginRepo { - getName () {return "PluginRepo";} - - getVersion () {return "2.0.4";} - - getAuthor () {return "DevilBro";} - - getDescription () {return "Allows you to look at all plugins from the plugin repo and download them on the fly. Repo button is in the plugins settings.";} - - constructor () { - this.changelog = { - "improved":[["Inbuilt Repo","The plugin repo no longer opens a modal to display the repo, instead the list is rendered in the settings window"]] - }; - - this.patchedModules = { - before: { - SettingsView: "render" - }, - after: { - StandardSidebarView: "render" - } - }; - } - - initConstructor () { - _this = this; - - loading = {is:false, timeout:null, amount:0}; - - cachedPlugins = []; - grabbedPlugins = []; - foundPlugins = []; - loadedPlugins = {}; - - this.defaults = { - settings: { - useChromium: {value:false, description:"Use an inbuilt browser window instead of opening your default browser"}, - notifyOutdated: {value:true, description:"Notifies you when one of your Plugins is outdated"}, - notifyNewEntries: {value:true, description:"Notifies you when there are new entries in the Repo"} - }, - modalSettings: { - updated: {value:true, modify:true, description:"Show updated Plugins",}, - outdated: {value:true, modify:true, description:"Show outdated Plugins"}, - downloadable: {value:true, modify:true, description:"Show downloadable Plugins"}, - rnmStart: {value:true, modify:false, description:"Start Plugin after Download"} - } - }; - } - - getSettingsPanel (collapseStates = {}) { - if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded || !this.started) return; - let customUrl = ""; - let settingsPanel, settingsItems = []; - - settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { - title: "Settings", - collapseStates: collapseStates, - children: Object.keys(settings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { - className: BDFDB.disCN.marginbottom8, - type: "Switch", - plugin: this, - keys: ["settings", key], - label: this.defaults.settings[key].description, - value: settings[key] - })) - })); - settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { - title: "Custom Plugins", - collapseStates: collapseStates, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormItem, { - title: "Add Plugin:", - tag: BDFDB.LibraryComponents.FormComponents.FormTitleTags.H3, - className: BDFDB.disCNS.margintop4 + BDFDB.disCN.marginbottom8, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextInput, { - placeholder: customUrl, - placeholder: "Insert Raw Github Link of Plugin (https://raw.githubusercontent.com/...)", - onChange: value => {customUrl = value.trim();} - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { - onClick: _ => { - if (customUrl) { - customList.push(customUrl); - BDFDB.DataUtils.save(BDFDB.ArrayUtils.removeCopies(customList), this, "custom"); - BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); - } - }, - children: BDFDB.LanguageUtils.LanguageStrings.ADD - }) - ] - }) - }), - customList.length ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsPanelInner, { - title: "Custom Plugin List:", - className: BDFDB.disCNS.margintop8 + BDFDB.disCN.marginbottom20, - first: true, - last: true, - children: customList.map(url => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Card, { - children: url, - onRemove: _ => { - BDFDB.ArrayUtils.remove(customList, url, true); - BDFDB.DataUtils.save(customList, this, "custom"); - BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); - } - })) - }) : null, - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - type: "Button", - color: BDFDB.LibraryComponents.Button.Colors.RED, - label: "Remove all custom added Plugins", - onClick: _ => { - BDFDB.ModalUtils.confirm(this, "Are you sure you want to remove all added Plugins from your own list", _ => { - BDFDB.DataUtils.save([], this, "custom"); - BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); - }); - }, - children: BDFDB.LanguageUtils.LanguageStrings.REMOVE - }) - ].flat(10).filter(n => n) - })); - settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { - title: "Refetch All", - collapseStates: collapseStates, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - type: "Button", - label: "Force all Plugins to be fetched again", - onClick: _ => { - loading = {is:false, timeout:null, amount:0}; - this.loadPlugins(); - }, - children: BDFDB.LanguageUtils.LanguageStrings.ERRORS_RELOAD - }) - })); - - return settingsPanel = BDFDB.PluginUtils.createSettingsPanel(this, settingsItems); - } - - // Legacy - load () {} - - start () { - if (!window.BDFDB) window.BDFDB = {myPlugins:{}}; - if (window.BDFDB && window.BDFDB.myPlugins && typeof window.BDFDB.myPlugins == "object") window.BDFDB.myPlugins[this.getName()] = this; - let libraryScript = document.querySelector("head script#BDFDBLibraryScript"); - if (!libraryScript || (performance.now() - libraryScript.getAttribute("date")) > 600000) { - if (libraryScript) libraryScript.remove(); - libraryScript = document.createElement("script"); - libraryScript.setAttribute("id", "BDFDBLibraryScript"); - libraryScript.setAttribute("type", "text/javascript"); - libraryScript.setAttribute("src", "https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js"); - libraryScript.setAttribute("date", performance.now()); - libraryScript.addEventListener("load", _ => {this.initialize();}); - document.head.appendChild(libraryScript); - } - else if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) this.initialize(); - this.startTimeout = setTimeout(_ => { - try {return this.initialize();} - catch (err) {console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not initiate plugin! " + err);} - }, 30000); - } - - initialize () { - if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { - if (this.started) return; - BDFDB.PluginUtils.init(this); - - let oldfavorites = BDFDB.DataUtils.load(this, "favorites"); // REMOVE 26.07.2020 - if (BDFDB.ObjectUtils.is(oldfavorites) && Object.keys(oldfavorites).length) { - let newfavorites = []; - for (let url in oldfavorites) if (oldfavorites[url]) newfavorites.push(url); - BDFDB.DataUtils.save(newfavorites, this, "favorites"); - } - - this.forceUpdateAll(); - - this.loadPlugins(); - - updateInterval = BDFDB.TimeUtils.interval(_ => {this.checkForNewPlugins();},1000*60*30); - } - else console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not load BD functions!"); - } - - - stop () { - if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { - this.stopping = true; - - BDFDB.TimeUtils.clear(updateInterval); - BDFDB.TimeUtils.clear(loading.timeout); - - this.forceUpdateAll(); - - BDFDB.DOMUtils.remove(".bd-pluginrepobutton", ".pluginrepo-notice", ".pluginrepo-loadingicon"); - - BDFDB.PluginUtils.clear(this); - } - } - - - // Begin of own functions - - forceUpdateAll () { - settings = BDFDB.DataUtils.get(this, "settings"); - modalSettings = BDFDB.DataUtils.get(this, "modalSettings"); - favorites = BDFDB.DataUtils.load(this, "favorites"); - favorites = BDFDB.ArrayUtils.is(favorites) ? favorites : []; - customList = BDFDB.DataUtils.load(this, "custom"); - customList = BDFDB.ArrayUtils.is(customList) ? customList : []; - - BDFDB.ModuleUtils.forceAllUpdates(this); - } - - onSettingsClosed () { - if (this.SettingsUpdated) { - delete this.SettingsUpdated; - this.forceUpdateAll(); - } - } - - onUserSettingsCogContextMenu (e) { - BDFDB.TimeUtils.timeout(_ => { - let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", "BandagedBD"]]}); - if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children.push(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { - label: "Plugin Repo", - id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"), - action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); - BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo"); - } - })); - }); - } - - processSettingsView (e) { - if (BDFDB.ArrayUtils.is(e.instance.props.sections) && e.instance.props.sections[0] && e.instance.props.sections[0].label == BDFDB.LanguageUtils.LanguageStrings.USER_SETTINGS) { - e.instance.props.sections = e.instance.props.sections.filter(n => n.section != "pluginrepo"); - let oldSettings = !e.instance.props.sections.find(n => n.section == "plugins"); - let search = oldSettings ? n => n.section == BDFDB.DiscordConstants.UserSettingsSections.DEVELOPER_OPTIONS : n => n.section == BDFDB.DiscordConstants.UserSettingsSections.CHANGE_LOG || n.section == "changelog" - let index = e.instance.props.sections.indexOf(e.instance.props.sections.find(search)); - if (index > -1) { - e.instance.props.sections.splice(oldSettings ? index + 1 : index - 1, 0, { - label: "Plugin Repo", - section: "pluginrepo", - element: _ => { - let options = Object.assign({}, modalSettings); - options.updated = options.updated && !showOnlyOutdated; - options.outdated = options.outdated || showOnlyOutdated; - options.downloadable = options.downloadable && !showOnlyOutdated; - options.searchString = ""; - options.sortKey = forcedSort || Object.keys(sortKeys)[0]; - options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; - - return BDFDB.ReactUtils.createElement(RepoListComponent, options, true); - } - }); - if (oldSettings) e.instance.props.sections.splice(index + 1, 0, {section: "DIVIDER"}); - } - } - } - - processStandardSidebarView (e) { - if (BDFDB.ReactUtils.getValue(e, "instance.props.content.props.section") == "pluginrepo") { - let content = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregion]]}); - if (content) content.props.className = BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repolistwrapper, content.props.className); - let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregionscroller]]}); - if (index > -1) { - let options = {}; - options.searchString = ""; - options.sortKey = forcedSort || Object.keys(sortKeys)[0]; - options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; - children[index] = [ - BDFDB.ReactUtils.createElement(RepoListHeaderComponent, options, true), - children[index] - ]; - } - } - } - - loadPlugins () { - BDFDB.DOMUtils.remove(".pluginrepo-loadingicon"); - let settings = BDFDB.DataUtils.load(this, "settings"); - let getPluginInfo, extractConfigInfo, createSandbox, runInSandbox; - let sandbox, sandboxRunning = false, sandboxQueue = [], outdated = 0, newentries = 0, i = 0; - let tags = ["getName", "getVersion", "getAuthor", "getDescription"]; - let seps = ["\"", "\'", "\`"]; - let newEntriesData = BDFDB.DataUtils.load(this, "newentriesdata"); - cachedPlugins = (newEntriesData.urlbase64 ? atob(newEntriesData.urlbase64).split("\n") : []).concat(customList); - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/PluginRepo/res/PluginList.txt", (error, response, result) => { - if (!error && result) { - result = result.replace(/[\r\t]/g, ""); - BDFDB.DataUtils.save(btoa(result), this, "newentriesdata", "urlbase64"); - - loadedPlugins = {}; - grabbedPlugins = result.split("\n").filter(n => n); - foundPlugins = grabbedPlugins.concat(customList); - - loading = {is:true, timeout:BDFDB.TimeUtils.timeout(_ => { - BDFDB.TimeUtils.clear(loading.timeout); - if (this.started) { - if (loading.is && loading.amount < 4) BDFDB.TimeUtils.timeout(_ => {this.loadPlugins();},10000); - loading = {is: false, timeout:null, amount:loading.amount}; - } - },1200000), amount:loading.amount+1}; - - let loadingIcon = BDFDB.DOMUtils.create(pluginRepoIcon); - BDFDB.DOMUtils.addClass(loadingIcon, "pluginrepo-loadingicon"); - loadingIcon.addEventListener("mouseenter", _ => { - BDFDB.TooltipUtils.create(loadingIcon, this.getLoadingTooltipText(), { - type: "left", - delay: 500, - style: "max-width: unset;", - selector: "pluginrepo-loading-tooltip" - }); - }); - BDFDB.PluginUtils.addLoadingIcon(loadingIcon); - - createSandbox().then(_ => { - getPluginInfo(_ => { - if (!this.started) { - BDFDB.TimeUtils.clear(loading.timeout); - BDFDB.WindowUtils.close(sandbox); - return; - } - let finishCounter = 0, finishInterval = BDFDB.TimeUtils.interval(_ => { - if ((sandboxQueue.length == 0 && !sandboxRunning) || finishCounter > 300 || !loading.is) { - BDFDB.TimeUtils.clear(loading.timeout); - BDFDB.TimeUtils.clear(finishInterval); - BDFDB.WindowUtils.close(sandbox); - BDFDB.DOMUtils.remove(loadingIcon, ".pluginrepo-loadingicon"); - loading = {is:false, timeout:null, amount:loading.amount}; - - BDFDB.LogUtils.log("Finished fetching Plugins.", this.name); - if (list) BDFDB.ReactUtils.forceUpdate(list); - - if ((settings.notifyOutdated || settings.notifyOutdated == undefined) && outdated > 0) { - let oldbarbutton = document.querySelector(".pluginrepo-outdate-notice " + BDFDB.dotCN.noticedismiss); - if (oldbarbutton) oldbarbutton.click(); - let bar = BDFDB.NotificationUtils.notice(`${outdated} of your Plugins ${outdated == 1 ? "is" : "are"} outdated. Check:`, { - type: "danger", - btn: "PluginRepo", - selector: "pluginrepo-notice pluginrepo-outdate-notice", - customicon: pluginRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") - }); - bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { - showOnlyOutdated = true; - BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo"); - bar.querySelector(BDFDB.dotCN.noticedismiss).click(); - }); - } - - if ((settings.notifyNewEntries || settings.notifyNewEntries == undefined) && newentries > 0) { - let oldbarbutton = document.querySelector(".pluginrepo-newentries-notice " + BDFDB.dotCN.noticedismiss); - if (oldbarbutton) oldbarbutton.click(); - let single = newentries == 1; - let bar = BDFDB.NotificationUtils.notice(`There ${single ? "is" : "are"} ${newentries} new Plugin${single ? "" : "s"} in the Repo. Check:`, { - type: "success", - btn: "PluginRepo", - selector: "pluginrepo-notice pluginrepo-newentries-notice", - customicon: pluginRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") - }); - bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { - forcedSort = "NEW"; - forcedOrder = "ASC"; - BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo"); - bar.querySelector(BDFDB.dotCN.noticedismiss).click(); - }); - } - - if (BDFDB.UserUtils.me.id == "278543574059057154") { - let wrongUrls = []; - for (let url of foundPlugins) if (url && !loadedPlugins[url] && !wrongUrls.includes(url)) wrongUrls.push(url); - if (wrongUrls.length) { - let bar = BDFDB.NotificationUtils.notice(`PluginRepo: ${wrongUrls.length} Plugin${wrongUrls.length > 1 ? "s" : ""} could not be loaded.`, { - type: "danger", - btn: "List", - selector: "pluginrepo-notice pluginrepo-fail-notice", - customicon: pluginRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") - }); - bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", e => { - let toast = BDFDB.NotificationUtils.toast(wrongUrls.join("\n"), {type: "error"}); - toast.style.setProperty("overflow", "hidden"); - for (let url of wrongUrls) console.log(url); - }); - } - } - } - else finishCounter++; - },1000); - }); - }); - } - }); - - getPluginInfo = callback => { - if (i >= foundPlugins.length || !this.started || !loading.is) { - callback(); - return; - } - let url = foundPlugins[i]; - BDFDB.LibraryRequires.request(url, (error, response, body) => { - if (!response) { - if (url && BDFDB.ArrayUtils.getAllIndexes(foundPlugins, url).length < 2) foundPlugins.push(url); - } - else if (body && body.indexOf("404: Not Found") != 0 && response.statusCode == 200) { - let plugin = {}; - let bodyCopy = body; - if (body.length / body.split("\n").length > 1000) { - /* code is minified -> add newlines */ - bodyCopy = body.replace(/}/g, "}\n"); - } - let bodyWithoutSpecial = bodyCopy.replace(/\n|\r|\t/g, "").replace(/\n|\r|\t/g, "").replace(/\s{2,}/g, ""); - let configReg = /(\.exports|config)\s*=\s*\{(.*?)\s*["'`]*info["'`]*\s*:\s*/i.exec(bodyWithoutSpecial); - if (url != "https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js" && configReg) { - try { - extractConfigInfo(plugin, JSON.parse('{"info":' + bodyWithoutSpecial.substring(configReg.index).split(configReg[0])[1].split("};")[0].split("}},")[0] + '}')); - } - catch (err) { - let i = 0, j = 0, configString = ""; - try { - for (let c of (bodyWithoutSpecial.substring(configReg.index).split(configReg[0])[1].split("};")[0].split("}},")[0]).replace(/,/g, ',"').replace(/:/g, '":').replace(/{/g, '{"').replace(/""/g, '"').replace(/" /g, ' ').replace(/,"{/g, ',{').replace(/,"\[/g, ',[').replace(/":\/\//g, ':\/\/')) { - configString += c; - if (c == "{") i++; - else if (c == "}") j++; - if (i > 0 && i == j) break; - } - extractConfigInfo(plugin, JSON.parse('{"info":' + configString + '}')); - } - catch (err2) { - try { - extractConfigInfo(plugin, JSON.parse(('{"info":' + configString + '}').replace(/'/g, "\""))); - } - catch (err3) {} - } - } - } - else { - for (let tag of tags) { - let result = new RegExp(tag + "[\\s|\\t|\\n|\\r|=|>|_|:|function|\(|\)|\{|return]*([\"|\'|\`]).*\\1","gi").exec(bodyCopy); - if (!result) result = new RegExp("get " + tag.replace("get", "").toLowerCase() + "[\\s|\\t|\\n|\\r|=|>|_|:|function|\(|\)|\{|return]*([\"|\'|\`]).*\\1","gi").exec(bodyCopy); - if (result) { - let separator = result[1]; - result = result[0].replace(new RegExp("\\\\" + separator, "g"), separator).split(separator); - if (result.length > 2) { - result = result.slice(1, -1).join(separator).replace(/\\n/g, "
").replace(/\\/g, ""); - result = tag != "getVersion" ? result.charAt(0).toUpperCase() + result.slice(1) : result; - plugin[tag] = result ? result.trim() : result; - } - } - } - } - - if (!tags.some(tag => !plugin[tag] || plugin[tag].length > 10000)) { - plugin.url = url; - loadedPlugins[url] = plugin; - if (this.isPluginOutdated(plugin, url)) outdated++; - if (!cachedPlugins.includes(url)) newentries++; - } - else if (sandbox) { - sandboxQueue.push({body, url}); - runInSandbox(); - } - } - i++; - - let loadingTooltip = document.querySelector(".pluginrepo-loading-tooltip"); - if (loadingTooltip) { - BDFDB.DOMUtils.setText(loadingTooltip.querySelector(BDFDB.dotCN.tooltipcontent), this.getLoadingTooltipText()); - loadingTooltip.update(); - } - - getPluginInfo(callback); - }); - }; - - extractConfigInfo = (plugin, config) => { - plugin.getName = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.name); - plugin.getDescription = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.description); - plugin.getVersion = config.info.version; - plugin.getAuthor = ""; - if (typeof config.info.author == "string") plugin.getAuthor = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.author); - else if (typeof config.info.authors == "string") plugin.getAuthor = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.authors); - else if (Array.isArray(config.info.authors)) for (let author of config.info.authors) { - plugin.getAuthor += (plugin.getAuthor + (plugin.getAuthor ? ", " : "") + BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(typeof author == "string" ? author : author.name || "")); - } - }; - - createSandbox = _ => { - return new Promise(callback => { - let loadTimeout = BDFDB.TimeUtils.timeout(_ => { - callback(); - }, 600000); - sandbox = BDFDB.WindowUtils.open(this, "https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/DiscordPreview.html", { - onLoad: _ => { - BDFDB.TimeUtils.clear(loadTimeout); - sandbox.executeJavaScriptSafe(`window.onmessage({ - origin: "PluginRepo", - reason: "OnLoad", - classes: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClasses))}, - classModules: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClassModules))} - })`); - callback(); - } - }); - }); - } - - runInSandbox = _ => { - if (sandboxRunning) return; - let sandboxData = sandboxQueue.shift(); - if (!sandboxData) return; - let {body, url} = sandboxData; - let name = (body.replace(/\s*:\s*/g, ":").split('"name":"')[1] || "").split('"')[0]; - name = name ? name : (body.replace(/ {2,}/g, " ").replace(/\r/g, "").split("@name ")[1] || "").split("\n")[0]; - if (name) { - let messageId = (this.name + name + BDFDB.NumberUtils.generateId()).replace(/\s/g, "").trim(); - sandboxRunning = true; - BDFDB.WindowUtils.addListener(this, messageId, (event, messageData) => { - BDFDB.WindowUtils.removeListener(this, messageId); - if (BDFDB.ObjectUtils.is(messageData.plugin)) { - messageData.plugin.url = url; - loadedPlugins[url] = messageData.plugin; - if (this.isPluginOutdated(messageData.plugin, url)) outdated++; - if (!cachedPlugins.includes(url)) newentries++; - } - sandboxRunning = false; - runInSandbox(); - }); - sandbox.executeJavaScriptSafe(` - let result = null; - try { - ${body}; - let p = new ${name}(); - result = { - "getName": getString(p.getName()), - "getAuthor": getString(p.getAuthor()), - "getVersion": getString(p.getVersion()), - "getDescription": getString(p.getDescription()) - }; - } - catch (err) {} - window.respondToParent({ - hostId: ${BDFDB.LibraryRequires.electron.remote.getCurrentWindow().webContents.id}, - hostName: "${messageId}", - plugin: result - }); - `); - } - } - } - - getLoadingTooltipText () { - return `Loading PluginRepo - [${Object.keys(loadedPlugins).length}/${Object.keys(grabbedPlugins).length}]`; - } - - isPluginOutdated (plugin, url) { - let instPlugin = BDFDB.BDUtils.getPlugin(plugin.getName); - return instPlugin && typeof instPlugin.getAuthor == "function" && this.getString(instPlugin.getAuthor()).toUpperCase() == plugin.getAuthor.toUpperCase() && this.getString(instPlugin.getVersion()) != plugin.getVersion && !this.pluginHasUpdateCheck(url); - } - - pluginHasUpdateCheck (url) { - if (!BDFDB.ObjectUtils.is(window.PluginUpdates) || !BDFDB.ObjectUtils.is(window.PluginUpdates.plugins)) return false; - if (window.PluginUpdates.plugins[url]) return true; - else { - let temp = "https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js".replace("//raw.githubusercontent.com", "//").split("/"); - let gitname = temp.splice(3, 1); - temp.splice(4, 1); - temp.splice(2, 1, gitname + ".github.io"); - return !!window.PluginUpdates.plugins[temp.join("/")]; - } - } - - getString (obj) { - let string = ""; - if (typeof obj == "string") string = obj; - else if (obj && obj.props) { - if (typeof obj.props.children == "string") string = obj.props.children; - else if (Array.isArray(obj.props.children)) for (let c of obj.props.children) string += typeof c == "string" ? c : this.getString(c); - } - return string; - } - - checkForNewPlugins () { - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/PluginRepo/res/PluginList.txt", (error, response, result) => { - if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n").filter(n => n), grabbedPlugins)) { - loading = {is:false, timeout:null, amount:0}; - this.loadPlugins(); - } - }); - } - - downloadPlugin (data) { - BDFDB.LibraryRequires.request(data.url, (error, response, body) => { - if (error) BDFDB.NotificationUtils.toast(`Unable to download Plugin "${plugin.getName}".`, {type:"danger"}); - else this.createPluginFile(data.url.split("/").pop(), body); - }); - } - - createPluginFile (filename, content) { - BDFDB.LibraryRequires.fs.writeFile(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getPluginsFolder(), filename), content, (error) => { - if (error) BDFDB.NotificationUtils.toast(`Unable to save Plugin "${filename}".`, {type:"danger"}); - else BDFDB.NotificationUtils.toast(`Successfully saved Plugin "${filename}".`, {type:"success"}); - }); - } - - startPlugin (data) { - if (data.name && BDFDB.BDUtils.isPluginEnabled(data.name) == false) { - BDFDB.BDUtils.enablePlugin(data.name, false); - BDFDB.LogUtils.log(`Started Plugin ${data.name}.`, this.name); - } - } - - deletePluginFile (data) { - let filename = data.url.split("/").pop(); - BDFDB.LibraryRequires.fs.unlink(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getPluginsFolder(), filename), (error) => { - if (error) BDFDB.NotificationUtils.toast(`Unable to delete Plugin "${filename}".`, {type:"danger"}); - else BDFDB.NotificationUtils.toast(`Successfully deleted Plugin "${filename}".`); - }); - } - - stopPlugin (data) { - if (data.name && BDFDB.BDUtils.isPluginEnabled(data.name) == true) { - BDFDB.BDUtils.disablePlugin(data.name, false); - BDFDB.LogUtils.log(`Stopped Plugin ${data.name}.`, this.name); - } - } - } -})(); - -module.exports = PluginRepo; +//META{"name":"PluginRepo","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/PluginRepo","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js"}*// + +var PluginRepo = (_ => { + var _this; + var loading, cachedPlugins, grabbedPlugins, foundPlugins, loadedPlugins, updateInterval; + var list, header, searchTimeout, forcedSort, forcedOrder, showOnlyOutdated; + var settings = {}, modalSettings = {}, favorites = [], customList = []; + + const pluginStates = { + UPDATED: 0, + OUTDATED: 1, + DOWNLOADABLE: 2 + }; + const buttonData = { + UPDATED: { + colorClass: "GREEN", + backgroundColor: "STATUS_GREEN", + text: "Updated" + }, + OUTDATED: { + colorClass: "RED", + backgroundColor: "STATUS_RED", + text: "Outdated" + }, + DOWNLOADABLE: { + colorClass: "BRAND", + backgroundColor: "BRAND", + text: "Download" + } + }; + const favStates = { + FAVORIZED: 0, + NOT_FAVORIZED: 1 + }; + const newStates = { + NEW: 0, + NOT_NEW: 1 + }; + const sortKeys = { + NAME: "Name", + AUTHOR: "Author", + VERSION: "Version", + DESCRIPTION: "Description", + STATE: "Update State", + FAV: "Favorites", + NEW: "New Plugins" + }; + const orderKeys = { + ASC: "ascending", + DESC: "descending" + }; + + const pluginRepoIcon = ``; + + const RepoListComponent = class PluginList extends BdApi.React.Component { + componentDidMount() { + list = this; + BDFDB.TimeUtils.timeout(_ => { + forcedSort = null; + forcedOrder = null; + showOnlyOutdated = false; + }, 5000); + } + filterPlugins() { + let plugins = Object.keys(loadedPlugins).map(url => { + let plugin = loadedPlugins[url]; + let instPlugin = BDFDB.BDUtils.getPlugin(plugin.getName); + if (instPlugin && typeof instPlugin.getAuthor == "function" && _this.getString(instPlugin.getAuthor()).toUpperCase() == plugin.getAuthor.toUpperCase()) plugin.getState = _this.getString(instPlugin.getVersion()) != plugin.getVersion ? pluginStates.OUTDATED : pluginStates.UPDATED; + else plugin.getState = pluginStates.DOWNLOADABLE; + return { + url: plugin.url, + search: (plugin.getName + " " + plugin.getVersion + " " + plugin.getAuthor + " " + plugin.getDescription).toUpperCase(), + name: plugin.getName, + version: plugin.getVersion, + author: plugin.getAuthor, + description: plugin.getDescription || "No Description found.", + fav: favorites.includes(url) ? favStates.FAVORIZED : favStates.NOT_FAVORIZED, + new: !cachedPlugins.includes(url) ? newStates.NEW : newStates.NOT_NEW, + state: plugin.getState + }; + }); + if (!this.props.updated) plugins = plugins.filter(plugin => plugin.state != pluginStates.UPDATED); + if (!this.props.outdated) plugins = plugins.filter(plugin => plugin.state != pluginStates.OUTDATED); + if (!this.props.downloadable) plugins = plugins.filter(plugin => plugin.state != pluginStates.DOWNLOADABLE); + if (this.props.searchString) { + let searchString = this.props.searchString.toUpperCase(); + plugins = plugins.filter(plugin => plugin.search.indexOf(searchString) > -1).map(plugin => Object.assign({}, plugin, { + name: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.name, searchString))) || plugin.name, + version: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.version, searchString))) || plugin.version, + author: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.author, searchString))) || plugin.author, + description: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(plugin.description, searchString))) || plugin.description + })); + } + + BDFDB.ArrayUtils.keySort(plugins, (!this.props.sortKey || this.props.sortKey == "NEW" && !plugins.some(plugin => plugin.new == newStates.NEW) ? Object.keys(sortKeys)[0] : this.props.sortKey).toLowerCase()); + if (this.props.orderKey == "DESC") plugins.reverse(); + return plugins; + } + renderCard(plugin) { + let buttonConfig = buttonData[(Object.entries(pluginStates).find(n => n[1] == plugin.state) || [])[0]]; + return buttonConfig && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.AddonCard, { + data: plugin, + controls: [ + plugin.new == newStates.NEW && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Badges.TextBadge, { + style: { + borderRadius: 3, + textTransform: "uppercase", + background: BDFDB.DiscordConstants.Colors.STATUS_YELLOW + }, + text: BDFDB.LanguageUtils.LanguageStrings.NEW + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FavButton, { + className: BDFDB.disCN._repocontrolsbutton, + isFavorite: plugin.fav == favStates.FAVORIZED, + onClick: value => { + plugin.fav = value ? favStates.FAVORIZED : favStates.NOT_FAVORIZED; + if (value) favorites.push(plugin.url); + else BDFDB.ArrayUtils.remove(favorites, plugin.url, true); + BDFDB.DataUtils.save(favorites, _this, "favorites"); + } + }), + BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repocontrolsbutton, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { + text: "Go to Source", + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { + name: BDFDB.LibraryComponents.SvgIcon.Names.GITHUB, + className: BDFDB.disCN._repoicon, + onClick: _ => { + let gitUrl = null; + if (plugin.url.indexOf("https://raw.githubusercontent.com") == 0) { + let temp = plugin.url.replace("//raw.githubusercontent", "//github").split("/"); + temp.splice(5, 0, "blob"); + gitUrl = temp.join("/"); + } + else if (plugin.url.indexOf("https://gist.githubusercontent.com/") == 0) { + gitUrl = plugin.url.replace("//gist.githubusercontent", "//gist.github").split("/raw/")[0]; + } + if (gitUrl) BDFDB.DiscordUtils.openLink(gitUrl, settings.useChromium); + } + }) + }) + }), + ], + buttons: [ + plugin.state != pluginStates.DOWNLOADABLE && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repocontrolsbutton, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { + text: "Delete Pluginfile", + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { + name: BDFDB.LibraryComponents.SvgIcon.Names.NOVA_TRASH, + className: BDFDB.disCN._repoicon, + onClick: (e, instance) => { + _this.stopPlugin(plugin); + _this.deletePluginFile(plugin); + BDFDB.TimeUtils.timeout(_ => { + BDFDB.ReactUtils.forceUpdate(this); + }, 3000); + } + }) + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { + size: BDFDB.LibraryComponents.Button.Sizes.MIN, + color: BDFDB.LibraryComponents.Button.Colors[buttonConfig.colorClass], + style: {backgroundColor: BDFDB.DiscordConstants.Colors[buttonConfig.backgroundColor]}, + children: buttonConfig.text, + onClick: (e, instance) => { + _this.downloadPlugin(plugin); + BDFDB.TimeUtils.timeout(_ => { + BDFDB.ReactUtils.forceUpdate(this); + if (this.props.rnmStart) _this.startPlugin(plugin); + }, 3000); + } + }) + ] + }); + } + render() { + let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading); + if (!this.props.tab) this.props.tab = "Plugins"; + this.props.entries = (!loading.is && !BDFDB.ObjectUtils.isEmpty(loadedPlugins) ? this.filterPlugins() : []).map(plugin => this.renderCard(plugin)).filter(n => n); + + BDFDB.TimeUtils.timeout(_ => { + if (!loading.is && header && this.props.entries.length != header.props.amount) { + header.props.amount = this.props.entries.length; + BDFDB.ReactUtils.forceUpdate(header); + } + }); + + return [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { + tab: "Plugins", + open: this.props.tab == "Plugins", + render: false, + children: loading.is ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, + justify: BDFDB.LibraryComponents.Flex.Justify.CENTER, + style: {marginTop: "50%"}, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, { + type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, { + className: BDFDB.disCN.margintop20, + style: {textAlign: "center"}, + children: "Plugins are still being fetched. Please wait a moment." + }) + ] + }) : BDFDB.ReactUtils.forceStyle(BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repolist, + style: { + display: "flex", + flexDirection: "column", + margin: "unset", + width: "unset" + }, + children: this.props.entries + }), ["display", "flex-direction", "margin", "width"]) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { + tab: BDFDB.LanguageUtils.LanguageStrings.SETTINGS, + open: this.props.tab == BDFDB.LanguageUtils.LanguageStrings.SETTINGS, + render: false, + children: [ + !automaticLoading && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + className: BDFDB.disCN.marginbottom20, + children: BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCNS.titledefault + BDFDB.disCN.cursordefault, + children: "To experience PluginRepo in the best way. I would recommend you to enable BD intern reload function, that way all downloaded files are loaded into Discord without the need to reload." + }) + }), + Object.keys(modalSettings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + className: BDFDB.disCN.marginbottom20, + type: "Switch", + plugin: _this, + keys: ["modalSettings", key], + label: _this.defaults.modalSettings[key].description, + note: key == "rnmStart" && !automaticLoading && "Automatic Loading has to be enabled", + disabled: key == "rnmStart" && !automaticLoading, + value: this.props[key], + onChange: (value, instance) => { + this.props[key] = value; + BDFDB.ReactUtils.forceUpdate(this); + } + })) + ].flat(10).filter(n => n) + }) + ]; + } + }; + + const RepoListHeaderComponent = class PluginListHeader extends BdApi.React.Component { + componentDidMount() { + header = this; + } + render() { + if (!this.props.tab) this.props.tab = "Plugins"; + return BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repolistheader, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + className: BDFDB.disCN.marginbottom4, + align: BDFDB.LibraryComponents.Flex.Align.CENTER, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormTitle, { + tag: BDFDB.LibraryComponents.FormComponents.FormTitle.Tags.H2, + className: BDFDB.disCN.marginreset, + children: `Plugin Repo — ${loading.is ? 0 : this.props.amount || 0}/${loading.is ? 0 : Object.keys(loadedPlugins).length}` + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SearchBar, { + autoFocus: true, + query: this.props.searchString, + onChange: (value, instance) => { + BDFDB.TimeUtils.clear(searchTimeout); + searchTimeout = BDFDB.TimeUtils.timeout(_ => { + this.props.searchString = list.props.searchString = value.replace(/[<|>]/g, ""); + BDFDB.ReactUtils.forceUpdate(this, list); + }, 1000); + }, + onClear: instance => { + this.props.searchString = list.props.searchString = ""; + BDFDB.ReactUtils.forceUpdate(this, list); + } + }) + }) + ] + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + className: BDFDB.disCNS.tabbarcontainer + BDFDB.disCN.tabbarcontainerbottom, + align: BDFDB.LibraryComponents.Flex.Align.CENTER, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TabBar, { + className: BDFDB.disCN.tabbar, + itemClassName: BDFDB.disCN.tabbaritem, + type: BDFDB.LibraryComponents.TabBar.Types.TOP, + selectedItem: this.props.tab, + items: [{value:"Plugins"}, {value:BDFDB.LanguageUtils.LanguageStrings.SETTINGS}], + onItemSelect: (value, instance) => { + this.props.tab = list.props.tab = value; + BDFDB.ReactUtils.forceUpdate(list); + } + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { + label: BDFDB.LanguageUtils.LibraryStrings.sort_by + ":", + value: { + label: sortKeys[this.props.sortKey], + value: this.props.sortKey + }, + options: Object.keys(sortKeys).filter(n => n != "NEW" || Object.keys(loadedPlugins).some(p => !cachedPlugins.includes(p))).map(key => ({ + label: sortKeys[key], + value: key + })), + onChange: (key, instance) => { + this.props.sortKey = list.props.sortKey = key; + BDFDB.ReactUtils.forceUpdate(this, list); + } + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { + label: BDFDB.LanguageUtils.LibraryStrings.order + ":", + value: { + label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[this.props.orderKey]], + value: this.props.orderKey + }, + options: Object.keys(orderKeys).map(key => ({ + label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[key]], + value: key + })), + onChange: (key, instance) => { + this.props.orderKey = list.props.orderKey = key; + BDFDB.ReactUtils.forceUpdate(this, list); + } + }) + }) + ] + }) + ] + }); + } + }; + + return class PluginRepo { + getName () {return "PluginRepo";} + + getVersion () {return "2.0.4";} + + getAuthor () {return "DevilBro";} + + getDescription () {return "Allows you to look at all plugins from the plugin repo and download them on the fly. Repo button is in the plugins settings.";} + + constructor () { + this.changelog = { + "improved":[["Inbuilt Repo","The plugin repo no longer opens a modal to display the repo, instead the list is rendered in the settings window"]] + }; + + this.patchedModules = { + before: { + SettingsView: "render" + }, + after: { + StandardSidebarView: "render" + } + }; + } + + initConstructor () { + _this = this; + + loading = {is:false, timeout:null, amount:0}; + + cachedPlugins = []; + grabbedPlugins = []; + foundPlugins = []; + loadedPlugins = {}; + + this.defaults = { + settings: { + useChromium: {value:false, description:"Use an inbuilt browser window instead of opening your default browser"}, + notifyOutdated: {value:true, description:"Notifies you when one of your Plugins is outdated"}, + notifyNewEntries: {value:true, description:"Notifies you when there are new entries in the Repo"} + }, + modalSettings: { + updated: {value:true, modify:true, description:"Show updated Plugins",}, + outdated: {value:true, modify:true, description:"Show outdated Plugins"}, + downloadable: {value:true, modify:true, description:"Show downloadable Plugins"}, + rnmStart: {value:true, modify:false, description:"Start Plugin after Download"} + } + }; + } + + getSettingsPanel (collapseStates = {}) { + if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded || !this.started) return; + let customUrl = ""; + let settingsPanel, settingsItems = []; + + settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { + title: "Settings", + collapseStates: collapseStates, + children: Object.keys(settings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + className: BDFDB.disCN.marginbottom8, + type: "Switch", + plugin: this, + keys: ["settings", key], + label: this.defaults.settings[key].description, + value: settings[key] + })) + })); + settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { + title: "Custom Plugins", + collapseStates: collapseStates, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormItem, { + title: "Add Plugin:", + tag: BDFDB.LibraryComponents.FormComponents.FormTitleTags.H3, + className: BDFDB.disCNS.margintop4 + BDFDB.disCN.marginbottom8, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + align: BDFDB.LibraryComponents.Flex.Align.CENTER, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextInput, { + placeholder: customUrl, + placeholder: "Insert Raw Github Link of Plugin (https://raw.githubusercontent.com/...)", + onChange: value => {customUrl = value.trim();} + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { + onClick: _ => { + if (customUrl) { + customList.push(customUrl); + BDFDB.DataUtils.save(BDFDB.ArrayUtils.removeCopies(customList), this, "custom"); + BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); + } + }, + children: BDFDB.LanguageUtils.LanguageStrings.ADD + }) + ] + }) + }), + customList.length ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsPanelInner, { + title: "Custom Plugin List:", + className: BDFDB.disCNS.margintop8 + BDFDB.disCN.marginbottom20, + first: true, + last: true, + children: customList.map(url => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Card, { + children: url, + onRemove: _ => { + BDFDB.ArrayUtils.remove(customList, url, true); + BDFDB.DataUtils.save(customList, this, "custom"); + BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); + } + })) + }) : null, + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + type: "Button", + color: BDFDB.LibraryComponents.Button.Colors.RED, + label: "Remove all custom added Plugins", + onClick: _ => { + BDFDB.ModalUtils.confirm(this, "Are you sure you want to remove all added Plugins from your own list", _ => { + BDFDB.DataUtils.save([], this, "custom"); + BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); + }); + }, + children: BDFDB.LanguageUtils.LanguageStrings.REMOVE + }) + ].flat(10).filter(n => n) + })); + settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { + title: "Refetch All", + collapseStates: collapseStates, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + type: "Button", + label: "Force all Plugins to be fetched again", + onClick: _ => { + loading = {is:false, timeout:null, amount:0}; + this.loadPlugins(); + }, + children: BDFDB.LanguageUtils.LanguageStrings.ERRORS_RELOAD + }) + })); + + return settingsPanel = BDFDB.PluginUtils.createSettingsPanel(this, settingsItems); + } + + // Legacy + load () {} + + start () { + if (!window.BDFDB) window.BDFDB = {myPlugins:{}}; + if (window.BDFDB && window.BDFDB.myPlugins && typeof window.BDFDB.myPlugins == "object") window.BDFDB.myPlugins[this.getName()] = this; + let libraryScript = document.querySelector("head script#BDFDBLibraryScript"); + if (!libraryScript || (performance.now() - libraryScript.getAttribute("date")) > 600000) { + if (libraryScript) libraryScript.remove(); + libraryScript = document.createElement("script"); + libraryScript.setAttribute("id", "BDFDBLibraryScript"); + libraryScript.setAttribute("type", "text/javascript"); + libraryScript.setAttribute("src", "https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js"); + libraryScript.setAttribute("date", performance.now()); + libraryScript.addEventListener("load", _ => {this.initialize();}); + document.head.appendChild(libraryScript); + } + else if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) this.initialize(); + this.startTimeout = setTimeout(_ => { + try {return this.initialize();} + catch (err) {console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not initiate plugin! " + err);} + }, 30000); + } + + initialize () { + if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { + if (this.started) return; + BDFDB.PluginUtils.init(this); + + let oldfavorites = BDFDB.DataUtils.load(this, "favorites"); // REMOVE 26.07.2020 + if (BDFDB.ObjectUtils.is(oldfavorites) && Object.keys(oldfavorites).length) { + let newfavorites = []; + for (let url in oldfavorites) if (oldfavorites[url]) newfavorites.push(url); + BDFDB.DataUtils.save(newfavorites, this, "favorites"); + } + + this.forceUpdateAll(); + + this.loadPlugins(); + + updateInterval = BDFDB.TimeUtils.interval(_ => {this.checkForNewPlugins();},1000*60*30); + } + else console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not load BD functions!"); + } + + + stop () { + if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { + this.stopping = true; + + BDFDB.TimeUtils.clear(updateInterval); + BDFDB.TimeUtils.clear(loading.timeout); + + this.forceUpdateAll(); + + BDFDB.DOMUtils.remove(".bd-pluginrepobutton", ".pluginrepo-notice", ".pluginrepo-loadingicon"); + + BDFDB.PluginUtils.clear(this); + } + } + + + // Begin of own functions + + forceUpdateAll () { + settings = BDFDB.DataUtils.get(this, "settings"); + modalSettings = BDFDB.DataUtils.get(this, "modalSettings"); + favorites = BDFDB.DataUtils.load(this, "favorites"); + favorites = BDFDB.ArrayUtils.is(favorites) ? favorites : []; + customList = BDFDB.DataUtils.load(this, "custom"); + customList = BDFDB.ArrayUtils.is(customList) ? customList : []; + + BDFDB.ModuleUtils.forceAllUpdates(this); + } + + onSettingsClosed () { + if (this.SettingsUpdated) { + delete this.SettingsUpdated; + this.forceUpdateAll(); + } + } + + onUserSettingsCogContextMenu (e) { + BDFDB.TimeUtils.timeout(_ => { + let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", "BandagedBD"]]}); + if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children.push(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { + label: "Plugin Repo", + id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"), + action: _ => { + BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo"); + } + })); + }); + } + + processSettingsView (e) { + if (BDFDB.ArrayUtils.is(e.instance.props.sections) && e.instance.props.sections[0] && e.instance.props.sections[0].label == BDFDB.LanguageUtils.LanguageStrings.USER_SETTINGS) { + e.instance.props.sections = e.instance.props.sections.filter(n => n.section != "pluginrepo"); + let oldSettings = !e.instance.props.sections.find(n => n.section == "plugins"); + let search = oldSettings ? n => n.section == BDFDB.DiscordConstants.UserSettingsSections.DEVELOPER_OPTIONS : n => n.section == BDFDB.DiscordConstants.UserSettingsSections.CHANGE_LOG || n.section == "changelog" + let index = e.instance.props.sections.indexOf(e.instance.props.sections.find(search)); + if (index > -1) { + e.instance.props.sections.splice(oldSettings ? index + 1 : index - 1, 0, { + label: "Plugin Repo", + section: "pluginrepo", + element: _ => { + let options = Object.assign({}, modalSettings); + options.updated = options.updated && !showOnlyOutdated; + options.outdated = options.outdated || showOnlyOutdated; + options.downloadable = options.downloadable && !showOnlyOutdated; + options.searchString = ""; + options.sortKey = forcedSort || Object.keys(sortKeys)[0]; + options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; + + return BDFDB.ReactUtils.createElement(RepoListComponent, options, true); + } + }); + if (oldSettings) e.instance.props.sections.splice(index + 1, 0, {section: "DIVIDER"}); + } + } + } + + processStandardSidebarView (e) { + if (BDFDB.ReactUtils.getValue(e, "instance.props.content.props.section") == "pluginrepo") { + let content = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregion]]}); + if (content) content.props.className = BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repolistwrapper, content.props.className); + let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregionscroller]]}); + if (index > -1) { + let options = {}; + options.searchString = ""; + options.sortKey = forcedSort || Object.keys(sortKeys)[0]; + options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; + children[index] = [ + BDFDB.ReactUtils.createElement(RepoListHeaderComponent, options, true), + children[index] + ]; + } + } + } + + loadPlugins () { + BDFDB.DOMUtils.remove(".pluginrepo-loadingicon"); + let settings = BDFDB.DataUtils.load(this, "settings"); + let getPluginInfo, extractConfigInfo, createSandbox, runInSandbox; + let sandbox, sandboxRunning = false, sandboxQueue = [], outdated = 0, newentries = 0, i = 0; + let tags = ["getName", "getVersion", "getAuthor", "getDescription"]; + let seps = ["\"", "\'", "\`"]; + let newEntriesData = BDFDB.DataUtils.load(this, "newentriesdata"); + cachedPlugins = (newEntriesData.urlbase64 ? atob(newEntriesData.urlbase64).split("\n") : []).concat(customList); + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/PluginRepo/res/PluginList.txt", (error, response, result) => { + if (!error && result) { + result = result.replace(/[\r\t]/g, ""); + BDFDB.DataUtils.save(btoa(result), this, "newentriesdata", "urlbase64"); + + loadedPlugins = {}; + grabbedPlugins = result.split("\n").filter(n => n); + foundPlugins = grabbedPlugins.concat(customList); + + loading = {is:true, timeout:BDFDB.TimeUtils.timeout(_ => { + BDFDB.TimeUtils.clear(loading.timeout); + if (this.started) { + if (loading.is && loading.amount < 4) BDFDB.TimeUtils.timeout(_ => {this.loadPlugins();},10000); + loading = {is: false, timeout:null, amount:loading.amount}; + } + },1200000), amount:loading.amount+1}; + + let loadingIcon = BDFDB.DOMUtils.create(pluginRepoIcon); + BDFDB.DOMUtils.addClass(loadingIcon, "pluginrepo-loadingicon"); + loadingIcon.addEventListener("mouseenter", _ => { + BDFDB.TooltipUtils.create(loadingIcon, this.getLoadingTooltipText(), { + type: "left", + delay: 500, + style: "max-width: unset;", + selector: "pluginrepo-loading-tooltip" + }); + }); + BDFDB.PluginUtils.addLoadingIcon(loadingIcon); + + createSandbox().then(_ => { + getPluginInfo(_ => { + if (!this.started) { + BDFDB.TimeUtils.clear(loading.timeout); + BDFDB.WindowUtils.close(sandbox); + return; + } + let finishCounter = 0, finishInterval = BDFDB.TimeUtils.interval(_ => { + if ((sandboxQueue.length == 0 && !sandboxRunning) || finishCounter > 300 || !loading.is) { + BDFDB.TimeUtils.clear(loading.timeout); + BDFDB.TimeUtils.clear(finishInterval); + BDFDB.WindowUtils.close(sandbox); + BDFDB.DOMUtils.remove(loadingIcon, ".pluginrepo-loadingicon"); + loading = {is:false, timeout:null, amount:loading.amount}; + + BDFDB.LogUtils.log("Finished fetching Plugins.", this.name); + if (list) BDFDB.ReactUtils.forceUpdate(list); + + if ((settings.notifyOutdated || settings.notifyOutdated == undefined) && outdated > 0) { + let oldbarbutton = document.querySelector(".pluginrepo-outdate-notice " + BDFDB.dotCN.noticedismiss); + if (oldbarbutton) oldbarbutton.click(); + let bar = BDFDB.NotificationUtils.notice(`${outdated} of your Plugins ${outdated == 1 ? "is" : "are"} outdated. Check:`, { + type: "danger", + btn: "PluginRepo", + selector: "pluginrepo-notice pluginrepo-outdate-notice", + customicon: pluginRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") + }); + bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { + showOnlyOutdated = true; + BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo"); + bar.querySelector(BDFDB.dotCN.noticedismiss).click(); + }); + } + + if ((settings.notifyNewEntries || settings.notifyNewEntries == undefined) && newentries > 0) { + let oldbarbutton = document.querySelector(".pluginrepo-newentries-notice " + BDFDB.dotCN.noticedismiss); + if (oldbarbutton) oldbarbutton.click(); + let single = newentries == 1; + let bar = BDFDB.NotificationUtils.notice(`There ${single ? "is" : "are"} ${newentries} new Plugin${single ? "" : "s"} in the Repo. Check:`, { + type: "success", + btn: "PluginRepo", + selector: "pluginrepo-notice pluginrepo-newentries-notice", + customicon: pluginRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") + }); + bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { + forcedSort = "NEW"; + forcedOrder = "ASC"; + BDFDB.LibraryModules.UserSettingsUtils.open("pluginrepo"); + bar.querySelector(BDFDB.dotCN.noticedismiss).click(); + }); + } + + if (BDFDB.UserUtils.me.id == "278543574059057154") { + let wrongUrls = []; + for (let url of foundPlugins) if (url && !loadedPlugins[url] && !wrongUrls.includes(url)) wrongUrls.push(url); + if (wrongUrls.length) { + let bar = BDFDB.NotificationUtils.notice(`PluginRepo: ${wrongUrls.length} Plugin${wrongUrls.length > 1 ? "s" : ""} could not be loaded.`, { + type: "danger", + btn: "List", + selector: "pluginrepo-notice pluginrepo-fail-notice", + customicon: pluginRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") + }); + bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", e => { + let toast = BDFDB.NotificationUtils.toast(wrongUrls.join("\n"), {type: "error"}); + toast.style.setProperty("overflow", "hidden"); + for (let url of wrongUrls) console.log(url); + }); + } + } + } + else finishCounter++; + },1000); + }); + }); + } + }); + + getPluginInfo = callback => { + if (i >= foundPlugins.length || !this.started || !loading.is) { + callback(); + return; + } + let url = foundPlugins[i]; + BDFDB.LibraryRequires.request(url, (error, response, body) => { + if (!response) { + if (url && BDFDB.ArrayUtils.getAllIndexes(foundPlugins, url).length < 2) foundPlugins.push(url); + } + else if (body && body.indexOf("404: Not Found") != 0 && response.statusCode == 200) { + let plugin = {}; + let bodyCopy = body; + if (body.length / body.split("\n").length > 1000) { + /* code is minified -> add newlines */ + bodyCopy = body.replace(/}/g, "}\n"); + } + let bodyWithoutSpecial = bodyCopy.replace(/\n|\r|\t/g, "").replace(/\n|\r|\t/g, "").replace(/\s{2,}/g, ""); + let configReg = /(\.exports|config)\s*=\s*\{(.*?)\s*["'`]*info["'`]*\s*:\s*/i.exec(bodyWithoutSpecial); + if (url != "https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js" && configReg) { + try { + extractConfigInfo(plugin, JSON.parse('{"info":' + bodyWithoutSpecial.substring(configReg.index).split(configReg[0])[1].split("};")[0].split("}},")[0] + '}')); + } + catch (err) { + let i = 0, j = 0, configString = ""; + try { + for (let c of (bodyWithoutSpecial.substring(configReg.index).split(configReg[0])[1].split("};")[0].split("}},")[0]).replace(/,/g, ',"').replace(/:/g, '":').replace(/{/g, '{"').replace(/""/g, '"').replace(/" /g, ' ').replace(/,"{/g, ',{').replace(/,"\[/g, ',[').replace(/":\/\//g, ':\/\/')) { + configString += c; + if (c == "{") i++; + else if (c == "}") j++; + if (i > 0 && i == j) break; + } + extractConfigInfo(plugin, JSON.parse('{"info":' + configString + '}')); + } + catch (err2) { + try { + extractConfigInfo(plugin, JSON.parse(('{"info":' + configString + '}').replace(/'/g, "\""))); + } + catch (err3) {} + } + } + } + else { + for (let tag of tags) { + let result = new RegExp(tag + "[\\s|\\t|\\n|\\r|=|>|_|:|function|\(|\)|\{|return]*([\"|\'|\`]).*\\1","gi").exec(bodyCopy); + if (!result) result = new RegExp("get " + tag.replace("get", "").toLowerCase() + "[\\s|\\t|\\n|\\r|=|>|_|:|function|\(|\)|\{|return]*([\"|\'|\`]).*\\1","gi").exec(bodyCopy); + if (result) { + let separator = result[1]; + result = result[0].replace(new RegExp("\\\\" + separator, "g"), separator).split(separator); + if (result.length > 2) { + result = result.slice(1, -1).join(separator).replace(/\\n/g, "
").replace(/\\/g, ""); + result = tag != "getVersion" ? result.charAt(0).toUpperCase() + result.slice(1) : result; + plugin[tag] = result ? result.trim() : result; + } + } + } + } + + if (!tags.some(tag => !plugin[tag] || plugin[tag].length > 10000)) { + plugin.url = url; + loadedPlugins[url] = plugin; + if (this.isPluginOutdated(plugin, url)) outdated++; + if (!cachedPlugins.includes(url)) newentries++; + } + else if (sandbox) { + sandboxQueue.push({body, url}); + runInSandbox(); + } + } + i++; + + let loadingTooltip = document.querySelector(".pluginrepo-loading-tooltip"); + if (loadingTooltip) { + BDFDB.DOMUtils.setText(loadingTooltip.querySelector(BDFDB.dotCN.tooltipcontent), this.getLoadingTooltipText()); + loadingTooltip.update(); + } + + getPluginInfo(callback); + }); + }; + + extractConfigInfo = (plugin, config) => { + plugin.getName = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.name); + plugin.getDescription = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.description); + plugin.getVersion = config.info.version; + plugin.getAuthor = ""; + if (typeof config.info.author == "string") plugin.getAuthor = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.author); + else if (typeof config.info.authors == "string") plugin.getAuthor = BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(config.info.authors); + else if (Array.isArray(config.info.authors)) for (let author of config.info.authors) { + plugin.getAuthor += (plugin.getAuthor + (plugin.getAuthor ? ", " : "") + BDFDB.LibraryModules.StringUtils.upperCaseFirstChar(typeof author == "string" ? author : author.name || "")); + } + }; + + createSandbox = _ => { + return new Promise(callback => { + let loadTimeout = BDFDB.TimeUtils.timeout(_ => { + callback(); + }, 600000); + sandbox = BDFDB.WindowUtils.open(this, "https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/DiscordPreview.html", { + onLoad: _ => { + BDFDB.TimeUtils.clear(loadTimeout); + sandbox.executeJavaScriptSafe(`window.onmessage({ + origin: "PluginRepo", + reason: "OnLoad", + classes: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClasses))}, + classModules: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClassModules))} + })`); + callback(); + } + }); + }); + } + + runInSandbox = _ => { + if (sandboxRunning) return; + let sandboxData = sandboxQueue.shift(); + if (!sandboxData) return; + let {body, url} = sandboxData; + let name = (body.replace(/\s*:\s*/g, ":").split('"name":"')[1] || "").split('"')[0]; + name = name ? name : (body.replace(/ {2,}/g, " ").replace(/\r/g, "").split("@name ")[1] || "").split("\n")[0]; + if (name) { + let messageId = (this.name + name + BDFDB.NumberUtils.generateId()).replace(/\s/g, "").trim(); + sandboxRunning = true; + BDFDB.WindowUtils.addListener(this, messageId, (event, messageData) => { + BDFDB.WindowUtils.removeListener(this, messageId); + if (BDFDB.ObjectUtils.is(messageData.plugin)) { + messageData.plugin.url = url; + loadedPlugins[url] = messageData.plugin; + if (this.isPluginOutdated(messageData.plugin, url)) outdated++; + if (!cachedPlugins.includes(url)) newentries++; + } + sandboxRunning = false; + runInSandbox(); + }); + sandbox.executeJavaScriptSafe(` + let result = null; + try { + ${body}; + let p = new ${name}(); + result = { + "getName": getString(p.getName()), + "getAuthor": getString(p.getAuthor()), + "getVersion": getString(p.getVersion()), + "getDescription": getString(p.getDescription()) + }; + } + catch (err) {} + window.respondToParent({ + hostId: ${BDFDB.LibraryRequires.electron.remote.getCurrentWindow().webContents.id}, + hostName: "${messageId}", + plugin: result + }); + `); + } + } + } + + getLoadingTooltipText () { + return `Loading PluginRepo - [${Object.keys(loadedPlugins).length}/${Object.keys(grabbedPlugins).length}]`; + } + + isPluginOutdated (plugin, url) { + let instPlugin = BDFDB.BDUtils.getPlugin(plugin.getName); + return instPlugin && typeof instPlugin.getAuthor == "function" && this.getString(instPlugin.getAuthor()).toUpperCase() == plugin.getAuthor.toUpperCase() && this.getString(instPlugin.getVersion()) != plugin.getVersion && !this.pluginHasUpdateCheck(url); + } + + pluginHasUpdateCheck (url) { + if (!BDFDB.ObjectUtils.is(window.PluginUpdates) || !BDFDB.ObjectUtils.is(window.PluginUpdates.plugins)) return false; + if (window.PluginUpdates.plugins[url]) return true; + else { + let temp = "https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/PluginRepo/PluginRepo.plugin.js".replace("//raw.githubusercontent.com", "//").split("/"); + let gitname = temp.splice(3, 1); + temp.splice(4, 1); + temp.splice(2, 1, gitname + ".github.io"); + return !!window.PluginUpdates.plugins[temp.join("/")]; + } + } + + getString (obj) { + let string = ""; + if (typeof obj == "string") string = obj; + else if (obj && obj.props) { + if (typeof obj.props.children == "string") string = obj.props.children; + else if (Array.isArray(obj.props.children)) for (let c of obj.props.children) string += typeof c == "string" ? c : this.getString(c); + } + return string; + } + + checkForNewPlugins () { + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/PluginRepo/res/PluginList.txt", (error, response, result) => { + if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n").filter(n => n), grabbedPlugins)) { + loading = {is:false, timeout:null, amount:0}; + this.loadPlugins(); + } + }); + } + + downloadPlugin (data) { + BDFDB.LibraryRequires.request(data.url, (error, response, body) => { + if (error) BDFDB.NotificationUtils.toast(`Unable to download Plugin "${plugin.getName}".`, {type:"danger"}); + else this.createPluginFile(data.url.split("/").pop(), body); + }); + } + + createPluginFile (filename, content) { + BDFDB.LibraryRequires.fs.writeFile(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getPluginsFolder(), filename), content, (error) => { + if (error) BDFDB.NotificationUtils.toast(`Unable to save Plugin "${filename}".`, {type:"danger"}); + else BDFDB.NotificationUtils.toast(`Successfully saved Plugin "${filename}".`, {type:"success"}); + }); + } + + startPlugin (data) { + if (data.name && BDFDB.BDUtils.isPluginEnabled(data.name) == false) { + BDFDB.BDUtils.enablePlugin(data.name, false); + BDFDB.LogUtils.log(`Started Plugin ${data.name}.`, this.name); + } + } + + deletePluginFile (data) { + let filename = data.url.split("/").pop(); + BDFDB.LibraryRequires.fs.unlink(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getPluginsFolder(), filename), (error) => { + if (error) BDFDB.NotificationUtils.toast(`Unable to delete Plugin "${filename}".`, {type:"danger"}); + else BDFDB.NotificationUtils.toast(`Successfully deleted Plugin "${filename}".`); + }); + } + + stopPlugin (data) { + if (data.name && BDFDB.BDUtils.isPluginEnabled(data.name) == true) { + BDFDB.BDUtils.disablePlugin(data.name, false); + BDFDB.LogUtils.log(`Stopped Plugin ${data.name}.`, this.name); + } + } + } +})(); + +module.exports = PluginRepo; diff --git a/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js b/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js index a1df91b722..c5ae804387 100644 --- a/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js +++ b/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js @@ -206,7 +206,6 @@ var ReadAllNotificationsButton = (_ => { id: "mark-dm-read", disabled: !BDFDB.LibraryModules.DirectMessageUnreadStore.getUnreadPrivateChannelIds().includes(channelId), action: event => { - BDFDB.ContextMenuUtils.close(event.target); BDFDB.DMUtils.markAsRead(channelId); } }) @@ -240,7 +239,6 @@ var ReadAllNotificationsButton = (_ => { label: this.labels.context_unreadguilds_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "mark-unread-read"), action: event2 => { - BDFDB.ContextMenuUtils.close(event2._targetInst); this.markGuildsAsRead(BDFDB.GuildUtils.getUnread()); } }), @@ -248,7 +246,6 @@ var ReadAllNotificationsButton = (_ => { label: this.labels.context_pingedguilds_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "mark-pinged-read"), action: event2 => { - BDFDB.ContextMenuUtils.close(event2._targetInst); this.markGuildsAsRead(BDFDB.GuildUtils.getPinged()); } }), @@ -256,7 +253,6 @@ var ReadAllNotificationsButton = (_ => { label: this.labels.context_mutedguilds_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "mark-muted-read"), action: event2 => { - BDFDB.ContextMenuUtils.close(event2._targetInst); this.markGuildsAsRead(BDFDB.GuildUtils.getMuted()); } }), @@ -264,7 +260,6 @@ var ReadAllNotificationsButton = (_ => { label: this.labels.context_guilds_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "mark-all-read"), action: event2 => { - BDFDB.ContextMenuUtils.close(event2._targetInst); this.addPinnedRecent(instance.props.channel.id); this.markGuildsAsRead(BDFDB.GuildUtils.getAll()); } @@ -273,7 +268,6 @@ var ReadAllNotificationsButton = (_ => { label: this.labels.context_dms_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "mark-dms-read"), action: event2 => { - BDFDB.ContextMenuUtils.close(event2._targetInst); BDFDB.DMUtils.markAsRead(BDFDB.DMUtils.getAll()); } }) diff --git a/Plugins/RevealAllSpoilersOption/RevealAllSpoilersOption.plugin.js b/Plugins/RevealAllSpoilersOption/RevealAllSpoilersOption.plugin.js index 8ea9c49086..8c3e79a8fc 100644 --- a/Plugins/RevealAllSpoilersOption/RevealAllSpoilersOption.plugin.js +++ b/Plugins/RevealAllSpoilersOption/RevealAllSpoilersOption.plugin.js @@ -76,7 +76,6 @@ var RevealAllSpoilersOption = (_ => { }); }), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.revealAllSpoilers(messageDiv); } }) diff --git a/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js b/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js index b7104e1b3c..6f1d31dd7b 100644 --- a/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js +++ b/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js @@ -171,6 +171,7 @@ var ReverseImageSearch = (_ => { children.splice(index > -1 ? index : children.length, 0, BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { label: this.labels.context_reverseimagesearch_text.replace("...", this.defaults.engines[engineKeys[0]].name), id: BDFDB.ContextMenuUtils.createItemId(this.name, "single-search"), + persisting: true, action: event => { if (!event.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); BDFDB.DiscordUtils.openLink(this.defaults.engines[engineKeys[0]].url.replace(imgUrlReplaceString, encodeURIComponent(url)), settings.useChromium, event.shiftKey); @@ -183,6 +184,7 @@ var ReverseImageSearch = (_ => { label: this.defaults.engines[key].name, id: BDFDB.ContextMenuUtils.createItemId(this.name, "search", key), color: key == "_all" ? BDFDB.LibraryComponents.MenuItems.Colors.DANGER : BDFDB.LibraryComponents.MenuItems.Colors.DEFAULT, + persisting: true, action: event => { if (!event.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); if (key == "_all") { diff --git a/Plugins/ServerFolders/ServerFolders.plugin.js b/Plugins/ServerFolders/ServerFolders.plugin.js index 86d23e89be..572a422d26 100644 --- a/Plugins/ServerFolders/ServerFolders.plugin.js +++ b/Plugins/ServerFolders/ServerFolders.plugin.js @@ -550,7 +550,6 @@ var ServerFolders = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "remove-from-folder"), color: BDFDB.LibraryComponents.MenuItems.Colors.DANGER, action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.removeGuildFromFolder(folder.folderId, e.instance.props.guild.id); } }) @@ -560,7 +559,6 @@ var ServerFolders = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "create-folder"), disabled: !unfolderedGuilds.length, action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openFolderCreationMenu(unfolderedGuilds, e.instance.props.guild.id); } }), @@ -572,7 +570,6 @@ var ServerFolders = (_ => { label: folder.folderName || `${BDFDB.LanguageUtils.LanguageStrings.SERVER_FOLDER_PLACEHOLDER} #${i + 1}`, id: BDFDB.ContextMenuUtils.createItemId(this.name, "add-to-folder", i + 1), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.addGuildToFolder(folder.folderId, e.instance.props.guild.id); } })) @@ -621,7 +618,6 @@ var ServerFolders = (_ => { id: BDFDB.ContextMenuUtils.createItemId(this.name, "remove-folder"), color: BDFDB.LibraryComponents.MenuItems.Colors.DANGER, action: event => { - BDFDB.ContextMenuUtils.close(event.target); BDFDB.ModalUtils.confirm(this, `Are you sure you want to remove the folder${folder.folderName ? ` '${folder.folderName}'` : ""}?`, _ => { this.removeFolder(e.instance.props.folderId); }); diff --git a/Plugins/ServerHider/ServerHider.plugin.js b/Plugins/ServerHider/ServerHider.plugin.js index 8906f3d3bf..2dab5d2a6d 100644 --- a/Plugins/ServerHider/ServerHider.plugin.js +++ b/Plugins/ServerHider/ServerHider.plugin.js @@ -130,7 +130,6 @@ var ServerHider = (_ => { label: this.labels.submenu_openhidemenu_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "openmenu"), action: _ => { - BDFDB.ContextMenuUtils.close(instance); this.showHideModal(); } }), @@ -138,7 +137,6 @@ var ServerHider = (_ => { label: instance.props.guild ? this.labels.submenu_hideserver_text : this.labels.submenu_hidefolder_text, id: BDFDB.ContextMenuUtils.createItemId(this.name, "hide"), action: _ => { - BDFDB.ContextMenuUtils.close(instance); if (instance.props.guild) this.toggleItem(BDFDB.DataUtils.load(this, "hidden", "servers") || [], instance.props.guild.id, "servers"); else this.toggleItem(BDFDB.DataUtils.load(this, "hidden", "folders") || [], instance.props.folderId, "folders"); } diff --git a/Plugins/ShowHiddenChannels/ShowHiddenChannels.plugin.js b/Plugins/ShowHiddenChannels/ShowHiddenChannels.plugin.js index 99d4ae6636..dbfc1b4cf7 100644 --- a/Plugins/ShowHiddenChannels/ShowHiddenChannels.plugin.js +++ b/Plugins/ShowHiddenChannels/ShowHiddenChannels.plugin.js @@ -287,7 +287,6 @@ var ShowHiddenChannels = (_ => { label: BDFDB.LanguageUtils.LanguageStrings.CHANNEL + " " + BDFDB.LanguageUtils.LanguageStrings.ACCESSIBILITY, id: BDFDB.ContextMenuUtils.createItemId(this.name, "permissions"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.showAccessModal(e.instance.props.channel, !isHidden); } }) diff --git a/Plugins/SpellCheck/SpellCheck.plugin.js b/Plugins/SpellCheck/SpellCheck.plugin.js index eb4fd738e9..602f415216 100644 --- a/Plugins/SpellCheck/SpellCheck.plugin.js +++ b/Plugins/SpellCheck/SpellCheck.plugin.js @@ -211,7 +211,6 @@ var SpellCheck = (_ => { }); }, action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.addToOwnDictionary(word); } }), @@ -224,7 +223,6 @@ var SpellCheck = (_ => { label: suggestion, id: BDFDB.ContextMenuUtils.createItemId(this.name, "suggestion", suggestion), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.replaceWord(e.instance.props.editor, word, suggestion); } })) diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index bc8e024dee..19cc82ae70 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -1,1171 +1,1170 @@ -//META{"name":"ThemeRepo","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/ThemeRepo","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/ThemeRepo/ThemeRepo.plugin.js"}*// - -var ThemeRepo = (_ => { - var _this; - var loading, cachedThemes, grabbedThemes, foundThemes, loadedThemes, generatorThemes, updateInterval; - var list, header, preview, searchTimeout, updateGeneratorTimeout, forceRerenderGenerator, forcedSort, forcedOrder, showOnlyOutdated; - var settings = {}, modalSettings = {}, favorites = [], customList = []; - - const themeStates = { - UPDATED: 0, - OUTDATED: 1, - DOWNLOADABLE: 2 - }; - const buttonData = { - UPDATED: { - colorClass: "GREEN", - backgroundColor: "STATUS_GREEN", - text: "Updated" - }, - OUTDATED: { - colorClass: "RED", - backgroundColor: "STATUS_RED", - text: "Outdated" - }, - DOWNLOADABLE: { - colorClass: "BRAND", - backgroundColor: "BRAND", - text: "Download" - } - }; - const favStates = { - FAVORIZED: 0, - NOT_FAVORIZED: 1 - }; - const newStates = { - NEW: 0, - NOT_NEW: 1 - }; - const sortKeys = { - NAME: "Name", - AUTHOR: "Author", - VERSION: "Version", - DESCRIPTION: "Description", - STATE: "Update State", - FAV: "Favorites", - NEW: "New Themes" - }; - const orderKeys = { - ASC: "ascending", - DESC: "descending" - }; - - const themeRepoIcon = ``; - - const RepoListComponent = class ThemeList extends BdApi.React.Component { - componentDidMount() { - list = this; - BDFDB.TimeUtils.timeout(_ => { - forcedSort = null; - forcedOrder = null; - showOnlyOutdated = false; - }, 5000); - } - filterThemes() { - let themes = Object.keys(loadedThemes).map(url => { - let theme = loadedThemes[url]; - let instTheme = BDFDB.BDUtils.getTheme(theme.name); - if (instTheme && instTheme.author.toUpperCase() == theme.author.toUpperCase()) theme.state = instTheme.version != theme.version ? themeStates.OUTDATED : themeStates.UPDATED; - else theme.state = themeStates.DOWNLOADABLE; - return { - url: theme.url, - requesturl: theme.requesturl, - search: (theme.name + " " + theme.version + " " + theme.author + " " + theme.description).toUpperCase(), - name: theme.name, - version: theme.version, - author: theme.author, - description: theme.description || "No Description found.", - fav: favorites.includes(url) ? favStates.FAVORIZED : favStates.NOT_FAVORIZED, - new: !cachedThemes.includes(url) ? newStates.NEW : newStates.NOT_NEW, - state: theme.state, - css: theme.css, - fullcss: theme.fullcss - }; - }); - if (!this.props.updated) themes = themes.filter(theme => theme.state != themeStates.UPDATED); - if (!this.props.outdated) themes = themes.filter(theme => theme.state != themeStates.OUTDATED); - if (!this.props.downloadable) themes = themes.filter(theme => theme.state != themeStates.DOWNLOADABLE); - if (this.props.searchString) { - let searchString = this.props.searchString.toUpperCase(); - themes = themes.filter(theme => theme.search.indexOf(searchString) > -1).map(theme => Object.assign({}, theme, { - name: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.name, searchString))) || theme.name, - version: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.version, searchString))) || theme.version, - author: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.author, searchString))) || theme.author, - description: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.description, searchString))) || theme.description - })); - } - - BDFDB.ArrayUtils.keySort(themes, (!this.props.sortKey || this.props.sortKey == "NEW" && !themes.some(theme => theme.new == newStates.NEW) ? Object.keys(sortKeys)[0] : this.props.sortKey).toLowerCase()); - if (this.props.orderKey == "DESC") themes.reverse(); - return themes; - } - openPreview() { - preview = BDFDB.WindowUtils.open(this, "https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/DiscordPreview.html", { - alwaysOnTop: settings.keepOnTop, - showOnReady: true, - frame: false, - onLoad: _ => { - let nativeCSS = document.querySelector("head link[rel='stylesheet'][integrity]"); - let titleBar = document.querySelector(BDFDB.dotCN.titlebar); - preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "OnLoad", - username: ${JSON.stringify(BDFDB.UserUtils.me.username || "")}, - id: ${JSON.stringify(BDFDB.UserUtils.me.id || "")}, - discriminator: ${JSON.stringify(BDFDB.UserUtils.me.discriminator || "")}, - avatar: ${JSON.stringify(BDFDB.UserUtils.getAvatar() || "")}, - classes: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClasses))}, - classModules: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClassModules))}, - nativeCSS: ${JSON.stringify(nativeCSS && nativeCSS.href || "")}, - htmlClassName: ${JSON.stringify(document.documentElement.className || "")}, - titleBar: ${JSON.stringify(titleBar && titleBar.outerHTML || "")} - })`); - if (this.props.currentTheme) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "NewTheme", - checked: true, - css: ${JSON.stringify(this.props.currentTheme.css || "")} - })`); - if (this.props.currentGenerator) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "NewTheme", - checked: true, - css: ${JSON.stringify((loadedThemes[this.props.currentGenerator] || {}).fullcss || "")} - })`); - if (this.props.useLightMode) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "DarkLight", - checked: true - })`); - if (this.props.useNormalizer) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "Normalize", - checked: true - })`); - if (this.props.useCustomCSS) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "CustomCSS", - checked: true - })`); - if (this.props.useThemeFixer) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "ThemeFixer", - checked: true - })`); - }, - onClose: _ => { - preview = null; - } - }); - } - renderCard(theme) { - let buttonConfig = buttonData[(Object.entries(themeStates).find(n => n[1] == theme.state) || [])[0]]; - return buttonConfig && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.AddonCard, { - data: theme, - controls: [ - theme.new == newStates.NEW && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Badges.TextBadge, { - style: { - borderRadius: 3, - textTransform: "uppercase", - background: BDFDB.DiscordConstants.Colors.STATUS_YELLOW - }, - text: BDFDB.LanguageUtils.LanguageStrings.NEW - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FavButton, { - className: BDFDB.disCN._repocontrolsbutton, - isFavorite: theme.fav == favStates.FAVORIZED, - onClick: value => { - theme.fav = value ? favStates.FAVORIZED : favStates.NOT_FAVORIZED; - if (value) favorites.push(theme.url); - else BDFDB.ArrayUtils.remove(favorites, theme.url, true); - BDFDB.DataUtils.save(favorites, _this, "favorites"); - } - }), - BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repocontrolsbutton, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { - text: "Go to Source", - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { - name: BDFDB.LibraryComponents.SvgIcon.Names.GITHUB, - className: BDFDB.disCN._repoicon, - onClick: _ => { - let gitUrl = null; - if (theme.url.indexOf("https://raw.githubusercontent.com") == 0) { - let temp = theme.url.replace("//raw.githubusercontent", "//github").split("/"); - temp.splice(5, 0, "blob"); - gitUrl = temp.join("/"); - } - else if (theme.url.indexOf("https://gist.githubusercontent.com/") == 0) { - gitUrl = theme.url.replace("//gist.githubusercontent", "//gist.github").split("/raw/")[0]; - } - if (gitUrl) BDFDB.DiscordUtils.openLink(gitUrl, settings.useChromium); - } - }) - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Switch, { - value: this.props.currentTheme && this.props.currentTheme.url == theme.url, - onChange: (value, instance) => { - if (value) this.props.currentTheme = theme; - else delete this.props.currentTheme; - delete this.props.currentGenerator; - delete this.props.generatorValues; - if (preview) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "NewTheme", - checked: ${value}, - css: ${JSON.stringify(theme.css || "")} - })`); - else this.openPreview(); - BDFDB.ReactUtils.forceUpdate(this); - } - }) - ], - buttons: [ - theme.state != themeStates.DOWNLOADABLE && BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repocontrolsbutton, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { - text: "Delete Themefile", - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { - name: BDFDB.LibraryComponents.SvgIcon.Names.NOVA_TRASH, - className: BDFDB.disCN._repoicon, - onClick: (e, instance) => { - _this.removeTheme(theme); - _this.deleteThemeFile(theme); - BDFDB.TimeUtils.timeout(_ => { - BDFDB.ReactUtils.forceUpdate(this); - }, 3000); - } - }) - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { - size: BDFDB.LibraryComponents.Button.Sizes.MIN, - color: BDFDB.LibraryComponents.Button.Colors[buttonConfig.colorClass], - style: {backgroundColor: BDFDB.DiscordConstants.Colors[buttonConfig.backgroundColor]}, - children: buttonConfig.text, - onClick: (e, instance) => { - _this.downloadTheme(theme); - BDFDB.TimeUtils.timeout(_ => { - BDFDB.ReactUtils.forceUpdate(this); - if (this.props.rnmStart) _this.applyTheme(theme); - }, 3000); - } - }) - ] - }); - } - render() { - let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading); - if (!this.props.tab) this.props.tab = "Themes"; - this.props.entries = (!loading.is && !BDFDB.ObjectUtils.isEmpty(loadedThemes) ? this.filterThemes() : []).map(theme => this.renderCard(theme)).filter(n => n); - - BDFDB.TimeUtils.timeout(_ => { - if (!loading.is && header && this.props.entries.length != header.props.amount) { - header.props.amount = this.props.entries.length; - BDFDB.ReactUtils.forceUpdate(header); - } - }); - - if (forceRerenderGenerator && this.props.tab == "Generator") BDFDB.TimeUtils.timeout(_ => { - forceRerenderGenerator = false; - BDFDB.ReactUtils.forceUpdate(this); - }); - - return [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { - tab: "Themes", - open: this.props.tab == "Themes", - render: false, - children: loading.is ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, - justify: BDFDB.LibraryComponents.Flex.Justify.CENTER, - style: {marginTop: "50%"}, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, { - type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, { - className: BDFDB.disCN.margintop20, - style: {textAlign: "center"}, - children: "Themes are still being fetched. Please wait a moment." - }) - ] - }) : BDFDB.ReactUtils.forceStyle(BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repolist, - style: { - display: "flex", - flexDirection: "column", - margin: "unset", - width: "unset" - }, - children: this.props.entries - }), ["display", "flex-direction", "margin", "width"]) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { - tab: "Generator", - open: this.props.tab == "Generator", - render: false, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Select", - label: "Choose a Generator Theme", - basis: "60%", - value: this.props.currentGenerator || "-----", - options: ["-----"].concat(generatorThemes).map(url => ({value:url, label:(loadedThemes[url] || {}).name || "-----"})).sort((x, y) => (x.label < y.label ? -1 : x.label > y.label ? 1 : 0)), - searchable: true, - onChange: (value, instance) => { - if (loadedThemes[value.value]) { - if (this.props.currentGenerator) forceRerenderGenerator = true; - this.props.currentGenerator = value.value; - this.props.generatorValues = {}; - } - else { - delete this.props.currentGenerator; - delete this.props.generatorValues; - } - delete this.props.currentTheme; - if (preview) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "NewTheme", - checked: true, - css: ${JSON.stringify((loadedThemes[value.value] || {}).fullcss || "")} - })`); - else this.openPreview(); - BDFDB.ReactUtils.forceUpdate(this); - } - }), - !this.props.currentGenerator ? null : (forceRerenderGenerator ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, - justify: BDFDB.LibraryComponents.Flex.Justify.CENTER, - style: {marginTop: "50%"}, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, { - type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES - }) - }) : [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Button", - label: "Download generated Theme", - children: "Download", - onClick: _ => { - _this.createThemeFile(this.props.currentGenerator.name + ".theme.css", _this.generateTheme(this.props.currentGenerator, this.props.generatorValues)); - } - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormDivider, { - className: BDFDB.disCN.marginbottom20 - }), - (_ => { - let vars = loadedThemes[this.props.currentGenerator].fullcss.split(":root"); - if (vars.length < 2) return null; - vars = vars[1].replace(/\t\(/g, " (").replace(/\r|\t| {2,}/g, "").replace(/\/\*\n*((?!\/\*|\*\/).|\n)*\n+((?!\/\*|\*\/).|\n)*\n*\*\//g, "").replace(/\n\/\*.*?\*\//g, "").replace(/\n/g, ""); - vars = vars.split("{"); - vars.shift(); - vars = vars.join("{").replace(/\s*(:|;|--|\*)\s*/g, "$1"); - vars = vars.split("}")[0]; - vars = vars.slice(2).split(/;--|\*\/--/); - let inputRefs = []; - for (let varStr of vars) { - varStr = varStr.split(":"); - let varName = varStr.shift().trim(); - varStr = varStr.join(":").split(/;[^A-z0-9]|\/\*/); - let oldValue = varStr.shift().trim(); - if (oldValue) { - let childType = "text", childMode = ""; - let isColor = BDFDB.ColorUtils.getType(oldValue); - let isComp = !isColor && /[0-9 ]+,[0-9 ]+,[0-9 ]+/g.test(oldValue); - if (isColor || isComp) { - childType = "color"; - childMode = isComp && "comp"; - } - else { - let isUrlFile = /url\(.+\)/gi.test(oldValue); - let isFile = !isUrlFile && /(http(s)?):\/\/[(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/.test(oldValue); - if (isFile || isUrlFile) { - childType = "file"; - childMode = isUrlFile && "url"; - } - } - let varDescription = varStr.join("").replace(/\*\/|\/\*/g, "").replace(/:/g, ": ").replace(/: \//g, ":/").replace(/--/g, " --").replace(/\( --/g, "(--").trim(); - this.props.generatorValues[varName] = {value:oldValue, oldValue}; - inputRefs.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - dividerbottom: vars[vars.length-1] != varStr, - type: "TextInput", - childProps: { - type: childType, - mode: childMode, - filter: childType == "file" && "image" - }, - label: varName[0].toUpperCase() + varName.slice(1), - note: varDescription && varDescription.indexOf("*") == 0 ? varDescription.slice(1) : varDescription, - basis: "70%", - value: oldValue, - placeholder: oldValue, - onChange: value => { - BDFDB.TimeUtils.clear(updateGeneratorTimeout); - updateGeneratorTimeout = BDFDB.TimeUtils.timeout(_ => { - this.props.generatorValues[varName] = {value, oldValue}; - if (preview) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "NewTheme", - checked: true, - css: ${JSON.stringify(_this.generateTheme(loadedThemes[this.props.currentGenerator], this.props.generatorValues) || "")} - })`); - }, 1000); - } - })); - } - } - return inputRefs; - })() - ]) - ].flat(10).filter(n => n) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { - tab: BDFDB.LanguageUtils.LanguageStrings.SETTINGS, - open: this.props.tab == BDFDB.LanguageUtils.LanguageStrings.SETTINGS, - render: false, - children: [ - !automaticLoading && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCN.marginbottom20, - children: BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCNS.titledefault + BDFDB.disCN.cursordefault, - children: "To experience ThemeRepo in the best way. I would recommend you to enable BD intern reload function, that way all downloaded files are loaded into Discord without the need to reload." - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Switch", - label: "Preview in light mode", - value: this.props.useLightMode, - onChange: (value, instance) => { - this.props.useLightMode = value; - if (preview) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "DarkLight", - checked: ${this.props.useLightMode} - })`); - } - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Switch", - label: "Preview with useNormalizer classes", - value: this.props.useNormalizer, - onChange: (value, instance) => { - this.props.useNormalizer = value; - if (preview) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "Normalize", - checked: ${this.props.useNormalizer} - })`); - } - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Switch", - label: "Include Custom CSS in Preview", - value: this.props.useCustomCSS, - onChange: (value, instance) => { - this.props.useCustomCSS = value; - let customCSS = document.querySelector("style#customcss"); - if (preview && customCSS && customCSS.innerText.length > 0) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "CustomCSS", - checked: ${this.props.useCustomCSS}, - css: ${JSON.stringify(customCSS.innerText || "")} - })`); - } - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Switch", - label: "Include ThemeFixer CSS in Preview", - value: this.props.useThemeFixer, - onChange: (value, instance) => { - this.props.useThemeFixer = value; - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeFixer.css", (error, response, body) => { - if (preview) preview.executeJavaScriptSafe(`window.onmessage({ - origin: "ThemeRepo", - reason: "ThemeFixer", - checked: ${this.props.useThemeFixer}, - css: ${JSON.stringify(_this.createFixerCSS(body) || "")} - })`); - }); - } - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - className: BDFDB.disCN.marginbottom20, - type: "Button", - label: "Download ThemeFixer", - children: "Download", - onClick: _ => { - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeFixer.css", (error, response, body) => { - _this.createThemeFile("ThemeFixer.theme.css", `//META{"name":"ThemeFixer","description":"ThemeFixerCSS for transparent themes","author":"DevilBro","version":"1.0.3","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien"}*//\n\n` + _this.createFixerCSS(body)); - }); - } - }), - Object.keys(modalSettings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { - className: BDFDB.disCN.marginbottom20, - type: "Switch", - plugin: _this, - keys: ["modalSettings", key], - label: _this.defaults.modalSettings[key].description, - note: key == "rnmStart" && !automaticLoading && "Automatic Loading has to be enabled", - disabled: key == "rnmStart" && !automaticLoading, - value: this.props[key], - onChange: (value, instance) => { - this.props[key] = value; - BDFDB.ReactUtils.forceUpdate(this); - } - })) - ].flat(10).filter(n => n) - }) - ]; - } - }; - - const RepoListHeaderComponent = class ThemeListHeader extends BdApi.React.Component { - componentDidMount() { - header = this; - } - render() { - if (!this.props.tab) this.props.tab = "Themes"; - return BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN._repolistheader, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCN.marginbottom4, - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormTitle, { - tag: BDFDB.LibraryComponents.FormComponents.FormTitle.Tags.H2, - className: BDFDB.disCN.marginreset, - children: `Theme Repo — ${loading.is ? 0 : this.props.amount || 0}/${loading.is ? 0 : Object.keys(loadedThemes).length}` - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SearchBar, { - autoFocus: true, - query: this.props.searchString, - onChange: (value, instance) => { - BDFDB.TimeUtils.clear(searchTimeout); - searchTimeout = BDFDB.TimeUtils.timeout(_ => { - this.props.searchString = list.props.searchString = value.replace(/[<|>]/g, ""); - BDFDB.ReactUtils.forceUpdate(this, list); - }, 1000); - }, - onClear: instance => { - this.props.searchString = list.props.searchString = ""; - BDFDB.ReactUtils.forceUpdate(this, list); - } - }) - }) - ] - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCNS.tabbarcontainer + BDFDB.disCN.tabbarcontainerbottom, - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TabBar, { - className: BDFDB.disCN.tabbar, - itemClassName: BDFDB.disCN.tabbaritem, - type: BDFDB.LibraryComponents.TabBar.Types.TOP, - selectedItem: this.props.tab, - items: [{value:"Themes"}, {value:"Generator"}, {value:BDFDB.LanguageUtils.LanguageStrings.SETTINGS}], - onItemSelect: (value, instance) => { - this.props.tab = list.props.tab = value; - BDFDB.ReactUtils.forceUpdate(list); - } - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { - label: BDFDB.LanguageUtils.LibraryStrings.sort_by + ":", - value: { - label: sortKeys[this.props.sortKey], - value: this.props.sortKey - }, - options: Object.keys(sortKeys).filter(n => n != "NEW" || Object.keys(loadedThemes).some(p => !cachedThemes.includes(p))).map(key => ({ - label: sortKeys[key], - value: key - })), - onChange: (key, instance) => { - this.props.sortKey = list.props.sortKey = key; - BDFDB.ReactUtils.forceUpdate(this, list); - } - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { - label: BDFDB.LanguageUtils.LibraryStrings.order + ":", - value: { - label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[this.props.orderKey]], - value: this.props.orderKey - }, - options: Object.keys(orderKeys).map(key => ({ - label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[key]], - value: key - })), - onChange: (key, instance) => { - this.props.orderKey = list.props.orderKey = key; - BDFDB.ReactUtils.forceUpdate(this, list); - } - }) - }) - ] - }) - ] - }); - } - }; - - return class ThemeRepo { - getName () {return "ThemeRepo";} - - getVersion () {return "2.0.4";} - - 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":[["Inbuilt Repo","The theme repo no longer opens a modal to display the repo, instead the list is rendered in the settings window"]] - }; - - this.patchedModules = { - before: { - SettingsView: "render" - }, - after: { - StandardSidebarView: "render" - } - }; - } - - initConstructor () { - _this = this; - - loading = {is:false, timeout:null, amount:0}; - - cachedThemes = []; - grabbedThemes = []; - foundThemes = []; - loadedThemes = {}; - generatorThemes = []; - - this.defaults = { - settings: { - useChromium: {value:false, description:"Use an inbuilt browser window instead of opening your default browser"}, - keepOnTop: {value:false, description:"Keep the preview window always on top"}, - notifyOutdated: {value:true, description:"Notifies you when one of your Themes is outdated"}, - notifyNewentries: {value:true, description:"Notifies you when there are new entries in the Repo"} - }, - modalSettings: { - updated: {value:true, modify:true, description:"Show updated Themes",}, - outdated: {value:true, modify:true, description:"Show outdated Themes"}, - downloadable: {value:true, modify:true, description:"Show downloadable Themes"}, - rnmStart: {value:true, modify:false, description:"Apply Theme after Download"} - } - }; - - this.css = ` - .${this.name}-modal.repo-modal { - max-width: 800px; - min-height: 90vh; - max-height: 90vh; - } - `; - } - - getSettingsPanel (collapseStates = {}) { - if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded || !this.started) return; - let customUrl = ""; - let settingsPanel, settingsItems = []; - - settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { - title: "Settings", - collapseStates: collapseStates, - children: Object.keys(settings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { - className: BDFDB.disCN.marginbottom8, - type: "Switch", - plugin: this, - keys: ["settings", key], - label: this.defaults.settings[key].description, - value: settings[key] - })) - })); - settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { - title: "Custom Themes", - collapseStates: collapseStates, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormItem, { - title: "Add Theme:", - tag: BDFDB.LibraryComponents.FormComponents.FormTitleTags.H3, - className: BDFDB.disCNS.margintop4 + BDFDB.disCN.marginbottom8, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextInput, { - placeholder: "Insert Raw Github Link of Theme (https://raw.githubusercontent.com/...)", - onChange: value => {customUrl = value.trim();} - }) - }), - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { - onClick: _ => { - if (customUrl) { - customList.push(customUrl); - BDFDB.DataUtils.save(BDFDB.ArrayUtils.removeCopies(customList), this, "custom"); - BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); - } - }, - children: BDFDB.LanguageUtils.LanguageStrings.ADD - }) - ] - }) - }), - customList.length ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsPanelInner, { - title: "Custom Theme List:", - className: BDFDB.disCNS.margintop8 + BDFDB.disCN.marginbottom20, - first: true, - last: true, - children: customList.map(url => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Card, { - children: url, - onRemove: _ => { - BDFDB.ArrayUtils.remove(customList, url, true); - BDFDB.DataUtils.save(customList, this, "custom"); - BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); - } - })) - }) : null, - BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - type: "Button", - color: BDFDB.LibraryComponents.Button.Colors.RED, - label: "Remove all custom added Themes", - onClick: _ => { - BDFDB.ModalUtils.confirm(this, "Are you sure you want to remove all added Themes from your own list", _ => { - BDFDB.DataUtils.save([], this, "custom"); - BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); - }); - }, - children: BDFDB.LanguageUtils.LanguageStrings.REMOVE - }) - ].flat(10).filter(n => n) - })); - settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { - title: "Refetch All", - collapseStates: collapseStates, - children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { - type: "Button", - label: "Force all Themes to be fetched again", - onClick: _ => { - loading = {is:false, timeout:null, amount:0}; - this.loadThemes(); - }, - children: BDFDB.LanguageUtils.LanguageStrings.ERRORS_RELOAD - }) - })); - - return settingsPanel = BDFDB.PluginUtils.createSettingsPanel(this, settingsItems); - } - - // Legacy - load () {} - - start () { - if (!window.BDFDB) window.BDFDB = {myPlugins:{}}; - if (window.BDFDB && window.BDFDB.myPlugins && typeof window.BDFDB.myPlugins == "object") window.BDFDB.myPlugins[this.getName()] = this; - let libraryScript = document.querySelector("head script#BDFDBLibraryScript"); - if (!libraryScript || (performance.now() - libraryScript.getAttribute("date")) > 600000) { - if (libraryScript) libraryScript.remove(); - libraryScript = document.createElement("script"); - libraryScript.setAttribute("id", "BDFDBLibraryScript"); - libraryScript.setAttribute("type", "text/javascript"); - libraryScript.setAttribute("src", "https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js"); - libraryScript.setAttribute("date", performance.now()); - libraryScript.addEventListener("load", _ => {this.initialize();}); - document.head.appendChild(libraryScript); - } - else if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) this.initialize(); - this.startTimeout = setTimeout(_ => { - try {return this.initialize();} - catch (err) {console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not initiate plugin! " + err);} - }, 30000); - } - - initialize () { - if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { - if (this.started) return; - BDFDB.PluginUtils.init(this); - - let oldfavorites = BDFDB.DataUtils.load(this, "favorites"); // REMOVE 26.07.2020 - if (BDFDB.ObjectUtils.is(oldfavorites) && Object.keys(oldfavorites).length) { - let newfavorites = []; - for (let url in oldfavorites) if (oldfavorites[url]) newfavorites.push(url); - BDFDB.DataUtils.save(newfavorites, this, "favorites"); - } - - this.forceUpdateAll(); - - this.loadThemes(); - - updateInterval = BDFDB.TimeUtils.interval(_ => {this.checkForNewThemes();}, 1000*60*30); - } - else console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not load BD functions!"); - } - - - stop () { - if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { - this.stopping = true; - - BDFDB.TimeUtils.clear(updateInterval); - BDFDB.TimeUtils.clear(loading.timeout); - - this.forceUpdateAll(); - - BDFDB.DOMUtils.remove(".bd-themerepobutton", ".themerepo-notice", ".themerepo-loadingicon"); - - BDFDB.PluginUtils.clear(this); - } - } - - - // Begin of own functions - - forceUpdateAll () { - settings = BDFDB.DataUtils.get(this, "settings"); - modalSettings = BDFDB.DataUtils.get(this, "modalSettings"); - favorites = BDFDB.DataUtils.load(this, "favorites"); - favorites = BDFDB.ArrayUtils.is(favorites) ? favorites : []; - customList = BDFDB.DataUtils.load(this, "custom"); - customList = BDFDB.ArrayUtils.is(customList) ? customList : []; - - BDFDB.ModuleUtils.forceAllUpdates(this); - } - - onSettingsClosed () { - if (this.SettingsUpdated) { - delete this.SettingsUpdated; - this.forceUpdateAll(); - } - } - - onUserSettingsCogContextMenu (e) { - BDFDB.TimeUtils.timeout(_ => { - let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", "BandagedBD"]]}); - if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children.push(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { - label: "Theme Repo", - id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"), - action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); - BDFDB.LibraryModules.UserSettingsUtils.open("themerepo"); - } - })); - }); - } - - processSettingsView (e) { - if (BDFDB.ArrayUtils.is(e.instance.props.sections) && e.instance.props.sections[0] && e.instance.props.sections[0].label == BDFDB.LanguageUtils.LanguageStrings.USER_SETTINGS && !e.instance.props.sections.find(n => n.section == "themerepo")) { - let oldSettings = !e.instance.props.sections.find(n => n.section == "themes"); - let isPRinjected = oldSettings && e.instance.props.sections.find(n => n.section == "pluginrepo"); - let search = oldSettings ? (isPRinjected ? n => n.section == "pluginrepo" : n => n.section == BDFDB.DiscordConstants.UserSettingsSections.DEVELOPER_OPTIONS) : n => n.section == BDFDB.DiscordConstants.UserSettingsSections.CHANGE_LOG || n.section == "changelog" - let index = e.instance.props.sections.indexOf(e.instance.props.sections.find(search)); - if (index > -1) { - e.instance.props.sections.splice(oldSettings ? index + 1 : index - 1, 0, { - label: "Theme Repo", - section: "themerepo", - element: _ => { - let options = Object.assign({}, modalSettings); - options.updated = options.updated && !showOnlyOutdated; - options.outdated = options.outdated || showOnlyOutdated; - options.downloadable = options.downloadable && !showOnlyOutdated; - options.searchString = ""; - options.sortKey = forcedSort || Object.keys(sortKeys)[0]; - options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; - options.useLightMode = BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight; - options.useNormalizer = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.normalizedClasses); - options.useThemeFixer = false; - options.useCustomCSS = false; - - return BDFDB.ReactUtils.createElement(RepoListComponent, options, true); - } - }); - if (oldSettings && !isPRinjected) e.instance.props.sections.splice(index + 1, 0, {section: "DIVIDER"}); - } - } - } - - processStandardSidebarView (e) { - if (BDFDB.ReactUtils.getValue(e, "instance.props.content.props.section") == "themerepo") { - let content = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregion]]}); - if (content) content.props.className = BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repolistwrapper, content.props.className); - let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregionscroller]]}); - if (index > -1) { - let options = {}; - options.searchString = ""; - options.sortKey = forcedSort || Object.keys(sortKeys)[0]; - options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; - children[index] = [ - BDFDB.ReactUtils.createElement(RepoListHeaderComponent, options, true), - children[index] - ]; - } - } - } - - createFixerCSS (body) { - let oldcss = body.replace(/\n/g, "\\n").replace(/\t/g, "\\t").replace(/\r/g, "\\r").split("REPLACE_CLASS_"); - let newcss = oldcss.shift(); - for (let str of oldcss) { - let reg = /([A-z0-9_]+)(.*)/.exec(str); - newcss += BDFDB.dotCN[reg[1]] + reg[2]; - } - return newcss.replace(/\\n/g, "\n").replace(/\\t/g, "\t").replace(/\\r/g, "\r"); - } - - createGeneratorInputs (theme, generatorValues) { - if (!BDFDB.ObjectUtils.is(theme) || !BDFDB.ObjectUtils.is(generatorValues) || !theme.fullcss) return null; - return inputRefs; - } - - generateTheme (theme, generatorValues) { - if (!BDFDB.ObjectUtils.is(theme) || !BDFDB.ObjectUtils.is(generatorValues)) return ""; - let css = theme.fullcss; - for (let inputId in generatorValues) if (generatorValues[inputId].value && generatorValues[inputId].value.trim() && generatorValues[inputId].value != generatorValues[inputId].oldValue) css = css.replace(new RegExp(`--${BDFDB.StringUtils.regEscape(inputId)}(\\s*):(\\s*)${BDFDB.StringUtils.regEscape(generatorValues[inputId].oldValue)}`,"g"),`--${inputId}$1:$2${generatorValues[inputId].value}`); - return css; - } - - loadThemes () { - BDFDB.DOMUtils.remove(".themerepo-loadingicon"); - let getThemeInfo, outdated = 0, newEntries = 0, i = 0, NFLDreplace = null; - let tags = ["name","description","author","version"]; - let newEntriesData = BDFDB.DataUtils.load(this, "newentriesdata"); - cachedThemes = (newEntriesData.urlbase64 ? atob(newEntriesData.urlbase64).split("\n") : []).concat(customList); - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeList.txt", (error, response, body) => { - if (!error && body) { - body = body.replace(/[\r\t]/g, ""); - BDFDB.DataUtils.save(btoa(body), this, "newentriesdata", "urlbase64"); - loadedThemes = {}; - grabbedThemes = body.split("\n").filter(n => n); - BDFDB.LibraryRequires.request("https://github.com/NFLD99/Better-Discord", (error2, response2, body2) => { - if (!error2 && body2) { - NFLDreplace = /\/NFLD99\/Better-Discord\/tree\/master\/Themes_[^"]+">([^<]+)/i.exec(body2); - NFLDreplace = NFLDreplace && NFLDreplace.length > 1 ? NFLDreplace[1] : null; - } - foundThemes = grabbedThemes.concat(customList); - - loading = {is:true, timeout:BDFDB.TimeUtils.timeout(_ => { - BDFDB.TimeUtils.clear(loading.timeout); - if (this.started) { - if (loading.is && loading.amount < 4) BDFDB.TimeUtils.timeout(_ => {this.loadThemes();}, 10000); - loading = {is: false, timeout:null, amount:loading.amount}; - } - },1200000), amount:loading.amount+1}; - - let loadingicon = BDFDB.DOMUtils.create(themeRepoIcon); - BDFDB.DOMUtils.addClass(loadingicon, "themerepo-loadingicon"); - loadingicon.addEventListener("mouseenter", _ => { - BDFDB.TooltipUtils.create(loadingicon, this.getLoadingTooltipText(), { - type: "left", - delay: 500, - style: "max-width: unset;", - selector: "themerepo-loading-tooltip" - }); - }); - BDFDB.PluginUtils.addLoadingIcon(loadingicon); - - getThemeInfo(_ => { - if (!this.started) { - BDFDB.TimeUtils.clear(loading.timeout); - return; - } - BDFDB.TimeUtils.clear(loading.timeout); - BDFDB.DOMUtils.remove(loadingicon, ".themerepo-loadingicon"); - loading = {is:false, timeout:null, amount:loading.amount}; - - BDFDB.LogUtils.log("Finished fetching Themes.", this.name); - if (list) BDFDB.ReactUtils.forceUpdate(list); - - if ((settings.notifyOutdated || settings.notifyOutdated == undefined) && outdated > 0) { - let oldbarbutton = document.querySelector(".themerepo-outdate-notice " + BDFDB.dotCN.noticedismiss); - if (oldbarbutton) oldbarbutton.click(); - let bar = BDFDB.NotificationUtils.notice(`${outdated} of your Themes ${outdated == 1 ? "is" : "are"} outdated. Check:`, { - type: "danger", - btn: "ThemeRepo", - selector: "themerepo-notice themerepo-outdate-notice", - customicon: themeRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") - }); - bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { - showOnlyOutdated = true; - BDFDB.LibraryModules.UserSettingsUtils.open("themerepo"); - bar.querySelector(BDFDB.dotCN.noticedismiss).click(); - }); - } - - if (settings.notifyNewEntries && newEntries > 0) { - let oldbarbutton = document.querySelector(".themerepo-newentries-notice " + BDFDB.dotCN.noticedismiss); - if (oldbarbutton) oldbarbutton.click(); - let single = newEntries == 1; - let bar = BDFDB.NotificationUtils.notice(`There ${single ? "is" : "are"} ${newentries} new Theme${single ? "" : "s"} in the Repo. Check:`, { - type: "success", - btn: "ThemeRepo", - selector: "themerepo-notice themerepo-newentries-notice", - customicon: themeRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") - }); - bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { - forcedSort = "NEW"; - forcedOrder = "ASC"; - BDFDB.LibraryModules.UserSettingsUtils.open("themerepo"); - bar.querySelector(BDFDB.dotCN.noticedismiss).click(); - }); - } - - if (BDFDB.UserUtils.me.id == "278543574059057154") { - let wrongUrls = []; - for (let url of foundThemes) if (url && !loadedThemes[url] && !wrongUrls.includes(url)) wrongUrls.push(url); - if (wrongUrls.length) { - let bar = BDFDB.NotificationUtils.notice(`ThemeRepo: ${wrongUrls.length} Theme${wrongUrls.length > 1 ? "s" : ""} could not be loaded.`, { - type: "danger", - btn: "List", - selector: "themerepo-notice themerepo-fail-notice", - customicon: themeRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") - }); - bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", e => { - let toast = BDFDB.NotificationUtils.toast(wrongUrls.join("\n"), {type: "error"}); - toast.style.setProperty("overflow", "hidden"); - for (let url of wrongUrls) console.log(url); - }); - } - } - - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/GeneratorList.txt", (error3, response3, body3) => { - if (!error3 && body3) for (let url of body3.replace(/[\r\t]/g, "").split("\n").filter(n => n)) if (loadedThemes[url]) generatorThemes.push(url); - }); - }); - }); - } - }); - - getThemeInfo = (callback) => { - if (i >= foundThemes.length || !this.started || !loading.is) { - callback(); - return; - } - let url = foundThemes[i]; - let requesturl = NFLDreplace && url.includes("NFLD99/Better-Discord/master/Themes") ? url.replace("master/Themes", "master/" + NFLDreplace) : url; - BDFDB.LibraryRequires.request(requesturl, (error, response, body) => { - if (!response) { - if (url && BDFDB.ArrayUtils.getAllIndexes(foundThemes, url).length < 2) foundThemes.push(url); - } - else if (body && body.indexOf("404: Not Found") != 0 && response.statusCode == 200) { - let theme = {}, text = body; - if ((text.split("*//").length > 1 || text.indexOf("/**") == 0) && text.split("\n").length > 1) { - let hasMETAline = text.replace(/\s/g, "").indexOf("//META{"); - if (hasMETAline < 20 && hasMETAline > -1) { - let searchtext = text.replace(/\s*:\s*/g, ":").replace(/\s*}\s*/g, "}"); - for (let tag of tags) { - let result = searchtext.split('"' + tag + '":"'); - result = result.length > 1 ? result[1].split('",')[0].split('"}')[0] : null; - result = result && tag != "version" ? result.charAt(0).toUpperCase() + result.slice(1) : result; - theme[tag] = result ? result.trim() : result; - } - } - else { - let searchtext = text.replace(/[\r\t| ]*\*\s*/g, "*"); - for (let tag of tags) { - let result = searchtext.split('@' + tag + ' '); - result = result.length > 1 ? result[1].split('\n')[0] : null; - result = result && tag != "version" ? result.charAt(0).toUpperCase() + result.slice(1) : result; - theme[tag] = result ? result.trim() : result; - } - } - - let valid = true; - for (let tag of tags) if (theme[tag] === null) valid = false; - if (valid) { - theme.fullcss = text; - theme.css = hasMETAline < 20 && hasMETAline > -1 ? text.split("\n").slice(1).join("\n").replace(/[\r|\n|\t]/g, "") : text.replace(/[\r|\n|\t]/g, ""); - theme.url = url; - theme.requesturl = requesturl; - loadedThemes[url] = theme; - let instTheme = BDFDB.BDUtils.getTheme(theme.name); - if (instTheme && instTheme.author.toUpperCase() == theme.author.toUpperCase() && instTheme.version != theme.version) outdated++; - if (!cachedThemes.includes(url)) newentries++; - } - } - } - i++; - - let loadingTooltip = document.querySelector(".themerepo-loading-tooltip"); - if (loadingTooltip) { - BDFDB.DOMUtils.setText(loadingTooltip.querySelector(BDFDB.dotCN.tooltipcontent), this.getLoadingTooltipText()); - loadingTooltip.update(); - } - - getThemeInfo(callback); - }); - } - } - - getLoadingTooltipText () { - return `Loading ThemeRepo - [${Object.keys(loadedThemes).length}/${Object.keys(grabbedThemes).length}]`; - } - - checkForNewThemes () { - BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeList.txt", (error, response, result) => { - if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n").filter(n => n), grabbedThemes)) { - loading = {is:false, timeout:null, amount:0}; - this.loadThemes(); - } - }); - } - - downloadTheme (data) { - BDFDB.LibraryRequires.request(data.requesturl, (error, response, body) => { - if (error) BDFDB.NotificationUtils.toast(`Unable to download Theme "${data.name}".`, {type:"danger"}); - else this.createThemeFile(data.requesturl.split("/").pop(), body); - }); - } - - createThemeFile (filename, content) { - BDFDB.LibraryRequires.fs.writeFile(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getThemesFolder(), filename), content, (error) => { - if (error) BDFDB.NotificationUtils.toast(`Unable to save Theme "${filename}".`, {type:"danger"}); - else BDFDB.NotificationUtils.toast(`Successfully saved Theme "${filename}".`, {type:"success"}); - }); - } - - applyTheme (data) { - if (data.name && BDFDB.BDUtils.isThemeEnabled(data.name) == false) { - let id = data.name.replace(/^[^a-z]+|[^\w-]+/gi, "-"); - BDFDB.DOMUtils.remove(`style#${id}`); - document.head.appendChild(BDFDB.DOMUtils.create(``)); - BDFDB.BDUtils.enableTheme(data.name, false); - BDFDB.LogUtils.log(`Applied Theme ${data.name}.`, this.name); - } - } - - deleteThemeFile (data) { - let filename = data.requesturl.split("/").pop(); - BDFDB.LibraryRequires.fs.unlink(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getThemesFolder(), filename), (error) => { - if (error) BDFDB.NotificationUtils.toast(`Unable to delete Theme "${filename}".`, {type:"danger"}); - else BDFDB.NotificationUtils.toast(`Successfully deleted Theme "${filename}".`); - }); - } - - removeTheme (data) { - if (data.name && BDFDB.BDUtils.isThemeEnabled(data.name) == true) { - let id = data.name.replace(/^[^a-z]+|[^\w-]+/gi, "-"); - BDFDB.DOMUtils.remove(`style#${id}`); - BDFDB.BDUtils.disableTheme(data.name, false); - BDFDB.LogUtils.log(`Removed Theme ${data.name}.`, this.name); - } - } - } -})(); - -module.exports = ThemeRepo; +//META{"name":"ThemeRepo","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Plugins/ThemeRepo","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/ThemeRepo/ThemeRepo.plugin.js"}*// + +var ThemeRepo = (_ => { + var _this; + var loading, cachedThemes, grabbedThemes, foundThemes, loadedThemes, generatorThemes, updateInterval; + var list, header, preview, searchTimeout, updateGeneratorTimeout, forceRerenderGenerator, forcedSort, forcedOrder, showOnlyOutdated; + var settings = {}, modalSettings = {}, favorites = [], customList = []; + + const themeStates = { + UPDATED: 0, + OUTDATED: 1, + DOWNLOADABLE: 2 + }; + const buttonData = { + UPDATED: { + colorClass: "GREEN", + backgroundColor: "STATUS_GREEN", + text: "Updated" + }, + OUTDATED: { + colorClass: "RED", + backgroundColor: "STATUS_RED", + text: "Outdated" + }, + DOWNLOADABLE: { + colorClass: "BRAND", + backgroundColor: "BRAND", + text: "Download" + } + }; + const favStates = { + FAVORIZED: 0, + NOT_FAVORIZED: 1 + }; + const newStates = { + NEW: 0, + NOT_NEW: 1 + }; + const sortKeys = { + NAME: "Name", + AUTHOR: "Author", + VERSION: "Version", + DESCRIPTION: "Description", + STATE: "Update State", + FAV: "Favorites", + NEW: "New Themes" + }; + const orderKeys = { + ASC: "ascending", + DESC: "descending" + }; + + const themeRepoIcon = ``; + + const RepoListComponent = class ThemeList extends BdApi.React.Component { + componentDidMount() { + list = this; + BDFDB.TimeUtils.timeout(_ => { + forcedSort = null; + forcedOrder = null; + showOnlyOutdated = false; + }, 5000); + } + filterThemes() { + let themes = Object.keys(loadedThemes).map(url => { + let theme = loadedThemes[url]; + let instTheme = BDFDB.BDUtils.getTheme(theme.name); + if (instTheme && instTheme.author.toUpperCase() == theme.author.toUpperCase()) theme.state = instTheme.version != theme.version ? themeStates.OUTDATED : themeStates.UPDATED; + else theme.state = themeStates.DOWNLOADABLE; + return { + url: theme.url, + requesturl: theme.requesturl, + search: (theme.name + " " + theme.version + " " + theme.author + " " + theme.description).toUpperCase(), + name: theme.name, + version: theme.version, + author: theme.author, + description: theme.description || "No Description found.", + fav: favorites.includes(url) ? favStates.FAVORIZED : favStates.NOT_FAVORIZED, + new: !cachedThemes.includes(url) ? newStates.NEW : newStates.NOT_NEW, + state: theme.state, + css: theme.css, + fullcss: theme.fullcss + }; + }); + if (!this.props.updated) themes = themes.filter(theme => theme.state != themeStates.UPDATED); + if (!this.props.outdated) themes = themes.filter(theme => theme.state != themeStates.OUTDATED); + if (!this.props.downloadable) themes = themes.filter(theme => theme.state != themeStates.DOWNLOADABLE); + if (this.props.searchString) { + let searchString = this.props.searchString.toUpperCase(); + themes = themes.filter(theme => theme.search.indexOf(searchString) > -1).map(theme => Object.assign({}, theme, { + name: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.name, searchString))) || theme.name, + version: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.version, searchString))) || theme.version, + author: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.author, searchString))) || theme.author, + description: BDFDB.ReactUtils.elementToReact(BDFDB.DOMUtils.create(BDFDB.StringUtils.highlight(theme.description, searchString))) || theme.description + })); + } + + BDFDB.ArrayUtils.keySort(themes, (!this.props.sortKey || this.props.sortKey == "NEW" && !themes.some(theme => theme.new == newStates.NEW) ? Object.keys(sortKeys)[0] : this.props.sortKey).toLowerCase()); + if (this.props.orderKey == "DESC") themes.reverse(); + return themes; + } + openPreview() { + preview = BDFDB.WindowUtils.open(this, "https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/DiscordPreview.html", { + alwaysOnTop: settings.keepOnTop, + showOnReady: true, + frame: false, + onLoad: _ => { + let nativeCSS = document.querySelector("head link[rel='stylesheet'][integrity]"); + let titleBar = document.querySelector(BDFDB.dotCN.titlebar); + preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "OnLoad", + username: ${JSON.stringify(BDFDB.UserUtils.me.username || "")}, + id: ${JSON.stringify(BDFDB.UserUtils.me.id || "")}, + discriminator: ${JSON.stringify(BDFDB.UserUtils.me.discriminator || "")}, + avatar: ${JSON.stringify(BDFDB.UserUtils.getAvatar() || "")}, + classes: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClasses))}, + classModules: ${JSON.stringify(JSON.stringify(BDFDB.DiscordClassModules))}, + nativeCSS: ${JSON.stringify(nativeCSS && nativeCSS.href || "")}, + htmlClassName: ${JSON.stringify(document.documentElement.className || "")}, + titleBar: ${JSON.stringify(titleBar && titleBar.outerHTML || "")} + })`); + if (this.props.currentTheme) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "NewTheme", + checked: true, + css: ${JSON.stringify(this.props.currentTheme.css || "")} + })`); + if (this.props.currentGenerator) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "NewTheme", + checked: true, + css: ${JSON.stringify((loadedThemes[this.props.currentGenerator] || {}).fullcss || "")} + })`); + if (this.props.useLightMode) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "DarkLight", + checked: true + })`); + if (this.props.useNormalizer) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "Normalize", + checked: true + })`); + if (this.props.useCustomCSS) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "CustomCSS", + checked: true + })`); + if (this.props.useThemeFixer) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "ThemeFixer", + checked: true + })`); + }, + onClose: _ => { + preview = null; + } + }); + } + renderCard(theme) { + let buttonConfig = buttonData[(Object.entries(themeStates).find(n => n[1] == theme.state) || [])[0]]; + return buttonConfig && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.AddonCard, { + data: theme, + controls: [ + theme.new == newStates.NEW && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Badges.TextBadge, { + style: { + borderRadius: 3, + textTransform: "uppercase", + background: BDFDB.DiscordConstants.Colors.STATUS_YELLOW + }, + text: BDFDB.LanguageUtils.LanguageStrings.NEW + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FavButton, { + className: BDFDB.disCN._repocontrolsbutton, + isFavorite: theme.fav == favStates.FAVORIZED, + onClick: value => { + theme.fav = value ? favStates.FAVORIZED : favStates.NOT_FAVORIZED; + if (value) favorites.push(theme.url); + else BDFDB.ArrayUtils.remove(favorites, theme.url, true); + BDFDB.DataUtils.save(favorites, _this, "favorites"); + } + }), + BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repocontrolsbutton, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { + text: "Go to Source", + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { + name: BDFDB.LibraryComponents.SvgIcon.Names.GITHUB, + className: BDFDB.disCN._repoicon, + onClick: _ => { + let gitUrl = null; + if (theme.url.indexOf("https://raw.githubusercontent.com") == 0) { + let temp = theme.url.replace("//raw.githubusercontent", "//github").split("/"); + temp.splice(5, 0, "blob"); + gitUrl = temp.join("/"); + } + else if (theme.url.indexOf("https://gist.githubusercontent.com/") == 0) { + gitUrl = theme.url.replace("//gist.githubusercontent", "//gist.github").split("/raw/")[0]; + } + if (gitUrl) BDFDB.DiscordUtils.openLink(gitUrl, settings.useChromium); + } + }) + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Switch, { + value: this.props.currentTheme && this.props.currentTheme.url == theme.url, + onChange: (value, instance) => { + if (value) this.props.currentTheme = theme; + else delete this.props.currentTheme; + delete this.props.currentGenerator; + delete this.props.generatorValues; + if (preview) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "NewTheme", + checked: ${value}, + css: ${JSON.stringify(theme.css || "")} + })`); + else this.openPreview(); + BDFDB.ReactUtils.forceUpdate(this); + } + }) + ], + buttons: [ + theme.state != themeStates.DOWNLOADABLE && BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repocontrolsbutton, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { + text: "Delete Themefile", + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { + name: BDFDB.LibraryComponents.SvgIcon.Names.NOVA_TRASH, + className: BDFDB.disCN._repoicon, + onClick: (e, instance) => { + _this.removeTheme(theme); + _this.deleteThemeFile(theme); + BDFDB.TimeUtils.timeout(_ => { + BDFDB.ReactUtils.forceUpdate(this); + }, 3000); + } + }) + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { + size: BDFDB.LibraryComponents.Button.Sizes.MIN, + color: BDFDB.LibraryComponents.Button.Colors[buttonConfig.colorClass], + style: {backgroundColor: BDFDB.DiscordConstants.Colors[buttonConfig.backgroundColor]}, + children: buttonConfig.text, + onClick: (e, instance) => { + _this.downloadTheme(theme); + BDFDB.TimeUtils.timeout(_ => { + BDFDB.ReactUtils.forceUpdate(this); + if (this.props.rnmStart) _this.applyTheme(theme); + }, 3000); + } + }) + ] + }); + } + render() { + let automaticLoading = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.automaticLoading); + if (!this.props.tab) this.props.tab = "Themes"; + this.props.entries = (!loading.is && !BDFDB.ObjectUtils.isEmpty(loadedThemes) ? this.filterThemes() : []).map(theme => this.renderCard(theme)).filter(n => n); + + BDFDB.TimeUtils.timeout(_ => { + if (!loading.is && header && this.props.entries.length != header.props.amount) { + header.props.amount = this.props.entries.length; + BDFDB.ReactUtils.forceUpdate(header); + } + }); + + if (forceRerenderGenerator && this.props.tab == "Generator") BDFDB.TimeUtils.timeout(_ => { + forceRerenderGenerator = false; + BDFDB.ReactUtils.forceUpdate(this); + }); + + return [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { + tab: "Themes", + open: this.props.tab == "Themes", + render: false, + children: loading.is ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, + justify: BDFDB.LibraryComponents.Flex.Justify.CENTER, + style: {marginTop: "50%"}, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, { + type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextElement, { + className: BDFDB.disCN.margintop20, + style: {textAlign: "center"}, + children: "Themes are still being fetched. Please wait a moment." + }) + ] + }) : BDFDB.ReactUtils.forceStyle(BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repolist, + style: { + display: "flex", + flexDirection: "column", + margin: "unset", + width: "unset" + }, + children: this.props.entries + }), ["display", "flex-direction", "margin", "width"]) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { + tab: "Generator", + open: this.props.tab == "Generator", + render: false, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Select", + label: "Choose a Generator Theme", + basis: "60%", + value: this.props.currentGenerator || "-----", + options: ["-----"].concat(generatorThemes).map(url => ({value:url, label:(loadedThemes[url] || {}).name || "-----"})).sort((x, y) => (x.label < y.label ? -1 : x.label > y.label ? 1 : 0)), + searchable: true, + onChange: (value, instance) => { + if (loadedThemes[value.value]) { + if (this.props.currentGenerator) forceRerenderGenerator = true; + this.props.currentGenerator = value.value; + this.props.generatorValues = {}; + } + else { + delete this.props.currentGenerator; + delete this.props.generatorValues; + } + delete this.props.currentTheme; + if (preview) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "NewTheme", + checked: true, + css: ${JSON.stringify((loadedThemes[value.value] || {}).fullcss || "")} + })`); + else this.openPreview(); + BDFDB.ReactUtils.forceUpdate(this); + } + }), + !this.props.currentGenerator ? null : (forceRerenderGenerator ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, + justify: BDFDB.LibraryComponents.Flex.Justify.CENTER, + style: {marginTop: "50%"}, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Spinner, { + type: BDFDB.LibraryComponents.Spinner.Type.WANDERING_CUBES + }) + }) : [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Button", + label: "Download generated Theme", + children: "Download", + onClick: _ => { + _this.createThemeFile(this.props.currentGenerator.name + ".theme.css", _this.generateTheme(this.props.currentGenerator, this.props.generatorValues)); + } + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormDivider, { + className: BDFDB.disCN.marginbottom20 + }), + (_ => { + let vars = loadedThemes[this.props.currentGenerator].fullcss.split(":root"); + if (vars.length < 2) return null; + vars = vars[1].replace(/\t\(/g, " (").replace(/\r|\t| {2,}/g, "").replace(/\/\*\n*((?!\/\*|\*\/).|\n)*\n+((?!\/\*|\*\/).|\n)*\n*\*\//g, "").replace(/\n\/\*.*?\*\//g, "").replace(/\n/g, ""); + vars = vars.split("{"); + vars.shift(); + vars = vars.join("{").replace(/\s*(:|;|--|\*)\s*/g, "$1"); + vars = vars.split("}")[0]; + vars = vars.slice(2).split(/;--|\*\/--/); + let inputRefs = []; + for (let varStr of vars) { + varStr = varStr.split(":"); + let varName = varStr.shift().trim(); + varStr = varStr.join(":").split(/;[^A-z0-9]|\/\*/); + let oldValue = varStr.shift().trim(); + if (oldValue) { + let childType = "text", childMode = ""; + let isColor = BDFDB.ColorUtils.getType(oldValue); + let isComp = !isColor && /[0-9 ]+,[0-9 ]+,[0-9 ]+/g.test(oldValue); + if (isColor || isComp) { + childType = "color"; + childMode = isComp && "comp"; + } + else { + let isUrlFile = /url\(.+\)/gi.test(oldValue); + let isFile = !isUrlFile && /(http(s)?):\/\/[(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/.test(oldValue); + if (isFile || isUrlFile) { + childType = "file"; + childMode = isUrlFile && "url"; + } + } + let varDescription = varStr.join("").replace(/\*\/|\/\*/g, "").replace(/:/g, ": ").replace(/: \//g, ":/").replace(/--/g, " --").replace(/\( --/g, "(--").trim(); + this.props.generatorValues[varName] = {value:oldValue, oldValue}; + inputRefs.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + dividerbottom: vars[vars.length-1] != varStr, + type: "TextInput", + childProps: { + type: childType, + mode: childMode, + filter: childType == "file" && "image" + }, + label: varName[0].toUpperCase() + varName.slice(1), + note: varDescription && varDescription.indexOf("*") == 0 ? varDescription.slice(1) : varDescription, + basis: "70%", + value: oldValue, + placeholder: oldValue, + onChange: value => { + BDFDB.TimeUtils.clear(updateGeneratorTimeout); + updateGeneratorTimeout = BDFDB.TimeUtils.timeout(_ => { + this.props.generatorValues[varName] = {value, oldValue}; + if (preview) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "NewTheme", + checked: true, + css: ${JSON.stringify(_this.generateTheme(loadedThemes[this.props.currentGenerator], this.props.generatorValues) || "")} + })`); + }, 1000); + } + })); + } + } + return inputRefs; + })() + ]) + ].flat(10).filter(n => n) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, { + tab: BDFDB.LanguageUtils.LanguageStrings.SETTINGS, + open: this.props.tab == BDFDB.LanguageUtils.LanguageStrings.SETTINGS, + render: false, + children: [ + !automaticLoading && BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + className: BDFDB.disCN.marginbottom20, + children: BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCNS.titledefault + BDFDB.disCN.cursordefault, + children: "To experience ThemeRepo in the best way. I would recommend you to enable BD intern reload function, that way all downloaded files are loaded into Discord without the need to reload." + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Switch", + label: "Preview in light mode", + value: this.props.useLightMode, + onChange: (value, instance) => { + this.props.useLightMode = value; + if (preview) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "DarkLight", + checked: ${this.props.useLightMode} + })`); + } + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Switch", + label: "Preview with useNormalizer classes", + value: this.props.useNormalizer, + onChange: (value, instance) => { + this.props.useNormalizer = value; + if (preview) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "Normalize", + checked: ${this.props.useNormalizer} + })`); + } + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Switch", + label: "Include Custom CSS in Preview", + value: this.props.useCustomCSS, + onChange: (value, instance) => { + this.props.useCustomCSS = value; + let customCSS = document.querySelector("style#customcss"); + if (preview && customCSS && customCSS.innerText.length > 0) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "CustomCSS", + checked: ${this.props.useCustomCSS}, + css: ${JSON.stringify(customCSS.innerText || "")} + })`); + } + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Switch", + label: "Include ThemeFixer CSS in Preview", + value: this.props.useThemeFixer, + onChange: (value, instance) => { + this.props.useThemeFixer = value; + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeFixer.css", (error, response, body) => { + if (preview) preview.executeJavaScriptSafe(`window.onmessage({ + origin: "ThemeRepo", + reason: "ThemeFixer", + checked: ${this.props.useThemeFixer}, + css: ${JSON.stringify(_this.createFixerCSS(body) || "")} + })`); + }); + } + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + className: BDFDB.disCN.marginbottom20, + type: "Button", + label: "Download ThemeFixer", + children: "Download", + onClick: _ => { + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeFixer.css", (error, response, body) => { + _this.createThemeFile("ThemeFixer.theme.css", `//META{"name":"ThemeFixer","description":"ThemeFixerCSS for transparent themes","author":"DevilBro","version":"1.0.3","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien"}*//\n\n` + _this.createFixerCSS(body)); + }); + } + }), + Object.keys(modalSettings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + className: BDFDB.disCN.marginbottom20, + type: "Switch", + plugin: _this, + keys: ["modalSettings", key], + label: _this.defaults.modalSettings[key].description, + note: key == "rnmStart" && !automaticLoading && "Automatic Loading has to be enabled", + disabled: key == "rnmStart" && !automaticLoading, + value: this.props[key], + onChange: (value, instance) => { + this.props[key] = value; + BDFDB.ReactUtils.forceUpdate(this); + } + })) + ].flat(10).filter(n => n) + }) + ]; + } + }; + + const RepoListHeaderComponent = class ThemeListHeader extends BdApi.React.Component { + componentDidMount() { + header = this; + } + render() { + if (!this.props.tab) this.props.tab = "Themes"; + return BDFDB.ReactUtils.createElement("div", { + className: BDFDB.disCN._repolistheader, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + className: BDFDB.disCN.marginbottom4, + align: BDFDB.LibraryComponents.Flex.Align.CENTER, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormTitle, { + tag: BDFDB.LibraryComponents.FormComponents.FormTitle.Tags.H2, + className: BDFDB.disCN.marginreset, + children: `Theme Repo — ${loading.is ? 0 : this.props.amount || 0}/${loading.is ? 0 : Object.keys(loadedThemes).length}` + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SearchBar, { + autoFocus: true, + query: this.props.searchString, + onChange: (value, instance) => { + BDFDB.TimeUtils.clear(searchTimeout); + searchTimeout = BDFDB.TimeUtils.timeout(_ => { + this.props.searchString = list.props.searchString = value.replace(/[<|>]/g, ""); + BDFDB.ReactUtils.forceUpdate(this, list); + }, 1000); + }, + onClear: instance => { + this.props.searchString = list.props.searchString = ""; + BDFDB.ReactUtils.forceUpdate(this, list); + } + }) + }) + ] + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + className: BDFDB.disCNS.tabbarcontainer + BDFDB.disCN.tabbarcontainerbottom, + align: BDFDB.LibraryComponents.Flex.Align.CENTER, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TabBar, { + className: BDFDB.disCN.tabbar, + itemClassName: BDFDB.disCN.tabbaritem, + type: BDFDB.LibraryComponents.TabBar.Types.TOP, + selectedItem: this.props.tab, + items: [{value:"Themes"}, {value:"Generator"}, {value:BDFDB.LanguageUtils.LanguageStrings.SETTINGS}], + onItemSelect: (value, instance) => { + this.props.tab = list.props.tab = value; + BDFDB.ReactUtils.forceUpdate(list); + } + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { + label: BDFDB.LanguageUtils.LibraryStrings.sort_by + ":", + value: { + label: sortKeys[this.props.sortKey], + value: this.props.sortKey + }, + options: Object.keys(sortKeys).filter(n => n != "NEW" || Object.keys(loadedThemes).some(p => !cachedThemes.includes(p))).map(key => ({ + label: sortKeys[key], + value: key + })), + onChange: (key, instance) => { + this.props.sortKey = list.props.sortKey = key; + BDFDB.ReactUtils.forceUpdate(this, list); + } + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.QuickSelect, { + label: BDFDB.LanguageUtils.LibraryStrings.order + ":", + value: { + label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[this.props.orderKey]], + value: this.props.orderKey + }, + options: Object.keys(orderKeys).map(key => ({ + label: BDFDB.LanguageUtils.LibraryStrings[orderKeys[key]], + value: key + })), + onChange: (key, instance) => { + this.props.orderKey = list.props.orderKey = key; + BDFDB.ReactUtils.forceUpdate(this, list); + } + }) + }) + ] + }) + ] + }); + } + }; + + return class ThemeRepo { + getName () {return "ThemeRepo";} + + getVersion () {return "2.0.4";} + + 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":[["Inbuilt Repo","The theme repo no longer opens a modal to display the repo, instead the list is rendered in the settings window"]] + }; + + this.patchedModules = { + before: { + SettingsView: "render" + }, + after: { + StandardSidebarView: "render" + } + }; + } + + initConstructor () { + _this = this; + + loading = {is:false, timeout:null, amount:0}; + + cachedThemes = []; + grabbedThemes = []; + foundThemes = []; + loadedThemes = {}; + generatorThemes = []; + + this.defaults = { + settings: { + useChromium: {value:false, description:"Use an inbuilt browser window instead of opening your default browser"}, + keepOnTop: {value:false, description:"Keep the preview window always on top"}, + notifyOutdated: {value:true, description:"Notifies you when one of your Themes is outdated"}, + notifyNewentries: {value:true, description:"Notifies you when there are new entries in the Repo"} + }, + modalSettings: { + updated: {value:true, modify:true, description:"Show updated Themes",}, + outdated: {value:true, modify:true, description:"Show outdated Themes"}, + downloadable: {value:true, modify:true, description:"Show downloadable Themes"}, + rnmStart: {value:true, modify:false, description:"Apply Theme after Download"} + } + }; + + this.css = ` + .${this.name}-modal.repo-modal { + max-width: 800px; + min-height: 90vh; + max-height: 90vh; + } + `; + } + + getSettingsPanel (collapseStates = {}) { + if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded || !this.started) return; + let customUrl = ""; + let settingsPanel, settingsItems = []; + + settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { + title: "Settings", + collapseStates: collapseStates, + children: Object.keys(settings).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, { + className: BDFDB.disCN.marginbottom8, + type: "Switch", + plugin: this, + keys: ["settings", key], + label: this.defaults.settings[key].description, + value: settings[key] + })) + })); + settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { + title: "Custom Themes", + collapseStates: collapseStates, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormItem, { + title: "Add Theme:", + tag: BDFDB.LibraryComponents.FormComponents.FormTitleTags.H3, + className: BDFDB.disCNS.margintop4 + BDFDB.disCN.marginbottom8, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { + align: BDFDB.LibraryComponents.Flex.Align.CENTER, + children: [ + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex.Child, { + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TextInput, { + placeholder: "Insert Raw Github Link of Theme (https://raw.githubusercontent.com/...)", + onChange: value => {customUrl = value.trim();} + }) + }), + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Button, { + onClick: _ => { + if (customUrl) { + customList.push(customUrl); + BDFDB.DataUtils.save(BDFDB.ArrayUtils.removeCopies(customList), this, "custom"); + BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); + } + }, + children: BDFDB.LanguageUtils.LanguageStrings.ADD + }) + ] + }) + }), + customList.length ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsPanelInner, { + title: "Custom Theme List:", + className: BDFDB.disCNS.margintop8 + BDFDB.disCN.marginbottom20, + first: true, + last: true, + children: customList.map(url => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Card, { + children: url, + onRemove: _ => { + BDFDB.ArrayUtils.remove(customList, url, true); + BDFDB.DataUtils.save(customList, this, "custom"); + BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); + } + })) + }) : null, + BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + type: "Button", + color: BDFDB.LibraryComponents.Button.Colors.RED, + label: "Remove all custom added Themes", + onClick: _ => { + BDFDB.ModalUtils.confirm(this, "Are you sure you want to remove all added Themes from your own list", _ => { + BDFDB.DataUtils.save([], this, "custom"); + BDFDB.PluginUtils.refreshSettingsPanel(this, settingsPanel, collapseStates); + }); + }, + children: BDFDB.LanguageUtils.LanguageStrings.REMOVE + }) + ].flat(10).filter(n => n) + })); + settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, { + title: "Refetch All", + collapseStates: collapseStates, + children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, { + type: "Button", + label: "Force all Themes to be fetched again", + onClick: _ => { + loading = {is:false, timeout:null, amount:0}; + this.loadThemes(); + }, + children: BDFDB.LanguageUtils.LanguageStrings.ERRORS_RELOAD + }) + })); + + return settingsPanel = BDFDB.PluginUtils.createSettingsPanel(this, settingsItems); + } + + // Legacy + load () {} + + start () { + if (!window.BDFDB) window.BDFDB = {myPlugins:{}}; + if (window.BDFDB && window.BDFDB.myPlugins && typeof window.BDFDB.myPlugins == "object") window.BDFDB.myPlugins[this.getName()] = this; + let libraryScript = document.querySelector("head script#BDFDBLibraryScript"); + if (!libraryScript || (performance.now() - libraryScript.getAttribute("date")) > 600000) { + if (libraryScript) libraryScript.remove(); + libraryScript = document.createElement("script"); + libraryScript.setAttribute("id", "BDFDBLibraryScript"); + libraryScript.setAttribute("type", "text/javascript"); + libraryScript.setAttribute("src", "https://mwittrien.github.io/BetterDiscordAddons/Plugins/BDFDB.min.js"); + libraryScript.setAttribute("date", performance.now()); + libraryScript.addEventListener("load", _ => {this.initialize();}); + document.head.appendChild(libraryScript); + } + else if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) this.initialize(); + this.startTimeout = setTimeout(_ => { + try {return this.initialize();} + catch (err) {console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not initiate plugin! " + err);} + }, 30000); + } + + initialize () { + if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { + if (this.started) return; + BDFDB.PluginUtils.init(this); + + let oldfavorites = BDFDB.DataUtils.load(this, "favorites"); // REMOVE 26.07.2020 + if (BDFDB.ObjectUtils.is(oldfavorites) && Object.keys(oldfavorites).length) { + let newfavorites = []; + for (let url in oldfavorites) if (oldfavorites[url]) newfavorites.push(url); + BDFDB.DataUtils.save(newfavorites, this, "favorites"); + } + + this.forceUpdateAll(); + + this.loadThemes(); + + updateInterval = BDFDB.TimeUtils.interval(_ => {this.checkForNewThemes();}, 1000*60*30); + } + else console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not load BD functions!"); + } + + + stop () { + if (window.BDFDB && typeof BDFDB === "object" && BDFDB.loaded) { + this.stopping = true; + + BDFDB.TimeUtils.clear(updateInterval); + BDFDB.TimeUtils.clear(loading.timeout); + + this.forceUpdateAll(); + + BDFDB.DOMUtils.remove(".bd-themerepobutton", ".themerepo-notice", ".themerepo-loadingicon"); + + BDFDB.PluginUtils.clear(this); + } + } + + + // Begin of own functions + + forceUpdateAll () { + settings = BDFDB.DataUtils.get(this, "settings"); + modalSettings = BDFDB.DataUtils.get(this, "modalSettings"); + favorites = BDFDB.DataUtils.load(this, "favorites"); + favorites = BDFDB.ArrayUtils.is(favorites) ? favorites : []; + customList = BDFDB.DataUtils.load(this, "custom"); + customList = BDFDB.ArrayUtils.is(customList) ? customList : []; + + BDFDB.ModuleUtils.forceAllUpdates(this); + } + + onSettingsClosed () { + if (this.SettingsUpdated) { + delete this.SettingsUpdated; + this.forceUpdateAll(); + } + } + + onUserSettingsCogContextMenu (e) { + BDFDB.TimeUtils.timeout(_ => { + let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", "BandagedBD"]]}); + if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children.push(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { + label: "Theme Repo", + id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"), + action: _ => { + BDFDB.LibraryModules.UserSettingsUtils.open("themerepo"); + } + })); + }); + } + + processSettingsView (e) { + if (BDFDB.ArrayUtils.is(e.instance.props.sections) && e.instance.props.sections[0] && e.instance.props.sections[0].label == BDFDB.LanguageUtils.LanguageStrings.USER_SETTINGS && !e.instance.props.sections.find(n => n.section == "themerepo")) { + let oldSettings = !e.instance.props.sections.find(n => n.section == "themes"); + let isPRinjected = oldSettings && e.instance.props.sections.find(n => n.section == "pluginrepo"); + let search = oldSettings ? (isPRinjected ? n => n.section == "pluginrepo" : n => n.section == BDFDB.DiscordConstants.UserSettingsSections.DEVELOPER_OPTIONS) : n => n.section == BDFDB.DiscordConstants.UserSettingsSections.CHANGE_LOG || n.section == "changelog" + let index = e.instance.props.sections.indexOf(e.instance.props.sections.find(search)); + if (index > -1) { + e.instance.props.sections.splice(oldSettings ? index + 1 : index - 1, 0, { + label: "Theme Repo", + section: "themerepo", + element: _ => { + let options = Object.assign({}, modalSettings); + options.updated = options.updated && !showOnlyOutdated; + options.outdated = options.outdated || showOnlyOutdated; + options.downloadable = options.downloadable && !showOnlyOutdated; + options.searchString = ""; + options.sortKey = forcedSort || Object.keys(sortKeys)[0]; + options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; + options.useLightMode = BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight; + options.useNormalizer = BDFDB.BDUtils.getSettings(BDFDB.BDUtils.settingsIds.normalizedClasses); + options.useThemeFixer = false; + options.useCustomCSS = false; + + return BDFDB.ReactUtils.createElement(RepoListComponent, options, true); + } + }); + if (oldSettings && !isPRinjected) e.instance.props.sections.splice(index + 1, 0, {section: "DIVIDER"}); + } + } + } + + processStandardSidebarView (e) { + if (BDFDB.ReactUtils.getValue(e, "instance.props.content.props.section") == "themerepo") { + let content = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregion]]}); + if (content) content.props.className = BDFDB.DOMUtils.formatClassName(BDFDB.disCN._repolistwrapper, content.props.className); + let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.settingswindowcontentregionscroller]]}); + if (index > -1) { + let options = {}; + options.searchString = ""; + options.sortKey = forcedSort || Object.keys(sortKeys)[0]; + options.orderKey = forcedOrder || Object.keys(orderKeys)[0]; + children[index] = [ + BDFDB.ReactUtils.createElement(RepoListHeaderComponent, options, true), + children[index] + ]; + } + } + } + + createFixerCSS (body) { + let oldcss = body.replace(/\n/g, "\\n").replace(/\t/g, "\\t").replace(/\r/g, "\\r").split("REPLACE_CLASS_"); + let newcss = oldcss.shift(); + for (let str of oldcss) { + let reg = /([A-z0-9_]+)(.*)/.exec(str); + newcss += BDFDB.dotCN[reg[1]] + reg[2]; + } + return newcss.replace(/\\n/g, "\n").replace(/\\t/g, "\t").replace(/\\r/g, "\r"); + } + + createGeneratorInputs (theme, generatorValues) { + if (!BDFDB.ObjectUtils.is(theme) || !BDFDB.ObjectUtils.is(generatorValues) || !theme.fullcss) return null; + return inputRefs; + } + + generateTheme (theme, generatorValues) { + if (!BDFDB.ObjectUtils.is(theme) || !BDFDB.ObjectUtils.is(generatorValues)) return ""; + let css = theme.fullcss; + for (let inputId in generatorValues) if (generatorValues[inputId].value && generatorValues[inputId].value.trim() && generatorValues[inputId].value != generatorValues[inputId].oldValue) css = css.replace(new RegExp(`--${BDFDB.StringUtils.regEscape(inputId)}(\\s*):(\\s*)${BDFDB.StringUtils.regEscape(generatorValues[inputId].oldValue)}`,"g"),`--${inputId}$1:$2${generatorValues[inputId].value}`); + return css; + } + + loadThemes () { + BDFDB.DOMUtils.remove(".themerepo-loadingicon"); + let getThemeInfo, outdated = 0, newEntries = 0, i = 0, NFLDreplace = null; + let tags = ["name","description","author","version"]; + let newEntriesData = BDFDB.DataUtils.load(this, "newentriesdata"); + cachedThemes = (newEntriesData.urlbase64 ? atob(newEntriesData.urlbase64).split("\n") : []).concat(customList); + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeList.txt", (error, response, body) => { + if (!error && body) { + body = body.replace(/[\r\t]/g, ""); + BDFDB.DataUtils.save(btoa(body), this, "newentriesdata", "urlbase64"); + loadedThemes = {}; + grabbedThemes = body.split("\n").filter(n => n); + BDFDB.LibraryRequires.request("https://github.com/NFLD99/Better-Discord", (error2, response2, body2) => { + if (!error2 && body2) { + NFLDreplace = /\/NFLD99\/Better-Discord\/tree\/master\/Themes_[^"]+">([^<]+)/i.exec(body2); + NFLDreplace = NFLDreplace && NFLDreplace.length > 1 ? NFLDreplace[1] : null; + } + foundThemes = grabbedThemes.concat(customList); + + loading = {is:true, timeout:BDFDB.TimeUtils.timeout(_ => { + BDFDB.TimeUtils.clear(loading.timeout); + if (this.started) { + if (loading.is && loading.amount < 4) BDFDB.TimeUtils.timeout(_ => {this.loadThemes();}, 10000); + loading = {is: false, timeout:null, amount:loading.amount}; + } + },1200000), amount:loading.amount+1}; + + let loadingicon = BDFDB.DOMUtils.create(themeRepoIcon); + BDFDB.DOMUtils.addClass(loadingicon, "themerepo-loadingicon"); + loadingicon.addEventListener("mouseenter", _ => { + BDFDB.TooltipUtils.create(loadingicon, this.getLoadingTooltipText(), { + type: "left", + delay: 500, + style: "max-width: unset;", + selector: "themerepo-loading-tooltip" + }); + }); + BDFDB.PluginUtils.addLoadingIcon(loadingicon); + + getThemeInfo(_ => { + if (!this.started) { + BDFDB.TimeUtils.clear(loading.timeout); + return; + } + BDFDB.TimeUtils.clear(loading.timeout); + BDFDB.DOMUtils.remove(loadingicon, ".themerepo-loadingicon"); + loading = {is:false, timeout:null, amount:loading.amount}; + + BDFDB.LogUtils.log("Finished fetching Themes.", this.name); + if (list) BDFDB.ReactUtils.forceUpdate(list); + + if ((settings.notifyOutdated || settings.notifyOutdated == undefined) && outdated > 0) { + let oldbarbutton = document.querySelector(".themerepo-outdate-notice " + BDFDB.dotCN.noticedismiss); + if (oldbarbutton) oldbarbutton.click(); + let bar = BDFDB.NotificationUtils.notice(`${outdated} of your Themes ${outdated == 1 ? "is" : "are"} outdated. Check:`, { + type: "danger", + btn: "ThemeRepo", + selector: "themerepo-notice themerepo-outdate-notice", + customicon: themeRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") + }); + bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { + showOnlyOutdated = true; + BDFDB.LibraryModules.UserSettingsUtils.open("themerepo"); + bar.querySelector(BDFDB.dotCN.noticedismiss).click(); + }); + } + + if (settings.notifyNewEntries && newEntries > 0) { + let oldbarbutton = document.querySelector(".themerepo-newentries-notice " + BDFDB.dotCN.noticedismiss); + if (oldbarbutton) oldbarbutton.click(); + let single = newEntries == 1; + let bar = BDFDB.NotificationUtils.notice(`There ${single ? "is" : "are"} ${newentries} new Theme${single ? "" : "s"} in the Repo. Check:`, { + type: "success", + btn: "ThemeRepo", + selector: "themerepo-notice themerepo-newentries-notice", + customicon: themeRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") + }); + bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", _ => { + forcedSort = "NEW"; + forcedOrder = "ASC"; + BDFDB.LibraryModules.UserSettingsUtils.open("themerepo"); + bar.querySelector(BDFDB.dotCN.noticedismiss).click(); + }); + } + + if (BDFDB.UserUtils.me.id == "278543574059057154") { + let wrongUrls = []; + for (let url of foundThemes) if (url && !loadedThemes[url] && !wrongUrls.includes(url)) wrongUrls.push(url); + if (wrongUrls.length) { + let bar = BDFDB.NotificationUtils.notice(`ThemeRepo: ${wrongUrls.length} Theme${wrongUrls.length > 1 ? "s" : ""} could not be loaded.`, { + type: "danger", + btn: "List", + selector: "themerepo-notice themerepo-fail-notice", + customicon: themeRepoIcon.replace(/#7289da/gi, "#FFF").replace(/#7f8186/gi, "#B9BBBE") + }); + bar.querySelector(BDFDB.dotCN.noticebutton).addEventListener("click", e => { + let toast = BDFDB.NotificationUtils.toast(wrongUrls.join("\n"), {type: "error"}); + toast.style.setProperty("overflow", "hidden"); + for (let url of wrongUrls) console.log(url); + }); + } + } + + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/GeneratorList.txt", (error3, response3, body3) => { + if (!error3 && body3) for (let url of body3.replace(/[\r\t]/g, "").split("\n").filter(n => n)) if (loadedThemes[url]) generatorThemes.push(url); + }); + }); + }); + } + }); + + getThemeInfo = (callback) => { + if (i >= foundThemes.length || !this.started || !loading.is) { + callback(); + return; + } + let url = foundThemes[i]; + let requesturl = NFLDreplace && url.includes("NFLD99/Better-Discord/master/Themes") ? url.replace("master/Themes", "master/" + NFLDreplace) : url; + BDFDB.LibraryRequires.request(requesturl, (error, response, body) => { + if (!response) { + if (url && BDFDB.ArrayUtils.getAllIndexes(foundThemes, url).length < 2) foundThemes.push(url); + } + else if (body && body.indexOf("404: Not Found") != 0 && response.statusCode == 200) { + let theme = {}, text = body; + if ((text.split("*//").length > 1 || text.indexOf("/**") == 0) && text.split("\n").length > 1) { + let hasMETAline = text.replace(/\s/g, "").indexOf("//META{"); + if (hasMETAline < 20 && hasMETAline > -1) { + let searchtext = text.replace(/\s*:\s*/g, ":").replace(/\s*}\s*/g, "}"); + for (let tag of tags) { + let result = searchtext.split('"' + tag + '":"'); + result = result.length > 1 ? result[1].split('",')[0].split('"}')[0] : null; + result = result && tag != "version" ? result.charAt(0).toUpperCase() + result.slice(1) : result; + theme[tag] = result ? result.trim() : result; + } + } + else { + let searchtext = text.replace(/[\r\t| ]*\*\s*/g, "*"); + for (let tag of tags) { + let result = searchtext.split('@' + tag + ' '); + result = result.length > 1 ? result[1].split('\n')[0] : null; + result = result && tag != "version" ? result.charAt(0).toUpperCase() + result.slice(1) : result; + theme[tag] = result ? result.trim() : result; + } + } + + let valid = true; + for (let tag of tags) if (theme[tag] === null) valid = false; + if (valid) { + theme.fullcss = text; + theme.css = hasMETAline < 20 && hasMETAline > -1 ? text.split("\n").slice(1).join("\n").replace(/[\r|\n|\t]/g, "") : text.replace(/[\r|\n|\t]/g, ""); + theme.url = url; + theme.requesturl = requesturl; + loadedThemes[url] = theme; + let instTheme = BDFDB.BDUtils.getTheme(theme.name); + if (instTheme && instTheme.author.toUpperCase() == theme.author.toUpperCase() && instTheme.version != theme.version) outdated++; + if (!cachedThemes.includes(url)) newentries++; + } + } + } + i++; + + let loadingTooltip = document.querySelector(".themerepo-loading-tooltip"); + if (loadingTooltip) { + BDFDB.DOMUtils.setText(loadingTooltip.querySelector(BDFDB.dotCN.tooltipcontent), this.getLoadingTooltipText()); + loadingTooltip.update(); + } + + getThemeInfo(callback); + }); + } + } + + getLoadingTooltipText () { + return `Loading ThemeRepo - [${Object.keys(loadedThemes).length}/${Object.keys(grabbedThemes).length}]`; + } + + checkForNewThemes () { + BDFDB.LibraryRequires.request("https://mwittrien.github.io/BetterDiscordAddons/Plugins/ThemeRepo/res/ThemeList.txt", (error, response, result) => { + if (response && !BDFDB.equals(result.replace(/\t|\r/g, "").split("\n").filter(n => n), grabbedThemes)) { + loading = {is:false, timeout:null, amount:0}; + this.loadThemes(); + } + }); + } + + downloadTheme (data) { + BDFDB.LibraryRequires.request(data.requesturl, (error, response, body) => { + if (error) BDFDB.NotificationUtils.toast(`Unable to download Theme "${data.name}".`, {type:"danger"}); + else this.createThemeFile(data.requesturl.split("/").pop(), body); + }); + } + + createThemeFile (filename, content) { + BDFDB.LibraryRequires.fs.writeFile(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getThemesFolder(), filename), content, (error) => { + if (error) BDFDB.NotificationUtils.toast(`Unable to save Theme "${filename}".`, {type:"danger"}); + else BDFDB.NotificationUtils.toast(`Successfully saved Theme "${filename}".`, {type:"success"}); + }); + } + + applyTheme (data) { + if (data.name && BDFDB.BDUtils.isThemeEnabled(data.name) == false) { + let id = data.name.replace(/^[^a-z]+|[^\w-]+/gi, "-"); + BDFDB.DOMUtils.remove(`style#${id}`); + document.head.appendChild(BDFDB.DOMUtils.create(``)); + BDFDB.BDUtils.enableTheme(data.name, false); + BDFDB.LogUtils.log(`Applied Theme ${data.name}.`, this.name); + } + } + + deleteThemeFile (data) { + let filename = data.requesturl.split("/").pop(); + BDFDB.LibraryRequires.fs.unlink(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getThemesFolder(), filename), (error) => { + if (error) BDFDB.NotificationUtils.toast(`Unable to delete Theme "${filename}".`, {type:"danger"}); + else BDFDB.NotificationUtils.toast(`Successfully deleted Theme "${filename}".`); + }); + } + + removeTheme (data) { + if (data.name && BDFDB.BDUtils.isThemeEnabled(data.name) == true) { + let id = data.name.replace(/^[^a-z]+|[^\w-]+/gi, "-"); + BDFDB.DOMUtils.remove(`style#${id}`); + BDFDB.BDUtils.disableTheme(data.name, false); + BDFDB.LogUtils.log(`Removed Theme ${data.name}.`, this.name); + } + } + } +})(); + +module.exports = ThemeRepo; diff --git a/Plugins/UserNotes/UserNotes.plugin.js b/Plugins/UserNotes/UserNotes.plugin.js index a606db1110..a179e38c30 100644 --- a/Plugins/UserNotes/UserNotes.plugin.js +++ b/Plugins/UserNotes/UserNotes.plugin.js @@ -95,7 +95,6 @@ var UserNotes = (_ => { label: BDFDB.LanguageUtils.LanguageStrings.USERS + " " + BDFDB.LanguageUtils.LanguageStrings.NOTE, id: BDFDB.ContextMenuUtils.createItemId(this.name, "user-note"), action: _ => { - BDFDB.ContextMenuUtils.close(e.instance); this.openNotesModal(e.instance.props.user); } })