diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 5341e2dfb2..638f6e8523 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=![],color=''}=bj;var bs=BDFDB['htmlToElement'](''+(html===!![]?bi:BDFDB['encodeToHTML'](bi))+'
');if(type){BDFDB['addClass'](bs,'toast-'+type);if(icon)BDFDB['addClass'](bs,'icon');}else if(color){var bt=BDFDB['colorCONVERT'](color,'RGB');if(bt)bs['style']['setProperty']('background-color',bt,'important');}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;};var bu={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bv,bw={}){var bx=()=>{bu['queue']['push']({'parsedcontent':bv,'parsedoptions':bw});by();};var by=()=>{if(!bu['running']){var bz=bu['queue']['shift']();if(bz)bA(bz['parsedcontent'],bz['parsedoptions']);}};var bA=(bB,bC)=>{bu['running']=!![];var bD=bC['silent'];bC['silent']=bC['silent']||bC['sound']?!![]:![];var bE=new Notification(bB,bC);var bF=new Audio();var bG=setTimeout(()=>{bH();},bC['timeout']?bC['timeout']:0xbb8);if(typeof bC['click']=='function')bE['onclick']=()=>{clearTimeout(bG);bH();bC['click']();};if(!bD&&bC['sound']){bF['src']=bC['sound'];bF['play']();}var bH=()=>{bF['pause']();bE['close']();bu['running']=![];setTimeout(()=>{by();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bx();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bI){if(bI==='granted')bx();});};BDFDB['createTooltip']=function(bJ,bK,bL={}){if(!bJ||!bK||!Node['prototype']['isPrototypeOf'](bK)||!document['contains'](bK))return null;var bM=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bM)return null;var bN=document['querySelector']('.BDFDB-tooltips');if(!bN){bN=bM['cloneNode']();BDFDB['addClass'](bN,'BDFDB-tooltips');bM['parentElement']['insertBefore'](bN,bM['nextSibling']);}var c=Math['round'](Math['random']()*0x2386f26fc10000);var bP=BDFDB['htmlToElement']('');bP['anker']=bK;var bQ=bP['firstElementChild']?bP['firstElementChild']:bP;if(bL['id'])bP['id']=bL['id']['split']('\x20')['join']('');if(bL['selector'])BDFDB['addClass'](bP,bL['selector']);if(bL['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+c,bL['css'],bN);if(bL['style'])bQ['style']=bL['style'];if(bL['html']===!![])bQ['innerHTML']=bJ;else bQ['innerText']=bJ;if(bL['type']&&BDFDB['disCN']['tooltip'+bL['type']['toLowerCase']()]){BDFDB['addClass'](bQ,BDFDB['disCN']['tooltip'+bL['type']['toLowerCase']()]);bQ['appendChild'](BDFDB['htmlToElement'](''));}if(bQ['style']['getPropertyValue']('border-color')&&(bQ['style']['getPropertyValue']('background-color')||bQ['style']['getPropertyValue']('background-image')))BDFDB['addClass'](bQ,'tooltip-customcolor');else if(bL['color']&&BDFDB['disCN']['tooltip'+bL['color']['toLowerCase']()])BDFDB['addClass'](bQ,BDFDB['disCN']['tooltip'+bL['color']['toLowerCase']()]);else BDFDB['addClass'](bQ,BDFDB['disCN']['tooltipblack']);bN['appendChild'](bP);if(!bL['position']||bL['type'])bL['position']=bL['type'];if(!bL['position']||!['top','bottom','left','right']['includes'](bL['position']['toLowerCase']()))bL['position']='right';bP['position']=bL['position']['toLowerCase']();BDFDB['updateTooltipPosition'](bP);var bR=()=>{bP['remove']();if(!bN['firstElementChild'])BDFDB['removeEles'](bN);};var bS=new MutationObserver(bT=>{bT['forEach'](bU=>{var bV=Array['from'](bU['removedNodes']);var bW=bV['indexOf'](bP)>-0x1;var bX=bV['indexOf'](bK)>-0x1;var bY=bV['some'](bZ=>bZ['contains'](bK));if(bW||bX||bY){bS['disconnect']();bR();bK['removeEventListener']('mouseleave',bR);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+c,bN);}});});bS['observe'](document['body'],{'subtree':!![],'childList':!![]});bK['addEventListener']('mouseleave',bR);if(bL['delay']){BDFDB['toggleEles'](bP);setTimeout(()=>{BDFDB['toggleEles'](bP);},bL['delay']);}return bP;};BDFDB['updateTooltipPosition']=function(c0){if(!Node['prototype']['isPrototypeOf'](c0)||!Node['prototype']['isPrototypeOf'](c0['anker'])||!c0['position'])return;var c1,c2,c3=BDFDB['getRects'](c0['anker']),c4=BDFDB['getRects'](c0),c5={'height':0x0,'width':0x0};var c6=c0['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c6)c5=BDFDB['getRects'](c6);switch(c0['position']){case'top':c2=c3['top']-c4['height']-c5['height']+0x2;c1=c3['left']+(c3['width']-c4['width'])/0x2;break;case'bottom':c2=c3['top']+c3['height']+c5['height']-0x2;c1=c3['left']+(c3['width']-c4['width'])/0x2;break;case'left':c2=c3['top']+(c3['height']-c4['height'])/0x2;c1=c3['left']-c4['width']-c5['width']+0x2;break;case'right':c2=c3['top']+(c3['height']-c4['height'])/0x2;c1=c3['left']+c3['width']+c5['width']-0x2;break;}c0['style']['setProperty']('top',c2+'px');c0['style']['setProperty']('left',c1+'px');var c7=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),c4=BDFDB['getRects'](c0);var c9=c0['querySelector'](BDFDB['dotCN']['tooltippointer']);if(c0['position']=='top'||c0['position']=='bottom'){if(c4['left']<0x0){c0['style']['setProperty']('left','5px');c9['style']['setProperty']('margin-left',c4['left']-0xa+'px');}else{var ca=c7['width']-(c4['left']+c4['width']);if(ca<0x0){c0['style']['setProperty']('left',c7['width']-c4['width']-0x5+'px');c9['style']['setProperty']('margin-left',-0x1*ca+'px');}}}else if(c0['position']=='left'||c0['position']=='right'){if(c4['top']<0x0){c0['style']['setProperty']('top','5px');c9['style']['setProperty']('margin-top',c4['top']-0xa+'px');}else{var cb=c7['height']-(c4['top']+c4['height']);if(cb<0x0){c0['style']['setProperty']('top',c7['height']-c4['height']-0x5+'px');c9['style']['setProperty']('margin-top',-0x1*cb+'px');}}}};BDFDB['createNotificationsBar']=function(cc,cd={}){if(!cc)return;var ce=document['querySelector'](BDFDB['dotCN']['layers']);if(!ce)return;var c=Math['round'](Math['random']()*0x2386f26fc10000);var cg=BDFDB['htmlToElement']('');ce['parentElement']['insertBefore'](cg,ce);var ch=cg['querySelector']('.notice-message');if(cd['platform'])for(let ci of cd['platform']['split']('\x20'))if(sE['noticeicon'+ci]){let cj=BDFDB['htmlToElement']('');BDFDB['addClass'](cj,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cj,BDFDB['disCN']['noticeicon']);cg['insertBefore'](cj,ch);}if(cd['customicon']){let ck=BDFDB['htmlToElement'](cd['customicon']);let cj=BDFDB['htmlToElement']('');if(ck['tagName']=='span'&&!ck['firstElementChild'])cj['style']['setProperty']('background','url('+cd['customicon']+')\x20center/cover\x20no-repeat');else cj['appendChild'](ck);BDFDB['addClass'](cj,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cj,BDFDB['disCN']['noticeicon']);cg['insertBefore'](cj,ch);}if(cd['btn'])cg['appendChild'](BDFDB['htmlToElement'](''));if(cd['id'])cg['id']=cd['id']['split']('\x20')['join']('');if(cd['selector'])BDFDB['addClass'](cg,cd['selector']);if(cd['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+c,cd['css']);if(cd['style'])cg['style']=cd['style'];if(cd['html']===!![])ch['innerHTML']=cc;else{var cm=document['createElement']('a');var cn=[];for(let co of cc['split']('\x20')){var cp=BDFDB['encodeToHTML'](co);cm['href']=co;cn['push'](cm['host']&&cm['host']!==window['location']['host']?'':cp);}ch['innerHTML']=cn['join']('\x20');}var cq=null;if(cd['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(cq=BDFDB['disCN']['notice'+cd['type']])BDFDB['addClass'](cg,cq);if(cd['type']=='premium'){var cr=cg['querySelector'](BDFDB['dotCN']['noticebutton']);if(cr)BDFDB['addClass'](cr,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](ch,BDFDB['disCN']['noticepremiumtext']);cg['insertBefore'](BDFDB['htmlToElement'](''),ch);}}if(!cq){var cs=BDFDB['colorCONVERT'](cd['color'],'RGBCOMP');if(cs){var ct=cs[0x0]>0xb4&&cs[0x1]>0xb4&&cs[0x2]>0xb4?'#000':'#FFF';var cu=BDFDB['colorCONVERT'](cs,'HEX');var cv=cs[0x0]>0xb4&&cs[0x1]>0xb4&&cs[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+c,'.BDFDB-notice.notice-'+c+'{background-color:'+cu+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20.notice-message\x20{color:'+ct+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+ct+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](ct,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cu+'\x20!important;background-color:'+ct+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+cv+'\x20!important;}');}else BDFDB['addClass'](cg,BDFDB['disCN']['noticedefault']);}cg['style']['setProperty']('height','36px','important');cg['style']['setProperty']('min-width','70vw','important');cg['style']['setProperty']('left','unset','important');cg['style']['setProperty']('right','unset','important');let cw=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](cg))/0x2;cg['style']['setProperty']('left',cw+'px','important');cg['style']['setProperty']('right',cw+'px','important');cg['style']['setProperty']('min-width','unset','important');cg['style']['setProperty']('width','unset','important');cg['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cw*0x2+'px)','important');cg['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{cg['style']['setProperty']('overflow','hidden','important');cg['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+c);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+c);cg['remove']();},0x1f4);});return cg;};BDFDB['getDiscordFolder']=function(){var cx=BDFDB['getDiscordBuilt']();cx='discord'+(cx=='stable'?'':cx);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cx,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=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/plugins/');case'darwin':return cz['resolve'](cy['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cy['env']['XDG_CONFIG_HOME'])return cz['resolve'](cy['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return cz['resolve'](cy['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var cA=require('process');var cB=require('path');if(cA['env']['injDir'])return cB['resolve'](cA['env']['injDir'],'plugins/');switch(cA['platform']){case'win32':return cB['resolve'](cA['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cB['resolve'](cA['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(cA['env']['XDG_CONFIG_HOME'])return cB['resolve'](cA['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cB['resolve'](cA['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cC=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cC)return;var cD=cC['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cD)return;var cE=cD['parentElement']['querySelector']('h2');if(cE&&cE['innerText']){let cF=cE['innerText']['toLowerCase']();if(cF==='plugins'||cF==='themes')return cF;}};BDFDB['checkAllUpdates']=function(){for(let cG in window['PluginUpdates']['plugins']){var cH=window['PluginUpdates']['plugins'][cG];BDFDB['checkUpdate'](cH['name'],cH['raw']);}};BDFDB['getLineOfString']=function(cI,cJ){if(typeof cI!='string'||typeof cI!='string')return-0x1;let cK=cI['indexOf'](cJ);if(cK<0x0)return-0x1;return cI['substring'](0x0,cK)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cL,cM,cN){var cO={};if(cM===undefined||!cM)for(let cP of Object['keys'](cL)['sort']())cO[cP]=cL[cP];else{let cQ=[];for(let cP in cL)cQ['push'](cL[cP]);cQ=BDFDB['sortArrayByKey'](cQ,cM,cN);for(let cS of cQ)for(let cP in cL)if(BDFDB['equals'](cS,cL[cP])){cO[cP]=cS;break;}}return cO;};BDFDB['reverseObject']=function(cU,cV){var cW={};for(let cX of cV===undefined||!cV?Object['keys'](cU)['reverse']():Object['keys'](cU)['sort']()['reverse']())cW[cX]=cU[cX];return cW;};BDFDB['filterObject']=function(cY,cZ){return Object['keys'](cY)['filter'](d0=>cZ(cY[d0]))['reduce']((d1,d2)=>(d1[d2]=cY[d2],d1),{});};BDFDB['isObject']=function(d3){return d3&&Object['prototype']['isPrototypeOf'](d3)&&!Array['prototype']['isPrototypeOf'](d3);};BDFDB['isObjectEmpty']=function(d4){return typeof d4!=='object'||Object['getOwnPropertyNames'](d4)['length']==0x0;};BDFDB['pushToObject']=function(d5,d6){if(BDFDB['isObject'](d5))d5[Object['keys'](d5)['length']]=d6;};BDFDB['mapObject']=function(d7,d8){var d9={};if(BDFDB['isObject'](d7)&&typeof d8=='string')for(let da in d7)if(BDFDB['isObject'](d7[da]))d9[da]=d7[da][d8];return d9;};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&&eL{if(!eQ['req']){const c='BDFDB-WebModules';const eS=typeof window['webpackJsonp']=='function'?window['webpackJsonp']([],{[c]:(eT,eU,eS)=>eU['default']=eS},[c])['default']:window['webpackJsonp']['push']([[],{[c]:(eW,eX,eS)=>eW['exports']=eS},[[c]]]);delete eS['m'][c];delete eS['c'][c];eQ['req']=eS;}return eQ['req'];};BDFDB['WebModules']={};BDFDB['WebModules']['find']=function(eZ){var f0=eQ();for(let f1 in f0['c'])if(f0['c']['hasOwnProperty'](f1)){var f2=f0['c'][f1]['exports'];if(f2&&f2['__esModule']&&f2['default']&&eZ(f2['default']))return f2['default'];if(f2&&eZ(f2))return f2;}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(f3){f3=Array['isArray'](f3)?f3:Array['from'](arguments);var f4=JSON['stringify'](f3);if(BDFDB['WebModules']['cachedData']['prop'][f4])return BDFDB['WebModules']['cachedData']['prop'][f4];else{var f5=BDFDB['WebModules']['find'](f5=>f3['every'](f7=>f5[f7]!==undefined));if(f5){BDFDB['WebModules']['cachedData']['prop'][f4]=f5;return f5;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f4+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(f8){var f9=JSON['stringify'](f8);if(BDFDB['WebModules']['cachedData']['name'][f9])return BDFDB['WebModules']['cachedData']['name'][f9];else{var fa=BDFDB['WebModules']['find'](fa=>fa['displayName']===f8);if(fa){BDFDB['WebModules']['cachedData']['name'][f9]=fa;return fa;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f9+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(fc){fc=Array['isArray'](fc)?fc:Array['from'](arguments);var fd=JSON['stringify'](fc);if(BDFDB['WebModules']['cachedData']['proto'][fd])return BDFDB['WebModules']['cachedData']['proto'][fd];else{var fe=BDFDB['WebModules']['find'](fe=>fe['prototype']&&fc['every'](fg=>fe['prototype'][fg]!==undefined));if(fe){BDFDB['WebModules']['cachedData']['proto'][fd]=fe;return fe;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fd+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};var fh={};fh['AckUtils']=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');fh['APIModule']=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');fh['Animations']=BDFDB['WebModules']['findByProperties']('spring','decay');fh['BadgeUtils']=BDFDB['WebModules']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');fh['ChannelStore']=BDFDB['WebModules']['findByProperties']('getChannel','getChannels');fh['ContextMenuUtils']=BDFDB['WebModules']['findByProperties']('closeContextMenu','openContextMenu');fh['CurrentUserStore']=BDFDB['WebModules']['findByProperties']('getCurrentUser');fh['DirectMessageUtils']=BDFDB['WebModules']['findByProperties']('addRecipient','openPrivateChannel');fh['DiscordConstants']=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes');fh['GuildStore']=BDFDB['WebModules']['findByProperties']('getGuild','getGuilds');fh['GuildChannelStore']=BDFDB['WebModules']['findByProperties']('getChannels','getDefaultChannel');fh['GuildUtils']=BDFDB['WebModules']['findByProperties']('transitionToGuildSync');fh['IconUtils']=BDFDB['WebModules']['findByProperties']('getGuildIconURL','getGuildBannerURL');fh['InviteUtils']=BDFDB['WebModules']['findByProperties']('acceptInvite','createInvite');fh['LanguageStore']=BDFDB['WebModules']['findByProperties']('getLanguages','Messages');fh['LastChannelStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId');fh['LastGuildStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId');fh['MemberStore']=BDFDB['WebModules']['findByProperties']('getMember','getMembers');fh['MentionUtils']=BDFDB['WebModules']['findByProperties']('getMentionCount','getMentionCounts');fh['MessageStore']=BDFDB['WebModules']['findByProperties']('getMessage','getMessages');fh['MessageUtils']=BDFDB['WebModules']['findByProperties']('parse','isMentioned');fh['MutedUtils']=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');fh['PermissionUtils']=BDFDB['WebModules']['findByProperties']('getChannelPermissions','canUser');fh['SelectChannelUtils']=BDFDB['WebModules']['findByProperties']('selectChannel','selectPrivateChannel');fh['StatusUtils']=BDFDB['WebModules']['findByProperties']('getApplicationActivity','getStatus');fh['StreamingUtils']=BDFDB['WebModules']['findByProperties']('isStreaming');fh['UnreadUtils']=BDFDB['WebModules']['findByProperties']('hasUnread','getUnreadGuilds');fh['UserStore']=BDFDB['WebModules']['findByProperties']('getUser','getUsers');BDFDB['LibraryModules']=Object['assign']({},fh);fh['React']=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');fh['ReactDOM']=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fh['React']&&fh['ReactDOM']){BDFDB['React']=Object['assign']({},fh['React'],fh['ReactDOM']);BDFDB['React']['findDOMNodeSafe']=function(fi){if(Node['prototype']['isPrototypeOf'](fi))return fi;if(!fi||!fi['updater']||typeof fi['updater']['isMounted']!=='function'||!fi['updater']['isMounted'](fi))return null;var fj=fh['ReactDOM']['findDOMNode'](fi)||BDFDB['getReactValue'](fi,'child.stateNode');return Node['prototype']['isPrototypeOf'](fj)?fj:null;};};var fk=fh['CurrentUserStore']['getCurrentUser']();BDFDB['myData']=new Proxy(fk||{},{'get':function(fl,fm){if(!fk)fk=fh['CurrentUserStore']['getCurrentUser']();return fk?fk[fm]:null;}});var fn=['before','instead','after'];var fo={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};var fp={'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(fq,fr,fs,ft){if(!fq||!fr||!fs||!Object['keys'](ft)['some'](fu=>fn['includes'](fu)))return null;const fv=(typeof fs==='string'?fs:fs['name'])['toLowerCase']();const fw=(fx,fy)=>(...fz)=>{try{return fx(...fz);}catch(fA){console['error']('Error\x20occurred\x20in\x20'+fy,fA);}};if(!fq['BDFDBpatch'])fq['BDFDBpatch']={};fr=Array['isArray'](fr)?fr:Array['of'](fr);for(let fB of fr){if(!fq[fB])fq[fB]=()=>{};const fC=fq[fB];if(!fq['BDFDBpatch'][fB]){fq['BDFDBpatch'][fB]={};for(let fD of fn)fq['BDFDBpatch'][fB][fD]={};fq['BDFDBpatch'][fB]['originalMethod']=fC;fq[fB]=function(){const fE={'thisObject':this,'methodArguments':arguments,'originalMethod':fC,'originalMethodName':fB,'callOriginalMethod':()=>fE['returnValue']=fE['originalMethod']['apply'](fE['thisObject'],fE['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&fq['BDFDBpatch'][fB]){if(!BDFDB['isObjectEmpty'](fq['BDFDBpatch'][fB]['before']))for(let c in BDFDB['sortObject'](fq['BDFDBpatch'][fB]['before'])){fw(fq['BDFDBpatch'][fB]['before'][c],'`before`\x20callback\x20of\x20'+fq[fB]['displayName'])(fE);}if(BDFDB['isObjectEmpty'](fq['BDFDBpatch'][fB]['instead']))fE['callOriginalMethod']();else for(let c in BDFDB['sortObject'](fq['BDFDBpatch'][fB]['instead'])){const fH=fw(fq['BDFDBpatch'][fB]['instead'][c],'`instead`\x20callback\x20of\x20'+fq[fB]['displayName'])(fE);if(fH!==undefined)fE['returnValue']=fH;}if(!BDFDB['isObjectEmpty'](fq['BDFDBpatch'][fB]['after']))for(let c in BDFDB['sortObject'](fq['BDFDBpatch'][fB]['after'])){fw(fq['BDFDBpatch'][fB]['after'][c],'`after`\x20callback\x20of\x20'+fq[fB]['displayName'])(fE);}}else fE['callOriginalMethod']();return fE['returnValue'];};}for(let fJ of fn)if(typeof ft[fJ]=='function')fq['BDFDBpatch'][fB][fJ][fv]=ft[fJ];}const fK=()=>{BDFDB['WebModules']['unpatch'](fq,fr,fs);};if(fs&&typeof fs=='object'){if(!Array['isArray'](fs['patchCancels']))fs['patchCancels']=[];fs['patchCancels']['push'](fK);}return fK;};BDFDB['WebModules']['unpatch']=function(fL,fM,fN){if(!fL||!fL['BDFDBpatch'])return;const fO=!fN?null:(typeof fN==='string'?fN:fN['name'])['toLowerCase']();fM=Array['isArray'](fM)?fM:Array['of'](fM);for(let fP of fM){if(fL[fP]&&fL['BDFDBpatch'][fP]){for(let fQ of fn){if(fO)delete fL['BDFDBpatch'][fP][fQ][fO];else delete fL['BDFDBpatch'][fP][fQ];}var fR=!![];for(let fQ of fn)if(!BDFDB['isObjectEmpty'](fL['BDFDBpatch'][fP][fQ]))fR=![];if(fR){fL[fP]=fL['BDFDBpatch'][fP]['originalMethod'];delete fL['BDFDBpatch'][fP];if(BDFDB['isObjectEmpty'](fL['BDFDBpatch']))delete fL['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fT){if(BDFDB['isObject'](fT)&&Array['isArray'](fT['patchCancels']))for(let fU of fT['patchCancels'])fU();};BDFDB['WebModules']['forceAllUpdates']=function(fV,fW){fW=fW&&fo[fW]?fo[fW]+'\x20'+fW:fW;if(BDFDB['isObject'](fV)&&BDFDB['isObject'](fV['patchModules'])&&(!fW||fV['patchModules'][fW])){const fX=document['querySelector'](BDFDB['dotCN']['app']);const fY=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fX){var fZ=[];for(let g0 in fV['patchModules']){var g1=Array['isArray'](fV['patchModules'][g0])?fV['patchModules'][g0]:Array['of'](fV['patchModules'][g0]);if(g1['includes']('componentDidUpdate')||g1['includes']('componentDidMount')||g1['includes']('render'))fZ['push'](g0);}fZ=fW?fZ['filter'](g2=>g2==fW):fZ;if(fZ['length']>0x0){const g3=BDFDB['getOwnerInstance']({'node':fX,'name':fZ,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let g0 in g3)for(let g5 in g3[g0])BDFDB['WebModules']['initiateProcess'](fV,g3[g0][g5],g0,['componentDidUpdate','componentDidMount','render']);if(fY){const g6=BDFDB['getOwnerInstance']({'node':fY,'name':fZ,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let g0 in g6)for(let g5 in g6[g0])BDFDB['WebModules']['initiateProcess'](fV,g6[g0][g5],g0,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(g9){if(BDFDB['isObject'](g9)&&BDFDB['isObject'](g9['patchModules'])){for(let ga in g9['patchModules']){var gb=fo[ga];if(gb){g9['patchModules'][gb+'\x20'+ga]=g9['patchModules'][ga];delete g9['patchModules'][ga];if(!fp[ga])ge(BDFDB['WebModules']['findByName'](gb),gb+'\x20'+ga);}else if(!fp[ga])ge(BDFDB['WebModules']['findByName'](ga),ga);}for(let ga in fp){var gd=fo[ga]?fo[ga]+'\x20'+ga:ga;if(sE[fp[ga]]&&g9['patchModules'][gd])gl(fp[ga],gd);}function ge(gf,ga){if(gf){var gd=ga['split']('\x20')[0x0];gf=gf['displayName']==gd?gf:BDFDB['getOwnerInstance']({'instance':gf,'name':gd,'up':!![]});if(gf){var gi=gf['_reactInternalFiber']&&gf['_reactInternalFiber']['type']?gf['_reactInternalFiber']['type']:gf;var gj={};gj[g9['name']=='$BDFDB'?'before':'after']=gk=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](g9,gk['thisObject'],ga,[gk['originalMethodName']]);};BDFDB['WebModules']['patch'](gi['prototype'],g9['patchModules'][ga],g9,gj);}}}function gl(gm,ga){var go=![];const gp=document['querySelector'](BDFDB['dotCN']['app']);const gq=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(gp){var gr=BDFDB['getOwnerInstance']({'node':gp,'name':ga,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gr){go=!![];ge(gr,ga);}}if(!go&&gq){var gs=BDFDB['getOwnerInstance']({'node':gq,'name':ga,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gs){go=!![];ge(gs,ga);}}if(!go){var gt=![],gu=new MutationObserver(gv=>{gv['forEach'](gw=>{gw['addedNodes']['forEach'](gx=>{var gy=null;if(!gt&&gx['tagName']&&(gy=BDFDB['containsClass'](gx,BDFDB['disCN'][gm])?gx:gx['querySelector'](BDFDB['dotCN'][gm]))!=null){instance=BDFDB['getReactInstance'](gy);if(gz(instance,ga)){gt=!![];gu['disconnect']();ge(instance,ga);BDFDB['WebModules']['forceAllUpdates'](g9,ga);}}});});});BDFDB['addObserver'](g9,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gu,'multi':!![]},{'childList':!![],'subtree':!![]});}}function gz(gA,ga){if(!gA)return![];gA=gA['displayName']==ga?gA:BDFDB['getOwnerInstance']({'instance':gA,'name':ga,'up':!![]});return gA&&(ga!='V2C_PluginCard'&&ga!='V2C_ThemeCard'||ga=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||ga=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gC,gD,gE,gF){if(BDFDB['isObject'](gC)&&gD){gC=gC['name']=='$BDFDB'?t8:gC;gE=(gE['split']('\x20')[0x1]||gE)['replace'](/[^A-z0-9]|_/g,'');gE=gE[0x0]['toUpperCase']()+gE['slice'](0x1);if(typeof gC['process'+gE]=='function'){var gG=BDFDB['React']['findDOMNodeSafe'](gD);if(gG)gC['process'+gE](gD,gG,gF);else setImmediate(()=>{gG=BDFDB['React']['findDOMNodeSafe'](gD);if(gG)gC['process'+gE](gD,gG,gF);});}}};BDFDB['addOnSwitchListener']=function(gH){if(typeof gH['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gH);var gI=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gI){var gJ=new MutationObserver(gK=>{gK['forEach'](gL=>{if(gL['target']&&BDFDB['containsClass'](gL['target'],BDFDB['disCN']['nochannel']))gH['onSwitch']();});});var gM=gI['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gM)gJ['observe'](gM,{'attributes':!![]});gH['onSwitchFix']=new MutationObserver(gN=>{gN['forEach'](gO=>{if(gO['addedNodes']){gO['addedNodes']['forEach'](gP=>{if(BDFDB['containsClass'](gP,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gJ['observe'](gP,{'attributes':!![]});});}});});gH['onSwitchFix']['observe'](gI,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gQ){if(typeof gQ['onSwitch']==='function'&&BDFDB['isObject'](gQ['onSwitchFix'])){gQ['onSwitchFix']['disconnect']();delete gQ['onSwitchFix'];}};BDFDB['addContextListener']=function(gR){for(let gS of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gR['on'+gS+'Context']==='function'||typeof gR['on'+gS+'ContextMenu']==='function'){if(gS=='GroupDM'){var gT=![],gU=new MutationObserver(gV=>{gV['forEach'](gW=>{gW['addedNodes']['forEach'](gX=>{var gY=null;if(!gT&&gX['tagName']&&(gY=BDFDB['containsClass'](gX,BDFDB['disCN']['contextmenu'])?gX:gX['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gZ=BDFDB['getReactInstance'](gY);if(gZ&&gZ['return']&&gZ['return']['type']&&gZ['return']['type']['displayName']==gS+'ContextMenu'){gT=!![];gU['disconnect']();h0(gS,gZ['return']['type']);h4(gS,gZ['return']['stateNode'],gZ['stateNode']);}}});});});BDFDB['addObserver'](gR,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gU,'multi':!![]},{'childList':!![],'subtree':!![]});}else h0(gS,BDFDB['WebModules']['findByName'](gS+'ContextMenu'));}}function h0(gS,h2){if(h2&&h2['prototype'])BDFDB['WebModules']['patch'](h2['prototype'],'componentDidMount',gR,{'after':h3=>{h4(gS,h3['thisObject'],BDFDB['React']['findDOMNodeSafe'](h3['thisObject']));}});}function h4(gS,h6,h7){if(h6&&h7){if(typeof gR['on'+gS+'Context']==='function')gR['on'+gS+'Context'](h6,h7);if(typeof gR['on'+gS+'ContextMenu']==='function')gR['on'+gS+'ContextMenu'](h6,h7);BDFDB['initElements'](h7,gR);BDFDB['updateContextPosition'](h7);}}};BDFDB['addSettingsButtonListener']=function(h8){if(BDFDB['isBDv2']()&&typeof h8['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](h8);BDFDB['appendSettingsButton'](h8);var h9=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(h9){h8['settingsButtonObserver']=new MutationObserver(ha=>{ha['forEach'](hb=>{if(hb['addedNodes']){hb['addedNodes']['forEach'](hc=>{if(hc['tagName']&&BDFDB['containsClass'](hc,'active'))BDFDB['appendSettingsButton'](h8);});}});});h8['settingsButtonObserver']['observe'](h9,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(hd){var he=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+hd['id']+']');if(he){var hf=BDFDB['htmlToElement']('');he['insertBefore'](hf,he['querySelector'](BDFDB['d']['_bdv2button']));hf['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',hf,{'type':'top'});BDFDB['addClass'](hf,BDFDB['disCN']['_bdv2tooltipopen']);});hf['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](hf,BDFDB['disCN']['_bdv2tooltipopen']);});hf['addEventListener']('click',()=>{var hg=BDFDB['htmlToElement'](''+hd['name']+'\x20Settings
');var hh=hd['getSettingsPanel']();hg['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof hh=='string'?BDFDB['htmlToElement'](hh):hh);if(typeof hd['onSettingsClosed']==='function')BDFDB['addChildEventListener'](hg,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{hd['onSettingsClosed']();});BDFDB['appendModal'](hg);});}};BDFDB['removeSettingsButtonListener']=function(hi){if(BDFDB['isBDv2']()&&typeof hi['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+hi['id']+']\x20.BDFDB-settingsbutton');hi['settingsButtonObserver']['disconnect']();delete hi['settingsButtonObserver'];}};var hj={},hk=fh['LanguageStore']?Object['assign']({},fh['LanguageStore']['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(hk,{'get':function(hl,hm){var hn=fh['LanguageStore']['Messages'][hm];if(!hn)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hm+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var ho=typeof hn=='object'?hn['format'](Object['assign']({},hj)):hn;if(typeof ho=='string')return ho;else if(Array['isArray'](ho)){var hp='';for(let hq of ho){if(typeof hq=='string')hp+=BDFDB['encodeToHTML'](hq);else if(BDFDB['isObject'](hq)&&hq['props'])hp+='<'+hq['type']+'>'+BDFDB['encodeToHTML'](hq['props']['children'][0x0]['toString']())+''+hq['type']+'>';}return hp;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',hm+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(hk,{'get':function(hr,hs){return fh['LanguageStore']['Messages'][hs];}});BDFDB['LanguageStringsFormat']=function(ht,hu){if(ht&&hu){var hv=fh['LanguageStore']['Messages'][ht];if(hv&&typeof hv=='object'&&typeof hv['format']=='function'){try{var hw={};for(let hx in hj)hw[hx]=hu;var hy=hv['format'](hw);if(typeof hy=='string')return hy;else if(Array['isArray'](hy)){var hz='';for(let hA of hy){if(typeof hA=='string')hz+=BDFDB['encodeToHTML'](hA);else if(BDFDB['isObject'](hA)&&hA['props'])hz+='<'+hA['type']+'>'+BDFDB['encodeToHTML'](hA['props']['children'][0x0]['toString']())+''+hA['type']+'>';}return hz;}}catch(hB){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ht+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ht+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ht+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(fh['LanguageStore'])for(let hC in hk){try{BDFDB['LanguageStrings'][hC];}catch(hD){let hE=hD['toString']()['split']('for:\x20')[0x1];if(hE&&typeof hE=='string'&&!hj[hE])hj[hE]='{{'+hE['toLowerCase']()+'}}';}};BDFDB['equals']=function(hF,hG,hH){var hI=-0x1;if(hH===undefined||typeof hH!=='boolean')hH=![];return hJ(hF,hG);function hJ(hK,hL){hI++;var hM=!![];if(hI>0x3e8)hM=null;else{if(typeof hK!==typeof hL)hM=![];else if(typeof hK==='undefined')hM=!![];else if(typeof hK==='symbol')hM=!![];else if(typeof hK==='boolean')hM=hK==hL;else if(typeof hK==='string')hM=hK==hL;else if(typeof hK==='number'){if(isNaN(hK)||isNaN(hL))hM=isNaN(hK)==isNaN(hL);else hM=hK==hL;}else if(!hK&&!hL)hM=!![];else if(!hK||!hL)hM=![];else if(typeof hK==='function'||typeof hK==='object'){var hN=Object['getOwnPropertyNames'](hK);var hO=Object['getOwnPropertyNames'](hL);if(hN['length']!==hO['length'])hM=![];else for(let hP=0x0;hM===!![]&&hPi4['length']?i7:i4['length'];};BDFDB['readServerList']=function(){var i8=[],i9=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':['Guild','GuildIcon'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let ia in i9)if(i9[ia]['props']&&i9[ia]['props']['guild'])i8['push'](Object['assign'](new i9[ia]['props']['guild']['constructor'](i9[ia]['props']['guild']),{'div':i9[ia]['handleContextMenu']?BDFDB['React']['findDOMNodeSafe'](i9[ia]):BDFDB['createServerDivCopy'](i9[ia]['props']['guild']),'instance':i9[ia]}));return i8;};BDFDB['readUnreadServerList']=function(ib){var ic=[];for(let id of ib===undefined||!Array['isArray'](ib)?BDFDB['readServerList']():ib){if(!id)return null;let c=Node['prototype']['isPrototypeOf'](id)?BDFDB['getServerID'](id):typeof id=='object'?id['id']:id;c=typeof c=='number'?c['toFixed']():c;if(c&&(fh['UnreadUtils']['hasUnread'](c)||fh['MentionUtils']['getMentionCount'](c)>0x0))ic['push'](id);}return ic;};BDFDB['readMutedServerList']=function(ig){var ih=[];for(let ii of ig===undefined||!Array['isArray'](ig)?BDFDB['readServerList']():ig){if(!ii)return null;let c=Node['prototype']['isPrototypeOf'](ii)?BDFDB['getServerID'](ii):typeof ii=='object'?ii['id']:ii;c=typeof c=='number'?c['toFixed']():c;if(c&&fh['MutedUtils']['isGuildOrCategoryOrChannelMuted'](c))ih['push'](ii);}return ih;};BDFDB['getSelectedServer']=function(){var ik=fh['GuildStore']['getGuild'](fh['LastGuildStore']['getGuildId']());if(ik)return BDFDB['getServerData'](ik['id'])||Object['assign'](new ik['constructor'](ik),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(il){if(!Node['prototype']['isPrototypeOf'](il)||!BDFDB['getReactInstance'](il))return;let im=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],il);if(!im)return;var io=im['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=io&&io['href']?io['href']['split']('/')['slice'](-0x2)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getServerDiv']=function(iq){if(!iq)return null;if(Node['prototype']['isPrototypeOf'](iq))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],iq);else{let c=typeof iq=='object'?iq['id']:iq;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(is){if(!is)return null;let c=Node['prototype']['isPrototypeOf'](is)?BDFDB['getServerID'](is):typeof is=='object'?is['id']:is;c=typeof c=='number'?c['toFixed']():c;for(let iu of BDFDB['readServerList']())if(iu&&iu['id']==c)return iu;return null;};BDFDB['createServerDivCopy']=function(iv,iw={'pill':![],'hover':![],'click':![],'menu':![],'size':null}){let c=typeof iv=='object'?iv['id']:iv;let iy=c?fh['GuildStore']['getGuild'](c):null;if(iy){let iz=Math['round'](Math['random']()*0x2386f26fc10000);let iA=BDFDB['htmlToElement']('');let iB=iA['querySelector'](BDFDB['dotCN']['guildcontainer']);BDFDB['toggleEles'](iA['querySelector'](BDFDB['dotCN']['guildpillwrapper']),iw['pill']);if(iw['hover']){let iC=iA['querySelector'](BDFDB['dotCN']['guildiconwrapper']);let iD=iA['querySelector'](BDFDB['dotCN']['guildpillitem']);let iE=iD['style']['getPropertyValue']('opacity')!=0x0;let iF=new fh['Animations']['Value'](0x0);iF['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x32,0x1e]})['addListener'](iG=>{iB['style']['setProperty']('border-radius',iG['value']+'%');});let iH=new fh['Animations']['Value'](0x0);iH['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x8,0x14]})['addListener'](iI=>{iD['style']['setProperty']('height',iI['value']+'px');});let iJ=new fh['Animations']['Value'](0x0);iJ['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0.7]})['addListener'](iK=>{iD['style']['setProperty']('opacity',''+iK['value']);});let iL=iM=>{fh['Animations']['parallel']([fh['Animations']['timing'](iF,{'toValue':iM,'duration':0xc8}),fh['Animations']['spring'](iH,{'toValue':iM,'friction':0x5})])['start']();};let iN=iO=>{fh['Animations']['parallel']([fh['Animations']['timing'](iJ,{'toValue':iO,'duration':0xc8})])['start']();};iB['addEventListener']('mouseenter',()=>{iE=iD['style']['getPropertyValue']('opacity')!=0x0;if(fh['LastGuildStore']['getGuildId']()!=iy['id']){iL(0x1);if(!iE)iN(0x1);}});iB['addEventListener']('mouseleave',()=>{if(fh['LastGuildStore']['getGuildId']()!=iy['id']){iL(0x0);if(!iE)iN(0x0);}});}if(iw['click'])iB['addEventListener']('click',iP=>{BDFDB['stopEvent'](iP);fh['GuildUtils']['transitionToGuildSync'](iy['id']);if(typeof iw['click']=='function')iw['click']();});if(iw['menu'])iB['addEventListener']('contextmenu',iQ=>{BDFDB['openGuildContextMenu'](iy['id'],iQ);if(typeof iw['menu']=='function')iw['menu']();});if(iw['size']){iA['style']['setProperty']('margin','0','important');iA['style']['setProperty']('width',iw['size']+'px','important');iA['style']['setProperty']('height',iw['size']+'px','important');}return iA;}else return null;};BDFDB['openGuildContextMenu']=function(iR,iS=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](iR)?BDFDB['getServerID'](iR):typeof iR=='object'?iR['id']:iR;let iU=fh['GuildStore']['getGuild'](c);if(iU)fh['ContextMenuUtils']['openContextMenu'](iS,function(iS){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('GuildContextMenu'),Object['assign']({},iS,{'type':fh['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':iU,'badge':fh['MentionUtils']['getMentionCount'](iU['id']),'link':fh['DiscordConstants']['Routes']['CHANNEL'](iU['id'],fh['LastChannelStore']['getChannelId'](iU['id'])),'selected':iU['id']==fh['LastGuildStore']['getGuildId']()}));});};BDFDB['readChannelList']=function(){var iW=[],iX=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iY in iX)if(iX[iY]['props']&&!iX[iY]['props']['ispin']&&iX[iY]['props']['channel']&&iX[iY]['_reactInternalFiber']['return']){var iZ=BDFDB['React']['findDOMNodeSafe'](iX[iY]);iZ=iZ&&BDFDB['containsClass'](iZ['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?iZ['parentElement']:iZ;iW['push'](Object['assign'](new iX[iY]['props']['channel']['constructor'](iX[iY]['props']['channel']),{'div':iZ,'instance':iX[iY]}));}return iW;};BDFDB['getSelectedChannel']=function(){var j0=fh['ChannelStore']['getChannel'](fh['LastChannelStore']['getChannelId']());if(j0)return BDFDB['getChannelData'](j0['id'])||Object['assign'](new j0['constructor'](j0),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(j1){if(!Node['prototype']['isPrototypeOf'](j1)||!BDFDB['getReactInstance'](j1))return;j1=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],j1);if(!j1)return;var j2=BDFDB['getKeyInformation']({'node':j1,'key':'channel'});return j2?j2['id']['toString']():null;};BDFDB['getChannelDiv']=function(j3){if(!j3)return null;let j4=BDFDB['getChannelData'](j3);return j4?j4['div']:null;};BDFDB['getChannelData']=function(j5){if(!j5)return null;let c=Node['prototype']['isPrototypeOf'](j5)?BDFDB['getChannelID'](j5):typeof j5=='object'?j5['id']:j5;c=typeof c=='number'?c['toFixed']():c;for(let j7 of BDFDB['readChannelList']())if(j7&&j7['id']==c)return j7;return null;};BDFDB['readDmList']=function(){var j8=[],j9=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let ja in j9)if(j9[ja]['props']&&j9[ja]['props']['channel']&&j9[ja]['_reactInternalFiber']['child'])j8['push'](Object['assign'](new j9[ja]['props']['channel']['constructor'](j9[ja]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](j9[ja]),'instance':j9[ja]}));return j8;};BDFDB['getDmID']=function(jb){if(!Node['prototype']['isPrototypeOf'](jb)||!BDFDB['getReactInstance'](jb))return;let jc=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],jb);if(!jc)return;var jd=jc['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=jd&&jd['href']?jd['href']['split']('/')['slice'](-0x1)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getDmDiv']=function(jf){if(!jf)return null;if(Node['prototype']['isPrototypeOf'](jf)){var jg=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],jf);return jg?jg['parentElement']:jg;}else{let c=typeof jf=='object'?jf['id']:jf;if(c){var jg=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 jg&&BDFDB?jg['parentElement']:jg;}}return null;};BDFDB['getDmData']=function(jj){if(!jj)return null;let c=Node['prototype']['isPrototypeOf'](jj)?BDFDB['getDmID'](jj):typeof jj=='object'?jj['id']:jj;c=typeof c=='number'?c['toFixed']():c;for(let jl of BDFDB['readDmList']())if(jl&&jl['id']==c)return jl;return null;};BDFDB['markChannelAsRead']=function(jm){if(!jm)return;var jn=[];for(let jo of jm=Array['isArray'](jm)?jm:typeof jm=='string'||typeof jm=='number'?Array['of'](jm):Array['from'](jm)){let c=Node['prototype']['isPrototypeOf'](jo)?BDFDB['getChannelID'](jo)||BDFDB['getDmID'](jo):jo&&typeof jo=='object'?jo['id']:jo;if(c)jn['push'](c);}if(jn['length']>0x0)fh['AckUtils']['bulkAck'](jn);};BDFDB['markGuildAsRead']=function(jq){if(!jq)return;var jr=[];for(let js of Array['isArray'](jq)?jq:typeof jq=='string'||typeof jq=='number'?Array['of'](jq):Array['from'](jq)){let c=Node['prototype']['isPrototypeOf'](js)?BDFDB['getServerID'](js):js&&typeof js=='object'?js['id']:js;let ju=c?fh['GuildChannelStore']['getChannels'](c):null;if(ju)for(let jv in ju)if(Array['isArray'](ju[jv]))for(let jw of ju[jv])jr['push'](jw['channel']['id']);}if(jr['length']>0x0)fh['AckUtils']['bulkAck'](jr);};BDFDB['saveAllData']=function(jx,jy,jz){var jA=require('fs'),jB,jC;if(!BDFDB['isBDv2']()){jC=typeof jy==='string'?jy:jy['name'];jB=require('path')['join'](BDFDB['getPluginsFolder'](),jC+'.config.json');}else{jC=typeof jy==='string'?jy['toLowerCase']():null;var jD=jC?BDFDB['Plugins'][jC]?BDFDB['Plugins'][jC]['contentPath']:null:jy['contentPath'];if(!jD)return;jB=require('path')['join'](jD,'settings.json');}var jE=jA['existsSync'](jB);var jF=!jE?{}:typeof BDFDB['cachedData'][jC]!=='undefined'?BDFDB['cachedData'][jC]:BDFDB['readConfig'](jB);jF[jz]=jx;if(BDFDB['isObjectEmpty'](jF[jz]))delete jF[jz];if(BDFDB['isObjectEmpty'](jF)){delete BDFDB['cachedData'][jC];if(jE)jA['unlinkSync'](jB);}else{BDFDB['cachedData'][jC]=jF;jA['writeFileSync'](jB,JSON['stringify'](jF,null,'\x09'));}};BDFDB['loadAllData']=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');}if(!jI['existsSync'](jJ)){delete BDFDB['cachedData'][jK];return{};}var jM=typeof BDFDB['cachedData'][jK]!=='undefined'?BDFDB['cachedData'][jK]:BDFDB['readConfig'](jJ);BDFDB['cachedData'][jK]=jM;return jM&&typeof jM[jH]!=='undefined'?jM[jH]:{};};BDFDB['removeAllData']=function(jN,jO){var jP=require('fs'),jQ,jR;if(!BDFDB['isBDv2']()){jR=typeof jN==='string'?jN:jN['name'];jQ=require('path')['join'](BDFDB['getPluginsFolder'](),jR+'.config.json');}else{jR=typeof jN==='string'?jN['toLowerCase']():null;var jS=jR?BDFDB['Plugins'][jR]?BDFDB['Plugins'][jR]['contentPath']:null:jN['contentPath'];if(!jS)return;jQ=require('path')['join'](jS,'settings.json');}var jT=jP['existsSync'](jQ);var jU=!jT?{}:typeof BDFDB['cachedData'][jR]!=='undefined'?BDFDB['cachedData'][jR]:BDFDB['readConfig'](jQ);delete jU[jO];if(BDFDB['isObjectEmpty'](jU)){delete BDFDB['cachedData'][jR];if(jT)jP['unlinkSync'](jQ);}else{BDFDB['cachedData'][jR]=jU;jP['writeFileSync'](jQ,JSON['stringify'](jU,null,'\x09'));}};BDFDB['getAllData']=function(jV,jW){if(!BDFDB['isObject'](jV)||!jV['defaults']||!jV['defaults'][jW])return{};var jX=BDFDB['loadAllData'](jV,jW),jY={},jZ=![];for(let k0 in jV['defaults'][jW]){if(jX[k0]==null){jY[k0]=jV['defaults'][jW][k0]['value'];jZ=!![];}else jY[k0]=jX[k0];}if(jZ)BDFDB['saveAllData'](jY,jV,jW);return jY;};BDFDB['readConfig']=function(k1){try{return JSON['parse'](require('fs')['readFileSync'](k1));}catch(k2){return{};}};BDFDB['saveData']=function(c,k4,k5,k6){var k7=BDFDB['loadAllData'](k5,k6);k7[c]=k4;BDFDB['saveAllData'](k7,k5,k6);};BDFDB['loadData']=function(c,k9,ka){var kb=BDFDB['loadAllData'](k9,ka);var kc=kb[c];return kc===undefined?null:kc;};BDFDB['removeData']=function(c,ke,kf){var kg=BDFDB['loadAllData'](ke,kf);delete kg[c];BDFDB['saveAllData'](kg,ke,kf);};BDFDB['getData']=function(c,ki,kj){var kk=BDFDB['getAllData'](ki,kj);var kl=kk[c];return kl===undefined?null:kl;};BDFDB['appendWebScript']=function(km,kn){if(!kn&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kn=kn||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];kn=Node['prototype']['isPrototypeOf'](kn)?kn:document['head'];BDFDB['removeWebScript'](km,kn);kn['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(ko,kp){kp=kp||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];kp=Node['prototype']['isPrototypeOf'](kp)?kp:document['head'];BDFDB['removeEles'](kp['querySelectorAll']('script[src=\x22'+ko+'\x22]'));};BDFDB['appendWebStyle']=function(kq,kr){if(!kr&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kr=kr||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kr=Node['prototype']['isPrototypeOf'](kr)?kr:document['head'];BDFDB['removeWebStyle'](kq,kr);kr['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(ks,kt){kt=kt||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kt=Node['prototype']['isPrototypeOf'](kt)?kt:document['head'];BDFDB['removeEles'](kt['querySelectorAll']('link[href=\x22'+ks+'\x22]'));};BDFDB['appendLocalStyle']=function(c,kv,kw){if(!kw&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));kw=kw||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];kw=Node['prototype']['isPrototypeOf'](kw)?kw:document['head'];BDFDB['removeLocalStyle'](c,kw);kw['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(c,ky){ky=ky||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];ky=Node['prototype']['isPrototypeOf'](ky)?ky:document['head'];BDFDB['removeEles'](ky['querySelectorAll']('style[id=\x22'+c+'CSS\x22]'));};BDFDB['formatBytes']=function(kz,kA){kz=parseInt(kz);if(isNaN(kz)||kz<0x0)return'0\x20Bytes';if(kz==0x1)return'1\x20Byte';var kB=Math['floor'](Math['log'](kz)/Math['log'](0x400));return parseFloat((kz/Math['pow'](0x400,kB))['toFixed'](kA<0x1?0x0:kA>0x14?0x14:kA||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][kB];};BDFDB['colorCONVERT']=function(kC,kD,kE){if(!kC)return null;kD=kD===undefined||!kD?kD='RGBCOMP':kD['toUpperCase']();kE=kE===undefined||!kE||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](kE['toUpperCase']())?BDFDB['colorTYPE'](kC):kE['toUpperCase']();if(kD=='RGBCOMP'){switch(kE){case'RGBCOMP':if(kC['length']==0x3)return le(kC);else if(kC['length']==0x4){var kF=lh(kC['pop']());return le(kC)['concat'](kF);}case'RGB':return le(kC['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var kG=kC['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kF=lh(kG['pop']());return le(kG)['concat'](kF);case'HSLCOMP':if(kC['length']==0x3)return BDFDB['colorCONVERT']('hsl('+kC['join'](',')+')','RGBCOMP');else if(kC['length']==0x4){var kF=lh(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](kF);}case'HSL':var kJ=ll(kC['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var kK,kL,kM,kN,kO,kP,kQ,kR;var kS=kJ[0x0]/0x168,kT=parseInt(kJ[0x1])/0x64,kU=parseInt(kJ[0x2])/0x64;kN=Math['floor'](kS*0x6);kO=kS*0x6-kN;kP=kU*(0x1-kT);kQ=kU*(0x1-kO*kT);kR=kU*(0x1-(0x1-kO)*kT);switch(kN%0x6){case 0x0:kK=kU,kL=kR,kM=kP;break;case 0x1:kK=kQ,kL=kU,kM=kP;break;case 0x2:kK=kP,kL=kU,kM=kR;break;case 0x3:kK=kP,kL=kQ,kM=kU;break;case 0x4:kK=kR,kL=kP,kM=kU;break;case 0x5:kK=kU,kL=kP,kM=kQ;break;}return[Math['round'](kK*0xff),Math['round'](kL*0xff),Math['round'](kM*0xff)];case'HSLA':var kJ=kC['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var kF=lh(kJ['pop']());return BDFDB['colorCONVERT']('hsl('+kJ['join'](',')+')','RGBCOMP')['concat'](kF);case'HEX':var kX=/^#([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'](kC);return[parseInt(kX[0x1]+kX[0x1]||kX[0x4],0x10)['toString'](),parseInt(kX[0x2]+kX[0x2]||kX[0x5],0x10)['toString'](),parseInt(kX[0x3]+kX[0x3]||kX[0x6],0x10)['toString']()];default:return null;}}else{var kY=kE=='RGBCOMP'?kC:BDFDB['colorCONVERT'](kC,'RGBCOMP',kE);if(kY)switch(kD){case'RGB':return'rgb('+le(kY['slice'](0x0,0x3))['join'](',')+')';case'RGBA':kY=kY['slice'](0x0,0x4);var kF=kY['length']==0x4?lh(kY['pop']()):0x1;return'rgba('+le(kY)['concat'](kF)['join'](',')+')';case'HSLCOMP':var kF=kY['length']==0x4?lh(kY['pop']()):null;var kJ=ll(BDFDB['colorCONVERT'](kY,'HSL')['replace'](/\s/g,'')['split'](','));return kF?kJ['concat'](kF):kJ;case'HSL':var kK=lc(kY[0x0]),kL=lc(kY[0x1]),kM=lc(kY[0x2]);var l5=Math['max'](kK,kL,kM),l6=Math['min'](kK,kL,kM),l7=l5-l6,kS,kT=l5===0x0?0x0:l7/l5,kU=l5/0xff;switch(l5){case l6:kS=0x0;break;case kK:kS=kL-kM+l7*(kL0xff?0xff:kO<0x0?0x0:kO;};function le(kG){return kG['map'](kO=>{return lc(kO);});};function lh(kF){kF=kF['toString']();kF=(kF['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(kF['replace'](/[^0-9\.\-]/g,''));return isNaN(kF)||kF>0x1?0x1:kF<0x0?0x0:kF;};function lj(lk){lk=parseFloat(lk['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(lk)||lk>0x64?0x64:lk<0x0?0x0:lk)+'%';};function ll(kG){let kS=parseFloat(kG['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));kS=isNaN(kS)||kS>0x168?0x168:kS<0x0?0x0:kS;return[kS]['concat'](kG['map'](lo=>{return lj(lo);}));};};var lp=(lq,lr,ls)=>{var lt=BDFDB['colorCONVERT'](lq,'RGBCOMP');if(lt){lr=lr['toString']();lr=(lr['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lr['replace'](/[^0-9\.\-]/g,''));lr=isNaN(lr)||lr>0x1?0x1:lr<0x0?0x0:lr;lt[0x3]=lr;ls=(ls||BDFDB['colorTYPE'](lq))['toUpperCase']();ls=ls=='HSL'||ls=='RGB'?ls+'A':ls;return BDFDB['colorCONVERT'](lt,ls);}return null;};BDFDB['colorSETALPHA']=function(lu,lv,lw){if(BDFDB['isObject'](lu)){var lx={};for(let ly in lu)lx[ly]=lp(lu[ly],lv,lw);return lx;}else return lp(lu,lv,lw);};var lz=(lA,lB,lC)=>{var lD=BDFDB['colorCONVERT'](lA,'RGBCOMP');if(lD){if(parseInt(lB)!==lB){lB=lB['toString']();lB=(lB['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lB['replace'](/[^0-9\.\-]/g,''));lB=isNaN(lB)?0x0:lB;return BDFDB['colorCONVERT']([Math['round'](lD[0x0]*(0x1+lB)),Math['round'](lD[0x1]*(0x1+lB)),Math['round'](lD[0x2]*(0x1+lB))],lC||BDFDB['colorTYPE'](lA));}else return BDFDB['colorCONVERT']([Math['round'](lD[0x0]+lB),Math['round'](lD[0x1]+lB),Math['round'](lD[0x2]+lB)],lC||BDFDB['colorTYPE'](lA));}return null;};BDFDB['colorCHANGE']=function(lE,lF,lG){lF=parseFloat(lF);if(lE&&typeof lF=='number'&&!isNaN(lF)){if(BDFDB['isObject'](lE)){var lH={};for(let lI in lE)lH[lI]=lz(lE[lI],lF,lG);return lH;}else return lz(lE,lF,lG);}return null;};BDFDB['colorINV']=function(lJ,lK){if(lJ){var lL=BDFDB['colorCONVERT'](lJ,'RGBCOMP');if(lL)return BDFDB['colorCONVERT']([0xff-lL[0x0],0xff-lL[0x1],0xff-lL[0x2]],lK||BDFDB['colorTYPE'](lJ));}return null;};BDFDB['colorCOMPARE']=function(lM,lN){if(lM&&lN){lM=BDFDB['colorCONVERT'](lM,'RGBCOMP');lN=BDFDB['colorCONVERT'](lN,'RGBCOMP');if(lM&&lN)return BDFDB['equals'](lM,lN);}return null;};BDFDB['colorISBRIGHT']=function(lO,lP=0xa0){lO=BDFDB['colorCONVERT'](lO,'RGBCOMP');if(!lO)return![];return parseInt(lP)