diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 33c2ac31bc..453bcfd36c 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1 +1 @@
-if(window['BDFDB']&&typeof BDFDB['removeEventListener']=='function')BDFDB['removeEventListener'](BDFDB);if(window['BDFDB']&&BDFDB['WebModules']&&typeof BDFDB['WebModules']['unpatchall']=='function')BDFDB['WebModules']['unpatchall'](BDFDB);if(window['BDFDB']&&typeof BDFDB['killObservers']=='function')BDFDB['killObservers'](BDFDB);var BDFDB={'myPlugins':BDFDB&&BDFDB['myPlugins']?BDFDB['myPlugins']:{},'BDv2Api':BDFDB&&BDFDB['BDv2Api']?BDFDB['BDv2Api']:undefined,'creationTime':performance['now'](),'cachedData':{},'pressedKeys':[],'mousePosition':{'pageX':0x0,'pageY':0x0},'name':'$BDFDB'};(()=>{var c=Math['round'](Math['random']()*0x2386f26fc10000);BDFDB['id']=c;console['log']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','loading\x20library.');BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};BDFDB['loadMessage']=function(d){BDFDB['clearStarttimout'](d);d['name']=d['name']||(typeof d['getName']=='function'?d['getName']():null);d['version']=d['version']||(typeof d['getVersion']=='function'?d['getVersion']():null);d['author']=d['author']||(typeof d['getAuthor']=='function'?d['getAuthor']():null);d['description']=d['description']||(typeof d['getDescription']=='function'?d['getDescription']():null);var e=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+d['version']);console['log']('%c['+d['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',e);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](d['name']+'\x20'+e,{'nopointer':!![],'selector':'plugin-started-toast'});var f=typeof d['getRawUrl']=='function'&&typeof d['getRawUrl']()=='string'?d['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+d['name']+'/'+d['name']+'.plugin.js';BDFDB['checkUpdate'](d['name'],f);if(typeof d['initConstructor']==='function'){try{d['initConstructor']();}catch(g){console['error']('%c['+d['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20initiate\x20constructor!\x20'+g);}}if(typeof d['css']==='string')BDFDB['appendLocalStyle'](d['name'],d['css']);BDFDB['WebModules']['patchModules'](d);BDFDB['addOnSwitchListener'](d);BDFDB['addSettingsButtonListener'](d);BDFDB['addContextListener'](d);BDFDB['translatePlugin'](d);BDFDB['checkChangeLog'](d);if(!window['PluginUpdates']||typeof window['PluginUpdates']!=='object')window['PluginUpdates']={'plugins':{}};window['PluginUpdates']['plugins'][f]={'name':d['name'],'raw':f,'version':d['version']};if(typeof window['PluginUpdates']['interval']==='undefined')window['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);d['started']=!![];for(let h in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][h]['started']&&typeof BDFDB['myPlugins'][h]['initialize']=='function')BDFDB['myPlugins'][h]['initialize']();};BDFDB['unloadMessage']=function(i){BDFDB['clearStarttimout'](i);delete BDFDB['myPlugins'][i['name']];var j=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+i['version']);console['log']('%c['+i['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',j);if(!(window['settingsCookie']['fork-ps-2']&&window['settingsCookie']['fork-ps-2']===!![]))BDFDB['showToast'](i['name']+'\x20'+j,{'nopointer':!![],'selector':'plugin-stopped-toast'});var k=typeof i['getRawUrl']=='function'&&typeof i['getRawUrl']()=='string'?i['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+i['name']+'/'+i['name']+'.plugin.js';if(typeof i['css']==='string')BDFDB['removeLocalStyle'](i['name']);BDFDB['WebModules']['unpatchall'](i);BDFDB['removeOnSwitchListener'](i);BDFDB['removeSettingsButtonListener'](i);BDFDB['removeEventListener'](i);BDFDB['removeEles']('.'+i['name']+'-modal,\x20.'+i['name']['toLowerCase']()+'-modal,\x20.'+i['name']+'-settingsmodal,\x20.'+i['name']['toLowerCase']()+'-settingsmodal');BDFDB['killObservers'](i);delete window['PluginUpdates']['plugins'][k];if(BDFDB['isObjectEmpty'](window['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete i['started'];};BDFDB['translatePlugin']=function(l){if(typeof l['setLabelsByLanguage']==='function'||typeof l['changeLanguageStrings']==='function'){if(document['querySelector']('html')['lang'])n();else{var m=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(m);n();}},0x64);}function n(){var o=BDFDB['getDiscordLanguage']();if(typeof l['setLabelsByLanguage']==='function')l['labels']=l['setLabelsByLanguage'](o['id']);if(typeof l['changeLanguageStrings']==='function')l['changeLanguageStrings']();var p=BDFDB['getLibraryStrings']()['toast_plugin_translated']['replace']('{{ownlang}}',o['ownlang']);console['log']('%c['+l['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',p);}}};BDFDB['clearStarttimout']=function(q){if(q['startTimeout']){clearTimeout(q['startTimeout']);delete q['startTimeout'];}if(q['libLoadTimeout']){clearTimeout(q['libLoadTimeout']);delete q['libLoadTimeout'];}};BDFDB['checkChangeLog']=function(r){if(!BDFDB['isObject'](r)||!r['changelog'])return;var s=BDFDB['loadAllData'](r,'changelog');if(!s['currentversion']||BDFDB['checkVersions'](r['version'],s['currentversion'])){s['currentversion']=r['version'];BDFDB['saveAllData'](s,r,'changelog');BDFDB['openChangeLogModal'](r);}};BDFDB['openChangeLogModal']=function(t){if(!BDFDB['isObject'](t)||!t['changelog'])return;var u='';var v={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let w in t['changelog']){w=w['toLowerCase']();var x=BDFDB['disCN']['changelog'+w];if(x){u+='
'+v[w]+'
';for(let y of t['changelog'][w])u+='- '+y[0x0]+''+(y[0x1]?':\x20'+y[0x1]+'.':'')+'
';u+='
';}}if(u)BDFDB['removeEles'](BDFDB['openConfirmModal'](t,u,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));};BDFDB['addObserver']=function(z,A,B,C={'childList':!![]}){if(!BDFDB['isObject'](z)||!A||!B)return;if(BDFDB['isObjectEmpty'](z['observers']))z['observers']={};if(!Array['isArray'](z['observers'][B['name']]))z['observers'][B['name']]=[];if(!B['multi'])for(let D of z['observers'][B['name']])D['disconnect']();if(B['instance'])z['observers'][B['name']]['push'](B['instance']);var E=z['observers'][B['name']][z['observers'][B['name']]['length']-0x1];if(E){var F=Node['prototype']['isPrototypeOf'](A)?A:typeof A==='string'?document['querySelector'](A):null;if(F)E['observe'](F,C);}};BDFDB['killObservers']=function(G){if(!BDFDB['isObjectEmpty'](G['observers'])){for(let H in G['observers'])for(let I of G['observers'][H])I['disconnect']();delete G['observers'];}};BDFDB['addChildEventListener']=function(J,K,L,M){if(!Node['prototype']['isPrototypeOf'](J)||!K||!L||!L['trim']()||typeof M!='function')return;for(var N of K['trim']()['split']('\x20'))if(N){var O=M;if(N=='mouseenter'||N=='mouseleave')O=P=>{if(P['target']['matches'](L))M(P);};J['querySelectorAll'](L['trim']())['forEach'](Q=>{Q['addEventListener'](N,O,!![]);});}};BDFDB['addEventListener']=function(R,S,T,U,V){if(!BDFDB['isObject'](R)||!Node['prototype']['isPrototypeOf'](S)&&S!==window||!T)return;var W=typeof U=='function';var X=W?undefined:U;var Y=W?U:V;if(typeof Y!='function')return;BDFDB['removeEventListener'](R,S,T,X);for(var Z of T['split']('\x20')){Z=Z['split']('.');var a0=Z['shift']()['toLowerCase']();if(!a0)return;var a1=a0;a0=a0=='mouseenter'||a0=='mouseleave'?'mouseover':a0;var a2=(Z['join']('.')||'')+R['name'];if(!Array['isArray'](R['listeners']))R['listeners']=[];var a3=null;if(X){if(a1=='mouseenter'||a1=='mouseleave'){a3=a4=>{for(let a5 of a4['path'])if(typeof a5['matches']=='function'&&a5['matches'](X)&&!a5[a2+'BDFDB'+a1]){a5[a2+'BDFDB'+a1]=!![];if(a1=='mouseenter')Y(BDFDB['copyEvent'](a4,a5));let a6=a7=>{if(a7['target']['contains'](a5)||a7['target']==a5||!a5['contains'](a7['target'])){if(a1=='mouseleave')Y(BDFDB['copyEvent'](a4,a5));delete a5[a2+'BDFDB'+a1];document['removeEventListener']('mouseout',a6);}};document['addEventListener']('mouseout',a6);break;}};}else{a3=a8=>{for(let a9 of a8['path'])if(typeof a9['matches']=='function'&&a9['matches'](X)){Y(BDFDB['copyEvent'](a8,a9));break;}};}}else a3=aa=>{Y(BDFDB['copyEvent'](aa,S));};R['listeners']['push']({'ele':S,'eventname':a0,'origeventname':a1,'namespace':a2,'selector':X,'eventcallback':a3});S['addEventListener'](a0,a3,!![]);}};BDFDB['copyEvent']=function(ab,ac){if(!ab||!ab['constructor']||!ab['type'])return ab;var ad=new ab['constructor'](ab['type'],ab);Object['defineProperty'](ad,'originalEvent',{'value':ab});Object['defineProperty'](ad,'which',{'value':ab['which']});Object['defineProperty'](ad,'keyCode',{'value':ab['keyCode']});Object['defineProperty'](ad,'path',{'value':ab['path']});Object['defineProperty'](ad,'relatedTarget',{'value':ab['relatedTarget']});Object['defineProperty'](ad,'srcElement',{'value':ab['srcElement']});Object['defineProperty'](ad,'target',{'value':ab['target']});Object['defineProperty'](ad,'toElement',{'value':ab['toElement']});if(ac)Object['defineProperty'](ad,'currentTarget',{'value':ac});return ad;};BDFDB['stopEvent']=function(ae){if(BDFDB['isObject'](ae)){if(typeof ae['preventDefault']=='function')ae['preventDefault']();if(typeof ae['stopPropagation']=='function')ae['stopPropagation']();if(typeof ae['stopImmediatePropagation']=='function')ae['stopImmediatePropagation']();if(BDFDB['isObject'](ae['originalEvent'])){if(typeof ae['originalEvent']['preventDefault']=='function')ae['originalEvent']['preventDefault']();if(typeof ae['originalEvent']['stopPropagation']=='function')ae['originalEvent']['stopPropagation']();if(typeof ae['originalEvent']['stopImmediatePropagation']=='function')ae['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(af,ag,ah='',ai){if(!BDFDB['isObject'](af)||!Array['isArray'](af['listeners']))return;if(Node['prototype']['isPrototypeOf'](ag)||ag===window){for(var aj of ah['split']('\x20')){aj=aj['split']('.');var ak=aj['shift']()['toLowerCase']();var al=(aj['join']('.')||'')+af['name'];for(let am of af['listeners']){let an=[];if(am['ele']==ag&&(!ak||am['origeventname']==ak)&&am['namespace']==al&&(ai===undefined||am['selector']==ai)){ag['removeEventListener'](am['eventname'],am['eventcallback'],!![]);an['push'](am);}if(an['length'])af['listeners']=af['listeners']['filter'](am=>{return an['indexOf'](am)<0x0;});}}}else if(!ag){for(let ap of af['listeners'])ap['ele']['removeEventListener'](ap['eventname'],ap['eventcallback'],!![]);af['listeners']=[];}};BDFDB['checkUpdate']=function(aq,ar){if(BDFDB['isBDv2']())return;fm['request'](ar,(as,at,au)=>{if(as)return;var av=au['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!av)return;if(BDFDB['checkVersionDifference'](av[0x0],window['PluginUpdates']['plugins'][ar]['version'])>0.2){BDFDB['showToast'](aq+'\x20will\x20be\x20force\x20updated,\x20because\x20your\x20version\x20is\x20heavily\x20outdated.',{'type':'warn','nopointer':!![],'selector':'plugin-forceupdate-toast'});BDFDB['downloadPlugin'](aq,ar);}else if(BDFDB['checkVersions'](av[0x0],window['PluginUpdates']['plugins'][ar]['version']))BDFDB['showUpdateNotice'](aq,ar);else BDFDB['removeUpdateNotice'](aq);});};BDFDB['checkVersions']=function(aw,ax){if(!aw||!ax)return!![];aw=aw['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](ay=>parseInt(ay))['filter'](az=>(az||az==0x0)&&!isNaN(az));ax=ax['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aA=>parseInt(aA))['filter'](aB=>(aB||aB==0x0)&&!isNaN(aB));var aC=Math['max'](aw['length'],ax['length']);if(!aC)return!![];if(aw['length']>ax['length']){var aD=new Array(aw['length']-ax['length']);for(let aE=0x0;aEax[aJ])return!![];}return![];};BDFDB['checkVersionDifference']=function(aK,aL){if(!aK||!aL)return![];aK=aK['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aM=>parseInt(aM))['filter'](aN=>(aN||aN==0x0)&&!isNaN(aN));aL=aL['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aO=>parseInt(aO))['filter'](aP=>(aP||aP==0x0)&&!isNaN(aP));var aQ=Math['max'](aK['length'],aL['length']);if(!aQ)return![];if(aK['length']>aL['length']){var aR=new Array(aK['length']-aL['length']);for(let aS=0x0;aS',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':'','customicon':''});b1['style']['setProperty']('display','block','important');b1['style']['setProperty']('visibility','visible','important');b1['style']['setProperty']('opacity','1','important');b1['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{BDFDB['removeEles']('.update-clickme-tooltip');});var b2=b1['querySelector'](BDFDB['dotCN']['noticebutton']);if(b2){BDFDB['toggleEles'](b2,!![]);b2['addEventListener']('click',()=>{window['location']['reload'](![]);});b2['addEventListener']('mouseenter',()=>{if(window['PluginUpdates']['downloaded'])BDFDB['createTooltip'](window['PluginUpdates']['downloaded']['join'](',\x20'),b2,{'type':'bottom','selector':'update-notice-tooltip','style':'max-width:\x20420px'});});}}if(b1){var b3=b1['querySelector']('#outdatedPlugins');if(b3&&!b3['querySelector']('#'+aZ+'-notice')){if(b3['querySelector']('span'))b3['appendChild'](BDFDB['htmlToElement'](',\x20'));var b4=BDFDB['htmlToElement'](''+aZ+'');b4['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aZ,b0);});b3['appendChild'](b4);if(!document['querySelector']('.update-clickme-tooltip'))BDFDB['createTooltip']('Click\x20us!',b3,{'type':'bottom','selector':'update-clickme-tooltip','delay':0x1f4});}}};BDFDB['downloadPlugin']=function(b5,b6){fm['request'](b6,(b7,b8,b9)=>{if(b7)return console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','','Unable\x20to\x20get\x20update\x20for\x20'+b5);BDFDB['creationTime']=0x0;var ba=b9['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);ba=ba['toString']()['replace'](/['"]/g,'');fm['fs']['writeFileSync'](fm['path']['join'](BDFDB['getPluginsFolder'](),bdplugins[b5]?bdplugins[b5]['filename']:b6['split']('/')['slice'](-0x1)[0x0]),b9);BDFDB['showToast'](b5+'\x20v'+window['PluginUpdates']['plugins'][b6]['version']+'\x20has\x20been\x20replaced\x20by\x20'+b5+'\x20v'+ba+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});var bb=document['querySelector']('#pluginNotice');if(bb){if(bb['querySelector'](BDFDB['dotCN']['noticebutton'])){window['PluginUpdates']['plugins'][b6]['version']=ba;if(!window['PluginUpdates']['downloaded'])window['PluginUpdates']['downloaded']=[];if(!window['PluginUpdates']['downloaded']['includes'](b5))window['PluginUpdates']['downloaded']['push'](b5);}BDFDB['removeUpdateNotice'](b5,bb);}});};BDFDB['removeUpdateNotice']=function(bc,bd=document['querySelector']('#pluginNotice')){if(!bd)return;var be=bd['querySelector']('#outdatedPlugins');if(be){var bf=be['querySelector']('#'+bc+'-notice');if(bf){var bg=bf['nextSibling'];var bh=bf['prevSibling'];if(bg&&BDFDB['containsClass'](bg,'separator'))bg['remove']();else if(bh&&BDFDB['containsClass'](bh,'separator'))bh['remove']();bf['remove']();}if(!be['querySelector']('span')){var bi=bd['querySelector'](BDFDB['dotCN']['noticebutton']);if(bi){bd['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](bi,![]);}else bd['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(bj,bk={}){var bl=document['querySelector']('.toasts,\x20.bd-toasts');if(!bl){var bm=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bn=bm?BDFDB['getRects'](bm):null;var bo=bm?bm['querySelector'](BDFDB['dotCN']['memberswrap']):null;var bp=bn?bn['left']:0x136;var bq=bn?bo?bn['width']-BDFDB['getRects'](bo)['width']:bn['width']:window['outerWidth']-0x0;var br=bm?bm['querySelector']('form'):null;var bs=br?BDFDB['getRects'](br)['height']:0x50;bl=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](bl);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![],color=''}=bk;var bt=BDFDB['htmlToElement'](''+(html===!![]?bj:BDFDB['encodeToHTML'](bj))+'
');if(type){BDFDB['addClass'](bt,'toast-'+type);if(icon)BDFDB['addClass'](bt,'icon');}else if(color){var bu=BDFDB['colorCONVERT'](color,'RGB');if(bu)bt['style']['setProperty']('background-color',bu,'important');}BDFDB['addClass'](bt,selector);bl['appendChild'](bt);bt['close']=()=>{if(document['contains'](bt)){BDFDB['addClass'](bt,'closing');setTimeout(()=>{bt['remove']();if(!bl['querySelectorAll']('.toast,\x20.bd-toast')['length'])bl['remove']();},0xbb8);}};if(nopointer)bt['style']['setProperty']('pointer-events','none','important');else bt['addEventListener']('click',bt['close']);setTimeout(()=>{bt['close']();},timeout>0x0?timeout:0x927c0);return bt;};var bv={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bw,bx={}){var by=()=>{bv['queue']['push']({'parsedcontent':bw,'parsedoptions':bx});bz();};var bz=()=>{if(!bv['running']){var bA=bv['queue']['shift']();if(bA)bB(bA['parsedcontent'],bA['parsedoptions']);}};var bB=(bC,bD)=>{bv['running']=!![];var bE=bD['silent'];bD['silent']=bD['silent']||bD['sound']?!![]:![];var bF=new Notification(bC,bD);var bG=new Audio();var bH=setTimeout(()=>{bI();},bD['timeout']?bD['timeout']:0xbb8);if(typeof bD['click']=='function')bF['onclick']=()=>{clearTimeout(bH);bI();bD['click']();};if(!bE&&bD['sound']){bG['src']=bD['sound'];bG['play']();}var bI=()=>{bG['pause']();bF['close']();bv['running']=![];setTimeout(()=>{bz();},0x3e8);};};if(!('Notification'in window)){}else if(Notification['permission']==='granted')by();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bJ){if(bJ==='granted')by();});};BDFDB['createTooltip']=function(bK,bL,bM={}){if(!bK||!bL||!Node['prototype']['isPrototypeOf'](bL)||!document['contains'](bL))return null;var bN=BDFDB['htmlToElement']('');if(bM['id'])bN['id']=bM['id']['split']('\x20')['join']('');if(bM['selector'])BDFDB['addClass'](bN,bM['selector']);if(bM['style'])bN['style']=bM['style'];if(bM['html']===!![])bN['innerHTML']=bK;else bN['innerText']=bK;if(bM['type']&&BDFDB['disCN']['tooltip'+bM['type']['toLowerCase']()]){BDFDB['addClass'](bN,BDFDB['disCN']['tooltip'+bM['type']['toLowerCase']()]);bN['appendChild'](BDFDB['htmlToElement'](''));}if(bN['style']['getPropertyValue']('border-color')&&(bN['style']['getPropertyValue']('background-color')||bN['style']['getPropertyValue']('background-image')))BDFDB['addClass'](bN,'tooltip-customcolor');else if(bM['color']&&BDFDB['disCN']['tooltip'+bM['color']['toLowerCase']()])BDFDB['addClass'](bN,BDFDB['disCN']['tooltip'+bM['color']['toLowerCase']()]);else BDFDB['addClass'](bN,BDFDB['disCN']['tooltipblack']);if(!bM['position']||bM['type'])bM['position']=bM['type'];if(!bM['position']||!['top','bottom','left','right']['includes'](bM['position']['toLowerCase']()))bM['position']='right';bN['position']=bM['position']['toLowerCase']();bN['anker']=bL;BDFDB['appendItemLayer'](bN,bL,{'css':bM['css'],'ankerlistener':{'mouseleave':()=>{bN['parentElement']['remove']();}}});BDFDB['updateTooltipPosition'](bN);if(bM['delay']){BDFDB['toggleEles'](bN);setTimeout(()=>{BDFDB['toggleEles'](bN);},bM['delay']);}return bN;};BDFDB['updateTooltipPosition']=function(bO){if(!Node['prototype']['isPrototypeOf'](bO))return;let bP=BDFDB['getParentEle'](BDFDB['dotCN']['itemlayer'],bO);if(!Node['prototype']['isPrototypeOf'](bP))return;bO=bP['querySelector'](BDFDB['dotCN']['tooltip']);if(!Node['prototype']['isPrototypeOf'](bO)||!Node['prototype']['isPrototypeOf'](bO['anker'])||!bO['position'])return;var bQ,bR,bS=BDFDB['getRects'](bO['anker']),bT=BDFDB['getRects'](bP),bU=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),bV={'height':0x0,'width':0x0};var bW=bO['querySelector'](BDFDB['dotCN']['tooltippointer']);if(bW)bV=BDFDB['getRects'](bW);switch(bO['position']){case'top':bR=bS['top']-bT['height']-bV['height']+0x2;bQ=bS['left']+(bS['width']-bT['width'])/0x2;break;case'bottom':bR=bS['top']+bS['height']+bV['height']-0x2;bQ=bS['left']+(bS['width']-bT['width'])/0x2;break;case'left':bR=bS['top']+(bS['height']-bT['height'])/0x2;bQ=bS['left']-bT['width']-bV['width']+0x2;break;case'right':bR=bS['top']+(bS['height']-bT['height'])/0x2;bQ=bS['left']+bS['width']+bV['width']-0x2;break;}bP['style']['setProperty']('top',bR+'px');bP['style']['setProperty']('left',bQ+'px');if(bO['position']=='top'||bO['position']=='bottom'){if(bQ<0x0){bP['style']['setProperty']('left','5px');bW['style']['setProperty']('margin-left',bQ-0xa+'px');}else{var bX=bU['width']-(bQ+bT['width']);if(bX<0x0){bP['style']['setProperty']('left',bU['width']-bT['width']-0x5+'px');bW['style']['setProperty']('margin-left',-0x1*bX+'px');}}}else if(bO['position']=='left'||bO['position']=='right'){if(bR<0x0){bP['style']['setProperty']('top','5px');bW['style']['setProperty']('margin-top',bR-0xa+'px');}else{var bY=bU['height']-(bR+bT['height']);if(bY<0x0){bP['style']['setProperty']('top',bU['height']-bT['height']-0x5+'px');bW['style']['setProperty']('margin-top',-0x1*bY+'px');}}}};BDFDB['appendItemLayer']=function(bZ,c0,c1={}){var c2=document['querySelector'](BDFDB['dotCN']['itemlayerconainer']);if(!c2||!Node['prototype']['isPrototypeOf'](bZ)||!c0||!Node['prototype']['isPrototypeOf'](c0)||!document['contains'](c0))return null;var c3=document['querySelector']('.BDFDB-itemlayerconainer');if(!c3){c3=c2['cloneNode']();BDFDB['addClass'](c3,'BDFDB-itemlayerconainer');c2['parentElement']['insertBefore'](c3,c2['nextSibling']);}var c=Math['round'](Math['random']()*0x2386f26fc10000);var c5=BDFDB['htmlToElement']('');c5['appendChild'](bZ);c3['appendChild'](c5);if(c1['css'])BDFDB['appendLocalStyle']('BDFDBcustomItemLayer'+c,c1['css'],c3);if(BDFDB['isObject'](c1['ankerlistener']))for(let c6 in c1['ankerlistener']){if(typeof c1['ankerlistener'][c6]=='function')c0['addEventListener'](c6,c1['ankerlistener'][c6]);else delete c1['ankerlistener'][c6];}var c7=new MutationObserver(c8=>{c8['forEach'](c9=>{var ca=Array['from'](c9['removedNodes']);var cb=ca['indexOf'](c5)>-0x1;var cc=ca['indexOf'](c0)>-0x1;var cd=ca['some'](ce=>ce['contains'](c0));if(cb||cc||cd){c7['disconnect']();c5['remove']();BDFDB['removeLocalStyle']('BDFDBcustomItemLayer'+c,c3);if(!c3['firstElementChild'])BDFDB['removeEles'](c3);if(BDFDB['isObject'](c1['ankerlistener']))for(let cf in c1['ankerlistener'])c0['removeEventListener'](cf,c1['ankerlistener'][cf]);}});});c7['observe'](document['body'],{'subtree':!![],'childList':!![]});};BDFDB['createNotificationsBar']=function(cg,ch={}){if(!cg)return;var ci=document['querySelector'](BDFDB['dotCN']['layers']);if(!ci)return;var c=Math['round'](Math['random']()*0x2386f26fc10000);var ck=BDFDB['htmlToElement']('');ci['parentElement']['insertBefore'](ck,ci);var cl=ck['querySelector']('.notice-message');if(ch['platform'])for(let cm of ch['platform']['split']('\x20'))if(tr['noticeicon'+cm]){let cn=BDFDB['htmlToElement']('');BDFDB['addClass'](cn,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cn,BDFDB['disCN']['noticeicon']);ck['insertBefore'](cn,cl);}if(ch['customicon']){let co=BDFDB['htmlToElement'](ch['customicon']);let cn=BDFDB['htmlToElement']('');if(co['tagName']=='span'&&!co['firstElementChild'])cn['style']['setProperty']('background','url('+ch['customicon']+')\x20center/cover\x20no-repeat');else cn['appendChild'](co);BDFDB['addClass'](cn,BDFDB['disCN']['noticeplatformicon']);BDFDB['removeClass'](cn,BDFDB['disCN']['noticeicon']);ck['insertBefore'](cn,cl);}if(ch['btn'])ck['appendChild'](BDFDB['htmlToElement'](''));if(ch['id'])ck['id']=ch['id']['split']('\x20')['join']('');if(ch['selector'])BDFDB['addClass'](ck,ch['selector']);if(ch['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+c,ch['css']);if(ch['style'])ck['style']=ch['style'];if(ch['html']===!![])cl['innerHTML']=cg;else{var cq=document['createElement']('a');var cr=[];for(let cs of cg['split']('\x20')){var ct=BDFDB['encodeToHTML'](cs);cq['href']=cs;cr['push'](cq['host']&&cq['host']!==window['location']['host']?'':ct);}cl['innerHTML']=cr['join']('\x20');}var cu=null;if(ch['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(cu=BDFDB['disCN']['notice'+ch['type']])BDFDB['addClass'](ck,cu);if(ch['type']=='premium'){var cv=ck['querySelector'](BDFDB['dotCN']['noticebutton']);if(cv)BDFDB['addClass'](cv,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](cl,BDFDB['disCN']['noticepremiumtext']);ck['insertBefore'](BDFDB['htmlToElement'](''),cl);}}if(!cu){var cw=BDFDB['colorCONVERT'](ch['color'],'RGBCOMP');if(cw){var cx=cw[0x0]>0xb4&&cw[0x1]>0xb4&&cw[0x2]>0xb4?'#000':'#FFF';var cy=BDFDB['colorCONVERT'](cw,'HEX');var cz=cw[0x0]>0xb4&&cw[0x1]>0xb4&&cw[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+c,'.BDFDB-notice.notice-'+c+'{background-color:'+cy+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20.notice-message\x20{color:'+cx+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:'+cx+'\x20!important;border-color:'+BDFDB['colorSETALPHA'](cx,0.25,'RGBA')+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:'+cy+'\x20!important;background-color:'+cx+'\x20!important;}.BDFDB-notice.notice-'+c+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:'+cz+'\x20!important;}');}else BDFDB['addClass'](ck,BDFDB['disCN']['noticedefault']);}ck['style']['setProperty']('height','36px','important');ck['style']['setProperty']('min-width','70vw','important');ck['style']['setProperty']('left','unset','important');ck['style']['setProperty']('right','unset','important');let cA=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](ck))/0x2;ck['style']['setProperty']('left',cA+'px','important');ck['style']['setProperty']('right',cA+'px','important');ck['style']['setProperty']('min-width','unset','important');ck['style']['setProperty']('width','unset','important');ck['style']['setProperty']('max-width','calc(100vw\x20-\x20'+cA*0x2+'px)','important');ck['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{ck['style']['setProperty']('overflow','hidden','important');ck['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+c);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+c);ck['remove']();},0x1f4);});return ck;};BDFDB['getDiscordFolder']=function(){var cB=BDFDB['getDiscordBuilt']();cB='discord'+(cB=='stable'?'':cB);return fm['path']['resolve'](fm['electron']['remote']['app']['getPath']('appData'),cB,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){if(fm['process']['env']['injDir'])return fm['path']['resolve'](fm['process']['env']['injDir'],'plugins/');switch(fm['process']['platform']){case'win32':return fm['path']['resolve'](fm['process']['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return fm['path']['resolve'](fm['process']['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(fm['process']['env']['XDG_CONFIG_HOME'])return fm['path']['resolve'](fm['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return fm['path']['resolve'](fm['process']['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){if(fm['process']['env']['injDir'])return fm['path']['resolve'](fm['process']['env']['injDir'],'plugins/');switch(fm['process']['platform']){case'win32':return fm['path']['resolve'](fm['process']['env']['appdata'],'BetterDiscord/themes/');case'darwin':return fm['path']['resolve'](fm['process']['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(fm['process']['env']['XDG_CONFIG_HOME'])return fm['path']['resolve'](fm['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return fm['path']['resolve'](fm['process']['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(cC=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!cC)return;var cD=cC['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cD)return;var cE=cD['parentElement']['querySelector']('h2');if(cE&&cE['innerText']){let cF=cE['innerText']['toLowerCase']();if(cF==='plugins'||cF==='themes')return cF;}};BDFDB['checkAllUpdates']=function(){for(let cG in window['PluginUpdates']['plugins']){var cH=window['PluginUpdates']['plugins'][cG];BDFDB['checkUpdate'](cH['name'],cH['raw']);}};BDFDB['getLineOfString']=function(cI,cJ){if(typeof cI!='string'||typeof cI!='string')return-0x1;let cK=cI['indexOf'](cJ);if(cK<0x0)return-0x1;return cI['substring'](0x0,cK)['split']('\x0a')['length'];};BDFDB['sortObject']=function(cL,cM,cN){var cO={};if(cM===undefined||!cM)for(let cP of Object['keys'](cL)['sort']())cO[cP]=cL[cP];else{let cQ=[];for(let cP in cL)cQ['push'](cL[cP]);cQ=BDFDB['sortArrayByKey'](cQ,cM,cN);for(let cS of cQ)for(let cP in cL)if(BDFDB['equals'](cS,cL[cP])){cO[cP]=cS;break;}}return cO;};BDFDB['reverseObject']=function(cU,cV){var cW={};for(let cX of cV===undefined||!cV?Object['keys'](cU)['reverse']():Object['keys'](cU)['sort']()['reverse']())cW[cX]=cU[cX];return cW;};BDFDB['filterObject']=function(cY,cZ){return Object['keys'](cY)['filter'](d0=>cZ(cY[d0]))['reduce']((d1,d2)=>(d1[d2]=cY[d2],d1),{});};BDFDB['isObject']=function(d3){return d3&&Object['prototype']['isPrototypeOf'](d3)&&!Array['prototype']['isPrototypeOf'](d3);};BDFDB['isObjectEmpty']=function(d4){return typeof d4!=='object'||Object['getOwnPropertyNames'](d4)['length']==0x0;};BDFDB['pushToObject']=function(d5,d6){if(BDFDB['isObject'](d5))d5[Object['keys'](d5)['length']]=d6;};BDFDB['mapObject']=function(d7,d8){var d9={};if(BDFDB['isObject'](d7)&&typeof d8=='string')for(let da in d7)if(BDFDB['isObject'](d7[da]))d9[da]=d7[da][d8];return d9;};BDFDB['deepAssign']=function(db,...dc){if(!dc['length'])return db;var dd=dc['shift']();if(BDFDB['isObject'](db)&&BDFDB['isObject'](dd)){for(var de in dd){if(BDFDB['isObject'](dd[de])){if(!db[de])Object['assign'](db,{[de]:{}});BDFDB['deepAssign'](db[de],dd[de]);}else Object['assign'](db,{[de]:dd[de]});}}return BDFDB['deepAssign'](db,...dc);};BDFDB['sortArrayByKey']=function(df,dg,dh){if(dh===undefined)dh=null;return df['sort'](function(di,dj){var dk=di[dg],dl=dj[dg];if(dk!==dh)return dkdl?0x1:0x0;});};BDFDB['numSortArray']=function(dm,dn,dp){return dm['sort'](function(dq,dr){return dqdr?0x1:0x0;});};BDFDB['removeFromArray']=function(ds,dt,du=![]){if(!ds||!dt||!Array['isArray'](ds)||!ds['includes'](dt))return ds;if(!du)ds['splice'](ds['indexOf'](dt),0x1);else while(ds['indexOf'](dt)>-0x1)ds['splice'](ds['indexOf'](dt),0x1);return ds;};BDFDB['getAllIndexes']=function(dv,dw){var dx=[],dy=-0x1;while((dy=dv['indexOf'](dw,dy+0x1))!==-0x1)dx['push'](dy);return dx;};BDFDB['removeCopiesFromArray']=function(dz){return[...new Set(dz)];};BDFDB['highlightText']=function(dA,dB){if(!dB||dB['length']<0x1)return dA;var dC=0x0,dD=dA,dE='',dF='';BDFDB['getAllIndexes'](dA['toUpperCase'](),dB['toUpperCase']())['forEach'](dG=>{var dH=dC*(dE['length']+dF['length']);dG=dG+dH;var dI=dG+dB['length'];var dJ=[-0x1]['concat'](BDFDB['getAllIndexes'](dA['substring'](0x0,dG),'<'));var dK=[-0x1]['concat'](BDFDB['getAllIndexes'](dA['substring'](0x0,dG),'>'));if(dJ[dJ['length']-0x1]>dK[dK['length']-0x1])return;dA=dA['substring'](0x0,dG)+dE+dA['substring'](dG,dI)+dF+dA['substring'](dI);dC++;});return dA?dA:dD;};BDFDB['languages']={'$discord':{'name':'Discord\x20(English\x20(US))','id':'en-US','ownlang':'English\x20(US)','integrated':![],'dic':![],'deepl':![]},'af':{'name':'Afrikaans','id':'af','ownlang':'Afrikaans','integrated':![],'dic':!![],'deepl':![]},'sq':{'name':'Albanian','id':'sq','ownlang':'Shqiptar','integrated':![],'dic':![],'deepl':![]},'am':{'name':'Amharic','id':'am','ownlang':'አማርኛ','integrated':![],'dic':![],'deepl':![]},'ar':{'name':'Arabic','id':'ar','ownlang':'اللغة\x20العربية','integrated':![],'dic':![],'deepl':![]},'hy':{'name':'Armenian','id':'hy','ownlang':'Հայերեն','integrated':![],'dic':![],'deepl':![]},'az':{'name':'Azerbaijani','id':'az','ownlang':'آذربایجان\x20دیلی','integrated':![],'dic':![],'deepl':![]},'eu':{'name':'Basque','id':'eu','ownlang':'Euskara','integrated':![],'dic':![],'deepl':![]},'be':{'name':'Belarusian','id':'be','ownlang':'Беларуская','integrated':![],'dic':![],'deepl':![]},'bn':{'name':'Bengali','id':'bn','ownlang':'বাংলা','integrated':![],'dic':![],'deepl':![]},'bs':{'name':'Bosnian','id':'bs','ownlang':'Босански','integrated':![],'dic':![],'deepl':![]},'bg':{'name':'Bulgarian','id':'bg','ownlang':'български','integrated':!![],'dic':![],'deepl':![]},'my':{'name':'Burmese','id':'my','ownlang':'မြန်မာစာ','integrated':![],'dic':![],'deepl':![]},'ca':{'name':'Catalan','id':'ca','ownlang':'Català','integrated':![],'dic':![],'deepl':![]},'ceb':{'name':'Cebuano','id':'ceb','ownlang':'Bisaya','integrated':![],'dic':![],'deepl':![]},'ny':{'name':'Chewa','id':'ny','ownlang':'Nyanja','integrated':![],'dic':![],'deepl':![]},'zh-HK':{'name':'Chinese\x20(Hong\x20Kong)','id':'zh-HK','ownlang':'香港中文','integrated':![],'dic':![],'deepl':![]},'zh-CN':{'name':'Chinese\x20(Simplified)','id':'zh-CN','ownlang':'简体中文','integrated':![],'dic':![],'deepl':![]},'zh-TW':{'name':'Chinese\x20(Traditional)','id':'zh-TW','ownlang':'繁體中文','integrated':!![],'dic':![],'deepl':![]},'co':{'name':'Corsican','id':'co','ownlang':'Corsu','integrated':![],'dic':![],'deepl':![]},'hr':{'name':'Croatian','id':'hr','ownlang':'Hrvatski','integrated':!![],'dic':![],'deepl':![]},'cs':{'name':'Czech','id':'cs','ownlang':'Čeština','integrated':!![],'dic':![],'deepl':![]},'da':{'name':'Danish','id':'da','ownlang':'Dansk','integrated':!![],'dic':!![],'deepl':![]},'nl':{'name':'Dutch','id':'nl','ownlang':'Nederlands','integrated':!![],'dic':!![],'deepl':!![]},'en':{'name':'English','id':'en','ownlang':'English','integrated':![],'dic':!![],'deepl':!![]},'en-GB':{'name':'English\x20(UK)','id':'en-GB','ownlang':'English\x20(UK)','integrated':!![],'dic':!![],'deepl':![]},'en-US':{'name':'English\x20(US)','id':'en-US','ownlang':'English\x20(US)','integrated':!![],'dic':!![],'deepl':![]},'eo':{'name':'Esperanto','id':'eo','ownlang':'Esperanto','integrated':![],'dic':![],'deepl':![]},'et':{'name':'Estonian','id':'et','ownlang':'Eesti','integrated':![],'dic':![],'deepl':![]},'fil':{'name':'Filipino','id':'fil','ownlang':'Wikang\x20Filipino','integrated':![],'dic':![],'deepl':![]},'fi':{'name':'Finnish','id':'fi','ownlang':'Suomi','integrated':!![],'dic':![],'deepl':![]},'fr':{'name':'French','id':'fr','ownlang':'Français','integrated':!![],'dic':!![],'deepl':!![]},'fr-CA':{'name':'French\x20(Canadian)','id':'fr-CA','ownlang':'Français\x20Canadien','integrated':![],'dic':![],'deepl':![]},'fy':{'name':'Frisian','id':'fy','ownlang':'Frysk','integrated':![],'dic':![],'deepl':![]},'gl':{'name':'Galician','id':'gl','ownlang':'Galego','integrated':![],'dic':![],'deepl':![]},'ka':{'name':'Georgian','id':'ka','ownlang':'ქართული','integrated':![],'dic':![],'deepl':![]},'de':{'name':'German','id':'de','ownlang':'Deutsch','integrated':!![],'dic':!![],'deepl':!![]},'de-AT':{'name':'German\x20(Austria)','id':'de-AT','ownlang':'Österreichisch\x20Deutsch','integrated':![],'dic':![],'deepl':![]},'de-CH':{'name':'German\x20(Switzerland)','id':'de-CH','ownlang':'Schweizerdeutsch','integrated':![],'dic':![],'deepl':![]},'el':{'name':'Greek','id':'el','ownlang':'Ελληνικά','integrated':![],'dic':![],'deepl':![]},'gu':{'name':'Gujarati','id':'gu','ownlang':'ગુજરાતી','integrated':![],'dic':![],'deepl':![]},'ht':{'name':'Haitian\x20Creole','id':'ht','ownlang':'Kreyòl\x20Ayisyen','integrated':![],'dic':![],'deepl':![]},'ha':{'name':'Hausa','id':'ha','ownlang':'حَوْسَ','integrated':![],'dic':![],'deepl':![]},'haw':{'name':'Hawaiian','id':'haw','ownlang':'ʻŌlelo\x20Hawaiʻi','integrated':![],'dic':![],'deepl':![]},'iw':{'name':'Hebrew','id':'iw','ownlang':'עברית','integrated':![],'dic':![],'deepl':![]},'hi':{'name':'Hindi','id':'hi','ownlang':'हिन्दी','integrated':![],'dic':![],'deepl':![]},'hmn':{'name':'Hmong','id':'hmn','ownlang':'lol\x20Hmongb','integrated':![],'dic':![],'deepl':![]},'hu':{'name':'Hungarain','id':'hu','ownlang':'Magyar','integrated':![],'dic':![],'deepl':![]},'is':{'name':'Icelandic','id':'is','ownlang':'Íslenska','integrated':![],'dic':![],'deepl':![]},'ig':{'name':'Igbo','id':'ig','ownlang':'Asụsụ\x20Igbo','integrated':![],'dic':![],'deepl':![]},'id':{'name':'Indonesian','id':'id','ownlang':'Bahasa\x20Indonesia','integrated':![],'dic':![],'deepl':![]},'ga':{'name':'Irish','id':'ga','ownlang':'Gaeilge','integrated':![],'dic':![],'deepl':![]},'it':{'name':'Italian','id':'it','ownlang':'Italiano','integrated':!![],'dic':!![],'deepl':!![]},'ja':{'name':'Japanese','id':'ja','ownlang':'日本語','integrated':!![],'dic':![],'deepl':![]},'jv':{'name':'Javanese','id':'jv','ownlang':'ꦧꦱꦗꦮ','integrated':![],'dic':![],'deepl':![]},'kn':{'name':'Kannada','id':'kn','ownlang':'ಕನ್ನಡ','integrated':![],'dic':![],'deepl':![]},'kk':{'name':'Kazakh','id':'kk','ownlang':'Қазақ\x20Tілі','integrated':![],'dic':![],'deepl':![]},'km':{'name':'Khmer','id':'km','ownlang':'ភាសាខ្មែរ','integrated':![],'dic':![],'deepl':![]},'ko':{'name':'Korean','id':'ko','ownlang':'한국어','integrated':!![],'dic':![],'deepl':![]},'ku':{'name':'Kurdish','id':'ku','ownlang':'کوردی','integrated':![],'dic':![],'deepl':![]},'ky':{'name':'Kyrgyz','id':'ky','ownlang':'кыргызча','integrated':![],'dic':![],'deepl':![]},'lo':{'name':'Lao','id':'lo','ownlang':'ພາສາລາວ','integrated':![],'dic':![],'deepl':![]},'la':{'name':'Latin','id':'la','ownlang':'Latina','integrated':![],'dic':![],'deepl':![]},'lv':{'name':'Latvian','id':'lv','ownlang':'Latviešu','integrated':![],'dic':![],'deepl':![]},'lt':{'name':'Lithuanian','id':'lt','ownlang':'Lietuvių','integrated':![],'dic':![],'deepl':![]},'lb':{'name':'Luxembourgish','id':'lb','ownlang':'Lëtzebuergesch','integrated':![],'dic':![],'deepl':![]},'mk':{'name':'Macedonian','id':'mk','ownlang':'Mакедонски','integrated':![],'dic':![],'deepl':![]},'mg':{'name':'Malagasy','id':'mg','ownlang':'Malagasy','integrated':![],'dic':![],'deepl':![]},'ms':{'name':'Malay','id':'ms','ownlang':'بهاس\x20ملايو','integrated':![],'dic':![],'deepl':![]},'ml':{'name':'Malayalam','id':'ml','ownlang':'മലയാളം','integrated':![],'dic':![],'deepl':![]},'mt':{'name':'Maltese','id':'mt','ownlang':'Malti','integrated':![],'dic':![],'deepl':![]},'mi':{'name':'Maori','id':'mi','ownlang':'te\x20Reo\x20Māori','integrated':![],'dic':![],'deepl':![]},'mr':{'name':'Marathi','id':'mr','ownlang':'मराठी','integrated':![],'dic':![],'deepl':![]},'mn':{'name':'Mongolian','id':'mn','ownlang':'Монгол\x20Хэл','integrated':![],'dic':![],'deepl':![]},'ne':{'name':'Nepali','id':'ne','ownlang':'नेपाली','integrated':![],'dic':![],'deepl':![]},'no':{'name':'Norwegian','id':'no','ownlang':'Norsk','integrated':!![],'dic':![],'deepl':![]},'ps':{'name':'Pashto','id':'ps','ownlang':'پښتو','integrated':![],'dic':![],'deepl':![]},'fa':{'name':'Persian','id':'fa','ownlang':'فارسی','integrated':![],'dic':![],'deepl':![]},'pl':{'name':'Polish','id':'pl','ownlang':'Polski','integrated':!![],'dic':![],'deepl':!![]},'pt':{'name':'Portuguese','id':'pt','ownlang':'Português','integrated':![],'dic':!![],'deepl':!![]},'pt-BR':{'name':'Portuguese\x20(Brazil)','id':'pt-BR','ownlang':'Português\x20do\x20Brasil','integrated':!![],'dic':!![],'deepl':![]},'pt-PT':{'name':'Portuguese\x20(Portugal)','id':'pt-PT','ownlang':'Português\x20do\x20Portugal','integrated':![],'dic':![],'deepl':![]},'pa':{'name':'Punjabi','id':'pa','ownlang':'पंजाबी','integrated':![],'dic':![],'deepl':![]},'ro':{'name':'Romanian','id':'ro','ownlang':'Română','integrated':![],'dic':![],'deepl':![]},'ru':{'name':'Russian','id':'ru','ownlang':'Pусский','integrated':!![],'dic':!![],'deepl':!![]},'sm':{'name':'Samoan','id':'sm','ownlang':'Gagana\x20Sāmoa','integrated':![],'dic':![],'deepl':![]},'gd':{'name':'Scottish\x20Gaelic','id':'gd','ownlang':'Gàidhlig','integrated':![],'dic':![],'deepl':![]},'sr':{'name':'Serbian','id':'sr','ownlang':'Српски','integrated':![],'dic':![],'deepl':![]},'st':{'name':'Sotho','id':'st','ownlang':'Sesotho','integrated':![],'dic':![],'deepl':![]},'sn':{'name':'Shona','id':'sn','ownlang':'Shona','integrated':![],'dic':![],'deepl':![]},'sd':{'name':'Sindhi','id':'sd','ownlang':'سنڌي','integrated':![],'dic':![],'deepl':![]},'si':{'name':'Sinhala','id':'si','ownlang':'සිංහල','integrated':![],'dic':![],'deepl':![]},'sk':{'name':'Slovak','id':'sk','ownlang':'Slovenčina','integrated':![],'dic':![],'deepl':![]},'sl':{'name':'Slovenian','id':'sl','ownlang':'Slovenščina','integrated':![],'dic':![],'deepl':![]},'es':{'name':'Spanish','id':'es','ownlang':'Español','integrated':!![],'dic':!![],'deepl':!![]},'es-419':{'name':'Spanish\x20(Latin\x20America)','id':'es-419','ownlang':'Español\x20latinoamericano','integrated':![],'dic':![],'deepl':![]},'sw':{'name':'Swahili','id':'sw','ownlang':'Kiswahili','integrated':![],'dic':![],'deepl':![]},'sv':{'name':'Swedish','id':'sv','ownlang':'Svenska','integrated':!![],'dic':!![],'deepl':![]},'tg':{'name':'Tajik','id':'tg','ownlang':'тоҷикӣ','integrated':![],'dic':![],'deepl':![]},'ta':{'name':'Tamil','id':'ta','ownlang':'தமிழ்','integrated':![],'dic':![],'deepl':![]},'te':{'name':'Telugu','id':'te','ownlang':'తెలుగు','integrated':![],'dic':![],'deepl':![]},'th':{'name':'Thai','id':'th','ownlang':'ภาษาไทย','integrated':![],'dic':![],'deepl':![]},'tr':{'name':'Turkish','id':'tr','ownlang':'Türkçe','integrated':!![],'dic':![],'deepl':![]},'uk':{'name':'Ukrainian','id':'uk','ownlang':'Yкраїнський','integrated':!![],'dic':![],'deepl':![]},'ur':{'name':'Urdu','id':'ur','ownlang':'اُردُو','integrated':![],'dic':![],'deepl':![]},'uz':{'name':'Uzbek','id':'uz','ownlang':'اوزبیک','integrated':![],'dic':![],'deepl':![]},'vi':{'name':'Vietnamese','id':'vi','ownlang':'Tiếng\x20Việt\x20Nam','integrated':![],'dic':![],'deepl':![]},'cy':{'name':'Welsh','id':'cy','ownlang':'Cymraeg','integrated':![],'dic':![],'deepl':![]},'xh':{'name':'Xhosa','id':'xh','ownlang':'Xhosa','integrated':![],'dic':![],'deepl':![]},'yi':{'name':'Yiddish','id':'yi','ownlang':'ייִדיש\x20ייִדיש','integrated':![],'dic':![],'deepl':![]},'yo':{'name':'Yoruba','id':'yo','ownlang':'Èdè\x20Yorùbá','integrated':![],'dic':![],'deepl':![]},'zu':{'name':'Zulu','id':'zu','ownlang':'Zulu','integrated':![],'dic':![],'deepl':![]}};var dL=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dL);var dM=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dM['name']+')';BDFDB['languages']['$discord']['id']=dM['id'];BDFDB['languages']['$discord']['ownlang']=dM['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dN=null;try{dN=require(fm['electron']['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dO){try{dN=require(fm['electron']['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dP){var dQ=BDFDB['getDiscordVersion']();if(dQ){dQ=dQ['split']('.');if(dQ['length']==0x3&&!isNaN(dQ=parseInt(dQ[0x2])))dN=dQ>0x12c?'stable':da>0xc8?'canary':'ptb';else dN='stable';}else dN='stable';}}BDFDB['getDiscordBuilt']['built']=dN;return dN;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dR=null;try{dR=fm['electron']['remote']['app']['getVersion']();}catch(dS){dS='';}BDFDB['getDiscordBuilt']['version']=dR;return dR;}};BDFDB['getDiscordLanguage']=function(){var dT=document['querySelector']('html')['lang']||'en-US';var dU=dT['split']('-');var dV=dU[0x0];var dW=dU[0x1]||'';dT=dW&&dV['toUpperCase']()!==dW['toUpperCase']()?dV+'-'+dW:dV;return BDFDB['languages'][dT]||BDFDB['languages'][dV]||BDFDB['languages']['en-US'];};BDFDB['getDiscordTheme']=function(){return document['querySelectorAll'](BDFDB['dotCN']['themelight'])['length']>=document['querySelectorAll'](BDFDB['dotCN']['themedark'])['length']?BDFDB['disCN']['themelight']:BDFDB['disCN']['themedark'];};BDFDB['getDiscordMode']=function(){return document['querySelectorAll'](BDFDB['dotCN']['messagegroupcompact'])['length']>=document['querySelectorAll'](BDFDB['dotCN']['messagegroupcozy'])['length']?'compact':'cozy';};BDFDB['getDiscordZoomFactor']=function(){var dX=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount']));var dY=Math['round'](0x64*window['outerWidth']/dX['width']);var dZ=Math['round'](0x64*window['outerHeight']/dX['height']);return dYe1['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(e2,e3){if(!e2||!e3)return null;let e4=Node['prototype']['isPrototypeOf'](e2)?BDFDB['getReactInstance'](e2):e2;if(!BDFDB['isObject'](e4))return null;let e5=e4;for(let e6 of e3['split']('.')['filter'](e7=>e7)){e5=e5[e6];if(e5==undefined)return null;}return e5;};BDFDB['getOwnerInstance']=function(e8){if(e8===undefined)return null;if(!e8['node']&&!e8['instance']||!e8['name']&&(!e8['props']||!Array['isArray'](e8['props'])))return null;var e9=e8['instance']||BDFDB['getReactInstance'](e8['node']);if(!e9)return null;e8['name']=e8['name']&&!Array['isArray'](e8['name'])?Array['of'](e8['name']):e8['name'];var ea=-0x1;var eb=e8['depth']===undefined?0xf:e8['depth'];var ec=e8['up']===undefined?![]:e8['up'];var ed=performance['now']();var ee=e8['time']===undefined?0x96:e8['time'];var ef=ec?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var eg={};var eh=ek(e9);if(e8['all']){for(let ei in eg){if(e8['group'])for(let e9 in eg[ei])delete eg[ei][e9]['BDFDBreactSearch'];else delete eg[ei]['BDFDBreactSearch'];}return eg;}else return eh;function ek(e9){ea++;if(!e9||Node['prototype']['isPrototypeOf'](e9)||BDFDB['getReactInstance'](e9)||ea>eb||performance['now']()-ed>ee)return null;else{var em=Object['getOwnPropertyNames'](e9);var en=null;for(let eo=0x0;en==null&&eoe9['type']['displayName']===es['split']('\x20_\x20_\x20')[0x0]||e9['type']['name']===es['split']('\x20_\x20_\x20')[0x0])||e8['props']&&e8['props']['every'](et=>er[et]!==undefined)||e8['defaultProps']&&e8['defaultProps']['every'](eu=>er[eu]!==undefined))){if(e8['all']===undefined||!e8['all'])en=er;else if(e8['all']){if(e8['noCopies']===undefined||!e8['noCopies']||e8['noCopies']&&!er['BDFDBreactSearch']){er['BDFDBreactSearch']=!![];if(e8['group']){if(e8['name']&&e9['type']&&(e9['type']['displayName']||e9['type']['name'])){var ev='Default';for(let ew of e8['name'])if(e9['type']['displayName']===ew['split']('\x20_\x20_\x20')[0x0]||e9['type']['name']===ew['split']('\x20_\x20_\x20')[0x0]){ev=ew;break;}if(typeof eg[ev]=='undefined')eg[ev]={};BDFDB['pushToObject'](eg[ev],er);}}else BDFDB['pushToObject'](eg,er);}}}if(en==null&&(typeof eq==='object'||typeof eq==='function')&&ef[ep])en=ek(eq);}}ea--;return en;}};BDFDB['getKeyInformation']=function(ex){if(ex===undefined)return null;if(!ex['node']&&!ex['instance']||!ex['key'])return null;var ey=ex['instance']||BDFDB['getReactInstance'](ex['node']);if(!ey)return null;var ez=-0x1;var eA=ex['depth']===undefined?0xf:ex['depth'];var eB=performance['now']();var eC=ex['time']===undefined?0x96:ex['time'];var eD={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':ex['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':ex['up']?![]:!![],'return':ex['up']?!![]:![],'sibling':ex['up']?![]:!![],'firstEffect':!![]};var eE={'contextSection':!![]};if(typeof ex['whitelist']==='object')Object['assign'](eD,ex['whiteList']);if(typeof ex['blacklist']==='object')Object['assign'](eE,ex['blacklist']);var eF=[];var eG=eH(ey);if(ex['all'])return eF;else return eG;function eH(ey){ez++;if(!ey||Node['prototype']['isPrototypeOf'](ey)||BDFDB['getReactInstance'](ey)||ez>eA||performance['now']()-eB>eC)eK=null;else{var eJ=Object['getOwnPropertyNames'](ey);var eK=null;for(let eL=0x0;eK==null&&eLeU['default']=eS},[c])['default']:window['webpackJsonp']['push']([[],{[c]:(eW,eX,eS)=>eW['exports']=eS},[[c]]]);delete eS['m'][c];delete eS['c'][c];eQ['req']=eS;}return eQ['req'];};BDFDB['WebModules']={};BDFDB['WebModules']['find']=function(eZ){var f0=eQ();for(let f1 in f0['c'])if(f0['c']['hasOwnProperty'](f1)){var f2=f0['c'][f1]['exports'];if(f2&&(typeof f2=='object'||typeof f2=='function')&&eZ(f2))return f2;if(f2&&f2['__esModule'])for(let f3 in f2)if(f2[f3]&&(typeof f2[f3]=='object'||typeof f2[f3]=='function')&&eZ(f2[f3]))return f2[f3];}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'string':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(f4){f4=Array['isArray'](f4)?f4:Array['from'](arguments);var f5=JSON['stringify'](f4);if(BDFDB['WebModules']['cachedData']['prop'][f5])return BDFDB['WebModules']['cachedData']['prop'][f5];else{var f6=BDFDB['WebModules']['find'](f6=>f4['every'](f8=>f6[f8]!==undefined));if(f6){BDFDB['WebModules']['cachedData']['prop'][f5]=f6;return f6;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',f5+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(f9){var fa=JSON['stringify'](f9);if(BDFDB['WebModules']['cachedData']['name'][fa])return BDFDB['WebModules']['cachedData']['name'][fa];else{var fb=BDFDB['WebModules']['find'](fb=>fb['displayName']===f9);if(fb){BDFDB['WebModules']['cachedData']['name'][fa]=fb;return fb;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fa+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByString']=function(fd){var fe=JSON['stringify'](fd);if(BDFDB['WebModules']['cachedData']['string'][fe])return BDFDB['WebModules']['cachedData']['string'][fe];else{var ff=BDFDB['WebModules']['find'](ff=>typeof ff=='function'&&ff['toString']()['indexOf'](fd)>-0x1);if(ff){BDFDB['WebModules']['cachedData']['string'][fe]=ff;return ff;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fe+'\x20[string]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(fh){fh=Array['isArray'](fh)?fh:Array['from'](arguments);var fi=JSON['stringify'](fh);if(BDFDB['WebModules']['cachedData']['proto'][fi])return BDFDB['WebModules']['cachedData']['proto'][fi];else{var fj=BDFDB['WebModules']['find'](fj=>fj['prototype']&&fh['every'](fl=>fj['prototype'][fl]!==undefined));if(fj){BDFDB['WebModules']['cachedData']['proto'][fi]=fj;return fj;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fi+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['DiscordConstants']=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes');var fm={};for(let fn of['child_process','electron','fs','path','process','request']){try{fm[fn]=require(fn);}catch(fo){}}BDFDB['LibraryRequires']=Object['assign']({},fm);var fp={};fp['AckUtils']=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');fp['APIUtils']=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');fp['AnimationUtils']=BDFDB['WebModules']['findByProperties']('spring','decay');fp['BadgeUtils']=BDFDB['WebModules']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');fp['ChannelStore']=BDFDB['WebModules']['findByProperties']('getChannel','getChannels');fp['ContextMenuUtils']=BDFDB['WebModules']['findByProperties']('closeContextMenu','openContextMenu');fp['CurrentUserStore']=BDFDB['WebModules']['findByProperties']('getCurrentUser');fp['DirectMessageUtils']=BDFDB['WebModules']['findByProperties']('addRecipient','openPrivateChannel');fp['FriendUtils']=BDFDB['WebModules']['findByProperties']('getFriendIDs','getRelationships');fp['GuildBoostUtils']=BDFDB['WebModules']['findByProperties']('getTierName','getUserLevel');fp['GuildStore']=BDFDB['WebModules']['findByProperties']('getGuild','getGuilds');fp['GuildChannelStore']=BDFDB['WebModules']['findByProperties']('getChannels','getDefaultChannel');fp['GuildEmojiStore']=BDFDB['WebModules']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');fp['GuildUtils']=BDFDB['WebModules']['findByProperties']('transitionToGuildSync');fp['HistoryUtils']=BDFDB['WebModules']['findByProperties']('transitionTo','replaceWith','getHistory');;fp['IconUtils']=BDFDB['WebModules']['findByProperties']('getGuildIconURL','getGuildBannerURL');fp['InviteUtils']=BDFDB['WebModules']['findByProperties']('acceptInvite','createInvite');fp['LanguageStore']=BDFDB['WebModules']['findByProperties']('getLanguages','Messages');fp['LastChannelStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId');fp['LastGuildStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId');fp['LoginUtils']=BDFDB['WebModules']['findByProperties']('login','logout');fp['MemberStore']=BDFDB['WebModules']['findByProperties']('getMember','getMembers');fp['MentionUtils']=BDFDB['WebModules']['findByProperties']('getMentionCount','getMentionCounts');fp['MessageStore']=BDFDB['WebModules']['findByProperties']('getMessage','getMessages');fp['MessageCreationUtils']=BDFDB['WebModules']['findByProperties']('parse','isMentioned');fp['MessagePinUtils']=BDFDB['WebModules']['findByProperties']('pinMessage','unpinMessage');fp['MessageUtils']=BDFDB['WebModules']['findByProperties']('receiveMessage','editMessage');fp['MutedUtils']=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');fp['NotificationSettingsUtils']=BDFDB['WebModules']['findByProperties']('setDesktopType','setTTSType');fp['NotificationSettingsStore']=BDFDB['WebModules']['findByProperties']('getDesktopType','getTTSType');fp['PermissionUtils']=BDFDB['WebModules']['findByProperties']('getChannelPermissions','canUser');fp['PermissionRoleUtils']=BDFDB['WebModules']['findByProperties']('getHighestRole','can');fp['ReactionUtils']=BDFDB['WebModules']['findByProperties']('addReaction','removeReaction');fp['SearchPageUtils']=BDFDB['WebModules']['findByProperties']('searchNextPage','searchPreviousPage');fp['SelectChannelUtils']=BDFDB['WebModules']['findByProperties']('selectChannel','selectPrivateChannel');fp['SettingsUtils']=BDFDB['WebModules']['findByProperties']('updateRemoteSettings','updateLocalSettings');fp['SoundUtils']=BDFDB['WebModules']['findByProperties']('playSound','createSound');fp['StatusMetaUtils']=BDFDB['WebModules']['findByProperties']('getApplicationActivity','getStatus');fp['StreamingUtils']=BDFDB['WebModules']['findByProperties']('isStreaming');fp['UnreadGuildUtils']=BDFDB['WebModules']['findByProperties']('hasUnread','getUnreadGuilds');fp['UnreadChannelUtils']=BDFDB['WebModules']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');fp['UploadUtils']=BDFDB['WebModules']['findByProperties']('upload','instantBatchUpload');fp['UserStore']=BDFDB['WebModules']['findByProperties']('getUser','getUsers');fp['VoiceUtils']=BDFDB['WebModules']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');fp['ZoomUtils']=BDFDB['WebModules']['findByProperties']('setZoom','setFontSize');BDFDB['LibraryModules']=Object['assign']({},fp);fp['React']=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');fp['ReactDOM']=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fp['React']&&fp['ReactDOM']){BDFDB['React']=Object['assign']({},fp['React'],fp['ReactDOM']);BDFDB['React']['findDOMNodeSafe']=function(fq){if(Node['prototype']['isPrototypeOf'](fq))return fq;if(!fq||!fq['updater']||typeof fq['updater']['isMounted']!=='function'||!fq['updater']['isMounted'](fq))return null;var fr=fp['ReactDOM']['findDOMNode'](fq)||BDFDB['getReactValue'](fq,'child.stateNode');return Node['prototype']['isPrototypeOf'](fr)?fr:null;};};var fs={};fs['Button']=BDFDB['WebModules']['findByProperties']('Colors','Hovers','Looks');fs['ContextMenu']=BDFDB['WebModules']['findByName']('NativeContextMenu');fs['ContextMenuItem']=BDFDB['WebModules']['findByName']('MenuItem');fs['ContextMenuItemGroup']=BDFDB['WebModules']['findByString']('{className:i.default.itemGroup}');fs['ContextMenuSliderItem']=BDFDB['WebModules']['findByName']('SliderMenuItem');fs['ContextMenuSubItem']=BDFDB['WebModules']['findByName']('FluxContainer(SubMenuItem)');fs['ContextMenuToggleItem']=fp['React']&&fp['React']['Component']?class OtherItem extends fp['React']['Component']{['handleToggle'](){this['props']['active']=!this['props']['active'];if(this['props']['action'])this['props']['action'](this['props']['active']);this['forceUpdate']();}['render'](){return fp['React']['createElement'](BDFDB['WebModules']['findByName']('ToggleMenuItem'),Object['assign']({},this['props'],{'action':this['handleToggle']['bind'](this)}));}}:undefined;BDFDB['LibraryComponents']=Object['assign']({},fs);var ft=fp['CurrentUserStore']&&typeof fp['CurrentUserStore']['getCurrentUser']=='function'?fp['CurrentUserStore']['getCurrentUser']():null;BDFDB['myData']=new Proxy(ft||{},{'get':function(fu,fv){if(!ft)ft=fp['CurrentUserStore']['getCurrentUser']();return ft?ft[fv]:null;}});var fw=['before','instead','after'];var fx={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};var fy={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','ChannelMember':'member','EmojiPicker':'emojipicker','FriendRow':'friendsrow','Guild':'guildouter','InstantInviteModal':'invitemodalwrapper','InvitationCard':'invitemodalinviterow','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','NameTag':'nametag','SearchResults':'searchresultswrap','TypingUsers':'typing','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(fz,fA,fB,fC){if(!fz||!fA||!fB||!Object['keys'](fC)['some'](fD=>fw['includes'](fD)))return null;const fE=(typeof fB==='string'?fB:fB['name'])['toLowerCase']();const fF=(fG,fH)=>(...fI)=>{try{return fG(...fI);}catch(fJ){console['error']('Error\x20occurred\x20in\x20'+fH,fJ);}};if(!fz['BDFDBpatch'])fz['BDFDBpatch']={};fA=Array['isArray'](fA)?fA:Array['of'](fA);for(let fK of fA){if(!fz[fK])fz[fK]=()=>{};const fL=fz[fK];if(!fz['BDFDBpatch'][fK]){fz['BDFDBpatch'][fK]={};for(let fM of fw)fz['BDFDBpatch'][fK][fM]={};fz['BDFDBpatch'][fK]['originalMethod']=fL;fz[fK]=function(){const fN={'thisObject':this,'methodArguments':arguments,'originalMethod':fL,'originalMethodName':fK,'callOriginalMethod':()=>fN['returnValue']=fN['originalMethod']['apply'](fN['thisObject'],fN['methodArguments'])};if(window['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&fz['BDFDBpatch'][fK]){if(!BDFDB['isObjectEmpty'](fz['BDFDBpatch'][fK]['before']))for(let c in BDFDB['sortObject'](fz['BDFDBpatch'][fK]['before'])){fF(fz['BDFDBpatch'][fK]['before'][c],'`before`\x20callback\x20of\x20'+fz[fK]['displayName'])(fN);}if(BDFDB['isObjectEmpty'](fz['BDFDBpatch'][fK]['instead']))fN['callOriginalMethod']();else for(let c in BDFDB['sortObject'](fz['BDFDBpatch'][fK]['instead'])){const fQ=fF(fz['BDFDBpatch'][fK]['instead'][c],'`instead`\x20callback\x20of\x20'+fz[fK]['displayName'])(fN);if(fQ!==undefined)fN['returnValue']=fQ;}if(!BDFDB['isObjectEmpty'](fz['BDFDBpatch'][fK]['after']))for(let c in BDFDB['sortObject'](fz['BDFDBpatch'][fK]['after'])){const fQ=fF(fz['BDFDBpatch'][fK]['after'][c],'`after`\x20callback\x20of\x20'+fz[fK]['displayName'])(fN);if(fQ!==undefined)fN['returnValue']=fQ;}}else fN['callOriginalMethod']();return fN['returnValue'];};}for(let fT of fw)if(typeof fC[fT]=='function')fz['BDFDBpatch'][fK][fT][fE]=fC[fT];}const fU=()=>{BDFDB['WebModules']['unpatch'](fz,fA,fB);};if(fB&&typeof fB=='object'){if(!Array['isArray'](fB['patchCancels']))fB['patchCancels']=[];fB['patchCancels']['push'](fU);}return fU;};BDFDB['WebModules']['unpatch']=function(fV,fW,fX){if(!fV||!fV['BDFDBpatch'])return;const fY=!fX?null:(typeof fX==='string'?fX:fX['name'])['toLowerCase']();fW=Array['isArray'](fW)?fW:Array['of'](fW);for(let fZ of fW){if(fV[fZ]&&fV['BDFDBpatch'][fZ]){for(let g0 of fw){if(fY)delete fV['BDFDBpatch'][fZ][g0][fY];else delete fV['BDFDBpatch'][fZ][g0];}var g1=!![];for(let g0 of fw)if(!BDFDB['isObjectEmpty'](fV['BDFDBpatch'][fZ][g0]))g1=![];if(g1){fV[fZ]=fV['BDFDBpatch'][fZ]['originalMethod'];delete fV['BDFDBpatch'][fZ];if(BDFDB['isObjectEmpty'](fV['BDFDBpatch']))delete fV['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(g3){if(BDFDB['isObject'](g3)&&Array['isArray'](g3['patchCancels']))for(let g4 of g3['patchCancels'])g4();};BDFDB['WebModules']['forceAllUpdates']=function(g5,g6){g6=g6&&fx[g6]?fx[g6]+'\x20_\x20_\x20'+g6:g6;if(BDFDB['isObject'](g5)&&BDFDB['isObject'](g5['patchModules'])&&(!g6||g5['patchModules'][g6])){const g7=document['querySelector'](BDFDB['dotCN']['app']);const g8=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(g7){var g9=[];for(let ga in g5['patchModules']){var gb=Array['isArray'](g5['patchModules'][ga])?g5['patchModules'][ga]:Array['of'](g5['patchModules'][ga]);if(gb['includes']('componentDidUpdate')||gb['includes']('componentDidMount')||gb['includes']('render'))g9['push'](ga);}g9=g6?g9['filter'](gc=>gc==g6):g9;if(g9['length']>0x0){try{const gd=BDFDB['getOwnerInstance']({'node':g7,'name':g9,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let ga in gd)for(let gf in gd[ga])BDFDB['WebModules']['initiateProcess'](g5,gd[ga][gf],null,ga,['componentDidMount','componentDidUpdate','render']);if(g8){const gg=BDFDB['getOwnerInstance']({'node':g8,'name':g9,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let ga in gg)for(let gf in gg[ga])BDFDB['WebModules']['initiateProcess'](g5,gg[ga][gf],null,ga,['componentDidMount','componentDidUpdate','render']);}}catch(gj){console['error']('%c['+g5['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20force\x20update\x20components!\x20'+gj);}}}}};BDFDB['WebModules']['patchModules']=function(gk){if(BDFDB['isObject'](gk)&&BDFDB['isObject'](gk['patchModules'])){for(let gl in gk['patchModules']){var gm=fx[gl];var gn=fy[gl['split']('\x20_\x20_\x20')[0x1]||gl];var go=gm?gm+'\x20_\x20_\x20'+gl:gl;if(gm){gk['patchModules'][go]=gk['patchModules'][gl];delete gk['patchModules'][gl];}if(!gn)gp(BDFDB['WebModules']['findByName'](go['split']('\x20_\x20_\x20')[0x0]),go);else if(tr[gn])gu(gn,go);}function gp(gq,gl){if(gq){var gs=gl['split']('\x20_\x20_\x20')[0x0];gq=gq['_reactInternalFiber']&&gq['_reactInternalFiber']['type']?gq['_reactInternalFiber']['type']:gq;gq=gq['displayName']==gs?gq:BDFDB['getOwnerInstance']({'instance':gq,'name':gs,'up':!![]});if(gq){gq=gq['_reactInternalFiber']&&gq['_reactInternalFiber']['type']?gq['_reactInternalFiber']['type']:gq;BDFDB['WebModules']['patch'](gq['prototype'],gk['patchModules'][gl],gk,{'after':gt=>{if(window['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](gk,gt['thisObject'],gt['returnValue'],gl,[gt['originalMethodName']]);}});}}}function gu(gn,gl){const gx=document['querySelector'](BDFDB['dotCN']['app']),gy=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);var gz=![];if(gx){var gA=BDFDB['getOwnerInstance']({'node':gx,'name':gl,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gA){gz=!![];gp(gA,gl);}}if(!gz&&gy){var gB=BDFDB['getOwnerInstance']({'node':gy,'name':gl,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gB){gz=!![];gp(gB,gl);}}if(!gz){var gC=![],gD=new MutationObserver(gE=>{gE['forEach'](gF=>{gF['addedNodes']['forEach'](gG=>{if(gC||!gG||!gG['tagName'])return;var gH=null;if((gH=BDFDB['containsClass'](gG,BDFDB['disCN'][gn])?gG:gG['querySelector'](BDFDB['dotCN'][gn]))!=null){var gI=BDFDB['getReactInstance'](gH);if(gJ(gI,gl)){gC=!![];gD['disconnect']();gp(gI,gl);BDFDB['WebModules']['forceAllUpdates'](gk,gl);}}});});});BDFDB['addObserver'](gk,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gD,'multi':!![]},{'childList':!![],'subtree':!![]});}}function gJ(gK,gl){if(!gK)return![];gK=gK['_reactInternalFiber']&&gK['_reactInternalFiber']['type']?gK['_reactInternalFiber']['type']:gK;gK=gK['displayName']==gl?gK:BDFDB['getOwnerInstance']({'instance':gK,'name':gl,'up':!![]});return gK&&(gl!='V2C_PluginCard'&&gl!='V2C_ThemeCard'||gl=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||gl=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gM,gN,gO,gP,gQ){if(BDFDB['isObject'](gM)&&gN){gP=(gP['split']('\x20_\x20_\x20')[0x1]||gP)['replace'](/[^A-z0-9]|_/g,'');gP=gP[0x0]['toUpperCase']()+gP['slice'](0x1);if(typeof gM['process'+gP]=='function'){var gR=BDFDB['React']['findDOMNodeSafe'](gN);if(gR)gM['process'+gP](gN,gR,gO,gQ);else setImmediate(()=>{gR=BDFDB['React']['findDOMNodeSafe'](gN);if(gR)gM['process'+gP](gN,gR,gO,gQ);});}}};BDFDB['addOnSwitchListener']=function(gS){if(typeof gS['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](gS);var gT=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(gT){var gU=new MutationObserver(gV=>{gV['forEach'](gW=>{if(gW['target']&&BDFDB['containsClass'](gW['target'],BDFDB['disCN']['nochannel']))gS['onSwitch']();});});var gX=gT['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(gX)gU['observe'](gX,{'attributes':!![]});gS['onSwitchFix']=new MutationObserver(gY=>{gY['forEach'](gZ=>{if(gZ['addedNodes']){gZ['addedNodes']['forEach'](h0=>{if(BDFDB['containsClass'](h0,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))gU['observe'](h0,{'attributes':!![]});});}});});gS['onSwitchFix']['observe'](gT,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(h1){if(typeof h1['onSwitch']==='function'&&BDFDB['isObject'](h1['onSwitchFix'])){h1['onSwitchFix']['disconnect']();delete h1['onSwitchFix'];}};var h2=['ChannelContextMenu','DeveloperContextMenu','GuildContextMenu','GuildRoleContextMenu','LfgContextMenu','MessageContextMenu','NativeContextMenu','ScreenshareContextMenu','UserContextMenu','UserSettingsCogContextMenu'];var h3=['MessageOptionPopout'];var h4=['ApplicationContextMenu','GroupDMContextMenu'];var h5={};for(let h6 of h4)h5[h6]={'query':[],'module':null};BDFDB['addContextListener']=function(h7){if(!BDFDB['isObject'](h7))return;for(let h8 of h2)if(typeof h7['on'+h8]==='function')hb(h7,h8,BDFDB['WebModules']['findByName'](h8));for(let h9 of h3)if(typeof h7['on'+h9]==='function')hj(h7,h9,BDFDB['WebModules']['findByName'](h9));for(let ha of h4)if(typeof h7['on'+ha]==='function'){if(h5[ha]['module'])hb(h7,ha,h5[ha]['module']);else h5[ha]['query']['push'](h7);}};var hb=function(hc,hd,he){if(he&&he['prototype'])BDFDB['WebModules']['patch'](he['prototype'],'render',hc,{'after':hf=>{let hg=hf['thisObject'],hh=BDFDB['React']['findDOMNodeSafe'](hf['thisObject']),hi=hf['returnValue'];if(hg&&hh&&hi&&typeof hc['on'+hd]==='function'){hc['on'+hd](hg,hh,hi);}}});};var hj=function(hk,hl,hm){if(hm&&hm['prototype'])BDFDB['WebModules']['patch'](hm['prototype'],'render',hk,{'after':hn=>{let ho=hn['thisObject'],hp=BDFDB['React']['findDOMNodeSafe'](hn['thisObject']),hq=hn['returnValue'];if(ho&&hp&&hq&&typeof hk['on'+hl]==='function'){hk['on'+hl](ho,hp,hq);if(!ho['BDFDBforceUpdateTimeout']&&typeof ho['forceUpdate']=='function')ho['forceUpdate']();}}});};var hr=function(hs,ht){if(hs&&hs['prototype']){BDFDB['WebModules']['patch'](hs['prototype'],'componentDidMount',BDFDB,{'after':hu=>{if(!hu['thisObject']['BDFDBforceRenderTimeout']&&typeof hu['thisObject']['render']=='function')hu['thisObject']['render']();}});BDFDB['WebModules']['patch'](hs['prototype'],'componentDidUpdate',BDFDB,{'after':hv=>{var hw=BDFDB['React']['findDOMNodeSafe'](hv['thisObject']);if(hw){BDFDB['initElements'](hw);const hx=BDFDB['getReactValue'](hv,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const hy=BDFDB['getRects'](hw),hz=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount']));if(hx&&hy['top']+hy['height']>hz['height'])hx();}}});BDFDB['WebModules']['patch'](hs['prototype'],'render',BDFDB,{'after':hA=>{if(hA['thisObject']['props']['BDFDBcontextMenu']&&hA['thisObject']['props']['children']&&hA['returnValue']&&hA['returnValue']['props']){hA['returnValue']['props']['children']=hA['thisObject']['props']['children'];delete hA['thisObject']['props']['value'];delete hA['thisObject']['props']['children'];delete hA['thisObject']['props']['BDFDBcontextMenu'];}if(BDFDB['React']['findDOMNodeSafe'](hA['thisObject'])){hA['thisObject']['BDFDBforceRenderTimeout']=!![];setTimeout(()=>{delete hA['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(ht){let hB=BDFDB['getReactValue'](hA,'thisObject._reactInternalFiber.child.type');if(hB&&hB['displayName']&&h5[hB['displayName']]&&!h5[hB['displayName']]['module']){h5[hB['displayName']]['module']=hB;hr(hB,![]);while(h5[hB['displayName']]['query']['length']){hb(h5[hB['displayName']]['query']['pop'](),hB['displayName'],hB);}}}}});}};var hC=function(hD,hE){if(hD&&hD['prototype']){BDFDB['WebModules']['patch'](hD['prototype'],'componentDidMount',BDFDB,{'after':hF=>{if(!hF['thisObject']['BDFDBforceRenderTimeout']&&!hF['thisObject']['BDFDBforceUpdateTimeout']&&typeof hF['thisObject']['render']=='function')hF['thisObject']['render']();}});BDFDB['WebModules']['patch'](hD['prototype'],'componentDidUpdate',BDFDB,{'after':hG=>{const hH=BDFDB['getReactValue'](hG,'thisObject._reactInternalFiber.return.return.return.stateNode.updateOffsets');if(hH)hH();hG['thisObject']['BDFDBforceUpdateTimeout']=!![];setTimeout(()=>{delete hG['thisObject']['BDFDBforceUpdateTimeout'];},0x3e8);}});BDFDB['WebModules']['patch'](hD['prototype'],'render',BDFDB,{'after':hI=>{if(BDFDB['React']['findDOMNodeSafe'](hI['thisObject'])){hI['thisObject']['BDFDBforceRenderTimeout']=!![];setTimeout(()=>{delete hI['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hI['thisObject']['props']['message']&&!hI['thisObject']['props']['target']){const hJ=document['querySelector'](BDFDB['dotCN']['messages']);if(hJ){var hK=BDFDB['getOwnerInstance']({'node':hJ,'name':'Message','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hL in hK)if(hI['thisObject']['props']['message']['id']==hK[hL]['props']['message']['id']){target=BDFDB['React']['findDOMNodeSafe'](hK[hL]);if(target)hI['thisObject']['props']['target']=target;break;}}}}});}};for(let hM of h2)hr(BDFDB['WebModules']['findByName'](hM),![]);for(let hN of h3)hC(BDFDB['WebModules']['findByName'](hN),![]);for(let hO of h4)hr(BDFDB['WebModules']['findByName']('FluxContainer('+hO+')'),!![]);BDFDB['addSettingsButtonListener']=function(hP){if(BDFDB['isBDv2']()&&typeof hP['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](hP);BDFDB['appendSettingsButton'](hP);var hQ=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(hQ){hP['settingsButtonObserver']=new MutationObserver(hR=>{hR['forEach'](hS=>{if(hS['addedNodes']){hS['addedNodes']['forEach'](hT=>{if(hT['tagName']&&BDFDB['containsClass'](hT,'active'))BDFDB['appendSettingsButton'](hP);});}});});hP['settingsButtonObserver']['observe'](hQ,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(hU){var hV=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+hU['id']+']');if(hV){var hW=BDFDB['htmlToElement']('');hV['insertBefore'](hW,hV['querySelector'](BDFDB['d']['_bdv2button']));hW['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',hW,{'type':'top'});BDFDB['addClass'](hW,BDFDB['disCN']['_bdv2tooltipopen']);});hW['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](hW,BDFDB['disCN']['_bdv2tooltipopen']);});hW['addEventListener']('click',()=>{var hX=BDFDB['htmlToElement'](''+hU['name']+'\x20Settings
');var hY=hU['getSettingsPanel']();hX['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof hY=='string'?BDFDB['htmlToElement'](hY):hY);if(typeof hU['onSettingsClosed']==='function')BDFDB['addChildEventListener'](hX,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{hU['onSettingsClosed']();});BDFDB['appendModal'](hX);});}};BDFDB['removeSettingsButtonListener']=function(hZ){if(BDFDB['isBDv2']()&&typeof hZ['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+hZ['id']+']\x20.BDFDB-settingsbutton');hZ['settingsButtonObserver']['disconnect']();delete hZ['settingsButtonObserver'];}};var i0={},i1=fp['LanguageStore']&&fp['LanguageStore']['_proxyContext']?Object['assign']({},fp['LanguageStore']['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(i1,{'get':function(i2,i3){var i4=fp['LanguageStore']['Messages'][i3];if(!i4)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',i3+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var i5=typeof i4=='object'?i4['format'](Object['assign']({},i0)):i4;if(typeof i5=='string')return i5;else if(Array['isArray'](i5)){var i6='';for(let i7 of i5){if(typeof i7=='string')i6+=BDFDB['encodeToHTML'](i7);else if(BDFDB['isObject'](i7)&&i7['props'])i6+='<'+i7['type']+'>'+BDFDB['encodeToHTML'](i7['props']['children'][0x0]['toString']())+''+i7['type']+'>';}return i6;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',i3+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(i1,{'get':function(i8,i9){return fp['LanguageStore']['Messages'][i9];}});BDFDB['LanguageStringsFormat']=function(ia,ib){if(ia&&ib){var ic=fp['LanguageStore']['Messages'][ia];if(ic&&typeof ic=='object'&&typeof ic['format']=='function'){try{var id={};for(let ie in i0)id[ie]=ib;var ig=ic['format'](id);if(typeof ig=='string')return ig;else if(Array['isArray'](ig)){var ih='';for(let ii of ig){if(typeof ii=='string')ih+=BDFDB['encodeToHTML'](ii);else if(BDFDB['isObject'](ii)&&ii['props'])ih+='<'+ii['type']+'>'+BDFDB['encodeToHTML'](ii['props']['children'][0x0]['toString']())+''+ii['type']+'>';}return ih;}}catch(ij){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ia+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ia+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ia+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(fp['LanguageStore'])for(let ik in i1){try{BDFDB['LanguageStrings'][ik];}catch(il){let im=il['toString']()['split']('for:\x20')[0x1];if(im&&typeof im=='string'&&!i0[im])i0[im]='{{'+im['toLowerCase']()+'}}';}};BDFDB['equals']=function(io,ip,iq){var ir=-0x1;if(iq===undefined||typeof iq!=='boolean')iq=![];return is(io,ip);function is(it,iu){ir++;var iv=!![];if(ir>0x3e8)iv=null;else{if(typeof it!==typeof iu)iv=![];else if(typeof it==='undefined')iv=!![];else if(typeof it==='symbol')iv=!![];else if(typeof it==='boolean')iv=it==iu;else if(typeof it==='string')iv=it==iu;else if(typeof it==='number'){if(isNaN(it)||isNaN(iu))iv=isNaN(it)==isNaN(iu);else iv=it==iu;}else if(!it&&!iu)iv=!![];else if(!it||!iu)iv=![];else if(typeof it==='function'||typeof it==='object'){var iw=Object['getOwnPropertyNames'](it);var ix=Object['getOwnPropertyNames'](iu);if(iw['length']!==ix['length'])iv=![];else for(let iy=0x0;iv===!![]&&iyiN['length']?iQ:iN['length'];};BDFDB['readServerList']=function(){var iR=[],iS=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':['Guild','GuildIcon'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let iT in iS)if(iS[iT]['props']&&iS[iT]['props']['guild'])iR['push'](Object['assign'](new iS[iT]['props']['guild']['constructor'](iS[iT]['props']['guild']),{'div':iS[iT]['handleContextMenu']?BDFDB['React']['findDOMNodeSafe'](iS[iT]):BDFDB['createServerDivCopy'](iS[iT]['props']['guild']),'instance':iS[iT]}));return iR;};BDFDB['readUnreadServerList']=function(iU){var iV=[];for(let iW of iU===undefined||!Array['isArray'](iU)?BDFDB['readServerList']():iU){if(!iW)return null;let c=Node['prototype']['isPrototypeOf'](iW)?BDFDB['getServerID'](iW):typeof iW=='object'?iW['id']:iW;c=typeof c=='number'?c['toFixed']():c;if(c&&(fp['UnreadGuildUtils']['hasUnread'](c)||fp['MentionUtils']['getMentionCount'](c)>0x0))iV['push'](iW);}return iV;};BDFDB['readMutedServerList']=function(iY){var iZ=[];for(let j0 of iY===undefined||!Array['isArray'](iY)?BDFDB['readServerList']():iY){if(!j0)return null;let c=Node['prototype']['isPrototypeOf'](j0)?BDFDB['getServerID'](j0):typeof j0=='object'?j0['id']:j0;c=typeof c=='number'?c['toFixed']():c;if(c&&fp['MutedUtils']['isGuildOrCategoryOrChannelMuted'](c))iZ['push'](j0);}return iZ;};BDFDB['getSelectedServer']=function(){var j2=fp['GuildStore']['getGuild'](fp['LastGuildStore']['getGuildId']());if(j2)return BDFDB['getServerData'](j2['id'])||Object['assign'](new j2['constructor'](j2),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(j3){if(!Node['prototype']['isPrototypeOf'](j3)||!BDFDB['getReactInstance'](j3))return;let j4=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],j3);if(!j4)return;var j5=j4['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=j5&&j5['href']?j5['href']['split']('/')['slice'](-0x2)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getServerDiv']=function(j7){if(!j7)return null;if(Node['prototype']['isPrototypeOf'](j7))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],j7);else{let c=typeof j7=='object'?j7['id']:j7;if(c)return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/'+c+'\x22]'))||BDFDB['createServerDivCopy'](c,{'pill':!![],'hover':!![],'click':!![],'menu':!![]});}return null;};BDFDB['getServerData']=function(j9){if(!j9)return null;let c=Node['prototype']['isPrototypeOf'](j9)?BDFDB['getServerID'](j9):typeof j9=='object'?j9['id']:j9;c=typeof c=='number'?c['toFixed']():c;for(let jb of BDFDB['readServerList']())if(jb&&jb['id']==c)return jb;return null;};BDFDB['createServerDivCopy']=function(jc,jd={'pill':![],'hover':![],'click':![],'menu':![],'size':null}){let c=typeof jc=='object'?jc['id']:jc;let jf=c?fp['GuildStore']['getGuild'](c):null;if(jf){let jg=Math['round'](Math['random']()*0x2386f26fc10000);let jh=BDFDB['htmlToElement']('');let ji=jh['querySelector'](BDFDB['dotCN']['guildcontainer']);BDFDB['toggleEles'](jh['querySelector'](BDFDB['dotCN']['guildpillwrapper']),jd['pill']);if(jd['hover']){let jj=jh['querySelector'](BDFDB['dotCN']['guildiconwrapper']);let jk=jh['querySelector'](BDFDB['dotCN']['guildpillitem']);let jl=jk['style']['getPropertyValue']('opacity')!=0x0;let jm=new fp['AnimationUtils']['Value'](0x0);jm['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x32,0x1e]})['addListener'](jn=>{ji['style']['setProperty']('border-radius',jn['value']+'%');});let jo=new fp['AnimationUtils']['Value'](0x0);jo['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x8,0x14]})['addListener'](jp=>{jk['style']['setProperty']('height',jp['value']+'px');});let jq=new fp['AnimationUtils']['Value'](0x0);jq['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0.7]})['addListener'](jr=>{jk['style']['setProperty']('opacity',''+jr['value']);});let js=jt=>{fp['AnimationUtils']['parallel']([fp['AnimationUtils']['timing'](jm,{'toValue':jt,'duration':0xc8}),fp['AnimationUtils']['spring'](jo,{'toValue':jt,'friction':0x5})])['start']();};let ju=jv=>{fp['AnimationUtils']['parallel']([fp['AnimationUtils']['timing'](jq,{'toValue':jv,'duration':0xc8})])['start']();};ji['addEventListener']('mouseenter',()=>{jl=jk['style']['getPropertyValue']('opacity')!=0x0;if(fp['LastGuildStore']['getGuildId']()!=jf['id']){js(0x1);if(!jl)ju(0x1);}});ji['addEventListener']('mouseleave',()=>{if(fp['LastGuildStore']['getGuildId']()!=jf['id']){js(0x0);if(!jl)ju(0x0);}});}if(jd['click'])ji['addEventListener']('click',jw=>{BDFDB['stopEvent'](jw);fp['GuildUtils']['transitionToGuildSync'](jf['id']);if(typeof jd['click']=='function')jd['click']();});if(jd['menu'])ji['addEventListener']('contextmenu',jx=>{BDFDB['openGuildContextMenu'](jf['id'],jx);if(typeof jd['menu']=='function')jd['menu']();});if(jd['size']){jh['style']['setProperty']('margin','0','important');jh['style']['setProperty']('width',jd['size']+'px','important');jh['style']['setProperty']('height',jd['size']+'px','important');}return jh;}else return null;};BDFDB['openGuildContextMenu']=function(jy,jz=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](jy)?BDFDB['getServerID'](jy):typeof jy=='object'?jy['id']:jy;let jB=fp['GuildStore']['getGuild'](c);if(jB)fp['ContextMenuUtils']['openContextMenu'](jz,function(jz){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('GuildContextMenu'),Object['assign']({},jz,{'type':BDFDB['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':jB,'badge':fp['MentionUtils']['getMentionCount'](jB['id']),'link':BDFDB['DiscordConstants']['Routes']['CHANNEL'](jB['id'],fp['LastChannelStore']['getChannelId'](jB['id'])),'selected':jB['id']==fp['LastGuildStore']['getGuildId']()}));});};BDFDB['readChannelList']=function(){var jD=[],jE=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let jF in jE)if(jE[jF]['props']&&!jE[jF]['props']['ispin']&&jE[jF]['props']['channel']&&jE[jF]['_reactInternalFiber']['return']){var jG=BDFDB['React']['findDOMNodeSafe'](jE[jF]);jG=jG&&BDFDB['containsClass'](jG['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?jG['parentElement']:jG;jD['push'](Object['assign'](new jE[jF]['props']['channel']['constructor'](jE[jF]['props']['channel']),{'div':jG,'instance':jE[jF]}));}return jD;};BDFDB['getSelectedChannel']=function(){var jH=fp['ChannelStore']['getChannel'](fp['LastChannelStore']['getChannelId']());if(jH)return BDFDB['getChannelData'](jH['id'])||Object['assign'](new jH['constructor'](jH),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(jI){if(!Node['prototype']['isPrototypeOf'](jI)||!BDFDB['getReactInstance'](jI))return;jI=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],jI);if(!jI)return;var jJ=BDFDB['getKeyInformation']({'node':jI,'key':'channel'});return jJ?jJ['id']['toString']():null;};BDFDB['getChannelDiv']=function(jK){if(!jK)return null;let jL=BDFDB['getChannelData'](jK);return jL?jL['div']:null;};BDFDB['getChannelData']=function(jM){if(!jM)return null;let c=Node['prototype']['isPrototypeOf'](jM)?BDFDB['getChannelID'](jM):typeof jM=='object'?jM['id']:jM;c=typeof c=='number'?c['toFixed']():c;for(let jO of BDFDB['readChannelList']())if(jO&&jO['id']==c)return jO;return null;};BDFDB['openChannelContextMenu']=function(jP,jQ=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](jP)?BDFDB['getChannelID'](jP):typeof jP=='object'?jP['id']:jP;let jS=fp['ChannelStore']['getChannel'](c);if(jS){let jT=null;for(let jU in BDFDB['DiscordConstants']['ChannelTypes'])if(BDFDB['DiscordConstants']['ChannelTypes'][jU]==jS['type']){jT=BDFDB['DiscordConstants']['ContextMenuTypes'][(jU=='GUILD_CATEGORY'?'CHANNEL_':'CHANNEL_LIST_')+jU['replace']('GUILD_','')];break;}if(jT)fp['ContextMenuUtils']['openContextMenu'](jQ,function(jQ){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('ChannelContextMenu'),Object['assign']({},jQ,{'type':jT,'channel':jS,'selected':jS['id']==fp['LastChannelStore']['getChannelId']()}));});}};BDFDB['readDmList']=function(){var jW=[],jX=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let jY in jX)if(jX[jY]['props']&&jX[jY]['props']['channel']&&jX[jY]['_reactInternalFiber']['child'])jW['push'](Object['assign'](new jX[jY]['props']['channel']['constructor'](jX[jY]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](jX[jY]),'instance':jX[jY]}));return jW;};BDFDB['getDmID']=function(jZ){if(!Node['prototype']['isPrototypeOf'](jZ)||!BDFDB['getReactInstance'](jZ))return;let k0=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],jZ);if(!k0)return;var k1=k0['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=k1&&k1['href']?k1['href']['split']('/')['slice'](-0x1)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getDmDiv']=function(k3){if(!k3)return null;if(Node['prototype']['isPrototypeOf'](k3)){var k4=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],k3);return k4?k4['parentElement']:k4;}else{let c=typeof k3=='object'?k3['id']:k3;if(c){var k4=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],document['querySelector'](BDFDB['dotCNS']['guilds']+BDFDB['dotCN']['dmpill']+'\x20+\x20*\x20'+BDFDB['dotCN']['guildiconwrapper']+'[href*=\x22/channels/@me/'+c+'\x22]'));return k4&&BDFDB?k4['parentElement']:k4;}}return null;};BDFDB['getDmData']=function(k7){if(!k7)return null;let c=Node['prototype']['isPrototypeOf'](k7)?BDFDB['getDmID'](k7):typeof k7=='object'?k7['id']:k7;c=typeof c=='number'?c['toFixed']():c;for(let k9 of BDFDB['readDmList']())if(k9&&k9['id']==c)return k9;return null;};BDFDB['markChannelAsRead']=function(ka){if(!ka)return;var kb=[];for(let kc of ka=Array['isArray'](ka)?ka:typeof ka=='string'||typeof ka=='number'?Array['of'](ka):Array['from'](ka)){let c=Node['prototype']['isPrototypeOf'](kc)?BDFDB['getChannelID'](kc)||BDFDB['getDmID'](kc):kc&&typeof kc=='object'?kc['id']:kc;if(c)kb['push'](c);}if(kb['length']>0x0)fp['AckUtils']['bulkAck'](kb);};BDFDB['markGuildAsRead']=function(ke){if(!ke)return;var kf=[];for(let kg of Array['isArray'](ke)?ke:typeof ke=='string'||typeof ke=='number'?Array['of'](ke):Array['from'](ke)){let c=Node['prototype']['isPrototypeOf'](kg)?BDFDB['getServerID'](kg):kg&&typeof kg=='object'?kg['id']:kg;let ki=c?fp['GuildChannelStore']['getChannels'](c):null;if(ki)for(let kj in ki)if(Array['isArray'](ki[kj]))for(let kk of ki[kj])kf['push'](kk['channel']['id']);}if(kf['length']>0x0)fp['AckUtils']['bulkAck'](kf);};BDFDB['saveAllData']=function(kl,km,kn){var ko,kp;if(!BDFDB['isBDv2']()){kp=typeof km==='string'?km:km['name'];ko=fm['path']['join'](BDFDB['getPluginsFolder'](),kp+'.config.json');}else{kp=typeof km==='string'?km['toLowerCase']():null;var kq=kp?BDFDB['Plugins'][kp]?BDFDB['Plugins'][kp]['contentPath']:null:km['contentPath'];if(!kq)return;ko=fm['path']['join'](kq,'settings.json');}var kr=fm['fs']['existsSync'](ko);var ks=!kr?{}:typeof BDFDB['cachedData'][kp]!=='undefined'?BDFDB['cachedData'][kp]:BDFDB['readConfig'](ko);ks[kn]=kl;if(BDFDB['isObjectEmpty'](ks[kn]))delete ks[kn];if(BDFDB['isObjectEmpty'](ks)){delete BDFDB['cachedData'][kp];if(kr)fm['fs']['unlinkSync'](ko);}else{BDFDB['cachedData'][kp]=ks;fm['fs']['writeFileSync'](ko,JSON['stringify'](ks,null,'\x09'));}};BDFDB['loadAllData']=function(kt,ku){var kv,kw;if(!BDFDB['isBDv2']()){kw=typeof kt==='string'?kt:kt['name'];kv=fm['path']['join'](BDFDB['getPluginsFolder'](),kw+'.config.json');}else{kw=typeof kt==='string'?kt['toLowerCase']():null;var kx=kw?BDFDB['Plugins'][kw]?BDFDB['Plugins'][kw]['contentPath']:null:kt['contentPath'];if(!kx)return{};kv=fm['path']['join'](kx,'settings.json');}if(!fm['fs']['existsSync'](kv)){delete BDFDB['cachedData'][kw];return{};}var ky=typeof BDFDB['cachedData'][kw]!=='undefined'?BDFDB['cachedData'][kw]:BDFDB['readConfig'](kv);BDFDB['cachedData'][kw]=ky;return ky&&typeof ky[ku]!=='undefined'?ky[ku]:{};};BDFDB['removeAllData']=function(kz,kA){var kB,kC;if(!BDFDB['isBDv2']()){kC=typeof kz==='string'?kz:kz['name'];kB=fm['path']['join'](BDFDB['getPluginsFolder'](),kC+'.config.json');}else{kC=typeof kz==='string'?kz['toLowerCase']():null;var kD=kC?BDFDB['Plugins'][kC]?BDFDB['Plugins'][kC]['contentPath']:null:kz['contentPath'];if(!kD)return;kB=fm['path']['join'](kD,'settings.json');}var kE=fm['fs']['existsSync'](kB);var kF=!kE?{}:typeof BDFDB['cachedData'][kC]!=='undefined'?BDFDB['cachedData'][kC]:BDFDB['readConfig'](kB);delete kF[kA];if(BDFDB['isObjectEmpty'](kF)){delete BDFDB['cachedData'][kC];if(kE)fm['fs']['unlinkSync'](kB);}else{BDFDB['cachedData'][kC]=kF;fm['fs']['writeFileSync'](kB,JSON['stringify'](kF,null,'\x09'));}};BDFDB['getAllData']=function(kG,kH){if(!BDFDB['isObject'](kG)||!kG['defaults']||!kG['defaults'][kH])return{};var kI=BDFDB['loadAllData'](kG,kH),kJ={},kK=![];for(let kL in kG['defaults'][kH]){if(kI[kL]==null){kJ[kL]=kG['defaults'][kH][kL]['value'];kK=!![];}else kJ[kL]=kI[kL];}if(kK)BDFDB['saveAllData'](kJ,kG,kH);return kJ;};BDFDB['readConfig']=function(kM){try{return JSON['parse'](fm['fs']['readFileSync'](kM));}catch(kN){return{};}};BDFDB['saveData']=function(c,kP,kQ,kR){var kS=BDFDB['loadAllData'](kQ,kR);kS[c]=kP;BDFDB['saveAllData'](kS,kQ,kR);};BDFDB['loadData']=function(c,kU,kV){var kW=BDFDB['loadAllData'](kU,kV);var kX=kW[c];return kX===undefined?null:kX;};BDFDB['removeData']=function(c,kZ,l0){var l1=BDFDB['loadAllData'](kZ,l0);delete l1[c];BDFDB['saveAllData'](l1,kZ,l0);};BDFDB['getData']=function(c,l3,l4){var l5=BDFDB['getAllData'](l3,l4);var l6=l5[c];return l6===undefined?null:l6;};BDFDB['appendWebScript']=function(l7,l8){if(!l8&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));l8=l8||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];l8=Node['prototype']['isPrototypeOf'](l8)?l8:document['head'];BDFDB['removeWebScript'](l7,l8);l8['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(l9,la){la=la||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];la=Node['prototype']['isPrototypeOf'](la)?la:document['head'];BDFDB['removeEles'](la['querySelectorAll']('script[src=\x22'+l9+'\x22]'));};BDFDB['appendWebStyle']=function(lb,lc){if(!lc&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));lc=lc||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];lc=Node['prototype']['isPrototypeOf'](lc)?lc:document['head'];BDFDB['removeWebStyle'](lb,lc);lc['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(ld,le){le=le||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];le=Node['prototype']['isPrototypeOf'](le)?le:document['head'];BDFDB['removeEles'](le['querySelectorAll']('link[href=\x22'+ld+'\x22]'));};BDFDB['appendLocalStyle']=function(c,lg,lh){if(!lh&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));lh=lh||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];lh=Node['prototype']['isPrototypeOf'](lh)?lh:document['head'];BDFDB['removeLocalStyle'](c,lh);lh['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(c,lj){lj=lj||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];lj=Node['prototype']['isPrototypeOf'](lj)?lj:document['head'];BDFDB['removeEles'](lj['querySelectorAll']('style[id=\x22'+c+'CSS\x22]'));};BDFDB['formatBytes']=function(lk,ll){lk=parseInt(lk);if(isNaN(lk)||lk<0x0)return'0\x20Bytes';if(lk==0x1)return'1\x20Byte';var lm=Math['floor'](Math['log'](lk)/Math['log'](0x400));return parseFloat((lk/Math['pow'](0x400,lm))['toFixed'](ll<0x1?0x0:ll>0x14?0x14:ll||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][lm];};BDFDB['colorCONVERT']=function(ln,lo,lp){if(!ln)return null;lo=lo===undefined||!lo?lo='RGBCOMP':lo['toUpperCase']();lp=lp===undefined||!lp||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](lp['toUpperCase']())?BDFDB['colorTYPE'](ln):lp['toUpperCase']();if(lo=='RGBCOMP'){switch(lp){case'RGBCOMP':if(ln['length']==0x3)return lZ(ln);else if(ln['length']==0x4){var lq=m2(ln['pop']());return lZ(ln)['concat'](lq);}case'RGB':return lZ(ln['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var lr=ln['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var lq=m2(lr['pop']());return lZ(lr)['concat'](lq);case'HSLCOMP':if(ln['length']==0x3)return BDFDB['colorCONVERT']('hsl('+ln['join'](',')+')','RGBCOMP');else if(ln['length']==0x4){var lq=m2(jg['pop']());return BDFDB['colorCONVERT']('hsl('+jg['join'](',')+')','RGBCOMP')['concat'](lq);}case'HSL':var lu=m6(ln['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var lv,lw,lx,ly,lz,lA,lB,lC;var lD=lu[0x0]/0x168,lE=parseInt(lu[0x1])/0x64,lF=parseInt(lu[0x2])/0x64;ly=Math['floor'](lD*0x6);lz=lD*0x6-ly;lA=lF*(0x1-lE);lB=lF*(0x1-lz*lE);lC=lF*(0x1-(0x1-lz)*lE);switch(ly%0x6){case 0x0:lv=lF,lw=lC,lx=lA;break;case 0x1:lv=lB,lw=lF,lx=lA;break;case 0x2:lv=lA,lw=lF,lx=lC;break;case 0x3:lv=lA,lw=lB,lx=lF;break;case 0x4:lv=lC,lw=lA,lx=lF;break;case 0x5:lv=lF,lw=lA,lx=lB;break;}return[Math['round'](lv*0xff),Math['round'](lw*0xff),Math['round'](lx*0xff)];case'HSLA':var lu=ln['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var lq=m2(lu['pop']());return BDFDB['colorCONVERT']('hsl('+lu['join'](',')+')','RGBCOMP')['concat'](lq);case'HEX':var lI=/^#([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'](ln);return[parseInt(lI[0x1]+lI[0x1]||lI[0x4],0x10)['toString'](),parseInt(lI[0x2]+lI[0x2]||lI[0x5],0x10)['toString'](),parseInt(lI[0x3]+lI[0x3]||lI[0x6],0x10)['toString']()];default:return null;}}else{var lJ=lp=='RGBCOMP'?ln:BDFDB['colorCONVERT'](ln,'RGBCOMP',lp);if(lJ)switch(lo){case'RGB':return'rgb('+lZ(lJ['slice'](0x0,0x3))['join'](',')+')';case'RGBA':lJ=lJ['slice'](0x0,0x4);var lq=lJ['length']==0x4?m2(lJ['pop']()):0x1;return'rgba('+lZ(lJ)['concat'](lq)['join'](',')+')';case'HSLCOMP':var lq=lJ['length']==0x4?m2(lJ['pop']()):null;var lu=m6(BDFDB['colorCONVERT'](lJ,'HSL')['replace'](/\s/g,'')['split'](','));return lq?lu['concat'](lq):lu;case'HSL':var lv=lX(lJ[0x0]),lw=lX(lJ[0x1]),lx=lX(lJ[0x2]);var lQ=Math['max'](lv,lw,lx),lR=Math['min'](lv,lw,lx),lS=lQ-lR,lD,lE=lQ===0x0?0x0:lS/lQ,lF=lQ/0xff;switch(lQ){case lR:lD=0x0;break;case lv:lD=lw-lx+lS*(lw0xff?0xff:lz<0x0?0x0:lz;};function lZ(lr){return lr['map'](lz=>{return lX(lz);});};function m2(lq){lq=lq['toString']();lq=(lq['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lq['replace'](/[^0-9\.\-]/g,''));return isNaN(lq)||lq>0x1?0x1:lq<0x0?0x0:lq;};function m4(m5){m5=parseFloat(m5['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(m5)||m5>0x64?0x64:m5<0x0?0x0:m5)+'%';};function m6(lr){let lD=parseFloat(lr['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));lD=isNaN(lD)||lD>0x168?0x168:lD<0x0?0x0:lD;return[lD]['concat'](lr['map'](m9=>{return m4(m9);}));};};var ma=(mb,mc,md)=>{var me=BDFDB['colorCONVERT'](mb,'RGBCOMP');if(me){mc=mc['toString']();mc=(mc['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mc['replace'](/[^0-9\.\-]/g,''));mc=isNaN(mc)||mc>0x1?0x1:mc<0x0?0x0:mc;me[0x3]=mc;md=(md||BDFDB['colorTYPE'](mb))['toUpperCase']();md=md=='HSL'||md=='RGB'?md+'A':md;return BDFDB['colorCONVERT'](me,md);}return null;};BDFDB['colorSETALPHA']=function(mf,mg,mh){if(BDFDB['isObject'](mf)){var mi={};for(let mj in mf)mi[mj]=ma(mf[mj],mg,mh);return mi;}else return ma(mf,mg,mh);};var mk=(ml,mm,mn)=>{var mo=BDFDB['colorCONVERT'](ml,'RGBCOMP');if(mo){if(parseInt(mm)!==mm){mm=mm['toString']();mm=(mm['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mm['replace'](/[^0-9\.\-]/g,''));mm=isNaN(mm)?0x0:mm;return BDFDB['colorCONVERT']([Math['round'](mo[0x0]*(0x1+mm)),Math['round'](mo[0x1]*(0x1+mm)),Math['round'](mo[0x2]*(0x1+mm))],mn||BDFDB['colorTYPE'](ml));}else return BDFDB['colorCONVERT']([Math['round'](mo[0x0]+mm),Math['round'](mo[0x1]+mm),Math['round'](mo[0x2]+mm)],mn||BDFDB['colorTYPE'](ml));}return null;};BDFDB['colorCHANGE']=function(mp,mq,mr){mq=parseFloat(mq);if(mp&&typeof mq=='number'&&!isNaN(mq)){if(BDFDB['isObject'](mp)){var ms={};for(let mt in mp)ms[mt]=mk(mp[mt],mq,mr);return ms;}else return mk(mp,mq,mr);}return null;};BDFDB['colorINV']=function(mu,mv){if(mu){var mw=BDFDB['colorCONVERT'](mu,'RGBCOMP');if(mw)return BDFDB['colorCONVERT']([0xff-mw[0x0],0xff-mw[0x1],0xff-mw[0x2]],mv||BDFDB['colorTYPE'](mu));}return null;};BDFDB['colorCOMPARE']=function(mx,my){if(mx&&my){mx=BDFDB['colorCONVERT'](mx,'RGBCOMP');my=BDFDB['colorCONVERT'](my,'RGBCOMP');if(mx&&my)return BDFDB['equals'](mx,my);}return null;};BDFDB['colorISBRIGHT']=function(mz,mA=0xa0){mz=BDFDB['colorCONVERT'](mz,'RGBCOMP');if(!mz)return![];return parseInt(mA)