@private.me/xbind 1.3.5 → 2.3.4

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.
Files changed (306) hide show
  1. package/LICENSES.md +212 -0
  2. package/README.md +388 -6
  3. package/dist-standalone/_deps/mldsa-wasm/dist/mldsa.js +1 -1920
  4. package/dist-standalone/_deps/shared/cjs/errors.js +1 -639
  5. package/dist-standalone/_deps/shared/cjs/index.js +1 -496
  6. package/dist-standalone/_deps/shared/cjs/types.js +1 -317
  7. package/dist-standalone/_deps/shared/errors.js +1 -255
  8. package/dist-standalone/_deps/shared/index.js +1 -74
  9. package/dist-standalone/_deps/shared/types.js +1 -90
  10. package/dist-standalone/_deps/ux-helpers/cjs/errors.js +1 -1
  11. package/dist-standalone/_deps/ux-helpers/cjs/index.js +1 -1
  12. package/dist-standalone/_deps/ux-helpers/cjs/pagination.js +1 -1
  13. package/dist-standalone/_deps/ux-helpers/cjs/progress.js +1 -1
  14. package/dist-standalone/_deps/ux-helpers/cjs/search.js +1 -1
  15. package/dist-standalone/_deps/ux-helpers/cjs/types.js +1 -1
  16. package/dist-standalone/_deps/ux-helpers/errors.js +1 -1
  17. package/dist-standalone/_deps/ux-helpers/index.js +1 -1
  18. package/dist-standalone/_deps/ux-helpers/pagination.js +1 -1
  19. package/dist-standalone/_deps/ux-helpers/progress.js +1 -1
  20. package/dist-standalone/_deps/ux-helpers/search.js +1 -1
  21. package/dist-standalone/_deps/xchange/auto-accept.js +1 -1
  22. package/dist-standalone/_deps/xchange/cjs/auto-accept.js +1 -1
  23. package/dist-standalone/_deps/xchange/cjs/errors.js +1 -1
  24. package/dist-standalone/_deps/xchange/cjs/index.js +1 -1
  25. package/dist-standalone/_deps/xchange/cjs/invite-client.js +1 -1
  26. package/dist-standalone/_deps/xchange/cjs/lazy-init.js +1 -1
  27. package/dist-standalone/_deps/xchange/cjs/trust-integration.js +1 -1
  28. package/dist-standalone/_deps/xchange/cjs/xchange.js +1 -1
  29. package/dist-standalone/_deps/xchange/errors.js +1 -1
  30. package/dist-standalone/_deps/xchange/index.js +1 -1
  31. package/dist-standalone/_deps/xchange/invite-client.js +1 -1
  32. package/dist-standalone/_deps/xchange/lazy-init.js +1 -1
  33. package/dist-standalone/_deps/xchange/trust-integration.js +1 -1
  34. package/dist-standalone/_deps/xchange/xchange.js +1 -1
  35. package/dist-standalone/_deps/xregistry/cjs/discovery.js +1 -1
  36. package/dist-standalone/_deps/xregistry/cjs/errors.js +1 -1
  37. package/dist-standalone/_deps/xregistry/cjs/index.js +1 -1
  38. package/dist-standalone/_deps/xregistry/cjs/registry.js +1 -1
  39. package/dist-standalone/_deps/xregistry/cjs/schema.js +1 -1
  40. package/dist-standalone/_deps/xregistry/cjs/types.js +1 -1
  41. package/dist-standalone/_deps/xregistry/discovery.js +1 -1
  42. package/dist-standalone/_deps/xregistry/errors.js +1 -1
  43. package/dist-standalone/_deps/xregistry/index.js +1 -1
  44. package/dist-standalone/_deps/xregistry/registry.js +1 -1
  45. package/dist-standalone/_deps/xregistry/schema.js +1 -1
  46. package/dist-standalone/_deps/xregistry/types.js +1 -1
  47. package/dist-standalone/agent-call.js +1 -642
  48. package/dist-standalone/agent-sdk.js +1 -328
  49. package/dist-standalone/agent.d.ts +95 -5
  50. package/dist-standalone/agent.js +1 -1545
  51. package/dist-standalone/approval.js +1 -193
  52. package/dist-standalone/async-iterators.d.ts +275 -0
  53. package/dist-standalone/async-iterators.js +1 -0
  54. package/dist-standalone/auth.js +1 -219
  55. package/dist-standalone/auto-accept.js +1 -229
  56. package/dist-standalone/backup-config.js +1 -201
  57. package/dist-standalone/backup.d.ts +114 -0
  58. package/dist-standalone/backup.js +1 -0
  59. package/dist-standalone/batch-operations.d.ts +297 -0
  60. package/dist-standalone/batch-operations.js +1 -0
  61. package/dist-standalone/cancellation.d.ts +301 -0
  62. package/dist-standalone/cancellation.js +1 -0
  63. package/dist-standalone/checkpoint.js +1 -186
  64. package/dist-standalone/circuit-breaker.d.ts +351 -0
  65. package/dist-standalone/circuit-breaker.js +1 -0
  66. package/dist-standalone/cjs/agent-call.js +1 -651
  67. package/dist-standalone/cjs/agent-sdk.js +1 -332
  68. package/dist-standalone/cjs/agent.js +1 -1582
  69. package/dist-standalone/cjs/approval.js +1 -199
  70. package/dist-standalone/cjs/async-iterators.js +1 -0
  71. package/dist-standalone/cjs/auth.js +1 -225
  72. package/dist-standalone/cjs/auto-accept.js +1 -233
  73. package/dist-standalone/cjs/backup-config.js +1 -207
  74. package/dist-standalone/cjs/backup.js +1 -0
  75. package/dist-standalone/cjs/batch-operations.js +1 -0
  76. package/dist-standalone/cjs/cancellation.js +1 -0
  77. package/dist-standalone/cjs/checkpoint.js +1 -193
  78. package/dist-standalone/cjs/circuit-breaker.js +1 -0
  79. package/dist-standalone/cjs/cli/init.js +1 -486
  80. package/dist-standalone/cjs/config-validation.js +1 -0
  81. package/dist-standalone/cjs/connect.js +1 -312
  82. package/dist-standalone/cjs/connection-pool.js +1 -0
  83. package/dist-standalone/cjs/correlation-id.js +1 -339
  84. package/dist-standalone/cjs/crypto-utils.js +1 -0
  85. package/dist-standalone/cjs/debug-mode.js +1 -0
  86. package/dist-standalone/cjs/did-document.js +1 -101
  87. package/dist-standalone/cjs/did-privateme.js +1 -130
  88. package/dist-standalone/cjs/did-web.js +1 -201
  89. package/dist-standalone/cjs/discovery.js +1 -462
  90. package/dist-standalone/cjs/dual-mode.js +1 -251
  91. package/dist-standalone/cjs/email-templates.js +1 -313
  92. package/dist-standalone/cjs/email-transport.js +1 -239
  93. package/dist-standalone/cjs/envelope.js +1 -510
  94. package/dist-standalone/cjs/errors.js +1 -826
  95. package/dist-standalone/cjs/event-emitter.js +1 -0
  96. package/dist-standalone/cjs/gateway-state.js +1 -55
  97. package/dist-standalone/cjs/gateway-transport.js +1 -120
  98. package/dist-standalone/cjs/graceful-degradation.js +1 -0
  99. package/dist-standalone/cjs/guardrails.js +1 -223
  100. package/dist-standalone/cjs/health-check.js +1 -0
  101. package/dist-standalone/cjs/http-compat.js +1 -272
  102. package/dist-standalone/cjs/http-status-map.js +1 -571
  103. package/dist-standalone/cjs/identity.js +1 -540
  104. package/dist-standalone/cjs/index.js +1 -237
  105. package/dist-standalone/cjs/invitation.js +1 -421
  106. package/dist-standalone/cjs/invite.js +1 -328
  107. package/dist-standalone/cjs/key-agreement.js +1 -246
  108. package/dist-standalone/cjs/lazy-init.js +1 -300
  109. package/dist-standalone/cjs/logger.js +1 -0
  110. package/dist-standalone/cjs/mdns-discovery.js +1 -202
  111. package/dist-standalone/cjs/nonce-store.js +1 -66
  112. package/dist-standalone/cjs/pairing-manager.js +1 -223
  113. package/dist-standalone/cjs/plugin-system.js +1 -0
  114. package/dist-standalone/cjs/plugins/logging.js +1 -0
  115. package/dist-standalone/cjs/plugins/metrics.js +1 -0
  116. package/dist-standalone/cjs/plugins/validation.js +1 -0
  117. package/dist-standalone/cjs/policy.js +1 -320
  118. package/dist-standalone/cjs/progress-callbacks.js +1 -0
  119. package/dist-standalone/cjs/redis-nonce-store.js +1 -76
  120. package/dist-standalone/cjs/registry-middleware.js +1 -50
  121. package/dist-standalone/cjs/retry-strategies.js +1 -0
  122. package/dist-standalone/cjs/retry-transport.js +1 -102
  123. package/dist-standalone/cjs/runtime/browser.js +1 -0
  124. package/dist-standalone/cjs/runtime/edge.js +1 -0
  125. package/dist-standalone/cjs/runtime/react-native.js +1 -0
  126. package/dist-standalone/cjs/security-policy.js +1 -245
  127. package/dist-standalone/cjs/serialization.js +1 -0
  128. package/dist-standalone/cjs/split-channel.js +1 -177
  129. package/dist-standalone/cjs/subscription-proof.js +1 -230
  130. package/dist-standalone/cjs/succession.js +1 -148
  131. package/dist-standalone/cjs/timeouts.js +1 -0
  132. package/dist-standalone/cjs/trace-context.js +1 -0
  133. package/dist-standalone/cjs/trace-spans.js +1 -0
  134. package/dist-standalone/cjs/transport.js +1 -63
  135. package/dist-standalone/cjs/trust-registry.js +1 -742
  136. package/dist-standalone/cjs/types/error-response.js +1 -56
  137. package/dist-standalone/cjs/vault-auth.js +1 -0
  138. package/dist-standalone/cjs/vault-store-loader.js +1 -0
  139. package/dist-standalone/cjs/verify.js +1 -25
  140. package/dist-standalone/cjs/version-info.js +1 -0
  141. package/dist-standalone/cjs/xfetch.js +1 -252
  142. package/dist-standalone/cli/init.js +1 -449
  143. package/dist-standalone/cli/setup.js +1 -514
  144. package/dist-standalone/cli/types.js +1 -27
  145. package/dist-standalone/cli/xbind.js +1 -148
  146. package/dist-standalone/config-validation.d.ts +185 -0
  147. package/dist-standalone/config-validation.js +1 -0
  148. package/dist-standalone/connect.js +1 -274
  149. package/dist-standalone/connection-pool.d.ts +251 -0
  150. package/dist-standalone/connection-pool.js +1 -0
  151. package/dist-standalone/correlation-id.js +1 -326
  152. package/dist-standalone/crypto-utils.d.ts +60 -0
  153. package/dist-standalone/crypto-utils.js +1 -0
  154. package/dist-standalone/debug-mode.d.ts +286 -0
  155. package/dist-standalone/debug-mode.js +1 -0
  156. package/dist-standalone/did-document.js +1 -96
  157. package/dist-standalone/did-privateme.js +1 -121
  158. package/dist-standalone/did-web.js +1 -196
  159. package/dist-standalone/discovery.js +1 -458
  160. package/dist-standalone/dual-mode.js +1 -247
  161. package/dist-standalone/email-templates.js +1 -309
  162. package/dist-standalone/email-transport.js +1 -232
  163. package/dist-standalone/envelope.d.ts +29 -1
  164. package/dist-standalone/envelope.js +1 -497
  165. package/dist-standalone/errors.d.ts +10 -0
  166. package/dist-standalone/errors.js +1 -811
  167. package/dist-standalone/event-emitter.d.ts +395 -0
  168. package/dist-standalone/event-emitter.js +1 -0
  169. package/dist-standalone/gateway-state.js +1 -51
  170. package/dist-standalone/gateway-transport.js +1 -116
  171. package/dist-standalone/graceful-degradation.d.ts +246 -0
  172. package/dist-standalone/graceful-degradation.js +1 -0
  173. package/dist-standalone/guardrails.js +1 -216
  174. package/dist-standalone/health-check.d.ts +150 -0
  175. package/dist-standalone/health-check.js +1 -0
  176. package/dist-standalone/http-compat.js +1 -267
  177. package/dist-standalone/http-status-map.js +1 -561
  178. package/dist-standalone/identity.d.ts +64 -1
  179. package/dist-standalone/identity.js +1 -515
  180. package/dist-standalone/index.d.ts +45 -3
  181. package/dist-standalone/index.js +1 -52
  182. package/dist-standalone/invitation.js +1 -415
  183. package/dist-standalone/invite.js +1 -324
  184. package/dist-standalone/key-agreement.d.ts +61 -13
  185. package/dist-standalone/key-agreement.js +1 -236
  186. package/dist-standalone/lazy-init.js +1 -295
  187. package/dist-standalone/logger.d.ts +77 -0
  188. package/dist-standalone/logger.js +1 -0
  189. package/dist-standalone/mdns-discovery.js +1 -195
  190. package/dist-standalone/nonce-store.d.ts +16 -3
  191. package/dist-standalone/nonce-store.js +1 -62
  192. package/dist-standalone/package.json +0 -1
  193. package/dist-standalone/pairing-manager.js +1 -219
  194. package/dist-standalone/plugin-system.d.ts +145 -0
  195. package/dist-standalone/plugin-system.js +1 -0
  196. package/dist-standalone/policy.js +1 -315
  197. package/dist-standalone/progress-callbacks.d.ts +394 -0
  198. package/dist-standalone/progress-callbacks.js +1 -0
  199. package/dist-standalone/redis-nonce-store.js +1 -72
  200. package/dist-standalone/registry-middleware.js +1 -47
  201. package/dist-standalone/retry-strategies.d.ts +382 -0
  202. package/dist-standalone/retry-strategies.js +1 -0
  203. package/dist-standalone/retry-transport.js +1 -98
  204. package/dist-standalone/security-policy.js +1 -239
  205. package/dist-standalone/serialization.d.ts +244 -0
  206. package/dist-standalone/serialization.js +1 -0
  207. package/dist-standalone/split-channel.d.ts +49 -1
  208. package/dist-standalone/split-channel.js +1 -171
  209. package/dist-standalone/subscription-proof.js +1 -224
  210. package/dist-standalone/succession.js +1 -142
  211. package/dist-standalone/timeouts.d.ts +275 -0
  212. package/dist-standalone/timeouts.js +1 -0
  213. package/dist-standalone/trace-context.d.ts +252 -0
  214. package/dist-standalone/trace-context.js +1 -0
  215. package/dist-standalone/trace-spans.d.ts +360 -0
  216. package/dist-standalone/trace-spans.js +1 -0
  217. package/dist-standalone/transport.js +1 -59
  218. package/dist-standalone/trust-registry.d.ts +106 -5
  219. package/dist-standalone/trust-registry.js +1 -702
  220. package/dist-standalone/vault-auth.d.ts +91 -0
  221. package/dist-standalone/vault-auth.js +1 -0
  222. package/dist-standalone/vault-store-loader.d.ts +110 -0
  223. package/dist-standalone/vault-store-loader.js +1 -0
  224. package/dist-standalone/verify.js +1 -16
  225. package/dist-standalone/version-info.d.ts +259 -0
  226. package/dist-standalone/version-info.js +1 -0
  227. package/dist-standalone/xfetch.js +1 -247
  228. package/llms.txt +1 -0
  229. package/package.json +65 -5
  230. package/share1.dat +0 -0
  231. package/dist-standalone/_deps/crypto/base64.d.ts +0 -29
  232. package/dist-standalone/_deps/crypto/base64.js +0 -222
  233. package/dist-standalone/_deps/crypto/cjs/base64.js +0 -665
  234. package/dist-standalone/_deps/crypto/cjs/errors.js +0 -675
  235. package/dist-standalone/_deps/crypto/cjs/hmac.js +0 -473
  236. package/dist-standalone/_deps/crypto/cjs/index.js +0 -852
  237. package/dist-standalone/_deps/crypto/cjs/package.json +0 -1
  238. package/dist-standalone/_deps/crypto/cjs/padding.js +0 -511
  239. package/dist-standalone/_deps/crypto/cjs/share-header.js +0 -372
  240. package/dist-standalone/_deps/crypto/cjs/shares.js +0 -874
  241. package/dist-standalone/_deps/crypto/cjs/tlv.js +0 -1021
  242. package/dist-standalone/_deps/crypto/cjs/uuid.js +0 -443
  243. package/dist-standalone/_deps/crypto/cjs/verify.js +0 -414
  244. package/dist-standalone/_deps/crypto/cjs/xorida.js +0 -923
  245. package/dist-standalone/_deps/crypto/errors.d.ts +0 -51
  246. package/dist-standalone/_deps/crypto/errors.js +0 -199
  247. package/dist-standalone/_deps/crypto/hmac.d.ts +0 -39
  248. package/dist-standalone/_deps/crypto/hmac.js +0 -134
  249. package/dist-standalone/_deps/crypto/index.d.ts +0 -20
  250. package/dist-standalone/_deps/crypto/index.js +0 -145
  251. package/dist-standalone/_deps/crypto/padding.d.ts +0 -19
  252. package/dist-standalone/_deps/crypto/padding.js +0 -159
  253. package/dist-standalone/_deps/crypto/share-header.d.ts +0 -44
  254. package/dist-standalone/_deps/crypto/share-header.js +0 -92
  255. package/dist-standalone/_deps/crypto/shares.d.ts +0 -27
  256. package/dist-standalone/_deps/crypto/shares.js +0 -295
  257. package/dist-standalone/_deps/crypto/tlv.d.ts +0 -26
  258. package/dist-standalone/_deps/crypto/tlv.js +0 -364
  259. package/dist-standalone/_deps/crypto/uuid.d.ts +0 -22
  260. package/dist-standalone/_deps/crypto/uuid.js +0 -136
  261. package/dist-standalone/_deps/crypto/verify.d.ts +0 -15
  262. package/dist-standalone/_deps/crypto/verify.js +0 -71
  263. package/dist-standalone/_deps/crypto/xorida.d.ts +0 -44
  264. package/dist-standalone/_deps/crypto/xorida.js +0 -366
  265. package/dist-standalone/_deps/shared/errors.d.ts.map +0 -1
  266. package/dist-standalone/_deps/shared/errors.js.map +0 -1
  267. package/dist-standalone/_deps/shared/index.d.ts.map +0 -1
  268. package/dist-standalone/_deps/shared/index.js.map +0 -1
  269. package/dist-standalone/_deps/shared/types.d.ts.map +0 -1
  270. package/dist-standalone/_deps/shared/types.js.map +0 -1
  271. package/dist-standalone/_deps/ux-helpers/cjs/errors.d.ts.map +0 -1
  272. package/dist-standalone/_deps/ux-helpers/cjs/errors.js.map +0 -1
  273. package/dist-standalone/_deps/ux-helpers/cjs/index.d.ts.map +0 -1
  274. package/dist-standalone/_deps/ux-helpers/cjs/index.js.map +0 -1
  275. package/dist-standalone/_deps/ux-helpers/cjs/pagination.d.ts.map +0 -1
  276. package/dist-standalone/_deps/ux-helpers/cjs/pagination.js.map +0 -1
  277. package/dist-standalone/_deps/ux-helpers/cjs/progress.d.ts.map +0 -1
  278. package/dist-standalone/_deps/ux-helpers/cjs/progress.js.map +0 -1
  279. package/dist-standalone/_deps/ux-helpers/cjs/search.d.ts.map +0 -1
  280. package/dist-standalone/_deps/ux-helpers/cjs/search.js.map +0 -1
  281. package/dist-standalone/_deps/ux-helpers/cjs/types.d.ts.map +0 -1
  282. package/dist-standalone/_deps/ux-helpers/cjs/types.js.map +0 -1
  283. package/dist-standalone/_deps/ux-helpers/errors.d.ts.map +0 -1
  284. package/dist-standalone/_deps/ux-helpers/errors.js.map +0 -1
  285. package/dist-standalone/_deps/ux-helpers/index.d.ts.map +0 -1
  286. package/dist-standalone/_deps/ux-helpers/index.js.map +0 -1
  287. package/dist-standalone/_deps/ux-helpers/pagination.d.ts.map +0 -1
  288. package/dist-standalone/_deps/ux-helpers/pagination.js.map +0 -1
  289. package/dist-standalone/_deps/ux-helpers/progress.d.ts.map +0 -1
  290. package/dist-standalone/_deps/ux-helpers/progress.js.map +0 -1
  291. package/dist-standalone/_deps/ux-helpers/search.d.ts.map +0 -1
  292. package/dist-standalone/_deps/ux-helpers/search.js.map +0 -1
  293. package/dist-standalone/_deps/ux-helpers/types.d.ts.map +0 -1
  294. package/dist-standalone/_deps/ux-helpers/types.js.map +0 -1
  295. package/dist-standalone/_deps/xregistry/discovery.d.ts.map +0 -1
  296. package/dist-standalone/_deps/xregistry/discovery.js.map +0 -1
  297. package/dist-standalone/_deps/xregistry/errors.d.ts.map +0 -1
  298. package/dist-standalone/_deps/xregistry/errors.js.map +0 -1
  299. package/dist-standalone/_deps/xregistry/index.d.ts.map +0 -1
  300. package/dist-standalone/_deps/xregistry/index.js.map +0 -1
  301. package/dist-standalone/_deps/xregistry/registry.d.ts.map +0 -1
  302. package/dist-standalone/_deps/xregistry/registry.js.map +0 -1
  303. package/dist-standalone/_deps/xregistry/schema.d.ts.map +0 -1
  304. package/dist-standalone/_deps/xregistry/schema.js.map +0 -1
  305. package/dist-standalone/_deps/xregistry/types.d.ts.map +0 -1
  306. package/dist-standalone/_deps/xregistry/types.js.map +0 -1
@@ -1,317 +1 @@
1
- 'use strict';
2
- var a4_0x41fc4d = a4_0x22cb;
3
- (function (_0x2689e1, _0x5351ef) {
4
- var a4_0x323842 = {
5
- _0x4778b2: 0xa5,
6
- _0x240cbe: 0x97,
7
- _0x2f9696: 0x80,
8
- _0x243668: 0x88,
9
- _0x1f5b5d: 0xa7,
10
- _0x3118d3: 0xb2,
11
- _0x5e41f4: 0xae
12
- }, _0x3cb671 = a4_0x22cb, _0x5dae92 = _0x2689e1();
13
- while (!![]) {
14
- try {
15
- var _0x4eae9e = -parseInt(_0x3cb671(a4_0x323842._0x4778b2)) / 0x1 + -parseInt(_0x3cb671(a4_0x323842._0x240cbe)) / 0x2 + parseInt(_0x3cb671(0x9f)) / 0x3 + -parseInt(_0x3cb671(a4_0x323842._0x2f9696)) / 0x4 + -parseInt(_0x3cb671(0x90)) / 0x5 + -parseInt(_0x3cb671(a4_0x323842._0x243668)) / 0x6 * (-parseInt(_0x3cb671(a4_0x323842._0x1f5b5d)) / 0x7) + parseInt(_0x3cb671(a4_0x323842._0x3118d3)) / 0x8 * (parseInt(_0x3cb671(a4_0x323842._0x5e41f4)) / 0x9);
16
- if (_0x4eae9e === _0x5351ef)
17
- break;
18
- else
19
- _0x5dae92['push'](_0x5dae92['shift']());
20
- } catch (_0x4406c8) {
21
- _0x5dae92['push'](_0x5dae92['shift']());
22
- }
23
- }
24
- }(a4_0x5249, 0xeda2f));
25
- function a4_0x22cb(_0x53d383, _0x1bd4bd) {
26
- _0x53d383 = _0x53d383 - 0x7a;
27
- var _0x5249d4 = a4_0x5249();
28
- var _0x22cb81 = _0x5249d4[_0x53d383];
29
- if (a4_0x22cb['unVaoC'] === undefined) {
30
- var _0x45cb1c = function (_0x20ca89) {
31
- var _0x2ba462 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
32
- var _0x50cfa7 = '', _0x4b1066 = '';
33
- for (var _0xe435ba = 0x0, _0x4300ea, _0x112b9e, _0x287692 = 0x0; _0x112b9e = _0x20ca89['charAt'](_0x287692++); ~_0x112b9e && (_0x4300ea = _0xe435ba % 0x4 ? _0x4300ea * 0x40 + _0x112b9e : _0x112b9e, _0xe435ba++ % 0x4) ? _0x50cfa7 += String['fromCharCode'](0xff & _0x4300ea >> (-0x2 * _0xe435ba & 0x6)) : 0x0) {
34
- _0x112b9e = _0x2ba462['indexOf'](_0x112b9e);
35
- }
36
- for (var _0x50c9ed = 0x0, _0xbce220 = _0x50cfa7['length']; _0x50c9ed < _0xbce220; _0x50c9ed++) {
37
- _0x4b1066 += '%' + ('00' + _0x50cfa7['charCodeAt'](_0x50c9ed)['toString'](0x10))['slice'](-0x2);
38
- }
39
- return decodeURIComponent(_0x4b1066);
40
- };
41
- a4_0x22cb['iGZUVr'] = _0x45cb1c, a4_0x22cb['tjLBIS'] = {}, a4_0x22cb['unVaoC'] = !![];
42
- }
43
- var _0x4808ed = _0x5249d4[0x0], _0x413956 = _0x53d383 + _0x4808ed, _0x261227 = a4_0x22cb['tjLBIS'][_0x413956];
44
- return !_0x261227 ? (_0x22cb81 = a4_0x22cb['iGZUVr'](_0x22cb81), a4_0x22cb['tjLBIS'][_0x413956] = _0x22cb81) : _0x22cb81 = _0x261227, _0x22cb81;
45
- }
46
- var a5_0x3333d7 = a5_0x2aa3;
47
- (function (_0x165274, _0x32fe88) {
48
- var a4_0x198219 = {
49
- _0x49e487: 0x85,
50
- _0x2d7767: 0x8f,
51
- _0x4bcdc8: 0x8c,
52
- _0x55ae67: 0xa3,
53
- _0xc63366: 0x84,
54
- _0x2d6f2c: 0x8d,
55
- _0x52dc01: 0x8d,
56
- _0x2dd8b9: 0x7f,
57
- _0x35a8fc: 0x81,
58
- _0x4c9040: 0xa2,
59
- _0x3be900: 0xaf
60
- }, _0x706134 = a4_0x22cb, _0x1abc31 = {
61
- 'NMoUM': function (_0x1d80f2) {
62
- return _0x1d80f2();
63
- },
64
- 'NPdzu': function (_0x4b4b9b, _0x2ce9e4) {
65
- return _0x4b4b9b + _0x2ce9e4;
66
- },
67
- 'rmGiG': function (_0x119d23, _0x118e59) {
68
- return _0x119d23 + _0x118e59;
69
- },
70
- 'KDnNn': function (_0x412c53, _0x39e239) {
71
- return _0x412c53 / _0x39e239;
72
- },
73
- 'ssVsg': function (_0x314b94, _0x3155b2) {
74
- return _0x314b94(_0x3155b2);
75
- },
76
- 'rSOLk': function (_0x102e56, _0x5de545) {
77
- return _0x102e56(_0x5de545);
78
- },
79
- 'DrnVR': function (_0x130c49, _0x4bb608) {
80
- return _0x130c49 / _0x4bb608;
81
- },
82
- 'QSDst': function (_0x168673, _0x1fefae) {
83
- return _0x168673 * _0x1fefae;
84
- },
85
- 'BQpyH': function (_0xb8ea46, _0x27802d) {
86
- return _0xb8ea46(_0x27802d);
87
- },
88
- 'fMXdn': function (_0x2ca36e, _0x4652ee) {
89
- return _0x2ca36e(_0x4652ee);
90
- },
91
- 'vVTjT': function (_0x2c61bb, _0x4ee807) {
92
- return _0x2c61bb * _0x4ee807;
93
- },
94
- 'msbWk': function (_0x2078b5, _0x8c0613) {
95
- return _0x2078b5 === _0x8c0613;
96
- },
97
- 'PpHux': _0x706134(0x8e)
98
- }, _0x705e65 = {
99
- '_0x52266d': 0x150,
100
- '_0x380c0': 0x14e,
101
- '_0x2250f2': 0x14f
102
- }, _0x44796f = a5_0x2aa3, _0x160340 = _0x1abc31[_0x706134(a4_0x198219._0x49e487)](_0x165274);
103
- while (!![]) {
104
- try {
105
- var _0x4ea6cd = _0x1abc31[_0x706134(a4_0x198219._0x2d7767)](_0x1abc31['NPdzu'](_0x1abc31[_0x706134(a4_0x198219._0x4bcdc8)](_0x1abc31[_0x706134(a4_0x198219._0x55ae67)](-_0x1abc31[_0x706134(a4_0x198219._0xc63366)](parseInt, _0x1abc31['rSOLk'](_0x44796f, 0x14b)), 0x1), parseInt(_0x44796f(0x152)) / 0x2), _0x1abc31[_0x706134(a4_0x198219._0x2d6f2c)](-parseInt(_0x44796f(0x151)), 0x3)) + _0x1abc31['QSDst'](_0x1abc31[_0x706134(0x94)](parseInt, _0x1abc31['BQpyH'](_0x44796f, 0x149)) / 0x4, _0x1abc31[_0x706134(a4_0x198219._0x55ae67)](_0x1abc31['fMXdn'](parseInt, _0x44796f(0x14c)), 0x5)), _0x1abc31['vVTjT'](_0x1abc31[_0x706134(a4_0x198219._0x52dc01)](-parseInt(_0x44796f(_0x705e65[_0x706134(0x9e)])), 0x6), -parseInt(_0x1abc31[_0x706134(a4_0x198219._0x2dd8b9)](_0x44796f, 0x14d)) / 0x7)) + -parseInt(_0x44796f(_0x705e65[_0x706134(0x7c)])) / 0x8 + -parseInt(_0x44796f(_0x705e65[_0x706134(a4_0x198219._0x35a8fc)])) / 0x9;
106
- if (_0x1abc31[_0x706134(0x7b)](_0x4ea6cd, _0x32fe88))
107
- break;
108
- else
109
- _0x160340[_0x706134(a4_0x198219._0x4c9040)](_0x160340[_0x1abc31[_0x706134(0xaf)]]());
110
- } catch (_0x23d5dd) {
111
- _0x160340['push'](_0x160340[_0x1abc31[_0x706134(a4_0x198219._0x3be900)]]());
112
- }
113
- }
114
- }(a5_0x5db1, 0xa3f0d));
115
- function a5_0x5db1() {
116
- var a4_0x424cab = {
117
- _0x48d0a7: 0x9b,
118
- _0x1fd9a1: 0x7e,
119
- _0x489d97: 0x89,
120
- _0x5dca55: 0x83
121
- }, _0x3277c8 = a4_0x22cb, _0xc8a2c4 = {
122
- 'xwlWP': _0x3277c8(a4_0x424cab._0x48d0a7),
123
- 'NqLGZ': function (_0x3a4399) {
124
- return _0x3a4399();
125
- }
126
- }, _0x4eaeee = [
127
- _0x3277c8(0xac),
128
- _0xc8a2c4['xwlWP'],
129
- _0x3277c8(0x9a),
130
- _0x3277c8(0xb0),
131
- _0x3277c8(a4_0x424cab._0x1fd9a1),
132
- _0x3277c8(0xa8),
133
- _0x3277c8(0x86),
134
- _0x3277c8(0x91),
135
- _0x3277c8(a4_0x424cab._0x489d97),
136
- _0x3277c8(a4_0x424cab._0x5dca55),
137
- _0x3277c8(0xa4)
138
- ];
139
- return a5_0x5db1 = function () {
140
- return _0x4eaeee;
141
- }, _0xc8a2c4['NqLGZ'](a5_0x5db1);
142
- }
143
- function a4_0x5249() {
144
- var _0x217a66 = [
145
- 'BvPHm25KyvPTtgPjrhDevNvX',
146
- 'tu1HCNz1',
147
- 'mZi3mZz5uM9JrKe',
148
- 'wePZyvG',
149
- 'BxnIv2S',
150
- 'xZb4mZGWyZa',
151
- 'BgvUz3rO',
152
- 'Ede5temWmvz6AhztENe',
153
- 'qLfWEuG',
154
- 'nJGYndG1nK1PEer6zq',
155
- 'xZb4mJi1mgyY',
156
- 'D3jYtxDy',
157
- 'BxrXnw1AzLzZthzXEu5P',
158
- 'C3nwC2C',
159
- 'tK1Vvu0',
160
- 'BNHeENjorfDevW',
161
- 'C3bSAxq',
162
- 'ndGZmdz4y2HbDMS',
163
- 'Bxrhm21Kq1LTz2PWC2D2v3nX',
164
- 'Aw5KzxHpzG',
165
- 'mxWYFdn8mhW0',
166
- 'CM1hAuC',
167
- 'rhjUvLi',
168
- 'C2HPzNq',
169
- 'tLbKENu',
170
- 'otm2nZm3nuztsurwrq',
171
- 'BJbMEhKZANr6vW',
172
- 'vgzUvhK',
173
- 'Dg9tDhjPBMC',
174
- 'CLnptgS',
175
- 'uKPTwNe',
176
- 'A0z4r3bJ',
177
- 'mJC3ota0nMHUENnSsW',
178
- 'y2HHCKnVzgvbDa',
179
- 'zxjY',
180
- 'DMvyD3GXCNP1zxu',
181
- 'BvPHmM90ztr2m3y2DxvqEq',
182
- 'y2HHCKf0',
183
- 'txjtC0G',
184
- 'xZb4ntiYnJzK',
185
- 'mZqWodi2ngjize5tEG',
186
- 'C2XPy2u',
187
- 'ELP0CvG',
188
- 'ChvZAa',
189
- 's0rUtM4',
190
- 'BMr1mM1kAtvVzNPTDxvuEujx',
191
- 'mti3mZqWowX3swTusa',
192
- 'ywjJzgvMz2HPAMTSBw5VChfYC3r1DND4ExPbqKneruzhseLks0XntK9quvjtvfvwv1HzwJaXmJm0nty3odKRlZ0',
193
- 'mteYmgPVtgvzrW',
194
- 'BxrTm29Krhn2DNzQD05d',
195
- 'BKnvsxy',
196
- 'CMTUwhG',
197
- 'yu9iBw0',
198
- 'BuPPng5KEtrVDteYqNzqthrX',
199
- 'zNjVBunOyxjdB2rL',
200
- 'mta1mZLVExjcwMi',
201
- 'uhbiDxG'
202
- ];
203
- a4_0x5249 = function () {
204
- return _0x217a66;
205
- };
206
- return a4_0x5249();
207
- }
208
- Object['defineProperty'](exports, a5_0x3333d7(0x14a), { 'value': !![] }), exports[a5_0x3333d7(0x153)] = void 0x0, exports['ok'] = ok, exports[a4_0x41fc4d(0x99)] = err;
209
- function a5_0x2aa3(_0x43c63a, _0x153644) {
210
- var a4_0xc2cdf3 = {
211
- _0x4cf546: 0x8b,
212
- _0x566bd5: 0x98,
213
- _0x537573: 0x9d,
214
- _0x2ab1f1: 0xb1,
215
- _0x54c9a1: 0xaa,
216
- _0xb5e7a4: 0x96,
217
- _0x3109b5: 0x92,
218
- _0xf0bcd: 0x82
219
- }, a4_0x4a0a3b = {
220
- _0x23a255: 0x7d,
221
- _0x257957: 0xa9,
222
- _0x551f71: 0xa0,
223
- _0x91543c: 0x9c,
224
- _0x4f48f6: 0x7a,
225
- _0x568a97: 0x95
226
- }, _0x57463b = a4_0x22cb, _0x53194f = {
227
- 'EBHHr': _0x57463b(a4_0xc2cdf3._0x4cf546),
228
- 'QdHSa': function (_0x16e620, _0x42ee9d) {
229
- return _0x16e620 < _0x42ee9d;
230
- },
231
- 'CoHjW': function (_0x31c87b, _0x1d57f5) {
232
- return _0x31c87b + _0x1d57f5;
233
- },
234
- 'aOHmm': function (_0x456797, _0x274faa) {
235
- return _0x456797 + _0x274faa;
236
- },
237
- 'nCUIv': _0x57463b(a4_0xc2cdf3._0x566bd5),
238
- 'EeoYR': function (_0x92a74b, _0x16fd85) {
239
- return _0x92a74b % _0x16fd85;
240
- },
241
- 'XJsaX': function (_0x14358b, _0xd5bd3f) {
242
- return _0x14358b * _0xd5bd3f;
243
- },
244
- 'zZtqX': function (_0x3a0a1b, _0x5de908) {
245
- return _0x3a0a1b >> _0x5de908;
246
- },
247
- 'RJmZq': _0x57463b(0x8a),
248
- 'MrSsH': function (_0x2b1e2f, _0x22fbb7) {
249
- return _0x2b1e2f === _0x22fbb7;
250
- },
251
- 'rknXx': _0x57463b(0x82),
252
- 'TfnTy': function (_0x26c142, _0x877f37) {
253
- return _0x26c142 + _0x877f37;
254
- },
255
- 'CyUeT': _0x57463b(0xb1)
256
- };
257
- _0x43c63a = _0x43c63a - 0x149;
258
- var _0x2ebb1c = a5_0x5db1(), _0x74733a = _0x2ebb1c[_0x43c63a];
259
- if (_0x53194f[_0x57463b(a4_0xc2cdf3._0x537573)](a5_0x2aa3[_0x57463b(0x96)], undefined)) {
260
- var _0x52b72c = function (_0x3cf8d7) {
261
- var _0x8c9904 = a4_0x22cb, _0x2fe1bc = _0x53194f['EBHHr'][_0x8c9904(0x87)]('|'), _0x27df5a = 0x0;
262
- while (!![]) {
263
- switch (_0x2fe1bc[_0x27df5a++]) {
264
- case '0':
265
- for (var _0x4c0a75 = 0x0, _0x325508 = _0xa1bf3b[_0x8c9904(a4_0x4a0a3b._0x23a255)]; _0x53194f['QdHSa'](_0x4c0a75, _0x325508); _0x4c0a75++) {
266
- _0x3657bb += _0x53194f['CoHjW']('%', _0x53194f[_0x8c9904(0xab)]('00', _0xa1bf3b[_0x53194f[_0x8c9904(a4_0x4a0a3b._0x257957)]](_0x4c0a75)[_0x8c9904(0x93)](0x10))[_0x8c9904(a4_0x4a0a3b._0x551f71)](-0x2));
267
- }
268
- continue;
269
- case '1':
270
- var _0x1175ed = _0x8c9904(0xa6);
271
- continue;
272
- case '2':
273
- var _0xa1bf3b = '', _0x3657bb = '';
274
- continue;
275
- case '3':
276
- for (var _0xc4de30 = 0x0, _0x1dde6d, _0x2d0bdb, _0x16201c = 0x0; _0x2d0bdb = _0x3cf8d7[_0x8c9904(a4_0x4a0a3b._0x91543c)](_0x16201c++); ~_0x2d0bdb && (_0x1dde6d = _0x53194f['EeoYR'](_0xc4de30, 0x4) ? _0x53194f[_0x8c9904(a4_0x4a0a3b._0x4f48f6)](_0x1dde6d, 0x40) + _0x2d0bdb : _0x2d0bdb, _0xc4de30++ % 0x4) ? _0xa1bf3b += String[_0x8c9904(0xad)](0xff & _0x53194f[_0x8c9904(0xa1)](_0x1dde6d, -0x2 * _0xc4de30 & 0x6)) : 0x0) {
277
- _0x2d0bdb = _0x1175ed[_0x53194f[_0x8c9904(a4_0x4a0a3b._0x568a97)]](_0x2d0bdb);
278
- }
279
- continue;
280
- case '4':
281
- return decodeURIComponent(_0x3657bb);
282
- }
283
- break;
284
- }
285
- };
286
- a5_0x2aa3[_0x57463b(a4_0xc2cdf3._0x2ab1f1)] = _0x52b72c, a5_0x2aa3[_0x53194f[_0x57463b(a4_0xc2cdf3._0x54c9a1)]] = {}, a5_0x2aa3[_0x57463b(a4_0xc2cdf3._0xb5e7a4)] = !![];
287
- }
288
- var _0xbc0a87 = _0x2ebb1c[0x0], _0x438af8 = _0x53194f[_0x57463b(a4_0xc2cdf3._0x3109b5)](_0x43c63a, _0xbc0a87), _0x58ea7e = a5_0x2aa3['wrrMwX'][_0x438af8];
289
- return !_0x58ea7e ? (_0x74733a = a5_0x2aa3[_0x53194f['CyUeT']](_0x74733a), a5_0x2aa3[_0x57463b(a4_0xc2cdf3._0xf0bcd)][_0x438af8] = _0x74733a) : _0x74733a = _0x58ea7e, _0x74733a;
290
- }
291
- function ok(_0x5dd475) {
292
- return {
293
- 'ok': !![],
294
- 'value': _0x5dd475
295
- };
296
- }
297
- function err(_0x58a512) {
298
- return {
299
- 'ok': ![],
300
- 'error': _0x58a512
301
- };
302
- }
303
- exports[a5_0x3333d7(0x153)] = {
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
- };
1
+ "use strict";var a4_0x319932=a4_0x53a2;function a4_0x235a(){var n=["BxriBNn3re12zKm","zNjVBunOyxjdB2rL","vfnqseC","vhzNsfO","mtG5mZiZmuHltxDOvq","veXwx1rzueu","Duv4vgy","mtyWnJC4nxLoDeHKvq","ywL5D1u","ChvZAa","mJKYntbIEMjsD0i","Ede5temWmvz6AhztENe","BKPlww1kzvD0mdvxCu5UuG","s2Tkwfi","CMD5r0S","mtbYEfryrw4","BxrID3j4EK9fDuS","y2HHCKf0","wfbHwwS","Egjut3C","wu5dtM8","zLb1EM0","mta2mdqWuvbLq3fI","BKf4wLm","Dvzcv1q","xZb4mJa3yZq5","C091BNO","Aw5KzxHpzG","DMvyD3GXCNP1zxu","tgjYteS","zxvZCgq","s2fgCwK","nhWXFdz8m3W1Fdj8ma","zgf6Ahm","mZa5nJiWoeXkthrAtG","wMz0rMS","rgXvsuW","B2H5rfG","ChbpB0C","C2XPy2u","t0n3y2S","C3bSAxq","EfvVC2C","s2LjEhm","n0nou2nOrq","BxrLmM5AytfTs25xDeTeDhrh","AefLDuS","zxjY","C2HPzNq","nJbAC0HNtxq","ANjMuei","vg9qwNq","sgLhsuW","zuzMqvK","BuPHnw1KztrYm2j5CJjYsa","BKPlnw90sZj2tvbqrgzMAG","xZb4mMfJytCX","tg1Uyxi","BxrHwM5AELn1EhzZDK0W","zvPTzNjz","CuLYBvm","wwfjAgS","Ehf4vfy","qNvNr2q","BxrlmM1KytbUmLbjDJn6t0rx","vLrQyM8","ANjzD1K","y2HHCKnVzgvbDa","DxbtC1u","Dg9tDhjPBMC","mty4mLLcAvLiDq","mJe2tMXMvu9v","mtaXC0rithbK","EKvrALvW","ruvdrNa","BvP5mhn2yMz3zKr2","xZb4m2u3otyX","ufbKt0fX","mZeZmdy2ogLLz0nZEa"];return(a4_0x235a=function(){return n})()}!function(){for(var n=266,r=201,t=272,a=238,u=198,e=265,f=a4_0x53a2,o=a4_0x235a();;)try{if(403916===parseInt(f(n))/1*(-parseInt(f(264))/2)+parseInt(f(r))/3+parseInt(f(t))/4+parseInt(f(243))/5*(-parseInt(f(204))/6)+parseInt(f(a))/7*(-parseInt(f(228))/8)+parseInt(f(u))/9*(-parseInt(f(209))/10)+parseInt(f(216))/11*(-parseInt(f(e))/12))break;o.push(o.shift())}catch(n){o.push(o.shift())}}();var a5_0x1438c6=a5_0xa9bf;function a5_0x28f7(){var n=248,r=269,t=249,a=225,u=206,e=240,f=a4_0x53a2,o={ZftFk:f(252),TvgHZ:f(n),KaFqi:f(r),hAeuK:f(t),aiywU:function(n){return n()}},x=[f(258),f(210),o[f(229)],f(205),o[f(197)],f(239),f(194),o[f(a)],f(222),"ntu3mtaWD3HkAKDH",f(u),o[f(e)],"zgvMAw5LuhjVCgvYDhK"];return a5_0x28f7=function(){return x},o[f(202)](a5_0x28f7)}function ok(n){return{ok:!0,value:n}}function a4_0x53a2(n){n-=194;var r=a4_0x235a(),t=r[n];if(void 0===a4_0x53a2.eUeZtI){a4_0x53a2.MLlaVX=function(n){for(var r,t,a="",u="",e=0,f=0;t=n.charAt(f++);~t&&(r=e%4?64*r+t:t,e++%4)?a+=String.fromCharCode(255&r>>(-2*e&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(var o=0,x=a.length;o<x;o++)u+="%"+("00"+a.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(u)},a4_0x53a2.pgwTVt={},a4_0x53a2.eUeZtI=!0}var a=n+r[0],u=a4_0x53a2.pgwTVt[a];return u?t=u:(t=a4_0x53a2.MLlaVX(t),a4_0x53a2.pgwTVt[a]=t),t}function err(n){return{ok:!1,error:n}}function a5_0xa9bf(n){for(var r=267,t=235,a=271,u=247,e=224,f=214,o=255,x=200,i=221,c=254,s=208,v=231,_=237,p=215,I=a4_0x53a2,m={xbTOw:function(n,r){return n+r},Lmnar:I(195),fPuzm:function(n,r){return n&r},eFfAY:"length",OCwck:function(n,r){return n<r},KiIxs:function(n,r){return n+r},BugGd:I(261),upSsU:function(n,r){return n(r)},yWWjV:function(n,r){return n===r},euspd:I(r),WDQfo:I(253),xqxTV:function(n){return n()}},C=I(226)[I(t)]("|"),D=0;;){switch(C[D++]){case"0":return z?A=z:(A=a5_0xa9bf.eZmfrY(A),a5_0xa9bf[I(a)][h]=A),A;case"1":n-=289;continue;case"2":var E=L[0],h=m.xbTOw(n,E),z=a5_0xa9bf[I(a)][h];continue;case"3":var A=L[n];continue;case"4":var b={YNCNo:function(n,r){return n%r},HiGIL:function(n,r){return m[a4_0x53a2(213)](n,r)},YaIhk:m[I(251)],uExTf:function(n,r){return m[a4_0x53a2(p)](n,r)},qIrmS:m[I(u)],EECFp:function(n,r){return m[a4_0x53a2(234)](n,r)},rgyGK:function(n,r){return m[a4_0x53a2(_)](n,r)},ohyDX:m[I(257)],sOunz:I(263),jrfPB:function(n,r){return m[a4_0x53a2(262)](n,r)}};continue;case"5":if(m.yWWjV(a5_0xa9bf[m[I(224)]],void 0)){var w=function(n){for(var r,t,a=a4_0x53a2,u="",e="",_=0,p=0;t=n[a(211)](p++);~t&&(r=b[a(f)](_,4)?b[a(246)](64*r,t):t,_++%4)?u+=String[b[a(o)]](b[a(x)](255,r>>(-2*_&6))):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/="[a(i)](t);for(var I=0,m=u[b[a(c)]];b[a(268)](I,m);I++)e+=b[a(246)]("%",b[a(s)]("00",u[b[a(v)]](I)[b[a(220)]](16))[a(233)](-2));return b[a(244)](decodeURIComponent,e)};a5_0xa9bf[m.WDQfo]=w,a5_0xa9bf.PPdOAq={},a5_0xa9bf[m[I(e)]]=!0}continue;case"6":var L=m[I(256)](a5_0x28f7);continue}break}}(function(n){for(var r=242,t=219,a=260,u=245,e=217,f=212,o=207,x=230,i=223,c=218,s=196,v=a4_0x53a2,_={pnfXQ:function(n,r){return n+r},jrYwY:function(n,r){return n/r},dazhs:function(n,r){return n(r)},ppOoG:function(n,r){return n/r},DlUIL:function(n,r){return n*r},XPaYk:function(n,r){return n(r)},xUosg:function(n,r){return n/r},ToPZt:function(n,r){return n(r)},nAxZS:function(n,r){return n(r)},KkJXR:function(n,r){return n(r)},fNXPa:function(n,r){return n/r},LbrLK:function(n,r){return n(r)},uVBWT:function(n,r){return n(r)},TSPHG:function(n,r){return n(r)},lIYWD:v(203),VTjbo:v(r)},p={_0x207c49:295,_0x216656:289,_0x5837fd:296,_0x2aca71:293,_0x3e7961:291},I=a5_0xa9bf,m=n();;)try{if(211652===_.pnfXQ(_.jrYwY(parseInt(_[v(227)](I,p[v(t)])),1)+_[v(a)](parseInt(I(p._0x216656)),2)+_[v(232)](-_.dazhs(parseInt,I(300)),3)+-parseInt(_.dazhs(I,p._0x5837fd))/4,_[v(230)](parseInt(_.XPaYk(I,301))/5,_[v(236)](_[v(u)](parseInt,_[v(e)](I,297)),6)))+-parseInt(_[v(245)](I,298))/7*(_[v(f)](parseInt,_[v(o)](I,p[v(250)]))/8)+_[v(x)](_.fNXPa(-_[v(i)](parseInt,_[v(c)](I,p[v(270)])),9),parseInt(_[v(s)](I,292))/10))break;m[_.lIYWD](m.shift())}catch(n){m[_.lIYWD](m[_[v(259)]]())}})(a5_0x28f7),Object[a5_0x1438c6(290)](exports,a5_0x1438c6(294),{value:!0}),exports[a5_0x1438c6(299)]=void 0,exports.ok=ok,exports[a4_0x319932(241)]=err,exports[a4_0x319932(199)]={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,255 +1 @@
1
- const a7_0x1569b9 = a7_0x3003;
2
- (function (_0x246e9f, _0x3776cf) {
3
- const a7_0x4d5c15 = {
4
- _0x4b9ccd: 0x1bc,
5
- _0x32d795: 0x1dc,
6
- _0x3de827: 0x1df,
7
- _0x1871a7: 0x1e1,
8
- _0x9a2fc8: 0x1ea,
9
- _0x253778: 0x1c8,
10
- _0x18240d: 0x1d7
11
- }, _0x19bf79 = a7_0x3003, _0x40f9bb = _0x246e9f();
12
- while (!![]) {
13
- try {
14
- const _0x3334cd = -parseInt(_0x19bf79(a7_0x4d5c15._0x4b9ccd)) / 0x1 + -parseInt(_0x19bf79(a7_0x4d5c15._0x32d795)) / 0x2 + -parseInt(_0x19bf79(a7_0x4d5c15._0x3de827)) / 0x3 * (-parseInt(_0x19bf79(a7_0x4d5c15._0x1871a7)) / 0x4) + -parseInt(_0x19bf79(0x1db)) / 0x5 * (-parseInt(_0x19bf79(0x1d3)) / 0x6) + -parseInt(_0x19bf79(a7_0x4d5c15._0x9a2fc8)) / 0x7 + -parseInt(_0x19bf79(a7_0x4d5c15._0x253778)) / 0x8 + parseInt(_0x19bf79(a7_0x4d5c15._0x18240d)) / 0x9;
15
- if (_0x3334cd === _0x3776cf)
16
- break;
17
- else
18
- _0x40f9bb['push'](_0x40f9bb['shift']());
19
- } catch (_0xf4ae3a) {
20
- _0x40f9bb['push'](_0x40f9bb['shift']());
21
- }
22
- }
23
- }(a7_0x2e93, 0x4c3c3));
24
- const DOC_BASE = a7_0x1569b9(0x1dd);
25
- function a7_0x2e93() {
26
- const _0x5d46cb = [
27
- 'twvZC2fNzsb0ExbLig11C3qGyMuGCMvNDwXHCIaODw5Zzwn1CMvKksbVCIbZzwn1CMuGkhnWBgL0lwnOyw5UzwWPlG',
28
- 'rLbsC0e',
29
- 'nZi2ndvQzKjcENa',
30
- 'mta5odyWmKTVsKvbDa',
31
- 'Ahr0Chm6lY9WCML2yxrLlM1Ll2rVy3mVCgfJA2fNzxmVC2HHCMvK',
32
- 'uMvZDwX0lM9RigLZihrYDwuGyNv0ifjLC3vSDc52ywX1zsbPCYb1BMrLzMLUzwqUifvZzsbVAYH2ywX1zsKGy29UC3rYDwn0B3iU',
33
- 'mZy5z3j4ww11',
34
- 'rw1HAwWGChjVDMLKzxiGBxvZDcbIzsbVBMuGB2y6igDTywLSlcbVDxrSB29Rlcb5ywHVBY4Gq2HLy2SGDgHLifbYB3zPzgvYihr5CguGzgvMAw5PDgLVBI4',
35
- 'mty0nJbUzK1tDgC',
36
- 'uMvZDwX0ig1HCMTLzcbHCYbVAYbIDxqGDMfSDwuGAxmGBwLZC2LUzW',
37
- 'C3bSAxq',
38
- 'u2HHCMvKvhLWzuvYCM9Y',
39
- 'u2HHCMvKvgX2rxjYB3i',
40
- 'C3vIq29Kzq',
41
- 'sw52ywXPzcbLBwfPBcbWCM92AwrLCIaOBxvZDcbIzsbNBwfPBcWGB3v0Bg9VAYWGB3iGEwfOB28P',
42
- 'BMfTzq',
43
- 'y29Kzq',
44
- 'mZaWnJGXnvPUBNfZra',
45
- 'AM9PBG',
46
- 'i3r5CgvZ',
47
- 'BwvKAxvT',
48
- 'mZa2nZmYCfriqw9r',
49
- 'qxr0ywnOBwvUDcbPCYbTAxnZAw5NihjLCxvPCMvKigzPzwXKCW',
50
- 'u2vJDxjPDhKGDgLLCIbTDxn0igjLigjSDwuGkdiGywrKCMvZC2vZksbVCIbNCMvLBIaOmYSGywrKCMvZC2vZks4GvxnLig51BgWGzM9YihjLz3vSyxiGzw1HAwWU',
51
- 'q29UDgvUDcb0ExbLig11C3qGyMuGDgv4Dc9WBgfPBIbVCIb0zxH0l2H0BwWGzM9Yig1LC3nHz2uGyM9KAwvZlG',
52
- 'i3rSDG',
53
- 'u2HHCMvKrxjYB3i',
54
- 'sw52ywXPzcbTzxnZywDLihr5CguGkg11C3qGyMuGCMvNDwXHCIbVCIbZzwn1CMuP',
55
- 'uMvZDwX0ig9IAMvJDcbPCYbTywXMB3jTzwq',
56
- 'su5wquXjrf9buKDvtuvova',
57
- 'zg9JvxjS',
58
- 'AgLNAa',
59
- 'sw52ywXPzfbHCMfTzxrLCLzHBhvL',
60
- 'mJCZodq4CMr0rMvz',
61
- 'uMvZDwX0lM9RigLZigzHBhnLigj1Dcbszxn1BhqUzxjYB3iGAxmGDw5KzwzPBMvKlIbvC2uGzxjYkgvYCM9YksbJB25ZDhj1y3rVCI4',
62
- 'q2HHBM5LBefKzhjLC3mGBxvZDcbOyxzLigjVDgGGChjVDMLKzxiGyw5KigvTywLSigzPzwXKCY4',
63
- 'rePJDfm',
64
- 'qxr0ywnOBwvUDcbTDxn0igHHDMuGzMLSzw5HBwuSig1PBwvuExbLlcbHBMqGzgf0ysaOvwLUDdHbCNjHEsKU',
65
- 'veXwihr5CguGy29KzsbPCYbUB3qGCMvJB2DUAxPLzc4Gq2HLy2SGveXwx1rzueuGy29UC3rHBNqGzM9YihzHBgLKihzHBhvLCY4',
66
- 'BgvUz3rO',
67
- 'uMvZDwX0ig9IAMvJDcbTDxn0igHHDMuGzxHHy3rSEsbVBMuGB2y6ihTVAZOGDhj1zsWGDMfSDwu6ifr9ig9YihTVAZOGzMfSC2uSigvYCM9YoIbfFs4',
68
- 'u2HHCMvKuMvZDwX0rxjYB3i',
69
- 'sw52ywXPzcbutfyGDhLWzsbJB2rL',
70
- 'sw52ywXPzcbJB250zw50ihr5CguGkg11C3qGyMuGDgv4Dc9WBgfPBIbVCIb0zxH0l2H0BwWP',
71
- 'mte0uMrAr2fJ',
72
- 'q29UDgfJDcbPBMzVigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ',
73
- 'i3jLC3vSDc1Wyxr0zxjU',
74
- 'C2XPy2u',
75
- 'nZy0odG0oe5yAfffsq',
76
- 'q2HHBM5LBcbHzgrYzxnZigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ'
77
- ];
78
- a7_0x2e93 = function () {
79
- return _0x5d46cb;
80
- };
81
- return a7_0x2e93();
82
- }
83
- export class SharedError extends Error {
84
- [a7_0x1569b9(0x1e9)];
85
- [a7_0x1569b9(0x1e6)];
86
- [a7_0x1569b9(0x1c5)];
87
- constructor(_0x403d36, _0x42313a, _0x4cdd94) {
88
- const a7_0x2825c1 = {
89
- _0x51b4ea: 0x1c1,
90
- _0x1b1c92: 0x1eb
91
- }, _0x466c88 = a7_0x3003, _0x19229f = {
92
- 'wZXxI': function (_0x481abf, _0xe889ee) {
93
- return _0x481abf > _0xe889ee;
94
- }
95
- };
96
- super(_0x42313a), this[_0x466c88(0x1e8)] = _0x466c88(a7_0x2825c1._0x51b4ea);
97
- const _0x246dcc = _0x403d36[_0x466c88(0x1e3)](':');
98
- this['code'] = _0x246dcc[0x0] ?? _0x403d36, this['subCode'] = _0x19229f['wZXxI'](_0x246dcc[_0x466c88(0x1ce)], 0x1) ? _0x246dcc[_0x466c88(0x1d6)](0x1)[_0x466c88(a7_0x2825c1._0x1b1c92)](':') : undefined, this['docUrl'] = _0x4cdd94;
99
- }
100
- }
101
- function a7_0x3003(_0x5a8d1, _0x77c534) {
102
- _0x5a8d1 = _0x5a8d1 - 0x1ba;
103
- const _0x2e939f = a7_0x2e93();
104
- let _0x3003e0 = _0x2e939f[_0x5a8d1];
105
- if (a7_0x3003['IWOIlV'] === undefined) {
106
- var _0x47ea4b = function (_0x5466d8) {
107
- const _0xf2cdf1 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
108
- let _0x3ef3d4 = '', _0x14d828 = '';
109
- for (let _0x251f49 = 0x0, _0x4b9a88, _0x5e80ec, _0xe242d4 = 0x0; _0x5e80ec = _0x5466d8['charAt'](_0xe242d4++); ~_0x5e80ec && (_0x4b9a88 = _0x251f49 % 0x4 ? _0x4b9a88 * 0x40 + _0x5e80ec : _0x5e80ec, _0x251f49++ % 0x4) ? _0x3ef3d4 += String['fromCharCode'](0xff & _0x4b9a88 >> (-0x2 * _0x251f49 & 0x6)) : 0x0) {
110
- _0x5e80ec = _0xf2cdf1['indexOf'](_0x5e80ec);
111
- }
112
- for (let _0x5222b9 = 0x0, _0x566917 = _0x3ef3d4['length']; _0x5222b9 < _0x566917; _0x5222b9++) {
113
- _0x14d828 += '%' + ('00' + _0x3ef3d4['charCodeAt'](_0x5222b9)['toString'](0x10))['slice'](-0x2);
114
- }
115
- return decodeURIComponent(_0x14d828);
116
- };
117
- a7_0x3003['yJDcHZ'] = _0x47ea4b, a7_0x3003['IbVDdH'] = {}, a7_0x3003['IWOIlV'] = !![];
118
- }
119
- const _0x5796e7 = _0x2e939f[0x0], _0xd34e6b = _0x5a8d1 + _0x5796e7, _0x4b8b65 = a7_0x3003['IbVDdH'][_0xd34e6b];
120
- return !_0x4b8b65 ? (_0x3003e0 = a7_0x3003['yJDcHZ'](_0x3003e0), a7_0x3003['IbVDdH'][_0xd34e6b] = _0x3003e0) : _0x3003e0 = _0x4b8b65, _0x3003e0;
121
- }
122
- export class SharedTypeError extends SharedError {
123
- constructor(_0x2bf078, _0x5dabd2) {
124
- const a7_0x2f844f = { _0x5cdbdf: 0x1ba }, _0x4a0a42 = a7_0x3003, _0x49a4b1 = { 'DJctS': _0x4a0a42(0x1e4) };
125
- super(_0x2bf078, _0x5dabd2, DOC_BASE + _0x4a0a42(a7_0x2f844f._0x5cdbdf)), this[_0x4a0a42(0x1e8)] = _0x49a4b1[_0x4a0a42(0x1cb)];
126
- }
127
- }
128
- export class SharedResultError extends SharedError {
129
- constructor(_0x457dd4, _0x3ee51c) {
130
- const _0x7d87ac = a7_0x3003, _0x18a08d = { 'FPRsA': _0x7d87ac(0x1d0) };
131
- super(_0x457dd4, _0x3ee51c, DOC_BASE + _0x7d87ac(0x1d5)), this['name'] = _0x18a08d[_0x7d87ac(0x1da)];
132
- }
133
- }
134
- export class SharedTlvError extends SharedError {
135
- constructor(_0x1d5cc5, _0x200158) {
136
- const a7_0x43bd59 = {
137
- _0x4925fe: 0x1c0,
138
- _0x2aabfa: 0x1e8,
139
- _0x38608e: 0x1e5
140
- }, _0x26ffe9 = a7_0x3003;
141
- super(_0x1d5cc5, _0x200158, DOC_BASE + _0x26ffe9(a7_0x43bd59._0x4925fe)), this[_0x26ffe9(a7_0x43bd59._0x2aabfa)] = _0x26ffe9(a7_0x43bd59._0x38608e);
142
- }
143
- }
144
- export const ERROR_MESSAGES = {
145
- 'INVALID_PROVIDER': a7_0x1569b9(0x1e7),
146
- 'INVALID_SECURITY_TIER': 'Invalid\x20security\x20tier\x20(must\x20be\x20blue\x20or\x20green)',
147
- 'INVALID_CONTENT_TYPE': a7_0x1569b9(0x1d2),
148
- 'INVALID_MESSAGE_TYPE': a7_0x1569b9(0x1c2),
149
- 'INVALID_TLV_TYPE': a7_0x1569b9(0x1d1),
150
- 'INVALID_RESULT': a7_0x1569b9(0x1c3),
151
- 'MISSING_VALUE': a7_0x1569b9(0x1e2),
152
- 'MISSING_ERROR': 'Result\x20marked\x20as\x20failed\x20but\x20error\x20is\x20missing',
153
- 'INVALID_CHANNEL_ADDRESS': a7_0x1569b9(0x1d8),
154
- 'INVALID_CONTACT_INFO': a7_0x1569b9(0x1d4),
155
- 'INVALID_ATTACHMENT': a7_0x1569b9(0x1bd)
156
- };
157
- export const ERROR_DETAILS = {
158
- 'INVALID_PROVIDER': {
159
- 'message': a7_0x1569b9(0x1e0),
160
- 'aws': a7_0x1569b9(0x1c7),
161
- 'grpc': a7_0x1569b9(0x1c4),
162
- 'http': 0x190,
163
- 'severity': a7_0x1569b9(0x1c6)
164
- },
165
- 'INVALID_SECURITY_TIER': {
166
- 'message': a7_0x1569b9(0x1be),
167
- 'aws': a7_0x1569b9(0x1c7),
168
- 'grpc': a7_0x1569b9(0x1c4),
169
- 'http': 0x190,
170
- 'severity': a7_0x1569b9(0x1bb)
171
- },
172
- 'INVALID_CONTENT_TYPE': {
173
- 'message': a7_0x1569b9(0x1bf),
174
- 'aws': a7_0x1569b9(0x1c7),
175
- 'grpc': a7_0x1569b9(0x1c4),
176
- 'http': 0x190,
177
- 'severity': a7_0x1569b9(0x1bb)
178
- },
179
- 'INVALID_MESSAGE_TYPE': {
180
- 'message': a7_0x1569b9(0x1d9),
181
- 'aws': a7_0x1569b9(0x1c7),
182
- 'grpc': a7_0x1569b9(0x1c4),
183
- 'http': 0x190,
184
- 'severity': a7_0x1569b9(0x1c6)
185
- },
186
- 'INVALID_TLV_TYPE': {
187
- 'message': a7_0x1569b9(0x1cd),
188
- 'aws': a7_0x1569b9(0x1c7),
189
- 'grpc': 'INVALID_ARGUMENT',
190
- 'http': 0x190,
191
- 'severity': a7_0x1569b9(0x1bb)
192
- },
193
- 'INVALID_RESULT': {
194
- 'message': a7_0x1569b9(0x1cf),
195
- 'aws': a7_0x1569b9(0x1c7),
196
- 'grpc': a7_0x1569b9(0x1c4),
197
- 'http': 0x190,
198
- 'severity': a7_0x1569b9(0x1c6)
199
- },
200
- 'MISSING_VALUE': {
201
- 'message': a7_0x1569b9(0x1de),
202
- 'aws': a7_0x1569b9(0x1c7),
203
- 'grpc': a7_0x1569b9(0x1c4),
204
- 'http': 0x190,
205
- 'severity': a7_0x1569b9(0x1c6)
206
- },
207
- 'MISSING_ERROR': {
208
- 'message': a7_0x1569b9(0x1c9),
209
- 'aws': a7_0x1569b9(0x1c7),
210
- 'grpc': a7_0x1569b9(0x1c4),
211
- 'http': 0x190,
212
- 'severity': 'high'
213
- },
214
- 'INVALID_CHANNEL_ADDRESS': {
215
- 'message': a7_0x1569b9(0x1ca),
216
- 'aws': 'InvalidParameterValue',
217
- 'grpc': a7_0x1569b9(0x1c4),
218
- 'http': 0x190,
219
- 'severity': a7_0x1569b9(0x1c6)
220
- },
221
- 'INVALID_CONTACT_INFO': {
222
- 'message': 'ContactInfo\x20must\x20have\x20name,\x20channels\x20array,\x20and\x20valid\x20securityTier.',
223
- 'aws': a7_0x1569b9(0x1c7),
224
- 'grpc': a7_0x1569b9(0x1c4),
225
- 'http': 0x190,
226
- 'severity': a7_0x1569b9(0x1c6)
227
- },
228
- 'INVALID_ATTACHMENT': {
229
- 'message': a7_0x1569b9(0x1cc),
230
- 'aws': a7_0x1569b9(0x1c7),
231
- 'grpc': a7_0x1569b9(0x1c4),
232
- 'http': 0x190,
233
- 'severity': a7_0x1569b9(0x1bb)
234
- }
235
- };
236
- export function toSharedError(_0x17cb2a) {
237
- const _0xc21e8d = {
238
- 'EcqDl': function (_0x73763a, _0x140649) {
239
- return _0x73763a(_0x140649);
240
- }
241
- };
242
- if (_0x17cb2a instanceof SharedError)
243
- return _0x17cb2a;
244
- if (_0x17cb2a instanceof Error)
245
- return new SharedError('INVALID_RESULT', _0x17cb2a['message']);
246
- return new SharedError('INVALID_RESULT', _0xc21e8d['EcqDl'](String, _0x17cb2a));
247
- }
248
- export function isSharedError(_0x101cbd) {
249
- const _0x4bf579 = {
250
- 'chyRp': function (_0x4586f7, _0x28ed8b) {
251
- return _0x4586f7 instanceof _0x28ed8b;
252
- }
253
- };
254
- return _0x4bf579['chyRp'](_0x101cbd, SharedError);
255
- }
1
+ const a7_0x2f2ce5=a7_0x4b5d;!function(){const e=458,r=476,a=442,t=430,c=448,s=434,x=451,i=a7_0x4b5d,_=a7_0x4c61();for(;;)try{if(525883===-parseInt(i(459))/1*(parseInt(i(e))/2)+parseInt(i(r))/3*(-parseInt(i(a))/4)+-parseInt(i(439))/5+parseInt(i(t))/6+-parseInt(i(433))/7+-parseInt(i(c))/8+parseInt(i(s))/9*(parseInt(i(x))/10))break;_.push(_.shift())}catch(e){_.push(_.shift())}}();const DOC_BASE=a7_0x2f2ce5(452);export class SharedError extends Error{[a7_0x2f2ce5(445)];[a7_0x2f2ce5(444)];[a7_0x2f2ce5(437)];constructor(e,r,a){const t=a7_0x4b5d;super(r),this[t(471)]=t(450);const c=e.split(":");this[t(445)]=c[0]??e,this[t(444)]=c[t(443)]>1?c[t(454)](1)[t(472)](":"):void 0,this.docUrl=a}}function a7_0x4c61(){const e=["oxLID09LsG","u2HHCMvKvgX2rxjYB3i","EgXjs2m","rw1HAwWGChjVDMLKzxiGBxvZDcbIzsbVBMuGB2y6igDTywLSlcbVDxrSB29Rlcb5ywHVBY4Gq2HLy2SGDgHLifbYB3zPzgvYihr5CguGzgvMAw5PDgLVBI4","qxr0ywnOBwvUDcbPCYbTAxnZAw5NihjLCxvPCMvKigzPzwXKCW","sw52ywXPzcbTzxnZywDLihr5CguGkg11C3qGyMuGCMvNDwXHCIbVCIbZzwn1CMuP","BwvKAxvT","mty5mtK4oePQtgfWEq","sw52ywXPzfbHCMfTzxrLCLzHBhvL","sw52ywXPzcbZzwn1CML0Esb0AwvYicHTDxn0igjLigjSDwuGB3iGz3jLzw4P","mJG3odK3nermBuP5vG","mta1odrgq1bhyu0","uMvZDwX0lM9RigLZihrYDwuGyNv0ifjLC3vSDc52ywX1zsbPCYb1BMrLzMLUzwqUifvZzsbVAYH2ywX1zsKGy29UC3rYDwn0B3iU","sw52ywXPzcbutfyGDhLWzsbJB2rL","zg9JvxjS","q29UDgvUDcb0ExbLig11C3qGyMuGDgv4Dc9WBgfPBIbVCIb0zxH0l2H0BwWGzM9Yig1LC3nHz2uGyM9KAwvZlG","mtG0otyYnuDeD1fpCW","u2vJDxjPDhKGDgLLCIbTDxn0igjLigjSDwuGkdiGywrKCMvZC2vZksbVCIbNCMvLBIaOmYSGywrKCMvZC2vZks4GvxnLig51BgWGzM9YihjLz3vSyxiGzw1HAwWU","q29UDgfJDcbPBMzVigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ","mti0odG2ogLKA0rOsa","BgvUz3rO","C3vIq29Kzq","y29Kzq","u2HHCMvKvhLWzuvYCM9Y","sw52ywXPzcbJB250zw50ihr5CguGkg11C3qGyMuGDgv4Dc9WBgfPBIbVCIb0zxH0l2H0BwWP","mtGYmtm0ne5nvNPSEq","u2HHCMvKuMvZDwX0rxjYB3i","u2HHCMvKrxjYB3i","mJa1ndbzsuTkrvO","Ahr0Chm6lY9WCML2yxrLlM1Ll2rVy3mVCgfJA2fNzxmVC2HHCMvK","veXwihr5CguGy29KzsbPCYbUB3qGCMvJB2DUAxPLzc4Gq2HLy2SGveXwx1rzueuGy29UC3rHBNqGzM9YihzHBgLKihzHBhvLCY4","C2XPy2u","q29UDgfJDeLUzM8GBxvZDcbOyxzLig5HBwuSignOyw5UzwXZigfYCMf5lcbHBMqGDMfSAwqGC2vJDxjPDhLuAwvYlG","qxr0ywnOBwvUDcbTDxn0igHHDMuGzMLSzw5HBwuSig1PBwvuExbLlcbHBMqGzgf0ysaOvwLUDdHbCNjHEsKU","BwvZC2fNzq","mtrSAe9nz2G","mZiYotLnwhPhs2W","twvZC2fNzsb0ExbLig11C3qGyMuGCMvNDwXHCIaODw5Zzwn1CMvKksbVCIbZzwn1CMuGkhnWBgL0lwnOyw5UzwWPlG","i3jLC3vSDc1Wyxr0zxjU","i3r5CgvZ","CujwCu8","uMvZDwX0ig9IAMvJDcbPCYbTywXMB3jTzwq","AgLNAa","uMvZDwX0ig1HCMTLzcbHCYbMywLSzwqGyNv0igvYCM9YigLZig1PC3nPBMC","q2HHBM5LBcbHzgrYzxnZigLZig1PC3nPBMCGCMvXDwLYzwqGzMLLBgrZ","uMvZDwX0lM9RigLZigzHBhnLigj1Dcbszxn1BhqUzxjYB3iGAxmGDw5KzwzPBMvKlIbvC2uGzxjYkgvYCM9YksbJB25ZDhj1y3rVCI4","su5wquXjrf9buKDvtuvova","uMvZDwX0ig9IAMvJDcbTDxn0igHHDMuGzxHHy3rSEsbVBMuGB2y6ihTVAZOGDhj1zsWGDMfSDwu6ifr9ig9YihTVAZOGzMfSC2uSigvYCM9YoIbfFs4","BMfTzq","AM9PBG","q2HHBM5LBefKzhjLC3mGBxvZDcbOyxzLigjVDgGGChjVDMLKzxiGyw5KigvTywLSigzPzwXKCY4","CuTWt0y","uMvZDwX0ig1HCMTLzcbHCYbVAYbIDxqGDMfSDwuGAxmGBwLZC2LUzW"];return(a7_0x4c61=function(){return e})()}function a7_0x4b5d(e){e-=429;const r=a7_0x4c61();let a=r[e];if(void 0===a7_0x4b5d.OQlsBx){a7_0x4b5d.lPdhBN=function(e){let r="",a="";for(let a,t,c=0,s=0;t=e.charAt(s++);~t&&(a=c%4?64*a+t:t,c++%4)?r+=String.fromCharCode(255&a>>(-2*c&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let e=0,t=r.length;e<t;e++)a+="%"+("00"+r.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(a)},a7_0x4b5d.URXrDU={},a7_0x4b5d.OQlsBx=!0}const t=e+r[0],c=a7_0x4b5d.URXrDU[t];return c?a=c:(a=a7_0x4b5d.lPdhBN(a),a7_0x4b5d.URXrDU[t]=a),a}export class SharedTypeError extends SharedError{constructor(e,r){const a=446,t=a7_0x4b5d;super(e,r,DOC_BASE+t(462)),this[t(471)]=t(a)}}export class SharedResultError extends SharedError{constructor(e,r){const a=461,t=471,c=a7_0x4b5d,s={qBVqO:c(449)};super(e,r,DOC_BASE+c(a)),this[c(t)]=s[c(463)]}}export class SharedTlvError extends SharedError{constructor(e,r){const a=a7_0x4b5d;super(e,r,DOC_BASE+"#tlv"),this.name=a(477)}}export const ERROR_MESSAGES={INVALID_PROVIDER:"Invalid email provider (must be gmail, outlook, or yahoo)",INVALID_SECURITY_TIER:a7_0x2f2ce5(432),INVALID_CONTENT_TYPE:a7_0x2f2ce5(447),INVALID_MESSAGE_TYPE:a7_0x2f2ce5(481),INVALID_TLV_TYPE:a7_0x2f2ce5(436),INVALID_RESULT:a7_0x2f2ce5(464),MISSING_VALUE:a7_0x2f2ce5(475),MISSING_ERROR:a7_0x2f2ce5(466),INVALID_CHANNEL_ADDRESS:a7_0x2f2ce5(467),INVALID_CONTACT_INFO:a7_0x2f2ce5(441),INVALID_ATTACHMENT:a7_0x2f2ce5(480)};export const ERROR_DETAILS={INVALID_PROVIDER:{message:a7_0x2f2ce5(479),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:"high"},INVALID_SECURITY_TIER:{message:a7_0x2f2ce5(440),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:"medium"},INVALID_CONTENT_TYPE:{message:a7_0x2f2ce5(438),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(429)},INVALID_MESSAGE_TYPE:{message:a7_0x2f2ce5(460),aws:"InvalidParameterValue",grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(465)},INVALID_TLV_TYPE:{message:a7_0x2f2ce5(453),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(429)},INVALID_RESULT:{message:a7_0x2f2ce5(470),aws:"InvalidParameterValue",grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(465)},MISSING_VALUE:{message:a7_0x2f2ce5(435),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(465)},MISSING_ERROR:{message:a7_0x2f2ce5(468),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(465)},INVALID_CHANNEL_ADDRESS:{message:a7_0x2f2ce5(473),aws:"InvalidParameterValue",grpc:a7_0x2f2ce5(469),http:400,severity:a7_0x2f2ce5(465)},INVALID_CONTACT_INFO:{message:a7_0x2f2ce5(455),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:"high"},INVALID_ATTACHMENT:{message:a7_0x2f2ce5(456),aws:a7_0x2f2ce5(431),grpc:a7_0x2f2ce5(469),http:400,severity:"medium"}};export function toSharedError(e){const r=474,a=a7_0x4b5d,t={xlIKc:"INVALID_RESULT",qKpOF:function(e,r){return e(r)}};return e instanceof SharedError?e:e instanceof Error?new SharedError(t[a(478)],e[a(457)]):new SharedError(t[a(478)],t[a(r)](String,e))}export function isSharedError(e){return e instanceof SharedError}