UNPKG

@neoxr/wb

Version:

Simplicity WhatsApp Bot (Baileys)

2 lines 10.9 kB
// https://www.npmjs.com/package/@neoxr/wb 'use strict';const G=E;(function(J,I){const x=E,F=J();while(!![]){try{const o=-parseInt(x(0x153))/(-0x1187+0x39*0x4+0x11c*0xf)*(-parseInt(x(0x1b2))/(0x191*-0xf+0xd*-0x1cf+0x2f04))+parseInt(x(0x173))/(0x1*0x170d+0x47*-0x1d+0x1*-0xeff)*(-parseInt(x(0x1cd))/(0x18aa+0x7*-0x167+-0xed5))+-parseInt(x(0x188))/(-0x2bd+-0x6a3*0x4+-0x155*-0x16)*(parseInt(x(0x1c4))/(-0x1faf+0x15*-0x14d+-0x3b06*-0x1))+parseInt(x(0x1bc))/(0x8f*0x36+0x29c*-0x2+-0x18eb*0x1)+-parseInt(x(0x18c))/(-0x4cf*-0x1+0x211c+-0x25e3*0x1)+parseInt(x(0x19b))/(0x1dd3+0x14fe*-0x1+-0x4*0x233)*(-parseInt(x(0x159))/(0x886*-0x2+0xddb+0x33b))+parseInt(x(0x196))/(-0x2110+-0x21bd+0x42d8)*(parseInt(x(0x177))/(-0x1*0x1205+-0x132d+0x253e));if(o===I)break;else F['push'](F['shift']());}catch(T){F['push'](F['shift']());}}}(k,-0x35*-0x3d1f+0x1355*0xe+-0x23*0x3442));var __importDefault=this&&this[G(0x1a1)+G(0x1aa)]||function(J){const N=G;return J&&J[N(0x18f)]?J:{'default':J};};Object[G(0x15f)+G(0x1b8)](exports,G(0x18f),{'value':!![]});const fs_1=__importDefault(require('fs')),os_1=require('os'),crypto_1=__importDefault(require(G(0x170))),fluent_ffmpeg_1=__importDefault(require(G(0x160)+G(0x1b0))),node_webpmux_1=__importDefault(require(G(0x17e)+'ux')),path_1=__importDefault(require(G(0x167)));function E(J,I){const F=k();return E=function(o,T){o=o-(-0x1d96+0x1*0x25de+-0x6f7);let n=F[o];return n;},E(J,I);}function k(){const d=[',pad=320:3','4KxqjPN','load','/2:color=w','1akrtSk','GcwCl','fzxDC','ebp','tcaRl','gAGQu','1687190XLGkck','PuOOv','-q:v','iuqlX','i.neoxr.my','eserve_tra','defineProp','fluent-ffm','writeUIntL','XqXxq','from','IheiM','TwmBS','readUIntLE','path','ync','IrBEr','SWyEQ','Image','packname','unlinkSync','lettegen=r','.jpg','crypto','join','.webp','2412321bobAvx','ptions','split\x20[a][','RmiVi','41628DJhokg','stringify','nsparent=o','-vf','https://ap','hite@0.0,\x20','webp','node-webpm','b];\x20[a]\x20pa','default','original_a','neoxrbot','=ffffff\x20[p','.id','.mp4','end','readFileSy','643550zNvONW','ency_color','o=decrease','imageToWeb','2870056fhrZcD','-preset','BqUaT','__esModule','scale=320:','videoToWeb','spect_rati','BSjXx','YWMrh','paletteuse','4631TsxkVR','WKetq','-vcodec','toString','concat','45LeqOTE','KmaUA','];\x20[b][p]\x20','hzgwi','Cnprb','rtjYj','__importDe','save','AyLKh','RoZlA','toFormat','UIuWm','/2:(oh-ih)','writeFileS','20:(ow-iw)','fault','exif','IYcVH','-ss','libwebp','error','peg','categories','1042598EsslsP','tmpdir','eOfzO','n:transpar','DyPsB','UJYMK','erty','-an','320:force_','OZxhF','4086376szBAmO','randomByte','ENoRQ','writeExifI','00:00:00','length','utf-8','addOutputO','6fEYCha','-vsync','author','writeExifW','00:00:05','-loop','writeExifV','JdSLb'];k=function(){return d;};return k();}class Exif{async[G(0x18b)+'p'](J){const h=G,I={'XqXxq':h(0x1af),'UIuWm':h(0x186),'iuqlX':h(0x17a),'hzgwi':h(0x190)+h(0x1ba)+h(0x181)+h(0x192)+h(0x18a)+h(0x1cc)+h(0x1a9)+h(0x1a7)+h(0x152)+h(0x17c)+h(0x175)+h(0x17f)+h(0x16e)+h(0x15e)+h(0x179)+h(0x1b5)+h(0x189)+h(0x183)+h(0x19d)+h(0x195),'fzxDC':h(0x15b),'BqUaT':h(0x17d)};let F=path_1[h(0x180)][h(0x171)]((-0x16c1+-0x246f+0x3b30,os_1[h(0x1b3)])(),crypto_1[h(0x180)][h(0x1bd)+'s'](0x97a+0x2421+-0x2d95)[h(0x166)](0x35*-0x97+-0x1a27+0x396a,-0x13*0x1fc+-0x2*-0xa21+0x1178)[h(0x199)](0xd7*-0x8+0x1e2f+-0x1753)+h(0x172)),o=path_1[h(0x180)][h(0x171)]((-0x1*-0x1ad5+-0x3a*0x3a+-0xdb1,os_1[h(0x1b3)])(),crypto_1[h(0x180)][h(0x1bd)+'s'](-0xea6+0x1*-0x17b7+-0x1*-0x2663)[h(0x166)](0x19f+-0x1381*0x1+0x11e2*0x1,0x3b*0x35+-0x3e*-0x13+-0x599*0x3)[h(0x199)](0x10e+0x1435+-0x151f)+h(0x16f));fs_1[h(0x180)][h(0x1a8)+h(0x168)](o,J),await new Promise((n,p)=>{const g=h;(0x985*0x3+-0x7bb+-0x14d4,fluent_ffmpeg_1[g(0x180)])(o)['on'](I[g(0x162)],p)['on'](I[g(0x1a6)],()=>n(!![]))[g(0x1c3)+g(0x174)]([I[g(0x15c)],I[g(0x19e)],I[g(0x155)],'80'])[g(0x1a5)](I[g(0x18e)])[g(0x1a2)](F);});let T=fs_1[h(0x180)][h(0x187)+'nc'](F);return fs_1[h(0x180)][h(0x16d)](F),fs_1[h(0x180)][h(0x16d)](o),T;}async[G(0x191)+'p'](J){const i=G,I={'BSjXx':i(0x1af),'KmaUA':i(0x186),'UJYMK':i(0x198),'RoZlA':i(0x1ae),'JdSLb':i(0x17a),'eOfzO':i(0x190)+i(0x1ba)+i(0x181)+i(0x192)+i(0x18a)+i(0x1cc)+i(0x1a9)+i(0x1a7)+i(0x152)+i(0x17c)+i(0x175)+i(0x17f)+i(0x16e)+i(0x15e)+i(0x179)+i(0x1b5)+i(0x189)+i(0x183)+i(0x19d)+i(0x195),'PuOOv':i(0x1c9),'YWMrh':i(0x1ad),'Cnprb':i(0x1c0),'OZxhF':i(0x1c8),'tcaRl':i(0x18d),'AyLKh':i(0x180),'SWyEQ':i(0x1b9),'IheiM':i(0x1c5),'rtjYj':i(0x17d)};let F=path_1[i(0x180)][i(0x171)]((0x70f+-0x1*0x1f39+0x407*0x6,os_1[i(0x1b3)])(),crypto_1[i(0x180)][i(0x1bd)+'s'](-0x5d8+-0x833*0x1+0x115*0xd)[i(0x166)](-0x20b*-0xa+-0x3*0xcbb+0x11c3,-0x9*0x1a7+-0xaea+0x19cf)[i(0x199)](0x3*0x3f1+0x1095+-0x1c44)+i(0x172)),o=path_1[i(0x180)][i(0x171)]((-0x1*0x868+-0xa9*0xd+-0x10fd*-0x1,os_1[i(0x1b3)])(),crypto_1[i(0x180)][i(0x1bd)+'s'](-0x52f*-0x6+-0x210e*0x1+0x17*0x16)[i(0x166)](0x1091+-0x11e*0x16+0x803,0x191b+-0x1c2e+0x319)[i(0x199)](-0x7*0x44a+-0xdb2+0x2bdc)+i(0x185));fs_1[i(0x180)][i(0x1a8)+i(0x168)](o,J),await new Promise((n,p)=>{const Y=i;(-0x1ecb+0x231c+-0x451,fluent_ffmpeg_1[Y(0x180)])(o)['on'](I[Y(0x193)],p)['on'](I[Y(0x19c)],()=>n(!![]))[Y(0x1c3)+Y(0x174)]([I[Y(0x1b7)],I[Y(0x1a4)],I[Y(0x1cb)],I[Y(0x1b4)],I[Y(0x15a)],'0',I[Y(0x194)],I[Y(0x19f)],'-t',I[Y(0x1bb)],I[Y(0x157)],I[Y(0x1a3)],I[Y(0x16a)],I[Y(0x164)],'0'])[Y(0x1a5)](I[Y(0x1a0)])[Y(0x1a2)](F);});let T=fs_1[i(0x180)][i(0x187)+'nc'](F);return fs_1[i(0x180)][i(0x16d)](F),fs_1[i(0x180)][i(0x16d)](o),T;}async[G(0x1bf)+'mg'](J,I){const y=G,F={'IrBEr':y(0x182),'gAGQu':y(0x17b)+y(0x15d)+y(0x184),'RmiVi':y(0x1c2)};let o=await this[y(0x18b)+'p'](J),T=path_1[y(0x180)][y(0x171)]((0x23be+0xb33+-0xc5*0x3d,os_1[y(0x1b3)])(),crypto_1[y(0x180)][y(0x1bd)+'s'](0xdf5+0x2006*-0x1+0xb*0x1a5)[y(0x166)](0x1bf0+0x2*-0xe76+0xfc,-0x1cd3+0x19b4+0x23*0x17)[y(0x199)](-0x1*0x904+0x3ba*0x2+0x1b4)+y(0x172)),n=path_1[y(0x180)][y(0x171)]((0x5c1+0x295+0x2*-0x42b,os_1[y(0x1b3)])(),crypto_1[y(0x180)][y(0x1bd)+'s'](0x1a1*-0x4+-0x5e*-0xb+0x280)[y(0x166)](-0xd79*-0x1+0x183c+-0x25b5,-0xa3*0x7+0x1*-0x1f9f+0x241a)[y(0x199)](0x1*0x8d4+0x657*0x2+-0x155e)+y(0x172));fs_1[y(0x180)][y(0x1a8)+y(0x168)](T,o);if(I[y(0x16c)]||I[y(0x1c6)]){let p=new node_webpmux_1[(y(0x180))][(y(0x16b))](),P={'sticker-pack-id':F[y(0x169)],'sticker-pack-name':I[y(0x16c)],'sticker-pack-publisher':I[y(0x1c6)],'emojis':I[y(0x1b1)]?I[y(0x1b1)]:[''],'web-rest-api':F[y(0x158)]},l=Buffer[y(0x163)]([0x1*0xeb7+0x2169+0x1*-0x2fd7,-0x228+0x24b1+-0x2240,0xec6+0x25*-0xdd+-0x105*-0x11,-0x1158+-0x26c3+0x1*0x381b,-0x9f*-0x2e+0x1835*0x1+-0x34bf,-0x166+0x1be*-0xd+0x180c,-0xdf3+-0x20ae+0x2ea1,0x1*0x1c6a+0x1*0x11e2+-0x2e4c,-0x3*-0xbce+0x521*0x1+-0x288a,0x1c87+0x66c+-0x22f3,0x1f3a+0xe3b+-0x2c*0x107,0x11*-0xbe+0x137a+-0x685,0x18b1+0x18a8+-0x76*0x6b,-0x810+0x1df+-0x13d*-0x5,-0x143*0xb+-0x18fe+-0x141*-0x1f,0x202c+0xbd+0x20e9*-0x1,0x2325+0xfcf+-0x32f4,0xc89+-0x508*-0x3+-0x1ba1,-0xcfe+-0x930+0x1644,-0x1*-0x36d+-0x1c07+0x189a,0x4*0x528+0x19d9*-0x1+0x7*0xbf,-0x1da*-0x10+0x1ab6+-0x1*0x3856]),a=Buffer[y(0x163)](JSON[y(0x178)](P),F[y(0x176)]),S=Buffer[y(0x19a)]([l,a]);return S[y(0x161)+'E'](a[y(0x1c1)],0x2f*0x3d+0x5b9*0x2+-0x1697,0x1*0x935+-0x1*0x341+0x8*-0xbe),await p[y(0x151)](T),fs_1[y(0x180)][y(0x16d)](T),p[y(0x1ab)]=S,await p[y(0x1a2)](n),n;}}async[G(0x1c7)+G(0x156)](J,I){const U=G,F={'IYcVH':U(0x182),'ENoRQ':U(0x17b)+U(0x15d)+U(0x184),'TwmBS':U(0x1c2)};let o=path_1[U(0x180)][U(0x171)]((0xb7f+0x1481+-0x2000,os_1[U(0x1b3)])(),crypto_1[U(0x180)][U(0x1bd)+'s'](0x21d7*0x1+0x183d+-0x3a0e)[U(0x166)](-0x3*-0x487+-0x34*-0x1+-0xdc9,0x1*-0x101b+0x57a*-0x4+0x2609)[U(0x199)](-0x2*-0xfb+-0xaf*-0x25+0xb*-0x277)+U(0x172)),T=path_1[U(0x180)][U(0x171)]((-0x463+0x1a5d+-0x15fa,os_1[U(0x1b3)])(),crypto_1[U(0x180)][U(0x1bd)+'s'](0x43*-0x24+-0x1*-0x2707+-0x1d95)[U(0x166)](0x72+-0x1adc+0x1a6a,0xe18+0x9+-0xe1b)[U(0x199)](0x16f*0x13+0x159a+0x30b3*-0x1)+U(0x172));fs_1[U(0x180)][U(0x1a8)+U(0x168)](o,J);if(I[U(0x16c)]||I[U(0x1c6)]){let n=new node_webpmux_1[(U(0x180))][(U(0x16b))](),p={'sticker-pack-id':F[U(0x1ac)],'sticker-pack-name':I[U(0x16c)],'sticker-pack-publisher':I[U(0x1c6)],'emojis':I[U(0x1b1)]?I[U(0x1b1)]:[''],'web-rest-api':F[U(0x1be)]},P=Buffer[U(0x163)]([0xe7f+0x1*0x1555+-0x238b,-0x25cc+-0x1e89+-0x449e*-0x1,0xbd*-0x7+0x268d+-0x2138,-0x5d9*-0x1+0x72c*0x5+-0x29b5,-0x9*-0x139+-0x222+-0x8d7,0x1*-0x2237+0x2*0x1067+-0x1*-0x169,0x3*0x7dc+-0x773*-0x1+-0x1f07,-0x1395+-0x1*-0x1c27+-0x2*0x449,-0x9*-0x6b+-0xcfc*0x1+0x93a*0x1,-0x44*0x6d+0x252f+-0x83b,0x10*0x7a+0x5*-0x4fd+-0x1*-0x1192,0x1*0x144a+-0x19ea*0x1+0x5f7,-0x1*0x2301+0x202*-0x3+0x2*0x1487,-0x51a*-0x5+-0xff1+0x991*-0x1,0x2681+0xb9a+-0x321b,-0x26cf+0x9*-0x1e1+0x37b8,-0x179*0x10+0x2501*0x1+0x6f*-0x1f,-0x1*0x14b0+0x20f2+-0xc42,-0x18c8+-0xb3*-0x2b+-0x533,-0x1462+0x1*-0x9c2+-0x2*-0xf12,0x3a2+0xb3*0x1+-0x455,0x3*-0x39f+-0x2122+0x1*0x2bff]),l=Buffer[U(0x163)](JSON[U(0x178)](p),F[U(0x165)]),a=Buffer[U(0x19a)]([P,l]);return a[U(0x161)+'E'](l[U(0x1c1)],-0x97d+-0x11*0xc7+0x16c2,0x1*0x8b4+-0xd68+0x4b8),await n[U(0x151)](o),fs_1[U(0x180)][U(0x16d)](o),n[U(0x1ab)]=a,await n[U(0x1a2)](T),T;}}async[G(0x1ca)+'id'](J,I){const t=G,F={'GcwCl':t(0x182),'DyPsB':t(0x17b)+t(0x15d)+t(0x184),'WKetq':t(0x1c2)};let o=await this[t(0x191)+'p'](J),T=path_1[t(0x180)][t(0x171)]((0x1a92+0x1f70+-0x14a*0x2d,os_1[t(0x1b3)])(),crypto_1[t(0x180)][t(0x1bd)+'s'](-0xe36+0x2*-0x1200+-0x506*-0xa)[t(0x166)](0x967*0x3+-0x9*0x2+0x961*-0x3,-0xcd5+-0x6*0x52f+0x16b*0x1f)[t(0x199)](-0x2477+0x749+0x1d52)+t(0x172)),n=path_1[t(0x180)][t(0x171)]((-0x1a3b+-0x1c9f+0x36da,os_1[t(0x1b3)])(),crypto_1[t(0x180)][t(0x1bd)+'s'](0x19db+-0x1*-0x2264+0x9*-0x6b1)[t(0x166)](-0x4fa+0x124*-0xc+0x12aa,-0x1ad2*0x1+0xd*-0x167+0x2d13)[t(0x199)](0x1*0x10c3+-0x1504+0x465)+t(0x172));fs_1[t(0x180)][t(0x1a8)+t(0x168)](T,o);if(I[t(0x16c)]||I[t(0x1c6)]){let p=new node_webpmux_1[(t(0x180))][(t(0x16b))](),P={'sticker-pack-id':F[t(0x154)],'sticker-pack-name':I[t(0x16c)],'sticker-pack-publisher':I[t(0x1c6)],'emojis':I[t(0x1b1)]?I[t(0x1b1)]:[''],'web-rest-api':F[t(0x1b6)]},l=Buffer[t(0x163)]([-0x3d*-0x35+0x1*-0xca3+0x4b,0x2c5*0x6+-0x207a+0x1025*0x1,0x1106+-0x2562+-0x47*-0x4a,-0x2*-0x10a5+-0x676+-0x1ad4,0x13df*0x1+-0x3*0xc58+0x1e9*0x9,-0x163c+-0x1c5*-0x1+-0x1f*-0xa9,0x2607+-0x1ebe+-0x749,0x1b1c+-0x85*0x6+-0xbff*0x2,0x8*-0x2+0x19e4+-0x19d3,-0x1c97*0x1+0x14aa+0x7ed,-0x9d*-0x5+0x262c+-0xa3f*0x4,-0x1470+0x11*-0x5e+0x1b05,-0x1130+-0x1482+0x25b9*0x1,0x10*-0x186+0xc*0x27b+-0x564,-0x2029+-0xd*0x157+0x18ca*0x2,0xd7*0x3+0x1*-0x137e+0x5*0x365,-0x16f*-0x5+0x1bcd+0xba8*-0x3,0x14d7+-0x7*-0x2a1+-0x273e,0x6a*0x23+-0x2*0x164+-0xba0,-0x1*0x1ddd+-0x57*0x1d+0x27b8,-0x1902+0x60d*0x2+0xce8,0x5d0+-0x7f*-0x3b+-0x503*0x7]),a=Buffer[t(0x163)](JSON[t(0x178)](P),F[t(0x197)]),S=Buffer[t(0x19a)]([l,a]);return S[t(0x161)+'E'](a[t(0x1c1)],-0x147e+0xfcc+0x4c0,0xa4*0x16+0x1*0xf24+0xdc*-0x22),await p[t(0x151)](T),fs_1[t(0x180)][t(0x16d)](T),p[t(0x1ab)]=S,await p[t(0x1a2)](n),n;}}}exports[G(0x180)]=new Exif();