diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index ad1c42f021..7203322e7d 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -6148,7 +6148,6 @@
userpopoutheaderbottagwithnickname: ["UserPopout", "headerBotTagWithNickname"],
userpopoutheadernamewrapper: ["UserPopout", "headerNameWrapper"],
userpopoutheadernickname: ["UserPopout", "headerName"],
- userpopoutheadernonickname: ["UserPopout", "headerTagUsernameNoNickname"],
userpopoutheadernormal: ["UserPopout", "headerNormal"],
userpopoutheaderplaying: ["UserPopout", "headerPlaying"],
userpopoutheaderspotify: ["UserPopout", "headerSpotify"],
@@ -7239,6 +7238,8 @@
LibraryComponents.ContextMenus.UserSettingsCogContextMenu = BDFDB.ModuleUtils.findByName("UserSettingsCogContextMenu");
+ LibraryComponents.DiscordTag = BDFDB.ModuleUtils.findByName("DiscordTag");
+
LibraryComponents.FavButton = BDFDB.ReactUtils.getValue(window.BDFDB, "LibraryComponents.FavButton") || reactInitialized && class BDFDB_FavButton extends LibraryModules.React.Component {
handleClick() {
this.props.isFavorite = !this.props.isFavorite;
diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js
index 19aa739497..8e649f41af 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;if(typeof Array['prototype']['flat']!='function')Array['prototype']['flat']=function(){return this;};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=>fc['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;i9['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=>{i9['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;i9['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,'');i9['fs']['writeFileSync'](i9['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'](Ao['SettingsPanel'],{'key':am['name']+'-settingspanel','title':am['name'],'children':an}),ao);return ao;};d['PluginUtils']['refreshSettingsPanel']=function(ap,aq,...ar){if(!d['ObjectUtils']['is'](ap)||typeof ap['getSettingsPanel']!='function'||!Node['prototype']['isPrototypeOf'](aq)||!aq['parentElement'])return;aq['parentElement']['appendChild'](ap['getSettingsPanel'](...ar));aq['remove']();};f['addPluginClasses']=function(as){zh['PLUGIN_'+as['name']]=as['classes'];for(let at in as['classes'])zr['$'+(as['name']+at)['toLowerCase']()]=['PLUGIN_'+as['name'],at];};f['removePluginClasses']=function(au){delete zh['PLUGIN_'+au['name']];zr=d['ObjectUtils']['filter'](zr,av=>av[0x0]!='PLUGIN_'+au['name']);};f['clearStartTimeout']=function(aw){if(!d['ObjectUtils']['is'](aw))return;d['TimeUtils']['clear'](aw['startTimeout'],aw['libLoadTimeout']);delete aw['startTimeout'];delete aw['libLoadTimeout'];};f['addOnSettingsClosedListener']=function(ax){if(d['ObjectUtils']['is'](ax)&&typeof ax['onSettingsClosed']==='function'){let ay=d['ModuleUtils']['findByName']('StandardSidebarView');if(ay)d['ModuleUtils']['patch'](ax,ay['prototype'],'componentWillUnmount',{'after':az=>{ax['onSettingsClosed']();}});}};f['addOnSwitchListener']=function(aA){if(d['ObjectUtils']['is'](aA)&&typeof aA['onSwitch']==='function'){f['removeOnSwitchListener'](aA);let aB=document['querySelector'](d['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+d['dotCN']['chatspacer']);if(aB){let aC=new MutationObserver(aD=>{aD['forEach'](aE=>{if(aE['target']&&d['DOMUtils']['containsClass'](aE['target'],d['disCN']['nochannel']))aA['onSwitch']();});});let aF=aB['querySelector'](d['dotCNC']['chat']+d['dotCN']['nochannel']);if(aF)aC['observe'](aF,{'attributes':!![]});aA['onSwitchFix']=new MutationObserver(aG=>{aG['forEach'](aH=>{if(aH['addedNodes']){aH['addedNodes']['forEach'](aI=>{if(d['DOMUtils']['containsClass'](aI,d['disCN']['chat'],d['disCN']['nochannel'],![]))aC['observe'](aI,{'attributes':!![]});});}});});aA['onSwitchFix']['observe'](aB,{'childList':!![]});}}};f['removeOnSwitchListener']=function(aJ){if(d['ObjectUtils']['is'](aJ)&&typeof aJ['onSwitch']==='function'&&d['ObjectUtils']['is'](aJ['onSwitchFix'])){aJ['onSwitchFix']['disconnect']();delete aJ['onSwitchFix'];}};d['ObserverUtils']={};d['ObserverUtils']['connect']=function(aK,aL,aM,aN={'childList':!![]}){if(!d['ObjectUtils']['is'](aK)||!aL||!aM)return;if(d['ObjectUtils']['isEmpty'](aK['observers']))aK['observers']={};if(!d['ArrayUtils']['is'](aK['observers'][aM['name']]))aK['observers'][aM['name']]=[];if(!aM['multi'])for(let aO of aK['observers'][aM['name']])aO['disconnect']();if(aM['instance'])aK['observers'][aM['name']]['push'](aM['instance']);var aP=aK['observers'][aM['name']][aK['observers'][aM['name']]['length']-0x1];if(aP){var aQ=Node['prototype']['isPrototypeOf'](aL)?aL:typeof aL==='string'?document['querySelector'](aL):null;if(aQ)aP['observe'](aQ,aN);}};d['ObserverUtils']['disconnect']=function(aR,aS){if(d['ObjectUtils']['is'](aR)&&!d['ObjectUtils']['isEmpty'](aR['observers'])){let aT=typeof aS=='string'?aS:d['ObjectUtils']['is'](aS)?aS['name']:null;if(!aT){for(let aS in aR['observers'])for(let aV of aR['observers'][aS])aV['disconnect']();delete aR['observers'];}else if(!d['ArrayUtils']['is'](aR['observers'][aT])){for(let aW of aR['observers'][aT])aW['disconnect']();delete aR['observers'][aT];}}};d['ListenerUtils']={};d['ListenerUtils']['add']=function(aX,aY,aZ,b0,b1){if(!d['ObjectUtils']['is'](aX)||!Node['prototype']['isPrototypeOf'](aY)&&aY!==window||!aZ)return;var b2=typeof b0=='function';var b3=b2?undefined:b0;var b4=b2?b0:b1;if(typeof b4!='function')return;d['ListenerUtils']['remove'](aX,aY,aZ,b3);for(var b5 of aZ['split']('\x20')){b5=b5['split']('.');var b6=b5['shift']()['toLowerCase']();if(!b6)return;var b7=b6;b6=b6=='mouseenter'||b6=='mouseleave'?'mouseover':b6;var b8=(b5['join']('.')||'')+aX['name'];if(!d['ArrayUtils']['is'](aX['listeners']))aX['listeners']=[];var b9=null;if(b3){if(b7=='mouseenter'||b7=='mouseleave'){b9=ba=>{for(let bb of ba['path'])if(typeof bb['matches']=='function'&&bb['matches'](b3)&&!bb[b8+'BDFDB'+b7]){bb[b8+'BDFDB'+b7]=!![];if(b7=='mouseenter')b4(d['ListenerUtils']['copyEvent'](ba,bb));let bc=bd=>{if(bd['target']['contains'](bb)||bd['target']==bb||!bb['contains'](bd['target'])){if(b7=='mouseleave')b4(d['ListenerUtils']['copyEvent'](ba,bb));delete bb[b8+'BDFDB'+b7];document['removeEventListener']('mouseout',bc);}};document['addEventListener']('mouseout',bc);break;}};}else{b9=be=>{for(let bf of be['path'])if(typeof bf['matches']=='function'&&bf['matches'](b3)){b4(d['ListenerUtils']['copyEvent'](be,bf));break;}};}}else b9=bg=>{b4(d['ListenerUtils']['copyEvent'](bg,aY));};aX['listeners']['push']({'ele':aY,'eventname':b6,'origeventname':b7,'namespace':b8,'selector':b3,'eventcallback':b9});aY['addEventListener'](b6,b9,!![]);}};d['ListenerUtils']['remove']=function(bh,bi,bj='',bk){if(!d['ObjectUtils']['is'](bh)||!d['ArrayUtils']['is'](bh['listeners']))return;if(Node['prototype']['isPrototypeOf'](bi)||bi===window){for(var bl of bj['split']('\x20')){bl=bl['split']('.');var bm=bl['shift']()['toLowerCase']();var bn=(bl['join']('.')||'')+bh['name'];for(let bo of bh['listeners']){let bp=[];if(bo['ele']==bi&&(!bm||bo['origeventname']==bm)&&bo['namespace']==bn&&(bk===undefined||bo['selector']==bk)){bi['removeEventListener'](bo['eventname'],bo['eventcallback'],!![]);bp['push'](bo);}if(bp['length'])bh['listeners']=bh['listeners']['filter'](bo=>{return bp['indexOf'](bo)<0x0;});}}}else if(!bi){for(let br of bh['listeners'])br['ele']['removeEventListener'](br['eventname'],br['eventcallback'],!![]);bh['listeners']=[];}};d['ListenerUtils']['multiAdd']=function(bs,bt,bu){if(!Node['prototype']['isPrototypeOf'](bs)||!bt||typeof bu!='function')return;for(var bv of bt['trim']()['split']('\x20')['filter'](bw=>bw))bs['addEventListener'](bv,bu,!![]);};d['ListenerUtils']['multiRemove']=function(bx,by,bz){if(!Node['prototype']['isPrototypeOf'](bx)||!by||typeof bz!='function')return;for(var bA of by['trim']()['split']('\x20')['filter'](bB=>bB))bx['removeEventListener'](bA,bz,!![]);};d['ListenerUtils']['addToChildren']=function(bC,bD,bE,bF){if(!Node['prototype']['isPrototypeOf'](bC)||!bD||!bE||!bE['trim']()||typeof bF!='function')return;for(var bG of bD['trim']()['split']('\x20')['filter'](bH=>bH)){var bI=bF;if(bG=='mouseenter'||bG=='mouseleave')bI=bJ=>{if(bJ['target']['matches'](bE))bF(bJ);};bC['querySelectorAll'](bE['trim']())['forEach'](bK=>{bK['addEventListener'](bG,bI,!![]);});}};d['ListenerUtils']['copyEvent']=function(bL,bM){if(!bL||!bL['constructor']||!bL['type'])return bL;var bN=new bL['constructor'](bL['type'],bL);Object['defineProperty'](bN,'originalEvent',{'value':bL});Object['defineProperty'](bN,'which',{'value':bL['which']});Object['defineProperty'](bN,'keyCode',{'value':bL['keyCode']});Object['defineProperty'](bN,'path',{'value':bL['path']});Object['defineProperty'](bN,'relatedTarget',{'value':bL['relatedTarget']});Object['defineProperty'](bN,'srcElement',{'value':bL['srcElement']});Object['defineProperty'](bN,'target',{'value':bL['target']});Object['defineProperty'](bN,'toElement',{'value':bL['toElement']});if(bM)Object['defineProperty'](bN,'currentTarget',{'value':bM});return bN;};d['ListenerUtils']['stopEvent']=function(bO){if(d['ObjectUtils']['is'](bO)){if(typeof bO['preventDefault']=='function')bO['preventDefault']();if(typeof bO['stopPropagation']=='function')bO['stopPropagation']();if(typeof bO['stopImmediatePropagation']=='function')bO['stopImmediatePropagation']();if(d['ObjectUtils']['is'](bO['originalEvent'])){if(typeof bO['originalEvent']['preventDefault']=='function')bO['originalEvent']['preventDefault']();if(typeof bO['originalEvent']['stopPropagation']=='function')bO['originalEvent']['stopPropagation']();if(typeof bO['originalEvent']['stopImmediatePropagation']=='function')bO['originalEvent']['stopImmediatePropagation']();}}};var bP=[],bQ={'queue':[],'running':![]};d['NotificationUtils']={};d['NotificationUtils']['toast']=function(bR,bS={}){let bT=document['querySelector']('.toasts,\x20.bd-toasts');if(!bT){let bU=document['querySelector'](d['dotCN']['channels']+'\x20+\x20div');let bV=bU?d['DOMUtils']['getRects'](bU):null;let bW=bU?bU['querySelector'](d['dotCN']['memberswrap']):null;let bX=bV?bV['left']:0x136;let bY=bV?bW?bV['width']-d['DOMUtils']['getRects'](bW)['width']:bV['width']:window['outerWidth']-0x0;let bZ=bU?bU['querySelector']('form'):null;let c0=bZ?d['DOMUtils']['getRects'](bZ)['height']:0x50;bT=d['DOMUtils']['create']('');(document['querySelector'](d['dotCN']['app'])||document['body'])['appendChild'](bT);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=bS;let c1=d['DOMUtils']['create'](''+(html===!![]?bR:d['StringUtils']['htmlEscape'](bR))+'
');if(type){d['DOMUtils']['addClass'](c1,'toast-'+type);if(icon)d['DOMUtils']['addClass'](c1,'icon');}else if(color){let c2=d['ColorUtils']['convert'](color,'RGB');if(c2)c1['style']['setProperty']('background-color',c2);}d['DOMUtils']['addClass'](c1,selector);bT['appendChild'](c1);c1['close']=c=>{if(document['contains'](c1)){d['DOMUtils']['addClass'](c1,'closing');c1['style']['setProperty']('pointer-events','none','important');d['TimeUtils']['timeout'](c=>{c1['remove']();if(!bT['querySelectorAll']('.toast,\x20.bd-toast')['length'])bT['remove']();},0xbb8);}};if(nopointer)c1['style']['setProperty']('pointer-events','none','important');else c1['addEventListener']('click',c1['close']);d['TimeUtils']['timeout'](c=>{c1['close']();},timeout>0x0?timeout:0x927c0);return c1;};d['NotificationUtils']['desktop']=function(c6,c7={}){var c8=c=>{bQ['queue']['push']({'parsedcontent':c6,'parsedoptions':c7});ca();};var ca=c=>{if(!bQ['running']){var cc=bQ['queue']['shift']();if(cc)cd(cc['parsedcontent'],cc['parsedoptions']);}};var cd=(ce,cf)=>{bQ['running']=!![];var cg=cf['silent'];cf['silent']=cf['silent']||cf['sound']?!![]:![];var ch=new Notification(ce,cf);var ci=new Audio();var cj=d['TimeUtils']['timeout'](c=>{cm();},cf['timeout']?cf['timeout']:0xbb8);if(typeof cf['click']=='function')ch['onclick']=c=>{d['TimeUtils']['clear'](cj);cm();cf['click']();};if(!cg&&cf['sound']){ci['src']=cf['sound'];ci['play']();}var cm=c=>{ci['pause']();ch['close']();bQ['running']=![];d['TimeUtils']['timeout'](c=>{ca();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')c8();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(cp){if(cp==='granted')c8();});};d['NotificationUtils']['notice']=function(cq,cr={}){if(!cq)return;var cs=document['querySelector'](d['dotCN']['layers']);if(!cs)return;var ct=d['NumberUtils']['generateId'](bP);var cu=d['DOMUtils']['create']('');cs['parentElement']['insertBefore'](cu,cs);var cv=cu['querySelector']('.notice-message');if(cr['platform'])for(let cw of cr['platform']['split']('\x20'))if(zr['noticeicon'+cw]){let cx=d['DOMUtils']['create']('');d['DOMUtils']['addClass'](cx,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cx,d['disCN']['noticeicon']);cu['insertBefore'](cx,cv);}if(cr['customicon']){let cy=d['DOMUtils']['create'](cr['customicon']);let cx=d['DOMUtils']['create']('');if(cy['tagName']=='span'&&!cy['firstElementChild'])cx['style']['setProperty']('background','url('+cr['customicon']+')\x20center/cover\x20no-repeat');else cx['appendChild'](cy);d['DOMUtils']['addClass'](cx,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cx,d['disCN']['noticeicon']);cu['insertBefore'](cx,cv);}if(cr['btn']||cr['button'])cu['appendChild'](d['DOMUtils']['create'](''));if(cr['id'])cu['id']=cr['id']['split']('\x20')['join']('');if(cr['selector'])d['DOMUtils']['addClass'](cu,cr['selector']);if(cr['css'])d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbar'+ct,cr['css']);if(cr['style'])cu['style']=cr['style'];if(cr['html']===!![])cv['innerHTML']=cq;else{var cA=document['createElement']('a');var cB=[];for(let cC of cq['split']('\x20')){var cD=d['StringUtils']['htmlEscape'](cC);cA['href']=cC;cB['push'](cA['host']&&cA['host']!==window['location']['host']?'':cD);}cv['innerHTML']=cB['join']('\x20');}var cE=null;if(cr['type']&&!document['querySelector'](d['dotCNS']['chatbase']+d['dotCN']['noticestreamer'])){if(cE=d['disCN']['notice'+cr['type']])d['DOMUtils']['addClass'](cu,cE);if(cr['type']=='premium'){var cF=cu['querySelector'](d['dotCN']['noticebutton']);if(cF)d['DOMUtils']['addClass'](cF,d['disCN']['noticepremiumaction']);d['DOMUtils']['addClass'](cv,d['disCN']['noticepremiumtext']);cu['insertBefore'](d['DOMUtils']['create'](''),cv);}}if(!cE){var cG=d['ColorUtils']['convert'](cr['color'],'RGBCOMP');if(cG){var cH=cG[0x0]>0xb4&&cG[0x1]>0xb4&&cG[0x2]>0xb4?'#000':'#FFF';var cI=d['ColorUtils']['convert'](cG,'HEX');var cJ=cG[0x0]>0xb4&&cG[0x1]>0xb4&&cG[0x2]>0xb4?'brightness(0%)':'brightness(100%)';d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+ct,d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]{background-color:'+cI+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20.notice-message\x20{color:'+cH+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20'+d['dotCN']['noticebutton']+'\x20{color:'+cH+'\x20!important;border-color:'+d['ColorUtils']['setAlpha'](cH,0.25,'RGBA')+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20'+d['dotCN']['noticebutton']+':hover\x20{color:'+cI+'\x20!important;background-color:'+cH+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+ct+'\x22]\x20'+d['dotCN']['noticedismiss']+'\x20{filter:'+cJ+'\x20!important;}');}else d['DOMUtils']['addClass'](cu,d['disCN']['noticedefault']);}cu['style']['setProperty']('height','36px','important');cu['style']['setProperty']('min-width','70vw','important');cu['style']['setProperty']('left','unset','important');cu['style']['setProperty']('right','unset','important');let cK=(d['DOMUtils']['getWidth'](document['body']['firstElementChild'])-d['DOMUtils']['getWidth'](cu))/0x2;cu['style']['setProperty']('left',cK+'px','important');cu['style']['setProperty']('right',cK+'px','important');cu['style']['setProperty']('min-width','unset','important');cu['style']['setProperty']('width','unset','important');cu['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cK*0x2+'px)','important');cu['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{cu['style']['setProperty']('overflow','hidden','important');cu['style']['setProperty']('height','0px','important');d['TimeUtils']['timeout'](c=>{d['ArrayUtils']['remove'](bP,ct);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbar'+ct);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+ct);cu['remove']();},0x1f4);});return cu;};d['NotificationUtils']['alert']=function(cN,cO){if(typeof cN=='string'&&typeof cN=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](cN,cO);};var cP=[];d['TooltipUtils']={};d['TooltipUtils']['create']=function(cQ,cR,cS={}){var cT=document['querySelector'](d['dotCN']['appmount']+'\x20>\x20*\x20>\x20'+d['dotCN']['itemlayercontainer']);if(!cT||typeof cR!='string'&&!d['ObjectUtils']['is'](cS['guild'])||!Node['prototype']['isPrototypeOf'](cQ)||!document['contains'](cQ))return null;var cU=d['NumberUtils']['generateId'](cP);var cV=d['DOMUtils']['create']('');cT['appendChild'](cV);var cW=cV['firstElementChild'];if(cS['id'])cW['id']=cS['id']['split']('\x20')['join']('');if(!cS['type']||!d['disCN']['tooltip'+cS['type']['toLowerCase']()])cS['type']='top';d['DOMUtils']['addClass'](cW,d['disCN']['tooltip'+cS['type']['toLowerCase']()]);cW['type']=cS['type']['toLowerCase']();let cX=![],cY=![],cZ='';if(cS['style'])cZ+=cS['style'];if(cS['fontColor']){cX=d['ObjectUtils']['is'](cS['fontColor']);if(!cX)cZ=(cZ?cZ+'\x20':'')+('color:\x20'+d['ColorUtils']['convert'](cS['fontColor'],'RGBA')+'\x20!important;');}if(cS['backgroundColor']){cY=!![];let d0=d['ObjectUtils']['is'](cS['backgroundColor']);let d1=!d0?d['ColorUtils']['convert'](cS['backgroundColor'],'RGBA'):d['ColorUtils']['createGradient'](cS['backgroundColor']);cZ=(cZ?cZ+'\x20':'')+('background:\x20'+d1+'\x20!important;\x20border-color:\x20'+(d0?d['ColorUtils']['convert'](cS['backgroundColor'][cS['type']=='left'?0x64:0x0],'RGBA'):d1)+'\x20!important;');}if(cZ)cW['style']=cZ;if(cY)d['DOMUtils']['addClass'](cW,d['disCN']['tooltipcustom']);else if(cS['color']&&d['disCN']['tooltip'+cS['color']['toLowerCase']()])d['DOMUtils']['addClass'](cW,d['disCN']['tooltip'+cS['color']['toLowerCase']()]);else d['DOMUtils']['addClass'](cW,d['disCN']['tooltipblack']);if(cS['list']||d['ObjectUtils']['is'](cS['guild']))d['DOMUtils']['addClass'](cW,d['disCN']['tooltiplistitem']);if(cS['selector'])d['DOMUtils']['addClass'](cW,cS['selector']);if(d['ObjectUtils']['is'](cS['guild'])){let d2=ic['StreamUtils']['getAllApplicationStreams']()['filter'](d3=>d3['guildId']===cS['guild']['id'])['map'](d4=>d4['ownerId']);let d5=d2['map'](d6=>ic['UserStore']['getUser'](d6))['filter'](d7=>d7);let d8=Object['keys'](ic['VoiceUtils']['getVoiceStates'](cS['guild']['id']))['map'](d9=>!d2['includes'](d9)&&d['LibraryModules']['UserStore']['getUser'](d9))['filter'](da=>da);let db=cR||cS['guild']['toString']();if(cX)db=''+d['StringUtils']['htmlEscape'](db)+'';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'](Ao['GuildComponents']['Badge'],{'guild':cS['guild'],'size':ic['StringUtils']['cssValueToNumber'](zh['TooltipGuild']['iconSize']),'className':d['disCN']['tooltiprowicon']}),d['ReactUtils']['createElement']('span',{'className':d['DOMUtils']['formatClassName'](d['disCN']['tooltipguildnametext'],(d8['length']||d5['length'])&&d['disCN']['tooltipguildnametextlimitedsize']),'children':cX||cS['html']?d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](db)):db})]}),d8['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](Ao['SvgIcon'],{'name':Ao['SvgIcon']['Names']['SPEAKER'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](Ao['UserSummaryItem'],{'users':d8,'max':0x6})]}):null,d5['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](Ao['SvgIcon'],{'name':Ao['SvgIcon']['Names']['STREAM'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](Ao['UserSummaryItem'],{'users':d5,'max':0x6})]}):null]['filter'](dc=>dc)}),cW);}else{if(cX)cW['innerHTML']=''+d['StringUtils']['htmlEscape'](cR)+'';else if(cS['html']===!![])cW['innerHTML']=cR;else cW['innerText']=cR;}cW['appendChild'](d['DOMUtils']['create'](''));cW['anker']=cQ;if(cS['hide'])d['DOMUtils']['appendLocalStyle']('BDFDBhideOtherTooltips'+cU,'#app-mount\x20'+d['dotCN']['tooltip']+':not([tooltip-id=\x22'+cU+'\x22])\x20{display:\x20none\x20!important;}',cT);let dd=c=>{d['DOMUtils']['remove'](cV);};cQ['addEventListener']('mouseleave',dd);let df=new MutationObserver(dg=>dg['forEach'](dh=>{let di=Array['from'](dh['removedNodes']);if(di['indexOf'](cV)>-0x1||di['indexOf'](cQ)>-0x1||di['some'](dj=>dj['contains'](cQ))){d['ArrayUtils']['remove'](cP,cU);df['disconnect']();d['DOMUtils']['remove'](cV);d['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+cU,cT);cQ['removeEventListener']('mouseleave',dd);}}));df['observe'](document['body'],{'subtree':!![],'childList':!![]});d['TooltipUtils']['update'](cW);if(cS['delay']){d['DOMUtils']['toggle'](cV);d['TimeUtils']['timeout'](c=>{d['DOMUtils']['toggle'](cV);},cS['delay']);}return cV;};d['TooltipUtils']['update']=function(dl){if(!Node['prototype']['isPrototypeOf'](dl))return;let dm=d['DOMUtils']['getParent'](d['dotCN']['itemlayer'],dl);if(!Node['prototype']['isPrototypeOf'](dm))return;dl=dm['querySelector'](d['dotCN']['tooltip']);if(!Node['prototype']['isPrototypeOf'](dl)||!Node['prototype']['isPrototypeOf'](dl['anker'])||!dl['type'])return;var dn=dl['querySelector'](d['dotCN']['tooltippointer']);var dp,dq,dr=d['DOMUtils']['getRects'](dl['anker']),ds=d['DOMUtils']['getRects'](dm),dt=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount'])),du={'height':0xa,'width':0xa};switch(dl['type']){case'top':dq=dr['top']-ds['height']-du['height']+0x2;dp=dr['left']+(dr['width']-ds['width'])/0x2;break;case'bottom':dq=dr['top']+dr['height']+du['height']-0x2;dp=dr['left']+(dr['width']-ds['width'])/0x2;break;case'left':dq=dr['top']+(dr['height']-ds['height'])/0x2;dp=dr['left']-ds['width']-du['width']+0x2;break;case'right':dq=dr['top']+(dr['height']-ds['height'])/0x2;dp=dr['left']+dr['width']+du['width']-0x2;break;}dm['style']['setProperty']('top',dq+'px');dm['style']['setProperty']('left',dp+'px');dn['style']['removeProperty']('margin-left');dn['style']['removeProperty']('margin-top');if(dl['type']=='top'||dl['type']=='bottom'){if(dp<0x0){dm['style']['setProperty']('left','5px');dn['style']['setProperty']('margin-left',dp-0xa+'px');}else{var dv=dt['width']-(dp+ds['width']);if(dv<0x0){dm['style']['setProperty']('left',dt['width']-ds['width']-0x5+'px');dn['style']['setProperty']('margin-left',-0x1*dv+'px');}}}else if(dl['type']=='left'||dl['type']=='right'){if(dq<0x0){dm['style']['setProperty']('top','5px');dn['style']['setProperty']('margin-top',dq-0xa+'px');}else{var dw=dt['height']-(dq+ds['height']);if(dw<0x0){dm['style']['setProperty']('top',dt['height']-ds['height']-0x5+'px');dn['style']['setProperty']('margin-top',-0x1*dw+'px');}}}};d['ObjectUtils']={};d['ObjectUtils']['is']=function(dx){return dx&&Object['prototype']['isPrototypeOf'](dx)&&!Array['prototype']['isPrototypeOf'](dx);};d['ObjectUtils']['extract']=function(dy,...dz){let dA={};if(d['ObjectUtils']['is'](dy))for(let dB of dz['flat'](0xa)['filter'](dC=>dC))if(dy[dB])dA[dB]=dy[dB];return dA;};d['ObjectUtils']['exclude']=function(dD,...dE){let dF=Object['assign']({},dD);d['ObjectUtils']['delete'](dF,...dE);return dF;};d['ObjectUtils']['delete']=function(dG,...dH){if(d['ObjectUtils']['is'](dG))for(let dI of dH['flat'](0xa)['filter'](dJ=>dJ))delete dG[dI];};d['ObjectUtils']['sort']=function(dK,dL,dM){if(!d['ObjectUtils']['is'](dK))return{};var dN={};if(dL===undefined||!dL)for(let dO of Object['keys'](dK)['sort']())dN[dO]=dK[dO];else{let dP=[];for(let dO in dK)dP['push'](dK[dO]);dP=d['ArrayUtils']['keySort'](dP,dL,dM);for(let dR of dP)for(let dO in dK)if(d['equals'](dR,dK[dO])){dN[dO]=dR;break;}}return dN;};d['ObjectUtils']['reverse']=function(dT,dU){if(!d['ObjectUtils']['is'](dT))return{};var dV={};for(let dW of dU===undefined||!dU?Object['keys'](dT)['reverse']():Object['keys'](dT)['sort']()['reverse']())dV[dW]=dT[dW];return dV;};d['ObjectUtils']['filter']=function(dX,dY,dZ=![]){if(!d['ObjectUtils']['is'](dX))return{};if(typeof dY!='function')return dX;return Object['keys'](dX)['filter'](e0=>dY(dZ?e0:dX[e0]))['reduce']((e1,e2)=>(e1[e2]=dX[e2],e1),{});};d['ObjectUtils']['push']=function(e3,e4){if(d['ObjectUtils']['is'](e3))e3[Object['keys'](e3)['length']]=e4;};d['ObjectUtils']['pop']=function(e5,e6){if(d['ObjectUtils']['is'](e5)){let e7=Object['keys'](e5);if(!e7['length'])return;let e6=e5[e7[e7['length']-0x1]];delete e5[e7[e7['length']-0x1]];return e6;}};d['ObjectUtils']['map']=function(e9,ea){if(!d['ObjectUtils']['is'](e9))return{};if(typeof ea!='string'&&typeof ea!='function')return e9;var eb={};for(let ec in e9)if(d['ObjectUtils']['is'](e9[ec]))eb[ec]=typeof ea=='string'?e9[ec][ea]:ea(e9[ec],ec);return eb;};d['ObjectUtils']['toArray']=function(ed){if(!d['ObjectUtils']['is'](ed))return[];return Object['entries'](ed)['map'](ee=>ee[0x1]);};d['ObjectUtils']['deepAssign']=function(ef,...eg){if(!eg['length'])return ef;let eh=eg['shift']();if(d['ObjectUtils']['is'](ef)&&d['ObjectUtils']['is'](eh)){for(let ei in eh){if(d['ObjectUtils']['is'](eh[ei])){if(!ef[ei])Object['assign'](ef,{[ei]:{}});d['ObjectUtils']['deepAssign'](ef[ei],eh[ei]);}else Object['assign'](ef,{[ei]:eh[ei]});}}return d['ObjectUtils']['deepAssign'](ef,...eg);};d['ObjectUtils']['isEmpty']=function(ej){return!d['ObjectUtils']['is'](ej)||Object['getOwnPropertyNames'](ej)['length']==0x0;};d['ArrayUtils']={};d['ArrayUtils']['is']=function(ek){return ek&&Array['isArray'](ek);};d['ArrayUtils']['sum']=function(el){return Array['isArray'](el)?el['reduce']((em,en)=>em+Math['round'](en),0x0):0x0;};d['ArrayUtils']['keySort']=function(eo,ep,eq){if(!d['ArrayUtils']['is'](eo))return[];if(ep==null)return eo;if(eq===undefined)eq=null;return eo['sort']((er,es)=>{var et=er[ep],eu=es[ep];if(et!==eq)return eteu?0x1:0x0;});};d['ArrayUtils']['numSort']=function(ev){return ev['sort']((ew,ex)=>{return ewex?0x1:0x0;});};d['ArrayUtils']['remove']=function(ey,ez,eA=![]){if(!d['ArrayUtils']['is'](ey))return[];if(!ey['includes'](ez))return ey;if(!eA)ey['splice'](ey['indexOf'](ez),0x1);else while(ey['indexOf'](ez)>-0x1)ey['splice'](ey['indexOf'](ez),0x1);return ey;};d['ArrayUtils']['getAllIndexes']=function(eB,eC){if(!d['ArrayUtils']['is'](eB)&&typeof eB!='string')return[];var eD=[],eE=-0x1;while((eE=eB['indexOf'](eC,eE+0x1))!==-0x1)eD['push'](eE);return eD;};d['ArrayUtils']['removeCopies']=function(eF){if(!d['ArrayUtils']['is'](eF))return[];return[...new Set(eF)];};d['ModuleUtils']={};d['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};d['ModuleUtils']['find']=function(eG,eH){eH=typeof eH!='boolean'?!![]:eH;var eI=f['getWebModuleReq']();for(let eJ in eI['c'])if(eI['c']['hasOwnProperty'](eJ)){var eK=eI['c'][eJ]['exports'];if(eK&&(typeof eK=='object'||typeof eK=='function')&&eG(eK))return eH?eK:eI['c'][eJ];if(eK&&eK['__esModule'])for(let eL in eK)if(eK[eL]&&(typeof eK[eL]=='object'||typeof eK[eL]=='function')&&eG(eK[eL]))return eH?eK[eL]:eI['c'][eJ];}};d['ModuleUtils']['findByProperties']=function(...eM){eM=eM['flat'](0xa);let eN=eM['pop']();if(typeof eN!='boolean'){eM['push'](eN);eN=!![];}return f['findModule']('prop',JSON['stringify'](eM),eO=>eM['every'](eP=>eO[eP]!==undefined),eN);};d['ModuleUtils']['findByName']=function(eQ,eR){let eS=f['findModule']('name',JSON['stringify'](eQ),eT=>eT['displayName']===eQ||eT['render']&&eT['render']['displayName']===eQ,typeof eR!='boolean'?!![]:eR);if(eS&&eS['render']&&eS['render']['displayName']==eQ)eS['displayName']=eQ;return eS;};d['ModuleUtils']['findByString']=function(...eU){eU=eU['flat'](0xa);let eV=eU['pop']();if(typeof eV!='boolean'){eU['push'](eV);eV=!![];}return f['findModule']('string',JSON['stringify'](eU),eW=>eU['every'](eX=>typeof eW=='function'&&(eW['toString']()['indexOf'](eX)>-0x1||eW['originalsource']&&eW['originalsource']['toString']()['indexOf'](eX)>-0x1)),eV);};d['ModuleUtils']['findByPrototypes']=function(...eY){eY=eY['flat'](0xa);let eZ=eY['pop']();if(typeof eZ!='boolean'){eY['push'](eZ);eZ=!![];}return f['findModule']('proto',JSON['stringify'](eY),f0=>f0['prototype']&&eY['every'](f1=>f0['prototype'][f1]!==undefined),eZ);};f['findModule']=function(f2,f3,f4,f5){if(!d['ObjectUtils']['is'](d['ModuleUtils']['cached'][f2]))d['ModuleUtils']['cached'][f2]={'module':{},'export':{}};if(f5&&d['ModuleUtils']['cached'][f2]['export'][f3])return d['ModuleUtils']['cached'][f2]['export'][f3];else if(!f5&&d['ModuleUtils']['cached'][f2]['module'][f3])return d['ModuleUtils']['cached'][f2]['module'][f3];else{var f6=d['ModuleUtils']['find'](f4,f5);if(f6){if(f5)d['ModuleUtils']['cached'][f2]['export'][f3]=f6;else d['ModuleUtils']['cached'][f2]['module'][f3]=f6;return f6;}else d['LogUtils']['warn'](f3+'\x20['+f2+']\x20not\x20found\x20in\x20WebModules');}};f['getWebModuleReq']=function(){if(!f['getWebModuleReq']['req']){const f7='BDFDB-WebModules';const f8=window['webpackJsonp']['push']([[],{[f7]:(f9,fa,f8)=>f9['exports']=f8},[[f7]]]);delete f8['m'][f7];delete f8['c'][f7];f['getWebModuleReq']['req']=f8;}return f['getWebModuleReq']['req'];};var fc={};fc['Patchtypes']=['before','instead','after'];fc['Patchmap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchChannelResult':'Channel','QuickSwitchGuildResult':'Guild','QuickSwitchResult':'Result','WebhookCard':'Webhook'};fc['Forceobserve']=['DirectMessage','GuildIcon','QuickSwitchChannelResult','QuickSwitchGuildResult'];fc['Nonprototype']=['ChannelTextAreaContainer'];fc['LoadedInComponents']={'AutocompleteChannelResult':'AutocompleteComponents.Channel','AutocompleteUserResult':'AutocompleteComponents.User'};fc['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','PrivateChannelRecipientsInvitePopout':'searchpopoutdmaddpopout','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'};fc['GlobalModules']={};try{fc['GlobalModules']['V2C_ContentColumn']=V2C_ContentColumn;}catch(fd){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ContentColumn\x22');}try{fc['GlobalModules']['V2C_List']=V2C_List;}catch(fe){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_List\x22');}try{fc['GlobalModules']['V2C_PluginCard']=V2C_PluginCard;}catch(ff){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_PluginCard\x22');}try{fc['GlobalModules']['V2C_ThemeCard']=V2C_ThemeCard;}catch(fg){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ThemeCard\x22');}d['ModuleUtils']['isPatched']=function(fh,fi,fj){if(!fh||!d['ObjectUtils']['is'](fi)||!fi['BDFDBpatch']||!fj)return![];const fk=(typeof fh==='string'?fh:fh['name'])['toLowerCase']();return fk&&fi[fj]&&fi[fj]['isBDFDBpatched']&&fi['BDFDBpatch'][fj]&&Object['keys'](fi['BDFDBpatch'][fj])['some'](fl=>Object['keys'](fi['BDFDBpatch'][fj][fl])['includes'](fk));};d['ModuleUtils']['patch']=function(fm,fn,fo,fp,fq=![]){if(!fm||!d['ObjectUtils']['is'](fn)||!fo||!d['ObjectUtils']['is'](fp))return null;fp=d['ObjectUtils']['filter'](fp,fr=>fc['Patchtypes']['includes'](fr),!![]);if(d['ObjectUtils']['isEmpty'](fp))return null;const fs=typeof fm==='string'?fm:fm['name'];const ft=fs['toLowerCase']();if(!fn['BDFDBpatch'])fn['BDFDBpatch']={};fo=[fo]['flat'](0xa)['filter'](fu=>fu);for(let fv of fo){if(!fn['BDFDBpatch'][fv]||fq&&(!fn[fv]||!fn[fv]['isBDFDBpatched'])){if(!fn['BDFDBpatch'][fv]){fn['BDFDBpatch'][fv]={};for(let fw of fc['Patchtypes'])fn['BDFDBpatch'][fv][fw]={};}if(!fn[fv])fn[fv]=c=>{};const fy=fn[fv];fn['BDFDBpatch'][fv]['originalMethod']=fy;fn[fv]=function(){let fz=![],fA=![];const fB={'thisObject':this,'methodArguments':arguments,'originalMethod':fy,'originalMethodName':fv,'callOriginalMethod':c=>{if(!fA)fB['returnValue']=fB['originalMethod']['apply'](fB['thisObject'],fB['methodArguments']);},'callOriginalMethodAfterwards':c=>{fz=!![];},'stopOriginalMethodCall':c=>{fA=!![];}};if(fn['BDFDBpatch']&&fn['BDFDBpatch'][fv]){if(!d['ObjectUtils']['isEmpty'](fn['BDFDBpatch'][fv]['before']))for(let fF in d['ObjectUtils']['sort'](fn['BDFDBpatch'][fv]['before'])){d['TimeUtils']['suppress'](fn['BDFDBpatch'][fv]['before'][fF],'\x22before\x22\x20callback\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'),fn['BDFDBpatch'][fv]['before'][fF]['pluginname'])(fB);}let fG=!d['ObjectUtils']['isEmpty'](fn['BDFDBpatch'][fv]['instead']);if(fG)for(let fF in d['ObjectUtils']['sort'](fn['BDFDBpatch'][fv]['instead'])){let fI=d['TimeUtils']['suppress'](fn['BDFDBpatch'][fv]['instead'][fF],'\x22instead\x22\x20callback\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'),fn['BDFDBpatch'][fv]['instead'][fF]['pluginname'])(fB);if(fI!==undefined)fB['returnValue']=fI;}if((!fG||fz)&&!fA)d['TimeUtils']['suppress'](fB['callOriginalMethod'],'originalMethod\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'))();if(!d['ObjectUtils']['isEmpty'](fn['BDFDBpatch'][fv]['after']))for(let fF in d['ObjectUtils']['sort'](fn['BDFDBpatch'][fv]['after'])){let fI=d['TimeUtils']['suppress'](fn['BDFDBpatch'][fv]['after'][fF],'\x22after\x22\x20callback\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'),fn['BDFDBpatch'][fv]['after'][fF]['pluginname'])(fB);if(fI!==undefined)fB['returnValue']=fI;}}else d['TimeUtils']['suppress'](fB['callOriginalMethod'],'originalMethod\x20of\x20'+fv+'\x20in\x20'+(fn['constructor']?fn['constructor']['displayName']||fn['constructor']['name']:'module'))();fz=![],fA=![];return fv=='render'&&fB['returnValue']===undefined?null:fB['returnValue'];};for(let fL of Object['keys'](fy))fn[fv][fL]=fy[fL];fn[fv]['originalsource']=fy;fn[fv]['isBDFDBpatched']=!![];}for(let fM in fp)if(typeof fp[fM]=='function'){fn['BDFDBpatch'][fv][fM][ft]=fp[fM];fn['BDFDBpatch'][fv][fM][ft]['pluginname']=fs;}}let fN=c=>{d['ModuleUtils']['unpatch'](fm,fn,fo);};if(d['ObjectUtils']['is'](fm)){if(!d['ArrayUtils']['is'](fm['patchCancels']))fm['patchCancels']=[];fm['patchCancels']['push'](fN);}return fN;};d['ModuleUtils']['unpatch']=function(fP,fQ,fR){if(!fQ&&!fR){if(d['ObjectUtils']['is'](fP)&&d['ArrayUtils']['is'](fP['patchCancels'])){for(let fS of fP['patchCancels'])fS();fP['patchCancels']=[];}}else{if(!d['ObjectUtils']['is'](fQ)||!fQ['BDFDBpatch'])return;const fT=!fP?null:(typeof fP==='string'?fP:fP['name'])['toLowerCase']();if(fR){for(let fU of[fR]['flat'](0xa)['filter'](fV=>fV))if(fQ[fU]&&fQ['BDFDBpatch'][fU])fX(fU,fT);}else for(let fW of fQ['BDFDBpatch'])fX(fW,fT);}function fX(fY,fZ){for(let g0 of fc['Patchtypes']){if(fZ)delete fQ['BDFDBpatch'][fY][g0][fZ];else delete fQ['BDFDBpatch'][fY][g0];}var g1=!![];for(let g0 of fc['Patchtypes'])if(!d['ObjectUtils']['isEmpty'](fQ['BDFDBpatch'][fY][g0]))g1=![];if(g1){fQ[fY]=fQ['BDFDBpatch'][fY]['originalMethod'];delete fQ['BDFDBpatch'][fY];if(d['ObjectUtils']['isEmpty'](fQ['BDFDBpatch']))delete fQ['BDFDBpatch'];}}};d['ModuleUtils']['forceAllUpdates']=function(g3,g4){if(d['ObjectUtils']['is'](g3)&&d['ObjectUtils']['is'](g3['patchedModules'])){const g5=document['querySelector'](d['dotCN']['app']);const g6=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);if(g5){let g7=[],g8={};for(let g9 in g3['patchedModules'])for(let ga in g3['patchedModules'][g9]){let gb=[g3['patchedModules'][g9][ga]]['flat'](0xa)['filter'](gc=>gc);if(gb['includes']('componentDidMount')||gb['includes']('componentDidUpdate')||gb['includes']('render')){g7['push'](ga);let gd=ga['split']('\x20_\x20_\x20')[0x0];if(!g8[gd])g8[gd]=[];g8[gd]['push'](g9);}}g4=[g4]['flat'](0xa)['filter'](ge=>ge);if(g4['length']){g4=g4['map'](gf=>gf&&fc['Patchmap'][gf]?fc['Patchmap'][gf]+'\x20_\x20_\x20'+gf:gf);g7=g7['filter'](gg=>g4['indexOf'](gg)>-0x1);}g7=d['ArrayUtils']['removeCopies'](g7);if(g7['length']){try{const gh=d['ReactUtils']['findOwner'](g5,{'name':g7,'all':!![],'group':!![],'unlimited':!![]});const gi=d['ReactUtils']['findOwner'](g5,{'name':g7,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let ga in gh)for(let gk of gh[ga])f['forceInitiateProcess'](g3,gk,ga,g8[ga]);for(let ga in gi)for(let gk of gi[ga])f['forceInitiateProcess'](g3,gk,ga,g8[ga]);if(g6){const gn=d['ReactUtils']['findOwner'](g6,{'name':g7,'all':!![],'group':!![],'unlimited':!![]});for(let ga in gn)for(let gk of gn[ga])f['forceInitiateProcess'](g3,gk,ga,g8[ga]);}}catch(gq){d['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+gq,g3['name']);}}}}};f['forceInitiateProcess']=function(gr,gs,gt,gu){if(!gr||!gs||!gt)return;let gv=[];for(let gw in gr['patchedModules'])if(gr['patchedModules'][gw][gt])gv['push'](gr['patchedModules'][gw][gt]);gv=d['ArrayUtils']['removeCopies'](gv)['flat'](0xa)['filter'](gx=>gx);if(gv['includes']('componentDidMount'))f['initiateProcess'](gr,gt,{'instance':gs,'methodname':'componentDidMount','patchtypes':gu});if(gv['includes']('render'))d['ReactUtils']['forceUpdate'](gs);else if(gv['includes']('componentDidUpdate'))f['initiateProcess'](gr,gt,{'instance':gs,'methodname':'componentDidUpdate','patchtypes':gu});};f['initiateProcess']=function(gy,gz,gA){if(d['ObjectUtils']['is'](gy)&&!gy['stopping']&&gA['instance']){let gB=gy['name']=='$BDFDB';if(gy['name']=='$BDFDB')gy=El;gz=(gz['split']('\x20_\x20_\x20')[0x1]||gz)['replace'](/[^A-z0-9]|_/g,'');gz=gz['charAt'](0x0)['toUpperCase']()+gz['slice'](0x1);if(typeof gy['process'+gz]=='function'){let gC=!gB&&gy['process'+gz]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(gC){if(gA['methodname']=='render'){if(gA['returnvalue'])gy['process'+gz](gA['instance'],null,gA['returnvalue'],[gA['methodname']]);}else{let gD=d['ReactUtils']['findDOMNode'](gA['instance']);if(gD)gy['process'+gz](gA['instance'],gD,gA['returnvalue'],[gA['methodname']]);else d['TimeUtils']['timeout'](c=>{gD=d['ReactUtils']['findDOMNode'](gA['instance']);if(gD)gy['process'+gz](gA['instance'],gD,gA['returnvalue'],[gA['methodname']]);});}}else{if(gA['methodname']=='render'){if(gA['returnvalue']||gA['patchtypes']['includes']('before'))gy['process'+gz](gA);}else{gA['node']=d['ReactUtils']['findDOMNode'](gA['instance']);if(gA['node'])gy['process'+gz](gA);else d['TimeUtils']['timeout'](c=>{gA['node']=d['ReactUtils']['findDOMNode'](gA['instance']);if(gA['node'])gy['process'+gz](gA);});}}}}};f['patchPlugin']=function(gG){if(!d['ObjectUtils']['is'](gG)||!d['ObjectUtils']['is'](gG['patchedModules']))return;d['ModuleUtils']['unpatch'](gG);for(let gH in gG['patchedModules'])for(let gI in gG['patchedModules'][gH]){if(fc['GlobalModules'][gI]&&typeof fc['GlobalModules'][gI]=='function')gN(fc['GlobalModules'][gI],gI,gH);else{let gJ=fc['LoadedInComponents'][gI]&&d['ReactUtils']['getValue'](Ao,fc['LoadedInComponents'][gI]);if(gJ)gN(gJ,gI,gH);else{let gK=fc['Patchmap'][gI];let gL=fc['Patchfinder'][gI['split']('\x20_\x20_\x20')[0x1]||gI];let gM=gK?gK+'\x20_\x20_\x20'+gI:gI;if(gK){gG['patchedModules'][gH][gM]=gG['patchedModules'][gH][gI];delete gG['patchedModules'][gH][gI];}if(!gL)gN(d['ModuleUtils']['findByName'](gM['split']('\x20_\x20_\x20')[0x0]),gM,gH);else if(zr[gL])gU(gL,gM,gH,fc['Forceobserve']['includes'](gI['split']('\x20_\x20_\x20')[0x1]||gI));}}}function gN(gO,gP,gQ){if(gO){let gR=gP['split']('\x20_\x20_\x20')[0x0];gO=gO['_reactInternalFiber']&&gO['_reactInternalFiber']['type']?gO['_reactInternalFiber']['type']:gO;gO=gO['displayName']==gR||gO['name']==gR||fc['LoadedInComponents'][gP]?gO:d['ReactUtils']['findConstructor'](gO,gR)||d['ReactUtils']['findConstructor'](gO,gR,{'up':!![]});if(gO){gO=gO['_reactInternalFiber']&&gO['_reactInternalFiber']['type']?gO['_reactInternalFiber']['type']:gO;let gS={};gS[gQ]=gT=>{f['initiateProcess'](gG,gP,{'instance':gT['thisObject'],'returnvalue':gT['returnValue'],'methodname':gT['originalMethodName'],'patchtypes':[gQ]});};d['ModuleUtils']['patch'](gG,fc['Nonprototype']['includes'](gR)?gO:gO['prototype'],gG['patchedModules'][gQ][gP],gS);}}}function gU(gV,gW,gX,gY){const gZ=document['querySelector'](d['dotCN']['app']),h0=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);let h1=![];if(!gY){if(gZ){let h2=d['ReactUtils']['findConstructor'](gZ,gW,{'unlimited':!![]})||d['ReactUtils']['findConstructor'](gZ,gW,{'unlimited':!![],'up':!![]});if(h2&&(h1=!![]))gN(h2,gW,gX);}if(!h1&&h0){let h3=d['ReactUtils']['findConstructor'](h0,gW,{'unlimited':!![]});if(h3&&(h1=!![]))gN(h3,gW,gX);}}if(!h1){let h4=![],h5=d['disCN'][gV],h6=d['dotCN'][gV];for(let h7 of document['querySelectorAll'](h6)){let h8=d['ReactUtils']['getInstance'](h7);if(hf(h8,gW)){h4=!![];gN(h8,gW,gX);d['ModuleUtils']['forceAllUpdates'](gG,gW);break;}}if(!h4){let h9=new MutationObserver(ha=>{ha['forEach'](hb=>{hb['addedNodes']['forEach'](hc=>{if(h4||!hc||!hc['tagName'])return;let h7=null;if((h7=d['DOMUtils']['containsClass'](hc,h5)?hc:hc['querySelector'](h6))!=null){let h8=d['ReactUtils']['getInstance'](h7);if(hf(h8,gW)){h4=!![];h9['disconnect']();gN(h8,gW,gX);d['ModuleUtils']['forceAllUpdates'](gG,gW);}}});});});d['ObserverUtils']['connect'](gG,d['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':h9,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function hf(hg,hh){if(!hg)return![];hg=hg['_reactInternalFiber']&&hg['_reactInternalFiber']['type']?hg['_reactInternalFiber']['type']:hg;hg=hg['displayName']==hh||hg['name']==hh?hg:d['ReactUtils']['findConstructor'](hg,hh)||d['ReactUtils']['findConstructor'](hg,hh,{'up':!![]});return!!hg;}};var hi=['MessageOptionPopout'];f['addContextListeners']=hj=>{if(!d['ObjectUtils']['is'](hj))return;for(let hk of Ao['ContextMenus']['_NormalMenus'])if(typeof hj['on'+hk]==='function')f['patchContextMenuPlugin'](hj,hk,Ao['ContextMenus'][hk]);for(let hl of hi)if(typeof hj['on'+hl]==='function')f['patchPopoutPlugin'](hj,hl,d['ModuleUtils']['findByName'](hl));for(let hm of Ao['ContextMenus']['_FluxMenus'])if(typeof hj['on'+hm]==='function'){if(d['InternalData']['patchMenuQueries'][hm]['module'])f['patchContextMenuPlugin'](hj,hm,d['InternalData']['patchMenuQueries'][hm]['module']);else d['InternalData']['patchMenuQueries'][hm]['query']['push'](hj);}for(let hn of Ao['ContextMenus']['_NonRenderMenus'])if(typeof hj['on'+hn]==='function'){if(d['InternalData']['patchMenuQueries'][hn]['module'])f['patchNonRenderContextMenuPlugin'](hj,hn,d['InternalData']['patchMenuQueries'][hn]['module']);else d['InternalData']['patchMenuQueries'][hn]['query']['push'](hj);}};f['patchContextMenuPlugin']=(ho,hp,hq)=>{if(hq&&hq['prototype']){let hr=ho['on'+hp]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hr){d['ModuleUtils']['patch'](ho,hq['prototype'],'render',{'after':hs=>{let ht=hs['thisObject'],hu=d['ReactUtils']['findDOMNode'](hs['thisObject']),hv=hs['returnValue'];if(ht&&hu&&hv&&typeof ho['on'+hp]==='function')ho['on'+hp](ht,hu,hv);}});}else{d['ModuleUtils']['patch'](ho,hq['prototype'],'render',{'after':hw=>{if(hw['thisObject']&&hw['returnValue']&&typeof ho['on'+hp]==='function')ho['on'+hp]({'instance':hw['thisObject'],'returnvalue':hw['returnValue'],'methodname':'render'});}});}}};f['patchNonRenderContextMenuPlugin']=(hx,hy,hz)=>{if(hz&&hz['exports']){let hA=hx['on'+hy]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hA)d['ModuleUtils']['patch'](hx,hz['exports'],'default',{'after':hB=>{if(hB['returnValue']&&typeof hx['on'+hy]==='function')hx['on'+hy]({'props':hB['methodArguments'][0x0]},document,hB['returnValue']);}});else d['ModuleUtils']['patch'](hx,hz['exports'],'default',{'after':hC=>{if(hC['returnValue']&&typeof hx['on'+hy]==='function')hx['on'+hy]({'instance':{'props':hC['methodArguments'][0x0]},'returnvalue':hC['returnValue'],'methodname':'default'});}});}};f['patchPopoutPlugin']=(hD,hE,hF)=>{if(hF&&hF['prototype']){let hG=hD['on'+hE]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(hG)d['ModuleUtils']['patch'](hD,hF['prototype'],'render',{'after':hH=>{let hI=hH['thisObject'],hJ=d['ReactUtils']['findDOMNode'](hH['thisObject']),hK=hH['returnValue'];if(hI&&hJ&&hK&&typeof hD['on'+hE]==='function'){hD['on'+hE](hI,hJ,hK);if(!hI['BDFDBforceUpdateTimeout'])d['ReactUtils']['forceUpdate'](hI);}}});else d['ModuleUtils']['patch'](hD,hF['prototype'],'render',{'after':hL=>{if(hL['thisObject']&&hL['returnValue']&&typeof hD['on'+hE]==='function')hD['on'+hE]({'instance':hL['thisObject'],'returnvalue':hL['returnValue'],'methodname':'render'});}});}};f['patchContextMenuLib']=(hM,hN)=>{if(hM&&hM['prototype']){d['ModuleUtils']['patch'](d,hM['prototype'],'componentDidMount',{'after':hO=>{if(!hO['thisObject']['BDFDBforceRenderTimeout']&&typeof hO['thisObject']['render']=='function')hO['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hM['prototype'],'componentDidUpdate',{'after':hP=>{var hQ=d['ReactUtils']['findDOMNode'](hP['thisObject']);if(hQ){const hR=d['ReactUtils']['getValue'](hP,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const hS=d['DOMUtils']['getRects'](hQ),hT=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount']));if(hR&&hS['top']+hS['height']>hT['height'])hR();}}});d['ModuleUtils']['patch'](d,hM['prototype'],'render',{'after':hU=>{if(hU['thisObject']['props']['BDFDBcontextMenu']&&hU['thisObject']['props']['children']&&hU['returnValue']&&hU['returnValue']['props']){hU['returnValue']['props']['children']=hU['thisObject']['props']['children'];delete hU['thisObject']['props']['value'];delete hU['thisObject']['props']['children'];delete hU['thisObject']['props']['BDFDBcontextMenu'];}if(d['ReactUtils']['findDOMNode'](hU['thisObject'])){hU['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hU['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hN){let hW=d['ReactUtils']['getValue'](hU,'thisObject._reactInternalFiber.child.type');if(hW&&hW['displayName']&&d['InternalData']['patchMenuQueries'][hW['displayName']]&&!d['InternalData']['patchMenuQueries'][hW['displayName']]['module']){d['InternalData']['patchMenuQueries'][hW['displayName']]['module']=hW;f['patchContextMenuLib'](hW,![]);while(d['InternalData']['patchMenuQueries'][hW['displayName']]['query']['length'])f['patchContextMenuPlugin'](d['InternalData']['patchMenuQueries'][hW['displayName']]['query']['pop'](),hW['displayName'],hW);}}}});}};f['patchPopoutLib']=(hX,hY)=>{if(hX&&hX['prototype']){d['ModuleUtils']['patch'](d,hX['prototype'],'componentDidMount',{'after':hZ=>{if(!hZ['thisObject']['BDFDBforceRenderTimeout']&&!hZ['thisObject']['BDFDBforceUpdateTimeout']&&typeof hZ['thisObject']['render']=='function')hZ['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hX['prototype'],'componentDidUpdate',{'after':i0=>{const i1=d['ReactUtils']['getValue'](i0,'thisObject._reactInternalFiber.return.return.return.stateNode.updateOffsets');if(i1)i1();i0['thisObject']['BDFDBforceUpdateTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete i0['thisObject']['BDFDBforceUpdateTimeout'];},0x3e8);}});d['ModuleUtils']['patch'](d,hX['prototype'],'render',{'after':i3=>{if(d['ReactUtils']['findDOMNode'](i3['thisObject'])){i3['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete i3['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(i3['thisObject']['props']['message']&&!i3['thisObject']['props']['target']){const i5=document['querySelector'](d['dotCN']['messages']);if(i5)for(let i6 of d['ReactUtils']['findOwner'](i5,{'name':'Message','all':!![],'unlimited':!![]})){if(i3['thisObject']['props']['message']['id']==i6['props']['message']['id']){target=d['ReactUtils']['findDOMNode'](i6);if(target)i3['thisObject']['props']['target']=target;break;}}}}});}};f['getContextMenuType']=i7=>{if(i7){if(i7['endsWith']('ContextMenu'))return i7;else if(Ao['ContextMenus']['_Types']['includes'](i7)){if(i7['indexOf']('USER_')==0x0)return'UserContextMenu';else if(i7['indexOf']('CHANNEL_')==0x0)return'ChannelContextMenu';else if(i7['indexOf']('GUILD_')==0x0)return'GuildContextMenu';}}return null;};d['DiscordConstants']=d['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var i8={};i8['Channel']=d['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');i8['Guild']=d['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');i8['Message']=d['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');i8['Messages']=d['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');i8['Timestamp']=d['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');i8['User']=d['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');d['DiscordObjects']=Object['assign']({},i8);var i9={};for(let ia of['child_process','electron','fs','path','process','request']){try{i9[ia]=require(ia);}catch(ib){}}d['LibraryRequires']=Object['assign']({},i9);var ic={};ic['AckUtils']=d['ModuleUtils']['findByProperties']('localAck','bulkAck');ic['APIUtils']=d['ModuleUtils']['findByProperties']('getAPIBaseURL');ic['AnalyticsUtils']=d['ModuleUtils']['findByProperties']('isThrottled','track');ic['AnimationUtils']=d['ModuleUtils']['findByProperties']('spring','decay');ic['BadgeUtils']=d['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');ic['CategoryCollapseStore']=d['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');ic['CategoryCollapseUtils']=d['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');ic['ChannelStore']=d['ModuleUtils']['findByProperties']('getChannel','getChannels');ic['ColorUtils']=d['ModuleUtils']['findByProperties']('hex2int','hex2rgb');ic['ContextMenuUtils']=d['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');ic['CopyLinkUtils']=d['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');ic['CurrentUserStore']=d['ModuleUtils']['findByProperties']('getCurrentUser');ic['CurrentVoiceUtils']=d['ModuleUtils']['findByProperties']('getAveragePing','isConnected');ic['DirectMessageStore']=d['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');ic['DirectMessageUnreadStore']=d['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');ic['DispatchApiUtils']=d['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');ic['DispatchUtils']=d['ModuleUtils']['findByProperties']('ComponentDispatch');ic['DirectMessageUtils']=d['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');ic['FriendUtils']=d['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');ic['FolderStore']=d['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');ic['FolderUtils']=d['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');ic['GuildBoostUtils']=d['ModuleUtils']['findByProperties']('getTierName','getUserLevel');ic['GuildChannelStore']=d['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');ic['GuildEmojiStore']=d['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');ic['GuildSettingsUtils']=d['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');ic['GuildStore']=d['ModuleUtils']['findByProperties']('getGuild','getGuilds');ic['GuildUtils']=d['ModuleUtils']['findByProperties']('transitionToGuildSync');ic['HistoryUtils']=d['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;ic['IconUtils']=d['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');ic['InviteUtils']=d['ModuleUtils']['findByProperties']('acceptInvite','createInvite');ic['KeyCodeUtils']=Object['assign']({},d['ModuleUtils']['findByProperties']('toCombo','keyToCode'));ic['KeyCodeUtils']['getString']=id=>{return ic['KeyCodeUtils']['toString']([id]['flat'](0xa)['filter'](ie=>ie)['map'](ig=>[d['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],ig,d['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};ic['KeyEvents']=d['ModuleUtils']['findByProperties']('aliases','code','codes');ic['LanguageStore']=d['ModuleUtils']['findByProperties']('getLanguages','Messages');ic['LastChannelStore']=d['ModuleUtils']['findByProperties']('getLastSelectedChannelId');ic['LastGuildStore']=d['ModuleUtils']['findByProperties']('getLastSelectedGuildId');ic['LoginUtils']=d['ModuleUtils']['findByProperties']('login','logout');ic['MemberStore']=d['ModuleUtils']['findByProperties']('getMember','getMembers');ic['MessagePinUtils']=d['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');ic['MessageStore']=d['ModuleUtils']['findByProperties']('getMessage','getMessages');ic['MessageUtils']=d['ModuleUtils']['findByProperties']('receiveMessage','editMessage');ic['ModalUtils']=d['ModuleUtils']['findByProperties']('openModal','hasModalOpen');ic['MutedUtils']=d['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');ic['NoteStore']=d['ModuleUtils']['findByProperties']('getNotes','getNote');ic['NotificationSettingsUtils']=d['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');ic['NotificationSettingsStore']=d['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');ic['PlatformUtils']=d['ModuleUtils']['findByProperties']('isWindows','isLinux');ic['PermissionUtils']=d['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');ic['PermissionRoleUtils']=d['ModuleUtils']['findByProperties']('getHighestRole','can');ic['QuoteUtils']=d['ModuleUtils']['findByProperties']('canQuote','createQuotedText');ic['ReactionUtils']=d['ModuleUtils']['findByProperties']('addReaction','removeReaction');ic['SearchPageUtils']=d['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');ic['SelectChannelUtils']=d['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');ic['SettingsUtils']=d['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');ic['SoundUtils']=d['ModuleUtils']['findByProperties']('playSound','createSound');ic['SpellCheckUtils']=d['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');ic['SlateUtils']=d['ModuleUtils']['findByProperties']('serialize','deserialize');ic['SlateSelectionUtils']=d['ModuleUtils']['findByProperties']('serialize','serializeSelection');ic['StateStoreUtils']=d['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');ic['StatusMetaUtils']=d['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');ic['StoreUtils']=d['ModuleUtils']['findByProperties']('get','set','clear','remove');ic['StreamUtils']=d['ModuleUtils']['findByProperties']('getStreamForUser','getActiveStream');ic['StringUtils']=d['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');ic['UnreadGuildUtils']=d['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');ic['UnreadChannelUtils']=d['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');ic['UploadUtils']=d['ModuleUtils']['findByProperties']('upload','instantBatchUpload');ic['UserNameUtils']=d['ModuleUtils']['findByProperties']('getName','getNickname');ic['UserStore']=d['ModuleUtils']['findByProperties']('getUser','getUsers');ic['Utilities']=d['ModuleUtils']['findByProperties']('flatMap','cloneDeep');ic['VoiceUtils']=d['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');ic['ZoomUtils']=d['ModuleUtils']['findByProperties']('setZoom','setFontSize');d['LibraryModules']=Object['assign']({},ic);ic['React']=d['ModuleUtils']['findByProperties']('createElement','cloneElement');ic['ReactDOM']=d['ModuleUtils']['findByProperties']('render','findDOMNode');d['ReactUtils']=Object['assign']({},ic['React'],ic['ReactDOM']);d['ReactUtils']['childrenToArray']=function(ih){if(ih&&ih['props']&&ih['props']['children']&&!d['ArrayUtils']['is'](ih['props']['children'])){var ii=ih['props']['children'];ih['props']['children']=[];ih['props']['children']['push'](ii);}return ih['props']['children'];};d['ReactUtils']['createElement']=function(ij,ik){if(ij&&ij['defaultProps'])for(let il in ij['defaultProps'])if(ik[il]==null)ik[il]=ij['defaultProps'][il];try{return ic['React']['createElement'](ij||'div',ik||{})||null;}catch(im){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20create\x20react\x20element!\x20'+im);}return null;};d['ReactUtils']['elementToReact']=function(io){if(d['ReactUtils']['isValidElement'](io))return io;else if(!Node['prototype']['isPrototypeOf'](io))return null;else if(io['nodeType']==Node['TEXT_NODE'])return io['nodeValue'];let ip={},iq={};for(let ir of io['attributes'])ip[ir['name']]=ir['value'];if(io['attributes']['style'])ip['style']=d['ObjectUtils']['filter'](io['style'],is=>io['style'][is]&&isNaN(parseInt(is)),!![]);ip['children']=[];if(io['style']&&io['style']['cssText'])for(let it of io['style']['cssText']['split'](';'))if(it['endsWith']('!important')){let iu=it['split'](':')[0x0];let iv=iu['replace'](/-([a-z]?)/g,(iw,ix)=>ix['toUpperCase']());if(ip['style'][iv]!=null)iq[iu]=ip['style'][iv];}if(Object['keys'](iq)['length'])ip['ref']=iy=>{let iz=d['ReactUtils']['findDOMNode'](iy);if(iz)for(let iA in iq)iz['style']['setProperty'](iA,iq[iA],'important');};for(let iB of io['childNodes'])ip['children']['push'](d['ReactUtils']['elementToReact'](iB));return d['ReactUtils']['createElement'](io['tagName'],ip);};d['ReactUtils']['findChildren']=function(iC,iD){if(!iC||!d['ObjectUtils']['is'](iD)||!iD['name']&&!iD['key']&&!iD['props']&&!iD['filter'])return[null,-0x1];var iE=Node['prototype']['isPrototypeOf'](iC)?d['ReactUtils']['getInstance'](iC):iC;if(!d['ObjectUtils']['is'](iE)&&!d['ArrayUtils']['is'](iE))return[null,-0x1];iD['name']=iD['name']&&[iD['name']]['flat']()['filter'](iF=>iF);iD['key']=iD['key']&&[iD['key']]['flat']()['filter'](iG=>iG);iD['props']=iD['props']&&[iD['props']]['flat']()['filter'](iH=>iH);iD['filter']=typeof iD['filter']=='function'&&iD['filter'];var iI=firstarray=iE;while(!d['ArrayUtils']['is'](firstarray)&&firstarray['props']&&firstarray['props']['children'])firstarray=firstarray['props']['children'];if(!d['ArrayUtils']['is'](firstarray)){if(iI&&iI['props']){iI['props']['children']=[iI['props']['children']];firstarray=iI['props']['children'];}else firstarray=[];}return iJ(iE);function iJ(iK){var iL=[firstarray,-0x1];if(!iK)return iL;if(!d['ArrayUtils']['is'](iK)){if(iP(iK))iL=iN(iK);else if(iK['props']&&iK['props']['children']){iI=iK;iL=iJ(iK['props']['children']);}}else{for(let iM=0x0;iL[0x1]==-0x1&&iMiE['type']['render']&&iE['type']['render']['displayName']===iS||iE['type']['displayName']===iS||iE['type']['name']===iS||iE['type']===iS)||iD['key']&&iD['key']['some'](iT=>iE['key']==iT)||iR&&iD['props']&&iD['props']['every'](iU=>d['ArrayUtils']['is'](iU)?d['ArrayUtils']['is'](iU[0x1])?iU[0x1]['some'](iV=>iW(iR,iU[0x0],iV)):iW(iR,iU[0x0],iU[0x1]):iR[iU]!==undefined)||iD['filter']&&iD['filter'](iE);}function iW(iX,iY,iZ){return iY!=null&&iX[iY]!=null&&iZ!=null&&(iY=='className'?('\x20'+iX[iY]+'\x20')['indexOf']('\x20'+iZ+'\x20')>-0x1:d['equals'](iX[iY],iZ));}};d['ReactUtils']['findConstructor']=function(j0,j1,j2={}){if(!d['ObjectUtils']['is'](j2))return null;if(!j0||!j1)return j2['all']?j2['group']?{}:[]:null;var j3=Node['prototype']['isPrototypeOf'](j0)?d['ReactUtils']['getInstance'](j0):j0;if(!d['ObjectUtils']['is'](j3))return j2['all']?j2['group']?{}:[]:null;j1=j1&&[j1]['flat'](0xa)['filter'](j4=>typeof j4=='string');if(!j1['length'])return j2['all']?j2['group']?{}:[]:null;;var j5=-0x1;var j6=performance['now']();var j7=j2['unlimited']?0x3b9ac9ff:j2['depth']===undefined?0x1e:j2['depth'];var j8=j2['unlimited']?0x3b9ac9ff:j2['time']===undefined?0x96:j2['time'];var j9=j2['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var ja=j2['group']?{}:[];var jb=je(j3);if(j2['all']){for(let jc in ja){if(j2['group'])for(let jd in ja[jc])delete ja[jc][jd]['BDFDBreactSearch'];else delete ja[jc]['BDFDBreactSearch'];}return ja;}else return jb;function je(j3){j5++;var jg=undefined;if(j3&&!Node['prototype']['isPrototypeOf'](j3)&&!d['ReactUtils']['getInstance'](j3)&&j5(j3['type']['render']&&j3['type']['render']['displayName']||j3['type']['displayName']||j3['type']['name'])===jh['split']('\x20_\x20_\x20')[0x0])){if(j2['all']===undefined||!j2['all'])jg=j3['type'];else if(j2['all']){if(!j3['type']['BDFDBreactSearch']){j3['type']['BDFDBreactSearch']=!![];if(j2['group']){if(j3['type']&&(j3['type']['render']&&j3['type']['render']['displayName']||j3['type']['displayName']||j3['type']['name'])){let ji=j2['name']['find'](jj=>(j3['type']['render']&&j3['type']['render']['displayName']||j3['type']['displayName']||j3['type']['name']||j3['type'])['split']('\x20_\x20_\x20')[0x0]==jj)||'Default';if(!d['ArrayUtils']['is'](foundinstances[ji]))foundinstances[ji]=[];foundinstances[ji]['push'](j3['stateNode']);}}else foundinstances['push'](j3['type']);}}}if(jg===undefined){let jk=Object['getOwnPropertyNames'](j3);for(let jl=0x0;jg===undefined&&jljs);jq['key']=jq['key']&&[jq['key']]['flat']()['filter'](jt=>jt);jq['props']=jq['props']&&[jq['props']]['flat']()['filter'](ju=>ju);var jv=-0x1;var jw=performance['now']();var jx=jq['unlimited']?0x3b9ac9ff:jq['depth']===undefined?0x1e:jq['depth'];var jy=jq['unlimited']?0x3b9ac9ff:jq['time']===undefined?0x96:jq['time'];var jz=jq['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var jA=jq['group']?{}:[];var jB=jE(jr);if(jq['all']){for(let jC in jA){if(jq['group'])for(let jD in jA[jC])delete jA[jC][jD]['BDFDBreactSearch'];else delete jA[jC]['BDFDBreactSearch'];}return jA;}else return jB;function jE(jr){jv++;var jG=undefined;if(jr&&!Node['prototype']['isPrototypeOf'](jr)&&!d['ReactUtils']['getInstance'](jr)&&jv(jr['type']['render']&&jr['type']['render']['displayName']||jr['type']['displayName']||jr['type']['name']||jr['type'])===jI['split']('\x20_\x20_\x20')[0x0])||jq['key']&&jq['key']['some'](jJ=>jr['key']==jJ)||jH&&jq['props']&&jq['props']['every'](jK=>d['ArrayUtils']['is'](jK)?d['ArrayUtils']['is'](jK[0x1])?jK[0x1]['some'](jL=>d['equals'](jH[jK[0x0]],jL)):d['equals'](jH[jK[0x0]],jK[0x1]):jH[jK]!==undefined))){if(jq['all']===undefined||!jq['all'])jG=jr['stateNode'];else if(jq['all']){if(!jr['stateNode']['BDFDBreactSearch']){jr['stateNode']['BDFDBreactSearch']=!![];if(jq['group']){if(jq['name']&&jr['type']&&(jr['type']['render']&&jr['type']['render']['displayName']||jr['type']['displayName']||jr['type']['name']||jr['type'])){let jM=jq['name']['find'](jN=>(jr['type']['render']&&jr['type']['render']['displayName']||jr['type']['displayName']||jr['type']['name']||jr['type'])['split']('\x20_\x20_\x20')[0x0]==jN)||'Default';if(!d['ArrayUtils']['is'](jA[jM]))jA[jM]=[];jA[jM]['push'](jr['stateNode']);}}else jA['push'](jr['stateNode']);}}}if(jG===undefined){let jO=Object['getOwnPropertyNames'](jr);for(let jP=0x0;jG===undefined&&jPjU);jS['key']=jS['key']&&[jS['key']]['flat']()['filter'](jV=>jV);var jW=-0x1;var jX=performance['now']();var jY=jS['unlimited']?0x3b9ac9ff:jS['depth']===undefined?0x1e:jS['depth'];var jZ=jS['unlimited']?0x3b9ac9ff:jS['time']===undefined?0x96:jS['time'];var k0=jS['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return k1(jT);function k1(jT){jW++;var k3=undefined;if(jT&&!Node['prototype']['isPrototypeOf'](jT)&&!d['ReactUtils']['getInstance'](jT)&&jW(jT['type']['render']&&jT['type']['render']['displayName']||jT['type']['displayName']||jT['type']['name']||jT['type'])===k4['split']('\x20_\x20_\x20')[0x0])||jS['key']&&jS['key']['some'](k5=>jT['key']==k5)))k3=jT['memoizedProps'];if(k3===undefined){let k6=Object['getOwnPropertyNames'](jT);for(let k7=0x0;k3===undefined&&k7kw))if(kv['updater']&&typeof kv['updater']['isMounted']=='function'&&kv['updater']['isMounted'](kv))kv['forceUpdate']();};d['ReactUtils']['getInstance']=function(kx){if(!d['ObjectUtils']['is'](kx))return null;return kx[Object['keys'](kx)['find'](ky=>ky['startsWith']('__reactInternalInstance'))];};d['ReactUtils']['getValue']=function(kz,kA){if(!kz||!kA)return null;var kB=Node['prototype']['isPrototypeOf'](kz)?d['ReactUtils']['getInstance'](kz):kz;if(!d['ObjectUtils']['is'](kB))return null;var kC=kB,kD=kA['split']('.')['filter'](kE=>kE);for(value of kD){if(!kC)return null;kC=kC[value];}return kC;};d['ReactUtils']['render']=function(kF,kG){if(!d['ReactUtils']['isValidElement'](kF)||!Node['prototype']['isPrototypeOf'](kG))return;try{ic['ReactDOM']['render'](kF,kG);let kH=new MutationObserver(kI=>kI['forEach'](kJ=>{let kK=Array['from'](kJ['removedNodes']);if(kK['indexOf'](kG)>-0x1||kK['some'](kL=>kL['contains'](kG))){kH['disconnect']();d['ReactUtils']['unmountComponentAtNode'](kG);}}));kH['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(kM){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20render\x20react\x20element!\x20'+kM);}};f['setDefaultProps']=function(kN,kO){if(d['ObjectUtils']['is'](kN))kN['defaultProps']=Object['assign']({},kN['defaultProps'],kO);};d['equals']=function(kP,kQ,kR){var kS=-0x1;if(kR===undefined||typeof kR!=='boolean')kR=![];return kT(kP,kQ);function kT(kU,kV){kS++;var kW=!![];if(kS>0x3e8)kW=null;else{if(typeof kU!==typeof kV)kW=![];else if(typeof kU==='undefined')kW=!![];else if(typeof kU==='symbol')kW=!![];else if(typeof kU==='boolean')kW=kU==kV;else if(typeof kU==='string')kW=kU==kV;else if(typeof kU==='number'){if(isNaN(kU)||isNaN(kV))kW=isNaN(kU)==isNaN(kV);else kW=kU==kV;}else if(!kU&&!kV)kW=!![];else if(!kU||!kV)kW=![];else if(typeof kU==='function'||typeof kU==='object'){var kX=Object['getOwnPropertyNames'](kU);var kY=Object['getOwnPropertyNames'](kV);if(kX['length']!==kY['length'])kW=![];else for(let kZ=0x0;kW===!![]&&kZll['folderId'])['find'](lm=>lm['guildIds']['includes'](lk));};d['GuildUtils']['getId']=function(ln){if(!Node['prototype']['isPrototypeOf'](ln)||!d['ReactUtils']['getInstance'](ln))return;let lo=d['DOMUtils']['getParent'](d['dotCN']['guildouter'],ln);if(!lo)return;var lp=lo['querySelector'](d['dotCN']['guildiconwrapper']);var lq=lp&&lp['href']?lp['href']['split']('/')['slice'](-0x2)[0x0]:null;return lq&&!isNaN(parseInt(lq))?lq['toString']():null;};d['GuildUtils']['getData']=function(lr){if(!lr)return null;let ls=Node['prototype']['isPrototypeOf'](lr)?d['GuildUtils']['getId'](lr):typeof lr=='object'?lr['id']:lr;ls=typeof ls=='number'?ls['toFixed']():ls;for(let lt of d['GuildUtils']['getAll']())if(lt&<['id']==ls)return lt;return null;};d['GuildUtils']['getAll']=function(){var lu=[],lv=[];for(let lw of d['ReactUtils']['findOwner'](document['querySelector'](d['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(lw['props']&&lw['props']['guild'])lv['push'](Object['assign'](new lw['props']['guild']['constructor'](lw['props']['guild']),{'div':lw['handleContextMenu']&&d['ReactUtils']['findDOMNode'](lw),'instance':lw}));}for(let lx of d['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let ly=null;for(let lz of lv)if(lz['id']==lx){ly=lz;break;}if(ly)lu['push'](ly);else{let lA=d['LibraryModules']['GuildStore']['getGuild'](lx);lu['push'](Object['assign'](new lA['constructor'](lA),{'div':null,'instance':null}));}}return lu;};d['GuildUtils']['getUnread']=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&&(ic['UnreadGuildUtils']['hasUnread'](lE)||ic['UnreadGuildUtils']['getMentionCount'](lE)>0x0))lC['push'](lD);}return lC;};d['GuildUtils']['getPinged']=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&&ic['UnreadGuildUtils']['getMentionCount'](lI)>0x0)lG['push'](lH);}return lG;};d['GuildUtils']['getMuted']=function(lJ){var lK=[];for(let lL of lJ===undefined||!d['ArrayUtils']['is'](lJ)?d['GuildUtils']['getAll']():lJ){if(!lL)return null;let lM=Node['prototype']['isPrototypeOf'](lL)?d['GuildUtils']['getId'](lL):typeof lL=='object'?lL['id']:lL;lM=typeof lM=='number'?lM['toFixed']():lM;if(lM&&ic['MutedUtils']['isGuildOrCategoryOrChannelMuted'](lM))lK['push'](lL);}return lK;};d['GuildUtils']['getSelected']=function(){var lN=ic['GuildStore']['getGuild'](ic['LastGuildStore']['getGuildId']());if(lN)return d['GuildUtils']['getData'](lN['id'])||Object['assign'](new lN['constructor'](lN),{'div':null,'instance':null});else return null;};d['GuildUtils']['openMenu']=function(lO,lP=d['InternalData']['mousePosition']){if(!lO)return;let lQ=Node['prototype']['isPrototypeOf'](lO)?d['GuildUtils']['getId'](lO):typeof lO=='object'?lO['id']:lO;let lR=ic['GuildStore']['getGuild'](lQ);if(lR)ic['ContextMenuUtils']['openContextMenu'](lP,function(lP){return d['ReactUtils']['createElement'](Ao['ContextMenus']['_Exports']['GuildContextMenu']&&Ao['ContextMenus']['_Exports']['GuildContextMenu']['default'],Object['assign']({},lP,{'type':d['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':lR,'badge':ic['UnreadGuildUtils']['getMentionCount'](lR['id']),'link':d['DiscordConstants']['Routes']['CHANNEL'](lR['id'],ic['LastChannelStore']['getChannelId'](lR['id'])),'selected':lR['id']==ic['LastGuildStore']['getGuildId']()}));});};d['GuildUtils']['markAsRead']=function(lT){if(!lT)return;var lU=[];for(let lV of d['ArrayUtils']['is'](lT)?lT:typeof lT=='string'||typeof lT=='number'?Array['of'](lT):Array['from'](lT)){let lW=Node['prototype']['isPrototypeOf'](lV)?d['GuildUtils']['getId'](lV):lV&&typeof lV=='object'?lV['id']:lV;let lX=lW&&ic['GuildChannelStore']['getChannels'](lW);if(lX)for(let lY in lX)if(d['ArrayUtils']['is'](lX[lY]))for(let lZ of lX[lY])lU['push'](lZ['channel']['id']);}if(lU['length'])ic['AckUtils']['bulkAck'](lU);};d['FolderUtils']={};d['FolderUtils']['getId']=function(m0){if(!Node['prototype']['isPrototypeOf'](m0)||!d['ReactUtils']['getInstance'](m0))return;m0=d['DOMUtils']['getParent'](d['dotCN']['guildfolderwrapper'],m0);if(!m0)return;return d['ReactUtils']['findValue'](m0,'folderId',{'up':!![]});};d['FolderUtils']['getDefaultName']=function(m1){let m2=d['LibraryModules']['FolderStore']['getGuildFolderById'](m1);if(!m2)return'';let m3=0x2*d['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let m4=[],m5=m2['guildIds']['map'](m6=>(d['LibraryModules']['GuildStore']['getGuild'](m6)||{})['name'])['filter'](m7=>m7);for(let m8 of m5)if(m8['length']{ic['AckUtils']['ack'](n3[n6]);},n6*0x3e8);};d['DataUtils']={};d['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};d['DataUtils']['save']=function(n8,n9,na,nb){let nc,nd;if(!d['BDUtils']['isBDv2']()){nd=typeof n9==='string'?n9:n9['name'];nc=i9['path']['join'](d['BDUtils']['getPluginsFolder'](),nd+'.config.json');}else{nd=typeof n9==='string'?n9['toLowerCase']():null;let ne=nd?d['Plugins'][nd]?d['Plugins'][nd]['contentPath']:null:n9['contentPath'];if(!ne)return;nc=i9['path']['join'](ne,'settings.json');}let nf=d['DataUtils']['cached'][nd]!==undefined?d['DataUtils']['cached'][nd]:f['readConfig'](nc)||{};if(na===undefined)nf=d['ObjectUtils']['is'](n8)?d['ObjectUtils']['sort'](n8):n8;else{if(nb===undefined)nf[na]=d['ObjectUtils']['is'](n8)?d['ObjectUtils']['sort'](n8):n8;else{if(!d['ObjectUtils']['is'](nf[na]))nf[na]={};nf[na][nb]=d['ObjectUtils']['is'](n8)?d['ObjectUtils']['sort'](n8):n8;}}let ng=d['ObjectUtils']['is'](nf);if(na!==undefined&&ng&&d['ObjectUtils']['is'](nf[na])&&d['ObjectUtils']['isEmpty'](nf[na]))delete nf[na];if(d['ObjectUtils']['isEmpty'](nf)){delete d['DataUtils']['cached'][nd];if(i9['fs']['existsSync'](nc))i9['fs']['unlinkSync'](nc);}else{if(ng)nf=d['ObjectUtils']['sort'](nf);d['DataUtils']['cached'][nd]=ng?d['ObjectUtils']['deepAssign']({},nf):nf;i9['fs']['writeFileSync'](nc,JSON['stringify'](nf,null,'\x09'));}};d['DataUtils']['load']=function(nh,ni,nj){let nk,nl;if(!d['BDUtils']['isBDv2']()){nl=typeof nh==='string'?nh:nh['name'];nk=i9['path']['join'](d['BDUtils']['getPluginsFolder'](),nl+'.config.json');}else{nl=typeof nh==='string'?nh['toLowerCase']():null;let nm=nl?d['Plugins'][nl]?d['Plugins'][nl]['contentPath']:null:nh['contentPath'];if(!nm)return{};nk=i9['path']['join'](nm,'settings.json');}let nn=d['DataUtils']['cached'][nl]!==undefined?d['DataUtils']['cached'][nl]:f['readConfig'](nk)||{};let no=d['ObjectUtils']['is'](nn);d['DataUtils']['cached'][nl]=no?d['ObjectUtils']['deepAssign']({},nn):nn;if(ni===undefined)return nn;else{let np=no?d['ObjectUtils']['is'](nn[ni])||nn[ni]==undefined?d['ObjectUtils']['deepAssign']({},nn[ni]):nn[ni]:null;if(nj===undefined)return np;else return!d['ObjectUtils']['is'](np)||np[nj]===undefined?null:np[nj];}};d['DataUtils']['remove']=function(nq,nr,ns){let nt,nu;if(!d['BDUtils']['isBDv2']()){nu=typeof nq==='string'?nq:nq['name'];nt=i9['path']['join'](d['BDUtils']['getPluginsFolder'](),nu+'.config.json');}else{nu=typeof nq==='string'?nq['toLowerCase']():null;let nv=nu?d['Plugins'][nu]?d['Plugins'][nu]['contentPath']:null:nq['contentPath'];if(!nv)return;nt=i9['path']['join'](nv,'settings.json');}let nw=d['DataUtils']['cached'][nu]!==undefined?d['DataUtils']['cached'][nu]:f['readConfig'](nt)||{};let nx=d['ObjectUtils']['is'](nw);if(nr===undefined||!nx)nw={};else{if(ns===undefined)delete nw[nr];else if(d['ObjectUtils']['is'](nw[nr]))delete nw[nr][ns];}if(d['ObjectUtils']['is'](nw[nr])&&d['ObjectUtils']['isEmpty'](nw[nr]))delete nw[nr];if(d['ObjectUtils']['isEmpty'](nw)){delete d['DataUtils']['cached'][nu];if(i9['fs']['existsSync'](nt))i9['fs']['unlinkSync'](nt);}else{if(nx)nw=d['ObjectUtils']['sort'](nw);d['DataUtils']['cached'][nu]=nx?d['ObjectUtils']['deepAssign']({},nw):nw;i9['fs']['writeFileSync'](nt,JSON['stringify'](nw,null,'\x09'));}};d['DataUtils']['get']=function(ny,nz,nA){ny=typeof ny=='string'?d['BDUtils']['getPlugin'](ny):ny;if(!d['ObjectUtils']['is'](ny)||!ny['defaults']||!ny['defaults'][nz])return nA===undefined?{}:null;var nB=d['DataUtils']['load'](ny,nz),nC={},nD=![];for(let nE in ny['defaults'][nz]){if(nB[nE]==null){nC[nE]=d['ObjectUtils']['is'](ny['defaults'][nz][nE]['value'])?d['ObjectUtils']['deepAssign']({},ny['defaults'][nz][nE]['value']):ny['defaults'][nz][nE]['value'];nD=!![];}else nC[nE]=nB[nE];}if(nD)d['DataUtils']['save'](nC,ny,nz);if(nA===undefined)return nC;else return nC[nA]===undefined?null:nC[nA];};f['readConfig']=function(nF){try{return JSON['parse'](i9['fs']['readFileSync'](nF));}catch(nG){return{};}};d['ColorUtils']={};d['ColorUtils']['convert']=function(nH,nI,nJ){if(d['ObjectUtils']['is'](nH)){var nK={};for(let nL in nH)nK[nL]=d['ColorUtils']['convert'](nH[nL],nI,nJ);return nK;}else{nI=nI===undefined||!nI?nI='RGBCOMP':nI['toUpperCase']();nJ=nJ===undefined||!nJ||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](nJ['toUpperCase']())?d['ColorUtils']['getType'](nH):nJ['toUpperCase']();if(nI=='RGBCOMP'){switch(nJ){case'RGBCOMP':if(nH['length']==0x3)return ol(nH);else if(nH['length']==0x4){let nM=oo(nH['pop']());return ol(nH)['concat'](nM);}break;case'RGB':return ol(nH['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let nN=nH['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let nM=oo(nN['pop']());return ol(nN)['concat'](nM);case'HSLCOMP':if(nH['length']==0x3)return d['ColorUtils']['convert']('hsl('+os(nH)['join'](',')+')','RGBCOMP');else if(nH['length']==0x4){let nP=oo(nH['pop']());return d['ColorUtils']['convert']('hsl('+os(nH)['join'](',')+')','RGBCOMP')['concat'](nP);}break;case'HSL':var nQ=os(nH['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var nR,nS,nT,nU,nV,nW,nX,nY;var nZ=nQ[0x0]/0x168,o0=parseInt(nQ[0x1])/0x64,o1=parseInt(nQ[0x2])/0x64;nU=Math['floor'](nZ*0x6);nV=nZ*0x6-nU;nW=o1*(0x1-o0);nX=o1*(0x1-nV*o0);nY=o1*(0x1-(0x1-nV)*o0);switch(nU%0x6){case 0x0:nR=o1,nS=nY,nT=nW;break;case 0x1:nR=nX,nS=o1,nT=nW;break;case 0x2:nR=nW,nS=o1,nT=nY;break;case 0x3:nR=nW,nS=nX,nT=o1;break;case 0x4:nR=nY,nS=nW,nT=o1;break;case 0x5:nR=o1,nS=nW,nT=nX;break;}return[Math['round'](nR*0xff),Math['round'](nS*0xff),Math['round'](nT*0xff)];case'HSLA':var nQ=nH['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return d['ColorUtils']['convert']('hsl('+nQ['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](oo(nQ['pop']()));case'HEX':var o3=/^#([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'](nH);return[parseInt(o3[0x1]+o3[0x1]||o3[0x4],0x10)['toString'](),parseInt(o3[0x2]+o3[0x2]||o3[0x5],0x10)['toString'](),parseInt(o3[0x3]+o3[0x3]||o3[0x6],0x10)['toString']()];case'HEXA':var o3=/^#([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'](nH);return[parseInt(o3[0x1]+o3[0x1]||o3[0x5],0x10)['toString'](),parseInt(o3[0x2]+o3[0x2]||o3[0x6],0x10)['toString'](),parseInt(o3[0x3]+o3[0x3]||o3[0x7],0x10)['toString'](),Math['floor'](d['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(o3[0x4]+o3[0x4]||o3[0x8],0x10)['toString']()))/0x64];case'INT':nH=ow(nH);return[(nH>>0x10&0xff)['toString'](),(nH>>0x8&0xff)['toString'](),(nH&0xff)['toString']()];default:return null;}}else{var o5=nJ=='RGBCOMP'?nH:d['ColorUtils']['convert'](nH,'RGBCOMP',nJ);if(o5)switch(nI){case'RGB':return'rgb('+ol(o5['slice'](0x0,0x3))['join'](',')+')';case'RGBA':o5=o5['slice'](0x0,0x4);var o6=o5['length']==0x4?oo(o5['pop']()):0x1;return'rgba('+ol(o5)['concat'](o6)['join'](',')+')';case'HSLCOMP':var o6=o5['length']==0x4?oo(o5['pop']()):null;var nQ=os(d['ColorUtils']['convert'](o5,'HSL')['replace'](/\s/g,'')['split'](','));return o6!=null?nQ['concat'](o6):nQ;case'HSL':var nR=oj(o5[0x0]),nS=oj(o5[0x1]),nT=oj(o5[0x2]);var oc=Math['max'](nR,nS,nT),od=Math['min'](nR,nS,nT),oe=oc-od,nZ,o0=oc===0x0?0x0:oe/oc,o1=oc/0xff;switch(oc){case od:nZ=0x0;break;case nR:nZ=nS-nT+oe*(nS0xff?0xff:nV<0x0?0x0:nV;}};function ol(om){return om['map'](nV=>{return oj(nV);});};function oo(o6){if(o6==null){return 0x1;}else{o6=o6['toString']();o6=(o6['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(o6['replace'](/[^0-9\.\-]/g,''));return isNaN(o6)||o6>0x1?0x1:o6<0x0?0x0:o6;}};function oq(or){if(or==null){return'100%';}else{or=parseFloat(or['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(or)||or>0x64?0x64:or<0x0?0x0:or)+'%';}};function os(ot){let nZ=parseFloat(ot['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));nZ=isNaN(nZ)||nZ>0x168?0x168:nZ<0x0?0x0:nZ;return[nZ]['concat'](ot['map'](ov=>{return oq(ov);}));};function ow(nV){if(nV==null){return 0xffffff;}else{nV=parseInt(nV['toString']()['replace'](/[^0-9]/g,''));return isNaN(nV)||nV>0xffffff?0xffffff:nV<0x0?0x0:nV;}};};d['ColorUtils']['setAlpha']=function(oy,oz,oA){if(d['ObjectUtils']['is'](oy)){var oB={};for(let oC in oy)oB[oC]=d['ColorUtils']['setAlpha'](oy[oC],oz,oA);return oB;}else{var oD=d['ColorUtils']['convert'](oy,'RGBCOMP');if(oD){oz=oz['toString']();oz=(oz['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oz['replace'](/[^0-9\.\-]/g,''));oz=isNaN(oz)||oz>0x1?0x1:oz<0x0?0x0:oz;oD[0x3]=oz;oA=(oA||d['ColorUtils']['getType'](oy))['toUpperCase']();oA=oA=='RGB'||oA=='HSL'||oA=='HEX'?oA+'A':oA;return d['ColorUtils']['convert'](oD,oA);}}return null;};d['ColorUtils']['getAlpha']=function(oE){var oF=d['ColorUtils']['convert'](oE,'RGBCOMP');if(oF){if(oF['length']==0x3)return 0x1;else if(oF['length']==0x4){let oG=oF[0x3]['toString']();oG=(oG['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oG['replace'](/[^0-9\.\-]/g,''));return isNaN(oG)||oG>0x1?0x1:oG<0x0?0x0:oG;}}return null;};d['ColorUtils']['change']=function(oH,oI,oJ){oI=parseFloat(oI);if(oH!=null&&typeof oI=='number'&&!isNaN(oI)){if(d['ObjectUtils']['is'](oH)){var oK={};for(let oL in oH)oK[oL]=d['ColorUtils']['change'](oH[oL],oI,oJ);return oK;}else{var oM=d['ColorUtils']['convert'](oH,'RGBCOMP');if(oM){if(parseInt(oI)!==oI){oI=oI['toString']();oI=(oI['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oI['replace'](/[^0-9\.\-]/g,''));oI=isNaN(oI)?0x0:oI;return d['ColorUtils']['convert']([Math['round'](oM[0x0]*(0x1+oI)),Math['round'](oM[0x1]*(0x1+oI)),Math['round'](oM[0x2]*(0x1+oI))],oJ||d['ColorUtils']['getType'](oH));}else return d['ColorUtils']['convert']([Math['round'](oM[0x0]+oI),Math['round'](oM[0x1]+oI),Math['round'](oM[0x2]+oI)],oJ||d['ColorUtils']['getType'](oH));}}}return null;};d['ColorUtils']['invert']=function(oN,oO){if(d['ObjectUtils']['is'](oN)){var oP={};for(let oQ in oN)oP[oQ]=d['ColorUtils']['invert'](oN[oQ],oO);return oP;}else{var oR=d['ColorUtils']['convert'](oN,'RGBCOMP');if(oR)return d['ColorUtils']['convert']([0xff-oR[0x0],0xff-oR[0x1],0xff-oR[0x2]],oO||d['ColorUtils']['getType'](oN));}return null;};d['ColorUtils']['compare']=function(oS,oT){if(oS&&oT){oS=d['ColorUtils']['convert'](oS,'RGBA');oT=d['ColorUtils']['convert'](oT,'RGBA');if(oS&&oT)return d['equals'](oS,oT);}return null;};d['ColorUtils']['isBright']=function(oU,oV=0xa0){oU=d['ColorUtils']['convert'](oU,'RGBCOMP');if(!oU)return![];return parseInt(oV)