diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index fc380bc14b..9185943fd9 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=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['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['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']);delete 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','yUTNyATN4EDOxMDOzYTM4UzN']['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['trim']()['split']('\x20'))if(S)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=a3;a3=a3=='mouseenter'||a3=='mouseleave'?'mouseover':a3;var a5=(a2['join']('.')||'')+(U['name']||U['getName']());if(!Array['isArray'](U['listeners']))U['listeners']=[];var a6=null;if(a0){if(a4=='mouseenter'||a4=='mouseleave'){a6=a7=>{for(let a8 of a7['path'])if(typeof a8['matches']=='function'&&a8['matches'](a0)&&!a8[a2+'BDFDB'+a4]){a8[a2+'BDFDB'+a4]=!![];if(a4=='mouseenter')a1(BDFDB['copyEvent'](a7,a8));let a9=aa=>{if(aa['target']['contains'](a8)||aa['target']==a8||!a8['contains'](aa['target'])){if(a4=='mouseleave')a1(BDFDB['copyEvent'](a7,a8));delete a8[a2+'BDFDB'+a4];document['removeEventListener']('mouseout',a9);}};document['addEventListener']('mouseout',a9);break;}};}else{a6=ab=>{for(let ac of ab['path'])if(typeof ac['matches']=='function'&&ac['matches'](a0)){a1(BDFDB['copyEvent'](ab,ac));break;}};}}else{a6=ad=>{a1(BDFDB['copyEvent'](ad,V));};}U['listeners']['push']({'ele':V,'eventname':a3,'origeventname':a4,'namespace':a5,'selector':a0,'eventcallback':a6});V['addEventListener'](a3,a6,!![]);}};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']());for(let ao of ah['listeners']){let ap=[];if(ao['ele']==ai&&(!am||ao['origeventname']==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?BDFDB['getRects'](b6):null;var b8=b6?b6['querySelector'](BDFDB['dotCN']['memberswrap']):null;var b9=b7?b7['left']:0x136;var ba=b7?b8?b7['width']-BDFDB['getRects'](b8)['width']:b7['width']:window['outerWidth']-b9;var bb=b6?b6['querySelector']('form'):null;var bc=bb?BDFDB['getRects'](bb)['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']);bv['appendChild'](bx);var by,bz,bA=BDFDB['getRects'](bt),bB=BDFDB['getRects'](bx);if(!bu['position'])bu['position']=bu['type'];switch(bu['position']){case'top':by=bA['left']+(bA['width']-bB['width'])/0x2;bz=bA['top']-bB['height'];break;case'bottom':by=bA['left']+(bA['width']-bB['width'])/0x2;bz=bA['top']+bA['height'];break;case'left':by=bA['left']-bB['width'];bz=bA['top']+(bA['height']-bB['height'])/0x2;break;default:by=bA['left']+bA['width'];bz=bA['top']+(bA['height']-bB['height'])/0x2;break;}bx['style']['setProperty']('left',by+'px','important');bx['style']['setProperty']('top',bz+'px','important');var bC=()=>{bx['remove']();};var bD=new MutationObserver(bE=>{bE['forEach'](bF=>{var bG=Array['from'](bF['removedNodes']);var bH=bG['indexOf'](bx)>-0x1;var bI=bG['indexOf'](bt)>-0x1;var bJ=bG['some'](bK=>bK['contains'](bt));var bL=bt['contains'](bF['target'])&&bG['some'](bM=>BDFDB['containsClass'](bM,BDFDB['disCN']['channeliconspacing']));if(bH||bI||bJ||bL){bD['disconnect']();bx['remove']();bt['removeEventListener']('mouseleave',bC);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bw,bv);}});});bD['observe'](document['body'],{'subtree':!![],'childList':!![]});bt['addEventListener']('mouseleave',bC);if(bu['delay']){BDFDB['toggleEles'](bx);setTimeout(()=>{BDFDB['toggleEles'](bx);},bu['delay']);}return bx;};BDFDB['createNotificationsBar']=function(bN,bO={}){if(!bN)return;var bP=document['querySelector'](BDFDB['dotCN']['layers']);if(!bP)return;var bQ=Math['round'](Math['random']()*0x2386f26fc10000);var bR=BDFDB['htmlToElement']('');bP['parentElement']['insertBefore'](bR,bP);bR['style']['setProperty']('height','36px','important');var bS=bR['querySelector']('.notice-message');if(bO['icon']){var bT={'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 bU of bO['icon']['split']('\x20')){if(bT[bU])bR['insertBefore'](BDFDB['htmlToElement'](''),bT[bU]['size']=='small'?null:bS);}}if(bO['btn'])bR['appendChild'](BDFDB['htmlToElement'](''));if(bO['id'])bR['id']=bO['id']['split']('\x20')['join']('');if(bO['selector'])BDFDB['addClass'](bR,bO['selector']);if(bO['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+bQ,bO['css']);if(bO['style'])bR['style']=bO['style'];if(bO['html']===!![])bS['innerHTML']=bN;else{var bV=document['createElement']('a');var bW=[];for(let bX of bN['split']('\x20')){var bY=BDFDB['encodeToHTML'](bX);bV['href']=bX;bW['push'](bV['host']&&bV['host']!==window['location']['host']?'':bY);}bS['innerHTML']=bW['join']('\x20');}var bZ=null;if(bO['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){var c0={'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(bZ=c0[bO['type']])BDFDB['addClass'](bR,bZ);if(bO['type']=='premium'){var c1=bR['querySelector'](BDFDB['dotCN']['noticebutton']);if(c1)BDFDB['addClass'](c1,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](bS,BDFDB['disCN']['noticepremiumtext']);bR['insertBefore'](BDFDB['htmlToElement'](''),bS);}}if(!bZ){var c2=BDFDB['colorCONVERT'](bO['color'],'RGBCOMP');if(c2){var c3=c2[0x0]>0xb4&&c2[0x1]>0xb4&&c2[0x2]>0xb4?'#000':'#FFF';var c4=BDFDB['colorCONVERT'](c2,'HEX');var c5=c2[0x0]>0xb4&&c2[0x1]>0xb4&&c2[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+bQ,'.DevilBro-notice.notice-'+bQ+'\x20{\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+c4+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bQ+'\x20.notice-message\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+c3+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bQ+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+c3+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09border-color:\x20'+BDFDB['colorSETALPHA'](c3,0.25,'RGBA')+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bQ+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{\x0a\x09\x09\x09\x09\x09\x09color:\x20'+c4+'\x20!important;\x0a\x09\x09\x09\x09\x09\x09background-color:\x20'+c3+'\x20!important;\x0a\x09\x09\x09\x09\x09}\x0a\x09\x09\x09\x09\x09.DevilBro-notice.notice-'+bQ+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{\x0a\x09\x09\x09\x09\x09\x09filter:\x20'+c5+'\x20!important;\x0a\x09\x09\x09\x09\x09}');}else BDFDB['addClass'](bR,BDFDB['disCN']['noticedefault']);}bR['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{bR['style']['setProperty']('overflow','hidden','important');bR['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+bQ);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+bQ);bR['remove']();},0x1f4);});return bR;};BDFDB['getDiscordFolder']=function(){var c6=BDFDB['getDiscordBuilt']();c6='discord'+(c6=='stable'?'':c6);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),c6,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var c7=require('process');var c8=require('path');if(c7['env']['injDir'])return c8['resolve'](c7['env']['injDir'],'plugins/');switch(c7['platform']){case'win32':return c8['resolve'](c7['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return c8['resolve'](c7['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(c7['env']['XDG_CONFIG_HOME'])return c8['resolve'](c7['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return c8['resolve'](c7['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=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/themes/');case'darwin':return ca['resolve'](c9['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(c9['env']['XDG_CONFIG_HOME'])return ca['resolve'](c9['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return ca['resolve'](c9['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cb=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x27user-settings\x27]')){if(!cb)return;var cc=cb['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cc)return;var cd=cc['parentElement']['querySelector']('h2');if(cd&&cd['innerText']){let ce=cd['innerText']['toLowerCase']();if(ce==='plugins'||ce==='themes')return ce;}};BDFDB['checkAllUpdates']=function(){for(let cf in window['PluginUpdates']['plugins']){var cg=window['PluginUpdates']['plugins'][cf];BDFDB['checkUpdate'](cg['name'],cg['raw']);}};BDFDB['sortObject']=function(ch,ci,cj){var ck={};if(ci===undefined||!ci)for(let cl of Object['keys'](ch)['sort']())ck[cl]=ch[cl];else{let cm=[];for(let cl in ch)cm['push'](ch[cl]);cm=BDFDB['sortArrayByKey'](cm,ci,cj);for(let co of cm)for(let cl in ch)if(BDFDB['equals'](co,ch[cl])){ck[cl]=co;break;}}return ck;};BDFDB['reverseObject']=function(cq,cr){var cs={};if(cr===undefined||!cr)for(let ct of Object['keys'](cq)['reverse']())cs[ct]=cq[ct];else for(let cu of Object['keys'](cq)['sort']['reverse']())cs[cu]=cq[cu];return cs;};BDFDB['filterObject']=function(cv,cw){return Object['keys'](cv)['filter'](cx=>cw(cv[cx]))['reduce']((cy,cz)=>(cy[cz]=cv[cz],cy),{});};BDFDB['isObject']=function(cA){return cA&&Object['prototype']['isPrototypeOf'](cA)&&!Array['prototype']['isPrototypeOf'](cA);};BDFDB['isObjectEmpty']=function(cB){return typeof cB!=='object'||Object['getOwnPropertyNames'](cB)['length']==0x0;};BDFDB['pushToObject']=function(cC,cD){if(cC&&typeof cC=='object')cC[Object['keys'](cC)['length']]=cD;};BDFDB['deepAssign']=function(cE,...cF){if(!cF['length'])return cE;var cG=cF['shift']();if(BDFDB['isObject'](cE)&&BDFDB['isObject'](cG)){for(var cH in cG){if(BDFDB['isObject'](cG[cH])){if(!cE[cH])Object['assign'](cE,{[cH]:{}});BDFDB['deepAssign'](cE[cH],cG[cH]);}else Object['assign'](cE,{[cH]:cG[cH]});}}return BDFDB['deepAssign'](cE,...cF);};BDFDB['sortArrayByKey']=function(cI,cJ,cK){if(cK===undefined)cK=null;return cI['sort'](function(cL,cM){var cN=cL[cJ],cO=cM[cJ];if(cN!==cK)return cNcO?0x1:0x0;});};BDFDB['removeFromArray']=function(cP,cQ){if(!cP||!cQ||!Array['isArray'](cP)||!cP['includes'](cQ))return;cP['splice'](cP['indexOf'](cQ),0x1);};BDFDB['getAllIndexes']=function(cR,cS){var cT=[],cU=-0x1;while((cU=cR['indexOf'](cS,cU+0x1))!==-0x1){cT['push'](cU);}return cT;};BDFDB['highlightText']=function(cV,cW){if(!cW||cW['length']<0x1)return cV;var cX=0x0,cY=cV,cZ='',d0='';BDFDB['getAllIndexes'](cV['toUpperCase'](),cW['toUpperCase']())['forEach'](d1=>{var d2=cX*(cZ['length']+d0['length']);d1=d1+d2;var d3=d1+cW['length'];var d4=[-0x1]['concat'](BDFDB['getAllIndexes'](cV['substring'](0x0,d1),'<'));var d5=[-0x1]['concat'](BDFDB['getAllIndexes'](cV['substring'](0x0,d1),'>'));if(d4[d4['length']-0x1]>d5[d5['length']-0x1])return;cV=cV['substring'](0x0,d1)+cZ+cV['substring'](d1,d3)+d0+cV['substring'](d3);cX++;});return cV?cV:cY;};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 d6=setInterval(()=>{var d7=document['querySelector']('html')['lang'];if(d7){clearInterval(d6);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][d7]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][d7]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][d7]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var d8=null;try{d8=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(d9){try{d8=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(da){var db=BDFDB['getDiscordVersion']();if(db){db=db['split']('.');if(db['length']==0x3&&!isNaN(db=parseInt(db[0x2]))){d8=db>0x122?'stable':db>0xc8?'canary':'ptb';}else d8='stable';}else d8='stable';}}BDFDB['getDiscordBuilt']['built']=d8;return d8;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dc=null;try{dc=require('electron')['remote']['app']['getVersion']();}catch(dd){dc='';}BDFDB['getDiscordBuilt']['version']=dc;return dc;}};BDFDB['getDiscordLanguage']=function(){var de=document['querySelector']('html')['lang']||'en-US';var df=de['split']('-');var dg=df[0x0];var dh=df[0x1]?df[0x1]:'';de=dh&&dg['toUpperCase']()!==dh['toUpperCase']()?dg+'-'+dh:dg;return BDFDB['languages'][de]||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 di=BDFDB['getRects'](document['body']['firstElementChild']);var dj=Math['round'](0x64*window['outerWidth']/di['width']);var dk=Math['round'](0x64*window['outerHeight']/di['height']);return djdm['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(dn,dp){if(!dn||!dp)return null;let dq=Node['prototype']['isPrototypeOf'](dn)?BDFDB['getReactInstance'](dn):dn;if(!dq)return null;let dr=dq;for(let ds of dp['split']('.')['filter'](dt=>dt)){dr=dr[ds];if(dr==undefined)return null;}return dr;};BDFDB['getOwnerInstance']=function(du){if(du===undefined)return null;if(!du['node']&&!du['instance']||!du['name']&&(!du['props']||!Array['isArray'](du['props'])))return null;var dv=du['instance']||BDFDB['getReactInstance'](du['node']);if(!dv)return null;du['name']=du['name']&&!Array['isArray'](du['name'])?Array['of'](du['name']):du['name'];var dw=-0x1;var dx=du['depth']===undefined?0xf:du['depth'];var dy=du['up']===undefined?![]:du['up'];var dz=performance['now']();var dA=du['time']===undefined?0x96:du['time'];var dB=dy?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dC={};var dD=dG(dv);if(du['all']){for(let dE in dC){if(du['group'])for(let dF in dC[dE])delete dC[dE][dF]['BDFDBreactSearch'];else delete dC[dE]['BDFDBreactSearch'];}return dC;}else return dD;function dG(dH){dw++;if(!dH||Node['prototype']['isPrototypeOf'](dH)||BDFDB['getReactInstance'](dH)||dw>dx||performance['now']()-dz>dA)dJ=null;else{var dI=Object['getOwnPropertyNames'](dH);var dJ=null;for(let dK=0x0;dJ==null&&dKdH['type']['displayName']===dN['split']('\x20')[0x0]||dH['type']['name']===dN['split']('\x20')[0x0])||du['props']&&du['props']['every'](dO=>dH['stateNode'][dO]!==undefined))||du['defaultProps']&&du['defaultProps']['every'](dP=>dH['stateNode'][dP]!==undefined)){if(du['all']===undefined||!du['all']){dJ=dH['stateNode'];}else if(du['all']){if(du['noCopies']===undefined||!du['noCopies']||du['noCopies']&&!dH['stateNode']['BDFDBreactSearch']){dH['stateNode']['BDFDBreactSearch']=!![];if(du['group']){if(du['name']&&dH['type']&&(dH['type']['displayName']||dH['type']['name'])){var dQ='Default';for(let dR of du['name'])if(dH['type']['displayName']===dR['split']('\x20')[0x0]||dH['type']['name']===dR['split']('\x20')[0x0]){dQ=dR;break;}if(typeof dC[dQ]=='undefined')dC[dQ]={};BDFDB['pushToObject'](dC[dQ],dH['stateNode']);}}else BDFDB['pushToObject'](dC,dH['stateNode']);}}}if(dJ==null&&(typeof dM==='object'||typeof dM==='function')&&dB[dL]){dJ=dG(dM);}}}dw--;return dJ;}};BDFDB['getKeyInformation']=function(dS){if(dS===undefined)return null;if(!dS['node']||!dS['key'])return null;var dT=BDFDB['getReactInstance'](dS['node']);if(!dT)return null;var dU=-0x1;var dV=dS['depth']===undefined?0xf:dS['depth'];var dW=performance['now']();var dX=dS['time']===undefined?0x1e:dS['time'];var dY={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dS['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dS['up']?![]:!![],'return':dS['up']?!![]:![],'sibling':dS['up']?![]:!![],'firstEffect':!![]};if(typeof dS['whiteList']==='object')Object['assign'](dY,dS['whiteList']);var dZ=typeof dS['blackList']==='object'?dS['blackList']:{};var e0=[];var e1=e2(dT);if(dS['all'])return e0;else return e1;function e2(e3){dU++;if(!e3||Node['prototype']['isPrototypeOf'](e3)||BDFDB['getReactInstance'](e3)||dU>dV||performance['now']()-dW>dX)e5=null;else{var e4=Object['getOwnPropertyNames'](e3);var e5=null;for(let e6=0x0;e5==null&&e6ee['default']=ec},['__extra_id__'])['default']:webpackJsonp['push']([[],{'__extra_id__':(eg,eh,ec)=>eg['exports']=ec},[['__extra_id__']]]);delete ec['c']['__extra_id__'];for(let ej in ec['c']){if(ec['c']['hasOwnProperty'](ej)){var ek=ec['c'][ej]['exports'];if(ek&&ek['__esModule']&&ek['default']&&eb(ek['default']))return ek['default'];if(ek&&eb(ek))return ek;}}};BDFDB['WebModules']['cachedData']={};BDFDB['WebModules']['findByProperties']=function(el){el=Array['isArray'](el)?el:Array['from'](arguments);var em=JSON['stringify'](el);if(BDFDB['WebModules']['cachedData'][em]){return BDFDB['WebModules']['cachedData'][em];}else{var en=BDFDB['WebModules']['find'](en=>el['every'](ep=>en[ep]!==undefined));if(en){BDFDB['WebModules']['cachedData'][em]=en;return en;}}};BDFDB['WebModules']['findByName']=function(eq){var er=JSON['stringify'](eq);if(BDFDB['WebModules']['cachedData'][er]){return BDFDB['WebModules']['cachedData'][er];}else{var es=BDFDB['WebModules']['find'](es=>es['displayName']===eq);if(es){BDFDB['WebModules']['cachedData'][er]=es;return es;}}};BDFDB['WebModules']['findByPrototypes']=function(eu){eu=Array['isArray'](eu)?eu:Array['from'](arguments);var ev=JSON['stringify'](eu);if(BDFDB['WebModules']['cachedData'][ev]){return BDFDB['WebModules']['cachedData'][ev];}else{var ew=BDFDB['WebModules']['find'](ew=>ew['prototype']&&eu['every'](ey=>ew['prototype'][ey]!==undefined));if(ew){BDFDB['WebModules']['cachedData'][ev]=ew;return ew;}}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'Guild':'DropTarget(DragSource(FluxContainer(Guild)))','PopoutContainer':'Popout'};BDFDB['WebModules']['notfindablemodules']={'PopoutContainer':'popout','Message':'message','MessageUsername':'messageusername','MessageOptionPopout':'optionpopout','UserPopout':'userpopout','EmojiPicker':'emojipicker','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(ez,eA,eB,eC){if(!ez||!eA||!Object['keys'](eC)['some'](eD=>BDFDB['WebModules']['patchtypes']['includes'](eD)))return null;const eE=(typeof eB==='string'?eB:eB['name']?eB['name']:eB['getName']())['toLowerCase']();const eF=(eG,eH)=>(...eI)=>{try{return eG(...eI);}catch(eJ){console['error']('Error\x20occurred\x20in\x20'+eH,eJ);}};if(!ez['BDFDBpatch'])ez['BDFDBpatch']={};eA=Array['isArray'](eA)?eA:Array['of'](eA);for(let eK of eA){if(!ez[eK])ez[eK]=()=>{};const eL=ez[eK];if(!ez['BDFDBpatch'][eK]){ez['BDFDBpatch'][eK]={};for(let eM of BDFDB['WebModules']['patchtypes'])ez['BDFDBpatch'][eK][eM]={};ez['BDFDBpatch'][eK]['originalMethod']=eL;ez[eK]=function(){const eN={'thisObject':this,'methodArguments':arguments,'originalMethod':eL,'originalMethodName':eK,'callOriginalMethod':()=>eN['returnValue']=eN['originalMethod']['apply'](eN['thisObject'],eN['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']){if(!BDFDB['isObjectEmpty'](ez['BDFDBpatch'][eK]['before']))for(let eO in BDFDB['sortObject'](ez['BDFDBpatch'][eK]['before'])){eF(ez['BDFDBpatch'][eK]['before'][eO],'`before`\x20callback\x20of\x20'+ez[eK]['displayName'])(eN);}if(BDFDB['isObjectEmpty'](ez['BDFDBpatch'][eK]['instead']))eN['callOriginalMethod']();else for(let eP in BDFDB['sortObject'](ez['BDFDBpatch'][eK]['instead'])){const eQ=eF(ez['BDFDBpatch'][eK]['instead'][eP],'`instead`\x20callback\x20of\x20'+ez[eK]['displayName'])(eN);if(eQ!==undefined)eN['returnValue']=eQ;}if(!BDFDB['isObjectEmpty'](ez['BDFDBpatch'][eK]['after']))for(let eR in BDFDB['sortObject'](ez['BDFDBpatch'][eK]['after'])){eF(ez['BDFDBpatch'][eK]['after'][eR],'`after`\x20callback\x20of\x20'+ez[eK]['displayName'])(eN);}}else eN['callOriginalMethod']();return eN['returnValue'];};}for(let eS of BDFDB['WebModules']['patchtypes'])if(typeof eC[eS]=='function')ez['BDFDBpatch'][eK][eS][eE]=eC[eS];}const eT=()=>{BDFDB['WebModules']['unpatch'](ez,eA,eB);};if(eB&&typeof eB=='object'){if(!Array['isArray'](eB['patchCancels']))eB['patchCancels']=[];eB['patchCancels']['push'](eT);}return eT;};BDFDB['WebModules']['unpatch']=function(eU,eV,eW){if(!eU||!eU['BDFDBpatch'])return;const eX=!eW?null:(typeof eW==='string'?eW:eW['name']?eW['name']:eW['getName']())['toLowerCase']();eV=Array['isArray'](eV)?eV:Array['of'](eV);for(let eY of eV){if(eU[eY]&&eU['BDFDBpatch'][eY]){for(let eZ of BDFDB['WebModules']['patchtypes']){if(eX)delete eU['BDFDBpatch'][eY][eZ][eX];else delete eU['BDFDBpatch'][eY][eZ];}var f0=!![];for(let eZ of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](eU['BDFDBpatch'][eY][eZ]))f0=![];if(f0){eU[eY]=eU['BDFDBpatch'][eY]['originalMethod'];delete eU['BDFDBpatch'][eY];if(BDFDB['isObjectEmpty'](eU['BDFDBpatch']))delete eU['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(f2){if(f2&&typeof f2=='object'&&Array['isArray'](f2['patchCancels']))for(let f3 of f2['patchCancels'])f3();};BDFDB['WebModules']['forceAllUpdates']=function(f4,f5){f5=f5&&BDFDB['WebModules']['patchmap'][f5]?BDFDB['WebModules']['patchmap'][f5]+'\x20'+f5:f5;if(f4&&typeof f4=='object'&&f4['patchModules']&&typeof f4['patchModules']=='object'&&(!f5||f4['patchModules'][f5])){const f6=document['querySelector'](BDFDB['dotCN']['app']);const f7=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(f6){var f8=[];for(let f9 in f4['patchModules']){var fa=Array['isArray'](f4['patchModules'][f9])?f4['patchModules'][f9]:Array['of'](f4['patchModules'][f9]);if(fa['includes']('componentDidUpdate')||fa['includes']('componentDidMount')||fa['includes']('render'))f8['push'](f9);}f8=f5?f8['filter'](fb=>fb==f5):f8;if(f8['length']>0x0){const fc=BDFDB['getOwnerInstance']({'node':f6,'name':f8,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let f9 in fc)for(let fe in fc[f9])BDFDB['WebModules']['initiateProcess'](f4,fc[f9][fe],f9,['componentDidUpdate','componentDidMount','render']);if(f7){const ff=BDFDB['getOwnerInstance']({'node':f7,'name':f8,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let f9 in ff)for(let fe in ff[f9])BDFDB['WebModules']['initiateProcess'](f4,ff[f9][fe],f9,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fi){if(fi&&typeof fi=='object'&&fi['patchModules']&&typeof fi['patchModules']=='object'){for(let fj in fi['patchModules']){var fk=BDFDB['WebModules']['patchmap'][fj];if(fk){fi['patchModules'][fk+'\x20'+fj]=fi['patchModules'][fj];delete fi['patchModules'][fj];if(!BDFDB['WebModules']['notfindablemodules'][fk])fn(BDFDB['WebModules']['findByName'](fk),fk+'\x20'+fj);}else fn(BDFDB['WebModules']['findByName'](fj),fj);}for(let fj in BDFDB['WebModules']['notfindablemodules']){var fm=BDFDB['WebModules']['patchmap'][fj]?BDFDB['WebModules']['patchmap'][fj]+'\x20'+fj:fj;if(BDFDB['DiscordClasses'][BDFDB['WebModules']['notfindablemodules'][fj]]&&fi['patchModules'][fm]&&!BDFDB['WebModules']['cachedData'][JSON['stringify'](fm)]){fu(BDFDB['WebModules']['notfindablemodules'][fj],fm);}}function fn(fo,fj){if(fo){var fq=fj['split']('\x20')[0x0];fo=fo['displayName']==fq?fo:BDFDB['getOwnerInstance']({'instance':fo,'name':fq,'up':!![]});if(fo){var fr=fo['_reactInternalFiber']&&fo['_reactInternalFiber']['type']?fo['_reactInternalFiber']['type']:fo;var fs={};fs[fi['name']=='$BDFDB'?'before':'after']=ft=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fi,ft['thisObject'],fj,[ft['originalMethodName']]);};BDFDB['WebModules']['patch'](fr['prototype'],fi['patchModules'][fj],fi,fs);}}}function fu(fv,fj){var fx=BDFDB['getReactInstance'](document['querySelector'](BDFDB['dotCN'][fv]));if(fD(fx,fj))fn(fx,fj);else{var fy=new MutationObserver(fz=>{fz['forEach'](fA=>{fA['addedNodes']['forEach'](fB=>{var fC=null;if(fB['tagName']&&(fC=BDFDB['containsClass'](fB,BDFDB['disCN'][fv])?fB:fB['querySelector'](BDFDB['dotCN'][fv]))!=null){fx=BDFDB['getReactInstance'](fC);if(fD(fx,fj)){fy['disconnect']();fn(fx,fj);BDFDB['WebModules']['forceAllUpdates'](fi,fj);}}});});});BDFDB['addObserver'](fi,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fy,'multi':!![]},{'childList':!![],'subtree':!![]});}}function fD(fE,fj){return fE&&(fj!='V2C_PluginCard'&&fj!='V2C_ThemeCard'||fj=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fj=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fG,fH,fI,fJ){if(fG&&typeof fG=='object'&&fH){fI=(fI['split']('\x20')[0x1]||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'];iD=Node['prototype']['isPrototypeOf'](iD)?iD: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=Node['prototype']['isPrototypeOf'](iG)?iG:document['head'];BDFDB['removeEles'](iG['querySelectorAll']('script[src=\x22'+iF+'\x22]'));};BDFDB['appendWebStyle']=function(iH,iI){if(!iI&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iI=iI||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iI=Node['prototype']['isPrototypeOf'](iI)?iI:document['head'];BDFDB['removeWebStyle'](iH,iI);var iJ=document['createElement']('link');iJ['setAttribute']('type','text/css');iJ['setAttribute']('rel','Stylesheet');iJ['setAttribute']('href',iH);iI['appendChild'](iJ);};BDFDB['removeWebStyle']=function(iK,iL){iL=iL||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iL=Node['prototype']['isPrototypeOf'](iL)?iL:document['head'];BDFDB['removeEles'](iL['querySelectorAll']('link[href=\x22'+iK+'\x22]'));};BDFDB['appendLocalStyle']=function(iM,iN,iO){if(!iO&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iO=iO||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iO=Node['prototype']['isPrototypeOf'](iO)?iO:document['head'];BDFDB['removeLocalStyle'](iM,iO);var iP=document['createElement']('style');iP['id']=iM+'CSS';iP['innerHTML']=iN;iO['appendChild'](iP);};BDFDB['removeLocalStyle']=function(iQ,iR){iR=iR||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iR=Node['prototype']['isPrototypeOf'](iR)?iR:document['head'];BDFDB['removeEles'](iR['querySelectorAll']('style[id=\x22'+iQ+'CSS\x22]'));};BDFDB['formatBytes']=function(iS,iT){if(iS==0x0)return'0\x20Bytes';if(iS==0x1)return'1\x20Byte';var iU=0x400,iV=iT<0x1?0x0:iT>0x14?0x14:iT||0x2,iW=['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'],iX=Math['floor'](Math['log'](iS)/Math['log'](iU));return parseFloat((iS/Math['pow'](iU,iX))['toFixed'](iV))+'\x20'+iW[iX];};BDFDB['colorCONVERT']=function(iY,iZ,j0){if(!iY)return null;iZ=iZ===undefined||!iZ?iZ='RGBCOMP':iZ['toUpperCase']();j0=j0===undefined||!j0||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](j0['toUpperCase']())?BDFDB['colorTYPE'](iY):j0['toUpperCase']();if(iZ=='RGBCOMP'){switch(j0){case'RGBCOMP':if(iY['length']==0x3)return jA(iY);else if(iY['length']==0x4){var j1=jD(iY['pop']());return jA(iY)['concat'](j1);}case'RGB':return jA(iY['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var j2=iY['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var j1=jD(j2['pop']());return jA(j2)['concat'](j1);case'HSLCOMP':if(iY['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iY['join'](',')+')','RGBCOMP');else if(iY['length']==0x4){var j1=jD(jh['pop']());return BDFDB['colorCONVERT']('hsl('+jh['join'](',')+')','RGBCOMP')['concat'](j1);}case'HSL':var j5=jH(iY['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var j6,j7,j8,j9,ja,jb,jc,jd;var je=j5[0x0]/0x168,jf=parseInt(j5[0x1])/0x64,jg=parseInt(j5[0x2])/0x64;j9=Math['floor'](je*0x6);ja=je*0x6-j9;jb=jg*(0x1-jf);jc=jg*(0x1-ja*jf);jd=jg*(0x1-(0x1-ja)*jf);switch(j9%0x6){case 0x0:j6=jg,j7=jd,j8=jb;break;case 0x1:j6=jc,j7=jg,j8=jb;break;case 0x2:j6=jb,j7=jg,j8=jd;break;case 0x3:j6=jb,j7=jc,j8=jg;break;case 0x4:j6=jd,j7=jb,j8=jg;break;case 0x5:j6=jg,j7=jb,j8=jc;break;}return[Math['round'](j6*0xff),Math['round'](j7*0xff),Math['round'](j8*0xff)];case'HSLA':var jh=iY['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var j1=jD(jh['pop']());return BDFDB['colorCONVERT']('hsl('+jh['join'](',')+')','RGBCOMP')['concat'](j1);case'HEX':var jj=/^#([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'](iY);return[parseInt(jj[0x1]+jj[0x1]||jj[0x4],0x10)['toString'](),parseInt(jj[0x2]+jj[0x2]||jj[0x5],0x10)['toString'](),parseInt(jj[0x3]+jj[0x3]||jj[0x6],0x10)['toString']()];default:return null;}}else{var jk=j0=='RGBCOMP'?iY:BDFDB['colorCONVERT'](iY,'RGBCOMP',j0);if(jk)switch(iZ){case'RGB':return'rgb('+jA(jk['slice'](0x0,0x3))['join'](',')+')';case'RGBA':jk=jk['slice'](0x0,0x4);var j1=jk['length']==0x4?jD(jk['pop']()):0x1;return'rgba('+jA(jk)['concat'](j1)['join'](',')+')';case'HSLCOMP':var j1=jk['length']==0x4?jD(jk['pop']()):null;var j5=jH(BDFDB['colorCONVERT'](jk,'HSL')['replace'](/\s/g,'')['split'](','));return j1?j5['concat'](j1):j5;case'HSL':var j6=jy(jk[0x0]),j7=jy(jk[0x1]),j8=jy(jk[0x2]);var jr=Math['max'](j6,j7,j8),js=Math['min'](j6,j7,j8),jt=jr-js,je,jf=jr===0x0?0x0:jt/jr,jg=jr/0xff;switch(jr){case js:je=0x0;break;case j6:je=j7-j8+jt*(j70xff?0xff:jz<0x0?0x0:jz;};function jA(jB){return jB['map'](jC=>{return jy(jC);});};function jD(j1){j1=j1['toString']();j1=(j1['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(j1['replace'](/[^0-9\.\-]/g,''));return isNaN(j1)||j1>0x1?0x1:j1<0x0?0x0:j1;};function jF(jb){jb=parseFloat(jb['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(jb)||jb>0x64?0x64:jb<0x0?0x0:jb)+'%';};function jH(jI){let je=parseFloat(jI['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));je=isNaN(je)||je>0x168?0x168:je<0x0?0x0:je;return[je]['concat'](jI['map'](jb=>{return jF(jb);}));};};BDFDB['colorSETALPHA']=function(jL,jM,jN){var jO=BDFDB['colorCONVERT'](jL,'RGBCOMP');if(jO){jM=jM['toString']();jM=(jM['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jM['replace'](/[^0-9\.\-]/g,''));jM=isNaN(jM)||jM>0x1?0x1:jM<0x0?0x0:jM;jO[0x3]=jM;var jP=(jN||BDFDB['colorTYPE'](jL))['toUpperCase']();jP=jP=='HSL'||jP=='RGB'?jP+'A':jP;return BDFDB['colorCONVERT'](jO,jP);}return null;};BDFDB['colorCHANGE']=function(jQ,jR,jS){jR=parseFloat(jR);if(jQ&&typeof jR=='number'&&!isNaN(jR)){var jT=BDFDB['colorCONVERT'](jQ,'RGBCOMP');if(jT){if(parseInt(jR)!==jR){jR=jR['toString']();jR=(jR['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jR['replace'](/[^0-9\.\-]/g,''));jR=isNaN(jR)?0x0:jR;return BDFDB['colorCONVERT']([Math['round'](jT[0x0]*(0x1+jR)),Math['round'](jT[0x1]*(0x1+jR)),Math['round'](jT[0x2]*(0x1+jR))],jS||BDFDB['colorTYPE'](jQ));}else return BDFDB['colorCONVERT']([Math['round'](jT[0x0]+jR),Math['round'](jT[0x1]+jR),Math['round'](jT[0x2]+jR)],jS||BDFDB['colorTYPE'](jQ));}}return null;};BDFDB['colorINV']=function(jU,jV){if(jU){var jW=BDFDB['colorCONVERT'](jU,'RGBCOMP');if(jW)return BDFDB['colorCONVERT']([0xff-jW[0x0],0xff-jW[0x1],0xff-jW[0x2]],jV||BDFDB['colorTYPE'](jU));}return null;};BDFDB['colorCOMPARE']=function(jX,jY){if(jX&&jY){jX=BDFDB['colorCONVERT'](jX,'RGBCOMP');jY=BDFDB['colorCONVERT'](jY,'RGBCOMP');return BDFDB['equals'](jX,jY);}return null;};BDFDB['colorISBRIGHT']=function(jZ,k0=0xa0){jZ=BDFDB['colorCONVERT'](jZ,'RGBCOMP');if(!jZ)return![];return parseInt(k0)