We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zorin OS Core 16.2
Discord installed from discord deb file.
Discord not start after plug.
Launched discord with replugged
error
$ discord A JavaScript error occurred in the main process Uncaught Exception: /home/skiexx/.config/replugged/replugged.asar/main.js:1 "use strict";var R6=Object.create;var Pr=Object.defineProperty;var P6=Object.getOwnPropertyDescriptor;var k6=Object.getOwnPropertyNames;var A6=Object.getPrototypeOf,D6=Object.prototype.hasOwnProperty;var U=(a,e)=>()=>(a&&(e=a(a=0)),e);var H=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports),O6=(a,e)=>{for(var t in e)Pr(a,t,{get:e[t],enumerable:!0})},md=(a,e,t,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of k6(e))!D6.call(a,s)&&s!==t&&Pr(a,s,{get:()=>e[s],enumerable:!(p=P6(e,s))||p.enumerable});return a};var Me=(a,e,t)=>(t=a!=null?R6(A6(a)):{},md(e||!a||!a.__esModule?Pr(t,"default",{value:a,enumerable:!0}):t,a)),C6=a=>md(Pr({},"__esModule",{value:!0}),a);var ud=(a,e,t)=>{if(!e.has(a))throw TypeError("Cannot "+t)};var Z=(a,e,t)=>(ud(a,e,"read from private field"),t?t.call(a):e.get(a)),Pe=(a,e,t)=>{if(e.has(a))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(a):e.set(a,t)},he=(a,e,t,p)=>(ud(a,e,"write to private field"),p?p.call(a,t):e.set(a,t),t);var fd,ge,ha,kr,N6,Ua,hd,le,cd,at=U(()=>{"use strict";fd=require("child_process"),ge=require("fs"),ha=require("path"),kr="replugged",N6=()=>{let a=process.env.SUDO_USER||process.env.DOAS_USER,e=process.env.HOME;switch(process.platform){case"win32":return(0,ha.join)(process.env.APPDATA||"",kr);case"darwin":return(0,ha.join)(e||"","Library","Application Support",kr);default:if(process.env.XDG_CONFIG_HOME)return(0,ha.join)(process.env.XDG_CONFIG_HOME,kr);if(a)try{let t=(0,fd.execSync)(`getent passwd ${a}`,{stdio:[null,null,"ignore"]}).toString("utf-8").split(":")[5];t&&(0,ge.existsSync)(t)?e=t:(console.error(new Error(`Passwd entry for "${a}" contains an invalid home directory.`)),process.exit(1))}catch(t){console.error("Could not find passwd entry of sudo/doas user",t),process.exit(1)}return(0,ha.join)(e||"",".config",kr)}},Ua=N6();(0,ge.existsSync)(Ua)||(0,ge.mkdirSync)(Ua,{recursive:!0});hd=["plugins","themes","settings","quickcss"],le=Object.fromEntries(hd.map(a=>{let e=(0,ha.join)(Ua,a);return(0,ge.existsSync)(e)||(0,ge.mkdirSync)(e),[a,e]}));if(process.platform==="linux"){let{uid:a,gid:e}=(0,ge.statSync)((0,ha.join)(Ua,".."));(0,ge.chownSync)(Ua,a,e),hd.forEach(t=>(0,ge.chownSync)((0,ha.join)(Ua,t),a,e))}cd=(0,ha.join)(le.quickcss,"main.css");(0,ge.existsSync)(cd)||(0,ge.writeFileSync)(cd,"")});var gd=U(()=>{"use strict"});var vd=U(()=>{"use strict"});var _d=U(()=>{"use strict"});var wd=U(()=>{"use strict"});var bd=U(()=>{"use strict"});var yd=U(()=>{"use strict"});var Td=U(()=>{"use strict"});var Ed=U(()=>{"use strict"});var La=U(()=>{"use strict";gd();vd();_d();wd();bd();yd();Td();Ed()});function F6(a){Pd=a}function Dr(){return Pd}function T(a,e){let t=Or({issueData:e,data:a.data,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,Dr(),T1].filter(p=>!!p)});a.common.issues.push(t)}function N(a){if(!a)return{};let{errorMap:e,invalid_type_error:t,required_error:p,description:s}=a;if(e&&(t||p))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(n,l)=>n.code!=="invalid_type"?{message:l.defaultError}:typeof l.data>"u"?{message:p??l.defaultError}:{message:t??l.defaultError},description:s}}function M6(a,e){return!!((e==="v4"||!e)&&j6.test(a)||(e==="v6"||!e)&&W6.test(a))}function $6(a,e){let t=(a.toString().split(".")[1]||"").length,p=(e.toString().split(".")[1]||"").length,s=t>p?t:p,d=parseInt(a.toFixed(s).replace(".","")),n=parseInt(e.toFixed(s).replace(".",""));return d%n/Math.pow(10,s)}function Vt(a){if(a instanceof X){let e={};for(let t in a.shape){let p=a.shape[t];e[t]=$e.create(Vt(p))}return new X({...a._def,shape:()=>e})}else return a instanceof De?new De({...a._def,type:Vt(a.element)}):a instanceof $e?$e.create(Vt(a.unwrap())):a instanceof wa?wa.create(Vt(a.unwrap())):a instanceof Ue?Ue.create(a.items.map(e=>Vt(e))):a}function Mp(a,e){let t=Ia(a),p=Ia(e);if(a===e)returvar Xx=Object.defineProperty;var b=(i,e)=>()=>(i&&(e=i(i=0)),e);var A=(i,e)=>{for(var t in e)Xx(i,t,{get:e[t],enumerable:!0})};var oa={};A(oa,{Logger:()=>j,error:()=>vn,log:()=>Ki,warn:()=>ed});function Ki(i,e,t=Er,...n){console.log(na(i,e),ra(t),...n)}function ed(i,e,t=Er,...n){console.warn(na(i,e),ra(t),...n)}function vn(i,e,t=Er,...n){console.error(na(i,e),ra(t),...n)}var Er,na,ra,j,Je=b(()=>{"use strict";Er="#5865F2",na=(i,e)=>`%c[Replugged:${i}:${e}]`,ra=i=>`color: ${typeof i=="string"?i:Er}`;j=class{constructor(e,t,n=Er){this.type=e,this.name=t,this.color=n}log(...e){Ki(this.type,this.name,this.color,...e)}warn(...e){ed(this.type,this.name,this.color,...e)}error(...e){vn(this.type,this.name,this.color,...e)}static api(e,t){return new j("API",e,t)}static coremod(e,t){return new j("Coremod",e,t)}static plugin(e,t){return new j("Plugin",e,t)}}});var nd={};A(nd,{_buildPopoverElements:()=>Yx,addButton:()=>sa,buttons:()=>Ao,removeButton:()=>id});function sa(i,e){return Ao.set(i,`${e||"repluggedButton"}-${Math.random().toString(36).substring(2)}`),()=>id(i)}function id(i){Ao.delete(i)}function Yx(i,e,t){let n=[];return Ao.forEach((r,o)=>{try{let s=o(i,e);try{s&&(s.message??=i,s.channel??=e,s.key=r,n.push(t(s)))}catch(l){td.error(`Error in making the button [${s?.key}]`,l,s)}}catch(s){td.error("Error while running GetButtonItem function",s,o)}}),n}var td,Ao,la=b(()=>{"use strict";Je();td=j.api("MessagePopover"),Ao=new Map});function od(i){let e=i.toString(),t=rd.reduce((n,r)=>{if(r.find&&!(typeof r.find=="string"?n.includes(r.find):r.find.test(n))||r.check&&!r.check(n))return n;let o=r.replacements.reduce((s,l)=>l(s),n);return o===n?n:o},e);return t===e?i:(0,eval)(t)}function Mo(i){rd.push(...i.map(e=>({...e,replacements:e.replacements.map(t=>typeof t=="function"?t:n=>n.replace(t.match,t.replace))})))}var rd,Do=b(()=>{"use strict";rd=[]});function Zx(i){let e=i.push;async function t(n){await Jx;let r=n[1];for(let o in r){let s=r[o];qi[o]=s.toString();let l=od(s);r[o]=function(a,c,h){l(a,c,h);for(let[u,d]of Lo)u(a)&&d(a)}}return e.call(i,n)}Object.defineProperty(i,"push",{get:()=>t,set:n=>e=n,configurable:!0})}function sd(i){ri=i.push([[Symbol("replugged")],{},e=>e]),ri.d=(e,t)=>{for(let n in t)Object.hasOwnProperty.call(t,n)&&!Object.hasOwnProperty.call(e,n)&&Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>t[n](),set:r=>t[n]=()=>r})},Zx(i),ld()}var ri,ld,ad,cd,aa,Jx,qi,Io,kn=b(()=>{"use strict";No();Do();ad=!1,cd=new Promise(i=>ld=()=>{ad=!0,i()}),Jx=new Promise(i=>aa=i),qi={};window.webpackChunkdiscord_app?(Io=window.webpackChunkdiscord_app,sd(Io)):Object.defineProperty(window,"webpackChunkdiscord_app",{get:()=>Io,set:i=>{!ad&&i?.push!==Array.prototype.push&&sd(i),Io=i},configurable:!0})});function ca({text:i,err:e,...t}){e instanceof Error&&(e.name==="SecurityError"&&/^Blocked a frame with origin ".+" from accessing a cross-origin frame\.$/.test(e.message)||e.name==="TypeError"&&/^Illegal invocation$/.test(e.message))||ew.error(i,{err:e,...t})}var ew,hd=b(()=>{"use strict";Je();ew=j.api("webpack")});function Ar(i){if(typeof i.exports=="object"&&i.exports&&Object.keys(i.exports).length===1){for(let e of["Z","ZP","default"])if(e in i.exports)return i.exports[e]}return i.exports}function*tw(i){if(i&&(typeof i=="object"||typeof i=="function")){yield i;for(let e in i)try{let t=i[e];t&&(typeof t=="object"||typeof t=="function")&&(yield t)}catch{}}}function de(i,e){for(let t of tw(i))if(e.every(n=>n in t))return t}function ud(i,e=!1){i in ri.c||ri(i);let t=ri.c[i];return e?t:typeof t<"u"?Ar(t):void 0}function kt(i,e={all:!1,raw:!1}){try{if(typeof ri?.c>"u")return e.all?[]:void 0;let t=r=>{try{return i(r)}catch(o){return ca({text:"Error in getModule filter",err:o,filter:i,mod:r}),!1}},n=e.all?Object.values(ri.c).filter(t):Object.values(ri.c).find(t);if(e.raw)return n;if(Array.isArray(n))return n.map(r=>Ar(r)).filter(r=>typeof r<"u");if(n)return Ar(n)}catch(t){return ca({text:"Error getting module",err:t,filter:i}),e.all?[]:void 0}}var Mr=b(()=>{"use strict";kn();hd()});function iw(i,e,t=!1){let n=t?e:s=>{let l=Ar(s);typeof l<"u"&&e(l)},r=kt(i,{raw:!0});r&&n(r);let o=[i,n];return Lo.add(o),()=>void Lo.delete(o)}async function M(i,e={}){let t=kt(i,{all:!1,raw:e.raw});if(t)return t;let n=new Promise(s=>{let l=iw(i,a=>{l(),s(a)},e.raw)});if(!e.timeout)return n;let r,o=new Promise((s,l)=>{r=setTimeout(()=>{l(new Error(`waitForModule timed out after ${e.timeout}ms`))},e.timeout)});return Promise.race([n,o]).finally(()=>{clearTimeout(r)})}var Lo,No=b(()=>{"use strict";Mr();Lo=new Set});function dd(i,e){if(typeof i=="object"&&i!==null)for(let t in i)try{let n=i[t];if(typeof n=="function"){let r=!1;switch(typeof e){case"function":r=e(n);break;case"string":r=n.toString().includes(e);break;default:r=e.test(n.toString())}if(r)return[t,n]}}catch{}}function W(i,e){return dd(i,e)?.[1]}function Cn(i,e){return dd(i,e)?.[0]}var fd=b(()=>{"use strict"});var I={};A(I,{byProps:()=>Tn,bySource:()=>ha,byValue:()=>ua});var Tn,ha,ua,da=b(()=>{"use strict";Mr();kn();Tn=(...i)=>e=>typeof de(e.exports,i)<"u",ha=i=>e=>{let t=qi[e.id];return t?typeof i=="string"?t.includes(i):i.test(t):!1},ua=i=>e=>{if(!e.exports||typeof e.exports!="object")return!1;let t=typeof i=="string";for(let n in e.exports)try{let r=e.exports[n];if(t?r===i:typeof r=="string"&&i.test(r))return!0}catch{}return!1}});var pd={};A(pd,{default:()=>fa});var fa,pa=b(async()=>{"use strict";await _();fa=await $("Store","connectStores")});function Si(i,e={all:!1,raw:!1}){return kt(ha(i),e)}function Ct(...i){let e=typeof i[0]=="string"?i:i[0],t=typeof i[0]=="string"?!1:i[1]?.raw,n=typeof i.at(-1)=="object"?kt(Tn(...e),i.at(-1)):kt(Tn(...e));return t||typeof n>"u"?n:n instanceof Array?n.map(r=>de(r,e)):de(n,e)}async function $(...i){let e=typeof i[0]=="string"?i:i[0],t=typeof i[0]=="string"?!1:i[1]?.raw,n=await(typeof i.at(-1)=="object"?M(Tn(...e),i.at(-1)):M(Tn(...e)));return t?n:de(n,e)}function ma(i,e={all:!1,raw:!1}){return kt(ua(i),e)}function nw(i){return fa.Store.getAll().find(t=>t.getName()===i)}var md=b(async()=>{"use strict";Mr();da();await pa();No()});var vi={};A(vi,{filters:()=>I,getById:()=>ud,getByProps:()=>Ct,getBySource:()=>Si,getByStoreName:()=>nw,getByValue:()=>ma,getExportsForProps:()=>de,getFunctionBySource:()=>W,getFunctionKeyBySource:()=>Cn,getModule:()=>kt,waitForModule:()=>M,waitForProps:()=>$});var _=b(async()=>{"use strict";No();fd();Mr();da();md()});var On={};A(On,{findInReactTree:()=>sw,findInTree:()=>Go,forceUpdateElement:()=>ow,getOwnerInstance:()=>yd,getReactInstance:()=>gd,goToOrJoinServer:()=>ya,loadStyleSheet:()=>oi,openExternal:()=>Rn,sleep:()=>ga,useSetting:()=>jt,useSettingArray:()=>ba,virtualMerge:()=>Ft,waitFor:()=>rw});async function rw(i){let e=null;for(;!e;)e=document.querySelector(i),await new Promise(t=>requestAnimationFrame(t));return e}function ga(i){return new Promise(e=>setTimeout(e,i))}function gd(i){let t=Object.keys(i).find(n=>n.startsWith("__reactFiber$"));if(!t)throw new Error("Could not find react fiber");return i[t]}function yd(i){let e=gd(i);for(;e;){let t=e.stateNode;if(t&&!(t instanceof Element))return t;e=e.return}throw new Error("Could not find react owner")}function ow(i,e=!1){(e?[...document.querySelectorAll(i)]:[document.querySelector(i)]).filter(Boolean).forEach(n=>yd(n)?.forceUpdate())}async function ya(i){if(!Bo||!Fo||!_o){if(Bo=Ct("getInvite")?.getInvite,!Bo)throw new Error("Could not find getInvite");if(Fo=Ct("resolveInvite")?.resolveInvite,!Fo)throw new Error("Could not find resolveInvite");let r=Si("Transitioning to");if(!r)throw new Error("Could not find transitionTo");if(_o=W(r,"Transitioning to"),!_o)throw new Error("Could not find transitionTo")}let e=Bo(i)||(await Fo(i))?.invite;if(!e)throw new Error("Could not resolve invite");let{channel:{id:t},guild:{id:n}}=e;if(Wo.getGuild(n)){let r=Uo.getChannelId(n);_o(`/channels/${n}/${r||t}`);return}si.dispatch({type:"INVITE_MODAL_OPEN",context:"APP",invite:e,code:i})}async function Rn(i){let e=Si('.target="_blank"');if(!e)throw new Error("Could not find openExternal");return await e(i)}function jt(i,e,t){let n=i.get(e,t),[r,o]=Z.useState(n);return{value:r,onChange:s=>{let l=s&&typeof s=="object",a=l&&"value"in s?s.value:s,c=l&&"checked"in s?s.checked:void 0,h=l&&"target"in s&&s.target&&typeof s.target=="object"?s.target:void 0,u=h&&"value"in h?h.value:void 0,d=h&&"checked"in h?h.checked:void 0,f=c??d??u??a??s;o(f),i.set(e,f)}}}function ba(i,e,t){let{value:n,onChange:r}=jt(i,e,t);return[n,r]}function Ft(...i){let e={};function t(r){for(let o of i)if(r in o)return o;return e}let n={ownKeys(){return i.map(r=>Reflect.ownKeys(r)).flat()}};for(let r of["defineProperty","deleteProperty","get","getOwnPropertyDescriptor","has","set"])n[r]=function(o,...s){return r==="get"&&s[0]==="all"?()=>i.reduce((l,a)=>({...l,...a}),{}):Reflect[r](t(s[0]),...s)};return new Proxy(e,n)}function Go(i,e,t={maxRecursion:100}){let{walkable:n,ignore:r,maxRecursion:o}=t;if(o<=0)return;if(typeof e=="string"){if(Object.prototype.hasOwnProperty.call(i,e))return i[e]}else if(e(i))return i;if(typeof i!="object"||i==null)return;let s;if(Array.isArray(i)){for(let l of i)if(s=Go(l,e,{walkable:n,ignore:r,maxRecursion:o-1}),typeof s<"u")return s}else{let l=n??Object.keys(i);for(let a of l)if(!(!Object.prototype.hasOwnProperty.call(i,a)||r?.includes(a))&&(s=Go(i[a],e,{walkable:n,ignore:r,maxRecursion:o-1}),typeof s<"u"))return s}return s}function sw(i,e,t=100){return Go(i,e,{walkable:["props","children","child","sibling"],maxRecursion:t})}var oi,Bo,Fo,_o,Ze=b(async()=>{"use strict";ot();await _();oi=i=>{let e=document.createElement("link");return e.rel="stylesheet",e.href=`${i}?t=${Date.now()}`,document.head.appendChild(e),e}});var bd={};A(bd,{default:()=>lw});var lw,xd=b(async()=>{"use strict";await _();await Ze();lw=Ft(await $("getChannelId","getLastSelectedChannelId","getVoiceChannelId").then(Object.getPrototypeOf),await $("getChannel","hasChannel").then(Object.getPrototypeOf))});var Sd={};A(Sd,{default:()=>aw,getCurrentGuild:()=>wd});function wd(){let i=xa.getGuildId();if(i)return xa.getGuild(i)}var xa,aw,vd=b(async()=>{"use strict";await _();await Ze();xa={...await $("getGuild","getGuilds").then(Object.getPrototypeOf),...await $("getGuildId","getLastSelectedGuildId").then(Object.getPrototypeOf)};aw=Ft(xa,{getCurrentGuild:wd})});var Td={};A(Td,{ActivityActionTypes:()=>Cd,default:()=>cw});var Cd,kd,cw,Rd=b(async()=>{"use strict";await _();await Ze();Cd=(r=>(r[r.JOIN=1]="JOIN",r[r.LISTEN=3]="LISTEN",r[r.WATCH=4]="WATCH",r[r.JOIN_REQUEST=5]="JOIN_REQUEST",r))(Cd||{}),kd=await $("getMessage","getMessages"),cw=Ft(await $("sendMessage","editMessage","deleteMessage"),{getMessage:kd.getMessage,getMessages:kd.getMessages})});var Od={};A(Od,{default:()=>hw});var hw,Pd=b(async()=>{"use strict";await _();await Ze();hw=Ft(await $("getUser","getCurrentUser").then(Object.getPrototypeOf),await $("getTrueMember","getMember").then(Object.getPrototypeOf))});var Ed={};A(Ed,{default:()=>uw});var uw,Ad=b(async()=>{"use strict";await _();uw=await $("getAPIBaseURL","get","patch","post","put","delete")});var Dd={};A(Dd,{CSSVariables:()=>Tw,ChannelTypes:()=>ww,ColorGenerator:()=>Md,Endpoints:()=>Sw,GuildFeatures:()=>vw,Paths:()=>xw,Permissions:()=>fw,RPCCommands:()=>gw,RPCErrors:()=>mw,RPCEvents:()=>yw,Routes:()=>kw,Scopes:()=>pw,Status:()=>bw,Themes:()=>Rw,UserFlags:()=>Cw,raw:()=>dw});var ki,Pn,dw,fw,pw,mw,gw,yw,bw,xw,ww,Sw,vw,kw,Cw,Tw,Md,Rw,Id=b(async()=>{"use strict";await Ze();await _();ki=await M(I.bySource("BASE_URL:")),Pn=await M(I.bySource("USER_PROFILE:")),dw=Ft(ki,Pn),fw=de(ki,["ADMINISTRATOR","MANAGE_GUILD"]),pw=de(ki,["BOT","GUILDS"]),mw=de(ki,["RATELIMITED","TOKEN_REVOKED"]),gw=de(ki,["AUTHENTICATE","AUTHORIZE"]),yw=de(ki,["GUILD_CREATE","ERROR"]),bw=de(ki,["ONLINE","IDLE"]),xw=de(ki,["INDEX","DOWNLOADS"]),ww=de(Pn,["DM","GUILD_FORUM"]),Sw=de(Pn,["USERS","INTEGRATIONS"]),vw=de(Pn,["VERIFIED","ANIMATED_BANNER"]),kw=de(Pn,["INDEX","LOGIN"]),Cw=de(Pn,["STAFF","SPAMMER"]),Tw=await $("TEXT_NORMAL","BACKGROUND_PRIMARY"),Md=await M(I.bySource(/\w+\.unsafe_rawColors\[\w+\]\.resolve\(\w+\)/)),Rw=Md.themes});var Ld={};A(Ld,{default:()=>Ow});var wa,Ow,Nd=b(async()=>{"use strict";await _();wa=await M(I.bySource('type:"CONTEXT_MENU_OPEN"')),Ow={open:W(wa,"stopPropagation"),openLazy:W(wa,i=>i.toString().length<50),close:W(wa,"CONTEXT_MENU_CLOSE")}});var Fd={};A(Fd,{Band:()=>Bd,default:()=>Pw});var Bd,Pw,_d=b(async()=>{"use strict";await _();Bd=(n=>(n[n.Early=0]="Early",n[n.Database=1]="Database",n[n.Default=2]="Default",n))(Bd||{}),Pw=await $("_currentDispatchActionType","_processingWaitQueue")});var Ud={};A(Ud,{Messages:()=>x,default:()=>Dr});var Gd,x,Dr,st=b(async()=>{"use strict";await _();Gd=await $("Messages","getLanguages"),{Messages:x}=Gd,Dr=Gd});var Hd={};A(Hd,{default:()=>Aw});var Ew,Wd,$d,$o,Aw,zd=b(async()=>{"use strict";await _();Ew={title:"Are you sure you want to continue?",cancelText:"Cancel"},Wd=await M(I.bySource("onCloseRequest:null!=")),$d=await $("show","close"),$o=Si("().justifyStart"),Aw={openModal:W(Wd,"onCloseRequest:null!="),closeModal:W(Wd,"onCloseCallback&&"),Direction:$o?.Direction,Align:$o?.Align,Justify:$o?.Justify,Wrap:$o?.Wrap,alert:$d.show,confirm:i=>new Promise(e=>{let t=!1,n=()=>{i.onConfirm&&i.onConfirm(),t=!0,e(!0)},r=()=>{i.onCancel&&i.onCancel(),t=!0,e(!1)},o=()=>{i.onCloseCallback&&i.onCloseCallback(),setTimeout(()=>{t||e(null)},0)};$d.show({...Ew,...i,onConfirm:n,onCancel:r,onCloseCallback:o})})}});var Vd={};A(Vd,{default:()=>Mw});var Mw,jd=b(async()=>{"use strict";await _();Mw=await $("parse","parseTopic")});var Kd={};A(Kd,{default:()=>En});var Qd,Dw,Iw,Lw,Nw,Bw,Fw,En,Sa=b(async()=>{"use strict";await _();Qd={MESSAGE:0,SUCCESS:1,FAILURE:2,CUSTOM:3,CLIP:4},Dw={TOP:0,BOTTOM:1},Iw=await M(I.bySource("queuedToasts")),Lw=W(Iw,"queuedToasts).concat"),Nw=await M(I.bySource(/case (\w+\.){1,2}FAILURE/)),Bw=W(Nw,/options:{position:\w+,component:\w+,duration:\w+}/),Fw=(i,e=Qd.SUCCESS,t=void 0)=>{let n=Bw(i,e,t);Lw(n)},En={toast:Fw,Kind:Qd,Position:Dw}});var qd={};A(qd,{default:()=>_w});var _w,Xd=b(async()=>{"use strict";await _();_w=await $("startTyping","stopTyping")});var Yd={};A(Yd,{default:()=>Gw});var Gw,Jd=b(async()=>{"use strict";await _();Gw=await $("initHighlighting","highlight")});var Zd={};A(Zd,{default:()=>Uw});var Uw,ef=b(async()=>{"use strict";await _();Uw=await $("debounce")});var tf={};A(tf,{default:()=>Ww});var Ww,nf=b(async()=>{"use strict";await _();Ww=await $("isMoment")});var rf={};A(rf,{default:()=>z});var z,He=b(async()=>{"use strict";await _();z=await $("createElement","useState")});var of={};A(of,{default:()=>$w});var $w,sf=b(async()=>{"use strict";await _();$w=await $("createPortal","flushSync")});var Vo={};A(Vo,{React:()=>Z,ReactDOM:()=>gf,api:()=>Ir,channels:()=>Uo,constants:()=>cf,contextMenu:()=>hf,flux:()=>uf,fluxDispatcher:()=>si,guilds:()=>Wo,hljs:()=>ff,i18n:()=>_t,lodash:()=>pf,messages:()=>af,modal:()=>li,moment:()=>mf,parser:()=>zo,ready:()=>va,toast:()=>G,typing:()=>df,users:()=>Ho});function Pe(i,e,t){lf.push(()=>new Promise((n,r)=>{let o=setTimeout(()=>{vn("CommonModules",i,void 0,`Could not find module "${i}"`),r(new Error(`Module not found: "${i}`))},1e4);e.then(s=>{clearTimeout(o),t(s),n()})}))}var lf,Uo,Wo,af,Ho,Ir,cf,hf,uf,si,_t,li,zo,G,df,ff,pf,mf,Z,gf,va,ot=b(()=>{"use strict";Je();lf=[];Pe("channels",xd().then(()=>bd),i=>Uo=i.default);Pe("guilds",vd().then(()=>Sd),i=>Wo=i.default);Pe("messages",Rd().then(()=>Td),i=>af=i.default);Pe("users",Pd().then(()=>Od),i=>Ho=i.default);Pe("api",Ad().then(()=>Ed),i=>Ir=i.default);Pe("constants",Id().then(()=>Dd),i=>cf=i);Pe("contextMenu",Nd().then(()=>Ld),i=>hf=i.default);Pe("flux",pa().then(()=>pd),i=>uf=i.default);Pe("fluxDispatcher",_d().then(()=>Fd),i=>si=i.default);Pe("i18n",st().then(()=>Ud),i=>_t=i.default);Pe("modal",zd().then(()=>Hd),i=>li=i.default);Pe("parser",jd().then(()=>Vd),i=>zo=i.default);Pe("toast",Sa().then(()=>Kd),i=>G=i.default);Pe("typing",Xd().then(()=>qd),i=>df=i.default);Pe("hljs",Jd().then(()=>Yd),i=>ff=i.default);Pe("lodash",ef().then(()=>Zd),i=>pf=i.default);Pe("moment",nf().then(()=>tf),i=>mf=i.default);Pe("React",He().then(()=>rf),i=>Z=i.default);Pe("ReactDOM",sf().then(()=>of),i=>gf=i.default);va=()=>new Promise(i=>Promise.allSettled(lf.map(e=>e())).then(()=>i()))});var xf={};A(xf,{_insertMenuItems:()=>zw,addContextMenuItem:()=>ka,menuItems:()=>Ci,removeContextMenuItem:()=>bf});function yf(i){if(!Z)return;if(!i||Z.isValidElement(i))return i;let{type:e,...t}=i;return t.children&&(t.children=t.children.map(n=>yf(n))),Z.createElement(e,t)}function ka(i,e,t,n){return Ci[i]||(Ci[i]=[]),Ci[i].push({getItem:e,sectionId:t,indexInSection:n}),()=>bf(i,e)}function bf(i,e){let t=Ci[i];Ci[i]=t.filter(n=>n.getItem!==e)}function zw(i){let{navId:e}=i;if(!Ci[e]||i.plugged)return;let{MenuGroup:t}=Ct(["Menu","MenuItem","MenuGroup"]);if(!t)return;let n=i.data[0],r=window.replugged.common.React.createElement(t,null);r.props.id="replugged",r.props.children=[],i.children.splice(-1,0,r),Ci[e].forEach(o=>{try{let s=yf(o.getItem(n,i));s?.props&&(s.props.id=`${s.props.id||"repluggedItem"}-${Math.random().toString(36).substring(2)}`),i.children.at(o.sectionId)?.props?.children?.splice(o.indexInSection,0,s)}catch(s){Hw.error("Error while running GetContextItem function",s,o.getItem)}}),i.plugged=!0}var Hw,Ci,Ca=b(async()=>{"use strict";ot();Je();await _();Hw=j.api("ContextMenu"),Ci={}});var Ra={};A(Ra,{Injector:()=>ht});function Vw(i,e){if(typeof i[e]!="function")throw new TypeError(`Value of '${e}' in object is not a function`);let t;if(jo.has(i)?t=jo.get(i):(t={injections:new Map,original:new Map},jo.set(i,t)),t.injections.has(e)||t.injections.set(e,{before:new Set,instead:new Set,after:new Set}),!t.original.has(e)){t.original.set(e,i[e]);let n=i[e];i[e]=function(...r){let o=t.injections.get(e);for(let l of o.before){let a=l(r,this);Array.isArray(a)&&(r=a)}let s;if(o.instead.size===0)s=n.apply(this,r);else for(let l of o.instead){let a=l(r,n,this);a!==void 0&&(s=a)}for(let l of o.after){let a=l(r,s,this);a!==void 0&&(s=a)}return s},Object.defineProperties(i[e],Object.getOwnPropertyDescriptors(n)),i[e].toString=n.toString.bind(n)}}function Ta(i,e,t,n){Vw(i,e);let r=jo.get(i).injections.get(e),o;switch(n){case 0:o=r.before;break;case 1:o=r.instead;break;case 2:o=r.after;break;default:throw new Error(`Invalid injection type: ${n}`)}o.add(t);let s=new WeakRef(o);return()=>void s.deref()?.delete(t)}function jw(i,e,t){return Ta(i,e,t,0)}function Qw(i,e,t){return Ta(i,e,t,1)}function Kw(i,e,t){return Ta(i,e,t,2)}var jo,ht,Qo=b(async()=>{"use strict";la();await Ca();jo=new WeakMap;ht=class{constructor(){this.#e=new Set;this.utils={addPopoverButton:e=>{let t=sa(e);return this.#e.add(t),t},addMenuItem:(e,t,n=-2,r=1/0)=>{let o=ka(e,t,n,r);return this.#e.add(o),o}}}#e;before(e,t,n){let r=jw(e,t,n);return this.#e.add(r),r}instead(e,t,n){let r=Qw(e,t,n);return this.#e.add(r),r}after(e,t,n){let r=Kw(e,t,n);return this.#e.add(r),r}uninjectAll(){for(let e of this.#e)typeof e=="function"&&(e(),this.#e.delete(e))}}});var wf={};A(wf,{default:()=>qw});var qw,Sf=b(async()=>{"use strict";await _();qw=await M(I.bySource("HORIZONTAL_REVERSE:"))});var Cf={};A(Cf,{default:()=>tS});var Xw,Yw,vf,Jw,Zw,eS,kf,tS,Tf=b(async()=>{"use strict";await _();kn();Xw={DEFAULT:"default",BRAND:"brand",DANGER:"danger",PREMIUM:"premium",PREMIUM_GRADIENT:"premium-gradient",SUCCESS:"success"},Yw={separator:"MenuSeparator",checkbox:"MenuCheckboxItem",radio:"MenuRadioItem",control:"MenuControlItem",groupstart:"MenuGroup",customitem:"MenuItem"},vf=await M(I.bySource("\u266B \u2282(\uFF61\u25D5\u203F\u203F\u25D5\uFF61\u2282) \u266A")),Jw=await M(I.bySource("menuitemcheckbox"),{raw:!0}),Zw=qi[Jw?.id].matchAll(/if\(\w+\.type===(\w+)(?:\.\w+)?\).+?type:"(.+?)"/gs),eS=Object.values(vf).filter(i=>/^function.+\(e?\){(\s+)?return null(\s+)?}$/.test(i?.toString?.())).reduce((i,e)=>(i[e.name]=e,i),{}),kf={ItemColors:Xw,ContextMenu:W(vf,"getContainerProps")};for(let[,i,e]of Zw)kf[Yw[e]]=eS[i];tS=kf});var Oa={};A(Oa,{Switch:()=>iS,SwitchItem:()=>nS});var Rf,Of,iS,nS,Pa=b(async()=>{"use strict";await _();Rf="xMinYMid meet",Of=").dividerDefault",iS=await M(I.bySource(Rf)).then(i=>typeof i=="function"?i:W(i,Rf)),nS=await M(I.bySource(Of)).then(i=>typeof i=="function"?i:W(i,Of))});var Ea={};A(Ea,{Radio:()=>Ef,RadioItem:()=>rS});var Pf,Ef,rS,Aa=b(async()=>{"use strict";Me();await _();Pf=".itemInfoClassName",Ef=await M(I.bySource(Pf)).then(i=>W(i,Pf)),rS=i=>window.replugged.common.React.createElement(Qt,{title:i.children,style:{marginBottom:20,...i.style},note:i.note,disabled:i.disabled,divider:!0},window.replugged.common.React.createElement(Ef,{...i}))});var Da={};A(Da,{Select:()=>Ma,SelectItem:()=>lS});var oS,Af,sS,Ma,lS,Ia=b(async()=>{"use strict";Me();await _();oS={FILLED:0,CUSTOM:1},Af=/.\.options,.=.\.placeholder/,sS=await M(I.bySource(Af)).then(i=>W(i,Af)),Ma=i=>(!i.isSelected&&i.value!=null&&(i.isSelected=e=>e===i.value),i.serialize||(i.serialize=e=>e),window.replugged.common.React.createElement(sS,{isDisabled:i.disabled,select:i.onChange||i.onSelect,clear:i.onClear,...i}));Ma.Looks=oS;lS=i=>window.replugged.common.React.createElement(Qt,{title:i.children,style:{marginBottom:20,...i.style},note:i.note,notePosition:"after",disabled:i.disabled,divider:!0},window.replugged.common.React.createElement(Ma,{...i}))});var Mf={};A(Mf,{default:()=>aS});var Lr,aS,Df=b(async()=>{"use strict";await _();Lr=await M(I.bySource("().closeWithCircleBackground")),aS={ModalRoot:W(Lr,"().root"),ModalHeader:W(Lr,"().header"),ModalContent:W(Lr,"().content"),ModalFooter:W(Lr,"().footerSeparator"),ModalCloseButton:W(Lr,"().closeWithCircleBackground")}});var Lf={};A(Lf,{default:()=>cS});var If,cS,Nf=b(async()=>{"use strict";await _();If=/\.divider,.\),style:./,cS=await M(I.bySource(If)).then(i=>typeof i=="function"?i:W(i,If))});var Ff={};A(Ff,{default:()=>fS});var hS,uS,dS,Bf,Ko,fS,_f=b(async()=>{"use strict";await _();hS={BOTTOM:"bottom",CENTER:"center",LEFT:"left",RIGHT:"right",TOP:"top"},uS={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right",CENTER:"center",WINDOW_CENTER:"window_center"},dS=/shouldShowTooltip:!1/,Bf=await M(I.bySource(/tooltipTop,.{0,20}tooltipBottom/)).then(i=>W(i,dS)),Ko=i=>window.replugged.common.React.createElement(Bf,{...i},e=>(i.className&&(e.className?e.className+=` ${i.className}`:e.className=i.className),i.style&&(e.style?e.style={...e.style,...i.style}:e.style=i.style),window.replugged.common.React.createElement("span",{...e},i.children)));Ko.Aligns=hS;Ko.Colors=Bf.Colors;Ko.Positions=uS;fS=Ko});var Wf={};A(Wf,{FormText:()=>Uf});var Gf,pS,qo,Uf,$f=b(async()=>{"use strict";await _();Gf=await M(I.bySource("LABEL_SELECTED")),pS=W(Gf,'"type","className","disabled","selectable","children","style"'),qo=de(Gf,["LABEL_SELECTED"]),Uf={DEFAULT:()=>null,DESCRIPTION:()=>null,ERROR:()=>null,INPUT_PLACEHOLDER:()=>null,LABEL_BOLD:()=>null,LABEL_DESCRIPTOR:()=>null,LABEL_SELECTED:()=>null,SUCCESS:()=>null};typeof qo=="object"&&qo!==null&&Object.keys(qo).forEach(i=>{Uf[i]=e=>window.replugged.common.React.createElement(pS,{type:qo[i],...e},e.children)})});var zf={};A(zf,{default:()=>yS});var Hf,mS,gS,yS,Vf=b(async()=>{"use strict";Me();await _();Hf='"children","disabled","className","titleClassName","tag","required","style","title","error"',mS=await M(I.bySource(Hf)).then(i=>Object.values(i).find(e=>e?.render?.toString()?.includes(Hf))),gS=await $("dividerDefault"),yS=i=>{let{note:e,notePosition:t="before",noteStyle:n,noteClassName:r,divider:o,...s}=i;return window.replugged.common.React.createElement(mS,{...s},e&&t==="before"&&window.replugged.common.React.createElement(ai.DESCRIPTION,{disabled:i.disabled,className:r,style:{marginBottom:8,...n}},e),i.children,e&&t==="after"&&window.replugged.common.React.createElement(ai.DESCRIPTION,{disabled:i.disabled,className:r,style:{marginTop:8,...n}},e),o&&window.replugged.common.React.createElement(ze,{className:gS.dividerDefault}))}});var Qf={};A(Qf,{default:()=>bS});var jf,bS,Kf=b(async()=>{"use strict";await _();jf=".formNoticeTitle",bS=await M(I.bySource(jf)).then(i=>W(i,jf))});var Na={};A(Na,{Button:()=>La,ButtonItem:()=>xS});var La,Xo,xS,Ba=b(async()=>{"use strict";Me();await _();La=await M(I.bySource(".BorderColors=")).then(i=>W(i,"wrapperClassName")),Xo=await $("dividerDefault"),xS=i=>{let{hideBorder:e=!1}=i,t=window.replugged.common.React.createElement(La,{color:i.success?La.Colors.GREEN:i.color,disabled:i.disabled,onClick:i.onClick},i.button);return window.replugged.common.React.createElement("div",{style:{marginBottom:20}},window.replugged.common.React.createElement(U,{justify:U.Justify.END,style:{opacity:i.disabled?.3:void 0}},window.replugged.common.React.createElement(U.Child,null,window.replugged.common.React.createElement("div",{className:Xo.labelRow},window.replugged.common.React.createElement("label",{className:Xo.title,style:{cursor:i.disabled?"not-allowed":"pointer"}},i.children),i.tooltipText?window.replugged.common.React.createElement(Ve,{text:i.tooltipText,position:i.tooltipPosition,shouldShow:Boolean(i.tooltipText),className:U.Align.CENTER,style:{height:"100%"}},t):t),i.note&&window.replugged.common.React.createElement(ai.DESCRIPTION,{className:Xo.note},i.note))),!e&&window.replugged.common.React.createElement(ze,{className:Xo.dividerDefault}))}});var qf={};A(qf,{default:()=>SS});var wS,SS,Xf=b(async()=>{"use strict";await _();wS=await M(I.bySource("renderNonInteractive")).then(i=>Object.values(i).find(e=>e.prototype?.renderNonInteractive)),SS=i=>{let e=i.style||{};return e.cursor="pointer",window.replugged.common.React.createElement(wS,{...i,style:e})}});var Yf={};A(Yf,{default:()=>vS});var Yo,vS,Jf=b(async()=>{"use strict";await He();Me();await _();Yo=await $("dividerDefault"),vS=i=>{let[e,t]=z.useState(i.open||!1),n=()=>{i.disabled||(typeof i.onChange=="function"&&typeof i.open=="boolean"?i.onChange():t(!e))};return window.replugged.common.React.createElement("div",{style:{marginBottom:20}},window.replugged.common.React.createElement("div",{style:{cursor:i.disabled?"not-allowed":"pointer",alignItems:"center",display:"flex",opacity:i.disabled?.3:void 0},onClick:()=>{n()}},window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{width:28,height:28,marginRight:15,transition:"transform 0.3s",transform:e?"rotate(90deg)":void 0}},window.replugged.common.React.createElement("path",{fill:"var(--header-primary)",d:"M9.29 15.88L13.17 12 9.29 8.12c-.39-.39-.39-1.02 0-1.41.39-.39 1.02-.39 1.41 0l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3c-.39.39-1.02.39-1.41 0-.38-.39-.39-1.03 0-1.42z"})),window.replugged.common.React.createElement("div",{style:{flex:1}},window.replugged.common.React.createElement("div",{className:Yo.labelRow},window.replugged.common.React.createElement("label",{className:Yo.title,style:{cursor:i.disabled?"not-allowed":"pointer"}},i.title)),i.note&&window.replugged.common.React.createElement(ai.DESCRIPTION,{className:Yo.note},i.note))),e?window.replugged.common.React.createElement("div",{style:{marginTop:20,marginLeft:12,borderLeft:"1px var(--background-modifier-accent) solid",paddingLeft:33,cursor:i.disabled?"not-allowed":void 0,opacity:i.disabled?.3:void 0}},i.children):window.replugged.common.React.createElement(ze,{className:Yo.dividerDefault}))}});var Zf={};A(Zf,{default:()=>kS});var kS,ep=b(async()=>{"use strict";await _();kS=await M(I.bySource(".getIsOverFlowing")).then(i=>Object.values(i).find(e=>"defaultProps"in e&&"maxLength"in e.defaultProps))});var tp={};A(tp,{default:()=>CS});var CS,ip=b(async()=>{"use strict";await _();CS=await M(I.bySource(/.resizeable,/)).then(i=>Object.values(i).find(e=>e?.defaultProps&&"resizeable"in e.defaultProps))});var _a={};A(_a,{Slider:()=>Fa,SliderItem:()=>OS});var TS,RS,Fa,OS,Ga=b(async()=>{"use strict";Me();await _();TS={ABOVE:0,BELOW:1},RS=await M(I.bySource(".moveGrabber=")).then(i=>Object.values(i).find(e=>e?.defaultProps&&"stickToMarkers"in e.defaultProps)),Fa=i=>window.replugged.common.React.createElement(RS,{initialValue:i.value,onValueChange:i.onChange,...i});Fa.MarkerPositions=TS;OS=i=>{let{children:e,...t}=i;return window.replugged.common.React.createElement(Qt,{title:e,style:{marginBottom:20,...i.style},note:i.note,noteStyle:{marginBottom:i.markers?16:4},disabled:i.disabled,divider:!0},window.replugged.common.React.createElement(Fa,{...t}))}});var np={};A(np,{default:()=>AS});function Xi(i){return e=>{e={...i,...e};let{children:t}=e,n=e.markdown&&typeof t=="string"?zo.parse(t,!0,{allowLinks:e.allowMarkdownLinks,allowHeading:e.allowMarkdownHeading,allowList:e.allowMarkdownList}):t;return delete e.markdown,delete e.allowMarkdownLinks,delete e.allowMarkdownHeading,delete e.allowMarkdownList,window.replugged.common.React.createElement(ES,{...e},n)}}var PS,ES,Yi,AS,rp=b(async()=>{"use strict";ot();await _();PS=await M(I.bySource("data-text-variant")),ES=W(PS,"data-text-variant");Yi=Xi({});Yi.Normal=Xi({variant:"text-sm/normal",tag:"span"});Yi.H1=Xi({variant:"heading-xl/bold",color:"header-primary",tag:"h1"});Yi.H2=Xi({variant:"heading-lg/semibold",color:"header-primary",tag:"h2"});Yi.H3=Xi({variant:"heading-md/bold",tag:"h3"});Yi.H4=Xi({variant:"heading-sm/bold",tag:"h4"});Yi.Eyebrow=Xi({variant:"eyebrow"});AS=Yi});var op=b(()=>{});var sp={};A(sp,{default:()=>Jo});var MS,Jo,lp=b(async()=>{"use strict";await st();await He();Je();op();MS=new j("Components","ErrorBoundary"),Jo=class extends z.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){this.props.silent||MS.error("ErrorBoundary caught an error",e,t),this.props.onError&&this.props.onError(e,t)}render(){return this.state.hasError?this.props.fallback||window.replugged.common.React.createElement("div",{className:"replugged-error-boundary"},window.replugged.common.React.createElement("h1",null,x.REPLUGGED_SETTINGS_ERROR_HEADER),window.replugged.common.React.createElement("p",null,x.REPLUGGED_SETTINGS_ERROR_SUB_HEADER)):this.props.children}}});var ap={};A(ap,{default:()=>IS});var DS,IS,cp=b(async()=>{"use strict";await _();DS=await M(I.bySource('"wanderingCubes"')).then(i=>Object.values(i).find(e=>typeof e=="function")),IS=DS});var Ua={};A(Ua,{Checkbox:()=>hp,CheckboxItem:()=>LS});var hp,LS,Wa=b(async()=>{"use strict";Me();await _();hp=await M(I.bySource(".getInputMode")).then(i=>Object.values(i).find(e=>"defaultProps"in e&&"displayOnly"in e.defaultProps)),LS=i=>window.replugged.common.React.createElement(hp,{...i},i.children&&window.replugged.common.React.createElement(te,{variant:"text-sm/normal",style:i.style},i.children))});var dp={};A(dp,{default:()=>BS});var NS,up,BS,fp=b(async()=>{"use strict";await _();NS={WARNING:0,INFO:1,ERROR:2,POSITIVE:3},up=await M(I.bySource(/.\.messageType/)).then(i=>Object.values(i).find(e=>typeof e=="function"));up.Types=NS;BS=up});var Ha={};A(Ha,{Button:()=>J,ButtonItem:()=>es,Category:()=>Sp,Checkbox:()=>Tp,CheckboxItem:()=>Rp,Clickable:()=>ts,ContextMenu:()=>mp,Divider:()=>ze,ErrorBoundary:()=>ns,Flex:()=>U,FormItem:()=>Qt,FormNotice:()=>Nr,FormText:()=>ai,Loader:()=>Cp,Modal:()=>wp,Notice:()=>ut,Radio:()=>gp,RadioItem:()=>yp,Select:()=>bp,SelectItem:()=>xp,Slider:()=>kp,SliderItem:()=>is,Switch:()=>Zo,SwitchItem:()=>Ti,Text:()=>te,TextArea:()=>vp,TextInput:()=>An,Tooltip:()=>Ve,ready:()=>$a});function ie(i,e,t){pp.push(()=>new Promise((n,r)=>{let o=setTimeout(()=>{vn("Components",i,void 0,`Could not find component "${i}"`),r(new Error(`Module not found: "${i}`))},1e4);e.then(s=>{clearTimeout(o),t(s),n()})}))}var pp,U,mp,Zo,Ti,gp,yp,bp,xp,wp,ze,Ve,ai,Qt,Nr,J,es,ts,Sp,An,vp,kp,is,te,ns,Cp,Tp,Rp,ut,$a,Me=b(()=>{"use strict";Je();pp=[];ie("Flex",Sf().then(()=>wf),i=>U=i.default);ie("ContextMenu",Tf().then(()=>Cf),i=>mp=i.default);ie("Switch",Pa().then(()=>Oa),i=>Zo=i.Switch);ie("SwitchItem",Pa().then(()=>Oa),i=>Ti=i.SwitchItem);ie("Radio",Aa().then(()=>Ea),i=>gp=i.Radio);ie("RadioItem",Aa().then(()=>Ea),i=>yp=i.RadioItem);ie("Select",Ia().then(()=>Da),i=>bp=i.Select);ie("SelectItem",Ia().then(()=>Da),i=>xp=i.SelectItem);ie("Modal",Df().then(()=>Mf),i=>wp=i.default);ie("Divider",Nf().then(()=>Lf),i=>ze=i.default);ie("Tooltip",_f().then(()=>Ff),i=>Ve=i.default);ie("FormText",$f().then(()=>Wf),i=>ai=i.FormText);ie("FormItem",Vf().then(()=>zf),i=>Qt=i.default);ie("FormNotice",Kf().then(()=>Qf),i=>Nr=i.default);ie("Button",Ba().then(()=>Na),i=>J=i.Button);ie("ButtonItem",Ba().then(()=>Na),i=>es=i.ButtonItem);ie("Clickable",Xf().then(()=>qf),i=>ts=i.default);ie("Category",Jf().then(()=>Yf),i=>Sp=i.default);ie("TextInput",ep().then(()=>Zf),i=>An=i.default);ie("TextArea",ip().then(()=>tp),i=>vp=i.default);ie("Slider",Ga().then(()=>_a),i=>kp=i.Slider);ie("SliderItem",Ga().then(()=>_a),i=>is=i.SliderItem);ie("Text",rp().then(()=>np),i=>te=i.default);ie("ErrorBoundary",lp().then(()=>sp),i=>ns=i.default);ie("Loader",cp().then(()=>ap),i=>Cp=i.default);ie("Checkbox",Wa().then(()=>Ua),i=>Tp=i.Checkbox);ie("CheckboxItem",Wa().then(()=>Ua),i=>Rp=i.CheckboxItem);ie("Notice",fp().then(()=>dp),i=>ut=i.default);$a=()=>new Promise(i=>Promise.allSettled(pp.map(e=>e())).then(()=>i()))});var rs={};A(rs,{addRepluggedStrings:()=>Br,load:()=>za,loadAllStrings:()=>Op,loadStrings:()=>Pp,locale:()=>Fr,messages:()=>Kt});function za(){Op(FS),Fr=_t._chosenLocale,_t.on("locale",i=>{Fr=i,_t.loadPromise.then(Br)}),_t.loadPromise.then(Br),Br()}function Br(){let{messages:i,defaultMessages:e}=_t._provider._context;_t._applyMessagesForLocale(Object.assign(i,Kt.get(Fr)),Fr,Object.assign(e,Kt.get("en-US")))}function Op(i){Object.keys(i).forEach(e=>Pp(e,i[e]))}function Pp(i,e){Kt.get(i)?Kt.set(i,{...Kt.get(i),...e}):Kt.set(i,e),Br()}var FS,Fr,Kt,os=b(async()=>{"use strict";ot();FS=await RepluggedNative.i18n.getStrings(),Kt=new Map});var Va,Tt,ja=b(()=>{"use strict";Va=class extends EventTarget{constructor(){super(...arguments);this.announcements=[]}sendAnnouncement(t){return t._dismissed=!1,this.announcements.push(t),this.dispatchEvent(new CustomEvent("rpAnnouncementUpdate")),()=>{t._dismissed=!0,this.dispatchEvent(new CustomEvent("rpAnnouncementUpdate"))}}getAnnouncement(){for(;this.announcements?.[0]?._dismissed;)this.announcements.shift();return this.announcements?.[0]}closeActiveAnnouncement(){this.announcements.shift(),this.dispatchEvent(new CustomEvent("rpAnnouncementUpdate"))}},Tt=new Va});var Ep,Qa,Ap,Mp=b(()=>{"use strict";Je();Ep=j.api("Commands"),Qa=class extends EventTarget{constructor(){super(...arguments);this.commands=new Map}registerCommand(t){if(this.commands.has(t.name)){Ep.error(`Command \u201C${t.name}\u201D is already registered!`);return}this.commands.set(t.name,t),this.dispatchEvent(new CustomEvent("rpCommandAdded",{detail:{command:t}}))}unregisterCommand(t){this.commands.has(t)?(this.dispatchEvent(new CustomEvent("rpCommandRemoved",{detail:{command:this.commands.get(t)}})),this.commands.delete(t)):Ep.error(`Command \u201C${t}\u201D is not registered!`)}},Ap=new Qa});var ls={};A(ls,{SettingsManager:()=>ss,init:()=>Rt});async function Rt(i,e){if(Ka.has(i))return Ka.get(i);let t=new ss(i,e||{});return Ka.set(i,t),await t.load(),t}var ss,Ka,Ji=b(()=>{"use strict";ss=class{#e;#t;#i;#n;constructor(e,t){this.namespace=e,this.#n=t,this.#i=new Map}get(e,t){if(typeof this.#e>"u")throw new Error(`Settings not loaded for namespace ${this.namespace}`);return this.#e[e]??t??this.#n?.[e]}set(e,t){if(typeof this.#e>"u")throw new Error(`Settings not loaded for namespace ${this.namespace}`);this.#e[e]=t,this.#r(e,{type:"set",value:t})}has(e){if(typeof this.#e>"u")throw new Error(`Settings not loaded for namespace ${this.namespace}`);return e in this.#e}delete(e){if(typeof this.#e>"u")throw new Error(`Settings not loaded for namespace ${this.namespace}`);return this.#r(e,{type:"delete"}),Reflect.deleteProperty(this.#e,e)}async load(){this.#e=await window.RepluggedNative.settings.all(this.namespace)}all(){return{...this.#e}}#r(e,t){typeof this.#t<"u"&&clearTimeout(this.#t),this.#i.set(e,t),this.#t=setTimeout(()=>{this.#i.forEach((n,r)=>{n.type==="delete"?window.RepluggedNative.settings.delete(this.namespace,r):window.RepluggedNative.settings.set(this.namespace,r,n.value)}),this.#i.clear(),this.#t=void 0})}},Ka=new Map});var Dp=b(()=>{"use strict"});var _r,Ip=b(()=>{"use strict";_r={apiUrl:"https://replugged.dev",experiments:!1,badges:!0,autoApplyQuickCss:!1,showWelcomeNoticeOnOpen:!0}});var Lp=b(()=>{"use strict"});var Np=b(()=>{"use strict"});var Bp=b(()=>{"use strict"});var Fp=b(()=>{"use strict"});var _p=b(()=>{"use strict"});var Gp,Up=b(()=>{"use strict";Gp=(O=>(O.Account="account",O.AddQuestions="add-questions",O.ApplicationDirectoryProfile="application-directory-profile",O.AudioDeviceContext="audio-device-context",O.AutomodRuleContext="automod-rule-context",O.ChannelAttach="channel-attach",O.ChannelAutocomplete="channel-autocomplete",O.ChannelCallOverflowPopout="channel-call-overflow-popout",O.ChannelContext="channel-context",O.ChannelMentionContext="channel-mention-context",O.ComponentButton="component-button",O.CopyId="copy-id",O.DevContext="dev-context",O.DevtoolsOverflow="devtools-overflow",O.EditProfilePopout="edit-profile-popout",O.ExitOptions="exit-options",O.ExpressionPicker="expression-picker",O.FavoriteServerContext="favorite-server-context",O.FavoritesHeaderPopout="favorites-header-popout",O.FriendRow="friend-row",O.GameContext="game-context",O.GdmContext="gdm-context",O.GuildBrowseChannelsContextMenu="guild-browse-channels-context-menu",O.GuildContext="guild-context",O.GuildDiscoveryContextMenu="guild-discovery-context-menu",O.GuildEntryContext="guild-entry-context",O.GuildHeaderPopout="guild-header-popout",O.GuildIntegrationsPermissionRoleContext="guild-integrations-permission-role-context",O.GuildRoleConnectionsContext="guild-role-connections-context",O.GuildSettingsRoleContext="guild-settings-role-context",O.ImageContext="image-context",O.JoinRequestGuildContext="join-request-guild-context",O.LaunchContext="launch-context",O.ManageIntegration="manage-integration",O.ManageMultiAccount="manage-multi-account",O.ManageStreams="manage-streams",O.MemberApplicationContextMenu="member-application-context-menu",O.MentionsFilter="mentions-filter",O.Message="message",O.MessageActions="message-actions",O.ModerationRaidContext="moderation-raid-context",O.NotificationActions="notification-actions",O.NowPlayingMenu="now-playing-menu",O.Overlay="overlay",O.PipMenu="pip-menu",O.ProgressBarContext="progress-bar-context",O.RecentsNotifications="recents-notifications",O.RecentsThreadNotifications="recents-thread-notifications",O.RoleSubscriptionContext="role-subscription-context",O.RtcChannel="rtc-channel",O.SearchResults="search-results",O.SortAndView="sort-and-view",O.SoundButtonContext="sound-button-context",O.StaffHelpPopout="staff-help-popout",O.StageChannelCallOverflowPopout="stage-channel-call-overflow-popout",O.StatusPicker="status-picker",O.StreamContext="stream-context",O.SubscriptionContext="subscription-context",O.TestSkus="test-skus",O.TestStoreListing="test-store-listing",O.TextContext="text-context",O.TextareaContext="textarea-context",O.ThreadContext="thread-context",O.TransferMenu="transfer-menu",O.UserContext="user-context",O.UserProfileActions="user-profile-actions",O.UserSettingsCog="user-settings-cog",O.VideoBackgroundContext="video-background-context",O.VideoDeviceContext="video-device-context",O.WebauthnCredentialActions="webauthn-credential-actions",O.WelcomeSettingsContext="welcome-settings-context",O))(Gp||{})});var qa={};A(qa,{ContextMenuTypes:()=>Gp,RepluggedIpcChannels:()=>Wp,defaultSettings:()=>_r});var Wp,as=b(()=>{"use strict";Dp();Ip();Lp();Np();Bp();Fp();_p();Up();Wp=(E=>(E.GET_I18N_STRINGS="REPLUGGED_GET_I18N_STRINGS",E.GET_DISCORD_PRELOAD="REPLUGGED_GET_DISCORD_PRELOAD",E.GET_QUICK_CSS="REPLUGGED_GET_QUICK_CSS",E.SAVE_QUICK_CSS="REPLUGGED_SAVE_QUICK_CSS",E.GET_SETTING="REPLUGGED_GET_SETTING",E.SET_SETTING="REPLUGGED_SET_SETTING",E.HAS_SETTING="REPLUGGED_HAS_SETTING",E.DELETE_SETTING="REPLUGGED_DELETE_SETTING",E.GET_ALL_SETTINGS="REPLUGGED_GET_ALL_SETTINGS",E.START_SETTINGS_TRANSACTION="REPLUGGED_START_SETTINGS_TRANSACTION",E.END_SETTINGS_TRANSACTION="REPLUGGED_END_SETTINGS_TRANSACTION",E.LIST_THEMES="REPLUGGED_LIST_THEMES",E.GET_THEME="REPLUGGED_GET_THEME",E.UNINSTALL_THEME="REPLUGGED_UNINSTALL_THEME",E.LIST_PLUGINS="REPLUGGED_LIST_PLUGINS",E.GET_PLUGIN="REPLUGGED_GET_PLUGIN",E.UNINSTALL_PLUGIN="REPLUGGED_UNINSTALL_PLUGIN",E.REGISTER_RELOAD="REPLUGGED_REGISTER_RELOAD",E.GET_ADDON_INFO="REPLUGGED_GET_ADDON_INFO",E.INSTALL_ADDON="REPLUGGED_INSTALL_ADDON",E.OPEN_PLUGINS_FOLDER="REPLUGGED_OPEN_PLUGINS_FOLDER",E.OPEN_THEMES_FOLDER="REPLUGGED_OPEN_THEMES_FOLDER",E.OPEN_SETTINGS_FOLDER="REPLUGGED_OPEN_SETTINGS_FOLDER",E.OPEN_QUICKCSS_FOLDER="REPLUGGED_OPEN_QUICKCSS_FOLDER",E.GET_REPLUGGED_VERSION="REPLUGGED_GET_REPLUGGED_VERSION",E))(Wp||{})});var _S,$p,Hp=b(async()=>{"use strict";Ji();as();_S=await Rt("dev.replugged.Settings",_r),$p=[{find:/\.displayName="(Developer)?ExperimentStore"/,replacements:[..._S.get("experiments")?[{match:"window.GLOBAL_ENV.RELEASE_CHANNEL",replace:'"staging"'}]:[]]}]});var zp,Vp=b(()=>{"use strict";zp=[{find:"getPredicateSections",replacements:[{match:/this\.props\.sections\.filter\((.+)\)\};/,replace:(i,e)=>`replugged.coremods.coremods.settings.insertSections(this.props.sections.filter(${e}))};`}]}]});var jp,Qp=b(()=>{"use strict";jp=[{replacements:[{match:/window\.DiscordSentry=function\(\){/,replace:"$&return;"},{match:/crossDomainError=function\(\){/,replace:"$&return;"}]},{find:"TRACKING_URL:",replacements:[{replace:"()=>{}"}]},{find:/this\.metrics\.push\(.\);/,replacements:[{match:/this\.metrics\.push\(.\);/,replace:""}]}]});var Kp,qp=b(()=>{"use strict";Kp=[{replacements:[{match:/null!=\w+.SELF_XSS_HEADER/,replace:"false"}]}]});var Xp,Yp=b(()=>{"use strict";Xp=[{find:'key:"copy-id"',replacements:[{match:/(Fragment,{children:\[)(.{0,200}children:\[.{0,20}?(\w{1,3})\({.{0,5}\s?key:"copy-id".{0,20}channel:(.{1,3})[,}].{0,20}message:(.{1,3})[,}])/,replace:(i,e,t,n,r,o)=>`${e}...replugged.coremods.coremods.messagePopover._buildPopoverElements(${o},${r},${n}),${t}`}]}]});var GS,Jp,Zp=b(()=>{"use strict";GS="replugged.coremods.coremods.notices",Jp=[{find:/\)\.content.+?hasNotice/,replacements:[{match:/(\(\)\.base,children:\[)(.+?}\)),/,replace:(i,e,t)=>`${e}${GS}.AnnouncementContainer({originalRes:${t}}),`}]}]});var em,tm=b(()=>{"use strict";em=[{find:'Error("Menu',replacements:[{match:/var \w,\w=(.)\.navId/,replace:(i,e)=>`replugged.coremods.coremods.contextMenu._insertMenuItems(${e});${i}`}]},{find:"navId:",replacements:[{match:/navId:[\w"-]+,/g,replace:i=>`${i}data:arguments,`}]}]});var im,nm,rm=b(()=>{"use strict";im="replugged.coremods.coremods.language",nm=[{find:"getAvailableLocales",replacements:[{match:/(\.Messages\.LANGUAGE,)\s*children:((?:[^}]*?}){3}\))/,replace:(i,e,t)=>`${e}children:[${im}.Card(),${t}]`},{match:/children:\[(.+?\.localeName[^\]]*?)]/,replace:(i,e)=>`children:[${im}.Percentage(${e})]`}]}]});var om={};A(om,{start:()=>US});function US(){DiscordNative.window.setDevtoolsCallbacks()}var sm=b(()=>{"use strict"});function cm(i){for(let e of Ot.rpSections)i.splice(e.fromEnd?i.length+e.pos:e.pos,0,e);for(let e of Ot.rpSectionsAfter.keys()){let t=i.findIndex(n=>n.section===e);if(t!==-1){for(let n of Ot.rpSectionsAfter.get(e)){let r=n.__$$label;(typeof n.label=="function"||typeof r=="function")&&(r||(n.__$$label=n.label),n.label=n.__$$label?.())}i.splice(t+1,0,...Ot.rpSectionsAfter.get(e))}}return i}var cs,Zi,lm,am,Ot,hm=b(()=>{"use strict";cs=i=>i??-4,Zi=({name:i,_id:e,label:t,color:n,elem:r,pos:o,fromEnd:s})=>({section:i,_id:e,label:t,color:n,element:r,pos:cs(o),fromEnd:s??cs(o)<0}),lm=i=>({section:"DIVIDER",pos:cs(i)}),am=(i,e)=>({section:"HEADER",label:i,pos:cs(e)}),Ot={rpSections:[],rpSectionsAfter:new Map,addSection(i){let e=Zi(i);return Ot.rpSections.push(e),e},removeSection(i){Ot.rpSections=Ot.rpSections.filter(e=>e.section!==i&&e._id!==i)},addAfter(i,e){return Array.isArray(e)||(e=[e]),Ot.rpSectionsAfter.set(i,e),e},removeAfter(i){Ot.rpSectionsAfter.delete(i)}}});var um=b(()=>{});var dm,fm=b(()=>{"use strict";dm=()=>window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor"},window.replugged.common.React.createElement("path",{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}))});var pm,mm=b(()=>{"use strict";pm=()=>window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512",fill:"currentColor"},window.replugged.common.React.createElement("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"}))});var gm,ym=b(()=>{"use strict";gm=()=>window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor"},window.replugged.common.React.createElement("path",{d:"M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"}))});var bm,xm=b(()=>{"use strict";bm=()=>window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor"},window.replugged.common.React.createElement("path",{d:"M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"}))});var wm,Sm=b(()=>{"use strict";wm=()=>window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor"},window.replugged.common.React.createElement("path",{d:"M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"}))});var vm,km=b(()=>{"use strict";vm=()=>window.replugged.common.React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor"},window.replugged.common.React.createElement("path",{d:"M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"}))});var ci,Xa=b(()=>{"use strict";fm();mm();ym();xm();Sm();km();ci={Discord:dm,GitHub:pm,Link:gm,Reload:bm,Settings:wm,Trash:vm}});function Ya(i){switch(i.type){case"string":return i.value;case"regex":return new RegExp(i.value.pattern,i.value.flags);case"function":return(0,eval)(i.value);default:throw new Error(`Unknown Node Type ${i.type}`)}}function $S(i,e){switch(Mn.log(`Received find parsing request of type ${i} with args: ${e}`),i.replace("get","")){case"Module":return kt(e[0],{all:!0});case"ByProps":return Ct(e,{all:!0});case"BySource":return Si(e[0],{all:!0});case"ByValue":return ma(e[0],{all:!0});default:throw new Error(`Unknown Find Type ${i}`)}}function HS(i){return Object.values(qi).filter(e=>{if(typeof i=="string")return e.includes(i);if(i instanceof RegExp){let t=i.test(e);return i.lastIndex=0,t}return!1})}function Cm(i=!1){let e=i,t=!1,n=new WebSocket(`ws://localhost:${WS}`);Ja=n,n.addEventListener("open",()=>{e=!0,Mn.log("Connected to WebSocket")}),n.addEventListener("error",r=>{e&&(t=!0,Mn.error("Dev Companion Error:",r))}),n.addEventListener("close",r=>{!e&&!t||Mn.log("Dev Companion Disconnected",r.code,r.reason)}),n.addEventListener("message",r=>{let o,s,l;try{let c=JSON.parse(r.data);o=c.nonce,s=c.type,l=c.data}catch(c){Mn.error("Invalid JSON:",c,` SyntaxError: Unexpected identifier 'Xx' at Object.compileFunction (node:vm:360:18) at wrapSafe (node:internal/modules/cjs/loader:1062:15) at Module._compile (node:internal/modules/cjs/loader:1097:27) at Module._extensions..js (node:internal/modules/cjs/loader:1196:10) at Module.load (node:internal/modules/cjs/loader:1011:32) at Module._load (node:internal/modules/cjs/loader:846:12) at f._load (node:electron/js2c/asar_bundle:2:13330) at Module.require (node:internal/modules/cjs/loader:1035:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/usr/share/discord/resources/app.asar/index.js:1:1) mesa: for the --simplifycfg-sink-common option: may only occur zero or one times! mesa: for the --global-isel-abort option: may only occur zero or one times! mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Zorin OS Core 16.2
Discord installed from discord deb file.
Discord not start after plug.
Reproduction steps
Expected behavior
Launched discord with replugged
Actual behavior
error
Additional information
Please confirm the following
The text was updated successfully, but these errors were encountered: