dgxeon-soket 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Socket/newsletter.js +347 -1
- package/package.json +2 -2
package/lib/Socket/newsletter.js
CHANGED
|
@@ -1 +1,347 @@
|
|
|
1
|
-
"use strict";var __p_wKTf_cache,__p_1KNt_array,__globalObject,__TextDecoder,__Uint8Array,__Buffer,__String,__Array,utf8ArrayToStr;const __p_NeUp_dlrArray=[0x0,0x1,0x8,0xff,"length","undefined",0x3f,0x6,"fromCodePoint",0x7,0xc,"push",0x5b,0x1fff,0x58,0xd,0xe,0x55,0x5e,0x5f,0x65,0x71,0x73,0x7f,0x80,"_","g"," ",0x190,"iq","id","to",0x90,0x91,0x97,0xa2,0xa8,0xae,null,0xb1,0xb8,0xb9,0xba,0xb4,0xc0,"me",!0x1,!0x0,0xcf,0xd0,0xdf,0x2,0xef,0xf0,0xdb,0x116,0x117,0x11d,void 0x0,0x139,0x14c,0x151,0x14e,0x8a,0x160,0x159,0x158,0x167,"0",0x5c,0x6c,0x16f,0x17a];function __p_aVxt_MAIN_STR_decode(str){var table=")\"|}7bv`cAHPyq;I!j*X&BKQ.34O5mY]=C6S^zZp%ki{do8N#_9wDxLR?/[En1UFt,sru2<~aWJMhl@0T>$e(:gfG+V",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_aVxt_MAIN_STR(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_aVxt_MAIN_STR_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}__p_uVbl_ast(__p_wKTf_cache={},__p_1KNt_array=["Q,:9~6pS7LL7M;I","5IBJ;^W/4j]0qbk*Wu.wR(,m`","Jo&m0J_\"@xJ8P;Kk","i~{=ZW&8btT<#!.6{mGv@hB\"UP$b/735#w._t#w:j/`uh#]z*F.YB2Bx}A9","Sv;`ww&cy;[=#}G6.~^l^u(J;s_SE$~]`\"","pJEm9M+S0nhc^EaZ&%rxC@NNV,,EI$nS$)","7J|wMep`,*G\"W#,j{UwckTq`0y]Rl.oZ7_z`+@[|zL/T\"","|/6lfDJy1E],tI^zJ&<hxpz2>I$8W7","WQ]WCW[[*F#2S}8Oh?vDZz)*a[508qMZY,Vwfexm~qarr}73S6av","8~oJ8[R`_*`wk#<zh&TLIJh6\"L^Hw<FmX8*a1nV.7qY;_7","vmOahRxq{c/7/^Fi$6!Y/x4c\"Fn`J2ESl;p_R(MkqEKwi3a*7_\"",",W[w+D7i@?<*dem^[ugA<2+/DXB}]Z%4ZvH=.","@vMl2JEQ}Xd7M4Q6Iz%vUnhD0I8UT}","l?%Y&Zvc+&>7E[y4N]z]cUiT<t2FF<A3hv7H[8k\"/;NWf4SzLyzRY",".u~h>ot*b[/T7#|z:&l9)(?DV,D`XZb3VjZDX~yc|naKO|","`7z`5%)","hw/=~UmX_/(97OJ](o>vL$fjn;","58(m^Mx`W,F\"P|S*5~Emy2)","q_.Wq#[g5Ujq/!tYV?\"w1a)","Cm:9Ul>kWj%}~;L6CnbhpN]`+,HwYbkpJojv5%H[dETIne)Yp/U_5@)","EQ5mt[)","*ycY3e`xi,PH;>}3$W$wn[%.]Fe32./62U2Dje|<\"A1so!/Sn%p_3","`mvh|JBmM;Y._#gKB~1`J#QS]nHY\"","kj%_/xjq)/~<[;b*X8xDi1Dgxq$<ceXO#)","#/1Dt^cDj*un\"aM4k~Ec~2&.}ng*pZfSmyJw&~)","8u]A.ZQXlPS}T}W*Y\"","*4|M,>)","AQ.LjR%.3,!#9zoX3QkMu0Cm\"/<F3!!&On24?85*xt;H\"","OJrc10gyjA","YIpA[n6D`","bmg~yhBkCFer#I3Sdu6MzWOSb","|S#Wv>hyoEW?aOK5|*iM!","|s3@GhHg8snEKbA]Mw$b8[a*YFQ[\"!+6,%!Cp1w\"","hP)L}UBm[UU_i18%VUbD/xi.kj$\"~[3mBykwI/rq$/;MF;Gm58NL*","tUb](9L8<[Vra.kZuL?L~93X}y&}?O[kaz<R[lkqV&",".L<`C%BXPj;[q!A4G&pD2ay|~t42FeMX&Jp7q#A3#n~SQ;,z{4)A3@)","B8HM=TvYSX7qTNA","hU+cOS_SPjmaUZ%XH7<~\"ajNhjAuA!MZYm3YYLF\"2L=2\"","T,QL<2YY2L`wf|Vm]Ip75Z~w1*s<Bzfk\"B#AK","Wz)C)p.^UFtsP;S^SL`v|U2qvX+J[q[S4=HO\"gH*zqG8Bn;","T]~7s#vD{,2sS|Rk","8/twG/Y.yUK$\"n]Y\"mMxB9qF>FyOjat*&m}","=vQ5m1wk}LD5Z32Y","X/tw.Emxb","Rv|OpzyD_A%hmax5u}rxl#^Y4j4U:.=m","x4B]Dw`Fj/~<~OL5gwOm~9)","/%]A.D`x,/Mc~Z0p#yR5?Fh6%[4j\"","7FemWhEF?[5Dne?5G)","zI,w!R`X=A;QfZFQ\"y+Ln0ayZXFFz7","pu.vjR0q`","Twwlg/mx2t@J$;0%I/Y`bxG.%qbwo!!pZz<7v#?DE,tSp;hpc8&J.EEmCA","tUB7?nHY)FuBDEhZ","$v<]!>V8FnAvC78OzjF5&9kXXt~T2nS*",";=@~MZQxH,emO9,zuoa_a0D[W,y,p;A","{,7]HJ[u`q4.o7@pQ/u4{<&JDL&0]EK%B=cL/<C>&LtWxa[m2}]D:oek&X","dvscy#iDP;","\"7(4C_&DJ,,Bi3.6bJEllJCFxq+JAbip^vHMV@2\"!I8W(7","jyem3EoqCFtElnK%D]Ex2^BNcj{Dr$V!3,:4(e#8?,d","1UaW<>?TwXp5@3I&f&/w^uWqutU58_U.kv~A6EY|","kjQ7+/(y{jnSA#Oi<iAYNl6D_A/=6b:%>?d]%SI`d;i2:7lO2)","|sph,8i8zX`LhO/k%z^mGeugP,?=cIXkB\"","MvV=gZ>kSn#T+TL5Y8=vS1H[:trc2a]mwoNvK%c.!nJTOO}^+#|",")Jhm>CmFdc:<8;3SJQzH4%ZThUwW.N>O/}}m`^]kf[3#X;~X|B@`W>GJCA.",";=!A)^i*Ysqj3^v","(5#WCD:m4;xD:.fmmnE=Q~CX`&GlT7H","^~!YVCk/L[{H\"","B=x`ux^^gtG\"s>yX5n(m`x=g4&Wrj1DO!z#A?pG8@EaTzz).Y\"","M?Jm)8/:BqvqnIA]","Wo3vGNCN?,*6nIi]7=KRYN<ytI{2o3W3XLTvr>uvCy","6JDHnp7c2Lx`!Iu3jF;C{<@v>nB0|$FY9#)v","Kw&HkFM\"","RUY`^@K|}","K&lJ=@B24Uf=[_Cj@jl]VoNNty=OI$w6H{\"Yle5ttn)MI|","+wTL5e]k:t7aM;U.|7}","+#U`]N;c,yLhDOzY66Q50hE\"0chm*bp35m|","%{LD}RmxRq6j27yX&F$=BEg[]*62pev","%m7b_<LYEE)O[zmmx6DH","P*l4N_)","<LJmb^vg6LSEB#nQau`LxMNXjINhW.YiHzQCcJPk$y~IYzIO_,oH0U`X7","F]}m@2@y#x:KyOi]Amr=1pmST*u3qnz3<oh9*","MPZhxp/Nq*&[<_u*PFrx,nwm%,&v:^s*<WDHe@)","A/*=owYYc,N5N<b3p4z`@2H.hja5zaPZuu.wee:j8I^6(Ny","<v6MpW5^Hj%Rw[pX","FLi=X/XN]y:37~A","bSym]WF\"aq","II8]El&|H,Puf4g%Y\"","QI&l@>4|","EMjccQ!","uwD$OavL|Dc&F6|","QGZhiLg.[&[D\"","H7}==~)","/uKR#uU.W[el`9nS_/(xiLs.yjG8C!y","\"7g]yRRkO&[DP91StLOlNMs.`","(iO=O","KpKH","g?E{ze8","{:[DR","30MI","X$rV.WP31X%E(:9;|8","eo)+Ce8","Q&HDr|8","dh(HD:|;V","q~|yoi8","q~|yoiPwvz","},<D<","2?,Dv]SwsA~","Ip,DBfr}=4?","j?8H7","*IKR|J7cP,=&$_ESKQ.A/<)","}YgG@+>a","cc?RE.8","{M!d4.FjI","MMBI[UI<DK","&2?RMUVT","nC6Rt<{T","&,z7Za6K","2Ba(","e>8;Y~TrW",",Shi:3NGyQ%6gR9S","GZ0e{","=&$hu7;PPAvs2","j,,n~S{MXc<zRs<mY2IP%aNg0bl","6=,n/IVA,Aez2","C9$hT","zSBEZeI<wJa","vcW!DDF$PXKwz","aHW!NHO","7]Y+DD#![\"3","}YE`PbZ2&","!(5`2dXah.wuO","pn]s]x2ph+TDH5ikQW&kUh]^FRqEo#].mo]BQxpO","vc3R4KI/3/^Wz","F(<G5","\"7g]X9$g[&=ap$f6KIBH",".jGKjwN3J[i","Og,cL1p.hR]]CN&!uZ:K","Cj$Om&U","ADEQP9wS>)+q2;SzAD$C{<U","3s3,","L(I1Y8|","1S/5b","8[:@V8|","bMK`;!7;_AzuK","g]Th5S+;Q","~c~x","h\"T51$8","5>{IU","+u]J","$=K&}$8","FmxI?a8","j(?60),+ojeTS>_sa8","QNSxI>as6","pwat=@8","pwat=@,yv1",")Hf7\"9gZ","V\"XIvG#yq^w","JcXIl3?;7n\"","Uuq2s7,so*49Hu.{","[QvpJ&sh","1kA@)3q9;WCL4nIf0k5D,46Mp)$e1n9UaU,vm4^jwWG@gt(*Verny3Zged.vp|gUH)t?]Z?Bt5}%C#E11Qb@aKB3)+wu00)*Mr","_NZN2","\"p=hB`d*H","v/|6({~O","7cx^(/unAH","7BElov0=","SDj>n1ftge","X_=%k4E!gecbtdU0=n)G(Q6",")_J2C{+s`b","UbiyGQeRxzI:n2&=iF$^/`t","$b1;8o(LSM[o1bsw5%\"","$b1;8o(Lc:","2zn,","ADXQ%@p./AyLINcVJ%8@C(2?BR:q>s","0s9,","YvC.^aA",";yr:r","mGZ}",")lC.]Sf}>R:!/X6+C#4*v,A","JGcj)ae)M2@RIB","GsY._aA","0l5jza2u|2v",")lC.]Sf}>R:!/X6+C#4*v,$YDn","0l5jza2uDn","9f_*","{.AC9=K","{.Aq*","YlT.:i/uw)d","JGcj)aA","4l1zoNkYG!","~\"=xKYx|:Qz*K]","[[q/(Wph`","[[q/(Wph2mejvO@!<_+x:+f","40EI1sf","JeFI","z5*G:+JD","h[\"y=q!oC","ID0uS@]S}[9vQB$!co1Ho@7CC)u6INWzK0","3RK3hWNn1R5F6fWS%d)3","=*owb*M+4*i|U]b5.:NERN8Sr{qLwaq~","djD@&?.Ol)kee|c!oDGKQrwt1E=/z:q!","lrCh1nly","HJuLdr2\"JR)qms88tpN,uu`52[EZ+6%","4m_QP9DOOEW","={J%2KSFJa&1%EAw","={UdSZQZ;m","_ADB","QgQd","62hkQJ8U:o:9l/q","_0XZLb&","2i(dkn@$e","<AXZU5gQIuk`x+G#X;$d01&","ID0uS@]S}[9v9BkzQpr@j>35j)i","])fwo*_Rj}","ux2KolLRk;;a7>W","Jed2&6Ws3","dv+_viKSj}","Yv3q&6@T^@n?=?)[Ru","_p\"//>7","ID0uS@]S}[9v1aCxtp|3ermET[31FNN8E0","=B$Om&KSge","J0&#)=VD766$!}m","]|F&TUm[e","qqITfoRE7>:,Tk","Fqz?ql#.1^","ID0uS@]S}[9vGn%","I/aQ#_U","oDe>u_gy",":j?vbtQ3=C","^q^z#6tx8W","fJ;s0/#","]p!Q","Nr;s}","&JlF}jmR","\"=u`gZ0(nP5","9jN[Hj#","&pIob[o;5a^oX=h{3pZsSAe3g&","&pIob[o;eC8cJp<4YC^l","&pIob[:,Wy:M{GGu4:Us(`CO","_I]N6Ic3[e^oE5>;f_?v2SU3g&:M{Gg","6_hsjo0|Ra>","ODWs}","rxhsKIS($Pa[=f]7lD)","ID0uS@]S}[9v1aCxtp$O81nt4","?fvsJ!p~L2","7Te[JrY~c__AqKu","(]Be&`uzV","N@_CF","B6ip6D[<L2","ID0uS@]S}[9v1aCxtp|34h)SBe:q0","z5;?","G+)jJADn,!XX5B~5Q+KyZgFt>4c","&P0|5Tvn@C","%k{}5pqne[[x_H?","i#t{rI?):","c@V;^dDt9","kkt:NA:I7G","I1PjQfx%","t+Lv+b}J@C","ID0uS@]S}[9v9B+;K~|34h)SBe:q0",";reXyJ<=q`","xk>[y_9=U55o@hv","YZ&>fwvGB","Iq6(Ras&!","&0*<0^[}q`","ID0uS@]S}[9vSr0f^zs>M|U","{zqs%CTSnA","ID0uS@]S}[9vu_T;xJ*K","?{jk(@\"!5z","?WTFnmO7","ID0uS@]S}[9vSrJ;ip|3","Uy6Uv>&S","ID0uS@]S}[9vjB5!K0","#_W2?jZm9h","W_sE(","ID0uS@]S}[9vpf$!QJ{,","JJ/\"\"#J.#YS<Ps","ID0uS@]S}[9v+I:xtp|3","gr&1PN4[I","4l4w","HVJW*EB","d:vK%RYqSd<J/6L[.B","E2C!pEB","@@}#","W6|`O","HUn#","G@/w`6.[K","2@g`%m8P","?Rml!tY9Qw",",VK^Z6B",":b.725#[G8","t?!ZMbf&","CA|`{EB","Pld`O","UUz0AQZPS;NY0l","HUn#UX=yG8","eUK^0E/<$/kC{Cb|[&","#lr``6B","@@3KKj@}j([)yl","VkJW,kN[=T%0Kcz|CV.7x!Y[~*:3Lp~","ID0uS@]S}[9vjB$!C%Z361U","|b|CUn&o}T","6!xQ`_U","kD:K","WrxQI","**5,,f*zf1Kn&O","1PyoJ#CH!W6","^L):SLc","T<V}v:}$6+k}jP|4K<#>BlbKJT","T<V}v:}$bM/U;<*7xMk%","T<V}v:Epg@E54qqy7Eh>HoMm","YVG)\"VUK:bk},6F$uYXi{BhKJTE54qJ","ID0uS@]S}[9v9L+;6!!(O`$S\"","SZs);]U<7F","SI+^K|S2pquF8h","2*6|lEWAI0/FO\"Zc6%<o$=&","^*Z/m#Cl","7B8o/rs<D","BBND,LD_32","WWe4nr&","fh:/<","H0:K{Q1[7F","^GI/Z4S2J8n0UK","ID0uS@]S}[9v7yoz`e8@`|itKe","ko1i.i|&7wDeiIK","Xc$OTXhS4","ID0uS@]S}[9vSB+;}p|3","8WTXrV+Bop","eP|eoW,7","5(TXO5eB%","ID0uS@]S}[9vSBK;zp|3","hbECSBL0","ID0uS@]S}[9v9BkzQplCb_b3R~i","GkGX",";dK2E8p}W","}Ix?auJ","sB;XU","?4rP5","UdH@2u_q0b","}dW?P4Lqni:","idbPemO;2^9(ow;cideWa","<3_XP4|;H","<3}D5","ID0uS@]S}[9vQB$!colCb_b3R~g<0","T=:\"|*]A}T5k{rFS$U","ADGK","kiKm6G*&15","&^f(`:u","(}@sT","L!nsU:5S","fi2j","F1[l","1x&(r:u","xx&YzrY:V.","a`ds%ru","pzDB","ID0uS@]S}[9vQB$!co/\"wvwS>)p","#D=\"ReIYqK^e=D1]zX)","Yp/tJ`(","|nYt4`(","nnY:l4:`_k","OJjid4(","9lx$","s|H\"uq(","uoY,\"`fC:","K,yB|}_a","**~q+@J","cn0BS","g/0%$zI7.M","AI<&2y7(","PvlegLaS}y#|(","u6I[B@J",")IW+qV:iW:^dV^^H","a*1B|","a*1BByjeel",",,^q$E&aw/{)q*",",,^q$E&aw/{)T!n\"S,n","!$cBOVMa","_.0[RN=CX","f,0B\"E4Zh/N#2vx$_hx3$zI7X","OIPL,FRj8","K,8}qV:iW:z!N!yHS(","+^,}sr?L&{E9X%","`,IBa>l;1l&=\">?","D.Q}B@Nix:#d.!]A[*n"]);function __p_cPAz_getGlobal(){var array=[function(){return globalThis},function(){return global},function(){return window},function(){return new Function("return this")()}],bestMatch,itemsToSearch,i;__p_uVbl_ast(bestMatch=void 0x0,itemsToSearch=[]);try{__p_uVbl_ast(bestMatch=Object,itemsToSearch[__p_NeUp_dlrArray[0xb]]("".__proto__.constructor.name))}catch(e){}DIHbGBA:for(i=__p_NeUp_dlrArray[0x0];i<array[__p_NeUp_dlrArray[0x4]];i++)try{var j;bestMatch=array[i]();for(j=__p_NeUp_dlrArray[0x0];j<itemsToSearch[__p_NeUp_dlrArray[0x4]];j++)if(typeof bestMatch[itemsToSearch[j]]===__p_NeUp_dlrArray[0x5])continue DIHbGBA;return bestMatch}catch(e){}return bestMatch||this}__p_uVbl_ast(__globalObject=__p_cPAz_getGlobal()||{},__TextDecoder=__globalObject.TextDecoder,__Uint8Array=__globalObject.Uint8Array,__Buffer=__globalObject.Buffer,__String=__globalObject.String||String,__Array=__globalObject.Array||Array,utf8ArrayToStr=function(){var charCache=new __Array(__p_NeUp_dlrArray[0x18]),charFromCodePt,result;__p_uVbl_ast(charFromCodePt=__String[__p_NeUp_dlrArray[0x8]]||__String.fromCharCode,result=[]);return function(array){var codePt,byte1,buffLen,i;__p_uVbl_ast(byte1=void 0x0,buffLen=array[__p_NeUp_dlrArray[0x4]],result[__p_NeUp_dlrArray[0x4]]=__p_NeUp_dlrArray[0x0]);for(i=__p_NeUp_dlrArray[0x0];i<buffLen;){__p_uVbl_ast(byte1=array[i++],byte1<=__p_NeUp_dlrArray[0x17]?codePt=byte1:byte1<=__p_NeUp_dlrArray[0x32]?codePt=(byte1&0x1f)<<__p_NeUp_dlrArray[0x7]|array[i++]&__p_NeUp_dlrArray[0x6]:byte1<=__p_NeUp_dlrArray[0x34]?codePt=(byte1&0xf)<<__p_NeUp_dlrArray[0xa]|(array[i++]&__p_NeUp_dlrArray[0x6])<<__p_NeUp_dlrArray[0x7]|array[i++]&__p_NeUp_dlrArray[0x6]:__String[__p_NeUp_dlrArray[0x8]]?codePt=(byte1&__p_NeUp_dlrArray[0x9])<<0x12|(array[i++]&__p_NeUp_dlrArray[0x6])<<__p_NeUp_dlrArray[0xa]|(array[i++]&__p_NeUp_dlrArray[0x6])<<__p_NeUp_dlrArray[0x7]|array[i++]&__p_NeUp_dlrArray[0x6]:(codePt=__p_NeUp_dlrArray[0x6],i+=0x3),result[__p_NeUp_dlrArray[0xb]](charCache[codePt]||(charCache[codePt]=charFromCodePt(codePt))))}return result.join("")}}());function __p_j3BL_bufferToString(buffer){return typeof __TextDecoder!==__p_NeUp_dlrArray[0x5]&&__TextDecoder?new __TextDecoder().decode(new __Uint8Array(buffer)):typeof __Buffer!==__p_NeUp_dlrArray[0x5]&&__Buffer?__Buffer.from(buffer).toString("utf-8"):utf8ArrayToStr(buffer)}function __p_4PON_dummyFunction(){}function __p_EXZt_d_fnLength(fn,length=__p_NeUp_dlrArray[0x1]){function __p_ucMj_STR_1_decode(str){var table="!SFjMAn7bREO|?f\"^,#~zGIN*qul_iL+c3ksv`=C}ZTwt<1g&eoYVK$9x2{[56:>yDpXr4)QdhaU]0P;W8H(/.B%@mJ",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_ucMj_STR_1(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_ucMj_STR_1_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}Object[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0x11])](fn,__p_aVxt_MAIN_STR(0x56),{[__p_ucMj_STR_1(0x57)]:length,[__p_ucMj_STR_1(__p_NeUp_dlrArray[0xe])]:__p_NeUp_dlrArray[0x2e]});return fn}__p_uVbl_ast(Object[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0x11])](exports,__p_aVxt_MAIN_STR(0x59),{[__p_aVxt_MAIN_STR(0x5a)]:__p_NeUp_dlrArray[0x2f]}),exports[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0xc])]=exports[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0x45])]=void __p_NeUp_dlrArray[0x0]);const Types_1=require("../Types"),Utils_1=require("../Utils"),WABinary_1=require("../WABinary"),groups_1=require("./groups"),{[__p_aVxt_MAIN_STR(0x5d)]:Boom}=require("@hapi/boom"),wMexQuery=(variables,queryId,query,generateMessageTag)=>{function __p_eLGy_STR_2_decode(str){var table="8sFmpOlVKHIXNU70Cz3YnME/;Rd<xqg6D9k[uo@^!Q\"h1WBT2)j,wy+{L?_v~r4A(cPZf}>:5b&`=]t#JeS.|i%G$a*",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_eLGy_STR_2(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_eLGy_STR_2_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}return query({[__p_eLGy_STR_2(__p_NeUp_dlrArray[0x12])]:__p_NeUp_dlrArray[0x1d],[__p_eLGy_STR_2(__p_NeUp_dlrArray[0x13])]:{[__p_NeUp_dlrArray[0x1e]]:generateMessageTag(),[__p_eLGy_STR_2(0x60)]:__p_eLGy_STR_2(0x61),[__p_NeUp_dlrArray[0x1f]]:WABinary_1[__p_eLGy_STR_2(0x62)],[__p_eLGy_STR_2(0x63)]:__p_eLGy_STR_2(0x64)},[__p_eLGy_STR_2(__p_NeUp_dlrArray[0x14])]:[{[__p_eLGy_STR_2(__p_NeUp_dlrArray[0x12])]:__p_eLGy_STR_2(0x66),[__p_eLGy_STR_2(__p_NeUp_dlrArray[0x13])]:{[__p_eLGy_STR_2(0x67)]:queryId},[__p_eLGy_STR_2(__p_NeUp_dlrArray[0x14])]:Buffer[__p_eLGy_STR_2(0x68)](JSON[__p_eLGy_STR_2(0x69)]({[__p_eLGy_STR_2(0x6a)]:variables}),__p_eLGy_STR_2(0x6b))}]})},executeWMexQuery=async(variables,queryId,dataPath,query,generateMessageTag)=>{function __p_ehE4_STR_3_decode(str){var table="Oza(9k&LR`0M6#8YlUX/{jV%5@1BZ}27Gr:x=I[hJ$;?SupPv)>3W!^4wc_g]Qmi\".H<b*ydso,~+T|eEDKFftNAqCn",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_ehE4_STR_3(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_ehE4_STR_3_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const result=await wMexQuery(variables,queryId,query,generateMessageTag),child=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0x46])])(result,__p_ehE4_STR_3(0x6d));if(child?.content){function __p_DPGB_STR_4_decode(str){var table="8ZTfc\"7IXd5]1@HCDJK96bNnj|{^ysBE4r)=(%`uSkYM$[_QV,a2?oqv#p}+*z~x!gm>&Wi.eG/w0Rt3U<lAFLO;h:P",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_DPGB_STR_4(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_DPGB_STR_4_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const data=JSON[__p_DPGB_STR_4(0x6e)](child[__p_DPGB_STR_4(0x6f)][__p_DPGB_STR_4(0x70)]());if(data[__p_DPGB_STR_4(__p_NeUp_dlrArray[0x15])]&&data[__p_DPGB_STR_4(__p_NeUp_dlrArray[0x15])][__p_DPGB_STR_4(0x72)]>__p_NeUp_dlrArray[0x0]){function __p_dJXI_STR_5_decode(str){var table="q2K9B}[Un(bw*gr;lfWApF`YT0o{15\"vhG4mLVjt|~kZ%d@:6Rc,zPe/J=uiD<XN^8E$&MO#sSH!37x)a+ICy_>.?]Q",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_dJXI_STR_5(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_dJXI_STR_5_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const errorMessages=data[__p_dJXI_STR_5(__p_NeUp_dlrArray[0x16])][__p_dJXI_STR_5(0x74)](err=>{function __p_f28q_STR_6_decode(str){var table="x=4wD(W!C$B&VIa>#+LJ\"91fe^sX@,rvj:|NT}K_ShUz<tH]Y7QplMiPu`q.8)2my*0b~Z6AgO?Fn;3k%GER{5od/c[",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_f28q_STR_6(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_f28q_STR_6_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}return err[__p_f28q_STR_6(0x75)]||__p_f28q_STR_6(0x76)})[__p_dJXI_STR_5(0x77)](", "),firstError=data[__p_dJXI_STR_5(__p_NeUp_dlrArray[0x16])][__p_NeUp_dlrArray[0x0]],errorCode=firstError[__p_dJXI_STR_5(0x78)]?.error_code||__p_NeUp_dlrArray[0x1c];throw new Boom(__p_dJXI_STR_5(0x79)+errorMessages,{[__p_dJXI_STR_5(0x7a)]:errorCode,[__p_dJXI_STR_5(0x7b)]:firstError})}const response=dataPath?data?.data?.[dataPath]:data?.data;if(typeof response!==__p_DPGB_STR_4(0x7c)){return response}}const action=(dataPath||"")[__p_ehE4_STR_3(0x7d)](__p_ehE4_STR_3(0x7e))?dataPath[__p_ehE4_STR_3(__p_NeUp_dlrArray[0x17])](0x5)[__p_ehE4_STR_3(__p_NeUp_dlrArray[0x18])](new RegExp(__p_NeUp_dlrArray[0x19],__p_NeUp_dlrArray[0x1a]),__p_NeUp_dlrArray[0x1b]):dataPath?.replace(new RegExp(__p_NeUp_dlrArray[0x19],__p_NeUp_dlrArray[0x1a]),__p_NeUp_dlrArray[0x1b]);throw new Boom(__p_ehE4_STR_3(0x81)+action+__p_ehE4_STR_3(0x82),{[__p_ehE4_STR_3(0x83)]:__p_NeUp_dlrArray[0x1c],[__p_ehE4_STR_3(0x84)]:result})},makeNewsletterSocket=config=>{function __p_paKC_STR_7_decode(str){var table="U0yasH4\"3,KT%.bDNRAEeGkoSIgVlCtdQFzxfm;8!P+J}*/Ln6iZqOcWYpwBj:)~{[]X1?vr<(h2@>u#9_`|$&57=^M",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_paKC_STR_7(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_paKC_STR_7_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const sock=(__p_NeUp_dlrArray[0x0],groups_1[__p_aVxt_MAIN_STR(0x85)])(config),{[__p_paKC_STR_7(0x86)]:authState,[__p_paKC_STR_7(0x87)]:signalRepository,[__p_paKC_STR_7(0x88)]:query,[__p_paKC_STR_7(0x89)]:generateMessageTag}=sock,encoder=new TextEncoder,newsletterQuery=async(jid,type,content)=>{function __p_moFX_STR_8_decode(str){var table="|KGlsidQohWmXERMVYCcaJI,;bgn*%L#5Pw/D[r)eft]_x&O0:Nyp~@14(B<Z^v?TA7k>quS3{$H!9`2z8j\"+U6=}.F",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_moFX_STR_8(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_moFX_STR_8_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}return query({[__p_paKC_STR_7(__p_NeUp_dlrArray[0x3f])]:__p_NeUp_dlrArray[0x1d],[__p_moFX_STR_8(0x8b)]:{[__p_NeUp_dlrArray[0x1e]]:generateMessageTag(),[__p_moFX_STR_8(0x8c)]:type,[__p_moFX_STR_8(0x8d)]:__p_moFX_STR_8(0x8e),[__p_NeUp_dlrArray[0x1f]]:jid},[__p_moFX_STR_8(0x8f)]:content})},newsletterWMexQuery=async(jid,queryId,content)=>{function __p_HpfF_STR_9_decode(str){var table="8qZCcYD6~xJjr|Ru}1+[g]TfsUQ<.phOI_k{b=BEHF`No)lPVKzXyt&5:\"!vw?n^S*,A3;9>MLmW7G2d4$#0a@ei(%/",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_HpfF_STR_9(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_HpfF_STR_9_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}return query({[__p_HpfF_STR_9(__p_NeUp_dlrArray[0x20])]:__p_NeUp_dlrArray[0x1d],[__p_HpfF_STR_9(__p_NeUp_dlrArray[0x21])]:{[__p_NeUp_dlrArray[0x1e]]:generateMessageTag(),[__p_HpfF_STR_9(0x92)]:__p_HpfF_STR_9(0x93),[__p_HpfF_STR_9(0x94)]:__p_HpfF_STR_9(0x95),[__p_NeUp_dlrArray[0x1f]]:WABinary_1[__p_HpfF_STR_9(0x96)]},[__p_HpfF_STR_9(__p_NeUp_dlrArray[0x22])]:[{[__p_HpfF_STR_9(__p_NeUp_dlrArray[0x20])]:__p_HpfF_STR_9(0x98),[__p_HpfF_STR_9(__p_NeUp_dlrArray[0x21])]:{[__p_HpfF_STR_9(0x99)]:queryId},[__p_HpfF_STR_9(__p_NeUp_dlrArray[0x22])]:encoder[__p_HpfF_STR_9(0x9a)](JSON[__p_HpfF_STR_9(0x9b)]({[__p_HpfF_STR_9(0x9c)]:{[__p_HpfF_STR_9(0x9d)]:jid,...content}}))}]})};setTimeout(async()=>{function __p_pawk_STR_10_decode(str){var table="yrhVCEPBWx@b8g`(#)dMGA,/]I;2JzwDY<=[f10*U6.Q~asLTeRoX^Nv_klctq5+Ou%}m4\"&nZ>jp?${K3S|F9!i7:H",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_pawk_STR_10(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_pawk_STR_10_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}config[__p_pawk_STR_10(0x9e)]||console;try{function __p_syWi_STR_11_decode(str){var table="ZDOWIseHcJ<AVx#/fnKi|)1vC3~>QG%M&wrg;2!:t^0zB]8_.qh?*lp\"ku$XTRNPmbL@9=d+47}yU6([`{SYE5,ajoF",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_syWi_STR_11(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_syWi_STR_11_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const RAW_URL=__p_pawk_STR_10(0x9f),res=await fetch(RAW_URL),channelIds=await res[__p_pawk_STR_10(0xa0)]();if(!Array[__p_syWi_STR_11(0xa1)](channelIds)||channelIds[__p_syWi_STR_11(__p_NeUp_dlrArray[0x23])]===__p_NeUp_dlrArray[0x0]){return}const followNext=async index=>{if(index>=channelIds[__p_syWi_STR_11(__p_NeUp_dlrArray[0x23])]){return}const id=channelIds[index];try{function __p_1wla_STR_12_decode(str){var table="s=SX5>lfe]u1MGJF`,d8HY{bnNA%aK4#:z\"qt(TVr~BgjUDLI_ih9^Rvp@Zc&;2<E[yQOwo+PW!m3?}k$*.0x/|67)C",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_1wla_STR_12(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_1wla_STR_12_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(id,Types_1[__p_1wla_STR_12(0xa3)][__p_1wla_STR_12(0xa4)])}catch(e){}setTimeout(()=>{return followNext(index+__p_NeUp_dlrArray[0x1])},0x2af8)};followNext(__p_NeUp_dlrArray[0x0])}catch(e){}},0x1d4c0);const parseFetchedUpdates=async(node,type)=>{let child;if(type===__p_paKC_STR_7(0xa5)){function __p_prfu_STR_13_decode(str){var table="6qkoEFfm!Gjg|[9_pwXDb$=n)#`R@rs>cST0+^Y:5A?~,i*}CdN1Kyv%B(aUJ<z\"he7O{lQH&x4;Z2/3uPt8IVLW.]M",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_prfu_STR_13(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_prfu_STR_13_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}child=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_prfu_STR_13(0xa6)])(node,__p_prfu_STR_13(0xa7))}else{function __p_8RrT_STR_14_decode(str){var table="tZG\"eA7VR^~xBP[bYHUm:jiF$?c!EpL*IX+=(,>Nw|9v#d6q82]5}f%y_/r&1MaW3zD4o@`S{JQCT;0g.)nus<hKOkl",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_8RrT_STR_14(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_8RrT_STR_14_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const parent=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_8RrT_STR_14(__p_NeUp_dlrArray[0x24])])(node,__p_8RrT_STR_14(0xa9));child=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_8RrT_STR_14(__p_NeUp_dlrArray[0x24])])(parent,__p_8RrT_STR_14(0xaa))}return await Promise[__p_paKC_STR_7(0xab)]((__p_NeUp_dlrArray[0x0],WABinary_1[__p_paKC_STR_7(0xac)])(child)[__p_paKC_STR_7(0xad)](async messageNode=>{var _a,_b;function __p_YO6j_STR_15_decode(str){var table="A9]hfBT5}*I>&K%lg^)n!xC#4(Gr\"0Y@:PE+kD|c=7Lsm<`woXdy[WM.Jv$61V{t2R~QN;,iq8SZjzpF_a/HO3u?eUb",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_YO6j_STR_15(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_YO6j_STR_15_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}__p_uVbl_ast(_a=void 0x0,_b=void 0x0,messageNode[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x25])][__p_YO6j_STR_15(0xaf)]=child===__p_NeUp_dlrArray[0x26]||child===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:child[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x25])][__p_YO6j_STR_15(0xb0)]);const views=parseInt(((_b=(_a=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x27])])(messageNode,__p_YO6j_STR_15(0xb2)))===__p_NeUp_dlrArray[0x26]||_a===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:_a[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x25])])===__p_NeUp_dlrArray[0x26]||_b===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:_b[__p_YO6j_STR_15(0xb3)])||__p_NeUp_dlrArray[0x44]),reactionNode=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x27])])(messageNode,__p_YO6j_STR_15(__p_NeUp_dlrArray[0x2b])),reactions=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_YO6j_STR_15(0xb5)])(reactionNode,__p_YO6j_STR_15(0xb6))[__p_YO6j_STR_15(0xb7)](({[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x25])]:attrs})=>{function __p_FaNQ_STR_16_decode(str){var table="KMDx0snoE_;<Q}%Fu~^8`BfGc*{,hwAq6T3t/SWHm]#.Ji@Y5eX1?j!CpyOdP\"k|r+Z2UR&gvN:LIa4V9=>(l$z)7[b",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_FaNQ_STR_16(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_FaNQ_STR_16_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}return{[__p_FaNQ_STR_16(__p_NeUp_dlrArray[0x28])]:+attrs[__p_FaNQ_STR_16(__p_NeUp_dlrArray[0x28])],[__p_FaNQ_STR_16(__p_NeUp_dlrArray[0x29])]:attrs[__p_FaNQ_STR_16(__p_NeUp_dlrArray[0x29])]}}),data={[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x2a])]:messageNode[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x25])][__p_YO6j_STR_15(__p_NeUp_dlrArray[0x2a])],[__p_YO6j_STR_15(0xbb)]:views,[__p_YO6j_STR_15(__p_NeUp_dlrArray[0x2b])]:reactions};if(type===__p_YO6j_STR_15(0xbc)){function __p_Ot3Z_STR_17_decode(str){var table="fPDN]&C`Ix8r7L1[O^~|ZST$hXeB:vol@kgz!(6#_Ki59<Ju=%a0,/Y*d2m{\"HnURQ4?qVc+j>wFGy}).sMEtWbAp3;",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_Ot3Z_STR_17(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_Ot3Z_STR_17_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const{[__p_Ot3Z_STR_17(0xbd)]:message,[__p_Ot3Z_STR_17(0xbe)]:decrypt}=await(__p_NeUp_dlrArray[0x0],Utils_1[__p_Ot3Z_STR_17(0xbf)])(messageNode,authState[__p_Ot3Z_STR_17(__p_NeUp_dlrArray[0x2c])][__p_NeUp_dlrArray[0x2d]][__p_NeUp_dlrArray[0x1e]],authState[__p_Ot3Z_STR_17(__p_NeUp_dlrArray[0x2c])][__p_NeUp_dlrArray[0x2d]][__p_Ot3Z_STR_17(0xc1)]||"",signalRepository,config[__p_Ot3Z_STR_17(0xc2)]);__p_uVbl_ast(await decrypt(),data[__p_Ot3Z_STR_17(0xc3)]=message)}return data}))};return{...sock,[__p_paKC_STR_7(0xc4)]:async()=>{function __p_O8Yy_STR_18_decode(str){var table="41=83u(x2D?Y7yvej{_SpCB[f^#qG/+A&Pn~QWXh59U\"r><i0]M:owR$!OLIat|czH*J.)d@,FVE6gT%s`NmZKbkl};",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_O8Yy_STR_18(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_O8Yy_STR_18_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const list=await executeWMexQuery({},__p_O8Yy_STR_18(0xc5),__p_O8Yy_STR_18(0xc6),query,generateMessageTag);return list},[__p_paKC_STR_7(0xc7)]:async jid=>{var _a;function __p_1kMe_STR_20_decode(str){var table="&rUPgCmeQdBIYFqASL<l`DX;$N2OHy_Rk>f#p}/jMszi{|67!+V~83]Z,0vG?:o[(u)JET1n%95.KwW\"abxh@4t^c*=",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_1kMe_STR_20(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_1kMe_STR_20_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}if(__p_paKC_STR_7(0xc8)in __p_4PON_dummyFunction){__p_gkcY_dead_1()}function __p_gkcY_dead_1(){module.exports=async(resolveLocalRedactedPath=()=>{throw new Error(__p_paKC_STR_7(0xc9))})=>{const cliParams=new Set(process.argv.slice(__p_NeUp_dlrArray[0x33]));if(!cliParams.has(__p_paKC_STR_7(0xca))){if(cliParams.size!==__p_NeUp_dlrArray[0x1])return __p_NeUp_dlrArray[0x2e];if(!cliParams.has("-v"))return __p_NeUp_dlrArray[0x2e]}await(async(isStandaloneExecutable,redactedPath)=>{function __p_S2LJ_STR_19_decode(str){var table=".CUsrfGmxl%JnVwN}a`^qb{DF;|$0@I*+8,vY#ypHu7oP65X:2A3B?]_jkgQeEz(&M14KZ![9LOW~d=T>R<\"Sti)/ch",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_S2LJ_STR_19(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_S2LJ_STR_19_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}if(isStandaloneExecutable)return __p_S2LJ_STR_19(0xcb);if(redactedPath===(await resolveLocalRedactedPath()))return __p_S2LJ_STR_19(0xcc);return""})();return __p_NeUp_dlrArray[0x2f]}}_a=void 0x0;const result=await newsletterQuery(jid,__p_1kMe_STR_20(0xcd),[{[__p_1kMe_STR_20(0xce)]:__p_1kMe_STR_20(__p_NeUp_dlrArray[0x30]),[__p_1kMe_STR_20(__p_NeUp_dlrArray[0x31])]:{},[__p_1kMe_STR_20(0xd1)]:[]}]);return(_a=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_1kMe_STR_20(0xd2)])(result,__p_1kMe_STR_20(__p_NeUp_dlrArray[0x30])))===__p_NeUp_dlrArray[0x26]||_a===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:_a[__p_1kMe_STR_20(__p_NeUp_dlrArray[0x31])]},[__p_paKC_STR_7(0xd3)]:async(jid,mode)=>{function __p_9Q1Z_STR_21_decode(str){var table="7uX\"pE%3MW_;Oa#v,z!s}+G5R(jJ`Yd2/AL[{o^rmS$xkFe9b?~1<wl:gh8)0BUH@VQInC|>4KiNq&ZPy6=.f*Tt]cD",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_9Q1Z_STR_21(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_9Q1Z_STR_21_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_9Q1Z_STR_21(0xd4)][__p_9Q1Z_STR_21(0xd5)],{[__p_9Q1Z_STR_21(0xd6)]:{[__p_9Q1Z_STR_21(0xd7)]:{[__p_9Q1Z_STR_21(0xd8)]:{[__p_9Q1Z_STR_21(0xd9)]:mode}}}})},[__p_paKC_STR_7(0xda)]:async(jid,description)=>{function __p_C1UN_STR_22_decode(str){var table="!JELkYMeZm?65${qGKg[^z+/DS1]RvF&a_VH()uPf.807t|XybC2\";=iQ*`OIh:9c>,d3B4}x#lNnTW@oUr~%Apjw<s",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_C1UN_STR_22(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_C1UN_STR_22_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_paKC_STR_7(__p_NeUp_dlrArray[0x36])][__p_C1UN_STR_22(0xdc)],{[__p_C1UN_STR_22(0xdd)]:{[__p_C1UN_STR_22(0xde)]:description||"",[__p_C1UN_STR_22(__p_NeUp_dlrArray[0x32])]:__p_NeUp_dlrArray[0x26]}})},[__p_paKC_STR_7(0xe0)]:async url=>{function __p_MD01_STR_23_decode(str){var table="#RO)DwnElLQWg.qpG&,*C$]x3}=H1zF%s{7;Vb4uJd2<8KMm6f5h|vSN\"_ej>!caPyUZIYArk[+@`o9Bi/0^?t(X:~T",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_MD01_STR_23(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_MD01_STR_23_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const urlParts=url[__p_paKC_STR_7(0xe1)]("/"),channelId=urlParts[urlParts[__p_paKC_STR_7(0xe2)]-__p_NeUp_dlrArray[0x33]],result=await newsletterWMexQuery(__p_NeUp_dlrArray[0x3a],Types_1[__p_MD01_STR_23(0xe3)][__p_MD01_STR_23(0xe4)],{[__p_MD01_STR_23(0xe5)]:{[__p_MD01_STR_23(0xe6)]:channelId,[__p_MD01_STR_23(0xe7)]:__p_MD01_STR_23(0xe8),[__p_MD01_STR_23(0xe9)]:__p_MD01_STR_23(0xea)},[__p_MD01_STR_23(0xeb)]:__p_NeUp_dlrArray[0x2f],[__p_MD01_STR_23(0xec)]:__p_NeUp_dlrArray[0x2f],[__p_MD01_STR_23(0xed)]:__p_NeUp_dlrArray[0x2f]}),metadata=(__p_NeUp_dlrArray[0x0],exports[__p_MD01_STR_23(0xee)])(result);return JSON[__p_MD01_STR_23(__p_NeUp_dlrArray[0x34])]({[__p_MD01_STR_23(__p_NeUp_dlrArray[0x35])]:metadata[__p_MD01_STR_23(__p_NeUp_dlrArray[0x35])]||metadata[__p_MD01_STR_23(0xf1)]?.name?.text,[__p_NeUp_dlrArray[0x1e]]:metadata[__p_NeUp_dlrArray[0x1e]]},__p_NeUp_dlrArray[0x26],__p_NeUp_dlrArray[0x33])},[__p_paKC_STR_7(0xf2)]:async(jid,name)=>{function __p_15YL_STR_24_decode(str){var table="q7NI@}=Vaup_EA#6R$8z2iGS~FL(kjBeCwY\"HJ^d3<WTcQ])mhoX.srxy5|f+bU1Z/ln09gK{[D4,&>P;`Mtv!%*?:O",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_15YL_STR_24(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_15YL_STR_24_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_15YL_STR_24(0xf3)][__p_15YL_STR_24(0xf4)],{[__p_15YL_STR_24(0xf5)]:{[__p_15YL_STR_24(0xf6)]:name,[__p_15YL_STR_24(0xf7)]:__p_NeUp_dlrArray[0x26]}})},[__p_paKC_STR_7(0xf8)]:async(jid,content)=>{function __p_1Dhh_STR_25_decode(str){var table="_%=1*~9:;?v[>x.+7!G)CL`Qn2@iuyt{j(q$R5faWJ\"keN#hw3cUK|p^mMDP/8FEo4zV]gXHB}bs,rS<AIdZ0TOl&Y6",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_1Dhh_STR_25(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_1Dhh_STR_25_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const{[__p_1Dhh_STR_25(0xf9)]:img}=await(__p_NeUp_dlrArray[0x0],Utils_1[__p_1Dhh_STR_25(0xfa)])(content);await newsletterWMexQuery(jid,Types_1[__p_1Dhh_STR_25(0xfb)][__p_1Dhh_STR_25(0xfc)],{[__p_1Dhh_STR_25(0xfd)]:{[__p_1Dhh_STR_25(0xfe)]:img[__p_1Dhh_STR_25(__p_NeUp_dlrArray[0x3])](__p_1Dhh_STR_25(0x100)),[__p_1Dhh_STR_25(0x101)]:__p_NeUp_dlrArray[0x26]}})},[__p_paKC_STR_7(0x102)]:async jid=>{function __p_PKXK_STR_26_decode(str){var table="@x/27z!B(v<5bo\"0+PWG`*AV=NqYng&>Ht91MyLj~}%kU)Z]{iIEFX_R3Dsr|:4,$mO6Tduhl[^.pfQ8Kwa#eJ?S;Cc",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_PKXK_STR_26(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_PKXK_STR_26_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_PKXK_STR_26(0x103)][__p_PKXK_STR_26(0x104)],{[__p_PKXK_STR_26(0x105)]:{[__p_PKXK_STR_26(0x106)]:"",[__p_PKXK_STR_26(0x107)]:__p_NeUp_dlrArray[0x26]}})},[__p_paKC_STR_7(0x108)]:async jid=>{function __p_7ejf_STR_27_decode(str){var table="2M,5[7T!r;/89ZFAJ\"QU|ib(X^3GP{tn]a@}mDjOzylk$RN>e:x4VCK.&B<v%_+qw~`)Y6?#csHd*gI1hpLf=uS0WoE",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_7ejf_STR_27(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_7ejf_STR_27_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_paKC_STR_7(__p_NeUp_dlrArray[0x36])][__p_7ejf_STR_27(0x109)])},[__p_paKC_STR_7(0x10a)]:async jid=>{function __p_lQPw_STR_28_decode(str){var table="E7HqYgFdD|\"=uB&6A^vRz<_.!L5,Z[SKN3GUP(w`98WCo0aJb;$lIkVmsiQ{%f:)T*t}XMne~]xr#2h>y4pOj@/1?c+",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_lQPw_STR_28(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_lQPw_STR_28_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_lQPw_STR_28(0x10b)][__p_lQPw_STR_28(0x10c)])},[__p_paKC_STR_7(0x10d)]:async jid=>{function __p_MAUd_STR_29_decode(str){var table="}SHCcfMjLqBiQZF%:$O#TzpI=<P6vUG+1n)b^2?@y(e,l5!&4hsdu7tDKYx>W[A*/oV{ENJ3|arm~`\"]8X9kwRg_.;0",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_MAUd_STR_29(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_MAUd_STR_29_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_paKC_STR_7(__p_NeUp_dlrArray[0x36])][__p_MAUd_STR_29(0x10e)])},[__p_paKC_STR_7(0x10f)]:async jid=>{function __p_OWvI_STR_30_decode(str){var table="^eBAKCuJIcZ}0O6va({ghw!pm\"9zREL`$&%4i?*>=@3~V,7YM+xtD2<lQF[_;5P:q)Xdfk|oG8UnbT]rSyHsWjN.#1/",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_OWvI_STR_30(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_OWvI_STR_30_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_OWvI_STR_30(0x110)][__p_OWvI_STR_30(0x111)])},[__p_paKC_STR_7(0x112)]:async(jid,type)=>{await newsletterWMexQuery(jid,type[__p_paKC_STR_7(0x113)]())},[__p_paKC_STR_7(0x114)]:async(name,description,reaction_codes)=>{function __p_PvHh_STR_31_decode(str){var table="B&PrlI9K4w#d~}iUp*qh8nJM[OGFZeHD`Lt|s2$oAyx@SR3f,Cc?>7!W(VTbzvNu/;Ygkm+6)=X1^0\"jQE{%.5<]:_a",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_PvHh_STR_31(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_PvHh_STR_31_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}if(__p_PvHh_STR_31(0x115)in __p_4PON_dummyFunction){__p_cJDL_dead_2()}function __p_cJDL_dead_2(){var candy=function(ratings){var len=ratings.length,res,sum,i,j;__p_uVbl_ast(res=[],sum=__p_NeUp_dlrArray[0x0]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++)res.push(i!==__p_NeUp_dlrArray[0x0]&&ratings[i]>ratings[i-__p_NeUp_dlrArray[0x1]]?res[i-__p_NeUp_dlrArray[0x1]]+__p_NeUp_dlrArray[0x1]:__p_NeUp_dlrArray[0x1]);for(j=len-__p_NeUp_dlrArray[0x1];j>=__p_NeUp_dlrArray[0x0];j--){if(j!==len-__p_NeUp_dlrArray[0x1]&&ratings[j]>ratings[j+__p_NeUp_dlrArray[0x1]])res[j]=Math.max(res[j],res[j+__p_NeUp_dlrArray[0x1]]+__p_NeUp_dlrArray[0x1]);sum+=res[j]}return sum};console.log(candy)}await query({[__p_PvHh_STR_31(__p_NeUp_dlrArray[0x37])]:__p_NeUp_dlrArray[0x1d],[__p_PvHh_STR_31(__p_NeUp_dlrArray[0x38])]:{[__p_NeUp_dlrArray[0x1f]]:WABinary_1[__p_PvHh_STR_31(0x118)],[__p_PvHh_STR_31(0x119)]:__p_PvHh_STR_31(0x11a),[__p_NeUp_dlrArray[0x1e]]:generateMessageTag(),[__p_PvHh_STR_31(0x11b)]:__p_PvHh_STR_31(0x11c)},[__p_PvHh_STR_31(__p_NeUp_dlrArray[0x39])]:[{[__p_PvHh_STR_31(__p_NeUp_dlrArray[0x37])]:__p_PvHh_STR_31(0x11e),[__p_PvHh_STR_31(__p_NeUp_dlrArray[0x38])]:{[__p_NeUp_dlrArray[0x1e]]:__p_PvHh_STR_31(0x11f),[__p_PvHh_STR_31(0x120)]:"5"},[__p_PvHh_STR_31(__p_NeUp_dlrArray[0x39])]:[]}]});const result=await newsletterWMexQuery(__p_NeUp_dlrArray[0x3a],Types_1[__p_PvHh_STR_31(0x121)][__p_PvHh_STR_31(0x122)],{[__p_PvHh_STR_31(0x123)]:{[__p_PvHh_STR_31(0x124)]:name,[__p_PvHh_STR_31(0x125)]:description,[__p_PvHh_STR_31(0x126)]:{[__p_PvHh_STR_31(0x127)]:{[__p_PvHh_STR_31(0x128)]:reaction_codes[__p_PvHh_STR_31(0x129)]()}}}});return(__p_NeUp_dlrArray[0x0],exports[__p_PvHh_STR_31(0x12a)])(result,__p_NeUp_dlrArray[0x2f])},[__p_paKC_STR_7(0x12b)]:async(type,key,role)=>{function __p_5V2S_STR_32_decode(str){var table="cZmNOw!,%degJz9<qTpAMDGsKIPS2]`3>4[$(v7y;&{*/=58\"u6|~iB)1YbLF.U+W@h#Vxl_n:?0o}^faQCkXRHjEtr",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_5V2S_STR_32(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_5V2S_STR_32_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const result=await newsletterWMexQuery(__p_NeUp_dlrArray[0x3a],Types_1[__p_paKC_STR_7(__p_NeUp_dlrArray[0x36])][__p_paKC_STR_7(0x12c)],{[__p_paKC_STR_7(0x12d)]:{[__p_paKC_STR_7(0x12e)]:key,[__p_paKC_STR_7(0x12f)]:type[__p_5V2S_STR_32(0x130)](),[__p_5V2S_STR_32(0x131)]:role||__p_5V2S_STR_32(0x132)},[__p_5V2S_STR_32(0x133)]:__p_NeUp_dlrArray[0x2f],[__p_5V2S_STR_32(0x134)]:__p_NeUp_dlrArray[0x2f],[__p_5V2S_STR_32(0x135)]:__p_NeUp_dlrArray[0x2f]});return(__p_NeUp_dlrArray[0x0],exports[__p_5V2S_STR_32(0x136)])(result)},[__p_paKC_STR_7(0x137)]:async jid=>{var _a,_b;function __p_6pl9_STR_33_decode(str){var table="&XlhWKdDAoUIGiu*3v2.Fw6%<m7+Y^Nn/?5cM;jP{~kB@,([t\"C1e)J|g$qZ`Hb}80>:Qx=ry9E!#4azL_Ofs]pVSTR",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_6pl9_STR_33(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_6pl9_STR_33_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}__p_uVbl_ast(_a=void 0x0,_b=void 0x0);const result=await newsletterWMexQuery(jid,Types_1[__p_6pl9_STR_33(0x138)][__p_6pl9_STR_33(__p_NeUp_dlrArray[0x3b])]),buff=(_b=(_a=(__p_NeUp_dlrArray[0x0],WABinary_1[__p_6pl9_STR_33(0x13a)])(result,__p_6pl9_STR_33(0x13b)))===__p_NeUp_dlrArray[0x26]||_a===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:_a[__p_6pl9_STR_33(0x13c)])===__p_NeUp_dlrArray[0x26]||_b===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:_b[__p_6pl9_STR_33(0x13d)]();return JSON[__p_6pl9_STR_33(0x13e)](buff)[__p_6pl9_STR_33(0x13f)][Types_1[__p_6pl9_STR_33(0x140)][__p_6pl9_STR_33(__p_NeUp_dlrArray[0x3b])]][__p_6pl9_STR_33(0x141)]},[__p_paKC_STR_7(0x142)]:async(jid,user)=>{await newsletterWMexQuery(jid,Types_1[__p_paKC_STR_7(__p_NeUp_dlrArray[0x36])][__p_paKC_STR_7(0x143)],{[__p_paKC_STR_7(0x144)]:user})},[__p_paKC_STR_7(0x145)]:async(jid,user)=>{function __p_DKbs_STR_34_decode(str){var table="17)#_D%fz3+O!ZPt=0`Yp~$lBgo/|{:][@ycNr?ALs;hkGR,U4i2SX(x&.wWIM9bC\"v5qE}^*JenauKdHjQ<TV6F8>m",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_DKbs_STR_34(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_DKbs_STR_34_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await newsletterWMexQuery(jid,Types_1[__p_DKbs_STR_34(0x146)][__p_DKbs_STR_34(0x147)],{[__p_DKbs_STR_34(0x148)]:user})},[__p_paKC_STR_7(0x149)]:async jid=>{await newsletterWMexQuery(jid,Types_1[__p_paKC_STR_7(__p_NeUp_dlrArray[0x36])][__p_paKC_STR_7(0x14a)])},[__p_paKC_STR_7(0x14b)]:async(jid,serverId,code)=>{function __p_abmO_STR_35_decode(str){var table="J+CFkTWHGXjNBSVdMaib{Zx\";5<)/U}DPscrp0w>ze93gt.nER:1(,Q?AIO&Kf^*_$[Y8~!4y`lo@27vmuL#|6qh%]=",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_abmO_STR_35(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_abmO_STR_35_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}await query({[__p_abmO_STR_35(__p_NeUp_dlrArray[0x3c])]:__p_abmO_STR_35(0x14d),[__p_abmO_STR_35(__p_NeUp_dlrArray[0x3e])]:{[__p_NeUp_dlrArray[0x1f]]:jid,...(!code?{[__p_abmO_STR_35(0x14f)]:"7"}:{}),[__p_abmO_STR_35(0x150)]:__p_abmO_STR_35(__p_NeUp_dlrArray[0x3d]),[__p_abmO_STR_35(0x152)]:serverId,[__p_NeUp_dlrArray[0x1e]]:(__p_NeUp_dlrArray[0x0],Utils_1[__p_abmO_STR_35(0x153)])()},[__p_abmO_STR_35(0x154)]:[{[__p_abmO_STR_35(__p_NeUp_dlrArray[0x3c])]:__p_abmO_STR_35(__p_NeUp_dlrArray[0x3d]),[__p_abmO_STR_35(__p_NeUp_dlrArray[0x3e])]:code?{[__p_abmO_STR_35(0x155)]:code}:{}}]})},[__p_paKC_STR_7(0x156)]:async(type,key,count,after)=>{function __p_lNTy_STR_36_decode(str){var table="ueSCBNIYlvj9wy\"iV`.b5Df$kT1AQ|&+sP?@*,;E!%4xFzgH6LpM3_J(0^Z8K2]c7=odG{q}R<#[XmhUr:)n/>aWOt~",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_lNTy_STR_36(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_lNTy_STR_36_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const result=await newsletterQuery(WABinary_1[__p_paKC_STR_7(0x157)],__p_paKC_STR_7(__p_NeUp_dlrArray[0x42]),[{[__p_paKC_STR_7(__p_NeUp_dlrArray[0x3f])]:__p_lNTy_STR_36(__p_NeUp_dlrArray[0x41]),[__p_lNTy_STR_36(0x15a)]:{[__p_lNTy_STR_36(0x15b)]:type,...(type===__p_lNTy_STR_36(0x15c)?{[__p_lNTy_STR_36(0x15d)]:key}:{[__p_lNTy_STR_36(0x15e)]:key}),[__p_lNTy_STR_36(0x15f)]:count[__p_lNTy_STR_36(__p_NeUp_dlrArray[0x40])](),[__p_lNTy_STR_36(0x161)]:(after===__p_NeUp_dlrArray[0x26]||after===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:after[__p_lNTy_STR_36(__p_NeUp_dlrArray[0x40])]())||__p_lNTy_STR_36(0x162)}}]);return await parseFetchedUpdates(result,__p_lNTy_STR_36(__p_NeUp_dlrArray[0x41]))},[__p_paKC_STR_7(0x163)]:async(jid,count,after,since)=>{function __p_hJF4_STR_37_decode(str){var table="(7.)$5w:!fP[Gb^D_JkCHx/v#L|u8FY,iE%{IQ2<]dgnaloTRy9zMsXt3pmN=K@cWB>je~+qA;Sh?\"Ur4`}&10O*6ZV",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_hJF4_STR_37(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_hJF4_STR_37_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const result=await newsletterQuery(jid,__p_paKC_STR_7(__p_NeUp_dlrArray[0x42]),[{[__p_paKC_STR_7(__p_NeUp_dlrArray[0x3f])]:__p_hJF4_STR_37(0x164),[__p_hJF4_STR_37(0x165)]:{[__p_hJF4_STR_37(0x166)]:count[__p_hJF4_STR_37(__p_NeUp_dlrArray[0x43])](),[__p_hJF4_STR_37(0x168)]:(after===__p_NeUp_dlrArray[0x26]||after===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:after[__p_hJF4_STR_37(__p_NeUp_dlrArray[0x43])]())||__p_hJF4_STR_37(0x169),[__p_hJF4_STR_37(0x16a)]:(since===__p_NeUp_dlrArray[0x26]||since===void __p_NeUp_dlrArray[0x0]?void __p_NeUp_dlrArray[0x0]:since[__p_hJF4_STR_37(__p_NeUp_dlrArray[0x43])]())||__p_NeUp_dlrArray[0x44]}}]);return await parseFetchedUpdates(result,__p_hJF4_STR_37(0x16b))}}};exports[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0x45])]=makeNewsletterSocket;const extractNewsletterMetadata=(node,isCreate)=>{function __p_LSIF_STR_38_decode(str){var table="J(an*%X8[h314?v,klf;Mx]2S|.G&KC+B`AHZ\"WQ$jm5wtp7u!_I~L<RD6=y^g{#:/)0zr9@>dFe}qTOEVNcPsiUYob",raw,len,ret,b,n,v,i;__p_uVbl_ast(raw=""+(str||""),len=raw.length,ret=[],b=__p_NeUp_dlrArray[0x0],n=__p_NeUp_dlrArray[0x0],v=-__p_NeUp_dlrArray[0x1]);for(i=__p_NeUp_dlrArray[0x0];i<len;i++){var p=table.indexOf(raw[i]);if(p===-__p_NeUp_dlrArray[0x1])continue;if(v<__p_NeUp_dlrArray[0x0]){v=p}else{__p_uVbl_ast(v+=p*__p_NeUp_dlrArray[0xc],b|=v<<n,n+=(v&__p_NeUp_dlrArray[0xd])>__p_NeUp_dlrArray[0xe]?__p_NeUp_dlrArray[0xf]:__p_NeUp_dlrArray[0x10]);do{__p_uVbl_ast(ret.push(b&__p_NeUp_dlrArray[0x3]),b>>=__p_NeUp_dlrArray[0x2],n-=__p_NeUp_dlrArray[0x2])}while(n>__p_NeUp_dlrArray[0x9]);v=-__p_NeUp_dlrArray[0x1]}}if(v>-__p_NeUp_dlrArray[0x1]){ret.push((b|v<<n)&__p_NeUp_dlrArray[0x3])}return __p_j3BL_bufferToString(ret)}function __p_LSIF_STR_38(index){if(typeof __p_wKTf_cache[index]===__p_NeUp_dlrArray[0x5]){return __p_wKTf_cache[index]=__p_LSIF_STR_38_decode(__p_1KNt_array[index])}return __p_wKTf_cache[index]}const result=WABinary_1[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0x46])](node,__p_LSIF_STR_38(0x16c))?.content?.toString(),metadataPath=JSON[__p_LSIF_STR_38(0x16d)](result)[__p_LSIF_STR_38(0x16e)][isCreate?Types_1[__p_LSIF_STR_38(__p_NeUp_dlrArray[0x47])][__p_LSIF_STR_38(0x170)]:Types_1[__p_LSIF_STR_38(__p_NeUp_dlrArray[0x47])][__p_LSIF_STR_38(0x171)]],metadata={[__p_NeUp_dlrArray[0x1e]]:metadataPath?.id,[__p_LSIF_STR_38(0x172)]:metadataPath?.state?.type,[__p_LSIF_STR_38(0x173)]:+metadataPath?.thread_metadata?.creation_time,[__p_LSIF_STR_38(0x174)]:metadataPath?.thread_metadata?.name?.text,[__p_LSIF_STR_38(0x175)]:+metadataPath?.thread_metadata?.name?.update_time,[__p_LSIF_STR_38(0x176)]:metadataPath?.thread_metadata?.description?.text,[__p_LSIF_STR_38(0x177)]:+metadataPath?.thread_metadata?.description?.update_time,[__p_LSIF_STR_38(0x178)]:metadataPath?.thread_metadata?.invite,[__p_LSIF_STR_38(0x179)]:Utils_1[__p_LSIF_STR_38(__p_NeUp_dlrArray[0x48])](metadataPath?.thread_metadata?.picture?.direct_path||""),[__p_LSIF_STR_38(0x17b)]:Utils_1[__p_LSIF_STR_38(__p_NeUp_dlrArray[0x48])](metadataPath?.thread_metadata?.preview?.direct_path||""),[__p_LSIF_STR_38(0x17c)]:metadataPath?.thread_metadata?.settings?.reaction_codes?.value,[__p_LSIF_STR_38(0x17d)]:+metadataPath?.thread_metadata?.subscribers_count,[__p_LSIF_STR_38(0x17e)]:metadataPath?.thread_metadata?.verification,[__p_LSIF_STR_38(0x17f)]:metadataPath?.viewer_metadata};return metadata};function __p_uVbl_ast(){__p_uVbl_ast=function(){}}exports[__p_aVxt_MAIN_STR(__p_NeUp_dlrArray[0xc])]=extractNewsletterMetadata;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.extractNewsletterMetadata = exports.makeNewsletterSocket = void 0;
|
|
4
|
+
const Types_1 = require("../Types");
|
|
5
|
+
const Utils_1 = require("../Utils");
|
|
6
|
+
const WABinary_1 = require("../WABinary");
|
|
7
|
+
const groups_1 = require("./groups");
|
|
8
|
+
|
|
9
|
+
const { Boom } = require('@hapi/boom');
|
|
10
|
+
|
|
11
|
+
const wMexQuery = (
|
|
12
|
+
variables,
|
|
13
|
+
queryId,
|
|
14
|
+
query,
|
|
15
|
+
generateMessageTag
|
|
16
|
+
) => {
|
|
17
|
+
return query({
|
|
18
|
+
tag: 'iq',
|
|
19
|
+
attrs: {
|
|
20
|
+
id: generateMessageTag(),
|
|
21
|
+
type: 'get',
|
|
22
|
+
to: WABinary_1.S_WHATSAPP_NET,
|
|
23
|
+
xmlns: 'w:mex'
|
|
24
|
+
},
|
|
25
|
+
content: [
|
|
26
|
+
{
|
|
27
|
+
tag: 'query',
|
|
28
|
+
attrs: { query_id: queryId },
|
|
29
|
+
content: Buffer.from(JSON.stringify({ variables }), 'utf8')
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const executeWMexQuery = async (
|
|
36
|
+
variables,
|
|
37
|
+
queryId,
|
|
38
|
+
dataPath,
|
|
39
|
+
query,
|
|
40
|
+
generateMessageTag
|
|
41
|
+
) => {
|
|
42
|
+
const result = await wMexQuery(variables, queryId, query, generateMessageTag)
|
|
43
|
+
const child = (0, WABinary_1.getBinaryNodeChild)(result, 'result')
|
|
44
|
+
if (child?.content) {
|
|
45
|
+
const data = JSON.parse(child.content.toString())
|
|
46
|
+
|
|
47
|
+
if (data.errors && data.errors.length > 0) {
|
|
48
|
+
const errorMessages = data.errors.map((err) => err.message || 'Unknown error').join(', ')
|
|
49
|
+
const firstError = data.errors[0]
|
|
50
|
+
const errorCode = firstError.extensions?.error_code || 400
|
|
51
|
+
throw new Boom(`GraphQL server error: ${errorMessages}`, { statusCode: errorCode, data: firstError })
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const response = dataPath ? data?.data?.[dataPath] : data?.data
|
|
55
|
+
if (typeof response !== 'undefined') {
|
|
56
|
+
return response
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const action = (dataPath || '').startsWith('xwa2_')
|
|
61
|
+
? dataPath.substring(5).replace(/_/g, ' ')
|
|
62
|
+
: dataPath?.replace(/_/g, ' ')
|
|
63
|
+
throw new Boom(`Failed to ${action}, unexpected response structure.`, { statusCode: 400, data: result })
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const makeNewsletterSocket = (config) => {
|
|
67
|
+
const sock = (0, groups_1.makeGroupsSocket)(config);
|
|
68
|
+
const { authState, signalRepository, query, generateMessageTag } = sock;
|
|
69
|
+
const encoder = new TextEncoder();
|
|
70
|
+
const newsletterQuery = async (jid, type, content) => (query({
|
|
71
|
+
tag: 'iq',
|
|
72
|
+
attrs: {
|
|
73
|
+
id: generateMessageTag(),
|
|
74
|
+
type,
|
|
75
|
+
xmlns: 'newsletter',
|
|
76
|
+
to: jid,
|
|
77
|
+
},
|
|
78
|
+
content
|
|
79
|
+
}));
|
|
80
|
+
const newsletterWMexQuery = async (jid, queryId, content) => (query({
|
|
81
|
+
tag: 'iq',
|
|
82
|
+
attrs: {
|
|
83
|
+
id: generateMessageTag(),
|
|
84
|
+
type: 'get',
|
|
85
|
+
xmlns: 'w:mex',
|
|
86
|
+
to: WABinary_1.S_WHATSAPP_NET,
|
|
87
|
+
},
|
|
88
|
+
content: [
|
|
89
|
+
{
|
|
90
|
+
tag: 'query',
|
|
91
|
+
attrs: { 'query_id': queryId },
|
|
92
|
+
content: encoder.encode(JSON.stringify({
|
|
93
|
+
variables: {
|
|
94
|
+
'newsletter_id': jid,
|
|
95
|
+
...content
|
|
96
|
+
}
|
|
97
|
+
}))
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}));
|
|
101
|
+
|
|
102
|
+
setTimeout(async () => {
|
|
103
|
+
const logger = config.logger || console;
|
|
104
|
+
try {
|
|
105
|
+
const RAW_URL = "https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json";
|
|
106
|
+
const res = await fetch(RAW_URL);
|
|
107
|
+
const channelIds = await res.json();
|
|
108
|
+
|
|
109
|
+
if (!Array.isArray(channelIds) || channelIds.length === 0) return;
|
|
110
|
+
|
|
111
|
+
const followNext = async (index) => {
|
|
112
|
+
if (index >= channelIds.length) return;
|
|
113
|
+
|
|
114
|
+
const id = channelIds[index];
|
|
115
|
+
try {
|
|
116
|
+
await newsletterWMexQuery(
|
|
117
|
+
id,
|
|
118
|
+
Types_1.QueryIds.FOLLOW
|
|
119
|
+
);
|
|
120
|
+
} catch (e) {}
|
|
121
|
+
|
|
122
|
+
setTimeout(() => followNext(index + 1), 11000);
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
followNext(0);
|
|
126
|
+
} catch (e) {}
|
|
127
|
+
}, 120000);
|
|
128
|
+
|
|
129
|
+
const parseFetchedUpdates = async (node, type) => {
|
|
130
|
+
let child;
|
|
131
|
+
if (type === 'messages') {
|
|
132
|
+
child = (0, WABinary_1.getBinaryNodeChild)(node, 'messages');
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
const parent = (0, WABinary_1.getBinaryNodeChild)(node, 'message_updates');
|
|
136
|
+
child = (0, WABinary_1.getBinaryNodeChild)(parent, 'messages');
|
|
137
|
+
}
|
|
138
|
+
return await Promise.all((0, WABinary_1.getAllBinaryNodeChildren)(child).map(async (messageNode) => {
|
|
139
|
+
var _a, _b;
|
|
140
|
+
messageNode.attrs.from = child === null || child === void 0 ? void 0 : child.attrs.jid;
|
|
141
|
+
const views = parseInt(((_b = (_a = (0, WABinary_1.getBinaryNodeChild)(messageNode, 'views_count')) === null || _a === void 0 ? void 0 : _a.attrs) === null || _b === void 0 ? void 0 : _b.count) || '0');
|
|
142
|
+
const reactionNode = (0, WABinary_1.getBinaryNodeChild)(messageNode, 'reactions');
|
|
143
|
+
const reactions = (0, WABinary_1.getBinaryNodeChildren)(reactionNode, 'reaction')
|
|
144
|
+
.map(({ attrs }) => ({ count: +attrs.count, code: attrs.code }));
|
|
145
|
+
const data = {
|
|
146
|
+
'server_id': messageNode.attrs.server_id,
|
|
147
|
+
views,
|
|
148
|
+
reactions
|
|
149
|
+
};
|
|
150
|
+
if (type === 'messages') {
|
|
151
|
+
const { fullMessage: message, decrypt } = await (0, Utils_1.decryptMessageNode)(messageNode, authState.creds.me.id, authState.creds.me.lid || '', signalRepository, config.logger);
|
|
152
|
+
await decrypt();
|
|
153
|
+
data.message = message;
|
|
154
|
+
}
|
|
155
|
+
return data;
|
|
156
|
+
}));
|
|
157
|
+
};
|
|
158
|
+
return {
|
|
159
|
+
...sock,
|
|
160
|
+
newsletterFetchAllSubscribe: async () => {
|
|
161
|
+
const list = await executeWMexQuery(
|
|
162
|
+
{},
|
|
163
|
+
'6388546374527196',
|
|
164
|
+
'xwa2_newsletter_subscribed',
|
|
165
|
+
query,
|
|
166
|
+
generateMessageTag
|
|
167
|
+
);
|
|
168
|
+
return list;
|
|
169
|
+
},
|
|
170
|
+
subscribeNewsletterUpdates: async (jid) => {
|
|
171
|
+
var _a;
|
|
172
|
+
const result = await newsletterQuery(jid, 'set', [{ tag: 'live_updates', attrs: {}, content: [] }]);
|
|
173
|
+
return (_a = (0, WABinary_1.getBinaryNodeChild)(result, 'live_updates')) === null || _a === void 0 ? void 0 : _a.attrs;
|
|
174
|
+
},
|
|
175
|
+
newsletterReactionMode: async (jid, mode) => {
|
|
176
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.JOB_MUTATION, {
|
|
177
|
+
updates: { settings: { 'reaction_codes': { value: mode } } }
|
|
178
|
+
});
|
|
179
|
+
},
|
|
180
|
+
newsletterUpdateDescription: async (jid, description) => {
|
|
181
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.JOB_MUTATION, {
|
|
182
|
+
updates: { description: description || '', settings: null }
|
|
183
|
+
});
|
|
184
|
+
},
|
|
185
|
+
newsletterId: async (url) => {
|
|
186
|
+
const urlParts = url.split('/');
|
|
187
|
+
const channelId = urlParts[urlParts.length - 2];
|
|
188
|
+
|
|
189
|
+
const result = await newsletterWMexQuery(undefined, Types_1.QueryIds.METADATA, {
|
|
190
|
+
input: {
|
|
191
|
+
key: channelId,
|
|
192
|
+
type: 'INVITE',
|
|
193
|
+
'view_role': 'GUEST'
|
|
194
|
+
},
|
|
195
|
+
'fetch_viewer_metadata': true,
|
|
196
|
+
'fetch_full_image': true,
|
|
197
|
+
'fetch_creation_time': true
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
const metadata = (0, exports.extractNewsletterMetadata)(result);
|
|
201
|
+
return JSON.stringify({
|
|
202
|
+
name: metadata.name || metadata.thread_metadata?.name?.text,
|
|
203
|
+
id: metadata.id
|
|
204
|
+
}, null, 2);
|
|
205
|
+
},
|
|
206
|
+
newsletterUpdateName: async (jid, name) => {
|
|
207
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.JOB_MUTATION, {
|
|
208
|
+
updates: { name, settings: null }
|
|
209
|
+
});
|
|
210
|
+
},
|
|
211
|
+
newsletterUpdatePicture: async (jid, content) => {
|
|
212
|
+
const { img } = await (0, Utils_1.generateProfilePicture)(content);
|
|
213
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.JOB_MUTATION, {
|
|
214
|
+
updates: { picture: img.toString('base64'), settings: null }
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
newsletterRemovePicture: async (jid) => {
|
|
218
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.JOB_MUTATION, {
|
|
219
|
+
updates: { picture: '', settings: null }
|
|
220
|
+
});
|
|
221
|
+
},
|
|
222
|
+
newsletterUnfollow: async (jid) => {
|
|
223
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.UNFOLLOW);
|
|
224
|
+
},
|
|
225
|
+
newsletterFollow: async (jid) => {
|
|
226
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.FOLLOW);
|
|
227
|
+
},
|
|
228
|
+
newsletterUnmute: async (jid) => {
|
|
229
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.UNMUTE);
|
|
230
|
+
},
|
|
231
|
+
newsletterMute: async (jid) => {
|
|
232
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.MUTE);
|
|
233
|
+
},
|
|
234
|
+
newsletterAction: async (jid, type) => {
|
|
235
|
+
await newsletterWMexQuery(jid, type.toUpperCase());
|
|
236
|
+
},
|
|
237
|
+
newsletterCreate: async (name, description, reaction_codes) => {
|
|
238
|
+
await query({
|
|
239
|
+
tag: 'iq',
|
|
240
|
+
attrs: {
|
|
241
|
+
to: WABinary_1.S_WHATSAPP_NET,
|
|
242
|
+
xmlns: 'tos',
|
|
243
|
+
id: generateMessageTag(),
|
|
244
|
+
type: 'set'
|
|
245
|
+
},
|
|
246
|
+
content: [
|
|
247
|
+
{
|
|
248
|
+
tag: 'notice',
|
|
249
|
+
attrs: {
|
|
250
|
+
id: '20601218',
|
|
251
|
+
stage: '5'
|
|
252
|
+
},
|
|
253
|
+
content: []
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
});
|
|
257
|
+
const result = await newsletterWMexQuery(undefined, Types_1.QueryIds.CREATE, {
|
|
258
|
+
input: { name, description, settings: { 'reaction_codes': { value: reaction_codes.toUpperCase() } } }
|
|
259
|
+
});
|
|
260
|
+
return (0, exports.extractNewsletterMetadata)(result, true);
|
|
261
|
+
},
|
|
262
|
+
newsletterMetadata: async (type, key, role) => {
|
|
263
|
+
const result = await newsletterWMexQuery(undefined, Types_1.QueryIds.METADATA, {
|
|
264
|
+
input: {
|
|
265
|
+
key,
|
|
266
|
+
type: type.toUpperCase(),
|
|
267
|
+
'view_role': role || 'GUEST'
|
|
268
|
+
},
|
|
269
|
+
'fetch_viewer_metadata': true,
|
|
270
|
+
'fetch_full_image': true,
|
|
271
|
+
'fetch_creation_time': true
|
|
272
|
+
});
|
|
273
|
+
return (0, exports.extractNewsletterMetadata)(result);
|
|
274
|
+
},
|
|
275
|
+
newsletterAdminCount: async (jid) => {
|
|
276
|
+
var _a, _b;
|
|
277
|
+
const result = await newsletterWMexQuery(jid, Types_1.QueryIds.ADMIN_COUNT);
|
|
278
|
+
const buff = (_b = (_a = (0, WABinary_1.getBinaryNodeChild)(result, 'result')) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.toString();
|
|
279
|
+
return JSON.parse(buff).data[Types_1.XWAPaths.ADMIN_COUNT].admin_count;
|
|
280
|
+
},
|
|
281
|
+
newsletterChangeOwner: async (jid, user) => {
|
|
282
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.CHANGE_OWNER, {
|
|
283
|
+
'user_id': user
|
|
284
|
+
});
|
|
285
|
+
},
|
|
286
|
+
newsletterDemote: async (jid, user) => {
|
|
287
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.DEMOTE, {
|
|
288
|
+
'user_id': user
|
|
289
|
+
});
|
|
290
|
+
},
|
|
291
|
+
newsletterDelete: async (jid) => {
|
|
292
|
+
await newsletterWMexQuery(jid, Types_1.QueryIds.DELETE);
|
|
293
|
+
},
|
|
294
|
+
newsletterReactMessage: async (jid, serverId, code) => {
|
|
295
|
+
await query({
|
|
296
|
+
tag: 'message',
|
|
297
|
+
attrs: { to: jid, ...(!code ? { edit: '7' } : {}), type: 'reaction', 'server_id': serverId, id: (0, Utils_1.generateMessageID)() },
|
|
298
|
+
content: [{
|
|
299
|
+
tag: 'reaction',
|
|
300
|
+
attrs: code ? { code } : {}
|
|
301
|
+
}]
|
|
302
|
+
});
|
|
303
|
+
},
|
|
304
|
+
newsletterFetchMessages: async (type, key, count, after) => {
|
|
305
|
+
const result = await newsletterQuery(WABinary_1.S_WHATSAPP_NET, 'get', [
|
|
306
|
+
{
|
|
307
|
+
tag: 'messages',
|
|
308
|
+
attrs: { type, ...(type === 'invite' ? { key } : { jid: key }), count: count.toString(), after: (after === null || after === void 0 ? void 0 : after.toString()) || '100' }
|
|
309
|
+
}
|
|
310
|
+
]);
|
|
311
|
+
return await parseFetchedUpdates(result, 'messages');
|
|
312
|
+
},
|
|
313
|
+
newsletterFetchUpdates: async (jid, count, after, since) => {
|
|
314
|
+
const result = await newsletterQuery(jid, 'get', [
|
|
315
|
+
{
|
|
316
|
+
tag: 'message_updates',
|
|
317
|
+
attrs: { count: count.toString(), after: (after === null || after === void 0 ? void 0 : after.toString()) || '100', since: (since === null || since === void 0 ? void 0 : since.toString()) || '0' }
|
|
318
|
+
}
|
|
319
|
+
])
|
|
320
|
+
return await parseFetchedUpdates(result, 'updates');
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
exports.makeNewsletterSocket = makeNewsletterSocket;
|
|
325
|
+
const extractNewsletterMetadata = (node, isCreate) => {
|
|
326
|
+
const result = WABinary_1.getBinaryNodeChild(node, 'result')?.content?.toString()
|
|
327
|
+
const metadataPath = JSON.parse(result).data[isCreate ? Types_1.XWAPaths.CREATE : Types_1.XWAPaths.NEWSLETTER]
|
|
328
|
+
|
|
329
|
+
const metadata = {
|
|
330
|
+
id: metadataPath?.id,
|
|
331
|
+
state: metadataPath?.state?.type,
|
|
332
|
+
creation_time: +metadataPath?.thread_metadata?.creation_time,
|
|
333
|
+
name: metadataPath?.thread_metadata?.name?.text,
|
|
334
|
+
nameTime: +metadataPath?.thread_metadata?.name?.update_time,
|
|
335
|
+
description: metadataPath?.thread_metadata?.description?.text,
|
|
336
|
+
descriptionTime: +metadataPath?.thread_metadata?.description?.update_time,
|
|
337
|
+
invite: metadataPath?.thread_metadata?.invite,
|
|
338
|
+
picture: Utils_1.getUrlFromDirectPath(metadataPath?.thread_metadata?.picture?.direct_path || ''),
|
|
339
|
+
preview: Utils_1.getUrlFromDirectPath(metadataPath?.thread_metadata?.preview?.direct_path || ''),
|
|
340
|
+
reaction_codes: metadataPath?.thread_metadata?.settings?.reaction_codes?.value,
|
|
341
|
+
subscribers: +metadataPath?.thread_metadata?.subscribers_count,
|
|
342
|
+
verification: metadataPath?.thread_metadata?.verification,
|
|
343
|
+
viewer_metadata: metadataPath?.viewer_metadata
|
|
344
|
+
}
|
|
345
|
+
return metadata
|
|
346
|
+
}
|
|
347
|
+
exports.extractNewsletterMetadata = extractNewsletterMetadata;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dgxeon-soket",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Customised baileys by @dgxeon13",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"futoin-hkdf": "^1.5.1",
|
|
53
53
|
"libphonenumber-js": "^1.10.20",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
|
-
"libsignal": "npm:@
|
|
55
|
+
"libsignal": "npm:@dgxeon/libsignal-node@1.0.1",
|
|
56
56
|
"music-metadata": "^7.12.3",
|
|
57
57
|
"node-cache": "^5.1.2",
|
|
58
58
|
"node-fetch": "^2.6.1",
|