diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 6d4016b1fa..251b6840b9 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={'myPlugins':BDFDB&&BDFDB['myPlugins']?BDFDB['myPlugins']:{},'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']=!![];for(let f in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][f]['started']&&typeof BDFDB['myPlugins'][f]['initialize']=='function')BDFDB['myPlugins'][f]['initialize']();};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']();delete BDFDB['myPlugins'][g['name']];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://mwittrien.github.io/BetterDiscordAddons/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){if(BDFDB['isBDv2']())return;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','0UTM3UDM5UDM0cTNzQTN4cjM','xkzNxkjN0QTO5ADNxkzN2MjM']['includes'](btoa(BDFDB['myData']['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var u=require('fs');var v=require('path');u['unlink'](v['join'](BDFDB['getPluginsFolder'](),r['name']+'.plugin.js'),w=>{});u['unlink'](v['join'](BDFDB['getPluginsFolder'](),r['name']+'.config.json'),x=>{});pluginCookie[r['name']]=![];delete bdplugins[r['name']];pluginModule['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(s>0x1770)clearInterval(t);s++;},0x64);};BDFDB['checkChangeLog']=function(y){if(!BDFDB['isObject'](y)||!y['changelog'])return;var z=BDFDB['loadAllData'](y,'changelog');if(!z['currentversion']||BDFDB['checkVersions'](y['version'],z['currentversion'])){z['currentversion']=y['version'];var A='';var B={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let C in y['changelog']){C=C['toLowerCase']();var D=BDFDB['disCN']['changelog'+C];if(D){A+='
'+B[C]+'
';for(let E of y['changelog'][C])A+='- '+E[0x0]+''+(E[0x1]?':\x20'+E[0x1]+'.':'')+'
';A+='
';}}if(A)BDFDB['removeEles'](BDFDB['openConfirmModal'](y,A,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](z,y,'changelog');}};BDFDB['addObserver']=function(F,G,H,I={'childList':!![]}){if(!BDFDB['isObject'](F)||!G||!H)return;if(BDFDB['isObjectEmpty'](F['observers']))F['observers']={};if(!Array['isArray'](F['observers'][H['name']]))F['observers'][H['name']]=[];if(!H['multi'])for(let J of F['observers'][H['name']])J['disconnect']();if(H['instance'])F['observers'][H['name']]['push'](H['instance']);var K=F['observers'][H['name']][F['observers'][H['name']]['length']-0x1];if(K){var L=Node['prototype']['isPrototypeOf'](G)?G:typeof G==='string'?document['querySelector'](G):null;if(L)K['observe'](L,I);}};BDFDB['addChildEventListener']=function(M,N,O,P){if(!Node['prototype']['isPrototypeOf'](M)||!N||!O||!O['trim']()||typeof P!='function')return;for(var Q of N['trim']()['split']('\x20'))if(Q){var R=P;if(Q=='mouseenter'||Q=='mouseleave')R=S=>{if(S['target']['matches'](O))P(S);};M['querySelectorAll'](O['trim']())['forEach'](T=>{T['addEventListener'](Q,R,!![]);});}};BDFDB['addEventListener']=function(U,V,W,X,Y){if(!BDFDB['isObject'](U)||!Node['prototype']['isPrototypeOf'](V)||!W)return;var Z=typeof X=='function';var a0=Z?undefined:X;var a1=Z?X:Y;if(typeof a1!='function')return;BDFDB['removeEventListener'](U,V,W,a0);for(var a2 of W['split']('\x20')){a2=a2['split']('.');var a3=a2['shift']()['toLowerCase']();if(!a3)return;var a4=a3;a3=a3=='mouseenter'||a3=='mouseleave'?'mouseover':a3;var a5=(a2['join']('.')||'')+U['name'];if(!Array['isArray'](U['listeners']))U['listeners']=[];var a6=null;if(a0){if(a4=='mouseenter'||a4=='mouseleave'){a6=a7=>{for(let a8 of a7['path'])if(typeof a8['matches']=='function'&&a8['matches'](a0)&&!a8[a5+'BDFDB'+a4]){a8[a5+'BDFDB'+a4]=!![];if(a4=='mouseenter')a1(BDFDB['copyEvent'](a7,a8));let a9=aa=>{if(aa['target']['contains'](a8)||aa['target']==a8||!a8['contains'](aa['target'])){if(a4=='mouseleave')a1(BDFDB['copyEvent'](a7,a8));delete a8[a5+'BDFDB'+a4];document['removeEventListener']('mouseout',a9);}};document['addEventListener']('mouseout',a9);break;}};}else{a6=ab=>{for(let ac of ab['path'])if(typeof ac['matches']=='function'&&ac['matches'](a0)){a1(BDFDB['copyEvent'](ab,ac));break;}};}}else a6=ad=>{a1(BDFDB['copyEvent'](ad,V));};U['listeners']['push']({'ele':V,'eventname':a3,'origeventname':a4,'namespace':a5,'selector':a0,'eventcallback':a6});V['addEventListener'](a3,a6,!![]);}};BDFDB['copyEvent']=function(ae,af){var ag=new ae['constructor'](ae['type'],ae);Object['defineProperty'](ag,'originalEvent',{'value':ae});Object['defineProperty'](ag,'which',{'value':ae['which']});Object['defineProperty'](ag,'keyCode',{'value':ae['keyCode']});Object['defineProperty'](ag,'path',{'value':ae['path']});Object['defineProperty'](ag,'relatedTarget',{'value':ae['relatedTarget']});Object['defineProperty'](ag,'srcElement',{'value':ae['srcElement']});Object['defineProperty'](ag,'target',{'value':ae['target']});Object['defineProperty'](ag,'toElement',{'value':ae['toElement']});if(af)Object['defineProperty'](ag,'currentTarget',{'value':af});return ag;};BDFDB['stopEvent']=function(ah){if(BDFDB['isObject'](ah)){if(typeof ah['preventDefault']=='function')ah['preventDefault']();if(typeof ah['stopPropagation']=='function')ah['stopPropagation']();if(typeof ah['stopImmediatePropagation']=='function')ah['stopImmediatePropagation']();if(BDFDB['isObject'](ah['originalEvent'])){if(typeof ah['originalEvent']['preventDefault']=='function')ah['originalEvent']['preventDefault']();if(typeof ah['originalEvent']['stopPropagation']=='function')ah['originalEvent']['stopPropagation']();if(typeof ah['originalEvent']['stopImmediatePropagation']=='function')ah['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(ai,aj,ak='',al){if(!BDFDB['isObject'](ai)||!Array['isArray'](ai['listeners']))return;if(Node['prototype']['isPrototypeOf'](aj)){for(var am of ak['split']('\x20')){am=am['split']('.');var an=am['shift']()['toLowerCase']();var ao=(am['join']('.')||'')+ai['name'];for(let ap of ai['listeners']){let aq=[];if(ap['ele']==aj&&(!an||ap['origeventname']==an)&&ap['namespace']==ao&&(al===undefined||ap['selector']==al)){aj['removeEventListener'](ap['eventname'],ap['eventcallback'],!![]);aq['push'](ap);}if(aq['length'])ai['listeners']=ai['listeners']['filter'](ap=>{return aq['indexOf'](ap)<0x0;});}}}else if(!aj){for(let as of ai['listeners'])as['ele']['removeEventListener'](as['eventname'],as['eventcallback'],!![]);ai['listeners']=[];}};BDFDB['checkUpdate']=function(at,au){if(BDFDB['isBDv2']())return;require('request')(au,(av,aw,ax)=>{if(av)return;var ay=ax['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!ay)return;if(BDFDB['checkVersions'](ay[0x0],window['PluginUpdates']['plugins'][au]['version']))BDFDB['showUpdateNotice'](at,au);else BDFDB['removeUpdateNotice'](at);});};BDFDB['checkVersions']=function(az,aA){if(!az||!aA)return!![];az=az['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aB=>parseInt(aB))['filter'](aC=>(aC||aC==0x0)&&!isNaN(aC));aA=aA['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aD=>parseInt(aD))['filter'](aE=>(aE||aE==0x0)&&!isNaN(aE));var aF=Math['max'](az['length'],aA['length']);if(!aF)return!![];if(az['length']>aA['length']){var aG=new Array(az['length']-aA['length']);for(let aH=0x0;aHaA[aM])return!![];}return![];};BDFDB['showUpdateNotice']=function(aN,aO){var aP=document['querySelector']('#pluginNotice');if(!aP){aP=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});aP['style']['setProperty']('display','block','important');aP['style']['setProperty']('visibility','visible','important');aP['style']['setProperty']('opacity','1','important');var aQ=aP['querySelector'](BDFDB['dotCN']['noticebutton']);if(aQ){BDFDB['toggleEles'](aQ,!![]);aQ['addEventListener']('click',()=>{window['location']['reload'](![]);});aQ['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),aQ,{'type':'bottom','selector':'update-notice-tooltip'});});}}if(aP){var aR=aP['querySelector']('#outdatedPlugins');if(aR&&!aR['querySelector']('#'+aN+'-notice')){if(aR['querySelector']('span'))aR['appendChild'](BDFDB['htmlToElement'](',\x20'));var aS=BDFDB['htmlToElement'](''+aN+'');aS['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aN,aO,aP);});aR['appendChild'](aS);}}};BDFDB['downloadPlugin']=function(aT,aU,aV){require('request')(aU,(aW,aX,aY)=>{if(aW)return console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Unable\x20to\x20get\x20update\x20for\x20'+aT);BDFDB['creationTime']=0x0;var aZ=aY['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);aZ=aZ['toString']()['replace'](/['"]/g,'');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),bdplugins[aT]?bdplugins[aT]['filename']:aU['split']('/')['slice'](-0x1)[0x0]),aY);BDFDB['showToast'](aT+'\x20v'+window['PluginUpdates']['plugins'][aU]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aT+'\x20v'+aZ+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});if(aV['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][aU]['version']=aZ;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](aT))window['PluginUpdates']['downloaded']['push'](aT);}BDFDB['removeUpdateNotice'](aT,aV);});};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 cR;if(!cT)cR['splice'](cR['indexOf'](cS),0x1);else while(cR['indexOf'](cS)>-0x1)cR['splice'](cR['indexOf'](cS),0x1);return cR;};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']('app.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']={'BannedCard':'BannedUser','EmojiPicker':'FluxContainer(EmojiPicker)','InviteCard':'InviteRow','Guild':'DropTarget(DragSource(FluxContainer(Guild)))','PopoutContainer':'Popout','MemberCard':'Member','TypingUsers':'FluxContainer(TypingUsers)'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','UserPopout':'userpopout','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'][fo])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(fJ(fC,fo))fs(fC,fo);else{var fD=![],fE=new MutationObserver(fF=>{fF['forEach'](fG=>{fG['addedNodes']['forEach'](fH=>{var fI=null;if(!fD&&fH['tagName']&&(fI=BDFDB['containsClass'](fH,BDFDB['disCN'][fA])?fH:fH['querySelector'](BDFDB['dotCN'][fA]))!=null){fC=BDFDB['getReactInstance'](fI);if(fJ(fC,fo)){fD=!![];fE['disconnect']();fs(fC,fo);BDFDB['WebModules']['forceAllUpdates'](fn,fo);}}});});});BDFDB['addObserver'](fn,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fE,'multi':!![]},{'childList':!![],'subtree':!![]});}}function fJ(fK,fo){return fK&&(fo!='V2C_PluginCard'&&fo!='V2C_ThemeCard'||fo=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fo=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fM,fN,fO,fP){if(fM&&typeof fM=='object'&&fN){fO=(fO['split']('\x20')[0x1]||fO)['replace'](/[^A-z0-9]|_/g,'');fO=fO[0x0]['toUpperCase']()+fO['slice'](0x1);if(typeof fM['process'+fO]=='function'){var fQ=BDFDB['React']['findDOMNodeSafe'](fN);if(fQ)fM['process'+fO](fN,fQ,fP);else setImmediate(()=>{fQ=BDFDB['React']['findDOMNodeSafe'](fN);if(fQ)fM['process'+fO](fN,fQ,fP);});}}};var fR=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fS=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fR&&fS){BDFDB['React']=Object['assign']({},fR,fS);BDFDB['React']['findDOMNodeSafe']=function(fT){if(!fT||!fT['updater']||typeof fT['updater']['isMounted']!=='function'||!fT['updater']['isMounted'](fT))return null;return fS['findDOMNode'](fT);};};BDFDB['addOnSwitchListener']=function(fU){if(typeof fU['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](fU);var fV=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(fV){var fW=new MutationObserver(fX=>{fX['forEach'](fY=>{if(fY['target']&&BDFDB['containsClass'](fY['target'],BDFDB['disCN']['nochannel']))fU['onSwitch']();});});var fZ=fV['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(fZ)fW['observe'](fZ,{'attributes':!![]});fU['onSwitchFix']=new MutationObserver(g0=>{g0['forEach'](g1=>{if(g1['addedNodes']){g1['addedNodes']['forEach'](g2=>{if(BDFDB['containsClass'](g2,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))fW['observe'](g2,{'attributes':!![]});});}});});fU['onSwitchFix']['observe'](fV,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(g3){if(typeof g3['onSwitch']==='function'&&BDFDB['isObject'](g3['onSwitchFix'])){g3['onSwitchFix']['disconnect']();delete g3['onSwitchFix'];}};BDFDB['addContextListener']=function(g4){for(let g5 of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof g4['on'+g5+'Context']==='function'||typeof g4['on'+g5+'ContextMenu']==='function'){var g6=BDFDB['WebModules']['findByName'](g5=='GroupDM'?'FluxContainer(GroupDMContextMenu)':g5+'ContextMenu');if(g6&&g6['prototype'])BDFDB['WebModules']['patch'](g6['prototype'],'componentDidMount',g4,{'after':g7=>{var g8=g5=='GroupDM'?g7['thisObject']['_reactInternalFiber']['child']['child']['stateNode']:BDFDB['React']['findDOMNodeSafe'](g7['thisObject']);if(g8){if(typeof g4['on'+g5+'Context']==='function')g4['on'+g5+'Context'](g7['thisObject'],g8);if(typeof g4['on'+g5+'ContextMenu']==='function')g4['on'+g5+'ContextMenu'](g7['thisObject'],g8);BDFDB['initElements'](g8,g4);BDFDB['updateContextPosition'](g8);}}});}}};BDFDB['addSettingsButtonListener']=function(g9){if(BDFDB['isBDv2']()&&typeof g9['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](g9);BDFDB['appendSettingsButton'](g9);var ga=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(ga){g9['settingsButtonObserver']=new MutationObserver(gb=>{gb['forEach'](gc=>{if(gc['addedNodes']){gc['addedNodes']['forEach'](gd=>{if(gd['tagName']&&BDFDB['containsClass'](gd,'active'))BDFDB['appendSettingsButton'](g9);});}});});g9['settingsButtonObserver']['observe'](ga,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(ge){var gf=document['querySelector'](BDFDB['dotCN']['_bdv2Card']+'[data-plugin-id='+ge['id']+']');if(gf){var gg=BDFDB['htmlToElement']('');gf['insertBefore'](gg,gf['querySelector'](BDFDB['d']['_bdv2Button']));gg['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',gg,{'type':'top'});BDFDB['addClass'](gg,BDFDB['disCN']['_bdv2TooltipOpen']);});gg['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](gg,BDFDB['disCN']['_bdv2TooltipOpen']);});gg['addEventListener']('click',()=>{var gh=BDFDB['htmlToElement'](''+ge['name']+'\x20Settings
');var gi=ge['getSettingsPanel']();gh['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gi=='string'?BDFDB['htmlToElement'](gi):gi);if(typeof ge['onSettingsClosed']==='function')BDFDB['addChildEventListener'](gh,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{ge['onSettingsClosed']();});BDFDB['appendModal'](gh);});}};BDFDB['removeSettingsButtonListener']=function(gj){if(BDFDB['isBDv2']()&&typeof gj['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gj['id']+']\x20.DevilBro-settingsbutton');gj['settingsButtonObserver']['disconnect']();delete gj['settingsButtonObserver'];}};var gk=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];BDFDB['LanguageStrings']=new Proxy(gk,{'get':function(gl,gm){if(!gl[gm])console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gm+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var gn=typeof gl[gm]=='object'?gl[gm]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gl[gm];if(typeof gn=='string')return gn;else if(Array['isArray'](gn)){var go='';for(let gp of gn){if(typeof gp=='string')go+=BDFDB['encodeToHTML'](gp);else if(BDFDB['isObject'](gp)&&gp['props'])go+='<'+gp['type']+'>'+BDFDB['encodeToHTML'](gp['props']['children'][0x0]['toString']())+''+gp['type']+'>';}return go;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gm+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}}});BDFDB['LanguageStringsVars']={};for(let gq in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gq];}catch(gr){let gs=gr['toString']()['split']('for:\x20')[0x1];if(gs&&typeof gs=='string')BDFDB['LanguageStringsVars'][gs]='{{'+gs['toLowerCase']()+'}}';}};BDFDB['equals']=function(gt,gu,gv){var gw=-0x1;if(gv===undefined||typeof gv!=='boolean')gv=![];return gx(gt,gu);function gx(gy,gz){gw++;var gA=!![];if(gw>0x3e8)gA=null;else{if(typeof gy!==typeof gz)gA=![];else if(typeof gy==='undefined')gA=!![];else if(typeof gy==='symbol')gA=!![];else if(typeof gy==='boolean')gA=gy==gz;else if(typeof gy==='string')gA=gy==gz;else if(typeof gy==='number'){if(isNaN(gy)||isNaN(gz))gA=isNaN(gy)==isNaN(gz);else gA=gy==gz;}else if(!gy&&!gz)gA=!![];else if(!gy||!gz)gA=![];else if(typeof gy==='function'||typeof gy==='object'){var gB=Object['getOwnPropertyNames'](gy);var gC=Object['getOwnPropertyNames'](gz);if(gB['length']!==gC['length'])gA=![];else for(let gD=0x0;gA===!![]&&gDgP['length']?gR:gP['length'];};BDFDB['readServerList']=function(){var gS=[],gT=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gU in gT)if(gT[gU]['props']&&gT[gU]['props']['guild']&&gT[gU]['_reactInternalFiber']['child'])gS['push'](Object['assign'](new gT[gU]['props']['guild']['constructor'](gT[gU]['props']['guild']),{'div':gT[gU]['_reactInternalFiber']['child']['stateNode'],'instance':gT[gU]}));return gS;};BDFDB['readUnreadServerList']=function(gV){var gW=[];for(let gX of gV===undefined||!Array['isArray'](gV)?BDFDB['readServerList']():gV){let gY=Node['prototype']['isPrototypeOf'](gX)?gX:gX&&gX['div']?gX['div']:null;if(Node['prototype']['isPrototypeOf'](gY)&&(BDFDB['containsClass'](gY,BDFDB['disCN']['guildunread'])||gY['querySelector'](BDFDB['dotCN']['badge'])))gW['push'](gX);}return gW;};BDFDB['getSelectedServer']=function(){var gZ=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(gZ)return BDFDB['getServerData'](gZ['id'])||Object['assign'](new gZ['constructor'](gZ),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(h0){if(!Node['prototype']['isPrototypeOf'](h0)||!BDFDB['getReactInstance'](h0))return;let h1=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h0);if(!h1)return;var h2=h1['querySelector']('a');var h3=h2&&h2['href']?h2['href']['split']('/'):null;return h3&&h3['length']>0x3&&!isNaN(parseInt(h3[0x4]))?h3[0x4]['toString']():null;};BDFDB['getServerDiv']=function(h4){if(!h4)return null;if(Node['prototype']['isPrototypeOf'](h4))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],h4);else{let h5=typeof h4=='object'?h4['id']:h4;if(h5)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/'+h5+'\x22]'));}return null;};BDFDB['getServerData']=function(h6){if(!h6)return null;let h7=Node['prototype']['isPrototypeOf'](h6)?BDFDB['getServerID'](h6):typeof h6=='object'?h6['id']:h6;h7=typeof h7=='number'?h7['toFixed']():h7;for(let h8 of BDFDB['readServerList']())if(h8&&h8['id']==h7)return h8;return null;};BDFDB['readChannelList']=function(){var h9=[],ha=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hb in ha)if(ha[hb]['props']&&!ha[hb]['props']['ispin']&&ha[hb]['props']['channel']&&ha[hb]['_reactInternalFiber']['return'])h9['push'](Object['assign'](new ha[hb]['props']['channel']['constructor'](ha[hb]['props']['channel']),{'div':Node['prototype']['isPrototypeOf'](ha[hb]['_reactInternalFiber']['return']['stateNode'])?ha[hb]['_reactInternalFiber']['return']['stateNode']:ha[hb]['_reactInternalFiber']['child']['child']['stateNode'],'instance':ha[hb]}));return h9;};BDFDB['getSelectedChannel']=function(){var hc=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(hc)return BDFDB['getChannelData'](hc['id'])||Object['assign'](new hc['constructor'](hc),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(hd){if(!Node['prototype']['isPrototypeOf'](hd)||!BDFDB['getReactInstance'](hd))return;hd=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],hd);if(!hd)return;var he=BDFDB['getKeyInformation']({'node':hd,'key':'channel'});return he?he['id']['toString']():null;};BDFDB['getChannelDiv']=function(hf){if(!hf)return null;let hg=BDFDB['getChannelData'](hf);return hg?hg['div']:null;};BDFDB['getChannelData']=function(hh){if(!hh)return null;let hi=Node['prototype']['isPrototypeOf'](hh)?BDFDB['getChannelID'](hh):typeof hh=='object'?hh['id']:hh;hi=typeof hi=='number'?hi['toFixed']():hi;for(let hj of BDFDB['readChannelList']())if(hj&&hj['id']==hi)return hj;return null;};BDFDB['readDmList']=function(){var hk=[],hl=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hm in hl)if(hl[hm]['props']&&hl[hm]['props']['channel']&&hl[hm]['_reactInternalFiber']['child'])hk['push'](Object['assign'](new hl[hm]['props']['channel']['constructor'](hl[hm]['props']['channel']),{'div':hl[hm]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hl[hm]}));return hk;};BDFDB['getDmID']=function(hn){if(!Node['prototype']['isPrototypeOf'](hn)||!BDFDB['getReactInstance'](hn))return;if(!BDFDB['getParentEle'](BDFDB['dotCN']['dms'],hn))return;let ho=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hn);if(!ho)return;var hp=ho['querySelector']('a');var hq=hp&&hp['href']?hp['href']['split']('/'):null;return hq&&hq['length']>0x3&&!isNaN(parseInt(hq[0x4]))?hq[0x4]['toString']():null;};BDFDB['getDmDiv']=function(hr){if(!hr)return null;if(Node['prototype']['isPrototypeOf'](hr))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hr);else{let hs=typeof hr=='object'?hr['id']:hr;if(hs)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['dms']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/@me/'+hs+'\x22]'));}return null;};BDFDB['getDmData']=function(ht){if(!ht)return null;let hu=Node['prototype']['isPrototypeOf'](ht)?BDFDB['getChannelID'](ht):typeof ht=='object'?ht['id']:ht;hu=typeof hu=='number'?hu['toFixed']():hu;for(let hv of BDFDB['readDmList']())if(hv&&hv['id']==hu)return hv;return null;};BDFDB['clearReadNotifications']=function(hw){if(!hw)return;var hx=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!hx)return;for(let hy of Array['isArray'](hw)?hw:typeof hw=='string'||typeof hw=='number'?Array['of'](hw):Array['from'](hw)){let hz=Node['prototype']['isPrototypeOf'](hy)?BDFDB['getServerID'](hy):hy&&typeof hy=='object'?hy['id']:hy;if(hz)hx['markGuildAsRead'](hz);}};BDFDB['markChannelAsRead']=function(hA){if(!hA)return;var hB=BDFDB['WebModules']['findByProperties']('getOldestUnreadMessageId');var hC=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');var hD=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes','StatusTypes');if(!hB||!hC||!hD)return;for(let hE of Array['isArray'](hA)?hA:typeof hA=='string'||typeof hA=='number'?Array['of'](hA):Array['from'](hA)){let hF=Node['prototype']['isPrototypeOf'](hE)?BDFDB['getChannelID'](hE)||BDFDB['getDmID'](hE):hE&&typeof hE=='object'?hE['id']:hE;if(hF){let hG=hB['getOldestUnreadMessageId'](hF);if(hG)hC['post']({'body':{},'url':hD['Endpoints']['MESSAGES_ACK'](hF,hG)});}}};BDFDB['markGuildAsRead']=function(hH){if(!hH)return;var hI=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!hI)return;for(let hJ of Array['isArray'](hH)?hH:typeof hH=='string'||typeof hH=='number'?Array['of'](hH):Array['from'](hH)){let hK=Node['prototype']['isPrototypeOf'](hJ)?BDFDB['getServerID'](hJ):hJ&&typeof hJ=='object'?hJ['id']:hJ;if(hK)hI['markGuildAsRead'](hK);}};BDFDB['saveAllData']=function(hL,hM,hN){var hO=require('fs'),hP,hQ;if(!BDFDB['isBDv2']()){hQ=typeof hM==='string'?hM:hM['name'];hP=require('path')['join'](BDFDB['getPluginsFolder'](),hQ+'.config.json');}else{hQ=typeof hM==='string'?hM['toLowerCase']():null;var hR=hQ?BDFDB['Plugins'][hQ]?BDFDB['Plugins'][hQ]['contentPath']:null:hM['contentPath'];if(!hR)return;hP=require('path')['join'](hR,'settings.json');}var hS=hO['existsSync'](hP);var hT=!hS?{}:typeof BDFDB['cachedData'][hQ]!=='undefined'?BDFDB['cachedData'][hQ]:BDFDB['readConfig'](hP);hT[hN]=hL;if(BDFDB['isObjectEmpty'](hT[hN]))delete hT[hN];if(BDFDB['isObjectEmpty'](hT)){delete BDFDB['cachedData'][hQ];if(hS)hO['unlinkSync'](hP);}else{BDFDB['cachedData'][hQ]=hT;hO['writeFileSync'](hP,JSON['stringify'](hT,null,'\x09'));}};BDFDB['loadAllData']=function(hU,hV){var hW=require('fs'),hX,hY;if(!BDFDB['isBDv2']()){hY=typeof hU==='string'?hU:hU['name'];hX=require('path')['join'](BDFDB['getPluginsFolder'](),hY+'.config.json');}else{hY=typeof hU==='string'?hU['toLowerCase']():null;var hZ=hY?BDFDB['Plugins'][hY]?BDFDB['Plugins'][hY]['contentPath']:null:hU['contentPath'];if(!hZ)return{};hX=require('path')['join'](hZ,'settings.json');}if(!hW['existsSync'](hX)){delete BDFDB['cachedData'][hY];return{};}var i0=typeof BDFDB['cachedData'][hY]!=='undefined'?BDFDB['cachedData'][hY]:BDFDB['readConfig'](hX);BDFDB['cachedData'][hY]=i0;return i0&&typeof i0[hV]!=='undefined'?i0[hV]:{};};BDFDB['removeAllData']=function(i1,i2){var i3=require('fs'),i4,i5;if(!BDFDB['isBDv2']()){i5=typeof i1==='string'?i1:i1['name'];i4=require('path')['join'](BDFDB['getPluginsFolder'](),i5+'.config.json');}else{i5=typeof i1==='string'?i1['toLowerCase']():null;var i6=i5?BDFDB['Plugins'][i5]?BDFDB['Plugins'][i5]['contentPath']:null:i1['contentPath'];if(!i6)return;i4=require('path')['join'](i6,'settings.json');}var i7=i3['existsSync'](i4);var i8=!i7?{}:typeof BDFDB['cachedData'][i5]!=='undefined'?BDFDB['cachedData'][i5]:BDFDB['readConfig'](i4);delete i8[i2];if(BDFDB['isObjectEmpty'](i8)){delete BDFDB['cachedData'][i5];if(i7)i3['unlinkSync'](i4);}else{BDFDB['cachedData'][i5]=i8;i3['writeFileSync'](i4,JSON['stringify'](i8,null,'\x09'));}};BDFDB['getAllData']=function(i9,ia){if(!BDFDB['isObject'](i9)||!i9['defaults']||!i9['defaults'][ia])return{};var ib=BDFDB['loadAllData'](i9,ia),ic={},id=![];for(let ie in i9['defaults'][ia]){if(ib[ie]==null){ic[ie]=i9['defaults'][ia][ie]['value'];id=!![];}else ic[ie]=ib[ie];}if(id)BDFDB['saveAllData'](ic,i9,ia);return ic;};BDFDB['readConfig']=function(ig){try{return JSON['parse'](require('fs')['readFileSync'](ig));}catch(ih){return{};}};BDFDB['saveData']=function(ii,ij,ik,il){var im=BDFDB['loadAllData'](ik,il);im[ii]=ij;BDFDB['saveAllData'](im,ik,il);};BDFDB['loadData']=function(io,ip,iq){var ir=BDFDB['loadAllData'](ip,iq);var is=ir[io];return is===undefined?null:is;};BDFDB['removeData']=function(it,iu,iv){var iw=BDFDB['loadAllData'](iu,iv);delete iw[it];BDFDB['saveAllData'](iw,iu,iv);};BDFDB['getData']=function(ix,iy,iz){var iA=BDFDB['getAllData'](iy,iz);var iB=iA[ix];return iB===undefined?null:iB;};BDFDB['appendWebScript']=function(iC,iD){if(!iD&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iD=iD||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iD=Node['prototype']['isPrototypeOf'](iD)?iD:document['head'];BDFDB['removeWebScript'](iC,iD);iD['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(iE,iF){iF=iF||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iF=Node['prototype']['isPrototypeOf'](iF)?iF:document['head'];BDFDB['removeEles'](iF['querySelectorAll']('script[src=\x22'+iE+'\x22]'));};BDFDB['appendWebStyle']=function(iG,iH){if(!iH&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iH=iH||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iH=Node['prototype']['isPrototypeOf'](iH)?iH:document['head'];BDFDB['removeWebStyle'](iG,iH);iH['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(iI,iJ){iJ=iJ||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iJ=Node['prototype']['isPrototypeOf'](iJ)?iJ:document['head'];BDFDB['removeEles'](iJ['querySelectorAll']('link[href=\x22'+iI+'\x22]'));};BDFDB['appendLocalStyle']=function(iK,iL,iM){if(!iM&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iM=iM||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iM=Node['prototype']['isPrototypeOf'](iM)?iM:document['head'];BDFDB['removeLocalStyle'](iK,iM);iM['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(iN,iO){iO=iO||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];iO=Node['prototype']['isPrototypeOf'](iO)?iO:document['head'];BDFDB['removeEles'](iO['querySelectorAll']('style[id=\x22'+iN+'CSS\x22]'));};BDFDB['formatBytes']=function(iP,iQ){iP=parseInt(iP);if(isNaN(iP)||iP<0x0)return'0\x20Bytes';if(iP==0x1)return'1\x20Byte';var iR=Math['floor'](Math['log'](iP)/Math['log'](0x400));return parseFloat((iP/Math['pow'](0x400,iR))['toFixed'](iQ<0x1?0x0:iQ>0x14?0x14:iQ||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][iR];};BDFDB['colorCONVERT']=function(iS,iT,iU){if(!iS)return null;iT=iT===undefined||!iT?iT='RGBCOMP':iT['toUpperCase']();iU=iU===undefined||!iU||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](iU['toUpperCase']())?BDFDB['colorTYPE'](iS):iU['toUpperCase']();if(iT=='RGBCOMP'){switch(iU){case'RGBCOMP':if(iS['length']==0x3)return ju(iS);else if(iS['length']==0x4){var iV=jx(iS['pop']());return ju(iS)['concat'](iV);}case'RGB':return ju(iS['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var iW=iS['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iV=jx(iW['pop']());return ju(iW)['concat'](iV);case'HSLCOMP':if(iS['length']==0x3)return BDFDB['colorCONVERT']('hsl('+iS['join'](',')+')','RGBCOMP');else if(iS['length']==0x4){var iV=jx(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](iV);}case'HSL':var iZ=jB(iS['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var j0,j1,j2,j3,j4,j5,j6,j7;var j8=iZ[0x0]/0x168,j9=parseInt(iZ[0x1])/0x64,ja=parseInt(iZ[0x2])/0x64;j3=Math['floor'](j8*0x6);j4=j8*0x6-j3;j5=ja*(0x1-j9);j6=ja*(0x1-j4*j9);j7=ja*(0x1-(0x1-j4)*j9);switch(j3%0x6){case 0x0:j0=ja,j1=j7,j2=j5;break;case 0x1:j0=j6,j1=ja,j2=j5;break;case 0x2:j0=j5,j1=ja,j2=j7;break;case 0x3:j0=j5,j1=j6,j2=ja;break;case 0x4:j0=j7,j1=j5,j2=ja;break;case 0x5:j0=ja,j1=j5,j2=j6;break;}return[Math['round'](j0*0xff),Math['round'](j1*0xff),Math['round'](j2*0xff)];case'HSLA':var iZ=iS['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var iV=jx(iZ['pop']());return BDFDB['colorCONVERT']('hsl('+iZ['join'](',')+')','RGBCOMP')['concat'](iV);case'HEX':var jd=/^#([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'](iS);return[parseInt(jd[0x1]+jd[0x1]||jd[0x4],0x10)['toString'](),parseInt(jd[0x2]+jd[0x2]||jd[0x5],0x10)['toString'](),parseInt(jd[0x3]+jd[0x3]||jd[0x6],0x10)['toString']()];default:return null;}}else{var je=iU=='RGBCOMP'?iS:BDFDB['colorCONVERT'](iS,'RGBCOMP',iU);if(je)switch(iT){case'RGB':return'rgb('+ju(je['slice'](0x0,0x3))['join'](',')+')';case'RGBA':je=je['slice'](0x0,0x4);var iV=je['length']==0x4?jx(je['pop']()):0x1;return'rgba('+ju(je)['concat'](iV)['join'](',')+')';case'HSLCOMP':var iV=je['length']==0x4?jx(je['pop']()):null;var iZ=jB(BDFDB['colorCONVERT'](je,'HSL')['replace'](/\s/g,'')['split'](','));return iV?iZ['concat'](iV):iZ;case'HSL':var j0=js(je[0x0]),j1=js(je[0x1]),j2=js(je[0x2]);var jl=Math['max'](j0,j1,j2),jm=Math['min'](j0,j1,j2),jn=jl-jm,j8,j9=jl===0x0?0x0:jn/jl,ja=jl/0xff;switch(jl){case jm:j8=0x0;break;case j0:j8=j1-j2+jn*(j10xff?0xff:j4<0x0?0x0:j4;};function ju(iW){return iW['map'](j4=>{return js(j4);});};function jx(iV){iV=iV['toString']();iV=(iV['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(iV['replace'](/[^0-9\.\-]/g,''));return isNaN(iV)||iV>0x1?0x1:iV<0x0?0x0:iV;};function jz(jA){jA=parseFloat(jA['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(jA)||jA>0x64?0x64:jA<0x0?0x0:jA)+'%';};function jB(iW){let j8=parseFloat(iW['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));j8=isNaN(j8)||j8>0x168?0x168:j8<0x0?0x0:j8;return[j8]['concat'](iW['map'](jE=>{return jz(jE);}));};};BDFDB['colorSETALPHA']=function(jF,jG,jH){var jI=BDFDB['colorCONVERT'](jF,'RGBCOMP');if(jI){jG=jG['toString']();jG=(jG['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jG['replace'](/[^0-9\.\-]/g,''));jG=isNaN(jG)||jG>0x1?0x1:jG<0x0?0x0:jG;jI[0x3]=jG;jH=(jH||BDFDB['colorTYPE'](jK))['toUpperCase']();jH=jH=='HSL'||jH=='RGB'?jH+'A':jH;return BDFDB['colorCONVERT'](jI,jH);}return null;};BDFDB['colorCHANGE']=function(jJ,jK,jL){jK=parseFloat(jK);if(jJ&&typeof jK=='number'&&!isNaN(jK)){var jM=BDFDB['colorCONVERT'](jJ,'RGBCOMP');if(jM){if(parseInt(jK)!==jK){jK=jK['toString']();jK=(jK['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jK['replace'](/[^0-9\.\-]/g,''));jK=isNaN(jK)?0x0:jK;return BDFDB['colorCONVERT']([Math['round'](jM[0x0]*(0x1+jK)),Math['round'](jM[0x1]*(0x1+jK)),Math['round'](jM[0x2]*(0x1+jK))],jL||BDFDB['colorTYPE'](jJ));}else return BDFDB['colorCONVERT']([Math['round'](jM[0x0]+jK),Math['round'](jM[0x1]+jK),Math['round'](jM[0x2]+jK)],jL||BDFDB['colorTYPE'](jJ));}}return null;};BDFDB['colorINV']=function(jN,jO){if(jN){var jP=BDFDB['colorCONVERT'](jN,'RGBCOMP');if(jP)return BDFDB['colorCONVERT']([0xff-jP[0x0],0xff-jP[0x1],0xff-jP[0x2]],jO||BDFDB['colorTYPE'](jN));}return null;};BDFDB['colorCOMPARE']=function(jQ,jR){if(jQ&&jR){jQ=BDFDB['colorCONVERT'](jQ,'RGBCOMP');jR=BDFDB['colorCONVERT'](jR,'RGBCOMP');if(jQ&&jR)return BDFDB['equals'](jQ,jR);}return null;};BDFDB['colorISBRIGHT']=function(jS,jT=0xa0){jS=BDFDB['colorCONVERT'](jS,'RGBCOMP');if(!jS)return![];return parseInt(jT)