Skip to content
New issue

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

Classes break in the npm version but work on the web version #130

Open
BajekekButLost opened this issue May 27, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@BajekekButLost
Copy link

Describe the bug:

The program crashes when using the npm module but works when using the website.

Config and Small code sample

Config:

{
  target: "node",
  preset: "medium"
}

Code:

const Discord = require("discord.js");

/**
 * @type {NeoBot}
 */
class NeoBot extends Discord.Client {
    constructor(token) {
        super({
            intents: Object.keys(Discord.GatewayIntentBits).map((intent) => {
                return Discord.GatewayIntentBits[intent];
            }),
        });
        this.token = token;
        this.login(token);
    }
}

module.exports = NeoBot;

Website obfuscated code:

var X0td4XZ,TlFSm8I,GHWNC6t,kFG6PL,exE0kZt,kLziIi,v_cgFy,D_sNk5B,o9DBRF,ySJ1Nt,HbMx0qT,Ejv1nv,R8CeVc,dC4BRE,_EKcQu,pY_G1v,tkQGyp;function syW896U(TlFSm8I){return X0td4XZ[TlFSm8I>-0x1?TlFSm8I+0x1e:TlFSm8I>-0x38?TlFSm8I<-0x1?TlFSm8I>-0x1?TlFSm8I-0x12:TlFSm8I>-0x1?TlFSm8I-0x22:TlFSm8I+0x37:TlFSm8I-0x58:TlFSm8I-0x38]}X0td4XZ=cLYZI7O.call(this);function afHxM1(X0td4XZ,TlFSm8I){Object.defineProperty(X0td4XZ,'length',{value:TlFSm8I,configurable:!0x0});return X0td4XZ}var MXax2u=[],xxsa0LA=0x0,QkjPAD6=IYybVrQ(()=>{var X0td4XZ=['xo(g6=nTH','WPR>c','BE@J','5)k=r@nTH','tG>f]*yC','Q5zg7=YC','kz0=r@A','5a$Jf>4C','brWf~<UC','nrNKr2JTc%j3pE',';i_1[[A','ar%2L:7;G','jrWf=[cC','jrWf=[${lT','f5bgY','e5/2Y','9on<`*MC<R','9on<`*MC','toX<5+UC','0z|/W>kC','nrTg6=yC','toX<5+ges74EO9wn3o_1@[A','[i/2s)@Yg#c.B','arU=i>ueG','EE0=f,i@qU','EE0=f,3B','EE0=f,F*2$9/B','8DVKa','Y2~zT','vzbgN:8eG','_q.Je,]@G','=7U==[${lT','gzzgh`A','vz.Jn`A','2X01nvoC','PP)Fd','X,jg/w*N2T5','}Oufp@"@s!1HwbRnXB','%DU=c,+MM%`+B','%DU=c,vB','[z/2c','7!zI;w*N2T5','ePVKH:we2$,/B','ePVKH:kC','crdKd','=imfo@s0W$8&PyO','eP(gz=yC',')z^gU<A','eP(gz=!eKUGv*E','=imfo@i@r%@+pQKm','=imfo@3B','r5_1b^MC','eP(g><we8!"ui9M','eP(g><kC','hM+f=[UC','=imfo@):W$Rz@P_oKB','d8mfg,#B','2J0=@[MC','d8mfg,e0rR(&hQ0oQB','32kdL3A','32#c7=:Y<R','~OVK','8D@J','CPH<86&YH','CPH<o2MCH','W,52e>iC','Dg6gy]BN#1L]sbFr:A','(/Be^[:G.N=SB','zJ+3J*tNCM$I5.9dbUpe3n!MLOC9^mKUZB','O#qb2]VNh&$L)^8j2DoJ[^7NPS6@hE','H)e0gjZTRP}P<^Oo?%qgc@A@?P','&tyz:8A@W6u0Lm`cqd4Jhj}MlNs','"ng/f7EIT8&@`wpnbPDFn9vTS5!xCZjZ{/vJ]mA','3U~2^,A','OPlHg29vi#m/i6AX.OXJD!vvZ%=xLaXidU4x!u"0H','<4xgH:dpZ6&OvO%lq,B','77Z2y]qCpU{k.DTiEM3EU!B[SM`+e]?nD&7Ki`8SD','XPU=>[aC','r%>,g>sC','dP(gt@mC','44!fP[A',']DwJb','ti+f6=yC','2D(g}^+0^M)/},`oEa)=c'],TlFSm8I,GHWNC6t,kFG6PL;TlFSm8I=X0td4XZ;for(GHWNC6t=0x10;GHWNC6t%0x4===0x0;GHWNC6t++){var exE0kZt=0x0;X0td4XZ=TlFSm8I=TlFSm8I.concat(IYybVrQ(()=>{var X0td4XZ;exE0kZt++;if(exE0kZt===0x1){return[]}for(X0td4XZ=0xa;X0td4XZ;X0td4XZ--)TlFSm8I.unshift(TlFSm8I.pop());return[]},0x0)())}for(kFG6PL=0x12;kFG6PL;kFG6PL--)TlFSm8I.unshift(TlFSm8I.pop());return xxsa0LA?X0td4XZ.pop():xxsa0LA++,X0td4XZ},0x0)();function htDaGos(){try{return global||window||new Function('return this')()}catch(e){try{return this}catch(e){return{}}}}typeof(TlFSm8I=htDaGos()||{},GHWNC6t=TlFSm8I.TextDecoder,kFG6PL=TlFSm8I.Uint8Array,exE0kZt=TlFSm8I.Buffer,kLziIi=TlFSm8I.String||String,v_cgFy=TlFSm8I.Array||Array,D_sNk5B=IYybVrQ(()=>{var TlFSm8I=new v_cgFy(0x80),GHWNC6t,kFG6PL;typeof(GHWNC6t=kLziIi.fromCodePoint||kLziIi.fromCharCode,kFG6PL=[]);return IYybVrQ(exE0kZt=>{var v_cgFy,D_sNk5B;function o9DBRF(exE0kZt){return X0td4XZ[exE0kZt>0x13?exE0kZt<0x13?exE0kZt+0x2b:exE0kZt-0x14:exE0kZt+0x6]}var ySJ1Nt,HbMx0qT;typeof(v_cgFy=exE0kZt[syW896U(-0x37)],kFG6PL[o9DBRF(0x14)]=0x0);for(D_sNk5B=syW896U(-0x31);D_sNk5B<v_cgFy;){HbMx0qT=exE0kZt[D_sNk5B++];if(HbMx0qT<=0x7f){ySJ1Nt=HbMx0qT}else{if(HbMx0qT<=0xdf){var Ejv1nv=IYybVrQ(exE0kZt=>{return X0td4XZ[exE0kZt>0x58?exE0kZt+0x24:exE0kZt<0x21?exE0kZt+0x32:exE0kZt-0x22]},0x1);ySJ1Nt=(HbMx0qT&0x1f)<<Ejv1nv(0x23)|exE0kZt[D_sNk5B++]&0x3f}else{if(HbMx0qT<=0xef){var R8CeVc=IYybVrQ(exE0kZt=>{return X0td4XZ[exE0kZt>-0x10?exE0kZt-0xe:exE0kZt<-0x10?exE0kZt<-0x47?exE0kZt-0x55:exE0kZt<-0x47?exE0kZt-0x57:exE0kZt>-0x10?exE0kZt+0x1:exE0kZt+0x46:exE0kZt+0x5b]},0x1);ySJ1Nt=(HbMx0qT&o9DBRF(0x1b))<<R8CeVc(-0x43)|(exE0kZt[D_sNk5B++]&o9DBRF(0x16))<<syW896U(-0x36)|exE0kZt[D_sNk5B++]&0x3f}else{if(kLziIi.fromCodePoint){ySJ1Nt=(HbMx0qT&0x7)<<0x12|(exE0kZt[D_sNk5B++]&o9DBRF(0x16))<<syW896U(-0x34)|(exE0kZt[D_sNk5B++]&o9DBRF(0x16))<<0x6|exE0kZt[D_sNk5B++]&0x3f}else{typeof(ySJ1Nt=o9DBRF(0x16),D_sNk5B+=0x3)}}}}kFG6PL.push(TlFSm8I[ySJ1Nt]||(TlFSm8I[ySJ1Nt]=GHWNC6t(ySJ1Nt)))}return kFG6PL.join('')},0x1)},0x0)());function xGP7coO(X0td4XZ){return typeof GHWNC6t!=='undefined'&&GHWNC6t?new GHWNC6t().decode(new kFG6PL(X0td4XZ)):typeof exE0kZt!=='undefined'&&exE0kZt?exE0kZt.from(X0td4XZ).toString('utf-8'):D_sNk5B(X0td4XZ)}!(o9DBRF=ulfo6X.apply(void 0x0,[0x52]),ySJ1Nt=ulfo6X(0x39),HbMx0qT=ulfo6X(0x30),Ejv1nv=ulfo6X(0x2e),R8CeVc=ulfo6X.call(syW896U(-0x32),syW896U(-0x14)),dC4BRE=ulfo6X(0x16),_EKcQu={dKpirNJ:ulfo6X(0xd),kTlRv8q:ulfo6X(0xf),QgBFOV5:ulfo6X(0x10),UR3ehYn:ulfo6X[syW896U(-0x33)](void 0x0,0x15),rbgEP7f:ulfo6X[syW896U(-0x33)](void 0x0,syW896U(-0x25)),B8ZxYbQ:ulfo6X(syW896U(-0x11)),[syW896U(-0x10)]:ulfo6X(syW896U(-0x2b)),_rK2Y4:ulfo6X(0x3f)},pY_G1v=[ulfo6X(0xb),ulfo6X[syW896U(-0x33)](syW896U(-0x32),syW896U(-0x1f)),ulfo6X(0x28),ulfo6X(0x2e)],tkQGyp=IYybVrQ(()=>{var X0td4XZ=[ulfo6X(0xb)],TlFSm8I;TlFSm8I={aENgim:[],kuwgXz:IYybVrQ((X0td4XZ=ulfo6X(syW896U(-0x2e)))=>{if(!tkQGyp.aENgim[0x0]){tkQGyp.aENgim.push(0x4)}return tkQGyp.aENgim[X0td4XZ]},0x0),hgVnCeA:syW896U(-0xb),hBg2iA:[],MLCfyT0:IYybVrQ((TlFSm8I=X0td4XZ[0x0])=>{if(!tkQGyp.hBg2iA[0x0]){tkQGyp.hBg2iA.push(-syW896U(-0x1b))}return tkQGyp.hBg2iA[TlFSm8I]},0x0),qTUsYO:[],_pOIW7:IYybVrQ((X0td4XZ=pY_G1v[0x0])=>{if(!tkQGyp.qTUsYO[syW896U(-0x31)]){tkQGyp.qTUsYO.push(0x1f)}return tkQGyp.qTUsYO[X0td4XZ]},0x0),RV2A6L:0x21,B5C4Y3:ulfo6X(syW896U(-0x34)),W2Oro4:syW896U(-0x20)};return TlFSm8I},0x0)());var exYBGz,hONlJ7,dcg6Gf=function(){var TlFSm8I,GHWNC6t,kFG6PL;function exE0kZt(TlFSm8I){return X0td4XZ[TlFSm8I>0x56?TlFSm8I<0x8d?TlFSm8I-0x57:TlFSm8I-0x27:TlFSm8I-0x42]}typeof(TlFSm8I={LOCgVXu:ulfo6X(0xf)},GHWNC6t=function(){try{var TlFSm8I=IYybVrQ(GHWNC6t=>{return X0td4XZ[GHWNC6t<-0x2e?GHWNC6t+0x64:GHWNC6t-0x38]},0x1);return window||global||new Function(_EKcQu.dKpirNJ+ulfo6X[TlFSm8I(-0x60)](syW896U(-0x32),0xe))()}catch(e){return kFG6PL[ulfo6X(0xf)](this)}},kFG6PL=function(){try{return this}catch(e){return null}});return hONlJ7=kFG6PL[TlFSm8I.LOCgVXu](this,wGzJcuz),exYBGz=GHWNC6t[ulfo6X(exE0kZt(0x5e))](this)}[_EKcQu.kTlRv8q]();const e5JyN0=require('discord.js');class rBd_SeU extends e5JyN0[_EKcQu.QgBFOV5]{constructor(TlFSm8I){var GHWNC6t,kFG6PL,exE0kZt,kLziIi,v_cgFy,D_sNk5B,o9DBRF;function ySJ1Nt(TlFSm8I){return X0td4XZ[TlFSm8I>0x83?TlFSm8I-0x4d:TlFSm8I>0x4c?TlFSm8I<0x4c?TlFSm8I-0x56:TlFSm8I>0x4c?TlFSm8I>0x4c?TlFSm8I-0x4d:TlFSm8I-0x38:TlFSm8I-0x5b:TlFSm8I-0x3]}void(GHWNC6t={H4qqnz:ulfo6X(syW896U(-0x2f))},kFG6PL=ulfo6X(0x12),exE0kZt=ulfo6X(syW896U(-0x2f)),kLziIi=ySJ1Nt(0x5d),v_cgFy=-0x2bd,D_sNk5B=0x123,o9DBRF={g:()=>kLziIi-=syW896U(-0x2e),k:0xb,s:()=>{var TlFSm8I=IYybVrQ(GHWNC6t=>{return X0td4XZ[GHWNC6t<0x20?GHWNC6t-0x37:GHWNC6t>0x57?GHWNC6t-0x14:GHWNC6t>0x57?GHWNC6t+0xd:GHWNC6t<0x57?GHWNC6t>0x57?GHWNC6t-0x23:GHWNC6t<0x20?GHWNC6t+0x18:GHWNC6t<0x57?GHWNC6t-0x21:GHWNC6t-0x6:GHWNC6t-0x53]},0x1);return kLziIi=o9DBRF[TlFSm8I(0x2c)]},[syW896U(-0x23)]:IYybVrQ(()=>{return v_cgFy+=o9DBRF.p},0x0),[syW896U(-0x29)]:exE0kZt,j:IYybVrQ(()=>{var TlFSm8I=IYybVrQ(GHWNC6t=>{return X0td4XZ[GHWNC6t<0x16?GHWNC6t-0x42:GHWNC6t<0x4d?GHWNC6t>0x16?GHWNC6t<0x4d?GHWNC6t<0x4d?GHWNC6t>0x4d?GHWNC6t+0x18:GHWNC6t-0x17:GHWNC6t+0x63:GHWNC6t+0x8:GHWNC6t-0x31:GHWNC6t+0xa]},0x1);return D_sNk5B=o9DBRF[TlFSm8I(0x21)]},0x0),p:-syW896U(-0x24),[syW896U(-0x2d)]:0x8b,l:()=>v_cgFy-=ySJ1Nt(0x66),[ySJ1Nt(0x58)]:0x2c,[syW896U(-0x26)]:IYybVrQ(()=>{return o9DBRF.g()},0x0),t:afHxM1(IYybVrQ((...TlFSm8I)=>{var GHWNC6t=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I<0x6d?TlFSm8I>0x36?TlFSm8I>0x6d?TlFSm8I-0x47:TlFSm8I<0x6d?TlFSm8I<0x36?TlFSm8I-0x2b:TlFSm8I<0x36?TlFSm8I-0xb:TlFSm8I-0x37:TlFSm8I-0x34:TlFSm8I-0x57:TlFSm8I-0x9]},0x1);typeof(TlFSm8I[GHWNC6t(0x37)]=0x1,TlFSm8I.ngjabHn=GHWNC6t(0x44));if(TlFSm8I.ngjabHn>syW896U(-0x7)){return TlFSm8I[-ySJ1Nt(0x59)]}else{var kFG6PL=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I<0x43?TlFSm8I<0xc?TlFSm8I-0x32:TlFSm8I<0x43?TlFSm8I>0xc?TlFSm8I<0x43?TlFSm8I>0xc?TlFSm8I>0xc?TlFSm8I-0xd:TlFSm8I-0x26:TlFSm8I+0x4e:TlFSm8I+0x47:TlFSm8I-0x43:TlFSm8I-0x5b:TlFSm8I+0xd]},0x1);return TlFSm8I[TlFSm8I.ngjabHn-kFG6PL(0x1a)]-0xe3}},0x0),ySJ1Nt(0x5c))});while(kLziIi+v_cgFy+D_sNk5B!=syW896U(-0xf)&&tkQGyp.kuwgXz()){function HbMx0qT(TlFSm8I){return X0td4XZ[TlFSm8I<0x61?TlFSm8I-0xc:TlFSm8I<0x61?TlFSm8I-0x3d:TlFSm8I>0x61?TlFSm8I<0x61?TlFSm8I+0x18:TlFSm8I>0x98?TlFSm8I+0x39:TlFSm8I>0x98?TlFSm8I-0x38:TlFSm8I-0x62:TlFSm8I+0x5a]}switch(kLziIi+v_cgFy+D_sNk5B){case tkQGyp.hgVnCeA>-0x47?o9DBRF.t(D_sNk5B):void 0x0:!(super({[kFG6PL]:wGzJcuz(-0x231)[ulfo6X(0x13)]((o9DBRF.b==-0x43||e5JyN0)[(o9DBRF.e=o9DBRF)[HbMx0qT(0x70)]])[ulfo6X[HbMx0qT(0x83)](void 0x0,[0x14])](afHxM1((...TlFSm8I)=>{var kFG6PL=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I>-0x31?TlFSm8I<0x6?TlFSm8I>0x6?TlFSm8I-0xe:TlFSm8I<-0x31?TlFSm8I+0x3a:TlFSm8I+0x30:TlFSm8I-0x34:TlFSm8I+0x5b]},0x1);void(TlFSm8I.length=kFG6PL(-0x21),TlFSm8I.QTuTvB=syW896U(-0x2));return TlFSm8I.QTuTvB>0x9a?TlFSm8I[TlFSm8I.QTuTvB-0xb4]:e5JyN0[GHWNC6t.H4qqnz][TlFSm8I[TlFSm8I.QTuTvB-0x34]]},0x1))}),this.token=kLziIi==0x4f?wGzJcuz(0x2d1):TlFSm8I,this.login(kLziIi==ySJ1Nt(0x5d)?TlFSm8I:wGzJcuz(-0x16f)),o9DBRF[ySJ1Nt(0x5e)]());break;case!tkQGyp.MLCfyT0()?0xd1:0x47:void(o9DBRF.s(),kLziIi+=ySJ1Nt(0x5f));break;case 0x65:case 0x1b9:case tkQGyp.hgVnCeA>-0x47?0x30f:-syW896U(-0x13):case syW896U(-0x12):if((o9DBRF[HbMx0qT(0x70)]==-0x18||!0x1)&&tkQGyp.hgVnCeA>-syW896U(-0x17)){function Ejv1nv(TlFSm8I){return X0td4XZ[TlFSm8I<0x95?TlFSm8I>0x5e?TlFSm8I>0x5e?TlFSm8I>0x5e?TlFSm8I<0x5e?TlFSm8I+0x10:TlFSm8I<0x95?TlFSm8I<0x95?TlFSm8I>0x95?TlFSm8I-0x31:TlFSm8I-0x5f:TlFSm8I-0x2c:TlFSm8I+0x15:TlFSm8I+0x5:TlFSm8I+0x1a:TlFSm8I-0x32:TlFSm8I+0x51]}v_cgFy-=Ejv1nv(0x72);break}typeof(kLziIi=v_cgFy==-0x28d?0x23:ySJ1Nt(0x7a),o9DBRF[syW896U(-0x23)]());break;case 0x59:!(o9DBRF.j(),kLziIi+=o9DBRF.k,o9DBRF[HbMx0qT(0x8d)]())}}}}void(module[_EKcQu.UR3ehYn]=rBd_SeU,afHxM1(wGzJcuz,syW896U(-0x28)));function wGzJcuz(...TlFSm8I){var GHWNC6t=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I>0x37?TlFSm8I+0x39:TlFSm8I>0x0?TlFSm8I>0x0?TlFSm8I<0x37?TlFSm8I>0x37?TlFSm8I-0x21:TlFSm8I>0x37?TlFSm8I-0x3:TlFSm8I<0x0?TlFSm8I-0x4:TlFSm8I-0x1:TlFSm8I-0x51:TlFSm8I+0x18:TlFSm8I+0x4c]},0x1);typeof(TlFSm8I[syW896U(-0x37)]=0x1,TlFSm8I[GHWNC6t(0x16)]=TlFSm8I.Xy3ffX,TlFSm8I[GHWNC6t(0x10)]=ulfo6X.call(void 0x0,0x51),TlFSm8I[GHWNC6t(0x20)]=ulfo6X(0x4a),TlFSm8I[GHWNC6t(0x16)]=ulfo6X(0x48),TlFSm8I.loPdXH6=-0x3c,TlFSm8I.cGrlD5=ulfo6X(0x2f),TlFSm8I[syW896U(-0x19)]=[ulfo6X(TlFSm8I[syW896U(-0x21)]+0x5e),ulfo6X(TlFSm8I[syW896U(-0x21)]+0x63),ulfo6X(GHWNC6t(0x18))],TlFSm8I[TlFSm8I.loPdXH6+0x42]={[GHWNC6t(0x1b)]:ulfo6X(0x17),SspdCCV:ulfo6X(syW896U(-0x1f)),YFYVYuC:ulfo6X(syW896U(-0x8)),NkdGwOD:ulfo6X(GHWNC6t(0x1a)),W4_pB_2:ulfo6X(0x28)},TlFSm8I.sJ3HV82=GHWNC6t(0x6));switch(TlFSm8I[0x0]){case-(TlFSm8I.loPdXH6+0x26d):TlFSm8I.sJ3HV82=ulfo6X(0x16)||hONlJ7[dC4BRE];break;case!tkQGyp.kuwgXz()?0x62:0x2d1:return exYBGz[ulfo6X(0x17)]||hONlJ7[TlFSm8I[syW896U(-0x36)][syW896U(-0x1d)]];case-0x16f:return exYBGz[TlFSm8I[TlFSm8I[syW896U(-0x21)]+syW896U(-0x1a)].SspdCCV]||hONlJ7[pY_G1v[0x1]];case tkQGyp.kuwgXz()?0xea0:-0xed:TlFSm8I.sJ3HV82=ulfo6X(0x19)||hONlJ7[ulfo6X[syW896U(-0x33)](GHWNC6t(0x6),0x19)];break;case 0x1017:TlFSm8I[syW896U(-0x1c)]=ulfo6X(0x1a)+GHWNC6t(0x23)||hONlJ7[ulfo6X(0x1a)+'nt'];break;case 0xc98:TlFSm8I[syW896U(-0x1c)]=ulfo6X(0x1b)||hONlJ7[ulfo6X(0x1b)];break;case 0x1e3:return exYBGz[ulfo6X.call(void 0x0,0x1c)]||hONlJ7[ulfo6X(0x1c)];case 0x136d:TlFSm8I.sJ3HV82=ulfo6X(0x1d)||hONlJ7[ulfo6X.apply(GHWNC6t(0x6),[0x1d])];break;case 0x210:return exYBGz[_EKcQu.rbgEP7f+'on']||hONlJ7[ulfo6X(0x1f)];case tkQGyp.hgVnCeA>-0x47?0x858:-0x75:TlFSm8I.sJ3HV82=ulfo6X(0x20)||hONlJ7[ulfo6X(syW896U(-0x1b))];break;case TlFSm8I.loPdXH6+0x1443:TlFSm8I[GHWNC6t(0x1c)]=ulfo6X(0x21)||hONlJ7[TlFSm8I[TlFSm8I.loPdXH6+syW896U(-0x1a)].YFYVYuC];break;case 0xf3f:TlFSm8I.sJ3HV82=TlFSm8I[GHWNC6t(0x1f)][GHWNC6t(0x7)]||hONlJ7[ulfo6X(0x23)+'pe'];break;case 0xc7b:return exYBGz[TlFSm8I[0x6].NkdGwOD+ulfo6X(syW896U(-0xd))+ulfo6X(TlFSm8I[GHWNC6t(0x17)]+0x62)]||hONlJ7[TlFSm8I[0x5][0x1]];case!tkQGyp._pOIW7()?-0x43:0xf5e:TlFSm8I[syW896U(-0x1c)]=TlFSm8I[0x6].W4_pB_2||hONlJ7[pY_G1v[syW896U(-0x18)]];break;case tkQGyp.hgVnCeA>-syW896U(-0x17)?0x1018:0xbf:TlFSm8I[syW896U(-0x1c)]=ulfo6X(0x29)||hONlJ7[ulfo6X(0x29)];break;case 0x9ea:return exYBGz[ulfo6X[syW896U(-0x16)](void 0x0,[TlFSm8I.loPdXH6+0x66])]||hONlJ7[TlFSm8I[TlFSm8I.loPdXH6+0x41][0x2]+syW896U(-0x15)];case 0xa16:return exYBGz[R8CeVc]||hONlJ7[ulfo6X(syW896U(-0x14))];case 0xdc:TlFSm8I[GHWNC6t(0x1c)]=ulfo6X.apply(syW896U(-0x32),[0x2d])||hONlJ7[ulfo6X(TlFSm8I.loPdXH6+0x69)];break;case 0x92:TlFSm8I[GHWNC6t(0x1c)]=Ejv1nv||hONlJ7[pY_G1v[TlFSm8I.loPdXH6+syW896U(-0x35)]];break;case!(tkQGyp.RV2A6L>-(TlFSm8I.loPdXH6+0x61))?0xa3:0x1d2:return exYBGz[ulfo6X(TlFSm8I[GHWNC6t(0x17)]+0x6b)]||hONlJ7[TlFSm8I.cGrlD5];case tkQGyp._pOIW7()?0x131b:-0xc2:TlFSm8I[GHWNC6t(0x1c)]=HbMx0qT||hONlJ7[ulfo6X.call(GHWNC6t(0x6),0x30)];break;case TlFSm8I[syW896U(-0x21)]+0x99c:return exYBGz[ulfo6X(GHWNC6t(0x25))]||hONlJ7[ulfo6X.call(void 0x0,TlFSm8I.loPdXH6+GHWNC6t(0x26))];case tkQGyp.MLCfyT0()?0xd29:-0x7d:return exYBGz[_EKcQu.B8ZxYbQ]||hONlJ7[ulfo6X(syW896U(-0x11))];case!tkQGyp.kuwgXz()?-0xc7:0x136a:return exYBGz[ulfo6X.apply(GHWNC6t(0x6),[0x33])]||hONlJ7[_EKcQu[syW896U(-0x10)]];case tkQGyp.B5C4Y3[ulfo6X(TlFSm8I[GHWNC6t(0x17)]+0x70)+ulfo6X(syW896U(-0xf))](syW896U(-0x18))==syW896U(-0x13)?0xcf3:-0xc0:TlFSm8I[syW896U(-0x1c)]=ulfo6X(0x36)||hONlJ7[ulfo6X(0x36)];break;case!(tkQGyp.hgVnCeA>-GHWNC6t(0x21))?0xd5:0xb02:TlFSm8I[GHWNC6t(0x1c)]=ulfo6X(0x37)||hONlJ7[ulfo6X(0x37)];break;case!tkQGyp.MLCfyT0()?0xbf:TlFSm8I.loPdXH6+0xa3c:TlFSm8I[syW896U(-0x1c)]=ulfo6X(0x38)||hONlJ7[ySJ1Nt+ulfo6X(0x3a)];break;case 0x18b:TlFSm8I.sJ3HV82=ulfo6X(GHWNC6t(0x2a))||hONlJ7[ulfo6X(syW896U(-0xe))];break;case tkQGyp.hgVnCeA>-GHWNC6t(0x21)?0x65c:0xc3:TlFSm8I[syW896U(-0x1c)]=ulfo6X(0x3c)||hONlJ7[ulfo6X(0x3d)+ulfo6X(0x3e)];break;case 0xcd5:TlFSm8I[GHWNC6t(0x1c)]=ulfo6X(syW896U(-0x35))||hONlJ7[_EKcQu._rK2Y4];break;case!(tkQGyp.W2Oro4>-0x5a)?0xab:0xd7:TlFSm8I[GHWNC6t(0x1c)]=ulfo6X(TlFSm8I.loPdXH6+0x7c)+ulfo6X[GHWNC6t(0x22)](syW896U(-0x32),[0x41])||hONlJ7[ulfo6X(syW896U(-0x1a))];break;case!(tkQGyp.RV2A6L>-GHWNC6t(0x2b))?-0xbd:0xdef:return exYBGz[ulfo6X(0x43)]||hONlJ7[ulfo6X(0x44)+ulfo6X(0x45)+syW896U(-0xc)];case tkQGyp.MLCfyT0()?0xb76:0xe5:return exYBGz[ulfo6X(0x46)]||hONlJ7[ulfo6X(GHWNC6t(0x21))+TlFSm8I[0x40]];case 0xba8:return exYBGz[ulfo6X(GHWNC6t(0x2d))]||hONlJ7[ulfo6X.call(void 0x0,GHWNC6t(0x2d))];case 0xe28:return exYBGz[TlFSm8I[TlFSm8I[syW896U(-0x21)]+(TlFSm8I[syW896U(-0x21)]-(TlFSm8I.loPdXH6-0x3e))]+ulfo6X(0x4b)+'sk']||hONlJ7[ulfo6X(GHWNC6t(0x2e))];case tkQGyp._pOIW7()?TlFSm8I[GHWNC6t(0x17)]-(TlFSm8I[syW896U(-0x21)]-0x994):-0x5a:TlFSm8I[GHWNC6t(0x1c)]=ulfo6X[syW896U(-0x16)](void 0x0,[0x4d])||hONlJ7[ulfo6X(0x4d)];break;case tkQGyp.W2Oro4>-0x5a?0x1001:-0x96:TlFSm8I.sJ3HV82=ulfo6X(0x4e)||hONlJ7[ulfo6X.call(void 0x0,0x4e)];break;case 0x5b9:return exYBGz[ulfo6X(0x4f)]||hONlJ7[ulfo6X(0x4f)];case tkQGyp.RV2A6L>-GHWNC6t(0x2b)?0x129f:-0x37:return exYBGz[ulfo6X.apply(GHWNC6t(0x6),[GHWNC6t(0x2f)])]||hONlJ7[ulfo6X(GHWNC6t(0x2f))];case!(tkQGyp.hgVnCeA>-(TlFSm8I.loPdXH6+0x83))?-0x3e:TlFSm8I[syW896U(-0x21)]+0x11a8:return exYBGz[ulfo6X(0x51)]||hONlJ7[TlFSm8I[syW896U(-0x28)]];case 0xc97:TlFSm8I.sJ3HV82=o9DBRF||hONlJ7[ulfo6X(0x52)];break;case 0x737:return exYBGz[ulfo6X[syW896U(-0x16)](GHWNC6t(0x6),[0x53])]||hONlJ7[ulfo6X(0x53)]}if(TlFSm8I.loPdXH6>GHWNC6t(0x30)){return TlFSm8I[-GHWNC6t(0x31)]}else{var kFG6PL=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I<-0x37?TlFSm8I-0x62:TlFSm8I>-0x37?TlFSm8I>0x0?TlFSm8I+0x55:TlFSm8I>0x0?TlFSm8I+0x17:TlFSm8I<0x0?TlFSm8I+0x36:TlFSm8I+0x4d:TlFSm8I+0x61]},0x1);return exYBGz[TlFSm8I[kFG6PL(-0x1b)]]||hONlJ7[TlFSm8I.sJ3HV82]}}afHxM1(jaq7vLB,syW896U(-0x28));function jaq7vLB(...TlFSm8I){var GHWNC6t=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I>-0x32?TlFSm8I<0x5?TlFSm8I<-0x32?TlFSm8I-0x36:TlFSm8I<0x5?TlFSm8I>0x5?TlFSm8I+0x4:TlFSm8I>-0x32?TlFSm8I+0x31:TlFSm8I-0x44:TlFSm8I+0x1d:TlFSm8I-0x1d:TlFSm8I+0x7]},0x1);!(TlFSm8I[GHWNC6t(-0x31)]=syW896U(-0x28),TlFSm8I[syW896U(-0x6)]=-syW896U(-0x30),TlFSm8I[TlFSm8I[GHWNC6t(0x0)]+0x10]='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"',TlFSm8I[syW896U(-0x18)]=''+(TlFSm8I[TlFSm8I[0xa0]+0xf]||''),TlFSm8I.H0reNQ6=TlFSm8I[TlFSm8I[0xa0]+0x11].length,TlFSm8I[syW896U(-0x3)]=[],TlFSm8I[0x5]=0x0,TlFSm8I[syW896U(-0x4)]=TlFSm8I[syW896U(-0x6)]-(TlFSm8I[GHWNC6t(0x0)]-GHWNC6t(-0x2b)),TlFSm8I._LBvma=-GHWNC6t(-0x22));for(let kFG6PL=syW896U(-0x31);kFG6PL<TlFSm8I.H0reNQ6;kFG6PL++){TlFSm8I[0x9]=TlFSm8I[syW896U(-0x28)].indexOf(TlFSm8I[syW896U(-0x18)][kFG6PL]);if(TlFSm8I[0x9]===-0x1){continue}if(TlFSm8I._LBvma<0x0){TlFSm8I[GHWNC6t(0x1)]=TlFSm8I[0x9]}else{var exE0kZt=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I<-0x39?TlFSm8I-0x2a:TlFSm8I>-0x2?TlFSm8I+0x2c:TlFSm8I>-0x2?TlFSm8I+0x62:TlFSm8I>-0x39?TlFSm8I>-0x2?TlFSm8I+0x4f:TlFSm8I>-0x39?TlFSm8I>-0x2?TlFSm8I+0x26:TlFSm8I<-0x39?TlFSm8I+0x3c:TlFSm8I+0x38:TlFSm8I-0x31:TlFSm8I+0x54]},0x1);!(TlFSm8I[syW896U(-0x5)]+=TlFSm8I[TlFSm8I[exE0kZt(-0x7)]+0x18]*0x5b,TlFSm8I[syW896U(-0x19)]|=TlFSm8I._LBvma<<TlFSm8I[GHWNC6t(0x2)],TlFSm8I[GHWNC6t(0x2)]+=(TlFSm8I[syW896U(-0x5)]&0x1fff)>TlFSm8I[GHWNC6t(0x0)]+0x67?0xd:0xe);do{var kLziIi=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I<-0x4f?TlFSm8I+0x29:TlFSm8I>-0x4f?TlFSm8I<-0x18?TlFSm8I<-0x18?TlFSm8I>-0x4f?TlFSm8I+0x4e:TlFSm8I+0x11:TlFSm8I+0x24:TlFSm8I-0x1a:TlFSm8I+0x54]},0x1);!(TlFSm8I[GHWNC6t(0x3)].push(TlFSm8I[kLziIi(-0x30)]&0xff),TlFSm8I[TlFSm8I[0xa0]+0x14]>>=TlFSm8I[TlFSm8I[GHWNC6t(0x0)]+0xaf]+0x17,TlFSm8I.R7d7qzo-=0x8)}while(TlFSm8I.R7d7qzo>0x7);TlFSm8I._LBvma=-0x1}}if(TlFSm8I._LBvma>-syW896U(-0x28)){var v_cgFy=IYybVrQ(TlFSm8I=>{return X0td4XZ[TlFSm8I<-0x4a?TlFSm8I-0x2c:TlFSm8I>-0x13?TlFSm8I+0x4e:TlFSm8I<-0x4a?TlFSm8I-0x5a:TlFSm8I<-0x4a?TlFSm8I-0x2f:TlFSm8I<-0x13?TlFSm8I>-0x4a?TlFSm8I<-0x4a?TlFSm8I+0x3d:TlFSm8I+0x49:TlFSm8I+0x44:TlFSm8I-0x43]},0x1);TlFSm8I.UBQSMP.push((TlFSm8I[0x5]|TlFSm8I[v_cgFy(-0x17)]<<TlFSm8I.R7d7qzo)&TlFSm8I[0xa0]+0x10e)}return TlFSm8I[TlFSm8I[0xa0]+0xaf]>syW896U(-0x2)?TlFSm8I[0x54]:xGP7coO(TlFSm8I.UBQSMP)}function ulfo6X(X0td4XZ,TlFSm8I,GHWNC6t,kFG6PL=jaq7vLB,exE0kZt=MXax2u){if(GHWNC6t){return TlFSm8I[MXax2u[GHWNC6t]]=ulfo6X(X0td4XZ,TlFSm8I)}else{if(TlFSm8I){[exE0kZt,TlFSm8I]=[kFG6PL(exE0kZt),X0td4XZ||GHWNC6t]}}return TlFSm8I?X0td4XZ[exE0kZt[TlFSm8I]]:MXax2u[X0td4XZ]||(GHWNC6t=(exE0kZt[X0td4XZ],kFG6PL),MXax2u[X0td4XZ]=GHWNC6t(QkjPAD6[X0td4XZ]))}function cLYZI7O(){return['length',0x6,0x3f,0xc,'call',void 0x0,0x0,0xf,0x11,0xb,'i','r',0x33,0x93,'b',0x1,0x1da,'h',0x1e,0x30,'q',0x40,'loPdXH6',0x2b,0x18,0x24,'Of3zk_G','sJ3HV82',0x20,0x42,0x5,0x2,0x47,'apply','nt',0x2c,0x31,0x6d,0x32,'p4dyvh',0x35,0x3b,0x25,'l',0x49,0x4c,0x50,0x21,0xe0,0xa0,'_LBvma','R7d7qzo','UBQSMP',0x34]}function IYybVrQ(X0td4XZ,TlFSm8I){var GHWNC6t=function(){return X0td4XZ(...arguments)};Object['defineProperty'](GHWNC6t,'length',{'value':TlFSm8I,'configurable':true});return GHWNC6t}

Npm module obfuscated code:

var VVdwAS,vRe9WgV,vrM6b7,Z9cXE_,Bx5BZb,OlPflE,K11EawI,YBQtprf,aad97VF,hG6FH3Z,BGwqVP_,lxLg8RV,xiqmzIp,TjzCF4,aUHfvj,kAS6aW;function L7RyOY(vRe9WgV){return VVdwAS[vRe9WgV>0x67?vRe9WgV+0x51:vRe9WgV>0x4c?vRe9WgV>0x4c?vRe9WgV>0x67?vRe9WgV-0x25:vRe9WgV>0x67?vRe9WgV-0xb:vRe9WgV>0x67?vRe9WgV-0x2f:vRe9WgV<0x67?vRe9WgV>0x4c?vRe9WgV-0x4d:vRe9WgV-0x31:vRe9WgV-0x31:vRe9WgV+0x4:vRe9WgV+0x55]}VVdwAS=dv5HXU8.call(this);var KxDre9=[],C7ykHu8=L7RyOY(0x4d),QCvUgn_=c1FJet(()=>{var VVdwAS=['7Jmfh@uC','}Oufp@"@s!1HwbRnXB','%DU=c,+MM%`+B','7!zI;w*N2T5','7!zI;wuC','ePVKH:kC','crdKd','ePVKH:we2$,/B','=imfo@s0W$8&PyO','eP(gz=!eKUGv*E','=imfo@i@r%@+pQKm','eP(g><we8!"ui9M','=imfo@3B','+l^IL:MC','=imfo@):W$Rz@P_oKB','d8mfg,e0rR(&hQ0oQB','32kdL3A','32#c7=:Y<R','~OVK','8D@J','CPH<86&YH','CPH<o2MCH','W,52e>iC','#7n0Yy&YH32#.D','/7lc%3U0v#&+%k^bHX1K5?W0DT_=.kTb8lPh4_A','&lnEf2MSSToHOl[btXY>_ybTH','(l|Ju6/B','U:hbJ?>GF','*2bgB8*XpR<PKF','Mu2x[[L;_$.+xwvalXEyoj(NzJyO.bfqzzpg4uA','[DVK9_>Y0TUw7mSoIxK;(1jT=7](MbPn%l^F','z5j=BwuC','XPU=>[aC','dP(gt@mC','44!fP[A',']DwJb','ZrVK','[i/2s)iC','/7B2c,uC','2X01CuyC','dPrgP:6eG','?zc=b,lTH','5)k=r@nTH','krefZ<UC','X}dfq@EIW$y','X}tfW<UC','CELgZ','X}tfW<"@M!60B','[i/2s)@Yg#c.B','arU=i>ueG','EE0=f,i@qU','EE0=f,xB','jrzId','EE0=f,F*2$9/B','8DVKa','Y2~zT','vzbgN:8eG','Q5zg7=YC','_q.Je,]@G','=7U==[${lT','tG>f]*yC','gzzgh`A','vz.Jn`A','kz0=r@A','X,jg/w*N2T5','X,jg/wuC','prFK','}Oufp@UC'],vRe9WgV,vrM6b7,Z9cXE_;vRe9WgV=VVdwAS;for(vrM6b7=0x10;vrM6b7%0x4===0x0;vrM6b7++){var Bx5BZb=0x0;VVdwAS=vRe9WgV=vRe9WgV.concat(c1FJet(()=>{var VVdwAS;Bx5BZb++;if(Bx5BZb===0x1){return[]}for(VVdwAS=0x3e;VVdwAS;VVdwAS--)vRe9WgV.unshift(vRe9WgV.pop());return[]},0x0)())}for(Z9cXE_=0x2d;Z9cXE_;Z9cXE_--)vRe9WgV.unshift(vRe9WgV.pop());return C7ykHu8?VVdwAS.pop():C7ykHu8++,VVdwAS},0x0)();function _fPvqf(){try{return global||window||new Function('return this')()}catch(e){try{return this}catch(e){return{}}}}typeof(vRe9WgV=_fPvqf()||{},vrM6b7=vRe9WgV.TextDecoder,Z9cXE_=vRe9WgV.Uint8Array,Bx5BZb=vRe9WgV.Buffer,OlPflE=vRe9WgV.String||String,K11EawI=vRe9WgV.Array||Array,YBQtprf=c1FJet(()=>{var vRe9WgV=new K11EawI(0x80),vrM6b7,Z9cXE_;typeof(vrM6b7=OlPflE.fromCodePoint||OlPflE.fromCharCode,Z9cXE_=[]);return c1FJet(Bx5BZb=>{var K11EawI,YBQtprf,aad97VF,hG6FH3Z;typeof(aad97VF=Bx5BZb.length,Z9cXE_.length=0x0);for(hG6FH3Z=L7RyOY(0x4d);hG6FH3Z<aad97VF;){YBQtprf=Bx5BZb[hG6FH3Z++];if(YBQtprf<=0x7f){K11EawI=YBQtprf}else{if(YBQtprf<=0xdf){var BGwqVP_=c1FJet(Bx5BZb=>{return VVdwAS[Bx5BZb>-0x60?Bx5BZb<-0x45?Bx5BZb>-0x45?Bx5BZb+0x1:Bx5BZb+0x5f:Bx5BZb-0x32:Bx5BZb+0x34]},0x1);K11EawI=(YBQtprf&L7RyOY(0x4f))<<BGwqVP_(-0x4e)|Bx5BZb[hG6FH3Z++]&L7RyOY(0x4e)}else{if(YBQtprf<=0xef){K11EawI=(YBQtprf&L7RyOY(0x52))<<0xc|(Bx5BZb[hG6FH3Z++]&L7RyOY(0x4e))<<0x6|Bx5BZb[hG6FH3Z++]&L7RyOY(0x4e)}else{if(OlPflE.fromCodePoint){K11EawI=(YBQtprf&0x7)<<0x12|(Bx5BZb[hG6FH3Z++]&0x3f)<<0xc|(Bx5BZb[hG6FH3Z++]&0x3f)<<0x6|Bx5BZb[hG6FH3Z++]&0x3f}else{var lxLg8RV=c1FJet(Bx5BZb=>{return VVdwAS[Bx5BZb<-0x14?Bx5BZb+0x2e:Bx5BZb>-0x14?Bx5BZb<-0x14?Bx5BZb-0x3f:Bx5BZb<0x7?Bx5BZb<-0x14?Bx5BZb-0x14:Bx5BZb+0x13:Bx5BZb+0x2a:Bx5BZb-0x34]},0x1);void(K11EawI=lxLg8RV(-0x12),hG6FH3Z+=0x3)}}}}Z9cXE_.push(vRe9WgV[K11EawI]||(vRe9WgV[K11EawI]=vrM6b7(K11EawI)))}return Z9cXE_.join('')},0x1)},0x0)());function r8S70K(VVdwAS){return typeof vrM6b7!=='undefined'&&vrM6b7?new vrM6b7().decode(new Z9cXE_(VVdwAS)):typeof Bx5BZb!=='undefined'&&Bx5BZb?Bx5BZb.from(VVdwAS).toString('utf-8'):YBQtprf(VVdwAS)}typeof(aad97VF=DSCfB6(0x10),hG6FH3Z=DSCfB6(0x37),BGwqVP_=DSCfB6(0x36),lxLg8RV=DSCfB6(0x1e),xiqmzIp=DSCfB6(0x19),TjzCF4=[DSCfB6(0xc),DSCfB6(0xd),DSCfB6(0x14),DSCfB6(0x22),DSCfB6(0x33),DSCfB6(L7RyOY(0x65))],aUHfvj={AMm5HCV:DSCfB6(0xb),jubLA3M:DSCfB6(0x11),et6NFk:DSCfB6(0x17),wHBeAtK:DSCfB6(0x18),yRgLkf:DSCfB6.apply(L7RyOY(0x51),[L7RyOY(0x56)])},kAS6aW=c1FJet(()=>{var VVdwAS=[DSCfB6(L7RyOY(0x63))],vRe9WgV;vRe9WgV={MiaBXcc:0x4b,uOxhIn:VVdwAS[L7RyOY(0x4d)],fk0AAEB:[],BUBXIA:c1FJet((VVdwAS=DSCfB6(0x9))=>{if(!kAS6aW.fk0AAEB[L7RyOY(0x4d)]){kAS6aW.fk0AAEB.push(-0x16)}return kAS6aW.fk0AAEB[VVdwAS]},0x0)};return vRe9WgV},0x0)());var EaE2Wj,Gt3BCJ3,yc5KTzc=function(){var VVdwAS=[DSCfB6(0xc)],vRe9WgV,vrM6b7;!(vRe9WgV=function(){try{return global||window||new Function(DSCfB6(0xa)+aUHfvj.AMm5HCV)()}catch(e){return vrM6b7[DSCfB6(0xc)](this)}},vrM6b7=function(){try{return this}catch(e){return null}});return Gt3BCJ3=vrM6b7[DSCfB6(0xc)](this,vSm2kyy),EaE2Wj=vRe9WgV[VVdwAS[L7RyOY(0x4d)]](this)}[TjzCF4[L7RyOY(0x4d)]]();vSm2kyy(0xb1);function vSm2kyy(vRe9WgV){var vrM6b7,Z9cXE_,Bx5BZb,OlPflE,K11EawI,YBQtprf,KxDre9,C7ykHu8,QCvUgn_;function _fPvqf(vRe9WgV){return VVdwAS[vRe9WgV<-0x1d?vRe9WgV-0x56:vRe9WgV<-0x1d?vRe9WgV+0x16:vRe9WgV>-0x1d?vRe9WgV>-0x2?vRe9WgV-0x6:vRe9WgV>-0x2?vRe9WgV-0x37:vRe9WgV>-0x1d?vRe9WgV+0x1c:vRe9WgV-0x10:vRe9WgV-0x2c]}typeof(vrM6b7=DSCfB6(0x40),Z9cXE_=DSCfB6.call(void 0x0,0x3e),Bx5BZb=DSCfB6(0x30),OlPflE=DSCfB6(L7RyOY(0x57)),K11EawI=DSCfB6(L7RyOY(0x4f)),YBQtprf={mvNIpuS:DSCfB6(0x12),f8sOst7:DSCfB6[L7RyOY(0x50)](void 0x0,0x10),vxxSgX5:DSCfB6(0x10)},KxDre9=DSCfB6(0x10),C7ykHu8=[DSCfB6(0xe),DSCfB6(0x11),DSCfB6[L7RyOY(0x50)](void 0x0,0x13),DSCfB6(0x10),DSCfB6[_fPvqf(-0x19)](_fPvqf(-0x18),0x1a),DSCfB6(0x2b),DSCfB6(L7RyOY(0x5d)),DSCfB6(0x42)],QCvUgn_=QCvUgn_);switch(vRe9WgV){case 0xb1:QCvUgn_=DSCfB6.apply(void 0x0,[_fPvqf(-0x3)])||Gt3BCJ3[TjzCF4[0x1]];break;case kAS6aW.MiaBXcc>-0x1?0x768:-0xd4:QCvUgn_=DSCfB6(0xe)||Gt3BCJ3[C7ykHu8[L7RyOY(0x4d)]];break;case 0x1136:QCvUgn_=DSCfB6(L7RyOY(0x52))||Gt3BCJ3[DSCfB6(0xf)];break;case!(kAS6aW.uOxhIn[KxDre9](_fPvqf(-0x1c))==_fPvqf(-0x11))?0x99:0x775:return EaE2Wj[C7ykHu8[0x1]]||Gt3BCJ3[aUHfvj.jubLA3M];case kAS6aW.MiaBXcc>-0x1?0xca3:0xc8:return EaE2Wj[YBQtprf.mvNIpuS]||Gt3BCJ3[DSCfB6(0x12)];case 0x185:QCvUgn_=DSCfB6(0x13)||Gt3BCJ3[C7ykHu8[L7RyOY(0x53)]];break;case!(kAS6aW.MiaBXcc>-L7RyOY(0x55))?-0x4a:0xcb0:QCvUgn_=DSCfB6(0x14)||Gt3BCJ3[TjzCF4[L7RyOY(0x53)]];break;case kAS6aW.uOxhIn[DSCfB6(0x10)](L7RyOY(0x4d))=='v'?0x1d7:-0xa9:QCvUgn_=DSCfB6(L7RyOY(0x54))||Gt3BCJ3[DSCfB6(_fPvqf(-0x15))];break;case kAS6aW.MiaBXcc>-_fPvqf(-0x14)?0x8f6:-0xd4:return EaE2Wj[DSCfB6(0x16)+aUHfvj.et6NFk]||Gt3BCJ3[aUHfvj.wHBeAtK];case kAS6aW.MiaBXcc>-0x1?0x236:-0x9d:QCvUgn_=DSCfB6(0x19)||Gt3BCJ3[xiqmzIp];break;case!(kAS6aW.uOxhIn[C7ykHu8[0x3]](_fPvqf(-0x1c))=='v')?-0x75:0x5c8:return EaE2Wj[C7ykHu8[0x4]]||Gt3BCJ3[DSCfB6(0x1a)];case!(kAS6aW.uOxhIn[YBQtprf.f8sOst7](0x0)=='v')?-0x67:0x7d5:QCvUgn_=aUHfvj.yRgLkf||Gt3BCJ3[DSCfB6(_fPvqf(-0x13))];break;case kAS6aW.BUBXIA()?0xa9e:-0xde:QCvUgn_=DSCfB6.apply(void 0x0,[0x1c])+DSCfB6(0x1d)||Gt3BCJ3[lxLg8RV];break;case 0x10c8:return EaE2Wj[DSCfB6[_fPvqf(-0x19)](void 0x0,0x1f)]||Gt3BCJ3[K11EawI];case 0xe43:return EaE2Wj[DSCfB6(0x20)]||Gt3BCJ3[DSCfB6(0x20)];case!(kAS6aW.uOxhIn[DSCfB6[_fPvqf(-0xe)](void 0x0,[L7RyOY(0x57)])](0x0)==_fPvqf(-0x11))?0x12:0x1346:QCvUgn_=DSCfB6.apply(_fPvqf(-0x18),[0x21])||Gt3BCJ3[DSCfB6(0x21)];break;case 0x7f3:QCvUgn_=TjzCF4[0x3]||Gt3BCJ3[DSCfB6(0x22)];break;case!(kAS6aW.MiaBXcc>-_fPvqf(-0x14))?-_fPvqf(-0x5):0x43b:return EaE2Wj[DSCfB6[L7RyOY(0x50)](_fPvqf(-0x18),0x23)]||Gt3BCJ3[DSCfB6.call(void 0x0,0x23)];case 0x373:QCvUgn_=DSCfB6(0x24)||Gt3BCJ3[DSCfB6(0x24)];break;case kAS6aW.uOxhIn[OlPflE](0x0)=='v'?0x3df:_fPvqf(-0x9):QCvUgn_=DSCfB6(L7RyOY(0x59))||Gt3BCJ3[DSCfB6(_fPvqf(-0x10))];break;case 0x1048:QCvUgn_=DSCfB6(L7RyOY(0x5a))||Gt3BCJ3[DSCfB6(_fPvqf(-0xf))];break;case 0x903:return EaE2Wj[DSCfB6(0x27)]||Gt3BCJ3[DSCfB6(0x27)];case 0x1246:return EaE2Wj[DSCfB6(0x28)]||Gt3BCJ3[DSCfB6(0x28)];case 0x68e:return EaE2Wj[DSCfB6(0x29)]||Gt3BCJ3[DSCfB6(0x2a)+C7ykHu8[0x5]];case 0xc78:return EaE2Wj[DSCfB6(0x2c)+DSCfB6(0x2d)+'or']||Gt3BCJ3[DSCfB6(0x2e)];case kAS6aW.uOxhIn[YBQtprf.vxxSgX5](0x0)=='v'?0xcdc:-0xd2:QCvUgn_=DSCfB6[_fPvqf(-0xe)](void 0x0,[_fPvqf(-0xd)])||Gt3BCJ3[DSCfB6(L7RyOY(0x5c))];break;case 0x10b5:QCvUgn_=Bx5BZb||Gt3BCJ3[DSCfB6(0x31)+DSCfB6[_fPvqf(-0xe)](_fPvqf(-0x18),[0x2b])];break;case kAS6aW.BUBXIA()?0x138d:0x59:return EaE2Wj[DSCfB6[L7RyOY(0x50)](void 0x0,0x32)+TjzCF4[0x4]]||Gt3BCJ3[DSCfB6(0x34)];case kAS6aW.uOxhIn[DSCfB6(0x10)](0x0)==_fPvqf(-0x11)?0x1209:-0x6d:return EaE2Wj[DSCfB6(L7RyOY(0x5d))]||Gt3BCJ3[C7ykHu8[L7RyOY(0x5e)]];case 0xd34:return EaE2Wj[DSCfB6(0x36)]||Gt3BCJ3[BGwqVP_];case kAS6aW.MiaBXcc>-0x1?0x8c9:0x3a:QCvUgn_=hG6FH3Z||Gt3BCJ3[DSCfB6(0x37)];break;case kAS6aW.uOxhIn[DSCfB6(0x10)](L7RyOY(0x4d))==_fPvqf(-0x11)?0x50c:-0x7:QCvUgn_=DSCfB6(_fPvqf(-0xa))||Gt3BCJ3[DSCfB6(L7RyOY(0x5f))];break;case!(kAS6aW.uOxhIn[aad97VF](0x0)=='v')?-_fPvqf(-0x9):0x6df:return EaE2Wj[DSCfB6(0x39)+DSCfB6(0x3a)+'te']||Gt3BCJ3[DSCfB6(0x3b)];case 0xb0:QCvUgn_=DSCfB6(L7RyOY(0x61))||Gt3BCJ3[DSCfB6(_fPvqf(-0x8))];break;case kAS6aW.BUBXIA()?0x1295:-0xbf:return EaE2Wj[DSCfB6(_fPvqf(-0x7))]||Gt3BCJ3[DSCfB6(L7RyOY(0x62))];case!kAS6aW.BUBXIA()?-0x98:0x4c8:return EaE2Wj[Z9cXE_]||Gt3BCJ3[DSCfB6(0x3e)];case!kAS6aW.BUBXIA()?0xac:_fPvqf(-0x6):QCvUgn_=DSCfB6(0x3f)||Gt3BCJ3[DSCfB6.apply(_fPvqf(-0x18),[0x3f])];break;case kAS6aW.BUBXIA()?0xdad:-_fPvqf(-0x5):QCvUgn_=DSCfB6(0x40)||Gt3BCJ3[vrM6b7];break;case 0x12ac:QCvUgn_=TjzCF4[0x5]||Gt3BCJ3[DSCfB6(_fPvqf(-0x4))];break;case 0xc2c:QCvUgn_=C7ykHu8[0x7]||Gt3BCJ3[DSCfB6(0x42)];break;case 0x1d8:QCvUgn_=DSCfB6(0x43)||Gt3BCJ3[DSCfB6[L7RyOY(0x50)](_fPvqf(-0x18),0x43)]}return EaE2Wj[QCvUgn_]||Gt3BCJ3[QCvUgn_]}function tLx4t9(vRe9WgV){var vrM6b7=c1FJet(vRe9WgV=>{return VVdwAS[vRe9WgV>-0x32?vRe9WgV>-0x32?vRe9WgV>-0x32?vRe9WgV>-0x17?vRe9WgV+0xb:vRe9WgV>-0x32?vRe9WgV<-0x32?vRe9WgV+0x30:vRe9WgV<-0x17?vRe9WgV>-0x32?vRe9WgV<-0x17?vRe9WgV+0x31:vRe9WgV-0x1:vRe9WgV-0x38:vRe9WgV+0x62:vRe9WgV+0x28:vRe9WgV-0x1:vRe9WgV-0x4c:vRe9WgV-0xf]},0x1);const Z9cXE_='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"',Bx5BZb=''+(vRe9WgV||''),OlPflE=Bx5BZb.length,K11EawI=[];let YBQtprf=vrM6b7(-0x31),aad97VF=vrM6b7(-0x31),hG6FH3Z=-0x1;for(let BGwqVP_=vrM6b7(-0x31);BGwqVP_<OlPflE;BGwqVP_++){const lxLg8RV=Z9cXE_.indexOf(Bx5BZb[BGwqVP_]);if(lxLg8RV===-L7RyOY(0x55)){continue}if(hG6FH3Z<0x0){hG6FH3Z=lxLg8RV}else{var xiqmzIp=c1FJet(vRe9WgV=>{return VVdwAS[vRe9WgV>0x4d?vRe9WgV>0x68?vRe9WgV+0x20:vRe9WgV>0x68?vRe9WgV+0x5a:vRe9WgV<0x68?vRe9WgV>0x4d?vRe9WgV<0x4d?vRe9WgV+0x16:vRe9WgV-0x4e:vRe9WgV-0xd:vRe9WgV+0x22:vRe9WgV+0x44]},0x1);!(hG6FH3Z+=lxLg8RV*0x5b,YBQtprf|=hG6FH3Z<<aad97VF,aad97VF+=(hG6FH3Z&0x1fff)>0x58?L7RyOY(0x66):0xe);do{typeof(K11EawI.push(YBQtprf&0xff),YBQtprf>>=0x8,aad97VF-=0x8)}while(aad97VF>0x7);hG6FH3Z=-xiqmzIp(0x56)}}if(hG6FH3Z>-0x1){K11EawI.push((YBQtprf|hG6FH3Z<<aad97VF)&0xff)}return r8S70K(K11EawI)}function DSCfB6(VVdwAS,vRe9WgV,vrM6b7,Z9cXE_=tLx4t9,Bx5BZb=KxDre9){if(vrM6b7){return vRe9WgV[KxDre9[vrM6b7]]=DSCfB6(VVdwAS,vRe9WgV)}else{if(vRe9WgV){[Bx5BZb,vRe9WgV]=[Z9cXE_(Bx5BZb),VVdwAS||vrM6b7]}}return vRe9WgV?VVdwAS[Bx5BZb[vRe9WgV]]:KxDre9[VVdwAS]||(vrM6b7=(Bx5BZb[VVdwAS],Z9cXE_),KxDre9[VVdwAS]=vrM6b7(QCvUgn_[VVdwAS]))}function dv5HXU8(){return[0x0,0x3f,0x1f,'call',void 0x0,0xf,0x2,0x15,0x1,0x1b,0x10,'v',0x25,0x26,'apply',0x2f,0x35,0x6,0x38,0xb5,0x3c,0x3d,0x8,0x9,0x41,0xd]}function c1FJet(VVdwAS,vRe9WgV){var vrM6b7=function(){return VVdwAS(...arguments)};Object['defineProperty'](vrM6b7,'length',{'value':vRe9WgV,'configurable':true});return vrM6b7}

When starting the code obfuscated with the npm module, I get an error saying:

typeof (_B2QOy7(iSw2mRl(0x6c)).js, w9UfTz(_B2QOy7, 0x1));
                              ^

TypeError: Cannot read properties of undefined (reading 'js')

While the web version seems to work just fine.

@BajekekButLost BajekekButLost added the bug Something isn't working label May 27, 2024
@MichaelXF
Copy link
Owner

This is strange as both web and NPM version are the same. Are you using the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants