diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index cad45a9cd0..e49382554c 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1022,19 +1022,13 @@
InviteCard: "InviteRow",
MemberCard: "Member",
PopoutContainer: "Popout",
- QuickSwitchChannelResult: "Channel",
- QuickSwitchGuildResult: "Guild",
QuickSwitchResult: "Result",
- QuickSwitchUserResult: "User",
UserProfile: "UserProfileBody",
WebhookCard: "Webhook"
};
WebModulesData.ForceObserve = [
"DirectMessage",
- "GuildIcon",
- "QuickSwitchChannelResult",
- "QuickSwitchGuildResult",
- "QuickSwitchUserResult"
+ "GuildIcon"
];
WebModulesData.DefaultRender = [
"DiscordTag",
@@ -1054,7 +1048,11 @@
]);
WebModulesData.LoadedInComponents = {
AutocompleteChannelResult: "AutocompleteComponents.Channel",
- AutocompleteUserResult: "AutocompleteComponents.User"
+ AutocompleteUserResult: "AutocompleteComponents.User",
+ QuickSwitchChannelResult: "QuickSwitchComponents.Channel",
+ QuickSwitchGroupDMResult: "QuickSwitchComponents.GroupDM",
+ QuickSwitchGuildResult: "QuickSwitchComponents.Guild",
+ QuickSwitchUserResult: "QuickSwitchComponents.User"
};
WebModulesData.Patchfinder = {
Account: "accountinfo",
@@ -7740,6 +7738,10 @@
}
};
+ LibraryComponents.QuickSwitchComponents = Object.assign({}, BDFDB.ModuleUtils.findByProperties("Channel", "GroupDM", "Header"));
+
+ LibraryComponents.QuickSwitchComponents.Menu = BDFDB.ModuleUtils.findByName("QuickSwitcher");
+
LibraryComponents.RadioGroup = BDFDB.ReactUtils.getValue(window.BDFDB, "LibraryComponents.RadioGroup") || reactInitialized && class BDFDB_RadioGroup extends LibraryModules.React.Component {
handleChange(value) {
this.props.value = value.value;
diff --git a/Plugins/BDFDB.min.js b/Plugins/BDFDB.min.js
index af2ee8b48f..a3939b1538 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},'componentPatchQueries':{}},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;};f['defaults']={'settings':{'showToasts':{'value':!![],'description':'Show\x20Plugin\x20start\x20and\x20stop\x20Toasts'},'showSupportBadges':{'value':!![],'description':'Show\x20little\x20Badges\x20for\x20Users\x20who\x20support\x20my\x20Patreon'},'addSupportLinks':{'value':!![],'description':'Add\x20PayPal/Patreon\x20links\x20to\x20my\x20Plugin\x20Entries'}}};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=>f7['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['DataUtils']['get'](d,'settings','showToasts'))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['addSpecialListeners'](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['DataUtils']['get'](d,'settings','showToasts'))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);for(let w in d['InternalData']['componentPatchQueries'])d['ArrayUtils']['remove'](d['InternalData']['componentPatchQueries'][w]['query'],t,!![]);for(let x of document['querySelectorAll']('.'+t['name']+'-modal,\x20.'+t['name']['toLowerCase']()+'-modal,\x20.'+t['name']+'-settingsmodal,\x20.'+t['name']['toLowerCase']()+'-settingsmodal')){let y=x['querySelector'](d['dotCN']['modalclose']);if(y)y['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(A){A['labels']={};if(typeof A['setLabelsByLanguage']==='function'||typeof A['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])D();else{var B=d['TimeUtils']['interval'](c=>{if(document['querySelector']('html')['lang']){d['TimeUtils']['clear'](B);D();}},0x64);}function D(){var E=d['LanguageUtils']['getLanguage']();if(typeof A['setLabelsByLanguage']==='function')A['labels']=A['setLabelsByLanguage'](E['id']);if(typeof A['changeLanguageStrings']==='function')A['changeLanguageStrings']();d['LogUtils']['log'](d['LanguageUtils']['LibraryStringsFormat']('toast_plugin_translated',E['ownlang']),A['name']);}}};d['PluginUtils']['checkUpdate']=function(F,G){if(d['BDUtils']['isBDv2']()||!F||!G)return;i0['request'](G,(H,I,J)=>{if(H)return;var K=J['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!K)return;if(d['NumberUtils']['getVersionDifference'](K[0x0],window['PluginUpdates']['plugins'][G]['version'])>0.2){d['NotificationUtils']['toast'](F+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});d['PluginUtils']['downloadUpdate'](F,G);}else if(d['NumberUtils']['compareVersions'](K[0x0],window['PluginUpdates']['plugins'][G]['version']))d['PluginUtils']['showUpdateNotice'](F,G);else d['PluginUtils']['removeUpdateNotice'](F);});};d['PluginUtils']['checkAllUpdates']=function(){for(let L in window['PluginUpdates']['plugins']){var M=window['PluginUpdates']['plugins'][L];d['PluginUtils']['checkUpdate'](M['name'],M['raw']);}};d['PluginUtils']['showUpdateNotice']=function(N,O){if(!N||!O)return;var P=document['querySelector']('#pluginNotice');if(!P){P=d['NotificationUtils']['notice']('The\x20following\x20plugins\x20need\x20to\x20be\x20updated: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!d['BDUtils']['isAutoLoadEnabled']()?'Reload':'','customicon':''});P['style']['setProperty']('display','block','important');P['style']['setProperty']('visibility','visible','important');P['style']['setProperty']('opacity','1','important');P['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{d['DOMUtils']['remove']('.update-clickme-tooltip');});let R=P['querySelector'](d['dotCN']['noticebutton']);if(R){d['DOMUtils']['toggle'](R,!![]);R['addEventListener']('click',c=>{i0['electron']['remote']['getCurrentWindow']()['reload']();});R['addEventListener']('mouseenter',c=>{if(window['PluginUpdates']['downloaded'])d['TooltipUtils']['create'](R,window['PluginUpdates']['downloaded']['join'](',\x20'),{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(P){var U=P['querySelector']('#outdatedPlugins');if(U&&!U['querySelector']('#'+N+'-notice')){if(U['querySelector']('span'))U['appendChild'](d['DOMUtils']['create'](',\x20'));var V=d['DOMUtils']['create'](''+N+'');V['addEventListener']('click',c=>{d['PluginUtils']['downloadUpdate'](N,O);});U['appendChild'](V);if(!document['querySelector']('.update-clickme-tooltip'))d['TooltipUtils']['create'](U,'Click\x20us!',{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};d['PluginUtils']['removeUpdateNotice']=function(X,Y=document['querySelector']('#pluginNotice')){if(!X||!Y)return;var Z=Y['querySelector']('#outdatedPlugins');if(Z){var a0=Z['querySelector']('#'+X+'-notice');if(a0){var a1=a0['nextSibling'];var a2=a0['prevSibling'];if(a1&&d['DOMUtils']['containsClass'](a1,'separator'))a1['remove']();else if(a2&&d['DOMUtils']['containsClass'](a2,'separator'))a2['remove']();a0['remove']();}if(!Z['querySelector']('span')){var a3=Y['querySelector'](d['dotCN']['noticebutton']);if(a3){Y['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';d['DOMUtils']['toggle'](a3,![]);}else Y['querySelector'](d['dotCN']['noticedismiss'])['click']();}}};d['PluginUtils']['downloadUpdate']=function(a4,a5){if(!a4||!a5)return;i0['request'](a5,(a6,a7,a8)=>{if(a6)return d['LogUtils']['warn']('Unable\x20to\x20get\x20update\x20for\x20'+a4);d['InternalData']['creationTime']=0x0;var a9=a8['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);a9=a9['toString']()['replace'](/['"]/g,'');i0['fs']['writeFileSync'](i0['path']['join'](d['BDUtils']['getPluginsFolder'](),a5['split']('/')['slice'](-0x1)[0x0]),a8);d['NotificationUtils']['toast'](a4+'\x20v'+window['PluginUpdates']['plugins'][a5]['version']+'\x20has\x20been\x20replaced\x20by\x20'+a4+'\x20v'+a9+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var aa=document['querySelector']('#pluginNotice');if(aa){if(aa['querySelector'](d['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][a5]['version']=a9;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](a4))window['PluginUpdates']['downloaded']['push'](a4);}d['PluginUtils']['removeUpdateNotice'](a4,aa);}});};d['PluginUtils']['checkChangeLog']=function(ab){if(!d['ObjectUtils']['is'](ab)||!ab['changelog'])return;var ac=d['DataUtils']['load'](ab,'changelog');if(!ac['currentversion']||d['NumberUtils']['compareVersions'](ab['version'],ac['currentversion'])){ac['currentversion']=ab['version'];d['DataUtils']['save'](ac,ab,'changelog');d['PluginUtils']['openChangeLog'](ab);}};d['PluginUtils']['openChangeLog']=function(ad){if(!d['ObjectUtils']['is'](ad)||!ad['changelog'])return;var ae='',af={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let ag in ad['changelog']){ag=ag['toLowerCase']();var ah=d['disCN']['changelog'+ag];if(ah){ae+='
'+af[ag]+'
';for(let ai of ad['changelog'][ag])ae+='- '+ai[0x0]+''+(ai[0x1]?':\x20'+ai[0x1]+'.':'')+'
';ae+='
';}}if(ae)d['ModalUtils']['open'](ad,{'header':ad['name']+'\x20'+d['LanguageUtils']['LanguageStrings']['CHANGE_LOG'],'subheader':'Version\x20'+ad['version'],'children':d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](ae)),'className':d['disCN']['modalchangelogmodal'],'contentClassName':d['disCNS']['changelogcontainer']+d['disCN']['modalminicontent']});};d['PluginUtils']['addLoadingIcon']=function(aj){if(!Node['prototype']['isPrototypeOf'](aj))return;d['DOMUtils']['addClass'](aj,d['disCN']['loadingicon']);let ak=document['querySelector'](d['dotCN']['app']+'>'+d['dotCN']['loadingiconwrapper']);if(!ak){ak=d['DOMUtils']['create']('');document['querySelector'](d['dotCN']['app'])['appendChild'](ak);let al=new MutationObserver(am=>{if(!ak['firstElementChild'])d['DOMUtils']['remove'](ak);});al['observe'](ak,{'childList':!![]});}ak['appendChild'](aj);};d['PluginUtils']['createSettingsPanel']=function(an,ao){if(!d['ObjectUtils']['is'](an)||!ao||!d['ReactUtils']['isValidElement'](ao)&&!d['ArrayUtils']['is'](ao)||d['ArrayUtils']['is'](ao)&&!ao['length'])return;let ap=d['DOMUtils']['create']('');d['ReactUtils']['render'](d['ReactUtils']['createElement'](Ae['SettingsPanel'],{'key':an['name']+'-settingspanel','title':an['name']=='$BDFDB'?'BDFDB':an['name'],'children':ao}),ap);return ap;};d['PluginUtils']['refreshSettingsPanel']=function(aq,ar,...as){if(!d['ObjectUtils']['is'](aq)||typeof aq['getSettingsPanel']!='function'||!Node['prototype']['isPrototypeOf'](ar)||!ar['parentElement'])return;ar['parentElement']['appendChild'](aq['getSettingsPanel'](...as));ar['remove']();};f['clearStartTimeout']=function(at){if(!d['ObjectUtils']['is'](at))return;d['TimeUtils']['clear'](at['startTimeout'],at['libLoadTimeout']);delete at['startTimeout'];delete at['libLoadTimeout'];};f['addSpecialListeners']=function(au){if(d['ObjectUtils']['is'](au)){if(typeof au['onSettingsClosed']==='function'){let av=d['ModuleUtils']['findByName']('StandardSidebarView');if(av)d['ModuleUtils']['patch'](au,av['prototype'],'componentWillUnmount',{'after':aw=>{au['onSettingsClosed']();}});}if(typeof au['onSwitch']==='function'){let ax=document['querySelector'](d['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+d['dotCN']['chatspacer']);if(ax){let ay=new MutationObserver(az=>{az['forEach'](aA=>{if(aA['target']&&d['DOMUtils']['containsClass'](aA['target'],d['disCN']['nochannel']))au['onSwitch']();});});d['ObserverUtils']['connect'](au,ax['querySelector'](d['dotCNC']['chat']+d['dotCN']['nochannel']),{'name':'switchFixNoChannelObserver','instance':ay},{'attributes':!![]});let aB=new MutationObserver(aC=>{aC['forEach'](aD=>{if(aD['addedNodes']){aD['addedNodes']['forEach'](aE=>{if(d['DOMUtils']['containsClass'](aE,d['disCN']['chat'],d['disCN']['nochannel'],![])){d['ObserverUtils']['connect'](au,aE,{'name':'switchFixNoChannelObserver','instance':ay},{'attributes':!![]});}});}});});d['ObserverUtils']['connect'](au,ax,{'name':'switchFixSpacerObserver','instance':aB},{'childList':!![]});}}f['addContextListeners'](au);}};d['ObserverUtils']={};d['ObserverUtils']['connect']=function(aF,aG,aH,aI={'childList':!![]}){if(!d['ObjectUtils']['is'](aF)||!aG||!aH)return;if(d['ObjectUtils']['isEmpty'](aF['observers']))aF['observers']={};if(!d['ArrayUtils']['is'](aF['observers'][aH['name']]))aF['observers'][aH['name']]=[];if(!aH['multi'])for(let aJ of aF['observers'][aH['name']])aJ['disconnect']();if(aH['instance'])aF['observers'][aH['name']]['push'](aH['instance']);var aK=aF['observers'][aH['name']][aF['observers'][aH['name']]['length']-0x1];if(aK){var aL=Node['prototype']['isPrototypeOf'](aG)?aG:typeof aG==='string'?document['querySelector'](aG):null;if(aL)aK['observe'](aL,aI);}};d['ObserverUtils']['disconnect']=function(aM,aN){if(d['ObjectUtils']['is'](aM)&&!d['ObjectUtils']['isEmpty'](aM['observers'])){let aO=typeof aN=='string'?aN:d['ObjectUtils']['is'](aN)?aN['name']:null;if(!aO){for(let aN in aM['observers'])for(let aQ of aM['observers'][aN])aQ['disconnect']();delete aM['observers'];}else if(!d['ArrayUtils']['is'](aM['observers'][aO])){for(let aR of aM['observers'][aO])aR['disconnect']();delete aM['observers'][aO];}}};d['ListenerUtils']={};d['ListenerUtils']['add']=function(aS,aT,aU,aV,aW){if(!d['ObjectUtils']['is'](aS)||!Node['prototype']['isPrototypeOf'](aT)&&aT!==window||!aU)return;var aX=typeof aV=='function';var aY=aX?undefined:aV;var aZ=aX?aV:aW;if(typeof aZ!='function')return;d['ListenerUtils']['remove'](aS,aT,aU,aY);for(var b0 of aU['split']('\x20')){b0=b0['split']('.');var b1=b0['shift']()['toLowerCase']();if(!b1)return;var b2=b1;b1=b1=='mouseenter'||b1=='mouseleave'?'mouseover':b1;var b3=(b0['join']('.')||'')+aS['name'];if(!d['ArrayUtils']['is'](aS['listeners']))aS['listeners']=[];var b4=null;if(aY){if(b2=='mouseenter'||b2=='mouseleave'){b4=b5=>{for(let b6 of b5['path'])if(typeof b6['matches']=='function'&&b6['matches'](aY)&&!b6[b3+'BDFDB'+b2]){b6[b3+'BDFDB'+b2]=!![];if(b2=='mouseenter')aZ(d['ListenerUtils']['copyEvent'](b5,b6));let b7=b8=>{if(b8['target']['contains'](b6)||b8['target']==b6||!b6['contains'](b8['target'])){if(b2=='mouseleave')aZ(d['ListenerUtils']['copyEvent'](b5,b6));delete b6[b3+'BDFDB'+b2];document['removeEventListener']('mouseout',b7);}};document['addEventListener']('mouseout',b7);break;}};}else{b4=b9=>{for(let ba of b9['path'])if(typeof ba['matches']=='function'&&ba['matches'](aY)){aZ(d['ListenerUtils']['copyEvent'](b9,ba));break;}};}}else b4=bb=>{aZ(d['ListenerUtils']['copyEvent'](bb,aT));};aS['listeners']['push']({'ele':aT,'eventname':b1,'origeventname':b2,'namespace':b3,'selector':aY,'eventcallback':b4});aT['addEventListener'](b1,b4,!![]);}};d['ListenerUtils']['remove']=function(bc,bd,be='',bf){if(!d['ObjectUtils']['is'](bc)||!d['ArrayUtils']['is'](bc['listeners']))return;if(Node['prototype']['isPrototypeOf'](bd)||bd===window){for(var bg of be['split']('\x20')){bg=bg['split']('.');var bh=bg['shift']()['toLowerCase']();var bi=(bg['join']('.')||'')+bc['name'];for(let bj of bc['listeners']){let bk=[];if(bj['ele']==bd&&(!bh||bj['origeventname']==bh)&&bj['namespace']==bi&&(bf===undefined||bj['selector']==bf)){bd['removeEventListener'](bj['eventname'],bj['eventcallback'],!![]);bk['push'](bj);}if(bk['length'])bc['listeners']=bc['listeners']['filter'](bj=>{return bk['indexOf'](bj)<0x0;});}}}else if(!bd){for(let bm of bc['listeners'])bm['ele']['removeEventListener'](bm['eventname'],bm['eventcallback'],!![]);bc['listeners']=[];}};d['ListenerUtils']['multiAdd']=function(bn,bo,bp){if(!Node['prototype']['isPrototypeOf'](bn)||!bo||typeof bp!='function')return;for(var bq of bo['trim']()['split']('\x20')['filter'](br=>br))bn['addEventListener'](bq,bp,!![]);};d['ListenerUtils']['multiRemove']=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['removeEventListener'](bv,bu,!![]);};d['ListenerUtils']['addToChildren']=function(bx,by,bz,bA){if(!Node['prototype']['isPrototypeOf'](bx)||!by||!bz||!bz['trim']()||typeof bA!='function')return;for(var bB of by['trim']()['split']('\x20')['filter'](bC=>bC)){var bD=bA;if(bB=='mouseenter'||bB=='mouseleave')bD=bE=>{if(bE['target']['matches'](bz))bA(bE);};bx['querySelectorAll'](bz['trim']())['forEach'](bF=>{bF['addEventListener'](bB,bD,!![]);});}};d['ListenerUtils']['copyEvent']=function(bG,bH){if(!bG||!bG['constructor']||!bG['type'])return bG;var bI=new bG['constructor'](bG['type'],bG);Object['defineProperty'](bI,'originalEvent',{'value':bG});Object['defineProperty'](bI,'which',{'value':bG['which']});Object['defineProperty'](bI,'keyCode',{'value':bG['keyCode']});Object['defineProperty'](bI,'path',{'value':bG['path']});Object['defineProperty'](bI,'relatedTarget',{'value':bG['relatedTarget']});Object['defineProperty'](bI,'srcElement',{'value':bG['srcElement']});Object['defineProperty'](bI,'target',{'value':bG['target']});Object['defineProperty'](bI,'toElement',{'value':bG['toElement']});if(bH)Object['defineProperty'](bI,'currentTarget',{'value':bH});return bI;};d['ListenerUtils']['stopEvent']=function(bJ){if(d['ObjectUtils']['is'](bJ)){if(typeof bJ['preventDefault']=='function')bJ['preventDefault']();if(typeof bJ['stopPropagation']=='function')bJ['stopPropagation']();if(typeof bJ['stopImmediatePropagation']=='function')bJ['stopImmediatePropagation']();if(d['ObjectUtils']['is'](bJ['originalEvent'])){if(typeof bJ['originalEvent']['preventDefault']=='function')bJ['originalEvent']['preventDefault']();if(typeof bJ['originalEvent']['stopPropagation']=='function')bJ['originalEvent']['stopPropagation']();if(typeof bJ['originalEvent']['stopImmediatePropagation']=='function')bJ['originalEvent']['stopImmediatePropagation']();}}};var bK=[],bL={'queue':[],'running':![]};d['NotificationUtils']={};d['NotificationUtils']['toast']=function(bM,bN={}){let bO=document['querySelector']('.toasts,\x20.bd-toasts');if(!bO){let bP=document['querySelector'](d['dotCN']['channels']+'\x20+\x20div');let bQ=bP?d['DOMUtils']['getRects'](bP):null;let bR=bP?bP['querySelector'](d['dotCN']['memberswrap']):null;let bS=bQ?bQ['left']:0x136;let bT=bQ?bR?bQ['width']-d['DOMUtils']['getRects'](bR)['width']:bQ['width']:window['outerWidth']-0x0;let bU=bP?bP['querySelector']('form'):null;let bV=bU?d['DOMUtils']['getRects'](bU)['height']:0x50;bO=d['DOMUtils']['create']('');(document['querySelector'](d['dotCN']['app'])||document['body'])['appendChild'](bO);}const {E4='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=bN;let bW=d['DOMUtils']['create'](''+(html===!![]?bM:d['StringUtils']['htmlEscape'](bM))+'
');if(E4){d['DOMUtils']['addClass'](bW,'toast-'+E4);if(icon)d['DOMUtils']['addClass'](bW,'icon');}else if(color){let bX=d['ColorUtils']['convert'](color,'RGB');if(bX)bW['style']['setProperty']('background-color',bX);}d['DOMUtils']['addClass'](bW,selector);bO['appendChild'](bW);bW['close']=c=>{if(document['contains'](bW)){d['DOMUtils']['addClass'](bW,'closing');bW['style']['setProperty']('pointer-events','none','important');d['TimeUtils']['timeout'](c=>{bW['remove']();if(!bO['querySelectorAll']('.toast,\x20.bd-toast')['length'])bO['remove']();},0xbb8);}};if(nopointer)bW['style']['setProperty']('pointer-events','none','important');else bW['addEventListener']('click',bW['close']);d['TimeUtils']['timeout'](c=>{bW['close']();},timeout>0x0?timeout:0x927c0);return bW;};d['NotificationUtils']['desktop']=function(c1,c2={}){var c3=c=>{bL['queue']['push']({'parsedcontent':c1,'parsedoptions':c2});c5();};var c5=c=>{if(!bL['running']){var c7=bL['queue']['shift']();if(c7)c8(c7['parsedcontent'],c7['parsedoptions']);}};var c8=(c9,ca)=>{bL['running']=!![];var cb=ca['silent'];ca['silent']=ca['silent']||ca['sound']?!![]:![];var cc=new Notification(c9,ca);var cd=new Audio();var ce=d['TimeUtils']['timeout'](c=>{ch();},ca['timeout']?ca['timeout']:0xbb8);if(typeof ca['click']=='function')cc['onclick']=c=>{d['TimeUtils']['clear'](ce);ch();ca['click']();};if(!cb&&ca['sound']){cd['src']=ca['sound'];cd['play']();}var ch=c=>{cd['pause']();cc['close']();bL['running']=![];d['TimeUtils']['timeout'](c=>{c5();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')c3();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(ck){if(ck==='granted')c3();});};d['NotificationUtils']['notice']=function(cl,cm={}){if(!cl)return;var cn=document['querySelector'](d['dotCN']['layers']);if(!cn)return;var co=d['NumberUtils']['generateId'](bK);var cp=d['DOMUtils']['create']('');cn['parentElement']['insertBefore'](cp,cn);var cq=cp['querySelector']('.notice-message');if(cm['platform'])for(let cr of cm['platform']['split']('\x20'))if(zh['noticeicon'+cr]){let cs=d['DOMUtils']['create']('');d['DOMUtils']['addClass'](cs,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cs,d['disCN']['noticeicon']);cp['insertBefore'](cs,cq);}if(cm['customicon']){let ct=d['DOMUtils']['create'](cm['customicon']);let cs=d['DOMUtils']['create']('');if(ct['tagName']=='span'&&!ct['firstElementChild'])cs['style']['setProperty']('background','url('+cm['customicon']+')\x20center/cover\x20no-repeat');else cs['appendChild'](ct);d['DOMUtils']['addClass'](cs,d['disCN']['noticeplatformicon']);d['DOMUtils']['removeClass'](cs,d['disCN']['noticeicon']);cp['insertBefore'](cs,cq);}if(cm['btn']||cm['button'])cp['appendChild'](d['DOMUtils']['create'](''));if(cm['id'])cp['id']=cm['id']['split']('\x20')['join']('');if(cm['selector'])d['DOMUtils']['addClass'](cp,cm['selector']);if(cm['css'])d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbar'+co,cm['css']);if(cm['style'])cp['style']=cm['style'];if(cm['html']===!![])cq['innerHTML']=cl;else{var cv=document['createElement']('a');var cw=[];for(let cx of cl['split']('\x20')){var cy=d['StringUtils']['htmlEscape'](cx);cv['href']=cx;cw['push'](cv['host']&&cv['host']!==window['location']['host']?'':cy);}cq['innerHTML']=cw['join']('\x20');}var cz=null;if(cm['type']&&!document['querySelector'](d['dotCNS']['chatbase']+d['dotCN']['noticestreamer'])){if(cz=d['disCN']['notice'+cm['type']])d['DOMUtils']['addClass'](cp,cz);if(cm['type']=='premium'){var cA=cp['querySelector'](d['dotCN']['noticebutton']);if(cA)d['DOMUtils']['addClass'](cA,d['disCN']['noticepremiumaction']);d['DOMUtils']['addClass'](cq,d['disCN']['noticepremiumtext']);cp['insertBefore'](d['DOMUtils']['create'](''),cq);}}if(!cz){var cB=d['ColorUtils']['convert'](cm['color'],'RGBCOMP');if(cB){var cC=cB[0x0]>0xb4&&cB[0x1]>0xb4&&cB[0x2]>0xb4?'#000':'#FFF';var cD=d['ColorUtils']['convert'](cB,'HEX');var cE=cB[0x0]>0xb4&&cB[0x1]>0xb4&&cB[0x2]>0xb4?'brightness(0%)':'brightness(100%)';d['DOMUtils']['appendLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+co,d['dotCN']['noticewrapper']+'[notice-id=\x22'+co+'\x22]{background-color:'+cD+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+co+'\x22]\x20.notice-message\x20{color:'+cC+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+co+'\x22]\x20'+d['dotCN']['noticebutton']+'\x20{color:'+cC+'\x20!important;border-color:'+d['ColorUtils']['setAlpha'](cC,0.25,'RGBA')+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+co+'\x22]\x20'+d['dotCN']['noticebutton']+':hover\x20{color:'+cD+'\x20!important;background-color:'+cC+'\x20!important;}'+d['dotCN']['noticewrapper']+'[notice-id=\x22'+co+'\x22]\x20'+d['dotCN']['noticedismiss']+'\x20{filter:'+cE+'\x20!important;}');}else d['DOMUtils']['addClass'](cp,d['disCN']['noticedefault']);}cp['style']['setProperty']('height','36px','important');cp['style']['setProperty']('min-width','70vw','important');cp['style']['setProperty']('left','unset','important');cp['style']['setProperty']('right','unset','important');let cF=(d['DOMUtils']['getWidth'](document['body']['firstElementChild'])-d['DOMUtils']['getWidth'](cp))/0x2;cp['style']['setProperty']('left',cF+'px','important');cp['style']['setProperty']('right',cF+'px','important');cp['style']['setProperty']('min-width','unset','important');cp['style']['setProperty']('width','unset','important');cp['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cF*0x2+'px)','important');cp['querySelector'](d['dotCN']['noticedismiss'])['addEventListener']('click',c=>{cp['style']['setProperty']('overflow','hidden','important');cp['style']['setProperty']('height','0px','important');d['TimeUtils']['timeout'](c=>{d['ArrayUtils']['remove'](bK,co);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbar'+co);d['DOMUtils']['removeLocalStyle']('BDFDBcustomnotificationbarColorCorrection'+co);cp['remove']();},0x1f4);});return cp;};d['NotificationUtils']['alert']=function(cI,cJ){if(typeof cI=='string'&&typeof cI=='string'&&window['BdApi']&&typeof BdApi['alert']=='function')BdApi['alert'](cI,cJ);};var cK=[];d['TooltipUtils']={};d['TooltipUtils']['create']=function(cL,cM,cN={}){var cO=document['querySelector'](d['dotCN']['appmount']+'\x20>\x20*\x20>\x20'+d['dotCN']['itemlayercontainer']);if(!cO||typeof cM!='string'&&!d['ObjectUtils']['is'](cN['guild'])||!Node['prototype']['isPrototypeOf'](cL)||!document['contains'](cL))return null;var cP=d['NumberUtils']['generateId'](cK);var cQ=d['DOMUtils']['create']('');cO['appendChild'](cQ);var cR=cQ['firstElementChild'];if(cN['id'])cR['id']=cN['id']['split']('\x20')['join']('');if(!cN['type']||!d['disCN']['tooltip'+cN['type']['toLowerCase']()])cN['type']='top';d['DOMUtils']['addClass'](cR,d['disCN']['tooltip'+cN['type']['toLowerCase']()]);cR['type']=cN['type']['toLowerCase']();let cS=![],cT=![],cU='';if(cN['style'])cU+=cN['style'];if(cN['fontColor']){cS=d['ObjectUtils']['is'](cN['fontColor']);if(!cS)cU=(cU?cU+'\x20':'')+('color:\x20'+d['ColorUtils']['convert'](cN['fontColor'],'RGBA')+'\x20!important;');}if(cN['backgroundColor']){cT=!![];let cV=d['ObjectUtils']['is'](cN['backgroundColor']);let cW=!cV?d['ColorUtils']['convert'](cN['backgroundColor'],'RGBA'):d['ColorUtils']['createGradient'](cN['backgroundColor']);cU=(cU?cU+'\x20':'')+('background:\x20'+cW+'\x20!important;\x20border-color:\x20'+(cV?d['ColorUtils']['convert'](cN['backgroundColor'][cN['type']=='left'?0x64:0x0],'RGBA'):cW)+'\x20!important;');}if(cU)cR['style']=cU;if(cT)d['DOMUtils']['addClass'](cR,d['disCN']['tooltipcustom']);else if(cN['color']&&d['disCN']['tooltip'+cN['color']['toLowerCase']()])d['DOMUtils']['addClass'](cR,d['disCN']['tooltip'+cN['color']['toLowerCase']()]);else d['DOMUtils']['addClass'](cR,d['disCN']['tooltipblack']);if(cN['list']||d['ObjectUtils']['is'](cN['guild']))d['DOMUtils']['addClass'](cR,d['disCN']['tooltiplistitem']);if(cN['selector'])d['DOMUtils']['addClass'](cR,cN['selector']);if(d['ObjectUtils']['is'](cN['guild'])){let cX=i3['StreamUtils']['getAllApplicationStreams']()['filter'](cY=>cY['guildId']===cN['guild']['id'])['map'](cZ=>cZ['ownerId']);let d0=cX['map'](d1=>i3['UserStore']['getUser'](d1))['filter'](d2=>d2);let d3=Object['keys'](i3['VoiceUtils']['getVoiceStates'](cN['guild']['id']))['map'](d4=>!cX['includes'](d4)&&d['LibraryModules']['UserStore']['getUser'](d4))['filter'](d5=>d5);let d6=cM||cN['guild']['toString']();if(cS)d6=''+d['StringUtils']['htmlEscape'](d6)+'';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'](Ae['GuildComponents']['Badge'],{'guild':cN['guild'],'size':i3['StringUtils']['cssValueToNumber'](z7['TooltipGuild']['iconSize']),'className':d['disCN']['tooltiprowicon']}),d['ReactUtils']['createElement']('span',{'className':d['DOMUtils']['formatClassName'](d['disCN']['tooltipguildnametext'],(d3['length']||d0['length'])&&d['disCN']['tooltipguildnametextlimitedsize']),'children':cS||cN['html']?d['ReactUtils']['elementToReact'](d['DOMUtils']['create'](d6)):d6})]}),d3['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](Ae['SvgIcon'],{'name':Ae['SvgIcon']['Names']['SPEAKER'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](Ae['UserSummaryItem'],{'users':d3,'max':0x6})]}):null,d0['length']?d['ReactUtils']['createElement']('div',{'className':d['disCN']['tooltiprow'],'children':[d['ReactUtils']['createElement'](Ae['SvgIcon'],{'name':Ae['SvgIcon']['Names']['STREAM'],'className':d['disCN']['tooltipactivityicon']}),d['ReactUtils']['createElement'](Ae['UserSummaryItem'],{'users':d0,'max':0x6})]}):null]['filter'](d7=>d7)}),cR);}else{if(cS)cR['innerHTML']=''+d['StringUtils']['htmlEscape'](cM)+'';else if(cN['html']===!![])cR['innerHTML']=cM;else cR['innerText']=cM;}cR['appendChild'](d['DOMUtils']['create'](''));cR['anker']=cL;if(cN['hide'])d['DOMUtils']['appendLocalStyle']('BDFDBhideOtherTooltips'+cP,'#app-mount\x20'+d['dotCN']['tooltip']+':not([tooltip-id=\x22'+cP+'\x22])\x20{display:\x20none\x20!important;}',cO);let d8=c=>{d['DOMUtils']['remove'](cQ);};cL['addEventListener']('mouseleave',d8);let da=new MutationObserver(db=>db['forEach'](dc=>{let dd=Array['from'](dc['removedNodes']);if(dd['indexOf'](cQ)>-0x1||dd['indexOf'](cL)>-0x1||dd['some'](de=>de['contains'](cL))){d['ArrayUtils']['remove'](cK,cP);da['disconnect']();d['DOMUtils']['remove'](cQ);d['DOMUtils']['removeLocalStyle']('BDFDBhideOtherTooltips'+cP,cO);cL['removeEventListener']('mouseleave',d8);}}));da['observe'](document['body'],{'subtree':!![],'childList':!![]});d['TooltipUtils']['update'](cR);if(cN['delay']){d['DOMUtils']['toggle'](cQ);d['TimeUtils']['timeout'](c=>{d['DOMUtils']['toggle'](cQ);},cN['delay']);}return cQ;};d['TooltipUtils']['update']=function(dg){if(!Node['prototype']['isPrototypeOf'](dg))return;let dh=d['DOMUtils']['getParent'](d['dotCN']['itemlayer'],dg);if(!Node['prototype']['isPrototypeOf'](dh))return;dg=dh['querySelector'](d['dotCN']['tooltip']);if(!Node['prototype']['isPrototypeOf'](dg)||!Node['prototype']['isPrototypeOf'](dg['anker'])||!dg['type'])return;var di=dg['querySelector'](d['dotCN']['tooltippointer']);var dj,dk,dl=d['DOMUtils']['getRects'](dg['anker']),dm=d['DOMUtils']['getRects'](dh),dn=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount'])),dp={'height':0xa,'width':0xa};switch(dg['type']){case'top':dk=dl['top']-dm['height']-dp['height']+0x2;dj=dl['left']+(dl['width']-dm['width'])/0x2;break;case'bottom':dk=dl['top']+dl['height']+dp['height']-0x2;dj=dl['left']+(dl['width']-dm['width'])/0x2;break;case'left':dk=dl['top']+(dl['height']-dm['height'])/0x2;dj=dl['left']-dm['width']-dp['width']+0x2;break;case'right':dk=dl['top']+(dl['height']-dm['height'])/0x2;dj=dl['left']+dl['width']+dp['width']-0x2;break;}dh['style']['setProperty']('top',dk+'px');dh['style']['setProperty']('left',dj+'px');di['style']['removeProperty']('margin-left');di['style']['removeProperty']('margin-top');if(dg['type']=='top'||dg['type']=='bottom'){if(dj<0x0){dh['style']['setProperty']('left','5px');di['style']['setProperty']('margin-left',dj-0xa+'px');}else{var dq=dn['width']-(dj+dm['width']);if(dq<0x0){dh['style']['setProperty']('left',dn['width']-dm['width']-0x5+'px');di['style']['setProperty']('margin-left',-0x1*dq+'px');}}}else if(dg['type']=='left'||dg['type']=='right'){if(dk<0x0){dh['style']['setProperty']('top','5px');di['style']['setProperty']('margin-top',dk-0xa+'px');}else{var dr=dn['height']-(dk+dm['height']);if(dr<0x0){dh['style']['setProperty']('top',dn['height']-dm['height']-0x5+'px');di['style']['setProperty']('margin-top',-0x1*dr+'px');}}}};d['ObjectUtils']={};d['ObjectUtils']['is']=function(ds){return ds&&Object['prototype']['isPrototypeOf'](ds)&&!Array['prototype']['isPrototypeOf'](ds);};d['ObjectUtils']['extract']=function(dt,...du){let dv={};if(d['ObjectUtils']['is'](dt))for(let dw of du['flat'](0xa)['filter'](dx=>dx))if(dt[dw])dv[dw]=dt[dw];return dv;};d['ObjectUtils']['exclude']=function(dy,...dz){let dA=Object['assign']({},dy);d['ObjectUtils']['delete'](dA,...dz);return dA;};d['ObjectUtils']['delete']=function(dB,...dC){if(d['ObjectUtils']['is'](dB))for(let dD of dC['flat'](0xa)['filter'](dE=>dE))delete dB[dD];};d['ObjectUtils']['sort']=function(dF,dG,dH){if(!d['ObjectUtils']['is'](dF))return{};var dI={};if(dG===undefined||!dG)for(let dJ of Object['keys'](dF)['sort']())dI[dJ]=dF[dJ];else{let dK=[];for(let dJ in dF)dK['push'](dF[dJ]);dK=d['ArrayUtils']['keySort'](dK,dG,dH);for(let dM of dK)for(let dJ in dF)if(d['equals'](dM,dF[dJ])){dI[dJ]=dM;break;}}return dI;};d['ObjectUtils']['reverse']=function(dO,dP){if(!d['ObjectUtils']['is'](dO))return{};var dQ={};for(let dR of dP===undefined||!dP?Object['keys'](dO)['reverse']():Object['keys'](dO)['sort']()['reverse']())dQ[dR]=dO[dR];return dQ;};d['ObjectUtils']['filter']=function(dS,dT,dU=![]){if(!d['ObjectUtils']['is'](dS))return{};if(typeof dT!='function')return dS;return Object['keys'](dS)['filter'](dV=>dT(dU?dV:dS[dV]))['reduce']((dW,dX)=>(dW[dX]=dS[dX],dW),{});};d['ObjectUtils']['push']=function(dY,dZ){if(d['ObjectUtils']['is'](dY))dY[Object['keys'](dY)['length']]=dZ;};d['ObjectUtils']['pop']=function(e0,e1){if(d['ObjectUtils']['is'](e0)){let e2=Object['keys'](e0);if(!e2['length'])return;let e1=e0[e2[e2['length']-0x1]];delete e0[e2[e2['length']-0x1]];return e1;}};d['ObjectUtils']['map']=function(e4,e5){if(!d['ObjectUtils']['is'](e4))return{};if(typeof e5!='string'&&typeof e5!='function')return e4;var e6={};for(let e7 in e4)if(d['ObjectUtils']['is'](e4[e7]))e6[e7]=typeof e5=='string'?e4[e7][e5]:e5(e4[e7],e7);return e6;};d['ObjectUtils']['toArray']=function(e8){if(!d['ObjectUtils']['is'](e8))return[];return Object['entries'](e8)['map'](e9=>e9[0x1]);};d['ObjectUtils']['deepAssign']=function(ea,...eb){if(!eb['length'])return ea;let ec=eb['shift']();if(d['ObjectUtils']['is'](ea)&&d['ObjectUtils']['is'](ec)){for(let ed in ec){if(d['ObjectUtils']['is'](ec[ed])){if(!ea[ed])Object['assign'](ea,{[ed]:{}});d['ObjectUtils']['deepAssign'](ea[ed],ec[ed]);}else Object['assign'](ea,{[ed]:ec[ed]});}}return d['ObjectUtils']['deepAssign'](ea,...eb);};d['ObjectUtils']['isEmpty']=function(ee){return!d['ObjectUtils']['is'](ee)||Object['getOwnPropertyNames'](ee)['length']==0x0;};d['ArrayUtils']={};d['ArrayUtils']['is']=function(ef){return ef&&Array['isArray'](ef);};d['ArrayUtils']['sum']=function(eg){return Array['isArray'](eg)?eg['reduce']((eh,ei)=>eh+Math['round'](ei),0x0):0x0;};d['ArrayUtils']['keySort']=function(ej,ek,el){if(!d['ArrayUtils']['is'](ej))return[];if(ek==null)return ej;if(el===undefined)el=null;return ej['sort']((em,en)=>{var eo=em[ek],ep=en[ek];if(eo!==el)return eoep?0x1:0x0;});};d['ArrayUtils']['numSort']=function(eq){return eq['sort']((er,es)=>{return eres?0x1:0x0;});};d['ArrayUtils']['remove']=function(et,eu,ev=![]){if(!d['ArrayUtils']['is'](et))return[];if(!et['includes'](eu))return et;if(!ev)et['splice'](et['indexOf'](eu),0x1);else while(et['indexOf'](eu)>-0x1)et['splice'](et['indexOf'](eu),0x1);return et;};d['ArrayUtils']['getAllIndexes']=function(ew,ex){if(!d['ArrayUtils']['is'](ew)&&typeof ew!='string')return[];var ey=[],ez=-0x1;while((ez=ew['indexOf'](ex,ez+0x1))!==-0x1)ey['push'](ez);return ey;};d['ArrayUtils']['removeCopies']=function(eA){if(!d['ArrayUtils']['is'](eA))return[];return[...new Set(eA)];};d['ModuleUtils']={};d['ModuleUtils']['cached']=window['BDFDB']&&window['BDFDB']['ModuleUtils']&&window['BDFDB']['ModuleUtils']['cached']||{};d['ModuleUtils']['find']=function(eB,eC){eC=typeof eC!='boolean'?!![]:eC;var eD=f['getWebModuleReq']();for(let eE in eD['c'])if(eD['c']['hasOwnProperty'](eE)){var eF=eD['c'][eE]['exports'];if(eF&&(typeof eF=='object'||typeof eF=='function')&&eB(eF))return eC?eF:eD['c'][eE];if(eF&&eF['__esModule']){for(let eG in eF)if(eF[eG]&&(typeof eF[eG]=='object'||typeof eF[eG]=='function')&&eB(eF[eG]))return eC?eF[eG]:eD['c'][eE];if(eF['default']&&(typeof eF['default']=='object'||typeof eF['default']=='function'))for(let eH in eF['default'])if(eF['default'][eH]&&(typeof eF['default'][eH]=='object'||typeof eF['default'][eH]=='function')&&eB(eF['default'][eH]))return eC?eF['default'][eH]:eD['c'][eE];}}};d['ModuleUtils']['findByProperties']=function(...eI){eI=eI['flat'](0xa);let eJ=eI['pop']();if(typeof eJ!='boolean'){eI['push'](eJ);eJ=!![];}return f['findModule']('prop',JSON['stringify'](eI),eK=>eI['every'](eL=>eK[eL]!==undefined),eJ);};d['ModuleUtils']['findByName']=function(eM,eN){return f['findModule']('name',JSON['stringify'](eM),eO=>eO['displayName']===eM||eO['render']&&eO['render']['displayName']===eM,typeof eN!='boolean'?!![]:eN);};d['ModuleUtils']['findByString']=function(...eP){eP=eP['flat'](0xa);let eQ=eP['pop']();if(typeof eQ!='boolean'){eP['push'](eQ);eQ=!![];}return f['findModule']('string',JSON['stringify'](eP),eR=>eP['every'](eS=>typeof eR=='function'&&(eR['toString']()['indexOf'](eS)>-0x1||eR['__originalMethod']&&eR['__originalMethod']['toString']()['indexOf'](eS)>-0x1||eR['__originalFunction']&&eR['__originalFunction']['toString']()['indexOf'](eS)>-0x1)||d['ObjectUtils']['is'](eR)&&typeof eR['type']=='function'&&(eR['type']['toString']()['indexOf'](eS)>-0x1||eR['type']['__originalMethod']&&eR['type']['__originalMethod']['toString']()['indexOf'](eS)>-0x1||eR['type']['__originalFunction']&&eR['type']['__originalFunction']['toString']()['indexOf'](eS)>-0x1)),eQ);};d['ModuleUtils']['findByPrototypes']=function(...eT){eT=eT['flat'](0xa);let eU=eT['pop']();if(typeof eU!='boolean'){eT['push'](eU);eU=!![];}return f['findModule']('proto',JSON['stringify'](eT),eV=>eV['prototype']&&eT['every'](eW=>eV['prototype'][eW]!==undefined),eU);};f['findModule']=function(eX,eY,eZ,f0){if(!d['ObjectUtils']['is'](d['ModuleUtils']['cached'][eX]))d['ModuleUtils']['cached'][eX]={'module':{},'export':{}};if(f0&&d['ModuleUtils']['cached'][eX]['export'][eY])return d['ModuleUtils']['cached'][eX]['export'][eY];else if(!f0&&d['ModuleUtils']['cached'][eX]['module'][eY])return d['ModuleUtils']['cached'][eX]['module'][eY];else{var f1=d['ModuleUtils']['find'](eZ,f0);if(f1){if(f0)d['ModuleUtils']['cached'][eX]['export'][eY]=f1;else d['ModuleUtils']['cached'][eX]['module'][eY]=f1;return f1;}else d['LogUtils']['warn'](eY+'\x20['+eX+']\x20not\x20found\x20in\x20WebModules');}};f['getWebModuleReq']=function(){if(!f['getWebModuleReq']['req']){const f2='BDFDB-WebModules';const f3=window['webpackJsonp']['push']([[],{[f2]:(f4,f5,f3)=>f4['exports']=f3},[[f2]]]);delete f3['m'][f2];delete f3['c'][f2];f['getWebModuleReq']['req']=f3;}return f['getWebModuleReq']['req'];};var f7={};f7['Patchtypes']=['before','instead','after'];f7['Patchmap']={'BannedCard':'BannedUser','ChannelWindow':'Channel','InvitationCard':'InviteRow','InviteCard':'InviteRow','MemberCard':'Member','PopoutContainer':'Popout','QuickSwitchChannelResult':'Channel','QuickSwitchGuildResult':'Guild','QuickSwitchResult':'Result','QuickSwitchUserResult':'User','UserProfile':'UserProfileBody','WebhookCard':'Webhook'};f7['ForceObserve']=['DirectMessage','GuildIcon','QuickSwitchChannelResult','QuickSwitchGuildResult','QuickSwitchUserResult'];f7['DefaultRender']=['DiscordTag','InviteModalUserRow','NameTag','Message','MessageHeader','MessageTimestamp','SystemMessage','SimpleMessageAccessories'];f7['MemoComponent']=['MessageContent'];f7['NonPrototype']=[]['concat'](f7['DefaultRender'],f7['MemoComponent'],['ChannelTextAreaContainer']);f7['LoadedInComponents']={'AutocompleteChannelResult':'AutocompleteComponents.Channel','AutocompleteUserResult':'AutocompleteComponents.User'};f7['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','GuildSettingsBans':'guildsettingsbannedcard','GuildSettingsEmoji':'guildsettingsemojicard','GuildSettingsMembers':'guildsettingsmembercard','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','UserHook':'auditloguserhook','UserPopout':'userpopout','UserProfile':'userprofile','V2C_ContentColumn':'contentcolumn','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};f7['GlobalModules']={};try{f7['GlobalModules']['V2C_ContentColumn']=V2C_ContentColumn;}catch(f8){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ContentColumn\x22');}try{f7['GlobalModules']['V2C_List']=V2C_List;}catch(f9){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_List\x22');}try{f7['GlobalModules']['V2C_PluginCard']=V2C_PluginCard;}catch(fa){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_PluginCard\x22');}try{f7['GlobalModules']['V2C_ThemeCard']=V2C_ThemeCard;}catch(fb){d['LogUtils']['warn']('Could\x20not\x20find\x20global\x20Module\x20\x22V2C_ThemeCard\x22');}d['ModuleUtils']['isPatched']=function(fc,fd,fe){if(!fc||!d['ObjectUtils']['is'](fd)||!fd['BDFDBpatch']||!fe)return![];const ff=(typeof fc==='string'?fc:fc['name'])['toLowerCase']();return ff&&fd[fe]&&fd[fe]['__isBDFDBpatched']&&fd['BDFDBpatch'][fe]&&Object['keys'](fd['BDFDBpatch'][fe])['some'](fg=>Object['keys'](fd['BDFDBpatch'][fe][fg])['includes'](ff));};d['ModuleUtils']['patch']=function(fh,fi,fj,fk,fl=![]){if(!fh||!d['ObjectUtils']['is'](fi)||!fj||!d['ObjectUtils']['is'](fk))return null;fk=d['ObjectUtils']['filter'](fk,fm=>f7['Patchtypes']['includes'](fm),!![]);if(d['ObjectUtils']['isEmpty'](fk))return null;const fn=typeof fh==='string'?fh:fh['name'];const fo=fn['toLowerCase']();if(!fi['BDFDBpatch'])fi['BDFDBpatch']={};fj=[fj]['flat'](0xa)['filter'](fp=>fp);for(let fq of fj)if(fi[fq]==null||typeof fi[fq]=='function'){if(!fi['BDFDBpatch'][fq]||fl&&(!fi[fq]||!fi[fq]['__isBDFDBpatched'])){if(!fi['BDFDBpatch'][fq]){fi['BDFDBpatch'][fq]={};for(let fr of f7['Patchtypes'])fi['BDFDBpatch'][fq][fr]={};}if(!fi[fq])fi[fq]=c=>{};const ft=fi[fq];fi['BDFDBpatch'][fq]['originalMethod']=ft;fi[fq]=function(){let fu=![],fv=![];const fw={'thisObject':this,'methodArguments':arguments,'originalMethod':ft,'originalMethodName':fq,'callOriginalMethod':c=>{if(!fv)fw['returnValue']=fw['originalMethod']['apply'](fw['thisObject'],fw['methodArguments']);},'callOriginalMethodAfterwards':c=>{fu=!![];},'stopOriginalMethodCall':c=>{fv=!![];}};if(fi['BDFDBpatch']&&fi['BDFDBpatch'][fq]){if(!d['ObjectUtils']['isEmpty'](fi['BDFDBpatch'][fq]['before']))for(let fA in d['ObjectUtils']['sort'](fi['BDFDBpatch'][fq]['before'])){d['TimeUtils']['suppress'](fi['BDFDBpatch'][fq]['before'][fA],'\x22before\x22\x20callback\x20of\x20'+fq+'\x20in\x20'+(fi['constructor']?fi['constructor']['displayName']||fi['constructor']['name']:'module'),fi['BDFDBpatch'][fq]['before'][fA]['pluginName'])(fw);}let fB=!d['ObjectUtils']['isEmpty'](fi['BDFDBpatch'][fq]['instead']);if(fB)for(let fA in d['ObjectUtils']['sort'](fi['BDFDBpatch'][fq]['instead'])){let fD=d['TimeUtils']['suppress'](fi['BDFDBpatch'][fq]['instead'][fA],'\x22instead\x22\x20callback\x20of\x20'+fq+'\x20in\x20'+(fi['constructor']?fi['constructor']['displayName']||fi['constructor']['name']:'module'),fi['BDFDBpatch'][fq]['instead'][fA]['pluginName'])(fw);if(fD!==undefined)fw['returnValue']=fD;}if((!fB||fu)&&!fv)d['TimeUtils']['suppress'](fw['callOriginalMethod'],'originalMethod\x20of\x20'+fq+'\x20in\x20'+(fi['constructor']?fi['constructor']['displayName']||fi['constructor']['name']:'module'))();if(!d['ObjectUtils']['isEmpty'](fi['BDFDBpatch'][fq]['after']))for(let fA in d['ObjectUtils']['sort'](fi['BDFDBpatch'][fq]['after'])){let fD=d['TimeUtils']['suppress'](fi['BDFDBpatch'][fq]['after'][fA],'\x22after\x22\x20callback\x20of\x20'+fq+'\x20in\x20'+(fi['constructor']?fi['constructor']['displayName']||fi['constructor']['name']:'module'),fi['BDFDBpatch'][fq]['after'][fA]['pluginName'])(fw);if(fD!==undefined)fw['returnValue']=fD;}}else d['TimeUtils']['suppress'](fw['callOriginalMethod'],'originalMethod\x20of\x20'+fq+'\x20in\x20'+(fi['constructor']?fi['constructor']['displayName']||fi['constructor']['name']:'module'))();fu=![],fv=![];return fq=='render'&&fw['returnValue']===undefined?null:fw['returnValue'];};for(let fG of Object['keys'](ft))fi[fq][fG]=ft[fG];fi[fq]['__originalMethod']=ft;fi[fq]['__isBDFDBpatched']=!![];}for(let fH in fk)if(typeof fk[fH]=='function'){fi['BDFDBpatch'][fq][fH][fo]=fk[fH];fi['BDFDBpatch'][fq][fH][fo]['pluginName']=fn;}}let fI=c=>{d['ModuleUtils']['unpatch'](fh,fi,fj);};if(d['ObjectUtils']['is'](fh)){if(!d['ArrayUtils']['is'](fh['patchCancels']))fh['patchCancels']=[];fh['patchCancels']['push'](fI);}return fI;};d['ModuleUtils']['unpatch']=function(fK,fL,fM){if(!fL&&!fM){if(d['ObjectUtils']['is'](fK)&&d['ArrayUtils']['is'](fK['patchCancels'])){for(let fN of fK['patchCancels'])fN();fK['patchCancels']=[];}}else{if(!d['ObjectUtils']['is'](fL)||!fL['BDFDBpatch'])return;const fO=!fK?null:(typeof fK==='string'?fK:fK['name'])['toLowerCase']();if(fM){for(let fP of[fM]['flat'](0xa)['filter'](fQ=>fQ))if(fL[fP]&&fL['BDFDBpatch'][fP])fS(fP,fO);}else for(let fR of fL['BDFDBpatch'])fS(fR,fO);}function fS(fT,fU){for(let fV of f7['Patchtypes']){if(fU)delete fL['BDFDBpatch'][fT][fV][fU];else delete fL['BDFDBpatch'][fT][fV];}let fW=!![];for(let fV of f7['Patchtypes'])if(!d['ObjectUtils']['isEmpty'](fL['BDFDBpatch'][fT][fV]))fW=![];if(fW){fL[fT]=fL['BDFDBpatch'][fT]['originalMethod'];delete fL['BDFDBpatch'][fT];if(d['ObjectUtils']['isEmpty'](fL['BDFDBpatch']))delete fL['BDFDBpatch'];}}};d['ModuleUtils']['forceAllUpdates']=function(fY,fZ){if(d['ObjectUtils']['is'](fY)&&d['ObjectUtils']['is'](fY['patchedModules'])){const g0=document['querySelector'](d['dotCN']['app']);const g1=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);if(g0){let g2=[],g3={};for(let g4 in fY['patchedModules'])for(let g5 in fY['patchedModules'][g4]){let g6=[fY['patchedModules'][g4][g5]]['flat'](0xa)['filter'](g7=>g7);if(g6['includes']('componentDidMount')||g6['includes']('componentDidUpdate')||g6['includes']('render')){g2['push'](g5);let g8=g5['split']('\x20_\x20_\x20')[0x0];if(!g3[g8])g3[g8]=[];g3[g8]['push'](g4);}}fZ=[fZ]['flat'](0xa)['filter'](g9=>g9);if(fZ['length']){fZ=fZ['map'](ga=>ga&&f7['Patchmap'][ga]?f7['Patchmap'][ga]+'\x20_\x20_\x20'+ga:ga);g2=g2['filter'](gb=>fZ['indexOf'](gb)>-0x1);}g2=d['ArrayUtils']['removeCopies'](g2);if(g2['length']){try{const gc=d['ReactUtils']['findOwner'](g0,{'name':g2,'all':!![],'group':!![],'unlimited':!![]});const gd=d['ReactUtils']['findOwner'](g0,{'name':g2,'all':!![],'group':!![],'unlimited':!![],'up':!![]});for(let g5 in gc)for(let gf of gc[g5])f['forceInitiateProcess'](fY,gf,g5,g3[g5]);for(let g5 in gd)for(let gf of gd[g5])f['forceInitiateProcess'](fY,gf,g5,g3[g5]);if(g1){const gi=d['ReactUtils']['findOwner'](g1,{'name':g2,'all':!![],'group':!![],'unlimited':!![]});for(let g5 in gi)for(let gf of gi[g5])f['forceInitiateProcess'](fY,gf,g5,g3[g5]);}}catch(gl){d['LogUtils']['error']('Could\x20not\x20force\x20update\x20components!\x20'+gl,fY['name']);}}}}};f['forceInitiateProcess']=function(gm,gn,go,gp){if(!gm||!gn||!go)return;let gq=[];for(let gr in gm['patchedModules'])if(gm['patchedModules'][gr][go])gq['push'](gm['patchedModules'][gr][go]);gq=d['ArrayUtils']['removeCopies'](gq)['flat'](0xa)['filter'](gs=>gs);if(gq['includes']('componentDidMount'))f['initiateProcess'](gm,go,{'instance':gn,'methodname':'componentDidMount','patchtypes':gp});if(gq['includes']('render'))d['ReactUtils']['forceUpdate'](gn);else if(gq['includes']('componentDidUpdate'))f['initiateProcess'](gm,go,{'instance':gn,'methodname':'componentDidUpdate','patchtypes':gp});};f['initiateProcess']=function(gt,gu,gv){if(d['ObjectUtils']['is'](gt)&&!gt['stopping']&&gv['instance']){let gw=gt['name']=='$BDFDB';if(gt['name']=='$BDFDB')gt=f;gu=(gu['split']('\x20_\x20_\x20')[0x1]||gu)['replace'](/[^A-z0-9]|_/g,'');gu=gu['charAt'](0x0)['toUpperCase']()+gu['slice'](0x1);if(typeof gt['process'+gu]=='function'){let gx=!gw&>['process'+gu]['toString']()['split']('\x0a')[0x0]['replace'](/ /g,'')['split'](',')['length']>0x1;if(gx){if(gv['methodname']=='render'){if(gv['returnvalue'])gt['process'+gu](gv['instance'],null,gv['returnvalue'],[gv['methodname']]);}else{let gy=d['ReactUtils']['findDOMNode'](gv['instance']);if(gy)gt['process'+gu](gv['instance'],gy,gv['returnvalue'],[gv['methodname']]);else d['TimeUtils']['timeout'](c=>{gy=d['ReactUtils']['findDOMNode'](gv['instance']);if(gy)gt['process'+gu](gv['instance'],gy,gv['returnvalue'],[gv['methodname']]);});}}else{if(typeof gv['methodname']=='string'&&(gv['methodname']['indexOf']('componentDid')==0x0||gv['methodname']['indexOf']('componentWill')==0x0)){gv['node']=d['ReactUtils']['findDOMNode'](gv['instance']);if(gv['node'])gt['process'+gu](gv);else d['TimeUtils']['timeout'](c=>{gv['node']=d['ReactUtils']['findDOMNode'](gv['instance']);if(gv['node'])gt['process'+gu](gv);});}else if(gv['returnvalue']||gv['patchtypes']['includes']('before'))gt['process'+gu](gv);}}}};f['patchPlugin']=function(gB){if(!d['ObjectUtils']['is'](gB)||!d['ObjectUtils']['is'](gB['patchedModules']))return;d['ModuleUtils']['unpatch'](gB);for(let gC in gB['patchedModules'])for(let gD in gB['patchedModules'][gC]){if(f7['GlobalModules'][gD]&&typeof f7['GlobalModules'][gD]=='function')gI(f7['GlobalModules'][gD],gD,gC);else{let gE=f7['LoadedInComponents'][gD]&&d['ReactUtils']['getValue'](Ae,f7['LoadedInComponents'][gD]);if(gE)gI(gE,gD,gC);else{let gF=f7['Patchmap'][gD];let gG=f7['Patchfinder'][gD['split']('\x20_\x20_\x20')[0x1]||gD];let gH=gF?gF+'\x20_\x20_\x20'+gD:gD;if(gF){gB['patchedModules'][gC][gH]=gB['patchedModules'][gC][gD];delete gB['patchedModules'][gC][gD];}if(f7['DefaultRender']['includes'](gD['split']('\x20_\x20_\x20')[0x1]||gD))gI((d['ModuleUtils']['findByName'](gH['split']('\x20_\x20_\x20')[0x0],![])||{})['exports'],gH,gC,!![]);else if(f7['MemoComponent']['includes'](gD['split']('\x20_\x20_\x20')[0x1]||gD))gI((d['ModuleUtils']['findByName'](gH['split']('\x20_\x20_\x20')[0x0],![])||{'exports':{}})['exports']['default'],gH,gC,!![]);else if(!gG)gI(d['ModuleUtils']['findByName'](gH['split']('\x20_\x20_\x20')[0x0]),gH,gC);else if(zh[gG])gQ(gG,gH,gC,f7['ForceObserve']['includes'](gD['split']('\x20_\x20_\x20')[0x1]||gD));}}}function gI(gJ,gK,gL,gM){if(gJ){let gN=gK['split']('\x20_\x20_\x20')[0x0];gJ=gJ['_reactInternalFiber']&&gJ['_reactInternalFiber']['type']?gJ['_reactInternalFiber']['type']:gJ;gJ=gM||f['isInstanceCorrect'](gJ,gN)||f7['LoadedInComponents'][gK]?gJ:d['ReactUtils']['findConstructor'](gJ,gN)||d['ReactUtils']['findConstructor'](gJ,gN,{'up':!![]});if(gJ){gJ=gJ['_reactInternalFiber']&&gJ['_reactInternalFiber']['type']?gJ['_reactInternalFiber']['type']:gJ;let gO={};gO[gL]=gP=>{f['initiateProcess'](gB,gK,{'instance':window!=gP['thisObject']?gP['thisObject']:{'props':gP['methodArguments'][0x0]},'returnvalue':gP['returnValue'],'methodname':gP['originalMethodName'],'patchtypes':[gL]});};d['ModuleUtils']['patch'](gB,f7['NonPrototype']['includes'](gN)?gJ:gJ['prototype'],gB['patchedModules'][gL][gK],gO);}}}function gQ(gR,gS,gT,gU){const gV=document['querySelector'](d['dotCN']['app']),gW=document['querySelector']('#bd-settingspane-container\x20'+d['dotCN']['scrollerwrap']);let gX=![];if(!gU){if(gV){let gY=d['ReactUtils']['findConstructor'](gV,gS,{'unlimited':!![]})||d['ReactUtils']['findConstructor'](gV,gS,{'unlimited':!![],'up':!![]});if(gY&&(gX=!![]))gI(gY,gS,gT);}if(!gX&&gW){let gZ=d['ReactUtils']['findConstructor'](gW,gS,{'unlimited':!![]});if(gZ&&(gX=!![]))gI(gZ,gS,gT);}}if(!gX){let h0=![],h1=d['disCN'][gR],h2=d['dotCN'][gR];for(let h3 of document['querySelectorAll'](h2)){let h4=d['ReactUtils']['getInstance'](h3);if(hb(h4,gS)){h0=!![];gI(h4,gS,gT);d['ModuleUtils']['forceAllUpdates'](gB,gS);break;}}if(!h0){let h5=new MutationObserver(h6=>{h6['forEach'](h7=>{h7['addedNodes']['forEach'](h8=>{if(h0||!h8||!h8['tagName'])return;let h3=null;if((h3=d['DOMUtils']['containsClass'](h8,h1)?h8:h8['querySelector'](h2))!=null){let h4=d['ReactUtils']['getInstance'](h3);if(hb(h4,gS)){h0=!![];h5['disconnect']();gI(h4,gS,gT);d['ModuleUtils']['forceAllUpdates'](gB,gS);}}});});});d['ObserverUtils']['connect'](gB,d['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':h5,'multi':!![]},{'childList':!![],'subtree':!![]});}}}function hb(hc,hd){if(!hc)return![];hc=hc['_reactInternalFiber']&&hc['_reactInternalFiber']['type']?hc['_reactInternalFiber']['type']:hc;hc=f['isInstanceCorrect'](hc,hd)?hc:d['ReactUtils']['findConstructor'](hc,hd)||d['ReactUtils']['findConstructor'](hc,hd,{'up':!![]});return!!hc;}};f['isInstanceCorrect']=function(he,hf){return he&&(he['type']&&(he['type']['render']&&he['type']['render']['displayName']===hf||he['type']['displayName']===hf||he['type']['name']===hf||he['type']===hf)||he['render']&&(he['render']['displayName']===hf||he['render']['name']===hf)||he['displayName']==hf||he['name']===hf);};f['addContextListeners']=function(hg){for(let hh of Bl['NormalContextMenus'])if(typeof hg['on'+hh]==='function')f['patchContextMenuPlugin'](hg,hh,Ae['ContextMenus'][hh]);for(let hi of Bl['FluxContextMenus'])if(typeof hg['on'+hi]==='function'){if(d['InternalData']['componentPatchQueries'][hi]['module'])f['patchContextMenuPlugin'](hg,hi,d['InternalData']['componentPatchQueries'][hi]['module']);else{d['InternalData']['componentPatchQueries'][hi]['query']['push'](hg);d['InternalData']['componentPatchQueries'][hi]['query']['sort']((hj,hk)=>{return hj['name']hk['name']?0x1:0x0;});}}for(let hl of Bl['QueuedComponents'])if(typeof hg['on'+hl]==='function'){if(d['InternalData']['componentPatchQueries'][hl]['module'])f['patchExportedContextMenuPlugin'](hg,hl,d['InternalData']['componentPatchQueries'][hl]['module']);else{d['InternalData']['componentPatchQueries'][hl]['query']['push'](hg);d['InternalData']['componentPatchQueries'][hl]['query']['sort']((hm,hn)=>{return hm['name']hn['name']?0x1:0x0;});}}};f['patchContextMenuPlugin']=function(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['patchExportedContextMenuPlugin']=function(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['executeExtraPatchedPatches']=function(hD,hE){if(d['ObjectUtils']['is'](d['InternalData']['componentPatchQueries'][hD])&&d['ArrayUtils']['is'](d['InternalData']['componentPatchQueries'][hD]['query']))for(let hF of d['InternalData']['componentPatchQueries'][hD]['query'])if(hE['returnvalue']&&typeof hF['on'+hD]==='function')hF['on'+hD](hE);};f['patchContextMenuLib']=function(hG,hH){if(hG&&hG['prototype']){d['ModuleUtils']['patch'](d,hG['prototype'],'componentDidMount',{'after':hI=>{if(!hI['thisObject']['BDFDBforceRenderTimeout']&&typeof hI['thisObject']['render']=='function')hI['thisObject']['render']();}});d['ModuleUtils']['patch'](d,hG['prototype'],'componentDidUpdate',{'after':hJ=>{var hK=d['ReactUtils']['findDOMNode'](hJ['thisObject']);if(hK){const hL=d['ReactUtils']['getValue'](hJ,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const hM=d['DOMUtils']['getRects'](hK),hN=d['DOMUtils']['getRects'](document['querySelector'](d['dotCN']['appmount']));if(hL&&hM['top']+hM['height']>hN['height'])hL();}}});d['ModuleUtils']['patch'](d,hG['prototype'],'render',{'after':hO=>{if(hO['thisObject']['props']['BDFDBcontextMenu']&&hO['thisObject']['props']['children']&&hO['returnValue']&&hO['returnValue']['props']){hO['returnValue']['props']['children']=hO['thisObject']['props']['children'];delete hO['thisObject']['props']['value'];delete hO['thisObject']['props']['children'];delete hO['thisObject']['props']['BDFDBcontextMenu'];}if(d['ReactUtils']['findDOMNode'](hO['thisObject'])){hO['thisObject']['BDFDBforceRenderTimeout']=!![];d['TimeUtils']['timeout'](c=>{delete hO['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hH){let hQ=d['ReactUtils']['getValue'](hO,'thisObject._reactInternalFiber.child.type');if(hQ&&hQ['displayName']&&d['InternalData']['componentPatchQueries'][hQ['displayName']]&&!d['InternalData']['componentPatchQueries'][hQ['displayName']]['module']){d['InternalData']['componentPatchQueries'][hQ['displayName']]['module']=hQ;f['patchContextMenuLib'](hQ,![]);while(d['InternalData']['componentPatchQueries'][hQ['displayName']]['query']['length'])f['patchContextMenuPlugin'](d['InternalData']['componentPatchQueries'][hQ['displayName']]['query']['pop'](),hQ['displayName'],hQ);}}}});}};f['patchExportedContextMenuLib']=function(hR,hS,hT){let hU=d['ModuleUtils']['find'](hV=>hV==hR['type'],![]);if(hU&&hU['exports']&&hU['exports']['default']){if(!Ae['ContextMenus'][hS]){Ae['ContextMenus'][hS]=hU['exports']['default'];d['LibraryComponents']['ContextMenus'][hS]=hU['exports']['default'];}if(!Ae['ContextMenus']['_Exports'][hS]){Ae['ContextMenus']['_Exports'][hS]=hU['exports'];d['LibraryComponents']['ContextMenus']['_Exports'][hS]=hU['exports'];}if(d['InternalData']['componentPatchQueries'][hS]&&!d['InternalData']['componentPatchQueries'][hS]['module']){d['InternalData']['componentPatchQueries'][hS]['module']=hU;while(d['InternalData']['componentPatchQueries'][hS]['query']['length'])f['patchExportedContextMenuPlugin'](d['InternalData']['componentPatchQueries'][hS]['query']['pop'](),hS,hU);let hW=hT&&d['ReactUtils']['getValue'](hR,'memoizedProps.onClose');if(typeof hW=='function')hW();}if(!hU['exports']['default']['displayName'])hU['exports']['default']['displayName']=hS;}};f['getContextMenuType']=function(hX,hY){if(hX){if(hX=='MessageContextMenu'&&hY&&hY['type']!=Ae['ContextMenus']['MessageContextMenu'])return'MessageOptionContextMenu';else if(hX['endsWith']('ContextMenu'))return hX;else if(Ae['ContextMenus']['_Types']['includes'](hX)){if(hX['indexOf']('USER_')==0x0)return'UserContextMenu';else if(hX['indexOf']('CHANNEL_')==0x0)return'ChannelContextMenu';else if(hX['indexOf']('GUILD_')==0x0)return'GuildContextMenu';}}return null;};d['DiscordConstants']=d['ModuleUtils']['findByProperties']('Permissions','ActivityTypes');var hZ={};hZ['Channel']=d['ModuleUtils']['findByPrototypes']('getRecipientId','isManaged','getGuildId');hZ['Guild']=d['ModuleUtils']['findByPrototypes']('getIconURL','getMaxEmojiSlots','getRole');hZ['Invite']=d['ModuleUtils']['findByPrototypes']('getExpiresAt','isExpired');hZ['Message']=d['ModuleUtils']['findByPrototypes']('getReaction','getAuthorName','getChannelId');hZ['Messages']=d['ModuleUtils']['findByPrototypes']('jumpToMessage','hasAfterCached','forEach');hZ['Timestamp']=d['ModuleUtils']['findByPrototypes']('add','dayOfYear','hasAlignedHourOffset');hZ['User']=d['ModuleUtils']['findByPrototypes']('hasFlag','isLocalBot','isClaimed');d['DiscordObjects']=Object['assign']({},hZ);var i0={};for(let i1 of['child_process','electron','fs','path','process','request']){try{i0[i1]=require(i1);}catch(i2){}}d['LibraryRequires']=Object['assign']({},i0);var i3={};i3['AckUtils']=d['ModuleUtils']['findByProperties']('localAck','bulkAck');i3['APIUtils']=d['ModuleUtils']['findByProperties']('getAPIBaseURL');i3['AnalyticsUtils']=d['ModuleUtils']['findByProperties']('isThrottled','track');i3['AnimationUtils']=d['ModuleUtils']['findByProperties']('spring','decay');i3['BadgeUtils']=d['ModuleUtils']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');i3['CategoryCollapseStore']=d['ModuleUtils']['findByProperties']('getCollapsedCategories','isCollapsed');i3['CategoryCollapseUtils']=d['ModuleUtils']['findByProperties']('categoryCollapse','categoryCollapseAll');i3['ChannelStore']=d['ModuleUtils']['findByProperties']('getChannel','getChannels');i3['ColorUtils']=d['ModuleUtils']['findByProperties']('hex2int','hex2rgb');i3['ContextMenuUtils']=d['ModuleUtils']['findByProperties']('closeContextMenu','openContextMenu');i3['CopyLinkUtils']=d['ModuleUtils']['findByProperties']('SUPPORTS_COPY','copy');i3['CurrentUserStore']=d['ModuleUtils']['findByProperties']('getCurrentUser');i3['CurrentVoiceUtils']=d['ModuleUtils']['findByProperties']('getAveragePing','isConnected');i3['DirectMessageStore']=d['ModuleUtils']['findByProperties']('getPrivateChannelIds','getPrivateChannelTimestamps');i3['DirectMessageUnreadStore']=d['ModuleUtils']['findByProperties']('getUnreadPrivateChannelIds');i3['DispatchApiUtils']=d['ModuleUtils']['findByProperties']('dirtyDispatch','isDispatching');i3['DispatchUtils']=d['ModuleUtils']['findByProperties']('ComponentDispatch');i3['DirectMessageUtils']=d['ModuleUtils']['findByProperties']('addRecipient','openPrivateChannel');i3['FriendUtils']=d['ModuleUtils']['findByProperties']('getFriendIDs','getRelationships');i3['FolderStore']=d['ModuleUtils']['findByProperties']('getGuildFolderById','getFlattenedGuilds');i3['FolderUtils']=d['ModuleUtils']['findByProperties']('isFolderExpanded','getExpandedFolders');i3['GuildBoostUtils']=d['ModuleUtils']['findByProperties']('getTierName','getUserLevel');i3['GuildChannelStore']=d['ModuleUtils']['findByProperties']('getChannels','getDefaultChannel');i3['GuildEmojiStore']=d['ModuleUtils']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');i3['GuildSettingsUtils']=d['ModuleUtils']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');i3['GuildStore']=d['ModuleUtils']['findByProperties']('getGuild','getGuilds');i3['GuildUtils']=d['ModuleUtils']['findByProperties']('transitionToGuildSync');i3['HistoryUtils']=d['ModuleUtils']['findByProperties']('transitionTo','replaceWith','getHistory');;i3['IconUtils']=d['ModuleUtils']['findByProperties']('getGuildIconURL','getGuildBannerURL');i3['InviteUtils']=d['ModuleUtils']['findByProperties']('acceptInvite','createInvite');i3['KeyCodeUtils']=Object['assign']({},d['ModuleUtils']['findByProperties']('toCombo','keyToCode'));i3['KeyCodeUtils']['getString']=function(i4){return i3['KeyCodeUtils']['toString']([i4]['flat'](0xa)['filter'](i5=>i5)['map'](i6=>[d['DiscordConstants']['KeyboardDeviceTypes']['KEYBOARD_KEY'],i6,d['DiscordConstants']['KeyboardEnvs']['BROWSER']]),!![]);};i3['KeyEvents']=d['ModuleUtils']['findByProperties']('aliases','code','codes');i3['LanguageStore']=d['ModuleUtils']['findByProperties']('getLanguages','Messages');i3['LastChannelStore']=d['ModuleUtils']['findByProperties']('getLastSelectedChannelId');i3['LastGuildStore']=d['ModuleUtils']['findByProperties']('getLastSelectedGuildId');i3['LoginUtils']=d['ModuleUtils']['findByProperties']('login','logout');i3['MemberStore']=d['ModuleUtils']['findByProperties']('getMember','getMembers');i3['MessagePinUtils']=d['ModuleUtils']['findByProperties']('pinMessage','unpinMessage');i3['MessageStore']=d['ModuleUtils']['findByProperties']('getMessage','getMessages');i3['MessageUtils']=d['ModuleUtils']['findByProperties']('receiveMessage','editMessage');i3['ModalUtils']=d['ModuleUtils']['findByProperties']('openModal','hasModalOpen');i3['MutedUtils']=d['ModuleUtils']['findByProperties']('isGuildOrCategoryOrChannelMuted');i3['NoteStore']=d['ModuleUtils']['findByProperties']('getNotes','getNote');i3['NotificationSettingsUtils']=d['ModuleUtils']['findByProperties']('setDesktopType','setTTSType');i3['NotificationSettingsStore']=d['ModuleUtils']['findByProperties']('getDesktopType','getTTSType');i3['PlatformUtils']=d['ModuleUtils']['findByProperties']('isWindows','isLinux');i3['PermissionUtils']=d['ModuleUtils']['findByProperties']('getChannelPermissions','canUser');i3['PermissionRoleUtils']=d['ModuleUtils']['findByProperties']('getHighestRole','can');i3['QuoteUtils']=d['ModuleUtils']['findByProperties']('canQuote','createQuotedText');i3['ReactionUtils']=d['ModuleUtils']['findByProperties']('addReaction','removeReaction');i3['SearchPageUtils']=d['ModuleUtils']['findByProperties']('searchNextPage','searchPreviousPage');i3['SelectChannelUtils']=d['ModuleUtils']['findByProperties']('selectChannel','selectPrivateChannel');i3['SettingsUtils']=d['ModuleUtils']['findByProperties']('updateRemoteSettings','updateLocalSettings');i3['SoundUtils']=d['ModuleUtils']['findByProperties']('playSound','createSound');i3['SpellCheckUtils']=d['ModuleUtils']['findByProperties']('learnWord','toggleSpellcheck');i3['SlateUtils']=d['ModuleUtils']['findByProperties']('serialize','deserialize');i3['SlateSelectionUtils']=d['ModuleUtils']['findByProperties']('serialize','serializeSelection');i3['StateStoreUtils']=d['ModuleUtils']['findByProperties']('useStateFromStores','useStateFromStoresArray');i3['StatusMetaUtils']=d['ModuleUtils']['findByProperties']('getApplicationActivity','getStatus');i3['StoreUtils']=d['ModuleUtils']['findByProperties']('get','set','clear','remove');i3['StreamUtils']=d['ModuleUtils']['findByProperties']('getStreamForUser','getActiveStream');i3['StringUtils']=d['ModuleUtils']['findByProperties']('cssValueToNumber','upperCaseFirstChar');i3['UnreadGuildUtils']=d['ModuleUtils']['findByProperties']('hasUnread','getUnreadGuilds');i3['UnreadChannelUtils']=d['ModuleUtils']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');i3['UploadUtils']=d['ModuleUtils']['findByProperties']('upload','instantBatchUpload');i3['UserNameUtils']=d['ModuleUtils']['findByProperties']('getName','getNickname');i3['UserStore']=d['ModuleUtils']['findByProperties']('getUser','getUsers');i3['Utilities']=d['ModuleUtils']['findByProperties']('flatMap','cloneDeep');i3['VoiceUtils']=d['ModuleUtils']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');i3['ZoomUtils']=d['ModuleUtils']['findByProperties']('setZoom','setFontSize');d['LibraryModules']=Object['assign']({},i3);i3['React']=d['ModuleUtils']['findByProperties']('createElement','cloneElement');i3['ReactDOM']=d['ModuleUtils']['findByProperties']('render','findDOMNode');d['ReactUtils']=Object['assign']({},i3['React'],i3['ReactDOM']);d['ReactUtils']['childrenToArray']=function(i7){if(i7&&i7['props']&&i7['props']['children']&&!d['ArrayUtils']['is'](i7['props']['children'])){var i8=i7['props']['children'];i7['props']['children']=[];i7['props']['children']['push'](i8);}return i7['props']['children'];};d['ReactUtils']['createElement']=function(i9,ia){if(i9&&i9['defaultProps'])for(let ib in i9['defaultProps'])if(ia[ib]==null)ia[ib]=i9['defaultProps'][ib];try{return i3['React']['createElement'](i9||'div',ia||{})||null;}catch(ic){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20create\x20react\x20element!\x20'+ic);}return null;};d['ReactUtils']['elementToReact']=function(id){if(d['ReactUtils']['isValidElement'](id))return id;else if(!Node['prototype']['isPrototypeOf'](id))return null;else if(id['nodeType']==Node['TEXT_NODE'])return id['nodeValue'];let ie={},ig={};for(let ih of id['attributes'])ie[ih['name']]=ih['value'];if(id['attributes']['style'])ie['style']=d['ObjectUtils']['filter'](id['style'],ii=>id['style'][ii]&&isNaN(parseInt(ii)),!![]);ie['children']=[];if(id['style']&&id['style']['cssText'])for(let ij of id['style']['cssText']['split'](';'))if(ij['endsWith']('!important')){let ik=ij['split'](':')[0x0];let il=ik['replace'](/-([a-z]?)/g,(im,io)=>io['toUpperCase']());if(ie['style'][il]!=null)ig[ik]=ie['style'][il];}if(Object['keys'](ig)['length'])ie['ref']=ip=>{let iq=d['ReactUtils']['findDOMNode'](ip);if(iq)for(let ir in ig)iq['style']['setProperty'](ir,ig[ir],'important');};for(let is of id['childNodes'])ie['children']['push'](d['ReactUtils']['elementToReact'](is));return d['ReactUtils']['createElement'](id['tagName'],ie);};d['ReactUtils']['findChildren']=function(it,iu){if(!it||!d['ObjectUtils']['is'](iu)||!iu['name']&&!iu['key']&&!iu['props']&&!iu['filter'])return[null,-0x1];var iv=Node['prototype']['isPrototypeOf'](it)?d['ReactUtils']['getInstance'](it):it;if(!d['ObjectUtils']['is'](iv)&&!d['ArrayUtils']['is'](iv))return[null,-0x1];iu['name']=iu['name']&&[iu['name']]['flat']()['filter'](iw=>iw);iu['key']=iu['key']&&[iu['key']]['flat']()['filter'](ix=>ix);iu['props']=iu['props']&&[iu['props']]['flat']()['filter'](iy=>iy);iu['filter']=typeof iu['filter']=='function'&&iu['filter'];var iz=firstarray=iv;while(!d['ArrayUtils']['is'](firstarray)&&firstarray['props']&&firstarray['props']['children'])firstarray=firstarray['props']['children'];if(!d['ArrayUtils']['is'](firstarray)){if(iz&&iz['props']){iz['props']['children']=[iz['props']['children']];firstarray=iz['props']['children'];}else firstarray=[];}return iA(iv);function iA(iB){var iC=[firstarray,-0x1];if(!iB)return iC;if(!d['ArrayUtils']['is'](iB)){if(iG(iB))iC=iE(iB);else if(iB['props']&&iB['props']['children']){iz=iB;iC=iA(iB['props']['children']);}}else{for(let iD=0x0;iC[0x1]==-0x1&&iDf['isInstanceCorrect'](iv,iJ))||iu['key']&&iu['key']['some'](iK=>iv['key']==iK)||iI&&iu['props']&&iu['props']['every'](iL=>d['ArrayUtils']['is'](iL)?d['ArrayUtils']['is'](iL[0x1])?iL[0x1]['some'](iM=>iN(iI,iL[0x0],iM)):iN(iI,iL[0x0],iL[0x1]):iI[iL]!==undefined)||iu['filter']&&iu['filter'](iv);}function iN(iO,iP,iQ){return iP!=null&&iO[iP]!=null&&iQ!=null&&(iP=='className'?('\x20'+iO[iP]+'\x20')['indexOf']('\x20'+iQ+'\x20')>-0x1:d['equals'](iO[iP],iQ));}};d['ReactUtils']['findConstructor']=function(iR,iS,iT={}){if(!d['ObjectUtils']['is'](iT))return null;if(!iR||!iS)return iT['all']?iT['group']?{}:[]:null;var iU=Node['prototype']['isPrototypeOf'](iR)?d['ReactUtils']['getInstance'](iR):iR;if(!d['ObjectUtils']['is'](iU))return iT['all']?iT['group']?{}:[]:null;iS=iS&&[iS]['flat'](0xa)['filter'](iV=>typeof iV=='string');if(!iS['length'])return iT['all']?iT['group']?{}:[]:null;;var iW=-0x1;var iX=performance['now']();var iY=iT['unlimited']?0x3b9ac9ff:iT['depth']===undefined?0x1e:iT['depth'];var iZ=iT['unlimited']?0x3b9ac9ff:iT['time']===undefined?0x96:iT['time'];var j0=iT['up']?{'return':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'default':!![],'_reactInternalFiber':!![]};var j1=iT['group']?{}:[];var j2=j5(iU);if(iT['all']){for(let j3 in j1){if(iT['group'])for(let j4 in j1[j3])delete j1[j3][j4]['BDFDBreactSearch'];else delete j1[j3]['BDFDBreactSearch'];}return j1;}else return j2;function j5(iU){iW++;var j7=undefined;if(iU&&!Node['prototype']['isPrototypeOf'](iU)&&!d['ReactUtils']['getInstance'](iU)&&iW(iU['type']['render']&&iU['type']['render']['displayName']||iU['type']['displayName']||iU['type']['name'])===j8['split']('\x20_\x20_\x20')[0x0])){if(iT['all']===undefined||!iT['all'])j7=iU['type'];else if(iT['all']){if(!iU['type']['BDFDBreactSearch']){iU['type']['BDFDBreactSearch']=!![];if(iT['group']){if(iU['type']&&(iU['type']['render']&&iU['type']['render']['displayName']||iU['type']['displayName']||iU['type']['name'])){let j9=iT['name']['find'](ja=>(iU['type']['render']&&iU['type']['render']['displayName']||iU['type']['displayName']||iU['type']['name']||iU['type'])['split']('\x20_\x20_\x20')[0x0]==ja)||'Default';if(!d['ArrayUtils']['is'](foundinstances[j9]))foundinstances[j9]=[];foundinstances[j9]['push'](iU['stateNode']);}}else foundinstances['push'](iU['type']);}}}if(j7===undefined){let jb=Object['getOwnPropertyNames'](iU);for(let jc=0x0;j7===undefined&&jcjj);jh['key']=jh['key']&&[jh['key']]['flat']()['filter'](jk=>jk);jh['props']=jh['props']&&[jh['props']]['flat']()['filter'](jl=>jl);var jm=-0x1;var jn=performance['now']();var jo=jh['unlimited']?0x3b9ac9ff:jh['depth']===undefined?0x1e:jh['depth'];var jp=jh['unlimited']?0x3b9ac9ff:jh['time']===undefined?0x96:jh['time'];var jq=jh['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var jr=jh['group']?{}:[];var js=jv(ji);if(jh['all']){for(let jt in jr){if(jh['group'])for(let ju in jr[jt])delete jr[jt][ju]['BDFDBreactSearch'];else delete jr[jt]['BDFDBreactSearch'];}return jr;}else return js;function jv(ji){jm++;var jx=undefined;if(ji&&!Node['prototype']['isPrototypeOf'](ji)&&!d['ReactUtils']['getInstance'](ji)&&jmf['isInstanceCorrect'](ji,jz['split']('\x20_\x20_\x20')[0x0]))||jh['key']&&jh['key']['some'](jA=>ji['key']==jA)||jy&&jh['props']&&jh['props']['every'](jB=>d['ArrayUtils']['is'](jB)?d['ArrayUtils']['is'](jB[0x1])?jB[0x1]['some'](jC=>d['equals'](jy[jB[0x0]],jC)):d['equals'](jy[jB[0x0]],jB[0x1]):jy[jB]!==undefined))){if(jh['all']===undefined||!jh['all'])jx=ji['stateNode'];else if(jh['all']){if(!ji['stateNode']['BDFDBreactSearch']){ji['stateNode']['BDFDBreactSearch']=!![];if(jh['group']){if(jh['name']&&ji['type']&&(ji['type']['render']&&ji['type']['render']['displayName']||ji['type']['displayName']||ji['type']['name']||ji['type'])){let jD=jh['name']['find'](jE=>(ji['type']['render']&&ji['type']['render']['displayName']||ji['type']['displayName']||ji['type']['name']||ji['type'])['split']('\x20_\x20_\x20')[0x0]==jE)||'Default';if(!d['ArrayUtils']['is'](jr[jD]))jr[jD]=[];jr[jD]['push'](ji['stateNode']);}}else jr['push'](ji['stateNode']);}}}if(jx===undefined){let jF=Object['getOwnPropertyNames'](ji);for(let jG=0x0;jx===undefined&&jGjL);jJ['key']=jJ['key']&&[jJ['key']]['flat']()['filter'](jM=>jM);var jN=-0x1;var jO=performance['now']();var jP=jJ['unlimited']?0x3b9ac9ff:jJ['depth']===undefined?0x1e:jJ['depth'];var jQ=jJ['unlimited']?0x3b9ac9ff:jJ['time']===undefined?0x96:jJ['time'];var jR=jJ['up']?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};return jS(jK);function jS(jK){jN++;var jU=undefined;if(jK&&!Node['prototype']['isPrototypeOf'](jK)&&!d['ReactUtils']['getInstance'](jK)&&jN(jK['type']['render']&&jK['type']['render']['displayName']||jK['type']['displayName']||jK['type']['name']||jK['type'])===jV['split']('\x20_\x20_\x20')[0x0])||jJ['key']&&jJ['key']['some'](jW=>jK['key']==jW)))jU=jK['memoizedProps'];if(jU===undefined){let jX=Object['getOwnPropertyNames'](jK);for(let jY=0x0;jU===undefined&&jYkn))if(km['updater']&&typeof km['updater']['isMounted']=='function'&&km['updater']['isMounted'](km))km['forceUpdate']();};d['ReactUtils']['getInstance']=function(ko){if(!d['ObjectUtils']['is'](ko))return null;return ko[Object['keys'](ko)['find'](kp=>kp['startsWith']('__reactInternalInstance'))];};d['ReactUtils']['getValue']=function(kq,kr){if(!kq||!kr)return null;var ks=Node['prototype']['isPrototypeOf'](kq)?d['ReactUtils']['getInstance'](kq):kq;if(!d['ObjectUtils']['is'](ks))return null;var kt=ks,ku=kr['split']('.')['filter'](kv=>kv);for(value of ku){if(!kt)return null;kt=kt[value];}return kt;};d['ReactUtils']['render']=function(kw,kx){if(!d['ReactUtils']['isValidElement'](kw)||!Node['prototype']['isPrototypeOf'](kx))return;try{i3['ReactDOM']['render'](kw,kx);let ky=new MutationObserver(kz=>kz['forEach'](kA=>{let kB=Array['from'](kA['removedNodes']);if(kB['indexOf'](kx)>-0x1||kB['some'](kC=>kC['contains'](kx))){ky['disconnect']();d['ReactUtils']['unmountComponentAtNode'](kx);}}));ky['observe'](document['body'],{'subtree':!![],'childList':!![]});}catch(kD){d['LogUtils']['error']('Fatal\x20Error:\x20Could\x20not\x20render\x20react\x20element!\x20'+kD);}};f['setDefaultProps']=function(kE,kF){if(d['ObjectUtils']['is'](kE))kE['defaultProps']=Object['assign']({},kE['defaultProps'],kF);};d['equals']=function(kG,kH,kI){var kJ=-0x1;if(kI===undefined||typeof kI!=='boolean')kI=![];return kK(kG,kH);function kK(kL,kM){kJ++;var kN=!![];if(kJ>0x3e8)kN=null;else{if(typeof kL!==typeof kM)kN=![];else if(typeof kL==='function')kN=kL['toString']()==kM['toString']();else if(typeof kL==='undefined')kN=!![];else if(typeof kL==='symbol')kN=!![];else if(typeof kL==='boolean')kN=kL==kM;else if(typeof kL==='string')kN=kL==kM;else if(typeof kL==='number'){if(isNaN(kL)||isNaN(kM))kN=isNaN(kL)==isNaN(kM);else kN=kL==kM;}else if(!kL&&!kM)kN=!![];else if(!kL||!kM)kN=![];else if(typeof kL==='object'){var kO=Object['getOwnPropertyNames'](kL);var kP=Object['getOwnPropertyNames'](kM);if(kO['length']!==kP['length'])kN=![];else for(let kQ=0x0;kN===!![]&&kQ{kT();let [kV,kW]=d['ReactUtils']['findChildren'](kU['returnValue'],{'props':['message','channel']});if(kW>-0x1){for(let kX in kV)kV[kX]['props']['message']=new d['DiscordObjects']['Message']({'author':new d['DiscordObjects']['User']({})});d['ReactUtils']['forceUpdate'](kU['thisObject']);}}});d['ReactUtils']['forceUpdate'](kR);}};d['UserUtils']={};var kY=i3['CurrentUserStore']?i3['CurrentUserStore']['getCurrentUser']():null;d['UserUtils']['is']=function(kZ){return kZ&&kZ instanceof d['DiscordObjects']['User'];};d['UserUtils']['me']=new Proxy(kY||{},{'get':function(l0,l1){if(!kY)kY=i3['CurrentUserStore']['getCurrentUser']();return kY?kY[l1]:null;}});d['UserUtils']['getStatus']=function(l2=d['UserUtils']['me']['id']){l2=typeof l2=='number'?l2['toFixed']():l2;let l3=d['UserUtils']['getActivitiy'](l2);return l3&&l3['type']==d['DiscordConstants']['ActivityTypes']['STREAMING']?'streaming':i3['StatusMetaUtils']['getStatus'](l2);};d['UserUtils']['getStatusColor']=function(l4){l4=typeof l4=='string'?l4['toLowerCase']():null;switch(l4){case'online':return d['DiscordConstants']['Colors']['STATUS_GREEN'];case'mobile':return d['DiscordConstants']['Colors']['STATUS_GREEN'];case'idle':return d['DiscordConstants']['Colors']['STATUS_YELLOW'];case'dnd':return d['DiscordConstants']['Colors']['STATUS_RED'];case'playing':return d['DiscordConstants']['Colors']['BRAND'];case'listening':return d['DiscordConstants']['Colors']['SPOTIFY'];case'streaming':return d['DiscordConstants']['Colors']['TWITCH'];default:return d['DiscordConstants']['Colors']['STATUS_GREY'];}};d['UserUtils']['getActivitiy']=function(l5=d['UserUtils']['me']['id']){for(let l6 of i3['StatusMetaUtils']['getActivities'](l5))if(l6['type']!=d['DiscordConstants']['ActivityTypes']['CUSTOM_STATUS'])return l6;return null;};d['UserUtils']['getAvatar']=function(l7=d['UserUtils']['me']['id']){var l8=i3['UserStore']['getUser'](typeof l7=='number'?l7['toFixed']():l7);if(!l8)return window['location']['origin']+'/assets/322c936a8c8be1b803cd94861bdfa868.png';else return((l8['avatar']?'':window['location']['origin'])+i3['IconUtils']['getUserAvatarURL'](l8))['split']('?')[0x0];};d['UserUtils']['can']=function(l9,la=d['UserUtils']['me']['id'],lb=i3['LastChannelStore']['getChannelId']()){if(!d['DiscordConstants']['Permissions'][l9])d['LogUtils']['warn'](l9+'\x20not\x20found\x20in\x20Permissions');else{var lc=i3['ChannelStore']['getChannel'](lb);if(lc)return i3['PermissionUtils']['canUser'](la,d['DiscordConstants']['Permissions'][l9],lc);}return![];};d['GuildUtils']={};d['GuildUtils']['is']=function(ld){return ld&&ld instanceof d['DiscordObjects']['Guild'];};d['GuildUtils']['getIcon']=function(le){var lf=i3['GuildStore']['getGuild'](typeof le=='number'?le['toFixed']():le);if(!lf||!lf['icon'])return null;return i3['IconUtils']['getGuildIconURL'](lf)['split']('?')[0x0];};d['GuildUtils']['getBanner']=function(lg){var lh=i3['GuildStore']['getGuild'](typeof lg=='number'?lg['toFixed']():lg);if(!lh||!lh['banner'])return null;return i3['IconUtils']['getGuildBannerURL'](lh)['split']('?')[0x0];};d['GuildUtils']['getFolder']=function(li){return d['LibraryModules']['FolderStore']['guildFolders']['filter'](lj=>lj['folderId'])['find'](lk=>lk['guildIds']['includes'](li));};d['GuildUtils']['getId']=function(ll){if(!Node['prototype']['isPrototypeOf'](ll)||!d['ReactUtils']['getInstance'](ll))return;let lm=d['DOMUtils']['getParent'](d['dotCN']['guildouter'],ll);if(!lm)return;var ln=lm['querySelector'](d['dotCN']['guildiconwrapper']);var lo=ln&&ln['href']?ln['href']['split']('/')['slice'](-0x2)[0x0]:null;return lo&&!isNaN(parseInt(lo))?lo['toString']():null;};d['GuildUtils']['getData']=function(lp){if(!lp)return null;let lq=Node['prototype']['isPrototypeOf'](lp)?d['GuildUtils']['getId'](lp):typeof lp=='object'?lp['id']:lp;lq=typeof lq=='number'?lq['toFixed']():lq;for(let lr of d['GuildUtils']['getAll']())if(lr&&lr['id']==lq)return lr;return null;};d['GuildUtils']['getAll']=function(){var ls=[],lt=[];for(let lu of d['ReactUtils']['findOwner'](document['querySelector'](d['dotCN']['guilds']),{'name':['Guild','GuildIcon'],'all':!![],'unlimited':!![]})){if(lu['props']&&lu['props']['guild'])lt['push'](Object['assign'](new lu['props']['guild']['constructor'](lu['props']['guild']),{'div':lu['handleContextMenu']&&d['ReactUtils']['findDOMNode'](lu),'instance':lu}));}for(let lv of d['LibraryModules']['FolderStore']['getFlattenedGuildIds']()){let lw=null;for(let lx of lt)if(lx['id']==lv){lw=lx;break;}if(lw)ls['push'](lw);else{let ly=d['LibraryModules']['GuildStore']['getGuild'](lv);ls['push'](Object['assign'](new ly['constructor'](ly),{'div':null,'instance':null}));}}return ls;};d['GuildUtils']['getUnread']=function(lz){var lA=[];for(let lB of lz===undefined||!d['ArrayUtils']['is'](lz)?d['GuildUtils']['getAll']():lz){if(!lB)return null;let lC=Node['prototype']['isPrototypeOf'](lB)?d['GuildUtils']['getId'](lB):typeof lB=='object'?lB['id']:lB;lC=typeof lC=='number'?lC['toFixed']():lC;if(lC&&(i3['UnreadGuildUtils']['hasUnread'](lC)||i3['UnreadGuildUtils']['getMentionCount'](lC)>0x0))lA['push'](lB);}return lA;};d['GuildUtils']['getPinged']=function(lD){var lE=[];for(let lF of lD===undefined||!d['ArrayUtils']['is'](lD)?d['GuildUtils']['getAll']():lD){if(!lF)return null;let lG=Node['prototype']['isPrototypeOf'](lF)?d['GuildUtils']['getId'](lF):typeof lF=='object'?lF['id']:lF;lG=typeof lG=='number'?lG['toFixed']():lG;if(lG&&i3['UnreadGuildUtils']['getMentionCount'](lG)>0x0)lE['push'](lF);}return lE;};d['GuildUtils']['getMuted']=function(lH){var lI=[];for(let lJ of lH===undefined||!d['ArrayUtils']['is'](lH)?d['GuildUtils']['getAll']():lH){if(!lJ)return null;let lK=Node['prototype']['isPrototypeOf'](lJ)?d['GuildUtils']['getId'](lJ):typeof lJ=='object'?lJ['id']:lJ;lK=typeof lK=='number'?lK['toFixed']():lK;if(lK&&i3['MutedUtils']['isGuildOrCategoryOrChannelMuted'](lK))lI['push'](lJ);}return lI;};d['GuildUtils']['getSelected']=function(){var lL=i3['GuildStore']['getGuild'](i3['LastGuildStore']['getGuildId']());if(lL)return d['GuildUtils']['getData'](lL['id'])||Object['assign'](new lL['constructor'](lL),{'div':null,'instance':null});else return null;};d['GuildUtils']['openMenu']=function(lM,lN=d['InternalData']['mousePosition']){if(!lM)return;let lO=Node['prototype']['isPrototypeOf'](lM)?d['GuildUtils']['getId'](lM):typeof lM=='object'?lM['id']:lM;let lP=i3['GuildStore']['getGuild'](lO);if(lP)i3['ContextMenuUtils']['openContextMenu'](lN,function(lN){return d['ReactUtils']['createElement'](Ae['ContextMenus']['_Exports']['GuildContextMenu']&&Ae['ContextMenus']['_Exports']['GuildContextMenu']['default'],Object['assign']({},lN,{'type':d['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':lP,'badge':i3['UnreadGuildUtils']['getMentionCount'](lP['id']),'link':d['DiscordConstants']['Routes']['CHANNEL'](lP['id'],i3['LastChannelStore']['getChannelId'](lP['id'])),'selected':lP['id']==i3['LastGuildStore']['getGuildId']()}));});};d['GuildUtils']['markAsRead']=function(lR){if(!lR)return;var lS=[];for(let lT of d['ArrayUtils']['is'](lR)?lR:typeof lR=='string'||typeof lR=='number'?Array['of'](lR):Array['from'](lR)){let lU=Node['prototype']['isPrototypeOf'](lT)?d['GuildUtils']['getId'](lT):lT&&typeof lT=='object'?lT['id']:lT;let lV=lU&&i3['GuildChannelStore']['getChannels'](lU);if(lV)for(let lW in lV)if(d['ArrayUtils']['is'](lV[lW]))for(let lX of lV[lW])lS['push'](lX['channel']['id']);}if(lS['length'])i3['AckUtils']['bulkAck'](lS);};d['FolderUtils']={};d['FolderUtils']['getId']=function(lY){if(!Node['prototype']['isPrototypeOf'](lY)||!d['ReactUtils']['getInstance'](lY))return;lY=d['DOMUtils']['getParent'](d['dotCN']['guildfolderwrapper'],lY);if(!lY)return;return d['ReactUtils']['findValue'](lY,'folderId',{'up':!![]});};d['FolderUtils']['getDefaultName']=function(lZ){let m0=d['LibraryModules']['FolderStore']['getGuildFolderById'](lZ);if(!m0)return'';let m1=0x2*d['DiscordConstants']['MAX_GUILD_FOLDER_NAME_LENGTH'];let m2=[],m3=m0['guildIds']['map'](m4=>(d['LibraryModules']['GuildStore']['getGuild'](m4)||{})['name'])['filter'](m5=>m5);for(let m6 of m3)if(m6['length']{i3['AckUtils']['ack'](n1[n4]);},n4*0x3e8);};d['DataUtils']={};d['DataUtils']['cached']=window['BDFDB']&&window['BDFDB']['DataUtils']&&window['BDFDB']['DataUtils']['cached']||{};d['DataUtils']['save']=function(n6,n7,n8,n9){let na,nb;if(!d['BDUtils']['isBDv2']()){nb=typeof n7==='string'?n7:n7['name'];na=i0['path']['join'](d['BDUtils']['getPluginsFolder'](),nb+'.config.json');}else{nb=typeof n7==='string'?n7['toLowerCase']():null;let nc=nb?d['Plugins'][nb]?d['Plugins'][nb]['contentPath']:null:n7['contentPath'];if(!nc)return;na=i0['path']['join'](nc,'settings.json');}let nd=d['DataUtils']['cached'][nb]!==undefined?d['DataUtils']['cached'][nb]:f['readConfig'](na)||{};if(n8===undefined)nd=d['ObjectUtils']['is'](n6)?d['ObjectUtils']['sort'](n6):n6;else{if(n9===undefined)nd[n8]=d['ObjectUtils']['is'](n6)?d['ObjectUtils']['sort'](n6):n6;else{if(!d['ObjectUtils']['is'](nd[n8]))nd[n8]={};nd[n8][n9]=d['ObjectUtils']['is'](n6)?d['ObjectUtils']['sort'](n6):n6;}}let ne=d['ObjectUtils']['is'](nd);if(n8!==undefined&&ne&&d['ObjectUtils']['is'](nd[n8])&&d['ObjectUtils']['isEmpty'](nd[n8]))delete nd[n8];if(d['ObjectUtils']['isEmpty'](nd)){delete d['DataUtils']['cached'][nb];if(i0['fs']['existsSync'](na))i0['fs']['unlinkSync'](na);}else{if(ne)nd=d['ObjectUtils']['sort'](nd);d['DataUtils']['cached'][nb]=ne?d['ObjectUtils']['deepAssign']({},nd):nd;i0['fs']['writeFileSync'](na,JSON['stringify'](nd,null,'\x09'));}};d['DataUtils']['load']=function(nf,ng,nh){let ni,nj;if(!d['BDUtils']['isBDv2']()){nj=typeof nf==='string'?nf:nf['name'];ni=i0['path']['join'](d['BDUtils']['getPluginsFolder'](),nj+'.config.json');}else{nj=typeof nf==='string'?nf['toLowerCase']():null;let nk=nj?d['Plugins'][nj]?d['Plugins'][nj]['contentPath']:null:nf['contentPath'];if(!nk)return{};ni=i0['path']['join'](nk,'settings.json');}let nl=d['DataUtils']['cached'][nj]!==undefined?d['DataUtils']['cached'][nj]:f['readConfig'](ni)||{};let nm=d['ObjectUtils']['is'](nl);d['DataUtils']['cached'][nj]=nm?d['ObjectUtils']['deepAssign']({},nl):nl;if(ng===undefined)return nl;else{let nn=nm?d['ObjectUtils']['is'](nl[ng])||nl[ng]==undefined?d['ObjectUtils']['deepAssign']({},nl[ng]):nl[ng]:null;if(nh===undefined)return nn;else return!d['ObjectUtils']['is'](nn)||nn[nh]===undefined?null:nn[nh];}};d['DataUtils']['remove']=function(no,np,nq){let nr,ns;if(!d['BDUtils']['isBDv2']()){ns=typeof no==='string'?no:no['name'];nr=i0['path']['join'](d['BDUtils']['getPluginsFolder'](),ns+'.config.json');}else{ns=typeof no==='string'?no['toLowerCase']():null;let nt=ns?d['Plugins'][ns]?d['Plugins'][ns]['contentPath']:null:no['contentPath'];if(!nt)return;nr=i0['path']['join'](nt,'settings.json');}let nu=d['DataUtils']['cached'][ns]!==undefined?d['DataUtils']['cached'][ns]:f['readConfig'](nr)||{};let nv=d['ObjectUtils']['is'](nu);if(np===undefined||!nv)nu={};else{if(nq===undefined)delete nu[np];else if(d['ObjectUtils']['is'](nu[np]))delete nu[np][nq];}if(d['ObjectUtils']['is'](nu[np])&&d['ObjectUtils']['isEmpty'](nu[np]))delete nu[np];if(d['ObjectUtils']['isEmpty'](nu)){delete d['DataUtils']['cached'][ns];if(i0['fs']['existsSync'](nr))i0['fs']['unlinkSync'](nr);}else{if(nv)nu=d['ObjectUtils']['sort'](nu);d['DataUtils']['cached'][ns]=nv?d['ObjectUtils']['deepAssign']({},nu):nu;i0['fs']['writeFileSync'](nr,JSON['stringify'](nu,null,'\x09'));}};d['DataUtils']['get']=function(nw,nx,ny){nw=typeof nw=='string'?d['BDUtils']['getPlugin'](nw):nw;if(!d['ObjectUtils']['is'](nw))return ny===undefined?{}:null;let nz=(nw['name']=='$BDFDB'?f:nw)['defaults'];if(!d['ObjectUtils']['is'](nz)||!nz[nx])return ny===undefined?{}:null;var nA=d['DataUtils']['load'](nw,nx),nB={},nC=![];for(let nD in nz[nx]){if(nA[nD]==null){nB[nD]=d['ObjectUtils']['is'](nz[nx][nD]['value'])?d['ObjectUtils']['deepAssign']({},nz[nx][nD]['value']):nz[nx][nD]['value'];nC=!![];}else nB[nD]=nA[nD];}if(nC)d['DataUtils']['save'](nB,nw,nx);if(ny===undefined)return nB;else return nB[ny]===undefined?null:nB[ny];};f['readConfig']=function(nE){try{return JSON['parse'](i0['fs']['readFileSync'](nE));}catch(nF){return{};}};d['ColorUtils']={};d['ColorUtils']['convert']=function(nG,nH,nI){if(d['ObjectUtils']['is'](nG)){var nJ={};for(let nK in nG)nJ[nK]=d['ColorUtils']['convert'](nG[nK],nH,nI);return nJ;}else{nH=nH===undefined||!nH?nH='RGBCOMP':nH['toUpperCase']();nI=nI===undefined||!nI||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX','HEXA','INT']['includes'](nI['toUpperCase']())?d['ColorUtils']['getType'](nG):nI['toUpperCase']();if(nH=='RGBCOMP'){switch(nI){case'RGBCOMP':if(nG['length']==0x3)return ok(nG);else if(nG['length']==0x4){let nL=on(nG['pop']());return ok(nG)['concat'](nL);}break;case'RGB':return ok(nG['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let nM=nG['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let nL=on(nM['pop']());return ok(nM)['concat'](nL);case'HSLCOMP':if(nG['length']==0x3)return d['ColorUtils']['convert']('hsl('+or(nG)['join'](',')+')','RGBCOMP');else if(nG['length']==0x4){let nO=on(nG['pop']());return d['ColorUtils']['convert']('hsl('+or(nG)['join'](',')+')','RGBCOMP')['concat'](nO);}break;case'HSL':var nP=or(nG['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var nQ,nR,nS,nT,nU,nV,nW,nX;var nY=nP[0x0]/0x168,nZ=parseInt(nP[0x1])/0x64,o0=parseInt(nP[0x2])/0x64;nT=Math['floor'](nY*0x6);nU=nY*0x6-nT;nV=o0*(0x1-nZ);nW=o0*(0x1-nU*nZ);nX=o0*(0x1-(0x1-nU)*nZ);switch(nT%0x6){case 0x0:nQ=o0,nR=nX,nS=nV;break;case 0x1:nQ=nW,nR=o0,nS=nV;break;case 0x2:nQ=nV,nR=o0,nS=nX;break;case 0x3:nQ=nV,nR=nW,nS=o0;break;case 0x4:nQ=nX,nR=nV,nS=o0;break;case 0x5:nQ=o0,nR=nV,nS=nW;break;}return[Math['round'](nQ*0xff),Math['round'](nR*0xff),Math['round'](nS*0xff)];case'HSLA':var nP=nG['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return d['ColorUtils']['convert']('hsl('+nP['slice'](0x0,0x3)['join'](',')+')','RGBCOMP')['concat'](on(nP['pop']()));case'HEX':var o2=/^#([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'](nG);return[parseInt(o2[0x1]+o2[0x1]||o2[0x4],0x10)['toString'](),parseInt(o2[0x2]+o2[0x2]||o2[0x5],0x10)['toString'](),parseInt(o2[0x3]+o2[0x3]||o2[0x6],0x10)['toString']()];case'HEXA':var o2=/^#([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'](nG);return[parseInt(o2[0x1]+o2[0x1]||o2[0x5],0x10)['toString'](),parseInt(o2[0x2]+o2[0x2]||o2[0x6],0x10)['toString'](),parseInt(o2[0x3]+o2[0x3]||o2[0x7],0x10)['toString'](),Math['floor'](d['NumberUtils']['mapRange']([0x0,0xff],[0x0,0x64],parseInt(o2[0x4]+o2[0x4]||o2[0x8],0x10)['toString']()))/0x64];case'INT':nG=ov(nG);return[(nG>>0x10&0xff)['toString'](),(nG>>0x8&0xff)['toString'](),(nG&0xff)['toString']()];default:return null;}}else{var o4=nI=='RGBCOMP'?nG:d['ColorUtils']['convert'](nG,'RGBCOMP',nI);if(o4)switch(nH){case'RGB':return'rgb('+ok(o4['slice'](0x0,0x3))['join'](',')+')';case'RGBA':o4=o4['slice'](0x0,0x4);var o5=o4['length']==0x4?on(o4['pop']()):0x1;return'rgba('+ok(o4)['concat'](o5)['join'](',')+')';case'HSLCOMP':var o5=o4['length']==0x4?on(o4['pop']()):null;var nP=or(d['ColorUtils']['convert'](o4,'HSL')['replace'](/\s/g,'')['split'](','));return o5!=null?nP['concat'](o5):nP;case'HSL':var nQ=oi(o4[0x0]),nR=oi(o4[0x1]),nS=oi(o4[0x2]);var ob=Math['max'](nQ,nR,nS),oc=Math['min'](nQ,nR,nS),od=ob-oc,nY,nZ=ob===0x0?0x0:od/ob,o0=ob/0xff;switch(ob){case oc:nY=0x0;break;case nQ:nY=nR-nS+od*(nR0xff?0xff:nU<0x0?0x0:nU;}};function ok(ol){return ol['map'](nU=>{return oi(nU);});};function on(o5){if(o5==null){return 0x1;}else{o5=o5['toString']();o5=(o5['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(o5['replace'](/[^0-9\.\-]/g,''));return isNaN(o5)||o5>0x1?0x1:o5<0x0?0x0:o5;}};function op(oq){if(oq==null){return'100%';}else{oq=parseFloat(oq['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(oq)||oq>0x64?0x64:oq<0x0?0x0:oq)+'%';}};function or(os){let nY=parseFloat(os['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));nY=isNaN(nY)||nY>0x168?0x168:nY<0x0?0x0:nY;return[nY]['concat'](os['map'](ou=>{return op(ou);}));};function ov(nU){if(nU==null){return 0xffffff;}else{nU=parseInt(nU['toString']()['replace'](/[^0-9]/g,''));return isNaN(nU)||nU>0xffffff?0xffffff:nU<0x0?0x0:nU;}};};d['ColorUtils']['setAlpha']=function(ox,oy,oz){if(d['ObjectUtils']['is'](ox)){var oA={};for(let oB in ox)oA[oB]=d['ColorUtils']['setAlpha'](ox[oB],oy,oz);return oA;}else{var oC=d['ColorUtils']['convert'](ox,'RGBCOMP');if(oC){oy=oy['toString']();oy=(oy['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oy['replace'](/[^0-9\.\-]/g,''));oy=isNaN(oy)||oy>0x1?0x1:oy<0x0?0x0:oy;oC[0x3]=oy;oz=(oz||d['ColorUtils']['getType'](ox))['toUpperCase']();oz=oz=='RGB'||oz=='HSL'||oz=='HEX'?oz+'A':oz;return d['ColorUtils']['convert'](oC,oz);}}return null;};d['ColorUtils']['getAlpha']=function(oD){var oE=d['ColorUtils']['convert'](oD,'RGBCOMP');if(oE){if(oE['length']==0x3)return 0x1;else if(oE['length']==0x4){let oF=oE[0x3]['toString']();oF=(oF['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oF['replace'](/[^0-9\.\-]/g,''));return isNaN(oF)||oF>0x1?0x1:oF<0x0?0x0:oF;}}return null;};d['ColorUtils']['change']=function(oG,oH,oI){oH=parseFloat(oH);if(oG!=null&&typeof oH=='number'&&!isNaN(oH)){if(d['ObjectUtils']['is'](oG)){var oJ={};for(let oK in oG)oJ[oK]=d['ColorUtils']['change'](oG[oK],oH,oI);return oJ;}else{var oL=d['ColorUtils']['convert'](oG,'RGBCOMP');if(oL){if(parseInt(oH)!==oH){oH=oH['toString']();oH=(oH['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(oH['replace'](/[^0-9\.\-]/g,''));oH=isNaN(oH)?0x0:oH;return d['ColorUtils']['convert']([Math['round'](oL[0x0]*(0x1+oH)),Math['round'](oL[0x1]*(0x1+oH)),Math['round'](oL[0x2]*(0x1+oH))],oI||d['ColorUtils']['getType'](oG));}else return d['ColorUtils']['convert']([Math['round'](oL[0x0]+oH),Math['round'](oL[0x1]+oH),Math['round'](oL[0x2]+oH)],oI||d['ColorUtils']['getType'](oG));}}}return null;};d['ColorUtils']['invert']=function(oM,oN){if(d['ObjectUtils']['is'](oM)){var oO={};for(let oP in oM)oO[oP]=d['ColorUtils']['invert'](oM[oP],oN);return oO;}else{var oQ=d['ColorUtils']['convert'](oM,'RGBCOMP');if(oQ)return d['ColorUtils']['convert']([0xff-oQ[0x0],0xff-oQ[0x1],0xff-oQ[0x2]],oN||d['ColorUtils']['getType'](oM));}return null;};d['ColorUtils']['compare']=function(oR,oS){if(oR&&oS){oR=d['ColorUtils']['convert'](oR,'RGBA');oS=d['ColorUtils']['convert'](oS,'RGBA');if(oR&&oS)return d['equals'](oR,oS);}return null;};d['ColorUtils']['isBright']=function(oT,oU=0xa0){oT=d['ColorUtils']['convert'](oT,'RGBCOMP');if(!oT)return![];return parseInt(oU)