diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 7175baba99..5bfb1ed00b 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -7847,6 +7847,7 @@
children: [].concat(this.props.title || "", this.props.settings).map((setting, i) => BDFDB.ReactUtils.createElement("div", {
className: BDFDB.DOMUtils.formatClassName(i == 0 ? BDFDB.disCN.settingstableheadername : BDFDB.disCN.settingstableheaderoption, BDFDB.disCN.settingstableheader, BDFDB.disCN.settingstableheadersize, BDFDB.disCN.primary, BDFDB.disCN.weightbold),
children: setting,
+ onClick: _ => {if (typeof this.props.onHeaderClick == "function") this.props.onHeaderClick(setting, this);},
style: i != 0 && this.props.maxWidth ? {
maxWidth: this.props.maxWidth,
width: this.props.maxWidth,
diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js
index cd6278b57a..1c9f459aba 100644
--- a/Plugins/BDFDB.min.js
+++ b/Plugins/BDFDB.min.js
@@ -1 +1 @@
-(c=>{if(window['BDFDB']&&window['BDFDB']['ListenerUtils']&&typeof window['BDFDB']['ListenerUtils']['remove']=='function')window['BDFDB']['ListenerUtils']['remove'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['ObserverUtils']&&typeof window['BDFDB']['ObserverUtils']['disconnect']=='function')window['BDFDB']['ObserverUtils']['disconnect'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['ModuleUtils']&&typeof window['BDFDB']['ModuleUtils']['unpatch']=='function')window['BDFDB']['ModuleUtils']['unpatch'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['WindowUtils']&&typeof window['BDFDB']['WindowUtils']['closeAll']=='function')window['BDFDB']['WindowUtils']['closeAll'](window['BDFDB']);if(window['BDFDB']&&window['BDFDB']['WindowUtils']&&typeof window['BDFDB']['WindowUtils']['removeListener']=='function')window['BDFDB']['WindowUtils']['removeListener'](window['BDFDB']);var d={'myPlugins':Object['assign']({},window['BDFDB']&&window['BDFDB']['myPlugins']),'InternalData':Object['assign']({'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'patchMenuQueries':{}},window['BDFDB']&&window['BDFDB']['InternalData'],{'creationTime':performance['now']()}),'BDv2Api':window['BDFDB']&&window['BDFDB']['BDv2Api']||undefined,'name':'$BDFDB'};var e=Math['round'](Math['random']()*0x2386f26fc10000),f={};d['InternalData']['loadid']=e;d['LogUtils']={};d['LogUtils']['log']=function(g,h){if(typeof g!='string')g='';if(typeof h!='string'||h=='$BDFDB')h='BDFDB';console['log']('%c['+h+']','color:\x20#3a71c1;\x20font-weight:\x20700;',g['trim']());};d['LogUtils']['warn']=function(i,j){if(typeof i!='string')i='';if(typeof j!='string'||j=='$BDFDB')j='BDFDB';console['warn']('%c['+j+']','color:\x20#3a71c1;\x20font-weight:\x20700;',i['trim']());};d['LogUtils']['error']=function(k,l){if(typeof k!='string')k='';if(typeof l!='string'||l=='$BDFDB')l='BDFDB';console['error']('%c['+l+']','color:\x20#3a71c1;\x20font-weight:\x20700;','Fatal\x20Error:\x20'+k['trim']());};d['LogUtils']['log']('Loading\x20library.');d['PluginUtils']={};d['PluginUtils']['init']=function(m){m['name']=m['name']||(typeof m['getName']=='function'?m['getName']():null);m['version']=m['version']||(typeof m['getVersion']=='function'?m['getVersion']():null);m['author']=m['author']||(typeof m['getAuthor']=='function'?m['getAuthor']():null);m['description']=m['description']||(typeof m['getDescription']=='function'?m['getDescription']():null);if(m['patchModules']){m['patchedModules']={'after':m['patchModules']};delete m['patchModules'];}m['patchedModules']=d['ObjectUtils']['filter'](m['patchedModules'],n=>f9['Patchtypes']['includes'](n),!![]);f['clearStartTimeout'](m);let o=d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_started','v'+m['version']);d['LogUtils']['log'](o,m['name']);if(!d['BDUtils']['getSettings']('fork-ps-2'))d['NotificationUtils']['toast'](m['name']+'\x20'+o,{'nopointer':!![],'selector':'plugin-started-toast'});let p=typeof m['getRawUrl']=='function'&&typeof m['getRawUrl']()=='string'?m['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+m['name']+'/'+m['name']+'.plugin.js';d['PluginUtils']['checkUpdate'](m['name'],p);if(d['ObjectUtils']['is'](m['classes']))f['addPluginClasses'](m);if(typeof m['initConstructor']==='function')d['TimeUtils']['suppress'](m['initConstructor']['bind'](m),'Could\x20not\x20initiate\x20constructor!',m['name'])();if(typeof m['css']==='string')d['DOMUtils']['appendLocalStyle'](m['name'],m['css']);f['patchPlugin'](m);f['addOnSettingsClosedListener'](m);f['addOnSwitchListener'](m);f['addContextListeners'](m);d['PluginUtils']['translate'](m);d['PluginUtils']['checkChangeLog'](m);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][p]={'name':m['name'],'raw':p,'version':m['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=d['TimeUtils']['interval'](c=>{d['PluginUtils']['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);m['started']=!![];delete m['stopping'];for(let r in d['myPlugins'])if(!d['myPlugins'][r]['started']&&typeof d['myPlugins'][r]['initialize']=='function')setImmediate(c=>{d['TimeUtils']['suppress'](d['myPlugins'][r]['initialize']['bind'](d['myPlugins'][r]),'Could\x20not\x20initiate\x20plugin!',r)();});};d['PluginUtils']['clear']=function(t){f['clearStartTimeout'](t);delete d['myPlugins'][t['name']];let u=d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_stopped','v'+t['version']);d['LogUtils']['log'](u,t['name']);if(!d['BDUtils']['getSettings']('fork-ps-2'))d['NotificationUtils']['toast'](t['name']+'\x20'+u,{'nopointer':!![],'selector':'plugin-stopped-toast'});let v=typeof t['getRawUrl']=='function'&&typeof t['getRawUrl']()=='string'?t['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+t['name']+'/'+t['name']+'.plugin.js';if(d['ObjectUtils']['is'](t['classes']))f['removePluginClasses'](t);if(typeof t['css']==='string')d['DOMUtils']['removeLocalStyle'](t['name']);d['ModuleUtils']['unpatch'](t);d['ListenerUtils']['remove'](t);d['ObserverUtils']['disconnect'](t);d['WindowUtils']['closeAll'](t);d['WindowUtils']['removeListener'](t);f['removeOnSwitchListener'](t);for(let w of document['querySelectorAll']('.'+t['name']+'-modal,\x20.'+t['name']['toLowerCase']()+'-modal,\x20.'+t['name']+'-settingsmodal,\x20.'+t['name']['toLowerCase']()+'-settingsmodal')){let x=w['querySelector'](d['dotCN']['modalclose']);if(x)x['click']();}delete d['DataUtils']['cached'][t['name']];delete window['PluginUpdates']['plugins'][v];delete t['started'];d['TimeUtils']['timeout'](c=>{delete t['stopping'];});};d['PluginUtils']['translate']=function(z){z['labels']={};if(typeof z['setLabelsByLanguage']==='function'||typeof z['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])C();else{var A=d['TimeUtils']['interval'](c=>{if(document['querySelector']('html')['lang']){d['TimeUtils']['clear'](A);C();}},0x64);}function C(){var D=d['LanguageUtils']['getLanguage']();if(typeof z['setLabelsByLanguage']==='function')z['labels']=z['setLabelsByLanguage'](D['id']);if(typeof z['changeLanguageStrings']==='function')z['changeLanguageStrings']();d['LogUtils']['log'](d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',D['ownlang']),z['name']);}}};d['PluginUtils']['checkUpdate']=function(E,F){if(d['BDUtils']['isBDv2']()||!E||!F)return;i5['request'](F,(G,H,I)=>{if(G)return;var J=I['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!J)return;if(d['NumberUtils']['getVersionDifference'](J[0x0],window['PluginUpdates']['plugins'][F]['version'])>0.2){d['NotificationUtils']['toast'](E+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});d['PluginUtils']['downloadUpdate'](E,F);}else if(d['NumberUtils']['compareVersions'](J[0x0],window['PluginUpdates']['plugins'][F]['version']))d['PluginUtils']['showUpdateNotice'](E,F);else d['PluginUtils']['removeUpdateNotice'](E);});};d['PluginUtils']['checkAllUpdates']=function(){for(let K in window['PluginUpdates']['plugins']){var L=window['PluginUpdates']['plugins'][K];d['PluginUtils']['checkUpdate'](L['name'],L['raw']);}};d['PluginUtils']['showUpdateNotice']=function(M,N){if(!M||!N)return;var O=document['querySelector']('#pluginNotice');if(!O){O=d['NotificationUtils']['notice']('The\x20following\x20plugins\x20need\x20to\x20be\x20updated: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!d['BDUtils']['isAutoLoadEnabled']()?'Reload':'','customicon':''});O['style']['setProperty']('display','block','important');O['style']['setProperty']('visibility','visible','important');O['style']['setProperty']('opacity','1','important');O['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{d['DOMUtils']['remove']('.update-clickme-tooltip');});let Q=O['querySelector'](d['dotCN']['noticebutton']);if(Q){d['DOMUtils']['toggle'](Q,!![]);Q['addEventListener']('click',c=>{i5['electron']['remote']['getCurrentWindow']()['reload']();});Q['addEventListener']('mouseenter',c=>{if(window['PluginUpdates']['downloaded'])d['TooltipUtils']['create'](Q,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(O){var T=O['querySelector']('#outdatedPlugins');if(T&&!T['querySelector']('#'+M+'-notice')){if(T['querySelector']('span'))T['appendChild'](d['DOMUtils']['create'](',\x20'));var U=d['DOMUtils']['create'](''+M+'');U['addEventListener']('click',c=>{d['PluginUtils']['downloadUpdate'](M,N);});T['appendChild'](U);if(!document['querySelector']('.update-clickme-tooltip'))d['TooltipUtils']['create'](T,'Click\x20us!',{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};d['PluginUtils']['removeUpdateNotice']=function(W,X=document['querySelector']('#pluginNotice')){if(!W||!X)return;var Y=X['querySelector']('#outdatedPlugins');if(Y){var Z=Y['querySelector']('#'+W+'-notice');if(Z){var a0=Z['nextSibling'];var a1=Z['prevSibling'];if(a0&&d['DOMUtils']['containsClass'](a0,'separator'))a0['remove']();else if(a1&&d['DOMUtils']['containsClass'](a1,'separator'))a1['remove']();Z['remove']();}if(!Y['querySelector']('span')){var a2=X['querySelector'](d['dotCN']['noticebutton']);if(a2){X['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';d['DOMUtils']['toggle'](a2,![]);}else X['querySelector'](d['dotCN']['noticedismiss'])['click']();}}};d['PluginUtils']['downloadUpdate']=function(a3,a4){if(!a3||!a4)return;i5['request'](a4,(a5,a6,a7)=>{if(a5)return d['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+a3);d['InternalData']['creationTime']=0x0;var a8=a7['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);a8=a8['toString']()['replace'](/['"]/g,'');i5['fs']['writeFileSync'](i5['path']['join'](d['BDUtils']['getPluginsFolder'](),a4['split']('/')['slice'](-0x1)[0x0]),a7);d['NotificationUtils']['toast'](a3+'\x20v'+window['PluginUpdates']['plugins'][a4]['version']+'\x20has\x20been\x20replaced\x20by\x20'+a3+'\x20v'+a8+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var a9=document['querySelector']('#pluginNotice');if(a9){if(a9['querySelector'](d['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][a4]['version']=a8;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](a3))window['PluginUpdates']['downloaded']['push'](a3);}d['PluginUtils']['removeUpdateNotice'](a3,a9);}});};d['PluginUtils']['checkChangeLog']=function(aa){if(!d['ObjectUtils']['is'](aa)||!aa['changelog'])return;var ab=d['DataUtils']['load'](aa,'changelog');if(!ab['currentversion']||d['NumberUtils']['compareVersions'](aa['version'],ab['currentversion'])){ab['currentversion']=aa['version'];d['DataUtils']['save'](ab,aa,'changelog');d['PluginUtils']['openChangeLog'](aa);}};d['PluginUtils']['openChangeLog']=function(ac){if(!d['ObjectUtils']['is'](ac)||!ac['changelog'])return;var ad='',ae={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let af in ac['changelog']){af=af['toLowerCase']();var ag=d['disCN']['changelog'+af];if(ag){ad+='
'+ae[af]+'
';for(let ah of ac['changelog'][af])ad+='- '+ah[0x0]+''+(ah[0x1]?':\x20'+ah[0x1]+'.':'')+'
';ad+='
';}}if(ad)d['ModalUtils']['open'](ac,{'header':ac['name']+'\x20'+d['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'subheader':'Version\x20'+ac['version'],'children':d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](ad)),'className':d['disCN']['modalchangelogmodal'],'contentClassName':d['disCNS']['changelogcontainer']+d['disCN']['modalminicontent']});};d['PluginUtils']['addLoadingIcon']=function(ai){if(!Node['prototype']['isPrototypeOf'](ai))return;d['DOMUtils']['addClass'](ai,d['disCN']['loadingicon']);let aj=document['querySelector'](d['dotCN']['app']+'>'+d['dotCN']['loadingiconwrapper']);if(!aj){aj=d['DOMUtils']['create']('');document['querySelector'](d['dotCN']['app'])['appendChild'](aj);let ak=new MutationObserver(al=>{if(!aj['firstElementChild'])d['DOMUtils']['remove'](aj);});ak['observe'](aj,{'childList':!![]});}aj['appendChild'](ai);};d['PluginUtils']['createSettingsPanel']=function(am,an){if(!d['ObjectUtils']['is'](am)||!an||!d['ReactUtils']['isValidElement'](an)&&!d['ArrayUtils']['is'](an)||d['ArrayUtils']['is'](an)&&!an['length'])return;var ao=d['DOMUtils']['create']('');d['ReactUtils']['render'](d['ReactUtils']['createElement'](Aa['SettingsPanel'],{'key':am['name']+'-settingspanel','title':am['name'],'children':an}),ao);return ao;};f['addPluginClasses']=function(ap){z3['PLUGIN_'+ap['name']]=ap['classes'];for(let aq in ap['classes'])zd['$'+(ap['name']+aq)['toLowerCase']()]=['PLUGIN_'+ap['name'],aq];};f['removePluginClasses']=function(ar){delete z3['PLUGIN_'+ar['name']];zd=d['ObjectUtils']['filter'](zd,as=>as[0x0]!='PLUGIN_'+ar['name']);};f['clearStartTimeout']=function(at){if(!d['ObjectUtils']['is'](at))return;d['TimeUtils']['clear'](at['startTimeout'],at['libLoadTimeout']);delete at['startTimeout'];delete at['libLoadTimeout'];};f['addOnSettingsClosedListener']=function(au){if(d['ObjectUtils']['is'](au)&&typeof au['onSettingsClosed']==='function'){let av=d['ModuleUtils']['findByName']('StandardSidebarView');if(av)d['ModuleUtils']['patch'](au,av['prototype'],'componentWillUnmount',{'after':aw=>{au['onSettingsClosed']();}});}};f['addOnSwitchListener']=function(ax){if(d['ObjectUtils']['is'](ax)&&typeof ax['onSwitch']==='function'){f['removeOnSwitchListener'](ax);let ay=document['querySelector'](d['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+d['dotCN']['chatspacer']);if(ay){let az=new MutationObserver(aA=>{aA['forEach'](aB=>{if(aB['target']&&d['DOMUtils']['containsClass'](aB['target'],d['disCN']['nochannel']))ax['onSwitch']();});});let aC=ay['querySelector'](d['dotCNC']['chat']+d['dotCN']['nochannel']);if(aC)az['observe'](aC,{'attributes':!![]});ax['onSwitchFix']=new MutationObserver(aD=>{aD['forEach'](aE=>{if(aE['addedNodes']){aE['addedNodes']['forEach'](aF=>{if(d['DOMUtils']['containsClass'](aF,d['disCN']['chat'],d['disCN']['nochannel'],![]))az['observe'](aF,{'attributes':!![]});});}});});ax['onSwitchFix']['observe'](ay,{'childList':!![]});}}};f['removeOnSwitchListener']=function(aG){if(d['ObjectUtils']['is'](aG)&&typeof aG['onSwitch']==='function'&&d['ObjectUtils']['is'](aG['onSwitchFix'])){aG['onSwitchFix']['disconnect']();delete aG['onSwitchFix'];}};d['ObserverUtils']={};d['ObserverUtils']['connect']=function(aH,aI,aJ,aK={'childList':!![]}){if(!d['ObjectUtils']['is'](aH)||!aI||!aJ)return;if(d['ObjectUtils']['isEmpty'](aH['observers']))aH['observers']={};if(!d['ArrayUtils']['is'](aH['observers'][aJ['name']]))aH['observers'][aJ['name']]=[];if(!aJ['multi'])for(let aL of aH['observers'][aJ['name']])aL['disconnect']();if(aJ['instance'])aH['observers'][aJ['name']]['push'](aJ['instance']);var aM=aH['observers'][aJ['name']][aH['observers'][aJ['name']]['length']-0x1];if(aM){var aN=Node['prototype']['isPrototypeOf'](aI)?aI:typeof aI==='string'?document['querySelector'](aI):null;if(aN)aM['observe'](aN,aK);}};d['ObserverUtils']['disconnect']=function(aO,aP){if(d['ObjectUtils']['is'](aO)&&!d['ObjectUtils']['isEmpty'](aO['observers'])){let aQ=typeof aP=='string'?aP:d['ObjectUtils']['is'](aP)?aP['name']:null;if(!aQ){for(let aP in aO['observers'])for(let aS of aO['observers'][aP])aS['disconnect']();delete aO['observers'];}else if(!d['ArrayUtils']['is'](aO['observers'][aQ])){for(let aT of aO['observers'][aQ])aT['disconnect']();delete aO['observers'][aQ];}}};d['ListenerUtils']={};d['ListenerUtils']['add']=function(aU,aV,aW,aX,aY){if(!d['ObjectUtils']['is'](aU)||!Node['prototype']['isPrototypeOf'](aV)&&aV!==window||!aW)return;var aZ=typeof aX=='function';var b0=aZ?undefined:aX;var b1=aZ?aX:aY;if(typeof b1!='function')return;d['ListenerUtils']['remove'](aU,aV,aW,b0);for(var b2 of aW['split']('\x20')){b2=b2['split']('.');var b3=b2['shift']()['toLowerCase']();if(!b3)return;var b4=b3;b3=b3=='mouseenter'||b3=='mouseleave'?'mouseover':b3;var b5=(b2['join']('.')||'')+aU['name'];if(!d['ArrayUtils']['is'](aU['listeners']))aU['listeners']=[];var b6=null;if(b0){if(b4=='mouseenter'||b4=='mouseleave'){b6=b7=>{for(let b8 of b7['path'])if(typeof b8['matches']=='function'&&b8['matches'](b0)&&!b8[b5+'BDFDB'+b4]){b8[b5+'BDFDB'+b4]=!![];if(b4=='mouseenter')b1(d['ListenerUtils']['copyEvent'](b7,b8));let b9=ba=>{if(ba['target']['contains'](b8)||ba['target']==b8||!b8['contains'](ba['target'])){if(b4=='mouseleave')b1(d['ListenerUtils']['copyEvent'](b7,b8));delete b8[b5+'BDFDB'+b4];document['removeEventListener']('mouseout',b9);}};document['addEventListener']('mouseout',b9);break;}};}else{b6=bb=>{for(let bc of bb['path'])if(typeof bc['matches']=='function'&&bc['matches'](b0)){b1(d['ListenerUtils']['copyEvent'](bb,bc));break;}};}}else b6=bd=>{b1(d['ListenerUtils']['copyEvent'](bd,aV));};aU['listeners']['push']({'ele':aV,'eventname':b3,'origeventname':b4,'namespace':b5,'selector':b0,'eventcallback':b6});aV['addEventListener'](b3,b6,!![]);}};d['ListenerUtils']['remove']=function(be,bf,bg='',bh){if(!d['ObjectUtils']['is'](be)||!d['ArrayUtils']['is'](be['listeners']))return;if(Node['prototype']['isPrototypeOf'](bf)||bf===window){for(var bi of bg['split']('\x20')){bi=bi['split']('.');var bj=bi['shift']()['toLowerCase']();var bk=(bi['join']('.')||'')+be['name'];for(let bl of be['listeners']){let bm=[];if(bl['ele']==bf&&(!bj||bl['origeventname']==bj)&&bl['namespace']==bk&&(bh===undefined||bl['selector']==bh)){bf['removeEventListener'](bl['eventname'],bl['eventcallback'],!![]);bm['push'](bl);}if(bm['length'])be['listeners']=be['listeners']['filter'](bl=>{return bm['indexOf'](bl)<0x0;});}}}else if(!bf){for(let bo of be['listeners'])bo['ele']['removeEventListener'](bo['eventname'],bo['eventcallback'],!![]);be['listeners']=[];}};d['ListenerUtils']['multiAdd']=function(bp,bq,br){if(!Node['prototype']['isPrototypeOf'](bp)||!bq||typeof br!='function')return;for(var bs of bq['trim']()['split']('\x20')['filter'](bt=>bt))bp['addEventListener'](bs,br,!![]);};d['ListenerUtils']['multiRemove']=function(bu,bv,bw){if(!Node['prototype']['isPrototypeOf'](bu)||!bv||typeof bw!='function')return;for(var bx of bv['trim']()['split']('\x20')['filter'](by=>by))bu['removeEventListener'](bx,bw,!![]);};d['ListenerUtils']['addToChildren']=function(bz,bA,bB,bC){if(!Node['prototype']['isPrototypeOf'](bz)||!bA||!bB||!bB['trim']()||typeof bC!='function')return;for(var bD of bA['trim']()['split']('\x20')['filter'](bE=>bE)){var bF=bC;if(bD=='mouseenter'||bD=='mouseleave')bF=bG=>{if(bG['target']['matches'](bB))bC(bG);};bz['querySelectorAll'](bB['trim']())['forEach'](bH=>{bH['addEventListener'](bD,bF,!![]);});}};d['ListenerUtils']['copyEvent']=function(bI,bJ){if(!bI||!bI['constructor']||!bI['type'])return bI;var bK=new bI['constructor'](bI['type'],bI);Object['defineProperty'](bK,'originalEvent',{'value':bI});Object['defineProperty'](bK,'which',{'value':bI['which']});Object['defineProperty'](bK,'keyCode',{'value':bI['keyCode']});Object['defineProperty'](bK,'path',{'value':bI['path']});Object['defineProperty'](bK,'relatedTarget',{'value':bI['relatedTarget']});Object['defineProperty'](bK,'srcElement',{'value':bI['srcElement']});Object['defineProperty'](bK,'target',{'value':bI['target']});Object['defineProperty'](bK,'toElement',{'value':bI['toElement']});if(bJ)Object['defineProperty'](bK,'currentTarget',{'value':bJ});return bK;};d['ListenerUtils']['stopEvent']=function(bL){if(d['ObjectUtils']['is'](bL)){if(typeof bL['preventDefault']=='function')bL['preventDefault']();if(typeof bL['stopPropagation']=='function')bL['stopPropagation']();if(typeof bL['stopImmediatePropagation']=='function')bL['stopImmediatePropagation']();if(d['ObjectUtils']['is'](bL['originalEvent'])){if(typeof bL['originalEvent']['preventDefault']=='function')bL['originalEvent']['preventDefault']();if(typeof bL['originalEvent']['stopPropagation']=='function')bL['originalEvent']['stopPropagation']();if(typeof bL['originalEvent']['stopImmediatePropagation']=='function')bL['originalEvent']['stopImmediatePropagation']();}}};var bM=[],bN={'queue':[],'running':![]};d['NotificationUtils']={};d['NotificationUtils']['toast']=function(bO,bP={}){let bQ=document['querySelector']('.toasts,\x20.bd-toasts');if(!bQ){let bR=document['querySelector'](d['dotCN']['channels']+'\x20+\x20div');let bS=bR?d['DOMUtils']['getRects'](bR):null;let bT=bR?bR['querySelector'](d['dotCN']['memberswrap']):null;let bU=bS?bS['left']:0x136;let bV=bS?bT?bS['width']-d['DOMUtils']['getRects'](bT)['width']:bS['width']:window['outerWidth']-0x0;let bW=bR?bR['querySelector']('form'):null;let bX=bW?d['DOMUtils']['getRects'](bW)['height']:0x50;bQ=d['DOMUtils']['create']('');(document['querySelector'](d['dotCN']['app'])||document['body'])['appendChild'](bQ);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=bP;let bY=d['DOMUtils']['create'](''+(html===!![]?bO:d['StringUtils']['htmlEscape'](bO))+'
');if(type){d['DOMUtils']['addClass'](bY,'toast-'+type);if(icon)d['DOMUtils']['addClass'](bY,'icon');}else if(color){let bZ=d['ColorUtils']['convert'](color,'RGB');if(bZ)bY['style']['setProperty']('background-color',bZ);}d['DOMUtils']['addClass'](bY,selector);bQ['appendChild'](bY);bY['close']=c=>{if(document['contains'](bY)){d['DOMUtils']['addClass'](bY,'closing');bY['style']['setProperty']('pointer-events','none','important');d['TimeUtils']['timeout'](c=>{bY['remove']();if(!bQ['querySelectorAll']('.toast,\x20.bd-toast')['length'])bQ['remove']();},0xbb8);}};if(nopointer)bY['style']['setProperty']('pointer-events','none','important');else bY['addEventListener']('click',bY['close']);d['TimeUtils']['timeout'](c=>{bY['close']();},timeout>0x0?timeout:0x927c0);return bY;};d['NotificationUtils']['desktop']=function(c3,c4={}){var c5=c=>{bN['queue']['push']({'parsedcontent':c3,'parsedoptions':c4});c7();};var c7=c=>{if(!bN['running']){var c9=bN['queue']['shift']();if(c9)ca(c9['parsedcontent'],c9['parsedoptions']);}};var ca=(cb,cc)=>{bN['running']=!![];var cd=cc['silent'];cc['silent']=cc['silent']||cc['sound']?!![]:![];var ce=new Notification(cb,cc);var cf=new Audio();var cg=d['TimeUtils']['timeout'](c=>{cj();},cc['timeout']?cc['timeout']:0xbb8);if(typeof cc['click']=='function')ce['onclick']=c=>{d['TimeUtils']['clear'](cg);cj();cc['click']();};if(!cd&&cc['sound']){cf['src']=cc['sound'];cf['play']();}var cj=c=>{cf['pause']();ce['close']();bN['running']=![];d['TimeUtils']['timeout'](c=>{c7();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')c5();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(cm){if(cm==='granted')c5();});};d['NotificationUtils']['notice']=function(cn,co={}){if(!cn)return;var cp=document['querySelector'](d['dotCN']['layers']);if(!cp)return;var cq=d['NumberUtils']['generateId'](bM);var cr=d['DOMUtils']['create']('');cp['parentElement']['insertBefore'](cr,cp);var cs=cr['querySelector']('.notice-message');if(co['platform'])for(let ct of co['platform']['split']('\x20'))if(zd['noticeicon'+ct]){let cu=d['DOMUtils']['create']('');d['DOMUtils']['addClass'](cu,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cu,d['disCN']['noticeicon']);cr['insertBefore'](cu,cs);}if(co['customicon']){let cv=d['DOMUtils']['create'](co['customicon']);let cu=d['DOMUtils']['create']('');if(cv['tagName']=='span'&&!cv['firstElementChild'])cu['style']['setProperty']('background','url('+co['customicon']+')\x20center/cover\x20no-repeat');else cu['appendChild'](cv);d['DOMUtils']['addClass'](cu,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cu,d['disCN']['noticeicon']);cr['insertBefore'](cu,cs);}if(co['btn']||co['button'])cr['appendChild'](d['DOMUtils']['create'](''));if(co['id'])cr['id']=co['id']['split']('\x20')['join']('');if(co['selector'])d['DOMUtils']['addClass'](cr,co['selector']);if(co['css'])d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbar'+cq,co['css']);if(co['style'])cr['style']=co['style'];if(co['html']===!![])cs['innerHTML']=cn;else{var cx=document['createElement']('a');var cy=[];for(let cz of cn['split']('\x20')){var cA=d['StringUtils']['htmlEscape'](cz);cx['href']=cz;cy['push'](cx['host']&&cx['host']!==window['location']['host']?'':cA);}cs['innerHTML']=cy['join']('\x20');}var cB=null;if(co['type']&&!document['querySelector'](d['dotCNS']['chatbase']+d['dotCN']['noticestreamer'])){if(cB=d['disCN']['notice'+co['type']])d['DOMUtils']['addClass'](cr,cB);if(co['type']=='premium'){var cC=cr['querySelector'](d['dotCN']['noticebutton']);if(cC)d['DOMUtils']['addClass'](cC,d['disCN']['noticepremiumaction']);d['DOMUtils']['addClass'](cs,d['disCN']['noticepremiumtext']);cr['insertBefore'](d['DOMUtils']['create'](''),cs);}}if(!cB){var cD=d['ColorUtils']['convert'](co['color'],'RGBCOMP');if(cD){var cE=cD[0x0]>0xb4&&cD[0x1]>0xb4&&cD[0x2]>0xb4?'#000':'#FFF';var cF=d['ColorUtils']['convert'](cD,'HEX');var cG=cD[0x0]>0xb4&&cD[0x1]>0xb4&&cD[0x2]>0xb4?'brightness(0%)':'brightness(100%)';d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+cq,d['dotCN']['noticewrapper']+'[notice-id=\x22'+cq+'\x22]{background-color:'+cF+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+cq+'\x22]\x20.notice-message\x20{color:'+cE+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+cq+'\x22]\x20'+d['dotCN']['noticebutton']+'\x20{color:'+cE+'\x20!important;border-color:'+d['ColorUtils']['setAlpha'](cE,0.25,'RGBA')+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+cq+'\x22]\x20'+d['dotCN']['noticebutton']+':hover\x20{color:'+cF+'\x20!important;background-color:'+cE+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+cq+'\x22]\x20'+d['dotCN']['noticedismiss']+'\x20{filter:'+cG+'\x20!important;}');}else d['DOMUtils']['addClass'](cr,d['disCN']['noticedefault']);}cr['style']['setProperty']('height','36px','important');cr['style']['setProperty']('min-width','70vw','important');cr['style']['setProperty']('left','unset','important');cr['style']['setProperty']('right','unset','important');let cH=(d['DOMUtils']['getWidth'](document['body']['firstElementChild'])-d['DOMUtils']['getWidth'](cr))/0x2;cr['style']['setProperty']('left',cH+'px','important');cr['style']['setProperty']('right',cH+'px','important');cr['style']['setProperty']('min-width','unset','important');cr['style']['setProperty']('width','unset','important');cr['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cH*0x2+'px)','important');cr['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{cr['style']['setProperty']('overflow','hidden','important');cr['style']['setProperty']('height','0px','important');d['TimeUtils']['timeout'](c=>{d['ArrayUtils']['remove'](bM,cq);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbar'+cq);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+cq);cr['remove']();},0x1f4);});return cr;};d['NotificationUtils']['alert']=function(cK,cL){if(typeof cK=='string'&&typeof cK=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](cK,cL);};var cM=[];d['TooltipUtils']={};d['TooltipUtils']['create']=function(cN,cO,cP={}){var cQ=document['querySelector'](d['dotCN']['appmount']+'\x20>\x20*\x20>\x20'+d['dotCN']['itemlayercontainer']);if(!cQ||typeof cO!='string'&&!d['ObjectUtils']['is'](cP['guild'])||!Node['prototype']['isPrototypeOf'](cN)||!document['contains'](cN))return null;var cR=d['NumberUtils']['generateId'](cM);var cS=d['DOMUtils']['create']('');cQ['appendChild'](cS);var cT=cS['firstElementChild'];if(cP['id'])cT['id']=cP['id']['split']('\x20')['join']('');if(!cP['type']||!d['disCN']['tooltip'+cP['type']['toLowerCase']()])cP['type']='top';d['DOMUtils']['addClass'](cT,d['disCN']['tooltip'+cP['type']['toLowerCase']()]);cT['type']=cP['type']['toLowerCase']();let cU=![],cV=![],cW='';if(cP['style'])cW+=cP['style'];if(cP['fontColor']){cU=d['ObjectUtils']['is'](cP['fontColor']);if(!cU)cW=(cW?cW+'\x20':'')+('color:\x20'+d['ColorUtils']['convert'](cP['fontColor'],'RGBA')+'\x20!important;');}if(cP['backgroundColor']){cV=!![];let cX=d['ObjectUtils']['is'](cP['backgroundColor']);let cY=!cX?d['ColorUtils']['convert'](cP['backgroundColor'],'RGBA'):d['ColorUtils']['createGradient'](cP['backgroundColor']);cW=(cW?cW+'\x20':'')+('background:\x20'+cY+'\x20!important;\x20border-color:\x20'+(cX?d['ColorUtils']['convert'](cP['backgroundColor'][cP['type']=='left'?0x64:0x0],'RGBA'):cY)+'\x20!important;');}if(cW)cT['style']=cW;if(cV)d['DOMUtils']['addClass'](cT,d['disCN']['tooltipcustom']);else if(cP['color']&&d['disCN']['tooltip'+cP['color']['toLowerCase']()])d['DOMUtils']['addClass'](cT,d['disCN']['tooltip'+cP['color']['toLowerCase']()]);else d['DOMUtils']['addClass'](cT,d['disCN']['tooltipblack']);if(cP['list']||d['ObjectUtils']['is'](cP['guild']))d['DOMUtils']['addClass'](cT,d['disCN']['tooltiplistitem']);if(cP['selector'])d['DOMUtils']['addClass'](cT,cP['selector']);if(d['ObjectUtils']['is'](cP['guild'])){let cZ=i8['StreamUtils']['getAllApplicationStreams']()['filter'](d0=>d0['guildId']===cP['guild']['id'])['map'](d1=>d1['ownerId']);let d2=cZ['map'](d3=>i8['UserStore']['getUser'](d3))['filter'](d4=>d4);let d5=Object['keys'](i8['VoiceUtils']['getVoiceStates'](cP['guild']['id']))['map'](d6=>!cZ['includes'](d6)&&d['LibraryModules']['UserStore']['getUser'](d6))['filter'](d7=>d7);let d8=cO||cP['guild']['toString']();if(cU)d8=''+d['StringUtils']['htmlEscape'](d8)+'';d['ReactUtils']['render'](d['ReactUtils']['createElement'](d['ReactUtils']['Fragment'],{'children':[d['ReactUtils']['createElement']('div',{'className':d['DOMUtils']['formatClassName'](d['disCN']['tooltiprow'],d['disCN']['tooltiprowguildname']),'children':[d['ReactUtils']['createElement'](Aa['GuildComponents']['Badge'],{'guild':cP['guild'],'size':i8['StringUtils']['cssValueToNumber'](z3['TooltipGuild']['iconSize']),'className':d['disCN']['tooltiprowicon']}),d['ReactUtils']['createElement']('span',{'className':d['DOMUtils']['formatClassName'](d['disCN']['tooltipguildnametext'],(d5['length']||d2['length'])&&d['disCN']['tooltipguildnametextlimitedsize']),'children':cU||cP['html']?d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](d8)):d8})]}),d5['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](Aa['SvgIcon'],{'name':Aa['SvgIcon']['Names']['SPEAKER'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](Aa['UserSummaryItem'],{'users':d5,'max':0x6})]}):null,d2['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](Aa['SvgIcon'],{'name':Aa['SvgIcon']['Names']['STREAM'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](Aa['UserSummaryItem'],{'users':d2,'max':0x6})]}):null]['filter'](d9=>d9)}),cT);}else{if(cU)cT['innerHTML']=''+d['StringUtils']['htmlEscape'](cO)+'';else if(cP['html']===!![])cT['innerHTML']=cO;else cT['innerText']=cO;}cT['appendChild'](d['DOMUtils']['create'](''));cT['anker']=cN;if(cP['hide'])d['DOMUtils']['appendLocalStyle']('BDFDBhideOtherTooltips'+cR,'#app-mount\x20'+d['dotCN']['tooltip']+':not([tooltip-id=\x22'+cR+'\x22])\x20{display:\x20none\x20!important;}',cQ);let da=c=>{d['DOMUtils']['remove'](cS);};cN['addEventListener']('mouseleave',da);let dc=new MutationObserver(dd=>dd['forEach'](de=>{let df=Array['from'](de['removedNodes']);if(df['indexOf'](cS)>-0x1||df['indexOf'](cN)>-0x1||df['some'](dg=>dg['contains'](cN))){d['ArrayUtils']['remove'](cM,cR);dc['disconnect']();d['DOMUtils']['remove'](cS);d['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+cR,cQ);cN['removeEventListener']('mouseleave',da);}}));dc['observe'](document['body'],{'subtree':!![],'childList':!![]});d['TooltipUtils']['update'](cT);if(cP['delay']){d['DOMUtils']['toggle'](cS);d['TimeUtils']['timeout'](c=>{d['DOMUtils']['toggle'](cS);},cP['delay']);}return cS;};d['TooltipUtils']['update']=function(di){if(!Node['prototype']['isPrototypeOf'](di))return;let dj=d['DOMUtils']['getParent'](d['dotCN']['itemlayer'],di);if(!Node['prototype']['isPrototypeOf'](dj))return;di=dj['querySelector'](d['dotCN']['tooltip']);if(!Node['prototype']['isPrototypeOf'](di)||!Node['prototype']['isPrototypeOf'](di['anker'])||!di['type'])return;var dk=di['querySelector'](d['dotCN']['tooltippointer']);var dl,dm,dn=d['DOMUtils']['getRects'](di['anker']),dp=d['DOMUtils']['getRects'](dj),dq=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount'])),dr={'height':0xa,'width':0xa};switch(di['type']){case'top':dm=dn['top']-dp['height']-dr['height']+0x2;dl=dn['left']+(dn['width']-dp['width'])/0x2;break;case'bottom':dm=dn['top']+dn['height']+dr['height']-0x2;dl=dn['left']+(dn['width']-dp['width'])/0x2;break;case'left':dm=dn['top']+(dn['height']-dp['height'])/0x2;dl=dn['left']-dp['width']-dr['width']+0x2;break;case'right':dm=dn['top']+(dn['height']-dp['height'])/0x2;dl=dn['left']+dn['width']+dr['width']-0x2;break;}dj['style']['setProperty']('top',dm+'px');dj['style']['setProperty']('left',dl+'px');dk['style']['removeProperty']('margin-left');dk['style']['removeProperty']('margin-top');if(di['type']=='top'||di['type']=='bottom'){if(dl<0x0){dj['style']['setProperty']('left','5px');dk['style']['setProperty']('margin-left',dl-0xa+'px');}else{var ds=dq['width']-(dl+dp['width']);if(ds<0x0){dj['style']['setProperty']('left',dq['width']-dp['width']-0x5+'px');dk['style']['setProperty']('margin-left',-0x1*ds+'px');}}}else if(di['type']=='left'||di['type']=='right'){if(dm<0x0){dj['style']['setProperty']('top','5px');dk['style']['setProperty']('margin-top',dm-0xa+'px');}else{var dt=dq['height']-(dm+dp['height']);if(dt<0x0){dj['style']['setProperty']('top',dq['height']-dp['height']-0x5+'px');dk['style']['setProperty']('margin-top',-0x1*dt+'px');}}}};d['ObjectUtils']={};d['ObjectUtils']['is']=function(du){return du&&Object['prototype']['isPrototypeOf'](du)&&!Array['prototype']['isPrototypeOf'](du);};d['ObjectUtils']['extract']=function(dv,...dw){let dx={};if(d['ObjectUtils']['is'](dv))for(let dy of dw['flat'](0xa)['filter'](dz=>dz))if(dv[dy])dx[dy]=dv[dy];return dx;};d['ObjectUtils']['exclude']=function(dA,...dB){let dC=Object['assign']({},dA);d['ObjectUtils']['delete'](dC,...dB);return dC;};d['ObjectUtils']['delete']=function(dD,...dE){if(d['ObjectUtils']['is'](dD))for(let dF of dE['flat'](0xa)['filter'](dG=>dG))delete dD[dF];};d['ObjectUtils']['sort']=function(dH,dI,dJ){if(!d['ObjectUtils']['is'](dH))return{};var dK={};if(dI===undefined||!dI)for(let dL of Object['keys'](dH)['sort']())dK[dL]=dH[dL];else{let dM=[];for(let dL in dH)dM['push'](dH[dL]);dM=d['ArrayUtils']['keySort'](dM,dI,dJ);for(let dO of dM)for(let dL in dH)if(d['equals'](dO,dH[dL])){dK[dL]=dO;break;}}return dK;};d['ObjectUtils']['reverse']=function(dQ,dR){if(!d['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;};d['ObjectUtils']['filter']=function(dU,dV,dW=![]){if(!d['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),{});};d['ObjectUtils']['push']=function(e0,e1){if(d['ObjectUtils']['is'](e0))e0[Object['keys'](e0)['length']]=e1;};d['ObjectUtils']['pop']=function(e2,e3){if(d['ObjectUtils']['is'](e2)){let e4=Object['keys'](e2);if(!e4['length'])return;let e3=e2[e4[e4['length']-0x1]];delete e2[e4[e4['length']-0x1]];return e3;}};d['ObjectUtils']['map']=function(e6,e7){if(!d['ObjectUtils']['is'](e6))return{};if(typeof e7!='string'&&typeof e7!='function')return e6;var e8={};for(let e9 in e6)if(d['ObjectUtils']['is'](e6[e9]))e8[e9]=typeof e7=='string'?e6[e9][e7]:e7(e6[e9],e9);return e8;};d['ObjectUtils']['toArray']=function(ea){if(!d['ObjectUtils']['is'](ea))return[];return Object['entries'](ea)['map'](eb=>eb[0x1]);};d['ObjectUtils']['deepAssign']=function(ec,...ed){if(!ed['length'])return ec;let ee=ed['shift']();if(d['ObjectUtils']['is'](ec)&&d['ObjectUtils']['is'](ee)){for(let ef in ee){if(d['ObjectUtils']['is'](ee[ef])){if(!ec[ef])Object['assign'](ec,{[ef]:{}});d['ObjectUtils']['deepAssign'](ec[ef],ee[ef]);}else Object['assign'](ec,{[ef]:ee[ef]});}}return d['ObjectUtils']['deepAssign'](ec,...ed);};d['ObjectUtils']['isEmpty']=function(eg){return!d['ObjectUtils']['is'](eg)||Object['getOwnPropertyNames'](eg)['length']==0x0;};d['ArrayUtils']={};d['ArrayUtils']['is']=function(eh){return eh&&Array['isArray'](eh);};d['ArrayUtils']['sum']=function(ei){return Array['isArray'](ei)?ei['reduce']((ej,ek)=>ej+Math['round'](ek),0x0):0x0;};d['ArrayUtils']['keySort']=function(el,em,en){if(!d['ArrayUtils']['is'](el))return[];if(em==null)return el;if(en===undefined)en=null;return el['sort']((eo,ep)=>{var eq=eo[em],er=ep[em];if(eq!==en)return eqer?0x1:0x0;});};d['ArrayUtils']['numSort']=function(es){return es['sort']((et,eu)=>{return eteu?0x1:0x0;});};d['ArrayUtils']['remove']=function(ev,ew,ex=![]){if(!d['ArrayUtils']['is'](ev))return[];if(!ev['includes'](ew))return ev;if(!ex)ev['splice'](ev['indexOf'](ew),0x1);else while(ev['indexOf'](ew)>-0x1)ev['splice'](ev['indexOf'](ew),0x1);return ev;};d['ArrayUtils']['getAllIndexes']=function(ey,ez){if(!d['ArrayUtils']['is'](ey)&&typeof ey!='string')return[];var eA=[],eB=-0x1;while((eB=ey['indexOf'](ez,eB+0x1))!==-0x1)eA['push'](eB);return eA;};d['ArrayUtils']['removeCopies']=function(eC){if(!d['ArrayUtils']['is'](eC))return[];return[...new Set(eC)];};d['ModuleUtils']={};d['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};d['ModuleUtils']['find']=function(eD,eE){eE=typeof eE!='boolean'?!![]:eE;var eF=f['getWebModuleReq']();for(let eG in eF['c'])if(eF['c']['hasOwnProperty'](eG)){var eH=eF['c'][eG]['exports'];if(eH&&(typeof eH=='object'||typeof eH=='function')&&eD(eH))return eE?eH:eF['c'][eG];if(eH&&eH['__esModule'])for(let eI in eH)if(eH[eI]&&(typeof eH[eI]=='object'||typeof eH[eI]=='function')&&eD(eH[eI]))return eE?eH[eI]:eF['c'][eG];}};d['ModuleUtils']['findByProperties']=function(...eJ){eJ=eJ['flat'](0xa);let eK=eJ['pop']();if(typeof eK!='boolean'){eJ['push'](eK);eK=!![];}return f['findModule']('prop',JSON['stringify'](eJ),eL=>eJ['every'](eM=>eL[eM]!==undefined),eK);};d['ModuleUtils']['findByName']=function(eN,eO){let eP=f['findModule']('name',JSON['stringify'](eN),eQ=>eQ['displayName']===eN||eQ['render']&&eQ['render']['displayName']===eN,typeof eO!='boolean'?!![]:eO);if(eP&&eP['render']&&eP['render']['displayName']==eN)eP['displayName']=eN;return eP;};d['ModuleUtils']['findByString']=function(...eR){eR=eR['flat'](0xa);let eS=eR['pop']();if(typeof eS!='boolean'){eR['push'](eS);eS=!![];}return f['findModule']('string',JSON['stringify'](eR),eT=>eR['every'](eU=>typeof eT=='function'&&(eT['toString']()['indexOf'](eU)>-0x1||eT['originalsource']&&eT['originalsource']['toString']()['indexOf'](eU)>-0x1)),eS);};d['ModuleUtils']['findByPrototypes']=function(...eV){eV=eV['flat'](0xa);let eW=eV['pop']();if(typeof eW!='boolean'){eV['push'](eW);eW=!![];}return f['findModule']('proto',JSON['stringify'](eV),eX=>eX['prototype']&&eV['every'](eY=>eX['prototype'][eY]!==undefined),eW);};f['findModule']=function(eZ,f0,f1,f2){if(!d['ObjectUtils']['is'](d['ModuleUtils']['cached'][eZ]))d['ModuleUtils']['cached'][eZ]={'module':{},'export':{}};if(f2&&d['ModuleUtils']['cached'][eZ]['export'][f0])return d['ModuleUtils']['cached'][eZ]['export'][f0];else if(!f2&&d['ModuleUtils']['cached'][eZ]['module'][f0])return d['ModuleUtils']['cached'][eZ]['module'][f0];else{var f3=d['ModuleUtils']['find'](f1,f2);if(f3){if(f2)d['ModuleUtils']['cached'][eZ]['export'][f0]=f3;else d['ModuleUtils']['cached'][eZ]['module'][f0]=f3;return f3;}else d['LogUtils']['warn'](f0+'\x20['+eZ+']\x20not\x20found\x20in\x20WebModules');}};f['getWebModuleReq']=function(){if(!f['getWebModuleReq']['req']){const f4='BDFDB-WebModules';const f5=window['webpackJsonp']['push']([[],{[f4]:(f6,f7,f5)=>f6['exports']=f5},[[f4]]]);delete f5['m'][f4];delete f5['c'][f4];f['getWebModuleReq']['req']=f5;}return f['getWebModuleReq']['req'];};var f9={};f9['Patchtypes']=['before','instead','after'];f9['Patchmap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchChannelResult':'Channel','QuickSwitchGuildResult':'Guild','QuickSwitchResult':'Result','WebhookCard':'Webhook'};f9['Forceobserve']=['DirectMessage','GuildIcon','QuickSwitchChannelResult','QuickSwitchGuildResult'];f9['Nonprototype']=['ChannelTextAreaContainer'];f9['LoadedInComponents']={'AutocompleteChannelResult':'AutocompleteComponents.Channel','AutocompleteUserResult':'AutocompleteComponents.User'};f9['Patchfinder']={'Account':'accountinfo','App':'app','AppSkeleton':'app','AppView':'appcontainer','AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','ChannelMember':'member','ChannelTextAreaForm':'chatform','ChannelWindow':'chatcontent','DirectMessage':'guildouter','EmojiPicker':'emojipicker','FriendRow':'friendsrow','Guild':'guildouter','GuildIcon':'avataricon','GuildSidebar':'guildchannels','I18nLoaderWrapper':'app','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','PrivateChannelsList':'dmchannelsscroller','QuickSwitchChannelResult':'quickswitchresult','QuickSwitchGuildResult':'quickswitchresult','QuickSwitchResult':'quickswitchresult','MemberCard':'guildsettingsmembercard','Messages':'messages','MessagesPopout':'messagespopout','MutualGuilds':'userprofilebody','MutualFriends':'userprofilebody','NameTag':'nametag','Note':'usernote','SearchResults':'searchresultswrap','TypingUsers':'typing','UnreadDMs':'guildsscroller','Upload':'uploadmodal','UserPopout':'userpopout','V2C_ContentColumn':'contentcolumn','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};f9['GlobalModules']={};try{f9['GlobalModules']['V2C_ContentColumn']=V2C_ContentColumn;}catch(fa){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ContentColumn\x22');}try{f9['GlobalModules']['V2C_List']=V2C_List;}catch(fb){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_List\x22');}try{f9['GlobalModules']['V2C_PluginCard']=V2C_PluginCard;}catch(fc){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_PluginCard\x22');}try{f9['GlobalModules']['V2C_ThemeCard']=V2C_ThemeCard;}catch(fd){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ThemeCard\x22');}d['ModuleUtils']['isPatched']=function(fe,ff,fg){if(!fe||!d['ObjectUtils']['is'](ff)||!ff['BDFDBpatch']||!fg)return![];const fh=(typeof fe==='string'?fe:fe['name'])['toLowerCase']();return fh&&ff[fg]&&ff[fg]['isBDFDBpatched']&&ff['BDFDBpatch'][fg]&&Object['keys'](ff['BDFDBpatch'][fg])['some'](fi=>Object['keys'](ff['BDFDBpatch'][fg][fi])['includes'](fh));};d['ModuleUtils']['patch']=function(fj,fk,fl,fm,fn=![]){if(!fj||!d['ObjectUtils']['is'](fk)||!fl||!d['ObjectUtils']['is'](fm))return null;fm=d['ObjectUtils']['filter'](fm,fo=>f9['Patchtypes']['includes'](fo),!![]);if(d['ObjectUtils']['isEmpty'](fm))return null;const fp=typeof fj==='string'?fj:fj['name'];const fq=fp['toLowerCase']();if(!fk['BDFDBpatch'])fk['BDFDBpatch']={};fl=[fl]['flat'](0xa)['filter'](fr=>fr);for(let fs of fl){if(!fk['BDFDBpatch'][fs]||fn&&(!fk[fs]||!fk[fs]['isBDFDBpatched'])){if(!fk['BDFDBpatch'][fs]){fk['BDFDBpatch'][fs]={};for(let ft of f9['Patchtypes'])fk['BDFDBpatch'][fs][ft]={};}if(!fk[fs])fk[fs]=c=>{};const fv=fk[fs];fk['BDFDBpatch'][fs]['originalMethod']=fv;fk[fs]=function(){let fw=![],fx=![];const fy={'thisObject':this,'methodArguments':arguments,'originalMethod':fv,'originalMethodName':fs,'callOriginalMethod':c=>{if(!fx)fy['returnValue']=fy['originalMethod']['apply'](fy['thisObject'],fy['methodArguments']);},'callOriginalMethodAfterwards':c=>{fw=!![];},'stopOriginalMethodCall':c=>{fx=!![];}};if(fk['BDFDBpatch']&&fk['BDFDBpatch'][fs]){if(!d['ObjectUtils']['isEmpty'](fk['BDFDBpatch'][fs]['before']))for(let fC in d['ObjectUtils']['sort'](fk['BDFDBpatch'][fs]['before'])){d['TimeUtils']['suppress'](fk['BDFDBpatch'][fs]['before'][fC],'\x22before\x22\x20callback\x20of\x20'+fs+'\x20in\x20'+(fk['constructor']?fk['constructor']['displayName']||fk['constructor']['name']:'module'),fk['BDFDBpatch'][fs]['before'][fC]['pluginname'])(fy);}let fD=!d['ObjectUtils']['isEmpty'](fk['BDFDBpatch'][fs]['instead']);if(fD)for(let fC in d['ObjectUtils']['sort'](fk['BDFDBpatch'][fs]['instead'])){let fF=d['TimeUtils']['suppress'](fk['BDFDBpatch'][fs]['instead'][fC],'\x22instead\x22\x20callback\x20of\x20'+fs+'\x20in\x20'+(fk['constructor']?fk['constructor']['displayName']||fk['constructor']['name']:'module'),fk['BDFDBpatch'][fs]['instead'][fC]['pluginname'])(fy);if(fF!==undefined)fy['returnValue']=fF;}if((!fD||fw)&&!fx)d['TimeUtils']['suppress'](fy['callOriginalMethod'],'originalMethod\x20of\x20'+fs+'\x20in\x20'+(fk['constructor']?fk['constructor']['displayName']||fk['constructor']['name']:'module'))();if(!d['ObjectUtils']['isEmpty'](fk['BDFDBpatch'][fs]['after']))for(let fC in d['ObjectUtils']['sort'](fk['BDFDBpatch'][fs]['after'])){let fF=d['TimeUtils']['suppress'](fk['BDFDBpatch'][fs]['after'][fC],'\x22after\x22\x20callback\x20of\x20'+fs+'\x20in\x20'+(fk['constructor']?fk['constructor']['displayName']||fk['constructor']['name']:'module'),fk['BDFDBpatch'][fs]['after'][fC]['pluginname'])(fy);if(fF!==undefined)fy['returnValue']=fF;}}else d['TimeUtils']['suppress'](fy['callOriginalMethod'],'originalMethod\x20of\x20'+fs+'\x20in\x20'+(fk['constructor']?fk['constructor']['displayName']||fk['constructor']['name']:'module'))();fw=![],fx=![];return fs=='render'&&fy['returnValue']===undefined?null:fy['returnValue'];};fk[fs]['originalsource']=fv;fk[fs]['isBDFDBpatched']=!![];}for(let fI in fm)if(typeof fm[fI]=='function'){fk['BDFDBpatch'][fs][fI][fq]=fm[fI];fk['BDFDBpatch'][fs][fI][fq]['pluginname']=fp;}}let fJ=c=>{d['ModuleUtils']['unpatch'](fj,fk,fl);};if(d['ObjectUtils']['is'](fj)){if(!d['ArrayUtils']['is'](fj['patchCancels']))fj['patchCancels']=[];fj['patchCancels']['push'](fJ);}return fJ;};d['ModuleUtils']['unpatch']=function(fL,fM,fN){if(!fM&&!fN){if(d['ObjectUtils']['is'](fL)&&d['ArrayUtils']['is'](fL['patchCancels'])){for(let fO of fL['patchCancels'])fO();fL['patchCancels']=[];}}else{if(!d['ObjectUtils']['is'](fM)||!fM['BDFDBpatch'])return;const fP=!fL?null:(typeof fL==='string'?fL:fL['name'])['toLowerCase']();if(fN){for(let fQ of[fN]['flat'](0xa)['filter'](fR=>fR))if(fM[fQ]&&fM['BDFDBpatch'][fQ])fT(fQ,fP);}else for(let fS of fM['BDFDBpatch'])fT(fS,fP);}function fT(fU,fV){for(let fW of f9['Patchtypes']){if(fV)delete fM['BDFDBpatch'][fU][fW][fV];else delete fM['BDFDBpatch'][fU][fW];}var fX=!![];for(let fW of f9['Patchtypes'])if(!d['ObjectUtils']['isEmpty'](fM['BDFDBpatch'][fU][fW]))fX=![];if(fX){fM[fU]=fM['BDFDBpatch'][fU]['originalMethod'];delete fM['BDFDBpatch'][fU];if(d['ObjectUtils']['isEmpty'](fM['BDFDBpatch']))delete fM['BDFDBpatch'];}}};d['ModuleUtils']['forceAllUpdates']=function(fZ,g0){if(d['ObjectUtils']['is'](fZ)&&d['ObjectUtils']['is'](fZ['patchedModules'])){const g1=document['querySelector'](d['dotCN']['app']);const g2=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);if(g1){let g3=[],g4={};for(let g5 in fZ['patchedModules'])for(let g6 in fZ['patchedModules'][g5]){let g7=[fZ['patchedModules'][g5][g6]]['flat'](0xa)['filter'](g8=>g8);if(g7['includes']('componentDidMount')||g7['includes']('componentDidUpdate')||g7['includes']('render')){g3['push'](g6);let g9=g6['split']('\x20_\x20_\x20')[0x0];if(!g4[g9])g4[g9]=[];g4[g9]['push'](g5);}}g0=[g0]['flat'](0xa)['filter'](ga=>ga);if(g0['length']){g0=g0['map'](gb=>gb&&f9['Patchmap'][gb]?f9['Patchmap'][gb]+'\x20_\x20_\x20'+gb:gb);g3=g3['filter'](gc=>g0['indexOf'](gc)>-0x1);}g3=d['ArrayUtils']['removeCopies'](g3);if(g3['length']){try{const gd=d['ReactUtils']['findOwner'](g1,{'name':g3,'all':!![],'group':!![],'unlimited':!![]});const ge=d['ReactUtils']['findOwner'](g1,{'name':g3,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let g6 in gd)for(let gg of gd[g6])f['forceInitiateProcess'](fZ,gg,g6,g4[g6]);for(let g6 in ge)for(let gg of ge[g6])f['forceInitiateProcess'](fZ,gg,g6,g4[g6]);if(g2){const gj=d['ReactUtils']['findOwner'](g2,{'name':g3,'all':!![],'group':!![],'unlimited':!![]});for(let g6 in gj)for(let gg of gj[g6])f['forceInitiateProcess'](fZ,gg,g6,g4[g6]);}}catch(gm){d['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+gm,fZ['name']);}}}}};f['forceInitiateProcess']=function(gn,go,gp,gq){if(!gn||!go||!gp)return;let gr=[];for(let gs in gn['patchedModules'])if(gn['patchedModules'][gs][gp])gr['push'](gn['patchedModules'][gs][gp]);gr=d['ArrayUtils']['removeCopies'](gr)['flat'](0xa)['filter'](gt=>gt);if(gr['includes']('componentDidMount'))f['initiateProcess'](gn,gp,{'instance':go,'methodname':'componentDidMount','patchtypes':gq});if(gr['includes']('render'))d['ReactUtils']['forceUpdate'](go);else if(gr['includes']('componentDidUpdate'))f['initiateProcess'](gn,gp,{'instance':go,'methodname':'componentDidUpdate','patchtypes':gq});};f['initiateProcess']=function(gu,gv,gw){if(d['ObjectUtils']['is'](gu)&&!gu['stopping']&&gw['instance']){let gx=gu['name']=='$BDFDB';if(gu['name']=='$BDFDB')gu=E2;gv=(gv['split']('\x20_\x20_\x20')[0x1]||gv)['replace'](/[^A-z0-9]|_/g,'');gv=gv['charAt'](0x0)['toUpperCase']()+gv['slice'](0x1);if(typeof gu['process'+gv]=='function'){let gy=!gx&&gu['process'+gv]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(gy){if(gw['methodname']=='render'){if(gw['returnvalue'])gu['process'+gv](gw['instance'],null,gw['returnvalue'],[gw['methodname']]);}else{let gz=d['ReactUtils']['findDOMNode'](gw['instance']);if(gz)gu['process'+gv](gw['instance'],gz,gw['returnvalue'],[gw['methodname']]);else d['TimeUtils']['timeout'](c=>{gz=d['ReactUtils']['findDOMNode'](gw['instance']);if(gz)gu['process'+gv](gw['instance'],gz,gw['returnvalue'],[gw['methodname']]);});}}else{if(gw['methodname']=='render'){if(gw['returnvalue']||gw['patchtypes']['includes']('before'))gu['process'+gv](gw);}else{gw['node']=d['ReactUtils']['findDOMNode'](gw['instance']);if(gw['node'])gu['process'+gv](gw);else d['TimeUtils']['timeout'](c=>{gw['node']=d['ReactUtils']['findDOMNode'](gw['instance']);if(gw['node'])gu['process'+gv](gw);});}}}}};f['patchPlugin']=function(gC){if(!d['ObjectUtils']['is'](gC)||!d['ObjectUtils']['is'](gC['patchedModules']))return;d['ModuleUtils']['unpatch'](gC);for(let gD in gC['patchedModules'])for(let gE in gC['patchedModules'][gD]){if(f9['GlobalModules'][gE]&&typeof f9['GlobalModules'][gE]=='function')gJ(f9['GlobalModules'][gE],gE,gD);else{let gF=f9['LoadedInComponents'][gE]&&d['ReactUtils']['getValue'](Aa,f9['LoadedInComponents'][gE]);if(gF)gJ(gF,gE,gD);else{let gG=f9['Patchmap'][gE];let gH=f9['Patchfinder'][gE['split']('\x20_\x20_\x20')[0x1]||gE];let gI=gG?gG+'\x20_\x20_\x20'+gE:gE;if(gG){gC['patchedModules'][gD][gI]=gC['patchedModules'][gD][gE];delete gC['patchedModules'][gD][gE];}if(!gH)gJ(d['ModuleUtils']['findByName'](gI['split']('\x20_\x20_\x20')[0x0]),gI,gD);else if(zd[gH])gQ(gH,gI,gD,f9['Forceobserve']['includes'](gE['split']('\x20_\x20_\x20')[0x1]||gE));}}}function gJ(gK,gL,gM){if(gK){let gN=gL['split']('\x20_\x20_\x20')[0x0];gK=gK['_reactInternalFiber']&&gK['_reactInternalFiber']['type']?gK['_reactInternalFiber']['type']:gK;gK=gK['displayName']==gN||gK['name']==gN||f9['LoadedInComponents'][gL]?gK:d['ReactUtils']['findConstructor'](gK,gN)||d['ReactUtils']['findConstructor'](gK,gN,{'up':!![]});if(gK){gK=gK['_reactInternalFiber']&&gK['_reactInternalFiber']['type']?gK['_reactInternalFiber']['type']:gK;let gO={};gO[gM]=gP=>{f['initiateProcess'](gC,gL,{'instance':gP['thisObject'],'returnvalue':gP['returnValue'],'methodname':gP['originalMethodName'],'patchtypes':[gM]});};d['ModuleUtils']['patch'](gC,f9['Nonprototype']['includes'](gN)?gK:gK['prototype'],gC['patchedModules'][gM][gL],gO);}}}function gQ(gR,gS,gT,gU){const gV=document['querySelector'](d['dotCN']['app']),gW=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);let gX=![];if(!gU){if(gV){let gY=d['ReactUtils']['findConstructor'](gV,gS,{'unlimited':!![]})||d['ReactUtils']['findConstructor'](gV,gS,{'unlimited':!![],'up':!![]});if(gY&&(gX=!![]))gJ(gY,gS,gT);}if(!gX&&gW){let gZ=d['ReactUtils']['findConstructor'](gW,gS,{'unlimited':!![]});if(gZ&&(gX=!![]))gJ(gZ,gS,gT);}}if(!gX){let h0=![],h1=d['disCN'][gR],h2=d['dotCN'][gR];for(let h3 of document['querySelectorAll'](h2)){let h4=d['ReactUtils']['getInstance'](h3);if(hb(h4,gS)){h0=!![];gJ(h4,gS,gT);d['ModuleUtils']['forceAllUpdates'](gC,gS);break;}}if(!h0){let h5=new MutationObserver(h6=>{h6['forEach'](h7=>{h7['addedNodes']['forEach'](h8=>{if(h0||!h8||!h8['tagName'])return;let h3=null;if((h3=d['DOMUtils']['containsClass'](h8,h1)?h8:h8['querySelector'](h2))!=null){let h4=d['ReactUtils']['getInstance'](h3);if(hb(h4,gS)){h0=!![];h5['disconnect']();gJ(h4,gS,gT);d['ModuleUtils']['forceAllUpdates'](gC,gS);}}});});});d['ObserverUtils']['connect'](gC,d['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':h5,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function hb(hc,hd){if(!hc)return![];hc=hc['_reactInternalFiber']&&hc['_reactInternalFiber']['type']?hc['_reactInternalFiber']['type']:hc;hc=hc['displayName']==hd||hc['name']==hd?hc:d['ReactUtils']['findConstructor'](hc,hd)||d['ReactUtils']['findConstructor'](hc,hd,{'up':!![]});return!!hc;}};var he=['MessageOptionPopout'];f['addContextListeners']=hf=>{if(!d['ObjectUtils']['is'](hf))return;for(let hg of Aa['ContextMenus']['_NormalMenus'])if(typeof hf['on'+hg]==='function')f['patchContextMenuPlugin'](hf,hg,Aa['ContextMenus'][hg]);for(let hh of he)if(typeof hf['on'+hh]==='function')f['patchPopoutPlugin'](hf,hh,d['ModuleUtils']['findByName'](hh));for(let hi of Aa['ContextMenus']['_FluxMenus'])if(typeof hf['on'+hi]==='function'){if(d['InternalData']['patchMenuQueries'][hi]['module'])f['patchContextMenuPlugin'](hf,hi,d['InternalData']['patchMenuQueries'][hi]['module']);else d['InternalData']['patchMenuQueries'][hi]['query']['push'](hf);}for(let hj of Aa['ContextMenus']['_NonRenderMenus'])if(typeof hf['on'+hj]==='function'){if(d['InternalData']['patchMenuQueries'][hj]['module'])f['patchNonRenderContextMenuPlugin'](hf,hj,d['InternalData']['patchMenuQueries'][hj]['module']);else d['InternalData']['patchMenuQueries'][hj]['query']['push'](hf);}};f['patchContextMenuPlugin']=(hk,hl,hm)=>{if(hm&&hm['prototype']){let hn=hk['on'+hl]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hn){d['ModuleUtils']['patch'](hk,hm['prototype'],'render',{'after':ho=>{let hp=ho['thisObject'],hq=d['ReactUtils']['findDOMNode'](ho['thisObject']),hr=ho['returnValue'];if(hp&&hq&&hr&&typeof hk['on'+hl]==='function')hk['on'+hl](hp,hq,hr);}});}else{d['ModuleUtils']['patch'](hk,hm['prototype'],'render',{'after':hs=>{if(hs['thisObject']&&hs['returnValue']&&typeof hk['on'+hl]==='function')hk['on'+hl]({'instance':hs['thisObject'],'returnvalue':hs['returnValue'],'methodname':'render'});}});}}};f['patchNonRenderContextMenuPlugin']=(ht,hu,hv)=>{if(hv&&hv['exports']){let hw=ht['on'+hu]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hw)d['ModuleUtils']['patch'](ht,hv['exports'],'default',{'after':hx=>{if(hx['returnValue']&&typeof ht['on'+hu]==='function')ht['on'+hu]({'props':hx['methodArguments'][0x0]},document,hx['returnValue']);}});else d['ModuleUtils']['patch'](ht,hv['exports'],'default',{'after':hy=>{if(hy['returnValue']&&typeof ht['on'+hu]==='function')ht['on'+hu]({'instance':{'props':hy['methodArguments'][0x0]},'returnvalue':hy['returnValue'],'methodname':'default'});}});}};f['patchPopoutPlugin']=(hz,hA,hB)=>{if(hB&&hB['prototype']){let hC=hz['on'+hA]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hC)d['ModuleUtils']['patch'](hz,hB['prototype'],'render',{'after':hD=>{let hE=hD['thisObject'],hF=d['ReactUtils']['findDOMNode'](hD['thisObject']),hG=hD['returnValue'];if(hE&&hF&&hG&&typeof hz['on'+hA]==='function'){hz['on'+hA](hE,hF,hG);if(!hE['BDFDBforceUpdateTimeout'])d['ReactUtils']['forceUpdate'](hE);}}});else d['ModuleUtils']['patch'](hz,hB['prototype'],'render',{'after':hH=>{if(hH['thisObject']&&hH['returnValue']&&typeof hz['on'+hA]==='function')hz['on'+hA]({'instance':hH['thisObject'],'returnvalue':hH['returnValue'],'methodname':'render'});}});}};f['patchContextMenuLib']=(hI,hJ)=>{if(hI&&hI['prototype']){d['ModuleUtils']['patch'](d,hI['prototype'],'componentDidMount',{'after':hK=>{if(!hK['thisObject']['BDFDBforceRenderTimeout']&&typeof hK['thisObject']['render']=='function')hK['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hI['prototype'],'componentDidUpdate',{'after':hL=>{var hM=d['ReactUtils']['findDOMNode'](hL['thisObject']);if(hM){const hN=d['ReactUtils']['getValue'](hL,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const hO=d['DOMUtils']['getRects'](hM),hP=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount']));if(hN&&hO['top']+hO['height']>hP['height'])hN();}}});d['ModuleUtils']['patch'](d,hI['prototype'],'render',{'after':hQ=>{if(hQ['thisObject']['props']['BDFDBcontextMenu']&&hQ['thisObject']['props']['children']&&hQ['returnValue']&&hQ['returnValue']['props']){hQ['returnValue']['props']['children']=hQ['thisObject']['props']['children'];delete hQ['thisObject']['props']['value'];delete hQ['thisObject']['props']['children'];delete hQ['thisObject']['props']['BDFDBcontextMenu'];}if(d['ReactUtils']['findDOMNode'](hQ['thisObject'])){hQ['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hQ['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hJ){let hS=d['ReactUtils']['getValue'](hQ,'thisObject._reactInternalFiber.child.type');if(hS&&hS['displayName']&&d['InternalData']['patchMenuQueries'][hS['displayName']]&&!d['InternalData']['patchMenuQueries'][hS['displayName']]['module']){d['InternalData']['patchMenuQueries'][hS['displayName']]['module']=hS;f['patchContextMenuLib'](hS,![]);while(d['InternalData']['patchMenuQueries'][hS['displayName']]['query']['length'])f['patchContextMenuPlugin'](d['InternalData']['patchMenuQueries'][hS['displayName']]['query']['pop'](),hS['displayName'],hS);}}}});}};f['patchPopoutLib']=(hT,hU)=>{if(hT&&hT['prototype']){d['ModuleUtils']['patch'](d,hT['prototype'],'componentDidMount',{'after':hV=>{if(!hV['thisObject']['BDFDBforceRenderTimeout']&&!hV['thisObject']['BDFDBforceUpdateTimeout']&&typeof hV['thisObject']['render']=='function')hV['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hT['prototype'],'componentDidUpdate',{'after':hW=>{const hX=d['ReactUtils']['getValue'](hW,'thisObject._reactInternalFiber.return.return.return.stateNode.updateOffsets');if(hX)hX();hW['thisObject']['BDFDBforceUpdateTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hW['thisObject']['BDFDBforceUpdateTimeout'];},0x3e8);}});d['ModuleUtils']['patch'](d,hT['prototype'],'render',{'after':hZ=>{if(d['ReactUtils']['findDOMNode'](hZ['thisObject'])){hZ['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hZ['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hZ['thisObject']['props']['message']&&!hZ['thisObject']['props']['target']){const i1=document['querySelector'](d['dotCN']['messages']);if(i1)for(let i2 of d['ReactUtils']['findOwner'](i1,{'name':'Message','all':!![],'unlimited':!![]})){if(hZ['thisObject']['props']['message']['id']==i2['props']['message']['id']){target=d['ReactUtils']['findDOMNode'](i2);if(target)hZ['thisObject']['props']['target']=target;break;}}}}});}};f['getContextMenuType']=i3=>{if(i3){if(i3['endsWith']('ContextMenu'))return i3;else if(Aa['ContextMenus']['_Types']['includes'](i3)){if(i3['indexOf']('USER_')==0x0)return'UserContextMenu';else if(i3['indexOf']('CHANNEL_')==0x0)return'ChannelContextMenu';else if(i3['indexOf']('GUILD_')==0x0)return'GuildContextMenu';}}return null;};d['DiscordConstants']=d['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var i4={};i4['Channel']=d['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');i4['Guild']=d['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');i4['Message']=d['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');i4['Messages']=d['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');i4['Timestamp']=d['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');i4['User']=d['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');d['DiscordObjects']=Object['assign']({},i4);var i5={};for(let i6 of['child_process','electron','fs','path','process','request']){try{i5[i6]=require(i6);}catch(i7){}}d['LibraryRequires']=Object['assign']({},i5);var i8={};i8['AckUtils']=d['ModuleUtils']['findByProperties']('localAck','bulkAck');i8['APIUtils']=d['ModuleUtils']['findByProperties']('getAPIBaseURL');i8['AnalyticsUtils']=d['ModuleUtils']['findByProperties']('isThrottled','track');i8['AnimationUtils']=d['ModuleUtils']['findByProperties']('spring','decay');i8['BadgeUtils']=d['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');i8['CategoryCollapseStore']=d['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');i8['CategoryCollapseUtils']=d['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');i8['ChannelStore']=d['ModuleUtils']['findByProperties']('getChannel','getChannels');i8['ColorUtils']=d['ModuleUtils']['findByProperties']('hex2int','hex2rgb');i8['ContextMenuUtils']=d['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');i8['CopyLinkUtils']=d['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');i8['CurrentUserStore']=d['ModuleUtils']['findByProperties']('getCurrentUser');i8['CurrentVoiceUtils']=d['ModuleUtils']['findByProperties']('getAveragePing','isConnected');i8['DirectMessageStore']=d['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');i8['DirectMessageUnreadStore']=d['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');i8['DispatchApiUtils']=d['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');i8['DispatchUtils']=d['ModuleUtils']['findByProperties']('ComponentDispatch');i8['DirectMessageUtils']=d['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');i8['FriendUtils']=d['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');i8['FolderStore']=d['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');i8['FolderUtils']=d['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');i8['GuildBoostUtils']=d['ModuleUtils']['findByProperties']('getTierName','getUserLevel');i8['GuildChannelStore']=d['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');i8['GuildEmojiStore']=d['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');i8['GuildSettingsUtils']=d['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');i8['GuildStore']=d['ModuleUtils']['findByProperties']('getGuild','getGuilds');i8['GuildUtils']=d['ModuleUtils']['findByProperties']('transitionToGuildSync');i8['HistoryUtils']=d['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;i8['IconUtils']=d['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');i8['InviteUtils']=d['ModuleUtils']['findByProperties']('acceptInvite','createInvite');i8['KeyCodeUtils']=Object['assign']({},d['ModuleUtils']['findByProperties']('toCombo','keyToCode'));i8['KeyCodeUtils']['getString']=i9=>{return i8['KeyCodeUtils']['toString']([i9]['flat'](0xa)['filter'](ia=>ia)['map'](ib=>[d['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],ib,d['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};i8['KeyEvents']=d['ModuleUtils']['findByProperties']('aliases','code','codes');i8['LanguageStore']=d['ModuleUtils']['findByProperties']('getLanguages','Messages');i8['LastChannelStore']=d['ModuleUtils']['findByProperties']('getLastSelectedChannelId');i8['LastGuildStore']=d['ModuleUtils']['findByProperties']('getLastSelectedGuildId');i8['LoginUtils']=d['ModuleUtils']['findByProperties']('login','logout');i8['MemberStore']=d['ModuleUtils']['findByProperties']('getMember','getMembers');i8['MessagePinUtils']=d['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');i8['MessageStore']=d['ModuleUtils']['findByProperties']('getMessage','getMessages');i8['MessageUtils']=d['ModuleUtils']['findByProperties']('receiveMessage','editMessage');i8['ModalUtils']=d['ModuleUtils']['findByProperties']('openModal','hasModalOpen');i8['MutedUtils']=d['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');i8['NoteStore']=d['ModuleUtils']['findByProperties']('getNotes','getNote');i8['NotificationSettingsUtils']=d['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');i8['NotificationSettingsStore']=d['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');i8['PlatformUtils']=d['ModuleUtils']['findByProperties']('isWindows','isLinux');i8['PermissionUtils']=d['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');i8['PermissionRoleUtils']=d['ModuleUtils']['findByProperties']('getHighestRole','can');i8['QuoteUtils']=d['ModuleUtils']['findByProperties']('canQuote','createQuotedText');i8['ReactionUtils']=d['ModuleUtils']['findByProperties']('addReaction','removeReaction');i8['SearchPageUtils']=d['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');i8['SelectChannelUtils']=d['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');i8['SettingsUtils']=d['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');i8['SoundUtils']=d['ModuleUtils']['findByProperties']('playSound','createSound');i8['SpellCheckUtils']=d['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');i8['SlateUtils']=d['ModuleUtils']['findByProperties']('serialize','deserialize');i8['SlateSelectionUtils']=d['ModuleUtils']['findByProperties']('serialize','serializeSelection');i8['StateStoreUtils']=d['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');i8['StatusMetaUtils']=d['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');i8['StoreUtils']=d['ModuleUtils']['findByProperties']('get','set','clear','remove');i8['StreamUtils']=d['ModuleUtils']['findByProperties']('getStreamForUser','getActiveStream');i8['StringUtils']=d['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');i8['UnreadGuildUtils']=d['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');i8['UnreadChannelUtils']=d['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');i8['UploadUtils']=d['ModuleUtils']['findByProperties']('upload','instantBatchUpload');i8['UserStore']=d['ModuleUtils']['findByProperties']('getUser','getUsers');i8['Utilities']=d['ModuleUtils']['findByProperties']('flatMap','cloneDeep');i8['VoiceUtils']=d['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');i8['ZoomUtils']=d['ModuleUtils']['findByProperties']('setZoom','setFontSize');d['LibraryModules']=Object['assign']({},i8);i8['React']=d['ModuleUtils']['findByProperties']('createElement','cloneElement');i8['ReactDOM']=d['ModuleUtils']['findByProperties']('render','findDOMNode');d['ReactUtils']=Object['assign']({},i8['React'],i8['ReactDOM']);d['ReactUtils']['childrenToArray']=function(ic){if(ic&&ic['props']&&ic['props']['children']&&!d['ArrayUtils']['is'](ic['props']['children'])){var id=ic['props']['children'];ic['props']['children']=[];ic['props']['children']['push'](id);}return ic['props']['children'];};d['ReactUtils']['createElement']=function(ie,ig){if(ie&&ie['defaultProps'])for(let ih in ie['defaultProps'])if(ig[ih]==null)ig[ih]=ie['defaultProps'][ih];try{return i8['React']['createElement'](ie||'div',ig||{})||null;}catch(ii){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20create\x20react\x20element!\x20'+ii);}return null;};d['ReactUtils']['elementToReact']=function(ij){if(d['ReactUtils']['isValidElement'](ij))return ij;else if(!Node['prototype']['isPrototypeOf'](ij))return null;else if(ij['nodeType']==Node['TEXT_NODE'])return ij['nodeValue'];let ik={},il={};for(let im of ij['attributes'])ik[im['name']]=im['value'];if(ij['attributes']['style'])ik['style']=d['ObjectUtils']['filter'](ij['style'],io=>ij['style'][io]&&isNaN(parseInt(io)),!![]);ik['children']=[];if(ij['style']&&ij['style']['cssText'])for(let ip of ij['style']['cssText']['split'](';'))if(ip['endsWith']('!important')){let iq=ip['split'](':')[0x0];let ir=iq['replace'](/-([a-z]?)/g,(is,it)=>it['toUpperCase']());if(ik['style'][ir]!=null)il[iq]=ik['style'][ir];}if(Object['keys'](il)['length'])ik['ref']=iu=>{let iv=d['ReactUtils']['findDOMNode'](iu);if(iv)for(let iw in il)iv['style']['setProperty'](iw,il[iw],'important');};for(let ix of ij['childNodes'])ik['children']['push'](d['ReactUtils']['elementToReact'](ix));return d['ReactUtils']['createElement'](ij['tagName'],ik);};d['ReactUtils']['findChildren']=function(iy,iz){if(!iy||!d['ObjectUtils']['is'](iz)||!iz['name']&&!iz['key']&&!iz['props']&&!iz['filter'])return[null,-0x1];var iA=Node['prototype']['isPrototypeOf'](iy)?d['ReactUtils']['getInstance'](iy):iy;if(!d['ObjectUtils']['is'](iA)&&!d['ArrayUtils']['is'](iA))return[null,-0x1];iz['name']=iz['name']&&[iz['name']]['flat']()['filter'](iB=>iB);iz['key']=iz['key']&&[iz['key']]['flat']()['filter'](iC=>iC);iz['props']=iz['props']&&[iz['props']]['flat']()['filter'](iD=>iD);iz['filter']=typeof iz['filter']=='function'&&iz['filter'];var iE=firstarray=iA;while(!d['ArrayUtils']['is'](firstarray)&&firstarray['props']&&firstarray['props']['children'])firstarray=firstarray['props']['children'];if(!d['ArrayUtils']['is'](firstarray)){if(iE&&iE['props']){iE['props']['children']=[iE['props']['children']];firstarray=iE['props']['children'];}else firstarray=[];}return iF(iA);function iF(iG){var iH=[firstarray,-0x1];if(!iG)return iH;if(!d['ArrayUtils']['is'](iG)){if(iL(iG))iH=iJ(iG);else if(iG['props']&&iG['props']['children']){iE=iG;iH=iF(iG['props']['children']);}}else{for(let iI=0x0;iH[0x1]==-0x1&&iIiA['type']['render']&&iA['type']['render']['displayName']===iO||iA['type']['displayName']===iO||iA['type']['name']===iO||iA['type']===iO)||iz['key']&&iz['key']['some'](iP=>iA['key']==iP)||iN&&iz['props']&&iz['props']['every'](iQ=>d['ArrayUtils']['is'](iQ)?d['ArrayUtils']['is'](iQ[0x1])?iQ[0x1]['some'](iR=>iS(iN,iQ[0x0],iR)):iS(iN,iQ[0x0],iQ[0x1]):iN[iQ]!==undefined)||iz['filter']&&iz['filter'](iA);}function iS(iT,iU,iV){return iU!=null&&iT[iU]!=null&&iV!=null&&(iU=='className'?('\x20'+iT[iU]+'\x20')['indexOf']('\x20'+iV+'\x20')>-0x1:d['equals'](iT[iU],iV));}};d['ReactUtils']['findConstructor']=function(iW,iX,iY={}){if(!d['ObjectUtils']['is'](iY))return null;if(!iW||!iX)return iY['all']?iY['group']?{}:[]:null;var iZ=Node['prototype']['isPrototypeOf'](iW)?d['ReactUtils']['getInstance'](iW):iW;if(!d['ObjectUtils']['is'](iZ))return iY['all']?iY['group']?{}:[]:null;iX=iX&&[iX]['flat'](0xa)['filter'](j0=>typeof j0=='string');if(!iX['length'])return iY['all']?iY['group']?{}:[]:null;;var j1=-0x1;var j2=performance['now']();var j3=iY['unlimited']?0x3b9ac9ff:iY['depth']===undefined?0x1e:iY['depth'];var j4=iY['unlimited']?0x3b9ac9ff:iY['time']===undefined?0x96:iY['time'];var j5=iY['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var j6=iY['group']?{}:[];var j7=ja(iZ);if(iY['all']){for(let j8 in j6){if(iY['group'])for(let j9 in j6[j8])delete j6[j8][j9]['BDFDBreactSearch'];else delete j6[j8]['BDFDBreactSearch'];}return j6;}else return j7;function ja(iZ){j1++;var jc=undefined;if(iZ&&!Node['prototype']['isPrototypeOf'](iZ)&&!d['ReactUtils']['getInstance'](iZ)&&j1(iZ['type']['render']&&iZ['type']['render']['displayName']||iZ['type']['displayName']||iZ['type']['name'])===jd['split']('\x20_\x20_\x20')[0x0])){if(iY['all']===undefined||!iY['all'])jc=iZ['type'];else if(iY['all']){if(!iZ['type']['BDFDBreactSearch']){iZ['type']['BDFDBreactSearch']=!![];if(iY['group']){if(iZ['type']&&(iZ['type']['render']&&iZ['type']['render']['displayName']||iZ['type']['displayName']||iZ['type']['name'])){let je=iY['name']['find'](jf=>(iZ['type']['render']&&iZ['type']['render']['displayName']||iZ['type']['displayName']||iZ['type']['name']||iZ['type'])['split']('\x20_\x20_\x20')[0x0]==jf)||'Default';if(!d['ArrayUtils']['is'](foundinstances[je]))foundinstances[je]=[];foundinstances[je]['push'](iZ['stateNode']);}}else foundinstances['push'](iZ['type']);}}}if(jc===undefined){let jg=Object['getOwnPropertyNames'](iZ);for(let jh=0x0;jc===undefined&&jhjo);jm['key']=jm['key']&&[jm['key']]['flat']()['filter'](jp=>jp);jm['props']=jm['props']&&[jm['props']]['flat']()['filter'](jq=>jq);var jr=-0x1;var js=performance['now']();var jt=jm['unlimited']?0x3b9ac9ff:jm['depth']===undefined?0x1e:jm['depth'];var ju=jm['unlimited']?0x3b9ac9ff:jm['time']===undefined?0x96:jm['time'];var jv=jm['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var jw=jm['group']?{}:[];var jx=jA(jn);if(jm['all']){for(let jy in jw){if(jm['group'])for(let jz in jw[jy])delete jw[jy][jz]['BDFDBreactSearch'];else delete jw[jy]['BDFDBreactSearch'];}return jw;}else return jx;function jA(jn){jr++;var jC=undefined;if(jn&&!Node['prototype']['isPrototypeOf'](jn)&&!d['ReactUtils']['getInstance'](jn)&&jr(jn['type']['render']&&jn['type']['render']['displayName']||jn['type']['displayName']||jn['type']['name']||jn['type'])===jE['split']('\x20_\x20_\x20')[0x0])||jm['key']&&jm['key']['some'](jF=>jn['key']==jF)||jD&&jm['props']&&jm['props']['every'](jG=>d['ArrayUtils']['is'](jG)?d['ArrayUtils']['is'](jG[0x1])?jG[0x1]['some'](jH=>d['equals'](jD[jG[0x0]],jH)):d['equals'](jD[jG[0x0]],jG[0x1]):jD[jG]!==undefined))){if(jm['all']===undefined||!jm['all'])jC=jn['stateNode'];else if(jm['all']){if(!jn['stateNode']['BDFDBreactSearch']){jn['stateNode']['BDFDBreactSearch']=!![];if(jm['group']){if(jm['name']&&jn['type']&&(jn['type']['render']&&jn['type']['render']['displayName']||jn['type']['displayName']||jn['type']['name']||jn['type'])){let jI=jm['name']['find'](jJ=>(jn['type']['render']&&jn['type']['render']['displayName']||jn['type']['displayName']||jn['type']['name']||jn['type'])['split']('\x20_\x20_\x20')[0x0]==jJ)||'Default';if(!d['ArrayUtils']['is'](jw[jI]))jw[jI]=[];jw[jI]['push'](jn['stateNode']);}}else jw['push'](jn['stateNode']);}}}if(jC===undefined){let jK=Object['getOwnPropertyNames'](jn);for(let jL=0x0;jC===undefined&&jLjQ);jO['key']=jO['key']&&[jO['key']]['flat']()['filter'](jR=>jR);var jS=-0x1;var jT=performance['now']();var jU=jO['unlimited']?0x3b9ac9ff:jO['depth']===undefined?0x1e:jO['depth'];var jV=jO['unlimited']?0x3b9ac9ff:jO['time']===undefined?0x96:jO['time'];var jW=jO['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return jX(jP);function jX(jP){jS++;var jZ=undefined;if(jP&&!Node['prototype']['isPrototypeOf'](jP)&&!d['ReactUtils']['getInstance'](jP)&&jS(jP['type']['render']&&jP['type']['render']['displayName']||jP['type']['displayName']||jP['type']['name']||jP['type'])===k0['split']('\x20_\x20_\x20')[0x0])||jO['key']&&jO['key']['some'](k1=>jP['key']==k1)))jZ=jP['memoizedProps'];if(jZ===undefined){let k2=Object['getOwnPropertyNames'](jP);for(let k3=0x0;jZ===undefined&&k3ks))if(kr['updater']&&typeof kr['updater']['isMounted']=='function'&&kr['updater']['isMounted'](kr))kr['forceUpdate']();};d['ReactUtils']['getInstance']=function(kt){if(!d['ObjectUtils']['is'](kt))return null;return kt[Object['keys'](kt)['find'](ku=>ku['startsWith']('__reactInternalInstance'))];};d['ReactUtils']['getValue']=function(kv,kw){if(!kv||!kw)return null;var kx=Node['prototype']['isPrototypeOf'](kv)?d['ReactUtils']['getInstance'](kv):kv;if(!d['ObjectUtils']['is'](kx))return null;var ky=kx,kz=kw['split']('.')['filter'](kA=>kA);for(value of kz){if(!ky)return null;ky=ky[value];}return ky;};d['ReactUtils']['render']=function(kB,kC){if(!d['ReactUtils']['isValidElement'](kB)||!Node['prototype']['isPrototypeOf'](kC))return;try{i8['ReactDOM']['render'](kB,kC);let kD=new MutationObserver(kE=>kE['forEach'](kF=>{let kG=Array['from'](kF['removedNodes']);if(kG['indexOf'](kC)>-0x1||kG['some'](kH=>kH['contains'](kC))){kD['disconnect']();d['ReactUtils']['unmountComponentAtNode'](kC);}}));kD['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(kI){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20render\x20react\x20element!\x20'+kI);}};f['setDefaultProps']=function(kJ,kK){if(d['ObjectUtils']['is'](kJ))kJ['defaultProps']=Object['assign']({},kJ['defaultProps'],kK);};d['equals']=function(kL,kM,kN){var kO=-0x1;if(kN===undefined||typeof kN!=='boolean')kN=![];return kP(kL,kM);function kP(kQ,kR){kO++;var kS=!![];if(kO>0x3e8)kS=null;else{if(typeof kQ!==typeof kR)kS=![];else if(typeof kQ==='undefined')kS=!![];else if(typeof kQ==='symbol')kS=!![];else if(typeof kQ==='boolean')kS=kQ==kR;else if(typeof kQ==='string')kS=kQ==kR;else if(typeof kQ==='number'){if(isNaN(kQ)||isNaN(kR))kS=isNaN(kQ)==isNaN(kR);else kS=kQ==kR;}else if(!kQ&&!kR)kS=!![];else if(!kQ||!kR)kS=![];else if(typeof kQ==='function'||typeof kQ==='object'){var kT=Object['getOwnPropertyNames'](kQ);var kU=Object['getOwnPropertyNames'](kR);if(kT['length']!==kU['length'])kS=![];else for(let kV=0x0;kS===!![]&&kVlh['folderId'])['find'](li=>li['guildIds']['includes'](lg));};d['GuildUtils']['getId']=function(lj){if(!Node['prototype']['isPrototypeOf'](lj)||!d['ReactUtils']['getInstance'](lj))return;let lk=d['DOMUtils']['getParent'](d['dotCN']['guildouter'],lj);if(!lk)return;var ll=lk['querySelector'](d['dotCN']['guildiconwrapper']);var lm=ll&&ll['href']?ll['href']['split']('/')['slice'](-0x2)[0x0]:null;return lm&&!isNaN(parseInt(lm))?lm['toString']():null;};d['GuildUtils']['getData']=function(ln){if(!ln)return null;let lo=Node['prototype']['isPrototypeOf'](ln)?d['GuildUtils']['getId'](ln):typeof ln=='object'?ln['id']:ln;lo=typeof lo=='number'?lo['toFixed']():lo;for(let lp of d['GuildUtils']['getAll']())if(lp&&lp['id']==lo)return lp;return null;};d['GuildUtils']['getAll']=function(){var lq=[],lr=[];for(let ls of d['ReactUtils']['findOwner'](document['querySelector'](d['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(ls['props']&&ls['props']['guild'])lr['push'](Object['assign'](new ls['props']['guild']['constructor'](ls['props']['guild']),{'div':ls['handleContextMenu']&&d['ReactUtils']['findDOMNode'](ls),'instance':ls}));}for(let lt of d['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let lu=null;for(let lv of lr)if(lv['id']==lt){lu=lv;break;}if(lu)lq['push'](lu);else{let lw=d['LibraryModules']['GuildStore']['getGuild'](lt);lq['push'](Object['assign'](new lw['constructor'](lw),{'div':null,'instance':null}));}}return lq;};d['GuildUtils']['getUnread']=function(lx){var ly=[];for(let lz of lx===undefined||!d['ArrayUtils']['is'](lx)?d['GuildUtils']['getAll']():lx){if(!lz)return null;let lA=Node['prototype']['isPrototypeOf'](lz)?d['GuildUtils']['getId'](lz):typeof lz=='object'?lz['id']:lz;lA=typeof lA=='number'?lA['toFixed']():lA;if(lA&&(i8['UnreadGuildUtils']['hasUnread'](lA)||i8['UnreadGuildUtils']['getMentionCount'](lA)>0x0))ly['push'](lz);}return ly;};d['GuildUtils']['getPinged']=function(lB){var lC=[];for(let lD of lB===undefined||!d['ArrayUtils']['is'](lB)?d['GuildUtils']['getAll']():lB){if(!lD)return null;let lE=Node['prototype']['isPrototypeOf'](lD)?d['GuildUtils']['getId'](lD):typeof lD=='object'?lD['id']:lD;lE=typeof lE=='number'?lE['toFixed']():lE;if(lE&&i8['UnreadGuildUtils']['getMentionCount'](lE)>0x0)lC['push'](lD);}return lC;};d['GuildUtils']['getMuted']=function(lF){var lG=[];for(let lH of lF===undefined||!d['ArrayUtils']['is'](lF)?d['GuildUtils']['getAll']():lF){if(!lH)return null;let lI=Node['prototype']['isPrototypeOf'](lH)?d['GuildUtils']['getId'](lH):typeof lH=='object'?lH['id']:lH;lI=typeof lI=='number'?lI['toFixed']():lI;if(lI&&i8['MutedUtils']['isGuildOrCategoryOrChannelMuted'](lI))lG['push'](lH);}return lG;};d['GuildUtils']['getSelected']=function(){var lJ=i8['GuildStore']['getGuild'](i8['LastGuildStore']['getGuildId']());if(lJ)return d['GuildUtils']['getData'](lJ['id'])||Object['assign'](new lJ['constructor'](lJ),{'div':null,'instance':null});else return null;};d['GuildUtils']['openMenu']=function(lK,lL=d['InternalData']['mousePosition']){if(!lK)return;let lM=Node['prototype']['isPrototypeOf'](lK)?d['GuildUtils']['getId'](lK):typeof lK=='object'?lK['id']:lK;let lN=i8['GuildStore']['getGuild'](lM);if(lN)i8['ContextMenuUtils']['openContextMenu'](lL,function(lL){return d['ReactUtils']['createElement'](Aa['ContextMenus']['_Exports']['GuildContextMenu']&&Aa['ContextMenus']['_Exports']['GuildContextMenu']['default'],Object['assign']({},lL,{'type':d['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':lN,'badge':i8['UnreadGuildUtils']['getMentionCount'](lN['id']),'link':d['DiscordConstants']['Routes']['CHANNEL'](lN['id'],i8['LastChannelStore']['getChannelId'](lN['id'])),'selected':lN['id']==i8['LastGuildStore']['getGuildId']()}));});};d['GuildUtils']['markAsRead']=function(lP){if(!lP)return;var lQ=[];for(let lR of d['ArrayUtils']['is'](lP)?lP:typeof lP=='string'||typeof lP=='number'?Array['of'](lP):Array['from'](lP)){let lS=Node['prototype']['isPrototypeOf'](lR)?d['GuildUtils']['getId'](lR):lR&&typeof lR=='object'?lR['id']:lR;let lT=lS&&i8['GuildChannelStore']['getChannels'](lS);if(lT)for(let lU in lT)if(d['ArrayUtils']['is'](lT[lU]))for(let lV of lT[lU])lQ['push'](lV['channel']['id']);}if(lQ['length'])i8['AckUtils']['bulkAck'](lQ);};d['FolderUtils']={};d['FolderUtils']['getId']=function(lW){if(!Node['prototype']['isPrototypeOf'](lW)||!d['ReactUtils']['getInstance'](lW))return;lW=d['DOMUtils']['getParent'](d['dotCN']['guildfolderwrapper'],lW);if(!lW)return;return d['ReactUtils']['findValue'](lW,'folderId',{'up':!![]});};d['FolderUtils']['getDefaultName']=function(lX){let lY=d['LibraryModules']['FolderStore']['getGuildFolderById'](lX);if(!lY)return'';let lZ=0x2*d['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let m0=[],m1=lY['guildIds']['map'](m2=>(d['LibraryModules']['GuildStore']['getGuild'](m2)||{})['name'])['filter'](m3=>m3);for(let m4 of m1)if(m4['length']{i8['AckUtils']['ack'](mZ[n2]);},n2*0x3e8);};d['DataUtils']={};d['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};d['DataUtils']['save']=function(n4,n5,n6,n7){let n8,n9;if(!d['BDUtils']['isBDv2']()){n9=typeof n5==='string'?n5:n5['name'];n8=i5['path']['join'](d['BDUtils']['getPluginsFolder'](),n9+'.config.json');}else{n9=typeof n5==='string'?n5['toLowerCase']():null;let na=n9?d['Plugins'][n9]?d['Plugins'][n9]['contentPath']:null:n5['contentPath'];if(!na)return;n8=i5['path']['join'](na,'settings.json');}let nb=d['DataUtils']['cached'][n9]!==undefined?d['DataUtils']['cached'][n9]:f['readConfig'](n8)||{};if(n6===undefined)nb=d['ObjectUtils']['is'](n4)?d['ObjectUtils']['sort'](n4):n4;else{if(n7===undefined)nb[n6]=d['ObjectUtils']['is'](n4)?d['ObjectUtils']['sort'](n4):n4;else{if(!d['ObjectUtils']['is'](nb[n6]))nb[n6]={};nb[n6][n7]=d['ObjectUtils']['is'](n4)?d['ObjectUtils']['sort'](n4):n4;}}let nc=d['ObjectUtils']['is'](nb);if(n6!==undefined&&nc&&d['ObjectUtils']['is'](nb[n6])&&d['ObjectUtils']['isEmpty'](nb[n6]))delete nb[n6];if(d['ObjectUtils']['isEmpty'](nb)){delete d['DataUtils']['cached'][n9];if(i5['fs']['existsSync'](n8))i5['fs']['unlinkSync'](n8);}else{if(nc)nb=d['ObjectUtils']['sort'](nb);d['DataUtils']['cached'][n9]=nc?d['ObjectUtils']['deepAssign']({},nb):nb;i5['fs']['writeFileSync'](n8,JSON['stringify'](nb,null,'\x09'));}};d['DataUtils']['load']=function(nd,ne,nf){let ng,nh;if(!d['BDUtils']['isBDv2']()){nh=typeof nd==='string'?nd:nd['name'];ng=i5['path']['join'](d['BDUtils']['getPluginsFolder'](),nh+'.config.json');}else{nh=typeof nd==='string'?nd['toLowerCase']():null;let ni=nh?d['Plugins'][nh]?d['Plugins'][nh]['contentPath']:null:nd['contentPath'];if(!ni)return{};ng=i5['path']['join'](ni,'settings.json');}let nj=d['DataUtils']['cached'][nh]!==undefined?d['DataUtils']['cached'][nh]:f['readConfig'](ng)||{};let nk=d['ObjectUtils']['is'](nj);d['DataUtils']['cached'][nh]=nk?d['ObjectUtils']['deepAssign']({},nj):nj;if(ne===undefined)return nj;else{let nl=nk?d['ObjectUtils']['is'](nj[ne])||nj[ne]==undefined?d['ObjectUtils']['deepAssign']({},nj[ne]):nj[ne]:null;if(nf===undefined)return nl;else return!d['ObjectUtils']['is'](nl)||nl[nf]===undefined?null:nl[nf];}};d['DataUtils']['remove']=function(nm,nn,no){let np,nq;if(!d['BDUtils']['isBDv2']()){nq=typeof nm==='string'?nm:nm['name'];np=i5['path']['join'](d['BDUtils']['getPluginsFolder'](),nq+'.config.json');}else{nq=typeof nm==='string'?nm['toLowerCase']():null;let nr=nq?d['Plugins'][nq]?d['Plugins'][nq]['contentPath']:null:nm['contentPath'];if(!nr)return;np=i5['path']['join'](nr,'settings.json');}let ns=d['DataUtils']['cached'][nq]!==undefined?d['DataUtils']['cached'][nq]:f['readConfig'](np)||{};let nt=d['ObjectUtils']['is'](ns);if(nn===undefined||!nt)ns={};else{if(no===undefined)delete ns[nn];else if(d['ObjectUtils']['is'](ns[nn]))delete ns[nn][no];}if(d['ObjectUtils']['is'](ns[nn])&&d['ObjectUtils']['isEmpty'](ns[nn]))delete ns[nn];if(d['ObjectUtils']['isEmpty'](ns)){delete d['DataUtils']['cached'][nq];if(i5['fs']['existsSync'](np))i5['fs']['unlinkSync'](np);}else{if(nt)ns=d['ObjectUtils']['sort'](ns);d['DataUtils']['cached'][nq]=nt?d['ObjectUtils']['deepAssign']({},ns):ns;i5['fs']['writeFileSync'](np,JSON['stringify'](ns,null,'\x09'));}};d['DataUtils']['get']=function(nu,nv,nw){nu=typeof nu=='string'?d['BDUtils']['getPlugin'](nu):nu;if(!d['ObjectUtils']['is'](nu)||!nu['defaults']||!nu['defaults'][nv])return nw===undefined?{}:null;var nx=d['DataUtils']['load'](nu,nv),ny={},nz=![];for(let nA in nu['defaults'][nv]){if(nx[nA]==null){ny[nA]=d['ObjectUtils']['is'](nu['defaults'][nv][nA]['value'])?d['ObjectUtils']['deepAssign']({},nu['defaults'][nv][nA]['value']):nu['defaults'][nv][nA]['value'];nz=!![];}else ny[nA]=nx[nA];}if(nz)d['DataUtils']['save'](ny,nu,nv);if(nw===undefined)return ny;else return ny[nw]===undefined?null:ny[nw];};f['readConfig']=function(nB){try{return JSON['parse'](i5['fs']['readFileSync'](nB));}catch(nC){return{};}};d['ColorUtils']={};d['ColorUtils']['convert']=function(nD,nE,nF){if(d['ObjectUtils']['is'](nD)){var nG={};for(let nH in nD)nG[nH]=d['ColorUtils']['convert'](nD[nH],nE,nF);return nG;}else{nE=nE===undefined||!nE?nE='RGBCOMP':nE['toUpperCase']();nF=nF===undefined||!nF||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](nF['toUpperCase']())?d['ColorUtils']['getType'](nD):nF['toUpperCase']();if(nE=='RGBCOMP'){switch(nF){case'RGBCOMP':if(nD['length']==0x3)return oh(nD);else if(nD['length']==0x4){let nI=ok(nD['pop']());return oh(nD)['concat'](nI);}break;case'RGB':return oh(nD['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let nJ=nD['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let nI=ok(nJ['pop']());return oh(nJ)['concat'](nI);case'HSLCOMP':if(nD['length']==0x3)return d['ColorUtils']['convert']('hsl('+oo(nD)['join'](',')+')','RGBCOMP');else if(nD['length']==0x4){let nL=ok(nD['pop']());return d['ColorUtils']['convert']('hsl('+oo(nD)['join'](',')+')','RGBCOMP')['concat'](nL);}break;case'HSL':var nM=oo(nD['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var nN,nO,nP,nQ,nR,nS,nT,nU;var nV=nM[0x0]/0x168,nW=parseInt(nM[0x1])/0x64,nX=parseInt(nM[0x2])/0x64;nQ=Math['floor'](nV*0x6);nR=nV*0x6-nQ;nS=nX*(0x1-nW);nT=nX*(0x1-nR*nW);nU=nX*(0x1-(0x1-nR)*nW);switch(nQ%0x6){case 0x0:nN=nX,nO=nU,nP=nS;break;case 0x1:nN=nT,nO=nX,nP=nS;break;case 0x2:nN=nS,nO=nX,nP=nU;break;case 0x3:nN=nS,nO=nT,nP=nX;break;case 0x4:nN=nU,nO=nS,nP=nX;break;case 0x5:nN=nX,nO=nS,nP=nT;break;}return[Math['round'](nN*0xff),Math['round'](nO*0xff),Math['round'](nP*0xff)];case'HSLA':var nM=nD['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return d['ColorUtils']['convert']('hsl('+nM['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](ok(nM['pop']()));case'HEX':var nZ=/^#([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'](nD);return[parseInt(nZ[0x1]+nZ[0x1]||nZ[0x4],0x10)['toString'](),parseInt(nZ[0x2]+nZ[0x2]||nZ[0x5],0x10)['toString'](),parseInt(nZ[0x3]+nZ[0x3]||nZ[0x6],0x10)['toString']()];case'HEXA':var nZ=/^#([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'](nD);return[parseInt(nZ[0x1]+nZ[0x1]||nZ[0x5],0x10)['toString'](),parseInt(nZ[0x2]+nZ[0x2]||nZ[0x6],0x10)['toString'](),parseInt(nZ[0x3]+nZ[0x3]||nZ[0x7],0x10)['toString'](),Math['floor'](d['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(nZ[0x4]+nZ[0x4]||nZ[0x8],0x10)['toString']()))/0x64];case'INT':nD=os(nD);return[(nD>>0x10&0xff)['toString'](),(nD>>0x8&0xff)['toString'](),(nD&0xff)['toString']()];default:return null;}}else{var o1=nF=='RGBCOMP'?nD:d['ColorUtils']['convert'](nD,'RGBCOMP',nF);if(o1)switch(nE){case'RGB':return'rgb('+oh(o1['slice'](0x0,0x3))['join'](',')+')';case'RGBA':o1=o1['slice'](0x0,0x4);var o2=o1['length']==0x4?ok(o1['pop']()):0x1;return'rgba('+oh(o1)['concat'](o2)['join'](',')+')';case'HSLCOMP':var o2=o1['length']==0x4?ok(o1['pop']()):null;var nM=oo(d['ColorUtils']['convert'](o1,'HSL')['replace'](/\s/g,'')['split'](','));return o2!=null?nM['concat'](o2):nM;case'HSL':var nN=of(o1[0x0]),nO=of(o1[0x1]),nP=of(o1[0x2]);var o8=Math['max'](nN,nO,nP),o9=Math['min'](nN,nO,nP),oa=o8-o9,nV,nW=o8===0x0?0x0:oa/o8,nX=o8/0xff;switch(o8){case o9:nV=0x0;break;case nN:nV=nO-nP+oa*(nO0xff?0xff:nR<0x0?0x0:nR;}};function oh(oi){return oi['map'](nR=>{return of(nR);});};function ok(o2){if(o2==null){return 0x1;}else{o2=o2['toString']();o2=(o2['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(o2['replace'](/[^0-9\.\-]/g,''));return isNaN(o2)||o2>0x1?0x1:o2<0x0?0x0:o2;}};function om(on){if(on==null){return'100%';}else{on=parseFloat(on['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(on)||on>0x64?0x64:on<0x0?0x0:on)+'%';}};function oo(op){let nV=parseFloat(op['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));nV=isNaN(nV)||nV>0x168?0x168:nV<0x0?0x0:nV;return[nV]['concat'](op['map'](or=>{return om(or);}));};function os(nR){if(nR==null){return 0xffffff;}else{nR=parseInt(nR['toString']()['replace'](/[^0-9]/g,''));return isNaN(nR)||nR>0xffffff?0xffffff:nR<0x0?0x0:nR;}};};d['ColorUtils']['setAlpha']=function(ou,ov,ow){if(d['ObjectUtils']['is'](ou)){var ox={};for(let oy in ou)ox[oy]=d['ColorUtils']['setAlpha'](ou[oy],ov,ow);return ox;}else{var oz=d['ColorUtils']['convert'](ou,'RGBCOMP');if(oz){ov=ov['toString']();ov=(ov['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(ov['replace'](/[^0-9\.\-]/g,''));ov=isNaN(ov)||ov>0x1?0x1:ov<0x0?0x0:ov;oz[0x3]=ov;ow=(ow||d['ColorUtils']['getType'](ou))['toUpperCase']();ow=ow=='RGB'||ow=='HSL'||ow=='HEX'?ow+'A':ow;return d['ColorUtils']['convert'](oz,ow);}}return null;};d['ColorUtils']['getAlpha']=function(oA){var oB=d['ColorUtils']['convert'](oA,'RGBCOMP');if(oB){if(oB['length']==0x3)return 0x1;else if(oB['length']==0x4){let oC=oB[0x3]['toString']();oC=(oC['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oC['replace'](/[^0-9\.\-]/g,''));return isNaN(oC)||oC>0x1?0x1:oC<0x0?0x0:oC;}}return null;};d['ColorUtils']['change']=function(oD,oE,oF){oE=parseFloat(oE);if(oD!=null&&typeof oE=='number'&&!isNaN(oE)){if(d['ObjectUtils']['is'](oD)){var oG={};for(let oH in oD)oG[oH]=d['ColorUtils']['change'](oD[oH],oE,oF);return oG;}else{var oI=d['ColorUtils']['convert'](oD,'RGBCOMP');if(oI){if(parseInt(oE)!==oE){oE=oE['toString']();oE=(oE['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oE['replace'](/[^0-9\.\-]/g,''));oE=isNaN(oE)?0x0:oE;return d['ColorUtils']['convert']([Math['round'](oI[0x0]*(0x1+oE)),Math['round'](oI[0x1]*(0x1+oE)),Math['round'](oI[0x2]*(0x1+oE))],oF||d['ColorUtils']['getType'](oD));}else return d['ColorUtils']['convert']([Math['round'](oI[0x0]+oE),Math['round'](oI[0x1]+oE),Math['round'](oI[0x2]+oE)],oF||d['ColorUtils']['getType'](oD));}}}return null;};d['ColorUtils']['invert']=function(oJ,oK){if(d['ObjectUtils']['is'](oJ)){var oL={};for(let oM in oJ)oL[oM]=d['ColorUtils']['invert'](oJ[oM],oK);return oL;}else{var oN=d['ColorUtils']['convert'](oJ,'RGBCOMP');if(oN)return d['ColorUtils']['convert']([0xff-oN[0x0],0xff-oN[0x1],0xff-oN[0x2]],oK||d['ColorUtils']['getType'](oJ));}return null;};d['ColorUtils']['compare']=function(oO,oP){if(oO&&oP){oO=d['ColorUtils']['convert'](oO,'RGBA');oP=d['ColorUtils']['convert'](oP,'RGBA');if(oO&&oP)return d['equals'](oO,oP);}return null;};d['ColorUtils']['isBright']=function(oQ,oR=0xa0){oQ=d['ColorUtils']['convert'](oQ,'RGBCOMP');if(!oQ)return![];return parseInt(oR)