diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 33579bf3fa..ec0337b64a 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;fw['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){fw['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,'');fw['fs']['writeFileSync'](fw['path']['join'](BDFDB['getPluginsFolder'](),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);}BDFDB['addClass'](bt,selector);bl['appendChild'](bt);bt['close']=()=>{if(document['contains'](bt)){BDFDB['addClass'](bt,'closing');bt['style']['setProperty']('pointer-events','none','important');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':()=>{BDFDB['removeEles'](bN['parentElement']);}}});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=bO['querySelector'](BDFDB['dotCN']['tooltippointer']);var bR,bS,bT=BDFDB['getRects'](bO['anker']),bU=BDFDB['getRects'](bP),bV=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),bW={'height':bQ?0xa:0x0,'width':bQ?0xa:0x0};switch(bO['position']){case'top':bS=bT['top']-bU['height']-bW['height']+0x2;bR=bT['left']+(bT['width']-bU['width'])/0x2;break;case'bottom':bS=bT['top']+bT['height']+bW['height']-0x2;bR=bT['left']+(bT['width']-bU['width'])/0x2;break;case'left':bS=bT['top']+(bT['height']-bU['height'])/0x2;bR=bT['left']-bU['width']-bW['width']+0x2;break;case'right':bS=bT['top']+(bT['height']-bU['height'])/0x2;bR=bT['left']+bT['width']+bW['width']-0x2;break;}bP['style']['setProperty']('top',bS+'px');bP['style']['setProperty']('left',bR+'px');bQ['style']['removeProperty']('margin-left');bQ['style']['removeProperty']('margin-top');if(bO['position']=='top'||bO['position']=='bottom'){if(bR<0x0){bP['style']['setProperty']('left','5px');bQ['style']['setProperty']('margin-left',bR-0xa+'px');}else{var bX=bV['width']-(bR+bU['width']);if(bX<0x0){bP['style']['setProperty']('left',bV['width']-bU['width']-0x5+'px');bQ['style']['setProperty']('margin-left',-0x1*bX+'px');}}}else if(bO['position']=='left'||bO['position']=='right'){if(bS<0x0){bP['style']['setProperty']('top','5px');bQ['style']['setProperty']('margin-top',bS-0xa+'px');}else{var bY=bV['height']-(bS+bU['height']);if(bY<0x0){bP['style']['setProperty']('top',bV['height']-bU['height']-0x5+'px');bQ['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(uf['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']||ch['button'])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 fw['path']['resolve'](fw['electron']['remote']['app']['getPath']('appData'),cB,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){if(fw['process']['env']['injDir'])return fw['path']['resolve'](fw['process']['env']['injDir'],'plugins/');switch(fw['process']['platform']){case'win32':return fw['path']['resolve'](fw['process']['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return fw['path']['resolve'](fw['process']['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(fw['process']['env']['XDG_CONFIG_HOME'])return fw['path']['resolve'](fw['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return fw['path']['resolve'](fw['process']['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){if(fw['process']['env']['injDir'])return fw['path']['resolve'](fw['process']['env']['injDir'],'plugins/');switch(fw['process']['platform']){case'win32':return fw['path']['resolve'](fw['process']['env']['appdata'],'BetterDiscord/themes/');case'darwin':return fw['path']['resolve'](fw['process']['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(fw['process']['env']['XDG_CONFIG_HOME'])return fw['path']['resolve'](fw['process']['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return fw['path']['resolve'](fw['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,d0=![]){return Object['keys'](cY)['filter'](d1=>cZ(d0?d1:cY[d1]))['reduce']((d2,d3)=>(d2[d3]=cY[d3],d2),{});};BDFDB['isObject']=function(d4){return d4&&Object['prototype']['isPrototypeOf'](d4)&&!Array['prototype']['isPrototypeOf'](d4);};BDFDB['isObjectEmpty']=function(d5){return typeof d5!=='object'||Object['getOwnPropertyNames'](d5)['length']==0x0;};BDFDB['pushToObject']=function(d6,d7){if(BDFDB['isObject'](d6))d6[Object['keys'](d6)['length']]=d7;};BDFDB['mapObject']=function(d8,d9){var da={};if(BDFDB['isObject'](d8)&&typeof d9=='string')for(let db in d8)if(BDFDB['isObject'](d8[db]))da[db]=d8[db][d9];return da;};BDFDB['deepAssign']=function(dc,...dd){if(!dd['length'])return dc;var de=dd['shift']();if(BDFDB['isObject'](dc)&&BDFDB['isObject'](de)){for(var df in de){if(BDFDB['isObject'](de[df])){if(!dc[df])Object['assign'](dc,{[df]:{}});BDFDB['deepAssign'](dc[df],de[df]);}else Object['assign'](dc,{[df]:de[df]});}}return BDFDB['deepAssign'](dc,...dd);};BDFDB['sortArrayByKey']=function(dg,dh,di){if(di===undefined)di=null;return dg['sort'](function(dj,dk){var dl=dj[dh],dm=dk[dh];if(dl!==di)return dldm?0x1:0x0;});};BDFDB['numSortArray']=function(dn,dp,dq){return dn['sort'](function(dr,ds){return drds?0x1:0x0;});};BDFDB['removeFromArray']=function(dt,du,dv=![]){if(!dt||!du||!Array['isArray'](dt)||!dt['includes'](du))return dt;if(!dv)dt['splice'](dt['indexOf'](du),0x1);else while(dt['indexOf'](du)>-0x1)dt['splice'](dt['indexOf'](du),0x1);return dt;};BDFDB['getAllIndexes']=function(dw,dx){var dy=[],dz=-0x1;while((dz=dw['indexOf'](dx,dz+0x1))!==-0x1)dy['push'](dz);return dy;};BDFDB['removeCopiesFromArray']=function(dA){return[...new Set(dA)];};BDFDB['highlightText']=function(dB,dC){if(!dC||dC['length']<0x1)return dB;var dD=0x0,dE=dB,dF='',dG='';BDFDB['getAllIndexes'](dB['toUpperCase'](),dC['toUpperCase']())['forEach'](dH=>{var dI=dD*(dF['length']+dG['length']);dH=dH+dI;var dJ=dH+dC['length'];var dK=[-0x1]['concat'](BDFDB['getAllIndexes'](dB['substring'](0x0,dH),'<'));var dL=[-0x1]['concat'](BDFDB['getAllIndexes'](dB['substring'](0x0,dH),'>'));if(dK[dK['length']-0x1]>dL[dL['length']-0x1])return;dB=dB['substring'](0x0,dH)+dF+dB['substring'](dH,dJ)+dG+dB['substring'](dJ);dD++;});return dB?dB:dE;};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 dM=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dM);var dN=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dN['name']+')';BDFDB['languages']['$discord']['id']=dN['id'];BDFDB['languages']['$discord']['ownlang']=dN['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var dO=null;try{dO=require(fw['electron']['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dP){try{dO=require(fw['electron']['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dQ){var dR=BDFDB['getDiscordVersion']();if(dR){dR=dR['split']('.');if(dR['length']==0x3&&!isNaN(dR=parseInt(dR[0x2])))dO=dR>0x12c?'stable':da>0xc8?'canary':'ptb';else dO='stable';}else dO='stable';}}BDFDB['getDiscordBuilt']['built']=dO;return dO;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dS=null;try{dS=fw['electron']['remote']['app']['getVersion']();}catch(dT){dT='';}BDFDB['getDiscordBuilt']['version']=dS;return dS;}};BDFDB['getDiscordLanguage']=function(){var dU=document['querySelector']('html')['lang']||'en-US';var dV=dU['split']('-');var dW=dV[0x0];var dX=dV[0x1]||'';dU=dX&&dW['toUpperCase']()!==dX['toUpperCase']()?dW+'-'+dX:dW;return BDFDB['languages'][dU]||BDFDB['languages'][dW]||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 dY=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount']));var dZ=Math['round'](0x64*window['outerWidth']/dY['width']);var e0=Math['round'](0x64*window['outerHeight']/dY['height']);return dZe2['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(e3,e4){if(!e3||!e4)return null;let e5=Node['prototype']['isPrototypeOf'](e3)?BDFDB['getReactInstance'](e3):e3;if(!BDFDB['isObject'](e5))return null;let e6=e5,e7=e4['split']('.')['filter'](e8=>e8);for(let e9=0x0;e9eg);for(let eh=0x0;ehel||performance['now']()-en>eo)return null;else{var ew=Object['getOwnPropertyNames'](ej);var ex=null;for(let ey=0x0;ex==null&&eyej['type']['displayName']===eC['split']('\x20_\x20_\x20')[0x0]||ej['type']['name']===eC['split']('\x20_\x20_\x20')[0x0])||ei['props']&&ei['props']['every'](eD=>eB[eD]!==undefined)||ei['defaultProps']&&ei['defaultProps']['every'](eE=>eB[eE]!==undefined))){if(ei['all']===undefined||!ei['all'])ex=eB;else if(ei['all']){if(ei['noCopies']===undefined||!ei['noCopies']||ei['noCopies']&&!eB['BDFDBreactSearch']){eB['BDFDBreactSearch']=!![];if(ei['group']){if(ei['name']&&ej['type']&&(ej['type']['displayName']||ej['type']['name'])){var eF='Default';for(let eG of ei['name'])if(ej['type']['displayName']===eG['split']('\x20_\x20_\x20')[0x0]||ej['type']['name']===eG['split']('\x20_\x20_\x20')[0x0]){eF=eG;break;}if(typeof eq[eF]=='undefined')eq[eF]={};BDFDB['pushToObject'](eq[eF],eB);}}else BDFDB['pushToObject'](eq,eB);}}}if(ex==null&&(typeof eA==='object'||typeof eA==='function')&&ep[ez])ex=eu(eA);}}ek--;return ex;}};BDFDB['getKeyInformation']=function(eH){if(eH===undefined)return null;if(!eH['node']&&!eH['instance']||!eH['key'])return null;var eI=eH['instance']||BDFDB['getReactInstance'](eH['node']);if(!eI)return null;var eJ=-0x1;var eK=eH['depth']===undefined?0xf:eH['depth'];var eL=performance['now']();var eM=eH['time']===undefined?0x96:eH['time'];var eN={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':eH['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':eH['up']?![]:!![],'return':eH['up']?!![]:![],'sibling':eH['up']?![]:!![],'firstEffect':!![]};var eO={'contextSection':!![]};if(typeof eH['whitelist']==='object')Object['assign'](eN,eH['whiteList']);if(typeof eH['blacklist']==='object')Object['assign'](eO,eH['blacklist']);var eP=[];var eQ=eR(eI);if(eH['all'])return eP;else return eQ;function eR(eI){eJ++;if(!eI||Node['prototype']['isPrototypeOf'](eI)||BDFDB['getReactInstance'](eI)||eJ>eK||performance['now']()-eL>eM)eU=null;else{var eT=Object['getOwnPropertyNames'](eI);var eU=null;for(let eV=0x0;eU==null&&eVf4['default']=f2},[c])['default']:window['webpackJsonp']['push']([[],{[c]:(f6,f7,f2)=>f6['exports']=f2},[[c]]]);delete f2['m'][c];delete f2['c'][c];f0['req']=f2;}return f0['req'];};BDFDB['WebModules']={};BDFDB['WebModules']['find']=function(f9){var fa=f0();for(let fb in fa['c'])if(fa['c']['hasOwnProperty'](fb)){var fc=fa['c'][fb]['exports'];if(fc&&(typeof fc=='object'||typeof fc=='function')&&f9(fc))return fc;if(fc&&fc['__esModule'])for(let fd in fc)if(fc[fd]&&(typeof fc[fd]=='object'||typeof fc[fd]=='function')&&f9(fc[fd]))return fc[fd];}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'string':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(fe){fe=Array['isArray'](fe)?fe:Array['from'](arguments);var ff=JSON['stringify'](fe);if(BDFDB['WebModules']['cachedData']['prop'][ff])return BDFDB['WebModules']['cachedData']['prop'][ff];else{var fg=BDFDB['WebModules']['find'](fg=>fe['every'](fi=>fg[fi]!==undefined));if(fg){BDFDB['WebModules']['cachedData']['prop'][ff]=fg;return fg;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ff+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(fj){var fk=JSON['stringify'](fj);if(BDFDB['WebModules']['cachedData']['name'][fk])return BDFDB['WebModules']['cachedData']['name'][fk];else{var fl=BDFDB['WebModules']['find'](fl=>fl['displayName']===fj);if(fl){BDFDB['WebModules']['cachedData']['name'][fk]=fl;return fl;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fk+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByString']=function(fn){var fo=JSON['stringify'](fn);if(BDFDB['WebModules']['cachedData']['string'][fo])return BDFDB['WebModules']['cachedData']['string'][fo];else{var fp=BDFDB['WebModules']['find'](fp=>typeof fp=='function'&&fp['toString']()['indexOf'](fn)>-0x1);if(fp){BDFDB['WebModules']['cachedData']['string'][fo]=fp;return fp;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fo+'\x20[string]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(fr){fr=Array['isArray'](fr)?fr:Array['from'](arguments);var fs=JSON['stringify'](fr);if(BDFDB['WebModules']['cachedData']['proto'][fs])return BDFDB['WebModules']['cachedData']['proto'][fs];else{var ft=BDFDB['WebModules']['find'](ft=>ft['prototype']&&fr['every'](fv=>ft['prototype'][fv]!==undefined));if(ft){BDFDB['WebModules']['cachedData']['proto'][fs]=ft;return ft;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',fs+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['DiscordConstants']=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes');var fw={};for(let fx of['child_process','electron','fs','path','process','request']){try{fw[fx]=require(fx);}catch(fy){}}BDFDB['LibraryRequires']=Object['assign']({},fw);var fz={};fz['AckUtils']=BDFDB['WebModules']['findByProperties']('localAck','bulkAck');fz['APIUtils']=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');fz['AnimationUtils']=BDFDB['WebModules']['findByProperties']('spring','decay');fz['BadgeUtils']=BDFDB['WebModules']['findByProperties']('getBadgeCountString','getBadgeWidthForValue');fz['ChannelStore']=BDFDB['WebModules']['findByProperties']('getChannel','getChannels');fz['ContextMenuUtils']=BDFDB['WebModules']['findByProperties']('closeContextMenu','openContextMenu');fz['CurrentUserStore']=BDFDB['WebModules']['findByProperties']('getCurrentUser');fz['DirectMessageUtils']=BDFDB['WebModules']['findByProperties']('addRecipient','openPrivateChannel');fz['FriendUtils']=BDFDB['WebModules']['findByProperties']('getFriendIDs','getRelationships');fz['FolderStore']=BDFDB['WebModules']['findByProperties']('getGuildFolderById','getFlattenedGuilds');fz['FolderUtils']=BDFDB['WebModules']['findByProperties']('isFolderExpanded','getExpandedFolders');fz['GuildBoostUtils']=BDFDB['WebModules']['findByProperties']('getTierName','getUserLevel');fz['GuildChannelStore']=BDFDB['WebModules']['findByProperties']('getChannels','getDefaultChannel');fz['GuildEmojiStore']=BDFDB['WebModules']['findByProperties']('getGuildEmoji','getDisambiguatedEmojiContext');fz['GuildSettingsUtils']=BDFDB['WebModules']['findByProperties']('updateChannelOverrideSettings','updateNotificationSettings');fz['GuildStore']=BDFDB['WebModules']['findByProperties']('getGuild','getGuilds');fz['GuildUtils']=BDFDB['WebModules']['findByProperties']('transitionToGuildSync');fz['HistoryUtils']=BDFDB['WebModules']['findByProperties']('transitionTo','replaceWith','getHistory');;fz['IconUtils']=BDFDB['WebModules']['findByProperties']('getGuildIconURL','getGuildBannerURL');fz['InviteUtils']=BDFDB['WebModules']['findByProperties']('acceptInvite','createInvite');fz['LanguageStore']=BDFDB['WebModules']['findByProperties']('getLanguages','Messages');fz['LastChannelStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId');fz['LastGuildStore']=BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId');fz['LoginUtils']=BDFDB['WebModules']['findByProperties']('login','logout');fz['MemberStore']=BDFDB['WebModules']['findByProperties']('getMember','getMembers');fz['MentionUtils']=BDFDB['WebModules']['findByProperties']('getMentionCount','getMentionCounts');fz['MessageStore']=BDFDB['WebModules']['findByProperties']('getMessage','getMessages');fz['MessageCreationUtils']=BDFDB['WebModules']['findByProperties']('parse','isMentioned');fz['MessagePinUtils']=BDFDB['WebModules']['findByProperties']('pinMessage','unpinMessage');fz['MessageUtils']=BDFDB['WebModules']['findByProperties']('receiveMessage','editMessage');fz['MutedUtils']=BDFDB['WebModules']['findByProperties']('isGuildOrCategoryOrChannelMuted');fz['NotificationSettingsUtils']=BDFDB['WebModules']['findByProperties']('setDesktopType','setTTSType');fz['NotificationSettingsStore']=BDFDB['WebModules']['findByProperties']('getDesktopType','getTTSType');fz['PermissionUtils']=BDFDB['WebModules']['findByProperties']('getChannelPermissions','canUser');fz['PermissionRoleUtils']=BDFDB['WebModules']['findByProperties']('getHighestRole','can');fz['ReactionUtils']=BDFDB['WebModules']['findByProperties']('addReaction','removeReaction');fz['SearchPageUtils']=BDFDB['WebModules']['findByProperties']('searchNextPage','searchPreviousPage');fz['SelectChannelUtils']=BDFDB['WebModules']['findByProperties']('selectChannel','selectPrivateChannel');fz['SettingsUtils']=BDFDB['WebModules']['findByProperties']('updateRemoteSettings','updateLocalSettings');fz['SoundUtils']=BDFDB['WebModules']['findByProperties']('playSound','createSound');fz['SpellCheckUtils']=BDFDB['WebModules']['findByProperties']('learnWord','toggleSpellcheck');fz['StatusMetaUtils']=BDFDB['WebModules']['findByProperties']('getApplicationActivity','getStatus');fz['StreamingUtils']=BDFDB['WebModules']['findByProperties']('isStreaming');fz['UnreadGuildUtils']=BDFDB['WebModules']['findByProperties']('hasUnread','getUnreadGuilds');fz['UnreadChannelUtils']=BDFDB['WebModules']['findByProperties']('getUnreadCount','getOldestUnreadMessageId');fz['UploadUtils']=BDFDB['WebModules']['findByProperties']('upload','instantBatchUpload');fz['UserStore']=BDFDB['WebModules']['findByProperties']('getUser','getUsers');fz['VoiceUtils']=BDFDB['WebModules']['findByProperties']('getAllVoiceStates','getVoiceStatesForChannel');fz['ZoomUtils']=BDFDB['WebModules']['findByProperties']('setZoom','setFontSize');BDFDB['LibraryModules']=Object['assign']({},fz);fz['React']=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');fz['ReactDOM']=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fz['React']&&fz['ReactDOM']){BDFDB['React']=Object['assign']({},fz['React'],fz['ReactDOM']);BDFDB['React']['findDOMNodeSafe']=function(fA){if(Node['prototype']['isPrototypeOf'](fA))return fA;if(!fA||!fA['updater']||typeof fA['updater']['isMounted']!=='function'||!fA['updater']['isMounted'](fA))return null;var fB=fz['ReactDOM']['findDOMNode'](fA)||BDFDB['getReactValue'](fA,'child.stateNode');return Node['prototype']['isPrototypeOf'](fB)?fB:null;};};var fC=fz['CurrentUserStore']&&typeof fz['CurrentUserStore']['getCurrentUser']=='function'?fz['CurrentUserStore']['getCurrentUser']():null;BDFDB['myData']=new Proxy(fC||{},{'get':function(fD,fE){if(!fC)fC=fz['CurrentUserStore']['getCurrentUser']();return fC?fC[fE]:null;}});var fF=['before','instead','after'];var fG={'Account':'FluxContainer(Account)','BannedCard':'BannedUser','InvitationCard':'InviteRow','InviteCard':'InviteRow','PopoutContainer':'Popout','MemberCard':'Member','MessageDeveloperModeGroup':'FluxContainer(MessageDeveloperModeGroup)','Note':'FluxContainer(Note)','WebhookCard':'Webhook'};var fH={'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(fI,fJ,fK,fL){if(!fI||!fJ||!fK||!Object['keys'](fL)['some'](fM=>fF['includes'](fM)))return null;const fN=(typeof fK==='string'?fK:fK['name'])['toLowerCase']();const fO=(fP,fQ)=>(...fR)=>{try{return fP(...fR);}catch(fS){console['error']('Error\x20occurred\x20in\x20'+fQ,fS);}};if(!fI['BDFDBpatch'])fI['BDFDBpatch']={};fJ=Array['isArray'](fJ)?fJ:Array['of'](fJ);for(let fT of fJ){if(!fI[fT])fI[fT]=()=>{};const fU=fI[fT];if(!fI['BDFDBpatch'][fT]){fI['BDFDBpatch'][fT]={};for(let fV of fF)fI['BDFDBpatch'][fT][fV]={};fI['BDFDBpatch'][fT]['originalMethod']=fU;fI[fT]=function(){const fW={'thisObject':this,'methodArguments':arguments,'originalMethod':fU,'originalMethodName':fT,'callOriginalMethod':()=>fW['returnValue']=fW['originalMethod']['apply'](fW['thisObject'],fW['methodArguments'])};if(window['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']&&fI['BDFDBpatch'][fT]){if(!BDFDB['isObjectEmpty'](fI['BDFDBpatch'][fT]['before']))for(let c in BDFDB['sortObject'](fI['BDFDBpatch'][fT]['before'])){fO(fI['BDFDBpatch'][fT]['before'][c],'`before`\x20callback\x20of\x20'+fI[fT]['displayName'])(fW);}if(BDFDB['isObjectEmpty'](fI['BDFDBpatch'][fT]['instead']))fW['callOriginalMethod']();else for(let c in BDFDB['sortObject'](fI['BDFDBpatch'][fT]['instead'])){const fZ=fO(fI['BDFDBpatch'][fT]['instead'][c],'`instead`\x20callback\x20of\x20'+fI[fT]['displayName'])(fW);if(fZ!==undefined)fW['returnValue']=fZ;}if(!BDFDB['isObjectEmpty'](fI['BDFDBpatch'][fT]['after']))for(let c in BDFDB['sortObject'](fI['BDFDBpatch'][fT]['after'])){const fZ=fO(fI['BDFDBpatch'][fT]['after'][c],'`after`\x20callback\x20of\x20'+fI[fT]['displayName'])(fW);if(fZ!==undefined)fW['returnValue']=fZ;}}else fW['callOriginalMethod']();return fW['returnValue'];};}for(let g2 of fF)if(typeof fL[g2]=='function')fI['BDFDBpatch'][fT][g2][fN]=fL[g2];}const g3=()=>{BDFDB['WebModules']['unpatch'](fI,fJ,fK);};if(fK&&typeof fK=='object'){if(!Array['isArray'](fK['patchCancels']))fK['patchCancels']=[];fK['patchCancels']['push'](g3);}return g3;};BDFDB['WebModules']['unpatch']=function(g4,g5,g6){if(!g4||!g4['BDFDBpatch'])return;const g7=!g6?null:(typeof g6==='string'?g6:g6['name'])['toLowerCase']();g5=Array['isArray'](g5)?g5:Array['of'](g5);for(let g8 of g5){if(g4[g8]&&g4['BDFDBpatch'][g8]){for(let g9 of fF){if(g7)delete g4['BDFDBpatch'][g8][g9][g7];else delete g4['BDFDBpatch'][g8][g9];}var ga=!![];for(let g9 of fF)if(!BDFDB['isObjectEmpty'](g4['BDFDBpatch'][g8][g9]))ga=![];if(ga){g4[g8]=g4['BDFDBpatch'][g8]['originalMethod'];delete g4['BDFDBpatch'][g8];if(BDFDB['isObjectEmpty'](g4['BDFDBpatch']))delete g4['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(gc){if(BDFDB['isObject'](gc)&&Array['isArray'](gc['patchCancels']))for(let gd of gc['patchCancels'])gd();};BDFDB['WebModules']['forceAllUpdates']=function(ge,gf){gf=gf&&fG[gf]?fG[gf]+'\x20_\x20_\x20'+gf:gf;if(BDFDB['isObject'](ge)&&BDFDB['isObject'](ge['patchModules'])&&(!gf||ge['patchModules'][gf])){const gg=document['querySelector'](BDFDB['dotCN']['app']);const gh=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(gg){var gi=[];for(let gj in ge['patchModules']){var gk=Array['isArray'](ge['patchModules'][gj])?ge['patchModules'][gj]:Array['of'](ge['patchModules'][gj]);if(gk['includes']('componentDidUpdate')||gk['includes']('componentDidMount')||gk['includes']('render'))gi['push'](gj);}gi=gf?gi['filter'](gl=>gl==gf):gi;if(gi['length']>0x0){try{const gm=BDFDB['getOwnerInstance']({'node':gg,'name':gi,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gj in gm)for(let go in gm[gj])BDFDB['WebModules']['initiateProcess'](ge,gm[gj][go],null,gj,['componentDidMount','componentDidUpdate','render']);if(gh){const gp=BDFDB['getOwnerInstance']({'node':gh,'name':gi,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let gj in gp)for(let go in gp[gj])BDFDB['WebModules']['initiateProcess'](ge,gp[gj][go],null,gj,['componentDidMount','componentDidUpdate','render']);}}catch(gs){console['error']('%c['+ge['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Fatal\x20Error:\x20Could\x20not\x20force\x20update\x20components!\x20'+gs);}}}}};BDFDB['WebModules']['patchModules']=function(gt){if(BDFDB['isObject'](gt)&&BDFDB['isObject'](gt['patchModules'])){for(let gu in gt['patchModules']){var gv=fG[gu];var gw=fH[gu['split']('\x20_\x20_\x20')[0x1]||gu];var gx=gv?gv+'\x20_\x20_\x20'+gu:gu;if(gv){gt['patchModules'][gx]=gt['patchModules'][gu];delete gt['patchModules'][gu];}if(!gw)gy(BDFDB['WebModules']['findByName'](gx['split']('\x20_\x20_\x20')[0x0]),gx);else if(uf[gw])gD(gw,gx);}function gy(gz,gu){if(gz){var gB=gu['split']('\x20_\x20_\x20')[0x0];gz=gz['_reactInternalFiber']&&gz['_reactInternalFiber']['type']?gz['_reactInternalFiber']['type']:gz;gz=gz['displayName']==gB?gz:BDFDB['getOwnerInstance']({'instance':gz,'name':gB,'up':!![]});if(gz){gz=gz['_reactInternalFiber']&&gz['_reactInternalFiber']['type']?gz['_reactInternalFiber']['type']:gz;BDFDB['WebModules']['patch'](gz['prototype'],gt['patchModules'][gu],gt,{'after':gC=>{if(window['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](gt,gC['thisObject'],gC['returnValue'],gu,[gC['originalMethodName']]);}});}}}function gD(gw,gu){const gG=document['querySelector'](BDFDB['dotCN']['app']),gH=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);var gI=![];if(gG){var gJ=BDFDB['getOwnerInstance']({'node':gG,'name':gu,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gJ){gI=!![];gy(gJ,gu);}}if(!gI&&gH){var gK=BDFDB['getOwnerInstance']({'node':gH,'name':gu,'depth':0x5f5e0ff,'time':0x5f5e0ff});if(gK){gI=!![];gy(gK,gu);}}if(!gI){var gL=![],gM=new MutationObserver(gN=>{gN['forEach'](gO=>{gO['addedNodes']['forEach'](gP=>{if(gL||!gP||!gP['tagName'])return;var gQ=null;if((gQ=BDFDB['containsClass'](gP,BDFDB['disCN'][gw])?gP:gP['querySelector'](BDFDB['dotCN'][gw]))!=null){var gR=BDFDB['getReactInstance'](gQ);if(gS(gR,gu)){gL=!![];gM['disconnect']();gy(gR,gu);BDFDB['WebModules']['forceAllUpdates'](gt,gu);}}});});});BDFDB['addObserver'](gt,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':gM,'multi':!![]},{'childList':!![],'subtree':!![]});}}function gS(gT,gu){if(!gT)return![];gT=gT['_reactInternalFiber']&&gT['_reactInternalFiber']['type']?gT['_reactInternalFiber']['type']:gT;gT=gT['displayName']==gu?gT:BDFDB['getOwnerInstance']({'instance':gT,'name':gu,'up':!![]});return gT&&(gu!='V2C_PluginCard'&&gu!='V2C_ThemeCard'||gu=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||gu=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(gV,gW,gX,gY,gZ){if(BDFDB['isObject'](gV)&&gW){gY=(gY['split']('\x20_\x20_\x20')[0x1]||gY)['replace'](/[^A-z0-9]|_/g,'');gY=gY[0x0]['toUpperCase']()+gY['slice'](0x1);if(typeof gV['process'+gY]=='function'){var h0=BDFDB['React']['findDOMNodeSafe'](gW);if(h0)gV['process'+gY](gW,h0,gX,gZ);else setImmediate(()=>{h0=BDFDB['React']['findDOMNodeSafe'](gW);if(h0)gV['process'+gY](gW,h0,gX,gZ);});}}};BDFDB['addOnSwitchListener']=function(h1){if(typeof h1['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](h1);var h2=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20~\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(h2){var h3=new MutationObserver(h4=>{h4['forEach'](h5=>{if(h5['target']&&BDFDB['containsClass'](h5['target'],BDFDB['disCN']['nochannel']))h1['onSwitch']();});});var h6=h2['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(h6)h3['observe'](h6,{'attributes':!![]});h1['onSwitchFix']=new MutationObserver(h7=>{h7['forEach'](h8=>{if(h8['addedNodes']){h8['addedNodes']['forEach'](h9=>{if(BDFDB['containsClass'](h9,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))h3['observe'](h9,{'attributes':!![]});});}});});h1['onSwitchFix']['observe'](h2,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(ha){if(typeof ha['onSwitch']==='function'&&BDFDB['isObject'](ha['onSwitchFix'])){ha['onSwitchFix']['disconnect']();delete ha['onSwitchFix'];}};var hb=['ChannelContextMenu','DeveloperContextMenu','GuildContextMenu','GuildRoleContextMenu','LfgContextMenu','MessageContextMenu','NativeContextMenu','ScreenshareContextMenu','UserContextMenu','UserSettingsCogContextMenu'];var hc=['MessageOptionPopout'];var hd=['ApplicationContextMenu','GroupDMContextMenu'];var he={};for(let hf of hd)he[hf]={'query':[],'module':null};BDFDB['addContextListener']=function(hg){if(!BDFDB['isObject'](hg))return;for(let hh of hb)if(typeof hg['on'+hh]==='function')hk(hg,hh,BDFDB['WebModules']['findByName'](hh));for(let hi of hc)if(typeof hg['on'+hi]==='function')hs(hg,hi,BDFDB['WebModules']['findByName'](hi));for(let hj of hd)if(typeof hg['on'+hj]==='function'){if(he[hj]['module'])hk(hg,hj,he[hj]['module']);else he[hj]['query']['push'](hg);}};var hk=function(hl,hm,hn){if(hn&&hn['prototype'])BDFDB['WebModules']['patch'](hn['prototype'],'render',hl,{'after':ho=>{let hp=ho['thisObject'],hq=BDFDB['React']['findDOMNodeSafe'](ho['thisObject']),hr=ho['returnValue'];if(hp&&hq&&hr&&typeof hl['on'+hm]==='function'){hl['on'+hm](hp,hq,hr);}}});};var hs=function(ht,hu,hv){if(hv&&hv['prototype'])BDFDB['WebModules']['patch'](hv['prototype'],'render',ht,{'after':hw=>{let hx=hw['thisObject'],hy=BDFDB['React']['findDOMNodeSafe'](hw['thisObject']),hz=hw['returnValue'];if(hx&&hy&&hz&&typeof ht['on'+hu]==='function'){ht['on'+hu](hx,hy,hz);if(!hx['BDFDBforceUpdateTimeout']&&typeof hx['forceUpdate']=='function')hx['forceUpdate']();}}});};var hA=function(hB,hC){if(hB&&hB['prototype']){BDFDB['WebModules']['patch'](hB['prototype'],'componentDidMount',BDFDB,{'after':hD=>{if(!hD['thisObject']['BDFDBforceRenderTimeout']&&typeof hD['thisObject']['render']=='function')hD['thisObject']['render']();}});BDFDB['WebModules']['patch'](hB['prototype'],'componentDidUpdate',BDFDB,{'after':hE=>{var hF=BDFDB['React']['findDOMNodeSafe'](hE['thisObject']);if(hF){const hG=BDFDB['getReactValue'](hE,'thisObject._reactInternalFiber.stateNode.props.onHeightUpdate');const hH=BDFDB['getRects'](hF),hI=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount']));if(hG&&hH['top']+hH['height']>hI['height'])hG();}}});BDFDB['WebModules']['patch'](hB['prototype'],'render',BDFDB,{'after':hJ=>{if(hJ['thisObject']['props']['BDFDBcontextMenu']&&hJ['thisObject']['props']['children']&&hJ['returnValue']&&hJ['returnValue']['props']){hJ['returnValue']['props']['children']=hJ['thisObject']['props']['children'];delete hJ['thisObject']['props']['value'];delete hJ['thisObject']['props']['children'];delete hJ['thisObject']['props']['BDFDBcontextMenu'];}if(BDFDB['React']['findDOMNodeSafe'](hJ['thisObject'])){hJ['thisObject']['BDFDBforceRenderTimeout']=!![];setTimeout(()=>{delete hJ['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hC){let hK=BDFDB['getReactValue'](hJ,'thisObject._reactInternalFiber.child.type');if(hK&&hK['displayName']&&he[hK['displayName']]&&!he[hK['displayName']]['module']){he[hK['displayName']]['module']=hK;hA(hK,![]);while(he[hK['displayName']]['query']['length']){hk(he[hK['displayName']]['query']['pop'](),hK['displayName'],hK);}}}}});}};var hL=function(hM,hN){if(hM&&hM['prototype']){BDFDB['WebModules']['patch'](hM['prototype'],'componentDidMount',BDFDB,{'after':hO=>{if(!hO['thisObject']['BDFDBforceRenderTimeout']&&!hO['thisObject']['BDFDBforceUpdateTimeout']&&typeof hO['thisObject']['render']=='function')hO['thisObject']['render']();}});BDFDB['WebModules']['patch'](hM['prototype'],'componentDidUpdate',BDFDB,{'after':hP=>{const hQ=BDFDB['getReactValue'](hP,'thisObject._reactInternalFiber.return.return.return.stateNode.updateOffsets');if(hQ)hQ();hP['thisObject']['BDFDBforceUpdateTimeout']=!![];setTimeout(()=>{delete hP['thisObject']['BDFDBforceUpdateTimeout'];},0x3e8);}});BDFDB['WebModules']['patch'](hM['prototype'],'render',BDFDB,{'after':hR=>{if(BDFDB['React']['findDOMNodeSafe'](hR['thisObject'])){hR['thisObject']['BDFDBforceRenderTimeout']=!![];setTimeout(()=>{delete hR['thisObject']['BDFDBforceRenderTimeout'];},0x3e8);}if(hR['thisObject']['props']['message']&&!hR['thisObject']['props']['target']){const hS=document['querySelector'](BDFDB['dotCN']['messages']);if(hS){var hT=BDFDB['getOwnerInstance']({'node':hS,'name':'Message','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hU in hT)if(hR['thisObject']['props']['message']['id']==hT[hU]['props']['message']['id']){target=BDFDB['React']['findDOMNodeSafe'](hT[hU]);if(target)hR['thisObject']['props']['target']=target;break;}}}}});}};for(let hV of hb)hA(BDFDB['WebModules']['findByName'](hV),![]);for(let hW of hc)hL(BDFDB['WebModules']['findByName'](hW),![]);for(let hX of hd)hA(BDFDB['WebModules']['findByName']('FluxContainer('+hX+')'),!![]);BDFDB['addSettingsButtonListener']=function(hY){if(BDFDB['isBDv2']()&&typeof hY['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](hY);BDFDB['appendSettingsButton'](hY);var hZ=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(hZ){hY['settingsButtonObserver']=new MutationObserver(i0=>{i0['forEach'](i1=>{if(i1['addedNodes']){i1['addedNodes']['forEach'](i2=>{if(i2['tagName']&&BDFDB['containsClass'](i2,'active'))BDFDB['appendSettingsButton'](hY);});}});});hY['settingsButtonObserver']['observe'](hZ,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(i3){var i4=document['querySelector'](BDFDB['dotCN']['_bdv2card']+'[data-plugin-id='+i3['id']+']');if(i4){var i5=BDFDB['htmlToElement']('');i4['insertBefore'](i5,i4['querySelector'](BDFDB['d']['_bdv2button']));i5['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',i5,{'type':'top'});BDFDB['addClass'](i5,BDFDB['disCN']['_bdv2tooltipopen']);});i5['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](i5,BDFDB['disCN']['_bdv2tooltipopen']);});i5['addEventListener']('click',()=>{var i6=BDFDB['htmlToElement'](''+i3['name']+'\x20Settings
');var i7=i3['getSettingsPanel']();i6['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof i7=='string'?BDFDB['htmlToElement'](i7):i7);if(typeof i3['onSettingsClosed']==='function')BDFDB['addChildEventListener'](i6,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{i3['onSettingsClosed']();});BDFDB['appendModal'](i6);});}};BDFDB['removeSettingsButtonListener']=function(i8){if(BDFDB['isBDv2']()&&typeof i8['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+i8['id']+']\x20.BDFDB-settingsbutton');i8['settingsButtonObserver']['disconnect']();delete i8['settingsButtonObserver'];}};var i9={},ia=fz['LanguageStore']&&fz['LanguageStore']['_proxyContext']?Object['assign']({},fz['LanguageStore']['_proxyContext']['defaultMessages']):{};BDFDB['LanguageStrings']=new Proxy(ia,{'get':function(ib,ic){var id=fz['LanguageStore']['Messages'][ic];if(!id)console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ic+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var ie=typeof id=='object'?id['format'](Object['assign']({},i9)):id;if(typeof ie=='string')return ie;else if(Array['isArray'](ie)){var ig='';for(let ih of ie){if(typeof ih=='string')ig+=BDFDB['encodeToHTML'](ih);else if(BDFDB['isObject'](ih)&&ih['props'])ig+='<'+ih['type']+'>'+BDFDB['encodeToHTML'](ih['props']['children'][0x0]['toString']())+''+ih['type']+'>';}return ig;}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ic+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}return'';}});BDFDB['LanguageStringsCheck']=new Proxy(ia,{'get':function(ii,ij){return fz['LanguageStore']['Messages'][ij];}});BDFDB['LanguageStringsFormat']=function(ik,il){if(ik&&il){var im=fz['LanguageStore']['Messages'][ik];if(im&&typeof im=='object'&&typeof im['format']=='function'){try{var io={};for(let ip in i9)io[ip]=il;var iq=im['format'](io);if(typeof iq=='string')return iq;else if(Array['isArray'](iq)){var ir='';for(let is of iq){if(typeof is=='string')ir+=BDFDB['encodeToHTML'](is);else if(BDFDB['isObject'](is)&&is['props'])ir+='<'+is['type']+'>'+BDFDB['encodeToHTML'](is['props']['children'][0x0]['toString']())+''+is['type']+'>';}return ir;}}catch(it){console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ik+'\x20failed\x20to\x20format\x20string\x20in\x20BDFDB.LanguageStrings');}}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ik+'\x20is\x20not\x20a\x20formatable\x20string\x20in\x20BDFDB.LanguageStrings');}else console['warn']('%c[BDFDB]%c','color:#3a71c1;\x20font-weight:700;','',ik+'\x20enter\x20a\x20valid\x20key\x20and\x20value\x20to\x20format\x20the\x20string');return'';};if(fz['LanguageStore'])for(let iu in ia){try{BDFDB['LanguageStrings'][iu];}catch(iv){let iw=iv['toString']()['split']('for:\x20')[0x1];if(iw&&typeof iw=='string'&&!i9[iw])i9[iw]='{{'+iw['toLowerCase']()+'}}';}};BDFDB['equals']=function(ix,iy,iz){var iA=-0x1;if(iz===undefined||typeof iz!=='boolean')iz=![];return iB(ix,iy);function iB(iC,iD){iA++;var iE=!![];if(iA>0x3e8)iE=null;else{if(typeof iC!==typeof iD)iE=![];else if(typeof iC==='undefined')iE=!![];else if(typeof iC==='symbol')iE=!![];else if(typeof iC==='boolean')iE=iC==iD;else if(typeof iC==='string')iE=iC==iD;else if(typeof iC==='number'){if(isNaN(iC)||isNaN(iD))iE=isNaN(iC)==isNaN(iD);else iE=iC==iD;}else if(!iC&&!iD)iE=!![];else if(!iC||!iD)iE=![];else if(typeof iC==='function'||typeof iC==='object'){var iF=Object['getOwnPropertyNames'](iC);var iG=Object['getOwnPropertyNames'](iD);if(iF['length']!==iG['length'])iE=![];else for(let iH=0x0;iE===!![]&&iHiW['length']?iZ:iW['length'];};BDFDB['readServerList']=function(){var j0=[],j1=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':['Guild','GuildIcon'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let j2 in j1)if(j1[j2]['props']&&j1[j2]['props']['guild'])j0['push'](Object['assign'](new j1[j2]['props']['guild']['constructor'](j1[j2]['props']['guild']),{'div':j1[j2]['handleContextMenu']?BDFDB['React']['findDOMNodeSafe'](j1[j2]):BDFDB['createServerDivCopy'](j1[j2]['props']['guild']),'instance':j1[j2]}));return j0;};BDFDB['readUnreadServerList']=function(j3){var j4=[];for(let j5 of j3===undefined||!Array['isArray'](j3)?BDFDB['readServerList']():j3){if(!j5)return null;let c=Node['prototype']['isPrototypeOf'](j5)?BDFDB['getServerID'](j5):typeof j5=='object'?j5['id']:j5;c=typeof c=='number'?c['toFixed']():c;if(c&&(fz['UnreadGuildUtils']['hasUnread'](c)||fz['MentionUtils']['getMentionCount'](c)>0x0))j4['push'](j5);}return j4;};BDFDB['readMutedServerList']=function(j7){var j8=[];for(let j9 of j7===undefined||!Array['isArray'](j7)?BDFDB['readServerList']():j7){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;if(c&&fz['MutedUtils']['isGuildOrCategoryOrChannelMuted'](c))j8['push'](j9);}return j8;};BDFDB['getSelectedServer']=function(){var jb=fz['GuildStore']['getGuild'](fz['LastGuildStore']['getGuildId']());if(jb)return BDFDB['getServerData'](jb['id'])||Object['assign'](new jb['constructor'](jb),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(jc){if(!Node['prototype']['isPrototypeOf'](jc)||!BDFDB['getReactInstance'](jc))return;let jd=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],jc);if(!jd)return;var je=jd['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=je&&je['href']?je['href']['split']('/')['slice'](-0x2)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getServerDiv']=function(jg){if(!jg)return null;if(Node['prototype']['isPrototypeOf'](jg))return BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],jg);else{let c=typeof jg=='object'?jg['id']:jg;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(ji){if(!ji)return null;let c=Node['prototype']['isPrototypeOf'](ji)?BDFDB['getServerID'](ji):typeof ji=='object'?ji['id']:ji;c=typeof c=='number'?c['toFixed']():c;for(let jk of BDFDB['readServerList']())if(jk&&jk['id']==c)return jk;return null;};BDFDB['createServerDivCopy']=function(jl,jm={'pill':![],'hover':![],'click':![],'menu':![],'size':null}){let c=typeof jl=='object'?jl['id']:jl;let jo=c?fz['GuildStore']['getGuild'](c):null;if(jo){let jp=fz['LastGuildStore']['getGuildId']()==jo['id'];let jq=fz['UnreadGuildUtils']['hasUnread'](jo['id']);let jr=Math['round'](Math['random']()*0x2386f26fc10000);let js=BDFDB['htmlToElement']('');let jt=js['querySelector'](BDFDB['dotCN']['guildcontainer']);let ju=js['querySelector'](BDFDB['dotCN']['guildpillitem']);BDFDB['toggleEles'](ju['parentElement'],jm['pill']);if(jm['pill']){ju['style']['setProperty']('opacity',jp?0x1:jq?0.7:0x0);ju['style']['setProperty']('height',jp?'40px':'8px');ju['style']['setProperty']('transform','translate3d(0px,\x200px,\x200px)');BDFDB['toggleClass'](js,BDFDB['disCN']['_bdguildselected'],jp);BDFDB['toggleClass'](js,BDFDB['disCN']['_bdguildunread'],jq);BDFDB['toggleClass'](ju,BDFDB['disCN']['_bdguildunread'],jq);}if(jm['hover']){let jv=js['querySelector'](BDFDB['dotCN']['guildiconwrapper']);let jw=ju['style']['getPropertyValue']('opacity')!=0x0;let jx=new fz['AnimationUtils']['Value'](0x0);jx['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x32,0x1e]})['addListener'](jy=>{jt['style']['setProperty']('border-radius',jy['value']+'%');});let jz=new fz['AnimationUtils']['Value'](0x0);jz['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x8,0x14]})['addListener'](jA=>{ju['style']['setProperty']('height',jA['value']+'px');});let jB=new fz['AnimationUtils']['Value'](0x0);jB['interpolate']({'inputRange':[0x0,0x1],'outputRange':[0x0,0.7]})['addListener'](jC=>{ju['style']['setProperty']('opacity',''+jC['value']);});let jD=jE=>{fz['AnimationUtils']['parallel']([fz['AnimationUtils']['timing'](jx,{'toValue':jE,'duration':0xc8}),fz['AnimationUtils']['spring'](jz,{'toValue':jE,'friction':0x5})])['start']();};let jF=jG=>{fz['AnimationUtils']['parallel']([fz['AnimationUtils']['timing'](jB,{'toValue':jG,'duration':0xc8})])['start']();};jt['addEventListener']('mouseenter',()=>{jw=ju['style']['getPropertyValue']('opacity')!=0x0;if(fz['LastGuildStore']['getGuildId']()!=jo['id']){jD(0x1);if(!jw)jF(0x1);}});jt['addEventListener']('mouseleave',()=>{if(fz['LastGuildStore']['getGuildId']()!=jo['id']){jD(0x0);if(!jw)jF(0x0);}});}if(jm['click'])jt['addEventListener']('click',jH=>{BDFDB['stopEvent'](jH);fz['GuildUtils']['transitionToGuildSync'](jo['id']);if(typeof jm['click']=='function')jm['click']();});if(jm['menu'])jt['addEventListener']('contextmenu',jI=>{BDFDB['openGuildContextMenu'](jo['id'],jI);if(typeof jm['menu']=='function')jm['menu']();});if(jm['size']){js['style']['setProperty']('margin','0','important');js['style']['setProperty']('width',jm['size']+'px','important');js['style']['setProperty']('height',jm['size']+'px','important');}return js;}else return null;};BDFDB['openGuildContextMenu']=function(jJ,jK=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](jJ)?BDFDB['getServerID'](jJ):typeof jJ=='object'?jJ['id']:jJ;let jM=fz['GuildStore']['getGuild'](c);if(jM)fz['ContextMenuUtils']['openContextMenu'](jK,function(jK){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('GuildContextMenu'),Object['assign']({},jK,{'type':BDFDB['DiscordConstants']['ContextMenuTypes']['GUILD_ICON_BAR'],'guild':jM,'badge':fz['MentionUtils']['getMentionCount'](jM['id']),'link':BDFDB['DiscordConstants']['Routes']['CHANNEL'](jM['id'],fz['LastChannelStore']['getChannelId'](jM['id'])),'selected':jM['id']==fz['LastGuildStore']['getGuildId']()}));});};BDFDB['readFolderList']=function(){var jO=[],jP=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guildswrapper']),'name':'GuildFolder','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let jQ in jP)if(jP[jQ]['props']&&jP[jQ]['props']['folderId']){jO['push'](Object['assign']({},jP[jQ]['props'],{'div':BDFDB['React']['findDOMNodeSafe'](jP[jQ]),'instance':jP[jQ]}));}return jO;};BDFDB['getFolderID']=function(jR){if(!Node['prototype']['isPrototypeOf'](jR)||!BDFDB['getReactInstance'](jR))return;jR=BDFDB['getParentEle'](BDFDB['dotCN']['guildfolderwrapper'],jR);if(!jR)return;return BDFDB['getReactValue'](jR,'return.stateNode.props.folderId');};BDFDB['getFolderDiv']=function(jS){if(!jS)return null;let jT=BDFDB['getFolderData'](jS);return jT?jT['div']:null;};BDFDB['getFolderData']=function(jU){if(!jU)return null;let c=Node['prototype']['isPrototypeOf'](jU)?BDFDB['getChannelID'](jU):typeof jU=='object'?jU['id']:jU;c=typeof c=='number'?c['toFixed']():c;for(let jW of BDFDB['readFolderList']())if(jW&&jW['folderId']==c)return jW;return null;};BDFDB['readChannelList']=function(){var jX=[],jY=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let jZ in jY)if(jY[jZ]['props']&&!jY[jZ]['props']['ispin']&&jY[jZ]['props']['channel']&&jY[jZ]['_reactInternalFiber']['return']){var k0=BDFDB['React']['findDOMNodeSafe'](jY[jZ]);k0=k0&&BDFDB['containsClass'](k0['parentElement'],BDFDB['disCN']['categorycontainerdefault'],BDFDB['disCN']['channelcontainerdefault'],![])?k0['parentElement']:k0;jX['push'](Object['assign'](new jY[jZ]['props']['channel']['constructor'](jY[jZ]['props']['channel']),{'div':k0,'instance':jY[jZ]}));}return jX;};BDFDB['getSelectedChannel']=function(){var k1=fz['ChannelStore']['getChannel'](fz['LastChannelStore']['getChannelId']());if(k1)return BDFDB['getChannelData'](k1['id'])||Object['assign'](new k1['constructor'](k1),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(k2){if(!Node['prototype']['isPrototypeOf'](k2)||!BDFDB['getReactInstance'](k2))return;k2=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],k2);if(!k2)return;var k3=BDFDB['getKeyInformation']({'node':k2,'key':'channel'});return k3?k3['id']['toString']():null;};BDFDB['getChannelDiv']=function(k4){if(!k4)return null;let k5=BDFDB['getChannelData'](k4);return k5?k5['div']:null;};BDFDB['getChannelData']=function(k6){if(!k6)return null;let c=Node['prototype']['isPrototypeOf'](k6)?BDFDB['getChannelID'](k6):typeof k6=='object'?k6['id']:k6;c=typeof c=='number'?c['toFixed']():c;for(let k8 of BDFDB['readChannelList']())if(k8&&k8['id']==c)return k8;return null;};BDFDB['openChannelContextMenu']=function(k9,ka=BDFDB['mousePosition']){let c=Node['prototype']['isPrototypeOf'](k9)?BDFDB['getChannelID'](k9):typeof k9=='object'?k9['id']:k9;let kc=fz['ChannelStore']['getChannel'](c);if(kc){let kd=null;for(let ke in BDFDB['DiscordConstants']['ChannelTypes'])if(BDFDB['DiscordConstants']['ChannelTypes'][ke]==kc['type']){kd=BDFDB['DiscordConstants']['ContextMenuTypes'][(ke=='GUILD_CATEGORY'?'CHANNEL_':'CHANNEL_LIST_')+ke['replace']('GUILD_','')];break;}if(kd)fz['ContextMenuUtils']['openContextMenu'](ka,function(ka){return BDFDB['React']['createElement'](BDFDB['WebModules']['findByName']('ChannelContextMenu'),Object['assign']({},ka,{'type':kd,'channel':kc,'guild':fz['GuildStore']['getGuild'](kc['guild_id']),'selected':kc['id']==fz['LastChannelStore']['getChannelId']()}));});}};BDFDB['readDmList']=function(){var kg=[],kh=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let ki in kh)if(kh[ki]['props']&&kh[ki]['props']['channel']&&kh[ki]['_reactInternalFiber']['child'])kg['push'](Object['assign'](new kh[ki]['props']['channel']['constructor'](kh[ki]['props']['channel']),{'div':BDFDB['React']['findDOMNodeSafe'](kh[ki]),'instance':kh[ki]}));return kg;};BDFDB['getDmID']=function(kj){if(!Node['prototype']['isPrototypeOf'](kj)||!BDFDB['getReactInstance'](kj))return;let kk=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],kj);if(!kk)return;var kl=kk['querySelector'](BDFDB['dotCN']['guildiconwrapper']);var c=kl&&kl['href']?kl['href']['split']('/')['slice'](-0x1)[0x0]:null;return c&&!isNaN(parseInt(c))?c['toString']():null;};BDFDB['getDmDiv']=function(kn){if(!kn)return null;if(Node['prototype']['isPrototypeOf'](kn)){var ko=BDFDB['getParentEle'](BDFDB['dotCN']['guildouter'],kn);return ko?ko['parentElement']:ko;}else{let c=typeof kn=='object'?kn['id']:kn;if(c){var ko=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 ko&&BDFDB?ko['parentElement']:ko;}}return null;};BDFDB['getDmData']=function(kr){if(!kr)return null;let c=Node['prototype']['isPrototypeOf'](kr)?BDFDB['getDmID'](kr):typeof kr=='object'?kr['id']:kr;c=typeof c=='number'?c['toFixed']():c;for(let kt of BDFDB['readDmList']())if(kt&&kt['id']==c)return kt;return null;};BDFDB['markChannelAsRead']=function(ku){if(!ku)return;var kv=[];for(let kw of ku=Array['isArray'](ku)?ku:typeof ku=='string'||typeof ku=='number'?Array['of'](ku):Array['from'](ku)){let c=Node['prototype']['isPrototypeOf'](kw)?BDFDB['getChannelID'](kw)||BDFDB['getDmID'](kw):kw&&typeof kw=='object'?kw['id']:kw;if(c)kv['push'](c);}if(kv['length']>0x0)fz['AckUtils']['bulkAck'](kv);};BDFDB['markGuildAsRead']=function(ky){if(!ky)return;var kz=[];for(let kA of Array['isArray'](ky)?ky:typeof ky=='string'||typeof ky=='number'?Array['of'](ky):Array['from'](ky)){let c=Node['prototype']['isPrototypeOf'](kA)?BDFDB['getServerID'](kA):kA&&typeof kA=='object'?kA['id']:kA;let kC=c?fz['GuildChannelStore']['getChannels'](c):null;if(kC)for(let kD in kC)if(Array['isArray'](kC[kD]))for(let kE of kC[kD])kz['push'](kE['channel']['id']);}if(kz['length']>0x0)fz['AckUtils']['bulkAck'](kz);};BDFDB['saveAllData']=function(kF,kG,kH){var kI,kJ;if(!BDFDB['isBDv2']()){kJ=typeof kG==='string'?kG:kG['name'];kI=fw['path']['join'](BDFDB['getPluginsFolder'](),kJ+'.config.json');}else{kJ=typeof kG==='string'?kG['toLowerCase']():null;var kK=kJ?BDFDB['Plugins'][kJ]?BDFDB['Plugins'][kJ]['contentPath']:null:kG['contentPath'];if(!kK)return;kI=fw['path']['join'](kK,'settings.json');}var kL=fw['fs']['existsSync'](kI);var kM=!kL?{}:typeof BDFDB['cachedData'][kJ]!=='undefined'?BDFDB['cachedData'][kJ]:BDFDB['readConfig'](kI);kM[kH]=BDFDB['isObject'](kF)?BDFDB['sortObject'](kF):kF;if(BDFDB['isObjectEmpty'](kM[kH]))delete kM[kH];if(BDFDB['isObjectEmpty'](kM)){delete BDFDB['cachedData'][kJ];if(kL)fw['fs']['unlinkSync'](kI);}else{kM=BDFDB['sortObject'](kM);BDFDB['cachedData'][kJ]=BDFDB['deepAssign']({},kM);fw['fs']['writeFileSync'](kI,JSON['stringify'](kM,null,'\x09'));}};BDFDB['loadAllData']=function(kN,kO){var kP,kQ;if(!BDFDB['isBDv2']()){kQ=typeof kN==='string'?kN:kN['name'];kP=fw['path']['join'](BDFDB['getPluginsFolder'](),kQ+'.config.json');}else{kQ=typeof kN==='string'?kN['toLowerCase']():null;var kR=kQ?BDFDB['Plugins'][kQ]?BDFDB['Plugins'][kQ]['contentPath']:null:kN['contentPath'];if(!kR)return{};kP=fw['path']['join'](kR,'settings.json');}if(!fw['fs']['existsSync'](kP)){delete BDFDB['cachedData'][kQ];return{};}var kS=typeof BDFDB['cachedData'][kQ]!=='undefined'&&typeof BDFDB['cachedData'][kQ][kO]!=='undefined'?BDFDB['cachedData'][kQ]:BDFDB['readConfig'](kP);BDFDB['cachedData'][kQ]=BDFDB['deepAssign']({},kS);return BDFDB['deepAssign']({},kS&&typeof kS[kO]!=='undefined'?kS[kO]:{});};BDFDB['removeAllData']=function(kT,kU){var kV,kW;if(!BDFDB['isBDv2']()){kW=typeof kT==='string'?kT:kT['name'];kV=fw['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=fw['path']['join'](kX,'settings.json');}var kY=fw['fs']['existsSync'](kV);var kZ=!kY?{}:typeof BDFDB['cachedData'][kW]!=='undefined'?BDFDB['cachedData'][kW]:BDFDB['readConfig'](kV);delete kZ[kU];if(BDFDB['isObjectEmpty'](kZ)){delete BDFDB['cachedData'][kW];if(kY)fw['fs']['unlinkSync'](kV);}else{BDFDB['cachedData'][kW]=kZ;fw['fs']['writeFileSync'](kV,JSON['stringify'](kZ,null,'\x09'));}};BDFDB['getAllData']=function(l0,l1){l0=typeof l0=='string'&&BDFDB['isObject'](window['BdApi'])?window['BdApi']['getPlugin'](l0):l0;if(!BDFDB['isObject'](l0)||!l0['defaults']||!l0['defaults'][l1])return{};var l2=BDFDB['loadAllData'](l0,l1),l3={},l4=![];for(let l5 in l0['defaults'][l1]){if(l2[l5]==null){l3[l5]=BDFDB['isObject'](l0['defaults'][l1][l5]['value'])?BDFDB['deepAssign']({},l0['defaults'][l1][l5]['value']):l0['defaults'][l1][l5]['value'];l4=!![];}else l3[l5]=l2[l5];}if(l4)BDFDB['saveAllData'](l3,l0,l1);return l3;};BDFDB['readConfig']=function(l6){try{return JSON['parse'](fw['fs']['readFileSync'](l6));}catch(l7){return{};}};BDFDB['saveData']=function(c,l9,la,lb){var lc=BDFDB['loadAllData'](la,lb);lc[c]=BDFDB['isObject'](l9)?BDFDB['sortObject'](l9):l9;BDFDB['saveAllData'](lc,la,lb);};BDFDB['loadData']=function(c,le,lf){var lg=BDFDB['loadAllData'](le,lf);var lh=lg[c];return lh===undefined?null:lh;};BDFDB['removeData']=function(c,lj,lk){var ll=BDFDB['loadAllData'](lj,lk);delete ll[c];BDFDB['saveAllData'](ll,lj,lk);};BDFDB['getData']=function(c,ln,lo){var lp=BDFDB['getAllData'](ln,lo);var lq=lp[c];return lq===undefined?null:lq;};BDFDB['appendWebScript']=function(lr,ls){if(!ls&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));ls=ls||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];ls=Node['prototype']['isPrototypeOf'](ls)?ls:document['head'];BDFDB['removeWebScript'](lr,ls);ls['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(lt,lu){lu=lu||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];lu=Node['prototype']['isPrototypeOf'](lu)?lu:document['head'];BDFDB['removeEles'](lu['querySelectorAll']('script[src=\x22'+lt+'\x22]'));};BDFDB['appendWebStyle']=function(lv,lw){if(!lw&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));lw=lw||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];lw=Node['prototype']['isPrototypeOf'](lw)?lw:document['head'];BDFDB['removeWebStyle'](lv,lw);lw['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(lx,ly){ly=ly||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];ly=Node['prototype']['isPrototypeOf'](ly)?ly:document['head'];BDFDB['removeEles'](ly['querySelectorAll']('link[href=\x22'+lx+'\x22]'));};BDFDB['appendLocalStyle']=function(c,lA,lB){if(!lB&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));lB=lB||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];lB=Node['prototype']['isPrototypeOf'](lB)?lB:document['head'];BDFDB['removeLocalStyle'](c,lB);lB['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(c,lD){lD=lD||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];lD=Node['prototype']['isPrototypeOf'](lD)?lD:document['head'];BDFDB['removeEles'](lD['querySelectorAll']('style[id=\x22'+c+'CSS\x22]'));};BDFDB['formatBytes']=function(lE,lF){lE=parseInt(lE);if(isNaN(lE)||lE<0x0)return'0\x20Bytes';if(lE==0x1)return'1\x20Byte';var lG=Math['floor'](Math['log'](lE)/Math['log'](0x400));return parseFloat((lE/Math['pow'](0x400,lG))['toFixed'](lF<0x1?0x0:lF>0x14?0x14:lF||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][lG];};BDFDB['colorCONVERT']=function(lH,lI,lJ){if(!lH)return null;lI=lI===undefined||!lI?lI='RGBCOMP':lI['toUpperCase']();lJ=lJ===undefined||!lJ||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP','HEX']['includes'](lJ['toUpperCase']())?BDFDB['colorTYPE'](lH):lJ['toUpperCase']();if(lI=='RGBCOMP'){switch(lJ){case'RGBCOMP':if(lH['length']==0x3)return mj(lH);else if(lH['length']==0x4){let lK=mm(lH['pop']());return mj(lH)['concat'](lK);}break;case'RGB':return mj(lH['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':let lL=lH['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');let lK=mm(lL['pop']());return mj(lL)['concat'](lK);case'HSLCOMP':if(lH['length']==0x3)return BDFDB['colorCONVERT']('hsl('+mq(lH)['join'](',')+')','RGBCOMP');else if(lH['length']==0x4){let lN=mm(lH['pop']());return BDFDB['colorCONVERT']('hsl('+mq(lH)['join'](',')+')','RGBCOMP')['concat'](lN);}break;case'HSL':var lO=mq(lH['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var lP,lQ,lR,lS,lT,lU,lV,lW;var lX=lO[0x0]/0x168,lY=parseInt(lO[0x1])/0x64,lZ=parseInt(lO[0x2])/0x64;lS=Math['floor'](lX*0x6);lT=lX*0x6-lS;lU=lZ*(0x1-lY);lV=lZ*(0x1-lT*lY);lW=lZ*(0x1-(0x1-lT)*lY);switch(lS%0x6){case 0x0:lP=lZ,lQ=lW,lR=lU;break;case 0x1:lP=lV,lQ=lZ,lR=lU;break;case 0x2:lP=lU,lQ=lZ,lR=lW;break;case 0x3:lP=lU,lQ=lV,lR=lZ;break;case 0x4:lP=lW,lQ=lU,lR=lZ;break;case 0x5:lP=lZ,lQ=lU,lR=lV;break;}return[Math['round'](lP*0xff),Math['round'](lQ*0xff),Math['round'](lR*0xff)];case'HSLA':var lO=lH['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');return BDFDB['colorCONVERT']('hsl('+lO['join'](',')+')','RGBCOMP')['concat'](mm(lO['pop']()));case'HEX':var m1=/^#([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'](lH);return[parseInt(m1[0x1]+m1[0x1]||m1[0x4],0x10)['toString'](),parseInt(m1[0x2]+m1[0x2]||m1[0x5],0x10)['toString'](),parseInt(m1[0x3]+m1[0x3]||m1[0x6],0x10)['toString']()];case'HEXA':var m1=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$|^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](lH);return[parseInt(m1[0x1]+m1[0x1]||m1[0x5],0x10)['toString'](),parseInt(m1[0x2]+m1[0x2]||m1[0x6],0x10)['toString'](),parseInt(m1[0x3]+m1[0x3]||m1[0x7],0x10)['toString'](),Math['floor'](BDFDB['mapRange']([0x0,0xff],[0x0,0x64],parseInt(m1[0x4]+m1[0x4]||m1[0x8],0x10)['toString']()))/0x64];default:return null;}}else{var m3=lJ=='RGBCOMP'?lH:BDFDB['colorCONVERT'](lH,'RGBCOMP',lJ);if(m3)switch(lI){case'RGB':return'rgb('+mj(m3['slice'](0x0,0x3))['join'](',')+')';case'RGBA':m3=m3['slice'](0x0,0x4);var lN=m3['length']==0x4?mm(m3['pop']()):0x1;return'rgba('+mj(m3)['concat'](lN)['join'](',')+')';case'HSLCOMP':var lN=m3['length']==0x4?mm(m3['pop']()):null;var lO=mq(BDFDB['colorCONVERT'](m3,'HSL')['replace'](/\s/g,'')['split'](','));return lN?lO['concat'](lN):lO;case'HSL':var lP=mh(m3[0x0]),lQ=mh(m3[0x1]),lR=mh(m3[0x2]);var ma=Math['max'](lP,lQ,lR),mb=Math['min'](lP,lQ,lR),mc=ma-mb,lX,lY=ma===0x0?0x0:mc/ma,lZ=ma/0xff;switch(ma){case mb:lX=0x0;break;case lP:lX=lQ-lR+mc*(lQ0xff?0xff:lT<0x0?0x0:lT;}};function mj(lL){return lL['map'](lT=>{return mh(lT);});};function mm(lN){if(lN==undefined||lN==null){return 0x1;}else{lN=lN['toString']();lN=(lN['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(lN['replace'](/[^0-9\.\-]/g,''));return isNaN(lN)||lN>0x1?0x1:lN<0x0?0x0:lN;}};function mo(mp){if(mp==undefined||mp==null){return'100%';}else{mp=parseFloat(mp['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(mp)||mp>0x64?0x64:mp<0x0?0x0:mp)+'%';}};function mq(lL){let lX=parseFloat(lL['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));lX=isNaN(lX)||lX>0x168?0x168:lX<0x0?0x0:lX;return[lX]['concat'](lL['map'](mt=>{return mo(mt);}));};};var mu=(mv,mw,mx)=>{var my=BDFDB['colorCONVERT'](mv,'RGBCOMP');if(my){mw=mw['toString']();mw=(mw['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mw['replace'](/[^0-9\.\-]/g,''));mw=isNaN(mw)||mw>0x1?0x1:mw<0x0?0x0:mw;my[0x3]=mw;mx=(mx||BDFDB['colorTYPE'](mv))['toUpperCase']();mx=mx=='RGB'||mx=='HSL'||mx=='HEX'?mx+'A':mx;return BDFDB['colorCONVERT'](my,mx);}return null;};BDFDB['colorSETALPHA']=function(mz,mA,mB){if(BDFDB['isObject'](mz)){var mC={};for(let mD in mz)mC[mD]=mu(mz[mD],mA,mB);return mC;}else return mu(mz,mA,mB);};BDFDB['colorGETALPHA']=function(mE){var mF=BDFDB['colorCONVERT'](mE,'RGBCOMP');if(mF){if(mF['length']==0x3)return 0x1;else if(mF['length']==0x4){let mG=mF[0x3]['toString']();mG=(mG['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mG['replace'](/[^0-9\.\-]/g,''));return isNaN(mG)||mG>0x1?0x1:mG<0x0?0x0:mG;}}else return null;};var mH=(mI,mJ,mK)=>{var mL=BDFDB['colorCONVERT'](mI,'RGBCOMP');if(mL){if(parseInt(mJ)!==mJ){mJ=mJ['toString']();mJ=(mJ['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(mJ['replace'](/[^0-9\.\-]/g,''));mJ=isNaN(mJ)?0x0:mJ;return BDFDB['colorCONVERT']([Math['round'](mL[0x0]*(0x1+mJ)),Math['round'](mL[0x1]*(0x1+mJ)),Math['round'](mL[0x2]*(0x1+mJ))],mK||BDFDB['colorTYPE'](mI));}else return BDFDB['colorCONVERT']([Math['round'](mL[0x0]+mJ),Math['round'](mL[0x1]+mJ),Math['round'](mL[0x2]+mJ)],mK||BDFDB['colorTYPE'](mI));}return null;};BDFDB['colorCHANGE']=function(mM,mN,mO){mN=parseFloat(mN);if(mM&&typeof mN=='number'&&!isNaN(mN)){if(BDFDB['isObject'](mM)){var mP={};for(let mQ in mM)mP[mQ]=mH(mM[mQ],mN,mO);return mP;}else return mH(mM,mN,mO);}return null;};BDFDB['colorINV']=function(mR,mS){if(mR){var mT=BDFDB['colorCONVERT'](mR,'RGBCOMP');if(mT)return BDFDB['colorCONVERT']([0xff-mT[0x0],0xff-mT[0x1],0xff-mT[0x2]],mS||BDFDB['colorTYPE'](mR));}return null;};BDFDB['colorCOMPARE']=function(mU,mV){if(mU&&mV){mU=BDFDB['colorCONVERT'](mU,'RGBA');mV=BDFDB['colorCONVERT'](mV,'RGBA');if(mU&&mV)return BDFDB['equals'](mU,mV);}return null;};BDFDB['colorISBRIGHT']=function(mW,mX=0xa0){mW=BDFDB['colorCONVERT'](mW,'RGBCOMP');if(!mW)return![];return parseInt(mX)