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