diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 28ec384e9f..fa182d9b6c 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'};(()=>{console['log']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','loading\x20library.');BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};var c=d=>{if(!BDFDB['isObject'](d))return;var e=0x0,f=setInterval(()=>{var g=BDFDB['WebModules']['findByProperties']('getCurrentUser')['getCurrentUser']();if(g){clearInterval(f);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','yEDO1AjNxkTO3UzNzUzNwUjN','0QTNyIDOzIzNzQzN2gzMzITO','yUzN0IzM5kTMyIjM4ITOwUjN','0YzM5cTNxgTN1AzNxUTN5gTO','0AzM2MjMzAjMxkTO5MDM4gTM','ykTNxMzNyUDM4czNxEjMzIjM','1UDNyAzM0MTN2YzN0IzMyMzM','1ADO5YTN1kjMzYDNwgTOzQDN','zkTM2AjN3AzM0YjNyEzN0cjM','0YDN3czN4kjM5ADOyMjN4ADM','zIzN4MDM5gDNygjN1MTN2gzM','0ITM3YzM4YTOyYjM3QTM1MDN','yQTO1cTO1gTOycjMyAzNzYDN','yQTM0QDMwcTN2EzN5IzNxYDO','zQTMxATOyADOxMDM3gTMxgzN','xkzN4QDMzEDOxkTOxAzM0gDO','0MDOwEDN2AjNwYjNzETOzcDM','yYTN1gjMwUjM3czNyYzMxADN','xMTN5EzM2cDN1MDO3QTN4UjN','yMDO0YTOxMTM5YjMxUTNwATO','1gzMyYDNyIDMxcTO4UzN0MTO','ygjMyAzM3ADM0QDOxkDO2UjN','0UjN1IDMzgTN2gTN0gzN2IjN','1cjMwIDN2QzM0kDMxUjM0UDO']['includes'](btoa(g['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var h=require('fs');var i=require('path');h['unlink'](i['join'](BDFDB['getPluginsFolder'](),d['name']+'.plugin.js'),j=>{});h['unlink'](i['join'](BDFDB['getPluginsFolder'](),d['name']+'.config.json'),k=>{});window['pluginCookie'][d['name']]=![];delete bdplugins[d['name']];window['pluginModule']['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(e>0x1770)clearInterval(f);e++;},0x64);};BDFDB['loadMessage']=function(l){BDFDB['clearStarttimout'](l);l['name']=l['name']||(typeof l['getName']=='function'?l['getName']():null);l['version']=l['version']||(typeof l['getVersion']=='function'?l['getVersion']():null);l['author']=l['author']||(typeof l['getAuthor']=='function'?l['getAuthor']():null);l['description']=l['description']||(typeof l['getDescription']=='function'?l['getDescription']():null);var m=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+l['version']);console['log']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',m);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](l['name']+'\x20'+m,{'nopointer':!![],'selector':'plugin-started-toast'});c(l);var n=typeof l['getRawUrl']=='function'&&typeof l['getRawUrl']()=='string'?l['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+l['name']+'/'+l['name']+'.plugin.js';BDFDB['checkUpdate'](l['name'],n);if(typeof l['initConstructor']==='function'){try{l['initConstructor']();}catch(o){console['error']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20initiate\x20constructor!\x20'+o);}}if(typeof l['css']==='string')BDFDB['appendLocalStyle'](l['name'],l['css']);BDFDB['WebModules']['patchModules'](l);BDFDB['addOnSwitchListener'](l);BDFDB['addSettingsButtonListener'](l);BDFDB['addContextListener'](l);BDFDB['translatePlugin'](l);BDFDB['checkChangeLog'](l);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][n]={'name':l['name'],'raw':n,'version':l['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);l['started']=!![];for(let p in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][p]['started']&&typeof BDFDB['myPlugins'][p]['initialize']=='function')BDFDB['myPlugins'][p]['initialize']();};BDFDB['unloadMessage']=function(q){BDFDB['clearStarttimout'](q);delete BDFDB['myPlugins'][q['name']];var r=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+q['version']);console['log']('%c['+q['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',r);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](q['name']+'\x20'+r,{'nopointer':!![],'selector':'plugin-stopped-toast'});var s=typeof q['getRawUrl']=='function'&&typeof q['getRawUrl']()=='string'?q['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+q['name']+'/'+q['name']+'.plugin.js';if(typeof q['css']==='string')BDFDB['removeLocalStyle'](q['name']);BDFDB['WebModules']['unpatchall'](q);BDFDB['removeOnSwitchListener'](q);BDFDB['removeSettingsButtonListener'](q);BDFDB['removeEventListener'](q);BDFDB['removeEles']('.'+q['name']+'-modal,\x20.'+q['name']['toLowerCase']()+'-modal,\x20.'+q['name']+'-settingsmodal,\x20.'+q['name']['toLowerCase']()+'-settingsmodal');if(!BDFDB['isObjectEmpty'](q['observers'])){for(let t in q['observers'])for(let u of q['observers'][t])u['disconnect']();delete q['observers'];}delete window['PluginUpdates']['plugins'][s];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete q['started'];};BDFDB['translatePlugin']=function(v){if(typeof v['setLabelsByLanguage']==='function'||typeof v['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])x();else{var w=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(w);x();}},0x64);}function x(){var y=BDFDB['getDiscordLanguage']();if(typeof v['setLabelsByLanguage']==='function')v['labels']=v['setLabelsByLanguage'](y['id']);if(typeof v['changeLanguageStrings']==='function')v['changeLanguageStrings']();var z=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('{{ownlang}}',y['ownlang']);console['log']('%c['+v['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',z);}}};BDFDB['clearStarttimout']=function(A){if(A['startTimeout']){clearTimeout(A['startTimeout']);delete A['startTimeout'];}if(A['libLoadTimeout']){clearTimeout(A['libLoadTimeout']);delete A['libLoadTimeout'];}};BDFDB['checkChangeLog']=function(B){if(!BDFDB['isObject'](B)||!B['changelog'])return;var C=BDFDB['loadAllData'](B,'changelog');if(!C['currentversion']||BDFDB['checkVersions'](B['version'],C['currentversion'])){C['currentversion']=B['version'];var D='';var E={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let F in B['changelog']){F=F['toLowerCase']();var G=BDFDB['disCN']['changelog'+F];if(G){D+='
'+E[F]+'
';for(let H of B['changelog'][F])D+='- '+H[0x0]+''+(H[0x1]?':\x20'+H[0x1]+'.':'')+'
';D+='
';}}if(D)BDFDB['removeEles'](BDFDB['openConfirmModal'](B,D,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](C,B,'changelog');}};BDFDB['addObserver']=function(I,J,K,L={'childList':!![]}){if(!BDFDB['isObject'](I)||!J||!K)return;if(BDFDB['isObjectEmpty'](I['observers']))I['observers']={};if(!Array['isArray'](I['observers'][K['name']]))I['observers'][K['name']]=[];if(!K['multi'])for(let M of I['observers'][K['name']])M['disconnect']();if(K['instance'])I['observers'][K['name']]['push'](K['instance']);var N=I['observers'][K['name']][I['observers'][K['name']]['length']-0x1];if(N){var O=Node['prototype']['isPrototypeOf'](J)?J:typeof J==='string'?document['querySelector'](J):null;if(O)N['observe'](O,L);}};BDFDB['addChildEventListener']=function(P,Q,R,S){if(!Node['prototype']['isPrototypeOf'](P)||!Q||!R||!R['trim']()||typeof S!='function')return;for(var T of Q['trim']()['split']('\x20'))if(T){var U=S;if(T=='mouseenter'||T=='mouseleave')U=V=>{if(V['target']['matches'](R))S(V);};P['querySelectorAll'](R['trim']())['forEach'](W=>{W['addEventListener'](T,U,!![]);});}};BDFDB['addEventListener']=function(X,Y,Z,a0,a1){if(!BDFDB['isObject'](X)||!Node['prototype']['isPrototypeOf'](Y)&&Y!==window||!Z)return;var a2=typeof a0=='function';var a3=a2?undefined:a0;var a4=a2?a0:a1;if(typeof a4!='function')return;BDFDB['removeEventListener'](X,Y,Z,a3);for(var a5 of Z['split']('\x20')){a5=a5['split']('.');var a6=a5['shift']()['toLowerCase']();if(!a6)return;var a7=a6;a6=a6=='mouseenter'||a6=='mouseleave'?'mouseover':a6;var a8=(a5['join']('.')||'')+X['name'];if(!Array['isArray'](X['listeners']))X['listeners']=[];var a9=null;if(a3){if(a7=='mouseenter'||a7=='mouseleave'){a9=aa=>{for(let ab of aa['path'])if(typeof ab['matches']=='function'&&ab['matches'](a3)&&!ab[a8+'BDFDB'+a7]){ab[a8+'BDFDB'+a7]=!![];if(a7=='mouseenter')a4(BDFDB['copyEvent'](aa,ab));let ac=ad=>{if(ad['target']['contains'](ab)||ad['target']==ab||!ab['contains'](ad['target'])){if(a7=='mouseleave')a4(BDFDB['copyEvent'](aa,ab));delete ab[a8+'BDFDB'+a7];document['removeEventListener']('mouseout',ac);}};document['addEventListener']('mouseout',ac);break;}};}else{a9=ae=>{for(let af of ae['path'])if(typeof af['matches']=='function'&&af['matches'](a3)){a4(BDFDB['copyEvent'](ae,af));break;}};}}else a9=ag=>{a4(BDFDB['copyEvent'](ag,Y));};X['listeners']['push']({'ele':Y,'eventname':a6,'origeventname':a7,'namespace':a8,'selector':a3,'eventcallback':a9});Y['addEventListener'](a6,a9,!![]);}};BDFDB['copyEvent']=function(ah,ai){if(!ah||!ah['constructor']||!ah['type'])return ah;var aj=new ah['constructor'](ah['type'],ah);Object['defineProperty'](aj,'originalEvent',{'value':ah});Object['defineProperty'](aj,'which',{'value':ah['which']});Object['defineProperty'](aj,'keyCode',{'value':ah['keyCode']});Object['defineProperty'](aj,'path',{'value':ah['path']});Object['defineProperty'](aj,'relatedTarget',{'value':ah['relatedTarget']});Object['defineProperty'](aj,'srcElement',{'value':ah['srcElement']});Object['defineProperty'](aj,'target',{'value':ah['target']});Object['defineProperty'](aj,'toElement',{'value':ah['toElement']});if(ai)Object['defineProperty'](aj,'currentTarget',{'value':ai});return aj;};BDFDB['stopEvent']=function(ak){if(BDFDB['isObject'](ak)){if(typeof ak['preventDefault']=='function')ak['preventDefault']();if(typeof ak['stopPropagation']=='function')ak['stopPropagation']();if(typeof ak['stopImmediatePropagation']=='function')ak['stopImmediatePropagation']();if(BDFDB['isObject'](ak['originalEvent'])){if(typeof ak['originalEvent']['preventDefault']=='function')ak['originalEvent']['preventDefault']();if(typeof ak['originalEvent']['stopPropagation']=='function')ak['originalEvent']['stopPropagation']();if(typeof ak['originalEvent']['stopImmediatePropagation']=='function')ak['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(al,am,an='',ao){if(!BDFDB['isObject'](al)||!Array['isArray'](al['listeners']))return;if(Node['prototype']['isPrototypeOf'](am)||am===window){for(var ap of an['split']('\x20')){ap=ap['split']('.');var aq=ap['shift']()['toLowerCase']();var ar=(ap['join']('.')||'')+al['name'];for(let as of al['listeners']){let at=[];if(as['ele']==am&&(!aq||as['origeventname']==aq)&&as['namespace']==ar&&(ao===undefined||as['selector']==ao)){am['removeEventListener'](as['eventname'],as['eventcallback'],!![]);at['push'](as);}if(at['length'])al['listeners']=al['listeners']['filter'](as=>{return at['indexOf'](as)<0x0;});}}}else if(!am){for(let av of al['listeners'])av['ele']['removeEventListener'](av['eventname'],av['eventcallback'],!![]);al['listeners']=[];}};BDFDB['checkUpdate']=function(aw,ax){if(BDFDB['isBDv2']())return;require('request')(ax,(ay,az,aA)=>{if(ay)return;var aB=aA['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!aB)return;if(BDFDB['checkVersionDifference'](aB[0x0],window['PluginUpdates']['plugins'][ax]['version'])>0.2){BDFDB['showToast'](aw+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});BDFDB['downloadPlugin'](aw,ax);}else if(BDFDB['checkVersions'](aB[0x0],window['PluginUpdates']['plugins'][ax]['version']))BDFDB['showUpdateNotice'](aw,ax);else BDFDB['removeUpdateNotice'](aw);});};BDFDB['checkVersions']=function(aC,aD){if(!aC||!aD)return!![];aC=aC['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aE=>parseInt(aE))['filter'](aF=>(aF||aF==0x0)&&!isNaN(aF));aD=aD['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aG=>parseInt(aG))['filter'](aH=>(aH||aH==0x0)&&!isNaN(aH));var aI=Math['max'](aC['length'],aD['length']);if(!aI)return!![];if(aC['length']>aD['length']){var aJ=new Array(aC['length']-aD['length']);for(let aK=0x0;aKaD[aP])return!![];}return![];};BDFDB['checkVersionDifference']=function(aQ,aR){if(!aQ||!aR)return![];aQ=aQ['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aS=>parseInt(aS))['filter'](aT=>(aT||aT==0x0)&&!isNaN(aT));aR=aR['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aU=>parseInt(aU))['filter'](aV=>(aV||aV==0x0)&&!isNaN(aV));var aW=Math['max'](aQ['length'],aR['length']);if(!aW)return![];if(aQ['length']>aR['length']){var aX=new Array(aQ['length']-aR['length']);for(let aY=0x0;aY',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':'','customicon':''});b7['style']['setProperty']('display','block','important');b7['style']['setProperty']('visibility','visible','important');b7['style']['setProperty']('opacity','1','important');b7['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{BDFDB['removeEles']('.update-clickme-tooltip');});var b8=b7['querySelector'](BDFDB['dotCN']['noticebutton']);if(b8){BDFDB['toggleEles'](b8,!![]);b8['addEventListener']('click',()=>{window['location']['reload'](![]);});b8['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),b8,{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(b7){var b9=b7['querySelector']('#outdatedPlugins');if(b9&&!b9['querySelector']('#'+b5+'-notice')){if(b9['querySelector']('span'))b9['appendChild'](BDFDB['htmlToElement'](',\x20'));var ba=BDFDB['htmlToElement'](''+b5+'');ba['addEventListener']('click',()=>{BDFDB['downloadPlugin'](b5,b6);});b9['appendChild'](ba);if(!document['querySelector']('.update-clickme-tooltip'))BDFDB['createTooltip']('Click\x20us!',b9,{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};BDFDB['downloadPlugin']=function(bb,bc){require('request')(bc,(bd,be,bf)=>{if(bd)return console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','','Unable\x20to\x20get\x20update\x20for\x20'+bb);BDFDB['creationTime']=0x0;var bg=bf['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);bg=bg['toString']()['replace'](/['"]/g,'');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),bdplugins[bb]?bdplugins[bb]['filename']:bc['split']('/')['slice'](-0x1)[0x0]),bf);BDFDB['showToast'](bb+'\x20v'+window['PluginUpdates']['plugins'][bc]['version']+'\x20has\x20been\x20replaced\x20by\x20'+bb+'\x20v'+bg+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var bh=document['querySelector']('#pluginNotice');if(bh){if(bh['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][bc]['version']=bg;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](bb))window['PluginUpdates']['downloaded']['push'](bb);}BDFDB['removeUpdateNotice'](bb,bh);}});};BDFDB['removeUpdateNotice']=function(bi,bj=document['querySelector']('#pluginNotice')){if(!bj)return;var bk=bj['querySelector']('#outdatedPlugins');if(bk){var bl=bk['querySelector']('#'+bi+'-notice');if(bl){var bm=bl['nextSibling'];var bn=bl['prevSibling'];if(bm&&BDFDB['containsClass'](bm,'separator'))bm['remove']();else if(bn&&BDFDB['containsClass'](bn,'separator'))bn['remove']();bl['remove']();}if(!bk['querySelector']('span')){var bo=bj['querySelector'](BDFDB['dotCN']['noticebutton']);if(bo){bj['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](bo,![]);}else bj['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(bp,bq={}){var br=document['querySelector']('.toasts,\x20.bd-toasts');if(!br){var bs=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bt=bs?BDFDB['getRects'](bs):null;var bu=bs?bs['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bv=bt?bt['left']:0x136;var bw=bt?bu?bt['width']-BDFDB['getRects'](bu)['width']:bt['width']:window['outerWidth']-0x0;var bx=bs?bs['querySelector']('form'):null;var by=bx?BDFDB['getRects'](bx)['height']:0x50;br=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](br);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=bq;var bz=BDFDB['htmlToElement'](''+(html===!![]?bp:BDFDB['encodeToHTML'](bp))+'
');if(type){BDFDB['addClass'](bz,'toast-'+type);if(icon)BDFDB['addClass'](bz,'icon');}BDFDB['addClass'](bz,selector);br['appendChild'](bz);bz['close']=()=>{if(document['contains'](bz)){BDFDB['addClass'](bz,'closing');setTimeout(()=>{bz['remove']();if(!br['querySelectorAll']('.toast,\x20.bd-toast')['length'])br['remove']();},0xbb8);}};if(nopointer)bz['style']['setProperty']('pointer-events','none','important');else bz['addEventListener']('click',bz['close']);setTimeout(()=>{bz['close']();},timeout>0x0?timeout:0x927c0);return bz;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bA,bB={}){var bC=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bA,'parsedoptions':bB});bD();};var bD=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bE=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bE)bF(bE['parsedcontent'],bE['parsedoptions']);}};var bF=(bG,bH)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bI=bH['silent'];bH['silent']=bH['silent']||bH['sound']?!![]:![];var bJ=new Notification(bG,bH);var bK=new Audio();var bL=setTimeout(()=>{bM();},bH['timeout']?bH['timeout']:0xbb8);if(typeof bH['click']=='function')bJ['onclick']=()=>{clearTimeout(bL);bM();bH['click']();};if(!bI&&bH['sound']){bK['src']=bH['sound'];bK['play']();}var bM=()=>{bK['pause']();bJ['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bD();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bC();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bN){if(bN==='granted')bC();});};BDFDB['createTooltip']=function(bO,bP,bQ={}){if(!bO||!bP||!Node['prototype']['isPrototypeOf'](bP)||!document['contains'](bP))return null;var bR=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bR)return null;var bS=Math['round'](Math['random']()*0x2386f26fc10000);var bT=BDFDB['htmlToElement']('');bT['anker']=bP;var bU=bT['firstElementChild']?bT['firstElementChild']:bT;if(bQ['id'])bT['id']=bQ['id']['split']('\x20')['join']('');if(bQ['selector'])BDFDB['addClass'](bT,bQ['selector']);if(bQ['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bS,bQ['css'],bR);if(bQ['style'])bU['style']=bQ['style'];if(bQ['html']===!![])bU['innerHTML']=bO;else bU['innerText']=bO;if(bQ['type']&&BDFDB['disCN']['tooltip'+bQ['type']['toLowerCase']()]){BDFDB['addClass'](bU,BDFDB['disCN']['tooltip'+bQ['type']['toLowerCase']()]);bU['appendChild'](BDFDB['htmlToElement'](''));}if(bU['style']['borderColor']&&bU['style']['backgroundColor'])BDFDB['addClass'](bU,'tooltip-customcolor');else if(bQ['color']&&BDFDB['disCN']['tooltip'+bQ['color']['toLowerCase']()])BDFDB['addClass'](bU,BDFDB['disCN']['tooltip'+bQ['color']['toLowerCase']()]);else BDFDB['addClass'](bU,BDFDB['disCN']['tooltipblack']);bR['appendChild'](bT);if(!bQ['position']||bQ['type'])bQ['position']=bQ['type'];if(!bQ['position']||!['top','bottom','left','right']['includes'](bQ['position']['toLowerCase']()))bQ['position']='right';bT['position']=bQ['position']['toLowerCase']();BDFDB['updateTooltipPosition'](bT);var bV=()=>{bT['remove']();};var bW=new MutationObserver(bX=>{bX['forEach'](bY=>{var bZ=Array['from'](bY['removedNodes']);var c0=bZ['indexOf'](bT)>-0x1;var c1=bZ['indexOf'](bP)>-0x1;var c2=bZ['some'](c3=>c3['contains'](bP));if(c0||c1||c2){bW['disconnect']();bT['remove']();bP['removeEventListener']('mouseleave',bV);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bS,bR);}});});bW['observe'](document['body'],{'subtree':!![],'childList':!![]});bP['addEventListener']('mouseleave',bV);if(bQ['delay']){BDFDB['toggleEles'](bT);setTimeout(()=>{BDFDB['toggleEles'](bT);},bQ['delay']);}return bT;};BDFDB['updateTooltipPosition']=function(c4){if(!Node['prototype']['isPrototypeOf'](c4)||!Node['prototype']['isPrototypeOf'](c4['anker'])||!c4['position'])return;var c5,c6,c7=BDFDB['getRects'](c4['anker']),c8=BDFDB['getRects'](c4),c9={'height':0x0,'width':0x0};var ca=c4['querySelector'](BDFDB['dotCN']['tooltippointer']);if(ca)c9=BDFDB['getRects'](ca);switch(c4['position']){case'top':c6=c7['top']-c8['height']-c9['height']+0x2;c5=c7['left']+(c7['width']-c8['width'])/0x2;break;case'bottom':c6=c7['top']+c7['height']+c9['height']-0x2;c5=c7['left']+(c7['width']-c8['width'])/0x2;break;case'left':c6=c7['top']+(c7['height']-c8['height'])/0x2;c5=c7['left']-c8['width']-c9['width']+0x2;break;case'right':c6=c7['top']+(c7['height']-c8['height'])/0x2;c5=c7['left']+c7['width']+c9['width']-0x2;break;}c4['style']['setProperty']('top',c6+'px');c4['style']['setProperty']('left',c5+'px');var cb=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),c8=BDFDB['getRects'](c4);var cd=c4['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c4['position']=='top'||c4['position']=='bottom'){if(c8['left']<0x0){c4['style']['setProperty']('left','5px');cd['style']['setProperty']('margin-left',c8['left']-0xa+'px');}else{var ce=cb['width']-(c8['left']+c8['width']);if(ce<0x0){c4['style']['setProperty']('left',cb['width']-c8['width']-0x5+'px');cd['style']['setProperty']('margin-left',-0x1*ce+'px');}}}else if(c4['position']=='left'||c4['position']=='right'){if(c8['top']<0x0){c4['style']['setProperty']('top','5px');cd['style']['setProperty']('margin-top',c8['top']-0xa+'px');}else{var cf=cb['height']-(c8['top']+c8['height']);if(cf<0x0){c4['style']['setProperty']('top',cb['height']-c8['height']-0x5+'px');cd['style']['setProperty']('margin-top',-0x1*cf+'px');}}}};BDFDB['createNotificationsBar']=function(cg,ch={}){if(!cg)return;var ci=document['querySelector'](BDFDB['dotCN']['layers']);if(!ci)return;var cj=Math['round'](Math['random']()*0x2386f26fc10000);var ck=BDFDB['htmlToElement']('');ci['parentElement']['insertBefore'](ck,ci);var cl=ck['querySelector']('.notice-message');if(ch['platform'])for(let cm of ch['platform']['split']('\x20'))if(BDFDB['DiscordClasses']['noticeicon'+cm]){let cn=BDFDB['htmlToElement']('');BDFDB['addClass'](cn,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cn,BDFDB['disCN']['noticeicon']);ck['insertBefore'](cn,cl);}if(ch['customicon']){let co=BDFDB['htmlToElement'](ch['customicon']);let cn=BDFDB['htmlToElement']('');if(co['tagName']=='span'&&!co['firstElementChild'])cn['style']['setProperty']('background','url('+ch['customicon']+')\x20center/cover\x20no-repeat');else cn['appendChild'](co);BDFDB['addClass'](cn,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cn,BDFDB['disCN']['noticeicon']);ck['insertBefore'](cn,cl);}if(ch['btn'])ck['appendChild'](BDFDB['htmlToElement'](''));if(ch['id'])ck['id']=ch['id']['split']('\x20')['join']('');if(ch['selector'])BDFDB['addClass'](ck,ch['selector']);if(ch['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+cj,ch['css']);if(ch['style'])ck['style']=ch['style'];if(ch['html']===!![])cl['innerHTML']=cg;else{var cq=document['createElement']('a');var cr=[];for(let cs of cg['split']('\x20')){var ct=BDFDB['encodeToHTML'](cs);cq['href']=cs;cr['push'](cq['host']&&cq['host']!==window['location']['host']?'':ct);}cl['innerHTML']=cr['join']('\x20');}var cu=null;if(ch['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(cu=BDFDB['disCN']['notice'+ch['type']])BDFDB['addClass'](ck,cu);if(ch['type']=='premium'){var cv=ck['querySelector'](BDFDB['dotCN']['noticebutton']);if(cv)BDFDB['addClass'](cv,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](cl,BDFDB['disCN']['noticepremiumtext']);ck['insertBefore'](BDFDB['htmlToElement'](''),cl);}}if(!cu){var cw=BDFDB['colorCONVERT'](ch['color'],'RGBCOMP');if(cw){var cx=cw[0x0]>0xb4&&cw[0x1]>0xb4&&cw[0x2]>0xb4?'#000':'#FFF';var cy=BDFDB['colorCONVERT'](cw,'HEX');var cz=cw[0x0]>0xb4&&cw[0x1]>0xb4&&cw[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+cj,'.BDFDB-notice.notice-'+cj+'{background-color:'+cy+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20.notice-message\x20{color:'+cx+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cx+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](cx,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cy+'\x20!important;background-color:'+cx+'\x20!important;}.BDFDB-notice.notice-'+cj+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+cz+'\x20!important;}');}else BDFDB['addClass'](ck,BDFDB['disCN']['noticedefault']);}ck['style']['setProperty']('height','36px','important');ck['style']['setProperty']('min-width','70vw','important');ck['style']['setProperty']('left','unset','important');ck['style']['setProperty']('right','unset','important');let cA=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](ck))/0x2;ck['style']['setProperty']('left',cA+'px','important');ck['style']['setProperty']('right',cA+'px','important');ck['style']['setProperty']('min-width','unset','important');ck['style']['setProperty']('width','unset','important');ck['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cA*0x2+'px)','important');ck['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{ck['style']['setProperty']('overflow','hidden','important');ck['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+cj);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+cj);ck['remove']();},0x1f4);});return ck;};BDFDB['getDiscordFolder']=function(){var cB=BDFDB['getDiscordBuilt']();cB='discord'+(cB=='stable'?'':cB);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cB,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=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/plugins/');case'darwin':return cD['resolve'](cC['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cC['env']['XDG_CONFIG_HOME'])return cD['resolve'](cC['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cD['resolve'](cC['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var cE=require('process');var cF=require('path');if(cE['env']['injDir'])return cF['resolve'](cE['env']['injDir'],'plugins/');switch(cE['platform']){case'win32':return cF['resolve'](cE['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cF['resolve'](cE['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cE['env']['XDG_CONFIG_HOME'])return cF['resolve'](cE['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cF['resolve'](cE['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cG=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cG)return;var cH=cG['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cH)return;var cI=cH['parentElement']['querySelector']('h2');if(cI&&cI['innerText']){let cJ=cI['innerText']['toLowerCase']();if(cJ==='plugins'||cJ==='themes')return cJ;}};BDFDB['checkAllUpdates']=function(){for(let cK in window['PluginUpdates']['plugins']){var cL=window['PluginUpdates']['plugins'][cK];BDFDB['checkUpdate'](cL['name'],cL['raw']);}};BDFDB['getLineOfString']=function(cM,cN){if(typeof cM!='string'||typeof cM!='string')return-0x1;let cO=cM['indexOf'](cN);if(cO<0x0)return-0x1;return cM['substring'](0x0,cO)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cP,cQ,cR){var cS={};if(cQ===undefined||!cQ)for(let cT of Object['keys'](cP)['sort']())cS[cT]=cP[cT];else{let cU=[];for(let cT in cP)cU['push'](cP[cT]);cU=BDFDB['sortArrayByKey'](cU,cQ,cR);for(let cW of cU)for(let cT in cP)if(BDFDB['equals'](cW,cP[cT])){cS[cT]=cW;break;}}return cS;};BDFDB['reverseObject']=function(cY,cZ){var d0={};for(let d1 of cZ===undefined||!cZ?Object['keys'](cY)['reverse']():Object['keys'](cY)['sort']()['reverse']())d0[d1]=cY[d1];return d0;};BDFDB['filterObject']=function(d2,d3){return Object['keys'](d2)['filter'](d4=>d3(d2[d4]))['reduce']((d5,d6)=>(d5[d6]=d2[d6],d5),{});};BDFDB['isObject']=function(d7){return d7&&Object['prototype']['isPrototypeOf'](d7)&&!Array['prototype']['isPrototypeOf'](d7);};BDFDB['isObjectEmpty']=function(d8){return typeof d8!=='object'||Object['getOwnPropertyNames'](d8)['length']==0x0;};BDFDB['pushToObject']=function(d9,da){if(BDFDB['isObject'](d9))d9[Object['keys'](d9)['length']]=da;};BDFDB['deepAssign']=function(db,...dc){if(!dc['length'])return db;var dd=dc['shift']();if(BDFDB['isObject'](db)&&BDFDB['isObject'](dd)){for(var de in dd){if(BDFDB['isObject'](dd[de])){if(!db[de])Object['assign'](db,{[de]:{}});BDFDB['deepAssign'](db[de],dd[de]);}else Object['assign'](db,{[de]:dd[de]});}}return BDFDB['deepAssign'](db,...dc);};BDFDB['sortArrayByKey']=function(df,dg,dh){if(dh===undefined)dh=null;return df['sort'](function(di,dj){var dk=di[dg],dl=dj[dg];if(dk!==dh)return dkdl?0x1:0x0;});};BDFDB['numSortArray']=function(dm,dn,dp){return dm['sort'](function(dq,dr){return dqdr?0x1:0x0;});};BDFDB['removeFromArray']=function(ds,dt,du=![]){if(!ds||!dt||!Array['isArray'](ds)||!ds['includes'](dt))return ds;if(!du)ds['splice'](ds['indexOf'](dt),0x1);else while(ds['indexOf'](dt)>-0x1)ds['splice'](ds['indexOf'](dt),0x1);return ds;};BDFDB['getAllIndexes']=function(dv,dw){var dx=[],dy=-0x1;while((dy=dv['indexOf'](dw,dy+0x1))!==-0x1)dx['push'](dy);return dx;};BDFDB['removeCopiesFromArray']=function(dz){return[...new Set(dz)];};BDFDB['highlightText']=function(dA,dB){if(!dB||dB['length']<0x1)return dA;var dC=0x0,dD=dA,dE='',dF='';BDFDB['getAllIndexes'](dA['toUpperCase'](),dB['toUpperCase']())['forEach'](dG=>{var dH=dC*(dE['length']+dF['length']);dG=dG+dH;var dI=dG+dB['length'];var dJ=[-0x1]['concat'](BDFDB['getAllIndexes'](dA['substring'](0x0,dG),'<'));var dK=[-0x1]['concat'](BDFDB['getAllIndexes'](dA['substring'](0x0,dG),'>'));if(dJ[dJ['length']-0x1]>dK[dK['length']-0x1])return;dA=dA['substring'](0x0,dG)+dE+dA['substring'](dG,dI)+dF+dA['substring'](dI);dC++;});return dA?dA:dD;};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 dL=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dL);var dM=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dM['name']+')';BDFDB['languages']['$discord']['id']=dM['id'];BDFDB['languages']['$discord']['ownlang']=dM['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dN=null;try{dN=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dO){try{dN=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dP){var dQ=BDFDB['getDiscordVersion']();if(dQ){dQ=dQ['split']('.');if(dQ['length']==0x3&&!isNaN(dQ=parseInt(dQ[0x2])))dN=dQ>0x12c?'stable':da>0xc8?'canary':'ptb';else dN='stable';}else dN='stable';}}BDFDB['getDiscordBuilt']['built']=dN;return dN;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dR=null;try{dR=require('electron')['remote']['app']['getVersion']();}catch(dS){dS='';}BDFDB['getDiscordBuilt']['version']=dR;return dR;}};BDFDB['getDiscordLanguage']=function(){var dT=document['querySelector']('html')['lang']||'en-US';var dU=dT['split']('-');var dV=dU[0x0];var dW=dU[0x1]||'';dT=dW&&dV['toUpperCase']()!==dW['toUpperCase']()?dV+'-'+dW:dV;return BDFDB['languages'][dT]||BDFDB['languages'][dV]||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 dX=BDFDB['getRects'](document['body']['firstElementChild']);var dY=Math['round'](0x64*window['outerWidth']/dX['width']);var dZ=Math['round'](0x64*window['outerHeight']/dX['height']);return dYe1['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(e2,e3){if(!e2||!e3)return null;let e4=Node['prototype']['isPrototypeOf'](e2)?BDFDB['getReactInstance'](e2):e2;if(!BDFDB['isObject'](e4))return null;let e5=e4;for(let e6 of e3['split']('.')['filter'](e7=>e7)){e5=e5[e6];if(e5==undefined)return null;}return e5;};BDFDB['getOwnerInstance']=function(e8){if(e8===undefined)return null;if(!e8['node']&&!e8['instance']||!e8['name']&&(!e8['props']||!Array['isArray'](e8['props'])))return null;var e9=e8['instance']||BDFDB['getReactInstance'](e8['node']);if(!e9)return null;e8['name']=e8['name']&&!Array['isArray'](e8['name'])?Array['of'](e8['name']):e8['name'];var ea=-0x1;var eb=e8['depth']===undefined?0xf:e8['depth'];var ec=e8['up']===undefined?![]:e8['up'];var ed=performance['now']();var ee=e8['time']===undefined?0x96:e8['time'];var ef=ec?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var eg={};var eh=ek(e9);if(e8['all']){for(let ei in eg){if(e8['group'])for(let e9 in eg[ei])delete eg[ei][e9]['BDFDBreactSearch'];else delete eg[ei]['BDFDBreactSearch'];}return eg;}else return eh;function ek(e9){ea++;if(!e9||Node['prototype']['isPrototypeOf'](e9)||BDFDB['getReactInstance'](e9)||ea>eb||performance['now']()-ed>ee)en=null;else{var em=Object['getOwnPropertyNames'](e9);var en=null;for(let eo=0x0;en==null&&eoe9['type']['displayName']===es['split']('\x20')[0x0]||e9['type']['name']===es['split']('\x20')[0x0])||e8['props']&&e8['props']['every'](et=>er[et]!==undefined)||e8['defaultProps']&&e8['defaultProps']['every'](eu=>er[eu]!==undefined))){if(e8['all']===undefined||!e8['all'])en=er;else if(e8['all']){if(e8['noCopies']===undefined||!e8['noCopies']||e8['noCopies']&&!er['BDFDBreactSearch']){er['BDFDBreactSearch']=!![];if(e8['group']){if(e8['name']&&e9['type']&&(e9['type']['displayName']||e9['type']['name'])){var ev='Default';for(let ew of e8['name'])if(e9['type']['displayName']===ew['split']('\x20')[0x0]||e9['type']['name']===ew['split']('\x20')[0x0]){ev=ew;break;}if(typeof eg[ev]=='undefined')eg[ev]={};BDFDB['pushToObject'](eg[ev],er);}}else BDFDB['pushToObject'](eg,er);}}}if(en==null&&(typeof eq==='object'||typeof eq==='function')&&ef[ep])en=ek(eq);}}ea--;return en;}};BDFDB['getKeyInformation']=function(ex){if(ex===undefined)return null;if(!ex['node']&&!ex['instance']||!ex['key'])return null;var ey=ex['instance']||BDFDB['getReactInstance'](ex['node']);if(!ey)return null;var ez=-0x1;var eA=ex['depth']===undefined?0xf:ex['depth'];var eB=performance['now']();var eC=ex['time']===undefined?0x96:ex['time'];var eD={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':ex['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':ex['up']?![]:!![],'return':ex['up']?!![]:![],'sibling':ex['up']?![]:!![],'firstEffect':!![]};var eE={'contextSection':!![]};if(typeof ex['whitelist']==='object')Object['assign'](eD,ex['whiteList']);if(typeof ex['blacklist']==='object')Object['assign'](eE,ex['blacklist']);var eF=[];var eG=eH(ey);if(ex['all'])return eF;else return eG;function eH(ey){ez++;if(!ey||Node['prototype']['isPrototypeOf'](ey)||BDFDB['getReactInstance'](ey)||ez>eA||performance['now']()-eB>eC)eK=null;else{var eJ=Object['getOwnPropertyNames'](ey);var eK=null;for(let eL=0x0;eK==null&&eLeU['default']=eS},[eR])['default']:window['webpackJsonp']['push']([[],{[eR]:(eW,eX,eS)=>eW['exports']=eS},[[eR]]]);delete eS['m'][eR];delete eS['c'][eR];BDFDB['WebModules']['find']['req']=eS;}for(let eZ in BDFDB['WebModules']['find']['req']['c']){if(BDFDB['WebModules']['find']['req']['c']['hasOwnProperty'](eZ)){var f0=BDFDB['WebModules']['find']['req']['c'][eZ]['exports'];if(f0&&f0['__esModule']&&f0['default']&&eQ(f0['default']))return f0['default'];if(f0&&eQ(f0))return f0;}}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(f1){f1=Array['isArray'](f1)?f1:Array['from'](arguments);var f2=JSON['stringify'](f1);if(BDFDB['WebModules']['cachedData']['prop'][f2])return BDFDB['WebModules']['cachedData']['prop'][f2];else{var f3=BDFDB['WebModules']['find'](f3=>f1['every'](f5=>f3[f5]!==undefined));if(f3){BDFDB['WebModules']['cachedData']['prop'][f2]=f3;return f3;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f2+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(f6){var f7=JSON['stringify'](f6);if(BDFDB['WebModules']['cachedData']['name'][f7])return BDFDB['WebModules']['cachedData']['name'][f7];else{var f8=BDFDB['WebModules']['find'](f8=>f8['displayName']===f6);if(f8){BDFDB['WebModules']['cachedData']['name'][f7]=f8;return f8;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f7+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(fa){fa=Array['isArray'](fa)?fa:Array['from'](arguments);var fb=JSON['stringify'](fa);if(BDFDB['WebModules']['cachedData']['proto'][fb])return BDFDB['WebModules']['cachedData']['proto'][fb];else{var fc=BDFDB['WebModules']['find'](fc=>fc['prototype']&&fa['every'](fe=>fc['prototype'][fe]!==undefined));if(fc){BDFDB['WebModules']['cachedData']['proto'][fb]=fc;return fc;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fb+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','CircleIconButton':'guildbuttoncontainer','EmojiPicker':'emojipicker','FriendsOnline':'friendsonline','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','SearchResults':'searchresultswrap','TypingUsers':'typing','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(ff,fg,fh,fi){if(!ff||!fg||!fh||!Object['keys'](fi)['some'](fj=>BDFDB['WebModules']['patchtypes']['includes'](fj)))return null;const fk=(typeof fh==='string'?fh:fh['name'])['toLowerCase']();const fl=(fm,fn)=>(...fo)=>{try{return fm(...fo);}catch(fp){console['error']('Error\x20occurred\x20in\x20'+fn,fp);}};if(!ff['BDFDBpatch'])ff['BDFDBpatch']={};fg=Array['isArray'](fg)?fg:Array['of'](fg);for(let fq of fg){if(!ff[fq])ff[fq]=()=>{};const fr=ff[fq];if(!ff['BDFDBpatch'][fq]){ff['BDFDBpatch'][fq]={};for(let fs of BDFDB['WebModules']['patchtypes'])ff['BDFDBpatch'][fq][fs]={};ff['BDFDBpatch'][fq]['originalMethod']=fr;ff[fq]=function(){const ft={'thisObject':this,'methodArguments':arguments,'originalMethod':fr,'originalMethodName':fq,'callOriginalMethod':()=>ft['returnValue']=ft['originalMethod']['apply'](ft['thisObject'],ft['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&ff['BDFDBpatch'][fq]){if(!BDFDB['isObjectEmpty'](ff['BDFDBpatch'][fq]['before']))for(let fu in BDFDB['sortObject'](ff['BDFDBpatch'][fq]['before'])){fl(ff['BDFDBpatch'][fq]['before'][fu],'`before`\x20callback\x20of\x20'+ff[fq]['displayName'])(ft);}if(BDFDB['isObjectEmpty'](ff['BDFDBpatch'][fq]['instead']))ft['callOriginalMethod']();else for(let fv in BDFDB['sortObject'](ff['BDFDBpatch'][fq]['instead'])){const fw=fl(ff['BDFDBpatch'][fq]['instead'][fv],'`instead`\x20callback\x20of\x20'+ff[fq]['displayName'])(ft);if(fw!==undefined)ft['returnValue']=fw;}if(!BDFDB['isObjectEmpty'](ff['BDFDBpatch'][fq]['after']))for(let fx in BDFDB['sortObject'](ff['BDFDBpatch'][fq]['after'])){fl(ff['BDFDBpatch'][fq]['after'][fx],'`after`\x20callback\x20of\x20'+ff[fq]['displayName'])(ft);}}else ft['callOriginalMethod']();return ft['returnValue'];};}for(let fy of BDFDB['WebModules']['patchtypes'])if(typeof fi[fy]=='function')ff['BDFDBpatch'][fq][fy][fk]=fi[fy];}const fz=()=>{BDFDB['WebModules']['unpatch'](ff,fg,fh);};if(fh&&typeof fh=='object'){if(!Array['isArray'](fh['patchCancels']))fh['patchCancels']=[];fh['patchCancels']['push'](fz);}return fz;};BDFDB['WebModules']['unpatch']=function(fA,fB,fC){if(!fA||!fA['BDFDBpatch'])return;const fD=!fC?null:(typeof fC==='string'?fC:fC['name'])['toLowerCase']();fB=Array['isArray'](fB)?fB:Array['of'](fB);for(let fE of fB){if(fA[fE]&&fA['BDFDBpatch'][fE]){for(let fF of BDFDB['WebModules']['patchtypes']){if(fD)delete fA['BDFDBpatch'][fE][fF][fD];else delete fA['BDFDBpatch'][fE][fF];}var fG=!![];for(let fF of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](fA['BDFDBpatch'][fE][fF]))fG=![];if(fG){fA[fE]=fA['BDFDBpatch'][fE]['originalMethod'];delete fA['BDFDBpatch'][fE];if(BDFDB['isObjectEmpty'](fA['BDFDBpatch']))delete fA['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fI){if(BDFDB['isObject'](fI)&&Array['isArray'](fI['patchCancels']))for(let fJ of fI['patchCancels'])fJ();};BDFDB['WebModules']['forceAllUpdates']=function(fK,fL){fL=fL&&BDFDB['WebModules']['patchmap'][fL]?BDFDB['WebModules']['patchmap'][fL]+'\x20'+fL:fL;if(BDFDB['isObject'](fK)&&BDFDB['isObject'](fK['patchModules'])&&(!fL||fK['patchModules'][fL])){const fM=document['querySelector'](BDFDB['dotCN']['app']);const fN=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fM){var fO=[];for(let fP in fK['patchModules']){var fQ=Array['isArray'](fK['patchModules'][fP])?fK['patchModules'][fP]:Array['of'](fK['patchModules'][fP]);if(fQ['includes']('componentDidUpdate')||fQ['includes']('componentDidMount')||fQ['includes']('render'))fO['push'](fP);}fO=fL?fO['filter'](fR=>fR==fL):fO;if(fO['length']>0x0){const fS=BDFDB['getOwnerInstance']({'node':fM,'name':fO,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fP in fS)for(let fU in fS[fP])BDFDB['WebModules']['initiateProcess'](fK,fS[fP][fU],fP,['componentDidUpdate','componentDidMount','render']);if(fN){const fV=BDFDB['getOwnerInstance']({'node':fN,'name':fO,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fP in fV)for(let fU in fV[fP])BDFDB['WebModules']['initiateProcess'](fK,fV[fP][fU],fP,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fY){if(BDFDB['isObject'](fY)&&BDFDB['isObject'](fY['patchModules'])){for(let fZ in fY['patchModules']){var g0=BDFDB['WebModules']['patchmap'][fZ];if(g0){fY['patchModules'][g0+'\x20'+fZ]=fY['patchModules'][fZ];delete fY['patchModules'][fZ];if(!BDFDB['WebModules']['notfindablemodules'][fZ])g3(BDFDB['WebModules']['findByName'](g0),g0+'\x20'+fZ);}else if(!BDFDB['WebModules']['notfindablemodules'][fZ])g3(BDFDB['WebModules']['findByName'](fZ),fZ);}for(let fZ in BDFDB['WebModules']['notfindablemodules']){var g2=BDFDB['WebModules']['patchmap'][fZ]?BDFDB['WebModules']['patchmap'][fZ]+'\x20'+fZ:fZ;if(BDFDB['DiscordClasses'][BDFDB['WebModules']['notfindablemodules'][fZ]]&&fY['patchModules'][g2])ga(BDFDB['WebModules']['notfindablemodules'][fZ],g2);}function g3(g4,fZ){if(g4){var g2=fZ['split']('\x20')[0x0];g4=g4['displayName']==g2?g4:BDFDB['getOwnerInstance']({'instance':g4,'name':g2,'up':!![]});if(g4){var g7=g4['_reactInternalFiber']&&g4['_reactInternalFiber']['type']?g4['_reactInternalFiber']['type']:g4;var g8={};g8[fY['name']=='$BDFDB'?'before':'after']=g9=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fY,g9['thisObject'],fZ,[g9['originalMethodName']]);};BDFDB['WebModules']['patch'](g7['prototype'],fY['patchModules'][fZ],fY,g8);}}}function ga(gb,fZ){var gd=![];const ge=document['querySelector'](BDFDB['dotCN']['app']);const gf=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(ge){var gg=BDFDB['getOwnerInstance']({'node':ge,'name':fZ,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gg){gd=!![];g3(gg,fZ);}}if(!gd&&gf){var gh=BDFDB['getOwnerInstance']({'node':gf,'name':fZ,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gh){gd=!![];g3(gh,fZ);}}if(!gd){var gi=![],gj=new MutationObserver(gk=>{gk['forEach'](gl=>{gl['addedNodes']['forEach'](gm=>{var gn=null;if(!gi&&gm['tagName']&&(gn=BDFDB['containsClass'](gm,BDFDB['disCN'][gb])?gm:gm['querySelector'](BDFDB['dotCN'][gb]))!=null){instance=BDFDB['getReactInstance'](gn);if(go(instance,fZ)){gi=!![];gj['disconnect']();g3(instance,fZ);BDFDB['WebModules']['forceAllUpdates'](fY,fZ);}}});});});BDFDB['addObserver'](fY,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gj,'multi':!![]},{'childList':!![],'subtree':!![]});}}function go(gp,fZ){if(!gp)return![];gp=gp['displayName']==fZ?gp:BDFDB['getOwnerInstance']({'instance':gp,'name':fZ,'up':!![]});return gp&&(fZ!='V2C_PluginCard'&&fZ!='V2C_ThemeCard'||fZ=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fZ=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gr,gs,gt,gu){if(gr&&typeof gr=='object'&&gs){gt=(gt['split']('\x20')[0x1]||gt)['replace'](/[^A-z0-9]|_/g,'');gt=gt[0x0]['toUpperCase']()+gt['slice'](0x1);if(typeof gr['process'+gt]=='function'){var gv=BDFDB['React']['findDOMNodeSafe'](gs);if(gv)gr['process'+gt](gs,gv,gu);else setImmediate(()=>{gv=BDFDB['React']['findDOMNodeSafe'](gs);if(gv)gr['process'+gt](gs,gv,gu);});}}};var gw=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var gx=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(gw&&gx){BDFDB['React']=Object['assign']({},gw,gx);BDFDB['React']['findDOMNodeSafe']=function(gy){if(!gy||!gy['updater']||typeof gy['updater']['isMounted']!=='function'||!gy['updater']['isMounted'](gy))return null;var gz=gx['findDOMNode'](gy)||BDFDB['getReactValue'](gy,'child.stateNode');return Node['prototype']['isPrototypeOf'](gz)?gz:null;};};BDFDB['addOnSwitchListener']=function(gA){if(typeof gA['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gA);var gB=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gB){var gC=new MutationObserver(gD=>{gD['forEach'](gE=>{if(gE['target']&&BDFDB['containsClass'](gE['target'],BDFDB['disCN']['nochannel']))gA['onSwitch']();});});var gF=gB['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gF)gC['observe'](gF,{'attributes':!![]});gA['onSwitchFix']=new MutationObserver(gG=>{gG['forEach'](gH=>{if(gH['addedNodes']){gH['addedNodes']['forEach'](gI=>{if(BDFDB['containsClass'](gI,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gC['observe'](gI,{'attributes':!![]});});}});});gA['onSwitchFix']['observe'](gB,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gJ){if(typeof gJ['onSwitch']==='function'&&BDFDB['isObject'](gJ['onSwitchFix'])){gJ['onSwitchFix']['disconnect']();delete gJ['onSwitchFix'];}};BDFDB['addContextListener']=function(gK){for(let gL of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gK['on'+gL+'Context']==='function'||typeof gK['on'+gL+'ContextMenu']==='function'){if(gL=='GroupDM'){var gM=![],gN=new MutationObserver(gO=>{gO['forEach'](gP=>{gP['addedNodes']['forEach'](gQ=>{var gR=null;if(!gM&&gQ['tagName']&&(gR=BDFDB['containsClass'](gQ,BDFDB['disCN']['contextmenu'])?gQ:gQ['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gS=BDFDB['getReactInstance'](gR);if(gS&&gS['return']&&gS['return']['type']&&gS['return']['type']['displayName']==gL+'ContextMenu'){gM=!![];gN['disconnect']();gT(gL,gS['return']['type']);gX(gL,gS['return']['stateNode'],gS['stateNode']);}}});});});BDFDB['addObserver'](gK,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gN,'multi':!![]},{'childList':!![],'subtree':!![]});}else gT(gL,BDFDB['WebModules']['findByName'](gL+'ContextMenu'));}}function gT(gL,gV){if(gV&&gV['prototype'])BDFDB['WebModules']['patch'](gV['prototype'],'componentDidMount',gK,{'after':gW=>{gX(gL,gW['thisObject'],BDFDB['React']['findDOMNodeSafe'](gW['thisObject']));}});}function gX(gL,gZ,h0){if(gZ&&h0){if(typeof gK['on'+gL+'Context']==='function')gK['on'+gL+'Context'](gZ,h0);if(typeof gK['on'+gL+'ContextMenu']==='function')gK['on'+gL+'ContextMenu'](gZ,h0);BDFDB['initElements'](h0,gK);BDFDB['updateContextPosition'](h0);}}};BDFDB['addSettingsButtonListener']=function(h1){if(BDFDB['isBDv2']()&&typeof h1['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](h1);BDFDB['appendSettingsButton'](h1);var h2=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(h2){h1['settingsButtonObserver']=new MutationObserver(h3=>{h3['forEach'](h4=>{if(h4['addedNodes']){h4['addedNodes']['forEach'](h5=>{if(h5['tagName']&&BDFDB['containsClass'](h5,'active'))BDFDB['appendSettingsButton'](h1);});}});});h1['settingsButtonObserver']['observe'](h2,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(h6){var h7=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+h6['id']+']');if(h7){var h8=BDFDB['htmlToElement']('');h7['insertBefore'](h8,h7['querySelector'](BDFDB['d']['_bdv2button']));h8['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',h8,{'type':'top'});BDFDB['addClass'](h8,BDFDB['disCN']['_bdv2tooltipopen']);});h8['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](h8,BDFDB['disCN']['_bdv2tooltipopen']);});h8['addEventListener']('click',()=>{var h9=BDFDB['htmlToElement'](''+h6['name']+'\x20Settings
');var ha=h6['getSettingsPanel']();h9['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof ha=='string'?BDFDB['htmlToElement'](ha):ha);if(typeof h6['onSettingsClosed']==='function')BDFDB['addChildEventListener'](h9,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{h6['onSettingsClosed']();});BDFDB['appendModal'](h9);});}};BDFDB['removeSettingsButtonListener']=function(hb){if(BDFDB['isBDv2']()&&typeof hb['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+hb['id']+']\x20.BDFDB-settingsbutton');hb['settingsButtonObserver']['disconnect']();delete hb['settingsButtonObserver'];}};var hc={},hd=BDFDB['WebModules']['findByProperties']('Messages')['Messages'],he=()=>{if(hd)for(let hf in hd){try{BDFDB['LanguageStrings'][hf];}catch(hg){let hh=hg['toString']()['split']('for:\x20')[0x1];if(hh&&typeof hh=='string'&&!hc[hh])hc[hh]='{{'+hh['toLowerCase']()+'}}';}};};BDFDB['LanguageStrings']=new Proxy(hd,{'get':function(hi,hj){if(!hi[hj])console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hj+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var hk;if(typeof hi[hj]=='object'){if(BDFDB['isObjectEmpty'](hc))he();hk=hi[hj]['format'](Object['assign']({},hc));}else hk=hi[hj];if(typeof hk=='string')return hk;else if(Array['isArray'](hk)){var hl='';for(let hm of hk){if(typeof hm=='string')hl+=BDFDB['encodeToHTML'](hm);else if(BDFDB['isObject'](hm)&&hm['props'])hl+='<'+hm['type']+'>'+BDFDB['encodeToHTML'](hm['props']['children'][0x0]['toString']())+''+hm['type']+'>';}return hl;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hj+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}}});BDFDB['LanguageStringsCheck']=new Proxy(hd,{'get':function(hn,ho){return hn[ho];}});BDFDB['LanguageStringsFormat']=function(hp,hq){if(hp&&hq&&hd[hp]&&typeof hd[hp]=='object'&&typeof hd[hp]['format']=='function'){try{if(BDFDB['isObjectEmpty'](hc))he();var hr={};for(let hs in hc)hr[hs]=hq;return hd[hp]['format'](hr);}catch(ht){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hp+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hp+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');};he();BDFDB['equals']=function(hu,hv,hw){var hx=-0x1;if(hw===undefined||typeof hw!=='boolean')hw=![];return hy(hu,hv);function hy(hz,hA){hx++;var hB=!![];if(hx>0x3e8)hB=null;else{if(typeof hz!==typeof hA)hB=![];else if(typeof hz==='undefined')hB=!![];else if(typeof hz==='symbol')hB=!![];else if(typeof hz==='boolean')hB=hz==hA;else if(typeof hz==='string')hB=hz==hA;else if(typeof hz==='number'){if(isNaN(hz)||isNaN(hA))hB=isNaN(hz)==isNaN(hA);else hB=hz==hA;}else if(!hz&&!hA)hB=!![];else if(!hz||!hA)hB=![];else if(typeof hz==='function'||typeof hz==='object'){var hC=Object['getOwnPropertyNames'](hz);var hD=Object['getOwnPropertyNames'](hA);if(hC['length']!==hD['length'])hB=![];else for(let hE=0x0;hB===!![]&&hEhW['length']?hZ:hW['length'];};BDFDB['readServerList']=function(){var i0=[],i1=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let i2 in i1)if(i1[i2]['props']&&i1[i2]['props']['guild']&&i1[i2]['_reactInternalFiber']['child'])i0['push'](Object['assign'](new i1[i2]['props']['guild']['constructor'](i1[i2]['props']['guild']),{'div':BDFDB['React']['findDOMNodeSafe'](i1[i2]),'instance':i1[i2]}));return i0;};BDFDB['readUnreadServerList']=function(i3){var i4=[];for(let i5 of i3===undefined||!Array['isArray'](i3)?BDFDB['readServerList']():i3){let i6=Node['prototype']['isPrototypeOf'](i5)?i5:i5&&i5['div']?i5['div']:null;let i7=BDFDB['getReactValue'](i6,'return.stateNode.props');if(i7&&(i7['unread']||i7['badge']>0x0))i4['push'](i5);}return i4;};BDFDB['readMutedServerList']=function(i8){var i9=[],ia=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');for(let ib of i8===undefined||!Array['isArray'](i8)?BDFDB['readServerList']():i8){let ic=Node['prototype']['isPrototypeOf'](ib)?ib:ib&&ib['div']?ib['div']:null;let id=BDFDB['getReactValue'](ic,'return.stateNode.props.guild.id');if(id&&ia['isGuildOrCategoryOrChannelMuted'](id))i9['push'](ib);}return i9;};BDFDB['getSelectedServer']=function(){var ie=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(ie)return BDFDB['getServerData'](ie['id'])||Object['assign'](new ie['constructor'](ie),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(ig){if(!Node['prototype']['isPrototypeOf'](ig)||!BDFDB['getReactInstance'](ig))return;let ih=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],ig);if(!ih)return;var ii=ih['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var ij=ii&&ii['href']?ii['href']['split']('/')['slice'](-0x2)[0x0]:null;return ij&&!isNaN(parseInt(ij))?ij['toString']():null;};BDFDB['getServerDiv']=function(ik){if(!ik)return null;if(Node['prototype']['isPrototypeOf'](ik))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],ik);else{let il=typeof ik=='object'?ik['id']:ik;if(il)return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/'+il+'\x22]'));}return null;};BDFDB['getServerData']=function(im){if(!im)return null;let io=Node['prototype']['isPrototypeOf'](im)?BDFDB['getServerID'](im):typeof im=='object'?im['id']:im;io=typeof io=='number'?io['toFixed']():io;for(let ip of BDFDB['readServerList']())if(ip&&ip['id']==io)return ip;return null;};BDFDB['readChannelList']=function(){var iq=[],ir=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let is in ir)if(ir[is]['props']&&!ir[is]['props']['ispin']&&ir[is]['props']['channel']&&ir[is]['_reactInternalFiber']['return']){var it=BDFDB['React']['findDOMNodeSafe'](ir[is]);it=it&&BDFDB['containsClass'](it['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?it['parentElement']:it;iq['push'](Object['assign'](new ir[is]['props']['channel']['constructor'](ir[is]['props']['channel']),{'div':it,'instance':ir[is]}));}return iq;};BDFDB['getSelectedChannel']=function(){var iu=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(iu)return BDFDB['getChannelData'](iu['id'])||Object['assign'](new iu['constructor'](iu),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(iv){if(!Node['prototype']['isPrototypeOf'](iv)||!BDFDB['getReactInstance'](iv))return;iv=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],iv);if(!iv)return;var iw=BDFDB['getKeyInformation']({'node':iv,'key':'channel'});return iw?iw['id']['toString']():null;};BDFDB['getChannelDiv']=function(ix){if(!ix)return null;let iy=BDFDB['getChannelData'](ix);return iy?iy['div']:null;};BDFDB['getChannelData']=function(iz){if(!iz)return null;let iA=Node['prototype']['isPrototypeOf'](iz)?BDFDB['getChannelID'](iz):typeof iz=='object'?iz['id']:iz;iA=typeof iA=='number'?iA['toFixed']():iA;for(let iB of BDFDB['readChannelList']())if(iB&&iB['id']==iA)return iB;return null;};BDFDB['readDmList']=function(){var iC=[],iD=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iE in iD)if(iD[iE]['props']&&iD[iE]['props']['channel']&&iD[iE]['_reactInternalFiber']['child'])iC['push'](Object['assign'](new iD[iE]['props']['channel']['constructor'](iD[iE]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](iD[iE]),'instance':iD[iE]}));return iC;};BDFDB['getDmID']=function(iF){if(!Node['prototype']['isPrototypeOf'](iF)||!BDFDB['getReactInstance'](iF))return;let iG=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iF);if(!iG)return;var iH=iG['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var iI=iH&&iH['href']?iH['href']['split']('/')['slice'](-0x1)[0x0]:null;return iI&&!isNaN(parseInt(iI))?iI['toString']():null;};BDFDB['getDmDiv']=function(iJ){if(!iJ)return null;if(Node['prototype']['isPrototypeOf'](iJ)){var iK=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iJ);return iK?iK['parentElement']:iK;}else{let iL=typeof iJ=='object'?iJ['id']:iJ;if(iL){var iK=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['dmpill']+'\x20+\x20*\x20'+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+iL+'\x22]'));return iK&&BDFDB?iK['parentElement']:iK;}}return null;};BDFDB['getDmData']=function(iN){if(!iN)return null;let iO=Node['prototype']['isPrototypeOf'](iN)?BDFDB['getDmID'](iN):typeof iN=='object'?iN['id']:iN;iO=typeof iO=='number'?iO['toFixed']():iO;for(let iP of BDFDB['readDmList']())if(iP&&iP['id']==iO)return iP;return null;};BDFDB['markChannelAsRead']=function(iQ){if(!iQ)return;var iR=BDFDB['WebModules']['findByProperties']('getOldestUnreadMessageId');var iS=BDFDB['WebModules']['findByProperties']('ack','localAck');if(!iR||!iS)return;for(let iT of Array['isArray'](iQ)?iQ:typeof iQ=='string'||typeof iQ=='number'?Array['of'](iQ):Array['from'](iQ)){let iU=Node['prototype']['isPrototypeOf'](iT)?BDFDB['getChannelID'](iT)||BDFDB['getDmID'](iT):iT&&typeof iT=='object'?iT['id']:iT;if(iU){let iV=iR['getOldestUnreadMessageId'](iU);if(iV)iS['ack'](iU,!![],!![]);}}};BDFDB['markGuildAsRead']=function(iW){if(!iW)return;var iX=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!iX)return;for(let iY of Array['isArray'](iW)?iW:typeof iW=='string'||typeof iW=='number'?Array['of'](iW):Array['from'](iW)){let iZ=Node['prototype']['isPrototypeOf'](iY)?BDFDB['getServerID'](iY):iY&&typeof iY=='object'?iY['id']:iY;if(iZ)iX['markGuildAsRead'](iZ);}};BDFDB['saveAllData']=function(j0,j1,j2){var j3=require('fs'),j4,j5;if(!BDFDB['isBDv2']()){j5=typeof j1==='string'?j1:j1['name'];j4=require('path')['join'](BDFDB['getPluginsFolder'](),j5+'.config.json');}else{j5=typeof j1==='string'?j1['toLowerCase']():null;var j6=j5?BDFDB['Plugins'][j5]?BDFDB['Plugins'][j5]['contentPath']:null:j1['contentPath'];if(!j6)return;j4=require('path')['join'](j6,'settings.json');}var j7=j3['existsSync'](j4);var j8=!j7?{}:typeof BDFDB['cachedData'][j5]!=='undefined'?BDFDB['cachedData'][j5]:BDFDB['readConfig'](j4);j8[j2]=j0;if(BDFDB['isObjectEmpty'](j8[j2]))delete j8[j2];if(BDFDB['isObjectEmpty'](j8)){delete BDFDB['cachedData'][j5];if(j7)j3['unlinkSync'](j4);}else{BDFDB['cachedData'][j5]=j8;j3['writeFileSync'](j4,JSON['stringify'](j8,null,'\x09'));}};BDFDB['loadAllData']=function(j9,ja){var jb=require('fs'),jc,jd;if(!BDFDB['isBDv2']()){jd=typeof j9==='string'?j9:j9['name'];jc=require('path')['join'](BDFDB['getPluginsFolder'](),jd+'.config.json');}else{jd=typeof j9==='string'?j9['toLowerCase']():null;var je=jd?BDFDB['Plugins'][jd]?BDFDB['Plugins'][jd]['contentPath']:null:j9['contentPath'];if(!je)return{};jc=require('path')['join'](je,'settings.json');}if(!jb['existsSync'](jc)){delete BDFDB['cachedData'][jd];return{};}var jf=typeof BDFDB['cachedData'][jd]!=='undefined'?BDFDB['cachedData'][jd]:BDFDB['readConfig'](jc);BDFDB['cachedData'][jd]=jf;return jf&&typeof jf[ja]!=='undefined'?jf[ja]:{};};BDFDB['removeAllData']=function(jg,jh){var ji=require('fs'),jj,jk;if(!BDFDB['isBDv2']()){jk=typeof jg==='string'?jg:jg['name'];jj=require('path')['join'](BDFDB['getPluginsFolder'](),jk+'.config.json');}else{jk=typeof jg==='string'?jg['toLowerCase']():null;var jl=jk?BDFDB['Plugins'][jk]?BDFDB['Plugins'][jk]['contentPath']:null:jg['contentPath'];if(!jl)return;jj=require('path')['join'](jl,'settings.json');}var jm=ji['existsSync'](jj);var jn=!jm?{}:typeof BDFDB['cachedData'][jk]!=='undefined'?BDFDB['cachedData'][jk]:BDFDB['readConfig'](jj);delete jn[jh];if(BDFDB['isObjectEmpty'](jn)){delete BDFDB['cachedData'][jk];if(jm)ji['unlinkSync'](jj);}else{BDFDB['cachedData'][jk]=jn;ji['writeFileSync'](jj,JSON['stringify'](jn,null,'\x09'));}};BDFDB['getAllData']=function(jo,jp){if(!BDFDB['isObject'](jo)||!jo['defaults']||!jo['defaults'][jp])return{};var jq=BDFDB['loadAllData'](jo,jp),jr={},js=![];for(let jt in jo['defaults'][jp]){if(jq[jt]==null){jr[jt]=jo['defaults'][jp][jt]['value'];js=!![];}else jr[jt]=jq[jt];}if(js)BDFDB['saveAllData'](jr,jo,jp);return jr;};BDFDB['readConfig']=function(ju){try{return JSON['parse'](require('fs')['readFileSync'](ju));}catch(jv){return{};}};BDFDB['saveData']=function(jw,jx,jy,jz){var jA=BDFDB['loadAllData'](jy,jz);jA[jw]=jx;BDFDB['saveAllData'](jA,jy,jz);};BDFDB['loadData']=function(jB,jC,jD){var jE=BDFDB['loadAllData'](jC,jD);var jF=jE[jB];return jF===undefined?null:jF;};BDFDB['removeData']=function(jG,jH,jI){var jJ=BDFDB['loadAllData'](jH,jI);delete jJ[jG];BDFDB['saveAllData'](jJ,jH,jI);};BDFDB['getData']=function(jK,jL,jM){var jN=BDFDB['getAllData'](jL,jM);var jO=jN[jK];return jO===undefined?null:jO;};BDFDB['appendWebScript']=function(jP,jQ){if(!jQ&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jQ=jQ||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];jQ=Node['prototype']['isPrototypeOf'](jQ)?jQ:document['head'];BDFDB['removeWebScript'](jP,jQ);jQ['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(jR,jS){jS=jS||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];jS=Node['prototype']['isPrototypeOf'](jS)?jS:document['head'];BDFDB['removeEles'](jS['querySelectorAll']('script[src=\x22'+jR+'\x22]'));};BDFDB['appendWebStyle']=function(jT,jU){if(!jU&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jU=jU||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];jU=Node['prototype']['isPrototypeOf'](jU)?jU:document['head'];BDFDB['removeWebStyle'](jT,jU);jU['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(jV,jW){jW=jW||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];jW=Node['prototype']['isPrototypeOf'](jW)?jW:document['head'];BDFDB['removeEles'](jW['querySelectorAll']('link[href=\x22'+jV+'\x22]'));};BDFDB['appendLocalStyle']=function(jX,jY,jZ){if(!jZ&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));jZ=jZ||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];jZ=Node['prototype']['isPrototypeOf'](jZ)?jZ:document['head'];BDFDB['removeLocalStyle'](jX,jZ);jZ['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(k0,k1){k1=k1||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];k1=Node['prototype']['isPrototypeOf'](k1)?k1:document['head'];BDFDB['removeEles'](k1['querySelectorAll']('style[id=\x22'+k0+'CSS\x22]'));};BDFDB['formatBytes']=function(k2,k3){k2=parseInt(k2);if(isNaN(k2)||k2<0x0)return'0\x20Bytes';if(k2==0x1)return'1\x20Byte';var k4=Math['floor'](Math['log'](k2)/Math['log'](0x400));return parseFloat((k2/Math['pow'](0x400,k4))['toFixed'](k3<0x1?0x0:k3>0x14?0x14:k3||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][k4];};BDFDB['colorCONVERT']=function(k5,k6,k7){if(!k5)return null;k6=k6===undefined||!k6?k6='RGBCOMP':k6['toUpperCase']();k7=k7===undefined||!k7||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](k7['toUpperCase']())?BDFDB['colorTYPE'](k5):k7['toUpperCase']();if(k6=='RGBCOMP'){switch(k7){case'RGBCOMP':if(k5['length']==0x3)return kH(k5);else if(k5['length']==0x4){var k8=kK(k5['pop']());return kH(k5)['concat'](k8);}case'RGB':return kH(k5['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var k9=k5['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var k8=kK(k9['pop']());return kH(k9)['concat'](k8);case'HSLCOMP':if(k5['length']==0x3)return BDFDB['colorCONVERT']('hsl('+k5['join'](',')+')','RGBCOMP');else if(k5['length']==0x4){var k8=kK(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](k8);}case'HSL':var kc=kO(k5['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var kd,ke,kf,kg,kh,ki,kj,kk;var kl=kc[0x0]/0x168,km=parseInt(kc[0x1])/0x64,kn=parseInt(kc[0x2])/0x64;kg=Math['floor'](kl*0x6);kh=kl*0x6-kg;ki=kn*(0x1-km);kj=kn*(0x1-kh*km);kk=kn*(0x1-(0x1-kh)*km);switch(kg%0x6){case 0x0:kd=kn,ke=kk,kf=ki;break;case 0x1:kd=kj,ke=kn,kf=ki;break;case 0x2:kd=ki,ke=kn,kf=kk;break;case 0x3:kd=ki,ke=kj,kf=kn;break;case 0x4:kd=kk,ke=ki,kf=kn;break;case 0x5:kd=kn,ke=ki,kf=kj;break;}return[Math['round'](kd*0xff),Math['round'](ke*0xff),Math['round'](kf*0xff)];case'HSLA':var kc=k5['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var k8=kK(kc['pop']());return BDFDB['colorCONVERT']('hsl('+kc['join'](',')+')','RGBCOMP')['concat'](k8);case'HEX':var kq=/^#([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'](k5);return[parseInt(kq[0x1]+kq[0x1]||kq[0x4],0x10)['toString'](),parseInt(kq[0x2]+kq[0x2]||kq[0x5],0x10)['toString'](),parseInt(kq[0x3]+kq[0x3]||kq[0x6],0x10)['toString']()];default:return null;}}else{var kr=k7=='RGBCOMP'?k5:BDFDB['colorCONVERT'](k5,'RGBCOMP',k7);if(kr)switch(k6){case'RGB':return'rgb('+kH(kr['slice'](0x0,0x3))['join'](',')+')';case'RGBA':kr=kr['slice'](0x0,0x4);var k8=kr['length']==0x4?kK(kr['pop']()):0x1;return'rgba('+kH(kr)['concat'](k8)['join'](',')+')';case'HSLCOMP':var k8=kr['length']==0x4?kK(kr['pop']()):null;var kc=kO(BDFDB['colorCONVERT'](kr,'HSL')['replace'](/\s/g,'')['split'](','));return k8?kc['concat'](k8):kc;case'HSL':var kd=kF(kr[0x0]),ke=kF(kr[0x1]),kf=kF(kr[0x2]);var ky=Math['max'](kd,ke,kf),kz=Math['min'](kd,ke,kf),kA=ky-kz,kl,km=ky===0x0?0x0:kA/ky,kn=ky/0xff;switch(ky){case kz:kl=0x0;break;case kd:kl=ke-kf+kA*(ke0xff?0xff:kh<0x0?0x0:kh;};function kH(k9){return k9['map'](kh=>{return kF(kh);});};function kK(k8){k8=k8['toString']();k8=(k8['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(k8['replace'](/[^0-9\.\-]/g,''));return isNaN(k8)||k8>0x1?0x1:k8<0x0?0x0:k8;};function kM(kN){kN=parseFloat(kN['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(kN)||kN>0x64?0x64:kN<0x0?0x0:kN)+'%';};function kO(k9){let kl=parseFloat(k9['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));kl=isNaN(kl)||kl>0x168?0x168:kl<0x0?0x0:kl;return[kl]['concat'](k9['map'](kR=>{return kM(kR);}));};};BDFDB['colorSETALPHA']=function(kS,kT,kU){var kV=BDFDB['colorCONVERT'](kS,'RGBCOMP');if(kV){kT=kT['toString']();kT=(kT['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kT['replace'](/[^0-9\.\-]/g,''));kT=isNaN(kT)||kT>0x1?0x1:kT<0x0?0x0:kT;kV[0x3]=kT;kU=(kU||BDFDB['colorTYPE'](kS))['toUpperCase']();kU=kU=='HSL'||kU=='RGB'?kU+'A':kU;return BDFDB['colorCONVERT'](kV,kU);}return null;};BDFDB['colorCHANGE']=function(kW,kX,kY){kX=parseFloat(kX);if(kW&&typeof kX=='number'&&!isNaN(kX)){var kZ=BDFDB['colorCONVERT'](kW,'RGBCOMP');if(kZ){if(parseInt(kX)!==kX){kX=kX['toString']();kX=(kX['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kX['replace'](/[^0-9\.\-]/g,''));kX=isNaN(kX)?0x0:kX;return BDFDB['colorCONVERT']([Math['round'](kZ[0x0]*(0x1+kX)),Math['round'](kZ[0x1]*(0x1+kX)),Math['round'](kZ[0x2]*(0x1+kX))],kY||BDFDB['colorTYPE'](kW));}else return BDFDB['colorCONVERT']([Math['round'](kZ[0x0]+kX),Math['round'](kZ[0x1]+kX),Math['round'](kZ[0x2]+kX)],kY||BDFDB['colorTYPE'](kW));}}return null;};BDFDB['colorINV']=function(l0,l1){if(l0){var l2=BDFDB['colorCONVERT'](l0,'RGBCOMP');if(l2)return BDFDB['colorCONVERT']([0xff-l2[0x0],0xff-l2[0x1],0xff-l2[0x2]],l1||BDFDB['colorTYPE'](l0));}return null;};BDFDB['colorCOMPARE']=function(l3,l4){if(l3&&l4){l3=BDFDB['colorCONVERT'](l3,'RGBCOMP');l4=BDFDB['colorCONVERT'](l4,'RGBCOMP');if(l3&&l4)return BDFDB['equals'](l3,l4);}return null;};BDFDB['colorISBRIGHT']=function(l5,l6=0xa0){l5=BDFDB['colorCONVERT'](l5,'RGBCOMP');if(!l5)return![];return parseInt(l6)