@private.me/xbind 3.0.2 → 3.0.3
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 +2366 -204
- package/README.md.backup +2121 -0
- package/dist-standalone/_deps/mldsa-wasm/dist/mldsa.js +1 -1920
- package/dist-standalone/_deps/shared/cjs/errors.js +1 -729
- package/dist-standalone/_deps/shared/cjs/index.js +1 -463
- package/dist-standalone/_deps/shared/cjs/types.js +1 -315
- package/dist-standalone/_deps/shared/errors.js +1 -244
- package/dist-standalone/_deps/shared/index.js +1 -72
- package/dist-standalone/_deps/shared/types.js +1 -86
- package/dist-standalone/_deps/ux-helpers/cjs/errors.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/index.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/pagination.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/progress.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/search.js +1 -1
- package/dist-standalone/_deps/ux-helpers/cjs/types.js +1 -1
- package/dist-standalone/_deps/ux-helpers/errors.js +1 -1
- package/dist-standalone/_deps/ux-helpers/index.js +1 -1
- package/dist-standalone/_deps/ux-helpers/pagination.js +1 -1
- package/dist-standalone/_deps/ux-helpers/progress.js +1 -1
- package/dist-standalone/_deps/ux-helpers/search.js +1 -1
- package/dist-standalone/_deps/xchange/auto-accept.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/auto-accept.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/errors.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/index.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/invite-client.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/lazy-init.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/trust-integration.js +1 -1
- package/dist-standalone/_deps/xchange/cjs/xchange.js +1 -1
- package/dist-standalone/_deps/xchange/errors.js +1 -1
- package/dist-standalone/_deps/xchange/index.js +1 -1
- package/dist-standalone/_deps/xchange/invite-client.js +1 -1
- package/dist-standalone/_deps/xchange/lazy-init.js +1 -1
- package/dist-standalone/_deps/xchange/trust-integration.js +1 -1
- package/dist-standalone/_deps/xchange/xchange.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/discovery.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/errors.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/index.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/registry.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/schema.js +1 -1
- package/dist-standalone/_deps/xregistry/cjs/types.js +1 -1
- package/dist-standalone/_deps/xregistry/discovery.js +1 -1
- package/dist-standalone/_deps/xregistry/errors.js +1 -1
- package/dist-standalone/_deps/xregistry/index.js +1 -1
- package/dist-standalone/_deps/xregistry/registry.js +1 -1
- package/dist-standalone/_deps/xregistry/schema.js +1 -1
- package/dist-standalone/_deps/xregistry/types.js +1 -1
- package/dist-standalone/agent-call.d.ts +2 -2
- package/dist-standalone/agent-call.js +1 -659
- package/dist-standalone/agent-sdk.js +1 -328
- package/dist-standalone/agent.d.ts +2 -0
- package/dist-standalone/agent.js +1 -1800
- package/dist-standalone/approval.js +1 -193
- package/dist-standalone/async-iterators.d.ts +3 -3
- package/dist-standalone/async-iterators.js +1 -382
- package/dist-standalone/auth.js +1 -219
- package/dist-standalone/auto-accept.js +1 -229
- package/dist-standalone/backup-config.js +1 -201
- package/dist-standalone/backup.js +1 -326
- package/dist-standalone/batch-operations.js +1 -388
- package/dist-standalone/cancellation.js +1 -477
- package/dist-standalone/checkpoint.js +1 -186
- package/dist-standalone/circuit-breaker.js +1 -468
- package/dist-standalone/cjs/agent-call.js +1 -701
- package/dist-standalone/cjs/agent-sdk.js +1 -332
- package/dist-standalone/cjs/agent.js +1 -1837
- package/dist-standalone/cjs/approval.js +1 -199
- package/dist-standalone/cjs/async-iterators.js +1 -392
- package/dist-standalone/cjs/auth.js +1 -225
- package/dist-standalone/cjs/auto-accept.js +1 -233
- package/dist-standalone/cjs/backup-config.js +1 -207
- package/dist-standalone/cjs/backup.js +1 -330
- package/dist-standalone/cjs/batch-operations.js +1 -397
- package/dist-standalone/cjs/cancellation.js +1 -490
- package/dist-standalone/cjs/checkpoint.js +1 -193
- package/dist-standalone/cjs/circuit-breaker.js +1 -476
- package/dist-standalone/cjs/cli/init.js +1 -492
- package/dist-standalone/cjs/config-validation.js +1 -522
- package/dist-standalone/cjs/connect.js +1 -312
- package/dist-standalone/cjs/connection-pool.js +1 -506
- package/dist-standalone/cjs/correlation-id.js +1 -339
- package/dist-standalone/cjs/crypto-utils.js +1 -176
- package/dist-standalone/cjs/debug-mode.js +1 -534
- package/dist-standalone/cjs/did-document.js +1 -101
- package/dist-standalone/cjs/did-privateme.js +1 -130
- package/dist-standalone/cjs/did-web.js +1 -201
- package/dist-standalone/cjs/discovery.js +1 -462
- package/dist-standalone/cjs/dual-mode.js +1 -251
- package/dist-standalone/cjs/email-templates.js +1 -313
- package/dist-standalone/cjs/email-transport.js +1 -239
- package/dist-standalone/cjs/envelope.js +1 -538
- package/dist-standalone/cjs/errors.js +1 -913
- package/dist-standalone/cjs/event-emitter.js +1 -461
- package/dist-standalone/cjs/gateway-state.js +1 -55
- package/dist-standalone/cjs/gateway-transport.js +1 -120
- package/dist-standalone/cjs/graceful-degradation.js +1 -403
- package/dist-standalone/cjs/guardrails.js +1 -223
- package/dist-standalone/cjs/health-check.js +1 -336
- package/dist-standalone/cjs/http-compat.js +1 -272
- package/dist-standalone/cjs/http-status-map.js +1 -571
- package/dist-standalone/cjs/identity.js +1 -645
- package/dist-standalone/cjs/index.js +1 -406
- package/dist-standalone/cjs/invitation.js +1 -421
- package/dist-standalone/cjs/invite.js +1 -328
- package/dist-standalone/cjs/key-agreement.js +1 -335
- package/dist-standalone/cjs/lazy-init.js +1 -300
- package/dist-standalone/cjs/logger.js +1 -291
- package/dist-standalone/cjs/loopback-transport.js +1 -0
- package/dist-standalone/cjs/mdns-discovery.js +1 -202
- package/dist-standalone/cjs/nonce-store.js +1 -80
- package/dist-standalone/cjs/pairing-manager.js +1 -223
- package/dist-standalone/cjs/plugin-system.js +1 -264
- package/dist-standalone/cjs/plugins/logging.js +1 -168
- package/dist-standalone/cjs/plugins/metrics.js +1 -181
- package/dist-standalone/cjs/plugins/validation.js +1 -302
- package/dist-standalone/cjs/policy.js +1 -320
- package/dist-standalone/cjs/progress-callbacks.js +1 -583
- package/dist-standalone/cjs/redis-nonce-store.js +1 -76
- package/dist-standalone/cjs/registry-middleware.js +1 -50
- package/dist-standalone/cjs/retry-strategies.js +1 -544
- package/dist-standalone/cjs/retry-transport.js +1 -102
- package/dist-standalone/cjs/runtime/browser.js +1 -533
- package/dist-standalone/cjs/runtime/edge.js +1 -526
- package/dist-standalone/cjs/runtime/react-native.js +1 -394
- package/dist-standalone/cjs/security-policy.js +1 -245
- package/dist-standalone/cjs/serialization.js +1 -1040
- package/dist-standalone/cjs/split-channel.js +1 -225
- package/dist-standalone/cjs/subscription-proof.js +1 -230
- package/dist-standalone/cjs/succession.js +1 -148
- package/dist-standalone/cjs/timeouts.js +1 -412
- package/dist-standalone/cjs/trace-context.js +1 -424
- package/dist-standalone/cjs/trace-spans.js +1 -495
- package/dist-standalone/cjs/transport.js +1 -63
- package/dist-standalone/cjs/trust-registry.js +1 -991
- package/dist-standalone/cjs/types/error-response.js +1 -56
- package/dist-standalone/cjs/vault-auth.js +1 -178
- package/dist-standalone/cjs/vault-store-loader.js +1 -194
- package/dist-standalone/cjs/verify.js +1 -25
- package/dist-standalone/cjs/version-info.js +1 -543
- package/dist-standalone/cjs/xfetch.js +1 -340
- package/dist-standalone/cli/init.js +1 -455
- package/dist-standalone/cli/setup.js +1 -514
- package/dist-standalone/cli/types.js +1 -27
- package/dist-standalone/cli/xbind.js +1 -148
- package/dist-standalone/config-validation.js +1 -513
- package/dist-standalone/connect.js +1 -274
- package/dist-standalone/connection-pool.js +1 -500
- package/dist-standalone/correlation-id.js +1 -326
- package/dist-standalone/crypto-utils.d.ts +2 -7
- package/dist-standalone/crypto-utils.js +1 -157
- package/dist-standalone/debug-mode.js +1 -510
- package/dist-standalone/did-document.js +1 -96
- package/dist-standalone/did-privateme.js +1 -121
- package/dist-standalone/did-web.js +1 -196
- package/dist-standalone/discovery.js +1 -458
- package/dist-standalone/dual-mode.js +1 -247
- package/dist-standalone/email-templates.js +1 -309
- package/dist-standalone/email-transport.d.ts +2 -2
- package/dist-standalone/email-transport.js +1 -232
- package/dist-standalone/envelope.js +1 -525
- package/dist-standalone/errors.d.ts +13 -3
- package/dist-standalone/errors.js +1 -896
- package/dist-standalone/event-emitter.js +1 -456
- package/dist-standalone/gateway-state.d.ts +1 -1
- package/dist-standalone/gateway-state.js +1 -51
- package/dist-standalone/gateway-transport.js +1 -116
- package/dist-standalone/graceful-degradation.js +1 -396
- package/dist-standalone/guardrails.js +1 -216
- package/dist-standalone/health-check.d.ts +5 -1
- package/dist-standalone/health-check.js +1 -332
- package/dist-standalone/http-compat.d.ts +1 -1
- package/dist-standalone/http-compat.js +1 -267
- package/dist-standalone/http-status-map.js +1 -561
- package/dist-standalone/identity.js +1 -619
- package/dist-standalone/index.d.ts +15 -4
- package/dist-standalone/index.js +1 -78
- package/dist-standalone/invitation.js +1 -415
- package/dist-standalone/invite.js +1 -324
- package/dist-standalone/key-agreement.js +1 -325
- package/dist-standalone/lazy-init.d.ts +11 -6
- package/dist-standalone/lazy-init.js +1 -295
- package/dist-standalone/logger.js +1 -285
- package/dist-standalone/loopback-transport.d.ts +87 -0
- package/dist-standalone/loopback-transport.js +1 -0
- package/dist-standalone/mdns-discovery.js +1 -195
- package/dist-standalone/nonce-store.js +1 -76
- package/dist-standalone/pairing-manager.js +1 -219
- package/dist-standalone/plugin-system.js +1 -257
- package/dist-standalone/plugins/logging.js +1 -163
- package/dist-standalone/plugins/metrics.d.ts +4 -4
- package/dist-standalone/plugins/metrics.js +1 -176
- package/dist-standalone/plugins/validation.js +1 -297
- package/dist-standalone/policy.js +1 -315
- package/dist-standalone/progress-callbacks.js +1 -576
- package/dist-standalone/redis-nonce-store.js +1 -72
- package/dist-standalone/registry-middleware.js +1 -47
- package/dist-standalone/retry-strategies.js +1 -534
- package/dist-standalone/retry-transport.js +1 -98
- package/dist-standalone/runtime/browser.js +1 -516
- package/dist-standalone/runtime/edge.js +1 -511
- package/dist-standalone/runtime/react-native.d.ts +1 -1
- package/dist-standalone/runtime/react-native.js +1 -383
- package/dist-standalone/security-policy.js +1 -239
- package/dist-standalone/serialization.js +1 -1031
- package/dist-standalone/split-channel.js +1 -219
- package/dist-standalone/subscription-proof.js +1 -224
- package/dist-standalone/succession.js +1 -142
- package/dist-standalone/timeouts.js +1 -398
- package/dist-standalone/trace-context.js +1 -414
- package/dist-standalone/trace-spans.js +1 -488
- package/dist-standalone/transport.js +1 -59
- package/dist-standalone/trust-registry.d.ts +3 -3
- package/dist-standalone/trust-registry.js +1 -950
- package/dist-standalone/types/error-response.js +1 -52
- package/dist-standalone/vault-auth.js +1 -174
- package/dist-standalone/vault-store-loader.d.ts +9 -0
- package/dist-standalone/vault-store-loader.js +1 -187
- package/dist-standalone/verify.js +1 -16
- package/dist-standalone/version-info.js +1 -530
- package/dist-standalone/xfetch.js +1 -335
- package/package.json +1 -1
- package/share1.dat +0 -0
|
@@ -1,315 +1 @@
|
|
|
1
|
-
|
|
2
|
-
(function (_0x52ee4e, _0x41c5d4) {
|
|
3
|
-
var a4_0xebbca3 = {
|
|
4
|
-
_0xc226d4: 0xcf,
|
|
5
|
-
_0x1957a9: 0xe8
|
|
6
|
-
}, _0xb351a5 = a4_0x43da, _0x316962 = _0x52ee4e();
|
|
7
|
-
while (!![]) {
|
|
8
|
-
try {
|
|
9
|
-
var _0x2897f0 = -parseInt(_0xb351a5(0xbc)) / 0x1 + parseInt(_0xb351a5(0xc6)) / 0x2 * (-parseInt(_0xb351a5(0xee)) / 0x3) + parseInt(_0xb351a5(0xf6)) / 0x4 * (parseInt(_0xb351a5(0xeb)) / 0x5) + parseInt(_0xb351a5(0xd6)) / 0x6 * (-parseInt(_0xb351a5(0xba)) / 0x7) + parseInt(_0xb351a5(0xf1)) / 0x8 * (-parseInt(_0xb351a5(a4_0xebbca3._0xc226d4)) / 0x9) + parseInt(_0xb351a5(0xf4)) / 0xa * (-parseInt(_0xb351a5(a4_0xebbca3._0x1957a9)) / 0xb) + parseInt(_0xb351a5(0xe4)) / 0xc;
|
|
10
|
-
if (_0x2897f0 === _0x41c5d4)
|
|
11
|
-
break;
|
|
12
|
-
else
|
|
13
|
-
_0x316962['push'](_0x316962['shift']());
|
|
14
|
-
} catch (_0x46e19a) {
|
|
15
|
-
_0x316962['push'](_0x316962['shift']());
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}(a4_0xf026, 0xa6d68));
|
|
19
|
-
function a4_0x43da(_0x1ffee4, _0x3035e1) {
|
|
20
|
-
_0x1ffee4 = _0x1ffee4 - 0xb9;
|
|
21
|
-
var _0xf02693 = a4_0xf026();
|
|
22
|
-
var _0x43da31 = _0xf02693[_0x1ffee4];
|
|
23
|
-
if (a4_0x43da['HkdlOO'] === undefined) {
|
|
24
|
-
var _0x398425 = function (_0x494527) {
|
|
25
|
-
var _0x13b9d2 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
26
|
-
var _0x494736 = '', _0x28c5d5 = '';
|
|
27
|
-
for (var _0x361160 = 0x0, _0x19ee41, _0xef0318, _0x101493 = 0x0; _0xef0318 = _0x494527['charAt'](_0x101493++); ~_0xef0318 && (_0x19ee41 = _0x361160 % 0x4 ? _0x19ee41 * 0x40 + _0xef0318 : _0xef0318, _0x361160++ % 0x4) ? _0x494736 += String['fromCharCode'](0xff & _0x19ee41 >> (-0x2 * _0x361160 & 0x6)) : 0x0) {
|
|
28
|
-
_0xef0318 = _0x13b9d2['indexOf'](_0xef0318);
|
|
29
|
-
}
|
|
30
|
-
for (var _0xf64a4f = 0x0, _0x2d4369 = _0x494736['length']; _0xf64a4f < _0x2d4369; _0xf64a4f++) {
|
|
31
|
-
_0x28c5d5 += '%' + ('00' + _0x494736['charCodeAt'](_0xf64a4f)['toString'](0x10))['slice'](-0x2);
|
|
32
|
-
}
|
|
33
|
-
return decodeURIComponent(_0x28c5d5);
|
|
34
|
-
};
|
|
35
|
-
a4_0x43da['jUvFqI'] = _0x398425, a4_0x43da['HHJOHf'] = {}, a4_0x43da['HkdlOO'] = !![];
|
|
36
|
-
}
|
|
37
|
-
var _0x403cf4 = _0xf02693[0x0], _0x113565 = _0x1ffee4 + _0x403cf4, _0x153541 = a4_0x43da['HHJOHf'][_0x113565];
|
|
38
|
-
return !_0x153541 ? (_0x43da31 = a4_0x43da['jUvFqI'](_0x43da31), a4_0x43da['HHJOHf'][_0x113565] = _0x43da31) : _0x43da31 = _0x153541, _0x43da31;
|
|
39
|
-
}
|
|
40
|
-
var a5_0x327586 = a5_0xba88;
|
|
41
|
-
(function (_0x30976a, _0x3e6155) {
|
|
42
|
-
var a4_0x131ce0 = {
|
|
43
|
-
_0x47c094: 0xec,
|
|
44
|
-
_0x331001: 0xde,
|
|
45
|
-
_0x39755a: 0xd5,
|
|
46
|
-
_0x316009: 0xc8,
|
|
47
|
-
_0x1dc73a: 0xda,
|
|
48
|
-
_0x669a6d: 0xd8,
|
|
49
|
-
_0x2e7508: 0xcd
|
|
50
|
-
}, _0x39e5c1 = a4_0x43da, _0x5c5b8b = {
|
|
51
|
-
'lgBFc': function (_0x42a9bb) {
|
|
52
|
-
return _0x42a9bb();
|
|
53
|
-
},
|
|
54
|
-
'MOgRx': function (_0x3fa519, _0x394bdc) {
|
|
55
|
-
return _0x3fa519 + _0x394bdc;
|
|
56
|
-
},
|
|
57
|
-
'hQylT': function (_0x10127f, _0x20de93) {
|
|
58
|
-
return _0x10127f / _0x20de93;
|
|
59
|
-
},
|
|
60
|
-
'nRKcw': function (_0x5263c9, _0x1d4115) {
|
|
61
|
-
return _0x5263c9(_0x1d4115);
|
|
62
|
-
},
|
|
63
|
-
'zZWfC': function (_0x32e319, _0x2689fa) {
|
|
64
|
-
return _0x32e319(_0x2689fa);
|
|
65
|
-
},
|
|
66
|
-
'tgPqs': function (_0x3a01a6, _0x5d6ffe) {
|
|
67
|
-
return _0x3a01a6(_0x5d6ffe);
|
|
68
|
-
},
|
|
69
|
-
'OPygb': function (_0x5a1b15, _0x4b71be) {
|
|
70
|
-
return _0x5a1b15(_0x4b71be);
|
|
71
|
-
},
|
|
72
|
-
'GqHMA': function (_0x29f9ab, _0x1c2eb2) {
|
|
73
|
-
return _0x29f9ab(_0x1c2eb2);
|
|
74
|
-
},
|
|
75
|
-
'YNxcX': function (_0x1a46f7, _0x24bf04) {
|
|
76
|
-
return _0x1a46f7(_0x24bf04);
|
|
77
|
-
},
|
|
78
|
-
'bjkUJ': function (_0x546e19, _0x133aae) {
|
|
79
|
-
return _0x546e19 === _0x133aae;
|
|
80
|
-
},
|
|
81
|
-
'GFkVb': 'push',
|
|
82
|
-
'cajrD': _0x39e5c1(0xc0)
|
|
83
|
-
}, _0x40b336 = {
|
|
84
|
-
'_0x45d3b0': 0xbc,
|
|
85
|
-
'_0x3574af': 0xbb,
|
|
86
|
-
'_0x1c9f51': 0xbf,
|
|
87
|
-
'_0x5ca53e': 0xbe
|
|
88
|
-
}, _0x28b82f = a5_0xba88, _0x4e4ade = _0x5c5b8b[_0x39e5c1(0xd9)](_0x30976a);
|
|
89
|
-
while (!![]) {
|
|
90
|
-
try {
|
|
91
|
-
var _0x54a34d = _0x5c5b8b['MOgRx'](_0x5c5b8b[_0x39e5c1(0xf3)](_0x5c5b8b['MOgRx'](_0x5c5b8b[_0x39e5c1(0xc5)](-parseInt(_0x5c5b8b[_0x39e5c1(0xec)](_0x28b82f, 0xb7)), 0x1) * (-parseInt(_0x28b82f(0xb6)) / 0x2) + parseInt(_0x5c5b8b[_0x39e5c1(0xde)](_0x28b82f, _0x40b336[_0x39e5c1(0xc4)])) / 0x3, _0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x47c094)](parseInt, _0x28b82f(0xb8)) / 0x4) + parseInt(_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x331001)](_0x28b82f, _0x40b336[_0x39e5c1(a4_0x131ce0._0x39755a)])) / 0x5 * (-_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x316009)](parseInt, _0x28b82f(0xb3)) / 0x6), -_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x1dc73a)](parseInt, _0x5c5b8b['tgPqs'](_0x28b82f, _0x40b336[_0x39e5c1(0xbd)])) / 0x7), _0x5c5b8b[_0x39e5c1(0xec)](parseInt, _0x28b82f(0xb2)) / 0x8) + _0x5c5b8b['hQylT'](-parseInt(_0x5c5b8b[_0x39e5c1(0xe0)](_0x28b82f, _0x40b336[_0x39e5c1(0xca)])), 0x9) * (_0x5c5b8b['YNxcX'](parseInt, _0x28b82f(0xb5)) / 0xa);
|
|
92
|
-
if (_0x5c5b8b[_0x39e5c1(0xe6)](_0x54a34d, _0x3e6155))
|
|
93
|
-
break;
|
|
94
|
-
else
|
|
95
|
-
_0x4e4ade[_0x5c5b8b['GFkVb']](_0x4e4ade[_0x5c5b8b[_0x39e5c1(0xcd)]]());
|
|
96
|
-
} catch (_0x2c4bef) {
|
|
97
|
-
_0x4e4ade[_0x39e5c1(a4_0x131ce0._0x669a6d)](_0x4e4ade[_0x5c5b8b[_0x39e5c1(a4_0x131ce0._0x2e7508)]]());
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}(a5_0x1e74, 0x59db1));
|
|
101
|
-
function a5_0x1e74() {
|
|
102
|
-
var a4_0x5d4646 = {
|
|
103
|
-
_0x4c4a2a: 0xf2,
|
|
104
|
-
_0x4e45df: 0xbb,
|
|
105
|
-
_0x2aea47: 0xc3,
|
|
106
|
-
_0x3cbaeb: 0xe7,
|
|
107
|
-
_0x441304: 0xc1,
|
|
108
|
-
_0x45c09f: 0xcb,
|
|
109
|
-
_0x30fa8e: 0xd7,
|
|
110
|
-
_0x1fea37: 0xe3
|
|
111
|
-
}, _0x251893 = a4_0x43da, _0x1c064d = {
|
|
112
|
-
'TWUUd': _0x251893(a4_0x5d4646._0x4c4a2a),
|
|
113
|
-
'dVifP': _0x251893(0xf5),
|
|
114
|
-
'oBoGz': 'mZzSu25Iswu',
|
|
115
|
-
'TPbBc': 'mtaZmduWtLP2DgPz',
|
|
116
|
-
'autHV': 'mJmWnteXmhbYthjnEa',
|
|
117
|
-
'UQjSL': _0x251893(0xe9),
|
|
118
|
-
'ezNZk': 'zxjY'
|
|
119
|
-
}, _0x358f2a = [
|
|
120
|
-
_0x1c064d[_0x251893(0xf7)],
|
|
121
|
-
_0x251893(0xc7),
|
|
122
|
-
_0x1c064d[_0x251893(a4_0x5d4646._0x4e45df)],
|
|
123
|
-
'zgvMAw5LuhjVCgvYDhK',
|
|
124
|
-
_0x1c064d['oBoGz'],
|
|
125
|
-
_0x251893(a4_0x5d4646._0x2aea47),
|
|
126
|
-
'ndKWmJi1nLHfEuDMAG',
|
|
127
|
-
_0x1c064d[_0x251893(0xf0)],
|
|
128
|
-
'x19LC01VzhvSzq',
|
|
129
|
-
_0x1c064d[_0x251893(a4_0x5d4646._0x3cbaeb)],
|
|
130
|
-
_0x251893(a4_0x5d4646._0x441304),
|
|
131
|
-
_0x1c064d[_0x251893(a4_0x5d4646._0x45c09f)],
|
|
132
|
-
_0x251893(a4_0x5d4646._0x30fa8e),
|
|
133
|
-
_0x1c064d[_0x251893(a4_0x5d4646._0x1fea37)]
|
|
134
|
-
];
|
|
135
|
-
return a5_0x1e74 = function () {
|
|
136
|
-
return _0x358f2a;
|
|
137
|
-
}, a5_0x1e74();
|
|
138
|
-
}
|
|
139
|
-
function a5_0xba88(_0x2020e2, _0x3b67d6) {
|
|
140
|
-
var a4_0x34740e = {
|
|
141
|
-
_0xa240b1: 0xdc,
|
|
142
|
-
_0x436cab: 0xf9,
|
|
143
|
-
_0x3003be: 0xea,
|
|
144
|
-
_0x19f6ba: 0xe2,
|
|
145
|
-
_0x32ecd9: 0xbf,
|
|
146
|
-
_0x3c2839: 0xfa,
|
|
147
|
-
_0x5d1962: 0xb9
|
|
148
|
-
}, a4_0x45abdd = {
|
|
149
|
-
_0x47bb8e: 0xef,
|
|
150
|
-
_0x31b7b4: 0xe1,
|
|
151
|
-
_0x1d8984: 0xdd,
|
|
152
|
-
_0x2d0dc2: 0xdf
|
|
153
|
-
}, _0x2a27fa = a4_0x43da, _0x1b4c0c = {
|
|
154
|
-
'sJnJP': _0x2a27fa(a4_0x34740e._0xa240b1),
|
|
155
|
-
'eTqqV': function (_0x43a88c, _0x450404) {
|
|
156
|
-
return _0x43a88c * _0x450404;
|
|
157
|
-
},
|
|
158
|
-
'teoDF': function (_0x3fe0dd, _0x5c348b) {
|
|
159
|
-
return _0x3fe0dd & _0x5c348b;
|
|
160
|
-
},
|
|
161
|
-
'PZXEI': 'indexOf',
|
|
162
|
-
'tjuJP': _0x2a27fa(a4_0x34740e._0x436cab),
|
|
163
|
-
'fVpvF': function (_0x4880b9, _0x227637) {
|
|
164
|
-
return _0x4880b9 + _0x227637;
|
|
165
|
-
},
|
|
166
|
-
'cRWqR': _0x2a27fa(0xc2),
|
|
167
|
-
'JFLLB': _0x2a27fa(a4_0x34740e._0x3003be),
|
|
168
|
-
'LpurI': function (_0x5116c7, _0x47fe6c) {
|
|
169
|
-
return _0x5116c7(_0x47fe6c);
|
|
170
|
-
},
|
|
171
|
-
'affCh': function (_0x1fab23, _0x209ce0) {
|
|
172
|
-
return _0x1fab23 - _0x209ce0;
|
|
173
|
-
},
|
|
174
|
-
'DsdTf': function (_0x574a9a, _0xfa432b) {
|
|
175
|
-
return _0x574a9a === _0xfa432b;
|
|
176
|
-
},
|
|
177
|
-
'lkQOo': _0x2a27fa(0xf8),
|
|
178
|
-
'RAbrl': _0x2a27fa(a4_0x34740e._0x19f6ba)
|
|
179
|
-
};
|
|
180
|
-
_0x2020e2 = _0x1b4c0c[_0x2a27fa(a4_0x34740e._0x32ecd9)](_0x2020e2, 0xb2);
|
|
181
|
-
var _0x49ef5c = a5_0x1e74(), _0x372759 = _0x49ef5c[_0x2020e2];
|
|
182
|
-
if (_0x1b4c0c[_0x2a27fa(0xd0)](a5_0xba88[_0x2a27fa(0xd1)], undefined)) {
|
|
183
|
-
var _0x27b809 = function (_0x132db5) {
|
|
184
|
-
var _0x2a58a1 = a4_0x43da, _0x35b49e = _0x2a58a1(0xd4)[_0x2a58a1(0xd3)]('|'), _0x37bfb7 = 0x0;
|
|
185
|
-
while (!![]) {
|
|
186
|
-
switch (_0x35b49e[_0x37bfb7++]) {
|
|
187
|
-
case '0':
|
|
188
|
-
for (var _0x1c8044 = 0x0, _0x210988, _0x325d02, _0x5de263 = 0x0; _0x325d02 = _0x132db5[_0x1b4c0c[_0x2a58a1(0xbe)]](_0x5de263++); ~_0x325d02 && (_0x210988 = _0x1c8044 % 0x4 ? _0x1b4c0c[_0x2a58a1(0xe5)](_0x210988, 0x40) + _0x325d02 : _0x325d02, _0x1c8044++ % 0x4) ? _0x459704 += String[_0x2a58a1(0xce)](0xff & _0x210988 >> _0x1b4c0c[_0x2a58a1(0xdb)](_0x1b4c0c['eTqqV'](-0x2, _0x1c8044), 0x6)) : 0x0) {
|
|
189
|
-
_0x325d02 = _0x483d23[_0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x47bb8e)]](_0x325d02);
|
|
190
|
-
}
|
|
191
|
-
continue;
|
|
192
|
-
case '1':
|
|
193
|
-
var _0x483d23 = _0x2a58a1(0xed);
|
|
194
|
-
continue;
|
|
195
|
-
case '2':
|
|
196
|
-
var _0x459704 = '', _0x587609 = '';
|
|
197
|
-
continue;
|
|
198
|
-
case '3':
|
|
199
|
-
for (var _0x590ec6 = 0x0, _0x46645b = _0x459704[_0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x31b7b4)]]; _0x590ec6 < _0x46645b; _0x590ec6++) {
|
|
200
|
-
_0x587609 += _0x1b4c0c[_0x2a58a1(0xcc)]('%', ('00' + _0x459704[_0x2a58a1(0xc9)](_0x590ec6)[_0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x1d8984)]](0x10))[_0x1b4c0c[_0x2a58a1(0xd2)]](-0x2));
|
|
201
|
-
}
|
|
202
|
-
continue;
|
|
203
|
-
case '4':
|
|
204
|
-
return _0x1b4c0c[_0x2a58a1(a4_0x45abdd._0x2d0dc2)](decodeURIComponent, _0x587609);
|
|
205
|
-
}
|
|
206
|
-
break;
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
a5_0xba88[_0x1b4c0c['lkQOo']] = _0x27b809, a5_0xba88['yvIqmX'] = {}, a5_0xba88[_0x2a27fa(0xd1)] = !![];
|
|
210
|
-
}
|
|
211
|
-
var _0x103a19 = _0x49ef5c[0x0], _0x368ab2 = _0x2020e2 + _0x103a19, _0x555b97 = a5_0xba88[_0x2a27fa(0xe2)][_0x368ab2];
|
|
212
|
-
return !_0x555b97 ? (_0x372759 = a5_0xba88[_0x1b4c0c[_0x2a27fa(a4_0x34740e._0x3c2839)]](_0x372759), a5_0xba88[_0x1b4c0c[_0x2a27fa(a4_0x34740e._0x5d1962)]][_0x368ab2] = _0x372759) : _0x372759 = _0x555b97, _0x372759;
|
|
213
|
-
}
|
|
214
|
-
Object[a5_0x327586(0xbd)](exports, a5_0x327586(0xb4), { 'value': !![] }), exports['TLV_TYPE'] = void 0x0, exports['ok'] = ok, exports[a5_0x327586(0xb9)] = err;
|
|
215
|
-
function ok(_0x259a7e) {
|
|
216
|
-
return {
|
|
217
|
-
'ok': !![],
|
|
218
|
-
'value': _0x259a7e
|
|
219
|
-
};
|
|
220
|
-
}
|
|
221
|
-
function err(_0x157c5f) {
|
|
222
|
-
return {
|
|
223
|
-
'ok': ![],
|
|
224
|
-
'error': _0x157c5f
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
function a4_0xf026() {
|
|
228
|
-
var _0x3a6110 = [
|
|
229
|
-
'ndiWotG3BxrZEgXU',
|
|
230
|
-
'zfzPzLa',
|
|
231
|
-
'odm4nJaXuhvfy0T4',
|
|
232
|
-
'xZb4mwm5zJuX',
|
|
233
|
-
'C0PUsLa',
|
|
234
|
-
'ywzMq2G',
|
|
235
|
-
'C2HPzNq',
|
|
236
|
-
'Bu1QANyXEND5Cq',
|
|
237
|
-
'Dg9tDhjPBMC',
|
|
238
|
-
'BuPHwM5AztbTzKrpqNziBKfx',
|
|
239
|
-
'xZb4ndvKm2iW',
|
|
240
|
-
'Aff5Bfq',
|
|
241
|
-
'nZm3nZy4zefrsg1v',
|
|
242
|
-
'BvP2zNiYtfHZsZq',
|
|
243
|
-
'DgDqCxm',
|
|
244
|
-
'y2HHCKnVzgvbDa',
|
|
245
|
-
'xZb4nwnHntnL',
|
|
246
|
-
'vvfQu0W',
|
|
247
|
-
'zLzWDKy',
|
|
248
|
-
'y2fQCKq',
|
|
249
|
-
'zNjVBunOyxjdB2rL',
|
|
250
|
-
'mJyWotfxzeHTDgC',
|
|
251
|
-
'rhnKvgy',
|
|
252
|
-
'u1nSBg5c',
|
|
253
|
-
'sKzmtei',
|
|
254
|
-
'C3bSAxq',
|
|
255
|
-
'mxWYFdb8m3W0',
|
|
256
|
-
'xZb4mZu3ngfM',
|
|
257
|
-
'mte0we1uCK1q',
|
|
258
|
-
'BLPXmM50ytrYDvr5rwveCq',
|
|
259
|
-
'ChvZAa',
|
|
260
|
-
'BgDcrMm',
|
|
261
|
-
't1b5z2i',
|
|
262
|
-
'DgvVrey',
|
|
263
|
-
'y2HHCKf0',
|
|
264
|
-
'y1jxCvi',
|
|
265
|
-
'ELPxzKm',
|
|
266
|
-
'thb1CKK',
|
|
267
|
-
'r3fitue',
|
|
268
|
-
'DgP1sLa',
|
|
269
|
-
'ExzjCw1y',
|
|
270
|
-
'zxPowMS',
|
|
271
|
-
'ndKXnteYmdH5q3jPre4',
|
|
272
|
-
'zvrXCvy',
|
|
273
|
-
'yMPRvuO',
|
|
274
|
-
'yxv0sfy',
|
|
275
|
-
'nJi5odC1nenRAwLcrG',
|
|
276
|
-
'Bxrdwg5kBtfbDMP6q2DmCq',
|
|
277
|
-
'C2XPy2u',
|
|
278
|
-
'mtmXodvsBhHbr2K',
|
|
279
|
-
'BLjly3C',
|
|
280
|
-
'ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0',
|
|
281
|
-
'nNDIEvbZAa',
|
|
282
|
-
'ufPyruK',
|
|
283
|
-
'vfbIqMm',
|
|
284
|
-
'nJmYBvDlChr4',
|
|
285
|
-
'DMvyD3GXCNP1zxu',
|
|
286
|
-
'tu9NuNG',
|
|
287
|
-
'mtb3A3rUBxa',
|
|
288
|
-
'BuPLnw1KrZrTtvrIDeTeDKvX',
|
|
289
|
-
'mty0CevxAMzA',
|
|
290
|
-
'vfDvvwq',
|
|
291
|
-
'Bw1WAMXi',
|
|
292
|
-
'BgvUz3rO',
|
|
293
|
-
'BgTrt28',
|
|
294
|
-
'uKfICMW'
|
|
295
|
-
];
|
|
296
|
-
a4_0xf026 = function () {
|
|
297
|
-
return _0x3a6110;
|
|
298
|
-
};
|
|
299
|
-
return a4_0xf026();
|
|
300
|
-
}
|
|
301
|
-
exports[a5_0x327586(0xba)] = {
|
|
302
|
-
'MESSAGE_BODY': 0x1,
|
|
303
|
-
'ATTACHMENT': 0x2,
|
|
304
|
-
'SENDER_ID': 0x3,
|
|
305
|
-
'TIMESTAMP': 0x4,
|
|
306
|
-
'MESSAGE_UUID': 0x5,
|
|
307
|
-
'SHARE_INDEX': 0x6,
|
|
308
|
-
'TOTAL_SHARES': 0x7,
|
|
309
|
-
'THRESHOLD': 0x8,
|
|
310
|
-
'HMAC_KEY': 0x9,
|
|
311
|
-
'HMAC_SIGNATURE': 0xa,
|
|
312
|
-
'CONTENT_TYPE': 0xb,
|
|
313
|
-
'MESSAGE_SUBJECT': 0xc,
|
|
314
|
-
'SENDER_EMAIL': 0xd
|
|
315
|
-
};
|
|
1
|
+
"use strict";var a4_0x1b256b=a4_0x697d;function a4_0x1b57(){var r=["xZb4mweXnZnH","CuTOrwy","whHRyMS","teXJAui","veXwx1rzueu","ntu5mJmWuevZu0D1","weThsM1M","uxvpqKe","thb2D2S","B2DQt0eYrhrdvW","BKPdmM10BvHUAhjpCtneEhPx","Aw5KzxHpzG","xZb4mtK2ztC1","xZb4mwjIndDJ","ndvqwefxExy","oduXmJjMyKzjt2e","mJfVvu91qxa","EMD2tuf3nuX1AgPwq2D2wurOsW","q2nXzMS","DMvyD3GXCNP1zxu","C2HPzNq","vxDjqMi","qLLJzLO","zKXJv0y","BuPPm25kBtvTs3jsD3zYDNPx","DKT4t3K","uhjmEfC","ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0","y2HHCKnVzgvbDa","mZKZmZK0og1rz0HNEq","C2XPy2u","Dhfxzgy","B3z1yuG","qufHte0","rureu2S","BgP0wgm","zLDpsey","ueTLvNO","sujvBMHp","B3rlwM5KAtrctvbpD3CXEa","tKXyyw8","rvvxzNq","rM52Awm","y3LKvKe","A1bbCwS","mJi3me1SwKLWyq","rgDzt2W","sMHqrLi","r1HgCw8","BM12ugi","wuzUwgi","s2LvEM0","nte4otrTvwrnB1q","mJa0nJqYEuD0r3re","BgvUz3rO","y2HHCKf0","BxrTnw5KrZbUzw5preS1m3nh","vhjLt1q","ode4nJm2zhHTthnP","BxrQuNPoBNPfsZG","xZb4ndK2ngu4","rLjzsLC","BNrTmM10DMXZEermCKXl","mJi3odi2nhLdqw9zzG"];return(a4_0x1b57=function(){return r})()}function a5_0x10f6(r){var n=446,t=468,u=473,e=421,a=453,o=414,f=436,x=465,i=a4_0x697d,c={UwIBb:i(462),HlrYy:function(r,n){return r+n},nmvPb:function(r,n){return r%n},Ccqfk:function(r,n){return r&n},cydVA:function(r,n){return r*n},twdfw:i(n),Xxkbk:i(425),LLciB:function(r,n){return r<n},qKhEf:function(r,n){return r+n},VHtEy:"toString",Lpvwk:function(r,n){return r(n)},AAaLM:function(r,n){return r-n},tqWdf:function(r){return r()},YFnXb:i(441),FRYJW:function(r,n){return r+n}};r=c[i(t)](r,173);var v=c[i(466)](a5_0x4b4b),_=v[r];if(void 0===a5_0x10f6[i(u)]){a5_0x10f6.ynMErA=function(r){for(var n,t,u=a4_0x697d,e=c[u(456)],i="",v="",_=0,d=0;t=r[u(426)](d++);~t&&(n=_%4?c.HlrYy(64*n,t):t,c[u(420)](_++,4))?i+=String.fromCharCode(255&n>>c[u(a)](c[u(o)](-2,_),6)):0)t=e[c.twdfw](t);for(var s=0,b=i[c[u(437)]];c[u(438)](s,b);s++)v+="%"+c[u(f)]("00",i[u(463)](s)[c.VHtEy](16))[u(x)](-2);return c[u(443)](decodeURIComponent,v)},a5_0x10f6[c[i(e)]]={},a5_0x10f6.IBUnhO=!0}var d=v[0],s=c[i(432)](r,d),b=a5_0x10f6[c[i(421)]][s];return b?_=b:(_=a5_0x10f6.ynMErA(_),a5_0x10f6[c[i(421)]][s]=_),_}!function(){for(var r=429,n=424,t=464,u=423,e=440,a=434,o=a4_0x697d,f=a4_0x1b57();;)try{if(618576===-parseInt(o(r))/1+-parseInt(o(n))/2*(-parseInt(o(451))/3)+-parseInt(o(t))/4+parseInt(o(449))/5*(-parseInt(o(u))/6)+-parseInt(o(e))/7+-parseInt(o(a))/8+parseInt(o(450))/9*(parseInt(o(416))/10))break;f.push(f.shift())}catch(r){f.push(f.shift())}}();var a5_0x4b259d=a5_0x10f6;function a4_0x697d(r){r-=410;var n=a4_0x1b57(),t=n[r];if(void 0===a4_0x697d.LxwUMr){a4_0x697d.uYgBRS=function(r){for(var n,t,u="",e="",a=0,o=0;t=r.charAt(o++);~t&&(n=a%4?64*n+t:t,a++%4)?u+=String.fromCharCode(255&n>>(-2*a&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(var f=0,x=u.length;f<x;f++)e+="%"+("00"+u.charCodeAt(f).toString(16)).slice(-2);return decodeURIComponent(e)},a4_0x697d.GcRcjh={},a4_0x697d.LxwUMr=!0}var u=r+n[0],e=a4_0x697d.GcRcjh[u];return e?t=e:(t=a4_0x697d.uYgBRS(t),a4_0x697d.GcRcjh[u]=t),t}function a5_0x4b4b(){var r=430,n=415,t=410,u=469,e=444,a=418,o=433,f=a4_0x697d,x={AoNjd:"x19LC01VzhvSzq",PrLxW:f(427),kPAqk:"mtiXodG3otb3s1r4CNa",BYcfZ:f(452),EDDSk:f(445),EyOZj:f(454),EUWft:f(r),fLcWF:"mJmZnJq5BvHnqLLY",JhPFR:f(459),DgYOl:function(r){return r()}},i=[x.AoNjd,x[f(461)],x[f(n)],x[f(457)],f(t),x[f(u)],x.EyOZj,f(e),x[f(412)],x[f(458)],x[f(a)],f(o)];return a5_0x4b4b=function(){return i},x[f(417)](a5_0x4b4b)}function ok(r){return{ok:!0,value:r}}function err(r){return{ok:!1,error:r}}(function(r){for(var n=428,t=448,u=411,e=447,a=428,o=413,f=467,x=470,i=472,c=435,v=455,_=a4_0x697d,d={vKxOy:function(r,n){return r+n},cibgh:function(r,n){return r+n},QuOBA:function(r,n){return r+n},GXFqo:function(r,n){return r+n},Fnvic:function(r,n){return r(n)},TreOT:function(r,n){return r/n},fWOHF:function(r,n){return r(n)},NLXao:function(r,n){return r(n)},PKeVz:function(r,n){return r(n)},mLVGN:function(r,n){return r/n},ovuaH:function(r,n){return r(n)},ljtXc:function(r,n){return r/n},GFSoN:_(455),KiUzm:"push"},s={_0x4964e8:180,_0x1bb47c:175,_0x196e75:182,_0x1a173a:173},b=a5_0x10f6,E=r();;)try{if(525877===d[_(460)](d.cibgh(d[_(442)](d[_(419)](-d.Fnvic(parseInt,b(s[_(431)]))/1,d[_(n)](parseInt(b(s[_(t)])),2))+d[_(471)](parseInt,d.fWOHF(b,184))/3,-d.NLXao(parseInt,d[_(u)](b,181))/4),-parseInt(b(s[_(e)]))/5*d[_(a)](parseInt(d[_(471)](b,179)),6))+-d.PKeVz(parseInt,d[_(o)](b,176))/7*d.mLVGN(d[_(f)](parseInt,d.NLXao(b,178)),8),d[_(x)](d[_(i)](parseInt,b(s[_(c)])),9)))break;E.push(E[d.GFSoN]())}catch(r){E[d[_(422)]](E[_(v)]())}})(a5_0x4b4b),Object[a5_0x4b259d(174)](exports,a5_0x4b259d(183),{value:!0}),exports[a5_0x4b259d(177)]=void 0,exports.ok=ok,exports.err=err,exports[a4_0x1b256b(439)]={MESSAGE_BODY:1,ATTACHMENT:2,SENDER_ID:3,TIMESTAMP:4,MESSAGE_UUID:5,SHARE_INDEX:6,TOTAL_SHARES:7,THRESHOLD:8,HMAC_KEY:9,HMAC_SIGNATURE:10,CONTENT_TYPE:11,MESSAGE_SUBJECT:12,SENDER_EMAIL:13};
|
|
@@ -1,244 +1 @@
|
|
|
1
|
-
const
|
|
2
|
-
(function (_0x1fa1bd, _0x51f298) {
|
|
3
|
-
const a7_0x44d331 = {
|
|
4
|
-
_0x4f0eeb: 0x1df,
|
|
5
|
-
_0x1d4b1d: 0x1d4,
|
|
6
|
-
_0x299116: 0x1ea,
|
|
7
|
-
_0x4aea7d: 0x1db,
|
|
8
|
-
_0x54b052: 0x1cd
|
|
9
|
-
}, _0x1b5800 = a7_0x2fef, _0x25e409 = _0x1fa1bd();
|
|
10
|
-
while (!![]) {
|
|
11
|
-
try {
|
|
12
|
-
const _0x341f1f = -parseInt(_0x1b5800(0x1ce)) / 0x1 * (parseInt(_0x1b5800(0x1e1)) / 0x2) + -parseInt(_0x1b5800(a7_0x44d331._0x4f0eeb)) / 0x3 * (-parseInt(_0x1b5800(a7_0x44d331._0x1d4b1d)) / 0x4) + -parseInt(_0x1b5800(0x1e7)) / 0x5 + parseInt(_0x1b5800(0x1eb)) / 0x6 * (-parseInt(_0x1b5800(0x1c7)) / 0x7) + -parseInt(_0x1b5800(a7_0x44d331._0x299116)) / 0x8 + -parseInt(_0x1b5800(a7_0x44d331._0x4aea7d)) / 0x9 * (-parseInt(_0x1b5800(a7_0x44d331._0x54b052)) / 0xa) + parseInt(_0x1b5800(0x1e4)) / 0xb;
|
|
13
|
-
if (_0x341f1f === _0x51f298)
|
|
14
|
-
break;
|
|
15
|
-
else
|
|
16
|
-
_0x25e409['push'](_0x25e409['shift']());
|
|
17
|
-
} catch (_0x462a2f) {
|
|
18
|
-
_0x25e409['push'](_0x25e409['shift']());
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}(a7_0xe458, 0x4ac0d));
|
|
22
|
-
const DOC_BASE = a7_0x237bf1(0x1ca);
|
|
23
|
-
export class SharedError extends Error {
|
|
24
|
-
[a7_0x237bf1(0x1d0)];
|
|
25
|
-
['subCode'];
|
|
26
|
-
['docUrl'];
|
|
27
|
-
constructor(_0x4095a1, _0x4892f5, _0x28fd4d) {
|
|
28
|
-
const a7_0x5df0e3 = {
|
|
29
|
-
_0x359b1b: 0x1e6,
|
|
30
|
-
_0x3ab965: 0x1d2,
|
|
31
|
-
_0x422fad: 0x1c6,
|
|
32
|
-
_0x3615e1: 0x1ec,
|
|
33
|
-
_0x59c0ab: 0x1ed,
|
|
34
|
-
_0x2003a6: 0x1e8
|
|
35
|
-
}, _0x5cd48e = a7_0x2fef;
|
|
36
|
-
super(_0x4892f5), this[_0x5cd48e(a7_0x5df0e3._0x359b1b)] = _0x5cd48e(a7_0x5df0e3._0x3ab965);
|
|
37
|
-
const _0x278600 = _0x4095a1[_0x5cd48e(a7_0x5df0e3._0x422fad)](':');
|
|
38
|
-
this[_0x5cd48e(0x1d0)] = _0x278600[0x0] ?? _0x4095a1, this['subCode'] = _0x278600[_0x5cd48e(a7_0x5df0e3._0x3615e1)] > 0x1 ? _0x278600[_0x5cd48e(0x1c9)](0x1)[_0x5cd48e(a7_0x5df0e3._0x59c0ab)](':') : undefined, this[_0x5cd48e(a7_0x5df0e3._0x2003a6)] = _0x28fd4d;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export class SharedTypeError extends SharedError {
|
|
42
|
-
constructor(_0x260af6, _0x455fcd) {
|
|
43
|
-
const a7_0x34ee3f = { _0x1e4f20: 0x1e6 }, _0x4a8075 = a7_0x2fef;
|
|
44
|
-
super(_0x260af6, _0x455fcd, DOC_BASE + '#types'), this[_0x4a8075(a7_0x34ee3f._0x1e4f20)] = _0x4a8075(0x1c8);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export class SharedResultError extends SharedError {
|
|
48
|
-
constructor(_0x7de6d1, _0x1600c9) {
|
|
49
|
-
const a7_0x5abab4 = {
|
|
50
|
-
_0x51e552: 0x1dc,
|
|
51
|
-
_0x41b970: 0x1e6,
|
|
52
|
-
_0x8e9214: 0x1d6
|
|
53
|
-
}, _0x52301e = a7_0x2fef;
|
|
54
|
-
super(_0x7de6d1, _0x1600c9, DOC_BASE + _0x52301e(a7_0x5abab4._0x51e552)), this[_0x52301e(a7_0x5abab4._0x41b970)] = _0x52301e(a7_0x5abab4._0x8e9214);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export class SharedTlvError extends SharedError {
|
|
58
|
-
constructor(_0x4b552a, _0x10cc87) {
|
|
59
|
-
const a7_0x262c64 = { _0x35e84c: 0x1cb }, _0x14e586 = a7_0x2fef, _0x586a20 = { 'nBtwy': _0x14e586(0x1e9) };
|
|
60
|
-
super(_0x4b552a, _0x10cc87, DOC_BASE + _0x14e586(0x1e0)), this[_0x14e586(0x1e6)] = _0x586a20[_0x14e586(a7_0x262c64._0x35e84c)];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export const ERROR_MESSAGES = {
|
|
64
|
-
'INVALID_PROVIDER': a7_0x237bf1(0x1ef),
|
|
65
|
-
'INVALID_SECURITY_TIER': 'Invalid\x20security\x20tier\x20(must\x20be\x20blue\x20or\x20green)',
|
|
66
|
-
'INVALID_CONTENT_TYPE': 'Invalid\x20content\x20type\x20(must\x20be\x20text/plain\x20or\x20text/html)',
|
|
67
|
-
'INVALID_MESSAGE_TYPE': a7_0x237bf1(0x1cf),
|
|
68
|
-
'INVALID_TLV_TYPE': a7_0x237bf1(0x1d3),
|
|
69
|
-
'INVALID_RESULT': a7_0x237bf1(0x1c5),
|
|
70
|
-
'MISSING_VALUE': 'Result\x20marked\x20as\x20ok\x20but\x20value\x20is\x20missing',
|
|
71
|
-
'MISSING_ERROR': a7_0x237bf1(0x1e2),
|
|
72
|
-
'INVALID_CHANNEL_ADDRESS': a7_0x237bf1(0x1cc),
|
|
73
|
-
'INVALID_CONTACT_INFO': 'Contact\x20info\x20is\x20missing\x20required\x20fields',
|
|
74
|
-
'INVALID_ATTACHMENT': a7_0x237bf1(0x1de)
|
|
75
|
-
};
|
|
76
|
-
export const ERROR_DETAILS = {
|
|
77
|
-
'INVALID_PROVIDER': {
|
|
78
|
-
'message': a7_0x237bf1(0x1d7),
|
|
79
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
80
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
81
|
-
'http': 0x190,
|
|
82
|
-
'severity': a7_0x237bf1(0x1e3)
|
|
83
|
-
},
|
|
84
|
-
'INVALID_SECURITY_TIER': {
|
|
85
|
-
'message': a7_0x237bf1(0x1e5),
|
|
86
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
87
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
88
|
-
'http': 0x190,
|
|
89
|
-
'severity': a7_0x237bf1(0x1d1)
|
|
90
|
-
},
|
|
91
|
-
'INVALID_CONTENT_TYPE': {
|
|
92
|
-
'message': 'Content\x20type\x20must\x20be\x20text/plain\x20or\x20text/html\x20for\x20message\x20bodies.',
|
|
93
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
94
|
-
'grpc': 'INVALID_ARGUMENT',
|
|
95
|
-
'http': 0x190,
|
|
96
|
-
'severity': a7_0x237bf1(0x1d1)
|
|
97
|
-
},
|
|
98
|
-
'INVALID_MESSAGE_TYPE': {
|
|
99
|
-
'message': 'Message\x20type\x20must\x20be\x20regular\x20(unsecured)\x20or\x20secure\x20(split-channel).',
|
|
100
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
101
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
102
|
-
'http': 0x190,
|
|
103
|
-
'severity': a7_0x237bf1(0x1e3)
|
|
104
|
-
},
|
|
105
|
-
'INVALID_TLV_TYPE': {
|
|
106
|
-
'message': a7_0x237bf1(0x1da),
|
|
107
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
108
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
109
|
-
'http': 0x190,
|
|
110
|
-
'severity': 'medium'
|
|
111
|
-
},
|
|
112
|
-
'INVALID_RESULT': {
|
|
113
|
-
'message': 'Result\x20object\x20must\x20have\x20exactly\x20one\x20of:\x20{ok:\x20true,\x20value:\x20T}\x20or\x20{ok:\x20false,\x20error:\x20E}.',
|
|
114
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
115
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
116
|
-
'http': 0x190,
|
|
117
|
-
'severity': a7_0x237bf1(0x1e3)
|
|
118
|
-
},
|
|
119
|
-
'MISSING_VALUE': {
|
|
120
|
-
'message': 'Result.ok\x20is\x20true\x20but\x20Result.value\x20is\x20undefined.\x20Use\x20ok(value)\x20constructor.',
|
|
121
|
-
'aws': 'InvalidParameterValue',
|
|
122
|
-
'grpc': 'INVALID_ARGUMENT',
|
|
123
|
-
'http': 0x190,
|
|
124
|
-
'severity': a7_0x237bf1(0x1e3)
|
|
125
|
-
},
|
|
126
|
-
'MISSING_ERROR': {
|
|
127
|
-
'message': a7_0x237bf1(0x1d5),
|
|
128
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
129
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
130
|
-
'http': 0x190,
|
|
131
|
-
'severity': 'high'
|
|
132
|
-
},
|
|
133
|
-
'INVALID_CHANNEL_ADDRESS': {
|
|
134
|
-
'message': a7_0x237bf1(0x1c4),
|
|
135
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
136
|
-
'grpc': 'INVALID_ARGUMENT',
|
|
137
|
-
'http': 0x190,
|
|
138
|
-
'severity': 'high'
|
|
139
|
-
},
|
|
140
|
-
'INVALID_CONTACT_INFO': {
|
|
141
|
-
'message': 'ContactInfo\x20must\x20have\x20name,\x20channels\x20array,\x20and\x20valid\x20securityTier.',
|
|
142
|
-
'aws': a7_0x237bf1(0x1d8),
|
|
143
|
-
'grpc': a7_0x237bf1(0x1d9),
|
|
144
|
-
'http': 0x190,
|
|
145
|
-
'severity': a7_0x237bf1(0x1e3)
|
|
146
|
-
},
|
|
147
|
-
'INVALID_ATTACHMENT': {
|
|
148
|
-
'message': a7_0x237bf1(0x1dd),
|
|
149
|
-
'aws': 'InvalidParameterValue',
|
|
150
|
-
'grpc': 'INVALID_ARGUMENT',
|
|
151
|
-
'http': 0x190,
|
|
152
|
-
'severity': a7_0x237bf1(0x1d1)
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
export function toSharedError(_0x2ca276) {
|
|
156
|
-
const a7_0x7f6291 = { _0x5ea3fd: 0x1f0 }, _0x1a156a = a7_0x2fef, _0xebb89f = { 'mHMZB': 'INVALID_RESULT' };
|
|
157
|
-
if (_0x2ca276 instanceof SharedError)
|
|
158
|
-
return _0x2ca276;
|
|
159
|
-
if (_0x2ca276 instanceof Error)
|
|
160
|
-
return new SharedError(_0xebb89f[_0x1a156a(a7_0x7f6291._0x5ea3fd)], _0x2ca276[_0x1a156a(0x1ee)]);
|
|
161
|
-
return new SharedError(_0xebb89f['mHMZB'], String(_0x2ca276));
|
|
162
|
-
}
|
|
163
|
-
export function isSharedError(_0x42005e) {
|
|
164
|
-
const _0x5885cc = {
|
|
165
|
-
'RzhGe': function (_0x7901cd, _0x3113dc) {
|
|
166
|
-
return _0x7901cd instanceof _0x3113dc;
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
return _0x5885cc['RzhGe'](_0x42005e, SharedError);
|
|
170
|
-
}
|
|
171
|
-
function a7_0x2fef(_0x20973a, _0x2de3b8) {
|
|
172
|
-
_0x20973a = _0x20973a - 0x1c4;
|
|
173
|
-
const _0xe45804 = a7_0xe458();
|
|
174
|
-
let _0x2fefda = _0xe45804[_0x20973a];
|
|
175
|
-
if (a7_0x2fef['JnXOHC'] === undefined) {
|
|
176
|
-
var _0xf6d8d5 = function (_0x19c373) {
|
|
177
|
-
const _0x4e1032 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
178
|
-
let _0x449560 = '', _0x407c7c = '';
|
|
179
|
-
for (let _0x1a8b51 = 0x0, _0x3ce659, _0x318e3e, _0x3f4b8d = 0x0; _0x318e3e = _0x19c373['charAt'](_0x3f4b8d++); ~_0x318e3e && (_0x3ce659 = _0x1a8b51 % 0x4 ? _0x3ce659 * 0x40 + _0x318e3e : _0x318e3e, _0x1a8b51++ % 0x4) ? _0x449560 += String['fromCharCode'](0xff & _0x3ce659 >> (-0x2 * _0x1a8b51 & 0x6)) : 0x0) {
|
|
180
|
-
_0x318e3e = _0x4e1032['indexOf'](_0x318e3e);
|
|
181
|
-
}
|
|
182
|
-
for (let _0x5adf79 = 0x0, _0x5629b0 = _0x449560['length']; _0x5adf79 < _0x5629b0; _0x5adf79++) {
|
|
183
|
-
_0x407c7c += '%' + ('00' + _0x449560['charCodeAt'](_0x5adf79)['toString'](0x10))['slice'](-0x2);
|
|
184
|
-
}
|
|
185
|
-
return decodeURIComponent(_0x407c7c);
|
|
186
|
-
};
|
|
187
|
-
a7_0x2fef['LXWqsq'] = _0xf6d8d5, a7_0x2fef['MwTjQQ'] = {}, a7_0x2fef['JnXOHC'] = !![];
|
|
188
|
-
}
|
|
189
|
-
const _0x58d1d5 = _0xe45804[0x0], _0x1b1f4f = _0x20973a + _0x58d1d5, _0x4e2c86 = a7_0x2fef['MwTjQQ'][_0x1b1f4f];
|
|
190
|
-
return !_0x4e2c86 ? (_0x2fefda = a7_0x2fef['LXWqsq'](_0x2fefda), a7_0x2fef['MwTjQQ'][_0x1b1f4f] = _0x2fefda) : _0x2fefda = _0x4e2c86, _0x2fefda;
|
|
191
|
-
}
|
|
192
|
-
function a7_0xe458() {
|
|
193
|
-
const _0x439310 = [
|
|
194
|
-
'AM9PBG',
|
|
195
|
-
'BwvZC2fNzq',
|
|
196
|
-
'sw52ywXPzcbLBwfPBcbWCM92AwrLCIaOBxvZDcbIzsbNBwfPBcWGB3v0Bg9VAYWGB3iGEwfOB28P',
|
|
197
|
-
'BuHnwKi',
|
|
198
|
-
'q2HHBM5LBefKzhjLC3mGBxvZDcbOyxzLigjVDgGGChjVDMLKzxiGyw5KigvTywLSigzPzwXKCY4',
|
|
199
|
-
'uMvZDwX0ig9IAMvJDcbPCYbTywXMB3jTzwq',
|
|
200
|
-
'C3bSAxq',
|
|
201
|
-
'mJu4m1PZvhHjrq',
|
|
202
|
-
'u2HHCMvKvhLWzuvYCM9Y',
|
|
203
|
-
'C2XPy2u',
|
|
204
|
-
'Ahr0Chm6lY9WCML2yxrLlM1Ll2rVy3mVCgfJA2fNzxmVC2HHCMvK',
|
|
205
|
-
'BKj0D3K',
|
|
206
|
-
'q2HHBM5LBcbHzgrYzxnZigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ',
|
|
207
|
-
'ntGWuNjjzeLf',
|
|
208
|
-
'odu2nZjfwwDsBNu',
|
|
209
|
-
'sw52ywXPzcbTzxnZywDLihr5CguGkg11C3qGyMuGCMvNDwXHCIbVCIbZzwn1CMuP',
|
|
210
|
-
'y29Kzq',
|
|
211
|
-
'BwvKAxvT',
|
|
212
|
-
'u2HHCMvKrxjYB3i',
|
|
213
|
-
'sw52ywXPzcbutfyGDhLWzsbJB2rL',
|
|
214
|
-
'nefst3DlzG',
|
|
215
|
-
'uMvZDwX0lM9RigLZigzHBhnLigj1Dcbszxn1BhqUzxjYB3iGAxmGDw5KzwzPBMvKlIbvC2uGzxjYkgvYCM9YksbJB25ZDhj1y3rVCI4',
|
|
216
|
-
'u2HHCMvKuMvZDwX0rxjYB3i',
|
|
217
|
-
'rw1HAwWGChjVDMLKzxiGBxvZDcbIzsbVBMuGB2y6igDTywLSlcbVDxrSB29Rlcb5ywHVBY4Gq2HLy2SGDgHLifbYB3zPzgvYihr5CguGzgvMAw5PDgLVBI4',
|
|
218
|
-
'sw52ywXPzfbHCMfTzxrLCLzHBhvL',
|
|
219
|
-
'su5wquXjrf9buKDvtuvova',
|
|
220
|
-
'veXwihr5CguGy29KzsbPCYbUB3qGCMvJB2DUAxPLzc4Gq2HLy2SGveXwx1rzueuGy29UC3rHBNqGzM9YihzHBgLKihzHBhvLCY4',
|
|
221
|
-
'nZGXndDdCxzTvxq',
|
|
222
|
-
'i3jLC3vSDc1Wyxr0zxjU',
|
|
223
|
-
'qxr0ywnOBwvUDcbTDxn0igHHDMuGzMLSzw5HBwuSig1PBwvuExbLlcbHBMqGzgf0ysaOvwLUDdHbCNjHEsKU',
|
|
224
|
-
'qxr0ywnOBwvUDcbPCYbTAxnZAw5NihjLCxvPCMvKigzPzwXKCW',
|
|
225
|
-
'mteYmdKZmKvuDKrAEa',
|
|
226
|
-
'i3rSDG',
|
|
227
|
-
'mtjhy2zWwLa',
|
|
228
|
-
'uMvZDwX0ig1HCMTLzcbHCYbMywLSzwqGyNv0igvYCM9YigLZig1PC3nPBMC',
|
|
229
|
-
'AgLNAa',
|
|
230
|
-
'mJC3ntm4ogLkAuDnBa',
|
|
231
|
-
'u2vJDxjPDhKGDgLLCIbTDxn0igjLigjSDwuGkdiGywrKCMvZC2vZksbVCIbNCMvLBIaOmYSGywrKCMvZC2vZks4GvxnLig51BgWGzM9YihjLz3vSyxiGzw1HAwWU',
|
|
232
|
-
'BMfTzq',
|
|
233
|
-
'nJaXnJu1CKXzCvbp',
|
|
234
|
-
'zg9JvxjS',
|
|
235
|
-
'u2HHCMvKvgX2rxjYB3i',
|
|
236
|
-
'mtm1nty1nMvwzgzczW',
|
|
237
|
-
'mZe4rwrVA2vi',
|
|
238
|
-
'BgvUz3rO'
|
|
239
|
-
];
|
|
240
|
-
a7_0xe458 = function () {
|
|
241
|
-
return _0x439310;
|
|
242
|
-
};
|
|
243
|
-
return a7_0xe458();
|
|
244
|
-
}
|
|
1
|
+
const a7_0x4d0dd8=a7_0x15e3;!function(){const r=506,e=538,d=509,a=a7_0x15e3,s=a7_0x5e84();for(;;)try{if(205244===-parseInt(a(536))/1+parseInt(a(539))/2+parseInt(a(r))/3+-parseInt(a(529))/4+-parseInt(a(514))/5*(-parseInt(a(537))/6)+parseInt(a(e))/7*(-parseInt(a(d))/8)+parseInt(a(533))/9)break;s.push(s.shift())}catch(r){s.push(s.shift())}}();const DOC_BASE=a7_0x4d0dd8(499);export class SharedError extends Error{[a7_0x4d0dd8(535)];[a7_0x4d0dd8(525)];[a7_0x4d0dd8(518)];constructor(r,e,d){const a=531,s=518,t=a7_0x15e3;super(e),this[t(503)]=t(505);const x=r.split(":");this[t(535)]=x[0]??r,this.subCode=x[t(524)]>1?x[t(515)](1)[t(a)](":"):void 0,this[t(s)]=d}}export class SharedTypeError extends SharedError{constructor(r,e){const d=503,a=532,s=a7_0x15e3;super(r,e,DOC_BASE+s(543)),this[s(d)]=s(a)}}export class SharedResultError extends SharedError{constructor(r,e){const d=513,a=a7_0x15e3,s={okrPk:a(504)};super(r,e,DOC_BASE+a(d)),this.name=s[a(526)]}}export class SharedTlvError extends SharedError{constructor(r,e){const d=503,a=502,s=a7_0x15e3,t={xzXhG:s(527)};super(r,e,DOC_BASE+s(522)),this[s(d)]=t[s(a)]}}function a7_0x15e3(r){r-=499;const e=a7_0x5e84();let d=e[r];if(void 0===a7_0x15e3.okImxq){a7_0x15e3.VgRQnA=function(r){let e="",d="";for(let d,a,s=0,t=0;a=r.charAt(t++);~a&&(d=s%4?64*d+a:a,s++%4)?e+=String.fromCharCode(255&d>>(-2*s&6)):0)a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(a);for(let r=0,a=e.length;r<a;r++)d+="%"+("00"+e.charCodeAt(r).toString(16)).slice(-2);return decodeURIComponent(d)},a7_0x15e3.fmvUgi={},a7_0x15e3.okImxq=!0}const a=r+e[0],s=a7_0x15e3.fmvUgi[a];return s?d=s:(d=a7_0x15e3.VgRQnA(d),a7_0x15e3.fmvUgi[a]=d),d}export const ERROR_MESSAGES={INVALID_PROVIDER:"Invalid email provider (must be gmail, outlook, or yahoo)",INVALID_SECURITY_TIER:a7_0x4d0dd8(508),INVALID_CONTENT_TYPE:a7_0x4d0dd8(501),INVALID_MESSAGE_TYPE:"Invalid message type (must be regular or secure)",INVALID_TLV_TYPE:a7_0x4d0dd8(530),INVALID_RESULT:a7_0x4d0dd8(542),MISSING_VALUE:"Result marked as ok but value is missing",MISSING_ERROR:"Result marked as failed but error is missing",INVALID_CHANNEL_ADDRESS:a7_0x4d0dd8(520),INVALID_CONTACT_INFO:"Contact info is missing required fields",INVALID_ATTACHMENT:a7_0x4d0dd8(521)};export const ERROR_DETAILS={INVALID_PROVIDER:{message:a7_0x4d0dd8(519),aws:"InvalidParameterValue",grpc:"INVALID_ARGUMENT",http:400,severity:a7_0x4d0dd8(517)},INVALID_SECURITY_TIER:{message:a7_0x4d0dd8(528),aws:a7_0x4d0dd8(500),grpc:a7_0x4d0dd8(545),http:400,severity:a7_0x4d0dd8(544)},INVALID_CONTENT_TYPE:{message:a7_0x4d0dd8(541),aws:a7_0x4d0dd8(500),grpc:"INVALID_ARGUMENT",http:400,severity:a7_0x4d0dd8(544)},INVALID_MESSAGE_TYPE:{message:"Message type must be regular (unsecured) or secure (split-channel).",aws:a7_0x4d0dd8(500),grpc:a7_0x4d0dd8(545),http:400,severity:a7_0x4d0dd8(517)},INVALID_TLV_TYPE:{message:a7_0x4d0dd8(510),aws:a7_0x4d0dd8(500),grpc:"INVALID_ARGUMENT",http:400,severity:a7_0x4d0dd8(544)},INVALID_RESULT:{message:"Result object must have exactly one of: {ok: true, value: T} or {ok: false, error: E}.",aws:"InvalidParameterValue",grpc:a7_0x4d0dd8(545),http:400,severity:a7_0x4d0dd8(517)},MISSING_VALUE:{message:a7_0x4d0dd8(540),aws:a7_0x4d0dd8(500),grpc:a7_0x4d0dd8(545),http:400,severity:"high"},MISSING_ERROR:{message:a7_0x4d0dd8(507),aws:"InvalidParameterValue",grpc:a7_0x4d0dd8(545),http:400,severity:a7_0x4d0dd8(517)},INVALID_CHANNEL_ADDRESS:{message:a7_0x4d0dd8(523),aws:a7_0x4d0dd8(500),grpc:a7_0x4d0dd8(545),http:400,severity:a7_0x4d0dd8(517)},INVALID_CONTACT_INFO:{message:a7_0x4d0dd8(534),aws:a7_0x4d0dd8(500),grpc:a7_0x4d0dd8(545),http:400,severity:"high"},INVALID_ATTACHMENT:{message:a7_0x4d0dd8(511),aws:a7_0x4d0dd8(500),grpc:a7_0x4d0dd8(545),http:400,severity:a7_0x4d0dd8(544)}};export function toSharedError(r){const e=a7_0x15e3;return r instanceof SharedError?r:r instanceof Error?new SharedError("INVALID_RESULT",r[e(512)]):new SharedError(e(516),String(r))}function a7_0x5e84(){const r=["C3vIq29Kzq","B2TYugS","u2HHCMvKvgX2rxjYB3i","u2vJDxjPDhKGDgLLCIbTDxn0igjLigjSDwuGkdiGywrKCMvZC2vZksbVCIbNCMvLBIaOmYSGywrKCMvZC2vZks4GvxnLig51BgWGzM9YihjLz3vSyxiGzw1HAwWU","mtq1ntCXnMzpsenzAW","sw52ywXPzcbutfyGDhLWzsbJB2rL","AM9PBG","u2HHCMvKvhLWzuvYCM9Y","mZiWnJm0ovbHug9qCq","q29UDgfJDeLUzM8GBxvZDcbOyxzLig5HBwuSignOyw5UzwXZigfYCMf5lcbHBMqGDMfSAwqGC2vJDxjPDhLuAwvYlG","y29Kzq","mtq1mJy4su5UzwPR","mtyWnJjAAKL0wLm","mJe3mtmZwNnkAhbt","nJe3mZe4t3DHtLjq","uMvZDwX0lM9RigLZihrYDwuGyNv0ifjLC3vSDc52ywX1zsbPCYb1BMrLzMLUzwqUifvZzsbVAYH2ywX1zsKGy29UC3rYDwn0B3iU","q29UDgvUDcb0ExbLig11C3qGyMuGDgv4Dc9WBgfPBIbVCIb0zxH0l2H0BwWGzM9Yig1LC3nHz2uGyM9KAwvZlG","uMvZDwX0ig9IAMvJDcbPCYbTywXMB3jTzwq","i3r5CgvZ","BwvKAxvT","su5wquXjrf9buKDvtuvova","Ahr0Chm6lY9WCML2yxrLlM1Ll2rVy3mVCgfJA2fNzxmVC2HHCMvK","sw52ywXPzfbHCMfTzxrLCLzHBhvL","sw52ywXPzcbJB250zw50ihr5CguGkg11C3qGyMuGDgv4Dc9WBgfPBIbVCIb0zxH0l2H0BwWP","EhPyAeC","BMfTzq","u2HHCMvKuMvZDwX0rxjYB3i","u2HHCMvKrxjYB3i","mZq0mta5sNfytg5c","uMvZDwX0lM9RigLZigzHBhnLigj1Dcbszxn1BhqUzxjYB3iGAxmGDw5KzwzPBMvKlIbvC2uGzxjYkgvYCM9YksbJB25ZDhj1y3rVCI4","sw52ywXPzcbZzwn1CML0Esb0AwvYicHTDxn0igjLigjSDwuGB3iGz3jLzw4P","mZjQtNLHvwu","veXwihr5CguGy29KzsbPCYbUB3qGCMvJB2DUAxPLzc4Gq2HLy2SGveXwx1rzueuGy29UC3rHBNqGzM9YihzHBgLKihzHBhvLCY4","qxr0ywnOBwvUDcbTDxn0igHHDMuGzMLSzw5HBwuSig1PBwvuExbLlcbHBMqGzgf0ysaOvwLUDdHbCNjHEsKU","BwvZC2fNzq","i3jLC3vSDc1Wyxr0zxjU","mteWyuz3DMDe","C2XPy2u","su5wquXjrf9srvnvtfq","AgLNAa","zg9JvxjS","rw1HAwWGChjVDMLKzxiGBxvZDcbIzsbVBMuGB2y6igDTywLSlcbVDxrSB29Rlcb5ywHVBY4Gq2HLy2SGDgHLifbYB3zPzgvYihr5CguGzgvMAw5PDgLVBI4","q2HHBM5LBcbHzgrYzxnZigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ","qxr0ywnOBwvUDcbPCYbTAxnZAw5NihjLCxvPCMvKigzPzwXKCW","i3rSDG","q2HHBM5LBefKzhjLC3mGBxvZDcbOyxzLigjVDgGGChjVDMLKzxiGyw5KigvTywLSigzPzwXKCY4","BgvUz3rO"];return(a7_0x5e84=function(){return r})()}export function isSharedError(r){return r instanceof SharedError}
|
|
@@ -1,72 +1 @@
|
|
|
1
|
-
function
|
|
2
|
-
_0x2541da = _0x2541da - 0x179;
|
|
3
|
-
var _0x553b8a = a8_0x553b();
|
|
4
|
-
var _0x2b52e7 = _0x553b8a[_0x2541da];
|
|
5
|
-
if (a8_0x2b52['YTnYDp'] === undefined) {
|
|
6
|
-
var _0x59f90d = function (_0x5647d8) {
|
|
7
|
-
var _0x5ba4b2 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
8
|
-
var _0xa942b1 = '', _0x2e84e4 = '';
|
|
9
|
-
for (var _0x1b0bfd = 0x0, _0x4d7f4b, _0x1721eb, _0xf33e8 = 0x0; _0x1721eb = _0x5647d8['charAt'](_0xf33e8++); ~_0x1721eb && (_0x4d7f4b = _0x1b0bfd % 0x4 ? _0x4d7f4b * 0x40 + _0x1721eb : _0x1721eb, _0x1b0bfd++ % 0x4) ? _0xa942b1 += String['fromCharCode'](0xff & _0x4d7f4b >> (-0x2 * _0x1b0bfd & 0x6)) : 0x0) {
|
|
10
|
-
_0x1721eb = _0x5ba4b2['indexOf'](_0x1721eb);
|
|
11
|
-
}
|
|
12
|
-
for (var _0x804726 = 0x0, _0x252c19 = _0xa942b1['length']; _0x804726 < _0x252c19; _0x804726++) {
|
|
13
|
-
_0x2e84e4 += '%' + ('00' + _0xa942b1['charCodeAt'](_0x804726)['toString'](0x10))['slice'](-0x2);
|
|
14
|
-
}
|
|
15
|
-
return decodeURIComponent(_0x2e84e4);
|
|
16
|
-
};
|
|
17
|
-
a8_0x2b52['epKHri'] = _0x59f90d, a8_0x2b52['QGYYXg'] = {}, a8_0x2b52['YTnYDp'] = !![];
|
|
18
|
-
}
|
|
19
|
-
var _0x39e0a6 = _0x553b8a[0x0], _0xc1cae0 = _0x2541da + _0x39e0a6, _0x363d59 = a8_0x2b52['QGYYXg'][_0xc1cae0];
|
|
20
|
-
return !_0x363d59 ? (_0x2b52e7 = a8_0x2b52['epKHri'](_0x2b52e7), a8_0x2b52['QGYYXg'][_0xc1cae0] = _0x2b52e7) : _0x2b52e7 = _0x363d59, _0x2b52e7;
|
|
21
|
-
}
|
|
22
|
-
(function (_0x6978c8, _0x493f9f) {
|
|
23
|
-
var a8_0x2cccc0 = {
|
|
24
|
-
_0x114450: 0x17b,
|
|
25
|
-
_0x1e5b6d: 0x17d,
|
|
26
|
-
_0x5c1d1b: 0x17c,
|
|
27
|
-
_0x51feb7: 0x179,
|
|
28
|
-
_0x1e87c5: 0x17a,
|
|
29
|
-
_0x2e167b: 0x17f
|
|
30
|
-
}, _0xd6f6d2 = a8_0x2b52, _0x4faeff = _0x6978c8();
|
|
31
|
-
while (!![]) {
|
|
32
|
-
try {
|
|
33
|
-
var _0x3fbd7e = -parseInt(_0xd6f6d2(a8_0x2cccc0._0x114450)) / 0x1 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x1e5b6d)) / 0x2 + parseInt(_0xd6f6d2(a8_0x2cccc0._0x5c1d1b)) / 0x3 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x51feb7)) / 0x4 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x1e87c5)) / 0x5 + -parseInt(_0xd6f6d2(a8_0x2cccc0._0x2e167b)) / 0x6 + parseInt(_0xd6f6d2(0x17e)) / 0x7;
|
|
34
|
-
if (_0x3fbd7e === _0x493f9f)
|
|
35
|
-
break;
|
|
36
|
-
else
|
|
37
|
-
_0x4faeff['push'](_0x4faeff['shift']());
|
|
38
|
-
} catch (_0x3090e5) {
|
|
39
|
-
_0x4faeff['push'](_0x4faeff['shift']());
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}(a8_0x553b, 0x30c4a));
|
|
43
|
-
export {
|
|
44
|
-
ok,
|
|
45
|
-
err,
|
|
46
|
-
TLV_TYPE
|
|
47
|
-
} from './types.js';
|
|
48
|
-
function a8_0x553b() {
|
|
49
|
-
var _0x3be5e = [
|
|
50
|
-
'nZqZnZCZogT4re5SzG',
|
|
51
|
-
'mtK5ndq2mg1uwhjwsa',
|
|
52
|
-
'odiZmdmYteTpwhvw',
|
|
53
|
-
'mtK1odeZnwfnBLrVwq',
|
|
54
|
-
'otC5oev0z1rzyq',
|
|
55
|
-
'nZq5mZe2ufPty05c',
|
|
56
|
-
'mZq1ote4veLQsgvy'
|
|
57
|
-
];
|
|
58
|
-
a8_0x553b = function () {
|
|
59
|
-
return _0x3be5e;
|
|
60
|
-
};
|
|
61
|
-
return a8_0x553b();
|
|
62
|
-
}
|
|
63
|
-
export {
|
|
64
|
-
SharedError,
|
|
65
|
-
SharedTypeError,
|
|
66
|
-
SharedResultError,
|
|
67
|
-
SharedTlvError,
|
|
68
|
-
ERROR_MESSAGES,
|
|
69
|
-
ERROR_DETAILS,
|
|
70
|
-
toSharedError,
|
|
71
|
-
isSharedError
|
|
72
|
-
} from './errors.js';
|
|
1
|
+
function a8_0x57be(){var r=["nZmYntyWCvzOEefc","mZC1otuZn0PLqxzSqq","mte2nJmWA21ICw53","ntq0odi4nfH1rMT1Aa","mZy3otqXn3PbtvLmrG","mtqWotyXmhf0ww5dDG","mJDUBNH0BxK","mJaYmKXYEKfbvq","mtmWnfb1AvHKDa","mtu3m2zPzvv3Da","nwriBe9zwG"];return(a8_0x57be=function(){return r})()}function a8_0x2ee1(r){r-=242;var e=a8_0x57be(),t=e[r];if(void 0===a8_0x2ee1.GjydBx){a8_0x2ee1.UQGFKG=function(r){for(var e,t,a="",n="",o=0,f=0;t=r.charAt(f++);~t&&(e=o%4?64*e+t:t,o++%4)?a+=String.fromCharCode(255&e>>(-2*o&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(var s=0,p=a.length;s<p;s++)n+="%"+("00"+a.charCodeAt(s).toString(16)).slice(-2);return decodeURIComponent(n)},a8_0x2ee1.hkWnfp={},a8_0x2ee1.GjydBx=!0}var a=r+e[0],n=a8_0x2ee1.hkWnfp[a];return n?t=n:(t=a8_0x2ee1.UQGFKG(t),a8_0x2ee1.hkWnfp[a]=t),t}!function(){for(var r=252,e=244,t=245,a=251,n=a8_0x2ee1,o=a8_0x57be();;)try{if(805979===-parseInt(n(242))/1*(parseInt(n(r))/2)+parseInt(n(246))/3+parseInt(n(248))/4*(-parseInt(n(e))/5)+-parseInt(n(250))/6+parseInt(n(249))/7+-parseInt(n(t))/8*(-parseInt(n(a))/9)+parseInt(n(247))/10*(parseInt(n(243))/11))break;o.push(o.shift())}catch(r){o.push(o.shift())}}();export{ok,err,TLV_TYPE}from"./types.js";export{SharedError,SharedTypeError,SharedResultError,SharedTlvError,ERROR_MESSAGES,ERROR_DETAILS,toSharedError,isSharedError}from"./errors.js";
|