(function(){"use strict";constD=e=>typeofe.prev=="function"?e.prev:D(e.prev);varM=(e,n,t)=>{constr=n[e][t];returnr===void0?n[t]:D(r)};classO{constructor(n,t,r){this.data={id:n,func:(o,...i)=>r(o,typeofthis.prev=="function"?this.prev:this.prev.data.func,i)},this.prev=t}}varB=(e,n,t,r)=>{consto=e[r][n];if(o.data.id===t){if(typeofo.prev=="function"){e[n]=o.prev,deletee[r][n];return}e[r][n]=o.prev,e[n]=o.prev.data.func;return}consti=a=>a&&typeofa.prev=="object"?(a.data=a.prev.data,a.prev=a.prev.prev,i(a.prev)):!0,f=a=>{if(!a)thrownewError("could not find unpatch");returntypeofa.prev=="object"&&a.data.id!==t?f(a.prev):i(a)};letl=Object.assign({},o);f(l),e[r][n]=l,e[n]=l.data.func},T=function(e,n,t,r,o){if(r==="m")thrownewTypeError("Private method is not writable");if(r==="a"&&!o)thrownewTypeError("Private accessor was defined without a setter");if(typeofn=="function"?e!==n||!o:!n.has(e))thrownewTypeError("Cannot write private member to an object whose class did not declare it");returnr==="a"?o.call(e,t):o?o.value=t:n.set(e,t),t},s=function(e,n,t,r){if(t==="a"&&!r)thrownewTypeError("Private accessor was defined without a getter");if(typeofn=="function"?e!==n||!r:!n.has(e))thrownewTypeError("Cannot read private member from an object whose class did not declare it");returnt==="m"?r:t==="a"?r.call(e):r?r.value:n.get(e)},y,d,m,E;classx{constructor(n="simian"){y.add(this),d.set(this,void0),m.set(this,void0),T(this,d,Symbol(n),"f"),T(this,m,newSet,"f"),this.after=s(this,y,"m",E).call(this,"AFTER"),this.before=s(this,y,"m",E).call(this,"BEFORE"),this.instead=s(this,y,"m",E).call(this,"INSTEAD")}cleanupAll(){for(constnofs(this,m,"f")){for(consttinn[s(this,d,"f")]){constr=M(s(this,d,"f"),n,t);n[t]=r,n[s(this,d,"f")][t]=void0}n[s(this,d,"f")]=void0,deleten[s(this,d,"f")]}s(this,m,"f").clear()}}d=newWeakMap,m=newWeakMap,y=newWeakSet,E=function(n){return(t,r,o)=>{consti=r[t];if(typeofi!="function")thrownewError(`${t} is not a function on ${r}`);constf=Symbol();r[s(this,d,"f")]===void0&&(r[s(this,d,"f")]={});letl;switch(n){case"AFTER":l=(h,v,_)=>{letw=v.apply(h,_);constS=o.apply(h,[_,w]);returntypeofS!="undefined"&&(w=S),w};break;case"BEFORE":l=(h,v,_)=>{varw;letS=_;constF=(w=o.apply(h,[_]))!==null&&w!==void0?w:_;returnArray.isArray(F)&&(S=F),v.apply(h,S)};break;case"INSTEAD":l=(h,v,_)=>o.apply(h,[_,v.bind(h)]);break}leta=r[s(this,d,"f")][t];returna===void0?a=newO(f,i,l):a=newO(f,a,l),r[s(this,d,"f")][t]=a,r[t]=function(){returna.data.func(this,...arguments)},Object.assign(r[t],i),s(this,m,"f").add(r),()=>B(r,t,f,s(this,d,"f"))}};functionI(){lete={};returnwindow.webpackChunkdiscord_app.push([[Math.random().toString(36)],{},n=>{e=n}]),e.c}functionL(e,n){lett=[];for(constrinn){consto=n[r].exports;o&&(o.default&&o.__esModule&&e(o.default)?t.push(o.default):e(o)&&t.push(o))}returnt}letp={modules:I(),filter:L,find:e=>p.filter(e,p.modules)[0],findAll:e=>p.filter(e,p.modules),findByProps:(...e)=>p.find(n=>e.every(t=>n[t]!==void0)),findByPropsAll:(...e)=>p.findAll(n=>e.every(t=>n[t]!==void0))};function$(){vare=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);if(!e||!indexedDB.databases)returnPromise.resolve();varn;returnnewPromise(function(t){varr=function(){returnindexedDB.databases().finally(t)};n=setInterval(r,100),r()}).finally(function(){returnclearInterval(n)})}functionu(e){returnnewPromise((n,t)=>{e.oncomplete=e.onsuccess=()=>n(e.result),e.onabort=e.onerror=()=>t(e.error)})}functionA(e,n){constt=$().then(()=>{constr=indexedDB.open(e);returnr.onupgradeneeded=()=>r.result.createObjectStore(n),u(r)});return(r,o)=>t.then(i=>o(i.transaction(n,r).objectStore(n)))}letP;functionc(){returnP||(P=A("keyval-store","keyval")),P}functiong(e,n=c()){returnn("readonly",t=>u(t.get(e)))}functionb(e,n,t=c()){returnt("readwrite",r=>(r.put(n,e),u(r.transaction)))}functionU(e,n=c()){returnn("readwrite",t=>(e.forEach(r=>t.put(r[1],r[0])),u(t.transaction)))}functionW(e,n=c()){returnn("readonly",t