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