diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index a90afeab44..17b744d4eb 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1 +1 @@
-if(global['BDFDB']&&typeof BDFDB['removeEventListener']=='function')BDFDB['removeEventListener'](BDFDB);if(global['BDFDB']&&BDFDB['WebModules']&&typeof BDFDB['WebModules']['unpatchall']=='function')BDFDB['WebModules']['unpatchall'](BDFDB);var BDFDB={'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);if(typeof c['getDescription']==='function'){var d=c['getDescription']();if(d['indexOf']('http://bit.ly/DevilBrosHaus')==-0x1)c['getDescription']=function(){return d+'\x0a\x0aMy\x20Support\x20Server:\x20http://bit.ly/DevilBrosHaus\x20or\x20https://discordapp.com/invite/Jx3TjNS';};}c['name']=c['name']||c['getName']();c['version']=c['version']||c['getVersion']();c['author']=c['author']||c['getAuthor']();c['description']=c['description']||c['getDescription']();var e=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+c['version']);console['log']('%c['+c['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',e);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![]))BDFDB['showToast'](c['name']+'\x20'+e,{'nopointer':!![],'selector':'plugin-started-toast'});BDFDB['initProcess'](c);var f=typeof c['getRawUrl']=='function'&&typeof c['getRawUrl']()=='string'?c['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+c['name']+'/'+c['name']+'.plugin.js';BDFDB['checkUpdate'](c['name'],f);if(typeof c['initConstructor']==='function')c['initConstructor']();if(typeof c['css']==='string')BDFDB['appendLocalStyle'](c['name'],c['css']);BDFDB['WebModules']['patchModules'](c);BDFDB['addOnSwitchListener'](c);BDFDB['addSettingsButtonListener'](c);BDFDB['addContextListener'](c);BDFDB['translatePlugin'](c);BDFDB['checkChangeLog'](c);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][f]={'name':c['name'],'raw':f,'version':c['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);c['started']=!![];};BDFDB['unloadMessage']=function(g){BDFDB['clearStarttimout'](g);g['name']=g['name']||g['getName']();g['version']=g['version']||g['getVersion']();g['author']=g['author']||g['getAuthor']();g['description']=g['description']||g['getDescription']();var h=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+g['version']);console['log']('%c['+g['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',h);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![]))BDFDB['showToast'](g['name']+'\x20'+h,{'nopointer':!![],'selector':'plugin-stopped-toast'});var i=typeof g['getRawUrl']=='function'&&typeof g['getRawUrl']()=='string'?g['getRawUrl']():'https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Plugins/'+g['name']+'/'+g['name']+'.plugin.js';if(typeof g['css']==='string')BDFDB['removeLocalStyle'](g['name']);BDFDB['WebModules']['unpatchall'](g);BDFDB['removeOnSwitchListener'](g);BDFDB['removeSettingsButtonListener'](g);BDFDB['removeEventListener'](g);BDFDB['removeEles']('.'+g['name']+'-modal,\x20.'+g['name']['toLowerCase']()+'-modal,\x20.'+g['name']+'-settingsmodal,\x20.'+g['name']['toLowerCase']()+'-settingsmodal');if(!BDFDB['isObjectEmpty'](g['observers'])){for(let j in g['observers'])for(let k of g['observers'][j])k['disconnect']();delete g['observers'];}delete window['PluginUpdates']['plugins'][i];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete g['started'];};BDFDB['translatePlugin']=function(l){if(typeof l['setLabelsByLanguage']==='function'||typeof l['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])n();else{var m=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(m);n();}},0x64);}function n(){var o=BDFDB['getDiscordLanguage']();if(typeof l['setLabelsByLanguage']==='function')l['labels']=l['setLabelsByLanguage'](o['id']);if(typeof l['changeLanguageStrings']==='function')l['changeLanguageStrings']();var p=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('{{ownlang}}',o['ownlang']);console['log']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',p);}}};BDFDB['clearStarttimout']=function(q){if(q['startTimeout']){clearTimeout(q['startTimeout']);delete q['startTimeout'];}};BDFDB['initProcess']=function(r){var s=0x0,t=setInterval(()=>{if(BDFDB['myData']&&BDFDB['myData']['id']){clearInterval(t);if(['0gDM3cTO0EzMzETM0UTNyUjM','0ITOyMDN0MTOwMDO1YjN0IDM','xYjM3EDM3QDN3EzNwYjNyQTM','=kjM1YzMxQjN1UTM2ETN0gDO','xEzMzADO1UzM3cDN3AjM1kjM','xkjN5cDM5UzNzgTNxATN0ADO','zUDM0EDN1MTMwkDOzEjM3ETN','=gTMzUzNxEDM3MzM5cTN1UjM','ycDOyQDOxQTN2czN0UTMycDN','zczN5EjN2YDOwETN0ETMyEDM','zkDO1UTM0kTO4ITOxQTO2kDO','ygDOwUzMzUTM1cTO2QDOwADM','zMTN0YDN5gDOwMjN2kDNwITM','zADM5gjNzUTNwgzM2QDM4MjM','0ADM2EjM0gDOxkjNxIDO3YDO','zkDNzEDM3kTN3IDMyYTM2MjM','ycTO1ATMyEDO1ITN3QTMwUjN','0YjM5UjM4MTNzcDO3ADO0gjM','zkTO2gDN3UDM3UjM2EjMzYzM','zcjM0YjMzgTMyQDMxUjNxYDM','xkzN2QDN2UDM2cDM5gTMxIDM','0gTO2ITMzYTNwUDMxcTO1kjN','yUTNyATN4EDOxMDOzYTM4UzN','1ITN2EDN1YzN4kjM0UTMzUTO']['includes'](btoa(BDFDB['myData']['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var u=r['name'];var v=require('fs');var w=require('path');v['unlink'](w['join'](BDFDB['getPluginsFolder'](),u+'.plugin.js'),x=>{});v['unlink'](w['join'](BDFDB['getPluginsFolder'](),u+'.config.json'),y=>{});pluginCookie[u]=![];delete bdplugins[u];pluginModule['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(s>0x1770)clearInterval(t);s++;},0x64);};BDFDB['checkChangeLog']=function(z){if(!BDFDB['isObject'](z)||!z['changelog'])return;var A=BDFDB['loadAllData'](z,'changelog');if(!A['currentversion']||BDFDB['checkVersions'](z['version'],A['currentversion'])){A['currentversion']=z['version'];var B='';var C={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let D in z['changelog']){D=D['toLowerCase']();var E=BDFDB['disCN']['changelog'+D];if(E){B+='
'+C[D]+'
';for(let F of z['changelog'][D])B+='- '+F[0x0]+''+(F[0x1]?':\x20'+F[0x1]+'.':'')+'
';B+='
';}}if(B)BDFDB['removeEles'](BDFDB['openConfirmModal'](z,B,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](A,z,'changelog');}};BDFDB['addObserver']=function(G,H,I,J={'childList':!![]}){if(!BDFDB['isObject'](G)||!H||!I)return;if(BDFDB['isObjectEmpty'](G['observers']))G['observers']={};if(!Array['isArray'](G['observers'][I['name']]))G['observers'][I['name']]=[];if(!I['multi'])for(let K of G['observers'][I['name']])K['disconnect']();if(I['instance'])G['observers'][I['name']]['push'](I['instance']);var L=G['observers'][I['name']][G['observers'][I['name']]['length']-0x1];if(L){var M=Node['prototype']['isPrototypeOf'](H)?H:typeof H==='string'?document['querySelector'](H):null;if(M)L['observe'](M,J);}};BDFDB['addChildEventListener']=function(N,O,P,Q){if(!Node['prototype']['isPrototypeOf'](N)||!O||!P||!P['trim']()||typeof Q!='function')return;for(var R of O['trim']()['split']('\x20'))if(R)N['querySelectorAll'](P['trim']())['forEach'](S=>{S['addEventListener'](R,Q,!![]);});};BDFDB['addEventListener']=function(T,U,V,W,X){if(!BDFDB['isObject'](T)||!Node['prototype']['isPrototypeOf'](U)||!V)return;var Y=typeof W=='function';var Z=Y?undefined:W;var a0=Y?W:X;if(typeof a0!='function')return;BDFDB['removeEventListener'](T,U,V,Z);for(var a1 of V['split']('\x20')){a1=a1['split']('.');var a2=a1['shift']()['toLowerCase']();if(!a2)return;var a3=a2;a2=a2=='mouseenter'||a2=='mouseleave'?'mouseover':a2;var a4=(a1['join']('.')||'')+T['name'];if(!Array['isArray'](T['listeners']))T['listeners']=[];var a5=null;if(Z){if(a3=='mouseenter'||a3=='mouseleave'){a5=a6=>{for(let a7 of a6['path'])if(typeof a7['matches']=='function'&&a7['matches'](Z)&&!a7[a4+'BDFDB'+a3]){a7[a4+'BDFDB'+a3]=!![];if(a3=='mouseenter')a0(BDFDB['copyEvent'](a6,a7));let a8=a9=>{if(a9['target']['contains'](a7)||a9['target']==a7||!a7['contains'](a9['target'])){if(a3=='mouseleave')a0(BDFDB['copyEvent'](a6,a7));delete a7[a4+'BDFDB'+a3];document['removeEventListener']('mouseout',a8);}};document['addEventListener']('mouseout',a8);break;}};}else{a5=aa=>{for(let ab of aa['path'])if(typeof ab['matches']=='function'&&ab['matches'](Z)){a0(BDFDB['copyEvent'](aa,ab));break;}};}}else a5=ac=>{a0(BDFDB['copyEvent'](ac,U));};T['listeners']['push']({'ele':U,'eventname':a2,'origeventname':a3,'namespace':a4,'selector':Z,'eventcallback':a5});U['addEventListener'](a2,a5,!![]);}};BDFDB['copyEvent']=function(ad,ae){var af=new ad['constructor'](ad['type'],ad);Object['defineProperty'](af,'originalEvent',{'value':ad});Object['defineProperty'](af,'which',{'value':ad['which']});Object['defineProperty'](af,'keyCode',{'value':ad['keyCode']});Object['defineProperty'](af,'path',{'value':ad['path']});Object['defineProperty'](af,'relatedTarget',{'value':ad['relatedTarget']});Object['defineProperty'](af,'srcElement',{'value':ad['srcElement']});Object['defineProperty'](af,'target',{'value':ad['target']});Object['defineProperty'](af,'toElement',{'value':ad['toElement']});if(ae)Object['defineProperty'](af,'currentTarget',{'value':ae});return af;};BDFDB['removeEventListener']=function(ag,ah,ai='',aj){if(!BDFDB['isObject'](ag)||!Array['isArray'](ag['listeners']))return;if(Node['prototype']['isPrototypeOf'](ah)){for(var ak of ai['split']('\x20')){ak=ak['split']('.');var al=ak['shift']()['toLowerCase']();var am=(ak['join']('.')||'')+ag['name'];for(let an of ag['listeners']){let ao=[];if(an['ele']==ah&&(!al||an['origeventname']==al)&&an['namespace']==am&&(aj===undefined||an['selector']==aj)){ah['removeEventListener'](an['eventname'],an['eventcallback'],!![]);ao['push'](an);}if(ao['length'])ag['listeners']=ag['listeners']['filter'](an=>{return ao['indexOf'](an)<0x0;});}}}else if(!ah){for(let aq of ag['listeners'])aq['ele']['removeEventListener'](aq['eventname'],aq['eventcallback'],!![]);ag['listeners']=[];}};BDFDB['checkUpdate']=function(ar,as){if(BDFDB['isBDv2']())return;require('request')(as,(at,au,av)=>{if(at)return;var aw=av['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!aw)return;if(BDFDB['checkVersions'](aw,window['PluginUpdates']['plugins'][as]['version']))BDFDB['showUpdateNotice'](ar,as);else BDFDB['removeUpdateNotice'](ar);});};BDFDB['checkVersions']=function(ax,ay){if(!ax||!ay)return!![];ax=ax['toString']()['split'](/,|\./g)['map'](az=>parseInt(az))['filter'](aA=>aA&&!isNaN(aA));ay=ay['toString']()['split'](/,|\./g)['map'](aB=>parseInt(aB))['filter'](aC=>aC&&!isNaN(aC));var aD=Math['max'](ax['length'],ay['length']);if(!aD)return!![];if(ax['length']>ay['length']){var aE=new Array(ax['length']-ay['length']);for(let aF=0x0;aFay[aK])return!![];}return![];};BDFDB['showUpdateNotice']=function(aL,aM){var aN=document['querySelector']('#pluginNotice');if(!aN){aN=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});aN['style']['setProperty']('display','block','important');aN['style']['setProperty']('visibility','visible','important');aN['style']['setProperty']('opacity','1','important');var aO=aN['querySelector'](BDFDB['dotCN']['noticebutton']);if(aO){BDFDB['toggleEles'](aO,!![]);aO['addEventListener']('click',aP=>{aP['preventDefault']();window['location']['reload'](![]);});aO['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),aO,{'type':'bottom','selector':'update-notice-tooltip'});});}}if(aN){var aQ=aN['querySelector']('#outdatedPlugins');if(aQ&&!aQ['querySelector']('#'+aL+'-notice')){if(aQ['querySelector']('span'))aQ['appendChild'](BDFDB['htmlToElement'](',\x20'));var aR=BDFDB['htmlToElement'](''+aL+'');aR['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aL,aM,aN);});aQ['appendChild'](aR);}}};BDFDB['downloadPlugin']=function(aS,aT,aU){require('request')(aT,(aV,aW,aX)=>{if(aV)return console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Unable\x20to\x20get\x20update\x20for\x20'+aS);BDFDB['creationTime']=0x0;var aY=aX['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);aY=aY['toString']()['replace'](/['"]/g,'');var aZ=aT['split']('/');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),aZ[aZ['length']-0x1]),aX);BDFDB['showToast'](aS+'\x20v'+window['PluginUpdates']['plugins'][aT]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aS+'\x20v'+aY+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});if(aU['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][aT]['version']=aY;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](aS))window['PluginUpdates']['downloaded']['push'](aS);}BDFDB['removeUpdateNotice'](aS,aU);});};BDFDB['removeUpdateNotice']=function(b0,b1=document['querySelector']('#pluginNotice')){if(!b1)return;var b2=b1['querySelector']('#outdatedPlugins');if(b2){var b3=b2['querySelector']('#'+b0+'-notice');if(b3){var b4=b3['nextSibling'];var b5=b3['prevSibling'];if(b4&&BDFDB['containsClass'](b4,'separator'))b4['remove']();else if(b5&&BDFDB['containsClass'](b5,'separator'))b5['remove']();b3['remove']();}if(!b2['querySelector']('span')){var b6=b1['querySelector'](BDFDB['dotCN']['noticebutton']);if(b6){b1['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](b6,![]);}else b1['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(b7,b8={}){var b9=document['querySelector']('.toasts,\x20.bd-toasts');if(!b9){var ba=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bb=ba?BDFDB['getRects'](ba):null;var bc=ba?ba['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bd=bb?bb['left']:0x136;var be=bb?bc?bb['width']-BDFDB['getRects'](bc)['width']:bb['width']:window['outerWidth']-b7;var bf=ba?ba['querySelector']('form'):null;var bg=bf?BDFDB['getRects'](bf)['height']:0x50;b9=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](b9);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=b8;var bh=BDFDB['htmlToElement'](''+(html===!![]?b7:BDFDB['encodeToHTML'](b7))+'
');if(type){BDFDB['addClass'](bh,'toast-'+type);if(icon)BDFDB['addClass'](bh,'icon');}BDFDB['addClass'](bh,selector);b9['appendChild'](bh);bh['close']=()=>{if(document['contains'](bh)){BDFDB['addClass'](bh,'closing');setTimeout(()=>{bh['remove']();if(!b9['querySelectorAll']('.toast,\x20.bd-toast')['length'])b9['remove']();},0xbb8);}};if(nopointer)bh['style']['setProperty']('pointer-events','none','important');else bh['addEventListener']('click',bh['close']);setTimeout(()=>{bh['close']();},timeout>0x0?timeout:0x927c0);return bh;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bi,bj={}){var bk=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bi,'parsedoptions':bj});bl();};var bl=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bm=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bm)bn(bm['parsedcontent'],bm['parsedoptions']);}};var bn=(bo,bp)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bq=bp['silent'];bp['silent']=bp['silent']||bp['sound']?!![]:![];var br=new Notification(bo,bp);var bs=new Audio();var bt=setTimeout(()=>{bu();},bp['timeout']?bp['timeout']:0xbb8);if(typeof bp['click']=='function')br['onclick']=()=>{clearTimeout(bt);bu();bp['click']();};if(!bq&&bp['sound']){bs['src']=bp['sound'];bs['play']();}var bu=()=>{bs['pause']();br['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bl();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bk();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bv){if(bv==='granted')bk();});};BDFDB['createTooltip']=function(bw,bx,by={}){if(!bw||!bx||!Node['prototype']['isPrototypeOf'](bx)||!document['contains'](bx))return null;var bz=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bz)return null;var bA=Math['round'](Math['random']()*0x2386f26fc10000);var bB=BDFDB['htmlToElement']('');if(by['type']&&BDFDB['disCN']['tooltip'+by['type']['toLowerCase']()])BDFDB['addClass'](bB,BDFDB['disCN']['tooltip'+by['type']['toLowerCase']()]);if(by['id'])bB['id']=by['id']['split']('\x20')['join']('');if(by['selector'])BDFDB['addClass'](bB,by['selector']);if(by['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bA,by['css'],bz);if(by['style'])bB['style']=by['style'];if(by['html']===!![])bB['innerHTML']=bw;else bB['innerText']=bw;if(bB['style']['borderColor']&&bB['style']['backgroundColor'])BDFDB['addClass'](bB,'tooltip-customcolor');else if(by['color']&&BDFDB['disCN']['tooltip'+by['color']['toLowerCase']()])BDFDB['addClass'](bB,BDFDB['disCN']['tooltip'+by['color']['toLowerCase']()]);else BDFDB['addClass'](bB,BDFDB['disCN']['tooltipblack']);bz['appendChild'](bB);var bC,bD,bE=BDFDB['getRects'](bx),bF=BDFDB['getRects'](bB);if(!by['position'])by['position']=by['type'];switch(by['position']){case'top':bC=bE['left']+(bE['width']-bF['width'])/0x2;bD=bE['top']-bF['height'];break;case'bottom':bC=bE['left']+(bE['width']-bF['width'])/0x2;bD=bE['top']+bE['height'];break;case'left':bC=bE['left']-bF['width'];bD=bE['top']+(bE['height']-bF['height'])/0x2;break;default:bC=bE['left']+bE['width'];bD=bE['top']+(bE['height']-bF['height'])/0x2;break;}bB['style']['setProperty']('left',bC+'px','important');bB['style']['setProperty']('top',bD+'px','important');var bG=()=>{bB['remove']();};var bH=new MutationObserver(bI=>{bI['forEach'](bJ=>{var bK=Array['from'](bJ['removedNodes']);var bL=bK['indexOf'](bB)>-0x1;var bM=bK['indexOf'](bx)>-0x1;var bN=bK['some'](bO=>bO['contains'](bx));var bP=bx['contains'](bJ['target'])&&bK['some'](bQ=>BDFDB['containsClass'](bQ,BDFDB['disCN']['channeliconspacing']));if(bL||bM||bN||bP){bH['disconnect']();bB['remove']();bx['removeEventListener']('mouseleave',bG);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bA,bz);}});});bH['observe'](document['body'],{'subtree':!![],'childList':!![]});bx['addEventListener']('mouseleave',bG);if(by['delay']){BDFDB['toggleEles'](bB);setTimeout(()=>{BDFDB['toggleEles'](bB);},by['delay']);}return bB;};BDFDB['createNotificationsBar']=function(bR,bS={}){if(!bR)return;var bT=document['querySelector'](BDFDB['dotCN']['layers']);if(!bT)return;var bU=Math['round'](Math['random']()*0x2386f26fc10000);var bV=BDFDB['htmlToElement']('');bT['parentElement']['insertBefore'](bV,bT);bV['style']['setProperty']('height','36px','important');var bW=bV['querySelector']('.notice-message');if(bS['icon']){var bX={'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 bY of bS['icon']['split']('\x20'))if(bX[bY])bV['insertBefore'](BDFDB['htmlToElement'](''),bX[bY]['size']=='small'?null:bW);}if(bS['btn'])bV['appendChild'](BDFDB['htmlToElement'](''));if(bS['id'])bV['id']=bS['id']['split']('\x20')['join']('');if(bS['selector'])BDFDB['addClass'](bV,bS['selector']);if(bS['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+bU,bS['css']);if(bS['style'])bV['style']=bS['style'];if(bS['html']===!![])bW['innerHTML']=bR;else{var bZ=document['createElement']('a');var c0=[];for(let c1 of bR['split']('\x20')){var c2=BDFDB['encodeToHTML'](c1);bZ['href']=c1;c0['push'](bZ['host']&&bZ['host']!==window['location']['host']?'':c2);}bW['innerHTML']=c0['join']('\x20');}var c3=null;if(bS['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(c3=BDFDB['disCN']['notice'+bS['type']])BDFDB['addClass'](bV,c3);if(bS['type']=='premium'){var c4=bV['querySelector'](BDFDB['dotCN']['noticebutton']);if(c4)BDFDB['addClass'](c4,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](bW,BDFDB['disCN']['noticepremiumtext']);bV['insertBefore'](BDFDB['htmlToElement'](''),bW);}}if(!c3){var c5=BDFDB['colorCONVERT'](bS['color'],'RGBCOMP');if(c5){var c6=c5[0x0]>0xb4&&c5[0x1]>0xb4&&c5[0x2]>0xb4?'#000':'#FFF';var c7=BDFDB['colorCONVERT'](c5,'HEX');var c8=c5[0x0]>0xb4&&c5[0x1]>0xb4&&c5[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+bU,'.DevilBro-notice.notice-'+bU+'{background-color:\x20'+c7+'\x20!important;}.DevilBro-notice.notice-'+bU+'\x20.notice-message\x20{color:\x20'+c6+'\x20!important;}.DevilBro-notice.notice-'+bU+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:\x20'+c6+'\x20!important;border-color:\x20'+BDFDB['colorSETALPHA'](c6,0.25,'RGBA')+'\x20!important;}.DevilBro-notice.notice-'+bU+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:\x20'+c7+'\x20!important;background-color:\x20'+c6+'\x20!important;}.DevilBro-notice.notice-'+bU+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:\x20'+c8+'\x20!important;}');}else BDFDB['addClass'](bV,BDFDB['disCN']['noticedefault']);}bV['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{bV['style']['setProperty']('overflow','hidden','important');bV['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+bU);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+bU);bV['remove']();},0x1f4);});return bV;};BDFDB['getDiscordFolder']=function(){var c9=BDFDB['getDiscordBuilt']();c9='discord'+(c9=='stable'?'':c9);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),c9,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var ca=require('process');var cb=require('path');if(ca['env']['injDir'])return cb['resolve'](ca['env']['injDir'],'plugins/');switch(ca['platform']){case'win32':return cb['resolve'](ca['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return cb['resolve'](ca['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(ca['env']['XDG_CONFIG_HOME'])return cb['resolve'](ca['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cb['resolve'](ca['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var cc=require('process');var cd=require('path');if(cc['env']['injDir'])return cd['resolve'](cc['env']['injDir'],'plugins/');switch(cc['platform']){case'win32':return cd['resolve'](cc['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cd['resolve'](cc['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cc['env']['XDG_CONFIG_HOME'])return cd['resolve'](cc['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cd['resolve'](cc['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(ce=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!ce)return;var cf=ce['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cf)return;var cg=cf['parentElement']['querySelector']('h2');if(cg&&cg['innerText']){let ch=cg['innerText']['toLowerCase']();if(ch==='plugins'||ch==='themes')return ch;}};BDFDB['checkAllUpdates']=function(){for(let ci in window['PluginUpdates']['plugins']){var cj=window['PluginUpdates']['plugins'][ci];BDFDB['checkUpdate'](cj['name'],cj['raw']);}};BDFDB['sortObject']=function(ck,cl,cm){var cn={};if(cl===undefined||!cl)for(let co of Object['keys'](ck)['sort']())cn[co]=ck[co];else{let cp=[];for(let co in ck)cp['push'](ck[co]);cp=BDFDB['sortArrayByKey'](cp,cl,cm);for(let cr of cp)for(let co in ck)if(BDFDB['equals'](cr,ck[co])){cn[co]=cr;break;}}return cn;};BDFDB['reverseObject']=function(ct,cu){var cv={};for(let cw of cu===undefined||!cu?Object['keys'](ct)['reverse']():Object['keys'](ct)['sort']()['reverse']())cv[cw]=ct[cw];return cv;};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(BDFDB['isObject'](cE))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,cT=![]){if(!cR||!cS||!Array['isArray'](cR)||!cR['includes'](cS))return;if(!cT)cR['splice'](cR['indexOf'](cS),0x1);else while(cR['indexOf'](cS)>-0x1)cR['splice'](cR['indexOf'](cS),0x1);};BDFDB['getAllIndexes']=function(cU,cV){var cW=[],cX=-0x1;while((cX=cU['indexOf'](cV,cX+0x1))!==-0x1)cW['push'](cX);return cW;};BDFDB['removeCopiesFromArray']=function(cY){return[...new Set(cY)];};BDFDB['highlightText']=function(cZ,d0){if(!d0||d0['length']<0x1)return cZ;var d1=0x0,d2=cZ,d3='',d4='';BDFDB['getAllIndexes'](cZ['toUpperCase'](),d0['toUpperCase']())['forEach'](d5=>{var d6=d1*(d3['length']+d4['length']);d5=d5+d6;var d7=d5+d0['length'];var d8=[-0x1]['concat'](BDFDB['getAllIndexes'](cZ['substring'](0x0,d5),'<'));var d9=[-0x1]['concat'](BDFDB['getAllIndexes'](cZ['substring'](0x0,d5),'>'));if(d8[d8['length']-0x1]>d9[d9['length']-0x1])return;cZ=cZ['substring'](0x0,d5)+d3+cZ['substring'](d5,d7)+d4+cZ['substring'](d7);d1++;});return cZ?cZ:d2;};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 da=setInterval(()=>{var db=document['querySelector']('html')['lang'];if(db){clearInterval(da);BDFDB['languages']['$discord']['name']='Discord\x20('+BDFDB['languages'][db]['name']+')';BDFDB['languages']['$discord']['id']=BDFDB['languages'][db]['id'];BDFDB['languages']['$discord']['ownlang']=BDFDB['languages'][db]['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dc=null;try{dc=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dd){try{dc=require(require('electron')['remote']['app']['getAppPath']()['replace']('\x5capp.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(de){var df=BDFDB['getDiscordVersion']();if(df){df=df['split']('.');if(df['length']==0x3&&!isNaN(df=parseInt(df[0x2])))dc=df>0x12c?'stable':da>0xc8?'canary':'ptb';else dc='stable';}else dc='stable';}}BDFDB['getDiscordBuilt']['built']=dc;return dc;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dg=null;try{dg=require('electron')['remote']['app']['getVersion']();}catch(dh){dh='';}BDFDB['getDiscordBuilt']['version']=dg;return dg;}};BDFDB['getDiscordLanguage']=function(){var di=document['querySelector']('html')['lang']||'en-US';var dj=di['split']('-');var dk=dj[0x0];var dl=dj[0x1]||'';di=dl&&dk['toUpperCase']()!==dl['toUpperCase']()?dk+'-'+dl:dk;return BDFDB['languages'][di]||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 dm=BDFDB['getRects'](document['body']['firstElementChild']);var dn=Math['round'](0x64*window['outerWidth']/dm['width']);var dp=Math['round'](0x64*window['outerHeight']/dm['height']);return dndr['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(ds,dt){if(!ds||!dt)return null;let du=Node['prototype']['isPrototypeOf'](ds)?BDFDB['getReactInstance'](ds):ds;if(!BDFDB['isObject'](du))return null;let dv=du;for(let dw of dt['split']('.')['filter'](dx=>dx)){dv=dv[dw];if(dv==undefined)return null;}return dv;};BDFDB['getOwnerInstance']=function(dy){if(dy===undefined)return null;if(!dy['node']&&!dy['instance']||!dy['name']&&(!dy['props']||!Array['isArray'](dy['props'])))return null;var dz=dy['instance']||BDFDB['getReactInstance'](dy['node']);if(!dz)return null;dy['name']=dy['name']&&!Array['isArray'](dy['name'])?Array['of'](dy['name']):dy['name'];var dA=-0x1;var dB=dy['depth']===undefined?0xf:dy['depth'];var dC=dy['up']===undefined?![]:dy['up'];var dD=performance['now']();var dE=dy['time']===undefined?0x96:dy['time'];var dF=dC?{'return':!![],'sibling':!![]}:{'child':!![],'sibling':!![]};var dG={};var dH=dK(dz);if(dy['all']){for(let dI in dG){if(dy['group'])for(let dz in dG[dI])delete dG[dI][dz]['BDFDBreactSearch'];else delete dG[dI]['BDFDBreactSearch'];}return dG;}else return dH;function dK(dz){dA++;if(!dz||Node['prototype']['isPrototypeOf'](dz)||BDFDB['getReactInstance'](dz)||dA>dB||performance['now']()-dD>dE)dN=null;else{var dM=Object['getOwnPropertyNames'](dz);var dN=null;for(let dO=0x0;dN==null&&dOdz['type']['displayName']===dR['split']('\x20')[0x0]||dz['type']['name']===dR['split']('\x20')[0x0])||dy['props']&&dy['props']['every'](dS=>dz['stateNode'][dS]!==undefined))||dy['defaultProps']&&dy['defaultProps']['every'](dT=>dz['stateNode'][dT]!==undefined)){if(dy['all']===undefined||!dy['all'])dN=dz['stateNode'];else if(dy['all']){if(dy['noCopies']===undefined||!dy['noCopies']||dy['noCopies']&&!dz['stateNode']['BDFDBreactSearch']){dz['stateNode']['BDFDBreactSearch']=!![];if(dy['group']){if(dy['name']&&dz['type']&&(dz['type']['displayName']||dz['type']['name'])){var dU='Default';for(let dV of dy['name'])if(dz['type']['displayName']===dV['split']('\x20')[0x0]||dz['type']['name']===dV['split']('\x20')[0x0]){dU=dV;break;}if(typeof dG[dU]=='undefined')dG[dU]={};BDFDB['pushToObject'](dG[dU],dz['stateNode']);}}else BDFDB['pushToObject'](dG,dz['stateNode']);}}}if(dN==null&&(typeof dQ==='object'||typeof dQ==='function')&&dF[dP])dN=dK(dQ);}}dA--;return dN;}};BDFDB['getKeyInformation']=function(dW){if(dW===undefined)return null;if(!dW['node']&&!dW['instance']||!dW['key'])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 e0=performance['now']();var e1=dW['time']===undefined?0x96:dW['time'];var e2={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':dW['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':dW['up']?![]:!![],'return':dW['up']?!![]:![],'sibling':dW['up']?![]:!![],'firstEffect':!![]};if(typeof dW['whitelist']==='object')Object['assign'](e2,dW['whiteList']);var e3=typeof dW['blackList']==='object'?dW['blackList']:{};var e4=[];var e5=e6(dX);if(dW['all'])return e4;else return e5;function e6(dX){dY++;if(!dX||Node['prototype']['isPrototypeOf'](dX)||BDFDB['getReactInstance'](dX)||dY>dZ||performance['now']()-e0>e1)e9=null;else{var e8=Object['getOwnPropertyNames'](dX);var e9=null;for(let ea=0x0;e9==null&&eaej['default']=eh},[eg])['default']:window['webpackJsonp']['push']([[],{[eg]:(el,em,eh)=>el['exports']=eh},[[eg]]]);delete eh['m'][eg];delete eh['c'][eg];BDFDB['WebModules']['find']['req']=eh;}for(let eo in BDFDB['WebModules']['find']['req']['c']){if(BDFDB['WebModules']['find']['req']['c']['hasOwnProperty'](eo)){var ep=BDFDB['WebModules']['find']['req']['c'][eo]['exports'];if(ep&&ep['__esModule']&&ep['default']&&ef(ep['default']))return ep['default'];if(ep&&ef(ep))return ep;}}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(eq){eq=Array['isArray'](eq)?eq:Array['from'](arguments);var er=JSON['stringify'](eq);if(BDFDB['WebModules']['cachedData']['prop'][er])return BDFDB['WebModules']['cachedData']['prop'][er];else{var es=BDFDB['WebModules']['find'](es=>eq['every'](eu=>es[eu]!==undefined));if(es){BDFDB['WebModules']['cachedData']['prop'][er]=es;return es;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',er+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(ev){var ew=JSON['stringify'](ev);if(BDFDB['WebModules']['cachedData']['name'][ew])return BDFDB['WebModules']['cachedData']['name'][ew];else{var ex=BDFDB['WebModules']['find'](ex=>ex['displayName']===ev);if(ex){BDFDB['WebModules']['cachedData']['name'][ew]=ex;return ex;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',ew+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(ez){ez=Array['isArray'](ez)?ez:Array['from'](arguments);var eA=JSON['stringify'](ez);if(BDFDB['WebModules']['cachedData']['proto'][eA])return BDFDB['WebModules']['cachedData']['proto'][eA];else{var eB=BDFDB['WebModules']['find'](eB=>eB['prototype']&&ez['every'](eD=>eB['prototype'][eD]!==undefined));if(eB){BDFDB['WebModules']['cachedData']['proto'][eA]=eB;return eB;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',eA+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'Guild':'DropTarget(DragSource(FluxContainer(Guild)))','PopoutContainer':'Popout'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','PrivateChannelCall':'callcurrentcontainer','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(eE,eF,eG,eH){if(!eE||!eF||!eG||!Object['keys'](eH)['some'](eI=>BDFDB['WebModules']['patchtypes']['includes'](eI)))return null;const eJ=(typeof eG==='string'?eG:eG['name'])['toLowerCase']();const eK=(eL,eM)=>(...eN)=>{try{return eL(...eN);}catch(eO){console['error']('Error\x20occurred\x20in\x20'+eM,eO);}};if(!eE['BDFDBpatch'])eE['BDFDBpatch']={};eF=Array['isArray'](eF)?eF:Array['of'](eF);for(let eP of eF){if(!eE[eP])eE[eP]=()=>{};const eQ=eE[eP];if(!eE['BDFDBpatch'][eP]){eE['BDFDBpatch'][eP]={};for(let eR of BDFDB['WebModules']['patchtypes'])eE['BDFDBpatch'][eP][eR]={};eE['BDFDBpatch'][eP]['originalMethod']=eQ;eE[eP]=function(){const eS={'thisObject':this,'methodArguments':arguments,'originalMethod':eQ,'originalMethodName':eP,'callOriginalMethod':()=>eS['returnValue']=eS['originalMethod']['apply'](eS['thisObject'],eS['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']){if(!BDFDB['isObjectEmpty'](eE['BDFDBpatch'][eP]['before']))for(let eT in BDFDB['sortObject'](eE['BDFDBpatch'][eP]['before'])){eK(eE['BDFDBpatch'][eP]['before'][eT],'`before`\x20callback\x20of\x20'+eE[eP]['displayName'])(eS);}if(BDFDB['isObjectEmpty'](eE['BDFDBpatch'][eP]['instead']))eS['callOriginalMethod']();else for(let eU in BDFDB['sortObject'](eE['BDFDBpatch'][eP]['instead'])){const eV=eK(eE['BDFDBpatch'][eP]['instead'][eU],'`instead`\x20callback\x20of\x20'+eE[eP]['displayName'])(eS);if(eV!==undefined)eS['returnValue']=eV;}if(!BDFDB['isObjectEmpty'](eE['BDFDBpatch'][eP]['after']))for(let eW in BDFDB['sortObject'](eE['BDFDBpatch'][eP]['after'])){eK(eE['BDFDBpatch'][eP]['after'][eW],'`after`\x20callback\x20of\x20'+eE[eP]['displayName'])(eS);}}else eS['callOriginalMethod']();return eS['returnValue'];};}for(let eX of BDFDB['WebModules']['patchtypes'])if(typeof eH[eX]=='function')eE['BDFDBpatch'][eP][eX][eJ]=eH[eX];}const eY=()=>{BDFDB['WebModules']['unpatch'](eE,eF,eG);};if(eG&&typeof eG=='object'){if(!Array['isArray'](eG['patchCancels']))eG['patchCancels']=[];eG['patchCancels']['push'](eY);}return eY;};BDFDB['WebModules']['unpatch']=function(eZ,f0,f1){if(!eZ||!eZ['BDFDBpatch'])return;const f2=!f1?null:(typeof f1==='string'?f1:f1['name'])['toLowerCase']();f0=Array['isArray'](f0)?f0:Array['of'](f0);for(let f3 of f0){if(eZ[f3]&&eZ['BDFDBpatch'][f3]){for(let f4 of BDFDB['WebModules']['patchtypes']){if(f2)delete eZ['BDFDBpatch'][f3][f4][f2];else delete eZ['BDFDBpatch'][f3][f4];}var f5=!![];for(let f4 of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](eZ['BDFDBpatch'][f3][f4]))f5=![];if(f5){eZ[f3]=eZ['BDFDBpatch'][f3]['originalMethod'];delete eZ['BDFDBpatch'][f3];if(BDFDB['isObjectEmpty'](eZ['BDFDBpatch']))delete eZ['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(f7){if(BDFDB['isObject'](f7)&&Array['isArray'](f7['patchCancels']))for(let f8 of f7['patchCancels'])f8();};BDFDB['WebModules']['forceAllUpdates']=function(f9,fa){fa=fa&&BDFDB['WebModules']['patchmap'][fa]?BDFDB['WebModules']['patchmap'][fa]+'\x20'+fa:fa;if(BDFDB['isObject'](f9)&&BDFDB['isObject'](f9['patchModules'])&&(!fa||f9['patchModules'][fa])){const fb=document['querySelector'](BDFDB['dotCN']['app']);const fc=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fb){var fd=[];for(let fe in f9['patchModules']){var ff=Array['isArray'](f9['patchModules'][fe])?f9['patchModules'][fe]:Array['of'](f9['patchModules'][fe]);if(ff['includes']('componentDidUpdate')||ff['includes']('componentDidMount')||ff['includes']('render'))fd['push'](fe);}fd=fa?fd['filter'](fg=>fg==fa):fd;if(fd['length']>0x0){const fh=BDFDB['getOwnerInstance']({'node':fb,'name':fd,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fe in fh)for(let fj in fh[fe])BDFDB['WebModules']['initiateProcess'](f9,fh[fe][fj],fe,['componentDidUpdate','componentDidMount','render']);if(fc){const fk=BDFDB['getOwnerInstance']({'node':fc,'name':fd,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fe in fk)for(let fj in fk[fe])BDFDB['WebModules']['initiateProcess'](f9,fk[fe][fj],fe,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fn){if(BDFDB['isObject'](fn)&&BDFDB['isObject'](fn['patchModules'])){for(let fo in fn['patchModules']){var fp=BDFDB['WebModules']['patchmap'][fo];if(fp){fn['patchModules'][fp+'\x20'+fo]=fn['patchModules'][fo];delete fn['patchModules'][fo];if(!BDFDB['WebModules']['notfindablemodules'][fp])fs(BDFDB['WebModules']['findByName'](fp),fp+'\x20'+fo);}else if(!BDFDB['WebModules']['notfindablemodules'][fo])fs(BDFDB['WebModules']['findByName'](fo),fo);}for(let fo in BDFDB['WebModules']['notfindablemodules']){var fr=BDFDB['WebModules']['patchmap'][fo]?BDFDB['WebModules']['patchmap'][fo]+'\x20'+fo:fo;if(BDFDB['DiscordClasses'][BDFDB['WebModules']['notfindablemodules'][fo]]&&fn['patchModules'][fr])fz(BDFDB['WebModules']['notfindablemodules'][fo],fr);}function fs(ft,fo){if(ft){var fr=fo['split']('\x20')[0x0];ft=ft['displayName']==fr?ft:BDFDB['getOwnerInstance']({'instance':ft,'name':fr,'up':!![]});if(ft){var fw=ft['_reactInternalFiber']&&ft['_reactInternalFiber']['type']?ft['_reactInternalFiber']['type']:ft;var fx={};fx[fn['name']=='$BDFDB'?'before':'after']=fy=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fn,fy['thisObject'],fo,[fy['originalMethodName']]);};BDFDB['WebModules']['patch'](fw['prototype'],fn['patchModules'][fo],fn,fx);}}}function fz(fA,fo){var fC=BDFDB['getReactInstance'](document['querySelector'](BDFDB['dotCN'][fA]));if(fI(fC,fo))fs(fC,fo);else{var fD=new MutationObserver(fE=>{fE['forEach'](fF=>{fF['addedNodes']['forEach'](fG=>{var fH=null;if(fG['tagName']&&(fH=BDFDB['containsClass'](fG,BDFDB['disCN'][fA])?fG:fG['querySelector'](BDFDB['dotCN'][fA]))!=null){fC=BDFDB['getReactInstance'](fH);if(fI(fC,fo)){fD['disconnect']();fs(fC,fo);BDFDB['WebModules']['forceAllUpdates'](fn,fo);}}});});});BDFDB['addObserver'](fn,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fD,'multi':!![]},{'childList':!![],'subtree':!![]});}}function fI(fJ,fo){return fJ&&(fo!='V2C_PluginCard'&&fo!='V2C_ThemeCard'||fo=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fo=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fL,fM,fN,fO){if(fL&&typeof fL=='object'&&fM){fN=(fN['split']('\x20')[0x1]||fN)['replace'](/[^A-z0-9]|_/g,'');fN=fN[0x0]['toUpperCase']()+fN['slice'](0x1);if(typeof fL['process'+fN]=='function'){var fP=BDFDB['React']['findDOMNodeSafe'](fM);if(fP)fL['process'+fN](fM,fP,fO);else setImmediate(()=>{fP=BDFDB['React']['findDOMNodeSafe'](fM);if(fP)fL['process'+fN](fM,fP,fO);});}}};var fQ=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fR=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fQ&&fR){BDFDB['React']=Object['assign']({},fQ,fR);BDFDB['React']['findDOMNodeSafe']=function(fS){if(!fS||!fS['updater']||typeof fS['updater']['isMounted']!=='function'||!fS['updater']['isMounted'](fS))return null;return fR['findDOMNode'](fS);};};BDFDB['addOnSwitchListener']=function(fT){if(typeof fT['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fT);var fU=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fU){var fV=new MutationObserver(fW=>{fW['forEach'](fX=>{if(fX['target']&&BDFDB['containsClass'](fX['target'],BDFDB['disCN']['nochannel']))fT['onSwitch']();});});var fY=fU['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fY)fV['observe'](fY,{'attributes':!![]});fT['onSwitchFix']=new MutationObserver(fZ=>{fZ['forEach'](g0=>{if(g0['addedNodes']){g0['addedNodes']['forEach'](g1=>{if(BDFDB['containsClass'](g1,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))fV['observe'](g1,{'attributes':!![]});});}});});fT['onSwitchFix']['observe'](fU,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(g2){if(typeof g2['onSwitch']==='function'&&BDFDB['isObject'](g2['onSwitchFix'])){g2['onSwitchFix']['disconnect']();delete g2['onSwitchFix'];}};BDFDB['addContextListener']=function(g3){for(let g4 of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof g3['on'+g4+'Context']==='function'||typeof g3['on'+g4+'ContextMenu']==='function'){var g5=BDFDB['WebModules']['findByName'](g4=='GroupDM'?'FluxContainer(GroupDMContextMenu)':g4+'ContextMenu');if(g5&&g5['prototype'])BDFDB['WebModules']['patch'](g5['prototype'],'componentDidMount',g3,{'after':g6=>{var g7=g4=='GroupDM'?g6['thisObject']['_reactInternalFiber']['child']['child']['stateNode']:BDFDB['React']['findDOMNodeSafe'](g6['thisObject']);if(g7){if(typeof g3['on'+g4+'Context']==='function')g3['on'+g4+'Context'](g6['thisObject'],g7);if(typeof g3['on'+g4+'ContextMenu']==='function')g3['on'+g4+'ContextMenu'](g6['thisObject'],g7);BDFDB['initElements'](g7,g3);BDFDB['updateContextPosition'](g7);}}});}}};BDFDB['addSettingsButtonListener']=function(g8){if(BDFDB['isBDv2']()&&typeof g8['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](g8);BDFDB['appendSettingsButton'](g8);var g9=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(g9){g8['settingsButtonObserver']=new MutationObserver(ga=>{ga['forEach'](gb=>{if(gb['addedNodes']){gb['addedNodes']['forEach'](gc=>{if(gc['tagName']&&BDFDB['containsClass'](gc,'active'))BDFDB['appendSettingsButton'](g8);});}});});g8['settingsButtonObserver']['observe'](g9,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(gd){var ge=document['querySelector']('.bd-card[data-plugin-id='+gd['id']+']');if(ge){var gf=BDFDB['htmlToElement']('');ge['insertBefore'](gf,ge['querySelector']('.bd-button'));gf['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',gf,{'type':'top'});});gf['addEventListener']('click',()=>{var gg=BDFDB['htmlToElement'](''+gd['name']+'\x20Settings
');var gh=gd['getSettingsPanel']();gg['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gh=='string'?BDFDB['htmlToElement'](gh):gh);if(typeof gd['onSettingsClosed']==='function')BDFDB['addChildEventListener'](gg,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{gd['onSettingsClosed']();});BDFDB['appendModal'](gg);});}};BDFDB['removeSettingsButtonListener']=function(gi){if(BDFDB['isBDv2']()&&typeof gi['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gi['id']+']\x20.DevilBro-settingsbutton');gi['settingsButtonObserver']['disconnect']();delete gi['settingsButtonObserver'];}};var gj=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];BDFDB['LanguageStrings']=new Proxy(gj,{'get':function(gk,gl){if(!gk[gl])console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gl+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var gm=typeof gk[gl]=='object'?gk[gl]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gk[gl];if(typeof gm=='string')return gm;else if(Array['isArray'](gm)){var gn='';for(let go of gm){if(typeof go=='string')gn+=BDFDB['encodeToHTML'](go);else if(BDFDB['isObject'](go)&&go['props'])gn+='<'+go['type']+'>'+BDFDB['encodeToHTML'](go['props']['children'][0x0]['toString']())+''+go['type']+'>';}return gn;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gl+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}}});BDFDB['LanguageStringsVars']={};for(let gp in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gp];}catch(gq){let gr=gq['toString']()['split']('for:\x20')[0x1];if(gr&&typeof gr=='string')BDFDB['LanguageStringsVars'][gr]='{{'+gr['toLowerCase']()+'}}';}};BDFDB['equals']=function(gs,gt,gu){var gv=-0x1;if(gu===undefined||typeof gu!=='boolean')gu=![];return gw(gs,gt);function gw(gx,gy){gv++;var gz=!![];if(gv>0x3e8)gz=null;else{if(typeof gx!==typeof gy)gz=![];else if(typeof gx==='undefined')gz=!![];else if(typeof gx==='symbol')gz=!![];else if(typeof gx==='boolean')gz=gx==gy;else if(typeof gx==='string')gz=gx==gy;else if(typeof gx==='number'){if(isNaN(gx)||isNaN(gy))gz=isNaN(gx)==isNaN(gy);else gz=gx==gy;}else if(!gx&&!gy)gz=!![];else if(!gx||!gy)gz=![];else if(typeof gx==='function'||typeof gx==='object'){var gA=Object['getOwnPropertyNames'](gx);var gB=Object['getOwnPropertyNames'](gy);if(gA['length']!==gB['length'])gz=![];else for(let gC=0x0;gz===!![]&&gCgN['length']?gP:gN['length'];};BDFDB['readServerList']=function(){var gQ=[],gR=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gS in gR)if(gR[gS]['props']&&gR[gS]['props']['guild']&&gR[gS]['_reactInternalFiber']['child'])gQ['push'](Object['assign'](new gR[gS]['props']['guild']['constructor'](gR[gS]['props']['guild']),{'div':gR[gS]['_reactInternalFiber']['child']['stateNode'],'instance':gR[gS]}));return gQ;};BDFDB['readUnreadServerList']=function(gT){var gU=[];for(let gV of gT===undefined||!Array['isArray'](gT)?BDFDB['readServerList']():gT){let gW=Node['prototype']['isPrototypeOf'](gV)?gV:gV&&gV['div']?gV['div']:null;if(Node['prototype']['isPrototypeOf'](gW)&&(BDFDB['containsClass'](gW,BDFDB['disCN']['guildunread'])||gW['querySelector'](BDFDB['dotCN']['badge'])))gU['push'](gV);}return gU;};BDFDB['getSelectedServer']=function(){var gX=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gX)return BDFDB['getServerData'](gX['id'])||Object['assign'](new gX['constructor'](gX),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(gY){if(!Node['prototype']['isPrototypeOf'](gY)||!BDFDB['getReactInstance'](gY))return;let gZ=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],gY);if(!gZ)return;var h0=gZ['querySelector']('a');var h1=h0&&h0['href']?h0['href']['split']('/'):null;return h1&&h1['length']>0x3&&!isNaN(parseInt(h1[0x4]))?h1[0x4]['toString']():null;};BDFDB['getServerDiv']=function(h2){if(!h2)return null;if(Node['prototype']['isPrototypeOf'](h2))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h2);else{let h3=typeof h2=='object'?h2['id']:h2;if(h3)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/'+h3+'\x22]'));}return null;};BDFDB['getServerData']=function(h4){if(!h4)return null;let h5=Node['prototype']['isPrototypeOf'](h4)?BDFDB['getServerID'](h4):typeof h4=='object'?h4['id']:h4;h5=typeof h5=='number'?h5['toFixed']():h5;for(let h6 of BDFDB['readServerList']())if(h6&&h6['id']==h5)return h6;return null;};BDFDB['readChannelList']=function(){var h7=[],h8=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let h9 in h8)if(h8[h9]['props']&&h8[h9]['props']['channel']&&h8[h9]['_reactInternalFiber']['return'])h7['push'](Object['assign'](new h8[h9]['props']['channel']['constructor'](h8[h9]['props']['channel']),{'div':Node['prototype']['isPrototypeOf'](h8[h9]['_reactInternalFiber']['return']['stateNode'])?h8[h9]['_reactInternalFiber']['return']['stateNode']:h8[h9]['_reactInternalFiber']['child']['child']['stateNode'],'instance':h8[h9]}));return h7;};BDFDB['getSelectedChannel']=function(){var ha=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(ha)return BDFDB['getChannelData'](ha['id'])||Object['assign'](new ha['constructor'](ha),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(hb){if(!Node['prototype']['isPrototypeOf'](hb)||!BDFDB['getReactInstance'](hb))return;let hc=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],hb);if(!hc)return;var hd=BDFDB['getKeyInformation']({'node':hc,'key':'channel'});return hd?hd['id']['toString']():null;};BDFDB['getChannelDiv']=function(he){if(!he)return null;let hf=BDFDB['getChannelData'](he);return hf?hf['div']:null;};BDFDB['getChannelData']=function(hg){if(!hg)return null;let hh=Node['prototype']['isPrototypeOf'](hg)?BDFDB['getChannelID'](hg):typeof hg=='object'?hg['id']:hg;hh=typeof hh=='number'?hh['toFixed']():hh;for(let hi of BDFDB['readChannelList']())if(hi&&hi['id']==hh)return hi;return null;};BDFDB['readDmList']=function(){var hj=[],hk=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hl in hk)if(hk[hl]['props']&&hk[hl]['props']['channel']&&hk[hl]['_reactInternalFiber']['child'])hj['push'](Object['assign'](new hk[hl]['props']['channel']['constructor'](hk[hl]['props']['channel']),{'div':hk[hl]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hk[hl]}));return hj;};BDFDB['getDmID']=function(hm){if(!Node['prototype']['isPrototypeOf'](div)||!BDFDB['getReactInstance'](div))return;if(!BDFDB['getParentEle'](BDFDB['dotCN']['dms'],div))return;let hn=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],div);if(!hn)return;var ho=hn['querySelector']('a');var hp=ho&&ho['href']?ho['href']['split']('/'):null;return hp&&hp['length']>0x3&&!isNaN(parseInt(hp[0x4]))?hp[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hq){if(!hq)return null;if(Node['prototype']['isPrototypeOf'](hq))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hq);else{let hr=typeof hq=='object'?hq['id']:hq;if(hr)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/@me/'+hr+'\x22]'));}return null;};BDFDB['getDmData']=function(hs){if(!hs)return null;let ht=Node['prototype']['isPrototypeOf'](hs)?BDFDB['getChannelID'](hs):typeof hs=='object'?hs['id']:hs;ht=typeof ht=='number'?ht['toFixed']():ht;for(let hu of BDFDB['readDmList']())if(hu&&hu['id']==ht)return hu;return null;};BDFDB['saveAllData']=function(hv,hw,hx){var hy=require('fs'),hz,hA;if(!BDFDB['isBDv2']()){hA=typeof hw==='string'?hw:hw['name'];hz=require('path')['join'](BDFDB['getPluginsFolder'](),hA+'.config.json');}else{hA=typeof hw==='string'?hw['toLowerCase']():null;var hB=hA?BDFDB['Plugins'][hA]?BDFDB['Plugins'][hA]['contentPath']:null:hw['contentPath'];if(!hB)return;hz=require('path')['join'](hB,'settings.json');}var hC=hy['existsSync'](hz);var hD=!hC?{}:typeof BDFDB['cachedData'][hA]!=='undefined'?BDFDB['cachedData'][hA]:BDFDB['readConfig'](hz);hD[hx]=hv;if(BDFDB['isObjectEmpty'](hD[hx]))delete hD[hx];if(BDFDB['isObjectEmpty'](hD)){delete BDFDB['cachedData'][hA];if(hC)hy['unlinkSync'](hz);}else{BDFDB['cachedData'][hA]=hD;hy['writeFileSync'](hz,JSON['stringify'](hD,null,'\x09'));}};BDFDB['loadAllData']=function(hE,hF){var hG=require('fs'),hH,hI;if(!BDFDB['isBDv2']()){hI=typeof hE==='string'?hE:hE['name'];hH=require('path')['join'](BDFDB['getPluginsFolder'](),hI+'.config.json');}else{hI=typeof hE==='string'?hE['toLowerCase']():null;var hJ=hI?BDFDB['Plugins'][hI]?BDFDB['Plugins'][hI]['contentPath']:null:hE['contentPath'];if(!hJ)return{};hH=require('path')['join'](hJ,'settings.json');}if(!hG['existsSync'](hH)){delete BDFDB['cachedData'][hI];return{};}var hK=typeof BDFDB['cachedData'][hI]!=='undefined'?BDFDB['cachedData'][hI]:BDFDB['readConfig'](hH);BDFDB['cachedData'][hI]=hK;return hK&&typeof hK[hF]!=='undefined'?hK[hF]:{};};BDFDB['removeAllData']=function(hL,hM){var hN=require('fs'),hO,hP;if(!BDFDB['isBDv2']()){hP=typeof hL==='string'?hL:hL['name'];hO=require('path')['join'](BDFDB['getPluginsFolder'](),hP+'.config.json');}else{hP=typeof hL==='string'?hL['toLowerCase']():null;var hQ=hP?BDFDB['Plugins'][hP]?BDFDB['Plugins'][hP]['contentPath']:null:hL['contentPath'];if(!hQ)return;hO=require('path')['join'](hQ,'settings.json');}var hR=hN['existsSync'](hO);var hS=!hR?{}:typeof BDFDB['cachedData'][hP]!=='undefined'?BDFDB['cachedData'][hP]:BDFDB['readConfig'](hO);delete hS[hM];if(BDFDB['isObjectEmpty'](hS)){delete BDFDB['cachedData'][hP];if(hR)hN['unlinkSync'](hO);}else{BDFDB['cachedData'][hP]=hS;hN['writeFileSync'](hO,JSON['stringify'](hS,null,'\x09'));}};BDFDB['getAllData']=function(hT,hU){if(!BDFDB['isObject'](hT)||!hT['defaults']||!hT['defaults'][hU])return{};var hV=BDFDB['loadAllData'](hT,hU),hW={},hX=![];for(let hY in hT['defaults'][hU]){if(hV[hY]==null){hW[hY]=hT['defaults'][hU][hY]['value'];hX=!![];}else hW[hY]=hV[hY];}if(hX)BDFDB['saveAllData'](hW,hT,hU);return hW;};BDFDB['readConfig']=function(hZ){try{return JSON['parse'](require('fs')['readFileSync'](hZ));}catch(i0){return{};}};BDFDB['saveData']=function(i1,i2,i3,i4){var i5=BDFDB['loadAllData'](i3,i4);i5[i1]=i2;BDFDB['saveAllData'](i5,i3,i4);};BDFDB['loadData']=function(i6,i7,i8){var i9=BDFDB['loadAllData'](i7,i8);var ia=i9[i6];return ia===undefined?null:ia;};BDFDB['removeData']=function(ib,ic,id){var ie=BDFDB['loadAllData'](ic,id);delete ie[ib];BDFDB['saveAllData'](ie,ic,id);};BDFDB['getData']=function(ig,ih,ii){var ij=BDFDB['getAllData'](ih,ii);var ik=ij[ig];return ik===undefined?null:ik;};BDFDB['appendWebScript']=function(il,im){if(!im&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));im=im||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];im=Node['prototype']['isPrototypeOf'](im)?im:document['head'];BDFDB['removeWebScript'](il,im);im['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(io,ip){ip=ip||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];ip=Node['prototype']['isPrototypeOf'](ip)?ip:document['head'];BDFDB['removeEles'](ip['querySelectorAll']('script[src=\x22'+io+'\x22]'));};BDFDB['appendWebStyle']=function(iq,ir){if(!ir&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));ir=ir||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];ir=Node['prototype']['isPrototypeOf'](ir)?ir:document['head'];BDFDB['removeWebStyle'](iq,ir);ir['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(is,it){it=it||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];it=Node['prototype']['isPrototypeOf'](it)?it:document['head'];BDFDB['removeEles'](it['querySelectorAll']('link[href=\x22'+is+'\x22]'));};BDFDB['appendLocalStyle']=function(iu,iv,iw){if(!iw&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iw=iw||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iw=Node['prototype']['isPrototypeOf'](iw)?iw:document['head'];BDFDB['removeLocalStyle'](iu,iw);iw['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(ix,iy){iy=iy||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iy=Node['prototype']['isPrototypeOf'](iy)?iy:document['head'];BDFDB['removeEles'](iy['querySelectorAll']('style[id=\x22'+ix+'CSS\x22]'));};BDFDB['formatBytes']=function(iz,iA){iz=parseInt(iz);if(isNaN(iz)||iz<0x0)return'0\x20Bytes';if(iz==0x1)return'1\x20Byte';var iB=Math['floor'](Math['log'](iz)/Math['log'](0x400));return parseFloat((iz/Math['pow'](0x400,iB))['toFixed'](iA<0x1?0x0:iA>0x14?0x14:iA||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][iB];};BDFDB['colorCONVERT']=function(iC,iD,iE){if(!iC)return null;iD=iD===undefined||!iD?iD='RGBCOMP':iD['toUpperCase']();iE=iE===undefined||!iE||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iE['toUpperCase']())?BDFDB['colorTYPE'](iC):iE['toUpperCase']();if(iD=='RGBCOMP'){switch(iE){case'RGBCOMP':if(iC['length']==0x3)return je(iC);else if(iC['length']==0x4){var iF=jh(iC['pop']());return je(iC)['concat'](iF);}case'RGB':return je(iC['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var iG=iC['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iF=jh(iG['pop']());return je(iG)['concat'](iF);case'HSLCOMP':if(iC['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iC['join'](',')+')','RGBCOMP');else if(iC['length']==0x4){var iF=jh(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](iF);}case'HSL':var iJ=jl(iC['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var iK,iL,iM,iN,iO,iP,iQ,iR;var iS=iJ[0x0]/0x168,iT=parseInt(iJ[0x1])/0x64,iU=parseInt(iJ[0x2])/0x64;iN=Math['floor'](iS*0x6);iO=iS*0x6-iN;iP=iU*(0x1-iT);iQ=iU*(0x1-iO*iT);iR=iU*(0x1-(0x1-iO)*iT);switch(iN%0x6){case 0x0:iK=iU,iL=iR,iM=iP;break;case 0x1:iK=iQ,iL=iU,iM=iP;break;case 0x2:iK=iP,iL=iU,iM=iR;break;case 0x3:iK=iP,iL=iQ,iM=iU;break;case 0x4:iK=iR,iL=iP,iM=iU;break;case 0x5:iK=iU,iL=iP,iM=iQ;break;}return[Math['round'](iK*0xff),Math['round'](iL*0xff),Math['round'](iM*0xff)];case'HSLA':var iJ=iC['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iF=jh(iJ['pop']());return BDFDB['colorCONVERT']('hsl('+iJ['join'](',')+')','RGBCOMP')['concat'](iF);case'HEX':var iX=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](iC);return[parseInt(iX[0x1]+iX[0x1]||iX[0x4],0x10)['toString'](),parseInt(iX[0x2]+iX[0x2]||iX[0x5],0x10)['toString'](),parseInt(iX[0x3]+iX[0x3]||iX[0x6],0x10)['toString']()];default:return null;}}else{var iY=iE=='RGBCOMP'?iC:BDFDB['colorCONVERT'](iC,'RGBCOMP',iE);if(iY)switch(iD){case'RGB':return'rgb('+je(iY['slice'](0x0,0x3))['join'](',')+')';case'RGBA':iY=iY['slice'](0x0,0x4);var iF=iY['length']==0x4?jh(iY['pop']()):0x1;return'rgba('+je(iY)['concat'](iF)['join'](',')+')';case'HSLCOMP':var iF=iY['length']==0x4?jh(iY['pop']()):null;var iJ=jl(BDFDB['colorCONVERT'](iY,'HSL')['replace'](/\s/g,'')['split'](','));return iF?iJ['concat'](iF):iJ;case'HSL':var iK=jc(iY[0x0]),iL=jc(iY[0x1]),iM=jc(iY[0x2]);var j5=Math['max'](iK,iL,iM),j6=Math['min'](iK,iL,iM),j7=j5-j6,iS,iT=j5===0x0?0x0:j7/j5,iU=j5/0xff;switch(j5){case j6:iS=0x0;break;case iK:iS=iL-iM+j7*(iL0xff?0xff:iO<0x0?0x0:iO;};function je(iG){return iG['map'](iO=>{return jc(iO);});};function jh(iF){iF=iF['toString']();iF=(iF['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iF['replace'](/[^0-9\.\-]/g,''));return isNaN(iF)||iF>0x1?0x1:iF<0x0?0x0:iF;};function jj(jk){jk=parseFloat(jk['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(jk)||jk>0x64?0x64:jk<0x0?0x0:jk)+'%';};function jl(iG){let iS=parseFloat(iG['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));iS=isNaN(iS)||iS>0x168?0x168:iS<0x0?0x0:iS;return[iS]['concat'](iG['map'](jo=>{return jj(jo);}));};};BDFDB['colorSETALPHA']=function(jp,jq,jr){var js=BDFDB['colorCONVERT'](jp,'RGBCOMP');if(js){jq=jq['toString']();jq=(jq['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jq['replace'](/[^0-9\.\-]/g,''));jq=isNaN(jq)||jq>0x1?0x1:jq<0x0?0x0:jq;js[0x3]=jq;jr=(jr||BDFDB['colorTYPE'](jK))['toUpperCase']();jr=jr=='HSL'||jr=='RGB'?jr+'A':jr;return BDFDB['colorCONVERT'](js,jr);}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(jA,jB){if(jA&&jB){jA=BDFDB['colorCONVERT'](jA,'RGBCOMP');jB=BDFDB['colorCONVERT'](jB,'RGBCOMP');if(jA&&jB)return BDFDB['equals'](jA,jB);}return null;};BDFDB['colorISBRIGHT']=function(jC,jD=0xa0){jC=BDFDB['colorCONVERT'](jC,'RGBCOMP');if(!jC)return![];return parseInt(jD)