diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index ce49794ccc..34cf0c6bde 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,S){if(!O||!Node['prototype']['isPrototypeOf'](P)||!Q)return;var T=typeof R=='function';var U=T?'':R;var V=T?R:S;if(typeof V!='function')return;BDFDB['removeEventListener'](O,P,Q,U);for(var W of Q['split']('\x20')){W=W['split']('.');var X=W['shift']()['toLowerCase']();if(!X)return;var Y=(W['join']('.')||'')+(O['name']||O['getName']());if(!Array['isArray'](O['listeners']))O['listeners']=[];var Z=null;if(U){var a0=X;if(a0=='mouseenter'||a0=='mouseleave'){Z=a1=>{for(let a2 of a1['path'])if(typeof a2['matches']=='function'&&a2['matches'](U)&&!a2[W+'BDFDB'+a0]){a2[W+'BDFDB'+a0]=!![];Object['defineProperty'](a1,'currentTarget',{'value':a2});if(a0=='mouseenter')V(a1);let a3=a4=>{if(a4['target']['contains'](a2)||a4['target']==a2||!a2['contains'](a4['target'])){if(a0=='mouseleave')V(a1);delete a2[W+'BDFDB'+a0];document['removeEventListener']('mouseout',a3);}};document['addEventListener']('mouseout',a3);break;}};}else{Z=a5=>{for(let a6 of a5['path'])if(typeof a6['matches']=='function'&&a6['matches'](U)){Object['defineProperty'](a5,'currentTarget',{'value':a6});V(a5);break;}};}}else Z=V;X=X=='mouseenter'||X=='mouseleave'?'mouseover':X;O['listeners']['push']({'ele':P,'eventname':X,'namespace':Y,'selector':U,'eventcallback':Z});P['addEventListener'](X,Z);}};BDFDB['removeEventListener']=function(a7,a8,a9='',aa){if(!a7||!Array['isArray'](a7['listeners']))return;if(Node['prototype']['isPrototypeOf'](a8)){for(var ab of a9['split']('\x20')){ab=ab['split']('.');var ac=ab['shift']()['toLowerCase']();var ad=(ab['join']('.')||'')+(a7['name']||a7['getName']());ac=ac=='mouseenter'||ac=='mouseleave'?'mouseover':ac;for(let ae of a7['listeners']){let af=[];if(ae['ele']==a8&&(!ac||ae['eventname']==ac)&&ae['namespace']==ad&&(aa===undefined||ae['selector']==aa)){a8['removeEventListener'](ae['eventname'],ae['eventcallback']);af['push'](ae);}if(af['length'])a7['listeners']=a7['listeners']['filter'](ae=>{return af['indexOf'](ae)<0x0;});}}}else if(!a8){for(let ah of a7['listeners'])ah['ele']['removeEventListener'](ah['eventname'],ah['eventcallback']);a7['listeners']=[];}};BDFDB['checkUpdate']=function(ai,aj){if(BDFDB['isBDv2']())return;var ak=require('request');ak(aj,(al,am,an)=>{if(al)return;var ao=an['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!ao)return;ao=ao['toString']()['replace'](/['"]/g,'');var ap=ao['split']('.');var aq=window['PluginUpdates']['plugins'][aj]['version']['split']('.');var ar=![];if(ap[0x0]>aq[0x0])ar=!![];else if(ap[0x0]==aq[0x0]&&ap[0x1]>aq[0x1])ar=!![];else if(ap[0x0]==aq[0x0]&&ap[0x1]==aq[0x1]&&ap[0x2]>aq[0x2])ar=!![];else ar=![];if(ar)BDFDB['showUpdateNotice'](ai,aj);else BDFDB['removeUpdateNotice'](ai);});};BDFDB['showUpdateNotice']=function(as,at){var au=document['querySelector']('#pluginNotice');if(!au){au=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});au['style']['setProperty']('display','block','important');au['style']['setProperty']('visibility','visible','important');au['style']['setProperty']('opacity','1','important');BDFDB['$'](au)['on']('click',BDFDB['dotCN']['noticedismiss'],()=>{BDFDB['$'](au)['slideUp']({'complete':()=>{au['remove']();}});})['on']('click',BDFDB['dotCN']['noticebutton'],av=>{av['preventDefault']();window['location']['reload'](![]);})['on']('mouseenter',BDFDB['dotCN']['noticebutton'],aw=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),aw['currentTarget'],{'type':'bottom','selector':'update-notice-tooltip'});})['find'](BDFDB['dotCN']['noticebutton'])['hide']();}if(au){var ax=au['querySelector']('#outdatedPlugins');var ay=as+'-notice';if(ax&&!ax['querySelector']('#'+ay)){var az=document['createElement']('span');az['id']=ay;az['innerText']=as;BDFDB['$'](az)['on']('click',()=>{BDFDB['downloadPlugin'](as,at,au);});if(ax['querySelector']('span')){var aA=document['createElement']('span');aA['className']='separator';aA['innerText']=',\x20';ax['appendChild'](aA);}ax['appendChild'](az);}}};BDFDB['downloadPlugin']=function(aB,aC,aD){var aE=require('request');var aF=require('fs');var aG=require('path');aE(aC,(aH,aI,aJ)=>{if(aH)return console['log']('Unable\x20to\x20get\x20update\x20for\x20'+aB);BDFDB['creationTime']=0x0;var aK=aJ['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);aK=aK['toString']()['replace'](/['"]/g,'');var aL=aC['split']('/');aL=aL[aL['length']-0x1];var aM=aG['join'](BDFDB['getPluginsFolder'](),aL);aF['writeFileSync'](aM,aJ);BDFDB['showToast'](aB+'\x20v'+window['PluginUpdates']['plugins'][aC]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aB+'\x20v'+aK+'.',{'selector':'plugin-updated-toast'});if(aD['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][aC]['version']=aK;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](aB))window['PluginUpdates']['downloaded']['push'](aB);}BDFDB['removeUpdateNotice'](aB,aD);});};BDFDB['removeUpdateNotice']=function(aN,aO){if(typeof aO==='undefined')aO=document['querySelector']('#pluginNotice');if(aO){var aP=aO['querySelector']('#outdatedPlugins');if(aP){var aQ=aP['querySelector']('#'+aN+'-notice');if(aQ){var aR=aQ['nextSibling'];var aS=aQ['prevSibling'];if(aR&&aR['classList']&&aR['classList']['contains']('separator'))aR['remove']();else if(aS&&aS['classList']&&aS['classList']['contains']('separator'))aS['remove']();aQ['remove']();}if(!aP['querySelector']('span')){var aT=aO['querySelector'](BDFDB['dotCN']['noticebutton']);if(aT){aO['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';aT['style']['display']='inline-block';}else{aO['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}}}};BDFDB['showToast']=function(aU,aV={}){var aW=document['querySelector']('.toasts,\x20.bd-toasts');if(!aW){var aX=document['querySelector'](BDFDB['dotCNS']['channels']+'+\x20div');var aY=aX?aX['querySelector'](BDFDB['dotCNS']['memberswrap']):null;var aZ=aX?aX['getBoundingClientRect']()['left']:0x136;var b0=aX?aY?aX['offsetWidth']-aY['offsetWidth']:aX['offsetWidth']:window['outerWidth']-aZ;var b1=aX?aX['querySelector']('form'):null;var b2=b1?b1['offsetHeight']:0x50;aW=document['createElement']('div');aW['classList']['add']('toasts','bd-toasts');aW['style']['setProperty']('left',aZ+'px','important');aW['style']['setProperty']('width',b0+'px','important');aW['style']['setProperty']('bottom',b2+'px','important');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](aW);}const {type='',icon=!![],timeout=0xbb8,html=![],selector=''}=aV;var b3=document['createElement']('div');b3['classList']['add']('toast','bd-toast');if(type){b3['classList']['add']('toast-'+type);if(icon)b3['classList']['add']('icon');}if(selector)selector['split']('\x20')['forEach'](b4=>{if(b4)b3['classList']['add'](b4);});if(html===!![])b3['innerHTML']=aU;else b3['innerText']=aU;aW['appendChild'](b3);b3['close']=()=>{if(b3['parentElement']){b3['classList']['add']('closing');setTimeout(()=>{b3['remove']();if(!aW['querySelectorAll']('.toast,\x20.bd-toast')['length'])aW['remove']();},0x12c);}};setTimeout(()=>{b3['close']();},timeout>0x0?timeout:0x927c0);return b3;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(b5,b6={}){var b7=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':b5,'parsedoptions':b6});b8();};var b8=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var b9=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(b9)ba(b9['parsedcontent'],b9['parsedoptions']);}};var ba=(bb,bc)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bd=bc['silent'];bc['silent']=bc['silent']||bc['sound']?!![]:![];var be=new Notification(bb,bc);var bf=new Audio();var bg=setTimeout(()=>{bh();},bc['timeout']?bc['timeout']:0xbb8);if(typeof bc['click']=='function')be['onclick']=()=>{clearTimeout(bg);bh();bc['click']();};if(!bd&&bc['sound']){bf['src']=bc['sound'];bf['play']();}var bh=()=>{bf['pause']();be['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{b8();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted'){b7();}else if(Notification['permission']!=='denied'){Notification['requestPermission'](function(bi){if(bi==='granted'){b7();}});}};BDFDB['createTooltip']=function(bj,bk,bl={}){if(!bj||!bk||!document['contains'](bk))return null;var bm=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bm)return null;var bn=Math['round'](Math['random']()*0x2386f26fc10000);var bo=document['createElement']('div');bo['className']=BDFDB['disCNS']['tooltip']+'DevilBro-tooltip';if(bl['type']&&BDFDB['disCN']['tooltip'+bl['type']['toLowerCase']()])bo['classList']['add'](BDFDB['disCN']['tooltip'+bl['type']['toLowerCase']()]);if(bl['id'])bo['id']=bl['id']['split']('\x20')['join']('');if(bl['selector'])bl['selector']['split']('\x20')['forEach'](bp=>{if(bp)bo['classList']['add'](bp);});if(bl['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bn,bl['css'],bm);if(bl['style'])bo['style']=bl['style'];if(bl['html']===!![])bo['innerHTML']=bj;else bo['innerText']=bj;if(bo['style']['borderColor']&&bo['style']['backgroundColor'])bo['classList']['add']('tooltip-customcolor');else if(bl['color']&&BDFDB['disCN']['tooltip'+bl['color']['toLowerCase']()])bo['classList']['add'](BDFDB['disCN']['tooltip'+bl['color']['toLowerCase']()]);else bo['classList']['add'](BDFDB['disCN']['tooltipblack']);var bq=()=>{if(bk['parentElement']&&document['contains'](bk)){bm['appendChild'](bo);var br,bs,bt=bk['getBoundingClientRect'](),bu=bo['getBoundingClientRect']();if(!bl['position'])bl['position']=bl['type'];switch(bl['position']){case'top':br=bt['left']+(bt['width']-bu['width'])/0x2;bs=bt['top']-bu['height'];break;case'bottom':br=bt['left']+(bt['width']-bu['width'])/0x2;bs=bt['top']+bt['height'];break;case'left':br=bt['left']-bu['width'];bs=bt['top']+(bt['height']-bu['height'])/0x2;break;default:br=bt['left']+bt['width'];bs=bt['top']+(bt['height']-bu['height'])/0x2;break;}bo['style']['setProperty']('left',br+'px','important');bo['style']['setProperty']('top',bs+'px','important');var bv=new MutationObserver(bw=>{bw['forEach'](bx=>{var by=Array['from'](bx['removedNodes']);var bz=by['indexOf'](bo)>-0x1;var bA=by['indexOf'](bk)>-0x1;var bB=by['some'](bC=>bC['contains'](bk));if(bz||bA||bB){bv['disconnect']();bo['remove']();BDFDB['$'](bk)['off']('mouseleave.BDFDBTooltip'+bn);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bn,bm);}});});bv['observe'](document['body'],{'subtree':!![],'childList':!![]});}};var bD=null;if(bl['delay'])bD=setTimeout(bq,bl['delay']);else bq();BDFDB['$'](bk)['on']('mouseleave.BDFDBTooltip'+bn,()=>{if(bl['delay']&&bD)clearTimeout(bD);bo['remove']();});return bo;};BDFDB['createNotificationsBar']=function(bE,bF={}){if(!bE)return;var bG=document['querySelector'](BDFDB['dotCN']['layers']);if(!bG)return;var bH=Math['round'](Math['random']()*0x2386f26fc10000);var bI=document['createElement']('div');bI['className']=BDFDB['disCNS']['notice']+BDFDB['disCNS']['size14']+BDFDB['disCNS']['weightmedium']+BDFDB['disCNS']['height36']+'DevilBro-notice\x20notice-'+bH;bI['innerHTML']='
';bG['parentElement']['insertBefore'](bI,bG);var bJ=bI['querySelector']('.notice-message');if(bF['icon']){var bK={'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 bL of bF['icon']['split']('\x20')){if(bK[bL])bI['insertBefore'](BDFDB['htmlToElement'](''),bK[bL]['size']=='small'?null:bJ);}}if(bF['btn'])bI['appendChild'](BDFDB['htmlToElement'](''));if(bF['id'])bI['id']=bF['id']['split']('\x20')['join']('');if(bF['selector'])bF['selector']['split']('\x20')['forEach'](bM=>{if(bM)bI['classList']['add'](bM);});if(bF['css'])BDFDB['appendLocalStyle']('BDFDBcustomNotificationsBar'+bH,bF['css']);if(bF['style'])bI['style']=bF['style'];if(bF['html']===!![])bJ['innerHTML']=bE;else{var bN=document['createElement']('a');var bO=[];for(let bP of bE['split']('\x20')){var bQ=BDFDB['encodeToHTML'](bP);bN['href']=bP;bO['push'](bN['host']&&bN['host']!==window['location']['host']?'':bQ);}bJ['innerHTML']=bO['join']('\x20');}var bR=null;if(bF['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){var bS={'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(bR=bS[bF['type']])bR['split']('\x20')['forEach'](bT=>{if(bT)bI['classList']['add'](bT);});if(bF['type']=='premium'){var bU=bI['querySelector'](BDFDB['dotCN']['noticebutton']);if(bU)bU['classList']['add'](BDFDB['disCN']['noticepremiumaction']);bJ['classList']['add'](BDFDB['disCN']['noticepremiumtext']);bI['insertBefore'](BDFDB['htmlToElement'](''),bJ);}}if(!bR){var bV=BDFDB['colorCONVERT'](bF['color'],'RGBCOMP');if(bV){var bW=bV[0x0]>0xb4&&bV[0x1]>0xb4&&bV[0x2]>0xb4?'#000':'#FFF';var bX=BDFDB['colorCONVERT'](bV,'HEX');var bY=bV[0x0]>0xb4&&bV[0x1]>0xb4&&bV[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomNotificationsBarColorCorrection'+bH,'.DevilBro-notice.notice-'+bH+'\x20{\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+bX+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bH+'\x20.notice-message\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bW+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bH+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bW+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09border-color:\x20'+BDFDB['colorSETALPHA'](bW,0.25,'RGBA')+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bH+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+bX+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+bW+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bH+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{\x0a\x09\x09\x09\x09\x09\x09filter:\x20'+bY+'\x20!important;\x0a\x09\x09\x09\x09\x09}');}else bI['classList']['add'](BDFDB['disCN']['noticedefault']);}BDFDB['$'](bI)['on']('click',BDFDB['dotCN']['noticedismiss'],()=>{BDFDB['$'](bI)['slideUp']({'complete':()=>{BDFDB['removeLocalStyle']('BDFDBcustomNotificationsBar'+bH);BDFDB['removeLocalStyle']('BDFDBcustomNotificationsBarColorCorrection'+bH);bI['remove']();}});});return bI;};BDFDB['getDiscordFolder']=function(){var bZ=BDFDB['getDiscordBuilt']();bZ='discord'+(bZ=='stable'?'':bZ);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),bZ,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var c0=require('process');var c1=require('path');if(c0['env']['injDir'])return c1['resolve'](c0['env']['injDir'],'plugins/');switch(c0['platform']){case'win32':return c1['resolve'](c0['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return c1['resolve'](c0['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(c0['env']['XDG_CONFIG_HOME'])return c1['resolve'](c0['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return c1['resolve'](c0['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var c2=require('process');var c3=require('path');if(c2['env']['injDir'])return c3['resolve'](c2['env']['injDir'],'plugins/');switch(c2['platform']){case'win32':return c3['resolve'](c2['env']['appdata'],'BetterDiscord/themes/');case'darwin':return c3['resolve'](c2['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(c2['env']['XDG_CONFIG_HOME'])return c3['resolve'](c2['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return c3['resolve'](c2['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(c4=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x27user-settings\x27]')){if(!c4)return;var c5=c4['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!c5)return;var c6=c5['parentElement']['querySelector']('h2');if(c6&&c6['innerText']){let c7=c6['innerText']['toLowerCase']();if(c7==='plugins'||c7==='themes')return c7;}};BDFDB['checkAllUpdates']=function(){for(let c8 in window['PluginUpdates']['plugins']){var c9=window['PluginUpdates']['plugins'][c8];BDFDB['checkUpdate'](c9['name'],c9['raw']);}};BDFDB['sortObject']=function(ca,cb,cc){var cd={};if(cb===undefined||!cb)for(let ce of Object['keys'](ca)['sort']())cd[ce]=ca[ce];else{let cf=[];for(let ce in ca)cf['push'](ca[ce]);cf=BDFDB['sortArrayByKey'](cf,cb,cc);for(let ch of cf)for(let ce in ca)if(BDFDB['equals'](ch,ca[ce])){cd[ce]=ch;break;}}return cd;};BDFDB['reverseObject']=function(cj,ck){var cl={};if(ck===undefined||!ck)for(let cm of Object['keys'](cj)['reverse']())cl[cm]=cj[cm];else for(let cn of Object['keys'](cj)['sort']['reverse']())cl[cn]=cj[cn];return cl;};BDFDB['filterObject']=function(co,cp){return Object['keys'](co)['filter'](cq=>cp(co[cq]))['reduce']((cr,cs)=>(cr[cs]=co[cs],cr),{});};BDFDB['isObjectEmpty']=function(ct){return typeof ct!=='object'||Object['getOwnPropertyNames'](ct)['length']==0x0;};BDFDB['pushToObject']=function(cu,cv){if(cu&&typeof cu=='object')cu[Object['keys'](cu)['length']]=cv;};BDFDB['sortArrayByKey']=function(cw,cx,cy){if(cy===undefined)cy=null;return cw['sort'](function(cz,cA){var cB=cz[cx],cC=cA[cx];if(cB!==cy)return cBcC?0x1:0x0;});};BDFDB['removeFromArray']=function(cD,cE){if(!cD||!cE||!Array['isArray'](cD)||!cD['includes'](cE))return;cD['splice'](cD['indexOf'](cE),0x1);};BDFDB['getAllIndexes']=function(cF,cG){var cH=[],cI=-0x1;while((cI=cF['indexOf'](cG,cI+0x1))!==-0x1){cH['push'](cI);}return cH;};BDFDB['highlightText']=function(cJ,cK){if(!cK||cK['length']<0x1)return cJ;var cL=0x0,cM=cJ,cN='',cO='';BDFDB['getAllIndexes'](cJ['toUpperCase'](),cK['toUpperCase']())['forEach'](cP=>{var cQ=cL*(cN['length']+cO['length']);cP=cP+cQ;var cR=cP+cK['length'];var cS=[-0x1]['concat'](BDFDB['getAllIndexes'](cJ['substring'](0x0,cP),'<'));var cT=[-0x1]['concat'](BDFDB['getAllIndexes'](cJ['substring'](0x0,cP),'>'));if(cS[cS['length']-0x1]>cT[cT['length']-0x1])return;cJ=cJ['substring'](0x0,cP)+cN+cJ['substring'](cP,cR)+cO+cJ['substring'](cR);cL++;});return cJ?cJ:cM;};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 cU=setInterval(()=>{var cV=document['querySelector']('html')['lang'];if(cV){clearInterval(cU);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][cV]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][cV]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][cV]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var cW=null;try{cW=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(cX){try{cW=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(cY){var cZ=BDFDB['getDiscordVersion']();if(cZ){cZ=cZ['split']('.');if(cZ['length']==0x3&&!isNaN(cZ=parseInt(cZ[0x2]))){cW=cZ>0x122?'stable':cZ>0xc8?'canary':'ptb';}else cW='stable';}else cW='stable';}}BDFDB['getDiscordBuilt']['built']=cW;return cW;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var d0=null;try{d0=require('electron')['remote']['app']['getVersion']();}catch(d1){d0='';}BDFDB['getDiscordBuilt']['version']=d0;return d0;}};BDFDB['getDiscordLanguage']=function(){var d2=document['querySelector']('html')['lang']||'en-US';var d3=d2['split']('-');var d4=d3[0x0];var d5=d3[0x1]?d3[0x1]:'';d2=d5&&d4['toUpperCase']()!==d5['toUpperCase']()?d4+'-'+d5:d4;return BDFDB['languages'][d2]||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 d6=document['body']['firstElementChild']['getBoundingClientRect']();var d7=Math['round'](0x64*window['outerWidth']/d6['width']);var d8=Math['round'](0x64*window['outerHeight']/d6['height']);return d7da['startsWith']('__reactInternalInstance'))];};BDFDB['getOwnerInstance']=function(db){if(db===undefined)return null;if(!db['node']&&!db['instance']||!db['name']&&(!db['props']||!Array['isArray'](db['props'])))return null;var dc=db['instance']||BDFDB['getReactInstance'](db['node']);if(!dc)return null;var dd=-0x1;var de=db['depth']===undefined?0xf:db['depth'];var df=db['up']===undefined?![]:db['up'];var dg=performance['now']();var dh=db['time']===undefined?0x96:db['time'];var di=df?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dj=Array['isArray'](db['name']);var dk={};var dl=dp(dc);if(db['all']){for(let dm in dk){if(db['group'])for(let dn in dk[dm])delete dk[dm][dn]['BDFDBreactSearch'];else delete dk[dm]['BDFDBreactSearch'];}return dk;}else return dl;function dp(dq){dd++;if(!dq||Node['prototype']['isPrototypeOf'](dq)||BDFDB['getReactInstance'](dq)||dd>de||performance['now']()-dg>dh)ds=null;else{var dr=Object['getOwnPropertyNames'](dq);var ds=null;for(let dt=0x0;ds==null&&dtdq['type']['displayName']!==dw&&dq['type']['name']!==dw)||db['props']&&db['props']['every'](dx=>dq['stateNode'][dx]!==undefined))||db['defaultProps']&&db['defaultProps']['every'](dy=>dq['stateNode'][dy]!==undefined)){if(db['all']===undefined||!db['all']){ds=dq['stateNode'];}else if(db['all']){if(db['noCopies']===undefined||!db['noCopies']||db['noCopies']&&!dq['stateNode']['BDFDBreactSearch']){dq['stateNode']['BDFDBreactSearch']=!![];if(db['group']){if(db['name']&&dq['type']&&(dq['type']['displayName']||dq['type']['name'])){var dz=!dj?db['name']:db['name'][db['name']['indexOf'](dq['type']['displayName'])>-0x1?db['name']['indexOf'](dq['type']['displayName']):db['name']['indexOf'](dq['type']['name'])];if(typeof dk[dz]=='undefined')dk[dz]={};BDFDB['pushToObject'](dk[dz],dq['stateNode']);}}else BDFDB['pushToObject'](dk,dq['stateNode']);}}}if(ds==null&&(typeof dv==='object'||typeof dv==='function')&&di[du]){ds=dp(dv);}}}dd--;return ds;}};BDFDB['getKeyInformation']=function(dA){if(dA===undefined)return null;if(!dA['node']||!dA['key'])return null;var dB=BDFDB['getReactInstance'](dA['node']);if(!dB)return null;var dC=-0x1;var dD=dA['depth']===undefined?0xf:dA['depth'];var dE=performance['now']();var dF=dA['time']===undefined?0x1e:dA['time'];var dG={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dA['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dA['up']?![]:!![],'return':dA['up']?!![]:![],'sibling':dA['up']?![]:!![],'firstEffect':!![]};if(typeof dA['whiteList']==='object')Object['assign'](dG,dA['whiteList']);var dH=typeof dA['blackList']==='object'?dA['blackList']:{};var dI=[];var dJ=dK(dB);if(dA['all'])return dI;else return dJ;function dK(dL){dC++;if(!dL||Node['prototype']['isPrototypeOf'](dL)||BDFDB['getReactInstance'](dL)||dC>dD||performance['now']()-dE>dF)dN=null;else{var dM=Object['getOwnPropertyNames'](dL);var dN=null;for(let dO=0x0;dN==null&&dOdW['default']=dU},['__extra_id__'])['default']:webpackJsonp['push']([[],{'__extra_id__':(dY,dZ,dU)=>dY['exports']=dU},[['__extra_id__']]]);delete dU['c']['__extra_id__'];for(let e1 in dU['c']){if(dU['c']['hasOwnProperty'](e1)){var e2=dU['c'][e1]['exports'];if(e2&&e2['__esModule']&&e2['default']&&dT(e2['default']))return e2['default'];if(e2&&dT(e2))return e2;}}};BDFDB['WebModules']['cachedData']={};BDFDB['WebModules']['findByProperties']=function(e3){e3=Array['isArray'](e3)?e3:Array['from'](arguments);var e4=JSON['stringify'](e3);if(BDFDB['WebModules']['cachedData'][e4]){return BDFDB['WebModules']['cachedData'][e4];}else{var e5=BDFDB['WebModules']['find'](e5=>e3['every'](e7=>e5[e7]!==undefined));if(e5){BDFDB['WebModules']['cachedData'][e4]=e5;return e5;}}};BDFDB['WebModules']['findByName']=function(e8){var e9=JSON['stringify'](e8);if(BDFDB['WebModules']['cachedData'][e9]){return BDFDB['WebModules']['cachedData'][e9];}else{var ea=BDFDB['WebModules']['find'](ea=>ea['displayName']===e8);if(ea){BDFDB['WebModules']['cachedData'][e9]=ea;return ea;}}};BDFDB['WebModules']['findByPrototypes']=function(ec){ec=Array['isArray'](ec)?ec:Array['from'](arguments);var ed=JSON['stringify'](ec);if(BDFDB['WebModules']['cachedData'][ed]){return BDFDB['WebModules']['cachedData'][ed];}else{var ee=BDFDB['WebModules']['find'](ee=>ee['prototype']&&ec['every'](eg=>ee['prototype'][eg]!==undefined));if(ee){BDFDB['WebModules']['cachedData'][ed]=ee;return ee;}}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patch']=function(eh,ei,ej,ek){if(!eh||!ei||!Object['keys'](ek)['some'](el=>BDFDB['WebModules']['patchtypes']['includes'](el)))return null;const em=(typeof ej==='string'?ej:ej['name']?ej['name']:ej['getName']())['toLowerCase']();const en=(eo,ep)=>(...eq)=>{try{return eo(...eq);}catch(er){console['error']('Error\x20occurred\x20in\x20'+ep,er);}};if(!eh['BDFDBpatch'])eh['BDFDBpatch']={};ei=Array['isArray'](ei)?ei:Array['of'](ei);for(let es of ei){if(!eh[es])eh[es]=()=>{};const et=eh[es];if(!eh['BDFDBpatch'][es]){eh['BDFDBpatch'][es]={};for(let eu of BDFDB['WebModules']['patchtypes'])eh['BDFDBpatch'][es][eu]={};eh['BDFDBpatch'][es]['originalMethod']=et;eh[es]=function(){const ev={'thisObject':this,'methodArguments':arguments,'originalMethod':et,'originalMethodName':es,'callOriginalMethod':()=>ev['returnValue']=ev['originalMethod']['apply'](ev['thisObject'],ev['methodArguments'])};if(BDFDB&&typeof BDFDB=='object'){if(!BDFDB['isObjectEmpty'](eh['BDFDBpatch'][es]['before']))for(let ew in BDFDB['sortObject'](eh['BDFDBpatch'][es]['before'])){en(eh['BDFDBpatch'][es]['before'][ew],'`before`\x20callback\x20of\x20'+eh[es]['displayName'])(ev);}if(BDFDB['isObjectEmpty'](eh['BDFDBpatch'][es]['instead']))ev['callOriginalMethod']();else for(let ex in BDFDB['sortObject'](eh['BDFDBpatch'][es]['instead'])){const ey=en(eh['BDFDBpatch'][es]['instead'][ex],'`instead`\x20callback\x20of\x20'+eh[es]['displayName'])(ev);if(ey!==undefined)ev['returnValue']=ey;}if(!BDFDB['isObjectEmpty'](eh['BDFDBpatch'][es]['after']))for(let ez in BDFDB['sortObject'](eh['BDFDBpatch'][es]['after'])){en(eh['BDFDBpatch'][es]['after'][ez],'`after`\x20callback\x20of\x20'+eh[es]['displayName'])(ev);}}else ev['callOriginalMethod']();return ev['returnValue'];};}for(let eA of BDFDB['WebModules']['patchtypes'])if(typeof ek[eA]=='function')eh['BDFDBpatch'][es][eA][em]=ek[eA];}const eB=()=>{BDFDB['WebModules']['unpatch'](eh,ei,ej);};if(ej&&typeof ej=='object'){if(!Array['isArray'](ej['patchCancels']))ej['patchCancels']=[];ej['patchCancels']['push'](eB);}return eB;};BDFDB['WebModules']['unpatch']=function(eC,eD,eE){if(!eC||!eC['BDFDBpatch'])return;const eF=!eE?null:(typeof eE==='string'?eE:eE['name']?eE['name']:eE['getName']())['toLowerCase']();eD=Array['isArray'](eD)?eD:Array['of'](eD);for(let eG of eD){if(eC[eG]&&eC['BDFDBpatch'][eG]){for(let eH of BDFDB['WebModules']['patchtypes']){if(eF)delete eC['BDFDBpatch'][eG][eH][eF];else delete eC['BDFDBpatch'][eG][eH];}var eI=!![];for(let eH of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](eC['BDFDBpatch'][eG][eH]))eI=![];if(eI){eC[eG]=eC['BDFDBpatch'][eG]['originalMethod'];delete eC['BDFDBpatch'][eG];if(BDFDB['isObjectEmpty'](eC['BDFDBpatch']))delete eC['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(eK){if(eK&&typeof eK=='object'&&Array['isArray'](eK['patchCancels']))for(let eL of eK['patchCancels'])eL();};BDFDB['WebModules']['forceAllUpdates']=function(eM,eN){if(eM&&typeof eM=='object'&&eM['patchModules']&&typeof eM['patchModules']=='object'&&(!eN||eM['patchModules'][eN])){const eO=document['querySelector'](BDFDB['dotCN']['app']);const eP=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(eO){var eQ=[];for(let eR in eM['patchModules']){eR=eR=='Guild'?'DropTarget(DragSource(FluxContainer(Guild)))':eR;var eS=Array['isArray'](eM['patchModules'][eR])?eM['patchModules'][eR]:Array['of'](eM['patchModules'][eR]);if(eS['includes']('componentDidUpdate')||eS['includes']('componentDidMount')||eS['includes']('render'))eQ['push'](eR);}eQ=eN?eQ['filter'](eT=>eT==eN):eQ;if(eQ['length']>0x0){const eU=BDFDB['getOwnerInstance']({'node':eO,'name':eQ,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eR in eU)for(let eW in eU[eR])BDFDB['WebModules']['initiateProcess'](eM,eU[eR][eW],eR,['componentDidUpdate','componentDidMount','render']);if(eP){const eX=BDFDB['getOwnerInstance']({'node':eP,'name':eQ,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let eR in eX)for(let eW in eX[eR])BDFDB['WebModules']['initiateProcess'](eM,eX[eR][eW],eR,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(f0){if(f0&&typeof f0=='object'&&f0['patchModules']&&typeof f0['patchModules']=='object'){for(let f1 in f0['patchModules']){if(f1=='Guild'){f1='DropTarget(DragSource(FluxContainer(Guild)))';f0['patchModules'][f1]=f0['patchModules']['Guild'];delete f0['patchModules']['Guild'];}f4(BDFDB['WebModules']['findByName'](f1),f1);}var f2={'Message':'message','MessageOptionPopout':'optionpopout','UserPopout':'userpopout','EmojiPicker':'emojipicker','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};for(let f1 in f2){if(BDFDB['DiscordClasses'][f2[f1]]&&f0['patchModules'][f1]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](f1)]){fa(BDFDB['disCN'][f2[f1]],f1);}}function f4(f5,f1){if(f5){f5=f5['displayName']==f1?f5:BDFDB['getOwnerInstance']({'instance':f5,'name':f1,'up':!![]});if(f5){var f7=f5['_reactInternalFiber']&&f5['_reactInternalFiber']['type']?f5['_reactInternalFiber']['type']:f5;var f8={};f8[f0['name']=='$BDFDB'?'before':'after']=f9=>{if(BDFDB&&typeof BDFDB=='object')BDFDB['WebModules']['initiateProcess'](f0,f9['thisObject'],f1,[f9['originalMethodName']]);};BDFDB['WebModules']['patch'](f7['prototype'],f0['patchModules'][f1],f0,f8);}}}function fa(fb,f1){if(f0['patchModules'][f1]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](f1)]){var fd=BDFDB['getReactInstance'](document['querySelector']('.'+fb));if(fj(fd,f1))f4(fd,f1);else{var fe=new MutationObserver(ff=>{ff['forEach'](fg=>{fg['addedNodes']['forEach'](fh=>{var fi=null;if(fh['tagName']&&(fi=fh['classList']&&fh['classList']['contains'](fb)?fh:fh['querySelector']('.'+fb))!=null){fd=BDFDB['getReactInstance'](fi);if(fj(fd,f1)){fe['disconnect']();f4(fd,f1);BDFDB['WebModules']['forceAllUpdates'](f0,f1);}}});});});BDFDB['addObserver'](f0,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fe,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function fj(fk,f1){return fk&&(f1!='V2C_PluginCard'&&f1!='V2C_ThemeCard'||f1=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||f1=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fm,fn,fo,fp){if(fm&&typeof fm=='object'&&fn){fo=fo=='DropTarget(DragSource(FluxContainer(Guild)))'?'Guild':fo;fo=fo['replace'](/[^A-z0-9]|_/g,'');fo=fo[0x0]['toUpperCase']()+fo['slice'](0x1);if(typeof fm['process'+fo]=='function'){var fq=BDFDB['React']['findDOMNodeSafe'](fn);if(fq)fm['process'+fo](fn,fq,fp);else setImmediate(()=>{fq=BDFDB['React']['findDOMNodeSafe'](fn);if(fq)fm['process'+fo](fn,fq,fp);});}}};var fr=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fs=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fr&&fs){BDFDB['React']=Object['assign']({},fr,fs);BDFDB['React']['findDOMNodeSafe']=function(ft){if(!ft||!ft['updater']||typeof ft['updater']['isMounted']!=='function'||!ft['updater']['isMounted'](ft))return null;return fs['findDOMNode'](ft);};}BDFDB['addOnSwitchListener']=function(fu){if(typeof fu['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fu);var fv=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fv){fu['onSwitchFix']=new MutationObserver((fw,fx)=>{fw['forEach']((fy,fz)=>{if(fy['addedNodes']){fy['addedNodes']['forEach'](fA=>{if(fA&&fA['classList']&&(fA['classList']['contains'](BDFDB['disCN']['chat'])||fA['classList']['contains'](BDFDB['disCN']['nochannel']))){fB['observe'](fA,{'attributes':!![]});}});}});});fu['onSwitchFix']['observe'](fv,{'childList':!![]});var fB=new MutationObserver((fC,fD)=>{fC['forEach']((fE,fF)=>{if(fE['target']&&fE['target']['classList']&&fE['target']['classList']['contains'](BDFDB['disCN']['nochannel']))fu['onSwitch']();});});var fG=fv['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fG)fB['observe'](fG,{'attributes':!![]});}}};BDFDB['removeOnSwitchListener']=function(fH){if(typeof fH['onSwitch']==='function'&&typeof fH['onSwitchFix']==='object'){fH['onSwitchFix']['disconnect']();}};BDFDB['addContextListener']=function(fI){for(let fJ of['User','Guild','Channel','Message','Native','UserSettingsCog']){if(typeof fI['on'+fJ+'Context']==='function'||typeof fI['on'+fJ+'ContextMenu']==='function'){var fK=BDFDB['WebModules']['findByName'](fJ+'ContextMenu');if(fK&&fK['prototype'])BDFDB['WebModules']['patch'](fK['prototype'],'componentDidMount',fI,{'after':fL=>{var fM=BDFDB['React']['findDOMNodeSafe'](fL['thisObject']);if(fM){if(typeof fI['on'+fJ+'Context']==='function')fI['on'+fJ+'Context'](fL['thisObject'],fM);if(typeof fI['on'+fJ+'ContextMenu']==='function')fI['on'+fJ+'ContextMenu'](fL['thisObject'],fM);BDFDB['initElements'](fM);BDFDB['updateContextPosition'](fM);}}});}}};BDFDB['addReloadListener']=function(fN){if(typeof fN['initialize']==='function'){BDFDB['removeReloadListener'](fN);var fO=document['querySelector'](BDFDB['dotCN']['app']);if(fO){fN['reloadFix']=new MutationObserver((fP,fQ)=>{fP['forEach']((fR,fS)=>{if(fR['addedNodes']){fR['addedNodes']['forEach'](fT=>{if(fT&&fT['classList']&&fT['classList']['contains'](BDFDB['disCN']['appold'])){var fS=0x0,fV=BDFDB['dotCN']['guildsadd'],fW=BDFDB['dotCN']['guildseparator'],fX=BDFDB['dotCN']['accountinfo'],fY=setInterval(()=>{if(fT['querySelector'](fV)&&fT['querySelector'](fW)&&fT['querySelector'](fX)){clearInterval(fY);if(window['PluginUpdates']&&window['PluginUpdates']['observer']){window['PluginUpdates']['observer']['disconnect']();delete window['PluginUpdates']['observer'];}fN['appReload']=!![];fN['initialize']();}if(fS>0x3e8)clearInterval(fY);fS++;},0x64);}});}});});fN['reloadFix']['observe'](fO,{'childList':!![]});}}};BDFDB['removeReloadListener']=function(fZ){if(typeof fZ['initialize']==='function'&&typeof fZ['reloadFix']==='object'){fZ['reloadFix']['disconnect']();}};BDFDB['addSettingsButtonListener']=function(g0){if(BDFDB['isBDv2']()&&typeof g0['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](g0);BDFDB['appendSettingsButton'](g0);var g1=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(g1){g0['settingsButtonObserver']=new MutationObserver((g2,g3)=>{g2['forEach']((g4,g5)=>{if(g4['addedNodes']){g4['addedNodes']['forEach'](g6=>{if(g6['tagName']&&g6['classList']['contains']('active')){BDFDB['appendSettingsButton'](g0);}});}});});g0['settingsButtonObserver']['observe'](g1,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(g7){var g8=document['querySelector']('.bd-card[data-plugin-id='+g7['id']+']');if(g8){var g9=BDFDB['htmlToElement']('');g8['insertBefore'](g9,g8['querySelector']('.bd-button'));BDFDB['$'](g9)['on']('mouseenter.BDFDBSettingsButtonListener',ga=>{BDFDB['createTooltip']('Settings',ga['currentTarget'],{'type':'top'});})['on']('click.BDFDBSettingsButtonListener',gb=>{var gc=BDFDB['htmlToElement'](''+g7['name']+'\x20Settings
');var gd=g7['getSettingsPanel']();gc['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gd=='string'?BDFDB['htmlToElement'](gd):gd);if(typeof g7['onSettingsClosed']==='function'){$(gc)['on']('click.BDFDBCloseListener',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{g7['onSettingsClosed']();});}BDFDB['appendModal'](gc);});}};BDFDB['removeSettingsButtonListener']=function(ge){if(BDFDB['isBDv2']()&&typeof ge['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+ge['id']+']\x20.DevilBro-settingsbutton');ge['settingsButtonObserver']['disconnect']();}};BDFDB['LanguageStrings']=new Proxy(Object['create'](null),{'get':function(){let gf=arguments[0x1];let gg=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];if(!gg[gf])console['log'](gf+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else return typeof gg[gf]=='object'?gg[gf]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gg[gf];}});BDFDB['LanguageStringsVars']={};for(let gh in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gh];}catch(gi){let gj=gi['toString']()['split']('for:\x20')[0x1];if(gj&&typeof gj=='string')BDFDB['LanguageStringsVars'][gj]='{{'+gj['toLowerCase']()+'}}';}}BDFDB['equals']=function(gk,gl,gm){var gn=-0x1;if(gm===undefined||typeof gm!=='boolean')gm=![];return go(gk,gl);function go(gp,gq){gn++;var gr=!![];if(gn>0x3e8)gr=null;else{if(typeof gp!==typeof gq)gr=![];else if(typeof gp==='undefined')gr=!![];else if(typeof gp==='symbol')gr=!![];else if(typeof gp==='boolean')gr=gp==gq;else if(typeof gp==='string')gr=gp==gq;else if(typeof gp==='number'){if(isNaN(gp)||isNaN(gq))gr=isNaN(gp)==isNaN(gq);else gr=gp==gq;}else if(!gp&&!gq)gr=!![];else if(!gp||!gq)gr=![];else if(typeof gp==='function'||typeof gp==='object'){var gs=Object['getOwnPropertyNames'](gp);var gt=Object['getOwnPropertyNames'](gq);if(gs['length']!==gt['length'])gr=![];else{for(let gu=0x0;gr===!![]&&gugE['length']?gG:gE['length'];};BDFDB['readServerList']=function(){var gH=[],gI=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gJ in gI)if(gI[gJ]['props']&&gI[gJ]['props']['guild']){gH['push'](Object['assign'](new gI[gJ]['props']['guild']['constructor'](gI[gJ]['props']['guild']),{'data':gI[gJ]['props']['guild'],'div':gI[gJ]['_reactInternalFiber']['child']['stateNode'],'instance':gI[gJ]}));}return gH;};BDFDB['readUnreadServerList']=function(gK){var gL=[];for(let gM of gK===undefined||!Array['isArray'](gK)?BDFDB['readServerList']():gK){let gN=Node['prototype']['isPrototypeOf'](gM)?gM:gM&&gM['div']?gM['div']:null;if(gN&&(gN['classList']['contains'](BDFDB['disCN']['guildunread'])||gN['querySelector'](BDFDB['dotCN']['badge'])))gL['push'](gM);}return gL;};BDFDB['getSelectedServer']=function(){var gO=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gO)return BDFDB['getServerData'](gO['id'])||Object['assign'](new gO['constructor'](gO),{'data':gO,'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(gP){if(!Node['prototype']['isPrototypeOf'](gP)||!BDFDB['getReactInstance'](gP))return;let gQ=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gP);if(!gQ)return;var gR=gQ['querySelector']('a');var gS=gR&&gR['href']?gR['href']['split']('/'):null;return gS&&gS['length']>0x3&&!isNaN(parseInt(gS[0x4]))?gS[0x4]['toString']():null;};BDFDB['getServerDiv']=function(gT){if(!gT)return null;if(Node['prototype']['isPrototypeOf'](gT))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gT);else{let gU=typeof gT=='object'?gT['id']:gT;if(gU)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+gU+'\x22]')));}return null;};BDFDB['getServerData']=function(gV){if(!gV)return null;let gW=Node['prototype']['isPrototypeOf'](gV)?BDFDB['getServerID'](gV):typeof gV=='object'?gV['id']:gV;for(let gX of BDFDB['readServerList']())if(gX&&gX['id']==(typeof gW=='number'?gW['toFixed']():gW))return gX;return null;};BDFDB['readChannelList']=function(){var gY=[],gZ=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let h0 in gZ)if(gZ[h0]['props']&&gZ[h0]['props']['channel']){gY['push'](Object['assign'](new gZ[h0]['props']['channel']['constructor'](gZ[h0]['props']['channel']),{'data':gZ[h0]['props']['channel'],'div':Node['prototype']['isPrototypeOf'](gZ[h0]['_reactInternalFiber']['return']['stateNode'])?gZ[h0]['_reactInternalFiber']['return']['stateNode']:gZ[h0]['_reactInternalFiber']['child']['child']['stateNode'],'instance':gZ[h0]}));}return gY;};BDFDB['getSelectedChannel']=function(){var h1=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(h1)return BDFDB['getChannelData'](h1['id'])||Object['assign'](new h1['constructor'](h1),{'data':h1,'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(h2){if(!Node['prototype']['isPrototypeOf'](h2)||!BDFDB['getReactInstance'](h2))return;let h3=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],h2);if(!h3)return;var h4=BDFDB['getKeyInformation']({'node':h3,'key':'channel'});return h4?h4['id']['toString']():null;};BDFDB['getChannelDiv']=function(h5){let h6=BDFDB['getChannelData'](h5);return h6?h6['div']:null;};BDFDB['getChannelData']=function(h7){if(!h7)return null;let h8=Node['prototype']['isPrototypeOf'](h7)?BDFDB['getChannelID'](h7):typeof h7=='object'?h7['id']:h7;for(let h9 of BDFDB['readChannelList']())if(h9&&h9['id']==(typeof h8=='number'?h8['toFixed']():h8))return h9;return null;};BDFDB['readDmList']=function(){var ha=[],hb=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hc in hb)if(hb[hc]['props']&&hb[hc]['props']['channel']){ha['push'](Object['assign'](new hb[hc]['props']['channel']['constructor'](hb[hc]['props']['channel']),{'data':hb[hc]['props']['channel'],'div':hb[hc]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hb[hc]}));}return ha;};BDFDB['getDmID']=function(hd){if(!Node['prototype']['isPrototypeOf'](hd)||!BDFDB['getReactInstance'](hd))return;let he=BDFDB['getParentEle'](BDFDB['dotCN']['dms'],hd);if(!he)return;let hf=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hd);if(!hf)return;var hg=hf['querySelector']('a');var hh=hg&&hg['href']?hg['href']['split']('/'):null;return hh&&hh['length']>0x3&&!isNaN(parseInt(hh[0x4]))?hh[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hi){if(!hi)return null;if(Node['prototype']['isPrototypeOf'](hi))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hi);else{let hj=typeof hi=='object'?hi['id']:hi;if(hj)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCNS']['guild']+('a[href*=\x22/channels/'+hj+'\x22]')));}return null;};BDFDB['getDmData']=function(hk){if(!hk)return null;let hl=Node['prototype']['isPrototypeOf'](hk)?BDFDB['getChannelID'](hk):typeof hk=='object'?hk['id']:hk;for(let hm of BDFDB['readDmList']())if(hm&&hm['id']==(typeof hl=='number'?hl['toFixed']():hl))return hm;return null;};BDFDB['getDivOfChannel']=function(hn){for(let ho of BDFDB['readChannelList']())if(ho&&ho['id']==hn)return ho;return null;};BDFDB['getIdOfServer']=function(hp){if(!hp||!hp['classList']||!hp['classList']['contains'](BDFDB['disCN']['guild'])||hp['classList']['contains']('copy')||hp['classList']['contains']('folder'))return;var hq,hr;hq=hp['querySelector']('a');hr=hq&&hq['href']?hq['href']['split']('/'):null;return hr&&hr['length']>0x3&&!isNaN(parseInt(hr[0x4]))?hr[0x4]:null;};BDFDB['getDivOfServer']=function(hs){if(!hs)return null;for(serverObj of BDFDB['readServerList']())if(serverObj&&serverObj['id']==hs)return serverObj;return null;};BDFDB['getIdOfDM']=function(ht){if(!ht||!ht['classList']||!ht['classList']['contains'](BDFDB['disCN']['guild'])||ht['classList']['contains']('copy')||ht['classList']['contains']('folder'))return;if(!ht['parentElement']||!ht['parentElement']['classList']||!ht['parentElement']['classList']['contains'](BDFDB['disCN']['dms']))return;var hu,hv;hu=ht['querySelector']('a');hv=hu&&hu['href']?hu['href']['split']('/'):null;return hv&&hv['length']>0x3&&!isNaN(parseInt(hv[0x5]))?hv[0x5]:null;};BDFDB['getDivOfDM']=function(hw){if(!hw)return null;for(let hx of BDFDB['readDmList']())if(hx&&hx['id']==hw)return hx;return null;};BDFDB['saveAllData']=function(hy,hz,hA){var hB=require('fs'),hC,hD;if(!BDFDB['isBDv2']()){hD=typeof hz==='string'?hz:hz['getName']();hC=require('path')['join'](BDFDB['getPluginsFolder'](),hD+'.config.json');}else{hD=typeof hz==='string'?hz['toLowerCase']():null;var hE=hD?BDFDB['Plugins'][hD]?BDFDB['Plugins'][hD]['contentPath']:null:hz['contentPath'];if(!hE)return;hC=require('path')['join'](hE,'settings.json');}var hF=hB['existsSync'](hC);var hG=!hF?{}:typeof BDFDB['cachedData'][hD]!=='undefined'?BDFDB['cachedData'][hD]:BDFDB['readConfig'](hC);hG[hA]=hy;if(BDFDB['isObjectEmpty'](hG[hA])){delete hG[hA];}if(BDFDB['isObjectEmpty'](hG)){delete BDFDB['cachedData'][hD];if(hF)hB['unlinkSync'](hC);}else{BDFDB['cachedData'][hD]=hG;hB['writeFileSync'](hC,JSON['stringify'](hG,null,'\x09'));}};BDFDB['loadAllData']=function(hH,hI){var hJ=require('fs'),hK,hL;if(!BDFDB['isBDv2']()){hL=typeof hH==='string'?hH:hH['getName']();hK=require('path')['join'](BDFDB['getPluginsFolder'](),hL+'.config.json');}else{hL=typeof hH==='string'?hH['toLowerCase']():null;var hM=hL?BDFDB['Plugins'][hL]?BDFDB['Plugins'][hL]['contentPath']:null:hH['contentPath'];if(!hM)return{};hK=require('path')['join'](hM,'settings.json');}var hN=hJ['existsSync'](hK);if(!hN){delete BDFDB['cachedData'][hL];return{};}var hO=typeof BDFDB['cachedData'][hL]!=='undefined'?BDFDB['cachedData'][hL]:BDFDB['readConfig'](hK);BDFDB['cachedData'][hL]=hO;return hO&&typeof hO[hI]!=='undefined'?hO[hI]:{};};BDFDB['removeAllData']=function(hP,hQ){var hR=require('fs'),hS,hT;if(!BDFDB['isBDv2']()){hT=typeof hP==='string'?hP:hP['getName']();hS=require('path')['join'](BDFDB['getPluginsFolder'](),hT+'.config.json');}else{hT=typeof hP==='string'?hP['toLowerCase']():null;var hU=hT?BDFDB['Plugins'][hT]?BDFDB['Plugins'][hT]['contentPath']:null:hP['contentPath'];if(!hU)return;hS=require('path')['join'](hU,'settings.json');}var hV=hR['existsSync'](hS);var hW=!hV?{}:typeof BDFDB['cachedData'][hT]!=='undefined'?BDFDB['cachedData'][hT]:BDFDB['readConfig'](hS);delete hW[hQ];if(BDFDB['isObjectEmpty'](hW)){delete BDFDB['cachedData'][hT];if(hV)hR['unlinkSync'](hS);}else{BDFDB['cachedData'][hT]=hW;hR['writeFileSync'](hS,JSON['stringify'](hW,null,'\x09'));}};BDFDB['getAllData']=function(hX,hY,hZ){if(!hX['defaults']||!hX['defaults'][hY])return{};var i0=BDFDB['loadAllData'](hX,hY),i1={},i2=![];for(let i3 in hX['defaults'][hY]){if(i0[i3]==null){i1[i3]=hX['defaults'][hY][i3]['value'];i2=!![];}else{i1[i3]=i0[i3];}if(typeof hZ==='object'&&hZ&&typeof hZ[i1[i3]]==='undefined'){i1[i3]=Object['keys'](hZ)[0x0];i2=!![];}}if(i2)BDFDB['saveAllData'](i1,hX,hY);return i1;};BDFDB['readConfig']=function(...i4){try{return JSON['parse'](require('fs')['readFileSync'](...i4));}catch(i5){return{};}};BDFDB['saveData']=function(i6,i7,i8,i9){var ia=BDFDB['loadAllData'](i8,i9);ia[i6]=i7;BDFDB['saveAllData'](ia,i8,i9);};BDFDB['loadData']=function(ib,ic,id){var ie=BDFDB['loadAllData'](ic,id);var ig=ie[ib];return ig===undefined?null:ig;};BDFDB['removeData']=function(ih,ii,ij){var ik=BDFDB['loadAllData'](ii,ij);delete ik[ih];BDFDB['saveAllData'](ik,ii,ij);};BDFDB['getData']=function(il,im,io,ip){var iq=BDFDB['getAllData'](im,io,ip);var ir=iq[il];return ir===undefined?null:ir;};BDFDB['appendWebScript']=function(is,it){if(!it&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));it=it||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];BDFDB['removeWebScript'](is,it);var iu=document['createElement']('script');iu['setAttribute']('src',is);it['appendChild'](iu);};BDFDB['removeWebScript']=function(iv,iw){iw=iw||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iw['querySelectorAll']('script[src=\x22'+iv+'\x22]')['forEach'](ix=>{ix['remove']();});};BDFDB['appendWebStyle']=function(iy,iz){if(!iz&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iz=iz||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeWebStyle'](iy,iz);var iA=document['createElement']('link');iA['setAttribute']('type','text/css');iA['setAttribute']('rel','Stylesheet');iA['setAttribute']('href',iy);iz['appendChild'](iA);};BDFDB['removeWebStyle']=function(iB,iC){iC=iC||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iC['querySelectorAll']('link[href=\x22'+iB+'\x22]')['forEach'](iD=>{iD['remove']();});};BDFDB['appendLocalStyle']=function(iE,iF,iG){if(!iG&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iG=iG||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];BDFDB['removeLocalStyle'](iE,iG);var iH=document['createElement']('style');iH['id']=iE+'CSS';iH['innerHTML']=iF;iG['appendChild'](iH);};BDFDB['removeLocalStyle']=function(iI,iJ){iJ=iJ||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iJ['querySelectorAll']('style[id=\x22'+iI+'CSS\x22]')['forEach'](iK=>{iK['remove']();});};BDFDB['formatBytes']=function(iL,iM){if(iL==0x0)return'0\x20Bytes';if(iL==0x1)return'1\x20Byte';var iN=0x400,iO=iM<0x1?0x0:iM>0x14?0x14:iM||0x2,iP=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'],iQ=Math['floor'](Math['log'](iL)/Math['log'](iN));return parseFloat((iL/Math['pow'](iN,iQ))['toFixed'](iO))+'\x20'+iP[iQ];};BDFDB['colorCONVERT']=function(iR,iS,iT){if(!iR)return null;iS=iS===undefined||!iS?iS='RGBCOMP':iS['toUpperCase']();iT=iT===undefined||!iT||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iT['toUpperCase']())?BDFDB['colorTYPE'](iR):iT['toUpperCase']();if(iS=='RGBCOMP'){switch(iT){case'RGBCOMP':if(iR['length']==0x3)return jt(iR);else if(iR['length']==0x4){var iU=jw(iR['pop']());return jt(iR)['concat'](iU);}case'RGB':return jt(iR['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var iV=iR['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iU=jw(iV['pop']());return jt(iV)['concat'](iU);case'HSLCOMP':if(iR['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iR['join'](',')+')','RGBCOMP');else if(iR['length']==0x4){var iU=jw(ja['pop']());return BDFDB['colorCONVERT']('hsl('+ja['join'](',')+')','RGBCOMP')['concat'](iU);}case'HSL':var iY=jA(iR['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var iZ,j0,j1,j2,j3,j4,j5,j6;var j7=iY[0x0]/0x168,j8=parseInt(iY[0x1])/0x64,j9=parseInt(iY[0x2])/0x64;j2=Math['floor'](j7*0x6);j3=j7*0x6-j2;j4=j9*(0x1-j8);j5=j9*(0x1-j3*j8);j6=j9*(0x1-(0x1-j3)*j8);switch(j2%0x6){case 0x0:iZ=j9,j0=j6,j1=j4;break;case 0x1:iZ=j5,j0=j9,j1=j4;break;case 0x2:iZ=j4,j0=j9,j1=j6;break;case 0x3:iZ=j4,j0=j5,j1=j9;break;case 0x4:iZ=j6,j0=j4,j1=j9;break;case 0x5:iZ=j9,j0=j4,j1=j5;break;}return[Math['round'](iZ*0xff),Math['round'](j0*0xff),Math['round'](j1*0xff)];case'HSLA':var ja=iR['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iU=jw(ja['pop']());return BDFDB['colorCONVERT']('hsl('+ja['join'](',')+')','RGBCOMP')['concat'](iU);case'HEX':var jc=/^#([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'](iR);return[parseInt(jc[0x1]+jc[0x1]||jc[0x4],0x10)['toString'](),parseInt(jc[0x2]+jc[0x2]||jc[0x5],0x10)['toString'](),parseInt(jc[0x3]+jc[0x3]||jc[0x6],0x10)['toString']()];default:return null;}}else{var jd=iT=='RGBCOMP'?iR:BDFDB['colorCONVERT'](iR,'RGBCOMP',iT);if(jd)switch(iS){case'RGB':return'rgb('+jt(jd['slice'](0x0,0x3))['join'](',')+')';case'RGBA':jd=jd['slice'](0x0,0x4);var iU=jd['length']==0x4?jw(jd['pop']()):0x1;return'rgba('+jt(jd)['concat'](iU)['join'](',')+')';case'HSLCOMP':var iU=jd['length']==0x4?jw(jd['pop']()):null;var iY=jA(BDFDB['colorCONVERT'](jd,'HSL')['replace'](/\s/g,'')['split'](','));return iU?iY['concat'](iU):iY;case'HSL':var iZ=jr(jd[0x0]),j0=jr(jd[0x1]),j1=jr(jd[0x2]);var jk=Math['max'](iZ,j0,j1),jl=Math['min'](iZ,j0,j1),jm=jk-jl,j7,j8=jk===0x0?0x0:jm/jk,j9=jk/0xff;switch(jk){case jl:j7=0x0;break;case iZ:j7=j0-j1+jm*(j00xff?0xff:js<0x0?0x0:js;};function jt(ju){return ju['map'](jv=>{return jr(jv);});};function jw(iU){iU=iU['toString']();iU=(iU['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iU['replace'](/[^0-9\.\-]/g,''));return isNaN(iU)||iU>0x1?0x1:iU<0x0?0x0:iU;};function jy(j4){j4=parseFloat(j4['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(j4)||j4>0x64?0x64:j4<0x0?0x0:j4)+'%';};function jA(jB){let j7=parseFloat(jB['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));j7=isNaN(j7)||j7>0x168?0x168:j7<0x0?0x0:j7;return[j7]['concat'](jB['map'](j4=>{return jy(j4);}));};};BDFDB['colorSETALPHA']=function(jE,jF,jG){var jH=BDFDB['colorCONVERT'](jE,'RGBCOMP');if(jH){jF=jF['toString']();jF=(jF['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jF['replace'](/[^0-9\.\-]/g,''));jF=isNaN(jF)||jF>0x1?0x1:jF<0x0?0x0:jF;jH[0x3]=jF;var jI=(jG||BDFDB['colorTYPE'](jE))['toUpperCase']();jI=jI=='HSL'||jI=='RGB'?jI+'A':jI;return BDFDB['colorCONVERT'](jH,jI);}return null;};BDFDB['colorCHANGE']=function(jJ,jK,jL){jK=parseFloat(jK);if(jJ&&typeof jK=='number'&&!isNaN(jK)){var jM=BDFDB['colorCONVERT'](jJ,'RGBCOMP');if(jM){if(parseInt(jK)!==jK){jK=jK['toString']();jK=(jK['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jK['replace'](/[^0-9\.\-]/g,''));jK=isNaN(jK)?0x0:jK;return BDFDB['colorCONVERT']([Math['round'](jM[0x0]*(0x1+jK)),Math['round'](jM[0x1]*(0x1+jK)),Math['round'](jM[0x2]*(0x1+jK))],jL||BDFDB['colorTYPE'](jJ));}else return BDFDB['colorCONVERT']([Math['round'](jM[0x0]+jK),Math['round'](jM[0x1]+jK),Math['round'](jM[0x2]+jK)],jL||BDFDB['colorTYPE'](jJ));}}return null;};BDFDB['colorINV']=function(jN,jO){if(jN){var jP=BDFDB['colorCONVERT'](jN,'RGBCOMP');if(jP)return BDFDB['colorCONVERT']([0xff-jP[0x0],0xff-jP[0x1],0xff-jP[0x2]],jO||BDFDB['colorTYPE'](jN));}return null;};BDFDB['colorCOMPARE']=function(jQ,jR){if(jQ&&jR){jQ=BDFDB['colorCONVERT'](jQ,'RGBCOMP');jR=BDFDB['colorCONVERT'](jR,'RGBCOMP');return BDFDB['equals'](jQ,jR);}return null;};BDFDB['colorISBRIGHT']=function(jS,jT=0xa0){jS=BDFDB['colorCONVERT'](jS,'RGBCOMP');if(!jS)return![];return parseInt(jT)