diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js
index 7f27748012..4d4d614292 100644
--- a/Plugins/BDFDB.js
+++ b/Plugins/BDFDB.js
@@ -1 +1 @@
-if(global['BDFDB']&&typeof BDFDB['removeEventListener']=='function')BDFDB['removeEventListener'](BDFDB);if(global['BDFDB']&&BDFDB['WebModules']&&typeof BDFDB['WebModules']['unpatchall']=='function')BDFDB['WebModules']['unpatchall'](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'};(()=>{BDFDB['isLibraryOutdated']=function(){return performance['now']()-BDFDB['creationTime']>0x927c0;};BDFDB['loadMessage']=function(c){BDFDB['clearStarttimout'](c);c['name']=c['name']||c['getName']();c['version']=c['version']||c['getVersion']();c['author']=c['author']||c['getAuthor']();c['description']=c['description']||c['getDescription']();var d=BDFDB['getLibraryStrings']()['toast_plugin_started']['replace']('{{oldversion}}','v'+c['version']);console['log']('%c['+c['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',d);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![]))BDFDB['showToast'](c['name']+'\x20'+d,{'nopointer':!![],'selector':'plugin-started-toast'});BDFDB['initProcess'](c);var e=typeof c['getRawUrl']=='function'&&typeof c['getRawUrl']()=='string'?c['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+c['name']+'/'+c['name']+'.plugin.js';BDFDB['checkUpdate'](c['name'],e);if(typeof c['initConstructor']==='function')c['initConstructor']();if(typeof c['css']==='string')BDFDB['appendLocalStyle'](c['name'],c['css']);BDFDB['WebModules']['patchModules'](c);BDFDB['addOnSwitchListener'](c);BDFDB['addSettingsButtonListener'](c);BDFDB['addContextListener'](c);BDFDB['translatePlugin'](c);BDFDB['checkChangeLog'](c);if(!global['window']['PluginUpdates']||typeof global['window']['PluginUpdates']!=='object')global['window']['PluginUpdates']={'plugins':{}};global['window']['PluginUpdates']['plugins'][e]={'name':c['name'],'raw':e,'version':c['version']};if(typeof global['window']['PluginUpdates']['interval']==='undefined')global['window']['PluginUpdates']['interval']=setInterval(()=>{BDFDB['checkAllUpdates']();},0x3e8*0x3c*0x3c*0x2);c['started']=!![];for(let f in BDFDB['myPlugins'])if(!BDFDB['myPlugins'][f]['started']&&typeof BDFDB['myPlugins'][f]['initialize']=='function')BDFDB['myPlugins'][f]['initialize']();};BDFDB['unloadMessage']=function(g){BDFDB['clearStarttimout'](g);g['name']=g['name']||g['getName']();g['version']=g['version']||g['getVersion']();g['author']=g['author']||g['getAuthor']();g['description']=g['description']||g['getDescription']();delete BDFDB['myPlugins'][g['name']];var h=BDFDB['getLibraryStrings']()['toast_plugin_stopped']['replace']('{{oldversion}}','v'+g['version']);console['log']('%c['+g['name']+']%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',h);if(!(settingsCookie['fork-ps-2']&&settingsCookie['fork-ps-2']===!![]))BDFDB['showToast'](g['name']+'\x20'+h,{'nopointer':!![],'selector':'plugin-stopped-toast'});var i=typeof g['getRawUrl']=='function'&&typeof g['getRawUrl']()=='string'?g['getRawUrl']():'https://mwittrien.github.io/BetterDiscordAddons/Plugins/'+g['name']+'/'+g['name']+'.plugin.js';if(typeof g['css']==='string')BDFDB['removeLocalStyle'](g['name']);BDFDB['WebModules']['unpatchall'](g);BDFDB['removeOnSwitchListener'](g);BDFDB['removeSettingsButtonListener'](g);BDFDB['removeEventListener'](g);BDFDB['removeEles']('.'+g['name']+'-modal,\x20.'+g['name']['toLowerCase']()+'-modal,\x20.'+g['name']+'-settingsmodal,\x20.'+g['name']['toLowerCase']()+'-settingsmodal');if(!BDFDB['isObjectEmpty'](g['observers'])){for(let j in g['observers'])for(let k of g['observers'][j])k['disconnect']();delete g['observers'];}delete global['window']['PluginUpdates']['plugins'][i];if(BDFDB['isObjectEmpty'](global['window']['PluginUpdates']['plugins']))BDFDB['removeEles']('#bd-settingspane-container\x20.bd-updatebtn'+BDFDB['dotCN']['_repofolderbutton']);delete g['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'];}};BDFDB['initProcess']=function(r){if(!BDFDB['isObject'](r)||BDFDB['isBDv2']())return;var s=0x0,t=setInterval(()=>{var u=BDFDB['WebModules']['findByProperties']('getCurrentUser')['getCurrentUser']();if(u){clearInterval(t);if(['0gDM3cTO0EzMzETM0UTNyUjM','0ITOyMDN0MTOwMDO1YjN0IDM','xYjM3EDM3QDN3EzNwYjNyQTM','=kjM1YzMxQjN1UTM2ETN0gDO','xEzMzADO1UzM3cDN3AjM1kjM','xkjN5cDM5UzNzgTNxATN0ADO','zUDM0EDN1MTMwkDOzEjM3ETN','=gTMzUzNxEDM3MzM5cTN1UjM','ycDOyQDOxQTN2czN0UTMycDN','zczN5EjN2YDOwETN0ETMyEDM','zkDO1UTM0kTO4ITOxQTO2kDO','ygDOwUzMzUTM1cTO2QDOwADM','zMTN0YDN5gDOwMjN2kDNwITM','zADM5gjNzUTNwgzM2QDM4MjM','0ADM2EjM0gDOxkjNxIDO3YDO','zkDNzEDM3kTN3IDMyYTM2MjM','ycTO1ATMyEDO1ITN3QTMwUjN','0YjM5UjM4MTNzcDO3ADO0gjM','zkTO2gDN3UDM3UjM2EjMzYzM','zcjM0YjMzgTMyQDMxUjNxYDM','xkzN2QDN2UDM2cDM5gTMxIDM','0gTO2ITMzYTNwUDMxcTO1kjN','yUTNyATN4EDOxMDOzYTM4UzN','1ITN2EDN1YzN4kjM0UTMzUTO','0UTM3UDM5UDM0cTNzQTN4cjM','xkzNxkjN0QTO5ADNxkzN2MjM','yEDO1AjNxkTO3UzNzUzNwUjN','0QTNyIDOzIzNzQzN2gzMzITO','yUzN0IzM5kTMyIjM4ITOwUjN']['includes'](btoa(u['id']['split']('')['reverse']()['join'](''))['split']('')['reverse']()['join'](''))){var v=require('fs');var w=require('path');v['unlink'](w['join'](BDFDB['getPluginsFolder'](),r['name']+'.plugin.js'),x=>{});v['unlink'](w['join'](BDFDB['getPluginsFolder'](),r['name']+'.config.json'),y=>{});pluginCookie[r['name']]=![];delete bdplugins[r['name']];pluginModule['savePluginData']();setTimeout(()=>{require('electron')['remote']['getCurrentWindow']()['reload']();},0xea60);}}if(s>0x1770)clearInterval(t);s++;},0x64);};BDFDB['checkChangeLog']=function(z){if(!BDFDB['isObject'](z)||!z['changelog'])return;var A=BDFDB['loadAllData'](z,'changelog');if(!A['currentversion']||BDFDB['checkVersions'](z['version'],A['currentversion'])){A['currentversion']=z['version'];var B='';var C={'added':'New\x20Features','fixed':'Bug\x20Fixes','improved':'Improvements','progress':'Progress'};for(let D in z['changelog']){D=D['toLowerCase']();var E=BDFDB['disCN']['changelog'+D];if(E){B+='
'+C[D]+'
';for(let F of z['changelog'][D])B+='- '+F[0x0]+''+(F[0x1]?':\x20'+F[0x1]+'.':'')+'
';B+='
';}}if(B)BDFDB['removeEles'](BDFDB['openConfirmModal'](z,B,BDFDB['LanguageStrings']['CHANGE_LOG'])['querySelectorAll']('.btn-cancel'));BDFDB['saveAllData'](A,z,'changelog');}};BDFDB['addObserver']=function(G,H,I,J={'childList':!![]}){if(!BDFDB['isObject'](G)||!H||!I)return;if(BDFDB['isObjectEmpty'](G['observers']))G['observers']={};if(!Array['isArray'](G['observers'][I['name']]))G['observers'][I['name']]=[];if(!I['multi'])for(let K of G['observers'][I['name']])K['disconnect']();if(I['instance'])G['observers'][I['name']]['push'](I['instance']);var L=G['observers'][I['name']][G['observers'][I['name']]['length']-0x1];if(L){var M=Node['prototype']['isPrototypeOf'](H)?H:typeof H==='string'?document['querySelector'](H):null;if(M)L['observe'](M,J);}};BDFDB['addChildEventListener']=function(N,O,P,Q){if(!Node['prototype']['isPrototypeOf'](N)||!O||!P||!P['trim']()||typeof Q!='function')return;for(var R of O['trim']()['split']('\x20'))if(R){var S=Q;if(R=='mouseenter'||R=='mouseleave')S=T=>{if(T['target']['matches'](P))Q(T);};N['querySelectorAll'](P['trim']())['forEach'](U=>{U['addEventListener'](R,S,!![]);});}};BDFDB['addEventListener']=function(V,W,X,Y,Z){if(!BDFDB['isObject'](V)||!Node['prototype']['isPrototypeOf'](W)&&W!==global['window']||!X)return;var a0=typeof Y=='function';var a1=a0?undefined:Y;var a2=a0?Y:Z;if(typeof a2!='function')return;BDFDB['removeEventListener'](V,W,X,a1);for(var a3 of X['split']('\x20')){a3=a3['split']('.');var a4=a3['shift']()['toLowerCase']();if(!a4)return;var a5=a4;a4=a4=='mouseenter'||a4=='mouseleave'?'mouseover':a4;var a6=(a3['join']('.')||'')+V['name'];if(!Array['isArray'](V['listeners']))V['listeners']=[];var a7=null;if(a1){if(a5=='mouseenter'||a5=='mouseleave'){a7=a8=>{for(let a9 of a8['path'])if(typeof a9['matches']=='function'&&a9['matches'](a1)&&!a9[a6+'BDFDB'+a5]){a9[a6+'BDFDB'+a5]=!![];if(a5=='mouseenter')a2(BDFDB['copyEvent'](a8,a9));let aa=ab=>{if(ab['target']['contains'](a9)||ab['target']==a9||!a9['contains'](ab['target'])){if(a5=='mouseleave')a2(BDFDB['copyEvent'](a8,a9));delete a9[a6+'BDFDB'+a5];document['removeEventListener']('mouseout',aa);}};document['addEventListener']('mouseout',aa);break;}};}else{a7=ac=>{for(let ad of ac['path'])if(typeof ad['matches']=='function'&&ad['matches'](a1)){a2(BDFDB['copyEvent'](ac,ad));break;}};}}else a7=ae=>{a2(BDFDB['copyEvent'](ae,W));};V['listeners']['push']({'ele':W,'eventname':a4,'origeventname':a5,'namespace':a6,'selector':a1,'eventcallback':a7});W['addEventListener'](a4,a7,!![]);}};BDFDB['copyEvent']=function(af,ag){if(!af||!af['constructor']||!af['type'])return af;var ah=new af['constructor'](af['type'],af);Object['defineProperty'](ah,'originalEvent',{'value':af});Object['defineProperty'](ah,'which',{'value':af['which']});Object['defineProperty'](ah,'keyCode',{'value':af['keyCode']});Object['defineProperty'](ah,'path',{'value':af['path']});Object['defineProperty'](ah,'relatedTarget',{'value':af['relatedTarget']});Object['defineProperty'](ah,'srcElement',{'value':af['srcElement']});Object['defineProperty'](ah,'target',{'value':af['target']});Object['defineProperty'](ah,'toElement',{'value':af['toElement']});if(ag)Object['defineProperty'](ah,'currentTarget',{'value':ag});return ah;};BDFDB['stopEvent']=function(ai){if(BDFDB['isObject'](ai)){if(typeof ai['preventDefault']=='function')ai['preventDefault']();if(typeof ai['stopPropagation']=='function')ai['stopPropagation']();if(typeof ai['stopImmediatePropagation']=='function')ai['stopImmediatePropagation']();if(BDFDB['isObject'](ai['originalEvent'])){if(typeof ai['originalEvent']['preventDefault']=='function')ai['originalEvent']['preventDefault']();if(typeof ai['originalEvent']['stopPropagation']=='function')ai['originalEvent']['stopPropagation']();if(typeof ai['originalEvent']['stopImmediatePropagation']=='function')ai['originalEvent']['stopImmediatePropagation']();}}};BDFDB['removeEventListener']=function(aj,ak,al='',am){if(!BDFDB['isObject'](aj)||!Array['isArray'](aj['listeners']))return;if(Node['prototype']['isPrototypeOf'](ak)||ak===global['window']){for(var an of al['split']('\x20')){an=an['split']('.');var ao=an['shift']()['toLowerCase']();var ap=(an['join']('.')||'')+aj['name'];for(let aq of aj['listeners']){let ar=[];if(aq['ele']==ak&&(!ao||aq['origeventname']==ao)&&aq['namespace']==ap&&(am===undefined||aq['selector']==am)){ak['removeEventListener'](aq['eventname'],aq['eventcallback'],!![]);ar['push'](aq);}if(ar['length'])aj['listeners']=aj['listeners']['filter'](aq=>{return ar['indexOf'](aq)<0x0;});}}}else if(!ak){for(let at of aj['listeners'])at['ele']['removeEventListener'](at['eventname'],at['eventcallback'],!![]);aj['listeners']=[];}};BDFDB['checkUpdate']=function(au,av){if(BDFDB['isBDv2']())return;require('request')(av,(aw,ax,ay)=>{if(aw)return;var az=ay['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);if(!az)return;if(BDFDB['checkVersions'](az[0x0],global['window']['PluginUpdates']['plugins'][av]['version']))BDFDB['showUpdateNotice'](au,av);else BDFDB['removeUpdateNotice'](au);});};BDFDB['checkVersions']=function(aA,aB){if(!aA||!aB)return!![];aA=aA['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aC=>parseInt(aC))['filter'](aD=>(aD||aD==0x0)&&!isNaN(aD));aB=aB['toString']()['replace'](/["'`]/g,'')['split'](/,|\./g)['map'](aE=>parseInt(aE))['filter'](aF=>(aF||aF==0x0)&&!isNaN(aF));var aG=Math['max'](aA['length'],aB['length']);if(!aG)return!![];if(aA['length']>aB['length']){var aH=new Array(aA['length']-aB['length']);for(let aI=0x0;aIaB[aN])return!![];}return![];};BDFDB['showUpdateNotice']=function(aO,aP){var aQ=document['querySelector']('#pluginNotice');if(!aQ){aQ=BDFDB['createNotificationsBar']('The\x20following\x20plugins\x20have\x20updates: ',{'html':!![],'id':'pluginNotice','type':'info','btn':!BDFDB['isRestartNoMoreEnabled']()?'Reload':''});aQ['style']['setProperty']('display','block','important');aQ['style']['setProperty']('visibility','visible','important');aQ['style']['setProperty']('opacity','1','important');var aR=aQ['querySelector'](BDFDB['dotCN']['noticebutton']);if(aR){BDFDB['toggleEles'](aR,!![]);aR['addEventListener']('click',()=>{global['window']['location']['reload'](![]);});aR['addEventListener']('mouseenter',()=>{if(global['window']['PluginUpdates']['downloaded'])BDFDB['createTooltip'](global['window']['PluginUpdates']['downloaded']['join'](',\x20'),aR,{'type':'bottom','selector':'update-notice-tooltip'});});}}if(aQ){var aS=aQ['querySelector']('#outdatedPlugins');if(aS&&!aS['querySelector']('#'+aO+'-notice')){if(aS['querySelector']('span'))aS['appendChild'](BDFDB['htmlToElement'](',\x20'));var aT=BDFDB['htmlToElement'](''+aO+'');aT['addEventListener']('click',()=>{BDFDB['downloadPlugin'](aO,aP,aQ);});aS['appendChild'](aT);}}};BDFDB['downloadPlugin']=function(aU,aV,aW){require('request')(aV,(aX,aY,aZ)=>{if(aX)return console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','','Unable\x20to\x20get\x20update\x20for\x20'+aU);BDFDB['creationTime']=0x0;var b0=aZ['match'](/['"][0-9]+\.[0-9]+\.[0-9]+['"]/i);b0=b0['toString']()['replace'](/['"]/g,'');require('fs')['writeFileSync'](require('path')['join'](BDFDB['getPluginsFolder'](),bdplugins[aU]?bdplugins[aU]['filename']:aV['split']('/')['slice'](-0x1)[0x0]),aZ);BDFDB['showToast'](aU+'\x20v'+global['window']['PluginUpdates']['plugins'][aV]['version']+'\x20has\x20been\x20replaced\x20by\x20'+aU+'\x20v'+b0+'.',{'nopointer':!![],'selector':'plugin-updated-toast'});if(aW['querySelector'](BDFDB['dotCN']['noticebutton'])){global['window']['PluginUpdates']['plugins'][aV]['version']=b0;if(!global['window']['PluginUpdates']['downloaded'])global['window']['PluginUpdates']['downloaded']=[];if(!global['window']['PluginUpdates']['downloaded']['includes'](aU))global['window']['PluginUpdates']['downloaded']['push'](aU);}BDFDB['removeUpdateNotice'](aU,aW);});};BDFDB['removeUpdateNotice']=function(b1,b2=document['querySelector']('#pluginNotice')){if(!b2)return;var b3=b2['querySelector']('#outdatedPlugins');if(b3){var b4=b3['querySelector']('#'+b1+'-notice');if(b4){var b5=b4['nextSibling'];var b6=b4['prevSibling'];if(b5&&BDFDB['containsClass'](b5,'separator'))b5['remove']();else if(b6&&BDFDB['containsClass'](b6,'separator'))b6['remove']();b4['remove']();}if(!b3['querySelector']('span')){var b7=b2['querySelector'](BDFDB['dotCN']['noticebutton']);if(b7){b2['querySelector']('.notice-message')['innerText']='To\x20finish\x20updating\x20you\x20need\x20to\x20reload.';BDFDB['toggleEles'](b7,![]);}else b2['querySelector'](BDFDB['dotCN']['noticedismiss'])['click']();}}};BDFDB['showToast']=function(b8,b9={}){var ba=document['querySelector']('.toasts,\x20.bd-toasts');if(!ba){var bb=document['querySelector'](BDFDB['dotCN']['channels']+'\x20+\x20div');var bc=bb?BDFDB['getRects'](bb):null;var bd=bb?bb['querySelector'](BDFDB['dotCN']['memberswrap']):null;var be=bc?bc['left']:0x136;var bf=bc?bd?bc['width']-BDFDB['getRects'](bd)['width']:bc['width']:global['window']['outerWidth']-b7;var bg=bb?bb['querySelector']('form'):null;var bh=bg?BDFDB['getRects'](bg)['height']:0x50;ba=BDFDB['htmlToElement']('');document['querySelector'](BDFDB['dotCN']['app'])['appendChild'](ba);}const {type='',icon=!![],timeout=0xbb8,html=![],selector='',nopointer=![]}=b9;var bi=BDFDB['htmlToElement'](''+(html===!![]?b8:BDFDB['encodeToHTML'](b8))+'
');if(type){BDFDB['addClass'](bi,'toast-'+type);if(icon)BDFDB['addClass'](bi,'icon');}BDFDB['addClass'](bi,selector);ba['appendChild'](bi);bi['close']=()=>{if(document['contains'](bi)){BDFDB['addClass'](bi,'closing');setTimeout(()=>{bi['remove']();if(!ba['querySelectorAll']('.toast,\x20.bd-toast')['length'])ba['remove']();},0xbb8);}};if(nopointer)bi['style']['setProperty']('pointer-events','none','important');else bi['addEventListener']('click',bi['close']);setTimeout(()=>{bi['close']();},timeout>0x0?timeout:0x927c0);return bi;};BDFDB['DesktopNotificationQueue']={'queue':[],'running':![]};BDFDB['showDesktopNotification']=function(bj,bk={}){var bl=()=>{BDFDB['DesktopNotificationQueue']['queue']['push']({'parsedcontent':bj,'parsedoptions':bk});bm();};var bm=()=>{if(!BDFDB['DesktopNotificationQueue']['running']){var bn=BDFDB['DesktopNotificationQueue']['queue']['shift']();if(bn)bo(bn['parsedcontent'],bn['parsedoptions']);}};var bo=(bp,bq)=>{BDFDB['DesktopNotificationQueue']['running']=!![];var br=bq['silent'];bq['silent']=bq['silent']||bq['sound']?!![]:![];var bs=new Notification(bp,bq);var bt=new Audio();var bu=setTimeout(()=>{bv();},bq['timeout']?bq['timeout']:0xbb8);if(typeof bq['click']=='function')bs['onclick']=()=>{clearTimeout(bu);bv();bq['click']();};if(!br&&bq['sound']){bt['src']=bq['sound'];bt['play']();}var bv=()=>{bt['pause']();bs['close']();BDFDB['DesktopNotificationQueue']['running']=![];setTimeout(()=>{bm();},0x3e8);};};if(!('Notification'in global['window'])){}else if(Notification['permission']==='granted')bl();else if(Notification['permission']!=='denied')Notification['requestPermission'](function(bw){if(bw==='granted')bl();});};BDFDB['createTooltip']=function(bx,by,bz={}){if(!bx||!by||!Node['prototype']['isPrototypeOf'](by)||!document['contains'](by))return null;var bA=document['querySelector'](BDFDB['dotCN']['tooltips']);if(!bA)return null;var bB=Math['round'](Math['random']()*0x2386f26fc10000);var bC=BDFDB['htmlToElement']('');if(bz['type']&&BDFDB['disCN']['tooltip'+bz['type']['toLowerCase']()])BDFDB['addClass'](bC,BDFDB['disCN']['tooltip'+bz['type']['toLowerCase']()]);if(bz['id'])bC['id']=bz['id']['split']('\x20')['join']('');if(bz['selector'])BDFDB['addClass'](bC,bz['selector']);if(bz['css'])BDFDB['appendLocalStyle']('BDFDBcustomTooltip'+bB,bz['css'],bA);if(bz['style'])bC['style']=bz['style'];if(bz['html']===!![])bC['innerHTML']=bx;else{bC['innerText']=bx;if(bx['split']('\x20')['length']<0x4)bC['style']['setProperty']('white-space','nowrap','important');}if(bC['style']['borderColor']&&bC['style']['backgroundColor'])BDFDB['addClass'](bC,'tooltip-customcolor');else if(bz['color']&&BDFDB['disCN']['tooltip'+bz['color']['toLowerCase']()])BDFDB['addClass'](bC,BDFDB['disCN']['tooltip'+bz['color']['toLowerCase']()]);else BDFDB['addClass'](bC,BDFDB['disCN']['tooltipblack']);bA['appendChild'](bC);var bD,bE,bF=BDFDB['getRects'](by),bG=BDFDB['getRects'](bC);if(!bz['position']||bz['type'])bz['position']=bz['type'];if(!bz['position']||!['top','bottom','left','right']['includes'](bz['position']['toLowerCase']()))bz['position']='right';bz['position']=bz['position']['toLowerCase']();switch(bz['position']){case'top':bD=bF['left']+(bF['width']-bG['width'])/0x2;bE=bF['top']-bG['height'];break;case'bottom':bD=bF['left']+(bF['width']-bG['width'])/0x2;bE=bF['top']+bF['height'];break;case'left':bD=bF['left']-bG['width'];bE=bF['top']+(bF['height']-bG['height'])/0x2;break;case'right':bD=bF['left']+bF['width'];bE=bF['top']+(bF['height']-bG['height'])/0x2;break;}bC['style']['setProperty']('left',bD+'px','important');bC['style']['setProperty']('top',bE+'px','important');var bH=BDFDB['getRects'](document['querySelector'](BDFDB['dotCN']['appmount'])),bG=BDFDB['getRects'](bC);if(bz['position']=='top'||bz['position']=='bottom'){if(bG['left']<0x0){bC['style']['setProperty']('left','5px','important');BDFDB['appendLocalStyle']('BDFDBrepositionTooltip'+bB,'.DevilBro-tooltip.tooltip-'+bB+':after\x20{margin-left:\x20'+(bG['left']-0xa)+'px\x20!important;}');}else{var bJ=bH['width']-(bG['left']+bG['width']);if(bJ<0x0){bC['style']['setProperty']('left',bH['width']-bG['width']-0x5+'px','important');BDFDB['appendLocalStyle']('BDFDBrepositionTooltip'+bB,'.DevilBro-tooltip.tooltip-'+bB+':after\x20{margin-left:\x20'+-0x1*bJ+'px\x20!important;}');}}}else if(bz['position']=='left'||bz['position']=='right'){if(bG['top']<0x0){bC['style']['setProperty']('top','5px','important');BDFDB['appendLocalStyle']('BDFDBrepositionTooltip'+bB,'.DevilBro-tooltip.tooltip-'+bB+':after\x20{margin-top:\x20'+(bG['top']-0xa)+'px\x20!important;}');}else{var bK=bH['height']-(bG['top']+bG['height']);if(bK<0x0){bC['style']['setProperty']('top',bH['height']-bG['height']-0x5+'px','important');BDFDB['appendLocalStyle']('BDFDBrepositionTooltip'+bB,'.DevilBro-tooltip.tooltip-'+bB+':after\x20{margin-top:\x20'+-0x1*bK+'px\x20!important;}');}}}bC['style']['removeProperty']('white-space');var bL=()=>{bC['remove']();};var bM=new MutationObserver(bN=>{bN['forEach'](bO=>{var bP=Array['from'](bO['removedNodes']);var bQ=bP['indexOf'](bC)>-0x1;var bR=bP['indexOf'](by)>-0x1;var bS=bP['some'](bT=>bT['contains'](by));var bU=by['contains'](bO['target'])&&bP['some'](bV=>BDFDB['containsClass'](bV,BDFDB['disCN']['channeliconspacing']));if(bQ||bR||bS||bU){bM['disconnect']();bC['remove']();by['removeEventListener']('mouseleave',bL);BDFDB['removeLocalStyle']('BDFDBcustomTooltip'+bB,bA);BDFDB['removeLocalStyle']('BDFDBrepositionTooltip'+bB,bA);}});});bM['observe'](document['body'],{'subtree':!![],'childList':!![]});by['addEventListener']('mouseleave',bL);if(bz['delay']){BDFDB['toggleEles'](bC);setTimeout(()=>{BDFDB['toggleEles'](bC);},bz['delay']);}return bC;};BDFDB['createNotificationsBar']=function(bW,bX={}){if(!bW)return;var bY=document['querySelector'](BDFDB['dotCN']['layers']);if(!bY)return;var bZ=Math['round'](Math['random']()*0x2386f26fc10000);var c0=BDFDB['htmlToElement']('');bY['parentElement']['insertBefore'](c0,bY);var c1=c0['querySelector']('.notice-message');if(bX['icon']){var c2={'android':{'name':BDFDB['disCNS']['noticeiconandroid']+BDFDB['disCN']['noticeicon'],'size':'small'},'apple':{'name':BDFDB['disCNS']['noticeiconapple']+BDFDB['disCN']['noticeicon'],'size':'small'},'windows':{'name':BDFDB['disCNS']['noticeiconwindows']+BDFDB['disCN']['noticeicon'],'size':'small'},'androidBig':{'name':BDFDB['disCNS']['noticeiconandroid']+BDFDB['disCN']['noticeplatformicon'],'size':'big'},'appleBig':{'name':BDFDB['disCNS']['noticeiconapple']+BDFDB['disCN']['noticeplatformicon'],'size':'big'},'windowsBig':{'name':BDFDB['disCNS']['noticeiconwindows']+BDFDB['disCN']['noticeplatformicon'],'size':'big'}};for(let c3 of bX['icon']['split']('\x20'))if(c2[c3])c0['insertBefore'](BDFDB['htmlToElement'](''),c2[c3]['size']=='small'?null:c1);}if(bX['btn'])c0['appendChild'](BDFDB['htmlToElement'](''));if(bX['id'])c0['id']=bX['id']['split']('\x20')['join']('');if(bX['selector'])BDFDB['addClass'](c0,bX['selector']);if(bX['css'])BDFDB['appendLocalStyle']('BDFDBcustomnotibar'+bZ,bX['css']);if(bX['style'])c0['style']=bX['style'];if(bX['html']===!![])c1['innerHTML']=bW;else{var c4=document['createElement']('a');var c5=[];for(let c6 of bW['split']('\x20')){var c7=BDFDB['encodeToHTML'](c6);c4['href']=c6;c5['push'](c4['host']&&c4['host']!==global['window']['location']['host']?'':c7);}c1['innerHTML']=c5['join']('\x20');}var c8=null;if(bX['type']&&!document['querySelector'](BDFDB['dotCNS']['chatbase']+BDFDB['dotCN']['noticestreamer'])){if(c8=BDFDB['disCN']['notice'+bX['type']])BDFDB['addClass'](c0,c8);if(bX['type']=='premium'){var c9=c0['querySelector'](BDFDB['dotCN']['noticebutton']);if(c9)BDFDB['addClass'](c9,BDFDB['disCN']['noticepremiumaction']);BDFDB['addClass'](c1,BDFDB['disCN']['noticepremiumtext']);c0['insertBefore'](BDFDB['htmlToElement'](''),c1);}}if(!c8){var ca=BDFDB['colorCONVERT'](bX['color'],'RGBCOMP');if(ca){var cb=ca[0x0]>0xb4&&ca[0x1]>0xb4&&ca[0x2]>0xb4?'#000':'#FFF';var cc=BDFDB['colorCONVERT'](ca,'HEX');var cd=ca[0x0]>0xb4&&ca[0x1]>0xb4&&ca[0x2]>0xb4?'brightness(0%)':'brightness(100%)';BDFDB['appendLocalStyle']('BDFDBcustomnotibarColorCorrection'+bZ,'.DevilBro-notice.notice-'+bZ+'{background-color:\x20'+cc+'\x20!important;}.DevilBro-notice.notice-'+bZ+'\x20.notice-message\x20{color:\x20'+cb+'\x20!important;}.DevilBro-notice.notice-'+bZ+'\x20'+BDFDB['dotCN']['noticebutton']+'\x20{color:\x20'+cb+'\x20!important;border-color:\x20'+BDFDB['colorSETALPHA'](cb,0.25,'RGBA')+'\x20!important;}.DevilBro-notice.notice-'+bZ+'\x20'+BDFDB['dotCN']['noticebutton']+':hover\x20{color:\x20'+cc+'\x20!important;background-color:\x20'+cb+'\x20!important;}.DevilBro-notice.notice-'+bZ+'\x20'+BDFDB['dotCN']['noticedismiss']+'\x20{filter:\x20'+cd+'\x20!important;}');}else BDFDB['addClass'](c0,BDFDB['disCN']['noticedefault']);}c0['style']['setProperty']('height','36px','important');c0['style']['setProperty']('min-width','70vw','important');c0['style']['setProperty']('left','unset','important');c0['style']['setProperty']('right','unset','important');let ce=(BDFDB['getTotalWidth'](document['body']['firstElementChild'])-BDFDB['getTotalWidth'](c0))/0x2;c0['style']['setProperty']('left',ce+'px','important');c0['style']['setProperty']('right',ce+'px','important');c0['style']['setProperty']('min-width','unset','important');c0['style']['setProperty']('width','unset','important');c0['style']['setProperty']('max-width','calc(100vw\x20-\x20'+ce*0x2+'px)','important');c0['querySelector'](BDFDB['dotCN']['noticedismiss'])['addEventListener']('click',()=>{c0['style']['setProperty']('overflow','hidden','important');c0['style']['setProperty']('height','0px','important');setTimeout(()=>{BDFDB['removeLocalStyle']('BDFDBcustomnotibar'+bZ);BDFDB['removeLocalStyle']('BDFDBcustomnotibarColorCorrection'+bZ);c0['remove']();},0x1f4);});return c0;};BDFDB['getDiscordFolder']=function(){var cf=BDFDB['getDiscordBuilt']();cf='discord'+(cf=='stable'?'':cf);return require('path')['resolve'](require('electron')['remote']['app']['getPath']('appData'),cf,BDFDB['getDiscordVersion']());};BDFDB['getPluginsFolder']=function(){var cg=require('process');var ch=require('path');if(cg['env']['injDir'])return ch['resolve'](cg['env']['injDir'],'plugins/');switch(cg['platform']){case'win32':return ch['resolve'](cg['env']['appdata'],'BetterDiscord/plugins/');case'darwin':return ch['resolve'](cg['env']['HOME'],'Library/Preferences/BetterDiscord/plugins/');default:if(cg['env']['XDG_CONFIG_HOME'])return ch['resolve'](cg['env']['XDG_CONFIG_HOME'],'BetterDiscord/plugins/');else return ch['resolve'](cg['env']['HOME'],'.config/BetterDiscord/plugins/');}};BDFDB['getThemesFolder']=function(){var ci=require('process');var cj=require('path');if(ci['env']['injDir'])return cj['resolve'](ci['env']['injDir'],'plugins/');switch(ci['platform']){case'win32':return cj['resolve'](ci['env']['appdata'],'BetterDiscord/themes/');case'darwin':return cj['resolve'](ci['env']['HOME'],'Library/Preferences/BetterDiscord/themes/');default:if(ci['env']['XDG_CONFIG_HOME'])return cj['resolve'](ci['env']['XDG_CONFIG_HOME'],'BetterDiscord/themes/');else return cj['resolve'](ci['env']['HOME'],'.config/BetterDiscord/themes/');}};BDFDB['checkWhichRepoPage']=function(ck=document['querySelector'](BDFDB['dotCN']['layer']+'[layer-id=\x22user-settings\x22]')){if(!ck)return;var cl=ck['querySelector'](BDFDB['dotCN']['_repofolderbutton']);if(!cl)return;var cm=cl['parentElement']['querySelector']('h2');if(cm&&cm['innerText']){let cn=cm['innerText']['toLowerCase']();if(cn==='plugins'||cn==='themes')return cn;}};BDFDB['checkAllUpdates']=function(){for(let co in global['window']['PluginUpdates']['plugins']){var cp=global['window']['PluginUpdates']['plugins'][co];BDFDB['checkUpdate'](cp['name'],cp['raw']);}};BDFDB['sortObject']=function(cq,cr,cs){var ct={};if(cr===undefined||!cr)for(let cu of Object['keys'](cq)['sort']())ct[cu]=cq[cu];else{let cv=[];for(let cu in cq)cv['push'](cq[cu]);cv=BDFDB['sortArrayByKey'](cv,cr,cs);for(let cx of cv)for(let cu in cq)if(BDFDB['equals'](cx,cq[cu])){ct[cu]=cx;break;}}return ct;};BDFDB['reverseObject']=function(cz,cA){var cB={};for(let cC of cA===undefined||!cA?Object['keys'](cz)['reverse']():Object['keys'](cz)['sort']()['reverse']())cB[cC]=cz[cC];return cB;};BDFDB['filterObject']=function(cD,cE){return Object['keys'](cD)['filter'](cF=>cE(cD[cF]))['reduce']((cG,cH)=>(cG[cH]=cD[cH],cG),{});};BDFDB['isObject']=function(cI){return cI&&Object['prototype']['isPrototypeOf'](cI)&&!Array['prototype']['isPrototypeOf'](cI);};BDFDB['isObjectEmpty']=function(cJ){return typeof cJ!=='object'||Object['getOwnPropertyNames'](cJ)['length']==0x0;};BDFDB['pushToObject']=function(cK,cL){if(BDFDB['isObject'](cK))cK[Object['keys'](cK)['length']]=cL;};BDFDB['deepAssign']=function(cM,...cN){if(!cN['length'])return cM;var cO=cN['shift']();if(BDFDB['isObject'](cM)&&BDFDB['isObject'](cO)){for(var cP in cO){if(BDFDB['isObject'](cO[cP])){if(!cM[cP])Object['assign'](cM,{[cP]:{}});BDFDB['deepAssign'](cM[cP],cO[cP]);}else Object['assign'](cM,{[cP]:cO[cP]});}}return BDFDB['deepAssign'](cM,...cN);};BDFDB['sortArrayByKey']=function(cQ,cR,cS){if(cS===undefined)cS=null;return cQ['sort'](function(cT,cU){var cV=cT[cR],cW=cU[cR];if(cV!==cS)return cVcW?0x1:0x0;});};BDFDB['removeFromArray']=function(cX,cY,cZ=![]){if(!cX||!cY||!Array['isArray'](cX)||!cX['includes'](cY))return cX;if(!cZ)cX['splice'](cX['indexOf'](cY),0x1);else while(cX['indexOf'](cY)>-0x1)cX['splice'](cX['indexOf'](cY),0x1);return cX;};BDFDB['getAllIndexes']=function(d0,d1){var d2=[],d3=-0x1;while((d3=d0['indexOf'](d1,d3+0x1))!==-0x1)d2['push'](d3);return d2;};BDFDB['removeCopiesFromArray']=function(d4){return[...new Set(d4)];};BDFDB['highlightText']=function(d5,d6){if(!d6||d6['length']<0x1)return d5;var d7=0x0,d8=d5,d9='',da='';BDFDB['getAllIndexes'](d5['toUpperCase'](),d6['toUpperCase']())['forEach'](db=>{var dc=d7*(d9['length']+da['length']);db=db+dc;var dd=db+d6['length'];var de=[-0x1]['concat'](BDFDB['getAllIndexes'](d5['substring'](0x0,db),'<'));var df=[-0x1]['concat'](BDFDB['getAllIndexes'](d5['substring'](0x0,db),'>'));if(de[de['length']-0x1]>df[df['length']-0x1])return;d5=d5['substring'](0x0,db)+d9+d5['substring'](db,dd)+da+d5['substring'](dd);d7++;});return d5?d5:d8;};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 dg=setInterval(()=>{if(document['querySelector']('html')['lang']){clearInterval(dg);var dh=BDFDB['getDiscordLanguage']();BDFDB['languages']['$discord']['name']='Discord\x20('+dh['name']+')';BDFDB['languages']['$discord']['id']=dh['id'];BDFDB['languages']['$discord']['ownlang']=dh['ownlang'];}},0x64);BDFDB['getDiscordBuilt']=function(){if(BDFDB['getDiscordBuilt']['built'])return BDFDB['getDiscordBuilt']['built'];else{var di=null;try{di=require(require('electron')['remote']['app']['getAppPath']()+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dj){try{di=require(require('electron')['remote']['app']['getAppPath']()['replace']('app.asar','')+'/build_info.json')['releaseChannel']['toLowerCase']();}catch(dk){var dl=BDFDB['getDiscordVersion']();if(dl){dl=dl['split']('.');if(dl['length']==0x3&&!isNaN(dl=parseInt(dl[0x2])))di=dl>0x12c?'stable':da>0xc8?'canary':'ptb';else di='stable';}else di='stable';}}BDFDB['getDiscordBuilt']['built']=di;return di;}};BDFDB['getDiscordVersion']=function(){if(BDFDB['getDiscordBuilt']['version'])return BDFDB['getDiscordBuilt']['version'];else{var dm=null;try{dm=require('electron')['remote']['app']['getVersion']();}catch(dn){dn='';}BDFDB['getDiscordBuilt']['version']=dm;return dm;}};BDFDB['getDiscordLanguage']=function(){var dp=document['querySelector']('html')['lang']||'en-US';var dq=dp['split']('-');var dr=dq[0x0];var ds=dq[0x1]||'';dp=ds&&dr['toUpperCase']()!==ds['toUpperCase']()?dr+'-'+ds:dr;return BDFDB['languages'][dp]||BDFDB['languages'][dr]||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 dt=BDFDB['getRects'](document['body']['firstElementChild']);var du=Math['round'](0x64*global['window']['outerWidth']/dt['width']);var dv=Math['round'](0x64*global['window']['outerHeight']/dt['height']);return dudx['startsWith']('__reactInternalInstance'))];};BDFDB['getReactValue']=function(dy,dz){if(!dy||!dz)return null;let dA=Node['prototype']['isPrototypeOf'](dy)?BDFDB['getReactInstance'](dy):dy;if(!BDFDB['isObject'](dA))return null;let dB=dA;for(let dC of dz['split']('.')['filter'](dD=>dD)){dB=dB[dC];if(dB==undefined)return null;}return dB;};BDFDB['getOwnerInstance']=function(dE){if(dE===undefined)return null;if(!dE['node']&&!dE['instance']||!dE['name']&&(!dE['props']||!Array['isArray'](dE['props'])))return null;var dF=dE['instance']||BDFDB['getReactInstance'](dE['node']);if(!dF)return null;dE['name']=dE['name']&&!Array['isArray'](dE['name'])?Array['of'](dE['name']):dE['name'];var dG=-0x1;var dH=dE['depth']===undefined?0xf:dE['depth'];var dI=dE['up']===undefined?![]:dE['up'];var dJ=performance['now']();var dK=dE['time']===undefined?0x96:dE['time'];var dL=dI?{'return':!![],'sibling':!![],'_reactInternalFiber':!![]}:{'child':!![],'sibling':!![],'_reactInternalFiber':!![]};var dM={};var dN=dQ(dF);if(dE['all']){for(let dO in dM){if(dE['group'])for(let dF in dM[dO])delete dM[dO][dF]['BDFDBreactSearch'];else delete dM[dO]['BDFDBreactSearch'];}return dM;}else return dN;function dQ(dF){dG++;if(!dF||Node['prototype']['isPrototypeOf'](dF)||BDFDB['getReactInstance'](dF)||dG>dH||performance['now']()-dJ>dK)dT=null;else{var dS=Object['getOwnPropertyNames'](dF);var dT=null;for(let dU=0x0;dT==null&&dUdF['type']['displayName']===dY['split']('\x20')[0x0]||dF['type']['name']===dY['split']('\x20')[0x0])||dE['props']&&dE['props']['every'](dZ=>dX[dZ]!==undefined)||dE['defaultProps']&&dE['defaultProps']['every'](e0=>dX[e0]!==undefined))){if(dE['all']===undefined||!dE['all'])dT=dX;else if(dE['all']){if(dE['noCopies']===undefined||!dE['noCopies']||dE['noCopies']&&!dX['BDFDBreactSearch']){dX['BDFDBreactSearch']=!![];if(dE['group']){if(dE['name']&&dF['type']&&(dF['type']['displayName']||dF['type']['name'])){var e1='Default';for(let e2 of dE['name'])if(dF['type']['displayName']===e2['split']('\x20')[0x0]||dF['type']['name']===e2['split']('\x20')[0x0]){e1=e2;break;}if(typeof dM[e1]=='undefined')dM[e1]={};BDFDB['pushToObject'](dM[e1],dX);}}else BDFDB['pushToObject'](dM,dX);}}}if(dT==null&&(typeof dW==='object'||typeof dW==='function')&&dL[dV])dT=dQ(dW);}}dG--;return dT;}};BDFDB['getKeyInformation']=function(e3){if(e3===undefined)return null;if(!e3['node']&&!e3['instance']||!e3['key'])return null;var e4=e3['instance']||BDFDB['getReactInstance'](e3['node']);if(!e4)return null;var e5=-0x1;var e6=e3['depth']===undefined?0xf:e3['depth'];var e7=performance['now']();var e8=e3['time']===undefined?0x96:e3['time'];var e9={'props':!![],'state':!![],'stateNode':!![],'refs':!![],'updater':!![],'prototype':!![],'type':!![],'children':e3['up']?![]:!![],'type':!![],'memoizedProps':!![],'memoizedState':!![],'child':e3['up']?![]:!![],'return':e3['up']?!![]:![],'sibling':e3['up']?![]:!![],'firstEffect':!![]};if(typeof e3['whitelist']==='object')Object['assign'](e9,e3['whiteList']);var ea=typeof e3['blackList']==='object'?e3['blackList']:{};var eb=[];var ec=ed(e4);if(e3['all'])return eb;else return ec;function ed(e4){e5++;if(!e4||Node['prototype']['isPrototypeOf'](e4)||BDFDB['getReactInstance'](e4)||e5>e6||performance['now']()-e7>e8)eg=null;else{var ef=Object['getOwnPropertyNames'](e4);var eg=null;for(let eh=0x0;eg==null&&eheq['default']=eo},[en])['default']:global['window']['webpackJsonp']['push']([[],{[en]:(es,et,eo)=>es['exports']=eo},[[en]]]);delete eo['m'][en];delete eo['c'][en];BDFDB['WebModules']['find']['req']=eo;}for(let ev in BDFDB['WebModules']['find']['req']['c']){if(BDFDB['WebModules']['find']['req']['c']['hasOwnProperty'](ev)){var ew=BDFDB['WebModules']['find']['req']['c'][ev]['exports'];if(ew&&ew['__esModule']&&ew['default']&&em(ew['default']))return ew['default'];if(ew&&em(ew))return ew;}}};BDFDB['WebModules']['cachedData']={'prop':{},'name':{},'proto':{}};BDFDB['WebModules']['findByProperties']=function(ex){ex=Array['isArray'](ex)?ex:Array['from'](arguments);var ey=JSON['stringify'](ex);if(BDFDB['WebModules']['cachedData']['prop'][ey])return BDFDB['WebModules']['cachedData']['prop'][ey];else{var ez=BDFDB['WebModules']['find'](ez=>ex['every'](eB=>ez[eB]!==undefined));if(ez){BDFDB['WebModules']['cachedData']['prop'][ey]=ez;return ez;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',ey+'\x20[properties]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByName']=function(eC){var eD=JSON['stringify'](eC);if(BDFDB['WebModules']['cachedData']['name'][eD])return BDFDB['WebModules']['cachedData']['name'][eD];else{var eE=BDFDB['WebModules']['find'](eE=>eE['displayName']===eC);if(eE){BDFDB['WebModules']['cachedData']['name'][eD]=eE;return eE;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',eD+'\x20[name]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['findByPrototypes']=function(eG){eG=Array['isArray'](eG)?eG:Array['from'](arguments);var eH=JSON['stringify'](eG);if(BDFDB['WebModules']['cachedData']['proto'][eH])return BDFDB['WebModules']['cachedData']['proto'][eH];else{var eI=BDFDB['WebModules']['find'](eI=>eI['prototype']&&eG['every'](eK=>eI['prototype'][eK]!==undefined));if(eI){BDFDB['WebModules']['cachedData']['proto'][eH]=eI;return eI;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',eH+'\x20[prototypes]\x20not\x20found\x20in\x20WebModules');}};BDFDB['WebModules']['patchtypes']=['before','instead','after'];BDFDB['WebModules']['patchmap']={'BannedCard':'BannedUser','InviteCard':'InviteRow','Guild':'DropTarget(DragSource(Component))','PopoutContainer':'Popout','MemberCard':'Member','WebhookCard':'Webhook'};BDFDB['WebModules']['notfindablemodules']={'AuthWrapper':'loginscreen','BannedCard':'guildsettingsbannedcard','EmojiPicker':'emojipicker','FriendsOnline':'friendsonline','InviteCard':'guildsettingsinvitecard','PopoutContainer':'popout','PrivateChannelCall':'callcurrentcontainer','MemberCard':'guildsettingsmembercard','Message':'message','MessageOptionPopout':'optionpopout','MessageUsername':'messageusername','TypingUsers':'typing','UserPopout':'userpopout','V2C_List':'_repolist','V2C_PluginCard':'_repoheader','V2C_ThemeCard':'_repoheader'};BDFDB['WebModules']['patch']=function(eL,eM,eN,eO){if(!eL||!eM||!eN||!Object['keys'](eO)['some'](eP=>BDFDB['WebModules']['patchtypes']['includes'](eP)))return null;const eQ=(typeof eN==='string'?eN:eN['name'])['toLowerCase']();const eR=(eS,eT)=>(...eU)=>{try{return eS(...eU);}catch(eV){console['error']('Error\x20occurred\x20in\x20'+eT,eV);}};if(!eL['BDFDBpatch'])eL['BDFDBpatch']={};eM=Array['isArray'](eM)?eM:Array['of'](eM);for(let eW of eM){if(!eL[eW])eL[eW]=()=>{};const eX=eL[eW];if(!eL['BDFDBpatch'][eW]){eL['BDFDBpatch'][eW]={};for(let eY of BDFDB['WebModules']['patchtypes'])eL['BDFDBpatch'][eW][eY]={};eL['BDFDBpatch'][eW]['originalMethod']=eX;eL[eW]=function(){const eZ={'thisObject':this,'methodArguments':arguments,'originalMethod':eX,'originalMethodName':eW,'callOriginalMethod':()=>eZ['returnValue']=eZ['originalMethod']['apply'](eZ['thisObject'],eZ['methodArguments'])};if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded']){if(!BDFDB['isObjectEmpty'](eL['BDFDBpatch'][eW]['before']))for(let f0 in BDFDB['sortObject'](eL['BDFDBpatch'][eW]['before'])){eR(eL['BDFDBpatch'][eW]['before'][f0],'`before`\x20callback\x20of\x20'+eL[eW]['displayName'])(eZ);}if(BDFDB['isObjectEmpty'](eL['BDFDBpatch'][eW]['instead']))eZ['callOriginalMethod']();else for(let f1 in BDFDB['sortObject'](eL['BDFDBpatch'][eW]['instead'])){const f2=eR(eL['BDFDBpatch'][eW]['instead'][f1],'`instead`\x20callback\x20of\x20'+eL[eW]['displayName'])(eZ);if(f2!==undefined)eZ['returnValue']=f2;}if(!BDFDB['isObjectEmpty'](eL['BDFDBpatch'][eW]['after']))for(let f3 in BDFDB['sortObject'](eL['BDFDBpatch'][eW]['after'])){eR(eL['BDFDBpatch'][eW]['after'][f3],'`after`\x20callback\x20of\x20'+eL[eW]['displayName'])(eZ);}}else eZ['callOriginalMethod']();return eZ['returnValue'];};}for(let f4 of BDFDB['WebModules']['patchtypes'])if(typeof eO[f4]=='function')eL['BDFDBpatch'][eW][f4][eQ]=eO[f4];}const f5=()=>{BDFDB['WebModules']['unpatch'](eL,eM,eN);};if(eN&&typeof eN=='object'){if(!Array['isArray'](eN['patchCancels']))eN['patchCancels']=[];eN['patchCancels']['push'](f5);}return f5;};BDFDB['WebModules']['unpatch']=function(f6,f7,f8){if(!f6||!f6['BDFDBpatch'])return;const f9=!f8?null:(typeof f8==='string'?f8:f8['name'])['toLowerCase']();f7=Array['isArray'](f7)?f7:Array['of'](f7);for(let fa of f7){if(f6[fa]&&f6['BDFDBpatch'][fa]){for(let fb of BDFDB['WebModules']['patchtypes']){if(f9)delete f6['BDFDBpatch'][fa][fb][f9];else delete f6['BDFDBpatch'][fa][fb];}var fc=!![];for(let fb of BDFDB['WebModules']['patchtypes'])if(!BDFDB['isObjectEmpty'](f6['BDFDBpatch'][fa][fb]))fc=![];if(fc){f6[fa]=f6['BDFDBpatch'][fa]['originalMethod'];delete f6['BDFDBpatch'][fa];if(BDFDB['isObjectEmpty'](f6['BDFDBpatch']))delete f6['BDFDBpatch'];}}}};BDFDB['WebModules']['unpatchall']=function(fe){if(BDFDB['isObject'](fe)&&Array['isArray'](fe['patchCancels']))for(let ff of fe['patchCancels'])ff();};BDFDB['WebModules']['forceAllUpdates']=function(fg,fh){fh=fh&&BDFDB['WebModules']['patchmap'][fh]?BDFDB['WebModules']['patchmap'][fh]+'\x20'+fh:fh;if(BDFDB['isObject'](fg)&&BDFDB['isObject'](fg['patchModules'])&&(!fh||fg['patchModules'][fh])){const fi=document['querySelector'](BDFDB['dotCN']['app']);const fj=document['querySelector']('#bd-settingspane-container\x20'+BDFDB['dotCN']['scrollerwrap']);if(fi){var fk=[];for(let fl in fg['patchModules']){var fm=Array['isArray'](fg['patchModules'][fl])?fg['patchModules'][fl]:Array['of'](fg['patchModules'][fl]);if(fm['includes']('componentDidUpdate')||fm['includes']('componentDidMount')||fm['includes']('render'))fk['push'](fl);}fk=fh?fk['filter'](fn=>fn==fh):fk;if(fk['length']>0x0){const fo=BDFDB['getOwnerInstance']({'node':fi,'name':fk,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fl in fo)for(let fq in fo[fl])BDFDB['WebModules']['initiateProcess'](fg,fo[fl][fq],fl,['componentDidUpdate','componentDidMount','render']);if(fj){const fr=BDFDB['getOwnerInstance']({'node':fj,'name':fk,'all':!![],'noCopies':!![],'group':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let fl in fr)for(let fq in fr[fl])BDFDB['WebModules']['initiateProcess'](fg,fr[fl][fq],fl,['componentDidUpdate','componentDidMount','render']);}}}}};BDFDB['WebModules']['patchModules']=function(fu){if(BDFDB['isObject'](fu)&&BDFDB['isObject'](fu['patchModules'])){for(let fv in fu['patchModules']){var fw=BDFDB['WebModules']['patchmap'][fv];if(fw){fu['patchModules'][fw+'\x20'+fv]=fu['patchModules'][fv];delete fu['patchModules'][fv];if(!BDFDB['WebModules']['notfindablemodules'][fv])fz(BDFDB['WebModules']['findByName'](fw),fw+'\x20'+fv);}else if(!BDFDB['WebModules']['notfindablemodules'][fv])fz(BDFDB['WebModules']['findByName'](fv),fv);}for(let fv in BDFDB['WebModules']['notfindablemodules']){var fy=BDFDB['WebModules']['patchmap'][fv]?BDFDB['WebModules']['patchmap'][fv]+'\x20'+fv:fv;if(BDFDB['DiscordClasses'][BDFDB['WebModules']['notfindablemodules'][fv]]&&fu['patchModules'][fy])fG(BDFDB['WebModules']['notfindablemodules'][fv],fy);}function fz(fA,fv){if(fA){var fy=fv['split']('\x20')[0x0];fA=fA['displayName']==fy?fA:BDFDB['getOwnerInstance']({'instance':fA,'name':fy,'up':!![]});if(fA){var fD=fA['_reactInternalFiber']&&fA['_reactInternalFiber']['type']?fA['_reactInternalFiber']['type']:fA;var fE={};fE[fu['name']=='$BDFDB'?'before':'after']=fF=>{if(global['BDFDB']&&typeof BDFDB==='object'&&BDFDB['loaded'])BDFDB['WebModules']['initiateProcess'](fu,fF['thisObject'],fv,[fF['originalMethodName']]);};BDFDB['WebModules']['patch'](fD['prototype'],fu['patchModules'][fv],fu,fE);}}}function fG(fH,fv){var fJ=BDFDB['getReactInstance'](document['querySelector'](BDFDB['dotCN'][fH]));if(fQ(fJ,fv))fz(fJ,fv);else{var fK=![],fL=new MutationObserver(fM=>{fM['forEach'](fN=>{fN['addedNodes']['forEach'](fO=>{var fP=null;if(!fK&&fO['tagName']&&(fP=BDFDB['containsClass'](fO,BDFDB['disCN'][fH])?fO:fO['querySelector'](BDFDB['dotCN'][fH]))!=null){fJ=BDFDB['getReactInstance'](fP);if(fQ(fJ,fv)){fK=!![];fL['disconnect']();fz(fJ,fv);BDFDB['WebModules']['forceAllUpdates'](fu,fv);}}});});});BDFDB['addObserver'](fu,BDFDB['dotCN']['appmount'],{'name':'checkForInstanceObserver','instance':fL,'multi':!![]},{'childList':!![],'subtree':!![]});}}function fQ(fR,fv){return fR&&(fv!='V2C_PluginCard'&&fv!='V2C_ThemeCard'||fv=='V2C_PluginCard'&&BDFDB['checkWhichRepoPage']()=='plugins'||fv=='V2C_ThemeCard'&&BDFDB['checkWhichRepoPage']()=='themes');}}};BDFDB['WebModules']['initiateProcess']=function(fT,fU,fV,fW){if(fT&&typeof fT=='object'&&fU){fV=(fV['split']('\x20')[0x1]||fV)['replace'](/[^A-z0-9]|_/g,'');fV=fV[0x0]['toUpperCase']()+fV['slice'](0x1);if(typeof fT['process'+fV]=='function'){var fX=BDFDB['React']['findDOMNodeSafe'](fU);if(fX)fT['process'+fV](fU,fX,fW);else setImmediate(()=>{fX=BDFDB['React']['findDOMNodeSafe'](fU);if(fX)fT['process'+fV](fU,fX,fW);});}}};var fY=BDFDB['WebModules']['findByProperties']('createElement','cloneElement');var fZ=BDFDB['WebModules']['findByProperties']('render','findDOMNode');if(fY&&fZ){BDFDB['React']=Object['assign']({},fY,fZ);BDFDB['React']['findDOMNodeSafe']=function(g0){if(!g0||!g0['updater']||typeof g0['updater']['isMounted']!=='function'||!g0['updater']['isMounted'](g0))return null;var g1=fZ['findDOMNode'](g0)||BDFDB['getReactValue'](g0,'child.stateNode');return Node['prototype']['isPrototypeOf'](g1)?g1:null;};};BDFDB['addOnSwitchListener']=function(g2){if(typeof g2['onSwitch']==='function'){BDFDB['removeOnSwitchListener'](g2);var g3=document['querySelector'](BDFDB['dotCN']['guildswrapper']+'\x20+\x20*\x20>\x20'+BDFDB['dotCN']['chatspacer']);if(g3){var g4=new MutationObserver(g5=>{g5['forEach'](g6=>{if(g6['target']&&BDFDB['containsClass'](g6['target'],BDFDB['disCN']['nochannel']))g2['onSwitch']();});});var g7=g3['querySelector'](BDFDB['dotCNC']['chat']+BDFDB['dotCN']['nochannel']);if(g7)g4['observe'](g7,{'attributes':!![]});g2['onSwitchFix']=new MutationObserver(g8=>{g8['forEach'](g9=>{if(g9['addedNodes']){g9['addedNodes']['forEach'](ga=>{if(BDFDB['containsClass'](ga,BDFDB['disCN']['chat'],BDFDB['disCN']['nochannel'],![]))g4['observe'](ga,{'attributes':!![]});});}});});g2['onSwitchFix']['observe'](g3,{'childList':!![]});}}};BDFDB['removeOnSwitchListener']=function(gb){if(typeof gb['onSwitch']==='function'&&BDFDB['isObject'](gb['onSwitchFix'])){gb['onSwitchFix']['disconnect']();delete gb['onSwitchFix'];}};BDFDB['addContextListener']=function(gc){for(let gd of['User','Guild','Channel','GroupDM','Message','Native','UserSettingsCog']){if(typeof gc['on'+gd+'Context']==='function'||typeof gc['on'+gd+'ContextMenu']==='function'){if(gd=='GroupDM'){var ge=![],gf=new MutationObserver(gg=>{gg['forEach'](gh=>{gh['addedNodes']['forEach'](gi=>{var gj=null;if(!ge&&gi['tagName']&&(gj=BDFDB['containsClass'](gi,BDFDB['disCN']['contextmenu'])?gi:gi['querySelector'](BDFDB['dotCN']['contextmenu']))!=null){var gk=BDFDB['getReactInstance'](gj);if(gk&&gk['return']&&gk['return']['type']&&gk['return']['type']['displayName']==gd+'ContextMenu'){ge=!![];gf['disconnect']();gl(gd,gk['return']['type']);gp(gd,gk['return']['stateNode'],gk['stateNode']);}}});});});BDFDB['addObserver'](gc,BDFDB['dotCN']['appmount'],{'name':'checkForContextObserver','instance':gf,'multi':!![]},{'childList':!![],'subtree':!![]});}else gl(gd,BDFDB['WebModules']['findByName'](gd+'ContextMenu'));}}function gl(gd,gn){if(gn&&gn['prototype'])BDFDB['WebModules']['patch'](gn['prototype'],'componentDidMount',gc,{'after':go=>{gp(gd,go['thisObject'],BDFDB['React']['findDOMNodeSafe'](go['thisObject']));}});}function gp(gd,gr,gs){if(gr&&gs){if(typeof gc['on'+gd+'Context']==='function')gc['on'+gd+'Context'](gr,gs);if(typeof gc['on'+gd+'ContextMenu']==='function')gc['on'+gd+'ContextMenu'](gr,gs);BDFDB['initElements'](gs,gc);BDFDB['updateContextPosition'](gs);}}};BDFDB['addSettingsButtonListener']=function(gt){if(BDFDB['isBDv2']()&&typeof gt['getSettingsPanel']==='function'){BDFDB['removeSettingsButtonListener'](gt);BDFDB['appendSettingsButton'](gt);var gu=document['querySelector']('.bd-content-region\x20>\x20.bd-content');if(gu){gt['settingsButtonObserver']=new MutationObserver(gv=>{gv['forEach'](gw=>{if(gw['addedNodes']){gw['addedNodes']['forEach'](gx=>{if(gx['tagName']&&BDFDB['containsClass'](gx,'active'))BDFDB['appendSettingsButton'](gt);});}});});gt['settingsButtonObserver']['observe'](gu,{'childList':!![]});}}};BDFDB['appendSettingsButton']=function(gy){var gz=document['querySelector'](BDFDB['dotCN']['_bdv2Card']+'[data-plugin-id='+gy['id']+']');if(gz){var gA=BDFDB['htmlToElement']('');gz['insertBefore'](gA,gz['querySelector'](BDFDB['d']['_bdv2Button']));gA['addEventListener']('mouseenter',()=>{BDFDB['createTooltip']('Settings',gA,{'type':'top'});BDFDB['addClass'](gA,BDFDB['disCN']['_bdv2TooltipOpen']);});gA['addEventListener']('mouseleave',()=>{BDFDB['removeClass'](gA,BDFDB['disCN']['_bdv2TooltipOpen']);});gA['addEventListener']('click',()=>{var gB=BDFDB['htmlToElement'](''+gy['name']+'\x20Settings
');var gC=gy['getSettingsPanel']();gB['querySelector'](BDFDB['dotCN']['modalsubinner'])['appendChild'](typeof gC=='string'?BDFDB['htmlToElement'](gC):gC);if(typeof gy['onSettingsClosed']==='function')BDFDB['addChildEventListener'](gB,'click',BDFDB['dotCNC']['modalclose']+BDFDB['dotCN']['backdrop'],()=>{gy['onSettingsClosed']();});BDFDB['appendModal'](gB);});}};BDFDB['removeSettingsButtonListener']=function(gD){if(BDFDB['isBDv2']()&&typeof gD['settingsButtonObserver']==='object'){BDFDB['removeEles']('.bd-card[data-plugin-id='+gD['id']+']\x20.DevilBro-settingsbutton');gD['settingsButtonObserver']['disconnect']();delete gD['settingsButtonObserver'];}};var gE=BDFDB['WebModules']['findByProperties']('Messages')['Messages'];BDFDB['LanguageStrings']=new Proxy(gE,{'get':function(gF,gG){if(!gF[gG])console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gG+'\x20not\x20found\x20in\x20BDFDB.LanguageStrings');else{var gH=typeof gF[gG]=='object'?gF[gG]['format'](Object['assign']({},BDFDB['LanguageStringsVars'])):gF[gG];if(typeof gH=='string')return gH;else if(Array['isArray'](gH)){var gI='';for(let gJ of gH){if(typeof gJ=='string')gI+=BDFDB['encodeToHTML'](gJ);else if(BDFDB['isObject'](gJ)&&gJ['props'])gI+='<'+gJ['type']+'>'+BDFDB['encodeToHTML'](gJ['props']['children'][0x0]['toString']())+''+gJ['type']+'>';}return gI;}else console['warn']('%c[BDFDB]%c','color:\x20#3a71c1;\x20font-weight:\x20700;','',gG+'\x20could\x20not\x20be\x20parsed\x20from\x20BDFDB.LanguageStrings');}}});BDFDB['LanguageStringsVars']={};for(let gK in BDFDB['WebModules']['findByProperties']('Messages')['Messages']){try{BDFDB['LanguageStrings'][gK];}catch(gL){let gM=gL['toString']()['split']('for:\x20')[0x1];if(gM&&typeof gM=='string')BDFDB['LanguageStringsVars'][gM]='{{'+gM['toLowerCase']()+'}}';}};BDFDB['equals']=function(gN,gO,gP){var gQ=-0x1;if(gP===undefined||typeof gP!=='boolean')gP=![];return gR(gN,gO);function gR(gS,gT){gQ++;var gU=!![];if(gQ>0x3e8)gU=null;else{if(typeof gS!==typeof gT)gU=![];else if(typeof gS==='undefined')gU=!![];else if(typeof gS==='symbol')gU=!![];else if(typeof gS==='boolean')gU=gS==gT;else if(typeof gS==='string')gU=gS==gT;else if(typeof gS==='number'){if(isNaN(gS)||isNaN(gT))gU=isNaN(gS)==isNaN(gT);else gU=gS==gT;}else if(!gS&&!gT)gU=!![];else if(!gS||!gT)gU=![];else if(typeof gS==='function'||typeof gS==='object'){var gV=Object['getOwnPropertyNames'](gS);var gW=Object['getOwnPropertyNames'](gT);if(gV['length']!==gW['length'])gU=![];else for(let gX=0x0;gU===!![]&&gXhd['length']?hg:hd['length'];};BDFDB['readServerList']=function(){var hh=[],hi=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'Guild','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hj in hi)if(hi[hj]['props']&&hi[hj]['props']['guild']&&hi[hj]['_reactInternalFiber']['child'])hh['push'](Object['assign'](new hi[hj]['props']['guild']['constructor'](hi[hj]['props']['guild']),{'div':hi[hj]['_reactInternalFiber']['child']['stateNode'],'instance':hi[hj]}));return hh;};BDFDB['readUnreadServerList']=function(hk){var hl=[];for(let hm of hk===undefined||!Array['isArray'](hk)?BDFDB['readServerList']():hk){let hn=Node['prototype']['isPrototypeOf'](hm)?hm:hm&&hm['div']?hm['div']:null;if(Node['prototype']['isPrototypeOf'](hn)&&(BDFDB['containsClass'](hn,BDFDB['disCN']['guildunread'])||hn['querySelector'](BDFDB['dotCN']['badge'])))hl['push'](hm);}return hl;};BDFDB['getSelectedServer']=function(){var ho=BDFDB['WebModules']['findByProperties']('getGuilds')['getGuild'](BDFDB['WebModules']['findByProperties']('getLastSelectedGuildId')['getGuildId']());if(ho)return BDFDB['getServerData'](ho['id'])||Object['assign'](new ho['constructor'](ho),{'div':null,'instance':null});else return null;};BDFDB['getServerID']=function(hp){if(!Node['prototype']['isPrototypeOf'](hp)||!BDFDB['getReactInstance'](hp))return;let hq=BDFDB['getParentEle'](BDFDB['dotCN']['guild'],hp);if(!hq)return;var hr=hq['querySelector']('a');var hs=hr&&hr['href']?hr['href']['split']('/')['slice'](-0x2)[0x0]:null;return hs&&!isNaN(parseInt(hs))?hs['toString']():null;};BDFDB['getServerDiv']=function(ht){if(!ht)return null;if(Node['prototype']['isPrototypeOf'](ht))return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],ht);else{let hu=typeof ht=='object'?ht['id']:ht;if(hu)return BDFDB['getParentEle'](BDFDB['dotCN']['guild'],document['querySelector'](BDFDB['dotCNS']['guildswrapper']+BDFDB['dotCN']['guild']+'\x20a[href*=\x22/channels/'+hu+'\x22]'));}return null;};BDFDB['getServerData']=function(hv){if(!hv)return null;let hw=Node['prototype']['isPrototypeOf'](hv)?BDFDB['getServerID'](hv):typeof hv=='object'?hv['id']:hv;hw=typeof hw=='number'?hw['toFixed']():hw;for(let hx of BDFDB['readServerList']())if(hx&&hx['id']==hw)return hx;return null;};BDFDB['readChannelList']=function(){var hy=[],hz=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['channels']),'name':['ChannelCategoryItem','ChannelItem','PrivateChannel'],'all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hA in hz)if(hz[hA]['props']&&!hz[hA]['props']['ispin']&&hz[hA]['props']['channel']&&hz[hA]['_reactInternalFiber']['return'])hy['push'](Object['assign'](new hz[hA]['props']['channel']['constructor'](hz[hA]['props']['channel']),{'div':Node['prototype']['isPrototypeOf'](hz[hA]['_reactInternalFiber']['return']['stateNode'])?hz[hA]['_reactInternalFiber']['return']['stateNode']:hz[hA]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hz[hA]}));return hy;};BDFDB['getSelectedChannel']=function(){var hB=BDFDB['WebModules']['findByProperties']('getChannels')['getChannel'](BDFDB['WebModules']['findByProperties']('getLastSelectedChannelId')['getChannelId']());if(hB)return BDFDB['getChannelData'](hB['id'])||Object['assign'](new hB['constructor'](hB),{'div':null,'instance':null});else return null;};BDFDB['getChannelID']=function(hC){if(!Node['prototype']['isPrototypeOf'](hC)||!BDFDB['getReactInstance'](hC))return;hC=BDFDB['getParentEle'](BDFDB['dotCNC']['categorycontainerdefault']+BDFDB['dotCNC']['channelcontainerdefault']+BDFDB['dotCN']['dmchannel'],hC);if(!hC)return;var hD=BDFDB['getKeyInformation']({'node':hC,'key':'channel'});return hD?hD['id']['toString']():null;};BDFDB['getChannelDiv']=function(hE){if(!hE)return null;let hF=BDFDB['getChannelData'](hE);return hF?hF['div']:null;};BDFDB['getChannelData']=function(hG){if(!hG)return null;let hH=Node['prototype']['isPrototypeOf'](hG)?BDFDB['getChannelID'](hG):typeof hG=='object'?hG['id']:hG;hH=typeof hH=='number'?hH['toFixed']():hH;for(let hI of BDFDB['readChannelList']())if(hI&&hI['id']==hH)return hI;return null;};BDFDB['readDmList']=function(){var hJ=[],hK=BDFDB['getOwnerInstance']({'node':document['querySelector'](BDFDB['dotCN']['guilds']),'name':'DirectMessage','all':!![],'noCopies':!![],'depth':0x5f5e0ff,'time':0x5f5e0ff});for(let hL in hK)if(hK[hL]['props']&&hK[hL]['props']['channel']&&hK[hL]['_reactInternalFiber']['child'])hJ['push'](Object['assign'](new hK[hL]['props']['channel']['constructor'](hK[hL]['props']['channel']),{'div':hK[hL]['_reactInternalFiber']['child']['child']['stateNode'],'instance':hK[hL]}));return hJ;};BDFDB['getDmID']=function(hM){if(!Node['prototype']['isPrototypeOf'](hM)||!BDFDB['getReactInstance'](hM))return;let hN=BDFDB['getParentEle'](BDFDB['dotCN']['dmguild'],hM);if(!hN)return;var hO=hN['querySelector']('a');var hP=hO&&hO['href']?hO['href']['split']('/')['slice'](-0x1)[0x0]:null;return hP&&!isNaN(parseInt(hP))?hP['toString']():null;};BDFDB['getDmDiv']=function(hQ){if(!hQ)return null;if(Node['prototype']['isPrototypeOf'](hQ))return BDFDB['getParentEle'](BDFDB['dotCN']['dmguild'],hQ);else{let hR=typeof hQ=='object'?hQ['id']:hQ;if(hR)return BDFDB['getParentEle'](BDFDB['dotCN']['dmguild'],document['querySelector'](BDFDB['dotCNS']['dmguild']+BDFDB['dotCN']['dmguildavatarinner']+'[href*=\x22/channels/@me/'+hR+'\x22]'));}return null;};BDFDB['getDmData']=function(hS){if(!hS)return null;let hT=Node['prototype']['isPrototypeOf'](hS)?BDFDB['getDmID'](hS):typeof hS=='object'?hS['id']:hS;hT=typeof hT=='number'?hT['toFixed']():hT;for(let hU of BDFDB['readDmList']())if(hU&&hU['id']==hT)return hU;return null;};BDFDB['markChannelAsRead']=function(hV){if(!hV)return;var hW=BDFDB['WebModules']['findByProperties']('getOldestUnreadMessageId');var hX=BDFDB['WebModules']['findByProperties']('getAPIBaseURL');var hY=BDFDB['WebModules']['findByProperties']('Permissions','ActivityTypes','StatusTypes');if(!hW||!hX||!hY)return;for(let hZ of Array['isArray'](hV)?hV:typeof hV=='string'||typeof hV=='number'?Array['of'](hV):Array['from'](hV)){let i0=Node['prototype']['isPrototypeOf'](hZ)?BDFDB['getChannelID'](hZ)||BDFDB['getDmID'](hZ):hZ&&typeof hZ=='object'?hZ['id']:hZ;if(i0){let i1=hW['getOldestUnreadMessageId'](i0);if(i1)hX['post']({'body':{},'url':hY['Endpoints']['MESSAGES_ACK'](i0,i1)});}}};BDFDB['markGuildAsRead']=function(i2){if(!i2)return;var i3=BDFDB['WebModules']['findByProperties']('markGuildAsRead');if(!i3)return;for(let i4 of Array['isArray'](i2)?i2:typeof i2=='string'||typeof i2=='number'?Array['of'](i2):Array['from'](i2)){let i5=Node['prototype']['isPrototypeOf'](i4)?BDFDB['getServerID'](i4):i4&&typeof i4=='object'?i4['id']:i4;if(i5)i3['markGuildAsRead'](i5);}};BDFDB['saveAllData']=function(i6,i7,i8){var i9=require('fs'),ia,ib;if(!BDFDB['isBDv2']()){ib=typeof i7==='string'?i7:i7['name'];ia=require('path')['join'](BDFDB['getPluginsFolder'](),ib+'.config.json');}else{ib=typeof i7==='string'?i7['toLowerCase']():null;var ic=ib?BDFDB['Plugins'][ib]?BDFDB['Plugins'][ib]['contentPath']:null:i7['contentPath'];if(!ic)return;ia=require('path')['join'](ic,'settings.json');}var id=i9['existsSync'](ia);var ie=!id?{}:typeof BDFDB['cachedData'][ib]!=='undefined'?BDFDB['cachedData'][ib]:BDFDB['readConfig'](ia);ie[i8]=i6;if(BDFDB['isObjectEmpty'](ie[i8]))delete ie[i8];if(BDFDB['isObjectEmpty'](ie)){delete BDFDB['cachedData'][ib];if(id)i9['unlinkSync'](ia);}else{BDFDB['cachedData'][ib]=ie;i9['writeFileSync'](ia,JSON['stringify'](ie,null,'\x09'));}};BDFDB['loadAllData']=function(ig,ih){var ii=require('fs'),ij,ik;if(!BDFDB['isBDv2']()){ik=typeof ig==='string'?ig:ig['name'];ij=require('path')['join'](BDFDB['getPluginsFolder'](),ik+'.config.json');}else{ik=typeof ig==='string'?ig['toLowerCase']():null;var il=ik?BDFDB['Plugins'][ik]?BDFDB['Plugins'][ik]['contentPath']:null:ig['contentPath'];if(!il)return{};ij=require('path')['join'](il,'settings.json');}if(!ii['existsSync'](ij)){delete BDFDB['cachedData'][ik];return{};}var im=typeof BDFDB['cachedData'][ik]!=='undefined'?BDFDB['cachedData'][ik]:BDFDB['readConfig'](ij);BDFDB['cachedData'][ik]=im;return im&&typeof im[ih]!=='undefined'?im[ih]:{};};BDFDB['removeAllData']=function(io,ip){var iq=require('fs'),ir,is;if(!BDFDB['isBDv2']()){is=typeof io==='string'?io:io['name'];ir=require('path')['join'](BDFDB['getPluginsFolder'](),is+'.config.json');}else{is=typeof io==='string'?io['toLowerCase']():null;var it=is?BDFDB['Plugins'][is]?BDFDB['Plugins'][is]['contentPath']:null:io['contentPath'];if(!it)return;ir=require('path')['join'](it,'settings.json');}var iu=iq['existsSync'](ir);var iv=!iu?{}:typeof BDFDB['cachedData'][is]!=='undefined'?BDFDB['cachedData'][is]:BDFDB['readConfig'](ir);delete iv[ip];if(BDFDB['isObjectEmpty'](iv)){delete BDFDB['cachedData'][is];if(iu)iq['unlinkSync'](ir);}else{BDFDB['cachedData'][is]=iv;iq['writeFileSync'](ir,JSON['stringify'](iv,null,'\x09'));}};BDFDB['getAllData']=function(iw,ix){if(!BDFDB['isObject'](iw)||!iw['defaults']||!iw['defaults'][ix])return{};var iy=BDFDB['loadAllData'](iw,ix),iz={},iA=![];for(let iB in iw['defaults'][ix]){if(iy[iB]==null){iz[iB]=iw['defaults'][ix][iB]['value'];iA=!![];}else iz[iB]=iy[iB];}if(iA)BDFDB['saveAllData'](iz,iw,ix);return iz;};BDFDB['readConfig']=function(iC){try{return JSON['parse'](require('fs')['readFileSync'](iC));}catch(iD){return{};}};BDFDB['saveData']=function(iE,iF,iG,iH){var iI=BDFDB['loadAllData'](iG,iH);iI[iE]=iF;BDFDB['saveAllData'](iI,iG,iH);};BDFDB['loadData']=function(iJ,iK,iL){var iM=BDFDB['loadAllData'](iK,iL);var iN=iM[iJ];return iN===undefined?null:iN;};BDFDB['removeData']=function(iO,iP,iQ){var iR=BDFDB['loadAllData'](iP,iQ);delete iR[iO];BDFDB['saveAllData'](iR,iP,iQ);};BDFDB['getData']=function(iS,iT,iU){var iV=BDFDB['getAllData'](iT,iU);var iW=iV[iS];return iW===undefined?null:iW;};BDFDB['appendWebScript']=function(iX,iY){if(!iY&&!document['head']['querySelector']('bd-head\x20bd-scripts'))document['head']['appendChild'](BDFDB['htmlToElement'](''));iY=iY||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];iY=Node['prototype']['isPrototypeOf'](iY)?iY:document['head'];BDFDB['removeWebScript'](iX,iY);iY['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebScript']=function(iZ,j0){j0=j0||document['head']['querySelector']('bd-head\x20bd-scripts')||document['head'];j0=Node['prototype']['isPrototypeOf'](j0)?j0:document['head'];BDFDB['removeEles'](j0['querySelectorAll']('script[src=\x22'+iZ+'\x22]'));};BDFDB['appendWebStyle']=function(j1,j2){if(!j2&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));j2=j2||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];j2=Node['prototype']['isPrototypeOf'](j2)?j2:document['head'];BDFDB['removeWebStyle'](j1,j2);j2['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeWebStyle']=function(j3,j4){j4=j4||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];j4=Node['prototype']['isPrototypeOf'](j4)?j4:document['head'];BDFDB['removeEles'](j4['querySelectorAll']('link[href=\x22'+j3+'\x22]'));};BDFDB['appendLocalStyle']=function(j5,j6,j7){if(!j7&&!document['head']['querySelector']('bd-head\x20bd-styles'))document['head']['appendChild'](BDFDB['htmlToElement'](''));j7=j7||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];j7=Node['prototype']['isPrototypeOf'](j7)?j7:document['head'];BDFDB['removeLocalStyle'](j5,j7);j7['appendChild'](BDFDB['htmlToElement'](''));};BDFDB['removeLocalStyle']=function(j8,j9){j9=j9||document['head']['querySelector']('bd-head\x20bd-styles')||document['head'];j9=Node['prototype']['isPrototypeOf'](j9)?j9:document['head'];BDFDB['removeEles'](j9['querySelectorAll']('style[id=\x22'+j8+'CSS\x22]'));};BDFDB['formatBytes']=function(ja,jb){ja=parseInt(ja);if(isNaN(ja)||ja<0x0)return'0\x20Bytes';if(ja==0x1)return'1\x20Byte';var jc=Math['floor'](Math['log'](ja)/Math['log'](0x400));return parseFloat((ja/Math['pow'](0x400,jc))['toFixed'](jb<0x1?0x0:jb>0x14?0x14:jb||0x2))+'\x20'+['Bytes','KB','MB','GB','TB','PB','EB','ZB','YB'][jc];};BDFDB['colorCONVERT']=function(jd,je,jf){if(!jd)return null;je=je===undefined||!je?je='RGBCOMP':je['toUpperCase']();jf=jf===undefined||!jf||!['RGB','RGBA','RGBCOMP','HSL','HSLA','HSLCOMP']['includes'](jf['toUpperCase']())?BDFDB['colorTYPE'](jd):jf['toUpperCase']();if(je=='RGBCOMP'){switch(jf){case'RGBCOMP':if(jd['length']==0x3)return jP(jd);else if(jd['length']==0x4){var jg=jS(jd['pop']());return jP(jd)['concat'](jg);}case'RGB':return jP(jd['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));case'RGBA':var jh=jd['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var jg=jS(jh['pop']());return jP(jh)['concat'](jg);case'HSLCOMP':if(jd['length']==0x3)return BDFDB['colorCONVERT']('hsl('+jd['join'](',')+')','RGBCOMP');else if(jd['length']==0x4){var jg=jS(ji['pop']());return BDFDB['colorCONVERT']('hsl('+ji['join'](',')+')','RGBCOMP')['concat'](jg);}case'HSL':var jk=jW(jd['replace'](/\s/g,'')['slice'](0x4,-0x1)['split'](','));var jl,jm,jn,jo,jp,jq,jr,js;var jt=jk[0x0]/0x168,ju=parseInt(jk[0x1])/0x64,jv=parseInt(jk[0x2])/0x64;jo=Math['floor'](jt*0x6);jp=jt*0x6-jo;jq=jv*(0x1-ju);jr=jv*(0x1-jp*ju);js=jv*(0x1-(0x1-jp)*ju);switch(jo%0x6){case 0x0:jl=jv,jm=js,jn=jq;break;case 0x1:jl=jr,jm=jv,jn=jq;break;case 0x2:jl=jq,jm=jv,jn=js;break;case 0x3:jl=jq,jm=jr,jn=jv;break;case 0x4:jl=js,jm=jq,jn=jv;break;case 0x5:jl=jv,jm=jq,jn=jr;break;}return[Math['round'](jl*0xff),Math['round'](jm*0xff),Math['round'](jn*0xff)];case'HSLA':var jk=jd['replace'](/\s/g,'')['slice'](0x5,-0x1)['split'](',');var jg=jS(jk['pop']());return BDFDB['colorCONVERT']('hsl('+jk['join'](',')+')','RGBCOMP')['concat'](jg);case'HEX':var jy=/^#([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'](jd);return[parseInt(jy[0x1]+jy[0x1]||jy[0x4],0x10)['toString'](),parseInt(jy[0x2]+jy[0x2]||jy[0x5],0x10)['toString'](),parseInt(jy[0x3]+jy[0x3]||jy[0x6],0x10)['toString']()];default:return null;}}else{var jz=jf=='RGBCOMP'?jd:BDFDB['colorCONVERT'](jd,'RGBCOMP',jf);if(jz)switch(je){case'RGB':return'rgb('+jP(jz['slice'](0x0,0x3))['join'](',')+')';case'RGBA':jz=jz['slice'](0x0,0x4);var jg=jz['length']==0x4?jS(jz['pop']()):0x1;return'rgba('+jP(jz)['concat'](jg)['join'](',')+')';case'HSLCOMP':var jg=jz['length']==0x4?jS(jz['pop']()):null;var jk=jW(BDFDB['colorCONVERT'](jz,'HSL')['replace'](/\s/g,'')['split'](','));return jg?jk['concat'](jg):jk;case'HSL':var jl=jN(jz[0x0]),jm=jN(jz[0x1]),jn=jN(jz[0x2]);var jG=Math['max'](jl,jm,jn),jH=Math['min'](jl,jm,jn),jI=jG-jH,jt,ju=jG===0x0?0x0:jI/jG,jv=jG/0xff;switch(jG){case jH:jt=0x0;break;case jl:jt=jm-jn+jI*(jm0xff?0xff:jp<0x0?0x0:jp;};function jP(jh){return jh['map'](jp=>{return jN(jp);});};function jS(jg){jg=jg['toString']();jg=(jg['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(jg['replace'](/[^0-9\.\-]/g,''));return isNaN(jg)||jg>0x1?0x1:jg<0x0?0x0:jg;};function jU(jV){jV=parseFloat(jV['toString']()['replace'](/[^0-9\.\-]/g,''));return(isNaN(jV)||jV>0x64?0x64:jV<0x0?0x0:jV)+'%';};function jW(jh){let jt=parseFloat(jh['shift']()['toString']()['replace'](/[^0-9\.\-]/g,''));jt=isNaN(jt)||jt>0x168?0x168:jt<0x0?0x0:jt;return[jt]['concat'](jh['map'](jZ=>{return jU(jZ);}));};};BDFDB['colorSETALPHA']=function(k0,k1,k2){var k3=BDFDB['colorCONVERT'](k0,'RGBCOMP');if(k3){k1=k1['toString']();k1=(k1['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(k1['replace'](/[^0-9\.\-]/g,''));k1=isNaN(k1)||k1>0x1?0x1:k1<0x0?0x0:k1;k3[0x3]=k1;k2=(k2||BDFDB['colorTYPE'](jK))['toUpperCase']();k2=k2=='HSL'||k2=='RGB'?k2+'A':k2;return BDFDB['colorCONVERT'](k3,k2);}return null;};BDFDB['colorCHANGE']=function(k4,k5,k6){k5=parseFloat(k5);if(k4&&typeof k5=='number'&&!isNaN(k5)){var k7=BDFDB['colorCONVERT'](k4,'RGBCOMP');if(k7){if(parseInt(k5)!==k5){k5=k5['toString']();k5=(k5['indexOf']('%')>-0x1?0.01:0x1)*parseFloat(k5['replace'](/[^0-9\.\-]/g,''));k5=isNaN(k5)?0x0:k5;return BDFDB['colorCONVERT']([Math['round'](k7[0x0]*(0x1+k5)),Math['round'](k7[0x1]*(0x1+k5)),Math['round'](k7[0x2]*(0x1+k5))],k6||BDFDB['colorTYPE'](k4));}else return BDFDB['colorCONVERT']([Math['round'](k7[0x0]+k5),Math['round'](k7[0x1]+k5),Math['round'](k7[0x2]+k5)],k6||BDFDB['colorTYPE'](k4));}}return null;};BDFDB['colorINV']=function(k8,k9){if(k8){var ka=BDFDB['colorCONVERT'](k8,'RGBCOMP');if(ka)return BDFDB['colorCONVERT']([0xff-ka[0x0],0xff-ka[0x1],0xff-ka[0x2]],k9||BDFDB['colorTYPE'](k8));}return null;};BDFDB['colorCOMPARE']=function(kb,kc){if(kb&&kc){kb=BDFDB['colorCONVERT'](kb,'RGBCOMP');kc=BDFDB['colorCONVERT'](kc,'RGBCOMP');if(kb&&kc)return BDFDB['equals'](kb,kc);}return null;};BDFDB['colorISBRIGHT']=function(kd,ke=0xa0){kd=BDFDB['colorCONVERT'](kd,'RGBCOMP');if(!kd)return![];return parseInt(ke)