diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 5dee56809b..c55a15667e 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -8396,7 +8396,7 @@ var BDFDB = {
var BDFDBprocessFunctions = {};
BDFDBprocessFunctions.processV2CContentColumn = function (e) {
- if (window.PluginUpdates && window.PluginUpdates.plugins && e.instance.props && e.instance.props.title == "Plugins") {
+ if (window.PluginUpdates && window.PluginUpdates.plugins && e.instance.props.title == "Plugins") {
let [children, index] = BDFDB.ReactUtils.findChildren(e.returnvalue, {key: "folder-button"});
if (index > -1) children.splice(index + 1, 0, BDFDB.ReactUtils.createElement(LibraryComponents.TooltipContainer, {
text: "Only checks for updates of plugins, which support the updatecheck. Rightclick for a list of supported plugins. (Listed ≠ Outdated)",
diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js
index 54ebffaeff..7f6c6d120c 100644
--- a/Plugins/BDFDB.min.js
+++ b/Plugins/BDFDB.min.js
@@ -1 +1 @@
-if(window['BDFDB']&&BDFDB['ListenerUtils']&&typeof BDFDB['ListenerUtils']['remove']=='function')BDFDB['ListenerUtils']['remove'](BDFDB);if(window['BDFDB']&&BDFDB['ObserverUtils']&&typeof BDFDB['ObserverUtils']['disconnect']=='function')BDFDB['ObserverUtils']['disconnect'](BDFDB);if(window['BDFDB']&&BDFDB['ModuleUtils']&&typeof BDFDB['ModuleUtils']['unpatch']=='function')BDFDB['ModuleUtils']['unpatch'](BDFDB);var BDFDB={'myPlugins':BDFDB&&BDFDB['myPlugins']||{},'InternalData':BDFDB&&BDFDB['InternalData']||{'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0}},'BDv2Api':BDFDB&&BDFDB['BDv2Api']||undefined,'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'name':'$BDFDB'};(c=>{var d=Math['round'](Math['random']()*0x2386f26fc10000),e={};BDFDB['InternalData']['loadid']=d;BDFDB['InternalData']['creationTime']=performance['now']();BDFDB['LogUtils']={};BDFDB['LogUtils']['log']=function(f,g){if(typeof f!='string')f='';if(typeof g!='string'||g=='$BDFDB')g='BDFDB';console['log']('%c['+g+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',f['trim']());};BDFDB['LogUtils']['warn']=function(h,i){if(typeof h!='string')h='';if(typeof i!='string'||i=='$BDFDB')i='BDFDB';console['warn']('%c['+i+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',h['trim']());};BDFDB['LogUtils']['error']=function(j,k){if(typeof j!='string')j='';if(typeof k!='string'||k=='$BDFDB')k='BDFDB';console['error']('%c['+k+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20'+j['trim']());};BDFDB['LogUtils']['log']('Loading\x20library.');BDFDB['PluginUtils']={};BDFDB['PluginUtils']['init']=function(l){l['name']=l['name']||(typeof l['getName']=='function'?l['getName']():null);l['version']=l['version']||(typeof l['getVersion']=='function'?l['getVersion']():null);l['author']=l['author']||(typeof l['getAuthor']=='function'?l['getAuthor']():null);l['description']=l['description']||(typeof l['getDescription']=='function'?l['getDescription']():null);e['clearStartTimeout'](l);var m=BDFDB['LanguageUtils']['LibraryStringsFormat']('toast_plugin_started','v'+l['version']);BDFDB['LogUtils']['log'](m,l['name']);if(!BDFDB['BDUtils']['getSettings']('fork-ps-2'))BDFDB['NotificationUtils']['toast'](l['name']+'\x20'+m,{'nopointer':!![],'selector':'plugin-started-toast'});var n=typeof l['getRawUrl']=='function'&&typeof l['getRawUrl']()=='string'?l['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+l['name']+'/'+l['name']+'.plugin.js';BDFDB['PluginUtils']['checkUpdate'](l['name'],n);if(typeof l['initConstructor']==='function')BDFDB['TimeUtils']['suppress'](l['initConstructor']['bind'](l),'Could\x20not\x20initiate\x20constructor!',l['name'])();if(typeof l['css']==='string')BDFDB['DOMUtils']['appendLocalStyle'](l['name'],l['css']);e['patchPlugin'](l);e['addOnSettingsClosedListener'](l);e['addOnSwitchListener'](l);e['addContextListeners'](l);BDFDB['PluginUtils']['translate'](l);BDFDB['PluginUtils']['checkChangeLog'](l);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][n]={'name':l['name'],'raw':n,'version':l['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=BDFDB['TimeUtils']['interval'](c=>{BDFDB['PluginUtils']['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);l['started']=!![];delete l['stopping'];for(let p in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][p]['started']&&typeof BDFDB['myPlugins'][p]['initialize']=='function')setImmediate(()=>{BDFDB['TimeUtils']['suppress'](BDFDB['myPlugins'][p]['initialize']['bind'](BDFDB['myPlugins'][p]),'Could\x20not\x20initiate\x20plugin!',p)();});};BDFDB['PluginUtils']['clear']=function(q){e['clearStartTimeout'](q);delete BDFDB['myPlugins'][q['name']];var r=BDFDB['LanguageUtils']['LibraryStringsFormat']('toast_plugin_stopped','v'+q['version']);BDFDB['LogUtils']['log'](r,q['name']);if(!BDFDB['BDUtils']['getSettings']('fork-ps-2'))BDFDB['NotificationUtils']['toast'](q['name']+'\x20'+r,{'nopointer':!![],'selector':'plugin-stopped-toast'});var s=typeof q['getRawUrl']=='function'&&typeof q['getRawUrl']()=='string'?q['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+q['name']+'/'+q['name']+'.plugin.js';if(typeof q['css']==='string')BDFDB['DOMUtils']['removeLocalStyle'](q['name']);BDFDB['ModuleUtils']['unpatch'](q);BDFDB['ListenerUtils']['remove'](q);BDFDB['ObserverUtils']['disconnect'](q);e['removeOnSwitchListener'](q);for(let t of document['querySelectorAll']('.'+q['name']+'-modal,\x20.'+q['name']['toLowerCase']()+'-modal,\x20.'+q['name']+'-settingsmodal,\x20.'+q['name']['toLowerCase']()+'-settingsmodal')){let u=t['querySelector'](BDFDB['dotCN']['modalclose']);if(u)u['click']();}delete window['PluginUpdates']['plugins'][s];delete q['started'];BDFDB['TimeUtils']['timeout'](()=>{delete q['stopping'];});};BDFDB['PluginUtils']['translate']=function(v){v['labels']={};if(typeof v['setLabelsByLanguage']==='function'||typeof v['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])y();else{var w=BDFDB['TimeUtils']['interval'](c=>{if(document['querySelector']('html')['lang']){BDFDB['TimeUtils']['clear'](w);y();}},0x64);}function y(){var z=BDFDB['LanguageUtils']['getLanguage']();if(typeof v['setLabelsByLanguage']==='function')v['labels']=v['setLabelsByLanguage'](z['id']);if(typeof v['changeLanguageStrings']==='function')v['changeLanguageStrings']();BDFDB['LogUtils']['log'](BDFDB['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',z['ownlang']),v['name']);}}};BDFDB['PluginUtils']['checkUpdate']=function(A,B){if(BDFDB['BDUtils']['isBDv2']()||!A||!B)return;h4['request'](B,(C,D,E)=>{if(C)return;var F=E['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!F)return;if(BDFDB['NumberUtils']['getVersionDifference'](F[0x0],window['PluginUpdates']['plugins'][B]['version'])>0.2){BDFDB['NotificationUtils']['toast'](A+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});BDFDB['PluginUtils']['downloadUpdate'](A,B);}else if(BDFDB['NumberUtils']['compareVersions'](F[0x0],window['PluginUpdates']['plugins'][B]['version']))BDFDB['PluginUtils']['showUpdateNotice'](A,B);else BDFDB['PluginUtils']['removeUpdateNotice'](A);});};BDFDB['PluginUtils']['checkAllUpdates']=function(){for(let G in window['PluginUpdates']['plugins']){var H=window['PluginUpdates']['plugins'][G];BDFDB['PluginUtils']['checkUpdate'](H['name'],H['raw']);}};BDFDB['PluginUtils']['showUpdateNotice']=function(I,J){if(!I||!J)return;var K=document['querySelector']('#pluginNotice');if(!K){K=BDFDB['NotificationUtils']['notice']('The\x20following\x20plugins\x20need\x20to\x20be\x20updated: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['BDUtils']['isAutoLoadEnabled']()?'Reload':'','customicon':''});K['style']['setProperty']('display','block','important');K['style']['setProperty']('visibility','visible','important');K['style']['setProperty']('opacity','1','important');K['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',c=>{BDFDB['DOMUtils']['remove']('.update-clickme-tooltip');});var M=K['querySelector'](BDFDB['dotCN']['noticebutton']);if(M){BDFDB['DOMUtils']['toggle'](M,!![]);M['addEventListener']('click',c=>{window['location']['reload'](![]);});M['addEventListener']('mouseenter',c=>{if(window['PluginUpdates']['downloaded'])BDFDB['TooltipUtils']['create'](M,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(K){var P=K['querySelector']('#outdatedPlugins');if(P&&!P['querySelector']('#'+I+'-notice')){if(P['querySelector']('span'))P['appendChild'](BDFDB['DOMUtils']['create'](',\x20'));var Q=BDFDB['DOMUtils']['create'](''+I+'');Q['addEventListener']('click',c=>{BDFDB['PluginUtils']['downloadUpdate'](I,J);});P['appendChild'](Q);if(!document['querySelector']('.update-clickme-tooltip'))BDFDB['TooltipUtils']['create'](P,'Click\x20us!',{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};BDFDB['PluginUtils']['removeUpdateNotice']=function(S,T=document['querySelector']('#pluginNotice')){if(!S||!T)return;var U=T['querySelector']('#outdatedPlugins');if(U){var V=U['querySelector']('#'+S+'-notice');if(V){var W=V['nextSibling'];var X=V['prevSibling'];if(W&&BDFDB['DOMUtils']['containsClass'](W,'separator'))W['remove']();else if(X&&BDFDB['DOMUtils']['containsClass'](X,'separator'))X['remove']();V['remove']();}if(!U['querySelector']('span')){var Y=T['querySelector'](BDFDB['dotCN']['noticebutton']);if(Y){T['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['DOMUtils']['toggle'](Y,![]);}else T['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['PluginUtils']['downloadUpdate']=function(Z,a0){if(!Z||!a0)return;h4['request'](a0,(a1,a2,a3)=>{if(a1)return BDFDB['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+Z);BDFDB['InternalData']['creationTime']=0x0;var a4=a3['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);a4=a4['toString']()['replace'](/['"]/g,'');h4['fs']['writeFileSync'](h4['path']['join'](BDFDB['BDUtils']['getPluginsFolder'](),a0['split']('/')['slice'](-0x1)[0x0]),a3);BDFDB['NotificationUtils']['toast'](Z+'\x20v'+window['PluginUpdates']['plugins'][a0]['version']+'\x20has\x20been\x20replaced\x20by\x20'+Z+'\x20v'+a4+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var a5=document['querySelector']('#pluginNotice');if(a5){if(a5['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][a0]['version']=a4;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](Z))window['PluginUpdates']['downloaded']['push'](Z);}BDFDB['PluginUtils']['removeUpdateNotice'](Z,a5);}});};BDFDB['PluginUtils']['checkChangeLog']=function(a6){if(!BDFDB['ObjectUtils']['is'](a6)||!a6['changelog'])return;var a7=BDFDB['DataUtils']['load'](a6,'changelog');if(!a7['currentversion']||BDFDB['NumberUtils']['compareVersions'](a6['version'],a7['currentversion'])){a7['currentversion']=a6['version'];BDFDB['DataUtils']['save'](a7,a6,'changelog');BDFDB['PluginUtils']['openChangeLog'](a6);}};BDFDB['PluginUtils']['openChangeLog']=function(a8){if(!BDFDB['ObjectUtils']['is'](a8)||!a8['changelog'])return;var a9='',aa={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let ab in a8['changelog']){ab=ab['toLowerCase']();var ac=BDFDB['disCN']['changelog'+ab];if(ac){a9+='
'+aa[ab]+'
';for(let ad of a8['changelog'][ab])a9+='- '+ad[0x0]+''+(ad[0x1]?':\x20'+ad[0x1]+'.':'')+'
';a9+='
';}}if(a9)BDFDB['ModalUtils']['open'](a8,{'header':BDFDB['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'children':BDFDB['ReactUtils']['elementToReact'](BDFDB['DOMUtils']['create'](a9)),'className':BDFDB['disCN']['modalchangelogmodal'],'contentClassName':BDFDB['disCNS']['changelogcontainer']+BDFDB['disCN']['modalminicontent']});};BDFDB['PluginUtils']['createSettingsPanel']=function(ae,af){if(!BDFDB['ObjectUtils']['is'](ae)||!af||!BDFDB['ReactUtils']['isValidElement'](af)&&!BDFDB['ArrayUtils']['is'](af)||BDFDB['ArrayUtils']['is'](af)&&!af['length'])return;var ag=BDFDB['DOMUtils']['create']('');BDFDB['ReactUtils']['render'](BDFDB['ReactUtils']['createElement'](xq['SettingsPanel'],{'title':ae['name'],'children':af}),ag);return ag;};e['clearStartTimeout']=function(ah){if(!BDFDB['ObjectUtils']['is'](ah))return;BDFDB['TimeUtils']['clear'](ah['startTimeout'],ah['libLoadTimeout']);delete ah['startTimeout'];delete ah['libLoadTimeout'];};e['addOnSettingsClosedListener']=function(ai){if(BDFDB['ObjectUtils']['is'](ai)&&typeof ai['onSettingsClosed']==='function'){let aj=BDFDB['ModuleUtils']['findByName']('StandardSidebarView');if(aj)BDFDB['ModuleUtils']['patch'](ai,aj['prototype'],'componentWillUnmount',{'after':ak=>{ai['onSettingsClosed']();}});}};e['addOnSwitchListener']=function(al){if(BDFDB['ObjectUtils']['is'](al)&&typeof al['onSwitch']==='function'){e['removeOnSwitchListener'](al);var am=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(am){var an=new MutationObserver(ao=>{ao['forEach'](ap=>{if(ap['target']&&BDFDB['DOMUtils']['containsClass'](ap['target'],BDFDB['disCN']['nochannel']))al['onSwitch']();});});var aq=am['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(aq)an['observe'](aq,{'attributes':!![]});al['onSwitchFix']=new MutationObserver(ar=>{ar['forEach'](as=>{if(as['addedNodes']){as['addedNodes']['forEach'](at=>{if(BDFDB['DOMUtils']['containsClass'](at,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))an['observe'](at,{'attributes':!![]});});}});});al['onSwitchFix']['observe'](am,{'childList':!![]});}}};e['removeOnSwitchListener']=function(au){if(BDFDB['ObjectUtils']['is'](au)&&typeof au['onSwitch']==='function'&&BDFDB['ObjectUtils']['is'](au['onSwitchFix'])){au['onSwitchFix']['disconnect']();delete au['onSwitchFix'];}};BDFDB['ObserverUtils']={};BDFDB['ObserverUtils']['connect']=function(av,aw,ax,ay={'childList':!![]}){if(!BDFDB['ObjectUtils']['is'](av)||!aw||!ax)return;if(BDFDB['ObjectUtils']['isEmpty'](av['observers']))av['observers']={};if(!BDFDB['ArrayUtils']['is'](av['observers'][ax['name']]))av['observers'][ax['name']]=[];if(!ax['multi'])for(let az of av['observers'][ax['name']])az['disconnect']();if(ax['instance'])av['observers'][ax['name']]['push'](ax['instance']);var aA=av['observers'][ax['name']][av['observers'][ax['name']]['length']-0x1];if(aA){var aB=Node['prototype']['isPrototypeOf'](aw)?aw:typeof aw==='string'?document['querySelector'](aw):null;if(aB)aA['observe'](aB,ay);}};BDFDB['ObserverUtils']['disconnect']=function(aC,aD){if(BDFDB['ObjectUtils']['is'](aC)&&!BDFDB['ObjectUtils']['isEmpty'](aC['observers'])){let aE=typeof aD=='string'?aD:BDFDB['ObjectUtils']['is'](aD)?aD['name']:null;if(!aE){for(let aD in aC['observers'])for(let aG of aC['observers'][aD])aG['disconnect']();delete aC['observers'];}else if(!BDFDB['ArrayUtils']['is'](aC['observers'][aE])){for(let aH of aC['observers'][aE])aH['disconnect']();delete aC['observers'][aE];}}};BDFDB['ListenerUtils']={};BDFDB['ListenerUtils']['add']=function(aI,aJ,aK,aL,aM){if(!BDFDB['ObjectUtils']['is'](aI)||!Node['prototype']['isPrototypeOf'](aJ)&&aJ!==window||!aK)return;var aN=typeof aL=='function';var aO=aN?undefined:aL;var aP=aN?aL:aM;if(typeof aP!='function')return;BDFDB['ListenerUtils']['remove'](aI,aJ,aK,aO);for(var aQ of aK['split']('\x20')){aQ=aQ['split']('.');var aR=aQ['shift']()['toLowerCase']();if(!aR)return;var aS=aR;aR=aR=='mouseenter'||aR=='mouseleave'?'mouseover':aR;var aT=(aQ['join']('.')||'')+aI['name'];if(!BDFDB['ArrayUtils']['is'](aI['listeners']))aI['listeners']=[];var aU=null;if(aO){if(aS=='mouseenter'||aS=='mouseleave'){aU=aV=>{for(let aW of aV['path'])if(typeof aW['matches']=='function'&&aW['matches'](aO)&&!aW[aT+'BDFDB'+aS]){aW[aT+'BDFDB'+aS]=!![];if(aS=='mouseenter')aP(BDFDB['ListenerUtils']['copyEvent'](aV,aW));let aX=aY=>{if(aY['target']['contains'](aW)||aY['target']==aW||!aW['contains'](aY['target'])){if(aS=='mouseleave')aP(BDFDB['ListenerUtils']['copyEvent'](aV,aW));delete aW[aT+'BDFDB'+aS];document['removeEventListener']('mouseout',aX);}};document['addEventListener']('mouseout',aX);break;}};}else{aU=aZ=>{for(let b0 of aZ['path'])if(typeof b0['matches']=='function'&&b0['matches'](aO)){aP(BDFDB['ListenerUtils']['copyEvent'](aZ,b0));break;}};}}else aU=b1=>{aP(BDFDB['ListenerUtils']['copyEvent'](b1,aJ));};aI['listeners']['push']({'ele':aJ,'eventname':aR,'origeventname':aS,'namespace':aT,'selector':aO,'eventcallback':aU});aJ['addEventListener'](aR,aU,!![]);}};BDFDB['ListenerUtils']['remove']=function(b2,b3,b4='',b5){if(!BDFDB['ObjectUtils']['is'](b2)||!BDFDB['ArrayUtils']['is'](b2['listeners']))return;if(Node['prototype']['isPrototypeOf'](b3)||b3===window){for(var b6 of b4['split']('\x20')){b6=b6['split']('.');var b7=b6['shift']()['toLowerCase']();var b8=(b6['join']('.')||'')+b2['name'];for(let b9 of b2['listeners']){let ba=[];if(b9['ele']==b3&&(!b7||b9['origeventname']==b7)&&b9['namespace']==b8&&(b5===undefined||b9['selector']==b5)){b3['removeEventListener'](b9['eventname'],b9['eventcallback'],!![]);ba['push'](b9);}if(ba['length'])b2['listeners']=b2['listeners']['filter'](b9=>{return ba['indexOf'](b9)<0x0;});}}}else if(!b3){for(let bc of b2['listeners'])bc['ele']['removeEventListener'](bc['eventname'],bc['eventcallback'],!![]);b2['listeners']=[];}};BDFDB['ListenerUtils']['multiAdd']=function(bd,be,bf){if(!Node['prototype']['isPrototypeOf'](bd)||!be||typeof bf!='function')return;for(var bg of be['trim']()['split']('\x20')['filter'](bh=>bh))bd['addEventListener'](bg,bf,!![]);};BDFDB['ListenerUtils']['multiRemove']=function(bi,bj,bk){if(!Node['prototype']['isPrototypeOf'](bi)||!bj||typeof bk!='function')return;for(var bl of bj['trim']()['split']('\x20')['filter'](bm=>bm))bi['removeEventListener'](bl,bk,!![]);};BDFDB['ListenerUtils']['addToChildren']=function(bn,bo,bp,bq){if(!Node['prototype']['isPrototypeOf'](bn)||!bo||!bp||!bp['trim']()||typeof bq!='function')return;for(var br of bo['trim']()['split']('\x20')['filter'](bs=>bs)){var bt=bq;if(br=='mouseenter'||br=='mouseleave')bt=bu=>{if(bu['target']['matches'](bp))bq(bu);};bn['querySelectorAll'](bp['trim']())['forEach'](bv=>{bv['addEventListener'](br,bt,!![]);});}};BDFDB['ListenerUtils']['copyEvent']=function(bw,bx){if(!bw||!bw['constructor']||!bw['type'])return bw;var by=new bw['constructor'](bw['type'],bw);Object['defineProperty'](by,'originalEvent',{'value':bw});Object['defineProperty'](by,'which',{'value':bw['which']});Object['defineProperty'](by,'keyCode',{'value':bw['keyCode']});Object['defineProperty'](by,'path',{'value':bw['path']});Object['defineProperty'](by,'relatedTarget',{'value':bw['relatedTarget']});Object['defineProperty'](by,'srcElement',{'value':bw['srcElement']});Object['defineProperty'](by,'target',{'value':bw['target']});Object['defineProperty'](by,'toElement',{'value':bw['toElement']});if(bx)Object['defineProperty'](by,'currentTarget',{'value':bx});return by;};BDFDB['ListenerUtils']['stopEvent']=function(bz){if(BDFDB['ObjectUtils']['is'](bz)){if(typeof bz['preventDefault']=='function')bz['preventDefault']();if(typeof bz['stopPropagation']=='function')bz['stopPropagation']();if(typeof bz['stopImmediatePropagation']=='function')bz['stopImmediatePropagation']();if(BDFDB['ObjectUtils']['is'](bz['originalEvent'])){if(typeof bz['originalEvent']['preventDefault']=='function')bz['originalEvent']['preventDefault']();if(typeof bz['originalEvent']['stopPropagation']=='function')bz['originalEvent']['stopPropagation']();if(typeof bz['originalEvent']['stopImmediatePropagation']=='function')bz['originalEvent']['stopImmediatePropagation']();}}};var bA=[],bB={'queue':[],'running':![]};BDFDB['NotificationUtils']={};BDFDB['NotificationUtils']['toast']=function(bC,bD={}){var bE=document['querySelector']('.toasts,\x20.bd-toasts');if(!bE){var bF=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bG=bF?BDFDB['DOMUtils']['getRects'](bF):null;var bH=bF?bF['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bI=bG?bG['left']:0x136;var bJ=bG?bH?bG['width']-BDFDB['DOMUtils']['getRects'](bH)['width']:bG['width']:window['outerWidth']-0x0;var bK=bF?bF['querySelector']('form'):null;var bL=bK?BDFDB['DOMUtils']['getRects'](bK)['height']:0x50;bE=BDFDB['DOMUtils']['create']('');(document['querySelector'](BDFDB['dotCN']['app'])||document['body'])['appendChild'](bE);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=bD;var bM=BDFDB['DOMUtils']['create'](''+(html===!![]?bC:BDFDB['StringUtils']['htmlEscape'](bC))+'
');if(type){BDFDB['DOMUtils']['addClass'](bM,'toast-'+type);if(icon)BDFDB['DOMUtils']['addClass'](bM,'icon');}else if(color){var bN=BDFDB['ColorUtils']['convert'](color,'RGB');if(bN)bM['style']['setProperty']('background-color',bN);}BDFDB['DOMUtils']['addClass'](bM,selector);bE['appendChild'](bM);bM['close']=c=>{if(document['contains'](bM)){BDFDB['DOMUtils']['addClass'](bM,'closing');bM['style']['setProperty']('pointer-events','none','important');BDFDB['TimeUtils']['timeout'](c=>{bM['remove']();if(!bE['querySelectorAll']('.toast,\x20.bd-toast')['length'])bE['remove']();},0xbb8);}};if(nopointer)bM['style']['setProperty']('pointer-events','none','important');else bM['addEventListener']('click',bM['close']);BDFDB['TimeUtils']['timeout'](c=>{bM['close']();},timeout>0x0?timeout:0x927c0);return bM;};BDFDB['NotificationUtils']['desktop']=function(bR,bS={}){var bT=c=>{bB['queue']['push']({'parsedcontent':bR,'parsedoptions':bS});bV();};var bV=c=>{if(!bB['running']){var bX=bB['queue']['shift']();if(bX)bY(bX['parsedcontent'],bX['parsedoptions']);}};var bY=(bZ,c0)=>{bB['running']=!![];var c1=c0['silent'];c0['silent']=c0['silent']||c0['sound']?!![]:![];var c2=new Notification(bZ,c0);var c3=new Audio();var c4=BDFDB['TimeUtils']['timeout'](c=>{c7();},c0['timeout']?c0['timeout']:0xbb8);if(typeof c0['click']=='function')c2['onclick']=c=>{BDFDB['TimeUtils']['clear'](c4);c7();c0['click']();};if(!c1&&c0['sound']){c3['src']=c0['sound'];c3['play']();}var c7=c=>{c3['pause']();c2['close']();bB['running']=![];BDFDB['TimeUtils']['timeout'](c=>{bV();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')bT();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(ca){if(ca==='granted')bT();});};BDFDB['NotificationUtils']['notice']=function(cb,cc={}){if(!cb)return;var cd=document['querySelector'](BDFDB['dotCN']['layers']);if(!cd)return;var ce=BDFDB['NumberUtils']['generateId'](bA);var cf=BDFDB['DOMUtils']['create']('');cd['parentElement']['insertBefore'](cf,cd);var cg=cf['querySelector']('.notice-message');if(cc['platform'])for(let ch of cc['platform']['split']('\x20'))if(wt['noticeicon'+ch]){let ci=BDFDB['DOMUtils']['create']('');BDFDB['DOMUtils']['addClass'](ci,BDFDB['disCN']['noticeplatformicon']);BDFDB['DOMUtils']['removeClass'](ci,BDFDB['disCN']['noticeicon']);cf['insertBefore'](ci,cg);}if(cc['customicon']){let cj=BDFDB['DOMUtils']['create'](cc['customicon']);let ci=BDFDB['DOMUtils']['create']('');if(cj['tagName']=='span'&&!cj['firstElementChild'])ci['style']['setProperty']('background','url('+cc['customicon']+')\x20center/cover\x20no-repeat');else ci['appendChild'](cj);BDFDB['DOMUtils']['addClass'](ci,BDFDB['disCN']['noticeplatformicon']);BDFDB['DOMUtils']['removeClass'](ci,BDFDB['disCN']['noticeicon']);cf['insertBefore'](ci,cg);}if(cc['btn']||cc['button'])cf['appendChild'](BDFDB['DOMUtils']['create'](''));if(cc['id'])cf['id']=cc['id']['split']('\x20')['join']('');if(cc['selector'])BDFDB['DOMUtils']['addClass'](cf,cc['selector']);if(cc['css'])BDFDB['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbar'+ce,cc['css']);if(cc['style'])cf['style']=cc['style'];if(cc['html']===!![])cg['innerHTML']=cb;else{var cl=document['createElement']('a');var cm=[];for(let cn of cb['split']('\x20')){var co=BDFDB['StringUtils']['htmlEscape'](cn);cl['href']=cn;cm['push'](cl['host']&&cl['host']!==window['location']['host']?'':co);}cg['innerHTML']=cm['join']('\x20');}var cp=null;if(cc['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(cp=BDFDB['disCN']['notice'+cc['type']])BDFDB['DOMUtils']['addClass'](cf,cp);if(cc['type']=='premium'){var cq=cf['querySelector'](BDFDB['dotCN']['noticebutton']);if(cq)BDFDB['DOMUtils']['addClass'](cq,BDFDB['disCN']['noticepremiumaction']);BDFDB['DOMUtils']['addClass'](cg,BDFDB['disCN']['noticepremiumtext']);cf['insertBefore'](BDFDB['DOMUtils']['create'](''),cg);}}if(!cp){var cr=BDFDB['ColorUtils']['convert'](cc['color'],'RGBCOMP');if(cr){var cs=cr[0x0]>0xb4&&cr[0x1]>0xb4&&cr[0x2]>0xb4?'#000':'#FFF';var ct=BDFDB['ColorUtils']['convert'](cr,'HEX');var cu=cr[0x0]>0xb4&&cr[0x1]>0xb4&&cr[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+ce,'.BDFDB-notice.notice-'+ce+'{background-color:'+ct+'\x20!important;}.BDFDB-notice.notice-'+ce+'\x20.notice-message\x20{color:'+cs+'\x20!important;}.BDFDB-notice.notice-'+ce+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cs+'\x20!important;border-color:'+BDFDB['ColorUtils']['setAlpha'](cs,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+ce+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+ct+'\x20!important;background-color:'+cs+'\x20!important;}.BDFDB-notice.notice-'+ce+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+cu+'\x20!important;}');}else BDFDB['DOMUtils']['addClass'](cf,BDFDB['disCN']['noticedefault']);}cf['style']['setProperty']('height','36px','important');cf['style']['setProperty']('min-width','70vw','important');cf['style']['setProperty']('left','unset','important');cf['style']['setProperty']('right','unset','important');let cv=(BDFDB['DOMUtils']['getWidth'](document['body']['firstElementChild'])-BDFDB['DOMUtils']['getWidth'](cf))/0x2;cf['style']['setProperty']('left',cv+'px','important');cf['style']['setProperty']('right',cv+'px','important');cf['style']['setProperty']('min-width','unset','important');cf['style']['setProperty']('width','unset','important');cf['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cv*0x2+'px)','important');cf['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',c=>{cf['style']['setProperty']('overflow','hidden','important');cf['style']['setProperty']('height','0px','important');BDFDB['TimeUtils']['timeout'](c=>{BDFDB['ArrayUtils']['remove'](bA,ce);BDFDB['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbar'+ce);BDFDB['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+ce);cf['remove']();},0x1f4);});return cf;};BDFDB['NotificationUtils']['alert']=function(cy,cz){if(typeof cy=='string'&&typeof cy=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](cy,cz);};var cA=[];BDFDB['TooltipUtils']={};BDFDB['TooltipUtils']['create']=function(cB,cC,cD={}){var cE=document['querySelector'](BDFDB['dotCN']['itemlayercontainer']);if(!cE||typeof cC!='string'||!Node['prototype']['isPrototypeOf'](cB)||!document['contains'](cB))return null;var cF=document['querySelector']('.BDFDB-itemlayercontainer');if(!cF){cF=cE['cloneNode']();BDFDB['DOMUtils']['addClass'](cF,'BDFDB-itemlayercontainer');cE['parentElement']['insertBefore'](cF,cE['nextSibling']);}var cG=BDFDB['NumberUtils']['generateId'](cA);var cH=BDFDB['DOMUtils']['create']('');cF['appendChild'](cH);var cI=cH['firstElementChild'];if(cD['id'])cI['id']=cD['id']['split']('\x20')['join']('');if(cD['selector'])BDFDB['DOMUtils']['addClass'](cI,cD['selector']);if(cD['style'])cI['style']=cD['style'];if(cD['html']===!![])cI['innerHTML']=cC;else cI['innerText']=cC;if(!cD['type']||!BDFDB['disCN']['tooltip'+cD['type']['toLowerCase']()])cD['type']='top';BDFDB['DOMUtils']['addClass'](cI,BDFDB['disCN']['tooltip'+cD['type']['toLowerCase']()]);cI['position']=cD['type']['toLowerCase']();cI['appendChild'](BDFDB['DOMUtils']['create'](''));if(cI['style']['getPropertyValue']('border-color')&&(cI['style']['getPropertyValue']('background-color')||cI['style']['getPropertyValue']('background-image')))BDFDB['DOMUtils']['addClass'](cI,'tooltip-customcolor');else if(cD['color']&&BDFDB['disCN']['tooltip'+cD['color']['toLowerCase']()])BDFDB['DOMUtils']['addClass'](cI,BDFDB['disCN']['tooltip'+cD['color']['toLowerCase']()]);else BDFDB['DOMUtils']['addClass'](cI,BDFDB['disCN']['tooltipblack']);cI['anker']=cB;if(cD['hide'])BDFDB['DOMUtils']['appendLocalStyle']('BDFDBhideOtherTooltips'+cG,'#app-mount\x20'+BDFDB['dotCN']['tooltip']+':not(.BDFDB-tooltip-'+cG+')\x20{display:\x20none\x20!important;}',cF);var cJ=c=>{BDFDB['DOMUtils']['remove'](cH);};cB['addEventListener']('mouseleave',cJ);var cL=new MutationObserver(cM=>{cM['forEach'](cN=>{var cO=Array['from'](cN['removedNodes']);var cP=cO['indexOf'](cH)>-0x1;var cQ=cO['indexOf'](cB)>-0x1;var cR=cO['some'](cS=>cS['contains'](cB));if(cP||cQ||cR){BDFDB['ArrayUtils']['remove'](cA,cG);cL['disconnect']();BDFDB['DOMUtils']['remove'](cH);BDFDB['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+cG,cF);BDFDB['DOMUtils']['removeLocalStyle']('BDFDBcustomTooltips'+cG,cF);if(!cF['firstElementChild'])BDFDB['DOMUtils']['remove'](cF);cB['removeEventListener']('mouseleave',cJ);}});});cL['observe'](document['body'],{'subtree':!![],'childList':!![]});BDFDB['TooltipUtils']['update'](cI);if(cD['delay']){BDFDB['DOMUtils']['toggle'](cH);BDFDB['TimeUtils']['timeout'](c=>{BDFDB['DOMUtils']['toggle'](cH);},cD['delay']);}return cH;};BDFDB['TooltipUtils']['update']=function(cU){if(!Node['prototype']['isPrototypeOf'](cU))return;let cV=BDFDB['DOMUtils']['getParent'](BDFDB['dotCN']['itemlayer'],cU);if(!Node['prototype']['isPrototypeOf'](cV))return;cU=cV['querySelector'](BDFDB['dotCN']['tooltip']);if(!Node['prototype']['isPrototypeOf'](cU)||!Node['prototype']['isPrototypeOf'](cU['anker'])||!cU['position'])return;var cW=cU['querySelector'](BDFDB['dotCN']['tooltippointer']);var cX,cY,cZ=BDFDB['DOMUtils']['getRects'](cU['anker']),d0=BDFDB['DOMUtils']['getRects'](cV),d1=BDFDB['DOMUtils']['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),d2={'height':0xa,'width':0xa};switch(cU['position']){case'top':cY=cZ['top']-d0['height']-d2['height']+0x2;cX=cZ['left']+(cZ['width']-d0['width'])/0x2;break;case'bottom':cY=cZ['top']+cZ['height']+d2['height']-0x2;cX=cZ['left']+(cZ['width']-d0['width'])/0x2;break;case'left':cY=cZ['top']+(cZ['height']-d0['height'])/0x2;cX=cZ['left']-d0['width']-d2['width']+0x2;break;case'right':cY=cZ['top']+(cZ['height']-d0['height'])/0x2;cX=cZ['left']+cZ['width']+d2['width']-0x2;break;}cV['style']['setProperty']('top',cY+'px');cV['style']['setProperty']('left',cX+'px');cW['style']['removeProperty']('margin-left');cW['style']['removeProperty']('margin-top');if(cU['position']=='top'||cU['position']=='bottom'){if(cX<0x0){cV['style']['setProperty']('left','5px');cW['style']['setProperty']('margin-left',cX-0xa+'px');}else{var d3=d1['width']-(cX+d0['width']);if(d3<0x0){cV['style']['setProperty']('left',d1['width']-d0['width']-0x5+'px');cW['style']['setProperty']('margin-left',-0x1*d3+'px');}}}else if(cU['position']=='left'||cU['position']=='right'){if(cY<0x0){cV['style']['setProperty']('top','5px');cW['style']['setProperty']('margin-top',cY-0xa+'px');}else{var d4=d1['height']-(cY+d0['height']);if(d4<0x0){cV['style']['setProperty']('top',d1['height']-d0['height']-0x5+'px');cW['style']['setProperty']('margin-top',-0x1*d4+'px');}}}};BDFDB['ObjectUtils']={};BDFDB['ObjectUtils']['is']=function(d5){return d5&&Object['prototype']['isPrototypeOf'](d5)&&!Array['prototype']['isPrototypeOf'](d5);};BDFDB['ObjectUtils']['extract']=function(d6,...d7){let d8={};if(BDFDB['ObjectUtils']['is'](d6))for(let d9 of d7['flat']())if(d6[d9])d8[d9]=d6[d9];return d8;};BDFDB['ObjectUtils']['exclude']=function(da,...db){let dc=Object['assign']({},da);BDFDB['ObjectUtils']['delete'](dc,...db);return dc;};BDFDB['ObjectUtils']['delete']=function(dd,...de){if(BDFDB['ObjectUtils']['is'](dd))for(let df of de['flat']())delete dd[df];};BDFDB['ObjectUtils']['sort']=function(dg,dh,di){if(!BDFDB['ObjectUtils']['is'](dg))return{};var dj={};if(dh===undefined||!dh)for(let dk of Object['keys'](dg)['sort']())dj[dk]=dg[dk];else{let dl=[];for(let dk in dg)dl['push'](dg[dk]);dl=BDFDB['ArrayUtils']['keySort'](dl,dh,di);for(let dn of dl)for(let dk in dg)if(BDFDB['equals'](dn,dg[dk])){dj[dk]=dn;break;}}return dj;};BDFDB['ObjectUtils']['reverse']=function(dq,dr){if(!BDFDB['ObjectUtils']['is'](dq))return{};var ds={};for(let dt of dr===undefined||!dr?Object['keys'](dq)['reverse']():Object['keys'](dq)['sort']()['reverse']())ds[dt]=dq[dt];return ds;};BDFDB['ObjectUtils']['filter']=function(du,dv,dw=![]){if(!BDFDB['ObjectUtils']['is'](du))return{};if(typeof dv!='function')return du;return Object['keys'](du)['filter'](dx=>dv(dw?dx:du[dx]))['reduce']((dy,dz)=>(dy[dz]=du[dz],dy),{});};BDFDB['ObjectUtils']['push']=function(dA,dB){if(BDFDB['ObjectUtils']['is'](dA))dA[Object['keys'](dA)['length']]=dB;};BDFDB['ObjectUtils']['pop']=function(dC,dD){if(BDFDB['ObjectUtils']['is'](dC)){let dE=Object['keys'](dC);if(!dE['length'])return;let dD=dC[dE[dE['length']-0x1]];delete dC[dE[dE['length']-0x1]];return dD;}};BDFDB['ObjectUtils']['map']=function(dG,dH){if(!BDFDB['ObjectUtils']['is'](dG))return{};if(typeof dH!='string'&&typeof dH!='function')return dG;var dI={};for(let dJ in dG)if(BDFDB['ObjectUtils']['is'](dG[dJ]))dI[dJ]=typeof dH=='string'?dG[dJ][dH]:dH(dG[dJ],dJ);return dI;};BDFDB['ObjectUtils']['toArray']=function(dK){if(!BDFDB['ObjectUtils']['is'](dK))return[];return Object['entries'](dK)['map'](dL=>dL[0x1]);};BDFDB['ObjectUtils']['deepAssign']=function(dM,...dN){if(!dN['length'])return dM;var dO=dN['shift']();if(BDFDB['ObjectUtils']['is'](dM)&&BDFDB['ObjectUtils']['is'](dO)){for(var dP in dO){if(BDFDB['ObjectUtils']['is'](dO[dP])){if(!dM[dP])Object['assign'](dM,{[dP]:{}});BDFDB['ObjectUtils']['deepAssign'](dM[dP],dO[dP]);}else Object['assign'](dM,{[dP]:dO[dP]});}}return BDFDB['ObjectUtils']['deepAssign'](dM,...dN);};BDFDB['ObjectUtils']['isEmpty']=function(dQ){return!BDFDB['ObjectUtils']['is'](dQ)||Object['getOwnPropertyNames'](dQ)['length']==0x0;};BDFDB['ArrayUtils']={};BDFDB['ArrayUtils']['is']=function(dR){return dR&&Array['isArray'](dR);};BDFDB['ArrayUtils']['keySort']=function(dS,dT,dU){if(!BDFDB['ArrayUtils']['is'](dS))return[];if(dT==null)return dS;if(dU===undefined)dU=null;return dS['sort'](function(dV,dW){var dX=dV[dT],dY=dW[dT];if(dX!==dU)return dXdY?0x1:0x0;});};BDFDB['ArrayUtils']['numSort']=function(dZ){return dZ['sort'](function(e0,e1){return e0e1?0x1:0x0;});};BDFDB['ArrayUtils']['remove']=function(e2,e3,e4=![]){if(!BDFDB['ArrayUtils']['is'](e2))return[];if(!e2['includes'](e3))return e2;if(!e4)e2['splice'](e2['indexOf'](e3),0x1);else while(e2['indexOf'](e3)>-0x1)e2['splice'](e2['indexOf'](e3),0x1);return e2;};BDFDB['ArrayUtils']['getAllIndexes']=function(e5,e6){if(!BDFDB['ArrayUtils']['is'](e5)&&typeof e5!='string')return[];var e7=[],e8=-0x1;while((e8=e5['indexOf'](e6,e8+0x1))!==-0x1)e7['push'](e8);return e7;};BDFDB['ArrayUtils']['removeCopies']=function(e9){if(!BDFDB['ArrayUtils']['is'](e9))return[];return[...new Set(e9)];};BDFDB['ModuleUtils']={};BDFDB['ModuleUtils']['cached']={};BDFDB['ModuleUtils']['find']=function(ea){var eb=e['getWebModuleReq']();for(let ec in eb['c'])if(eb['c']['hasOwnProperty'](ec)){var ed=eb['c'][ec]['exports'];if(ed&&(typeof ed=='object'||typeof ed=='function')&&ea(ed))return ed;if(ed&&ed['__esModule'])for(let ee in ed)if(ed[ee]&&(typeof ed[ee]=='object'||typeof ed[ee]=='function')&&ea(ed[ee]))return ed[ee];}};BDFDB['ModuleUtils']['findByProperties']=function(ef){ef=BDFDB['ArrayUtils']['is'](ef)?ef:Array['from'](arguments);var eg=JSON['stringify'](ef);if(!BDFDB['ObjectUtils']['is'](BDFDB['ModuleUtils']['cached']['prop']))BDFDB['ModuleUtils']['cached']['prop']={};if(BDFDB['ModuleUtils']['cached']['prop'][eg])return BDFDB['ModuleUtils']['cached']['prop'][eg];else{var eh=BDFDB['ModuleUtils']['find'](eh=>ef['every'](ej=>eh[ej]!==undefined));if(eh){BDFDB['ModuleUtils']['cached']['prop'][eg]=eh;return eh;}else BDFDB['LogUtils']['warn'](eg+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['ModuleUtils']['findByName']=function(ek){var el=JSON['stringify'](ek);if(!BDFDB['ObjectUtils']['is'](BDFDB['ModuleUtils']['cached']['name']))BDFDB['ModuleUtils']['cached']['name']={};if(BDFDB['ModuleUtils']['cached']['name'][el])return BDFDB['ModuleUtils']['cached']['name'][el];else{var em=BDFDB['ModuleUtils']['find'](em=>em['displayName']===ek);if(em){BDFDB['ModuleUtils']['cached']['name'][el]=em;return em;}else BDFDB['LogUtils']['warn'](el+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['ModuleUtils']['findByString']=function(eo){eo=BDFDB['ArrayUtils']['is'](eo)?eo:Array['from'](arguments);var ep=JSON['stringify'](eo);if(!BDFDB['ObjectUtils']['is'](BDFDB['ModuleUtils']['cached']['string']))BDFDB['ModuleUtils']['cached']['string']={};if(BDFDB['ModuleUtils']['cached']['string'][ep])return BDFDB['ModuleUtils']['cached']['string'][ep];else{var eq=BDFDB['ModuleUtils']['find'](eq=>eo['every'](es=>typeof eq=='function'&&eq['toString']()['indexOf'](es)>-0x1));if(eq){BDFDB['ModuleUtils']['cached']['string'][ep]=eq;return eq;}else BDFDB['LogUtils']['warn'](ep+'\x20[string]\x20not\x20found\x20in\x20WebModules');}};BDFDB['ModuleUtils']['findByPrototypes']=function(et){et=BDFDB['ArrayUtils']['is'](et)?et:Array['from'](arguments);var eu=JSON['stringify'](et);if(!BDFDB['ObjectUtils']['is'](BDFDB['ModuleUtils']['cached']['proto']))BDFDB['ModuleUtils']['cached']['proto']={};if(BDFDB['ModuleUtils']['cached']['proto'][eu])return BDFDB['ModuleUtils']['cached']['proto'][eu];else{var ev=BDFDB['ModuleUtils']['find'](ev=>ev['prototype']&&et['every'](ex=>ev['prototype'][ex]!==undefined));if(ev){BDFDB['ModuleUtils']['cached']['proto'][eu]=ev;return ev;}else BDFDB['LogUtils']['warn'](eu+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};e['getWebModuleReq']=function(){if(!e['getWebModuleReq']['req']){const ey='BDFDB-WebModules';const ez=typeof window['webpackJsonp']=='function'?window['webpackJsonp']([],{[ey]:(eA,eB,ez)=>eB['default']=ez},[ey])['default']:window['webpackJsonp']['push']([[],{[ey]:(eD,eE,ez)=>eD['exports']=ez},[[ey]]]);delete ez['m'][ey];delete ez['c'][ey];e['getWebModuleReq']['req']=ez;}return e['getWebModuleReq']['req'];};var eG={};eG['Patchtypes']=['before','instead','after'];eG['Patchmap']={'BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','WebhookCard':'Webhook'};eG['Patchfinder']={'Account':'accountinfo','App':'app','AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','ChannelMember':'member','EmojiPicker':'emojipicker','FriendRow':'friendsrow','Guild':'guildouter','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','NameTag':'nametag','Note':'usernote','SearchResults':'searchresultswrap','TypingUsers':'typing','UserPopout':'userpopout','V2C_ContentColumn':'contentcolumn','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};eG['GlobalModules']={};try{eG['GlobalModules']['V2C_ContentColumn']=V2C_ContentColumn;}catch(eH){BDFDB['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ContentColumn\x22');}try{eG['GlobalModules']['V2C_List']=V2C_List;}catch(eI){BDFDB['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_List\x22');}try{eG['GlobalModules']['V2C_PluginCard']=V2C_PluginCard;}catch(eJ){BDFDB['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_PluginCard\x22');}try{eG['GlobalModules']['V2C_ThemeCard']=V2C_ThemeCard;}catch(eK){BDFDB['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ThemeCard\x22');}BDFDB['ModuleUtils']['patch']=function(eL,eM,eN,eO){if(!eL||!eM||!eN||!Object['keys'](eO)['some'](eP=>eG['Patchtypes']['includes'](eP)))return null;const eQ=typeof eL==='string'?eL:eL['name'];const eR=eQ['toLowerCase']();if(!eM['BDFDBpatch'])eM['BDFDBpatch']={};eN=BDFDB['ArrayUtils']['is'](eN)?eN:Array['of'](eN);for(let eS of eN){if(!eM[eS])eM[eS]=c=>{};const eU=eM[eS];if(!eM['BDFDBpatch'][eS]){eM['BDFDBpatch'][eS]={};for(let eV of eG['Patchtypes'])eM['BDFDBpatch'][eS][eV]={};eM['BDFDBpatch'][eS]['originalMethod']=eU;eM[eS]=function(){const eW={'thisObject':this,'methodArguments':arguments,'originalMethod':eU,'originalMethodName':eS,'callOriginalMethod':c=>eW['returnValue']=eW['originalMethod']['apply'](eW['thisObject'],eW['methodArguments'])};if(window['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&eM['BDFDBpatch'][eS]){if(!BDFDB['ObjectUtils']['isEmpty'](eM['BDFDBpatch'][eS]['before']))for(let eY in BDFDB['ObjectUtils']['sort'](eM['BDFDBpatch'][eS]['before'])){BDFDB['TimeUtils']['suppress'](eM['BDFDBpatch'][eS]['before'][eY],'\x22before\x22\x20callback\x20of\x20'+eS+'\x20in\x20'+(eM['constructor']?eM['constructor']['displayName']||eM['constructor']['name']:'module'),eM['BDFDBpatch'][eS]['before'][eY]['pluginname'])(eW);}if(BDFDB['ObjectUtils']['isEmpty'](eM['BDFDBpatch'][eS]['instead']))BDFDB['TimeUtils']['suppress'](eW['callOriginalMethod'],'originalMethod\x20of\x20'+eS+'\x20in\x20'+(eM['constructor']?eM['constructor']['displayName']||eM['constructor']['name']:'module'))();else for(let eZ in BDFDB['ObjectUtils']['sort'](eM['BDFDBpatch'][eS]['instead'])){let f0=BDFDB['TimeUtils']['suppress'](eM['BDFDBpatch'][eS]['instead'][eZ],'\x22instead\x22\x20callback\x20of\x20'+eS+'\x20in\x20'+(eM['constructor']?eM['constructor']['displayName']||eM['constructor']['name']:'module'),eM['BDFDBpatch'][eS]['instead'][eZ]['pluginname'])(eW);if(f0!==undefined)eW['returnValue']=f0;}if(!BDFDB['ObjectUtils']['isEmpty'](eM['BDFDBpatch'][eS]['after']))for(let f1 in BDFDB['ObjectUtils']['sort'](eM['BDFDBpatch'][eS]['after'])){let f0=BDFDB['TimeUtils']['suppress'](eM['BDFDBpatch'][eS]['after'][f1],'\x22after\x22\x20callback\x20of\x20'+eS+'\x20in\x20'+(eM['constructor']?eM['constructor']['displayName']||eM['constructor']['name']:'module'),eM['BDFDBpatch'][eS]['after'][f1]['pluginname'])(eW);if(f0!==undefined)eW['returnValue']=f0;}}else BDFDB['TimeUtils']['suppress'](eW['callOriginalMethod'],'originalMethod\x20of\x20'+eS+'\x20in\x20'+(eM['constructor']?eM['constructor']['displayName']||eM['constructor']['name']:'module'))();return eS=='render'&&eW['returnValue']===undefined?null:eW['returnValue'];};}for(let f3 of eG['Patchtypes'])if(typeof eO[f3]=='function'){eM['BDFDBpatch'][eS][f3][eR]=eO[f3];eM['BDFDBpatch'][eS][f3][eR]['pluginname']=eQ;}}let f4=c=>{BDFDB['ModuleUtils']['unpatch'](eL,eM,eN);};if(eL&&typeof eL=='object'){if(!BDFDB['ArrayUtils']['is'](eL['patchCancels']))eL['patchCancels']=[];eL['patchCancels']['push'](f4);}return f4;};BDFDB['ModuleUtils']['unpatch']=function(f6,f7,f8){if(!f7&&!f8){if(BDFDB['ObjectUtils']['is'](f6)&&BDFDB['ArrayUtils']['is'](f6['patchCancels'])){for(let f9 of f6['patchCancels'])f9();f6['patchCancels']=[];}}else{if(!BDFDB['ObjectUtils']['is'](f7)||!f7['BDFDBpatch'])return;const fa=!f6?null:(typeof f6==='string'?f6:f6['name'])['toLowerCase']();if(f8){for(let fb of BDFDB['ArrayUtils']['is'](f8)?f8:Array['of'](f8))if(f7[fb]&&f7['BDFDBpatch'][fb])fd(fb,fa);}else{for(let fc of f7['BDFDBpatch'])fd(fc,fa);}}function fd(fe,ff){for(let fg of eG['Patchtypes']){if(ff)delete f7['BDFDBpatch'][fe][fg][ff];else delete f7['BDFDBpatch'][fe][fg];}var fh=!![];for(let fg of eG['Patchtypes'])if(!BDFDB['ObjectUtils']['isEmpty'](f7['BDFDBpatch'][fe][fg]))fh=![];if(fh){f7[fe]=f7['BDFDBpatch'][fe]['originalMethod'];delete f7['BDFDBpatch'][fe];if(BDFDB['ObjectUtils']['isEmpty'](f7['BDFDBpatch']))delete f7['BDFDBpatch'];}}};BDFDB['ModuleUtils']['forceAllUpdates']=function(fj,fk){if(BDFDB['ObjectUtils']['is'](fj)&&BDFDB['ObjectUtils']['is'](fj['patchModules'])){const fl=document['querySelector'](BDFDB['dotCN']['app']);const fm=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fl){var fn=[];for(let fo in fj['patchModules']){var fp=BDFDB['ArrayUtils']['is'](fj['patchModules'][fo])?fj['patchModules'][fo]:Array['of'](fj['patchModules'][fo]);if(fp['includes']('componentDidMount')||fp['includes']('componentDidUpdate')||fp['includes']('render'))fn['push'](fo);}fk=(BDFDB['ArrayUtils']['is'](fk)?fk:Array['of'](fk))['filter'](fq=>fq);if(fk['length']){fk=fk['map'](fr=>fr&&eG['Patchmap'][fr]?eG['Patchmap'][fr]+'\x20_\x20_\x20'+fr:fr);fn=fn['filter'](fs=>fk['indexOf'](fs)>-0x1);}if(fn['length']){try{const ft=BDFDB['ReactUtils']['findOwner'](fl,{'name':fn,'all':!![],'noCopies':!![],'group':!![],'unlimited':!![]});const fu=BDFDB['ReactUtils']['findOwner'](fl,{'name':fn,'all':!![],'noCopies':!![],'group':!![],'unlimited':!![],'up':!![]});for(let fo in ft)for(let fw of ft[fo])e['forceInitiateProcess'](fj,fw,fo);for(let fo in fu)for(let fw of fu[fo])e['forceInitiateProcess'](fj,fw,fo);if(fm){const fz=BDFDB['ReactUtils']['findOwner'](fm,{'name':fn,'all':!![],'noCopies':!![],'group':!![],'unlimited':!![]});for(let fo in fz)for(let fw of fz[fo])e['forceInitiateProcess'](fj,fw,fo);}}catch(fC){BDFDB['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+fC,fj['name']);}}}}};e['forceInitiateProcess']=function(fD,fE,fF){if(!fD||!fE||!fF)return;let fG=BDFDB['ArrayUtils']['is'](fD['patchModules'][fF])?fD['patchModules'][fF]:Array['of'](fD['patchModules'][fF]);if(fG['includes']('componentDidMount'))e['initiateProcess'](fD,fF,{'instance':fE,'methodname':'componentDidMount'});if(fG['includes']('render'))BDFDB['ReactUtils']['forceUpdate'](fE);else if(fG['includes']('componentDidUpdate'))e['initiateProcess'](fD,fF,{'instance':fE,'methodname':'componentDidUpdate'});};e['initiateProcess']=function(fH,fI,fJ){if(BDFDB['ObjectUtils']['is'](fH)&&!fH['stopping']&&fJ['instance']){let fK=fH['name']=='$BDFDB';if(fH['name']=='$BDFDB')fH=Ai;fI=(fI['split']('\x20_\x20_\x20')[0x1]||fI)['replace'](/[^A-z0-9]|_/g,'');fI=fI['charAt'](0x0)['toUpperCase']()+fI['slice'](0x1);if(typeof fH['process'+fI]=='function'){let fL=!fK&&fH['process'+fI]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(fL){if(fJ['methodname']=='render'){if(fJ['returnvalue'])fH['process'+fI](fJ['instance'],null,fJ['returnvalue'],[fJ['methodname']]);}else{let fM=BDFDB['ReactUtils']['findDOMNode'](fJ['instance']);if(fM)fH['process'+fI](fJ['instance'],fM,fJ['returnvalue'],[fJ['methodname']]);else BDFDB['TimeUtils']['timeout'](c=>{fM=BDFDB['ReactUtils']['findDOMNode'](fJ['instance']);if(fM)fH['process'+fI](fJ['instance'],fM,fJ['returnvalue'],[fJ['methodname']]);});}}else{if(fJ['methodname']=='render'){if(fJ['returnvalue'])fH['process'+fI](fJ);}else{fJ['node']=BDFDB['ReactUtils']['findDOMNode'](fJ['instance']);if(fJ['node'])fH['process'+fI](fJ);else BDFDB['TimeUtils']['timeout'](c=>{fJ['node']=BDFDB['ReactUtils']['findDOMNode'](fJ['instance']);if(fJ['node'])fH['process'+fI](fJ);});}}}}};e['patchPlugin']=function(fP){if(BDFDB['ObjectUtils']['is'](fP)&&BDFDB['ObjectUtils']['is'](fP['patchModules'])){BDFDB['ModuleUtils']['unpatch'](fP);for(let fQ in fP['patchModules']){if(eG['GlobalModules'][fQ]&&typeof eG['GlobalModules'][fQ]=='function')fU(eG['GlobalModules'][fQ],fQ);else{var fR=eG['Patchmap'][fQ];var fS=eG['Patchfinder'][fQ['split']('\x20_\x20_\x20')[0x1]||fQ];var fT=fR?fR+'\x20_\x20_\x20'+fQ:fQ;if(fR){fP['patchModules'][fT]=fP['patchModules'][fQ];delete fP['patchModules'][fQ];}if(!fS)fU(BDFDB['ModuleUtils']['findByName'](fT['split']('\x20_\x20_\x20')[0x0]),fT);else if(wt[fS])fZ(fS,fT);}}function fU(fV,fQ){if(fV){var fX=fQ['split']('\x20_\x20_\x20')[0x0];fV=fV['_reactInternalFiber']&&fV['_reactInternalFiber']['type']?fV['_reactInternalFiber']['type']:fV;fV=fV['displayName']==fX||fV['name']==fX?fV:BDFDB['ReactUtils']['findOwner'](fV,{'name':fX,'up':!![]});if(fV){fV=fV['_reactInternalFiber']&&fV['_reactInternalFiber']['type']?fV['_reactInternalFiber']['type']:fV;BDFDB['ModuleUtils']['patch'](fP,fV['prototype'],fP['patchModules'][fQ],{'after':fY=>{if(window['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])e['initiateProcess'](fP,fQ,{'instance':fY['thisObject'],'returnvalue':fY['returnValue'],'methodname':fY['originalMethodName']});}});}}}function fZ(fS,fQ){const g2=document['querySelector'](BDFDB['dotCN']['app']),g3=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);var g4=![];if(g2){var g5=BDFDB['ReactUtils']['findOwner'](g2,{'name':fQ,'unlimited':!![]})||BDFDB['ReactUtils']['findOwner'](g2,{'name':fQ,'unlimited':!![],'up':!![]});if(g5){g4=!![];fU(g5,fQ);}}if(!g4&&g3){var g6=BDFDB['ReactUtils']['findOwner'](g3,{'name':fQ,'unlimited':!![]});if(g6){g4=!![];fU(g6,fQ);}}if(!g4){var g7=![],g8=new MutationObserver(g9=>{g9['forEach'](ga=>{ga['addedNodes']['forEach'](gb=>{if(g7||!gb||!gb['tagName'])return;var gc=null;if((gc=BDFDB['DOMUtils']['containsClass'](gb,BDFDB['disCN'][fS])?gb:gb['querySelector'](BDFDB['dotCN'][fS]))!=null){var gd=BDFDB['ReactUtils']['getInstance'](gc);if(ge(gd,fQ)){g7=!![];g8['disconnect']();fU(gd,fQ);BDFDB['ModuleUtils']['forceAllUpdates'](fP,fQ);}}});});});BDFDB['ObserverUtils']['connect'](fP,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':g8,'multi':!![]},{'childList':!![],'subtree':!![]});}}function ge(gf,gg){if(!gf)return![];gf=gf['_reactInternalFiber']&&gf['_reactInternalFiber']['type']?gf['_reactInternalFiber']['type']:gf;gf=gf['displayName']==gg||gf['name']==gg?gf:BDFDB['ReactUtils']['findOwner'](gf,{'name':gg,'up':!![]});return!!gf;}}};var gh=['ChannelContextMenu','DeveloperContextMenu','GuildContextMenu','GuildRoleContextMenu','MessageContextMenu','NativeContextMenu','ScreenshareContextMenu','UserContextMenu','UserSettingsCogContextMenu'];var gi=['MessageOptionPopout'];var gj=['ApplicationContextMenu','GroupDMContextMenu'];var gk={};for(let gl of gj)gk[gl]={'query':[],'module':null};e['addContextListeners']=gm=>{if(!BDFDB['ObjectUtils']['is'](gm))return;for(let gn of gh)if(typeof gm['on'+gn]==='function')e['patchContextMenuPlugin'](gm,gn,BDFDB['ModuleUtils']['findByName'](gn));for(let go of gi)if(typeof gm['on'+go]==='function')e['patchPopoutPlugin'](gm,go,BDFDB['ModuleUtils']['findByName'](go));for(let gp of gj)if(typeof gm['on'+gp]==='function'){if(gk[gp]['module'])e['patchContextMenuPlugin'](gm,gp,gk[gp]['module']);else gk[gp]['query']['push'](gm);}};e['patchContextMenuPlugin']=(gq,gr,gs)=>{if(gs&&gs['prototype']){let gt=gq['on'+gr]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(gt){BDFDB['ModuleUtils']['patch'](gq,gs['prototype'],'render',{'after':gu=>{let gv=gu['thisObject'],gw=BDFDB['ReactUtils']['findDOMNode'](gu['thisObject']),gx=gu['returnValue'];if(gv&&gw&&gx&&typeof gq['on'+gr]==='function')gq['on'+gr](gv,gw,gx);}});}else{BDFDB['ModuleUtils']['patch'](gq,gs['prototype'],'render',{'after':gy=>{if(gy['thisObject']&&gy['returnValue']&&typeof gq['on'+gr]==='function')gq['on'+gr]({'instance':gy['thisObject'],'returnvalue':gy['returnValue'],'methodname':'render'});}});}}};e['patchPopoutPlugin']=(gz,gA,gB)=>{if(gB&&gB['prototype']){let gC=gz['on'+gA]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(gC){BDFDB['ModuleUtils']['patch'](gz,gB['prototype'],'render',{'after':gD=>{let gE=gD['thisObject'],gF=BDFDB['ReactUtils']['findDOMNode'](gD['thisObject']),gG=gD['returnValue'];if(gE&&gF&&gG&&typeof gz['on'+gA]==='function'){gz['on'+gA](gE,gF,gG);if(!gE['BDFDBforceUpdateTimeout'])BDFDB['ReactUtils']['forceUpdate'](gE);}}});}else{BDFDB['ModuleUtils']['patch'](gz,gB['prototype'],'render',{'after':gH=>{if(gH['thisObject']&&gH['returnValue']&&typeof gz['on'+gA]==='function')gz['on'+gA]({'instance':gH['thisObject'],'returnvalue':gH['returnValue'],'methodname':'render'});}});}}};e['patchContextMenuLib']=(gI,gJ)=>{if(gI&&gI['prototype']){BDFDB['ModuleUtils']['patch'](BDFDB,gI['prototype'],'componentDidMount',{'after':gK=>{if(!gK['thisObject']['BDFDBforceRenderTimeout']&&typeof gK['thisObject']['render']=='function')gK['thisObject']['render']();}});BDFDB['ModuleUtils']['patch'](BDFDB,gI['prototype'],'componentDidUpdate',{'after':gL=>{var gM=BDFDB['ReactUtils']['findDOMNode'](gL['thisObject']);if(gM){const gN=BDFDB['ReactUtils']['getValue'](gL,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const gO=BDFDB['DOMUtils']['getRects'](gM),gP=BDFDB['DOMUtils']['getRects'](document['querySelector'](BDFDB['dotCN']['appmount']));if(gN&&gO['top']+gO['height']>gP['height'])gN();}}});BDFDB['ModuleUtils']['patch'](BDFDB,gI['prototype'],'render',{'after':gQ=>{if(gQ['thisObject']['props']['BDFDBcontextMenu']&&gQ['thisObject']['props']['children']&&gQ['returnValue']&&gQ['returnValue']['props']){gQ['returnValue']['props']['children']=gQ['thisObject']['props']['children'];delete gQ['thisObject']['props']['value'];delete gQ['thisObject']['props']['children'];delete gQ['thisObject']['props']['BDFDBcontextMenu'];}if(BDFDB['ReactUtils']['findDOMNode'](gQ['thisObject'])){gQ['thisObject']['BDFDBforceRenderTimeout']=!![];BDFDB['TimeUtils']['timeout'](c=>{delete gQ['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(gJ){let gS=BDFDB['ReactUtils']['getValue'](gQ,'thisObject._reactInternalFiber.child.type');if(gS&&gS['displayName']&&gk[gS['displayName']]&&!gk[gS['displayName']]['module']){gk[gS['displayName']]['module']=gS;e['patchContextMenuLib'](gS,![]);while(gk[gS['displayName']]['query']['length']){e['patchContextMenuPlugin'](gk[gS['displayName']]['query']['pop'](),gS['displayName'],gS);}}}}});}};e['patchPopoutLib']=(gT,gU)=>{if(gT&&gT['prototype']){BDFDB['ModuleUtils']['patch'](BDFDB,gT['prototype'],'componentDidMount',{'after':gV=>{if(!gV['thisObject']['BDFDBforceRenderTimeout']&&!gV['thisObject']['BDFDBforceUpdateTimeout']&&typeof gV['thisObject']['render']=='function')gV['thisObject']['render']();}});BDFDB['ModuleUtils']['patch'](BDFDB,gT['prototype'],'componentDidUpdate',{'after':gW=>{const gX=BDFDB['ReactUtils']['getValue'](gW,'thisObject._reactInternalFiber.return.return.return.stateNode.updateOffsets');if(gX)gX();gW['thisObject']['BDFDBforceUpdateTimeout']=!![];BDFDB['TimeUtils']['timeout'](c=>{delete gW['thisObject']['BDFDBforceUpdateTimeout'];},0x3e8);}});BDFDB['ModuleUtils']['patch'](BDFDB,gT['prototype'],'render',{'after':gZ=>{if(BDFDB['ReactUtils']['findDOMNode'](gZ['thisObject'])){gZ['thisObject']['BDFDBforceRenderTimeout']=!![];BDFDB['TimeUtils']['timeout'](c=>{delete gZ['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(gZ['thisObject']['props']['message']&&!gZ['thisObject']['props']['target']){const h1=document['querySelector'](BDFDB['dotCN']['messages']);if(h1)for(let h2 of BDFDB['ReactUtils']['findOwner'](h1,{'name':'Message','all':!![],'noCopies':!![],'unlimited':!![]})){if(gZ['thisObject']['props']['message']['id']==h2['props']['message']['id']){target=BDFDB['ReactUtils']['findDOMNode'](h2);if(target)gZ['thisObject']['props']['target']=target;break;}}}}});}};BDFDB['DiscordConstants']=BDFDB['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var h3={};h3['Channel']=BDFDB['ModuleUtils']['findByPrototypes']('initialize','getTitleIcon','getGuildId');h3['Guild']=BDFDB['ModuleUtils']['findByPrototypes']('initialize','getMaxEmojiSlots','getRole');h3['Message']=BDFDB['ModuleUtils']['findByPrototypes']('initialize','getAuthorName','getChannelId');h3['Timestamp']=BDFDB['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');h3['User']=BDFDB['ModuleUtils']['findByPrototypes']('initialize','isLocalBot','isClaimed');BDFDB['DiscordObjects']=Object['assign']({},h3);var h4={};for(let h5 of['child_process','electron','fs','path','process','request']){try{h4[h5]=require(h5);}catch(h6){}}BDFDB['LibraryRequires']=Object['assign']({},h4);var h7={};h7['AckUtils']=BDFDB['ModuleUtils']['findByProperties']('localAck','bulkAck');h7['APIUtils']=BDFDB['ModuleUtils']['findByProperties']('getAPIBaseURL');h7['AnimationUtils']=BDFDB['ModuleUtils']['findByProperties']('spring','decay');h7['BadgeUtils']=BDFDB['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');h7['ChannelStore']=BDFDB['ModuleUtils']['findByProperties']('getChannel','getChannels');h7['ColorUtils']=BDFDB['ModuleUtils']['findByProperties']('hex2int','hex2rgb');h7['ContextMenuUtils']=BDFDB['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');h7['CopyLinkUtils']=BDFDB['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');h7['CurrentUserStore']=BDFDB['ModuleUtils']['findByProperties']('getCurrentUser');h7['DirectMessageUtils']=BDFDB['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');h7['FriendUtils']=BDFDB['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');h7['FolderStore']=BDFDB['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');h7['FolderUtils']=BDFDB['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');h7['GuildBoostUtils']=BDFDB['ModuleUtils']['findByProperties']('getTierName','getUserLevel');h7['GuildChannelStore']=BDFDB['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');h7['GuildEmojiStore']=BDFDB['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');h7['GuildSettingsUtils']=BDFDB['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');h7['GuildStore']=BDFDB['ModuleUtils']['findByProperties']('getGuild','getGuilds');h7['GuildUtils']=BDFDB['ModuleUtils']['findByProperties']('transitionToGuildSync');h7['HistoryUtils']=BDFDB['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;h7['IconUtils']=BDFDB['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');h7['InviteUtils']=BDFDB['ModuleUtils']['findByProperties']('acceptInvite','createInvite');h7['LanguageStore']=BDFDB['ModuleUtils']['findByProperties']('getLanguages','Messages');h7['LastChannelStore']=BDFDB['ModuleUtils']['findByProperties']('getLastSelectedChannelId');h7['LastGuildStore']=BDFDB['ModuleUtils']['findByProperties']('getLastSelectedGuildId');h7['LoginUtils']=BDFDB['ModuleUtils']['findByProperties']('login','logout');h7['MemberStore']=BDFDB['ModuleUtils']['findByProperties']('getMember','getMembers');h7['MentionUtils']=BDFDB['ModuleUtils']['findByProperties']('getMentionCount','getMentionCounts');h7['MessageCreationUtils']=BDFDB['ModuleUtils']['findByProperties']('parse','isMentioned');h7['MessagePinUtils']=BDFDB['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');h7['MessageStore']=BDFDB['ModuleUtils']['findByProperties']('getMessage','getMessages');h7['MessageUtils']=BDFDB['ModuleUtils']['findByProperties']('receiveMessage','editMessage');h7['ModalUtils']=BDFDB['ModuleUtils']['findByProperties']('openModal','registerModalDispatch');h7['MutedUtils']=BDFDB['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');h7['NoteStore']=BDFDB['ModuleUtils']['findByProperties']('getNotes','getNote');h7['NotificationSettingsUtils']=BDFDB['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');h7['NotificationSettingsStore']=BDFDB['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');h7['PermissionUtils']=BDFDB['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');h7['PermissionRoleUtils']=BDFDB['ModuleUtils']['findByProperties']('getHighestRole','can');h7['ReactionUtils']=BDFDB['ModuleUtils']['findByProperties']('addReaction','removeReaction');h7['SearchPageUtils']=BDFDB['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');h7['SelectChannelUtils']=BDFDB['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');h7['SettingsUtils']=BDFDB['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');h7['SoundUtils']=BDFDB['ModuleUtils']['findByProperties']('playSound','createSound');h7['SpellCheckUtils']=BDFDB['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');h7['StatusMetaUtils']=BDFDB['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');h7['StreamUtils']=BDFDB['ModuleUtils']['findByProperties']('getStreamForUser','getActiveStream');h7['UnreadGuildUtils']=BDFDB['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');h7['UnreadChannelUtils']=BDFDB['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');h7['UploadUtils']=BDFDB['ModuleUtils']['findByProperties']('upload','instantBatchUpload');h7['UserStore']=BDFDB['ModuleUtils']['findByProperties']('getUser','getUsers');h7['VoiceUtils']=BDFDB['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');h7['ZoomUtils']=BDFDB['ModuleUtils']['findByProperties']('setZoom','setFontSize');BDFDB['LibraryModules']=Object['assign']({},h7);h7['React']=BDFDB['ModuleUtils']['findByProperties']('createElement','cloneElement');h7['ReactDOM']=BDFDB['ModuleUtils']['findByProperties']('render','findDOMNode');BDFDB['ReactUtils']=Object['assign']({},h7['React'],h7['ReactDOM']);BDFDB['ReactUtils']['createElement']=function(h8,h9){if(h8&&h8['defaultProps'])for(let ha in h8['defaultProps'])if(h9[ha]==null)h9[ha]=h8['defaultProps'][ha];try{return h7['React']['createElement'](h8||'div',h9||{})||null;}catch(hb){BDFDB['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20create\x20react\x20element!\x20'+hb);}return null;};BDFDB['ReactUtils']['elementToReact']=function(hc){if(BDFDB['ReactUtils']['isValidElement'](hc))return hc;else if(!Node['prototype']['isPrototypeOf'](hc))return null;else if(hc['nodeType']==Node['TEXT_NODE'])return hc['nodeValue'];let hd={},he={};for(let hf of hc['attributes'])hd[hf['name']]=hf['value'];if(hc['attributes']['style'])hd['style']=BDFDB['ObjectUtils']['filter'](hc['style'],hg=>hc['style'][hg]&&isNaN(parseInt(hg)),!![]);hd['children']=[];if(hc['style']&&hc['style']['cssText'])for(let hh of hc['style']['cssText']['split'](';'))if(hh['endsWith']('!important')){let hi=hh['split'](':')[0x0];let hj=hi['replace'](/-([a-z]?)/g,(hk,hl)=>hl['toUpperCase']());if(hd['style'][hj]!=null)he[hi]=hd['style'][hj];}if(Object['keys'](he)['length'])hd['ref']=hm=>{let hn=BDFDB['ReactUtils']['findDOMNode'](hm);if(hn)for(let ho in he)hn['style']['setProperty'](ho,he[ho],'important');};for(let hp of hc['childNodes'])hd['children']['push'](BDFDB['ReactUtils']['elementToReact'](hp));return BDFDB['ReactUtils']['createElement'](hc['tagName'],hd);};BDFDB['ReactUtils']['findDOMNode']=function(hq){if(Node['prototype']['isPrototypeOf'](hq))return hq;if(!hq||!hq['updater']||typeof hq['updater']['isMounted']!=='function'||!hq['updater']['isMounted'](hq))return null;var hr=h7['ReactDOM']['findDOMNode'](hq)||BDFDB['ReactUtils']['getValue'](hq,'child.stateNode');return Node['prototype']['isPrototypeOf'](hr)?hr:null;};BDFDB['ReactUtils']['childrenToArray']=function(hs){if(hs&&hs['props']&&hs['props']['children']&&!BDFDB['ArrayUtils']['is'](hs['props']['children'])){var ht=hs['props']['children'];hs['props']['children']=[];hs['props']['children']['push'](ht);}return hs['props']['children'];};BDFDB['ReactUtils']['findChildren']=function(hu,hv){if(!hu||!BDFDB['ObjectUtils']['is'](hv)||!hv['name']&&!hv['key']&&!hv['props'])return[null,-0x1];var hw=Node['prototype']['isPrototypeOf'](hu)?BDFDB['ReactUtils']['getInstance'](hu):hu;if(!BDFDB['ObjectUtils']['is'](hw)&&!BDFDB['ArrayUtils']['is'](hw))return[null,-0x1];hv['name']=hv['name']&&!BDFDB['ArrayUtils']['is'](hv['name'])?Array['of'](hv['name']):hv['name'];hv['key']=hv['key']&&!BDFDB['ArrayUtils']['is'](hv['key'])?Array['of'](hv['key']):hv['key'];hv['props']=hv['props']&&!BDFDB['ArrayUtils']['is'](hv['props'])?Array['of'](hv['props']):hv['props'];var hx=firstarray=hw;while(!BDFDB['ArrayUtils']['is'](firstarray)&&firstarray['props']&&firstarray['props']['children'])firstarray=firstarray['props']['children'];if(!BDFDB['ArrayUtils']['is'](firstarray))firstarray=[];return hy(hw);function hy(hz){var hA=[firstarray,-0x1];if(!hz)return hA;if(!BDFDB['ArrayUtils']['is'](hz)){if(hE(hz))hA=hC(hz);else if(hz['props']&&hz['props']['children']){hx=hz;hA=hy(hz['props']['children']);}}else{for(let hB=0x0;hA[0x1]==-0x1&&hB(hw['type']['displayName']||hw['type']['name'])===hH)||hv['key']&&hv['key']['some'](hI=>hw['key']==hI)||hG&&hv['props']&&hv['props']['every'](hJ=>BDFDB['ArrayUtils']['is'](hJ)?BDFDB['ArrayUtils']['is'](hJ[0x1])?hJ[0x1]['some'](hK=>hL(hG,hJ[0x0],hK)):hL(hG,hJ[0x0],hJ[0x1]):hG[hJ]!==undefined);}function hL(hM,hN,hO){return hN!=null&&hM[hN]!=null&&hO!=null&&(hN=='className'?('\x20'+hM[hN]+'\x20')['indexOf']('\x20'+hO+'\x20')>-0x1:BDFDB['equals'](hM[hN],hO));}};BDFDB['ReactUtils']['findOwner']=function(hP,hQ){if(!BDFDB['ObjectUtils']['is'](hQ))return null;if(!hP||!hQ['name']&&!hQ['key']&&!hQ['props'])return hQ['all']?hQ['group']?{}:[]:null;var hR=Node['prototype']['isPrototypeOf'](hP)?BDFDB['ReactUtils']['getInstance'](hP):hP;if(!BDFDB['ObjectUtils']['is'](hR))return hQ['all']?hQ['group']?{}:[]:null;hQ['name']=hQ['name']&&!BDFDB['ArrayUtils']['is'](hQ['name'])?Array['of'](hQ['name']):hQ['name'];hQ['key']=hQ['key']&&!BDFDB['ArrayUtils']['is'](hQ['key'])?Array['of'](hQ['key']):hQ['key'];hQ['props']=hQ['props']&&!BDFDB['ArrayUtils']['is'](hQ['props'])?Array['of'](hQ['props']):hQ['props'];var hS=-0x1;var hT=performance['now']();var hU=hQ['unlimited']?0x3b9ac9ff:hQ['depth']===undefined?0x1e:hQ['depth'];var hV=hQ['unlimited']?0x3b9ac9ff:hQ['time']===undefined?0x96:hQ['time'];var hW=hQ['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var hX=hQ['group']?{}:[];var hY=i1(hR);if(hQ['all']){for(let hZ in hX){if(hQ['group'])for(let i0 in hX[hZ])delete hX[hZ][i0]['BDFDBreactSearch'];else delete hX[hZ]['BDFDBreactSearch'];}return hX;}else return hY;function i1(hR){hS++;var i3=undefined;if(hR&&!Node['prototype']['isPrototypeOf'](hR)&&!BDFDB['ReactUtils']['getInstance'](hR)&&hS(hR['type']['displayName']||hR['type']['name'])===i5['split']('\x20_\x20_\x20')[0x0])||hQ['key']&&hQ['key']['some'](i6=>hR['key']==i6)||i4&&hQ['props']&&hQ['props']['every'](i7=>BDFDB['ArrayUtils']['is'](i7)?BDFDB['ArrayUtils']['is'](i7[0x1])?i7[0x1]['some'](i8=>BDFDB['equals'](i4[i7[0x0]],i8)):BDFDB['equals'](i4[i7[0x0]],i7[0x1]):i4[i7]!==undefined))){if(hQ['all']===undefined||!hQ['all'])i3=hR['stateNode'];else if(hQ['all']){if(hQ['noCopies']===undefined||!hQ['noCopies']||hQ['noCopies']&&!hR['stateNode']['BDFDBreactSearch']){hR['stateNode']['BDFDBreactSearch']=!![];if(hQ['group']){if(hQ['name']&&hR['type']&&(hR['type']['displayName']||hR['type']['name'])){var i9='Default';for(let ia of hQ['name'])if(hR['type']['displayName']===ia['split']('\x20_\x20_\x20')[0x0]||hR['type']['name']===ia['split']('\x20_\x20_\x20')[0x0]){i9=ia;break;}if(typeof hX[i9]=='undefined')hX[i9]=[];hX[i9]['push'](hR['stateNode']);}}else hX['push'](hR['stateNode']);}}}if(i3===undefined){let ib=Object['getOwnPropertyNames'](hR);for(let ic=0x0;i3===undefined&&ic(ih['type']['displayName']||ih['type']['name'])===ir['split']('\x20_\x20_\x20')[0x0])||ig['key']&&ig['key']['some'](is=>ih['key']==is)))iq=ih['memoizedProps'];if(iq===undefined){let it=Object['getOwnPropertyNames'](ih);for(let iu=0x0;iq===undefined&&iuiU['startsWith']('__reactInternalInstance'))];};BDFDB['ReactUtils']['getValue']=function(iV,iW){if(!iV||!iW)return null;var iX=Node['prototype']['isPrototypeOf'](iV)?BDFDB['ReactUtils']['getInstance'](iV):iV;if(!BDFDB['ObjectUtils']['is'](iX))return null;var iY=iX,iZ=iW['split']('.')['filter'](j0=>j0);for(value of iZ){if(!iY)return null;iY=iY[value];}return iY;};e['setDefaultProps']=function(j1,j2){if(BDFDB['ObjectUtils']['is'](j1))j1['defaultProps']=Object['assign']({},j1['defaultProps'],j2);};BDFDB['equals']=function(j3,j4,j5){var j6=-0x1;if(j5===undefined||typeof j5!=='boolean')j5=![];return j7(j3,j4);function j7(j8,j9){j6++;var ja=!![];if(j6>0x3e8)ja=null;else{if(typeof j8!==typeof j9)ja=![];else if(typeof j8==='undefined')ja=!![];else if(typeof j8==='symbol')ja=!![];else if(typeof j8==='boolean')ja=j8==j9;else if(typeof j8==='string')ja=j8==j9;else if(typeof j8==='number'){if(isNaN(j8)||isNaN(j9))ja=isNaN(j8)==isNaN(j9);else ja=j8==j9;}else if(!j8&&!j9)ja=!![];else if(!j8||!j9)ja=![];else if(typeof j8==='function'||typeof j8==='object'){var jb=Object['getOwnPropertyNames'](j8);var jc=Object['getOwnPropertyNames'](j9);if(jb['length']!==jc['length'])ja=![];else for(let jd=0x0;ja===!![]&&jd0x0))jN['push'](jO);}return jN;};BDFDB['GuildUtils']['getPinged']=function(jQ){var jR=[];for(let jS of jQ===undefined||!BDFDB['ArrayUtils']['is'](jQ)?BDFDB['GuildUtils']['getAll']():jQ){if(!jS)return null;let jT=Node['prototype']['isPrototypeOf'](jS)?BDFDB['GuildUtils']['getId'](jS):typeof jS=='object'?jS['id']:jS;jT=typeof jT=='number'?jT['toFixed']():jT;if(jT&&h7['MentionUtils']['getMentionCount'](jT)>0x0)jR['push'](jS);}return jR;};BDFDB['GuildUtils']['getMuted']=function(jU){var jV=[];for(let jW of jU===undefined||!BDFDB['ArrayUtils']['is'](jU)?BDFDB['GuildUtils']['getAll']():jU){if(!jW)return null;let jX=Node['prototype']['isPrototypeOf'](jW)?BDFDB['GuildUtils']['getId'](jW):typeof jW=='object'?jW['id']:jW;jX=typeof jX=='number'?jX['toFixed']():jX;if(jX&&h7['MutedUtils']['isGuildOrCategoryOrChannelMuted'](jX))jV['push'](jW);}return jV;};BDFDB['GuildUtils']['getSelected']=function(){var jY=h7['GuildStore']['getGuild'](h7['LastGuildStore']['getGuildId']());if(jY)return BDFDB['GuildUtils']['getData'](jY['id'])||Object['assign'](new jY['constructor'](jY),{'div':null,'instance':null});else return null;};BDFDB['GuildUtils']['createCopy']=function(jZ,k0={'pill':![],'hover':![],'click':![],'menu':![],'size':null}){let k1=typeof jZ=='object'?jZ['id']:jZ;let k2=k1?h7['GuildStore']['getGuild'](k1):null;if(k2){let k3=h7['LastGuildStore']['getGuildId']()==k2['id'];let k4=h7['UnreadGuildUtils']['hasUnread'](k2['id']);let k5=BDFDB['DOMUtils']['create']('');let k6=k5['querySelector'](BDFDB['dotCN']['guildcontainer']);let k7=k5['querySelector'](BDFDB['dotCN']['guildpillitem']);BDFDB['DOMUtils']['toggle'](k7['parentElement'],k0['pill']);if(k0['pill']){k7['style']['setProperty']('opacity',k3?0x1:k4?0.7:0x0);k7['style']['setProperty']('height',k3?'40px':'8px');k7['style']['setProperty']('transform','translate3d(0px,\x200px,\x200px)');BDFDB['DOMUtils']['toggleClass'](k5,BDFDB['disCN']['_bdguildselected'],k3);BDFDB['DOMUtils']['toggleClass'](k5,BDFDB['disCN']['_bdguildunread'],k4);BDFDB['DOMUtils']['toggleClass'](k7,BDFDB['disCN']['_bdguildunread'],k4);}if(k0['hover']){let k8=k5['querySelector'](BDFDB['dotCN']['guildiconwrapper']);let k9=k7['style']['getPropertyValue']('opacity')!=0x0;let ka=new h7['AnimationUtils']['Value'](0x0);ka['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x32,0x1e]})['addListener'](kb=>{k6['style']['setProperty']('border-radius',kb['value']+'%');});let kc=new h7['AnimationUtils']['Value'](0x0);kc['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x8,0x14]})['addListener'](kd=>{k7['style']['setProperty']('height',kd['value']+'px');});let ke=new h7['AnimationUtils']['Value'](0x0);ke['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0.7]})['addListener'](kf=>{k7['style']['setProperty']('opacity',''+kf['value']);});let kg=kh=>{h7['AnimationUtils']['parallel']([h7['AnimationUtils']['timing'](ka,{'toValue':kh,'duration':0xc8}),h7['AnimationUtils']['spring'](kc,{'toValue':kh,'friction':0x5})])['start']();};let ki=kj=>{h7['AnimationUtils']['parallel']([h7['AnimationUtils']['timing'](ke,{'toValue':kj,'duration':0xc8})])['start']();};k6['addEventListener']('mouseenter',c=>{k9=k7['style']['getPropertyValue']('opacity')!=0x0;if(h7['LastGuildStore']['getGuildId']()!=k2['id']){kg(0x1);if(!k9)ki(0x1);}});k6['addEventListener']('mouseleave',c=>{if(h7['LastGuildStore']['getGuildId']()!=k2['id']){kg(0x0);if(!k9)ki(0x0);}});}if(k0['click'])k6['addEventListener']('click',km=>{BDFDB['ListenerUtils']['stopEvent'](km);h7['GuildUtils']['transitionToGuildSync'](k2['id']);if(typeof k0['click']=='function')k0['click']();});if(k0['menu'])k6['addEventListener']('contextmenu',kn=>{BDFDB['GuildUtils']['openMenu'](k2['id'],kn);if(typeof k0['menu']=='function')k0['menu']();});if(k0['size']){k5['style']['setProperty']('margin','0','important');k5['style']['setProperty']('width',k0['size']+'px','important');k5['style']['setProperty']('height',k0['size']+'px','important');}return k5;}else return null;};BDFDB['GuildUtils']['openMenu']=function(ko,kp=BDFDB['mousePosition']){if(!ko)return;let kq=Node['prototype']['isPrototypeOf'](ko)?BDFDB['GuildUtils']['getId'](ko):typeof ko=='object'?ko['id']:ko;let kr=h7['GuildStore']['getGuild'](kq);if(kr)h7['ContextMenuUtils']['openContextMenu'](kp,function(kp){return BDFDB['ReactUtils']['createElement'](BDFDB['ModuleUtils']['findByName']('GuildContextMenu'),Object['assign']({},kp,{'type':BDFDB['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':kr,'badge':h7['MentionUtils']['getMentionCount'](kr['id']),'link':BDFDB['DiscordConstants']['Routes']['CHANNEL'](kr['id'],h7['LastChannelStore']['getChannelId'](kr['id'])),'selected':kr['id']==h7['LastGuildStore']['getGuildId']()}));});};BDFDB['GuildUtils']['markAsRead']=function(kt){if(!kt)return;var ku=[];for(let kv of BDFDB['ArrayUtils']['is'](kt)?kt:typeof kt=='string'||typeof kt=='number'?Array['of'](kt):Array['from'](kt)){let kw=Node['prototype']['isPrototypeOf'](kv)?BDFDB['GuildUtils']['getId'](kv):kv&&typeof kv=='object'?kv['id']:kv;let kx=kw?h7['GuildChannelStore']['getChannels'](kw):null;if(kx)for(let ky in kx)if(BDFDB['ArrayUtils']['is'](kx[ky]))for(let kz of kx[ky])ku['push'](kz['channel']['id']);}if(ku['length'])h7['AckUtils']['bulkAck'](ku);};BDFDB['FolderUtils']={};BDFDB['FolderUtils']['getId']=function(kA){if(!Node['prototype']['isPrototypeOf'](kA)||!BDFDB['ReactUtils']['getInstance'](kA))return;kA=BDFDB['DOMUtils']['getParent'](BDFDB['dotCN']['guildfolderwrapper'],kA);if(!kA)return;return BDFDB['ReactUtils']['findValue'](kA,'folderId',{'up':!![]});};BDFDB['FolderUtils']['getDiv']=function(kB){if(!kB)return null;let kC=BDFDB['FolderUtils']['getData'](kB);return kC?kC['div']:null;};BDFDB['FolderUtils']['getData']=function(kD){if(!kD)return null;let kE=Node['prototype']['isPrototypeOf'](kD)?BDFDB['FolderUtils']['getId'](kD):typeof kD=='object'?kD['id']:kD;kE=typeof kE=='number'?kE['toFixed']():kE;for(let kF of BDFDB['FolderUtils']['getAll']())if(kF&&kF['folderId']==kE)return kF;return null;};BDFDB['FolderUtils']['getAll']=function(){var kG=[];for(let kH of BDFDB['ReactUtils']['findOwner'](document['querySelector'](BDFDB['dotCN']['guildswrapper']),{'name':'GuildFolder','all':!![],'noCopies':!![],'unlimited':!![]})){if(kH['props']&&kH['props']['folderId'])kG['push'](Object['assign']({},kH['props'],{'div':BDFDB['ReactUtils']['findDOMNode'](kH),'instance':kH}));}return kG;};BDFDB['ChannelUtils']={};BDFDB['ChannelUtils']['getId']=function(kI){if(!Node['prototype']['isPrototypeOf'](kI)||!BDFDB['ReactUtils']['getInstance'](kI))return;kI=BDFDB['DOMUtils']['getParent'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],kI);if(!kI)return;var kJ=BDFDB['ReactUtils']['findValue'](kI,'channel');return kJ?kJ['id']['toString']():null;};BDFDB['ChannelUtils']['getDiv']=function(kK){if(!kK)return null;let kL=BDFDB['ChannelUtils']['getData'](kK);return kL?kL['div']:null;};BDFDB['ChannelUtils']['getData']=function(kM){if(!kM)return null;let kN=Node['prototype']['isPrototypeOf'](kM)?BDFDB['ChannelUtils']['getId'](kM):typeof kM=='object'?kM['id']:kM;kN=typeof kN=='number'?kN['toFixed']():kN;for(let kO of BDFDB['ChannelUtils']['getAll']())if(kO&&kO['id']==kN)return kO;return null;};BDFDB['ChannelUtils']['getAll']=function(){var kP=[];for(let kQ of BDFDB['ReactUtils']['findOwner'](document['querySelector'](BDFDB['dotCN']['channels']),{'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'unlimited':!![]}))if(kQ['props']&&!kQ['props']['ispin']&&kQ['props']['channel']&&kQ['_reactInternalFiber']['return']){var kR=BDFDB['ReactUtils']['findDOMNode'](kQ);kR=kR&&BDFDB['DOMUtils']['containsClass'](kR['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?kR['parentElement']:kR;kP['push'](Object['assign'](new kQ['props']['channel']['constructor'](kQ['props']['channel']),{'div':kR,'instance':kQ}));}return kP;};BDFDB['ChannelUtils']['getSelected']=function(){var kS=h7['ChannelStore']['getChannel'](h7['LastChannelStore']['getChannelId']());if(kS)return BDFDB['ChannelUtils']['getData'](kS['id'])||Object['assign'](new kS['constructor'](kS),{'div':null,'instance':null});else return null;};BDFDB['ChannelUtils']['openMenu']=function(kT,kU=BDFDB['mousePosition']){if(!kT)return;let kV=Node['prototype']['isPrototypeOf'](kT)?BDFDB['ChannelUtils']['getId'](kT):typeof kT=='object'?kT['id']:kT;let kW=h7['ChannelStore']['getChannel'](kV);if(kW){let kX=null;for(let kY in BDFDB['DiscordConstants']['ChannelTypes'])if(BDFDB['DiscordConstants']['ChannelTypes'][kY]==kW['type']){kX=BDFDB['DiscordConstants']['ContextMenuTypes'][(kY=='GUILD_CATEGORY'?'CHANNEL_':'CHANNEL_LIST_')+kY['replace']('GUILD_','')];break;}if(kX)h7['ContextMenuUtils']['openContextMenu'](kU,function(kU){return BDFDB['ReactUtils']['createElement'](BDFDB['ModuleUtils']['findByName']('ChannelContextMenu'),Object['assign']({},kU,{'type':kX,'channel':kW,'guild':h7['GuildStore']['getGuild'](kW['guild_id']),'selected':kW['id']==h7['LastChannelStore']['getChannelId']()}));});}};BDFDB['DMUtils']={};BDFDB['DMUtils']['getIcon']=function(l0){var l1=h7['ChannelStore']['getChannel'](l0=typeof l0=='number'?l0['toFixed']():l0);if(!l1)return null;if(!l1['icon'])return l1['type']==0x1?BDFDB['UserUtils']['getAvatar'](l1['recipients'][0x0]):l1['type']==0x3?'https://discordapp.com/assets/f046e2247d730629309457e902d5c5b3.svg':null;return h7['IconUtils']['getChannelIconURL'](l1)['split']('?')[0x0];};BDFDB['DMUtils']['getId']=function(l2){if(!Node['prototype']['isPrototypeOf'](l2)||!BDFDB['ReactUtils']['getInstance'](l2))return;let l3=BDFDB['DOMUtils']['getParent'](BDFDB['dotCN']['guildouter'],l2);if(!l3)return;var l4=l3['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var l5=l4&&l4['href']?l4['href']['split']('/')['slice'](-0x1)[0x0]:null;return l5&&!isNaN(parseInt(l5))?l5['toString']():null;};BDFDB['DMUtils']['getDiv']=function(l6){if(!l6)return null;if(Node['prototype']['isPrototypeOf'](l6)){var l7=BDFDB['DOMUtils']['getParent'](BDFDB['dotCN']['guildouter'],l6);return l7?l7['parentElement']:l7;}else{let l8=typeof l6=='object'?l6['id']:l6;if(l8){var l7=BDFDB['DOMUtils']['getParent'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['dmpill']+'\x20+\x20*\x20'+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+l8+'\x22]'));return l7&&BDFDB?l7['parentElement']:l7;}}return null;};BDFDB['DMUtils']['getData']=function(la){if(!la)return null;let lb=Node['prototype']['isPrototypeOf'](la)?BDFDB['getDmID'](la):typeof la=='object'?la['id']:la;lb=typeof lb=='number'?lb['toFixed']():lb;for(let lc of BDFDB['DMUtils']['getAll']())if(lc&&lc['id']==lb)return lc;return null;};BDFDB['DMUtils']['getAll']=function(){var ld=[];for(let le of BDFDB['ReactUtils']['findOwner'](document['querySelector'](BDFDB['dotCN']['guilds']),{'name':'DirectMessage','all':!![],'noCopies':!![],'unlimited':!![]})){if(le['props']&&le['props']['channel'])ld['push'](Object['assign'](new le['props']['channel']['constructor'](le['props']['channel']),{'div':BDFDB['ReactUtils']['findDOMNode'](le),'instance':le}));}return ld;};BDFDB['DMUtils']['markAsRead']=BDFDB['ChannelUtils']['markAsRead']=function(lf){if(!lf)return;var lg=[];for(let lh of lf=BDFDB['ArrayUtils']['is'](lf)?lf:typeof lf=='string'||typeof lf=='number'?Array['of'](lf):Array['from'](lf)){let li=Node['prototype']['isPrototypeOf'](lh)?BDFDB['ChannelUtils']['getId'](lh)||BDFDB['getDmID'](lh):lh&&typeof lh=='object'?lh['id']:lh;if(li)lg['push'](li);}if(lg['length'])h7['AckUtils']['bulkAck'](lg);};BDFDB['DataUtils']={};BDFDB['DataUtils']['cached']={};BDFDB['DataUtils']['save']=function(lj,lk,ll,lm){var ln,lo;if(!BDFDB['BDUtils']['isBDv2']()){lo=typeof lk==='string'?lk:lk['name'];ln=h4['path']['join'](BDFDB['BDUtils']['getPluginsFolder'](),lo+'.config.json');}else{lo=typeof lk==='string'?lk['toLowerCase']():null;var lp=lo?BDFDB['Plugins'][lo]?BDFDB['Plugins'][lo]['contentPath']:null:lk['contentPath'];if(!lp)return;ln=h4['path']['join'](lp,'settings.json');}var lq=h4['fs']['existsSync'](ln);var lr=!lq?{}:typeof BDFDB['DataUtils']['cached'][lo]!=='undefined'?BDFDB['DataUtils']['cached'][lo]:e['readConfig'](ln);if(lm===undefined)lr[ll]=BDFDB['ObjectUtils']['is'](lj)?BDFDB['ObjectUtils']['sort'](lj):lj;else{if(!BDFDB['ObjectUtils']['is'](lr[ll]))lr[ll]={};lr[ll][lm]=BDFDB['ObjectUtils']['is'](lj)?BDFDB['ObjectUtils']['sort'](lj):lj;}if(BDFDB['ObjectUtils']['isEmpty'](lr[ll]))delete lr[ll];if(BDFDB['ObjectUtils']['isEmpty'](lr)){delete BDFDB['DataUtils']['cached'][lo];if(lq)h4['fs']['unlinkSync'](ln);}else{lr=BDFDB['ObjectUtils']['sort'](lr);BDFDB['DataUtils']['cached'][lo]=BDFDB['ObjectUtils']['deepAssign']({},lr);h4['fs']['writeFileSync'](ln,JSON['stringify'](lr,null,'\x09'));}};BDFDB['DataUtils']['load']=function(ls,lt,lu){var lv,lw;if(!BDFDB['BDUtils']['isBDv2']()){lw=typeof ls==='string'?ls:ls['name'];lv=h4['path']['join'](BDFDB['BDUtils']['getPluginsFolder'](),lw+'.config.json');}else{lw=typeof ls==='string'?ls['toLowerCase']():null;var lx=lw?BDFDB['Plugins'][lw]?BDFDB['Plugins'][lw]['contentPath']:null:ls['contentPath'];if(!lx)return{};lv=h4['path']['join'](lx,'settings.json');}if(!h4['fs']['existsSync'](lv)){delete BDFDB['DataUtils']['cached'][lw];return{};}var ly=typeof BDFDB['DataUtils']['cached'][lw]!=='undefined'&&typeof BDFDB['DataUtils']['cached'][lw][lt]!=='undefined'?BDFDB['DataUtils']['cached'][lw]:e['readConfig'](lv);BDFDB['DataUtils']['cached'][lw]=BDFDB['ObjectUtils']['deepAssign']({},ly);let lz=BDFDB['ObjectUtils']['deepAssign']({},ly&&typeof ly[lt]!=='undefined'?ly[lt]:{});if(lu===undefined)return lz;else return lz[lu]===undefined?null:lz[lu];};BDFDB['DataUtils']['remove']=function(lA,lB,lC){var lD,lE;if(!BDFDB['BDUtils']['isBDv2']()){lE=typeof lA==='string'?lA:lA['name'];lD=h4['path']['join'](BDFDB['BDUtils']['getPluginsFolder'](),lE+'.config.json');}else{lE=typeof lA==='string'?lA['toLowerCase']():null;var lF=lE?BDFDB['Plugins'][lE]?BDFDB['Plugins'][lE]['contentPath']:null:lA['contentPath'];if(!lF)return;lD=h4['path']['join'](lF,'settings.json');}var lG=h4['fs']['existsSync'](lD);var lH=!lG?{}:typeof BDFDB['DataUtils']['cached'][lE]!=='undefined'?BDFDB['DataUtils']['cached'][lE]:e['readConfig'](lD);if(lC===undefined)delete lH[lB];else if(BDFDB['ObjectUtils']['is'](lH[lB]))delete lH[lB][lC];if(BDFDB['ObjectUtils']['isEmpty'](lH[lB]))delete lH[lB];if(BDFDB['ObjectUtils']['isEmpty'](lH)){delete BDFDB['DataUtils']['cached'][lE];if(lG)h4['fs']['unlinkSync'](lD);}else{lH=BDFDB['ObjectUtils']['sort'](lH);BDFDB['DataUtils']['cached'][lE]=lH;h4['fs']['writeFileSync'](lD,JSON['stringify'](lH,null,'\x09'));}};BDFDB['DataUtils']['get']=function(lI,lJ,lK){lI=typeof lI=='string'?BDFDB['BDUtils']['getPlugin'](lI):lI;if(!BDFDB['ObjectUtils']['is'](lI)||!lI['defaults']||!lI['defaults'][lJ])return{};var lL=BDFDB['DataUtils']['load'](lI,lJ),lM={},lN=![];for(let lO in lI['defaults'][lJ]){if(lL[lO]==null){lM[lO]=BDFDB['ObjectUtils']['is'](lI['defaults'][lJ][lO]['value'])?BDFDB['ObjectUtils']['deepAssign']({},lI['defaults'][lJ][lO]['value']):lI['defaults'][lJ][lO]['value'];lN=!![];}else lM[lO]=lL[lO];}if(lN)BDFDB['DataUtils']['save'](lM,lI,lJ);if(lK===undefined)return lM;else return lM[lK]===undefined?null:lM[lK];};e['readConfig']=function(lP){try{return JSON['parse'](h4['fs']['readFileSync'](lP));}catch(lQ){return{};}};BDFDB['ColorUtils']={};BDFDB['ColorUtils']['convert']=function(lR,lS,lT){if(lR==null)return null;lS=lS===undefined||!lS?lS='RGBCOMP':lS['toUpperCase']();lT=lT===undefined||!lT||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](lT['toUpperCase']())?BDFDB['ColorUtils']['getType'](lR):lT['toUpperCase']();if(lS=='RGBCOMP'){switch(lT){case'RGBCOMP':if(lR['length']==0x3)return mt(lR);else if(lR['length']==0x4){let lU=mw(lR['pop']());return mt(lR)['concat'](lU);}break;case'RGB':return mt(lR['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let lV=lR['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let lU=mw(lV['pop']());return mt(lV)['concat'](lU);case'HSLCOMP':if(lR['length']==0x3)return BDFDB['ColorUtils']['convert']('hsl('+mA(lR)['join'](',')+')','RGBCOMP');else if(lR['length']==0x4){let lX=mw(lR['pop']());return BDFDB['ColorUtils']['convert']('hsl('+mA(lR)['join'](',')+')','RGBCOMP')['concat'](lX);}break;case'HSL':var lY=mA(lR['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var lZ,m0,m1,m2,m3,m4,m5,m6;var m7=lY[0x0]/0x168,m8=parseInt(lY[0x1])/0x64,m9=parseInt(lY[0x2])/0x64;m2=Math['floor'](m7*0x6);m3=m7*0x6-m2;m4=m9*(0x1-m8);m5=m9*(0x1-m3*m8);m6=m9*(0x1-(0x1-m3)*m8);switch(m2%0x6){case 0x0:lZ=m9,m0=m6,m1=m4;break;case 0x1:lZ=m5,m0=m9,m1=m4;break;case 0x2:lZ=m4,m0=m9,m1=m6;break;case 0x3:lZ=m4,m0=m5,m1=m9;break;case 0x4:lZ=m6,m0=m4,m1=m9;break;case 0x5:lZ=m9,m0=m4,m1=m5;break;}return[Math['round'](lZ*0xff),Math['round'](m0*0xff),Math['round'](m1*0xff)];case'HSLA':var lY=lR['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return BDFDB['ColorUtils']['convert']('hsl('+lY['join'](',')+')','RGBCOMP')['concat'](mw(lY['pop']()));case'HEX':var mb=/^#([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'](lR);return[parseInt(mb[0x1]+mb[0x1]||mb[0x4],0x10)['toString'](),parseInt(mb[0x2]+mb[0x2]||mb[0x5],0x10)['toString'](),parseInt(mb[0x3]+mb[0x3]||mb[0x6],0x10)['toString']()];case'HEXA':var mb=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](lR);return[parseInt(mb[0x1]+mb[0x1]||mb[0x5],0x10)['toString'](),parseInt(mb[0x2]+mb[0x2]||mb[0x6],0x10)['toString'](),parseInt(mb[0x3]+mb[0x3]||mb[0x7],0x10)['toString'](),Math['floor'](BDFDB['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(mb[0x4]+mb[0x4]||mb[0x8],0x10)['toString']()))/0x64];case'INT':lR=mE(lR);return[(lR>>0x10&0xff)['toString'](),(lR>>0x8&0xff)['toString'](),(lR&0xff)['toString']()];default:return null;}}else{var md=lT=='RGBCOMP'?lR:BDFDB['ColorUtils']['convert'](lR,'RGBCOMP',lT);if(md)switch(lS){case'RGB':return'rgb('+mt(md['slice'](0x0,0x3))['join'](',')+')';case'RGBA':md=md['slice'](0x0,0x4);var lX=md['length']==0x4?mw(md['pop']()):0x1;return'rgba('+mt(md)['concat'](lX)['join'](',')+')';case'HSLCOMP':var lX=md['length']==0x4?mw(md['pop']()):null;var lY=mA(BDFDB['ColorUtils']['convert'](md,'HSL')['replace'](/\s/g,'')['split'](','));return lX!=null?lY['concat'](lX):lY;case'HSL':var lZ=mr(md[0x0]),m0=mr(md[0x1]),m1=mr(md[0x2]);var mk=Math['max'](lZ,m0,m1),ml=Math['min'](lZ,m0,m1),mm=mk-ml,m7,m8=mk===0x0?0x0:mm/mk,m9=mk/0xff;switch(mk){case ml:m7=0x0;break;case lZ:m7=m0-m1+mm*(m00xff?0xff:m3<0x0?0x0:m3;}};function mt(lV){return lV['map'](m3=>{return mr(m3);});};function mw(lX){if(lX==null){return 0x1;}else{lX=lX['toString']();lX=(lX['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lX['replace'](/[^0-9\.\-]/g,''));return isNaN(lX)||lX>0x1?0x1:lX<0x0?0x0:lX;}};function my(mz){if(mz==null){return'100%';}else{mz=parseFloat(mz['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(mz)||mz>0x64?0x64:mz<0x0?0x0:mz)+'%';}};function mA(lV){let m7=parseFloat(lV['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));m7=isNaN(m7)||m7>0x168?0x168:m7<0x0?0x0:m7;return[m7]['concat'](lV['map'](mD=>{return my(mD);}));};function mE(m3){if(m3==null){return 0xffffff;}else{m3=parseInt(m3['toString']()['replace'](/[^0-9]/g,''));return isNaN(m3)||m3>0xffffff?0xffffff:m3<0x0?0x0:m3;}};};BDFDB['ColorUtils']['setAlpha']=function(mG,mH,mI){if(BDFDB['ObjectUtils']['is'](mG)){var mJ={};for(let mK in mG)mJ[mK]=mL(mG[mK],mH,mI);return mJ;}return mL(mG,mH,mI);function mL(mG){var mN=BDFDB['ColorUtils']['convert'](mG,'RGBCOMP');if(mN){mH=mH['toString']();mH=(mH['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mH['replace'](/[^0-9\.\-]/g,''));mH=isNaN(mH)||mH>0x1?0x1:mH<0x0?0x0:mH;mN[0x3]=mH;mI=(mI||BDFDB['ColorUtils']['getType'](mG))['toUpperCase']();mI=mI=='RGB'||mI=='HSL'||mI=='HEX'?mI+'A':mI;return BDFDB['ColorUtils']['convert'](mN,mI);}return null;}};BDFDB['ColorUtils']['getAlpha']=function(mO){var mP=BDFDB['ColorUtils']['convert'](mO,'RGBCOMP');if(mP){if(mP['length']==0x3)return 0x1;else if(mP['length']==0x4){let mQ=mP[0x3]['toString']();mQ=(mQ['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mQ['replace'](/[^0-9\.\-]/g,''));return isNaN(mQ)||mQ>0x1?0x1:mQ<0x0?0x0:mQ;}}return null;};BDFDB['ColorUtils']['change']=function(mR,mS,mT){mS=parseFloat(mS);if(mR!=null&&typeof mS=='number'&&!isNaN(mS)){if(BDFDB['ObjectUtils']['is'](mR)){var mU={};for(let mV in mR)mU[mV]=mW(mR[mV],mS,mT);return mU;}else return mW(mR,mS,mT);}return null;function mW(mR){var mY=BDFDB['ColorUtils']['convert'](mR,'RGBCOMP');if(mY){if(parseInt(mS)!==mS){mS=mS['toString']();mS=(mS['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mS['replace'](/[^0-9\.\-]/g,''));mS=isNaN(mS)?0x0:mS;return BDFDB['ColorUtils']['convert']([Math['round'](mY[0x0]*(0x1+mS)),Math['round'](mY[0x1]*(0x1+mS)),Math['round'](mY[0x2]*(0x1+mS))],mT||BDFDB['ColorUtils']['getType'](mR));}else return BDFDB['ColorUtils']['convert']([Math['round'](mY[0x0]+mS),Math['round'](mY[0x1]+mS),Math['round'](mY[0x2]+mS)],mT||BDFDB['ColorUtils']['getType'](mR));}return null;};};BDFDB['ColorUtils']['invert']=function(mZ,n0){if(mZ!=null){var n1=BDFDB['ColorUtils']['convert'](mZ,'RGBCOMP');if(n1)return BDFDB['ColorUtils']['convert']([0xff-n1[0x0],0xff-n1[0x1],0xff-n1[0x2]],n0||BDFDB['ColorUtils']['getType'](mZ));}return null;};BDFDB['ColorUtils']['compare']=function(n2,n3){if(n2&&n3){n2=BDFDB['ColorUtils']['convert'](n2,'RGBA');n3=BDFDB['ColorUtils']['convert'](n3,'RGBA');if(n2&&n3)return BDFDB['equals'](n2,n3);}return null;};BDFDB['ColorUtils']['isBright']=function(n4,n5=0xa0){n4=BDFDB['ColorUtils']['convert'](n4,'RGBCOMP');if(!n4)return![];return parseInt(n5)