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