diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 9d1c151717..dbca41989e 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);if(global['BDFDB']&&typeof BDFDB['killObservers']=='function')BDFDB['killObservers'](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'};(()=>{var c=Math['round'](Math['random']()*0x2386f26fc10000);BDFDB['id']=c;console['log']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','loading\x20library.');BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};BDFDB['loadMessage']=function(d){BDFDB['clearStarttimout'](d);d['name']=d['name']||(typeof d['getName']=='function'?d['getName']():null);d['version']=d['version']||(typeof d['getVersion']=='function'?d['getVersion']():null);d['author']=d['author']||(typeof d['getAuthor']=='function'?d['getAuthor']():null);d['description']=d['description']||(typeof d['getDescription']=='function'?d['getDescription']():null);var e=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+d['version']);console['log']('%c['+d['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',e);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](d['name']+'\x20'+e,{'nopointer':!![],'selector':'plugin-started-toast'});var f=typeof d['getRawUrl']=='function'&&typeof d['getRawUrl']()=='string'?d['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+d['name']+'/'+d['name']+'.plugin.js';BDFDB['checkUpdate'](d['name'],f);if(typeof d['initConstructor']==='function'){try{d['initConstructor']();}catch(g){console['error']('%c['+d['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20initiate\x20constructor!\x20'+g);}}if(typeof d['css']==='string')BDFDB['appendLocalStyle'](d['name'],d['css']);BDFDB['WebModules']['patchModules'](d);BDFDB['addOnSwitchListener'](d);BDFDB['addSettingsButtonListener'](d);BDFDB['addContextListener'](d);BDFDB['translatePlugin'](d);BDFDB['checkChangeLog'](d);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][f]={'name':d['name'],'raw':f,'version':d['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);d['started']=!![];for(let h in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][h]['started']&&typeof BDFDB['myPlugins'][h]['initialize']=='function')BDFDB['myPlugins'][h]['initialize']();};BDFDB['unloadMessage']=function(i){BDFDB['clearStarttimout'](i);delete BDFDB['myPlugins'][i['name']];var j=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+i['version']);console['log']('%c['+i['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',j);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](i['name']+'\x20'+j,{'nopointer':!![],'selector':'plugin-stopped-toast'});var k=typeof i['getRawUrl']=='function'&&typeof i['getRawUrl']()=='string'?i['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+i['name']+'/'+i['name']+'.plugin.js';if(typeof i['css']==='string')BDFDB['removeLocalStyle'](i['name']);BDFDB['WebModules']['unpatchall'](i);BDFDB['removeOnSwitchListener'](i);BDFDB['removeSettingsButtonListener'](i);BDFDB['removeEventListener'](i);BDFDB['removeEles']('.'+i['name']+'-modal,\x20.'+i['name']['toLowerCase']()+'-modal,\x20.'+i['name']+'-settingsmodal,\x20.'+i['name']['toLowerCase']()+'-settingsmodal');BDFDB['killObservers'](i);delete window['PluginUpdates']['plugins'][k];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete i['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'];}if(q['libLoadTimeout']){clearTimeout(q['libLoadTimeout']);delete q['libLoadTimeout'];}};BDFDB['checkChangeLog']=function(r){if(!BDFDB['isObject'](r)||!r['changelog'])return;var s=BDFDB['loadAllData'](r,'changelog');if(!s['currentversion']||BDFDB['checkVersions'](r['version'],s['currentversion'])){s['currentversion']=r['version'];var t='';var u={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let v in r['changelog']){v=v['toLowerCase']();var w=BDFDB['disCN']['changelog'+v];if(w){t+='
'+u[v]+'
';for(let x of r['changelog'][v])t+='- '+x[0x0]+''+(x[0x1]?':\x20'+x[0x1]+'.':'')+'
';t+='
';}}if(t)BDFDB['removeEles'](BDFDB['openConfirmModal'](r,t,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](s,r,'changelog');}};BDFDB['addObserver']=function(y,z,A,B={'childList':!![]}){if(!BDFDB['isObject'](y)||!z||!A)return;if(BDFDB['isObjectEmpty'](y['observers']))y['observers']={};if(!Array['isArray'](y['observers'][A['name']]))y['observers'][A['name']]=[];if(!A['multi'])for(let C of y['observers'][A['name']])C['disconnect']();if(A['instance'])y['observers'][A['name']]['push'](A['instance']);var D=y['observers'][A['name']][y['observers'][A['name']]['length']-0x1];if(D){var E=Node['prototype']['isPrototypeOf'](z)?z:typeof z==='string'?document['querySelector'](z):null;if(E)D['observe'](E,B);}};BDFDB['killObservers']=function(F){if(!BDFDB['isObjectEmpty'](F['observers'])){for(let G in F['observers'])for(let H of F['observers'][G])H['disconnect']();delete F['observers'];}};BDFDB['addChildEventListener']=function(I,J,K,L){if(!Node['prototype']['isPrototypeOf'](I)||!J||!K||!K['trim']()||typeof L!='function')return;for(var M of J['trim']()['split']('\x20'))if(M){var N=L;if(M=='mouseenter'||M=='mouseleave')N=O=>{if(O['target']['matches'](K))L(O);};I['querySelectorAll'](K['trim']())['forEach'](P=>{P['addEventListener'](M,N,!![]);});}};BDFDB['addEventListener']=function(Q,R,S,T,U){if(!BDFDB['isObject'](Q)||!Node['prototype']['isPrototypeOf'](R)&&R!==window||!S)return;var V=typeof T=='function';var W=V?undefined:T;var X=V?T:U;if(typeof X!='function')return;BDFDB['removeEventListener'](Q,R,S,W);for(var Y of S['split']('\x20')){Y=Y['split']('.');var Z=Y['shift']()['toLowerCase']();if(!Z)return;var a0=Z;Z=Z=='mouseenter'||Z=='mouseleave'?'mouseover':Z;var a1=(Y['join']('.')||'')+Q['name'];if(!Array['isArray'](Q['listeners']))Q['listeners']=[];var a2=null;if(W){if(a0=='mouseenter'||a0=='mouseleave'){a2=a3=>{for(let a4 of a3['path'])if(typeof a4['matches']=='function'&&a4['matches'](W)&&!a4[a1+'BDFDB'+a0]){a4[a1+'BDFDB'+a0]=!![];if(a0=='mouseenter')X(BDFDB['copyEvent'](a3,a4));let a5=a6=>{if(a6['target']['contains'](a4)||a6['target']==a4||!a4['contains'](a6['target'])){if(a0=='mouseleave')X(BDFDB['copyEvent'](a3,a4));delete a4[a1+'BDFDB'+a0];document['removeEventListener']('mouseout',a5);}};document['addEventListener']('mouseout',a5);break;}};}else{a2=a7=>{for(let a8 of a7['path'])if(typeof a8['matches']=='function'&&a8['matches'](W)){X(BDFDB['copyEvent'](a7,a8));break;}};}}else a2=a9=>{X(BDFDB['copyEvent'](a9,R));};Q['listeners']['push']({'ele':R,'eventname':Z,'origeventname':a0,'namespace':a1,'selector':W,'eventcallback':a2});R['addEventListener'](Z,a2,!![]);}};BDFDB['copyEvent']=function(aa,ab){if(!aa||!aa['constructor']||!aa['type'])return aa;var ac=new aa['constructor'](aa['type'],aa);Object['defineProperty'](ac,'originalEvent',{'value':aa});Object['defineProperty'](ac,'which',{'value':aa['which']});Object['defineProperty'](ac,'keyCode',{'value':aa['keyCode']});Object['defineProperty'](ac,'path',{'value':aa['path']});Object['defineProperty'](ac,'relatedTarget',{'value':aa['relatedTarget']});Object['defineProperty'](ac,'srcElement',{'value':aa['srcElement']});Object['defineProperty'](ac,'target',{'value':aa['target']});Object['defineProperty'](ac,'toElement',{'value':aa['toElement']});if(ab)Object['defineProperty'](ac,'currentTarget',{'value':ab});return ac;};BDFDB['stopEvent']=function(ad){if(BDFDB['isObject'](ad)){if(typeof ad['preventDefault']=='function')ad['preventDefault']();if(typeof ad['stopPropagation']=='function')ad['stopPropagation']();if(typeof ad['stopImmediatePropagation']=='function')ad['stopImmediatePropagation']();if(BDFDB['isObject'](ad['originalEvent'])){if(typeof ad['originalEvent']['preventDefault']=='function')ad['originalEvent']['preventDefault']();if(typeof ad['originalEvent']['stopPropagation']=='function')ad['originalEvent']['stopPropagation']();if(typeof ad['originalEvent']['stopImmediatePropagation']=='function')ad['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(ae,af,ag='',ah){if(!BDFDB['isObject'](ae)||!Array['isArray'](ae['listeners']))return;if(Node['prototype']['isPrototypeOf'](af)||af===window){for(var ai of ag['split']('\x20')){ai=ai['split']('.');var aj=ai['shift']()['toLowerCase']();var ak=(ai['join']('.')||'')+ae['name'];for(let al of ae['listeners']){let am=[];if(al['ele']==af&&(!aj||al['origeventname']==aj)&&al['namespace']==ak&&(ah===undefined||al['selector']==ah)){af['removeEventListener'](al['eventname'],al['eventcallback'],!![]);am['push'](al);}if(am['length'])ae['listeners']=ae['listeners']['filter'](al=>{return am['indexOf'](al)<0x0;});}}}else if(!af){for(let ao of ae['listeners'])ao['ele']['removeEventListener'](ao['eventname'],ao['eventcallback'],!![]);ae['listeners']=[];}};BDFDB['checkUpdate']=function(ap,aq){if(BDFDB['isBDv2']())return;require('request')(aq,(ar,as,at)=>{if(ar)return;var au=at['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!au)return;if(BDFDB['checkVersionDifference'](au[0x0],window['PluginUpdates']['plugins'][aq]['version'])>0.2){BDFDB['showToast'](ap+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});BDFDB['downloadPlugin'](ap,aq);}else if(BDFDB['checkVersions'](au[0x0],window['PluginUpdates']['plugins'][aq]['version']))BDFDB['showUpdateNotice'](ap,aq);else BDFDB['removeUpdateNotice'](ap);});};BDFDB['checkVersions']=function(av,aw){if(!av||!aw)return!![];av=av['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](ax=>parseInt(ax))['filter'](ay=>(ay||ay==0x0)&&!isNaN(ay));aw=aw['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](az=>parseInt(az))['filter'](aA=>(aA||aA==0x0)&&!isNaN(aA));var aB=Math['max'](av['length'],aw['length']);if(!aB)return!![];if(av['length']>aw['length']){var aC=new Array(av['length']-aw['length']);for(let aD=0x0;aDaw[aI])return!![];}return![];};BDFDB['checkVersionDifference']=function(aJ,aK){if(!aJ||!aK)return![];aJ=aJ['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aL=>parseInt(aL))['filter'](aM=>(aM||aM==0x0)&&!isNaN(aM));aK=aK['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aN=>parseInt(aN))['filter'](aO=>(aO||aO==0x0)&&!isNaN(aO));var aP=Math['max'](aJ['length'],aK['length']);if(!aP)return![];if(aJ['length']>aK['length']){var aQ=new Array(aJ['length']-aK['length']);for(let aR=0x0;aR',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':'','customicon':''});b0['style']['setProperty']('display','block','important');b0['style']['setProperty']('visibility','visible','important');b0['style']['setProperty']('opacity','1','important');b0['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{BDFDB['removeEles']('.update-clickme-tooltip');});var b1=b0['querySelector'](BDFDB['dotCN']['noticebutton']);if(b1){BDFDB['toggleEles'](b1,!![]);b1['addEventListener']('click',()=>{window['location']['reload'](![]);});b1['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),b1,{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(b0){var b2=b0['querySelector']('#outdatedPlugins');if(b2&&!b2['querySelector']('#'+aY+'-notice')){if(b2['querySelector']('span'))b2['appendChild'](BDFDB['htmlToElement'](',\x20'));var b3=BDFDB['htmlToElement'](''+aY+'');b3['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aY,aZ);});b2['appendChild'](b3);if(!document['querySelector']('.update-clickme-tooltip'))BDFDB['createTooltip']('Click\x20us!',b2,{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};BDFDB['downloadPlugin']=function(b4,b5){require('request')(b5,(b6,b7,b8)=>{if(b6)return console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','','Unable\x20to\x20get\x20update\x20for\x20'+b4);BDFDB['creationTime']=0x0;var b9=b8['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);b9=b9['toString']()['replace'](/['"]/g,'');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),bdplugins[b4]?bdplugins[b4]['filename']:b5['split']('/')['slice'](-0x1)[0x0]),b8);BDFDB['showToast'](b4+'\x20v'+window['PluginUpdates']['plugins'][b5]['version']+'\x20has\x20been\x20replaced\x20by\x20'+b4+'\x20v'+b9+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var ba=document['querySelector']('#pluginNotice');if(ba){if(ba['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][b5]['version']=b9;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](b4))window['PluginUpdates']['downloaded']['push'](b4);}BDFDB['removeUpdateNotice'](b4,ba);}});};BDFDB['removeUpdateNotice']=function(bb,bc=document['querySelector']('#pluginNotice')){if(!bc)return;var bd=bc['querySelector']('#outdatedPlugins');if(bd){var be=bd['querySelector']('#'+bb+'-notice');if(be){var bf=be['nextSibling'];var bg=be['prevSibling'];if(bf&&BDFDB['containsClass'](bf,'separator'))bf['remove']();else if(bg&&BDFDB['containsClass'](bg,'separator'))bg['remove']();be['remove']();}if(!bd['querySelector']('span')){var bh=bc['querySelector'](BDFDB['dotCN']['noticebutton']);if(bh){bc['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](bh,![]);}else bc['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(bi,bj={}){var bk=document['querySelector']('.toasts,\x20.bd-toasts');if(!bk){var bl=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bm=bl?BDFDB['getRects'](bl):null;var bn=bl?bl['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bo=bm?bm['left']:0x136;var bp=bm?bn?bm['width']-BDFDB['getRects'](bn)['width']:bm['width']:window['outerWidth']-0x0;var bq=bl?bl['querySelector']('form'):null;var br=bq?BDFDB['getRects'](bq)['height']:0x50;bk=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](bk);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=bj;var bs=BDFDB['htmlToElement'](''+(html===!![]?bi:BDFDB['encodeToHTML'](bi))+'
');if(type){BDFDB['addClass'](bs,'toast-'+type);if(icon)BDFDB['addClass'](bs,'icon');}BDFDB['addClass'](bs,selector);bk['appendChild'](bs);bs['close']=()=>{if(document['contains'](bs)){BDFDB['addClass'](bs,'closing');setTimeout(()=>{bs['remove']();if(!bk['querySelectorAll']('.toast,\x20.bd-toast')['length'])bk['remove']();},0xbb8);}};if(nopointer)bs['style']['setProperty']('pointer-events','none','important');else bs['addEventListener']('click',bs['close']);setTimeout(()=>{bs['close']();},timeout>0x0?timeout:0x927c0);return bs;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bt,bu={}){var bv=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bt,'parsedoptions':bu});bw();};var bw=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bx=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bx)by(bx['parsedcontent'],bx['parsedoptions']);}};var by=(bz,bA)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var bB=bA['silent'];bA['silent']=bA['silent']||bA['sound']?!![]:![];var bC=new Notification(bz,bA);var bD=new Audio();var bE=setTimeout(()=>{bF();},bA['timeout']?bA['timeout']:0xbb8);if(typeof bA['click']=='function')bC['onclick']=()=>{clearTimeout(bE);bF();bA['click']();};if(!bB&&bA['sound']){bD['src']=bA['sound'];bD['play']();}var bF=()=>{bD['pause']();bC['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bw();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bv();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bG){if(bG==='granted')bv();});};BDFDB['createTooltip']=function(bH,bI,bJ={}){if(!bH||!bI||!Node['prototype']['isPrototypeOf'](bI)||!document['contains'](bI))return null;var bK=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bK)return null;var bL=document['querySelector']('.BDFDB-tooltips');if(!bL){bL=bK['cloneNode']();BDFDB['addClass'](bL,'BDFDB-tooltips');bK['parentElement']['insertBefore'](bL,bK['nextSibling']);}var c=Math['round'](Math['random']()*0x2386f26fc10000);var bN=BDFDB['htmlToElement']('');bN['anker']=bI;var bO=bN['firstElementChild']?bN['firstElementChild']:bN;if(bJ['id'])bN['id']=bJ['id']['split']('\x20')['join']('');if(bJ['selector'])BDFDB['addClass'](bN,bJ['selector']);if(bJ['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+c,bJ['css'],bL);if(bJ['style'])bO['style']=bJ['style'];if(bJ['html']===!![])bO['innerHTML']=bH;else bO['innerText']=bH;if(bJ['type']&&BDFDB['disCN']['tooltip'+bJ['type']['toLowerCase']()]){BDFDB['addClass'](bO,BDFDB['disCN']['tooltip'+bJ['type']['toLowerCase']()]);bO['appendChild'](BDFDB['htmlToElement'](''));}if(bO['style']['getPropertyValue']('border-color')&&(bO['style']['getPropertyValue']('background-color')||bO['style']['getPropertyValue']('background-image')))BDFDB['addClass'](bO,'tooltip-customcolor');else if(bJ['color']&&BDFDB['disCN']['tooltip'+bJ['color']['toLowerCase']()])BDFDB['addClass'](bO,BDFDB['disCN']['tooltip'+bJ['color']['toLowerCase']()]);else BDFDB['addClass'](bO,BDFDB['disCN']['tooltipblack']);bL['appendChild'](bN);if(!bJ['position']||bJ['type'])bJ['position']=bJ['type'];if(!bJ['position']||!['top','bottom','left','right']['includes'](bJ['position']['toLowerCase']()))bJ['position']='right';bN['position']=bJ['position']['toLowerCase']();BDFDB['updateTooltipPosition'](bN);var bP=()=>{bN['remove']();if(!bL['firstElementChild'])BDFDB['removeEles'](bL);};var bQ=new MutationObserver(bR=>{bR['forEach'](bS=>{var bT=Array['from'](bS['removedNodes']);var bU=bT['indexOf'](bN)>-0x1;var bV=bT['indexOf'](bI)>-0x1;var bW=bT['some'](bX=>bX['contains'](bI));if(bU||bV||bW){bQ['disconnect']();bP();bI['removeEventListener']('mouseleave',bP);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+c,bL);}});});bQ['observe'](document['body'],{'subtree':!![],'childList':!![]});bI['addEventListener']('mouseleave',bP);if(bJ['delay']){BDFDB['toggleEles'](bN);setTimeout(()=>{BDFDB['toggleEles'](bN);},bJ['delay']);}return bN;};BDFDB['updateTooltipPosition']=function(bY){if(!Node['prototype']['isPrototypeOf'](bY)||!Node['prototype']['isPrototypeOf'](bY['anker'])||!bY['position'])return;var bZ,c0,c1=BDFDB['getRects'](bY['anker']),c2=BDFDB['getRects'](bY),c3={'height':0x0,'width':0x0};var c4=bY['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c4)c3=BDFDB['getRects'](c4);switch(bY['position']){case'top':c0=c1['top']-c2['height']-c3['height']+0x2;bZ=c1['left']+(c1['width']-c2['width'])/0x2;break;case'bottom':c0=c1['top']+c1['height']+c3['height']-0x2;bZ=c1['left']+(c1['width']-c2['width'])/0x2;break;case'left':c0=c1['top']+(c1['height']-c2['height'])/0x2;bZ=c1['left']-c2['width']-c3['width']+0x2;break;case'right':c0=c1['top']+(c1['height']-c2['height'])/0x2;bZ=c1['left']+c1['width']+c3['width']-0x2;break;}bY['style']['setProperty']('top',c0+'px');bY['style']['setProperty']('left',bZ+'px');var c5=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),c2=BDFDB['getRects'](bY);var c7=bY['querySelector'](BDFDB['dotCN']['tooltippointer']);if(bY['position']=='top'||bY['position']=='bottom'){if(c2['left']<0x0){bY['style']['setProperty']('left','5px');c7['style']['setProperty']('margin-left',c2['left']-0xa+'px');}else{var c8=c5['width']-(c2['left']+c2['width']);if(c8<0x0){bY['style']['setProperty']('left',c5['width']-c2['width']-0x5+'px');c7['style']['setProperty']('margin-left',-0x1*c8+'px');}}}else if(bY['position']=='left'||bY['position']=='right'){if(c2['top']<0x0){bY['style']['setProperty']('top','5px');c7['style']['setProperty']('margin-top',c2['top']-0xa+'px');}else{var c9=c5['height']-(c2['top']+c2['height']);if(c9<0x0){bY['style']['setProperty']('top',c5['height']-c2['height']-0x5+'px');c7['style']['setProperty']('margin-top',-0x1*c9+'px');}}}};BDFDB['createNotificationsBar']=function(ca,cb={}){if(!ca)return;var cc=document['querySelector'](BDFDB['dotCN']['layers']);if(!cc)return;var c=Math['round'](Math['random']()*0x2386f26fc10000);var ce=BDFDB['htmlToElement']('');cc['parentElement']['insertBefore'](ce,cc);var cf=ce['querySelector']('.notice-message');if(cb['platform'])for(let cg of cb['platform']['split']('\x20'))if(sC['noticeicon'+cg]){let ch=BDFDB['htmlToElement']('');BDFDB['addClass'](ch,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](ch,BDFDB['disCN']['noticeicon']);ce['insertBefore'](ch,cf);}if(cb['customicon']){let ci=BDFDB['htmlToElement'](cb['customicon']);let ch=BDFDB['htmlToElement']('');if(ci['tagName']=='span'&&!ci['firstElementChild'])ch['style']['setProperty']('background','url('+cb['customicon']+')\x20center/cover\x20no-repeat');else ch['appendChild'](ci);BDFDB['addClass'](ch,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](ch,BDFDB['disCN']['noticeicon']);ce['insertBefore'](ch,cf);}if(cb['btn'])ce['appendChild'](BDFDB['htmlToElement'](''));if(cb['id'])ce['id']=cb['id']['split']('\x20')['join']('');if(cb['selector'])BDFDB['addClass'](ce,cb['selector']);if(cb['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+c,cb['css']);if(cb['style'])ce['style']=cb['style'];if(cb['html']===!![])cf['innerHTML']=ca;else{var ck=document['createElement']('a');var cl=[];for(let cm of ca['split']('\x20')){var cn=BDFDB['encodeToHTML'](cm);ck['href']=cm;cl['push'](ck['host']&&ck['host']!==window['location']['host']?'':cn);}cf['innerHTML']=cl['join']('\x20');}var co=null;if(cb['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(co=BDFDB['disCN']['notice'+cb['type']])BDFDB['addClass'](ce,co);if(cb['type']=='premium'){var cp=ce['querySelector'](BDFDB['dotCN']['noticebutton']);if(cp)BDFDB['addClass'](cp,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](cf,BDFDB['disCN']['noticepremiumtext']);ce['insertBefore'](BDFDB['htmlToElement'](''),cf);}}if(!co){var cq=BDFDB['colorCONVERT'](cb['color'],'RGBCOMP');if(cq){var cr=cq[0x0]>0xb4&&cq[0x1]>0xb4&&cq[0x2]>0xb4?'#000':'#FFF';var cs=BDFDB['colorCONVERT'](cq,'HEX');var ct=cq[0x0]>0xb4&&cq[0x1]>0xb4&&cq[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+c,'.BDFDB-notice.notice-'+c+'{background-color:'+cs+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20.notice-message\x20{color:'+cr+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cr+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](cr,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cs+'\x20!important;background-color:'+cr+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+ct+'\x20!important;}');}else BDFDB['addClass'](ce,BDFDB['disCN']['noticedefault']);}ce['style']['setProperty']('height','36px','important');ce['style']['setProperty']('min-width','70vw','important');ce['style']['setProperty']('left','unset','important');ce['style']['setProperty']('right','unset','important');let cu=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](ce))/0x2;ce['style']['setProperty']('left',cu+'px','important');ce['style']['setProperty']('right',cu+'px','important');ce['style']['setProperty']('min-width','unset','important');ce['style']['setProperty']('width','unset','important');ce['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cu*0x2+'px)','important');ce['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{ce['style']['setProperty']('overflow','hidden','important');ce['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+c);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+c);ce['remove']();},0x1f4);});return ce;};BDFDB['getDiscordFolder']=function(){var cv=BDFDB['getDiscordBuilt']();cv='discord'+(cv=='stable'?'':cv);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cv,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var cw=require('process');var cx=require('path');if(cw['env']['injDir'])return cx['resolve'](cw['env']['injDir'],'plugins/');switch(cw['platform']){case'win32':return cx['resolve'](cw['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return cx['resolve'](cw['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cw['env']['XDG_CONFIG_HOME'])return cx['resolve'](cw['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cx['resolve'](cw['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var cy=require('process');var cz=require('path');if(cy['env']['injDir'])return cz['resolve'](cy['env']['injDir'],'plugins/');switch(cy['platform']){case'win32':return cz['resolve'](cy['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cz['resolve'](cy['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cy['env']['XDG_CONFIG_HOME'])return cz['resolve'](cy['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cz['resolve'](cy['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cA=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cA)return;var cB=cA['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cB)return;var cC=cB['parentElement']['querySelector']('h2');if(cC&&cC['innerText']){let cD=cC['innerText']['toLowerCase']();if(cD==='plugins'||cD==='themes')return cD;}};BDFDB['checkAllUpdates']=function(){for(let cE in window['PluginUpdates']['plugins']){var cF=window['PluginUpdates']['plugins'][cE];BDFDB['checkUpdate'](cF['name'],cF['raw']);}};BDFDB['getLineOfString']=function(cG,cH){if(typeof cG!='string'||typeof cG!='string')return-0x1;let cI=cG['indexOf'](cH);if(cI<0x0)return-0x1;return cG['substring'](0x0,cI)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cJ,cK,cL){var cM={};if(cK===undefined||!cK)for(let cN of Object['keys'](cJ)['sort']())cM[cN]=cJ[cN];else{let cO=[];for(let cN in cJ)cO['push'](cJ[cN]);cO=BDFDB['sortArrayByKey'](cO,cK,cL);for(let cQ of cO)for(let cN in cJ)if(BDFDB['equals'](cQ,cJ[cN])){cM[cN]=cQ;break;}}return cM;};BDFDB['reverseObject']=function(cS,cT){var cU={};for(let cV of cT===undefined||!cT?Object['keys'](cS)['reverse']():Object['keys'](cS)['sort']()['reverse']())cU[cV]=cS[cV];return cU;};BDFDB['filterObject']=function(cW,cX){return Object['keys'](cW)['filter'](cY=>cX(cW[cY]))['reduce']((cZ,d0)=>(cZ[d0]=cW[d0],cZ),{});};BDFDB['isObject']=function(d1){return d1&&Object['prototype']['isPrototypeOf'](d1)&&!Array['prototype']['isPrototypeOf'](d1);};BDFDB['isObjectEmpty']=function(d2){return typeof d2!=='object'||Object['getOwnPropertyNames'](d2)['length']==0x0;};BDFDB['pushToObject']=function(d3,d4){if(BDFDB['isObject'](d3))d3[Object['keys'](d3)['length']]=d4;};BDFDB['mapObject']=function(d5,d6){if(BDFDB['isObject'](d5)&&typeof d6=='string'){var d7;for(let d8 in d5)d7[d8]=d5[d8][d6];}};BDFDB['deepAssign']=function(d9,...da){if(!da['length'])return d9;var db=da['shift']();if(BDFDB['isObject'](d9)&&BDFDB['isObject'](db)){for(var dc in db){if(BDFDB['isObject'](db[dc])){if(!d9[dc])Object['assign'](d9,{[dc]:{}});BDFDB['deepAssign'](d9[dc],db[dc]);}else Object['assign'](d9,{[dc]:db[dc]});}}return BDFDB['deepAssign'](d9,...da);};BDFDB['sortArrayByKey']=function(dd,de,df){if(df===undefined)df=null;return dd['sort'](function(dg,dh){var di=dg[de],dj=dh[de];if(di!==df)return didj?0x1:0x0;});};BDFDB['numSortArray']=function(dk,dl,dm){return dk['sort'](function(dn,dp){return dndp?0x1:0x0;});};BDFDB['removeFromArray']=function(dq,dr,ds=![]){if(!dq||!dr||!Array['isArray'](dq)||!dq['includes'](dr))return dq;if(!ds)dq['splice'](dq['indexOf'](dr),0x1);else while(dq['indexOf'](dr)>-0x1)dq['splice'](dq['indexOf'](dr),0x1);return dq;};BDFDB['getAllIndexes']=function(dt,du){var dv=[],dw=-0x1;while((dw=dt['indexOf'](du,dw+0x1))!==-0x1)dv['push'](dw);return dv;};BDFDB['removeCopiesFromArray']=function(dx){return[...new Set(dx)];};BDFDB['highlightText']=function(dy,dz){if(!dz||dz['length']<0x1)return dy;var dA=0x0,dB=dy,dC='',dD='';BDFDB['getAllIndexes'](dy['toUpperCase'](),dz['toUpperCase']())['forEach'](dE=>{var dF=dA*(dC['length']+dD['length']);dE=dE+dF;var dG=dE+dz['length'];var dH=[-0x1]['concat'](BDFDB['getAllIndexes'](dy['substring'](0x0,dE),'<'));var dI=[-0x1]['concat'](BDFDB['getAllIndexes'](dy['substring'](0x0,dE),'>'));if(dH[dH['length']-0x1]>dI[dI['length']-0x1])return;dy=dy['substring'](0x0,dE)+dC+dy['substring'](dE,dG)+dD+dy['substring'](dG);dA++;});return dy?dy:dB;};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 dJ=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dJ);var dK=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dK['name']+')';BDFDB['languages']['$discord']['id']=dK['id'];BDFDB['languages']['$discord']['ownlang']=dK['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dL=null;try{dL=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dM){try{dL=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dN){var dO=BDFDB['getDiscordVersion']();if(dO){dO=dO['split']('.');if(dO['length']==0x3&&!isNaN(dO=parseInt(dO[0x2])))dL=dO>0x12c?'stable':da>0xc8?'canary':'ptb';else dL='stable';}else dL='stable';}}BDFDB['getDiscordBuilt']['built']=dL;return dL;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dP=null;try{dP=require('electron')['remote']['app']['getVersion']();}catch(dQ){dQ='';}BDFDB['getDiscordBuilt']['version']=dP;return dP;}};BDFDB['getDiscordLanguage']=function(){var dR=document['querySelector']('html')['lang']||'en-US';var dS=dR['split']('-');var dT=dS[0x0];var dU=dS[0x1]||'';dR=dU&&dT['toUpperCase']()!==dU['toUpperCase']()?dT+'-'+dU:dT;return BDFDB['languages'][dR]||BDFDB['languages'][dT]||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 dV=BDFDB['getRects'](document['body']['firstElementChild']);var dW=Math['round'](0x64*window['outerWidth']/dV['width']);var dX=Math['round'](0x64*window['outerHeight']/dV['height']);return dWdZ['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(e0,e1){if(!e0||!e1)return null;let e2=Node['prototype']['isPrototypeOf'](e0)?BDFDB['getReactInstance'](e0):e0;if(!BDFDB['isObject'](e2))return null;let e3=e2;for(let e4 of e1['split']('.')['filter'](e5=>e5)){e3=e3[e4];if(e3==undefined)return null;}return e3;};BDFDB['getOwnerInstance']=function(e6){if(e6===undefined)return null;if(!e6['node']&&!e6['instance']||!e6['name']&&(!e6['props']||!Array['isArray'](e6['props'])))return null;var e7=e6['instance']||BDFDB['getReactInstance'](e6['node']);if(!e7)return null;e6['name']=e6['name']&&!Array['isArray'](e6['name'])?Array['of'](e6['name']):e6['name'];var e8=-0x1;var e9=e6['depth']===undefined?0xf:e6['depth'];var ea=e6['up']===undefined?![]:e6['up'];var eb=performance['now']();var ec=e6['time']===undefined?0x96:e6['time'];var ed=ea?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var ee={};var ef=ei(e7);if(e6['all']){for(let eg in ee){if(e6['group'])for(let e7 in ee[eg])delete ee[eg][e7]['BDFDBreactSearch'];else delete ee[eg]['BDFDBreactSearch'];}return ee;}else return ef;function ei(e7){e8++;if(!e7||Node['prototype']['isPrototypeOf'](e7)||BDFDB['getReactInstance'](e7)||e8>e9||performance['now']()-eb>ec)el=null;else{var ek=Object['getOwnPropertyNames'](e7);var el=null;for(let em=0x0;el==null&&eme7['type']['displayName']===eq['split']('\x20')[0x0]||e7['type']['name']===eq['split']('\x20')[0x0])||e6['props']&&e6['props']['every'](er=>ep[er]!==undefined)||e6['defaultProps']&&e6['defaultProps']['every'](es=>ep[es]!==undefined))){if(e6['all']===undefined||!e6['all'])el=ep;else if(e6['all']){if(e6['noCopies']===undefined||!e6['noCopies']||e6['noCopies']&&!ep['BDFDBreactSearch']){ep['BDFDBreactSearch']=!![];if(e6['group']){if(e6['name']&&e7['type']&&(e7['type']['displayName']||e7['type']['name'])){var et='Default';for(let eu of e6['name'])if(e7['type']['displayName']===eu['split']('\x20')[0x0]||e7['type']['name']===eu['split']('\x20')[0x0]){et=eu;break;}if(typeof ee[et]=='undefined')ee[et]={};BDFDB['pushToObject'](ee[et],ep);}}else BDFDB['pushToObject'](ee,ep);}}}if(el==null&&(typeof eo==='object'||typeof eo==='function')&&ed[en])el=ei(eo);}}e8--;return el;}};BDFDB['getKeyInformation']=function(ev){if(ev===undefined)return null;if(!ev['node']&&!ev['instance']||!ev['key'])return null;var ew=ev['instance']||BDFDB['getReactInstance'](ev['node']);if(!ew)return null;var ex=-0x1;var ey=ev['depth']===undefined?0xf:ev['depth'];var ez=performance['now']();var eA=ev['time']===undefined?0x96:ev['time'];var eB={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':ev['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':ev['up']?![]:!![],'return':ev['up']?!![]:![],'sibling':ev['up']?![]:!![],'firstEffect':!![]};var eC={'contextSection':!![]};if(typeof ev['whitelist']==='object')Object['assign'](eB,ev['whiteList']);if(typeof ev['blacklist']==='object')Object['assign'](eC,ev['blacklist']);var eD=[];var eE=eF(ew);if(ev['all'])return eD;else return eE;function eF(ew){ex++;if(!ew||Node['prototype']['isPrototypeOf'](ew)||BDFDB['getReactInstance'](ew)||ex>ey||performance['now']()-ez>eA)eI=null;else{var eH=Object['getOwnPropertyNames'](ew);var eI=null;for(let eJ=0x0;eI==null&&eJ{if(!eO['req']){const c='BDFDB-WebModules';const eQ=typeof window['webpackJsonp']=='function'?window['webpackJsonp']([],{[c]:(eR,eS,eQ)=>eS['default']=eQ},[c])['default']:window['webpackJsonp']['push']([[],{[c]:(eU,eV,eQ)=>eU['exports']=eQ},[[c]]]);delete eQ['m'][c];delete eQ['c'][c];eO['req']=eQ;}return eO['req'];};BDFDB['WebModules']={};BDFDB['WebModules']['find']=function(eX){var eY=eO();for(let eZ in eY['c'])if(eY['c']['hasOwnProperty'](eZ)){var f0=eY['c'][eZ]['exports'];if(f0&&f0['__esModule']&&f0['default']&&eX(f0['default']))return f0['default'];if(f0&&eX(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');}};var ff={};ff['AckUtils']=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');ff['APIModule']=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');ff['Animations']=BDFDB['WebModules']['findByProperties']('spring','decay');ff['BadgeUtils']=BDFDB['WebModules']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');ff['ChannelStore']=BDFDB['WebModules']['findByProperties']('getChannel','getChannels');ff['ContextMenuUtils']=BDFDB['WebModules']['findByProperties']('closeContextMenu','openContextMenu');ff['CurrentUserStore']=BDFDB['WebModules']['findByProperties']('getCurrentUser');ff['DirectMessageUtils']=BDFDB['WebModules']['findByProperties']('addRecipient','openPrivateChannel');ff['DiscordConstants']=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes');ff['GuildStore']=BDFDB['WebModules']['findByProperties']('getGuild','getGuilds');ff['GuildChannelStore']=BDFDB['WebModules']['findByProperties']('getChannels','getDefaultChannel');ff['GuildUtils']=BDFDB['WebModules']['findByProperties']('transitionToGuildSync');ff['IconUtils']=BDFDB['WebModules']['findByProperties']('getGuildIconURL','getGuildBannerURL');ff['InviteUtils']=BDFDB['WebModules']['findByProperties']('acceptInvite','createInvite');ff['LanguageStore']=BDFDB['WebModules']['findByProperties']('getLanguages','Messages');ff['LastChannelStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId');ff['LastGuildStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId');ff['MemberStore']=BDFDB['WebModules']['findByProperties']('getMember','getMembers');ff['MentionUtils']=BDFDB['WebModules']['findByProperties']('getMentionCount','getMentionCounts');ff['MessageStore']=BDFDB['WebModules']['findByProperties']('getMessage','getMessages');ff['MessageUtils']=BDFDB['WebModules']['findByProperties']('parse','isMentioned');ff['MutedUtils']=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');ff['PermissionUtils']=BDFDB['WebModules']['findByProperties']('getChannelPermissions','canUser');ff['SelectChannelUtils']=BDFDB['WebModules']['findByProperties']('selectChannel','selectPrivateChannel');ff['StatusUtils']=BDFDB['WebModules']['findByProperties']('getApplicationActivity','getStatus');ff['StreamingUtils']=BDFDB['WebModules']['findByProperties']('isStreaming');ff['UnreadUtils']=BDFDB['WebModules']['findByProperties']('hasUnread','getUnreadGuilds');ff['UserStore']=BDFDB['WebModules']['findByProperties']('getUser','getUsers');BDFDB['LibraryModules']=Object['assign']({},ff);ff['React']=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');ff['ReactDOM']=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(ff['React']&&ff['ReactDOM']){BDFDB['React']=Object['assign']({},ff['React'],ff['ReactDOM']);BDFDB['React']['findDOMNodeSafe']=function(fg){if(Node['prototype']['isPrototypeOf'](fg))return fg;if(!fg||!fg['updater']||typeof fg['updater']['isMounted']!=='function'||!fg['updater']['isMounted'](fg))return null;var fh=ff['ReactDOM']['findDOMNode'](fg)||BDFDB['getReactValue'](fg,'child.stateNode');return Node['prototype']['isPrototypeOf'](fh)?fh:null;};};var fi=ff['CurrentUserStore']['getCurrentUser']();BDFDB['myData']=new Proxy(fi||{},{'get':function(fj,fk){if(!fi)fi=ff['CurrentUserStore']['getCurrentUser']();return fi?fi[fk]:null;}});var fl=['before','instead','after'];var fm={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};var fn={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','ChannelMember':'member','CircleIconButton':'guildbuttoncontainer','EmojiPicker':'emojipicker','FriendsOnline':'friendsonline','FriendRow':'friendsrow','Guild':'guildcontainer','GuildHeader':'guildheader','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','NameTag':'nametag','SearchResults':'searchresultswrap','TypingUsers':'typing','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(fo,fp,fq,fr){if(!fo||!fp||!fq||!Object['keys'](fr)['some'](fs=>fl['includes'](fs)))return null;const ft=(typeof fq==='string'?fq:fq['name'])['toLowerCase']();const fu=(fv,fw)=>(...fx)=>{try{return fv(...fx);}catch(fy){console['error']('Error\x20occurred\x20in\x20'+fw,fy);}};if(!fo['BDFDBpatch'])fo['BDFDBpatch']={};fp=Array['isArray'](fp)?fp:Array['of'](fp);for(let fz of fp){if(!fo[fz])fo[fz]=()=>{};const fA=fo[fz];if(!fo['BDFDBpatch'][fz]){fo['BDFDBpatch'][fz]={};for(let fB of fl)fo['BDFDBpatch'][fz][fB]={};fo['BDFDBpatch'][fz]['originalMethod']=fA;fo[fz]=function(){const fC={'thisObject':this,'methodArguments':arguments,'originalMethod':fA,'originalMethodName':fz,'callOriginalMethod':()=>fC['returnValue']=fC['originalMethod']['apply'](fC['thisObject'],fC['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&fo['BDFDBpatch'][fz]){if(!BDFDB['isObjectEmpty'](fo['BDFDBpatch'][fz]['before']))for(let c in BDFDB['sortObject'](fo['BDFDBpatch'][fz]['before'])){fu(fo['BDFDBpatch'][fz]['before'][c],'`before`\x20callback\x20of\x20'+fo[fz]['displayName'])(fC);}if(BDFDB['isObjectEmpty'](fo['BDFDBpatch'][fz]['instead']))fC['callOriginalMethod']();else for(let c in BDFDB['sortObject'](fo['BDFDBpatch'][fz]['instead'])){const fF=fu(fo['BDFDBpatch'][fz]['instead'][c],'`instead`\x20callback\x20of\x20'+fo[fz]['displayName'])(fC);if(fF!==undefined)fC['returnValue']=fF;}if(!BDFDB['isObjectEmpty'](fo['BDFDBpatch'][fz]['after']))for(let c in BDFDB['sortObject'](fo['BDFDBpatch'][fz]['after'])){fu(fo['BDFDBpatch'][fz]['after'][c],'`after`\x20callback\x20of\x20'+fo[fz]['displayName'])(fC);}}else fC['callOriginalMethod']();return fC['returnValue'];};}for(let fH of fl)if(typeof fr[fH]=='function')fo['BDFDBpatch'][fz][fH][ft]=fr[fH];}const fI=()=>{BDFDB['WebModules']['unpatch'](fo,fp,fq);};if(fq&&typeof fq=='object'){if(!Array['isArray'](fq['patchCancels']))fq['patchCancels']=[];fq['patchCancels']['push'](fI);}return fI;};BDFDB['WebModules']['unpatch']=function(fJ,fK,fL){if(!fJ||!fJ['BDFDBpatch'])return;const fM=!fL?null:(typeof fL==='string'?fL:fL['name'])['toLowerCase']();fK=Array['isArray'](fK)?fK:Array['of'](fK);for(let fN of fK){if(fJ[fN]&&fJ['BDFDBpatch'][fN]){for(let fO of fl){if(fM)delete fJ['BDFDBpatch'][fN][fO][fM];else delete fJ['BDFDBpatch'][fN][fO];}var fP=!![];for(let fO of fl)if(!BDFDB['isObjectEmpty'](fJ['BDFDBpatch'][fN][fO]))fP=![];if(fP){fJ[fN]=fJ['BDFDBpatch'][fN]['originalMethod'];delete fJ['BDFDBpatch'][fN];if(BDFDB['isObjectEmpty'](fJ['BDFDBpatch']))delete fJ['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fR){if(BDFDB['isObject'](fR)&&Array['isArray'](fR['patchCancels']))for(let fS of fR['patchCancels'])fS();};BDFDB['WebModules']['forceAllUpdates']=function(fT,fU){fU=fU&&fm[fU]?fm[fU]+'\x20'+fU:fU;if(BDFDB['isObject'](fT)&&BDFDB['isObject'](fT['patchModules'])&&(!fU||fT['patchModules'][fU])){const fV=document['querySelector'](BDFDB['dotCN']['app']);const fW=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fV){var fX=[];for(let fY in fT['patchModules']){var fZ=Array['isArray'](fT['patchModules'][fY])?fT['patchModules'][fY]:Array['of'](fT['patchModules'][fY]);if(fZ['includes']('componentDidUpdate')||fZ['includes']('componentDidMount')||fZ['includes']('render'))fX['push'](fY);}fX=fU?fX['filter'](g0=>g0==fU):fX;if(fX['length']>0x0){const g1=BDFDB['getOwnerInstance']({'node':fV,'name':fX,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fY in g1)for(let g3 in g1[fY])BDFDB['WebModules']['initiateProcess'](fT,g1[fY][g3],fY,['componentDidUpdate','componentDidMount','render']);if(fW){const g4=BDFDB['getOwnerInstance']({'node':fW,'name':fX,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fY in g4)for(let g3 in g4[fY])BDFDB['WebModules']['initiateProcess'](fT,g4[fY][g3],fY,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(g7){if(BDFDB['isObject'](g7)&&BDFDB['isObject'](g7['patchModules'])){for(let g8 in g7['patchModules']){var g9=fm[g8];if(g9){g7['patchModules'][g9+'\x20'+g8]=g7['patchModules'][g8];delete g7['patchModules'][g8];if(!fn[g8])gc(BDFDB['WebModules']['findByName'](g9),g9+'\x20'+g8);}else if(!fn[g8])gc(BDFDB['WebModules']['findByName'](g8),g8);}for(let g8 in fn){var gb=fm[g8]?fm[g8]+'\x20'+g8:g8;if(sC[fn[g8]]&&g7['patchModules'][gb])gj(fn[g8],gb);}function gc(gd,g8){if(gd){var gb=g8['split']('\x20')[0x0];gd=gd['displayName']==gb?gd:BDFDB['getOwnerInstance']({'instance':gd,'name':gb,'up':!![]});if(gd){var gg=gd['_reactInternalFiber']&&gd['_reactInternalFiber']['type']?gd['_reactInternalFiber']['type']:gd;var gh={};gh[g7['name']=='$BDFDB'?'before':'after']=gi=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](g7,gi['thisObject'],g8,[gi['originalMethodName']]);};BDFDB['WebModules']['patch'](gg['prototype'],g7['patchModules'][g8],g7,gh);}}}function gj(gk,g8){var gm=![];const gn=document['querySelector'](BDFDB['dotCN']['app']);const go=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(gn){var gp=BDFDB['getOwnerInstance']({'node':gn,'name':g8,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gp){gm=!![];gc(gp,g8);}}if(!gm&&go){var gq=BDFDB['getOwnerInstance']({'node':go,'name':g8,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gq){gm=!![];gc(gq,g8);}}if(!gm){var gr=![],gs=new MutationObserver(gt=>{gt['forEach'](gu=>{gu['addedNodes']['forEach'](gv=>{var gw=null;if(!gr&&gv['tagName']&&(gw=BDFDB['containsClass'](gv,BDFDB['disCN'][gk])?gv:gv['querySelector'](BDFDB['dotCN'][gk]))!=null){instance=BDFDB['getReactInstance'](gw);if(gx(instance,g8)){gr=!![];gs['disconnect']();gc(instance,g8);BDFDB['WebModules']['forceAllUpdates'](g7,g8);}}});});});BDFDB['addObserver'](g7,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gs,'multi':!![]},{'childList':!![],'subtree':!![]});}}function gx(gy,g8){if(!gy)return![];gy=gy['displayName']==g8?gy:BDFDB['getOwnerInstance']({'instance':gy,'name':g8,'up':!![]});return gy&&(g8!='V2C_PluginCard'&&g8!='V2C_ThemeCard'||g8=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||g8=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gA,gB,gC,gD){if(BDFDB['isObject'](gA)&&gB){gA=gA['name']=='$BDFDB'?t6:gA;gC=(gC['split']('\x20')[0x1]||gC)['replace'](/[^A-z0-9]|_/g,'');gC=gC[0x0]['toUpperCase']()+gC['slice'](0x1);if(typeof gA['process'+gC]=='function'){var gE=BDFDB['React']['findDOMNodeSafe'](gB);if(gE)gA['process'+gC](gB,gE,gD);else setImmediate(()=>{gE=BDFDB['React']['findDOMNodeSafe'](gB);if(gE)gA['process'+gC](gB,gE,gD);});}}};BDFDB['addOnSwitchListener']=function(gF){if(typeof gF['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gF);var gG=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gG){var gH=new MutationObserver(gI=>{gI['forEach'](gJ=>{if(gJ['target']&&BDFDB['containsClass'](gJ['target'],BDFDB['disCN']['nochannel']))gF['onSwitch']();});});var gK=gG['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gK)gH['observe'](gK,{'attributes':!![]});gF['onSwitchFix']=new MutationObserver(gL=>{gL['forEach'](gM=>{if(gM['addedNodes']){gM['addedNodes']['forEach'](gN=>{if(BDFDB['containsClass'](gN,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gH['observe'](gN,{'attributes':!![]});});}});});gF['onSwitchFix']['observe'](gG,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gO){if(typeof gO['onSwitch']==='function'&&BDFDB['isObject'](gO['onSwitchFix'])){gO['onSwitchFix']['disconnect']();delete gO['onSwitchFix'];}};BDFDB['addContextListener']=function(gP){for(let gQ of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gP['on'+gQ+'Context']==='function'||typeof gP['on'+gQ+'ContextMenu']==='function'){if(gQ=='GroupDM'){var gR=![],gS=new MutationObserver(gT=>{gT['forEach'](gU=>{gU['addedNodes']['forEach'](gV=>{var gW=null;if(!gR&&gV['tagName']&&(gW=BDFDB['containsClass'](gV,BDFDB['disCN']['contextmenu'])?gV:gV['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gX=BDFDB['getReactInstance'](gW);if(gX&&gX['return']&&gX['return']['type']&&gX['return']['type']['displayName']==gQ+'ContextMenu'){gR=!![];gS['disconnect']();gY(gQ,gX['return']['type']);h2(gQ,gX['return']['stateNode'],gX['stateNode']);}}});});});BDFDB['addObserver'](gP,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gS,'multi':!![]},{'childList':!![],'subtree':!![]});}else gY(gQ,BDFDB['WebModules']['findByName'](gQ+'ContextMenu'));}}function gY(gQ,h0){if(h0&&h0['prototype'])BDFDB['WebModules']['patch'](h0['prototype'],'componentDidMount',gP,{'after':h1=>{h2(gQ,h1['thisObject'],BDFDB['React']['findDOMNodeSafe'](h1['thisObject']));}});}function h2(gQ,h4,h5){if(h4&&h5){if(typeof gP['on'+gQ+'Context']==='function')gP['on'+gQ+'Context'](h4,h5);if(typeof gP['on'+gQ+'ContextMenu']==='function')gP['on'+gQ+'ContextMenu'](h4,h5);BDFDB['initElements'](h5,gP);BDFDB['updateContextPosition'](h5);}}};BDFDB['addSettingsButtonListener']=function(h6){if(BDFDB['isBDv2']()&&typeof h6['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](h6);BDFDB['appendSettingsButton'](h6);var h7=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(h7){h6['settingsButtonObserver']=new MutationObserver(h8=>{h8['forEach'](h9=>{if(h9['addedNodes']){h9['addedNodes']['forEach'](ha=>{if(ha['tagName']&&BDFDB['containsClass'](ha,'active'))BDFDB['appendSettingsButton'](h6);});}});});h6['settingsButtonObserver']['observe'](h7,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(hb){var hc=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+hb['id']+']');if(hc){var hd=BDFDB['htmlToElement']('');hc['insertBefore'](hd,hc['querySelector'](BDFDB['d']['_bdv2button']));hd['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',hd,{'type':'top'});BDFDB['addClass'](hd,BDFDB['disCN']['_bdv2tooltipopen']);});hd['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](hd,BDFDB['disCN']['_bdv2tooltipopen']);});hd['addEventListener']('click',()=>{var he=BDFDB['htmlToElement'](''+hb['name']+'\x20Settings
');var hf=hb['getSettingsPanel']();he['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof hf=='string'?BDFDB['htmlToElement'](hf):hf);if(typeof hb['onSettingsClosed']==='function')BDFDB['addChildEventListener'](he,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{hb['onSettingsClosed']();});BDFDB['appendModal'](he);});}};BDFDB['removeSettingsButtonListener']=function(hg){if(BDFDB['isBDv2']()&&typeof hg['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+hg['id']+']\x20.BDFDB-settingsbutton');hg['settingsButtonObserver']['disconnect']();delete hg['settingsButtonObserver'];}};var hh={},hi=ff['LanguageStore']?Object['assign']({},ff['LanguageStore']['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(hi,{'get':function(hj,hk){var hl=ff['LanguageStore']['Messages'][hk];if(!hl)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hk+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var hm=typeof hl=='object'?hl['format'](Object['assign']({},hh)):hl;if(typeof hm=='string')return hm;else if(Array['isArray'](hm)){var hn='';for(let ho of hm){if(typeof ho=='string')hn+=BDFDB['encodeToHTML'](ho);else if(BDFDB['isObject'](ho)&&ho['props'])hn+='<'+ho['type']+'>'+BDFDB['encodeToHTML'](ho['props']['children'][0x0]['toString']())+''+ho['type']+'>';}return hn;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hk+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(hi,{'get':function(hp,hq){return ff['LanguageStore']['Messages'][hq];}});BDFDB['LanguageStringsFormat']=function(hr,hs){if(hr&&hs){var ht=ff['LanguageStore']['Messages'][hr];if(ht&&typeof ht=='object'&&typeof ht['format']=='function'){try{var hu={};for(let hv in hh)hu[hv]=hs;var hw=ht['format'](hu);if(typeof hw=='string')return hw;else if(Array['isArray'](hw)){var hx='';for(let hy of hw){if(typeof hy=='string')hx+=BDFDB['encodeToHTML'](hy);else if(BDFDB['isObject'](hy)&&hy['props'])hx+='<'+hy['type']+'>'+BDFDB['encodeToHTML'](hy['props']['children'][0x0]['toString']())+''+hy['type']+'>';}return hx;}}catch(hz){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hr+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hr+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hr+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(ff['LanguageStore'])for(let hA in hi){try{BDFDB['LanguageStrings'][hA];}catch(hB){let hC=hB['toString']()['split']('for:\x20')[0x1];if(hC&&typeof hC=='string'&&!hh[hC])hh[hC]='{{'+hC['toLowerCase']()+'}}';}};BDFDB['equals']=function(hD,hE,hF){var hG=-0x1;if(hF===undefined||typeof hF!=='boolean')hF=![];return hH(hD,hE);function hH(hI,hJ){hG++;var hK=!![];if(hG>0x3e8)hK=null;else{if(typeof hI!==typeof hJ)hK=![];else if(typeof hI==='undefined')hK=!![];else if(typeof hI==='symbol')hK=!![];else if(typeof hI==='boolean')hK=hI==hJ;else if(typeof hI==='string')hK=hI==hJ;else if(typeof hI==='number'){if(isNaN(hI)||isNaN(hJ))hK=isNaN(hI)==isNaN(hJ);else hK=hI==hJ;}else if(!hI&&!hJ)hK=!![];else if(!hI||!hJ)hK=![];else if(typeof hI==='function'||typeof hI==='object'){var hL=Object['getOwnPropertyNames'](hI);var hM=Object['getOwnPropertyNames'](hJ);if(hL['length']!==hM['length'])hK=![];else for(let hN=0x0;hK===!![]&&hNi2['length']?i5:i2['length'];};BDFDB['readServerList']=function(){var i6=[],i7=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':['Guild','GuildIcon'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let i8 in i7)if(i7[i8]['props']&&i7[i8]['props']['guild'])i6['push'](Object['assign'](new i7[i8]['props']['guild']['constructor'](i7[i8]['props']['guild']),{'div':i7[i8]['handleContextMenu']?BDFDB['React']['findDOMNodeSafe'](i7[i8]):BDFDB['createServerDivCopy'](i7[i8]['props']['guild']),'instance':i7[i8]}));return i6;};BDFDB['readUnreadServerList']=function(i9){var ia=[];for(let ib of i9===undefined||!Array['isArray'](i9)?BDFDB['readServerList']():i9){if(!ib)return null;let c=Node['prototype']['isPrototypeOf'](ib)?BDFDB['getServerID'](ib):typeof ib=='object'?ib['id']:ib;c=typeof c=='number'?c['toFixed']():c;if(c&&(ff['UnreadUtils']['hasUnread'](c)||ff['MentionUtils']['getMentionCount'](c)>0x0))ia['push'](ib);}return ia;};BDFDB['readMutedServerList']=function(id){var ie=[];for(let ig of id===undefined||!Array['isArray'](id)?BDFDB['readServerList']():id){if(!ig)return null;let c=Node['prototype']['isPrototypeOf'](ig)?BDFDB['getServerID'](ig):typeof ig=='object'?ig['id']:ig;c=typeof c=='number'?c['toFixed']():c;if(c&&ff['MutedUtils']['isGuildOrCategoryOrChannelMuted'](c))ie['push'](ig);}return ie;};BDFDB['getSelectedServer']=function(){var ii=ff['GuildStore']['getGuild'](ff['LastGuildStore']['getGuildId']());if(ii)return BDFDB['getServerData'](ii['id'])||Object['assign'](new ii['constructor'](ii),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(ij){if(!Node['prototype']['isPrototypeOf'](ij)||!BDFDB['getReactInstance'](ij))return;let ik=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],ij);if(!ik)return;var il=ik['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=il&&il['href']?il['href']['split']('/')['slice'](-0x2)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getServerDiv']=function(io){if(!io)return null;if(Node['prototype']['isPrototypeOf'](io))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],io);else{let c=typeof io=='object'?io['id']:io;if(c)return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/'+c+'\x22]'))||BDFDB['createServerDivCopy'](c,{'pill':!![],'hover':!![],'click':!![],'menu':!![]});}return null;};BDFDB['getServerData']=function(iq){if(!iq)return null;let c=Node['prototype']['isPrototypeOf'](iq)?BDFDB['getServerID'](iq):typeof iq=='object'?iq['id']:iq;c=typeof c=='number'?c['toFixed']():c;for(let is of BDFDB['readServerList']())if(is&&is['id']==c)return is;return null;};BDFDB['createServerDivCopy']=function(it,iu={'pill':![],'hover':![],'click':![],'menu':![],'size':null}){let c=typeof it=='object'?it['id']:it;let iw=c?ff['GuildStore']['getGuild'](c):null;if(iw){let ix=Math['round'](Math['random']()*0x2386f26fc10000);let iy=BDFDB['htmlToElement']('');let iz=iy['querySelector'](BDFDB['dotCN']['guildcontainer']);BDFDB['toggleEles'](iy['querySelector'](BDFDB['dotCN']['guildpillwrapper']),iu['pill']);if(iu['hover']){let iA=iy['querySelector'](BDFDB['dotCN']['guildiconwrapper']);let iB=iy['querySelector'](BDFDB['dotCN']['guildpillitem']);let iC=iB['style']['getPropertyValue']('opacity')!=0x0;let iD=new ff['Animations']['Value'](0x0);iD['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x32,0x1e]})['addListener'](iE=>{iz['style']['setProperty']('border-radius',iE['value']+'%');});let iF=new ff['Animations']['Value'](0x0);iF['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x8,0x14]})['addListener'](iG=>{iB['style']['setProperty']('height',iG['value']+'px');});let iH=new ff['Animations']['Value'](0x0);iH['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0.7]})['addListener'](iI=>{iB['style']['setProperty']('opacity',''+iI['value']);});let iJ=iK=>{ff['Animations']['parallel']([ff['Animations']['timing'](iD,{'toValue':iK,'duration':0xc8}),ff['Animations']['spring'](iF,{'toValue':iK,'friction':0x5})])['start']();};let iL=iM=>{ff['Animations']['parallel']([ff['Animations']['timing'](iH,{'toValue':iM,'duration':0xc8})])['start']();};iz['addEventListener']('mouseenter',()=>{iC=iB['style']['getPropertyValue']('opacity')!=0x0;if(ff['LastGuildStore']['getGuildId']()!=iw['id']){iJ(0x1);if(!iC)iL(0x1);}});iz['addEventListener']('mouseleave',()=>{if(ff['LastGuildStore']['getGuildId']()!=iw['id']){iJ(0x0);if(!iC)iL(0x0);}});}if(iu['click'])iz['addEventListener']('click',iN=>{BDFDB['stopEvent'](iN);ff['GuildUtils']['transitionToGuildSync'](iw['id']);if(typeof iu['click']=='function')iu['click']();});if(iu['menu'])iz['addEventListener']('contextmenu',iO=>{BDFDB['openGuildContextMenu'](iw['id'],iO);if(typeof iu['menu']=='function')iu['menu']();});if(iu['size']){iy['style']['setProperty']('margin','0','important');iy['style']['setProperty']('width',iu['size']+'px','important');iy['style']['setProperty']('height',iu['size']+'px','important');}return iy;}else return null;};BDFDB['openGuildContextMenu']=function(iP,iQ=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](iP)?BDFDB['getServerID'](iP):typeof iP=='object'?iP['id']:iP;let iS=ff['GuildStore']['getGuild'](c);if(iS)ff['ContextMenuUtils']['openContextMenu'](iQ,function(iQ){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('GuildContextMenu'),Object['assign']({},iQ,{'type':ff['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':iS,'badge':ff['MentionUtils']['getMentionCount'](iS['id']),'link':ff['DiscordConstants']['Routes']['CHANNEL'](iS['id'],ff['LastChannelStore']['getChannelId'](iS['id'])),'selected':iS['id']==ff['LastGuildStore']['getGuildId']()}));});};BDFDB['readChannelList']=function(){var iU=[],iV=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iW in iV)if(iV[iW]['props']&&!iV[iW]['props']['ispin']&&iV[iW]['props']['channel']&&iV[iW]['_reactInternalFiber']['return']){var iX=BDFDB['React']['findDOMNodeSafe'](iV[iW]);iX=iX&&BDFDB['containsClass'](iX['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?iX['parentElement']:iX;iU['push'](Object['assign'](new iV[iW]['props']['channel']['constructor'](iV[iW]['props']['channel']),{'div':iX,'instance':iV[iW]}));}return iU;};BDFDB['getSelectedChannel']=function(){var iY=ff['ChannelStore']['getChannel'](ff['LastChannelStore']['getChannelId']());if(iY)return BDFDB['getChannelData'](iY['id'])||Object['assign'](new iY['constructor'](iY),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(iZ){if(!Node['prototype']['isPrototypeOf'](iZ)||!BDFDB['getReactInstance'](iZ))return;iZ=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],iZ);if(!iZ)return;var j0=BDFDB['getKeyInformation']({'node':iZ,'key':'channel'});return j0?j0['id']['toString']():null;};BDFDB['getChannelDiv']=function(j1){if(!j1)return null;let j2=BDFDB['getChannelData'](j1);return j2?j2['div']:null;};BDFDB['getChannelData']=function(j3){if(!j3)return null;let c=Node['prototype']['isPrototypeOf'](j3)?BDFDB['getChannelID'](j3):typeof j3=='object'?j3['id']:j3;c=typeof c=='number'?c['toFixed']():c;for(let j5 of BDFDB['readChannelList']())if(j5&&j5['id']==c)return j5;return null;};BDFDB['readDmList']=function(){var j6=[],j7=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let j8 in j7)if(j7[j8]['props']&&j7[j8]['props']['channel']&&j7[j8]['_reactInternalFiber']['child'])j6['push'](Object['assign'](new j7[j8]['props']['channel']['constructor'](j7[j8]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](j7[j8]),'instance':j7[j8]}));return j6;};BDFDB['getDmID']=function(j9){if(!Node['prototype']['isPrototypeOf'](j9)||!BDFDB['getReactInstance'](j9))return;let ja=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],j9);if(!ja)return;var jb=ja['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=jb&&jb['href']?jb['href']['split']('/')['slice'](-0x1)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getDmDiv']=function(jd){if(!jd)return null;if(Node['prototype']['isPrototypeOf'](jd)){var je=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],jd);return je?je['parentElement']:je;}else{let c=typeof jd=='object'?jd['id']:jd;if(c){var je=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['dmpill']+'\x20+\x20*\x20'+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+c+'\x22]'));return je&&BDFDB?je['parentElement']:je;}}return null;};BDFDB['getDmData']=function(jh){if(!jh)return null;let c=Node['prototype']['isPrototypeOf'](jh)?BDFDB['getDmID'](jh):typeof jh=='object'?jh['id']:jh;c=typeof c=='number'?c['toFixed']():c;for(let jj of BDFDB['readDmList']())if(jj&&jj['id']==c)return jj;return null;};BDFDB['markChannelAsRead']=function(jk){if(!jk)return;var jl=[];for(let jm of jk=Array['isArray'](jk)?jk:typeof jk=='string'||typeof jk=='number'?Array['of'](jk):Array['from'](jk)){let c=Node['prototype']['isPrototypeOf'](jm)?BDFDB['getChannelID'](jm)||BDFDB['getDmID'](jm):jm&&typeof jm=='object'?jm['id']:jm;if(c)jl['push'](c);}if(jl['length']>0x0)ff['AckUtils']['bulkAck'](jl);};BDFDB['markGuildAsRead']=function(jo){if(!jo)return;var jp=[];for(let jq of Array['isArray'](jo)?jo:typeof jo=='string'||typeof jo=='number'?Array['of'](jo):Array['from'](jo)){let c=Node['prototype']['isPrototypeOf'](jq)?BDFDB['getServerID'](jq):jq&&typeof jq=='object'?jq['id']:jq;let js=c?ff['GuildChannelStore']['getChannels'](c):null;if(js)for(let jt in js)if(Array['isArray'](js[jt]))for(let ju of js[jt])jp['push'](ju['channel']['id']);}if(jp['length']>0x0)ff['AckUtils']['bulkAck'](jp);};BDFDB['saveAllData']=function(jv,jw,jx){var jy=require('fs'),jz,jA;if(!BDFDB['isBDv2']()){jA=typeof jw==='string'?jw:jw['name'];jz=require('path')['join'](BDFDB['getPluginsFolder'](),jA+'.config.json');}else{jA=typeof jw==='string'?jw['toLowerCase']():null;var jB=jA?BDFDB['Plugins'][jA]?BDFDB['Plugins'][jA]['contentPath']:null:jw['contentPath'];if(!jB)return;jz=require('path')['join'](jB,'settings.json');}var jC=jy['existsSync'](jz);var jD=!jC?{}:typeof BDFDB['cachedData'][jA]!=='undefined'?BDFDB['cachedData'][jA]:BDFDB['readConfig'](jz);jD[jx]=jv;if(BDFDB['isObjectEmpty'](jD[jx]))delete jD[jx];if(BDFDB['isObjectEmpty'](jD)){delete BDFDB['cachedData'][jA];if(jC)jy['unlinkSync'](jz);}else{BDFDB['cachedData'][jA]=jD;jy['writeFileSync'](jz,JSON['stringify'](jD,null,'\x09'));}};BDFDB['loadAllData']=function(jE,jF){var jG=require('fs'),jH,jI;if(!BDFDB['isBDv2']()){jI=typeof jE==='string'?jE:jE['name'];jH=require('path')['join'](BDFDB['getPluginsFolder'](),jI+'.config.json');}else{jI=typeof jE==='string'?jE['toLowerCase']():null;var jJ=jI?BDFDB['Plugins'][jI]?BDFDB['Plugins'][jI]['contentPath']:null:jE['contentPath'];if(!jJ)return{};jH=require('path')['join'](jJ,'settings.json');}if(!jG['existsSync'](jH)){delete BDFDB['cachedData'][jI];return{};}var jK=typeof BDFDB['cachedData'][jI]!=='undefined'?BDFDB['cachedData'][jI]:BDFDB['readConfig'](jH);BDFDB['cachedData'][jI]=jK;return jK&&typeof jK[jF]!=='undefined'?jK[jF]:{};};BDFDB['removeAllData']=function(jL,jM){var jN=require('fs'),jO,jP;if(!BDFDB['isBDv2']()){jP=typeof jL==='string'?jL:jL['name'];jO=require('path')['join'](BDFDB['getPluginsFolder'](),jP+'.config.json');}else{jP=typeof jL==='string'?jL['toLowerCase']():null;var jQ=jP?BDFDB['Plugins'][jP]?BDFDB['Plugins'][jP]['contentPath']:null:jL['contentPath'];if(!jQ)return;jO=require('path')['join'](jQ,'settings.json');}var jR=jN['existsSync'](jO);var jS=!jR?{}:typeof BDFDB['cachedData'][jP]!=='undefined'?BDFDB['cachedData'][jP]:BDFDB['readConfig'](jO);delete jS[jM];if(BDFDB['isObjectEmpty'](jS)){delete BDFDB['cachedData'][jP];if(jR)jN['unlinkSync'](jO);}else{BDFDB['cachedData'][jP]=jS;jN['writeFileSync'](jO,JSON['stringify'](jS,null,'\x09'));}};BDFDB['getAllData']=function(jT,jU){if(!BDFDB['isObject'](jT)||!jT['defaults']||!jT['defaults'][jU])return{};var jV=BDFDB['loadAllData'](jT,jU),jW={},jX=![];for(let jY in jT['defaults'][jU]){if(jV[jY]==null){jW[jY]=jT['defaults'][jU][jY]['value'];jX=!![];}else jW[jY]=jV[jY];}if(jX)BDFDB['saveAllData'](jW,jT,jU);return jW;};BDFDB['readConfig']=function(jZ){try{return JSON['parse'](require('fs')['readFileSync'](jZ));}catch(k0){return{};}};BDFDB['saveData']=function(c,k2,k3,k4){var k5=BDFDB['loadAllData'](k3,k4);k5[c]=k2;BDFDB['saveAllData'](k5,k3,k4);};BDFDB['loadData']=function(c,k7,k8){var k9=BDFDB['loadAllData'](k7,k8);var ka=k9[c];return ka===undefined?null:ka;};BDFDB['removeData']=function(c,kc,kd){var ke=BDFDB['loadAllData'](kc,kd);delete ke[c];BDFDB['saveAllData'](ke,kc,kd);};BDFDB['getData']=function(c,kg,kh){var ki=BDFDB['getAllData'](kg,kh);var kj=ki[c];return kj===undefined?null:kj;};BDFDB['appendWebScript']=function(kk,kl){if(!kl&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kl=kl||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];kl=Node['prototype']['isPrototypeOf'](kl)?kl:document['head'];BDFDB['removeWebScript'](kk,kl);kl['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(km,kn){kn=kn||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];kn=Node['prototype']['isPrototypeOf'](kn)?kn:document['head'];BDFDB['removeEles'](kn['querySelectorAll']('script[src=\x22'+km+'\x22]'));};BDFDB['appendWebStyle']=function(ko,kp){if(!kp&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kp=kp||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kp=Node['prototype']['isPrototypeOf'](kp)?kp:document['head'];BDFDB['removeWebStyle'](ko,kp);kp['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(kq,kr){kr=kr||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kr=Node['prototype']['isPrototypeOf'](kr)?kr:document['head'];BDFDB['removeEles'](kr['querySelectorAll']('link[href=\x22'+kq+'\x22]'));};BDFDB['appendLocalStyle']=function(c,kt,ku){if(!ku&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));ku=ku||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];ku=Node['prototype']['isPrototypeOf'](ku)?ku:document['head'];BDFDB['removeLocalStyle'](c,ku);ku['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(c,kw){kw=kw||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kw=Node['prototype']['isPrototypeOf'](kw)?kw:document['head'];BDFDB['removeEles'](kw['querySelectorAll']('style[id=\x22'+c+'CSS\x22]'));};BDFDB['formatBytes']=function(kx,ky){kx=parseInt(kx);if(isNaN(kx)||kx<0x0)return'0\x20Bytes';if(kx==0x1)return'1\x20Byte';var kz=Math['floor'](Math['log'](kx)/Math['log'](0x400));return parseFloat((kx/Math['pow'](0x400,kz))['toFixed'](ky<0x1?0x0:ky>0x14?0x14:ky||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][kz];};BDFDB['colorCONVERT']=function(kA,kB,kC){if(!kA)return null;kB=kB===undefined||!kB?kB='RGBCOMP':kB['toUpperCase']();kC=kC===undefined||!kC||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](kC['toUpperCase']())?BDFDB['colorTYPE'](kA):kC['toUpperCase']();if(kB=='RGBCOMP'){switch(kC){case'RGBCOMP':if(kA['length']==0x3)return lc(kA);else if(kA['length']==0x4){var kD=lf(kA['pop']());return lc(kA)['concat'](kD);}case'RGB':return lc(kA['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var kE=kA['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kD=lf(kE['pop']());return lc(kE)['concat'](kD);case'HSLCOMP':if(kA['length']==0x3)return BDFDB['colorCONVERT']('hsl('+kA['join'](',')+')','RGBCOMP');else if(kA['length']==0x4){var kD=lf(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](kD);}case'HSL':var kH=lj(kA['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var kI,kJ,kK,kL,kM,kN,kO,kP;var kQ=kH[0x0]/0x168,kR=parseInt(kH[0x1])/0x64,kS=parseInt(kH[0x2])/0x64;kL=Math['floor'](kQ*0x6);kM=kQ*0x6-kL;kN=kS*(0x1-kR);kO=kS*(0x1-kM*kR);kP=kS*(0x1-(0x1-kM)*kR);switch(kL%0x6){case 0x0:kI=kS,kJ=kP,kK=kN;break;case 0x1:kI=kO,kJ=kS,kK=kN;break;case 0x2:kI=kN,kJ=kS,kK=kP;break;case 0x3:kI=kN,kJ=kO,kK=kS;break;case 0x4:kI=kP,kJ=kN,kK=kS;break;case 0x5:kI=kS,kJ=kN,kK=kO;break;}return[Math['round'](kI*0xff),Math['round'](kJ*0xff),Math['round'](kK*0xff)];case'HSLA':var kH=kA['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kD=lf(kH['pop']());return BDFDB['colorCONVERT']('hsl('+kH['join'](',')+')','RGBCOMP')['concat'](kD);case'HEX':var kV=/^#([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'](kA);return[parseInt(kV[0x1]+kV[0x1]||kV[0x4],0x10)['toString'](),parseInt(kV[0x2]+kV[0x2]||kV[0x5],0x10)['toString'](),parseInt(kV[0x3]+kV[0x3]||kV[0x6],0x10)['toString']()];default:return null;}}else{var kW=kC=='RGBCOMP'?kA:BDFDB['colorCONVERT'](kA,'RGBCOMP',kC);if(kW)switch(kB){case'RGB':return'rgb('+lc(kW['slice'](0x0,0x3))['join'](',')+')';case'RGBA':kW=kW['slice'](0x0,0x4);var kD=kW['length']==0x4?lf(kW['pop']()):0x1;return'rgba('+lc(kW)['concat'](kD)['join'](',')+')';case'HSLCOMP':var kD=kW['length']==0x4?lf(kW['pop']()):null;var kH=lj(BDFDB['colorCONVERT'](kW,'HSL')['replace'](/\s/g,'')['split'](','));return kD?kH['concat'](kD):kH;case'HSL':var kI=la(kW[0x0]),kJ=la(kW[0x1]),kK=la(kW[0x2]);var l3=Math['max'](kI,kJ,kK),l4=Math['min'](kI,kJ,kK),l5=l3-l4,kQ,kR=l3===0x0?0x0:l5/l3,kS=l3/0xff;switch(l3){case l4:kQ=0x0;break;case kI:kQ=kJ-kK+l5*(kJ0xff?0xff:kM<0x0?0x0:kM;};function lc(kE){return kE['map'](kM=>{return la(kM);});};function lf(kD){kD=kD['toString']();kD=(kD['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kD['replace'](/[^0-9\.\-]/g,''));return isNaN(kD)||kD>0x1?0x1:kD<0x0?0x0:kD;};function lh(li){li=parseFloat(li['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(li)||li>0x64?0x64:li<0x0?0x0:li)+'%';};function lj(kE){let kQ=parseFloat(kE['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));kQ=isNaN(kQ)||kQ>0x168?0x168:kQ<0x0?0x0:kQ;return[kQ]['concat'](kE['map'](lm=>{return lh(lm);}));};};var ln=(lo,lp,lq)=>{var lr=BDFDB['colorCONVERT'](lo,'RGBCOMP');if(lr){lp=lp['toString']();lp=(lp['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lp['replace'](/[^0-9\.\-]/g,''));lp=isNaN(lp)||lp>0x1?0x1:lp<0x0?0x0:lp;lr[0x3]=lp;lq=(lq||BDFDB['colorTYPE'](lo))['toUpperCase']();lq=lq=='HSL'||lq=='RGB'?lq+'A':lq;return BDFDB['colorCONVERT'](lr,lq);}return null;};BDFDB['colorSETALPHA']=function(ls,lt,lu){if(BDFDB['isObject'](ls)){var lv={};for(let lw in ls)lv[lw]=ln(ls[lw],lt,lu);return lv;}else return ln(ls,lt,lu);};var lx=(ly,lz,lA)=>{var lB=BDFDB['colorCONVERT'](ly,'RGBCOMP');if(lB){if(parseInt(lz)!==lz){lz=lz['toString']();lz=(lz['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lz['replace'](/[^0-9\.\-]/g,''));lz=isNaN(lz)?0x0:lz;return BDFDB['colorCONVERT']([Math['round'](lB[0x0]*(0x1+lz)),Math['round'](lB[0x1]*(0x1+lz)),Math['round'](lB[0x2]*(0x1+lz))],lA||BDFDB['colorTYPE'](ly));}else return BDFDB['colorCONVERT']([Math['round'](lB[0x0]+lz),Math['round'](lB[0x1]+lz),Math['round'](lB[0x2]+lz)],lA||BDFDB['colorTYPE'](ly));}return null;};BDFDB['colorCHANGE']=function(lC,lD,lE){lD=parseFloat(lD);if(lC&&typeof lD=='number'&&!isNaN(lD)){if(BDFDB['isObject'](lC)){var lF={};for(let lG in lC)lF[lG]=lx(lC[lG],lD,lE);return lF;}else return lx(lC,lD,lE);}return null;};BDFDB['colorINV']=function(lH,lI){if(lH){var lJ=BDFDB['colorCONVERT'](lH,'RGBCOMP');if(lJ)return BDFDB['colorCONVERT']([0xff-lJ[0x0],0xff-lJ[0x1],0xff-lJ[0x2]],lI||BDFDB['colorTYPE'](lH));}return null;};BDFDB['colorCOMPARE']=function(lK,lL){if(lK&&lL){lK=BDFDB['colorCONVERT'](lK,'RGBCOMP');lL=BDFDB['colorCONVERT'](lL,'RGBCOMP');if(lK&&lL)return BDFDB['equals'](lK,lL);}return null;};BDFDB['colorISBRIGHT']=function(lM,lN=0xa0){lM=BDFDB['colorCONVERT'](lM,'RGBCOMP');if(!lM)return![];return parseInt(lN)