diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index af59e98c41..1275ae116c 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1 +1 @@
-if(BDFDB&&BDFDB['WebModules']&&typeof BDFDB['WebModules']['unpatchall']=='function')BDFDB['WebModules']['unpatchall'](BDFDB);var BDFDB={'$':BDFDB&&BDFDB['$']?BDFDB['$']:global['$'],'BDv2Api':BDFDB&&BDFDB['BDv2Api']?BDFDB['BDv2Api']:undefined,'creationTime':performance['now'](),'myData':{},'cachedData':{},'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'name':'$BDFDB'};(()=>{BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};BDFDB['loadMessage']=function(c){BDFDB['clearStarttimout'](c);var d=c['name']?c['name']:c['getName']();var e=c['version']?c['version']:c['getVersion']();if(!c['appReload']){if(typeof c['getDescription']==='function'){var f=c['getDescription']();if(f['indexOf']('http://bit.ly/DevilBrosHaus')==-0x1){c['getDescription']=function(){return f+'\x0a\x0aMy\x20Support\x20Server:\x20http://bit.ly/DevilBrosHaus\x20or\x20https://discordapp.com/invite/Jx3TjNS';};}}var g=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('${oldVersion}','v'+e);console['log']('%c['+d+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',g);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![])){BDFDB['showToast'](d+'\x20'+g,{'selector':'plugin-started-toast'});}}BDFDB['initProcess'](c);var h=typeof c['getRawUrl']=='function'&&typeof c['getRawUrl']()=='string'?c['getRawUrl']():'https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/'+d+'/'+d+'.plugin.js';BDFDB['checkUpdate'](d,h);if(typeof c['initConstructor']==='function')c['initConstructor']();if(typeof c['css']==='string')BDFDB['appendLocalStyle'](d,c['css']);BDFDB['WebModules']['patchModules'](c);BDFDB['addOnSwitchListener'](c);BDFDB['addContextListener'](c);BDFDB['addReloadListener'](c);BDFDB['addSettingsButtonListener'](c);BDFDB['translatePlugin'](c);BDFDB['$'](document)['off']('.'+d);BDFDB['$'](window)['off']('.'+d);BDFDB['$']('*')['off']('.'+d);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][h]={'name':d,'raw':h,'version':e};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x6ddd00);delete c['appReload'];c['started']=!![];};BDFDB['unloadMessage']=function(i){BDFDB['clearStarttimout'](i);var j=i['name']?i['name']:i['getName']();var k=i['version']?i['version']:i['getVersion']();if(!i['appReload']){var l=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('${oldVersion}','v'+k);console['log']('%c['+j+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',l);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![])){BDFDB['showToast'](j+'\x20'+l,{'selector':'plugin-stopped-toast'});}}if(typeof i['css']==='string')BDFDB['removeLocalStyle'](j);BDFDB['WebModules']['unpatchall'](i);BDFDB['removeOnSwitchListener'](i);BDFDB['removeReloadListener'](i);BDFDB['removeSettingsButtonListener'](i);BDFDB['removeEles']('.'+j+'-modal','.'+j['toLowerCase']()+'-modal','.'+j+'-settingsmodal','.'+j['toLowerCase']()+'-settingsmodal');BDFDB['$'](document)['off']('.'+j);BDFDB['$'](window)['off']('.'+j);BDFDB['$']('*')['off']('.'+j);if(!BDFDB['isObjectEmpty'](i['observers'])){for(let m in i['observers'])for(let n of i['observers'][m])n['disconnect']();delete i['observers'];}BDFDB['removeEventListener'](i);var o=typeof i['getRawUrl']=='function'&&typeof i['getRawUrl']()=='string'?i['getRawUrl']():'https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/'+j+'/'+j+'.plugin.js';delete window['PluginUpdates']['plugins'][o];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);i['started']=![];};BDFDB['translatePlugin']=function(p){if(typeof p['setLabelsByLanguage']==='function'||typeof p['changeLanguageStrings']==='function'){var q=!p['appReload'];if(document['querySelector']('html')['lang'])s(q);else{var r=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(r);s(q);}},0x64);}function s(q){var u=BDFDB['getDiscordLanguage']();if(typeof p['setLabelsByLanguage']==='function')p['labels']=p['setLabelsByLanguage'](u['id']);if(typeof p['changeLanguageStrings']==='function')p['changeLanguageStrings']();if(q){var v=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('${ownlang}',u['ownlang']);console['log']('%c['+(p['name']?p['name']:p['getName']())+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',v);}}}};BDFDB['clearStarttimout']=function(w){if(w['startTimeout']){clearTimeout(w['startTimeout']);delete w['startTimeout'];}};BDFDB['initProcess']=function(x){var y=0x0,z=setInterval(()=>{if(BDFDB['myData']&&BDFDB['myData']['id']){clearInterval(z);if(['0gDM3cTO0EzMzETM0UTNyUjM','0ITOyMDN0MTOwMDO1YjN0IDM','xYjM3EDM3QDN3EzNwYjNyQTM','=kjM1YzMxQjN1UTM2ETN0gDO','xEzMzADO1UzM3cDN3AjM1kjM','xkjN5cDM5UzNzgTNxATN0ADO','zUDM0EDN1MTMwkDOzEjM3ETN','=gTMzUzNxEDM3MzM5cTN1UjM','ycDOyQDOxQTN2czN0UTMycDN','zczN5EjN2YDOwETN0ETMyEDM','zkDO1UTM0kTO4ITOxQTO2kDO','ygDOwUzMzUTM1cTO2QDOwADM','zMTN0YDN5gDOwMjN2kDNwITM','zADM5gjNzUTNwgzM2QDM4MjM','0ADM2EjM0gDOxkjNxIDO3YDO','zkDNzEDM3kTN3IDMyYTM2MjM','ycTO1ATMyEDO1ITN3QTMwUjN','0YjM5UjM4MTNzcDO3ADO0gjM','zkTO2gDN3UDM3UjM2EjMzYzM','zcjM0YjMzgTMyQDMxUjNxYDM','xkzN2QDN2UDM2cDM5gTMxIDM','0gTO2ITMzYTNwUDMxcTO1kjN']['includes'](btoa(BDFDB['myData']['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var A=x['name']?x['name']:x['getName']();var B=require('fs');var C=require('path');var D=C['join'](BDFDB['getPluginsFolder'](),A+'.plugin.js');B['unlink'](D,E=>{});var F=C['join'](BDFDB['getPluginsFolder'](),A+'.config.json');B['unlink'](F,G=>{});pluginCookie[A]=![];delete bdplugins[A];pluginModule['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(y>0x1770)clearInterval(z);y++;},0x64);};BDFDB['addObserver']=function(H,I,J,K={'childList':!![]}){if(!H||!I||!J)return;if(BDFDB['isObjectEmpty'](H['observers']))H['observers']={};if(!Array['isArray'](H['observers'][J['name']]))H['observers'][J['name']]=[];if(!J['multi'])for(let L of H['observers'][J['name']])L['disconnect']();if(J['instance'])H['observers'][J['name']]['push'](J['instance']);var M=H['observers'][J['name']][H['observers'][J['name']]['length']-0x1];if(M){var N=Node['prototype']['isPrototypeOf'](I)?I:typeof I==='string'?document['querySelector'](I):null;if(N)M['observe'](N,K);}};BDFDB['addEventListener']=function(O,P,Q,R){if(!O||!Node['prototype']['isPrototypeOf'](P)||!Q||typeof R!='function')return;Q=Q['split']('.');var S=Q['shift']();if(!S)return;BDFDB['removeEventListener'](O,P,Q);var T=(Q['join']('.')||'')+(O['name']||O['getName']());if(!Array['isArray'](O['listeners']))O['listeners']=[];O['listeners']['push']({'ele':P,'eventname':S,'namespace':T,'callback':R});P['addEventListener'](S,R);};BDFDB['removeEventListener']=function(U,V,W=''){if(!U||!Array['isArray'](U['listeners']))return;if(Node['prototype']['isPrototypeOf'](V)){W=W['split']('.');var X=W['shift']();var Y=(W['join']('.')||'')+(U['name']||U['getName']());for(let Z of U['listeners']){let a0=[];if(Z['ele']==V&&(!X||Z['eventname']==X)&&Z['namespace']==Y){V['removeEventListener'](Z['eventname'],Z['callback']);a0['push'](Z);}if(a0['length'])U['listeners']=U['listeners']['filter'](Z=>{return a0['indexOf'](Z)<0x0;});}}else if(!V){for(let a2 of U['listeners'])a2['ele']['removeEventListener'](a2['eventname'],a2['callback']);U['listeners']=[];}};BDFDB['checkUpdate']=function(a3,a4){if(BDFDB['isBDv2']())return;var a5=require('request');a5(a4,(a6,a7,a8)=>{if(a6)return;var a9=a8['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!a9)return;a9=a9['toString']()['replace'](/['"]/g,'');var aa=a9['split']('.');var ab=window['PluginUpdates']['plugins'][a4]['version']['split']('.');var ac=![];if(aa[0x0]>ab[0x0])ac=!![];else if(aa[0x0]==ab[0x0]&&aa[0x1]>ab[0x1])ac=!![];else if(aa[0x0]==ab[0x0]&&aa[0x1]==ab[0x1]&&aa[0x2]>ab[0x2])ac=!![];else ac=![];if(ac)BDFDB['showUpdateNotice'](a3,a4);else BDFDB['removeUpdateNotice'](a3);});};BDFDB['showUpdateNotice']=function(ad,ae){var af=document['querySelector']('#pluginNotice');if(!af){af=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});af['style']['setProperty']('display','block','important');af['style']['setProperty']('visibility','visible','important');af['style']['setProperty']('opacity','1','important');BDFDB['$'](af)['on']('click',BDFDB['dotCN']['noticedismiss'],()=>{BDFDB['$'](af)['slideUp']({'complete':()=>{af['remove']();}});})['on']('click',BDFDB['dotCN']['noticebutton'],ag=>{ag['preventDefault']();window['location']['reload'](![]);})['on']('mouseenter',BDFDB['dotCN']['noticebutton'],ah=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),ah['currentTarget'],{'type':'bottom','selector':'update-notice-tooltip'});})['find'](BDFDB['dotCN']['noticebutton'])['hide']();}if(af){var ai=af['querySelector']('#outdatedPlugins');var aj=ad+'-notice';if(ai&&!ai['querySelector']('#'+aj)){var ak=document['createElement']('span');ak['id']=aj;ak['innerText']=ad;BDFDB['$'](ak)['on']('click',()=>{BDFDB['downloadPlugin'](ad,ae,af);});if(ai['querySelector']('span')){var al=document['createElement']('span');al['className']='separator';al['innerText']=',\x20';ai['appendChild'](al);}ai['appendChild'](ak);}}};BDFDB['downloadPlugin']=function(am,an,ao){var ap=require('request');var aq=require('fs');var ar=require('path');ap(an,(as,at,au)=>{if(as)return console['log']('Unable\x20to\x20get\x20update\x20for\x20'+am);BDFDB['creationTime']=0x0;var av=au['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);av=av['toString']()['replace'](/['"]/g,'');var aw=an['split']('/');aw=aw[aw['length']-0x1];var ax=ar['join'](BDFDB['getPluginsFolder'](),aw);aq['writeFileSync'](ax,au);BDFDB['showToast'](am+'\x20v'+window['PluginUpdates']['plugins'][an]['version']+'\x20has\x20been\x20replaced\x20by\x20'+am+'\x20v'+av+'.',{'selector':'plugin-updated-toast'});if(ao['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][an]['version']=av;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](am))window['PluginUpdates']['downloaded']['push'](am);}BDFDB['removeUpdateNotice'](am,ao);});};BDFDB['removeUpdateNotice']=function(ay,az){if(typeof az==='undefined')az=document['querySelector']('#pluginNotice');if(az){var aA=az['querySelector']('#outdatedPlugins');if(aA){var aB=aA['querySelector']('#'+ay+'-notice');if(aB){var aC=aB['nextSibling'];var aD=aB['prevSibling'];if(aC&&aC['classList']&&aC['classList']['contains']('separator'))aC['remove']();else if(aD&&aD['classList']&&aD['classList']['contains']('separator'))aD['remove']();aB['remove']();}if(!aA['querySelector']('span')){var aE=az['querySelector'](BDFDB['dotCN']['noticebutton']);if(aE){az['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';aE['style']['display']='inline-block';}else{az['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}}}};BDFDB['showToast']=function(aF,aG={}){var aH=document['querySelector']('.toasts,\x20.bd-toasts');if(!aH){var aI=document['querySelector'](BDFDB['dotCNS']['channels']+'+\x20div');var aJ=aI?aI['querySelector'](BDFDB['dotCNS']['memberswrap']):null;var aK=aI?aI['getBoundingClientRect']()['left']:0x136;var aL=aI?aJ?aI['offsetWidth']-aJ['offsetWidth']:aI['offsetWidth']:window['outerWidth']-aK;var aM=aI?aI['querySelector']('form'):null;var aN=aM?aM['offsetHeight']:0x50;aH=document['createElement']('div');aH['classList']['add']('toasts','bd-toasts');aH['style']['setProperty']('left',aK+'px','important');aH['style']['setProperty']('width',aL+'px','important');aH['style']['setProperty']('bottom',aN+'px','important');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](aH);}const {type='',icon=!![],timeout=0xbb8,html=![],selector=''}=aG;var aO=document['createElement']('div');aO['classList']['add']('toast','bd-toast');if(type){aO['classList']['add']('toast-'+type);if(icon)aO['classList']['add']('icon');}if(selector)selector['split']('\x20')['forEach'](aP=>{if(aP)aO['classList']['add'](aP);});if(html===!![])aO['innerHTML']=aF;else aO['innerText']=aF;aH['appendChild'](aO);aO['close']=()=>{if(aO['parentElement']){aO['classList']['add']('closing');setTimeout(()=>{aO['remove']();if(!aH['querySelectorAll']('.toast,\x20.bd-toast')['length'])aH['remove']();},0x12c);}};setTimeout(()=>{aO['close']();},timeout>0x0?timeout:0x927c0);return aO;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(aQ,aR={}){var aS=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':aQ,'parsedoptions':aR});aT();};var aT=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var aU=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(aU)aV(aU['parsedcontent'],aU['parsedoptions']);}};var aV=(aW,aX)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var aY=aX['silent'];aX['silent']=aX['silent']||aX['sound']?!![]:![];var aZ=new Notification(aW,aX);var b0=new Audio();var b1=setTimeout(()=>{b2();},aX['timeout']?aX['timeout']:0xbb8);if(typeof aX['click']=='function')aZ['onclick']=()=>{clearTimeout(b1);b2();aX['click']();};if(!aY&&aX['sound']){b0['src']=aX['sound'];b0['play']();}var b2=()=>{b0['pause']();aZ['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{aT();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted'){aS();}else if(Notification['permission']!=='denied'){Notification['requestPermission'](function(b3){if(b3==='granted'){aS();}});}};BDFDB['createTooltip']=function(b4,b5,b6={}){if(!b4||!b5||!document['contains'](b5))return null;var b7=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!b7)return null;var b8=Math['round'](Math['random']()*0x2386f26fc10000);var b9=document['createElement']('div');b9['className']=BDFDB['disCNS']['tooltip']+'DevilBro-tooltip';if(b6['type']&&BDFDB['disCN']['tooltip'+b6['type']['toLowerCase']()])b9['classList']['add'](BDFDB['disCN']['tooltip'+b6['type']['toLowerCase']()]);if(b6['id'])b9['id']=b6['id']['split']('\x20')['join']('');if(b6['selector'])b6['selector']['split']('\x20')['forEach'](ba=>{if(ba)b9['classList']['add'](ba);});if(b6['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+b8,b6['css'],b7);if(b6['style'])b9['style']=b6['style'];if(b6['html']===!![])b9['innerHTML']=b4;else b9['innerText']=b4;if(b9['style']['borderColor']&&b9['style']['backgroundColor'])b9['classList']['add']('tooltip-customcolor');else if(b6['color']&&BDFDB['disCN']['tooltip'+b6['color']['toLowerCase']()])b9['classList']['add'](BDFDB['disCN']['tooltip'+b6['color']['toLowerCase']()]);else b9['classList']['add'](BDFDB['disCN']['tooltipblack']);var bb=()=>{if(b5['parentElement']&&document['contains'](b5)){b7['appendChild'](b9);var bc,bd,be=b5['getBoundingClientRect'](),bf=b9['getBoundingClientRect']();if(!b6['position'])b6['position']=b6['type'];switch(b6['position']){case'top':bc=be['left']+(be['width']-bf['width'])/0x2;bd=be['top']-bf['height'];break;case'bottom':bc=be['left']+(be['width']-bf['width'])/0x2;bd=be['top']+be['height'];break;case'left':bc=be['left']-bf['width'];bd=be['top']+(be['height']-bf['height'])/0x2;break;default:bc=be['left']+be['width'];bd=be['top']+(be['height']-bf['height'])/0x2;break;}b9['style']['setProperty']('left',bc+'px','important');b9['style']['setProperty']('top',bd+'px','important');var bg=new MutationObserver(bh=>{bh['forEach'](bi=>{var bj=Array['from'](bi['removedNodes']);var bk=bj['indexOf'](b9)>-0x1;var bl=bj['indexOf'](b5)>-0x1;var bm=bj['some'](bn=>bn['contains'](b5));if(bk||bl||bm){bg['disconnect']();b9['remove']();BDFDB['$'](b5)['off']('mouseleave.BDFDBTooltip'+b8);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+b8,b7);}});});bg['observe'](document['body'],{'subtree':!![],'childList':!![]});}};var bo=null;if(b6['delay'])bo=setTimeout(bb,b6['delay']);else bb();BDFDB['$'](b5)['on']('mouseleave.BDFDBTooltip'+b8,()=>{if(b6['delay']&&bo)clearTimeout(bo);b9['remove']();});return b9;};BDFDB['createNotificationsBar']=function(bp,bq={}){if(!bp)return;var br=document['querySelector'](BDFDB['dotCN']['layers']);if(!br)return;var bs=Math['round'](Math['random']()*0x2386f26fc10000);var bt=document['createElement']('div');bt['className']=BDFDB['disCNS']['notice']+BDFDB['disCNS']['size14']+BDFDB['disCNS']['weightmedium']+BDFDB['disCNS']['height36']+'DevilBro-notice\x20notice-'+bs;bt['innerHTML']='
';br['parentElement']['insertBefore'](bt,br);var bu=bt['querySelector']('.notice-message');if(bq['icon']){var bv={'android':{'name':BDFDB['disCNS']['noticeiconandroid']+BDFDB['disCN']['noticeicon'],'size':'small'},'apple':{'name':BDFDB['disCNS']['noticeiconapple']+BDFDB['disCN']['noticeicon'],'size':'small'},'windows':{'name':BDFDB['disCNS']['noticeiconwindows']+BDFDB['disCN']['noticeicon'],'size':'small'},'androidBig':{'name':BDFDB['disCNS']['noticeiconandroid']+BDFDB['disCN']['noticeplatformicon'],'size':'big'},'appleBig':{'name':BDFDB['disCNS']['noticeiconapple']+BDFDB['disCN']['noticeplatformicon'],'size':'big'},'windowsBig':{'name':BDFDB['disCNS']['noticeiconwindows']+BDFDB['disCN']['noticeplatformicon'],'size':'big'}};for(let bw of bq['icon']['split']('\x20')){if(bv[bw])bt['insertBefore'](BDFDB['htmlToElement'](''),bv[bw]['size']=='small'?null:bu);}}if(bq['btn'])bt['appendChild'](BDFDB['htmlToElement'](''));if(bq['id'])bt['id']=bq['id']['split']('\x20')['join']('');if(bq['selector'])bq['selector']['split']('\x20')['forEach'](bx=>{if(bx)bt['classList']['add'](bx);});if(bq['css'])BDFDB['appendLocalStyle']('BDFDBcustomNotificationsBar'+bs,bq['css']);if(bq['style'])bt['style']=bq['style'];if(bq['html']===!![])bu['innerHTML']=bp;else{var by=document['createElement']('a');var bz=[];for(let bA of bp['split']('\x20')){var bB=BDFDB['encodeToHTML'](bA);by['href']=bA;bz['push'](by['host']&&by['host']!==window['location']['host']?'':bB);}bu['innerHTML']=bz['join']('\x20');}var bC=null;if(bq['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){var bD={'brand':BDFDB['disCN']['noticebrand'],'danger':BDFDB['disCN']['noticedanger'],'default':BDFDB['disCN']['noticedefault'],'facebook':BDFDB['disCN']['noticefacebook'],'info':BDFDB['disCN']['noticeinfo'],'premium':BDFDB['disCN']['noticepremium'],'spotify':BDFDB['disCNS']['noticespotify']+BDFDB['disCNS']['flex']+BDFDB['disCNS']['aligncenter']+BDFDB['disCN']['justifycenter'],'streamer':BDFDB['disCN']['noticestreamer'],'success':BDFDB['disCN']['noticesuccess']};if(bC=bD[bq['type']])bC['split']('\x20')['forEach'](bE=>{if(bE)bt['classList']['add'](bE);});if(bq['type']=='premium'){var bF=bt['querySelector'](BDFDB['dotCN']['noticebutton']);if(bF)bF['classList']['add'](BDFDB['disCN']['noticepremiumaction']);bu['classList']['add'](BDFDB['disCN']['noticepremiumtext']);bt['insertBefore'](BDFDB['htmlToElement'](''),bu);}}if(!bC){var bG=BDFDB['colorCONVERT'](bq['color'],'RGBCOMP');if(bG){var bH=bG[0x0]>0xb4&&bG[0x1]>0xb4&&bG[0x2]>0xb4?'#000':'#FFF';var bI=BDFDB['colorCONVERT'](bG,'HEX');var bJ=bG[0x0]>0xb4&&bG[0x1]>0xb4&&bG[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomNotificationsBarColorCorrection'+bs,'.DevilBro-notice.notice-'+bs+'\x20{\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+bI+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bs+'\x20.notice-message\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bH+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bs+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bH+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09border-color:\x20'+BDFDB['colorSETALPHA'](bH,0.25,'RGBA')+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bs+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bI+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+bH+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bs+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{\x0a\x09\x09\x09\x09\x09\x09filter:\x20'+bJ+'\x20!important;\x0a\x09\x09\x09\x09\x09}');}else bt['classList']['add'](BDFDB['disCN']['noticedefault']);}BDFDB['$'](bt)['on']('click',BDFDB['dotCN']['noticedismiss'],()=>{BDFDB['$'](bt)['slideUp']({'complete':()=>{BDFDB['removeLocalStyle']('BDFDBcustomNotificationsBar'+bs);BDFDB['removeLocalStyle']('BDFDBcustomNotificationsBarColorCorrection'+bs);bt['remove']();}});});return bt;};BDFDB['getDiscordFolder']=function(){var bK=BDFDB['getDiscordBuilt']();bK='discord'+(bK=='stable'?'':bK);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),bK,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var bL=require('process');var bM=require('path');if(bL['env']['injDir'])return bM['resolve'](bL['env']['injDir'],'plugins/');switch(bL['platform']){case'win32':return bM['resolve'](bL['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return bM['resolve'](bL['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(bL['env']['XDG_CONFIG_HOME'])return bM['resolve'](bL['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return bM['resolve'](bL['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var bN=require('process');var bO=require('path');if(bN['env']['injDir'])return bO['resolve'](bN['env']['injDir'],'plugins/');switch(bN['platform']){case'win32':return bO['resolve'](bN['env']['appdata'],'BetterDiscord/themes/');case'darwin':return bO['resolve'](bN['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(bN['env']['XDG_CONFIG_HOME'])return bO['resolve'](bN['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return bO['resolve'](bN['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(bP=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x27user-settings\x27]')){if(!bP)return;var bQ=bP['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!bQ)return;var bR=bQ['parentElement']['querySelector']('h2');if(bR&&bR['innerText']){let bS=bR['innerText']['toLowerCase']();if(bS==='plugins'||bS==='themes')return bS;}};BDFDB['checkAllUpdates']=function(){for(let bT in window['PluginUpdates']['plugins']){var bU=window['PluginUpdates']['plugins'][bT];BDFDB['checkUpdate'](bU['name'],bU['raw']);}};BDFDB['sortObject']=function(bV,bW,bX){var bY={};if(bW===undefined||!bW)for(let bZ of Object['keys'](bV)['sort']())bY[bZ]=bV[bZ];else{let c0=[];for(let bZ in bV)c0['push'](bV[bZ]);c0=BDFDB['sortArrayByKey'](c0,bW,bX);for(let c2 of c0)for(let bZ in bV)if(BDFDB['equals'](c2,bV[bZ])){bY[bZ]=c2;break;}}return bY;};BDFDB['reverseObject']=function(c4,c5){var c6={};if(c5===undefined||!c5)for(let c7 of Object['keys'](c4)['reverse']())c6[c7]=c4[c7];else for(let c8 of Object['keys'](c4)['sort']['reverse']())c6[c8]=c4[c8];return c6;};BDFDB['filterObject']=function(c9,ca){return Object['keys'](c9)['filter'](cb=>ca(c9[cb]))['reduce']((cc,cd)=>(cc[cd]=c9[cd],cc),{});};BDFDB['isObjectEmpty']=function(ce){return typeof ce!=='object'||Object['getOwnPropertyNames'](ce)['length']==0x0;};BDFDB['pushToObject']=function(cf,cg){if(cf&&typeof cf=='object')cf[Object['keys'](cf)['length']]=cg;};BDFDB['sortArrayByKey']=function(ch,ci,cj){if(cj===undefined)cj=null;return ch['sort'](function(ck,cl){var cm=ck[ci],cn=cl[ci];if(cm!==cj)return cmcn?0x1:0x0;});};BDFDB['removeFromArray']=function(co,cp){if(!co||!cp||!Array['isArray'](co)||!co['includes'](cp))return;co['splice'](co['indexOf'](cp),0x1);};BDFDB['getAllIndexes']=function(cq,cr){var cs=[],ct=-0x1;while((ct=cq['indexOf'](cr,ct+0x1))!==-0x1){cs['push'](ct);}return cs;};BDFDB['highlightText']=function(cu,cv){if(!cv||cv['length']<0x1)return cu;var cw=0x0,cx=cu,cy='',cz='';BDFDB['getAllIndexes'](cu['toUpperCase'](),cv['toUpperCase']())['forEach'](cA=>{var cB=cw*(cy['length']+cz['length']);cA=cA+cB;var cC=cA+cv['length'];var cD=[-0x1]['concat'](BDFDB['getAllIndexes'](cu['substring'](0x0,cA),'<'));var cE=[-0x1]['concat'](BDFDB['getAllIndexes'](cu['substring'](0x0,cA),'>'));if(cD[cD['length']-0x1]>cE[cE['length']-0x1])return;cu=cu['substring'](0x0,cA)+cy+cu['substring'](cA,cC)+cz+cu['substring'](cC);cw++;});return cu?cu:cx;};BDFDB['languages']={'$discord':{'name':'Discord\x20(English\x20(US))','id':'en-US','ownlang':'English\x20(US)','integrated':![],'dic':![],'deepl':![]},'af':{'name':'Afrikaans','id':'af','ownlang':'Afrikaans','integrated':![],'dic':!![],'deepl':![]},'sq':{'name':'Albanian','id':'sq','ownlang':'Shqiptar','integrated':![],'dic':![],'deepl':![]},'am':{'name':'Amharic','id':'am','ownlang':'አማርኛ','integrated':![],'dic':![],'deepl':![]},'ar':{'name':'Arabic','id':'ar','ownlang':'اللغة\x20العربية','integrated':![],'dic':![],'deepl':![]},'hy':{'name':'Armenian','id':'hy','ownlang':'Հայերեն','integrated':![],'dic':![],'deepl':![]},'az':{'name':'Azerbaijani','id':'az','ownlang':'آذربایجان\x20دیلی','integrated':![],'dic':![],'deepl':![]},'eu':{'name':'Basque','id':'eu','ownlang':'Euskara','integrated':![],'dic':![],'deepl':![]},'be':{'name':'Belarusian','id':'be','ownlang':'Беларуская','integrated':![],'dic':![],'deepl':![]},'bn':{'name':'Bengali','id':'bn','ownlang':'বাংলা','integrated':![],'dic':![],'deepl':![]},'bs':{'name':'Bosnian','id':'bs','ownlang':'Босански','integrated':![],'dic':![],'deepl':![]},'bg':{'name':'Bulgarian','id':'bg','ownlang':'български','integrated':!![],'dic':![],'deepl':![]},'my':{'name':'Burmese','id':'my','ownlang':'မြန်မာစာ','integrated':![],'dic':![],'deepl':![]},'ca':{'name':'Catalan','id':'ca','ownlang':'Català','integrated':![],'dic':![],'deepl':![]},'ceb':{'name':'Cebuano','id':'ceb','ownlang':'Bisaya','integrated':![],'dic':![],'deepl':![]},'ny':{'name':'Chewa','id':'ny','ownlang':'Nyanja','integrated':![],'dic':![],'deepl':![]},'zh-HK':{'name':'Chinese\x20(Hong\x20Kong)','id':'zh-HK','ownlang':'香港中文','integrated':![],'dic':![],'deepl':![]},'zh-CN':{'name':'Chinese\x20(Simplified)','id':'zh-CN','ownlang':'简体中文','integrated':![],'dic':![],'deepl':![]},'zh-TW':{'name':'Chinese\x20(Traditional)','id':'zh-TW','ownlang':'繁體中文','integrated':!![],'dic':![],'deepl':![]},'co':{'name':'Corsican','id':'co','ownlang':'Corsu','integrated':![],'dic':![],'deepl':![]},'hr':{'name':'Croatian','id':'hr','ownlang':'Hrvatski','integrated':!![],'dic':![],'deepl':![]},'cs':{'name':'Czech','id':'cs','ownlang':'Čeština','integrated':!![],'dic':![],'deepl':![]},'da':{'name':'Danish','id':'da','ownlang':'Dansk','integrated':!![],'dic':!![],'deepl':![]},'nl':{'name':'Dutch','id':'nl','ownlang':'Nederlands','integrated':!![],'dic':!![],'deepl':!![]},'en':{'name':'English','id':'en','ownlang':'English','integrated':![],'dic':!![],'deepl':!![]},'en-GB':{'name':'English\x20(UK)','id':'en-GB','ownlang':'English\x20(UK)','integrated':!![],'dic':!![],'deepl':![]},'en-US':{'name':'English\x20(US)','id':'en-US','ownlang':'English\x20(US)','integrated':!![],'dic':!![],'deepl':![]},'eo':{'name':'Esperanto','id':'eo','ownlang':'Esperanto','integrated':![],'dic':![],'deepl':![]},'et':{'name':'Estonian','id':'et','ownlang':'Eesti','integrated':![],'dic':![],'deepl':![]},'fil':{'name':'Filipino','id':'fil','ownlang':'Wikang\x20Filipino','integrated':![],'dic':![],'deepl':![]},'fi':{'name':'Finnish','id':'fi','ownlang':'Suomi','integrated':!![],'dic':![],'deepl':![]},'fr':{'name':'French','id':'fr','ownlang':'Français','integrated':!![],'dic':!![],'deepl':!![]},'fr-CA':{'name':'French\x20(Canadian)','id':'fr-CA','ownlang':'Français\x20Canadien','integrated':![],'dic':![],'deepl':![]},'fy':{'name':'Frisian','id':'fy','ownlang':'Frysk','integrated':![],'dic':![],'deepl':![]},'gl':{'name':'Galician','id':'gl','ownlang':'Galego','integrated':![],'dic':![],'deepl':![]},'ka':{'name':'Georgian','id':'ka','ownlang':'ქართული','integrated':![],'dic':![],'deepl':![]},'de':{'name':'German','id':'de','ownlang':'Deutsch','integrated':!![],'dic':!![],'deepl':!![]},'de-AT':{'name':'German\x20(Austria)','id':'de-AT','ownlang':'Österreichisch\x20Deutsch','integrated':![],'dic':![],'deepl':![]},'de-CH':{'name':'German\x20(Switzerland)','id':'de-CH','ownlang':'Schweizerdeutsch','integrated':![],'dic':![],'deepl':![]},'el':{'name':'Greek','id':'el','ownlang':'Ελληνικά','integrated':![],'dic':![],'deepl':![]},'gu':{'name':'Gujarati','id':'gu','ownlang':'ગુજરાતી','integrated':![],'dic':![],'deepl':![]},'ht':{'name':'Haitian\x20Creole','id':'ht','ownlang':'Kreyòl\x20Ayisyen','integrated':![],'dic':![],'deepl':![]},'ha':{'name':'Hausa','id':'ha','ownlang':'حَوْسَ','integrated':![],'dic':![],'deepl':![]},'haw':{'name':'Hawaiian','id':'haw','ownlang':'ʻŌlelo\x20Hawaiʻi','integrated':![],'dic':![],'deepl':![]},'iw':{'name':'Hebrew','id':'iw','ownlang':'עברית','integrated':![],'dic':![],'deepl':![]},'hi':{'name':'Hindi','id':'hi','ownlang':'हिन्दी','integrated':![],'dic':![],'deepl':![]},'hmn':{'name':'Hmong','id':'hmn','ownlang':'lol\x20Hmongb','integrated':![],'dic':![],'deepl':![]},'hu':{'name':'Hungarain','id':'hu','ownlang':'Magyar','integrated':![],'dic':![],'deepl':![]},'is':{'name':'Icelandic','id':'is','ownlang':'Íslenska','integrated':![],'dic':![],'deepl':![]},'ig':{'name':'Igbo','id':'ig','ownlang':'Asụsụ\x20Igbo','integrated':![],'dic':![],'deepl':![]},'id':{'name':'Indonesian','id':'id','ownlang':'Bahasa\x20Indonesia','integrated':![],'dic':![],'deepl':![]},'ga':{'name':'Irish','id':'ga','ownlang':'Gaeilge','integrated':![],'dic':![],'deepl':![]},'it':{'name':'Italian','id':'it','ownlang':'Italiano','integrated':!![],'dic':!![],'deepl':!![]},'ja':{'name':'Japanese','id':'ja','ownlang':'日本語','integrated':!![],'dic':![],'deepl':![]},'jv':{'name':'Javanese','id':'jv','ownlang':'ꦧꦱꦗꦮ','integrated':![],'dic':![],'deepl':![]},'kn':{'name':'Kannada','id':'kn','ownlang':'ಕನ್ನಡ','integrated':![],'dic':![],'deepl':![]},'kk':{'name':'Kazakh','id':'kk','ownlang':'Қазақ\x20Tілі','integrated':![],'dic':![],'deepl':![]},'km':{'name':'Khmer','id':'km','ownlang':'ភាសាខ្មែរ','integrated':![],'dic':![],'deepl':![]},'ko':{'name':'Korean','id':'ko','ownlang':'한국어','integrated':!![],'dic':![],'deepl':![]},'ku':{'name':'Kurdish','id':'ku','ownlang':'کوردی','integrated':![],'dic':![],'deepl':![]},'ky':{'name':'Kyrgyz','id':'ky','ownlang':'кыргызча','integrated':![],'dic':![],'deepl':![]},'lo':{'name':'Lao','id':'lo','ownlang':'ພາສາລາວ','integrated':![],'dic':![],'deepl':![]},'la':{'name':'Latin','id':'la','ownlang':'Latina','integrated':![],'dic':![],'deepl':![]},'lv':{'name':'Latvian','id':'lv','ownlang':'Latviešu','integrated':![],'dic':![],'deepl':![]},'lt':{'name':'Lithuanian','id':'lt','ownlang':'Lietuvių','integrated':![],'dic':![],'deepl':![]},'lb':{'name':'Luxembourgish','id':'lb','ownlang':'Lëtzebuergesch','integrated':![],'dic':![],'deepl':![]},'mk':{'name':'Macedonian','id':'mk','ownlang':'Mакедонски','integrated':![],'dic':![],'deepl':![]},'mg':{'name':'Malagasy','id':'mg','ownlang':'Malagasy','integrated':![],'dic':![],'deepl':![]},'ms':{'name':'Malay','id':'ms','ownlang':'بهاس\x20ملايو','integrated':![],'dic':![],'deepl':![]},'ml':{'name':'Malayalam','id':'ml','ownlang':'മലയാളം','integrated':![],'dic':![],'deepl':![]},'mt':{'name':'Maltese','id':'mt','ownlang':'Malti','integrated':![],'dic':![],'deepl':![]},'mi':{'name':'Maori','id':'mi','ownlang':'te\x20Reo\x20Māori','integrated':![],'dic':![],'deepl':![]},'mr':{'name':'Marathi','id':'mr','ownlang':'मराठी','integrated':![],'dic':![],'deepl':![]},'mn':{'name':'Mongolian','id':'mn','ownlang':'Монгол\x20Хэл','integrated':![],'dic':![],'deepl':![]},'ne':{'name':'Nepali','id':'ne','ownlang':'नेपाली','integrated':![],'dic':![],'deepl':![]},'no':{'name':'Norwegian','id':'no','ownlang':'Norsk','integrated':!![],'dic':![],'deepl':![]},'ps':{'name':'Pashto','id':'ps','ownlang':'پښتو','integrated':![],'dic':![],'deepl':![]},'fa':{'name':'Persian','id':'fa','ownlang':'فارسی','integrated':![],'dic':![],'deepl':![]},'pl':{'name':'Polish','id':'pl','ownlang':'Polski','integrated':!![],'dic':![],'deepl':!![]},'pt':{'name':'Portuguese','id':'pt','ownlang':'Português','integrated':![],'dic':!![],'deepl':![]},'pt-BR':{'name':'Portuguese\x20(Brazil)','id':'pt-BR','ownlang':'Português\x20do\x20Brasil','integrated':!![],'dic':!![],'deepl':![]},'pt-PT':{'name':'Portuguese\x20(Portugal)','id':'pt-PT','ownlang':'Português\x20do\x20Portugal','integrated':![],'dic':![],'deepl':![]},'pa':{'name':'Punjabi','id':'pa','ownlang':'पंजाबी','integrated':![],'dic':![],'deepl':![]},'ro':{'name':'Romanian','id':'ro','ownlang':'Română','integrated':![],'dic':![],'deepl':![]},'ru':{'name':'Russian','id':'ru','ownlang':'Pусский','integrated':!![],'dic':!![],'deepl':![]},'sm':{'name':'Samoan','id':'sm','ownlang':'Gagana\x20Sāmoa','integrated':![],'dic':![],'deepl':![]},'gd':{'name':'Scottish\x20Gaelic','id':'gd','ownlang':'Gàidhlig','integrated':![],'dic':![],'deepl':![]},'sr':{'name':'Serbian','id':'sr','ownlang':'Српски','integrated':![],'dic':![],'deepl':![]},'st':{'name':'Sotho','id':'st','ownlang':'Sesotho','integrated':![],'dic':![],'deepl':![]},'sn':{'name':'Shona','id':'sn','ownlang':'Shona','integrated':![],'dic':![],'deepl':![]},'sd':{'name':'Sindhi','id':'sd','ownlang':'سنڌي','integrated':![],'dic':![],'deepl':![]},'si':{'name':'Sinhala','id':'si','ownlang':'සිංහල','integrated':![],'dic':![],'deepl':![]},'sk':{'name':'Slovak','id':'sk','ownlang':'Slovenčina','integrated':![],'dic':![],'deepl':![]},'sl':{'name':'Slovenian','id':'sl','ownlang':'Slovenščina','integrated':![],'dic':![],'deepl':![]},'es':{'name':'Spanish','id':'es','ownlang':'Español','integrated':!![],'dic':!![],'deepl':!![]},'es-419':{'name':'Spanish\x20(Latin\x20America)','id':'es-419','ownlang':'Español\x20latinoamericano','integrated':![],'dic':![],'deepl':![]},'sw':{'name':'Swahili','id':'sw','ownlang':'Kiswahili','integrated':![],'dic':![],'deepl':![]},'sv':{'name':'Swedish','id':'sv','ownlang':'Svenska','integrated':!![],'dic':!![],'deepl':![]},'tg':{'name':'Tajik','id':'tg','ownlang':'тоҷикӣ','integrated':![],'dic':![],'deepl':![]},'ta':{'name':'Tamil','id':'ta','ownlang':'தமிழ்','integrated':![],'dic':![],'deepl':![]},'te':{'name':'Telugu','id':'te','ownlang':'తెలుగు','integrated':![],'dic':![],'deepl':![]},'th':{'name':'Thai','id':'th','ownlang':'ภาษาไทย','integrated':![],'dic':![],'deepl':![]},'tr':{'name':'Turkish','id':'tr','ownlang':'Türkçe','integrated':!![],'dic':![],'deepl':![]},'uk':{'name':'Ukrainian','id':'uk','ownlang':'Yкраїнський','integrated':!![],'dic':![],'deepl':![]},'ur':{'name':'Urdu','id':'ur','ownlang':'اُردُو','integrated':![],'dic':![],'deepl':![]},'uz':{'name':'Uzbek','id':'uz','ownlang':'اوزبیک','integrated':![],'dic':![],'deepl':![]},'vi':{'name':'Vietnamese','id':'vi','ownlang':'Tiếng\x20Việt\x20Nam','integrated':![],'dic':![],'deepl':![]},'cy':{'name':'Welsh','id':'cy','ownlang':'Cymraeg','integrated':![],'dic':![],'deepl':![]},'xh':{'name':'Xhosa','id':'xh','ownlang':'Xhosa','integrated':![],'dic':![],'deepl':![]},'yi':{'name':'Yiddish','id':'yi','ownlang':'ייִדיש\x20ייִדיש','integrated':![],'dic':![],'deepl':![]},'yo':{'name':'Yoruba','id':'yo','ownlang':'Èdè\x20Yorùbá','integrated':![],'dic':![],'deepl':![]},'zu':{'name':'Zulu','id':'zu','ownlang':'Zulu','integrated':![],'dic':![],'deepl':![]}};var cF=setInterval(()=>{var cG=document['querySelector']('html')['lang'];if(cG){clearInterval(cF);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][cG]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][cG]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][cG]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var cH=null;try{cH=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(cI){try{cH=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(cJ){var cK=BDFDB['getDiscordVersion']();if(cK){cK=cK['split']('.');if(cK['length']==0x3&&!isNaN(cK=parseInt(cK[0x2]))){cH=cK>0x122?'stable':cK>0xc8?'canary':'ptb';}else cH='stable';}else cH='stable';}}BDFDB['getDiscordBuilt']['built']=cH;return cH;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var cL=null;try{cL=require('electron')['remote']['app']['getVersion']();}catch(cM){cL='';}BDFDB['getDiscordBuilt']['version']=cL;return cL;}};BDFDB['getDiscordLanguage']=function(){var cN=document['querySelector']('html')['lang']||'en-US';var cO=cN['split']('-');var cP=cO[0x0];var cQ=cO[0x1]?cO[0x1]:'';cN=cQ&&cP['toUpperCase']()!==cQ['toUpperCase']()?cP+'-'+cQ:cP;return BDFDB['languages'][cN]||BDFDB['languages']['en-US'];};BDFDB['getDiscordTheme']=function(){return document['querySelectorAll'](BDFDB['dotCN']['themelight'])['length']>=document['querySelectorAll'](BDFDB['dotCN']['themedark'])['length']?BDFDB['disCN']['themelight']:BDFDB['disCN']['themedark'];};BDFDB['getDiscordMode']=function(){return document['querySelectorAll'](BDFDB['dotCN']['messagegroupcompact'])['length']>=document['querySelectorAll'](BDFDB['dotCN']['messagegroupcozy'])['length']?'compact':'cozy';};BDFDB['getDiscordZoomFactor']=function(){var cR=document['body']['firstElementChild']['getBoundingClientRect']();var cS=Math['round'](0x64*window['outerWidth']/cR['width']);var cT=Math['round'](0x64*window['outerHeight']/cR['height']);return cScV['startsWith']('__reactInternalInstance'))];};BDFDB['getOwnerInstance']=function(cW){if(cW===undefined)return null;if(!cW['node']&&!cW['instance']||!cW['name']&&(!cW['props']||!Array['isArray'](cW['props'])))return null;var cX=cW['instance']||BDFDB['getReactInstance'](cW['node']);if(!cX)return null;var cY=-0x1;var cZ=cW['depth']===undefined?0xf:cW['depth'];var d0=cW['up']===undefined?![]:cW['up'];var d1=performance['now']();var d2=cW['time']===undefined?0x96:cW['time'];var d3=d0?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var d4=Array['isArray'](cW['name']);var d5={};var d6=d9(cX);if(cW['all']){for(let d7 in d5){if(cW['group'])for(let d8 in d5[d7])delete d5[d7][d8]['BDFDBreactSearch'];else delete d5[d7]['BDFDBreactSearch'];}return d5;}else return d6;function d9(da){cY++;if(!da||Node['prototype']['isPrototypeOf'](da)||BDFDB['getReactInstance'](da)||cY>cZ||performance['now']()-d1>d2)dc=null;else{var db=Object['getOwnPropertyNames'](da);var dc=null;for(let dd=0x0;dc==null&&ddda['type']['displayName']!==dg&&da['type']['name']!==dg)||cW['props']&&cW['props']['every'](dh=>da['stateNode'][dh]!==undefined))||cW['defaultProps']&&cW['defaultProps']['every'](di=>da['stateNode'][di]!==undefined)){if(cW['all']===undefined||!cW['all']){dc=da['stateNode'];}else if(cW['all']){if(cW['noCopies']===undefined||!cW['noCopies']||cW['noCopies']&&!da['stateNode']['BDFDBreactSearch']){da['stateNode']['BDFDBreactSearch']=!![];if(cW['group']){if(cW['name']&&da['type']&&(da['type']['displayName']||da['type']['name'])){var dj=!d4?cW['name']:cW['name'][cW['name']['indexOf'](da['type']['displayName'])>-0x1?cW['name']['indexOf'](da['type']['displayName']):cW['name']['indexOf'](da['type']['name'])];if(typeof d5[dj]=='undefined')d5[dj]={};BDFDB['pushToObject'](d5[dj],da['stateNode']);}}else BDFDB['pushToObject'](d5,da['stateNode']);}}}if(dc==null&&(typeof df==='object'||typeof df==='function')&&d3[de]){dc=d9(df);}}}cY--;return dc;}};BDFDB['getKeyInformation']=function(dk){if(dk===undefined)return null;if(!dk['node']||!dk['key'])return null;var dl=BDFDB['getReactInstance'](dk['node']);if(!dl)return null;var dm=-0x1;var dn=dk['depth']===undefined?0xf:dk['depth'];var dp=performance['now']();var dq=dk['time']===undefined?0x1e:dk['time'];var dr={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dk['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dk['up']?![]:!![],'return':dk['up']?!![]:![],'sibling':dk['up']?![]:!![],'firstEffect':!![]};if(typeof dk['whiteList']==='object')Object['assign'](dr,dk['whiteList']);var ds=typeof dk['blackList']==='object'?dk['blackList']:{};var dt=[];var du=dv(dl);if(dk['all'])return dt;else return du;function dv(dw){dm++;if(!dw||Node['prototype']['isPrototypeOf'](dw)||BDFDB['getReactInstance'](dw)||dm>dn||performance['now']()-dp>dq)dy=null;else{var dx=Object['getOwnPropertyNames'](dw);var dy=null;for(let dz=0x0;dy==null&&dzdH['default']=dF},['__extra_id__'])['default']:webpackJsonp['push']([[],{'__extra_id__':(dJ,dK,dF)=>dJ['exports']=dF},[['__extra_id__']]]);delete dF['c']['__extra_id__'];for(let dM in dF['c']){if(dF['c']['hasOwnProperty'](dM)){var dN=dF['c'][dM]['exports'];if(dN&&dN['__esModule']&&dN['default']&&dE(dN['default']))return dN['default'];if(dN&&dE(dN))return dN;}}};BDFDB['WebModules']['cachedData']={};BDFDB['WebModules']['findByProperties']=function(dO){dO=Array['isArray'](dO)?dO:Array['from'](arguments);var dP=JSON['stringify'](dO);if(BDFDB['WebModules']['cachedData'][dP]){return BDFDB['WebModules']['cachedData'][dP];}else{var dQ=BDFDB['WebModules']['find'](dQ=>dO['every'](dS=>dQ[dS]!==undefined));if(dQ){BDFDB['WebModules']['cachedData'][dP]=dQ;return dQ;}}};BDFDB['WebModules']['findByName']=function(dT){var dU=JSON['stringify'](dT);if(BDFDB['WebModules']['cachedData'][dU]){return BDFDB['WebModules']['cachedData'][dU];}else{var dV=BDFDB['WebModules']['find'](dV=>dV['displayName']===dT);if(dV){BDFDB['WebModules']['cachedData'][dU]=dV;return dV;}}};BDFDB['WebModules']['findByPrototypes']=function(dX){dX=Array['isArray'](dX)?dX:Array['from'](arguments);var dY=JSON['stringify'](dX);if(BDFDB['WebModules']['cachedData'][dY]){return BDFDB['WebModules']['cachedData'][dY];}else{var dZ=BDFDB['WebModules']['find'](dZ=>dZ['prototype']&&dX['every'](e1=>dZ['prototype'][e1]!==undefined));if(dZ){BDFDB['WebModules']['cachedData'][dY]=dZ;return dZ;}}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patch']=function(e2,e3,e4,e5){if(!e2||!e3||!Object['keys'](e5)['some'](e6=>BDFDB['WebModules']['patchtypes']['includes'](e6)))return null;const e7=(typeof e4==='string'?e4:e4['name']?e4['name']:e4['getName']())['toLowerCase']();const e8=(e9,ea)=>(...eb)=>{try{return e9(...eb);}catch(ec){console['error']('Error\x20occurred\x20in\x20'+ea,ec);}};if(!e2['BDFDBpatch'])e2['BDFDBpatch']={};e3=Array['isArray'](e3)?e3:Array['of'](e3);for(let ed of e3){if(!e2[ed])e2[ed]=()=>{};const ee=e2[ed];if(!e2['BDFDBpatch'][ed]){e2['BDFDBpatch'][ed]={};for(let ef of BDFDB['WebModules']['patchtypes'])e2['BDFDBpatch'][ed][ef]={};e2['BDFDBpatch'][ed]['originalMethod']=ee;e2[ed]=function(){const eg={'thisObject':this,'methodArguments':arguments,'originalMethod':ee,'originalMethodName':ed,'callOriginalMethod':()=>eg['returnValue']=eg['originalMethod']['apply'](eg['thisObject'],eg['methodArguments'])};if(BDFDB&&typeof BDFDB=='object'){if(!BDFDB['isObjectEmpty'](e2['BDFDBpatch'][ed]['before']))for(let eh in BDFDB['sortObject'](e2['BDFDBpatch'][ed]['before'])){e8(e2['BDFDBpatch'][ed]['before'][eh],'`before`\x20callback\x20of\x20'+e2[ed]['displayName'])(eg);}if(BDFDB['isObjectEmpty'](e2['BDFDBpatch'][ed]['instead']))eg['callOriginalMethod']();else for(let ei in BDFDB['sortObject'](e2['BDFDBpatch'][ed]['instead'])){const ej=e8(e2['BDFDBpatch'][ed]['instead'][ei],'`instead`\x20callback\x20of\x20'+e2[ed]['displayName'])(eg);if(ej!==undefined)eg['returnValue']=ej;}if(!BDFDB['isObjectEmpty'](e2['BDFDBpatch'][ed]['after']))for(let ek in BDFDB['sortObject'](e2['BDFDBpatch'][ed]['after'])){e8(e2['BDFDBpatch'][ed]['after'][ek],'`after`\x20callback\x20of\x20'+e2[ed]['displayName'])(eg);}}else eg['callOriginalMethod']();return eg['returnValue'];};}for(let el of BDFDB['WebModules']['patchtypes'])if(typeof e5[el]=='function')e2['BDFDBpatch'][ed][el][e7]=e5[el];}const em=()=>{BDFDB['WebModules']['unpatch'](e2,e3,e4);};if(e4&&typeof e4=='object'){if(!Array['isArray'](e4['patchCancels']))e4['patchCancels']=[];e4['patchCancels']['push'](em);}return em;};BDFDB['WebModules']['unpatch']=function(en,eo,ep){if(!en||!en['BDFDBpatch'])return;const eq=!ep?null:(typeof ep==='string'?ep:ep['name']?ep['name']:ep['getName']())['toLowerCase']();eo=Array['isArray'](eo)?eo:Array['of'](eo);for(let er of eo){if(en[er]&&en['BDFDBpatch'][er]){for(let es of BDFDB['WebModules']['patchtypes']){if(eq)delete en['BDFDBpatch'][er][es][eq];else delete en['BDFDBpatch'][er][es];}var et=!![];for(let es of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](en['BDFDBpatch'][er][es]))et=![];if(et){en[er]=en['BDFDBpatch'][er]['originalMethod'];delete en['BDFDBpatch'][er];if(BDFDB['isObjectEmpty'](en['BDFDBpatch']))delete en['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(ev){if(ev&&typeof ev=='object'&&Array['isArray'](ev['patchCancels']))for(let ew of ev['patchCancels'])ew();};BDFDB['WebModules']['forceAllUpdates']=function(ex,ey){if(ex&&typeof ex=='object'&&ex['patchModules']&&typeof ex['patchModules']=='object'&&(!ey||ex['patchModules'][ey])){const ez=document['querySelector'](BDFDB['dotCN']['app']);const eA=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(ez){var eB=[];for(let eC in ex['patchModules']){eC=eC=='Guild'?'DropTarget(DragSource(FluxContainer(Guild)))':eC;var eD=Array['isArray'](ex['patchModules'][eC])?ex['patchModules'][eC]:Array['of'](ex['patchModules'][eC]);if(eD['includes']('componentDidUpdate')||eD['includes']('componentDidMount')||eD['includes']('render'))eB['push'](eC);}eB=ey?eB['filter'](eE=>eE==ey):eB;if(eB['length']>0x0){const eF=BDFDB['getOwnerInstance']({'node':ez,'name':eB,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eC in eF)for(let eH in eF[eC])BDFDB['WebModules']['initiateProcess'](ex,eF[eC][eH],eC,['componentDidUpdate','componentDidMount','render']);if(eA){const eI=BDFDB['getOwnerInstance']({'node':eA,'name':eB,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eC in eI)for(let eH in eI[eC])BDFDB['WebModules']['initiateProcess'](ex,eI[eC][eH],eC,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(eL){if(eL&&typeof eL=='object'&&eL['patchModules']&&typeof eL['patchModules']=='object'){for(let eM in eL['patchModules']){if(eM=='Guild'){eM='DropTarget(DragSource(FluxContainer(Guild)))';eL['patchModules'][eM]=eL['patchModules']['Guild'];delete eL['patchModules']['Guild'];}eP(BDFDB['WebModules']['findByName'](eM),eM);}var eN={'Message':'message','MessageOptionPopout':'optionpopout','UserPopout':'userpopout','EmojiPicker':'emojipicker','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};for(let eM in eN){if(BDFDB['DiscordClasses'][eN[eM]]&&eL['patchModules'][eM]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](eM)]){eV(BDFDB['disCN'][eN[eM]],eM);}}function eP(eQ,eM){if(eQ){eQ=eQ['displayName']==eM?eQ:BDFDB['getOwnerInstance']({'instance':eQ,'name':eM,'up':!![]});if(eQ){var eS=eQ['_reactInternalFiber']&&eQ['_reactInternalFiber']['type']?eQ['_reactInternalFiber']['type']:eQ;var eT={};eT[eL['name']=='$BDFDB'?'before':'after']=eU=>{if(BDFDB&&typeof BDFDB=='object')BDFDB['WebModules']['initiateProcess'](eL,eU['thisObject'],eM,[eU['originalMethodName']]);};BDFDB['WebModules']['patch'](eS['prototype'],eL['patchModules'][eM],eL,eT);}}}function eV(eW,eM){if(eL['patchModules'][eM]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](eM)]){var eY=BDFDB['getReactInstance'](document['querySelector']('.'+eW));if(f4(eY,eM))eP(eY,eM);else{var eZ=new MutationObserver(f0=>{f0['forEach'](f1=>{f1['addedNodes']['forEach'](f2=>{var f3=null;if(f2['tagName']&&(f3=f2['classList']&&f2['classList']['contains'](eW)?f2:f2['querySelector']('.'+eW))!=null){eY=BDFDB['getReactInstance'](f3);if(f4(eY,eM)){eZ['disconnect']();eP(eY,eM);BDFDB['WebModules']['forceAllUpdates'](eL,eM);}}});});});BDFDB['addObserver'](eL,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':eZ,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function f4(f5,eM){return f5&&(eM!='V2C_PluginCard'&&eM!='V2C_ThemeCard'||eM=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||eM=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(f7,f8,f9,fa){if(f7&&typeof f7=='object'&&f8){f9=f9=='DropTarget(DragSource(FluxContainer(Guild)))'?'Guild':f9;f9=f9['replace'](/[^A-z0-9]|_/g,'');f9=f9[0x0]['toUpperCase']()+f9['slice'](0x1);if(typeof f7['process'+f9]=='function'){var fb=BDFDB['React']['findDOMNodeSafe'](f8);if(fb)f7['process'+f9](f8,fb,fa);else setImmediate(()=>{fb=BDFDB['React']['findDOMNodeSafe'](f8);if(fb)f7['process'+f9](f8,fb,fa);});}}};var fc=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fd=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fc&&fd){BDFDB['React']=Object['assign']({},fc,fd);BDFDB['React']['findDOMNodeSafe']=function(fe){if(!fe||!fe['updater']||typeof fe['updater']['isMounted']!=='function'||!fe['updater']['isMounted'](fe))return null;return fd['findDOMNode'](fe);};}BDFDB['addOnSwitchListener']=function(ff){if(typeof ff['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](ff);var fg=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fg){ff['onSwitchFix']=new MutationObserver((fh,fi)=>{fh['forEach']((fj,fk)=>{if(fj['addedNodes']){fj['addedNodes']['forEach'](fl=>{if(fl&&fl['classList']&&(fl['classList']['contains'](BDFDB['disCN']['chat'])||fl['classList']['contains'](BDFDB['disCN']['nochannel']))){fm['observe'](fl,{'attributes':!![]});}});}});});ff['onSwitchFix']['observe'](fg,{'childList':!![]});var fm=new MutationObserver((fn,fo)=>{fn['forEach']((fp,fq)=>{if(fp['target']&&fp['target']['classList']&&fp['target']['classList']['contains'](BDFDB['disCN']['nochannel']))ff['onSwitch']();});});var fr=fg['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fr)fm['observe'](fr,{'attributes':!![]});}}};BDFDB['removeOnSwitchListener']=function(fs){if(typeof fs['onSwitch']==='function'&&typeof fs['onSwitchFix']==='object'){fs['onSwitchFix']['disconnect']();}};BDFDB['addContextListener']=function(ft){for(let fu of['User','Guild','Channel','Message','Native','UserSettingsCog']){if(typeof ft['on'+fu+'Context']==='function'||typeof ft['on'+fu+'ContextMenu']==='function'){var fv=BDFDB['WebModules']['findByName'](fu+'ContextMenu');if(fv&&fv['prototype'])BDFDB['WebModules']['patch'](fv['prototype'],'componentDidMount',ft,{'after':fw=>{var fx=BDFDB['React']['findDOMNodeSafe'](fw['thisObject']);if(fx){if(typeof ft['on'+fu+'Context']==='function')ft['on'+fu+'Context'](fw['thisObject'],fx);if(typeof ft['on'+fu+'ContextMenu']==='function')ft['on'+fu+'ContextMenu'](fw['thisObject'],fx);BDFDB['initElements'](fx);BDFDB['updateContextPosition'](fx);}}});}}};BDFDB['addReloadListener']=function(fy){if(typeof fy['initialize']==='function'){BDFDB['removeReloadListener'](fy);var fz=document['querySelector'](BDFDB['dotCN']['app']);if(fz){fy['reloadFix']=new MutationObserver((fA,fB)=>{fA['forEach']((fC,fD)=>{if(fC['addedNodes']){fC['addedNodes']['forEach'](fE=>{if(fE&&fE['classList']&&fE['classList']['contains'](BDFDB['disCN']['appold'])){var fD=0x0,fG=BDFDB['dotCN']['guildsadd'],fH=BDFDB['dotCN']['guildseparator'],fI=BDFDB['dotCN']['accountinfo'],fJ=setInterval(()=>{if(fE['querySelector'](fG)&&fE['querySelector'](fH)&&fE['querySelector'](fI)){clearInterval(fJ);if(window['PluginUpdates']&&window['PluginUpdates']['observer']){window['PluginUpdates']['observer']['disconnect']();delete window['PluginUpdates']['observer'];}fy['appReload']=!![];fy['initialize']();}if(fD>0x3e8)clearInterval(fJ);fD++;},0x64);}});}});});fy['reloadFix']['observe'](fz,{'childList':!![]});}}};BDFDB['removeReloadListener']=function(fK){if(typeof fK['initialize']==='function'&&typeof fK['reloadFix']==='object'){fK['reloadFix']['disconnect']();}};BDFDB['addSettingsButtonListener']=function(fL){if(BDFDB['isBDv2']()&&typeof fL['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](fL);BDFDB['appendSettingsButton'](fL);var fM=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(fM){fL['settingsButtonObserver']=new MutationObserver((fN,fO)=>{fN['forEach']((fP,fQ)=>{if(fP['addedNodes']){fP['addedNodes']['forEach'](fR=>{if(fR['tagName']&&fR['classList']['contains']('active')){BDFDB['appendSettingsButton'](fL);}});}});});fL['settingsButtonObserver']['observe'](fM,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(fS){var fT=document['querySelector']('.bd-card[data-plugin-id='+fS['id']+']');if(fT){var fU=BDFDB['htmlToElement']('');fT['insertBefore'](fU,fT['querySelector']('.bd-button'));BDFDB['$'](fU)['on']('mouseenter.BDFDBSettingsButtonListener',fV=>{BDFDB['createTooltip']('Settings',fV['currentTarget'],{'type':'top'});})['on']('click.BDFDBSettingsButtonListener',fW=>{var fX=BDFDB['htmlToElement'](''+fS['name']+'\x20Settings
');var fY=fS['getSettingsPanel']();fX['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof fY=='string'?BDFDB['htmlToElement'](fY):fY);if(typeof fS['onSettingsClosed']==='function'){$(fX)['on']('click.BDFDBCloseListener',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{fS['onSettingsClosed']();});}BDFDB['appendModal'](fX);});}};BDFDB['removeSettingsButtonListener']=function(fZ){if(BDFDB['isBDv2']()&&typeof fZ['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+fZ['id']+']\x20.DevilBro-settingsbutton');fZ['settingsButtonObserver']['disconnect']();}};BDFDB['LanguageStrings']=new Proxy(Object['create'](null),{'get':function(){let g0=arguments[0x1];let g1=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];if(!g1[g0])console['log'](g0+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else return typeof g1[g0]=='object'?g1[g0]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):g1[g0];}});BDFDB['LanguageStringsVars']={};for(let g2 in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][g2];}catch(g3){let g4=g3['toString']()['split']('for:\x20')[0x1];if(g4&&typeof g4=='string')BDFDB['LanguageStringsVars'][g4]='{{'+g4['toLowerCase']()+'}}';}}BDFDB['equals']=function(g5,g6,g7){var g8=-0x1;if(g7===undefined||typeof g7!=='boolean')g7=![];return g9(g5,g6);function g9(ga,gb){g8++;var gc=!![];if(g8>0x3e8)gc=null;else{if(typeof ga!==typeof gb)gc=![];else if(typeof ga==='undefined')gc=!![];else if(typeof ga==='symbol')gc=!![];else if(typeof ga==='boolean')gc=ga==gb;else if(typeof ga==='string')gc=ga==gb;else if(typeof ga==='number'){if(isNaN(ga)||isNaN(gb))gc=isNaN(ga)==isNaN(gb);else gc=ga==gb;}else if(!ga&&!gb)gc=!![];else if(!ga||!gb)gc=![];else if(typeof ga==='function'||typeof ga==='object'){var gd=Object['getOwnPropertyNames'](ga);var ge=Object['getOwnPropertyNames'](gb);if(gd['length']!==ge['length'])gc=![];else{for(let gf=0x0;gc===!![]&&gfgp['length']?gr:gp['length'];};BDFDB['readServerList']=function(){var gs=[],gt=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gu in gt)if(gt[gu]['props']&>[gu]['props']['guild']){gs['push'](Object['assign'](new gt[gu]['props']['guild']['constructor'](gt[gu]['props']['guild']),{'data':gt[gu]['props']['guild'],'div':gt[gu]['_reactInternalFiber']['child']['stateNode'],'instance':gt[gu]}));}return gs;};BDFDB['readUnreadServerList']=function(gv){var gw=[];for(let gx of gv===undefined||!Array['isArray'](gv)?BDFDB['readServerList']():gv){let gy=Node['prototype']['isPrototypeOf'](gx)?gx:gx&&gx['div']?gx['div']:null;if(gy&&(gy['classList']['contains'](BDFDB['disCN']['guildunread'])||gy['querySelector'](BDFDB['dotCN']['badge'])))gw['push'](gx);}return gw;};BDFDB['getSelectedServer']=function(){var gz=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gz)return BDFDB['getServerData'](gz['id'])||Object['assign'](new gz['constructor'](gz),{'data':gz,'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(gA){if(!Node['prototype']['isPrototypeOf'](gA)||!BDFDB['getReactInstance'](gA))return;let gB=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gA);if(!gB)return;var gC=gB['querySelector']('a');var gD=gC&&gC['href']?gC['href']['split']('/'):null;return gD&&gD['length']>0x3&&!isNaN(parseInt(gD[0x4]))?gD[0x4]['toString']():null;};BDFDB['getServerDiv']=function(gE){if(!gE)return null;if(Node['prototype']['isPrototypeOf'](gE))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gE);else{let gF=typeof gE=='object'?gE['id']:gE;if(gF)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+gF+'\x22]')));}return null;};BDFDB['getServerData']=function(gG){if(!gG)return null;let gH=Node['prototype']['isPrototypeOf'](gG)?BDFDB['getServerID'](gG):typeof gG=='object'?gG['id']:gG;for(let gI of BDFDB['readServerList']())if(gI&&gI['id']==(typeof gH=='number'?gH['toFixed']():gH))return gI;return null;};BDFDB['readChannelList']=function(){var gJ=[],gK=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gL in gK)if(gK[gL]['props']&&gK[gL]['props']['channel']){gJ['push'](Object['assign'](new gK[gL]['props']['channel']['constructor'](gK[gL]['props']['channel']),{'data':gK[gL]['props']['channel'],'div':Node['prototype']['isPrototypeOf'](gK[gL]['_reactInternalFiber']['return']['stateNode'])?gK[gL]['_reactInternalFiber']['return']['stateNode']:gK[gL]['_reactInternalFiber']['child']['child']['stateNode'],'instance':gK[gL]}));}return gJ;};BDFDB['getSelectedChannel']=function(){var gM=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(gM)return BDFDB['getChannelData'](gM['id'])||Object['assign'](new gM['constructor'](gM),{'data':gM,'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(gN){if(!Node['prototype']['isPrototypeOf'](gN)||!BDFDB['getReactInstance'](gN))return;let gO=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],gN);if(!gO)return;var gP=BDFDB['getKeyInformation']({'node':gO,'key':'channel'});return gP?gP['id']['toString']():null;};BDFDB['getChannelDiv']=function(gQ){let gR=BDFDB['getChannelData'](gQ);return gR?gR['div']:null;};BDFDB['getChannelData']=function(gS){if(!gS)return null;let gT=Node['prototype']['isPrototypeOf'](gS)?BDFDB['getChannelID'](gS):typeof gS=='object'?gS['id']:gS;for(let gU of BDFDB['readChannelList']())if(gU&&gU['id']==(typeof gT=='number'?gT['toFixed']():gT))return gU;return null;};BDFDB['readDmList']=function(){var gV=[],gW=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gX in gW)if(gW[gX]['props']&&gW[gX]['props']['channel']){gV['push'](Object['assign'](new gW[gX]['props']['channel']['constructor'](gW[gX]['props']['channel']),{'data':gW[gX]['props']['channel'],'div':gW[gX]['_reactInternalFiber']['child']['child']['stateNode'],'instance':gW[gX]}));}return gV;};BDFDB['getDmID']=function(gY){if(!Node['prototype']['isPrototypeOf'](gY)||!BDFDB['getReactInstance'](gY))return;let gZ=BDFDB['getParentEle'](BDFDB['dotCN']['dms'],gY);if(!gZ)return;let h0=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gY);if(!h0)return;var h1=h0['querySelector']('a');var h2=h1&&h1['href']?h1['href']['split']('/'):null;return h2&&h2['length']>0x3&&!isNaN(parseInt(h2[0x4]))?h2[0x4]['toString']():null;};BDFDB['getDmDiv']=function(h3){if(!h3)return null;if(Node['prototype']['isPrototypeOf'](h3))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h3);else{let h4=typeof h3=='object'?h3['id']:h3;if(h4)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+h4+'\x22]')));}return null;};BDFDB['getDmData']=function(h5){if(!h5)return null;let h6=Node['prototype']['isPrototypeOf'](h5)?BDFDB['getChannelID'](h5):typeof h5=='object'?h5['id']:h5;for(let h7 of BDFDB['readDmList']())if(h7&&h7['id']==(typeof h6=='number'?h6['toFixed']():h6))return h7;return null;};BDFDB['getDivOfChannel']=function(h8){for(let h9 of BDFDB['readChannelList']())if(h9&&h9['id']==h8)return h9;return null;};BDFDB['getIdOfServer']=function(ha){if(!ha||!ha['classList']||!ha['classList']['contains'](BDFDB['disCN']['guild'])||ha['classList']['contains']('copy')||ha['classList']['contains']('folder'))return;var hb,hc;hb=ha['querySelector']('a');hc=hb&&hb['href']?hb['href']['split']('/'):null;return hc&&hc['length']>0x3&&!isNaN(parseInt(hc[0x4]))?hc[0x4]:null;};BDFDB['getDivOfServer']=function(hd){if(!hd)return null;for(serverObj of BDFDB['readServerList']())if(serverObj&&serverObj['id']==hd)return serverObj;return null;};BDFDB['getIdOfDM']=function(he){if(!he||!he['classList']||!he['classList']['contains'](BDFDB['disCN']['guild'])||he['classList']['contains']('copy')||he['classList']['contains']('folder'))return;if(!he['parentElement']||!he['parentElement']['classList']||!he['parentElement']['classList']['contains'](BDFDB['disCN']['dms']))return;var hf,hg;hf=he['querySelector']('a');hg=hf&&hf['href']?hf['href']['split']('/'):null;return hg&&hg['length']>0x3&&!isNaN(parseInt(hg[0x5]))?hg[0x5]:null;};BDFDB['getDivOfDM']=function(hh){if(!hh)return null;for(let hi of BDFDB['readDmList']())if(hi&&hi['id']==hh)return hi;return null;};BDFDB['saveAllData']=function(hj,hk,hl){var hm=require('fs'),hn,ho;if(!BDFDB['isBDv2']()){ho=typeof hk==='string'?hk:hk['getName']();hn=require('path')['join'](BDFDB['getPluginsFolder'](),ho+'.config.json');}else{ho=typeof hk==='string'?hk['toLowerCase']():null;var hp=ho?BDFDB['Plugins'][ho]?BDFDB['Plugins'][ho]['contentPath']:null:hk['contentPath'];if(!hp)return;hn=require('path')['join'](hp,'settings.json');}var hq=hm['existsSync'](hn);var hr=!hq?{}:typeof BDFDB['cachedData'][ho]!=='undefined'?BDFDB['cachedData'][ho]:BDFDB['readConfig'](hn);hr[hl]=hj;if(BDFDB['isObjectEmpty'](hr[hl])){delete hr[hl];}if(BDFDB['isObjectEmpty'](hr)){delete BDFDB['cachedData'][ho];if(hq)hm['unlinkSync'](hn);}else{BDFDB['cachedData'][ho]=hr;hm['writeFileSync'](hn,JSON['stringify'](hr,null,'\x09'));}};BDFDB['loadAllData']=function(hs,ht){var hu=require('fs'),hv,hw;if(!BDFDB['isBDv2']()){hw=typeof hs==='string'?hs:hs['getName']();hv=require('path')['join'](BDFDB['getPluginsFolder'](),hw+'.config.json');}else{hw=typeof hs==='string'?hs['toLowerCase']():null;var hx=hw?BDFDB['Plugins'][hw]?BDFDB['Plugins'][hw]['contentPath']:null:hs['contentPath'];if(!hx)return{};hv=require('path')['join'](hx,'settings.json');}var hy=hu['existsSync'](hv);if(!hy){delete BDFDB['cachedData'][hw];return{};}var hz=typeof BDFDB['cachedData'][hw]!=='undefined'?BDFDB['cachedData'][hw]:BDFDB['readConfig'](hv);BDFDB['cachedData'][hw]=hz;return hz&&typeof hz[ht]!=='undefined'?hz[ht]:{};};BDFDB['removeAllData']=function(hA,hB){var hC=require('fs'),hD,hE;if(!BDFDB['isBDv2']()){hE=typeof hA==='string'?hA:hA['getName']();hD=require('path')['join'](BDFDB['getPluginsFolder'](),hE+'.config.json');}else{hE=typeof hA==='string'?hA['toLowerCase']():null;var hF=hE?BDFDB['Plugins'][hE]?BDFDB['Plugins'][hE]['contentPath']:null:hA['contentPath'];if(!hF)return;hD=require('path')['join'](hF,'settings.json');}var hG=hC['existsSync'](hD);var hH=!hG?{}:typeof BDFDB['cachedData'][hE]!=='undefined'?BDFDB['cachedData'][hE]:BDFDB['readConfig'](hD);delete hH[hB];if(BDFDB['isObjectEmpty'](hH)){delete BDFDB['cachedData'][hE];if(hG)hC['unlinkSync'](hD);}else{BDFDB['cachedData'][hE]=hH;hC['writeFileSync'](hD,JSON['stringify'](hH,null,'\x09'));}};BDFDB['getAllData']=function(hI,hJ,hK){if(!hI['defaults']||!hI['defaults'][hJ])return{};var hL=BDFDB['loadAllData'](hI,hJ),hM={},hN=![];for(let hO in hI['defaults'][hJ]){if(hL[hO]==null){hM[hO]=hI['defaults'][hJ][hO]['value'];hN=!![];}else{hM[hO]=hL[hO];}if(typeof hK==='object'&&hK&&typeof hK[hM[hO]]==='undefined'){hM[hO]=Object['keys'](hK)[0x0];hN=!![];}}if(hN)BDFDB['saveAllData'](hM,hI,hJ);return hM;};BDFDB['readConfig']=function(...hP){try{return JSON['parse'](require('fs')['readFileSync'](...hP));}catch(hQ){return{};}};BDFDB['saveData']=function(hR,hS,hT,hU){var hV=BDFDB['loadAllData'](hT,hU);hV[hR]=hS;BDFDB['saveAllData'](hV,hT,hU);};BDFDB['loadData']=function(hW,hX,hY){var hZ=BDFDB['loadAllData'](hX,hY);var i0=hZ[hW];return i0===undefined?null:i0;};BDFDB['removeData']=function(i1,i2,i3){var i4=BDFDB['loadAllData'](i2,i3);delete i4[i1];BDFDB['saveAllData'](i4,i2,i3);};BDFDB['getData']=function(i5,i6,i7,i8){var i9=BDFDB['getAllData'](i6,i7,i8);var ia=i9[i5];return ia===undefined?null:ia;};BDFDB['appendWebScript']=function(ib,ic){if(!ic&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));ic=ic||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];BDFDB['removeWebScript'](ib,ic);var id=document['createElement']('script');id['setAttribute']('src',ib);ic['appendChild'](id);};BDFDB['removeWebScript']=function(ie,ig){ig=ig||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];ig['querySelectorAll']('script[src=\x22'+ie+'\x22]')['forEach'](ih=>{ih['remove']();});};BDFDB['appendWebStyle']=function(ii,ij){if(!ij&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));ij=ij||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeWebStyle'](ii,ij);var ik=document['createElement']('link');ik['setAttribute']('type','text/css');ik['setAttribute']('rel','Stylesheet');ik['setAttribute']('href',ii);ij['appendChild'](ik);};BDFDB['removeWebStyle']=function(il,im){im=im||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];im['querySelectorAll']('link[href=\x22'+il+'\x22]')['forEach'](io=>{io['remove']();});};BDFDB['appendLocalStyle']=function(ip,iq,ir){if(!ir&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));ir=ir||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeLocalStyle'](ip,ir);var is=document['createElement']('style');is['id']=ip+'CSS';is['innerHTML']=iq;ir['appendChild'](is);};BDFDB['removeLocalStyle']=function(it,iu){iu=iu||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iu['querySelectorAll']('style[id=\x22'+it+'CSS\x22]')['forEach'](iv=>{iv['remove']();});};BDFDB['formatBytes']=function(iw,ix){if(iw==0x0)return'0\x20Bytes';if(iw==0x1)return'1\x20Byte';var iy=0x400,iz=ix<0x1?0x0:ix>0x14?0x14:ix||0x2,iA=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'],iB=Math['floor'](Math['log'](iw)/Math['log'](iy));return parseFloat((iw/Math['pow'](iy,iB))['toFixed'](iz))+'\x20'+iA[iB];};BDFDB['colorCONVERT']=function(iC,iD,iE){if(!iC)return null;iD=iD===undefined||!iD?iD='RGBCOMP':iD['toUpperCase']();iE=iE===undefined||!iE||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iE['toUpperCase']())?BDFDB['colorTYPE'](iC):iE['toUpperCase']();if(iD=='RGBCOMP'){switch(iE){case'RGBCOMP':if(iC['length']==0x3)return je(iC);else if(iC['length']==0x4){var iF=jh(iC['pop']());return je(iC)['concat'](iF);}case'RGB':return je(iC['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var iG=iC['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iF=jh(iG['pop']());return je(iG)['concat'](iF);case'HSLCOMP':if(iC['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iC['join'](',')+')','RGBCOMP');else if(iC['length']==0x4){var iF=jh(iV['pop']());return BDFDB['colorCONVERT']('hsl('+iV['join'](',')+')','RGBCOMP')['concat'](iF);}case'HSL':var iJ=jl(iC['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var iK,iL,iM,iN,iO,iP,iQ,iR;var iS=iJ[0x0]/0x168,iT=parseInt(iJ[0x1])/0x64,iU=parseInt(iJ[0x2])/0x64;iN=Math['floor'](iS*0x6);iO=iS*0x6-iN;iP=iU*(0x1-iT);iQ=iU*(0x1-iO*iT);iR=iU*(0x1-(0x1-iO)*iT);switch(iN%0x6){case 0x0:iK=iU,iL=iR,iM=iP;break;case 0x1:iK=iQ,iL=iU,iM=iP;break;case 0x2:iK=iP,iL=iU,iM=iR;break;case 0x3:iK=iP,iL=iQ,iM=iU;break;case 0x4:iK=iR,iL=iP,iM=iU;break;case 0x5:iK=iU,iL=iP,iM=iQ;break;}return[Math['round'](iK*0xff),Math['round'](iL*0xff),Math['round'](iM*0xff)];case'HSLA':var iV=iC['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iF=jh(iV['pop']());return BDFDB['colorCONVERT']('hsl('+iV['join'](',')+')','RGBCOMP')['concat'](iF);case'HEX':var iX=/^#([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'](iC);return[parseInt(iX[0x1]+iX[0x1]||iX[0x4],0x10)['toString'](),parseInt(iX[0x2]+iX[0x2]||iX[0x5],0x10)['toString'](),parseInt(iX[0x3]+iX[0x3]||iX[0x6],0x10)['toString']()];default:return null;}}else{var iY=iE=='RGBCOMP'?iC:BDFDB['colorCONVERT'](iC,'RGBCOMP',iE);if(iY)switch(iD){case'RGB':return'rgb('+je(iY['slice'](0x0,0x3))['join'](',')+')';case'RGBA':iY=iY['slice'](0x0,0x4);var iF=iY['length']==0x4?jh(iY['pop']()):0x1;return'rgba('+je(iY)['concat'](iF)['join'](',')+')';case'HSLCOMP':var iF=iY['length']==0x4?jh(iY['pop']()):null;var iJ=jl(BDFDB['colorCONVERT'](iY,'HSL')['replace'](/\s/g,'')['split'](','));return iF?iJ['concat'](iF):iJ;case'HSL':var iK=jc(iY[0x0]),iL=jc(iY[0x1]),iM=jc(iY[0x2]);var j5=Math['max'](iK,iL,iM),j6=Math['min'](iK,iL,iM),j7=j5-j6,iS,iT=j5===0x0?0x0:j7/j5,iU=j5/0xff;switch(j5){case j6:iS=0x0;break;case iK:iS=iL-iM+j7*(iL0xff?0xff:jd<0x0?0x0:jd;};function je(jf){return jf['map'](jg=>{return jc(jg);});};function jh(iF){iF=iF['toString']();iF=(iF['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iF['replace'](/[^0-9\.\-]/g,''));return isNaN(iF)||iF>0x1?0x1:iF<0x0?0x0:iF;};function jj(iP){iP=parseFloat(iP['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(iP)||iP>0x64?0x64:iP<0x0?0x0:iP)+'%';};function jl(jm){let iS=parseFloat(jm['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));iS=isNaN(iS)||iS>0x168?0x168:iS<0x0?0x0:iS;return[iS]['concat'](jm['map'](iP=>{return jj(iP);}));};};BDFDB['colorSETALPHA']=function(jp,jq,jr){var js=BDFDB['colorCONVERT'](jp,'RGBCOMP');if(js){jq=jq['toString']();jq=(jq['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jq['replace'](/[^0-9\.\-]/g,''));jq=isNaN(jq)||jq>0x1?0x1:jq<0x0?0x0:jq;js[0x3]=jq;var jt=(jr||BDFDB['colorTYPE'](jp))['toUpperCase']();jt=jt=='HSL'||jt=='RGB'?jt+'A':jt;return BDFDB['colorCONVERT'](js,jt);}return null;};BDFDB['colorCHANGE']=function(ju,jv,jw){jv=parseFloat(jv);if(ju&&typeof jv=='number'&&!isNaN(jv)){var jx=BDFDB['colorCONVERT'](ju,'RGBCOMP');if(jx){if(parseInt(jv)!==jv){jv=jv['toString']();jv=(jv['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jv['replace'](/[^0-9\.\-]/g,''));jv=isNaN(jv)?0x0:jv;return BDFDB['colorCONVERT']([Math['round'](jx[0x0]*(0x1+jv)),Math['round'](jx[0x1]*(0x1+jv)),Math['round'](jx[0x2]*(0x1+jv))],jw||BDFDB['colorTYPE'](ju));}else return BDFDB['colorCONVERT']([Math['round'](jx[0x0]+jv),Math['round'](jx[0x1]+jv),Math['round'](jx[0x2]+jv)],jw||BDFDB['colorTYPE'](ju));}}return null;};BDFDB['colorINV']=function(jy,jz){if(jy){var jA=BDFDB['colorCONVERT'](jy,'RGBCOMP');if(jA)return BDFDB['colorCONVERT']([0xff-jA[0x0],0xff-jA[0x1],0xff-jA[0x2]],jz||BDFDB['colorTYPE'](jy));}return null;};BDFDB['colorCOMPARE']=function(jB,jC){if(jB&&jC){jB=BDFDB['colorCONVERT'](jB,'RGBCOMP');jC=BDFDB['colorCONVERT'](jC,'RGBCOMP');return BDFDB['equals'](jB,jC);}return null;};BDFDB['colorISBRIGHT']=function(jD,jE=0xa0){jD=BDFDB['colorCONVERT'](jD,'RGBCOMP');if(!jD)return![];return parseInt(jE)