@tangle-network/sandbox 0.1.2 → 0.2.1

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.
@@ -1,491 +0,0 @@
1
- import { Et as SecretsManager, Ut as UsageInfo, W as ListSandboxOptions, b as CreateSandboxOptions, d as BatchEvent, f as BatchOptions, gt as SandboxEnvironment, jt as SubscriptionInfo, m as BatchTask, mt as SandboxClientConfig, n as SandboxInstance, p as BatchResult, t as HttpClient } from "./sandbox-BvZ0-Iv7.js";
2
-
3
- //#region src/client.d.ts
4
- /**
5
- * Client for the Tangle Sandbox platform.
6
- *
7
- * @example
8
- * ```typescript
9
- * import { Sandbox } from "@tangle-network/sandbox";
10
- *
11
- * const client = new Sandbox({
12
- * apiKey: "sk_sandbox_...",
13
- * baseUrl: "https://your-sandbox-api.example.com",
14
- * });
15
- *
16
- * // Create a sandbox
17
- * const box = await client.create({
18
- * name: "my-project",
19
- * sshEnabled: true,
20
- * });
21
- *
22
- * // Execute commands
23
- * const result = await box.exec("npm install");
24
- *
25
- * // Clean up
26
- * await box.delete();
27
- * ```
28
- */
29
- declare class SandboxClient implements HttpClient {
30
- private readonly baseUrl;
31
- private readonly apiKey;
32
- private readonly timeoutMs;
33
- private _secrets;
34
- constructor(config: SandboxClientConfig);
35
- /**
36
- * Access the secrets manager for storing and retrieving encrypted secrets.
37
- *
38
- * @example
39
- * ```typescript
40
- * // Create a secret
41
- * await client.secrets.create("HF_TOKEN", "hf_xxx");
42
- *
43
- * // List secrets (names only)
44
- * const secrets = await client.secrets.list();
45
- *
46
- * // Get secret value
47
- * const value = await client.secrets.get("HF_TOKEN");
48
- *
49
- * // Update secret
50
- * await client.secrets.update("HF_TOKEN", "hf_new_value");
51
- *
52
- * // Delete secret
53
- * await client.secrets.delete("HF_TOKEN");
54
- * ```
55
- */
56
- get secrets(): SecretsManager;
57
- private _environments;
58
- /**
59
- * Access available development environments.
60
- *
61
- * @example
62
- * ```typescript
63
- * const envs = await client.environments.list();
64
- * // → [{ id: "universal", description: "Universal environment with all toolchains via Nix", ... }]
65
- *
66
- * const sandbox = await client.create({ environment: "universal" });
67
- * ```
68
- */
69
- get environments(): EnvironmentsClient;
70
- private _teams;
71
- /**
72
- * Access team management (collaboration groups, invitations,
73
- * member roles). Teams scope shared sandboxes — pass `teamId` to
74
- * `client.create()` to create a sandbox accessible to a team's
75
- * members.
76
- *
77
- * @example
78
- * ```typescript
79
- * const teams = await client.teams.list();
80
- * const invite = await client.teams.invite(teams[0].id, {
81
- * email: "alice@example.com",
82
- * role: "member",
83
- * });
84
- * ```
85
- */
86
- get teams(): TeamsClient;
87
- /**
88
- * Create a new sandbox.
89
- *
90
- * @param options - Configuration for the new sandbox
91
- * @returns A SandboxInstance representing the created sandbox
92
- *
93
- * @example
94
- * ```typescript
95
- * const box = await client.create({
96
- * name: "my-project",
97
- * environment: "universal",
98
- * sshEnabled: true,
99
- * env: { NODE_ENV: "development" },
100
- * });
101
- * ```
102
- */
103
- create(options?: CreateSandboxOptions): Promise<SandboxInstance>;
104
- /**
105
- * List all sandboxes.
106
- *
107
- * @param options - Filtering and pagination options
108
- * @returns Array of SandboxInstance objects
109
- *
110
- * @example
111
- * ```typescript
112
- * // List all running sandboxes
113
- * const running = await client.list({ status: "running" });
114
- *
115
- * // List with pagination
116
- * const page = await client.list({ limit: 10, offset: 0 });
117
- * ```
118
- */
119
- list(options?: ListSandboxOptions): Promise<SandboxInstance[]>;
120
- /**
121
- * Get a sandbox by ID.
122
- *
123
- * @param id - The sandbox ID
124
- * @returns A SandboxInstance or null if not found
125
- *
126
- * @example
127
- * ```typescript
128
- * const box = await client.get("sandbox_abc123");
129
- * if (box) {
130
- * console.log(box.status);
131
- * }
132
- * ```
133
- */
134
- get(id: string): Promise<SandboxInstance | null>;
135
- /**
136
- * Get usage information for the account.
137
- *
138
- * @returns Usage statistics for the current billing period
139
- *
140
- * @example
141
- * ```typescript
142
- * const usage = await client.usage();
143
- * console.log(`Active sandboxes: ${usage.activeSandboxes}`);
144
- * console.log(`Compute minutes: ${usage.computeMinutes}`);
145
- * ```
146
- */
147
- usage(): Promise<UsageInfo>;
148
- /**
149
- * Get subscription and billing information for the account.
150
- *
151
- * @returns Subscription details including plan, credits, and limits
152
- *
153
- * @example
154
- * ```typescript
155
- * const sub = await client.subscription();
156
- * console.log(`Plan: ${sub.plan}`);
157
- * console.log(`Credits: $${sub.creditsAvailableUsd.toFixed(2)}`);
158
- * ```
159
- */
160
- subscription(): Promise<SubscriptionInfo>;
161
- /**
162
- * Check if the Sandbox API is available.
163
- *
164
- * @returns true if the API is healthy, false otherwise
165
- */
166
- health(): Promise<boolean>;
167
- /**
168
- * Check if CRIU checkpointing is available on the platform.
169
- *
170
- * CRIU enables memory preservation for true pause/resume and fork operations.
171
- * It requires specific host configuration.
172
- *
173
- * @returns CRIU availability status
174
- *
175
- * @example
176
- * ```typescript
177
- * const status = await client.criuStatus();
178
- * if (status.available) {
179
- * console.log(`CRIU ${status.criuVersion} available`);
180
- * } else {
181
- * console.log(`CRIU not available: ${status.reason}`);
182
- * }
183
- * ```
184
- */
185
- criuStatus(): Promise<{
186
- available: boolean;
187
- criuVersion?: string;
188
- reason?: string;
189
- requirements?: {
190
- kernel: boolean;
191
- criu: boolean;
192
- storageDriver: boolean;
193
- experimental: boolean;
194
- };
195
- }>;
196
- /**
197
- * Run multiple tasks in parallel across sandboxes.
198
- * Returns the aggregated results after all tasks complete.
199
- *
200
- * @param tasks - Array of tasks to execute
201
- * @param options - Batch execution options
202
- * @returns Aggregated batch results
203
- *
204
- * @throws {@link TimeoutError} if the server hasn't begun responding
205
- * before the deadline (pre-stream timeout).
206
- * @throws {@link ValidationError} / {@link QuotaError} / other typed
207
- * SDK errors if the server rejects the request before streaming.
208
- * @throws `DOMException` with `name === "AbortError"` if
209
- * `options.signal` fires OR the safety-valve deadline fires
210
- * AFTER streaming has begun — parseSSEStream can't distinguish
211
- * the source mid-stream. Callers that need to tell cancel from
212
- * timeout should check `options.signal?.aborted` in their catch.
213
- * @throws `Error` with the server message if the stream emits a
214
- * `batch.failed` event.
215
- *
216
- * @example
217
- * ```typescript
218
- * const result = await client.runBatch([
219
- * { id: "task-1", message: "Analyze this file" },
220
- * { id: "task-2", message: "Generate a summary" },
221
- * ]);
222
- * console.log(`Success rate: ${result.successRate}%`);
223
- * ```
224
- */
225
- runBatch(tasks: BatchTask[], options?: BatchOptions): Promise<BatchResult>;
226
- /**
227
- * Stream events from a batch execution.
228
- * Use this for real-time progress updates during batch processing.
229
- *
230
- * @param tasks - Array of tasks to execute
231
- * @param options - Batch execution options
232
- *
233
- * @throws {@link TimeoutError} if the server hasn't begun responding
234
- * before the deadline (pre-stream timeout).
235
- * @throws {@link ValidationError} / {@link QuotaError} / other typed
236
- * SDK errors if the server rejects the request before streaming.
237
- * @throws `DOMException` with `name === "AbortError"` if
238
- * `options.signal` fires OR the safety-valve deadline fires
239
- * AFTER streaming has begun. Distinguish via
240
- * `options.signal?.aborted` in the consumer's catch.
241
- *
242
- * @example
243
- * ```typescript
244
- * for await (const event of client.streamBatch(tasks)) {
245
- * if (event.type === "task.completed") {
246
- * console.log(`Task ${event.data.taskId} completed`);
247
- * }
248
- * }
249
- * ```
250
- */
251
- streamBatch(tasks: BatchTask[], options?: BatchOptions): AsyncGenerator<BatchEvent>;
252
- /**
253
- * Make an authenticated HTTP request to the API.
254
- * This is exposed for use by SandboxInstance.
255
- */
256
- fetch(path: string, options?: RequestInit): Promise<Response>;
257
- private parseInfo;
258
- }
259
- /**
260
- * Client for browsing available development environments.
261
- */
262
- declare class EnvironmentsClient {
263
- private readonly client;
264
- constructor(client: SandboxClient);
265
- /**
266
- * List available development environments.
267
- *
268
- * @returns Array of available environments with metadata
269
- *
270
- * @example
271
- * ```typescript
272
- * const envs = await client.environments.list();
273
- * for (const env of envs) {
274
- * console.log(`${env.id}: ${env.description}`);
275
- * }
276
- * ```
277
- */
278
- list(): Promise<SandboxEnvironment[]>;
279
- /**
280
- * Get details for a specific environment.
281
- *
282
- * @param id - Environment identifier (e.g., "universal")
283
- */
284
- get(id: string): Promise<SandboxEnvironment | null>;
285
- }
286
- /**
287
- * Team (collaboration group) record as returned from the API.
288
- */
289
- interface Team {
290
- id: string;
291
- name: string;
292
- ownerCustomerId: string;
293
- orgId: string | null;
294
- memberCount: number;
295
- currentUserRole: "owner" | "admin" | "member" | "viewer";
296
- createdAt: string;
297
- updatedAt: string;
298
- }
299
- interface TeamMember {
300
- id: string;
301
- teamId: string;
302
- customerId: string;
303
- customerEmail: string;
304
- customerName: string | null;
305
- role: "owner" | "admin" | "member" | "viewer";
306
- status: "active" | "pending" | "removed";
307
- joinedAt: string | null;
308
- createdAt: string;
309
- }
310
- interface TeamInvitation {
311
- id: string;
312
- teamId: string;
313
- email: string;
314
- invitedBy: string;
315
- invitedByEmail: string | null;
316
- role: "admin" | "member" | "viewer";
317
- token: string;
318
- status: "pending" | "accepted" | "expired" | "revoked";
319
- expiresAt: string;
320
- createdAt: string;
321
- }
322
- interface TeamInvitationPreview {
323
- email: string;
324
- role: "admin" | "member" | "viewer";
325
- status: "pending" | "accepted" | "expired" | "revoked";
326
- expiresAt: string;
327
- teamName: string;
328
- invitedByEmail: string | null;
329
- }
330
- interface TeamSecretRecord {
331
- name: string;
332
- updatedAt: string;
333
- updatedBy: string;
334
- }
335
- interface CreateTeamOptions {
336
- name: string;
337
- orgId?: string;
338
- }
339
- interface InviteTeamMemberOptions {
340
- email: string;
341
- role: "admin" | "member" | "viewer";
342
- /** Lifetime of the invitation in hours (default 168 = 7 days). */
343
- ttlHours?: number;
344
- }
345
- /**
346
- * Client for managing teams and team-scoped sharing.
347
- *
348
- * Team resources are scoped to the authenticated user's membership —
349
- * the client never needs to pass an org id explicitly.
350
- */
351
- declare class TeamsClient {
352
- private readonly client;
353
- constructor(client: SandboxClient);
354
- list(): Promise<Team[]>;
355
- create(options: CreateTeamOptions): Promise<Team>;
356
- get(teamId: string): Promise<Team>;
357
- update(teamId: string, updates: {
358
- name?: string;
359
- }): Promise<Team>;
360
- delete(teamId: string): Promise<void>;
361
- leave(teamId: string): Promise<void>;
362
- transferOwnership(teamId: string, newOwnerCustomerId: string): Promise<void>;
363
- listMembers(teamId: string): Promise<TeamMember[]>;
364
- updateMember(teamId: string, memberId: string, updates: {
365
- role?: "admin" | "member" | "viewer";
366
- status?: "active" | "removed";
367
- }): Promise<TeamMember>;
368
- removeMember(teamId: string, memberId: string): Promise<void>;
369
- listInvitations(teamId: string): Promise<TeamInvitation[]>;
370
- invite(teamId: string, options: InviteTeamMemberOptions): Promise<TeamInvitation>;
371
- revokeInvitation(invitationId: string): Promise<void>;
372
- acceptInvitation(token: string): Promise<TeamMember>;
373
- getInvitation(token: string): Promise<TeamInvitationPreview>;
374
- listSecrets(teamId: string): Promise<TeamSecretRecord[]>;
375
- upsertSecret(teamId: string, name: string, value: string): Promise<TeamSecretRecord>;
376
- deleteSecret(teamId: string, name: string): Promise<void>;
377
- revealSecret(teamId: string, name: string): Promise<{
378
- name: string;
379
- value: string;
380
- }>;
381
- }
382
- /**
383
- * Alias for SandboxClient for cleaner imports.
384
- */
385
- //#endregion
386
- //#region src/errors.d.ts
387
- /**
388
- * Sandbox SDK Errors
389
- *
390
- * Error classes for the Sandbox client SDK.
391
- */
392
- /**
393
- * Base error class for all Sandbox SDK errors.
394
- */
395
- declare class SandboxError extends Error {
396
- /** HTTP status code if applicable */
397
- readonly status?: number;
398
- /** Error code for programmatic handling */
399
- readonly code: string;
400
- /** Best-effort origin of the failing request */
401
- readonly origin?: SandboxErrorOrigin;
402
- /** Request path or endpoint when known */
403
- readonly endpoint?: string;
404
- /** Retry-after duration in ms when surfaced by the upstream */
405
- readonly retryAfterMs?: number;
406
- /** Sidecar version when the runtime emitted it */
407
- readonly sidecarVersion?: string;
408
- /** Sidecar image/tag/sha when the runtime emitted it */
409
- readonly containerImage?: string;
410
- constructor(message: string, code: string, status?: number, metadata?: SandboxErrorMetadata);
411
- }
412
- type SandboxErrorOrigin = "sidecar" | "sandbox-api" | "control-plane" | "runtime" | "unknown";
413
- interface SandboxErrorMetadata {
414
- origin?: SandboxErrorOrigin;
415
- endpoint?: string;
416
- retryAfterMs?: number;
417
- sidecarVersion?: string;
418
- containerImage?: string;
419
- }
420
- /**
421
- * Authentication failed or API key is invalid.
422
- */
423
- declare class AuthError extends SandboxError {
424
- constructor(message?: string, metadata?: SandboxErrorMetadata);
425
- }
426
- /**
427
- * The requested resource was not found.
428
- */
429
- declare class NotFoundError extends SandboxError {
430
- /** The resource type that was not found */
431
- readonly resourceType: string;
432
- /** The resource ID that was not found */
433
- readonly resourceId: string;
434
- constructor(resourceType: string, resourceId: string, metadata?: SandboxErrorMetadata);
435
- }
436
- /**
437
- * Account quota or rate limit exceeded.
438
- */
439
- declare class QuotaError extends SandboxError {
440
- /** The type of quota that was exceeded */
441
- readonly quotaType: string;
442
- /** Current usage */
443
- readonly current?: number;
444
- /** Maximum allowed */
445
- readonly limit?: number;
446
- /** Suggested retry-after duration in ms */
447
- readonly retryAfterMs?: number;
448
- constructor(quotaType: string, message?: string, current?: number, limit?: number, metadata?: SandboxErrorMetadata);
449
- }
450
- /**
451
- * The request was invalid or malformed.
452
- */
453
- declare class ValidationError extends SandboxError {
454
- /** Field-level validation errors */
455
- readonly fields?: Record<string, string>;
456
- constructor(message: string, fields?: Record<string, string>, metadata?: SandboxErrorMetadata);
457
- }
458
- /**
459
- * The sandbox is not in a valid state for the requested operation.
460
- */
461
- declare class StateError extends SandboxError {
462
- /** Current state of the sandbox */
463
- readonly currentState: string;
464
- /** Required state for the operation */
465
- readonly requiredState?: string;
466
- constructor(message: string, currentState: string, requiredState?: string, metadata?: SandboxErrorMetadata);
467
- }
468
- /**
469
- * The request timed out.
470
- */
471
- declare class TimeoutError extends SandboxError {
472
- /** Timeout duration in milliseconds */
473
- readonly timeoutMs: number;
474
- constructor(timeoutMs: number, message?: string, metadata?: SandboxErrorMetadata);
475
- }
476
- /**
477
- * A network or connection error occurred.
478
- */
479
- declare class NetworkError extends SandboxError {
480
- /** The underlying error */
481
- readonly cause?: Error;
482
- constructor(message: string, causeOrMetadata?: Error | SandboxErrorMetadata, metadata?: SandboxErrorMetadata);
483
- }
484
- /**
485
- * The server returned an unexpected error.
486
- */
487
- declare class ServerError extends SandboxError {
488
- constructor(message: string, status?: number, metadata?: SandboxErrorMetadata);
489
- }
490
- //#endregion
491
- export { SandboxError as a, TimeoutError as c, InviteTeamMemberOptions as d, SandboxClient as f, TeamMember as h, QuotaError as i, ValidationError as l, TeamInvitation as m, NetworkError as n, ServerError as o, Team as p, NotFoundError as r, StateError as s, AuthError as t, CreateTeamOptions as u };
@@ -1 +0,0 @@
1
- function a0_0x2e07(){const _0x441894=['\x42\x77\x76\x30\x41\x67\x39\x4b','\x73\x30\x39\x56\x44\x31\x71','\x6c\x33\x79\x58\x6c\x57','\x72\x77\x66\x4f\x43\x4c\x79','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x45\x63\x31\x30\x79\x77\x35\x4e\x42\x67\x75\x54\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x31\x57\x79\x78\x72\x4f','\x43\x67\x66\x30\x41\x61','\x43\x67\x66\x59\x43\x32\x75','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c','\x75\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x45\x77\x31\x71\x41\x32\x75','\x72\x4b\x4c\x77\x71\x4e\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6e\x74\x61\x31\x6d\x4a\x71\x33\x6e\x66\x76\x64\x44\x65\x7a\x66\x77\x61','\x75\x32\x76\x59\x44\x4d\x76\x59\x72\x78\x6a\x59\x42\x33\x69','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x42\x67\x4c\x54\x41\x78\x71','\x79\x77\x72\x4a\x71\x31\x79','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x6e\x5a\x4b\x34\x6e\x74\x65\x57\x43\x76\x66\x34\x42\x78\x76\x67','\x6d\x5a\x61\x30\x6d\x4a\x65\x59\x6f\x74\x7a\x76\x74\x77\x39\x6e\x71\x4b\x65','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x43\x4d\x66\x30\x7a\x76\x39\x53\x41\x77\x31\x50\x44\x61','\x41\x78\x6e\x6f\x79\x75\x34','\x6d\x5a\x71\x34\x6f\x64\x79\x5a\x6e\x78\x7a\x70\x71\x4d\x35\x4c\x79\x47','\x74\x4b\x39\x75\x78\x30\x7a\x70\x76\x75\x35\x65','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47','\x71\x78\x76\x51\x76\x4c\x4f','\x45\x63\x31\x56\x43\x4d\x6e\x4f\x7a\x78\x6e\x30\x43\x4d\x66\x30\x42\x33\x69\x54\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x63\x62\x30\x41\x77\x31\x4c\x7a\x63\x62\x56\x44\x78\x71\x47\x79\x77\x7a\x30\x7a\x78\x69\x47','\x43\x33\x72\x59\x41\x77\x35\x4e','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x73\x4d\x6a\x55\x42\x32\x38','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x41\x67\x66\x5a','\x44\x4c\x6e\x56\x41\x4e\x65','\x42\x31\x6e\x78\x72\x77\x57','\x44\x68\x6a\x50\x42\x71','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x47','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x77\x4c\x54\x79\x77\x44\x4c\x6c\x78\x72\x48\x7a\x57','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x6d\x74\x79\x35\x6d\x4b\x7a\x55\x73\x65\x4c\x72\x75\x47','\x75\x4b\x76\x72\x76\x75\x76\x74\x76\x61','\x72\x65\x6e\x33\x73\x76\x4b','\x75\x30\x76\x73\x76\x4b\x76\x73\x78\x30\x76\x73\x75\x4b\x39\x73','\x43\x33\x62\x53\x41\x78\x71','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x6e\x74\x75\x57\x6e\x4b\x39\x62\x73\x4b\x4c\x6b\x41\x47','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x74\x4d\x76\x30\x44\x32\x39\x59\x41\x30\x76\x59\x43\x4d\x39\x59','\x42\x77\x66\x34','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\x43\x4d\x54\x4a\x77\x4c\x43','\x74\x75\x54\x6f\x7a\x77\x4f','\x6d\x74\x65\x31\x6d\x74\x6d\x31\x6f\x67\x6a\x55\x45\x4b\x7a\x4b\x76\x47','\x45\x65\x31\x53\x43\x65\x57','\x7a\x77\x48\x56\x7a\x77\x71','\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x79\x4c\x7a\x30\x41\x75\x65','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x44\x67\x76\x5a\x44\x61','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x6e\x65\x35\x74\x42\x30\x31\x49\x43\x71','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x41\x65\x4c\x4c\x76\x32\x4b','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x43\x33\x72\x48\x44\x68\x76\x5a','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x74\x31\x72\x63\x45\x75\x57','\x77\x77\x39\x6c\x42\x65\x53','\x73\x31\x72\x36\x75\x4b\x53','\x6d\x74\x71\x5a\x6d\x64\x79\x58\x6f\x64\x72\x7a\x43\x31\x7a\x6f\x45\x77\x4b','\x42\x4d\x66\x54\x7a\x71','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x7a\x4c\x50\x53\x44\x30\x57','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x6c\x32\x4c\x55\x43\x33\x72\x48\x42\x4d\x6e\x4c\x43\x57','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\x43\x4b\x4c\x72\x42\x4b\x38','\x79\x32\x39\x4b\x7a\x71','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x79\x32\x66\x31\x43\x32\x75','\x74\x4d\x48\x4a\x74\x66\x4f','\x7a\x32\x76\x30','\x6d\x33\x57\x59\x46\x64\x48\x38\x6d\x68\x57\x33\x46\x64\x66\x38\x6e\x68\x57\x32\x46\x64\x75'];a0_0x2e07=function(){return _0x441894;};return a0_0x2e07();}const a0_0x5422f6=a0_0x2ac7;(function(_0x65f3bb,_0x1dad97){const _0x18f439=a0_0x2ac7,_0x5ac64a=_0x65f3bb();while(!![]){try{const _0x55cd8d=-parseInt(_0x18f439(0x173))/0x1+parseInt(_0x18f439(0x1ce))/0x2*(-parseInt(_0x18f439(0x1c7))/0x3)+-parseInt(_0x18f439(0x17b))/0x4*(parseInt(_0x18f439(0x1b0))/0x5)+-parseInt(_0x18f439(0x1ab))/0x6+-parseInt(_0x18f439(0x1a5))/0x7+parseInt(_0x18f439(0x188))/0x8+parseInt(_0x18f439(0x1ac))/0x9;if(_0x55cd8d===_0x1dad97)break;else _0x5ac64a['push'](_0x5ac64a['shift']());}catch(_0xde7cfa){_0x5ac64a['push'](_0x5ac64a['shift']());}}}(a0_0x2e07,0xde99d));function a0_0x2ac7(_0xd1efdf,_0x225945){_0xd1efdf=_0xd1efdf-0x170;const _0x2e0767=a0_0x2e07();let _0x2ac79b=_0x2e0767[_0xd1efdf];if(a0_0x2ac7['\x6b\x75\x4d\x56\x44\x71']===undefined){var _0x1631e2=function(_0x3248f8){const _0x4b65b8='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x30ae25='',_0x18885e='';for(let _0x3368e8=0x0,_0x3764e4,_0x2ecd2b,_0x5b8341=0x0;_0x2ecd2b=_0x3248f8['\x63\x68\x61\x72\x41\x74'](_0x5b8341++);~_0x2ecd2b&&(_0x3764e4=_0x3368e8%0x4?_0x3764e4*0x40+_0x2ecd2b:_0x2ecd2b,_0x3368e8++%0x4)?_0x30ae25+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3764e4>>(-0x2*_0x3368e8&0x6)):0x0){_0x2ecd2b=_0x4b65b8['\x69\x6e\x64\x65\x78\x4f\x66'](_0x2ecd2b);}for(let _0x233176=0x0,_0x3ec579=_0x30ae25['\x6c\x65\x6e\x67\x74\x68'];_0x233176<_0x3ec579;_0x233176++){_0x18885e+='\x25'+('\x30\x30'+_0x30ae25['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x233176)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x18885e);};a0_0x2ac7['\x6d\x44\x4a\x4b\x69\x50']=_0x1631e2,a0_0x2ac7['\x52\x4f\x6f\x58\x70\x7a']={},a0_0x2ac7['\x6b\x75\x4d\x56\x44\x71']=!![];}const _0x2e1424=_0x2e0767[0x0],_0x3e4b6d=_0xd1efdf+_0x2e1424,_0x459740=a0_0x2ac7['\x52\x4f\x6f\x58\x70\x7a'][_0x3e4b6d];return!_0x459740?(_0x2ac79b=a0_0x2ac7['\x6d\x44\x4a\x4b\x69\x50'](_0x2ac79b),a0_0x2ac7['\x52\x4f\x6f\x58\x70\x7a'][_0x3e4b6d]=_0x2ac79b):_0x2ac79b=_0x459740,_0x2ac79b;}var SandboxError=class extends Error{[a0_0x5422f6(0x182)];['\x63\x6f\x64\x65'];['\x6f\x72\x69\x67\x69\x6e'];[a0_0x5422f6(0x18e)];[a0_0x5422f6(0x1cc)];['\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e'];[a0_0x5422f6(0x183)];constructor(_0x33df29,_0x572b91,_0x402521,_0xd20d2f){const _0x4418fb=a0_0x5422f6,_0x4e6cb5={'\x57\x72\x6e\x56\x70':_0x4418fb(0x196)},_0x4718de=_0x4e6cb5['\x57\x72\x6e\x56\x70'][_0x4418fb(0x1cb)]('\x7c');let _0xf6b035=0x0;while(!![]){switch(_0x4718de[_0xf6b035++]){case'\x30':this['\x73\x74\x61\x74\x75\x73']=_0x402521;continue;case'\x31':this[_0x4418fb(0x18e)]=_0xd20d2f?.[_0x4418fb(0x18e)];continue;case'\x32':this[_0x4418fb(0x189)]=_0x4418fb(0x1d4);continue;case'\x33':super(_0x33df29);continue;case'\x34':this['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73']=_0xd20d2f?.[_0x4418fb(0x1cc)];continue;case'\x35':this[_0x4418fb(0x183)]=_0xd20d2f?.[_0x4418fb(0x183)];continue;case'\x36':this[_0x4418fb(0x184)]=_0xd20d2f?.[_0x4418fb(0x184)];continue;case'\x37':this[_0x4418fb(0x1d0)]=_0xd20d2f?.['\x6f\x72\x69\x67\x69\x6e'];continue;case'\x38':this[_0x4418fb(0x191)]=_0x572b91;continue;}break;}}},AuthError=class extends SandboxError{constructor(_0xf3844a='\x41\x75\x74\x68\x65\x6e\x74\x69\x63\x61\x74\x69\x6f\x6e\x20\x66\x61\x69\x6c\x65\x64',_0x5ef2c6){const _0xc38db3=a0_0x5422f6;super(_0xf3844a,_0xc38db3(0x1b2),0x191,_0x5ef2c6),this['\x6e\x61\x6d\x65']='\x41\x75\x74\x68\x45\x72\x72\x6f\x72';}},NotFoundError=class extends SandboxError{[a0_0x5422f6(0x1a7)];[a0_0x5422f6(0x1c3)];constructor(_0x1cf578,_0x559957,_0x1ac642){const _0x3a810b=a0_0x5422f6;super(_0x1cf578+'\x20\x6e\x6f\x74\x20\x66\x6f\x75\x6e\x64\x3a\x20'+_0x559957,_0x3a810b(0x1b1),0x194,_0x1ac642),this[_0x3a810b(0x189)]=_0x3a810b(0x1bb),this['\x72\x65\x73\x6f\x75\x72\x63\x65\x54\x79\x70\x65']=_0x1cf578,this[_0x3a810b(0x1c3)]=_0x559957;}},QuotaError=class extends SandboxError{[a0_0x5422f6(0x17f)];[a0_0x5422f6(0x170)];[a0_0x5422f6(0x1a8)];[a0_0x5422f6(0x1cc)];constructor(_0x4bd3c7,_0xe8e3d7,_0xa19ea7,_0x45ce68,_0x1a5c67){const _0x265d0e=a0_0x5422f6,_0xf5949b={'\x77\x44\x6d\x45\x65':_0x265d0e(0x192)};super(_0xe8e3d7??'\x51\x75\x6f\x74\x61\x20\x65\x78\x63\x65\x65\x64\x65\x64\x3a\x20'+_0x4bd3c7,_0xf5949b['\x77\x44\x6d\x45\x65'],0x1ad,_0x1a5c67),this[_0x265d0e(0x189)]='\x51\x75\x6f\x74\x61\x45\x72\x72\x6f\x72',this['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']=_0x4bd3c7,this[_0x265d0e(0x170)]=_0xa19ea7,this[_0x265d0e(0x1a8)]=_0x45ce68,this[_0x265d0e(0x1cc)]=_0x1a5c67?.[_0x265d0e(0x1cc)];}},ValidationError=class extends SandboxError{[a0_0x5422f6(0x1c4)];constructor(_0x1c614d,_0x28e61f,_0x3835f0){const _0x250e2b=a0_0x5422f6,_0x304a1d={'\x4f\x54\x42\x79\x4c':_0x250e2b(0x1a1)};super(_0x1c614d,'\x56\x41\x4c\x49\x44\x41\x54\x49\x4f\x4e\x5f\x45\x52\x52\x4f\x52',0x190,_0x3835f0),this[_0x250e2b(0x189)]=_0x304a1d[_0x250e2b(0x185)],this[_0x250e2b(0x1c4)]=_0x28e61f;}},StateError=class extends SandboxError{[a0_0x5422f6(0x17e)];[a0_0x5422f6(0x1cd)];constructor(_0x2027f8,_0x168af8,_0x4274df,_0x2f140c){const _0xca7d9c=a0_0x5422f6,_0x45c552={'\x46\x49\x56\x42\x74':_0xca7d9c(0x176)};super(_0x2027f8,_0x45c552[_0xca7d9c(0x1a3)],0x199,_0x2f140c),this['\x6e\x61\x6d\x65']=_0xca7d9c(0x17a),this['\x63\x75\x72\x72\x65\x6e\x74\x53\x74\x61\x74\x65']=_0x168af8,this['\x72\x65\x71\x75\x69\x72\x65\x64\x53\x74\x61\x74\x65']=_0x4274df;}},TimeoutError=class extends SandboxError{[a0_0x5422f6(0x1aa)];constructor(_0x3695c4,_0x5949ad,_0x73a9dc){const _0x2ccb0d=a0_0x5422f6,_0x21aa7b={'\x72\x6b\x63\x5a\x57':'\x54\x69\x6d\x65\x6f\x75\x74\x45\x72\x72\x6f\x72'};super(_0x5949ad??_0x2ccb0d(0x1b7)+_0x3695c4+'\x6d\x73',_0x2ccb0d(0x1b9),0x198,_0x73a9dc),this[_0x2ccb0d(0x189)]=_0x21aa7b[_0x2ccb0d(0x171)],this['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']=_0x3695c4;}},NetworkError=class extends SandboxError{[a0_0x5422f6(0x193)];constructor(_0x5de4a3,_0x2b9b79,_0x4a5cb3){const _0x5d0c53=a0_0x5422f6,_0x2c5a9e={'\x4e\x68\x63\x4c\x5a':function(_0xf65745,_0x59a755){return _0xf65745 instanceof _0x59a755;},'\x7a\x54\x55\x62\x4f':function(_0x9adfb9,_0x552142){return _0x9adfb9 instanceof _0x552142;},'\x4b\x4f\x6f\x77\x54':_0x5d0c53(0x1d2)},_0x305bb2=_0x2c5a9e[_0x5d0c53(0x194)](_0x2b9b79,Error)?_0x2b9b79:void 0x0,_0x5bb60a=_0x2c5a9e['\x7a\x54\x55\x62\x4f'](_0x2b9b79,Error)?_0x4a5cb3:_0x2b9b79??_0x4a5cb3;super(_0x5de4a3,'\x4e\x45\x54\x57\x4f\x52\x4b\x5f\x45\x52\x52\x4f\x52',void 0x0,_0x5bb60a),this[_0x5d0c53(0x189)]=_0x2c5a9e[_0x5d0c53(0x198)],this[_0x5d0c53(0x193)]=_0x305bb2;}},ServerError=class extends SandboxError{constructor(_0x9c90fc,_0x471816=0x1f4,_0x3c3bbb){const _0x4acf70=a0_0x5422f6,_0x4c6804={'\x6f\x53\x57\x45\x6c':_0x4acf70(0x1ca)};super(_0x9c90fc,_0x4c6804[_0x4acf70(0x1be)],_0x471816,_0x3c3bbb),this['\x6e\x61\x6d\x65']=_0x4acf70(0x1a6);}};function parseRetryAfterMs(_0x5f3c0d,_0x53b17e){const _0x491da1=a0_0x5422f6,_0x34e69f={'\x62\x56\x74\x69\x41':function(_0x24a60f,_0x307773){return _0x24a60f-_0x307773;}};if(typeof _0x53b17e[_0x491da1(0x1cc)]===_0x491da1(0x1c1)&&Number[_0x491da1(0x181)](_0x53b17e[_0x491da1(0x1cc)]))return Math[_0x491da1(0x1d3)](0x0,_0x53b17e[_0x491da1(0x1cc)]);if(!_0x5f3c0d)return void 0x0;const _0x41da06=_0x5f3c0d[_0x491da1(0x1bf)]();if(!_0x41da06)return void 0x0;const _0x1cae03=Number(_0x41da06);if(Number[_0x491da1(0x181)](_0x1cae03))return Math[_0x491da1(0x1d3)](0x0,_0x1cae03)*0x3e8;const _0x241245=Date['\x70\x61\x72\x73\x65'](_0x41da06);if(!Number[_0x491da1(0x1af)](_0x241245))return Math[_0x491da1(0x1d3)](0x0,_0x34e69f[_0x491da1(0x177)](_0x241245,Date['\x6e\x6f\x77']()));}function inferOrigin(_0x24b65f,_0x2ab245){const _0x4129bb=a0_0x5422f6,_0x476544={'\x68\x49\x65\x57\x69':_0x4129bb(0x19c),'\x4a\x62\x6e\x6f\x6f':_0x4129bb(0x180),'\x44\x43\x77\x49\x59':_0x4129bb(0x199),'\x76\x53\x6f\x6a\x71':_0x4129bb(0x1ad),'\x66\x5a\x6c\x77\x4c':'\x2f\x73\x69\x64\x65\x63\x61\x72\x73','\x72\x49\x51\x6e\x4f':'\x75\x6e\x6b\x6e\x6f\x77\x6e'},_0xdfd181=_0x2ab245?.[_0x4129bb(0x19d)]??_0x24b65f?.[_0x4129bb(0x195)](_0x476544[_0x4129bb(0x17d)])??void 0x0;if(!_0x24b65f)return _0x2ab245?.[_0x4129bb(0x19d)]?_0x4129bb(0x1d1):void 0x0;if(_0x24b65f['\x68\x61\x73'](_0x476544[_0x4129bb(0x1ba)])||_0x24b65f[_0x4129bb(0x1bc)](_0x4129bb(0x19f))||_0x24b65f[_0x4129bb(0x1bc)](_0x4129bb(0x1c2)))return _0x4129bb(0x1c0);if(_0x24b65f[_0x4129bb(0x1bc)](_0x4129bb(0x1b4)))return _0x4129bb(0x1b5);if(_0xdfd181?.['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x476544[_0x4129bb(0x1c9)]))return'\x73\x61\x6e\x64\x62\x6f\x78\x2d\x61\x70\x69';if(_0xdfd181){if(_0xdfd181[_0x4129bb(0x1c6)](_0x476544[_0x4129bb(0x1bd)])||_0xdfd181[_0x4129bb(0x1c6)](_0x476544[_0x4129bb(0x18b)])||_0xdfd181['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x4129bb(0x18d)))return'\x63\x6f\x6e\x74\x72\x6f\x6c\x2d\x70\x6c\x61\x6e\x65';return _0x4129bb(0x17c);}return _0x476544[_0x4129bb(0x190)];}function parseErrorResponse(_0x20e18e,_0x59c0ca,_0x34eb4f,_0x44dc22){const _0x48dcc8=a0_0x5422f6,_0x44b462={'\x65\x68\x6f\x65\x64':function(_0x3c3770,_0x47013f){return _0x3c3770===_0x47013f;},'\x59\x66\x74\x4f\x58':function(_0x20185e,_0x17d6d9){return _0x20185e!==_0x17d6d9;},'\x61\x6e\x70\x66\x48':function(_0x550c18,_0x23c71b){return _0x550c18===_0x23c71b;},'\x4d\x4b\x4e\x65\x6a':function(_0x407cb9,_0x23fc48){return _0x407cb9!==_0x23fc48;},'\x51\x72\x6e\x66\x61':function(_0x3130ed,_0x5f494c){return _0x3130ed===_0x5f494c;},'\x4b\x49\x57\x63\x63':function(_0x2a692e,_0x18c328){return _0x2a692e>_0x18c328;},'\x59\x6f\x4b\x6c\x4b':_0x48dcc8(0x1c8),'\x78\x4d\x6c\x70\x4c':function(_0x584fda,_0x17f802,_0x318ad6){return _0x584fda(_0x17f802,_0x318ad6);},'\x45\x61\x68\x72\x56':_0x48dcc8(0x180),'\x79\x6d\x50\x6b\x65':_0x48dcc8(0x178),'\x41\x75\x6a\x56\x5a':_0x48dcc8(0x1c5),'\x4b\x54\x7a\x52\x4b':function(_0x2d831c,_0x15e0e5){return _0x2d831c||_0x15e0e5;},'\x61\x64\x63\x43\x56':_0x48dcc8(0x19b)};let _0x5c88ab;try{_0x5c88ab=JSON[_0x48dcc8(0x19e)](_0x59c0ca);}catch{_0x5c88ab={'\x6d\x65\x73\x73\x61\x67\x65':_0x59c0ca};}const _0x3ec840=_0x5c88ab['\x65\x72\x72\x6f\x72'],_0x1a42d9=_0x44b462[_0x48dcc8(0x175)](typeof _0x3ec840,_0x48dcc8(0x1cf))&&_0x44b462['\x59\x66\x74\x4f\x58'](_0x3ec840,null)?_0x3ec840[_0x48dcc8(0x1b6)]:void 0x0,_0x3eff0d=_0x44b462['\x61\x6e\x70\x66\x48'](typeof _0x3ec840,_0x48dcc8(0x1cf))&&_0x44b462[_0x48dcc8(0x172)](_0x3ec840,null)?_0x3ec840[_0x48dcc8(0x191)]:void 0x0,_0x4acb30=_0x5c88ab[_0x48dcc8(0x1b6)]||_0x1a42d9||(_0x44b462['\x51\x72\x6e\x66\x61'](typeof _0x3ec840,'\x73\x74\x72\x69\x6e\x67')?_0x3ec840:void 0x0)||_0x59c0ca||_0x48dcc8(0x18a),_0x280c8d=typeof _0x5c88ab[_0x48dcc8(0x18f)]===_0x48dcc8(0x1b8)&&_0x44b462['\x4b\x49\x57\x63\x63'](_0x5c88ab[_0x48dcc8(0x18f)][_0x48dcc8(0x1bf)]()[_0x48dcc8(0x1a4)],0x0)?_0x5c88ab[_0x48dcc8(0x18f)][_0x48dcc8(0x1bf)]():void 0x0,_0x4ee5b1=!!_0x280c8d&&_0x44b462['\x59\x66\x74\x4f\x58'](_0x280c8d,_0x4acb30)&&(_0x4acb30===_0x48dcc8(0x18a)||/^failed\b/i[_0x48dcc8(0x179)](_0x4acb30)||/^provision failed\b/i[_0x48dcc8(0x179)](_0x4acb30)||/^deprovision failed\b/i['\x74\x65\x73\x74'](_0x4acb30)),_0x3f605b=_0x5c88ab[_0x48dcc8(0x191)]||_0x3eff0d,_0x349f44=''+(_0x34eb4f?(_0x34eb4f[_0x48dcc8(0x197)]??_0x44b462[_0x48dcc8(0x186)])+'\x20'+(_0x34eb4f['\x70\x61\x74\x68']??'')+'\x3a\x20':'')+(_0x4ee5b1?_0x4acb30+'\x3a\x20'+_0x280c8d:_0x4acb30),_0x22b897={'\x6f\x72\x69\x67\x69\x6e':_0x44b462[_0x48dcc8(0x174)](inferOrigin,_0x44dc22,_0x34eb4f),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x34eb4f?.['\x70\x61\x74\x68']??_0x44dc22?.[_0x48dcc8(0x195)](_0x48dcc8(0x19c))??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':_0x44b462[_0x48dcc8(0x174)](parseRetryAfterMs,_0x44dc22?.[_0x48dcc8(0x195)](_0x48dcc8(0x18c))??void 0x0,_0x5c88ab),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x44dc22?.['\x67\x65\x74'](_0x44b462[_0x48dcc8(0x19a)])??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x44dc22?.[_0x48dcc8(0x195)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65')??_0x44dc22?.[_0x48dcc8(0x195)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67')??void 0x0};switch(_0x20e18e){case 0x190:return new ValidationError(_0x349f44,_0x5c88ab[_0x48dcc8(0x1c4)],_0x22b897);case 0x191:return new AuthError(_0x349f44,_0x22b897);case 0x194:return new NotFoundError(_0x5c88ab[_0x48dcc8(0x1a7)]||_0x48dcc8(0x1a0),_0x5c88ab[_0x48dcc8(0x1c3)]||_0x44b462[_0x48dcc8(0x1a2)],_0x22b897);case 0x198:return new TimeoutError(_0x5c88ab[_0x48dcc8(0x1aa)]||0x7530,_0x349f44,_0x22b897);case 0x199:return new StateError(_0x349f44,_0x5c88ab[_0x48dcc8(0x17e)]||_0x48dcc8(0x178),_0x5c88ab[_0x48dcc8(0x1cd)],_0x22b897);case 0x1ad:return new QuotaError(_0x5c88ab['\x71\x75\x6f\x74\x61\x54\x79\x70\x65']||_0x48dcc8(0x1ae),_0x349f44,_0x5c88ab[_0x48dcc8(0x170)],_0x5c88ab[_0x48dcc8(0x1a8)],_0x22b897);case 0x1f5:return new SandboxError(_0x349f44,_0x3f605b||_0x44b462[_0x48dcc8(0x1b3)],_0x20e18e,_0x22b897);default:if(_0x20e18e>=0x1f4)return new ServerError(_0x349f44,_0x20e18e,_0x22b897);return new SandboxError(_0x349f44,_0x44b462[_0x48dcc8(0x187)](_0x3f605b,_0x44b462[_0x48dcc8(0x1a9)]),_0x20e18e,_0x22b897);}}export{SandboxError as a,TimeoutError as c,QuotaError as i,ValidationError as l,NetworkError as n,ServerError as o,NotFoundError as r,StateError as s,AuthError as t,parseErrorResponse as u};