@private.me/xbind 1.2.0
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/AGENTS.md +778 -0
- package/LICENSE.md +27 -0
- package/README.md +400 -0
- package/dist-standalone/_deps/crypto/base64.d.ts +29 -0
- package/dist-standalone/_deps/crypto/base64.js +97 -0
- package/dist-standalone/_deps/crypto/cjs/base64.js +103 -0
- package/dist-standalone/_deps/crypto/cjs/errors.js +119 -0
- package/dist-standalone/_deps/crypto/cjs/hmac.js +71 -0
- package/dist-standalone/_deps/crypto/cjs/index.js +86 -0
- package/dist-standalone/_deps/crypto/cjs/padding.js +57 -0
- package/dist-standalone/_deps/crypto/cjs/share-header.js +68 -0
- package/dist-standalone/_deps/crypto/cjs/shares.js +152 -0
- package/dist-standalone/_deps/crypto/cjs/tlv.js +199 -0
- package/dist-standalone/_deps/crypto/cjs/uuid.js +61 -0
- package/dist-standalone/_deps/crypto/cjs/verify.js +24 -0
- package/dist-standalone/_deps/crypto/cjs/xorida.js +221 -0
- package/dist-standalone/_deps/crypto/errors.d.ts +51 -0
- package/dist-standalone/_deps/crypto/errors.js +109 -0
- package/dist-standalone/_deps/crypto/hmac.d.ts +39 -0
- package/dist-standalone/_deps/crypto/hmac.js +66 -0
- package/dist-standalone/_deps/crypto/index.d.ts +20 -0
- package/dist-standalone/_deps/crypto/index.js +45 -0
- package/dist-standalone/_deps/crypto/padding.d.ts +19 -0
- package/dist-standalone/_deps/crypto/padding.js +53 -0
- package/dist-standalone/_deps/crypto/share-header.d.ts +44 -0
- package/dist-standalone/_deps/crypto/share-header.js +63 -0
- package/dist-standalone/_deps/crypto/shares.d.ts +27 -0
- package/dist-standalone/_deps/crypto/shares.js +148 -0
- package/dist-standalone/_deps/crypto/tlv.d.ts +26 -0
- package/dist-standalone/_deps/crypto/tlv.js +195 -0
- package/dist-standalone/_deps/crypto/uuid.d.ts +22 -0
- package/dist-standalone/_deps/crypto/uuid.js +56 -0
- package/dist-standalone/_deps/crypto/verify.d.ts +15 -0
- package/dist-standalone/_deps/crypto/verify.js +15 -0
- package/dist-standalone/_deps/crypto/xorida.d.ts +44 -0
- package/dist-standalone/_deps/crypto/xorida.js +215 -0
- package/dist-standalone/_deps/mldsa-wasm/LICENSE +24 -0
- package/dist-standalone/_deps/mldsa-wasm/dist/mldsa.js +1920 -0
- package/dist-standalone/_deps/mldsa-wasm/package.json +46 -0
- package/dist-standalone/_deps/mldsa-wasm/types/mldsa.d.ts +30 -0
- package/dist-standalone/_deps/shared/cjs/errors.js +582 -0
- package/dist-standalone/_deps/shared/cjs/index.js +492 -0
- package/dist-standalone/_deps/shared/cjs/package.json +1 -0
- package/dist-standalone/_deps/shared/cjs/types.js +403 -0
- package/dist-standalone/_deps/shared/errors.d.ts +48 -0
- package/dist-standalone/_deps/shared/errors.d.ts.map +1 -0
- package/dist-standalone/_deps/shared/errors.js +192 -0
- package/dist-standalone/_deps/shared/errors.js.map +1 -0
- package/dist-standalone/_deps/shared/index.d.ts +4 -0
- package/dist-standalone/_deps/shared/index.d.ts.map +1 -0
- package/dist-standalone/_deps/shared/index.js +78 -0
- package/dist-standalone/_deps/shared/index.js.map +1 -0
- package/dist-standalone/_deps/shared/types.d.ts +1097 -0
- package/dist-standalone/_deps/shared/types.d.ts.map +1 -0
- package/dist-standalone/_deps/shared/types.js +89 -0
- package/dist-standalone/_deps/shared/types.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/errors.d.ts +115 -0
- package/dist-standalone/_deps/ux-helpers/cjs/errors.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/errors.js +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/errors.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/index.d.ts +13 -0
- package/dist-standalone/_deps/ux-helpers/cjs/index.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/index.js +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/index.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/package.json +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/pagination.d.ts +39 -0
- package/dist-standalone/_deps/ux-helpers/cjs/pagination.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/pagination.js +83 -0
- package/dist-standalone/_deps/ux-helpers/cjs/pagination.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/progress.d.ts +99 -0
- package/dist-standalone/_deps/ux-helpers/cjs/progress.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/progress.js +143 -0
- package/dist-standalone/_deps/ux-helpers/cjs/progress.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/search.d.ts +32 -0
- package/dist-standalone/_deps/ux-helpers/cjs/search.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/search.js +119 -0
- package/dist-standalone/_deps/ux-helpers/cjs/search.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/types.d.ts +109 -0
- package/dist-standalone/_deps/ux-helpers/cjs/types.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/cjs/types.js +8 -0
- package/dist-standalone/_deps/ux-helpers/cjs/types.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/errors.d.ts +115 -0
- package/dist-standalone/_deps/ux-helpers/errors.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/errors.js +253 -0
- package/dist-standalone/_deps/ux-helpers/errors.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/index.d.ts +13 -0
- package/dist-standalone/_deps/ux-helpers/index.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/index.js +16 -0
- package/dist-standalone/_deps/ux-helpers/index.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/pagination.d.ts +39 -0
- package/dist-standalone/_deps/ux-helpers/pagination.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/pagination.js +79 -0
- package/dist-standalone/_deps/ux-helpers/pagination.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/progress.d.ts +99 -0
- package/dist-standalone/_deps/ux-helpers/progress.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/progress.js +138 -0
- package/dist-standalone/_deps/ux-helpers/progress.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/search.d.ts +32 -0
- package/dist-standalone/_deps/ux-helpers/search.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/search.js +116 -0
- package/dist-standalone/_deps/ux-helpers/search.js.map +1 -0
- package/dist-standalone/_deps/ux-helpers/types.d.ts +109 -0
- package/dist-standalone/_deps/ux-helpers/types.d.ts.map +1 -0
- package/dist-standalone/_deps/ux-helpers/types.js +7 -0
- package/dist-standalone/_deps/ux-helpers/types.js.map +1 -0
- package/dist-standalone/_deps/xchange/auto-accept.d.ts +127 -0
- package/dist-standalone/_deps/xchange/auto-accept.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/auto-accept.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/errors.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/index.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/invite-client.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/lazy-init.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/package.json +1 -0
- package/dist-standalone/_deps/xchange/cjs/trust-integration.js +1 -0
- package/dist-standalone/_deps/xchange/cjs/xchange.js +1 -0
- package/dist-standalone/_deps/xchange/errors.d.ts +69 -0
- package/dist-standalone/_deps/xchange/errors.js +1 -0
- package/dist-standalone/_deps/xchange/index.d.ts +15 -0
- package/dist-standalone/_deps/xchange/index.js +1 -0
- package/dist-standalone/_deps/xchange/invite-client.d.ts +178 -0
- package/dist-standalone/_deps/xchange/invite-client.js +1 -0
- package/dist-standalone/_deps/xchange/lazy-init.d.ts +176 -0
- package/dist-standalone/_deps/xchange/lazy-init.js +1 -0
- package/dist-standalone/_deps/xchange/trust-integration.d.ts +102 -0
- package/dist-standalone/_deps/xchange/trust-integration.js +1 -0
- package/dist-standalone/_deps/xchange/xchange.d.ts +60 -0
- package/dist-standalone/_deps/xchange/xchange.js +1 -0
- package/dist-standalone/_deps/xregistry/cjs/discovery.js +1 -0
- package/dist-standalone/_deps/xregistry/cjs/errors.js +1 -0
- package/dist-standalone/_deps/xregistry/cjs/index.js +1 -0
- package/dist-standalone/_deps/xregistry/cjs/package.json +1 -0
- package/dist-standalone/_deps/xregistry/cjs/registry.js +1 -0
- package/dist-standalone/_deps/xregistry/cjs/schema.js +1 -0
- package/dist-standalone/_deps/xregistry/cjs/types.js +1 -0
- package/dist-standalone/_deps/xregistry/discovery.d.ts +126 -0
- package/dist-standalone/_deps/xregistry/discovery.d.ts.map +1 -0
- package/dist-standalone/_deps/xregistry/discovery.js +1 -0
- package/dist-standalone/_deps/xregistry/discovery.js.map +1 -0
- package/dist-standalone/_deps/xregistry/errors.d.ts +41 -0
- package/dist-standalone/_deps/xregistry/errors.d.ts.map +1 -0
- package/dist-standalone/_deps/xregistry/errors.js +1 -0
- package/dist-standalone/_deps/xregistry/errors.js.map +1 -0
- package/dist-standalone/_deps/xregistry/index.d.ts +8 -0
- package/dist-standalone/_deps/xregistry/index.d.ts.map +1 -0
- package/dist-standalone/_deps/xregistry/index.js +1 -0
- package/dist-standalone/_deps/xregistry/index.js.map +1 -0
- package/dist-standalone/_deps/xregistry/registry.d.ts +85 -0
- package/dist-standalone/_deps/xregistry/registry.d.ts.map +1 -0
- package/dist-standalone/_deps/xregistry/registry.js +1 -0
- package/dist-standalone/_deps/xregistry/registry.js.map +1 -0
- package/dist-standalone/_deps/xregistry/schema.d.ts +81 -0
- package/dist-standalone/_deps/xregistry/schema.d.ts.map +1 -0
- package/dist-standalone/_deps/xregistry/schema.js +1 -0
- package/dist-standalone/_deps/xregistry/schema.js.map +1 -0
- package/dist-standalone/_deps/xregistry/types.d.ts +95 -0
- package/dist-standalone/_deps/xregistry/types.d.ts.map +1 -0
- package/dist-standalone/_deps/xregistry/types.js +1 -0
- package/dist-standalone/_deps/xregistry/types.js.map +1 -0
- package/dist-standalone/agent-call.d.ts +286 -0
- package/dist-standalone/agent-call.js +642 -0
- package/dist-standalone/agent-sdk.d.ts +207 -0
- package/dist-standalone/agent-sdk.js +328 -0
- package/dist-standalone/agent.d.ts +670 -0
- package/dist-standalone/agent.js +1529 -0
- package/dist-standalone/approval.d.ts +145 -0
- package/dist-standalone/approval.js +193 -0
- package/dist-standalone/auth.d.ts +75 -0
- package/dist-standalone/auth.js +219 -0
- package/dist-standalone/auto-accept.d.ts +102 -0
- package/dist-standalone/auto-accept.js +229 -0
- package/dist-standalone/backup-config.d.ts +150 -0
- package/dist-standalone/backup-config.js +201 -0
- package/dist-standalone/checkpoint.d.ts +125 -0
- package/dist-standalone/checkpoint.js +186 -0
- package/dist-standalone/cjs/agent-call.js +651 -0
- package/dist-standalone/cjs/agent-sdk.js +332 -0
- package/dist-standalone/cjs/agent.js +1566 -0
- package/dist-standalone/cjs/approval.js +199 -0
- package/dist-standalone/cjs/auth.js +225 -0
- package/dist-standalone/cjs/auto-accept.js +233 -0
- package/dist-standalone/cjs/backup-config.js +207 -0
- package/dist-standalone/cjs/checkpoint.js +193 -0
- package/dist-standalone/cjs/cli/init.js +487 -0
- package/dist-standalone/cjs/connect.js +312 -0
- package/dist-standalone/cjs/did-document.js +101 -0
- package/dist-standalone/cjs/did-privateme.js +130 -0
- package/dist-standalone/cjs/did-web.js +201 -0
- package/dist-standalone/cjs/discovery.js +462 -0
- package/dist-standalone/cjs/dual-mode.js +251 -0
- package/dist-standalone/cjs/email-templates.js +313 -0
- package/dist-standalone/cjs/email-transport.js +239 -0
- package/dist-standalone/cjs/envelope.js +510 -0
- package/dist-standalone/cjs/errors.js +562 -0
- package/dist-standalone/cjs/gateway-state.js +55 -0
- package/dist-standalone/cjs/gateway-transport.js +120 -0
- package/dist-standalone/cjs/guardrails.js +223 -0
- package/dist-standalone/cjs/http-compat.js +272 -0
- package/dist-standalone/cjs/identity.js +541 -0
- package/dist-standalone/cjs/index.js +224 -0
- package/dist-standalone/cjs/invitation.js +421 -0
- package/dist-standalone/cjs/invite.js +328 -0
- package/dist-standalone/cjs/key-agreement.js +246 -0
- package/dist-standalone/cjs/lazy-init.js +300 -0
- package/dist-standalone/cjs/mdns-discovery.js +202 -0
- package/dist-standalone/cjs/nonce-store.js +66 -0
- package/dist-standalone/cjs/package.json +3 -0
- package/dist-standalone/cjs/pairing-manager.js +223 -0
- package/dist-standalone/cjs/policy.js +320 -0
- package/dist-standalone/cjs/redis-nonce-store.js +76 -0
- package/dist-standalone/cjs/registry-middleware.js +50 -0
- package/dist-standalone/cjs/retry-transport.js +102 -0
- package/dist-standalone/cjs/security-policy.js +204 -0
- package/dist-standalone/cjs/split-channel.js +177 -0
- package/dist-standalone/cjs/subscription-proof.js +230 -0
- package/dist-standalone/cjs/succession.js +148 -0
- package/dist-standalone/cjs/transport.js +63 -0
- package/dist-standalone/cjs/trust-registry.js +742 -0
- package/dist-standalone/cjs/verify.js +25 -0
- package/dist-standalone/cjs/xfetch.js +252 -0
- package/dist-standalone/cli/init.d.ts +63 -0
- package/dist-standalone/cli/init.js +450 -0
- package/dist-standalone/connect.d.ts +143 -0
- package/dist-standalone/connect.js +274 -0
- package/dist-standalone/did-document.d.ts +65 -0
- package/dist-standalone/did-document.js +96 -0
- package/dist-standalone/did-privateme.d.ts +70 -0
- package/dist-standalone/did-privateme.js +121 -0
- package/dist-standalone/did-web.d.ts +73 -0
- package/dist-standalone/did-web.js +196 -0
- package/dist-standalone/discovery.d.ts +176 -0
- package/dist-standalone/discovery.js +458 -0
- package/dist-standalone/dual-mode.d.ts +145 -0
- package/dist-standalone/dual-mode.js +247 -0
- package/dist-standalone/email-templates.d.ts +41 -0
- package/dist-standalone/email-templates.js +309 -0
- package/dist-standalone/email-transport.d.ts +139 -0
- package/dist-standalone/email-transport.js +232 -0
- package/dist-standalone/envelope.d.ts +288 -0
- package/dist-standalone/envelope.js +497 -0
- package/dist-standalone/errors.d.ts +74 -0
- package/dist-standalone/errors.js +548 -0
- package/dist-standalone/gateway-state.d.ts +32 -0
- package/dist-standalone/gateway-state.js +51 -0
- package/dist-standalone/gateway-transport.d.ts +59 -0
- package/dist-standalone/gateway-transport.js +116 -0
- package/dist-standalone/guardrails.d.ts +136 -0
- package/dist-standalone/guardrails.js +216 -0
- package/dist-standalone/http-compat.d.ts +150 -0
- package/dist-standalone/http-compat.js +267 -0
- package/dist-standalone/identity.d.ts +176 -0
- package/dist-standalone/identity.js +516 -0
- package/dist-standalone/index.d.ts +83 -0
- package/dist-standalone/index.js +51 -0
- package/dist-standalone/invitation.d.ts +211 -0
- package/dist-standalone/invitation.js +415 -0
- package/dist-standalone/invite.d.ts +192 -0
- package/dist-standalone/invite.js +324 -0
- package/dist-standalone/key-agreement.d.ts +122 -0
- package/dist-standalone/key-agreement.js +236 -0
- package/dist-standalone/lazy-init.d.ts +167 -0
- package/dist-standalone/lazy-init.js +295 -0
- package/dist-standalone/mdns-discovery.d.ts +117 -0
- package/dist-standalone/mdns-discovery.js +195 -0
- package/dist-standalone/nonce-store.d.ts +39 -0
- package/dist-standalone/nonce-store.js +62 -0
- package/dist-standalone/package.json +11 -0
- package/dist-standalone/pairing-manager.d.ts +147 -0
- package/dist-standalone/pairing-manager.js +219 -0
- package/dist-standalone/policy.d.ts +150 -0
- package/dist-standalone/policy.js +315 -0
- package/dist-standalone/redis-nonce-store.d.ts +93 -0
- package/dist-standalone/redis-nonce-store.js +72 -0
- package/dist-standalone/registry-middleware.d.ts +38 -0
- package/dist-standalone/registry-middleware.js +47 -0
- package/dist-standalone/retry-transport.d.ts +76 -0
- package/dist-standalone/retry-transport.js +98 -0
- package/dist-standalone/security-policy.d.ts +146 -0
- package/dist-standalone/security-policy.js +198 -0
- package/dist-standalone/split-channel.d.ts +69 -0
- package/dist-standalone/split-channel.js +171 -0
- package/dist-standalone/subscription-proof.d.ts +103 -0
- package/dist-standalone/subscription-proof.js +224 -0
- package/dist-standalone/succession.d.ts +57 -0
- package/dist-standalone/succession.js +142 -0
- package/dist-standalone/transport.d.ts +50 -0
- package/dist-standalone/transport.js +59 -0
- package/dist-standalone/trust-registry.d.ts +286 -0
- package/dist-standalone/trust-registry.js +702 -0
- package/dist-standalone/verify.d.ts +16 -0
- package/dist-standalone/verify.js +16 -0
- package/dist-standalone/xfetch.d.ts +129 -0
- package/dist-standalone/xfetch.js +247 -0
- package/llms.txt +800 -0
- package/package.json +79 -0
- package/share1.dat +0 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
(function (_0x480f4a, _0x44d26b) {
|
|
3
|
+
var a4_0x174a17 = {
|
|
4
|
+
_0x5c5177: 0x126,
|
|
5
|
+
_0x3bd4ae: 0x12c,
|
|
6
|
+
_0x5cefc2: 0x147,
|
|
7
|
+
_0x3bf249: 0x143,
|
|
8
|
+
_0xbedaa2: 0x137,
|
|
9
|
+
_0x115596: 0x10c,
|
|
10
|
+
_0x2ed862: 0x120
|
|
11
|
+
}, _0x3b058f = a4_0x5ea1, _0xfedac5 = _0x480f4a();
|
|
12
|
+
while (!![]) {
|
|
13
|
+
try {
|
|
14
|
+
var _0x1f34ec = parseInt(_0x3b058f(0x111)) / 0x1 * (-parseInt(_0x3b058f(a4_0x174a17._0x5c5177)) / 0x2) + parseInt(_0x3b058f(a4_0x174a17._0x3bd4ae)) / 0x3 * (-parseInt(_0x3b058f(a4_0x174a17._0x5cefc2)) / 0x4) + -parseInt(_0x3b058f(0x11f)) / 0x5 * (-parseInt(_0x3b058f(a4_0x174a17._0x3bf249)) / 0x6) + parseInt(_0x3b058f(0x136)) / 0x7 + -parseInt(_0x3b058f(a4_0x174a17._0xbedaa2)) / 0x8 * (parseInt(_0x3b058f(0xfd)) / 0x9) + parseInt(_0x3b058f(0x131)) / 0xa * (-parseInt(_0x3b058f(a4_0x174a17._0x115596)) / 0xb) + parseInt(_0x3b058f(0x127)) / 0xc * (parseInt(_0x3b058f(a4_0x174a17._0x2ed862)) / 0xd);
|
|
15
|
+
if (_0x1f34ec === _0x44d26b)
|
|
16
|
+
break;
|
|
17
|
+
else
|
|
18
|
+
_0xfedac5['push'](_0xfedac5['shift']());
|
|
19
|
+
} catch (_0x16f577) {
|
|
20
|
+
_0xfedac5['push'](_0xfedac5['shift']());
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}(a4_0x1137, 0x7e68b));
|
|
24
|
+
function a4_0x5ea1(_0x532887, _0x52e8ee) {
|
|
25
|
+
_0x532887 = _0x532887 - 0xfd;
|
|
26
|
+
var _0x1137e7 = a4_0x1137();
|
|
27
|
+
var _0x5ea1d3 = _0x1137e7[_0x532887];
|
|
28
|
+
if (a4_0x5ea1['JbubPw'] === undefined) {
|
|
29
|
+
var _0x4a212e = function (_0x3e9dec) {
|
|
30
|
+
var _0x56dbda = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
31
|
+
var _0x45a631 = '', _0x33a254 = '';
|
|
32
|
+
for (var _0x75cb30 = 0x0, _0x239657, _0x150638, _0x5b5bc0 = 0x0; _0x150638 = _0x3e9dec['charAt'](_0x5b5bc0++); ~_0x150638 && (_0x239657 = _0x75cb30 % 0x4 ? _0x239657 * 0x40 + _0x150638 : _0x150638, _0x75cb30++ % 0x4) ? _0x45a631 += String['fromCharCode'](0xff & _0x239657 >> (-0x2 * _0x75cb30 & 0x6)) : 0x0) {
|
|
33
|
+
_0x150638 = _0x56dbda['indexOf'](_0x150638);
|
|
34
|
+
}
|
|
35
|
+
for (var _0x1675ba = 0x0, _0x106772 = _0x45a631['length']; _0x1675ba < _0x106772; _0x1675ba++) {
|
|
36
|
+
_0x33a254 += '%' + ('00' + _0x45a631['charCodeAt'](_0x1675ba)['toString'](0x10))['slice'](-0x2);
|
|
37
|
+
}
|
|
38
|
+
return decodeURIComponent(_0x33a254);
|
|
39
|
+
};
|
|
40
|
+
a4_0x5ea1['CnvnMr'] = _0x4a212e, a4_0x5ea1['vFDabT'] = {}, a4_0x5ea1['JbubPw'] = !![];
|
|
41
|
+
}
|
|
42
|
+
var _0x2c9d86 = _0x1137e7[0x0], _0x4c5e5a = _0x532887 + _0x2c9d86, _0x1b9cff = a4_0x5ea1['vFDabT'][_0x4c5e5a];
|
|
43
|
+
return !_0x1b9cff ? (_0x5ea1d3 = a4_0x5ea1['CnvnMr'](_0x5ea1d3), a4_0x5ea1['vFDabT'][_0x4c5e5a] = _0x5ea1d3) : _0x5ea1d3 = _0x1b9cff, _0x5ea1d3;
|
|
44
|
+
}
|
|
45
|
+
var a5_0x3b58a8 = a5_0x1bd3;
|
|
46
|
+
function a5_0x1bd3(_0x48068a, _0x54dbff) {
|
|
47
|
+
var a4_0x266a1f = {
|
|
48
|
+
_0x38745c: 0x130,
|
|
49
|
+
_0x67c5c: 0x129,
|
|
50
|
+
_0x1d78a4: 0x134,
|
|
51
|
+
_0x4d9f39: 0x13e,
|
|
52
|
+
_0x24809e: 0x121
|
|
53
|
+
}, a4_0x427ade = { _0x778513: 0x121 }, a4_0x5881fa = { _0x38730f: 0x122 }, a4_0x549622 = {
|
|
54
|
+
_0x487591: 0x129,
|
|
55
|
+
_0x56885d: 0x13c,
|
|
56
|
+
_0x4881b3: 0x11c,
|
|
57
|
+
_0x281d82: 0x145,
|
|
58
|
+
_0x5669b6: 0x146,
|
|
59
|
+
_0x42e2ce: 0x138,
|
|
60
|
+
_0x390764: 0x124
|
|
61
|
+
}, _0x5b750d = a4_0x5ea1, _0x4acdbf = {
|
|
62
|
+
'Mkgul': _0x5b750d(0x139),
|
|
63
|
+
'mRcPT': _0x5b750d(0x12d),
|
|
64
|
+
'JskEd': _0x5b750d(a4_0x266a1f._0x38745c),
|
|
65
|
+
'WhUfw': function (_0x8402cd, _0x1b6338) {
|
|
66
|
+
return _0x8402cd(_0x1b6338);
|
|
67
|
+
},
|
|
68
|
+
'otFrW': function (_0x304eb1, _0x546ba5) {
|
|
69
|
+
return _0x304eb1 + _0x546ba5;
|
|
70
|
+
},
|
|
71
|
+
'wMNKQ': function (_0x36809b, _0x49b6a2) {
|
|
72
|
+
return _0x36809b >> _0x49b6a2;
|
|
73
|
+
},
|
|
74
|
+
'nsAKy': _0x5b750d(0x119),
|
|
75
|
+
'XFqss': function (_0x2dabfe, _0x44fb27) {
|
|
76
|
+
return _0x2dabfe - _0x44fb27;
|
|
77
|
+
}
|
|
78
|
+
}, _0x163c0c = _0x5b750d(0xfe)[_0x5b750d(a4_0x266a1f._0x67c5c)]('|'), _0x1aeb08 = 0x0;
|
|
79
|
+
while (!![]) {
|
|
80
|
+
switch (_0x163c0c[_0x1aeb08++]) {
|
|
81
|
+
case '0':
|
|
82
|
+
if (a5_0x1bd3[_0x5b750d(a4_0x266a1f._0x38745c)] === undefined) {
|
|
83
|
+
var _0x311ac0 = function (_0x4dc2b7) {
|
|
84
|
+
var _0x2e3ac2 = a4_0x5ea1, _0x4464f1 = _0x2e3ac2(0x10f)[_0x2e3ac2(a4_0x549622._0x487591)]('|'), _0x36d5ac = 0x0;
|
|
85
|
+
while (!![]) {
|
|
86
|
+
switch (_0x4464f1[_0x36d5ac++]) {
|
|
87
|
+
case '0':
|
|
88
|
+
return _0xd637dc[_0x2e3ac2(a4_0x549622._0x56885d)](decodeURIComponent, _0x235d67);
|
|
89
|
+
case '1':
|
|
90
|
+
for (var _0x5d1a1f = 0x0, _0x30fbfb = _0x56a01f[_0x2e3ac2(0x117)]; _0x5d1a1f < _0x30fbfb; _0x5d1a1f++) {
|
|
91
|
+
_0x235d67 += '%' + ('00' + _0x56a01f[_0x2e3ac2(0x112)](_0x5d1a1f)[_0x2e3ac2(0x125)](0x10))[_0xd637dc[_0x2e3ac2(a4_0x549622._0x4881b3)]](-0x2);
|
|
92
|
+
}
|
|
93
|
+
continue;
|
|
94
|
+
case '2':
|
|
95
|
+
for (var _0x56ebf4 = 0x0, _0x4067ba, _0x30b9c0, _0x54e043 = 0x0; _0x30b9c0 = _0x4dc2b7[_0x2e3ac2(a4_0x549622._0x281d82)](_0x54e043++); ~_0x30b9c0 && (_0x4067ba = _0xd637dc['bVisW'](_0x56ebf4, 0x4) ? _0xd637dc[_0x2e3ac2(0x10d)](_0xd637dc[_0x2e3ac2(a4_0x549622._0x5669b6)](_0x4067ba, 0x40), _0x30b9c0) : _0x30b9c0, _0x56ebf4++ % 0x4) ? _0x56a01f += String[_0xd637dc[_0x2e3ac2(a4_0x549622._0x42e2ce)]](_0xd637dc[_0x2e3ac2(a4_0x549622._0x390764)](0xff, _0xd637dc[_0x2e3ac2(0x13f)](_0x4067ba, -0x2 * _0x56ebf4 & 0x6))) : 0x0) {
|
|
96
|
+
_0x30b9c0 = _0x7d5396[_0xd637dc['hZxCb']](_0x30b9c0);
|
|
97
|
+
}
|
|
98
|
+
continue;
|
|
99
|
+
case '3':
|
|
100
|
+
var _0x7d5396 = _0xd637dc['DJoOl'];
|
|
101
|
+
continue;
|
|
102
|
+
case '4':
|
|
103
|
+
var _0x56a01f = '', _0x235d67 = '';
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
a5_0x1bd3[_0x4acdbf[_0x5b750d(0x132)]] = _0x311ac0, a5_0x1bd3[_0x4acdbf['mRcPT']] = {}, a5_0x1bd3[_0x4acdbf[_0x5b750d(a4_0x266a1f._0x1d78a4)]] = !![];
|
|
110
|
+
}
|
|
111
|
+
continue;
|
|
112
|
+
case '1':
|
|
113
|
+
var _0xd637dc = {
|
|
114
|
+
'yEanJ': function (_0x45dc83, _0x39ed48) {
|
|
115
|
+
var _0x19ff48 = a4_0x5ea1;
|
|
116
|
+
return _0x4acdbf[_0x19ff48(a4_0x5881fa._0x38730f)](_0x45dc83, _0x39ed48);
|
|
117
|
+
},
|
|
118
|
+
'sVAXp': _0x5b750d(0x106),
|
|
119
|
+
'bVisW': function (_0x4461f8, _0x5ae119) {
|
|
120
|
+
return _0x4461f8 % _0x5ae119;
|
|
121
|
+
},
|
|
122
|
+
'tHlWr': function (_0x40cd7e, _0x2f0aaa) {
|
|
123
|
+
var _0x4b8292 = a4_0x5ea1;
|
|
124
|
+
return _0x4acdbf[_0x4b8292(a4_0x427ade._0x778513)](_0x40cd7e, _0x2f0aaa);
|
|
125
|
+
},
|
|
126
|
+
'tZLfy': function (_0x205815, _0x17e312) {
|
|
127
|
+
return _0x205815 * _0x17e312;
|
|
128
|
+
},
|
|
129
|
+
'VAzId': _0x5b750d(a4_0x266a1f._0x4d9f39),
|
|
130
|
+
'ABkKQ': function (_0x56e2c8, _0x4b5156) {
|
|
131
|
+
return _0x56e2c8 & _0x4b5156;
|
|
132
|
+
},
|
|
133
|
+
'DsFbA': function (_0x40b4dc, _0x2b4932) {
|
|
134
|
+
return _0x4acdbf['wMNKQ'](_0x40b4dc, _0x2b4932);
|
|
135
|
+
},
|
|
136
|
+
'hZxCb': _0x4acdbf['nsAKy'],
|
|
137
|
+
'DJoOl': 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/='
|
|
138
|
+
};
|
|
139
|
+
continue;
|
|
140
|
+
case '2':
|
|
141
|
+
_0x48068a = _0x4acdbf[_0x5b750d(0x100)](_0x48068a, 0x117);
|
|
142
|
+
continue;
|
|
143
|
+
case '3':
|
|
144
|
+
return !_0x3fdf04 ? (_0x195c6b = a5_0x1bd3[_0x4acdbf[_0x5b750d(0x132)]](_0x195c6b), a5_0x1bd3['WbsQqK'][_0x342d6d] = _0x195c6b) : _0x195c6b = _0x3fdf04, _0x195c6b;
|
|
145
|
+
case '4':
|
|
146
|
+
var _0x195c6b = _0x1a9132[_0x48068a];
|
|
147
|
+
continue;
|
|
148
|
+
case '5':
|
|
149
|
+
var _0x4e409e = _0x1a9132[0x0], _0x342d6d = _0x4acdbf[_0x5b750d(a4_0x266a1f._0x24809e)](_0x48068a, _0x4e409e), _0x3fdf04 = a5_0x1bd3[_0x4acdbf['mRcPT']][_0x342d6d];
|
|
150
|
+
continue;
|
|
151
|
+
case '6':
|
|
152
|
+
var _0x1a9132 = a5_0x173f();
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
(function (_0x27bd6b, _0x44715f) {
|
|
159
|
+
var a4_0x2f0b0d = {
|
|
160
|
+
_0x19a93d: 0x11d,
|
|
161
|
+
_0x5f3c6b: 0x133,
|
|
162
|
+
_0x26e75e: 0x12b,
|
|
163
|
+
_0x561e45: 0x135,
|
|
164
|
+
_0xd9bf1a: 0x114,
|
|
165
|
+
_0xe52f5d: 0x116,
|
|
166
|
+
_0x5d16e2: 0x110,
|
|
167
|
+
_0x4375aa: 0x128,
|
|
168
|
+
_0x1319e6: 0x142,
|
|
169
|
+
_0x4dd5a1: 0x115,
|
|
170
|
+
_0x16abeb: 0x109,
|
|
171
|
+
_0x157ee1: 0x105
|
|
172
|
+
}, _0x245926 = a4_0x5ea1, _0x519a69 = {
|
|
173
|
+
'AOJlP': function (_0x9ad3d8) {
|
|
174
|
+
return _0x9ad3d8();
|
|
175
|
+
},
|
|
176
|
+
'pywnZ': function (_0x43c368, _0x228ec4) {
|
|
177
|
+
return _0x43c368 + _0x228ec4;
|
|
178
|
+
},
|
|
179
|
+
'FjgZP': function (_0x10b993, _0x2d53a3) {
|
|
180
|
+
return _0x10b993 + _0x2d53a3;
|
|
181
|
+
},
|
|
182
|
+
'qrlfZ': function (_0x532b32, _0x53b0f3) {
|
|
183
|
+
return _0x532b32 + _0x53b0f3;
|
|
184
|
+
},
|
|
185
|
+
'bGAne': function (_0x4daedf, _0x26ea7c) {
|
|
186
|
+
return _0x4daedf * _0x26ea7c;
|
|
187
|
+
},
|
|
188
|
+
'mbXIa': function (_0x339a78, _0x310386) {
|
|
189
|
+
return _0x339a78 / _0x310386;
|
|
190
|
+
},
|
|
191
|
+
'BRNYb': function (_0x3c173a, _0x389e43) {
|
|
192
|
+
return _0x3c173a / _0x389e43;
|
|
193
|
+
},
|
|
194
|
+
'EBXPX': function (_0x3ee790, _0x4f27f0) {
|
|
195
|
+
return _0x3ee790(_0x4f27f0);
|
|
196
|
+
},
|
|
197
|
+
'ZQVml': function (_0x35fde3, _0x2be284) {
|
|
198
|
+
return _0x35fde3(_0x2be284);
|
|
199
|
+
},
|
|
200
|
+
'BUVix': function (_0x186df4, _0x29b15a) {
|
|
201
|
+
return _0x186df4 / _0x29b15a;
|
|
202
|
+
},
|
|
203
|
+
'bsVkF': function (_0x4c116e, _0x711ce6) {
|
|
204
|
+
return _0x4c116e(_0x711ce6);
|
|
205
|
+
},
|
|
206
|
+
'mJJPO': function (_0x4f35c7, _0x4bc255) {
|
|
207
|
+
return _0x4f35c7(_0x4bc255);
|
|
208
|
+
},
|
|
209
|
+
'wGIkv': function (_0x8b6253, _0x11fd23) {
|
|
210
|
+
return _0x8b6253(_0x11fd23);
|
|
211
|
+
},
|
|
212
|
+
'acvWt': function (_0x59cfa8, _0x2360d8) {
|
|
213
|
+
return _0x59cfa8(_0x2360d8);
|
|
214
|
+
},
|
|
215
|
+
'Asvmt': function (_0x273402, _0x2537f7) {
|
|
216
|
+
return _0x273402(_0x2537f7);
|
|
217
|
+
},
|
|
218
|
+
'Nolpa': function (_0x5762f1, _0x3e2637) {
|
|
219
|
+
return _0x5762f1(_0x3e2637);
|
|
220
|
+
},
|
|
221
|
+
'cpgYh': function (_0x2fb697, _0x3df315) {
|
|
222
|
+
return _0x2fb697 / _0x3df315;
|
|
223
|
+
},
|
|
224
|
+
'mwqIW': function (_0x2cdaaa, _0xf00da3) {
|
|
225
|
+
return _0x2cdaaa(_0xf00da3);
|
|
226
|
+
}
|
|
227
|
+
}, _0x113287 = {
|
|
228
|
+
'_0x3f557b': 0x11b,
|
|
229
|
+
'_0x16c741': 0x117,
|
|
230
|
+
'_0x374392': 0x126,
|
|
231
|
+
'_0x2214b0': 0x11d,
|
|
232
|
+
'_0x248de1': 0x120
|
|
233
|
+
}, _0x25127a = a5_0x1bd3, _0x317b3f = _0x519a69[_0x245926(a4_0x2f0b0d._0x19a93d)](_0x27bd6b);
|
|
234
|
+
while (!![]) {
|
|
235
|
+
try {
|
|
236
|
+
var _0x74fe53 = _0x519a69[_0x245926(a4_0x2f0b0d._0x5f3c6b)](_0x519a69['pywnZ'](_0x519a69[_0x245926(0x10a)](_0x519a69['qrlfZ'](_0x519a69[_0x245926(a4_0x2f0b0d._0x26e75e)](_0x519a69['mbXIa'](-parseInt(_0x25127a(0x124)), 0x1), _0x519a69['BRNYb'](parseInt(_0x25127a(0x123)), 0x2)), _0x519a69[_0x245926(0x107)](parseInt(_0x519a69[_0x245926(0x110)](_0x25127a, _0x113287['_0x3f557b'])), 0x3) * _0x519a69[_0x245926(0x113)](-parseInt(_0x519a69[_0x245926(a4_0x2f0b0d._0x561e45)](_0x25127a, 0x125)), 0x4)) + _0x519a69['bGAne'](_0x519a69['BUVix'](-_0x519a69[_0x245926(a4_0x2f0b0d._0xd9bf1a)](parseInt, _0x519a69[_0x245926(a4_0x2f0b0d._0xe52f5d)](_0x25127a, 0x11f)), 0x5), _0x519a69[_0x245926(0x128)](_0x519a69[_0x245926(0x103)](parseInt, _0x519a69[_0x245926(a4_0x2f0b0d._0x5d16e2)](_0x25127a, 0x11c)), 0x6)) + _0x519a69[_0x245926(a4_0x2f0b0d._0x4375aa)](parseInt(_0x519a69[_0x245926(0x10b)](_0x25127a, 0x121)), 0x7) * (_0x519a69['Asvmt'](parseInt, _0x519a69[_0x245926(a4_0x2f0b0d._0x1319e6)](_0x25127a, _0x113287[_0x245926(0x12f)])) / 0x8), -parseInt(_0x519a69[_0x245926(a4_0x2f0b0d._0xe52f5d)](_0x25127a, _0x113287[_0x245926(a4_0x2f0b0d._0x4dd5a1)])) / 0x9), parseInt(_0x25127a(_0x113287[_0x245926(a4_0x2f0b0d._0x16abeb)])) / 0xa * _0x519a69[_0x245926(0x10e)](_0x519a69[_0x245926(0x12a)](parseInt, _0x25127a(0x118)), 0xb)), _0x519a69[_0x245926(0x10e)](_0x519a69[_0x245926(0x144)](parseInt, _0x25127a(_0x113287[_0x245926(a4_0x2f0b0d._0x157ee1)])), 0xc));
|
|
237
|
+
if (_0x74fe53 === _0x44715f)
|
|
238
|
+
break;
|
|
239
|
+
else
|
|
240
|
+
_0x317b3f['push'](_0x317b3f[_0x245926(0x11a)]());
|
|
241
|
+
} catch (_0x2a4885) {
|
|
242
|
+
_0x317b3f[_0x245926(0x13a)](_0x317b3f[_0x245926(0x11a)]());
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}(a5_0x173f, 0xa1b52), (Object[a5_0x3b58a8(0x122)](exports, a5_0x3b58a8(0x119), { 'value': !![] }), exports[a5_0x3b58a8(0x11a)] = void 0x0, exports['ok'] = ok, exports[a5_0x3b58a8(0x11e)] = err));
|
|
246
|
+
function ok(_0x59f23c) {
|
|
247
|
+
return {
|
|
248
|
+
'ok': !![],
|
|
249
|
+
'value': _0x59f23c
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
function err(_0x405b44) {
|
|
253
|
+
return {
|
|
254
|
+
'ok': ![],
|
|
255
|
+
'error': _0x405b44
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
function a5_0x173f() {
|
|
259
|
+
var a4_0x414309 = {
|
|
260
|
+
_0x411ba4: 0x11b,
|
|
261
|
+
_0x569642: 0x12e,
|
|
262
|
+
_0xc90d54: 0x13b,
|
|
263
|
+
_0x1194b3: 0x101,
|
|
264
|
+
_0x17d814: 0x118,
|
|
265
|
+
_0x522ee2: 0x104,
|
|
266
|
+
_0x831e28: 0x14a,
|
|
267
|
+
_0x5f4059: 0x123,
|
|
268
|
+
_0x102bf2: 0x148
|
|
269
|
+
}, _0x3e42a5 = a4_0x5ea1, _0x32e72a = {
|
|
270
|
+
'sqJil': _0x3e42a5(a4_0x414309._0x411ba4),
|
|
271
|
+
'eaShC': _0x3e42a5(0x149),
|
|
272
|
+
'RgBfP': 'x19LC01VzhvSzq',
|
|
273
|
+
'cmSLB': 'm2fOtMT6wq',
|
|
274
|
+
'RZNQb': 'zxjY',
|
|
275
|
+
'oOweE': _0x3e42a5(0x11e),
|
|
276
|
+
'TcZeV': 'odyYnZC1ouvvEwnMwq',
|
|
277
|
+
'zJwgJ': _0x3e42a5(a4_0x414309._0x569642),
|
|
278
|
+
'jJsgN': function (_0x2d861e) {
|
|
279
|
+
return _0x2d861e();
|
|
280
|
+
}
|
|
281
|
+
}, _0x28ecc5 = [
|
|
282
|
+
_0x3e42a5(a4_0x414309._0xc90d54),
|
|
283
|
+
_0x32e72a[_0x3e42a5(0x108)],
|
|
284
|
+
_0x32e72a[_0x3e42a5(a4_0x414309._0x1194b3)],
|
|
285
|
+
_0x32e72a[_0x3e42a5(a4_0x414309._0x17d814)],
|
|
286
|
+
'veXwx1rzueu',
|
|
287
|
+
_0x32e72a['cmSLB'],
|
|
288
|
+
_0x3e42a5(0x102),
|
|
289
|
+
_0x3e42a5(0x13d),
|
|
290
|
+
_0x32e72a[_0x3e42a5(a4_0x414309._0x522ee2)],
|
|
291
|
+
_0x3e42a5(a4_0x414309._0x831e28),
|
|
292
|
+
_0x32e72a[_0x3e42a5(a4_0x414309._0x5f4059)],
|
|
293
|
+
_0x32e72a[_0x3e42a5(0xff)],
|
|
294
|
+
_0x32e72a[_0x3e42a5(0x141)],
|
|
295
|
+
_0x3e42a5(0x140),
|
|
296
|
+
'mte4mdy0z25Lvg9H',
|
|
297
|
+
'ntu2mZyWAK5ks2jd'
|
|
298
|
+
];
|
|
299
|
+
return a5_0x173f = function () {
|
|
300
|
+
return _0x28ecc5;
|
|
301
|
+
}, _0x32e72a[_0x3e42a5(a4_0x414309._0x102bf2)](a5_0x173f);
|
|
302
|
+
}
|
|
303
|
+
exports[a5_0x3b58a8(0x11a)] = {
|
|
304
|
+
'MESSAGE_BODY': 0x1,
|
|
305
|
+
'ATTACHMENT': 0x2,
|
|
306
|
+
'SENDER_ID': 0x3,
|
|
307
|
+
'TIMESTAMP': 0x4,
|
|
308
|
+
'MESSAGE_UUID': 0x5,
|
|
309
|
+
'SHARE_INDEX': 0x6,
|
|
310
|
+
'TOTAL_SHARES': 0x7,
|
|
311
|
+
'THRESHOLD': 0x8,
|
|
312
|
+
'HMAC_KEY': 0x9,
|
|
313
|
+
'HMAC_SIGNATURE': 0xa,
|
|
314
|
+
'CONTENT_TYPE': 0xb,
|
|
315
|
+
'MESSAGE_SUBJECT': 0xc,
|
|
316
|
+
'SENDER_EMAIL': 0xd
|
|
317
|
+
};
|
|
318
|
+
function a4_0x1137() {
|
|
319
|
+
var _0x28abeb = [
|
|
320
|
+
'qujRs1e',
|
|
321
|
+
'Dg9tDhjPBMC',
|
|
322
|
+
'mLnZA3ffwG',
|
|
323
|
+
'mtjeqxbVqui',
|
|
324
|
+
'qLvwAxG',
|
|
325
|
+
'C3bSAxq',
|
|
326
|
+
'BxDXsvC',
|
|
327
|
+
'yKDbBMu',
|
|
328
|
+
'nMHVBKXYAW',
|
|
329
|
+
'v2jZuxfl',
|
|
330
|
+
'EMD2tuf3nuX1AgPwq2D2wurOsW',
|
|
331
|
+
'xZb4mtzJnZqX',
|
|
332
|
+
'rNjZrhHI',
|
|
333
|
+
'odbcug5drhe',
|
|
334
|
+
'twTNDwW',
|
|
335
|
+
'ChL3BLO',
|
|
336
|
+
'sNnRrwq',
|
|
337
|
+
'wLfwBwW',
|
|
338
|
+
'mZK4mte4n3nrtNzhra',
|
|
339
|
+
'nJqXmteYqwTWD0Th',
|
|
340
|
+
'vKf6swq',
|
|
341
|
+
'EwzcwM1R',
|
|
342
|
+
'ChvZAa',
|
|
343
|
+
'Bxrdww90BtbTDxj0C3DQzenX',
|
|
344
|
+
'EuvHBKO',
|
|
345
|
+
'B2rhv3r3tdnXs3zU',
|
|
346
|
+
'zNjVBunOyxjdB2rL',
|
|
347
|
+
'rhngyKe',
|
|
348
|
+
'BuTUqxDlzMnfrW',
|
|
349
|
+
'EKP3z0O',
|
|
350
|
+
'tM9SCge',
|
|
351
|
+
'mJuWodKWuNHZrKng',
|
|
352
|
+
'qxn2Bxq',
|
|
353
|
+
'y2HHCKf0',
|
|
354
|
+
'DfPmzNK',
|
|
355
|
+
'mtm4mtaYoffvzLf3vq',
|
|
356
|
+
'AKPZz04',
|
|
357
|
+
'B2rhwg13wgv3D1rVCxe',
|
|
358
|
+
'BMrPng5kDLL0Afb5Du55',
|
|
359
|
+
'nZjTsgDbB2C',
|
|
360
|
+
'mxWYFdz8nhWWFdv8mW',
|
|
361
|
+
'vgnAzvy',
|
|
362
|
+
'wezXC3m',
|
|
363
|
+
'zwftAem',
|
|
364
|
+
'BuPXmKjMDLL5ttvn',
|
|
365
|
+
'D0DjA3y',
|
|
366
|
+
'uLPouwi',
|
|
367
|
+
'xZb4mJq4zguX',
|
|
368
|
+
'C2XPy2u',
|
|
369
|
+
'Bwjyswe',
|
|
370
|
+
'C3fkAwW',
|
|
371
|
+
'xZb4mJiXngiW',
|
|
372
|
+
'rMPNwLa',
|
|
373
|
+
'ywn2v3q',
|
|
374
|
+
'mtu3ndG3we10seXi',
|
|
375
|
+
'DeHSv3i',
|
|
376
|
+
'y3bNwwG',
|
|
377
|
+
'm3W0Fdj8mxWW',
|
|
378
|
+
'rujyufG',
|
|
379
|
+
'mZK5nJeZzw1SugLt',
|
|
380
|
+
'y2HHCKnVzgvbDa',
|
|
381
|
+
'qLjowwi',
|
|
382
|
+
'yNnwA0y',
|
|
383
|
+
'xZb4mZC0mZKY',
|
|
384
|
+
'BuPkue8',
|
|
385
|
+
'BgvUz3rO',
|
|
386
|
+
'uMDczLa',
|
|
387
|
+
'Aw5KzxHpzG',
|
|
388
|
+
'C2HPzNq',
|
|
389
|
+
'B2vQt0jNvef1yq',
|
|
390
|
+
'C1zbwha',
|
|
391
|
+
'qu9kBfa',
|
|
392
|
+
'Bxrlww10DvDTzvHKCMDUwNLx',
|
|
393
|
+
'ntbsvev4uwe',
|
|
394
|
+
'mtC4oty1mtvcq2HtzLm',
|
|
395
|
+
'B3rgCLC',
|
|
396
|
+
'v2HvzNC',
|
|
397
|
+
'B093zuu'
|
|
398
|
+
];
|
|
399
|
+
a4_0x1137 = function () {
|
|
400
|
+
return _0x28abeb;
|
|
401
|
+
};
|
|
402
|
+
return a4_0x1137();
|
|
403
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module errors
|
|
3
|
+
* Named error class hierarchy for @private.me/shared.
|
|
4
|
+
*
|
|
5
|
+
* Provides structured error types for Result pattern operations,
|
|
6
|
+
* type validation, and common utility functions used across all packages.
|
|
7
|
+
*/
|
|
8
|
+
/** Base error class for all shared package operations. */
|
|
9
|
+
export declare class SharedError extends Error {
|
|
10
|
+
readonly code: string;
|
|
11
|
+
readonly subCode?: string;
|
|
12
|
+
readonly docUrl?: string;
|
|
13
|
+
constructor(code: string, message: string, docUrl?: string);
|
|
14
|
+
}
|
|
15
|
+
/** Error thrown for invalid type validation. */
|
|
16
|
+
export declare class SharedTypeError extends SharedError {
|
|
17
|
+
constructor(code: string, message: string);
|
|
18
|
+
}
|
|
19
|
+
/** Error thrown for Result pattern operations. */
|
|
20
|
+
export declare class SharedResultError extends SharedError {
|
|
21
|
+
constructor(code: string, message: string);
|
|
22
|
+
}
|
|
23
|
+
/** Error thrown during TLV type validation. */
|
|
24
|
+
export declare class SharedTlvError extends SharedError {
|
|
25
|
+
constructor(code: string, message: string);
|
|
26
|
+
}
|
|
27
|
+
/** Human-readable messages for each error code. */
|
|
28
|
+
export declare const ERROR_MESSAGES: Record<string, string>;
|
|
29
|
+
/**
|
|
30
|
+
* Detailed descriptions for each error code.
|
|
31
|
+
* Maps error codes to comprehensive explanations including cause and resolution.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ERROR_DETAILS: Record<string, string>;
|
|
34
|
+
/**
|
|
35
|
+
* Convert an unknown error into a SharedError.
|
|
36
|
+
*
|
|
37
|
+
* @param error - The unknown error to convert
|
|
38
|
+
* @returns A SharedError instance
|
|
39
|
+
*/
|
|
40
|
+
export declare function toSharedError(error: unknown): SharedError;
|
|
41
|
+
/**
|
|
42
|
+
* Type guard to check if an error is a SharedError.
|
|
43
|
+
*
|
|
44
|
+
* @param error - The value to check
|
|
45
|
+
* @returns true if the value is a SharedError instance
|
|
46
|
+
*/
|
|
47
|
+
export declare function isSharedError(error: unknown): error is SharedError;
|
|
48
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,0DAA0D;AAC1D,qBAAa,WAAY,SAAQ,KAAK;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;gBAEb,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CAQ3D;AAED,gDAAgD;AAChD,qBAAa,eAAgB,SAAQ,WAAW;gBAClC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAI1C;AAED,kDAAkD;AAClD,qBAAa,iBAAkB,SAAQ,WAAW;gBACpC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAI1C;AAED,+CAA+C;AAC/C,qBAAa,cAAe,SAAQ,WAAW;gBACjC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAI1C;AAED,mDAAmD;AACnD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAYjD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAYhD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAMzD;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAElE"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
const a7_0x583c23 = a7_0x1b46;
|
|
2
|
+
(function (_0x1d289c, _0x5849aa) {
|
|
3
|
+
const a7_0x55fc91 = {
|
|
4
|
+
_0x1ee610: 0x14e,
|
|
5
|
+
_0x6ce201: 0x146,
|
|
6
|
+
_0x533b13: 0x13b,
|
|
7
|
+
_0x160abe: 0x12d,
|
|
8
|
+
_0x3246eb: 0x123,
|
|
9
|
+
_0x3ce62a: 0x143,
|
|
10
|
+
_0x3c3437: 0x138
|
|
11
|
+
}, _0x3b6035 = a7_0x1b46, _0x1512be = _0x1d289c();
|
|
12
|
+
while (!![]) {
|
|
13
|
+
try {
|
|
14
|
+
const _0x3ddafd = parseInt(_0x3b6035(a7_0x55fc91._0x1ee610)) / 0x1 * (-parseInt(_0x3b6035(a7_0x55fc91._0x6ce201)) / 0x2) + -parseInt(_0x3b6035(a7_0x55fc91._0x533b13)) / 0x3 + parseInt(_0x3b6035(0x127)) / 0x4 + parseInt(_0x3b6035(a7_0x55fc91._0x160abe)) / 0x5 * (-parseInt(_0x3b6035(a7_0x55fc91._0x3246eb)) / 0x6) + parseInt(_0x3b6035(0x128)) / 0x7 * (parseInt(_0x3b6035(a7_0x55fc91._0x3ce62a)) / 0x8) + parseInt(_0x3b6035(a7_0x55fc91._0x3c3437)) / 0x9 * (parseInt(_0x3b6035(0x132)) / 0xa) + -parseInt(_0x3b6035(0x151)) / 0xb;
|
|
15
|
+
if (_0x3ddafd === _0x5849aa)
|
|
16
|
+
break;
|
|
17
|
+
else
|
|
18
|
+
_0x1512be['push'](_0x1512be['shift']());
|
|
19
|
+
} catch (_0x288ad0) {
|
|
20
|
+
_0x1512be['push'](_0x1512be['shift']());
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}(a7_0x147a, 0xcf8cb));
|
|
24
|
+
const DOC_BASE = a7_0x583c23(0x149);
|
|
25
|
+
export class SharedError extends Error {
|
|
26
|
+
[a7_0x583c23(0x13c)];
|
|
27
|
+
['subCode'];
|
|
28
|
+
['docUrl'];
|
|
29
|
+
constructor(_0x2ebd28, _0x5aec89, _0x4a5451) {
|
|
30
|
+
const a7_0x59d7fe = {
|
|
31
|
+
_0x57d508: 0x144,
|
|
32
|
+
_0x3338ad: 0x145,
|
|
33
|
+
_0x49ee27: 0x122,
|
|
34
|
+
_0x64a19e: 0x136,
|
|
35
|
+
_0x163dbf: 0x13d
|
|
36
|
+
}, _0x50afc8 = a7_0x1b46, _0x2674db = { 'buWaP': _0x50afc8(a7_0x59d7fe._0x57d508) };
|
|
37
|
+
super(_0x5aec89), this[_0x50afc8(a7_0x59d7fe._0x3338ad)] = _0x2674db[_0x50afc8(0x124)];
|
|
38
|
+
const _0x14cf50 = _0x2ebd28['split'](':');
|
|
39
|
+
this['code'] = _0x14cf50[0x0] ?? _0x2ebd28, this[_0x50afc8(a7_0x59d7fe._0x49ee27)] = _0x14cf50['length'] > 0x1 ? _0x14cf50[_0x50afc8(a7_0x59d7fe._0x64a19e)](0x1)[_0x50afc8(a7_0x59d7fe._0x163dbf)](':') : undefined, this[_0x50afc8(0x126)] = _0x4a5451;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class SharedTypeError extends SharedError {
|
|
43
|
+
constructor(_0x234921, _0x92af19) {
|
|
44
|
+
const a7_0x17c1be = { _0x483f48: 0x145 }, _0x33e54f = a7_0x1b46, _0x27dfe6 = { 'ixijL': _0x33e54f(0x14b) };
|
|
45
|
+
super(_0x234921, _0x92af19, DOC_BASE + _0x33e54f(0x125)), this[_0x33e54f(a7_0x17c1be._0x483f48)] = _0x27dfe6['ixijL'];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class SharedResultError extends SharedError {
|
|
49
|
+
constructor(_0x5ce242, _0x4ae9d1) {
|
|
50
|
+
const _0x396b5d = a7_0x1b46, _0xd32256 = { 'QrgSj': _0x396b5d(0x135) };
|
|
51
|
+
super(_0x5ce242, _0x4ae9d1, DOC_BASE + '#result-pattern'), this[_0x396b5d(0x145)] = _0xd32256[_0x396b5d(0x12e)];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class SharedTlvError extends SharedError {
|
|
55
|
+
constructor(_0x4d06b9, _0x338962) {
|
|
56
|
+
const a7_0x33c866 = {
|
|
57
|
+
_0x3c6ebe: 0x139,
|
|
58
|
+
_0x2aa920: 0x141
|
|
59
|
+
}, _0x1a7b10 = a7_0x1b46, _0x3e3d00 = { 'CGhRV': _0x1a7b10(a7_0x33c866._0x3c6ebe) };
|
|
60
|
+
super(_0x4d06b9, _0x338962, DOC_BASE + '#tlv'), this[_0x1a7b10(0x145)] = _0x3e3d00[_0x1a7b10(a7_0x33c866._0x2aa920)];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export const ERROR_MESSAGES = {
|
|
64
|
+
'INVALID_PROVIDER': a7_0x583c23(0x150),
|
|
65
|
+
'INVALID_SECURITY_TIER': a7_0x583c23(0x134),
|
|
66
|
+
'INVALID_CONTENT_TYPE': a7_0x583c23(0x13a),
|
|
67
|
+
'INVALID_MESSAGE_TYPE': a7_0x583c23(0x12c),
|
|
68
|
+
'INVALID_TLV_TYPE': a7_0x583c23(0x130),
|
|
69
|
+
'INVALID_RESULT': a7_0x583c23(0x137),
|
|
70
|
+
'MISSING_VALUE': a7_0x583c23(0x14c),
|
|
71
|
+
'MISSING_ERROR': 'Result\x20marked\x20as\x20failed\x20but\x20error\x20is\x20missing',
|
|
72
|
+
'INVALID_CHANNEL_ADDRESS': a7_0x583c23(0x14f),
|
|
73
|
+
'INVALID_CONTACT_INFO': a7_0x583c23(0x142),
|
|
74
|
+
'INVALID_ATTACHMENT': 'Attachment\x20is\x20missing\x20required\x20fields'
|
|
75
|
+
};
|
|
76
|
+
function a7_0x147a() {
|
|
77
|
+
const _0x4beca0 = [
|
|
78
|
+
'q29UDgfJDcbPBMzVig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BG',
|
|
122
|
+
'su5wquXjrf9srvnvtfq',
|
|
123
|
+
'BefdwKm',
|
|
124
|
+
'q2HHBM5LBefKzhjLC3mGBxvZDcbOyxzLigjVDgGGChjVDMLKzxiGyw5KigvTywLSigzPzwXKCY4',
|
|
125
|
+
'q0DOuLy'
|
|
126
|
+
];
|
|
127
|
+
a7_0x147a = function () {
|
|
128
|
+
return _0x4beca0;
|
|
129
|
+
};
|
|
130
|
+
return a7_0x147a();
|
|
131
|
+
}
|
|
132
|
+
function a7_0x1b46(_0x56a5c1, _0x2128ff) {
|
|
133
|
+
_0x56a5c1 = _0x56a5c1 - 0x122;
|
|
134
|
+
const _0x147a74 = a7_0x147a();
|
|
135
|
+
let _0x1b46af = _0x147a74[_0x56a5c1];
|
|
136
|
+
if (a7_0x1b46['jXHaAm'] === undefined) {
|
|
137
|
+
var _0x348a3a = function (_0x40ff33) {
|
|
138
|
+
const _0x4181d7 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
|
|
139
|
+
let _0x4f5851 = '', _0x3829ce = '';
|
|
140
|
+
for (let _0x59e987 = 0x0, _0x2fb23c, _0x37d3a6, _0x4705d1 = 0x0; _0x37d3a6 = _0x40ff33['charAt'](_0x4705d1++); ~_0x37d3a6 && (_0x2fb23c = _0x59e987 % 0x4 ? _0x2fb23c * 0x40 + _0x37d3a6 : _0x37d3a6, _0x59e987++ % 0x4) ? _0x4f5851 += String['fromCharCode'](0xff & _0x2fb23c >> (-0x2 * _0x59e987 & 0x6)) : 0x0) {
|
|
141
|
+
_0x37d3a6 = _0x4181d7['indexOf'](_0x37d3a6);
|
|
142
|
+
}
|
|
143
|
+
for (let _0x17844f = 0x0, _0x2da168 = _0x4f5851['length']; _0x17844f < _0x2da168; _0x17844f++) {
|
|
144
|
+
_0x3829ce += '%' + ('00' + _0x4f5851['charCodeAt'](_0x17844f)['toString'](0x10))['slice'](-0x2);
|
|
145
|
+
}
|
|
146
|
+
return decodeURIComponent(_0x3829ce);
|
|
147
|
+
};
|
|
148
|
+
a7_0x1b46['optuNX'] = _0x348a3a, a7_0x1b46['FrJlMa'] = {}, a7_0x1b46['jXHaAm'] = !![];
|
|
149
|
+
}
|
|
150
|
+
const _0x455da2 = _0x147a74[0x0], _0x1cf0a8 = _0x56a5c1 + _0x455da2, _0x341f4b = a7_0x1b46['FrJlMa'][_0x1cf0a8];
|
|
151
|
+
return !_0x341f4b ? (_0x1b46af = a7_0x1b46['optuNX'](_0x1b46af), a7_0x1b46['FrJlMa'][_0x1cf0a8] = _0x1b46af) : _0x1b46af = _0x341f4b, _0x1b46af;
|
|
152
|
+
}
|
|
153
|
+
export const ERROR_DETAILS = {
|
|
154
|
+
'INVALID_PROVIDER': a7_0x583c23(0x133),
|
|
155
|
+
'INVALID_SECURITY_TIER': 'Security\x20tier\x20must\x20be\x20blue\x20(2\x20addresses)\x20or\x20green\x20(3+\x20addresses).\x20Use\x20null\x20for\x20regular\x20email.',
|
|
156
|
+
'INVALID_CONTENT_TYPE': a7_0x583c23(0x14a),
|
|
157
|
+
'INVALID_MESSAGE_TYPE': a7_0x583c23(0x131),
|
|
158
|
+
'INVALID_TLV_TYPE': 'TLV\x20type\x20code\x20is\x20not\x20recognized.\x20Check\x20TLV_TYPE\x20constant\x20for\x20valid\x20values.',
|
|
159
|
+
'INVALID_RESULT': a7_0x583c23(0x14d),
|
|
160
|
+
'MISSING_VALUE': 'Result.ok\x20is\x20true\x20but\x20Result.value\x20is\x20undefined.\x20Use\x20ok(value)\x20constructor.',
|
|
161
|
+
'MISSING_ERROR': a7_0x583c23(0x148),
|
|
162
|
+
'INVALID_CHANNEL_ADDRESS': a7_0x583c23(0x140),
|
|
163
|
+
'INVALID_CONTACT_INFO': a7_0x583c23(0x129),
|
|
164
|
+
'INVALID_ATTACHMENT': a7_0x583c23(0x12f)
|
|
165
|
+
};
|
|
166
|
+
export function toSharedError(_0x1775a2) {
|
|
167
|
+
const a7_0x102e2b = {
|
|
168
|
+
_0x2307c5: 0x12b,
|
|
169
|
+
_0x2b8383: 0x147
|
|
170
|
+
}, _0x4da4f5 = a7_0x1b46, _0x10b265 = {
|
|
171
|
+
'frGdK': function (_0xc58d0e, _0x7f0a24) {
|
|
172
|
+
return _0xc58d0e instanceof _0x7f0a24;
|
|
173
|
+
},
|
|
174
|
+
'qJDsw': _0x4da4f5(0x13e),
|
|
175
|
+
'GtRQY': function (_0x3f0ccb, _0x24edb2) {
|
|
176
|
+
return _0x3f0ccb(_0x24edb2);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
if (_0x10b265[_0x4da4f5(a7_0x102e2b._0x2307c5)](_0x1775a2, SharedError))
|
|
180
|
+
return _0x1775a2;
|
|
181
|
+
if (_0x1775a2 instanceof Error)
|
|
182
|
+
return new SharedError(_0x10b265['qJDsw'], _0x1775a2[_0x4da4f5(a7_0x102e2b._0x2b8383)]);
|
|
183
|
+
return new SharedError('INVALID_RESULT', _0x10b265[_0x4da4f5(0x12a)](String, _0x1775a2));
|
|
184
|
+
}
|
|
185
|
+
export function isSharedError(_0x5a186c) {
|
|
186
|
+
const a7_0x1bbc4b = { _0x3e1e58: 0x13f }, _0x931dd = a7_0x1b46, _0x1b9ad6 = {
|
|
187
|
+
'lACZC': function (_0x40beb7, _0x65caad) {
|
|
188
|
+
return _0x40beb7 instanceof _0x65caad;
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
return _0x1b9ad6[_0x931dd(a7_0x1bbc4b._0x3e1e58)](_0x5a186c, SharedError);
|
|
192
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,QAAQ,GAAG,yCAAyC,CAAC;AAE3D,0DAA0D;AAC1D,MAAM,OAAO,WAAY,SAAQ,KAAK;IAC3B,IAAI,CAAS;IACb,OAAO,CAAU;IACjB,MAAM,CAAU;IAEzB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_MESSAGES, ERROR_DETAILS, toSharedError, isSharedError, } from './errors.js';
|
|
3
|
+
export type { Result, Provider, ProviderExtended, ChannelAddress, SecurityTier, ContactSource, ContactInfo, Attachment, ContentType, MessageType, XailMessage, RegularEmail, XailShare, TlvType, EnterpriseConfig, PaddingError, ReconstructionError, SerializationError, IntegrityError, TransportError, MessageMetadata, EntityType, ExtractedEntity, SearchQuery, SearchResult, MessageThread, SearchError, OAuthTokens, PkceChallenge, SecurityEventType, SecurityEvent, InferenceRuntime, EmbeddingModelConfig, MessageEmbedding, ScoredSearchResult, HybridSearchResult, EmbeddingError, RuntimeStatus, InferenceCapabilities, OllamaConnectionStatus, OllamaModel, OllamaStatus, AiSettings, AiMetadata, AiSearchError, ComplianceCopy, DlpAction, DlpScanResult, AuditAction, AuditEntry, DelegatePermission, Delegation, RetentionPolicy, EnterpriseError, EDiscoveryQuery, EDiscoveryResult, DeferredDeliveryStatus, DeferredShare, WrapperEmailContent, DeferredDeliveryError, TrustLevel, KeyTransparencyAction, KeyTransparencyEntry, VerificationChallenge, KeyRotationRecord, TrustError, ApiKeyPermission, ApiKey, ApiRateLimit, SplitRequest, SplitResponse, RetrieveRequest, RetrieveResponse, ApiError, SsoProvider, SsoConfig, SsoAssertion, UserRole, UserStatus, OrgUser, OrgPolicy, AdminError, BrandConfig, DomainConfig, EmailTemplateConfig, WhiteLabelConfig, WhiteLabelError, SsoUserIdentity, SsoCallbackResponse, SsoSessionResponse, SsoError, SsoServerConfig, TokenExchangeRequest, TokenRefreshRequest, TokenRevocationRequest, TokenExchangeResponse, TokenRefreshResponse, InvitationInfo, CreateInvitationRequest, CreateInvitationResponse, OAuthProviderCredentials, ServerConfig, StripeConfig, ServerError, AnalyticsEventType, AnalyticsEvent, AnalyticsEventRequest, AnalyticsEventFilter, AnalyticsQueryResponse, AccountRecord, CreateAccountRequest, UpdateAccountRequest, AccountError, SyncProfile, SyncProfileUploadRequest, SyncContactsUploadRequest, SyncContactsResponse, SyncProfileResponse, SyncError, RecoveryCheckResponse, CorporateServerConfig, HostingMode, TenantStatus, TenantOrg, ProvisionTenantRequest, TenantHealthMetrics, TenantError, ManagedServerConfig, DevicePlatform, DeviceRecord, RegisterDeviceRequest, DeviceError, SubscriptionTier, SubscriptionStatus, SubscriptionRecord, SubscriptionError, EntitlementPayload, EntitlementFeatures, TauriPlatformTarget, TauriPlatformEntry, TauriUpdateManifest, AuthChallengeStatus, AuthChallenge, IncomingAuthChallenge, AuthRequestMetadata, AuthRequest, AuthResult, AuthChallengeErrorCode, AuthChallengeError, ChallengeStoreOp, ChallengeStoreEntry, CreateChallengeResponse, RespondChallengeResponse, ChallengeStatusResponse, } from './types.js';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,QAAQ,GACT,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,aAAa,CAAC;AAErB,YAAY,EACV,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,SAAS,EACT,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EACf,UAAU,EACV,eAAe,EACf,WAAW,EACX,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,s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