gpusmarket 2.4.19 → 2.4.20
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/dist/analyga.js +1 -1
- package/dist/api.js +1 -1
- package/dist/commands/admin.js +1 -1
- package/dist/commands/app.js +1 -1
- package/dist/commands/auth.js +1 -1
- package/dist/commands/benchmark.js +1 -1
- package/dist/commands/chat.js +1 -1
- package/dist/commands/host.js +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/pool.js +1 -1
- package/dist/commands/rent.js +1 -1
- package/dist/commands/search.js +1 -1
- package/dist/config.js +1 -1
- package/dist/format.js +1 -1
- package/dist/main.js +1 -1
- package/dist/mcp-tools.js +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +1 -1
package/dist/analyga.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0xeb2262=a0_0x250a;(function(_0x4e7d09,_0x16490f){const _0xa84b93=a0_0x250a,_0x49650c=_0x4e7d09();while(!![]){try{const _0x32f1b2=-parseInt(_0xa84b93(0x9e))/0x1+-parseInt(_0xa84b93(0x8c))/0x2*(-parseInt(_0xa84b93(0xf1))/0x3)+-parseInt(_0xa84b93(0xf8))/0x4+parseInt(_0xa84b93(0x9c))/0x5+-parseInt(_0xa84b93(0xbb))/0x6*(-parseInt(_0xa84b93(0xdc))/0x7)+parseInt(_0xa84b93(0xf9))/0x8+-parseInt(_0xa84b93(0x77))/0x9*(parseInt(_0xa84b93(0x6f))/0xa);if(_0x32f1b2===_0x16490f)break;else _0x49650c['push'](_0x49650c['shift']());}catch(_0x402c99){_0x49650c['push'](_0x49650c['shift']());}}}(a0_0x3522,0x4c845));function a0_0x250a(_0x157f54,_0x3760f7){_0x157f54=_0x157f54-0x6e;const _0x3522d0=a0_0x3522();let _0x250a20=_0x3522d0[_0x157f54];if(a0_0x250a['lpvODp']===undefined){var _0x2a5d38=function(_0x567055){const _0x42a483='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5d55fb='',_0x222544='';for(let _0x980649=0x0,_0x4bc025,_0x29e3d7,_0x2eec87=0x0;_0x29e3d7=_0x567055['charAt'](_0x2eec87++);~_0x29e3d7&&(_0x4bc025=_0x980649%0x4?_0x4bc025*0x40+_0x29e3d7:_0x29e3d7,_0x980649++%0x4)?_0x5d55fb+=String['fromCharCode'](0xff&_0x4bc025>>(-0x2*_0x980649&0x6)):0x0){_0x29e3d7=_0x42a483['indexOf'](_0x29e3d7);}for(let _0x167139=0x0,_0x5793c8=_0x5d55fb['length'];_0x167139<_0x5793c8;_0x167139++){_0x222544+='%'+('00'+_0x5d55fb['charCodeAt'](_0x167139)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x222544);};a0_0x250a['kXyxri']=_0x2a5d38,a0_0x250a['jeySaW']={},a0_0x250a['lpvODp']=!![];}const _0x202556=_0x3522d0[0x0],_0x24e790=_0x157f54+_0x202556,_0x25ca10=a0_0x250a['jeySaW'][_0x24e790];return!_0x25ca10?(_0x250a20=a0_0x250a['kXyxri'](_0x250a20),a0_0x250a['jeySaW'][_0x24e790]=_0x250a20):_0x250a20=_0x25ca10,_0x250a20;}const {execFile}=require(a0_0xeb2262(0xc1));function a0_0x3522(){const _0x29a90f=['Ahr0Chm6','r0vu','CMvHzezPBgvtEw5J','DMXVB2i','yw5HBhLNysbTzxrYAwnZihrPBwvVDxq','C1f1Che','m3DrAg9uCq','yxbPs2v5','Dgjjr00','BfzHv1G','zNvUBMvS','DNzJDhm','y29UzMLNlMPZB24','mZa0mtaWs1HyEvLA','mtK0mZi4mePWwePgqq','CMvMzxjYzxi','AhPtDM8','C3rHDhm','kgrPCMvJDcK','q1vxCLC','lMfUywX5z2e','DxrMoa','B2jQzwn0','ntaWmJm3mevcr1vbua','D2vIC2L0zuLK','C3rHCNrbDa','BgLZDa','Bxb0Bvm','C2v0vgLTzw91Da','vwL0D0C','rfbXCfG','ou1lugvQua','ENj2ywS','ywXS','v0PmrKK','DMfSDwu','zxzLBNrZ','Dg9tDhjPBMC','C29YDa','C3bSAxq','tMf0qNu','AfLwuuG','Cgf0Aa','DgDHihjLDhvYBMvKig5VBI1ku09oig91Dhb1DdOG','AM9PBG','zufmrMe','swnsuvG','DxjS','zNvUBMvSCW','CM91BMq','y2f0y2G','C2v0','ndC0mJq2yufrugnc','txveqMC','zxHPDgvKia','BwfW','u2P1DuC','ru5pru5u','y291BNq','zw5Kqxq','Ag9TzwrPCG','D0XfqK4','CeXYz0i','icHYDw4GyhrNysbSB2DPBIaTlwTLEsa8DgDHx+kaPJ5Gig9YihnLDcbuwuDbx0foquXzveLdu19lrvKP','yw5HBhLNysbTzxrYAwnZihjLDhvYBMvKig5VBI1ku09o','yw5HBhLNysb3zwjZAxrLswqGBM90ignVBMzPz3vYzwq','ChjVDg9JB2W','BM93','nZi1ody1B3z1tKPT','DgDH','mti4otC5yNryv09i','s25lwKK','ve5yv3C','BgzSz3i','Ahr0Chm','s2flEe8','twXsDfK','tKrRs3u','BwvZC2fNzq','DMLZAxrZ','CvrLAKq','u3PYBhG','DhLWzq','CxLnuwS','C3rLChm','yMLNz2vZDerYB3a','qKPrzg8','BvburMi','zw5K','tM9Stxa','DgDHoIa','y29UDMvYC2LVBKzYB21qCMv2Aw91CW','qMvHCMvYia','zxHWB3j0CW','yw5HBhLNysbTzxrYAwnZieHuvfaG','DuPiD2e','CgfYC2u','qLLwqum','vvfnCg4','nJK0mZjOtMvlB04','yhrNywaGq0Xjig5VDcbMB3vUzcdIGjqGAw5ZDgfSBcb0AguGyw5HBhLNysbdteK6ig5WBsbPic1NigfUywX5z2eGjIyGDgDHigXVz2LUic0TA2v5idX0z2fF4OcMpG','BM8Gyw5HBhLNysbRzxKGkhnLDcbuwuDbx0foquXzveLdu19lrvKGB3iGCNvUigb0z2eGBg9NAw4Gls1RzxKGphrNyv/IGky+ycK','vLLRDwK','ls1QC29U','C2vHCMnOugfYyw1Z','y2HPBgrFChjVy2vZCW','C3rHDhvZq29Kzq','Ahr0Ca','AxnbCNjHEq','zxjYB3i','rNrPCfK','ls1HCgKTDxjS','z3b1C21HCMTLDc1JBgK','uhzwC0K','BgfIzwW','BMfTzq','CMvXDwvZDa','rvPJzuu','C2XPy2u','rwzgvvO','uvfsugW','ue5bDKu','s0z0sge','DgvZDa','CNvU','zLfcAK0','vhzXvg0','DMH2wvy','tMXcq1a','quHLBeq','l2fWAs93zwjZAxrLCY8','rezkDgO','mJm4zfrfAKXx','ANncte0','zLvgs3O','CNzQB3y','zgvZDhjVEq','v05etMe','y3DK','D2zNwxG','yKXurxe','Dxz3C1O','y29Kzq','y29UDMvYC2LVBKzYB21tDgfYDa','zgf0yq','DhjPBq','rK94v08'];a0_0x3522=function(){return _0x29a90f;};return a0_0x3522();}function tga(_0x128580,_0x27ec29){const _0x4a6f69=a0_0xeb2262,_0x12213e={'fUFKz':function(_0x4e6764,_0x4b72ae){return _0x4e6764(_0x4b72ae);},'wLEBN':_0x4a6f69(0xff),'fQBjM':_0x4a6f69(0x6e),'jsBLM':function(_0x193bf6,_0x3d09e8){return _0x193bf6+_0x3d09e8;},'MuDBg':function(_0x3727db,_0x16cc68){return _0x3727db===_0x16cc68;},'UQMpn':_0x4a6f69(0xe5),'eALFa':function(_0x30b0a2,_0x51be8c){return _0x30b0a2(_0x51be8c);},'KFtHa':_0x4a6f69(0xc7),'EZceE':function(_0x251beb,_0x215cdb,_0x10d12e,_0x2768ff,_0x20425f){return _0x251beb(_0x215cdb,_0x10d12e,_0x2768ff,_0x20425f);}};return new Promise((_0x81956f,_0x249648)=>{const _0x16edb1=_0x4a6f69,_0x2ad1b3={'DPqpX':function(_0x43a1ff,_0x200dbf){const _0x46e77c=a0_0x250a;return _0x12213e[_0x46e77c(0xde)](_0x43a1ff,_0x200dbf);},'WJLFI':function(_0x59ea8a,_0x1e675c){return _0x59ea8a(_0x1e675c);},'NlBCP':_0x16edb1(0x82),'TLfyF':_0x12213e[_0x16edb1(0x95)],'NatBu':_0x16edb1(0xf7),'EfFUZ':_0x16edb1(0xbc),'BJQdo':_0x12213e[_0x16edb1(0xd5)],'qyMQk':function(_0x1c761d,_0x588683){const _0x58cb33=_0x16edb1;return _0x12213e[_0x58cb33(0xdd)](_0x1c761d,_0x588683);},'fuyuN':function(_0x14cb00,_0x5078be){const _0x55b9d8=_0x16edb1;return _0x12213e[_0x55b9d8(0x8d)](_0x14cb00,_0x5078be);},'hzSvo':_0x12213e[_0x16edb1(0xba)],'NolMp':_0x16edb1(0xa1),'OxvJz':function(_0x1fd833,_0xbbae04){const _0x3a72f3=_0x16edb1;return _0x12213e[_0x3a72f3(0x85)](_0x1fd833,_0xbbae04);}},_0x21565a=_0x128580&&_0x128580['tgaBin']||_0x16edb1(0x9d),_0x502c72=[..._0x27ec29,_0x12213e[_0x16edb1(0xd2)],_0x128580[_0x16edb1(0x87)],_0x16edb1(0xbf)];_0x12213e[_0x16edb1(0xcd)](execFile,_0x21565a,_0x502c72,{'timeout':0x7530,'maxBuffer':0x4*0x400*0x400},(_0x1ae58a,_0x3b6be9,_0x376fdb)=>{const _0xf4ef1=_0x16edb1;if(_0x1ae58a){if(_0x1ae58a[_0xf4ef1(0xe6)]==='ENOENT'){if(_0xf4ef1(0xa4)===_0xf4ef1(0xa3)){if(_0x361cb4.env.TYGA_ANALYTICS_KEY)return _0x2e016a.env.TYGA_ANALYTICS_KEY;const _0x5bd38e=_0x2ad1b3[_0xf4ef1(0x76)](_0x4e05e5,'fs'),_0x36214d=_0x2ad1b3[_0xf4ef1(0x7a)](_0x4961ce,_0x2ad1b3[_0xf4ef1(0xd8)]),_0x40e429=_0x440a74('os');for(const _0x452c1f of[_0x36214d[_0xf4ef1(0x84)](_0xa9923a[_0xf4ef1(0xe2)](),_0x2ad1b3['TLfyF'],_0xf4ef1(0xf7)),_0x36214d[_0xf4ef1(0x84)](_0x40e429[_0xf4ef1(0x94)](),_0xf4ef1(0xff),_0x2ad1b3[_0xf4ef1(0x80)])]){try{const _0x22c61f=_0x5bfcb5[_0xf4ef1(0xb8)](_0x5bd38e['readFileSync'](_0x452c1f,_0xf4ef1(0x100)));if(_0x22c61f[_0xf4ef1(0xf2)])return _0x22c61f[_0xf4ef1(0xf2)];}catch{}}return null;}else return _0x249648(new Error(_0x2ad1b3[_0xf4ef1(0xcf)]));}let _0x3cc96e='';try{const _0x5a16d1=JSON[_0xf4ef1(0xb8)](_0x3b6be9||_0x376fdb),_0x5ee578=_0x5a16d1&&_0x5a16d1[_0xf4ef1(0xc5)];_0x3cc96e=(_0x5ee578&&typeof _0x5ee578===_0x2ad1b3[_0xf4ef1(0xae)]?_0x5ee578[_0xf4ef1(0xa6)]||_0x5ee578['code']:_0x5ee578)||_0x5a16d1[_0xf4ef1(0xa6)]||'';}catch{}const _0x5b0bed=(_0x3cc96e||_0x376fdb||_0x3b6be9||_0x1ae58a[_0xf4ef1(0xa6)]||'')[_0xf4ef1(0x7d)]()[_0xf4ef1(0xe9)]()[_0xf4ef1(0x7f)]('\x0a')[0x0],_0xa697d9=/auth|unauthor|key|login|401/i[_0xf4ef1(0xd3)](_0x5b0bed)?_0xf4ef1(0x97):'';return _0x2ad1b3[_0xf4ef1(0x7a)](_0x249648,new Error(_0xf4ef1(0xb2)+(_0x5b0bed||_0x2ad1b3[_0xf4ef1(0xab)](_0xf4ef1(0x8e),_0x1ae58a[_0xf4ef1(0xe6)]))+_0xa697d9));}try{if(_0x2ad1b3['fuyuN'](_0x2ad1b3[_0xf4ef1(0xfb)],_0x2ad1b3[_0xf4ef1(0xb1)])){const _0x2a8c9d=_0x296c5f['parse'](_0x14aac1);_0x3b634e((_0x39b250['isArray'](_0x2a8c9d)?_0x2a8c9d:[])[_0xf4ef1(0x8f)](_0x20888d=>({'domain':_0x20888d['x']||_0xf4ef1(0xfd),'visits':_0x20888d['y']||0x0}))[_0xf4ef1(0x7e)]((_0x2e72fb,_0x52dee5)=>_0x52dee5[_0xf4ef1(0xa7)]-_0x2e72fb['visits']));}else _0x81956f(JSON['parse'](_0x3b6be9));}catch{_0x2ad1b3['OxvJz'](_0x249648,new Error(_0xf4ef1(0x83)+String(_0x3b6be9)[_0xf4ef1(0xce)](0x0,0xa0)));}});});}async function funnelEventCounts(_0x5efdd6){const _0x47d0c=a0_0xeb2262,_0x32696f={'vvcts':function(_0xa07c3f,_0x1eb3a1,_0x94164a){return _0xa07c3f(_0x1eb3a1,_0x94164a);},'iKsGi':_0x47d0c(0xfc),'vhvYV':_0x47d0c(0x7c)};if(!_0x5efdd6||!_0x5efdd6[_0x47d0c(0x70)])throw new Error(_0x47d0c(0x99));const [_0xe3a3db,_0x626f64,_0x5074a0]=await Promise['all']([_0x32696f[_0x47d0c(0xf6)](tga,_0x5efdd6,[_0x32696f['iKsGi'],_0x5efdd6[_0x47d0c(0x70)]])[_0x47d0c(0x8a)](()=>null),tga(_0x5efdd6,[_0x32696f[_0x47d0c(0xd7)],_0x5efdd6['websiteId']]),savedFunnels(_0x5efdd6)[_0x47d0c(0x8a)](()=>[])]),_0x1aae16=Array[_0x47d0c(0xc4)](_0x626f64&&_0x626f64[_0x47d0c(0x7c)])?_0x626f64[_0x47d0c(0x7c)]:[],_0x5c23a7=_0x1aae16['map'](_0x32b74f=>({'name':_0x32b74f[_0x47d0c(0xcb)]!=null?_0x32b74f['name']:_0x32b74f['x'],'count':_0x32b74f[_0x47d0c(0x92)]!=null?_0x32b74f[_0x47d0c(0x92)]:_0x32b74f['y']}))['sort']((_0x953e2,_0x4c7b43)=>_0x4c7b43['count']-_0x953e2[_0x47d0c(0x92)]);return{'events':_0x5c23a7,'stats':_0xe3a3db,'funnels':_0x5074a0,'websiteId':_0x5efdd6[_0x47d0c(0x70)],'url':_0x5efdd6['url'],'via':_0x47d0c(0x9d)};}async function savedFunnels(_0x5fbf35){const _0x4f6a53=a0_0xeb2262,_0x25836a={'DFJtj':_0x4f6a53(0x91),'pMFix':function(_0x381d6d,_0x40914e){return _0x381d6d===_0x40914e;},'mptmS':function(_0x4c7658,_0x40e09a){return _0x4c7658(_0x40e09a);},'wfgYx':_0x4f6a53(0x8e),'NDkKu':_0x4f6a53(0xd4),'bLTEq':function(_0x20ad4b,_0x89e68c){return _0x20ad4b<_0x89e68c;},'WNDNa':function(_0x86df6e,_0x13e932){return _0x86df6e-_0x13e932;},'CUWrW':'IgUTv','PvVsI':function(_0x3fdbbe,_0x4c8598){return _0x3fdbbe>_0x4c8598;},'FOxWO':_0x4f6a53(0x99),'pLrgB':function(_0xea5aaa,_0x390bbb,_0x2a281a){return _0xea5aaa(_0x390bbb,_0x2a281a);},'KnKZI':_0x4f6a53(0xf5)};if(!_0x5fbf35||!_0x5fbf35[_0x4f6a53(0x70)])throw new Error(_0x25836a[_0x4f6a53(0xea)]);const _0xe8d5ab=await _0x25836a[_0x4f6a53(0x96)](tga,_0x5fbf35,[_0x25836a[_0x4f6a53(0x9f)],_0x4f6a53(0x72),_0x5fbf35[_0x4f6a53(0x70)]]),_0x5cc408=Array[_0x4f6a53(0xc4)](_0xe8d5ab&&_0xe8d5ab[_0x4f6a53(0x88)])?_0xe8d5ab[_0x4f6a53(0x88)]:[],_0x5128cc=await Promise[_0x4f6a53(0x79)](_0x5cc408[_0x4f6a53(0x8f)](async _0x52d8b8=>{const _0x1d4839=_0x4f6a53;try{const _0x587c76=await tga(_0x5fbf35,[_0x1d4839(0xf5),_0x25836a[_0x1d4839(0xa5)],_0x52d8b8['id']]),_0x3be391=(Array[_0x1d4839(0xc4)](_0x587c76&&_0x587c76[_0x1d4839(0xac)])?_0x587c76[_0x1d4839(0xac)]:[])[_0x1d4839(0x8f)](_0x1a32c3=>({'label':_0x1a32c3[_0x1d4839(0x7b)]!=null?_0x1a32c3[_0x1d4839(0x7b)]:_0x1a32c3[_0x1d4839(0xca)],'count':_0x1a32c3[_0x1d4839(0x92)]||0x0,'pctOfStart':Math[_0x1d4839(0x89)]((_0x1a32c3[_0x1d4839(0xe7)]||0x0)*0x64),'pctOfPrev':Math[_0x1d4839(0x89)]((_0x1a32c3[_0x1d4839(0xb3)]||0x0)*0x64)}));let _0x1a5cb4=-0x1,_0xadc44a=-0x1;for(let _0x33c631=0x1;_0x25836a[_0x1d4839(0xe4)](_0x33c631,_0x3be391['length']);_0x33c631++){const _0x161eca=_0x25836a[_0x1d4839(0xe1)](_0x3be391[_0x33c631-0x1][_0x1d4839(0x92)]||0x0,_0x3be391[_0x33c631][_0x1d4839(0x92)]||0x0);if(_0x161eca>_0x1a5cb4){if(_0x25836a[_0x1d4839(0xfe)]===_0x1d4839(0x78)){if(_0x59fca1[_0x1d4839(0xe6)]===yLkBst[_0x1d4839(0xdb)])return _0x50f762(new _0x4478b7(_0x1d4839(0xbc)));let _0x277560='';try{const _0x329763=_0x45a831[_0x1d4839(0xb8)](_0x5b24bf||_0x2de294),_0x5bfacf=_0x329763&&_0x329763[_0x1d4839(0xc5)];_0x277560=(_0x5bfacf&&yLkBst['pMFix'](typeof _0x5bfacf,_0x1d4839(0x6e))?_0x5bfacf['message']||_0x5bfacf['code']:_0x5bfacf)||_0x329763[_0x1d4839(0xa6)]||'';}catch{}const _0x2a83f8=(_0x277560||_0x116732||_0x4d646f||_0x5243f4['message']||'')[_0x1d4839(0x7d)]()[_0x1d4839(0xe9)]()[_0x1d4839(0x7f)]('\x0a')[0x0],_0x2dc5aa=/auth|unauthor|key|login|401/i[_0x1d4839(0xd3)](_0x2a83f8)?_0x1d4839(0x97):'';return yLkBst[_0x1d4839(0x73)](_0x2ed223,new _0x84b4a1(_0x1d4839(0xb2)+(_0x2a83f8||yLkBst[_0x1d4839(0xe3)]+_0x127d32[_0x1d4839(0xe6)])+_0x2dc5aa));}else _0x1a5cb4=_0x161eca,_0xadc44a=_0x33c631;}}if(_0xadc44a>=0x0&&_0x25836a[_0x1d4839(0xc9)](_0x1a5cb4,0x0))_0x3be391[_0xadc44a][_0x1d4839(0xad)]=!![];return{'id':_0x52d8b8['id'],'name':_0x52d8b8[_0x1d4839(0xcb)],'steps':_0x3be391};}catch(_0x27fa71){return{'id':_0x52d8b8['id'],'name':_0x52d8b8[_0x1d4839(0xcb)],'error':_0x27fa71[_0x1d4839(0xa6)]};}}));return _0x5128cc;}function _resolveTgaKey(){const _0x56767e=a0_0xeb2262,_0x583486={'vloob':function(_0x1c373b,_0x44f95c){return _0x1c373b(_0x44f95c);},'SjuuG':_0x56767e(0x82),'sQupq':function(_0x43701c,_0x4b4859){return _0x43701c(_0x4b4859);},'qTejD':_0x56767e(0xff),'TNXWw':'utf8'};if(process.env.TYGA_ANALYTICS_KEY)return process.env.TYGA_ANALYTICS_KEY;const _0x675f1f=_0x583486[_0x56767e(0xee)](require,'fs'),_0x514028=require(_0x583486[_0x56767e(0x90)]),_0x2c3451=_0x583486[_0x56767e(0xf0)](require,'os');for(const _0x55df9b of[_0x514028['join'](process[_0x56767e(0xe2)](),_0x583486[_0x56767e(0xa8)],_0x56767e(0xf7)),_0x514028[_0x56767e(0x84)](_0x2c3451[_0x56767e(0x94)](),_0x583486[_0x56767e(0xa8)],_0x56767e(0xf7))]){try{const _0x2a25a6=JSON[_0x56767e(0xb8)](_0x675f1f[_0x56767e(0xed)](_0x55df9b,_0x583486[_0x56767e(0xa0)]));if(_0x2a25a6['apiKey'])return _0x2a25a6[_0x56767e(0xf2)];}catch{}}return null;}function referrerBreakdown(_0xe34370,_0x540d58){const _0x30f875=a0_0xeb2262,_0xfdc485={'IcRQX':function(_0x2f96c4,_0x31afec){return _0x2f96c4(_0x31afec);},'TvqTm':function(_0x3b40d6,_0x14ad64){return _0x3b40d6>=_0x14ad64;},'wvWoK':function(_0x5761ce){return _0x5761ce();},'AHelD':_0x30f875(0xbd),'VYkui':function(_0x1a4ba3,_0x39cb59){return _0x1a4ba3-_0x39cb59;},'uJHwa':function(_0x349864,_0x31348e){return _0x349864*_0x31348e;},'QQRPl':function(_0x13b127,_0x1aec2a){return _0x13b127(_0x1aec2a);},'lPRwR':_0x30f875(0x93),'lVaWX':_0x30f875(0xec),'FtipY':_0x30f875(0xc5)};return new Promise((_0x22ebb5,_0x191d7a)=>{const _0x19f552=_0x30f875,_0x52d8ec={'mPTFb':function(_0x2dec9c,_0x2384de){return _0x2dec9c===_0x2384de;},'BYVAC':function(_0x13f923,_0x14eadf){const _0x308bb2=a0_0x250a;return _0xfdc485[_0x308bb2(0xd6)](_0x13f923,_0x14eadf);},'UitwG':function(_0x115439,_0x56c2af){return _0x115439(_0x56c2af);},'Szrlx':function(_0x3cf4a0,_0x39abd1){const _0x3ccaa2=a0_0x250a;return _0xfdc485[_0x3ccaa2(0x86)](_0x3cf4a0,_0x39abd1);},'hYVQH':function(_0x2fb6a9,_0x18419e){return _0x2fb6a9(_0x18419e);}};if(!_0xe34370||!_0xe34370[_0x19f552(0x70)])return _0xfdc485[_0x19f552(0x86)](_0x191d7a,new Error(_0x19f552(0x99)));const _0xe7e559=_0xfdc485['wvWoK'](_resolveTgaKey);if(!_0xe7e559)return _0xfdc485[_0x19f552(0x86)](_0x191d7a,new Error(_0xfdc485[_0x19f552(0xd9)]));const _0xfaddba=Date[_0x19f552(0x9b)](),_0x6ceec0=_0xfdc485[_0x19f552(0xbe)](_0xfaddba,_0xfdc485[_0x19f552(0xb7)](_0xfdc485[_0x19f552(0xd0)](Number,_0x540d58)||0x7,0x5265c00)),_0x18e3c0=new URL(_0x19f552(0xda)+_0xe34370[_0x19f552(0x70)]+'/metrics',_0xe34370[_0x19f552(0x87)]);_0x18e3c0['searchParams'][_0x19f552(0x8b)](_0x19f552(0xaa),_0x19f552(0xfa)),_0x18e3c0[_0x19f552(0xc0)]['set'](_0x19f552(0x71),String(_0x6ceec0)),_0x18e3c0[_0x19f552(0xc0)]['set'](_0xfdc485['lPRwR'],_0xfdc485['IcRQX'](String,_0xfaddba));const _0x3f2a3c=_0x18e3c0[_0x19f552(0x9a)]===_0x19f552(0xeb)?require(_0x19f552(0xa2)):require(_0x19f552(0xc3)),_0xa7cfb3=_0x3f2a3c[_0x19f552(0xcc)](_0x18e3c0,{'method':_0xfdc485[_0x19f552(0xf4)],'headers':{'Authorization':_0x19f552(0xb4)+_0xe7e559,'User-Agent':_0x19f552(0xc8)}},_0x1307b1=>{const _0x18d350=_0x19f552,_0x4aa0e4={'tbIGM':function(_0x1046dd,_0x406279){const _0x1066aa=a0_0x250a;return _0xfdc485[_0x1066aa(0x86)](_0x1046dd,_0x406279);},'rvjov':'analyga\x20metrics\x20timeout'};let _0x5bd88c='';_0x1307b1['on'](_0x18d350(0xe8),_0x3df147=>_0x5bd88c+=_0x3df147),_0x1307b1['on'](_0x18d350(0xb0),()=>{const _0x3fc651=_0x18d350;if(_0x52d8ec[_0x3fc651(0xaf)](_0x3fc651(0xd1),'PNAvE')){if(_0x52d8ec[_0x3fc651(0xb9)](_0x1307b1[_0x3fc651(0xc2)],0x190))return _0x52d8ec[_0x3fc651(0x75)](_0x191d7a,new Error(_0x3fc651(0xb6)+_0x1307b1[_0x3fc651(0xc2)]));try{const _0x3edf88=JSON[_0x3fc651(0xb8)](_0x5bd88c);_0x52d8ec[_0x3fc651(0xa9)](_0x22ebb5,(Array['isArray'](_0x3edf88)?_0x3edf88:[])[_0x3fc651(0x8f)](_0xd354=>({'domain':_0xd354['x']||'(direct)','visits':_0xd354['y']||0x0}))[_0x3fc651(0x7e)]((_0x3b83e,_0xd45b1d)=>_0xd45b1d[_0x3fc651(0xa7)]-_0x3b83e[_0x3fc651(0xa7)]));}catch{_0x52d8ec[_0x3fc651(0x81)](_0x191d7a,new Error(_0x3fc651(0x98)));}}else _0x415230[_0x3fc651(0xe0)](),_0x4aa0e4[_0x3fc651(0xf3)](_0x6a267,new _0x171813(_0x4aa0e4[_0x3fc651(0xdf)]));});});_0xa7cfb3['on'](_0xfdc485[_0x19f552(0xc6)],_0x191d7a),_0xa7cfb3[_0x19f552(0x74)](0x3a98,()=>{const _0x2f5e03=_0x19f552;_0xa7cfb3[_0x2f5e03(0xe0)](),_0xfdc485[_0x2f5e03(0x86)](_0x191d7a,new Error(_0x2f5e03(0xef)));}),_0xa7cfb3[_0x19f552(0xb0)]();});}module[a0_0xeb2262(0xb5)]={'tga':tga,'funnelEventCounts':funnelEventCounts,'savedFunnels':savedFunnels,'referrerBreakdown':referrerBreakdown};
|
|
1
|
+
const a0_0x521d28=a0_0x5445;(function(_0x263a2a,_0xc071dc){const _0x5511c4=a0_0x5445,_0x1576d6=_0x263a2a();while(!![]){try{const _0x322a1b=parseInt(_0x5511c4(0x119))/0x1+-parseInt(_0x5511c4(0x101))/0x2+-parseInt(_0x5511c4(0xdd))/0x3+parseInt(_0x5511c4(0x13b))/0x4+parseInt(_0x5511c4(0x12b))/0x5*(parseInt(_0x5511c4(0xd5))/0x6)+-parseInt(_0x5511c4(0xf5))/0x7+-parseInt(_0x5511c4(0xf4))/0x8;if(_0x322a1b===_0xc071dc)break;else _0x1576d6['push'](_0x1576d6['shift']());}catch(_0x2a93f2){_0x1576d6['push'](_0x1576d6['shift']());}}}(a0_0xfa7f,0x43b16));const {execFile}=require(a0_0x521d28(0x138));function tga(_0x3b19c6,_0x4e1931){const _0x1de5fb=a0_0x521d28,_0x1dc5a4={'hbPPH':function(_0x4532d2,_0x5dc8f2){return _0x4532d2(_0x5dc8f2);},'uWINx':_0x1de5fb(0x105),'Hfogd':_0x1de5fb(0xea),'uRwoV':function(_0x596620,_0x33ff16){return _0x596620+_0x33ff16;},'tPAXj':function(_0x27dcfc,_0x2ec8e8){return _0x27dcfc(_0x2ec8e8);},'CkiuO':_0x1de5fb(0x10c),'mclfn':function(_0x182b4d,_0x176a34){return _0x182b4d*_0x176a34;}};return new Promise((_0x339790,_0x3328a1)=>{const _0x3c050f=_0x1de5fb,_0xdcfb64=_0x3b19c6&&_0x3b19c6[_0x3c050f(0x13f)]||_0x3c050f(0x128),_0x219ab0=[..._0x4e1931,_0x3c050f(0xfd),_0x3b19c6[_0x3c050f(0xf0)],_0x1dc5a4[_0x3c050f(0x139)]];execFile(_0xdcfb64,_0x219ab0,{'timeout':0x7530,'maxBuffer':_0x1dc5a4[_0x3c050f(0x11b)](0x4*0x400,0x400)},(_0x4aadd5,_0x2fca36,_0x507cfd)=>{const _0x1ac5d3=_0x3c050f;if(_0x4aadd5){if(_0x4aadd5['code']===_0x1ac5d3(0xde))return _0x1dc5a4[_0x1ac5d3(0xe2)](_0x3328a1,new Error(_0x1dc5a4[_0x1ac5d3(0x11e)]));let _0x240768='';try{const _0x1942ca=JSON[_0x1ac5d3(0x149)](_0x2fca36||_0x507cfd),_0x35ec66=_0x1942ca&&_0x1942ca['error'];_0x240768=(_0x35ec66&&typeof _0x35ec66==='object'?_0x35ec66['message']||_0x35ec66['code']:_0x35ec66)||_0x1942ca[_0x1ac5d3(0xfe)]||'';}catch{}const _0x10d711=(_0x240768||_0x507cfd||_0x2fca36||_0x4aadd5[_0x1ac5d3(0xfe)]||'')[_0x1ac5d3(0x134)]()[_0x1ac5d3(0x131)]()[_0x1ac5d3(0xff)]('\x0a')[0x0],_0x3b748e=/auth|unauthor|key|login|401/i[_0x1ac5d3(0x124)](_0x10d711)?_0x1dc5a4[_0x1ac5d3(0x123)]:'';return _0x1dc5a4[_0x1ac5d3(0xe2)](_0x3328a1,new Error(_0x1ac5d3(0x12e)+(_0x10d711||_0x1dc5a4['uRwoV']('exited\x20',_0x4aadd5[_0x1ac5d3(0xee)]))+_0x3b748e));}try{_0x339790(JSON[_0x1ac5d3(0x149)](_0x2fca36));}catch{_0x3328a1(new Error(_0x1ac5d3(0x10a)+_0x1dc5a4[_0x1ac5d3(0x11d)](String,_0x2fca36)[_0x1ac5d3(0xf2)](0x0,0xa0)));}});});}function a0_0xfa7f(){const _0x508df3=['CNvU','y29Kzq','BMfTzq','DxjS','ze5cte8','C2XPy2u','zNvUBMvSCW','mta0ndeYmfbsu1jJrG','mtaYntu2m1PjrNLhCq','Bu1mBKe','l2fWAs93zwjZAxrLCY8','yw5HBhLNysbTzxrYAwnZihjLDhvYBMvKig5VBI1ku09o','Dgvly24','wwvbCLK','zxjYB3i','A2vutKq','ls1HCgKTDxjS','BwvZC2fNzq','C3bSAxq','Ahr0Chm','mta5odCYwLPrugDS','zfnNtMe','BM8Gyw5HBhLNysbRzxKGkhnLDcbuwuDbx0foquXzveLdu19lrvKGB3iGCNvUigb0z2eGBg9NAw4Gls1RzxKGphrNyv/IGky+ycK','ug1lChK','yhrNywaGq0Xjig5VDcbMB3vUzcdIGjqGAw5ZDgfSBcb0AguGyw5HBhLNysbdteK6ig5WBsbPic1NigfUywX5z2eGjIyGDgDHigXVz2LUic0TA2v5idX0z2fF4OcMpG','r0vu','D2vIC2L0zuLK','qMvHCMvYia','C3D2sgK','DgDHihjLDhvYBMvKig5VBI1ku09oig91Dhb1DdOG','tunvBNm','ls1QC29U','zw5K','zxHPDgvKia','zxzLBNrZ','DwP3q0e','swz4r1O','A2PlC1K','tLjXvwS','BvjJBeu','AMvKAu8','y3DK','DMfSDwu','tK1JuKq','ndm5mdKYwvrnwhvZ','zLvgEfK','BwnSzM4','CM91BMq','DfbbwgO','DvDjtNG','AxnbCNjHEq','kgrPCMvJDcK','zMLSDgvY','zw5Kqxq','sgzVz2q','DgvZDa','CKrxB1y','twzOuhK','BM93','DgDH','AMvwBgm','wKnkr2O','mJbAz1Hnwxy','B2jQzwn0','sxjkyxm','DgDHoIa','DxrMoa','yxbPs2v5','DhjPBq','yMLNz2vZDerYB3a','BgLZDa','Dg9tDhjPBMC','B3rLEvC','s1fYrwu','AgfZ','y2HPBgrFChjVy2vZCW','q2TPDu8','C2v0','mty1ody1mK1VvM9rDa','yML4B1a','C3rHDhm','C2v0vgLTzw91Da','DgDHqMLU','zxHWB3j0CW','zwDTtuG','zvDVCNG','C3rHDhvZq29Kzq','yw5HBhLNysb3zwjZAxrLswqGBM90ignVBMzPz3vYzwq','DhLWzq','C21hAvq','ChjVDg9JB2W','yw5HBhLNysbTzxrYAwnZieHuvfaG','CgfYC2u','BeXit1m','y291BNq','y29UDMvYC2LVBKzYB21qCMv2Aw91CW','BgfIzwW','zNvUBMvS','sM5PDg0','y29UDMvYC2LVBKzYB21tDgfYDa','mJu2nJG2CLj6Bxr4','DMjSCvu','AM9PBG','yNHJteG','zwneCuS','veTdBxC','l21LDhjPy3m','BwfW','mti0nJK0n09HyMrqsa','ru5pru5u','y2f0y2G','C29YDa','DMLZAxrZ','AgjqueG','ywXS','B3bRwum','yvzTA1i','Ahr0Ca','C3rHCNrbDa','rNr5rhq','CMvHzezPBgvtEw5J','icHYDw4GyhrNysbSB2DPBIaTlwTLEsa8DgDHx+kaPJ5Gig9YihnLDcbuwuDbx0foquXzveLdu19lrvKP','C2vHCMnOugfYyw1Z','z3b1C21HCMTLDc1JBgK'];a0_0xfa7f=function(){return _0x508df3;};return a0_0xfa7f();}async function funnelEventCounts(_0x528780){const _0x417e05=a0_0x521d28,_0x4b19de={'ecDqK':'analyga\x20websiteId\x20not\x20configured','teKcn':function(_0x36cf72,_0x1638ec,_0x59a822){return _0x36cf72(_0x1638ec,_0x59a822);},'shbdn':_0x417e05(0x13d),'mMLnA':function(_0x3f097b,_0x506d7f,_0x35fa70){return _0x3f097b(_0x506d7f,_0x35fa70);}};if(!_0x528780||!_0x528780[_0x417e05(0x107)])throw new Error(_0x4b19de[_0x417e05(0xd9)]);const [_0x87a5d7,_0x5c0a66,_0x29f5cf]=await Promise['all']([_0x4b19de[_0x417e05(0xf9)](tga,_0x528780,[_0x4b19de['shbdn'],_0x528780[_0x417e05(0x107)]])[_0x417e05(0xdf)](()=>null),_0x4b19de[_0x417e05(0xf6)](tga,_0x528780,['events',_0x528780[_0x417e05(0x107)]]),savedFunnels(_0x528780)[_0x417e05(0xdf)](()=>[])]),_0x403325=Array[_0x417e05(0x11f)](_0x5c0a66&&_0x5c0a66[_0x417e05(0x10f)])?_0x5c0a66[_0x417e05(0x10f)]:[],_0x100a9e=_0x403325[_0x417e05(0xdc)](_0x16b66f=>({'name':_0x16b66f['name']!=null?_0x16b66f[_0x417e05(0xef)]:_0x16b66f['x'],'count':_0x16b66f[_0x417e05(0xcf)]!=null?_0x16b66f['count']:_0x16b66f['y']}))[_0x417e05(0xe0)]((_0x4038ef,_0x2d6ce4)=>_0x2d6ce4['count']-_0x4038ef[_0x417e05(0xcf)]);return{'events':_0x100a9e,'stats':_0x87a5d7,'funnels':_0x29f5cf,'websiteId':_0x528780[_0x417e05(0x107)],'url':_0x528780[_0x417e05(0xf0)],'via':_0x417e05(0x128)};}async function savedFunnels(_0x42ce4d){const _0xcaaea8=a0_0x521d28,_0x31f41e={'MfhPy':_0xcaaea8(0xe5),'iSbwQ':_0xcaaea8(0xed),'bixoP':function(_0x53437d,_0x4b9bca){return _0x53437d<_0x4b9bca;},'IrJas':function(_0x2d456b,_0x46e070){return _0x2d456b!==_0x46e070;},'NMcRD':'FQmkF','TFHKF':'yxNRs','NRqUk':function(_0x1380b3,_0xa6abdd){return _0x1380b3-_0xa6abdd;},'ujwCA':'analyga\x20websiteId\x20not\x20configured','Jnitm':function(_0x5523f9,_0x4234eb,_0x3d54dd){return _0x5523f9(_0x4234eb,_0x3d54dd);},'lLHOS':_0xcaaea8(0x133)};if(!_0x42ce4d||!_0x42ce4d[_0xcaaea8(0x107)])throw new Error(_0x31f41e[_0xcaaea8(0x110)]);const _0x2ebe57=await _0x31f41e[_0xcaaea8(0xd3)](tga,_0x42ce4d,[_0xcaaea8(0xd2),_0x31f41e[_0xcaaea8(0xce)],_0x42ce4d['websiteId']]),_0x1ede9d=Array['isArray'](_0x2ebe57&&_0x2ebe57[_0xcaaea8(0xf3)])?_0x2ebe57['funnels']:[],_0x4da8c4=await Promise[_0xcaaea8(0xe3)](_0x1ede9d[_0xcaaea8(0xdc)](async _0x427058=>{const _0x35116d=_0xcaaea8;if(_0x31f41e[_0x35116d(0x126)]!==_0x35116d(0xe5))try{const _0x1a8035=_0x262e4b[_0x35116d(0x149)](_0x319705[_0x35116d(0xe9)](_0x4841de,_0x35116d(0x12f)));if(_0x1a8035[_0x35116d(0x130)])return _0x1a8035['apiKey'];}catch{}else try{const _0xb5b5ac=await tga(_0x42ce4d,[_0x35116d(0xd2),_0x31f41e['iSbwQ'],_0x427058['id']]),_0x5b3746=(Array[_0x35116d(0x11f)](_0xb5b5ac&&_0xb5b5ac['steps'])?_0xb5b5ac['steps']:[])[_0x35116d(0xdc)](_0x25d586=>({'label':_0x25d586['value']!=null?_0x25d586[_0x35116d(0x117)]:_0x25d586[_0x35116d(0xd1)],'count':_0x25d586[_0x35116d(0xcf)]||0x0,'pctOfStart':Math[_0x35116d(0x11c)]((_0x25d586[_0x35116d(0xd4)]||0x0)*0x64),'pctOfPrev':Math[_0x35116d(0x11c)]((_0x25d586[_0x35116d(0xd0)]||0x0)*0x64)}));let _0x575d08=-0x1,_0x29db4f=-0x1;for(let _0x4b2c08=0x1;_0x31f41e[_0x35116d(0x13c)](_0x4b2c08,_0x5b3746['length']);_0x4b2c08++){if(_0x31f41e[_0x35116d(0x12d)](_0x31f41e[_0x35116d(0x118)],_0x31f41e['TFHKF'])){const _0x135839=(_0x5b3746[_0x31f41e[_0x35116d(0x113)](_0x4b2c08,0x1)][_0x35116d(0xcf)]||0x0)-(_0x5b3746[_0x4b2c08]['count']||0x0);_0x135839>_0x575d08&&(_0x575d08=_0x135839,_0x29db4f=_0x4b2c08);}else _0x110d36(new _0x413246(_0x35116d(0xf8)));}if(_0x29db4f>=0x0&&_0x575d08>0x0)_0x5b3746[_0x29db4f][_0x35116d(0x132)]=!![];return{'id':_0x427058['id'],'name':_0x427058[_0x35116d(0xef)],'steps':_0x5b3746};}catch(_0x36c1e0){return{'id':_0x427058['id'],'name':_0x427058[_0x35116d(0xef)],'error':_0x36c1e0[_0x35116d(0xfe)]};}})),_0x2cc71f=new Set(_0x4da8c4[_0xcaaea8(0x121)](_0x284f4a=>!_0x284f4a[_0xcaaea8(0xfb)])[_0xcaaea8(0xdc)](_0x2f7ed5=>_0x2f7ed5[_0xcaaea8(0xef)]));return _0x4da8c4[_0xcaaea8(0x121)](_0x20172e=>!(_0x20172e[_0xcaaea8(0xfb)]&&_0x2cc71f[_0xcaaea8(0x137)](_0x20172e[_0xcaaea8(0xef)])));}function _resolveTgaKey(){const _0x1f2cd4=a0_0x521d28,_0x1c038d={'PmMJr':function(_0x38f3dd,_0x161a04){return _0x38f3dd(_0x161a04);},'oteyW':'path','TKCmw':'.analyga','dSgNa':'config.json','egmMH':_0x1f2cd4(0x136)};if(process.env.TYGA_ANALYTICS_KEY)return process.env.TYGA_ANALYTICS_KEY;const _0x497be9=require('fs'),_0x3d890a=_0x1c038d['PmMJr'](require,_0x1c038d[_0x1f2cd4(0x135)]),_0x1c3b13=require('os');for(const _0x119ebe of[_0x3d890a['join'](process[_0x1f2cd4(0x116)](),_0x1c038d[_0x1f2cd4(0xda)],_0x1c038d[_0x1f2cd4(0x102)]),_0x3d890a[_0x1f2cd4(0xd7)](_0x1c3b13['homedir'](),_0x1c038d[_0x1f2cd4(0xda)],_0x1c038d[_0x1f2cd4(0x102)])]){if(_0x1c038d[_0x1f2cd4(0x141)]==='KQrEe')try{const _0x3ffa4b=JSON['parse'](_0x497be9[_0x1f2cd4(0xe9)](_0x119ebe,'utf8'));if(_0x3ffa4b['apiKey'])return _0x3ffa4b[_0x1f2cd4(0x130)];}catch{}else{const _0x2705b7=_0x4a9fcf['parse'](_0x59de60[_0x1f2cd4(0xe9)](_0x7437f6,_0x1f2cd4(0x12f)));if(_0x2705b7[_0x1f2cd4(0x130)])return _0x2705b7[_0x1f2cd4(0x130)];}}return null;}function a0_0x5445(_0x2fdb18,_0x9d082e){_0x2fdb18=_0x2fdb18-0xce;const _0xfa7fe8=a0_0xfa7f();let _0x5445f2=_0xfa7fe8[_0x2fdb18];if(a0_0x5445['SPnAez']===undefined){var _0x5e3d1b=function(_0x4d20ae){const _0xbc204b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xab90ea='',_0x4004c3='';for(let _0x4b4265=0x0,_0x414203,_0xb8643d,_0x45500e=0x0;_0xb8643d=_0x4d20ae['charAt'](_0x45500e++);~_0xb8643d&&(_0x414203=_0x4b4265%0x4?_0x414203*0x40+_0xb8643d:_0xb8643d,_0x4b4265++%0x4)?_0xab90ea+=String['fromCharCode'](0xff&_0x414203>>(-0x2*_0x4b4265&0x6)):0x0){_0xb8643d=_0xbc204b['indexOf'](_0xb8643d);}for(let _0x572aef=0x0,_0x5b8570=_0xab90ea['length'];_0x572aef<_0x5b8570;_0x572aef++){_0x4004c3+='%'+('00'+_0xab90ea['charCodeAt'](_0x572aef)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4004c3);};a0_0x5445['HWWZyN']=_0x5e3d1b,a0_0x5445['BEMYBG']={},a0_0x5445['SPnAez']=!![];}const _0x540c00=_0xfa7fe8[0x0],_0x566309=_0x2fdb18+_0x540c00,_0x3f1193=a0_0x5445['BEMYBG'][_0x566309];return!_0x3f1193?(_0x5445f2=a0_0x5445['HWWZyN'](_0x5445f2),a0_0x5445['BEMYBG'][_0x566309]=_0x5445f2):_0x5445f2=_0x3f1193,_0x5445f2;}function referrerBreakdown(_0x4dae5b,_0x12ef3e){const _0x3ad871=a0_0x521d28,_0xc41d42={'PmKpy':_0x3ad871(0x10d),'qffXd':_0x3ad871(0xde),'BoVts':function(_0x3ccca9,_0x1f2cc5){return _0x3ccca9||_0x1f2cc5;},'opkYC':function(_0x56fd08,_0x3d861e){return _0x56fd08+_0x3d861e;},'FtyDt':_0x3ad871(0x129),'MCUns':function(_0x2e70c3,_0x36350a){return _0x2e70c3(_0x36350a);},'IfxGZ':_0x3ad871(0x103),'jediO':function(_0x17013c,_0x262493){return _0x17013c(_0x262493);},'XGMoP':'referrer','kjKsY':_0x3ad871(0xe7),'dNBLO':function(_0x5946e5,_0x579579){return _0x5946e5===_0x579579;},'smGiT':'https:','vblqU':_0x3ad871(0x100),'bxcLH':_0x3ad871(0xe6),'eWorx':_0x3ad871(0x106)};return new Promise((_0x13d37f,_0x236c89)=>{const _0x41ff9a=_0x3ad871,_0x1110ff={'YeArY':_0xc41d42[_0x41ff9a(0x104)],'ZCJGj':_0xc41d42['qffXd'],'SkDqC':_0x41ff9a(0x105),'mRclE':_0x41ff9a(0x12c),'swvHi':function(_0x38df11,_0x41b7a7){return _0xc41d42['BoVts'](_0x38df11,_0x41b7a7);},'fUFxY':function(_0x312ac2,_0x2ac869){const _0x257203=_0x41ff9a;return _0xc41d42[_0x257203(0xe4)](_0x312ac2,_0x2ac869);},'keTND':_0x41ff9a(0x10e)};if(_0xc41d42[_0x41ff9a(0xe8)]===_0xc41d42[_0x41ff9a(0xe8)]){if(!_0x4dae5b||!_0x4dae5b[_0x41ff9a(0x107)])return _0xc41d42[_0x41ff9a(0x10b)](_0x236c89,new Error(_0x41ff9a(0x144)));const _0x1aab5a=_resolveTgaKey();if(!_0x1aab5a)return _0x236c89(new Error(_0xc41d42[_0x41ff9a(0x111)]));const _0x555423=Date[_0x41ff9a(0x127)](),_0x5517cb=_0x555423-(_0xc41d42[_0x41ff9a(0x115)](Number,_0x12ef3e)||0x7)*0x5265c00,_0x4c676a=new URL(_0x41ff9a(0xf7)+_0x4dae5b[_0x41ff9a(0x107)]+_0x41ff9a(0xdb),_0x4dae5b[_0x41ff9a(0xf0)]);_0x4c676a[_0x41ff9a(0xeb)][_0x41ff9a(0x13a)](_0x41ff9a(0x145),_0xc41d42['XGMoP']),_0x4c676a[_0x41ff9a(0xeb)][_0x41ff9a(0x13a)](_0xc41d42[_0x41ff9a(0x112)],String(_0x5517cb)),_0x4c676a['searchParams'][_0x41ff9a(0x13a)](_0x41ff9a(0x122),String(_0x555423));const _0x3718ea=_0xc41d42[_0x41ff9a(0xf1)](_0x4c676a[_0x41ff9a(0x147)],_0xc41d42[_0x41ff9a(0x146)])?require(_0xc41d42[_0x41ff9a(0xd6)]):require(_0xc41d42[_0x41ff9a(0xd8)]),_0x44554e=_0x3718ea['request'](_0x4c676a,{'method':_0xc41d42[_0x41ff9a(0x142)],'headers':{'Authorization':_0x41ff9a(0x108)+_0x1aab5a,'User-Agent':_0x41ff9a(0xec)}},_0x2fa704=>{const _0x3c55a9=_0x41ff9a,_0xdda3d8={'rDWoV':function(_0x4818e8,_0x5d8bdb){return _0x4818e8(_0x5d8bdb);}};let _0x46ba7a='';_0x2fa704['on']('data',_0x1e4e4e=>_0x46ba7a+=_0x1e4e4e),_0x2fa704['on'](_0x1110ff[_0x3c55a9(0xfa)],()=>{const _0x17c157=_0x3c55a9;if(_0x2fa704[_0x17c157(0x143)]>=0x190)return _0x236c89(new Error(_0x17c157(0x148)+_0x2fa704[_0x17c157(0x143)]));try{const _0x352380=JSON[_0x17c157(0x149)](_0x46ba7a);_0xdda3d8[_0x17c157(0x125)](_0x13d37f,(Array[_0x17c157(0x11f)](_0x352380)?_0x352380:[])[_0x17c157(0xdc)](_0x3e88f6=>({'domain':_0x3e88f6['x']||_0x17c157(0x120),'visits':_0x3e88f6['y']||0x0}))[_0x17c157(0xe0)]((_0x231e42,_0x1ec455)=>_0x1ec455['visits']-_0x231e42[_0x17c157(0xe1)]));}catch{_0x236c89(new Error('analyga\x20metrics\x20returned\x20non-JSON'));}});});_0x44554e['on'](_0x41ff9a(0xfb),_0x236c89),_0x44554e[_0x41ff9a(0x13e)](0x3a98,()=>{_0x44554e['destroy'](),_0x236c89(new Error('analyga\x20metrics\x20timeout'));}),_0x44554e[_0x41ff9a(0x10d)]();}else{if(_0x11d341[_0x41ff9a(0xee)]===Tzvdbw[_0x41ff9a(0x12a)])return _0x1f03a0(new _0x5bac2d(Tzvdbw['SkDqC']));let _0x3d979d='';try{const _0x216cca=_0x4a4034[_0x41ff9a(0x149)](_0x11fcdd||_0x3b1eb6),_0x2702e3=_0x216cca&&_0x216cca[_0x41ff9a(0xfb)];_0x3d979d=(_0x2702e3&&typeof _0x2702e3===Tzvdbw[_0x41ff9a(0x114)]?_0x2702e3[_0x41ff9a(0xfe)]||_0x2702e3[_0x41ff9a(0xee)]:_0x2702e3)||_0x216cca[_0x41ff9a(0xfe)]||'';}catch{}const _0x1a9dea=(Tzvdbw[_0x41ff9a(0x109)](_0x3d979d,_0x5ab751)||_0x278070||_0x3b9004[_0x41ff9a(0xfe)]||'')[_0x41ff9a(0x134)]()[_0x41ff9a(0x131)]()[_0x41ff9a(0xff)]('\x0a')[0x0],_0x2e25aa=/auth|unauthor|key|login|401/i[_0x41ff9a(0x124)](_0x1a9dea)?_0x41ff9a(0xea):'';return _0x1bf10e(new _0x45eb39(_0x41ff9a(0x12e)+(_0x1a9dea||Tzvdbw[_0x41ff9a(0x11a)](Tzvdbw[_0x41ff9a(0xfc)],_0x1d25b0[_0x41ff9a(0xee)]))+_0x2e25aa));}});}module[a0_0x521d28(0x140)]={'tga':tga,'funnelEventCounts':funnelEventCounts,'savedFunnels':savedFunnels,'referrerBreakdown':referrerBreakdown};
|
package/dist/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x1171c6=a0_0xd44d;(function(_0x268dcf,_0x3c491e){const _0x7817d2=a0_0xd44d,_0x274e95=_0x268dcf();while(!![]){try{const _0x20ccd1=-parseInt(_0x7817d2(0x143))/0x1+-parseInt(_0x7817d2(0xd9))/0x2+-parseInt(_0x7817d2(0x122))/0x3*(parseInt(_0x7817d2(0x103))/0x4)+parseInt(_0x7817d2(0x106))/0x5*(-parseInt(_0x7817d2(0x152))/0x6)+parseInt(_0x7817d2(0x10c))/0x7+-parseInt(_0x7817d2(0x116))/0x8*(parseInt(_0x7817d2(0x126))/0x9)+parseInt(_0x7817d2(0xf4))/0xa;if(_0x20ccd1===_0x3c491e)break;else _0x274e95['push'](_0x274e95['shift']());}catch(_0x5b471d){_0x274e95['push'](_0x274e95['shift']());}}}(a0_0x3b16,0xd7897));const PKG_VERSION=require('../package.json')[a0_0x1171c6(0xf7)];function request(_0x2ca012,_0x147b4d,_0x14ed5e,_0x1eac20,_0x468528){const _0x118a94=a0_0x1171c6,_0x5aa283={'MidHX':function(_0x1c8316,_0x4cf46f){return _0x1c8316(_0x4cf46f);},'OGvnN':_0x118a94(0xfc),'jiKsl':function(_0x34f680,_0x484fa8){return _0x34f680===_0x484fa8;},'EHCpm':'http','gyrEm':_0x118a94(0x120),'VTsjs':_0x118a94(0x150)};return new Promise((_0x4d56cf,_0x25241e)=>{const _0x272b12=_0x118a94,_0x1ad000={'PoRkG':function(_0x4b1f7c,_0xb57ba5){const _0x219271=a0_0xd44d;return _0x5aa283[_0x219271(0x105)](_0x4b1f7c,_0xb57ba5);},'KaWgU':_0x5aa283[_0x272b12(0x10e)]},_0x372d58=new URL(_0x1eac20,_0x2ca012),_0x23d9c5=_0x5aa283[_0x272b12(0x12c)](_0x372d58[_0x272b12(0x109)],'https:'),_0x467419=_0x23d9c5?require(_0x272b12(0x125)):require(_0x5aa283[_0x272b12(0x132)]),_0x20cb9e={'hostname':_0x372d58[_0x272b12(0x11c)],'port':_0x372d58[_0x272b12(0xd4)]||(_0x23d9c5?0x1bb:0x50),'path':_0x372d58[_0x272b12(0xda)]+_0x372d58['search'],'method':_0x14ed5e,'headers':{'Content-Type':_0x5aa283[_0x272b12(0x115)],'User-Agent':'gpusmarket-cli/'+PKG_VERSION}};if(_0x147b4d)_0x20cb9e[_0x272b12(0xdb)][_0x272b12(0x117)]=_0x272b12(0x14e)+_0x147b4d;const _0x16b389=_0x467419[_0x272b12(0xfd)](_0x20cb9e,_0x1f8506=>{const _0x200078=_0x272b12;let _0x4f35e3='';_0x1f8506['on'](_0x1ad000[_0x200078(0x138)],_0x5abb9c=>_0x4f35e3+=_0x5abb9c),_0x1f8506['on'](_0x200078(0xd3),()=>{const _0x3b3d43=_0x200078;try{const _0x2aaa6a=JSON[_0x3b3d43(0x12d)](_0x4f35e3);_0x1f8506[_0x3b3d43(0xd2)]>=0x190?_0x1ad000[_0x3b3d43(0x14a)](_0x25241e,new Error(_0x2aaa6a[_0x3b3d43(0x150)]||_0x2aaa6a[_0x3b3d43(0x10a)]||_0x3b3d43(0x128)+_0x1f8506['statusCode'])):_0x1ad000[_0x3b3d43(0x14a)](_0x4d56cf,_0x2aaa6a);}catch{if(_0x1f8506[_0x3b3d43(0xd2)]>=0x190)_0x1ad000[_0x3b3d43(0x14a)](_0x25241e,new Error(_0x3b3d43(0x128)+_0x1f8506['statusCode']+':\x20'+_0x4f35e3['substring'](0x0,0xc8)));else _0x4d56cf(_0x4f35e3);}});});_0x16b389['on'](_0x5aa283[_0x272b12(0x101)],_0x25241e),_0x16b389[_0x272b12(0xeb)](0x7530,()=>{const _0x536f0a=_0x272b12;_0x16b389[_0x536f0a(0x13c)](),_0x25241e(new Error(_0x536f0a(0x13a)));});if(_0x468528)_0x16b389[_0x272b12(0x10b)](JSON[_0x272b12(0xfa)](_0x468528));_0x16b389['end']();});}function streamRequest(_0x3e2f0d,_0x54f47a,_0x125914,_0xa8c398,_0x2cfda3){const _0x189b90=a0_0x1171c6,_0x196ba0={'tbjcg':function(_0x3805e7,_0xc184c0){return _0x3805e7>=_0xc184c0;},'vPqcp':'data','kwCgO':_0x189b90(0xd3),'ZaUbd':function(_0x2874ad,_0x46f650){return _0x2874ad(_0x46f650);},'VWtbo':function(_0x25e478,_0x1be4f9){return _0x25e478===_0x1be4f9;},'fScxl':_0x189b90(0x125),'jltBr':_0x189b90(0x10f),'HEQRj':_0x189b90(0x114),'FTTkf':_0x189b90(0x120),'pspwk':_0x189b90(0x150)};return new Promise((_0x12dda7,_0x1286cb)=>{const _0x27887f=_0x189b90,_0x3b04ca=new URL(_0x125914,_0x3e2f0d),_0x169146=_0x196ba0[_0x27887f(0xe5)](_0x3b04ca[_0x27887f(0x109)],_0x27887f(0xed)),_0x34fcb8=_0x169146?_0x196ba0[_0x27887f(0xe1)](require,_0x196ba0[_0x27887f(0xd7)]):require(_0x196ba0[_0x27887f(0x111)]),_0xb5e10b=_0x34fcb8[_0x27887f(0xfd)]({'hostname':_0x3b04ca[_0x27887f(0x11c)],'port':_0x3b04ca[_0x27887f(0xd4)]||(_0x169146?0x1bb:0x50),'path':_0x3b04ca['pathname']+_0x3b04ca[_0x27887f(0x139)],'method':_0x196ba0[_0x27887f(0x13f)],'headers':{'Content-Type':_0x196ba0[_0x27887f(0xff)],'Authorization':_0x27887f(0x14e)+_0x54f47a,'User-Agent':_0x27887f(0xde)+PKG_VERSION}},_0x224552=>{const _0x410329=_0x27887f;if(_0x196ba0[_0x410329(0x123)](_0x224552[_0x410329(0xd2)],0x190)){let _0x2c62bf='';_0x224552['on'](_0x196ba0[_0x410329(0xdd)],_0x2b9d53=>_0x2c62bf+=_0x2b9d53),_0x224552['on'](_0x410329(0xd3),()=>_0x1286cb(new Error(_0x410329(0x128)+_0x224552[_0x410329(0xd2)]+':\x20'+_0x2c62bf['substring'](0x0,0xc8))));return;}_0x224552['on'](_0x410329(0xfc),_0x4d08c9=>_0x2cfda3(_0x4d08c9['toString']())),_0x224552['on'](_0x196ba0['kwCgO'],()=>_0x12dda7());});_0xb5e10b['on'](_0x196ba0[_0x27887f(0x141)],_0x1286cb),_0xb5e10b[_0x27887f(0xeb)](0x1d4c0,()=>{const _0x2faeee=_0x27887f;_0xb5e10b[_0x2faeee(0x13c)](),_0x196ba0[_0x2faeee(0xe1)](_0x1286cb,new Error(_0x2faeee(0x13a)));}),_0xb5e10b[_0x27887f(0x10b)](JSON[_0x27887f(0xfa)](_0xa8c398)),_0xb5e10b[_0x27887f(0xd3)]();});}function api(_0x1b4f4f){const _0x2b6cfa=a0_0x1171c6,_0x4a5699={'gnvBY':_0x2b6cfa(0x114)},{baseUrl:_0x5abd50,apiKey:_0x593e4c}=_0x1b4f4f,_0x34790a=(_0x197a56,_0x950f9c,_0x561962)=>request(_0x5abd50,_0x593e4c,_0x197a56,_0x950f9c,_0x561962);return{'baseUrl':_0x5abd50,'analyga':_0x1b4f4f[_0x2b6cfa(0x134)],'signup':_0x24c494=>request(_0x5abd50,null,_0x2b6cfa(0x114),_0x2b6cfa(0xf0),_0x24c494),'whoami':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x108)),'search':_0x4c791e=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x104)+(_0x4c791e?'?'+_0x4c791e:'')),'gpuModels':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x129)),'cheapest':_0x1b5896=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xf3)+(_0x1b5896?'?'+_0x1b5896:'')),'gpuTypes':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xdc)),'hostSetup':_0x32d78f=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x14f),_0x32d78f),'hostRecommend':_0x3ef9a4=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xe0)+(_0x3ef9a4?'?'+_0x3ef9a4:'')),'benchmarkSubmit':(_0x29bfe9,_0x699729)=>request(_0x5abd50,_0x29bfe9,_0x2b6cfa(0x114),_0x2b6cfa(0xfe),_0x699729),'rent':_0x57be24=>_0x34790a('POST',_0x2b6cfa(0x112)+_0x57be24[_0x2b6cfa(0x102)],_0x57be24),'rentals':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x14c)),'rentalStatus':_0x2310b8=>_0x34790a(_0x2b6cfa(0xe3),'/api/v1/marketplace/rentals/'+_0x2310b8),'stopRental':_0x36ef44=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x124)+_0x36ef44+_0x2b6cfa(0x131)),'pools':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xe7)),'createPool':_0x384674=>_0x34790a(_0x2b6cfa(0x114),'/api/v1/gpu/pools',_0x384674),'addToPool':(_0x585398,_0x342242)=>_0x34790a('POST',_0x2b6cfa(0xd6)+_0x585398+_0x2b6cfa(0xe9),{'rentalId':_0x342242}),'removeFromPool':(_0x216d5d,_0x59213a)=>_0x34790a('POST','/api/v1/gpu/pools/'+_0x216d5d+'/remove',{'rentalId':_0x59213a}),'chat':(_0x462739,_0x254548,_0x46c8fc)=>{const _0x1562d7=_0x2b6cfa,_0x1a5906=_0x5abd50+_0x1562d7(0x146)+_0x254548+_0x1562d7(0x148);return request(_0x1a5906[_0x1562d7(0xee)](/\/v1\/chat\/completions$/,''),_0x462739,_0x4a5699['gnvBY'],_0x1562d7(0x148),_0x46c8fc);},'chatStream':(_0x3d56c2,_0x1af99b,_0x5e8273,_0xba10dd)=>{const _0x2531ca=_0x2b6cfa;return streamRequest(_0x5abd50,_0x3d56c2,_0x2531ca(0x146)+_0x1af99b+_0x2531ca(0x148),{..._0x5e8273,'stream':!![]},_0xba10dd);},'adminStats':_0x1f20e6=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xf1)+(_0x1f20e6?'?'+_0x1f20e6:'')),'adminRevenue':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x121)),'adminFunnel':_0x3879a6=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x13d)+(_0x3879a6?'?'+_0x3879a6:'')),'adminFunnels':_0xf44030=>_0x34790a(_0x2b6cfa(0xe3),'/superadmin/api/funnels'+(_0xf44030?_0x2b6cfa(0x137)+_0xf44030:'')),'adminPaymentsReconcile':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x144)),'adminReportsOverview':_0x31fc6d=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xf5)+(_0x31fc6d?_0x2b6cfa(0x137)+_0x31fc6d:'')),'adminDeployFailures':_0x45cb4f=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x151)+(_0x45cb4f?_0x2b6cfa(0x137)+_0x45cb4f:'')),'adminSignups':_0x1ac502=>_0x34790a(_0x2b6cfa(0xe3),'/superadmin/api/signups'+(_0x1ac502?'?'+_0x1ac502:'')),'adminUsers':_0x2e5734=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x11f)+(_0x2e5734?'?'+_0x2e5734:'')),'adminUserView':_0x31a405=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xe6)+encodeURIComponent(_0x31a405)),'adminCreateUser':_0x2bdca1=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x11f),_0x2bdca1),'adminResetPassword':(_0x262fcd,_0x11bc6b)=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x113),{'email':_0x262fcd,'password':_0x11bc6b}),'adminVerifyUser':_0x4fb8bf=>_0x34790a(_0x2b6cfa(0x114),'/superadmin/api/users/'+encodeURIComponent(_0x4fb8bf)+_0x2b6cfa(0xdf)),'adminSuspendUser':_0x13636b=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0xe6)+encodeURIComponent(_0x13636b)+_0x2b6cfa(0x11d)),'adminActivateUser':_0x162c51=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0xe6)+encodeURIComponent(_0x162c51)+_0x2b6cfa(0x145)),'adminDeleteUser':_0x4e394f=>_0x34790a(_0x2b6cfa(0x11b),_0x2b6cfa(0xe6)+encodeURIComponent(_0x4e394f)),'adminUpdateUser':(_0x3f002b,_0x78ef0)=>_0x34790a(_0x2b6cfa(0xe8),_0x2b6cfa(0xe6)+encodeURIComponent(_0x3f002b),_0x78ef0),'adminCouponCreate':_0x21e176=>_0x34790a('POST','/superadmin/api/coupons',_0x21e176),'adminCoupons':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x11e)),'adminCouponRevoke':_0x1912c0=>_0x34790a(_0x2b6cfa(0x11b),_0x2b6cfa(0xf6)+encodeURIComponent(_0x1912c0)),'adminListings':_0x46f6e1=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x110)+(_0x46f6e1?'?'+_0x46f6e1:'')),'adminListingView':_0x5a9fe5=>_0x34790a(_0x2b6cfa(0xe3),'/superadmin/api/listings/'+_0x5a9fe5),'adminSuspendListing':_0x56fecd=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x153)+_0x56fecd+_0x2b6cfa(0x11d)),'adminReassignListing':(_0x3575c7,_0x4641f5)=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x153)+_0x3575c7+_0x2b6cfa(0xf9),_0x4641f5),'adminStripeOnboard':(_0x25bdc0,_0x4a03ed)=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x11a)+encodeURIComponent(_0x25bdc0)+'/stripe-onboard',_0x4a03ed||{}),'adminRentals':_0x35d68c=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xfb)+(_0x35d68c?'?'+_0x35d68c:'')),'adminRentalView':_0x33f4c3=>_0x34790a('GET','/superadmin/api/rentals/'+_0x33f4c3),'adminPayments':_0x3cfbc8=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x14d)+(_0x3cfbc8?'?'+_0x3cfbc8:'')),'adminPools':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x133)),'adminAudit':_0x185c04=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x142)+(_0x185c04||0x1e)),'adminNotifications':()=>_0x34790a(_0x2b6cfa(0xe3),'/superadmin/api/notifications'),'adminHealth':()=>_0x34790a('GET','/superadmin/api/health'),'adminUserTimeline':_0x21567e=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xe6)+encodeURIComponent(_0x21567e)+_0x2b6cfa(0x140)),'adminAgentStatus':_0xc8f3fe=>_0x34790a(_0x2b6cfa(0xe3),'/superadmin/api/listings/'+_0xc8f3fe+_0x2b6cfa(0x136)),'adminHostEarnings':_0x95637c=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x11a)+encodeURIComponent(_0x95637c)+'/earnings'),'adminRentalUsage':_0x538889=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x14b)+_0x538889+_0x2b6cfa(0xe2)),'adminWallet':_0x3bcdeb=>_0x34790a('GET',_0x2b6cfa(0xe6)+encodeURIComponent(_0x3bcdeb)+_0x2b6cfa(0x10d)),'adminClosures':_0x262d13=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xd8)+(_0x262d13||0x5a)),'adminRefund':_0x5839e5=>_0x34790a(_0x2b6cfa(0x114),'/superadmin/api/payments/'+_0x5839e5+_0x2b6cfa(0x12f)),'adminVatReport':_0x15bb4d=>_0x34790a('GET',_0x2b6cfa(0xef)+(_0x15bb4d?'?'+_0x15bb4d:'')),'adminCloudGpus':()=>_0x34790a(_0x2b6cfa(0xe3),'/superadmin/api/cloud/gpus'),'adminCloudCheapest':_0x5d9428=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x13b)+(_0x5d9428||0x18)),'adminCloudAccount':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x12e)),'adminCloudBilling':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xec)),'adminCloudPods':_0x228006=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x107)+(_0x228006?_0x2b6cfa(0x119)+_0x228006:'')),'adminCloudPod':_0x37b3e2=>_0x34790a('GET','/superadmin/api/cloud/pods/'+_0x37b3e2),'adminCloudStop':_0x11773f=>_0x34790a(_0x2b6cfa(0x114),'/superadmin/api/cloud/pods/'+_0x11773f+'/stop'),'adminCloudResume':_0xebedb5=>_0x34790a('POST','/superadmin/api/cloud/pods/'+_0xebedb5+_0x2b6cfa(0xe4)),'adminCloudDestroy':_0x8b751d=>_0x34790a(_0x2b6cfa(0x114),_0x2b6cfa(0x118)+_0x8b751d+_0x2b6cfa(0x100)),'adminCloudMargin':()=>_0x34790a('GET','/superadmin/api/cloud/margin'),'adminCloudQuotes':()=>_0x34790a('GET',_0x2b6cfa(0x135)),'adminCloudReconcile':_0xdea33d=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x13e)+(_0xdea33d?_0x2b6cfa(0x147):'')),'adminCloudOrphans':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xd5)),'adminCloudPodProfit':_0x23e161=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x127)+_0x23e161+'/profit'),'adminCloudMarginAudit':_0x34e972=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0xf8)+(_0x34e972!=null?_0x2b6cfa(0xf2)+_0x34e972:'')),'adminCloudStuck':_0x1ad977=>_0x34790a('GET',_0x2b6cfa(0xea)+(_0x1ad977!=null?'?mins='+_0x1ad977:'')),'adminPlaygroundProvision':_0x3639bf=>_0x34790a('POST',_0x2b6cfa(0x149),_0x3639bf),'adminPlaygroundDeprovision':_0x31710c=>_0x34790a(_0x2b6cfa(0x114),'/superadmin/api/playground/deprovision',_0x31710c||{}),'adminPlaygroundNodes':()=>_0x34790a(_0x2b6cfa(0xe3),_0x2b6cfa(0x130)),'adminPlaygroundAdopt':_0x1ec90d=>_0x34790a('POST',_0x2b6cfa(0x12a),_0x1ec90d)};}function a0_0xd44d(_0x47df73,_0x4401f1){_0x47df73=_0x47df73-0xd2;const _0x3b16d4=a0_0x3b16();let _0xd44d37=_0x3b16d4[_0x47df73];if(a0_0xd44d['rLdJzd']===undefined){var _0x30bc4c=function(_0x1aa408){const _0x19fe11='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54d1dc='',_0x13d47c='';for(let _0x40d0aa=0x0,_0x272d4f,_0x424bf8,_0x384c58=0x0;_0x424bf8=_0x1aa408['charAt'](_0x384c58++);~_0x424bf8&&(_0x272d4f=_0x40d0aa%0x4?_0x272d4f*0x40+_0x424bf8:_0x424bf8,_0x40d0aa++%0x4)?_0x54d1dc+=String['fromCharCode'](0xff&_0x272d4f>>(-0x2*_0x40d0aa&0x6)):0x0){_0x424bf8=_0x19fe11['indexOf'](_0x424bf8);}for(let _0x1ff8dc=0x0,_0x36e1c6=_0x54d1dc['length'];_0x1ff8dc<_0x36e1c6;_0x1ff8dc++){_0x13d47c+='%'+('00'+_0x54d1dc['charCodeAt'](_0x1ff8dc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13d47c);};a0_0xd44d['lzSOQJ']=_0x30bc4c,a0_0xd44d['yMuAGW']={},a0_0xd44d['rLdJzd']=!![];}const _0x25420a=_0x3b16d4[0x0],_0x2e9014=_0x47df73+_0x25420a,_0x3a4390=a0_0xd44d['yMuAGW'][_0x2e9014];return!_0x3a4390?(_0xd44d37=a0_0xd44d['lzSOQJ'](_0xd44d37),a0_0xd44d['yMuAGW'][_0x2e9014]=_0xd44d37):_0xd44d37=_0x3a4390,_0xd44d37;}function a0_0x3b16(){const _0x53ee88=['l3n1CgvYywrTAw4VyxbPl3rHEc92yxq','l2fWAs9ZAwDUDxa','l3n1CgvYywrTAw4VyxbPl3n0yxrZ','p2zSB29Ypq','l2fWAs92ms9NChuVy2HLyxbLC3q','nZiYoda0nJbXu0TAqMu','l3n1CgvYywrTAw4VyxbPl3jLCg9YDhmVB3zLCNzPzxC','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNmV','DMvYC2LVBG','l3n1CgvYywrTAw4VyxbPl2nSB3vKl21HCMDPBI1HDwrPDa','l3jLyxnZAwDU','C3rYAw5NAwz5','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhm','zgf0yq','CMvXDwvZDa','l2fWAs92ms9NChuVyMvUy2HTyxjRCW','rLruA2y','l2rLC3rYB3K','vLrZANm','BgLZDgLUz0LK','mZy4wvrRt3Hm','l2fWAs92ms9TyxjRzxrWBgfJzs9ZzwfYy2G','twLKsfG','nxrtzeTVuW','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhm','l2fWAs92ms9TyxjRzxrWBgfJzs9Tzq','ChjVDg9JB2W','BwvZC2fNzq','D3jPDgu','mJG0nJjZCNftEM0','l3DHBgXLDa','t0D2BK4','Ahr0Ca','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZ','AMX0qNi','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50lW','l3n1CgvYywrTAw4VyxbPl3vZzxjZl3jLC2v0lxbHC3n3B3jK','ue9tva','z3LYrw0','mta2mtu5nZzIzgjZse4','qxv0Ag9YAxPHDgLVBG','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhmV','p3n0yxr1CZ0','l3n1CgvYywrTAw4VyxbPl2HVC3rZlW','revmrvrf','Ag9ZDg5HBwu','l3n1C3bLBMq','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNm','l3n1CgvYywrTAw4VyxbPl3vZzxjZ','yxbWBgLJyxrPB24VANnVBG','l3n1CgvYywrTAw4VyxbPl3jLDMvUDwu','nda2ntLfrKDKrNy','DgjQy2C','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZlW','Ahr0Chm','ovvpq3boqW','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzc8','sfruuca','l2fWAs92ms9TyxjRzxrWBgfJzs9NChuTBw9KzwXZ','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVywrVChq','zxHWB3j0CW','AMLlC2W','CgfYC2u','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2fJy291BNq','l3jLzNvUza','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVBM9Kzxm','l3n0B3a','ruHdCg0','l3n1CgvYywrTAw4VyxbPl3bVB2XZ','yw5HBhLNyq','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3f1B3rLCW','l2fNzw50','p2rHExm9','s2fxz1u','C2vHCMnO','uMvXDwvZDcb0Aw1LB3v0','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2nOzwfWzxn0p3zYyw09','zgvZDhjVEq','l3n1CgvYywrTAw4VyxbPl2z1BM5LBa','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3jLy29Uy2LSzq','sevruMO','l3rPBwvSAw5L','ChnWD2S','l3n1CgvYywrTAw4VyxbPl2f1zgL0p2rHExm9','mte3nZa3mKfmBK5pDa','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZl3jLy29Uy2LSzq','l2fJDgL2yxrL','l2fWAs92ms9VCgvUywKV','p2zPEd0X','l3yXl2nOyxqVy29TCgXLDgLVBNm','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVChjVDMLZAw9U','ug9sA0C','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhmV','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZ','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZ','qMvHCMvYia','l2fWAs92ms9NChuVAg9ZDc1Zzxr1Ca','zxjYB3i','l3n1CgvYywrTAw4VyxbPl2rLCgXVEs1MywLSDxjLCW','ntG0mtGXnKDswgnuAW','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZlW','C3rHDhvZq29Kzq','zw5K','Cg9YDa','l3n1CgvYywrTAw4VyxbPl2nSB3vKl29YCgHHBNm','l2fWAs92ms9NChuVCg9VBhmV','zLnJEgW','l3n1CgvYywrTAw4VyxbPl2nSB3n1CMvZp2rHExm9','mZi0otm4ngX3D3LqyG','Cgf0Ag5HBwu','AgvHzgvYCW','l2fWAs92ms9NChuVDhLWzxm','DLbXy3a','z3b1C21HCMTLDc1JBgKV','l3zLCMLMEq','l2fWAs92ms9NChuVAg9ZDc1YzwnVBw1LBMq','wMfvyMq','l3vZywDL','r0vu','l3jLC3vTzq','vLD0yM8','l3n1CgvYywrTAw4VyxbPl3vZzxjZlW','l2fWAs92ms9NChuVCg9VBhm','uefuq0G','l2fKza','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3n0DwnR','C2v0vgLTzw91Da','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2jPBgXPBMC','Ahr0Chm6','CMvWBgfJzq'];a0_0x3b16=function(){return _0x53ee88;};return a0_0x3b16();}module[a0_0x1171c6(0x12b)]={'api':api,'request':request};
|
|
1
|
+
function a0_0x3ba5(){const _0x5d6c38=['shfyqNi','zgvZDhjVEq','C3vIC3rYAw5N','l3n0CMLWzs1VBMjVyxjK','ndu5mZu0sLHeyKvu','vgrTqKm','mKntALjcyG','l3jLzNvUza','l3n1CgvYywrTAw4VyxbPl2f1zgL0p2rHExm9','DwLSEKy','l3n1CgvYywrTAw4VyxbPl3rHEc92yxq','lI4VCgfJA2fNzs5QC29U','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNmV','q1z0rNi','C2v0vgLTzw91Da','l2fWAs9ZAwDUDxa','C3rHDhvZq29Kzq','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2jPBgXPBMC','C2vHCMnO','ywz2zei','l2fWAs92ms9NChuVDhLWzxm','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2nOzwfWzxn0p3zYyw09','uuLJsgi','l2fKza','s2rzu2i','A2rAqNO','ue9tva','u1LtEvm','sfruuca','l2fWAs92ms9VCgvUywKV','l3n1CgvYywrTAw4VyxbPl2nVDxbVBNm','CMvXDwvZDa','revmrvrf','p3n0yxr1CZ0','zw5K','l3n1CgvYywrTAw4VyxbPl3bHEw1LBNrZ','zxjYB3i','zxHWB3j0CW','l3n1CgvYywrTAw4VyxbPl2z1BM5LBa','l2fJDgL2yxrL','AgvHzgvYCW','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVBM9Kzxm','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3n0DwnR','l3n1CgvYywrTAw4VyxbPl2HVC3rZlW','qMvHCMvYia','l3DHBgXLDa','p2zPEd0X','l3rPBwvSAw5L','Ahr0Ca','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhm','mZiZnZeWohrRBK1VsG','l3n0B3a','Ahr0Chm6','ndbeufrky1i','rgz6tLy','z3b1C21HCMTLDc1JBgKV','l2vHCM5PBMDZ','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZ','l2fWAs92ms9NChuVCg9VBhm','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVChjVDMLZAw9U','l2fWAs92ms9NChuVAg9ZDc1Zzxr1Ca','Ahr0Chm','l3n1CgvYywrTAw4VyxbPl3jLDMvUDwu','l3n1CgvYywrTAw4VyxbPl3jLBNrHBhmV','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50lW','l3n1CgvYywrTAw4VyxbPl2HLywX0Aa','qxv0Ag9YAxPHDgLVBG','Cg9YDa','nZCWndbbEuH2wu8','Ag9ZDg5HBwu','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZ','l3n1C3bLBMq','ndmXmde1mfzPrLP4sW','C3rYAw5NAwz5','Cgf0Ag5HBwu','BgLZDgLUz0LK','zgf0yq','l2fWAs92ms9TyxjRzxrWBgfJzs9Tzq','l2fWAs92ms9NChuVCg9VBhmV','l2fWAs92ms9TyxjRzxrWBgfJzs9Yzw50ywXZlW','l2fWAs92ms9NChuVy2HLyxbLC3q','mJy4odmZCu1nChjp','rgXss0S','p2zSB29Ypq','l3n1CgvYywrTAw4VyxbPl2nSB3vKl2fJy291BNq','l3n1CgvYywrTAw4VyxbPl3bVB2XZ','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzhmV','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3bVzc8','l3n1CgvYywrTAw4VyxbPl2nSB3vKl21HCMDPBG','sLbfBNu','l3n1CgvYywrTAw4VyxbPl3vZzxjZlW','Dg9tDhjPBMC','l3n1CgvYywrTAw4VyxbPl3nPz251Chm','BwvZC2fNzq','l3n1CgvYywrTAw4VyxbPl2nSB3vKl21HCMDPBI1HDwrPDa','ChjVDg9JB2W','p21PBNm9','nZKZnZq0wNb5Dgzy','l3zLCMLMEq','l3yXl2nOyxqVy29TCgXLDgLVBNm','mti5otqYt1L3v3zp','l2fWAs92ms9TyxjRzxrWBgfJzs9ZzwfYy2G','CMvWBgfJzq','l3n1CgvYywrTAw4VyxbPl25VDgLMAwnHDgLVBNm','l3n1CgvYywrTAw4VyxbPl2nSB3vKl3f1B3rLCW','p2rHExm9','r0vu','rvnzy3C','yw5HBhLNyq','l3n1CgvYywrTAw4VyxbPl2XPC3rPBMDZlW','l3n1CgvYywrTAw4VyxbPl3bSyxLNCM91BMqVzgvWCM92AxnPB24','uefuq0G','l3n1CgvYywrTAw4VyxbPl3n0yxrZ','uMvXDwvZDcb0Aw1LB3v0','wLP0EM4','nJGWvMHss3HN','l3n1CgvYywrTAw4VyxbPl2nSB3vKl29YCgHHBNm','l3n1CgvYywrTAw4VyxbPl3vZzxjZ'];a0_0x3ba5=function(){return _0x5d6c38;};return a0_0x3ba5();}const a0_0x3da1b4=a0_0x3e9d;function a0_0x3e9d(_0x1aabdf,_0x306add){_0x1aabdf=_0x1aabdf-0xde;const _0x3ba564=a0_0x3ba5();let _0x3e9dd5=_0x3ba564[_0x1aabdf];if(a0_0x3e9d['fBrnvL']===undefined){var _0x4abe4f=function(_0x14490d){const _0x58ab54='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4631b9='',_0x3794a2='';for(let _0x196f65=0x0,_0x293a3d,_0x54c80e,_0x4df0af=0x0;_0x54c80e=_0x14490d['charAt'](_0x4df0af++);~_0x54c80e&&(_0x293a3d=_0x196f65%0x4?_0x293a3d*0x40+_0x54c80e:_0x54c80e,_0x196f65++%0x4)?_0x4631b9+=String['fromCharCode'](0xff&_0x293a3d>>(-0x2*_0x196f65&0x6)):0x0){_0x54c80e=_0x58ab54['indexOf'](_0x54c80e);}for(let _0x2d5f62=0x0,_0x1748f8=_0x4631b9['length'];_0x2d5f62<_0x1748f8;_0x2d5f62++){_0x3794a2+='%'+('00'+_0x4631b9['charCodeAt'](_0x2d5f62)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3794a2);};a0_0x3e9d['CAmKGE']=_0x4abe4f,a0_0x3e9d['TIdLgL']={},a0_0x3e9d['fBrnvL']=!![];}const _0x2c3621=_0x3ba564[0x0],_0x4d1f51=_0x1aabdf+_0x2c3621,_0x50b1b4=a0_0x3e9d['TIdLgL'][_0x4d1f51];return!_0x50b1b4?(_0x3e9dd5=a0_0x3e9d['CAmKGE'](_0x3e9dd5),a0_0x3e9d['TIdLgL'][_0x4d1f51]=_0x3e9dd5):_0x3e9dd5=_0x50b1b4,_0x3e9dd5;}(function(_0x22fa71,_0x306057){const _0x45792e=a0_0x3e9d,_0x284564=_0x22fa71();while(!![]){try{const _0x525f24=-parseInt(_0x45792e(0xea))/0x1+-parseInt(_0x45792e(0xec))/0x2*(parseInt(_0x45792e(0x137))/0x3)+parseInt(_0x45792e(0x147))/0x4+parseInt(_0x45792e(0x11b))/0x5*(parseInt(_0x45792e(0x14a))/0x6)+parseInt(_0x45792e(0x118))/0x7+-parseInt(_0x45792e(0xe3))/0x8*(-parseInt(_0x45792e(0x12a))/0x9)+-parseInt(_0x45792e(0x12e))/0xa;if(_0x525f24===_0x306057)break;else _0x284564['push'](_0x284564['shift']());}catch(_0x5cc8b7){_0x284564['push'](_0x284564['shift']());}}}(a0_0x3ba5,0x8e07c));const PKG_VERSION=require(a0_0x3da1b4(0xf1))['version'];function request(_0x5ab9a6,_0x28fb53,_0x4c1d4c,_0x1a212f,_0x1d42e7){const _0x32f604=a0_0x3da1b4,_0x3de05c={'ESYcw':_0x32f604(0x132),'kdZBz':'end','QIcHb':function(_0x4f5444,_0xfdf6e8){return _0x4f5444(_0xfdf6e8);},'DfzNV':_0x32f604(0x11a),'bZJHP':function(_0x5a435c,_0x3051b9){return _0x5a435c(_0x3051b9);},'SYSyS':_0x32f604(0x116),'IFgTQ':_0x32f604(0x128)};return new Promise((_0x3f1eaa,_0x23f408)=>{const _0x5cc915=_0x32f604,_0x3cb8d1={'eEqOr':function(_0x16c4e5,_0x43884e){return _0x16c4e5>=_0x43884e;},'uilzF':function(_0x464e40,_0x28f3aa){const _0x2c2a0c=a0_0x3e9d;return _0x3de05c[_0x2c2a0c(0xfc)](_0x464e40,_0x28f3aa);},'nGqEb':function(_0x1f0435,_0x3452ff){return _0x1f0435(_0x3452ff);}},_0x740393=new URL(_0x1a212f,_0x5ab9a6),_0x2f55fb=_0x740393['protocol']===_0x3de05c[_0x5cc915(0x11c)],_0x30b260=_0x2f55fb?_0x3de05c['bZJHP'](require,_0x5cc915(0x123)):require(_0x3de05c[_0x5cc915(0x101)]),_0x3f514c={'hostname':_0x740393[_0x5cc915(0x12b)],'port':_0x740393[_0x5cc915(0x129)]||(_0x2f55fb?0x1bb:0x50),'path':_0x740393[_0x5cc915(0x130)]+_0x740393[_0x5cc915(0xf8)],'method':_0x4c1d4c,'headers':{'Content-Type':'application/json','User-Agent':_0x5cc915(0x11d)+PKG_VERSION}};if(_0x28fb53)_0x3f514c[_0x5cc915(0x10e)][_0x3de05c['IFgTQ']]=_0x5cc915(0x112)+_0x28fb53;const _0x2635fa=_0x30b260[_0x5cc915(0x105)](_0x3f514c,_0x17a201=>{const _0x50ca37=_0x5cc915;let _0x167aae='';_0x17a201['on'](_0x3de05c[_0x50ca37(0x151)],_0x173b92=>_0x167aae+=_0x173b92),_0x17a201['on'](_0x3de05c[_0x50ca37(0xff)],()=>{const _0x14d74b=_0x50ca37;try{const _0x5195e8=JSON['parse'](_0x167aae);_0x3cb8d1['eEqOr'](_0x17a201['statusCode'],0x190)?_0x3cb8d1[_0x14d74b(0xef)](_0x23f408,new Error(_0x5195e8[_0x14d74b(0x10a)]||_0x5195e8[_0x14d74b(0x143)]||_0x14d74b(0x102)+_0x17a201[_0x14d74b(0xf6)])):_0x3cb8d1['uilzF'](_0x3f1eaa,_0x5195e8);}catch{if(_0x17a201[_0x14d74b(0xf6)]>=0x190)_0x3cb8d1['nGqEb'](_0x23f408,new Error(_0x14d74b(0x102)+_0x17a201[_0x14d74b(0xf6)]+':\x20'+_0x167aae[_0x14d74b(0xe8)](0x0,0xc8)));else _0x3cb8d1['uilzF'](_0x3f1eaa,_0x167aae);}});});_0x2635fa['on']('error',_0x23f408),_0x2635fa[_0x5cc915(0xf4)](0x7530,()=>{const _0x55b0f0=_0x5cc915;_0x2635fa[_0x55b0f0(0xe7)](),_0x23f408(new Error('Request\x20timeout'));});if(_0x1d42e7)_0x2635fa['write'](JSON[_0x5cc915(0x12f)](_0x1d42e7));_0x2635fa[_0x5cc915(0x108)]();});}function streamRequest(_0x15d7a0,_0x3997d5,_0x4bbb7c,_0x3f9565,_0x4c3893){const _0x4fb4e2=a0_0x3da1b4,_0x34d0c4={'JPEnu':_0x4fb4e2(0x132),'CVtFr':function(_0xf09fe7,_0xa882b1){return _0xf09fe7(_0xa882b1);},'HqXBr':_0x4fb4e2(0xe1),'KdYSb':function(_0x374fc3,_0xe43da2){return _0x374fc3===_0xe43da2;},'DlRKK':_0x4fb4e2(0x123),'afvdB':'application/json'};return new Promise((_0x7df7c3,_0x251f32)=>{const _0x1a8820=_0x4fb4e2,_0x21cc69=new URL(_0x4bbb7c,_0x15d7a0),_0xd0b402=_0x34d0c4[_0x1a8820(0xfe)](_0x21cc69[_0x1a8820(0x145)],'https:'),_0x3c6197=_0xd0b402?require(_0x34d0c4[_0x1a8820(0x138)]):_0x34d0c4[_0x1a8820(0xf3)](require,_0x1a8820(0x116)),_0x963765=_0x3c6197[_0x1a8820(0x105)]({'hostname':_0x21cc69['hostname'],'port':_0x21cc69[_0x1a8820(0x129)]||(_0xd0b402?0x1bb:0x50),'path':_0x21cc69['pathname']+_0x21cc69[_0x1a8820(0xf8)],'method':_0x1a8820(0x100),'headers':{'Content-Type':_0x34d0c4[_0x1a8820(0xf9)],'Authorization':_0x1a8820(0x112)+_0x3997d5,'User-Agent':'gpusmarket-cli/'+PKG_VERSION}},_0x1b15f4=>{const _0x4bd6c8=_0x1a8820;if(_0x1b15f4[_0x4bd6c8(0xf6)]>=0x190){let _0x421154='';_0x1b15f4['on'](_0x4bd6c8(0x132),_0x54ee5b=>_0x421154+=_0x54ee5b),_0x1b15f4['on'](_0x4bd6c8(0x108),()=>_0x251f32(new Error(_0x4bd6c8(0x102)+_0x1b15f4['statusCode']+':\x20'+_0x421154[_0x4bd6c8(0xe8)](0x0,0xc8))));return;}_0x1b15f4['on'](_0x34d0c4[_0x4bd6c8(0x13f)],_0x4ad95d=>_0x4c3893(_0x4ad95d[_0x4bd6c8(0x141)]())),_0x1b15f4['on'](_0x4bd6c8(0x108),()=>_0x7df7c3());});_0x963765['on'](_0x1a8820(0x10a),_0x251f32),_0x963765[_0x1a8820(0xf4)](0x1d4c0,()=>{const _0x4428ea=_0x1a8820;_0x963765[_0x4428ea(0xe7)](),_0x34d0c4[_0x4428ea(0xf3)](_0x251f32,new Error(_0x34d0c4[_0x4428ea(0xe6)]));}),_0x963765['write'](JSON['stringify'](_0x3f9565)),_0x963765[_0x1a8820(0x108)]();});}function api(_0x39bb8e){const _0x19708f=a0_0x3da1b4,_0x304dda={'ZZtzn':function(_0x4e431d,_0x406afd,_0x2dbb38,_0x12d6de,_0x23e16e,_0x4c2556){return _0x4e431d(_0x406afd,_0x2dbb38,_0x12d6de,_0x23e16e,_0x4c2556);},'TdmBC':_0x19708f(0x100)},{baseUrl:_0x3e19aa,apiKey:_0x3fdedc}=_0x39bb8e,_0x29ee2b=(_0x21def4,_0x685840,_0x29c4ae)=>request(_0x3e19aa,_0x3fdedc,_0x21def4,_0x685840,_0x29c4ae);return{'baseUrl':_0x3e19aa,'analyga':_0x39bb8e[_0x19708f(0x152)],'signup':_0x4972c6=>request(_0x3e19aa,null,_0x19708f(0x100),_0x19708f(0xf5),_0x4972c6),'whoami':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x133)),'search':_0x5a4eb2=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x14b)+(_0x5a4eb2?'?'+_0x5a4eb2:'')),'gpuModels':()=>_0x29ee2b(_0x19708f(0x150),'/api/v1/marketplace/gpu-models'),'cheapest':_0x2cfad3=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x136)+(_0x2cfad3?'?'+_0x2cfad3:'')),'gpuTypes':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xfa)),'hostSetup':_0x260729=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x122),_0x260729),'hostRecommend':_0x306f15=>_0x29ee2b('GET','/api/v1/gpu/host-recommend'+(_0x306f15?'?'+_0x306f15:'')),'benchmarkSubmit':(_0x154c33,_0x508049)=>request(_0x3e19aa,_0x154c33,_0x19708f(0x100),'/api/v1/gpu/benchmarks',_0x508049),'rent':_0x5f504e=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x126)+_0x5f504e[_0x19708f(0x131)],_0x5f504e),'rentals':()=>_0x29ee2b('GET',_0x19708f(0x12c)),'rentalStatus':_0x5e33f7=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x135)+_0x5e33f7),'stopRental':_0x344e8e=>_0x29ee2b('POST',_0x19708f(0x135)+_0x344e8e+'/stop'),'pools':()=>_0x29ee2b(_0x19708f(0x150),'/api/v1/gpu/pools'),'createPool':_0x7a2270=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x120),_0x7a2270),'addToPool':(_0x56f5af,_0x20a272)=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x134)+_0x56f5af+_0x19708f(0xfd),{'rentalId':_0x20a272}),'removeFromPool':(_0x3aa308,_0x35fbf0)=>_0x29ee2b(_0x19708f(0x100),'/api/v1/gpu/pools/'+_0x3aa308+'/remove',{'rentalId':_0x35fbf0}),'chat':(_0x1b418f,_0x2479ee,_0x1e7cc2)=>{const _0x23c439=_0x19708f,_0x59bb86=_0x3e19aa+_0x23c439(0x103)+_0x2479ee+_0x23c439(0x149);return _0x304dda[_0x23c439(0xe2)](request,_0x59bb86[_0x23c439(0x14c)](/\/v1\/chat\/completions$/,''),_0x1b418f,_0x304dda[_0x23c439(0xeb)],_0x23c439(0x149),_0x1e7cc2);},'chatStream':(_0x5bd7b6,_0x3f4375,_0x3899b0,_0x17222b)=>{const _0x421f6c=_0x19708f;return streamRequest(_0x3e19aa,_0x5bd7b6,_0x421f6c(0x103)+_0x3f4375+_0x421f6c(0x149),{..._0x3899b0,'stream':!![]},_0x17222b);},'adminStats':_0x9ca4e2=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xe0)+(_0x9ca4e2?'?'+_0x9ca4e2:'')),'adminRevenue':()=>_0x29ee2b('GET',_0x19708f(0x124)),'adminFunnel':_0x4d6f76=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x10c)+(_0x4d6f76?'?'+_0x4d6f76:'')),'adminFunnels':_0x3377f8=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/funnels'+(_0x3377f8?_0x19708f(0x14f)+_0x3377f8:'')),'adminPaymentsReconcile':()=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/payments/reconcile'),'adminReportsOverview':_0x3ec188=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/reports/overview'+(_0x3ec188?_0x19708f(0x14f)+_0x3ec188:'')),'adminDeployFailures':_0x394bf4=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/deploy-failures'+(_0x394bf4?_0x19708f(0x14f)+_0x394bf4:'')),'adminSignups':_0x51773e=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x142)+(_0x51773e?'?'+_0x51773e:'')),'adminUsers':_0x1cfff4=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xe5)+(_0x1cfff4?'?'+_0x1cfff4:'')),'adminUserView':_0x2c4a4c=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x140)+encodeURIComponent(_0x2c4a4c)),'adminCreateUser':_0x34d7c8=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0xe5),_0x34d7c8),'adminResetPassword':(_0x47db58,_0x61f57f)=>_0x29ee2b(_0x19708f(0x100),'/superadmin/api/users/reset-password',{'email':_0x47db58,'password':_0x61f57f}),'adminVerifyUser':_0x392c80=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x140)+encodeURIComponent(_0x392c80)+_0x19708f(0x148)),'adminSuspendUser':_0x44d989=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x140)+encodeURIComponent(_0x44d989)+_0x19708f(0x12d)),'adminActivateUser':_0x3585ba=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x140)+encodeURIComponent(_0x3585ba)+_0x19708f(0x10d)),'adminDeleteUser':_0x38e00d=>_0x29ee2b(_0x19708f(0x106),'/superadmin/api/users/'+encodeURIComponent(_0x38e00d)),'adminUpdateUser':(_0x2c6015,_0x585a13)=>_0x29ee2b(_0x19708f(0xdf),_0x19708f(0x140)+encodeURIComponent(_0x2c6015),_0x585a13),'adminCouponCreate':_0x237f04=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x104),_0x237f04),'adminCoupons':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x104)),'adminCouponRevoke':_0x49d26a=>_0x29ee2b(_0x19708f(0x106),_0x19708f(0xf2)+encodeURIComponent(_0x49d26a)),'adminListings':_0x2bb1a4=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x11f)+(_0x2bb1a4?'?'+_0x2bb1a4:'')),'adminListingView':_0x5063d2=>_0x29ee2b('GET',_0x19708f(0x153)+_0x5063d2),'adminSuspendListing':_0x5d8efb=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x153)+_0x5d8efb+'/suspend'),'adminReassignListing':(_0x2d71d4,_0xdcbbdb)=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x153)+_0x2d71d4+'/reassign',_0xdcbbdb),'adminStripeOnboard':(_0x2c60d6,_0x56e9ae)=>_0x29ee2b('POST',_0x19708f(0x111)+encodeURIComponent(_0x2c60d6)+_0x19708f(0xe9),_0x56e9ae||{}),'adminRentals':_0x1d1301=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x117)+(_0x1d1301?'?'+_0x1d1301:'')),'adminRentalView':_0x2beed7=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x125)+_0x2beed7),'adminPayments':_0x3ae000=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x109)+(_0x3ae000?'?'+_0x3ae000:'')),'adminPools':()=>_0x29ee2b('GET',_0x19708f(0x13b)),'adminAudit':_0x3eccaa=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xee)+(_0x3eccaa||0x1e)),'adminNotifications':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x14d)),'adminHealth':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x127)),'adminUserTimeline':_0x164d78=>_0x29ee2b('GET','/superadmin/api/users/'+encodeURIComponent(_0x164d78)+_0x19708f(0x115)),'adminAgentStatus':_0x2586d7=>_0x29ee2b('GET',_0x19708f(0x153)+_0x2586d7+'/agent'),'adminHostEarnings':_0xc0e1cc=>_0x29ee2b('GET',_0x19708f(0x111)+encodeURIComponent(_0xc0e1cc)+_0x19708f(0x11e)),'adminRentalUsage':_0x247e8b=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x125)+_0x247e8b+'/usage'),'adminWallet':_0x2fa841=>_0x29ee2b('GET','/superadmin/api/users/'+encodeURIComponent(_0x2fa841)+_0x19708f(0x113)),'adminClosures':_0x17b8f2=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/closures?days='+(_0x17b8f2||0x5a)),'adminRefund':_0x42ba98=>_0x29ee2b(_0x19708f(0x100),'/superadmin/api/payments/'+_0x42ba98+_0x19708f(0xed)),'adminVatReport':_0x5ea441=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xf0)+(_0x5ea441?'?'+_0x5ea441:'')),'adminCloudGpus':()=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/cloud/gpus'),'adminCloudCheapest':_0x2cd7a7=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xfb)+(_0x2cd7a7||0x18)),'adminCloudAccount':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x13a)),'adminCloudBilling':()=>_0x29ee2b('GET',_0x19708f(0xf7)),'adminCloudPods':_0x2c2e66=>_0x29ee2b('GET','/superadmin/api/cloud/pods'+(_0x2c2e66?_0x19708f(0x107)+_0x2c2e66:'')),'adminCloudPod':_0x2f2f40=>_0x29ee2b('GET',_0x19708f(0x13c)+_0x2f2f40),'adminCloudStop':_0x572b9a=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x13c)+_0x572b9a+_0x19708f(0x119)),'adminCloudResume':_0x340ee3=>_0x29ee2b(_0x19708f(0x100),'/superadmin/api/cloud/pods/'+_0x340ee3+'/resume'),'adminCloudDestroy':_0x4adda9=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x13c)+_0x4adda9+'/destroy'),'adminCloudMargin':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x13e)),'adminCloudQuotes':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x14e)),'adminCloudReconcile':_0x4ed13a=>_0x29ee2b(_0x19708f(0x150),'/superadmin/api/cloud/reconcile'+(_0x4ed13a?_0x19708f(0x114):'')),'adminCloudOrphans':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0xe4)),'adminCloudPodProfit':_0x5e8ca6=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x13d)+_0x5e8ca6+'/profit'),'adminCloudMarginAudit':_0x3fbb50=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x144)+(_0x3fbb50!=null?_0x19708f(0x139)+_0x3fbb50:'')),'adminCloudStuck':_0x14701d=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x110)+(_0x14701d!=null?_0x19708f(0x146)+_0x14701d:'')),'adminPlaygroundProvision':_0x54af89=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0x121),_0x54af89),'adminPlaygroundDeprovision':_0x1ec019=>_0x29ee2b(_0x19708f(0x100),_0x19708f(0xde),_0x1ec019||{}),'adminPlaygroundNodes':()=>_0x29ee2b(_0x19708f(0x150),_0x19708f(0x10f)),'adminPlaygroundAdopt':_0x58b272=>_0x29ee2b('POST','/superadmin/api/playground/adopt',_0x58b272)};}module[a0_0x3da1b4(0x10b)]={'api':api,'request':request};
|