@tangle-network/sandbox 0.0.3 → 0.1.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.
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-Bi0PeV_x.js +1 -0
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-CVvhPU8M.js +1 -0
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/{errors-WHP1v4xn.d.ts → errors-AIT8qikt.d.ts} +52 -10
- package/dist/errors-CdMTv7uG.js +1 -0
- package/dist/{index-DAcOU3eO.d.ts → index-t7xkzv0U.d.ts} +23 -8
- package/dist/index.d.ts +90 -9
- package/dist/index.js +1 -1
- package/dist/{sandbox-D-1E98ow.d.ts → sandbox-BvZ0-Iv7.d.ts} +132 -5
- package/dist/sandbox-D1JnQIJx.js +1 -0
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +2 -2
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-CSb9rjAh.js +1 -0
- package/package.json +3 -5
- package/dist/auth-BI8GUdn2.js +0 -1
- package/dist/client-C61BaimX.js +0 -1
- package/dist/collaboration-oyXScjoL.js +0 -1
- package/dist/errors-BxSeoGx4.js +0 -1
- package/dist/sandbox-CoBxtmZ0.js +0 -1
- package/dist/tangle-D5R08WfG.js +0 -1
- /package/dist/{index-CIkhycpG.d.ts → index-BuS8nl3b.d.ts} +0 -0
- /package/dist/{index-A6QuCBt3.d.ts → index-gA-oRjOi.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Et as SecretsManager,
|
|
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
2
|
|
|
3
3
|
//#region src/client.d.ts
|
|
4
4
|
/**
|
|
@@ -319,6 +319,19 @@ interface TeamInvitation {
|
|
|
319
319
|
expiresAt: string;
|
|
320
320
|
createdAt: string;
|
|
321
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
|
+
}
|
|
322
335
|
interface CreateTeamOptions {
|
|
323
336
|
name: string;
|
|
324
337
|
orgId?: string;
|
|
@@ -346,6 +359,7 @@ declare class TeamsClient {
|
|
|
346
359
|
}): Promise<Team>;
|
|
347
360
|
delete(teamId: string): Promise<void>;
|
|
348
361
|
leave(teamId: string): Promise<void>;
|
|
362
|
+
transferOwnership(teamId: string, newOwnerCustomerId: string): Promise<void>;
|
|
349
363
|
listMembers(teamId: string): Promise<TeamMember[]>;
|
|
350
364
|
updateMember(teamId: string, memberId: string, updates: {
|
|
351
365
|
role?: "admin" | "member" | "viewer";
|
|
@@ -356,6 +370,14 @@ declare class TeamsClient {
|
|
|
356
370
|
invite(teamId: string, options: InviteTeamMemberOptions): Promise<TeamInvitation>;
|
|
357
371
|
revokeInvitation(invitationId: string): Promise<void>;
|
|
358
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
|
+
}>;
|
|
359
381
|
}
|
|
360
382
|
/**
|
|
361
383
|
* Alias for SandboxClient for cleaner imports.
|
|
@@ -375,13 +397,31 @@ declare class SandboxError extends Error {
|
|
|
375
397
|
readonly status?: number;
|
|
376
398
|
/** Error code for programmatic handling */
|
|
377
399
|
readonly code: string;
|
|
378
|
-
|
|
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;
|
|
379
419
|
}
|
|
380
420
|
/**
|
|
381
421
|
* Authentication failed or API key is invalid.
|
|
382
422
|
*/
|
|
383
423
|
declare class AuthError extends SandboxError {
|
|
384
|
-
constructor(message?: string);
|
|
424
|
+
constructor(message?: string, metadata?: SandboxErrorMetadata);
|
|
385
425
|
}
|
|
386
426
|
/**
|
|
387
427
|
* The requested resource was not found.
|
|
@@ -391,7 +431,7 @@ declare class NotFoundError extends SandboxError {
|
|
|
391
431
|
readonly resourceType: string;
|
|
392
432
|
/** The resource ID that was not found */
|
|
393
433
|
readonly resourceId: string;
|
|
394
|
-
constructor(resourceType: string, resourceId: string);
|
|
434
|
+
constructor(resourceType: string, resourceId: string, metadata?: SandboxErrorMetadata);
|
|
395
435
|
}
|
|
396
436
|
/**
|
|
397
437
|
* Account quota or rate limit exceeded.
|
|
@@ -403,7 +443,9 @@ declare class QuotaError extends SandboxError {
|
|
|
403
443
|
readonly current?: number;
|
|
404
444
|
/** Maximum allowed */
|
|
405
445
|
readonly limit?: number;
|
|
406
|
-
|
|
446
|
+
/** Suggested retry-after duration in ms */
|
|
447
|
+
readonly retryAfterMs?: number;
|
|
448
|
+
constructor(quotaType: string, message?: string, current?: number, limit?: number, metadata?: SandboxErrorMetadata);
|
|
407
449
|
}
|
|
408
450
|
/**
|
|
409
451
|
* The request was invalid or malformed.
|
|
@@ -411,7 +453,7 @@ declare class QuotaError extends SandboxError {
|
|
|
411
453
|
declare class ValidationError extends SandboxError {
|
|
412
454
|
/** Field-level validation errors */
|
|
413
455
|
readonly fields?: Record<string, string>;
|
|
414
|
-
constructor(message: string, fields?: Record<string, string
|
|
456
|
+
constructor(message: string, fields?: Record<string, string>, metadata?: SandboxErrorMetadata);
|
|
415
457
|
}
|
|
416
458
|
/**
|
|
417
459
|
* The sandbox is not in a valid state for the requested operation.
|
|
@@ -421,7 +463,7 @@ declare class StateError extends SandboxError {
|
|
|
421
463
|
readonly currentState: string;
|
|
422
464
|
/** Required state for the operation */
|
|
423
465
|
readonly requiredState?: string;
|
|
424
|
-
constructor(message: string, currentState: string, requiredState?: string);
|
|
466
|
+
constructor(message: string, currentState: string, requiredState?: string, metadata?: SandboxErrorMetadata);
|
|
425
467
|
}
|
|
426
468
|
/**
|
|
427
469
|
* The request timed out.
|
|
@@ -429,7 +471,7 @@ declare class StateError extends SandboxError {
|
|
|
429
471
|
declare class TimeoutError extends SandboxError {
|
|
430
472
|
/** Timeout duration in milliseconds */
|
|
431
473
|
readonly timeoutMs: number;
|
|
432
|
-
constructor(timeoutMs: number, message?: string);
|
|
474
|
+
constructor(timeoutMs: number, message?: string, metadata?: SandboxErrorMetadata);
|
|
433
475
|
}
|
|
434
476
|
/**
|
|
435
477
|
* A network or connection error occurred.
|
|
@@ -437,13 +479,13 @@ declare class TimeoutError extends SandboxError {
|
|
|
437
479
|
declare class NetworkError extends SandboxError {
|
|
438
480
|
/** The underlying error */
|
|
439
481
|
readonly cause?: Error;
|
|
440
|
-
constructor(message: string,
|
|
482
|
+
constructor(message: string, causeOrMetadata?: Error | SandboxErrorMetadata, metadata?: SandboxErrorMetadata);
|
|
441
483
|
}
|
|
442
484
|
/**
|
|
443
485
|
* The server returned an unexpected error.
|
|
444
486
|
*/
|
|
445
487
|
declare class ServerError extends SandboxError {
|
|
446
|
-
constructor(message: string, status?: number);
|
|
488
|
+
constructor(message: string, status?: number, metadata?: SandboxErrorMetadata);
|
|
447
489
|
}
|
|
448
490
|
//#endregion
|
|
449
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a0_0x576bf7=a0_0x20e3;(function(_0xdf0e5d,_0x50f3fd){const _0x602c13=a0_0x20e3,_0x4e8c7c=_0xdf0e5d();while(!![]){try{const _0x263840=-parseInt(_0x602c13(0x89))/0x1*(parseInt(_0x602c13(0x13d))/0x2)+parseInt(_0x602c13(0xe3))/0x3*(-parseInt(_0x602c13(0xef))/0x4)+parseInt(_0x602c13(0x9e))/0x5+-parseInt(_0x602c13(0xea))/0x6*(-parseInt(_0x602c13(0x8e))/0x7)+-parseInt(_0x602c13(0xd4))/0x8+parseInt(_0x602c13(0x8a))/0x9+parseInt(_0x602c13(0x11e))/0xa;if(_0x263840===_0x50f3fd)break;else _0x4e8c7c['push'](_0x4e8c7c['shift']());}catch(_0x2bb807){_0x4e8c7c['push'](_0x4e8c7c['shift']());}}}(a0_0x5046,0x451ed));function a0_0x2f24(){const _0x203e1b=a0_0x20e3,_0x13196e={'\x46\x72\x7a\x52\x70':'\x42\x4e\x6e\x6d\x74\x4d\x34','\x59\x79\x6b\x47\x62':_0x203e1b(0xf6),'\x68\x6a\x6e\x61\x70':'\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x55\x55\x4d\x63\x76':'\x43\x4b\x44\x36\x43\x4d\x38','\x6e\x54\x66\x76\x6c':_0x203e1b(0x78),'\x47\x56\x52\x76\x45':_0x203e1b(0x6c),'\x51\x4b\x78\x53\x6b':_0x203e1b(0x10b),'\x64\x6f\x76\x6f\x58':_0x203e1b(0x91),'\x6d\x4e\x63\x41\x45':_0x203e1b(0x125),'\x50\x52\x63\x6d\x41':_0x203e1b(0x127),'\x6d\x52\x55\x58\x53':'\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x6b\x50\x73\x78\x4a':_0x203e1b(0xe0),'\x65\x45\x79\x71\x6c':_0x203e1b(0xf2),'\x4f\x59\x6c\x48\x53':_0x203e1b(0xbe),'\x66\x72\x6e\x69\x6a':'\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x4d\x66\x44\x69\x6c':_0x203e1b(0x90),'\x69\x46\x6f\x4e\x6b':_0x203e1b(0x96),'\x76\x45\x78\x69\x77':_0x203e1b(0x120),'\x53\x48\x4f\x41\x78':_0x203e1b(0x13a),'\x71\x50\x5a\x61\x50':_0x203e1b(0x9b),'\x67\x6d\x70\x4f\x58':_0x203e1b(0xc0),'\x79\x70\x48\x57\x44':_0x203e1b(0xda),'\x76\x70\x57\x51\x6b':'\x42\x75\x50\x74\x41\x32\x6d','\x54\x55\x4e\x71\x58':'\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x70\x76\x49\x5a\x44':_0x203e1b(0xdd),'\x52\x5a\x61\x79\x6d':_0x203e1b(0x85),'\x65\x79\x51\x70\x63':_0x203e1b(0xc5),'\x4a\x6f\x53\x4a\x42':_0x203e1b(0xba),'\x6d\x6a\x44\x55\x4c':_0x203e1b(0xfe),'\x54\x54\x59\x51\x6e':_0x203e1b(0xf3),'\x68\x43\x47\x43\x69':_0x203e1b(0x9d),'\x78\x6d\x4e\x74\x70':_0x203e1b(0x118),'\x57\x47\x6f\x49\x66':_0x203e1b(0x112),'\x58\x7a\x6f\x67\x41':_0x203e1b(0x108),'\x4a\x51\x6f\x74\x51':_0x203e1b(0xa7),'\x56\x7a\x4c\x53\x78':_0x203e1b(0xf7),'\x76\x69\x63\x67\x79':'\x42\x4d\x66\x54\x7a\x71','\x4a\x77\x69\x71\x4b':_0x203e1b(0x86),'\x57\x63\x79\x6b\x63':_0x203e1b(0xf1),'\x55\x76\x4c\x55\x73':_0x203e1b(0x116)},_0x45f8b0=[_0x203e1b(0x104),_0x13196e['\x46\x72\x7a\x52\x70'],_0x203e1b(0x138),_0x203e1b(0x83),'\x42\x32\x6a\x51\x7a\x77\x6e\x30',_0x203e1b(0x130),'\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75',_0x203e1b(0xc6),_0x203e1b(0xc7),_0x13196e[_0x203e1b(0x105)],'\x42\x65\x44\x74\x41\x66\x4f',_0x13196e['\x68\x6a\x6e\x61\x70'],_0x203e1b(0xa6),_0x13196e['\x55\x55\x4d\x63\x76'],_0x13196e[_0x203e1b(0x98)],'\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65',_0x203e1b(0xf8),_0x203e1b(0xd6),_0x13196e[_0x203e1b(0x70)],'\x43\x67\x66\x30\x41\x61',_0x203e1b(0x10c),'\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x75\x32\x76\x59\x44\x4d\x76\x59\x72\x78\x6a\x59\x42\x33\x69','\x41\x31\x66\x74\x7a\x76\x69',_0x203e1b(0x107),_0x13196e[_0x203e1b(0xd3)],_0x13196e[_0x203e1b(0xa0)],_0x13196e['\x6d\x4e\x63\x41\x45'],_0x203e1b(0xe8),_0x13196e['\x50\x52\x63\x6d\x41'],_0x13196e[_0x203e1b(0xdc)],'\x76\x30\x44\x4f\x75\x76\x4f',_0x203e1b(0x13c),_0x203e1b(0xde),_0x13196e[_0x203e1b(0xee)],_0x203e1b(0x122),'\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59',_0x13196e[_0x203e1b(0x101)],_0x13196e[_0x203e1b(0xa4)],_0x13196e[_0x203e1b(0xbb)],_0x13196e[_0x203e1b(0xcc)],_0x203e1b(0x115),'\x44\x65\x58\x6f\x44\x67\x30',_0x203e1b(0x103),_0x13196e['\x69\x46\x6f\x4e\x6b'],_0x13196e['\x76\x45\x78\x69\x77'],_0x13196e['\x53\x48\x4f\x41\x78'],_0x203e1b(0xa9),_0x13196e[_0x203e1b(0x71)],_0x13196e[_0x203e1b(0x7c)],_0x203e1b(0x121),_0x13196e[_0x203e1b(0xdb)],_0x203e1b(0xd7),'\x43\x33\x72\x59\x41\x77\x35\x4e',_0x203e1b(0x11c),_0x203e1b(0x8f),_0x203e1b(0xbd),_0x203e1b(0xe6),_0x13196e[_0x203e1b(0xbf)],_0x203e1b(0xa8),_0x13196e['\x54\x55\x4e\x71\x58'],_0x203e1b(0x109),_0x203e1b(0xe7),'\x6d\x4a\x65\x30\x6d\x4a\x71\x58\x6e\x4e\x62\x58\x77\x4b\x44\x6b\x45\x71',_0x13196e[_0x203e1b(0x12c)],'\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61',_0x13196e[_0x203e1b(0xa2)],_0x203e1b(0xd0),_0x13196e[_0x203e1b(0x9c)],_0x13196e[_0x203e1b(0xb6)],_0x13196e[_0x203e1b(0x11f)],_0x203e1b(0x7e),_0x203e1b(0x10a),_0x13196e['\x54\x54\x59\x51\x6e'],_0x13196e[_0x203e1b(0x6f)],'\x71\x78\x76\x30\x41\x67\x76\x55\x44\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b',_0x203e1b(0x13f),_0x13196e['\x78\x6d\x4e\x74\x70'],_0x13196e[_0x203e1b(0x13b)],_0x203e1b(0x11a),_0x13196e[_0x203e1b(0x134)],_0x203e1b(0x87),_0x13196e['\x4a\x51\x6f\x74\x51'],'\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x7a\x68\x66\x6b\x42\x75\x69',_0x203e1b(0x7a),_0x203e1b(0x82),_0x203e1b(0xe5),_0x13196e['\x56\x7a\x4c\x53\x78'],_0x203e1b(0xf5),_0x13196e[_0x203e1b(0x10f)],_0x203e1b(0xc9),_0x13196e[_0x203e1b(0xed)],_0x203e1b(0xe2),_0x13196e[_0x203e1b(0x81)],_0x13196e['\x55\x76\x4c\x55\x73'],_0x203e1b(0x106),'\x6d\x5a\x6d\x33\x6e\x5a\x4b\x35\x6e\x30\x54\x32\x79\x33\x66\x4e\x74\x57',_0x203e1b(0xb3)];return a0_0x2f24=function(){return _0x45f8b0;},a0_0x2f24();}function a0_0x5046(){const _0x1aa79f=['\x43\x32\x48\x50\x7a\x4e\x71','\x43\x75\x35\x41\x44\x33\x61','\x44\x67\x58\x64\x79\x4b\x47','\x45\x68\x48\x4a\x76\x66\x6d','\x71\x4e\x44\x32\x6d\x65\x66\x4e\x6f\x75\x53','\x72\x67\x66\x54\x72\x67\x75','\x42\x68\x44\x69\x72\x31\x43','\x73\x4d\x39\x74\x73\x4b\x69','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x45\x78\x72\x57\x76\x75\x4b','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x42\x78\x72\x31\x6e\x67\x31\x30\x42\x76\x4c\x56\x7a\x74\x4c\x50\x43\x33\x44\x4d\x74\x68\x4c\x68','\x7a\x4e\x6a\x55\x41\x77\x4f','\x77\x4b\x48\x52\x42\x77\x65','\x44\x65\x30\x35\x6d\x68\x6a\x6e\x6f\x74\x66\x63\x74\x78\x6a\x4d\x71\x30\x35\x51\x76\x4b\x6e\x68','\x71\x30\x31\x4d\x6d\x68\x50\x32\x6f\x76\x6e\x62\x44\x5a\x66\x71\x72\x67\x65','\x44\x4e\x62\x78\x75\x77\x53','\x45\x4e\x48\x51\x77\x75\x69\x5a\x41\x71','\x73\x4b\x58\x33\x7a\x75\x66\x6e','\x73\x75\x58\x48\x41\x76\x4f','\x74\x67\x31\x5a\x71\x4d\x57','\x79\x32\x48\x48\x43\x4b\x6e\x56\x7a\x67\x76\x62\x44\x61','\x71\x4a\x6e\x51\x75\x68\x4f\x59\x74\x66\x75','\x71\x5a\x6a\x4d\x76\x78\x50\x4e\x41\x4c\x7a\x66\x79\x5a\x66\x69\x71\x32\x44\x6c','\x71\x5a\x6e\x59\x73\x65\x72\x4f\x44\x4c\x4f','\x75\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x71\x30\x35\x32\x76\x75\x72\x4e\x74\x66\x72\x36\x43\x71','\x72\x32\x72\x73\x71\x4b\x38','\x41\x4d\x35\x36\x74\x30\x71','\x74\x77\x7a\x65\x41\x77\x57','\x45\x65\x58\x49\x73\x4c\x4f','\x73\x67\x44\x56\x7a\x77\x34','\x77\x4c\x6e\x68\x43\x4c\x71','\x44\x65\x35\x69\x75\x65\x76\x6f\x74\x57','\x43\x67\x66\x30\x41\x61','\x76\x65\x4c\x6e\x72\x75\x39\x76\x76\x61','\x75\x75\x54\x34\x75\x32\x53','\x6e\x64\x69\x57\x6d\x5a\x71\x34\x6f\x66\x6a\x4b\x43\x33\x6e\x76\x75\x57','\x76\x4c\x62\x51\x43\x4e\x69','\x71\x30\x31\x32\x77\x4b\x69\x5a\x44\x4c\x4c\x35\x6d\x4e\x7a\x31\x72\x78\x48\x49\x74\x61','\x44\x77\x48\x49\x41\x30\x72\x4d\x79\x71','\x77\x78\x62\x30\x76\x68\x47','\x79\x31\x50\x67\x76\x31\x71','\x72\x77\x6d\x58\x6d\x68\x4c\x33\x6e\x75\x35\x63\x7a\x33\x76\x75\x71\x30\x31\x32\x77\x65\x72\x33\x44\x4c\x50\x65\x79\x5a\x66\x78\x45\x78\x48\x59\x74\x57','\x45\x78\x62\x69\x76\x30\x71','\x42\x76\x6a\x76\x77\x66\x6d','\x44\x64\x6a\x59\x7a\x68\x65\x57\x72\x57','\x44\x4d\x44\x6d\x76\x68\x50\x33\x6f\x74\x66\x65\x7a\x78\x7a\x7a\x71\x30\x30\x35\x77\x71','\x45\x4e\x4c\x52\x75\x32\x69','\x44\x77\x44\x65\x43\x30\x6e\x31\x72\x57','\x43\x32\x48\x5a\x43\x4c\x69','\x45\x74\x6e\x32\x77\x75\x6e\x6e\x44\x4c\x76\x65\x7a\x4d\x34\x57\x45\x78\x48\x59\x74\x61','\x6e\x4e\x6e\x69\x44\x75\x50\x6d\x71\x47','\x73\x4c\x72\x53\x45\x4c\x6d','\x45\x74\x6e\x32\x77\x75\x6e\x6e\x44\x4c\x76\x65\x79\x71','\x45\x74\x69\x35\x73\x33\x50\x58','\x71\x4b\x30\x35\x6d\x57','\x72\x67\x44\x6d\x76\x68\x50\x33\x6f\x74\x66\x65\x7a\x74\x66\x41','\x44\x4d\x58\x69\x7a\x4b\x38','\x6d\x74\x6a\x74\x43\x33\x44\x7a\x43\x32\x75','\x73\x4e\x4c\x76\x77\x4d\x65','\x72\x75\x39\x74\x7a\x32\x34','\x73\x4e\x44\x50\x43\x75\x53','\x41\x31\x62\x5a\x45\x65\x4f','\x6d\x5a\x43\x5a\x6d\x74\x69\x30\x75\x78\x4c\x55\x77\x77\x39\x75','\x42\x67\x4c\x30\x44\x65\x4f','\x43\x78\x7a\x32\x44\x78\x6e\x4d\x6f\x77\x7a\x31\x74\x67\x50\x57\x44\x75\x43','\x42\x78\x72\x4c\x6d\x32\x35\x41\x45\x74\x6a\x54\x7a\x32\x7a\x53\x45\x4e\x76\x32\x75\x78\x44\x58','\x45\x4b\x54\x59\x43\x78\x44\x32\x72\x57','\x41\x68\x66\x74\x7a\x75\x4f','\x45\x74\x69\x35\x76\x75\x72\x4f\x41\x4c\x7a\x63\x79\x5a\x66\x78\x71\x4d\x44\x4d\x76\x78\x50\x58','\x42\x78\x72\x4c\x6e\x67\x31\x4b\x79\x76\x4c\x56\x44\x68\x50\x79\x44\x77\x48\x6d\x42\x78\x6e\x31\x42\x71','\x71\x4d\x44\x32\x76\x78\x4f\x5a\x43\x4b\x38','\x42\x74\x6e\x65\x7a\x4b\x6e\x31\x42\x4c\x4c\x31\x79\x71','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x7a\x4e\x6a\x56\x42\x75\x6e\x4f\x79\x78\x6a\x64\x42\x32\x72\x4c','\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','\x45\x4e\x66\x49\x79\x33\x65','\x75\x33\x44\x35\x79\x4b\x30','\x71\x5a\x6a\x6d\x73\x33\x50\x33\x42\x4b\x48\x64\x74\x68\x50\x6d\x71\x30\x35\x55\x75\x65\x69\x59\x6e\x61','\x77\x77\x35\x71\x72\x65\x79','\x77\x76\x44\x48\x43\x75\x65','\x7a\x75\x76\x35\x43\x77\x57','\x7a\x4e\x62\x33\x73\x4b\x57','\x44\x33\x48\x51\x43\x4e\x76\x34\x71\x57','\x71\x32\x48\x49\x6d\x68\x4f\x57\x6e\x61','\x77\x78\x4c\x52\x72\x32\x69','\x72\x77\x6d\x58\x77\x4b\x66\x33\x43\x4b\x58\x35\x6d\x4d\x7a\x7a\x42\x68\x44\x6d\x76\x68\x4c\x33\x72\x65\x57','\x42\x4b\x35\x69\x6d\x4b\x65\x59\x77\x65\x66\x36\x79\x71','\x71\x4d\x44\x6d\x76\x65\x66\x34\x43\x71','\x44\x65\x35\x65\x45\x65\x6a\x34\x74\x57','\x71\x32\x44\x4d\x77\x75\x6d\x59\x44\x71','\x44\x78\x48\x32\x76\x4b\x72\x4e\x7a\x4d\x7a\x64\x74\x4d\x50\x77\x71\x30\x43','\x71\x77\x44\x4d\x77\x47','\x7a\x68\x50\x59\x41\x4e\x4f','\x74\x68\x50\x33\x44\x4b\x53','\x44\x4d\x4c\x4a\x7a\x33\x4b','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x79\x32\x48\x48\x43\x4b\x66\x30','\x42\x4d\x72\x64\x6d\x32\x35\x4b\x7a\x74\x76\x62\x6d\x75\x72\x71\x45\x4e\x48\x59\x41\x47','\x43\x68\x76\x5a\x41\x61','\x43\x78\x66\x68\x42\x30\x57','\x44\x78\x7a\x65\x44\x33\x6e\x6c\x42\x71','\x44\x65\x53\x35\x44\x78\x47\x57\x45\x4e\x62\x32\x44\x74\x76\x4c','\x76\x4b\x66\x6d\x73\x75\x72\x62\x76\x65\x4c\x70\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x71\x4e\x44\x32\x77\x4b\x6d\x59\x7a\x4b\x35\x36\x43\x71','\x76\x4c\x76\x7a\x43\x31\x69','\x71\x4d\x44\x4d\x77\x4e\x72\x31\x74\x57','\x7a\x30\x35\x55\x73\x31\x4b','\x44\x65\x54\x32\x44\x78\x79\x57\x6f\x78\x6e\x5a\x6d\x74\x4c\x4d\x44\x75\x58\x51\x43\x68\x76\x68','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x6d\x74\x65\x34\x6d\x74\x4b\x35\x6d\x5a\x62\x5a\x76\x4d\x50\x33\x45\x68\x65','\x42\x77\x50\x65\x76\x75\x57','\x45\x74\x6a\x6d\x6d\x68\x6e\x4c\x75\x57','\x42\x78\x72\x49\x7a\x4b\x65\x57\x77\x67\x76\x64\x6d\x78\x65','\x72\x77\x6d\x58\x76\x4b\x6e\x6e\x42\x4b\x39\x36\x45\x67\x34\x57\x71\x30\x31\x4d\x6d\x65\x69\x5a\x41\x76\x72\x65\x74\x78\x7a\x7a\x71\x5a\x6a\x6d\x76\x4b\x6a\x68','\x43\x77\x35\x33\x71\x30\x34','\x72\x30\x44\x57\x73\x67\x69','\x44\x74\x6e\x71\x75\x33\x6e\x6c\x74\x57','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x71\x5a\x6a\x6d\x73\x33\x50\x33\x42\x4b\x48\x64\x72\x57','\x71\x77\x58\x41\x75\x4d\x4b','\x73\x32\x35\x4d\x75\x32\x75','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x7a\x77\x35\x6e\x79\x4e\x4b','\x43\x68\x7a\x6a\x77\x4b\x71','\x43\x67\x31\x63\x7a\x67\x57','\x77\x4d\x72\x7a\x76\x77\x65','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x72\x65\x54\x79\x76\x33\x4f\x59\x45\x71','\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','\x44\x31\x50\x49\x73\x30\x38','\x75\x76\x6a\x4c\x74\x31\x61','\x77\x68\x50\x56\x7a\x30\x65','\x41\x67\x66\x5a','\x45\x75\x58\x34\x7a\x75\x34','\x44\x4d\x44\x41\x73\x68\x4b','\x71\x30\x31\x32\x6d\x65\x6e\x6f\x74\x67\x6a\x36\x74\x4e\x6a\x6d\x71\x30\x53\x58\x77\x47','\x42\x67\x4c\x54\x41\x78\x71','\x42\x64\x6a\x6d\x76\x75\x6d\x5a\x43\x4b\x48\x63\x74\x77\x35\x6d\x71\x31\x43','\x76\x30\x44\x56\x73\x77\x79','\x45\x4e\x76\x79\x76\x65\x6a\x6c\x6d\x61','\x6d\x74\x71\x34\x6e\x4a\x6a\x73\x42\x31\x44\x30\x79\x30\x43','\x43\x67\x7a\x6f\x79\x4d\x38','\x45\x4a\x6a\x32\x6d\x61','\x43\x75\x58\x78\x72\x30\x53','\x76\x75\x48\x70\x42\x4c\x69','\x71\x30\x31\x32\x77\x65\x72\x33\x74\x66\x4c\x36\x44\x33\x6a\x30\x72\x67\x44\x4d\x6d\x68\x50\x58','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x44\x77\x6a\x64\x71\x4c\x61','\x41\x65\x6e\x68\x71\x32\x4b','\x72\x31\x7a\x73\x44\x4b\x75','\x43\x76\x62\x41\x79\x76\x61','\x7a\x30\x54\x54\x42\x78\x4f','\x42\x30\x4c\x59\x71\x31\x79','\x75\x76\x6a\x78\x43\x31\x6d','\x42\x77\x66\x34','\x76\x67\x48\x79\x7a\x30\x71','\x71\x4e\x4c\x59\x42\x66\x4f','\x72\x67\x48\x51\x75\x65\x6a\x58','\x76\x66\x44\x48\x43\x68\x43','\x42\x78\x72\x31\x6d\x4d\x35\x30\x43\x4e\x66\x66\x7a\x31\x48\x33\x44\x4a\x6e\x50','\x76\x78\x6e\x6f\x74\x76\x61','\x7a\x32\x31\x57\x74\x31\x47','\x79\x4b\x66\x4a\x45\x66\x6d','\x45\x74\x6a\x4d\x41\x68\x6a\x4d\x72\x57','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x76\x32\x6e\x35\x41\x32\x6d','\x71\x4e\x44\x4d\x6e\x61','\x71\x33\x48\x32\x76\x4b\x72\x4e\x7a\x4e\x76\x66\x45\x67\x6a\x6d','\x43\x4c\x4c\x33\x79\x75\x76\x77','\x44\x74\x62\x32\x43\x33\x7a\x6c\x44\x4e\x6e\x34\x6d\x68\x7a\x5a\x44\x75\x53\x35\x43\x57','\x45\x4d\x44\x32\x6d\x68\x4c\x33\x74\x66\x6e\x64\x76\x57','\x45\x74\x69\x35\x76\x75\x72\x4e\x7a\x4c\x62\x63\x74\x78\x7a\x7a\x43\x33\x43\x58\x73\x68\x4f\x59\x44\x71','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x6e\x74\x6e\x67\x42\x65\x72\x79\x71\x32\x4f','\x6d\x4a\x79\x57\x6e\x64\x6d\x5a\x76\x32\x4c\x75\x76\x77\x76\x67','\x42\x4c\x4c\x57\x74\x67\x43','\x74\x75\x44\x66\x77\x78\x47','\x79\x4b\x50\x64\x75\x32\x34','\x6e\x64\x71\x33\x6e\x4a\x61\x58\x74\x78\x76\x4d\x75\x4b\x6e\x58','\x44\x74\x6e\x59\x73\x65\x72\x4e\x44\x4d\x7a\x64\x74\x4d\x50\x77\x71\x30\x43','\x71\x4b\x35\x32\x76\x68\x4c\x6e\x44\x4c\x4b','\x71\x32\x75\x31\x45\x78\x6a\x6c\x72\x57','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x67\x35\x31\x41\x4c\x69','\x79\x30\x31\x4e\x45\x4c\x43','\x74\x65\x58\x6c\x72\x4d\x43','\x72\x67\x44\x32\x77\x4b\x72\x48','\x71\x75\x58\x34\x71\x75\x31\x74','\x42\x4c\x72\x4d\x44\x4d\x57','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x42\x65\x39\x51\x77\x77\x6d','\x44\x4e\x43\x31\x75\x4b\x6a\x6e\x6f\x74\x6e\x63\x73\x77\x6a\x6d\x71\x30\x35\x51\x76\x4b\x6e\x68','\x7a\x78\x4c\x72\x43\x67\x6d','\x72\x77\x6d\x58\x77\x4b\x66\x33\x43\x4b\x58\x35\x6d\x4d\x7a\x7a\x42\x68\x44\x6d\x76\x68\x4c\x33\x72\x65\x58\x53\x45\x68\x6a\x69\x45\x4c\x43','\x6d\x4a\x75\x57\x6e\x5a\x65\x57\x79\x4e\x50\x65\x41\x4e\x44\x54','\x7a\x32\x66\x48\x44\x4d\x71','\x7a\x67\x39\x32\x42\x31\x47','\x44\x67\x76\x5a\x44\x61','\x75\x4c\x50\x48\x45\x77\x30','\x43\x33\x76\x68\x44\x77\x75','\x74\x31\x4c\x53\x73\x66\x6d','\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','\x42\x64\x6e\x35\x77\x67\x58\x78','\x72\x68\x43\x31\x75\x4b\x6a\x6e\x6f\x74\x6e\x63\x72\x57','\x45\x74\x6a\x4d\x6d\x75\x6d\x59\x44\x71','\x45\x4b\x31\x6d\x74\x65\x6a\x4e\x43\x4c\x4f','\x41\x78\x6e\x6f\x79\x75\x34','\x75\x68\x6e\x6c\x43\x33\x69','\x74\x67\x66\x63\x73\x30\x34','\x45\x4c\x62\x63\x75\x76\x79','\x45\x77\x50\x52\x41\x76\x6d'];a0_0x5046=function(){return _0x1aa79f;};return a0_0x5046();}const a0_0x1c5d27=a0_0x41d1;(function(_0x1db75c,_0x49ebd8){const _0x72cba9=a0_0x20e3,_0x3cda64={'\x5a\x48\x6b\x6d\x61':function(_0x3714f6,_0x2d8a69){return _0x3714f6+_0x2d8a69;},'\x7a\x79\x6b\x53\x62':function(_0x3b6979,_0x322243){return _0x3b6979+_0x322243;},'\x4a\x54\x6c\x7a\x53':function(_0x4dc89a,_0x467487){return _0x4dc89a/_0x467487;},'\x71\x6e\x77\x43\x4e':function(_0x1fec9f,_0x2c08f0){return _0x1fec9f(_0x2c08f0);},'\x76\x67\x5a\x48\x79':function(_0x4db1b3,_0x25d19b){return _0x4db1b3/_0x25d19b;},'\x73\x68\x73\x72\x52':function(_0xe27e67,_0x745ed3){return _0xe27e67(_0x745ed3);},'\x6a\x69\x62\x69\x4b':function(_0x35ce4f,_0x30889d){return _0x35ce4f(_0x30889d);},'\x67\x4b\x6d\x6d\x7a':function(_0x763c22,_0x463388){return _0x763c22/_0x463388;},'\x47\x6c\x5a\x58\x4e':function(_0x481135,_0x103014){return _0x481135(_0x103014);},'\x47\x64\x52\x42\x4f':function(_0x4c3fce,_0x359cc3){return _0x4c3fce*_0x359cc3;},'\x42\x79\x72\x6c\x5a':function(_0x414500,_0x224526){return _0x414500(_0x224526);},'\x63\x75\x52\x42\x63':function(_0x57b62e,_0x2189db){return _0x57b62e(_0x2189db);},'\x6b\x6e\x6a\x75\x6f':_0x72cba9(0xaf),'\x75\x62\x43\x42\x50':_0x72cba9(0x113)},_0x38b666=a0_0x41d1,_0xe3f3ad=_0x1db75c();while(!![]){try{const _0x1c1977=_0x3cda64[_0x72cba9(0xbc)](_0x3cda64[_0x72cba9(0xbc)](_0x3cda64[_0x72cba9(0xdf)](_0x3cda64[_0x72cba9(0xe4)](-_0x3cda64['\x71\x6e\x77\x43\x4e'](parseInt,_0x38b666(0xbf)),0x1),_0x3cda64[_0x72cba9(0x137)](_0x3cda64[_0x72cba9(0x123)](parseInt,_0x38b666(0xc6)),0x2)*_0x3cda64[_0x72cba9(0xe4)](parseInt(_0x3cda64[_0x72cba9(0xe1)](_0x38b666,0xe4)),0x3))+parseInt(_0x38b666(0xb6))/0x4,-parseInt(_0x38b666(0x96))/0x5)+_0x3cda64['\x4a\x54\x6c\x7a\x53'](parseInt(_0x38b666(0xec)),0x6)*(-_0x3cda64['\x6a\x69\x62\x69\x4b'](parseInt,_0x38b666(0xd2))/0x7)+_0x3cda64[_0x72cba9(0x72)](-_0x3cda64[_0x72cba9(0x123)](parseInt,_0x3cda64['\x47\x6c\x5a\x58\x4e'](_0x38b666,0xb0)),0x8),_0x3cda64[_0x72cba9(0xca)](_0x3cda64[_0x72cba9(0x72)](parseInt(_0x3cda64[_0x72cba9(0x77)](_0x38b666,0xdd)),0x9),_0x3cda64['\x63\x75\x52\x42\x63'](parseInt,_0x38b666(0xa3))/0xa));if(_0x1c1977===_0x49ebd8)break;else _0xe3f3ad[_0x72cba9(0x113)](_0xe3f3ad[_0x3cda64['\x6b\x6e\x6a\x75\x6f']]());}catch(_0x4437ae){_0xe3f3ad[_0x3cda64[_0x72cba9(0x6e)]](_0xe3f3ad[_0x72cba9(0xaf)]());}}}(a0_0x2f24,0x3d463));function a0_0x20e3(_0x2ffc55,_0x151cf4){_0x2ffc55=_0x2ffc55-0x6a;const _0x5046de=a0_0x5046();let _0x20e390=_0x5046de[_0x2ffc55];if(a0_0x20e3['\x71\x63\x54\x58\x51\x6c']===undefined){var _0x2dc8f1=function(_0x22f995){const _0x5bc85a='\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 _0x400239='',_0x1f753b='';for(let _0x564a29=0x0,_0x5b9d6f,_0xce10c5,_0x152d1e=0x0;_0xce10c5=_0x22f995['\x63\x68\x61\x72\x41\x74'](_0x152d1e++);~_0xce10c5&&(_0x5b9d6f=_0x564a29%0x4?_0x5b9d6f*0x40+_0xce10c5:_0xce10c5,_0x564a29++%0x4)?_0x400239+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x5b9d6f>>(-0x2*_0x564a29&0x6)):0x0){_0xce10c5=_0x5bc85a['\x69\x6e\x64\x65\x78\x4f\x66'](_0xce10c5);}for(let _0x497c4f=0x0,_0x1a33fd=_0x400239['\x6c\x65\x6e\x67\x74\x68'];_0x497c4f<_0x1a33fd;_0x497c4f++){_0x1f753b+='\x25'+('\x30\x30'+_0x400239['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x497c4f)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1f753b);};a0_0x20e3['\x5a\x62\x70\x5a\x56\x75']=_0x2dc8f1,a0_0x20e3['\x5a\x4b\x74\x52\x50\x73']={},a0_0x20e3['\x71\x63\x54\x58\x51\x6c']=!![];}const _0x1637c4=_0x5046de[0x0],_0x186a0f=_0x2ffc55+_0x1637c4,_0x3bd444=a0_0x20e3['\x5a\x4b\x74\x52\x50\x73'][_0x186a0f];return!_0x3bd444?(_0x20e390=a0_0x20e3['\x5a\x62\x70\x5a\x56\x75'](_0x20e390),a0_0x20e3['\x5a\x4b\x74\x52\x50\x73'][_0x186a0f]=_0x20e390):_0x20e390=_0x3bd444,_0x20e390;}function a0_0x41d1(_0x20b4a6,_0x529db5){const _0x5c212b=a0_0x20e3,_0x58bba3={'\x62\x4a\x43\x53\x6e':function(_0x1970c0,_0x5a741f){return _0x1970c0%_0x5a741f;},'\x41\x68\x78\x76\x44':function(_0xd31869,_0x3f72c6){return _0xd31869+_0x3f72c6;},'\x55\x67\x6e\x49\x43':_0x5c212b(0xfa),'\x53\x77\x79\x62\x4d':function(_0x3610b4,_0x5dfc17){return _0x3610b4>>_0x5dfc17;},'\x59\x70\x74\x54\x78':function(_0x372496,_0x31d668){return _0x372496*_0x31d668;},'\x59\x6e\x50\x44\x46':_0x5c212b(0x92),'\x74\x6c\x43\x62\x48':function(_0x4b822e,_0x243adf){return _0x4b822e+_0x243adf;},'\x63\x4d\x67\x7a\x57':function(_0x5f4841,_0x2a3608){return _0x5f4841-_0x2a3608;},'\x49\x4c\x61\x69\x5a':function(_0x5399c2,_0x13d954){return _0x5399c2===_0x13d954;},'\x5a\x53\x47\x72\x54':_0x5c212b(0x84)};_0x20b4a6=_0x58bba3[_0x5c212b(0x94)](_0x20b4a6,0x91);const _0x5e4b20=a0_0x2f24();let _0x3ef594=_0x5e4b20[_0x20b4a6];if(_0x58bba3[_0x5c212b(0xc2)](a0_0x41d1[_0x58bba3[_0x5c212b(0xcf)]],undefined)){var _0x5f29a7=function(_0x157eae){const _0x3305c1=_0x5c212b,_0x44dcd3='\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 _0x235152='',_0x1517b8='';for(let _0x19cc0d=0x0,_0x2e4c17,_0x10347c,_0x22e4f3=0x0;_0x10347c=_0x157eae[_0x3305c1(0x111)](_0x22e4f3++);~_0x10347c&&(_0x2e4c17=_0x58bba3['\x62\x4a\x43\x53\x6e'](_0x19cc0d,0x4)?_0x58bba3['\x41\x68\x78\x76\x44'](_0x2e4c17*0x40,_0x10347c):_0x10347c,_0x58bba3[_0x3305c1(0x8d)](_0x19cc0d++,0x4))?_0x235152+=String[_0x58bba3['\x55\x67\x6e\x49\x43']](0xff&_0x58bba3[_0x3305c1(0xfd)](_0x2e4c17,_0x58bba3[_0x3305c1(0xd8)](-0x2,_0x19cc0d)&0x6)):0x0){_0x10347c=_0x44dcd3['\x69\x6e\x64\x65\x78\x4f\x66'](_0x10347c);}for(let _0x334a4e=0x0,_0x15cf12=_0x235152[_0x58bba3[_0x3305c1(0xff)]];_0x334a4e<_0x15cf12;_0x334a4e++){_0x1517b8+='\x25'+_0x58bba3[_0x3305c1(0xb1)]('\x30\x30',_0x235152[_0x3305c1(0xc4)](_0x334a4e)[_0x3305c1(0xb7)](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1517b8);};a0_0x41d1['\x4a\x4c\x77\x65\x41\x4d']=_0x5f29a7,a0_0x41d1['\x41\x4c\x78\x41\x4d\x53']={},a0_0x41d1[_0x5c212b(0x84)]=!![];}const _0x1b2efa=_0x5e4b20[0x0],_0x2280ea=_0x20b4a6+_0x1b2efa,_0x2d7b53=a0_0x41d1['\x41\x4c\x78\x41\x4d\x53'][_0x2280ea];return!_0x2d7b53?(_0x3ef594=a0_0x41d1[_0x5c212b(0xc1)](_0x3ef594),a0_0x41d1[_0x5c212b(0x97)][_0x2280ea]=_0x3ef594):_0x3ef594=_0x2d7b53,_0x3ef594;}var SandboxError=class extends Error{['\x73\x74\x61\x74\x75\x73'];[a0_0x1c5d27(0xaa)];[a0_0x576bf7(0x7f)];[a0_0x576bf7(0x80)];[a0_0x576bf7(0x12a)];[a0_0x576bf7(0x12f)];[a0_0x1c5d27(0xc2)];constructor(_0x2a64e1,_0x377ac2,_0x4cceca,_0x1bff52){const _0x3b9d36=a0_0x576bf7,_0x3d51fc={'\x6f\x49\x72\x43\x56':function(_0x42faf4,_0x4c9199){return _0x42faf4(_0x4c9199);},'\x52\x5a\x6d\x46\x6f':function(_0x5e0a2c,_0x570cf7){return _0x5e0a2c(_0x570cf7);},'\x65\x4d\x6e\x62\x58':function(_0x14b2db,_0x360805){return _0x14b2db(_0x360805);},'\x51\x52\x57\x73\x53':_0x3b9d36(0x7f),'\x67\x61\x61\x76\x64':function(_0x464e4b,_0x13dd9e){return _0x464e4b(_0x13dd9e);}},_0x1aadc5=a0_0x1c5d27,_0x112df3={'\x51\x57\x56\x4a\x43':_0x3d51fc[_0x3b9d36(0x73)](_0x1aadc5,0x95)};super(_0x2a64e1),this[_0x3d51fc['\x52\x5a\x6d\x46\x6f'](_0x1aadc5,0xcb)]=_0x112df3[_0x3d51fc['\x65\x4d\x6e\x62\x58'](_0x1aadc5,0x9a)],this[_0x1aadc5(0xaa)]=_0x377ac2,this[_0x1aadc5(0xdc)]=_0x4cceca,this[_0x1aadc5(0xb5)]=_0x1bff52?.[_0x3d51fc[_0x3b9d36(0x74)]],this[_0x1aadc5(0xad)]=_0x1bff52?.[_0x3b9d36(0x80)],this[_0x1aadc5(0xd6)]=_0x1bff52?.[_0x3b9d36(0x12a)],this[_0x1aadc5(0xb7)]=_0x1bff52?.[_0x3d51fc['\x67\x61\x61\x76\x64'](_0x1aadc5,0xb7)],this[_0x3d51fc[_0x3b9d36(0x9f)](_0x1aadc5,0xc2)]=_0x1bff52?.[_0x1aadc5(0xc2)];}},AuthError=class extends SandboxError{constructor(_0x4f3955=a0_0x1c5d27(0xbc),_0xae9680){const _0x4b9f7d=a0_0x576bf7,_0x1a4b81={'\x64\x7a\x72\x6a\x7a':function(_0x15e1ff,_0x400379){return _0x15e1ff(_0x400379);},'\x71\x4c\x57\x47\x4b':function(_0x3b6f2d,_0x249c65){return _0x3b6f2d(_0x249c65);},'\x4c\x4c\x4b\x46\x67':'\x41\x75\x74\x68\x45\x72\x72\x6f\x72'},_0x586173=a0_0x1c5d27,_0x55842e={'\x64\x71\x4a\x6d\x42':_0x1a4b81[_0x4b9f7d(0x10d)](_0x586173,0xcf)};super(_0x4f3955,_0x55842e[_0x586173(0xc5)],0x191,_0xae9680),this[_0x1a4b81[_0x4b9f7d(0x6a)](_0x586173,0xcb)]=_0x1a4b81[_0x4b9f7d(0x95)];}},NotFoundError=class extends SandboxError{[a0_0x1c5d27(0xe5)];[a0_0x576bf7(0xf9)];constructor(_0x23e868,_0x4f0e98,_0x59211c){const _0x5a9855=a0_0x576bf7,_0x53f671={'\x68\x71\x53\x65\x4a':function(_0x5552e1,_0x321bed){return _0x5552e1+_0x321bed;},'\x67\x4e\x6e\x4b\x59':function(_0x5477fc,_0x416099){return _0x5477fc+_0x416099;},'\x4a\x79\x55\x5a\x61':function(_0x4f3b94,_0x54b53b){return _0x4f3b94(_0x54b53b);}},_0x311c9c=a0_0x1c5d27,_0x537054={'\x76\x4c\x70\x67\x66':_0x311c9c(0xd0)};super(_0x53f671[_0x5a9855(0xf4)](_0x53f671[_0x5a9855(0x11b)](_0x23e868,_0x5a9855(0xb9)),_0x4f0e98),_0x537054[_0x311c9c(0xd9)],0x194,_0x59211c),this[_0x53f671[_0x5a9855(0xeb)](_0x311c9c,0xcb)]=_0x311c9c(0xa9),this[_0x5a9855(0x126)]=_0x23e868,this[_0x53f671[_0x5a9855(0xeb)](_0x311c9c,0xb2)]=_0x4f0e98;}},QuotaError=class extends SandboxError{[a0_0x1c5d27(0xd7)];[a0_0x1c5d27(0xc8)];[a0_0x1c5d27(0xc1)];[a0_0x1c5d27(0xd6)];constructor(_0x1f7168,_0x270bb2,_0x4a9bb0,_0x242278,_0x220d6d){const _0x188b15=a0_0x576bf7,_0x1783bb={'\x78\x4c\x62\x4a\x5a':_0x188b15(0x99),'\x74\x6e\x77\x5a\x52':function(_0x5a1f7b,_0x1d8338){return _0x5a1f7b+_0x1d8338;},'\x56\x55\x59\x73\x52':function(_0x2fb433,_0xe74918){return _0x2fb433(_0xe74918);}},_0x2e684a=a0_0x1c5d27,_0x539116={'\x53\x7a\x6c\x4a\x4a':_0x1783bb[_0x188b15(0xcd)]};super(_0x270bb2??_0x1783bb['\x74\x6e\x77\x5a\x52'](_0x2e684a(0x98),_0x1f7168),_0x539116[_0x2e684a(0xef)],0x1ad,_0x220d6d),this[_0x1783bb[_0x188b15(0x119)](_0x2e684a,0xcb)]=_0x2e684a(0xed),this[_0x2e684a(0xd7)]=_0x1f7168,this[_0x2e684a(0xc8)]=_0x4a9bb0,this[_0x2e684a(0xc1)]=_0x242278,this[_0x1783bb[_0x188b15(0x119)](_0x2e684a,0xd6)]=_0x220d6d?.[_0x1783bb[_0x188b15(0x119)](_0x2e684a,0xd6)];}},ValidationError=class extends SandboxError{[a0_0x1c5d27(0xa0)];constructor(_0x10ee69,_0x39aaa7,_0x3ae8fb){const _0x1fb9cc=a0_0x576bf7,_0x4e5610={'\x41\x6c\x5a\x52\x69':_0x1fb9cc(0x117),'\x51\x52\x65\x4f\x50':_0x1fb9cc(0x11d),'\x66\x70\x77\x4a\x4c':function(_0x30c042,_0xcccd8b){return _0x30c042(_0xcccd8b);},'\x6d\x51\x53\x4e\x70':_0x1fb9cc(0x93),'\x7a\x71\x62\x63\x71':'\x66\x69\x65\x6c\x64\x73'},_0x1241b7=a0_0x1c5d27,_0x469901={'\x59\x72\x51\x51\x77':_0x4e5610[_0x1fb9cc(0x128)],'\x70\x6e\x75\x6a\x52':_0x4e5610[_0x1fb9cc(0x133)]};super(_0x10ee69,_0x469901[_0x4e5610[_0x1fb9cc(0x102)](_0x1241b7,0x9c)],0x190,_0x3ae8fb),this['\x6e\x61\x6d\x65']=_0x469901[_0x4e5610['\x6d\x51\x53\x4e\x70']],this[_0x4e5610[_0x1fb9cc(0xfc)]]=_0x39aaa7;}},StateError=class extends SandboxError{[a0_0x1c5d27(0xce)];[a0_0x1c5d27(0xe6)];constructor(_0x416ad5,_0x1e81ee,_0x4b0ed0,_0x27b4b6){const _0x22753d=a0_0x576bf7,_0x23525c={'\x55\x73\x4e\x4d\x50':function(_0xa3554c,_0x2c247c){return _0xa3554c(_0x2c247c);},'\x59\x57\x61\x71\x41':function(_0x325b14,_0x218c95){return _0x325b14(_0x218c95);}},_0x32de75=a0_0x1c5d27,_0x319679={'\x74\x4c\x4e\x74\x6d':_0x32de75(0xf2),'\x6b\x51\x53\x65\x52':_0x23525c[_0x22753d(0x7b)](_0x32de75,0xa8)};super(_0x416ad5,_0x319679[_0x23525c[_0x22753d(0x7b)](_0x32de75,0x9b)],0x199,_0x27b4b6),this[_0x32de75(0xcb)]=_0x319679[_0x23525c[_0x22753d(0x7b)](_0x32de75,0xeb)],this[_0x32de75(0xce)]=_0x1e81ee,this[_0x23525c[_0x22753d(0x100)](_0x32de75,0xe6)]=_0x4b0ed0;}},TimeoutError=class extends SandboxError{[a0_0x1c5d27(0xf0)];constructor(_0x3e1715,_0x3a1fc4,_0x384e58){const _0x322400=a0_0x576bf7,_0x83c670={'\x79\x4c\x78\x65\x4e':function(_0x192a6a,_0x5d02a7){return _0x192a6a+_0x5d02a7;},'\x4b\x41\x66\x69\x54':function(_0x519e11,_0x383d7f){return _0x519e11(_0x383d7f);},'\x66\x69\x51\x70\x49':function(_0x56cf43,_0x572df3){return _0x56cf43(_0x572df3);}},_0x2aa2c1=a0_0x1c5d27,_0x123350={'\x63\x61\x47\x44\x58':_0x322400(0xd2),'\x50\x70\x4a\x74\x50':_0x2aa2c1(0x92)};super(_0x3a1fc4??_0x83c670[_0x322400(0x136)](_0x322400(0xfb)+_0x3e1715,'\x6d\x73'),_0x123350[_0x2aa2c1(0xb8)],0x198,_0x384e58),this['\x6e\x61\x6d\x65']=_0x123350[_0x83c670['\x4b\x41\x66\x69\x54'](_0x2aa2c1,0xa5)],this[_0x83c670['\x66\x69\x51\x70\x49'](_0x2aa2c1,0xf0)]=_0x3e1715;}},NetworkError=class extends SandboxError{[a0_0x1c5d27(0xac)];constructor(_0x40c256,_0x311000,_0x5675dd){const _0x489752=a0_0x576bf7,_0x5ba0d4={'\x5a\x64\x59\x55\x61':function(_0x3e707f,_0x9c8374){return _0x3e707f(_0x9c8374);}},_0x19ed06=a0_0x1c5d27,_0x486f59={'\x72\x47\x7a\x72\x6f':function(_0x1947d3,_0x419e04){return _0x1947d3 instanceof _0x419e04;},'\x66\x44\x50\x59\x58':_0x19ed06(0xa7)},_0x3cd02c=_0x486f59[_0x19ed06(0xe1)](_0x311000,Error)?_0x311000:void 0x0,_0x2ce8dd=_0x311000 instanceof Error?_0x5675dd:_0x311000??_0x5675dd;super(_0x40c256,_0x486f59[_0x5ba0d4[_0x489752(0x12e)](_0x19ed06,0xba)],void 0x0,_0x2ce8dd),this[_0x5ba0d4[_0x489752(0x12e)](_0x19ed06,0xcb)]='\x4e\x65\x74\x77\x6f\x72\x6b\x45\x72\x72\x6f\x72',this[_0x19ed06(0xac)]=_0x3cd02c;}},ServerError=class extends SandboxError{constructor(_0x622741,_0x1dfee0=0x1f4,_0x119f87){const _0x3edeee=a0_0x576bf7,_0x2b2741={'\x70\x66\x4e\x62\x6f':function(_0xa458b6,_0x1fb966){return _0xa458b6(_0x1fb966);}},_0x18a48b=a0_0x1c5d27,_0x43112d={'\x70\x4e\x58\x46\x48':_0x2b2741[_0x3edeee(0x13e)](_0x18a48b,0xea)};super(_0x622741,_0x18a48b(0xb3),_0x1dfee0,_0x119f87),this[_0x2b2741[_0x3edeee(0x13e)](_0x18a48b,0xcb)]=_0x43112d[_0x2b2741[_0x3edeee(0x13e)](_0x18a48b,0xee)];}};function parseRetryAfterMs(_0x188f11,_0x3a0521){const _0x4b6191=a0_0x576bf7,_0xfb2b7c={'\x62\x41\x63\x78\x53':function(_0x32220f,_0x20f8db){return _0x32220f*_0x20f8db;},'\x42\x45\x57\x63\x71':function(_0x45586b,_0x229538){return _0x45586b(_0x229538);},'\x50\x68\x4c\x79\x58':function(_0xde726f,_0x1eb460){return _0xde726f(_0x1eb460);},'\x45\x4f\x53\x67\x6e':_0x4b6191(0xaa),'\x48\x67\x6f\x65\x6e':function(_0x4ad29b,_0x2eb8f3){return _0x4ad29b(_0x2eb8f3);},'\x4a\x61\x7a\x6a\x70':function(_0x5e2b37,_0x452b58){return _0x5e2b37-_0x452b58;}},_0x478191=a0_0x1c5d27,_0x11fce9={'\x46\x65\x6e\x4b\x7a':function(_0x5d7e21,_0x2356f2){const _0xc8ac79=_0x4b6191;return _0xfb2b7c[_0xc8ac79(0x7d)](_0x5d7e21,_0x2356f2);}};if(typeof _0x3a0521[_0x478191(0xd6)]===_0x478191(0x99)&&Number[_0x4b6191(0x88)](_0x3a0521[_0x478191(0xd6)]))return Math[_0x478191(0xc7)](0x0,_0x3a0521[_0xfb2b7c['\x42\x45\x57\x63\x71'](_0x478191,0xd6)]);if(!_0x188f11)return void 0x0;const _0x103190=_0x188f11[_0x478191(0xe2)]();if(!_0x103190)return void 0x0;const _0x364a0b=Number(_0x103190);if(Number[_0xfb2b7c['\x50\x68\x4c\x79\x58'](_0x478191,0xda)](_0x364a0b))return _0x11fce9['\x46\x65\x6e\x4b\x7a'](Math[_0x4b6191(0x75)](0x0,_0x364a0b),0x3e8);const _0x5a6d83=Date[_0x478191(0xb9)](_0x103190);if(!Number[_0xfb2b7c[_0x4b6191(0xec)]](_0x5a6d83))return Math[_0xfb2b7c[_0x4b6191(0xce)](_0x478191,0xc7)](0x0,_0xfb2b7c['\x4a\x61\x7a\x6a\x70'](_0x5a6d83,Date[_0x478191(0xaf)]()));}function inferOrigin(_0x175ae4,_0x13a979){const _0x4ccd99=a0_0x576bf7,_0x1b14af={'\x6e\x59\x70\x4c\x67':function(_0x2d900d,_0x441f58){return _0x2d900d(_0x441f58);},'\x50\x73\x4b\x73\x72':function(_0x41e533,_0x34cd86){return _0x41e533(_0x34cd86);},'\x7a\x50\x42\x51\x56':function(_0x10e574,_0x2c5c87){return _0x10e574(_0x2c5c87);},'\x4d\x47\x45\x59\x78':_0x4ccd99(0x6b)},_0x4faf34=a0_0x1c5d27,_0x2b5de3={'\x6c\x61\x73\x4d\x4a':_0x4faf34(0xe9),'\x55\x48\x4f\x6e\x52':_0x4faf34(0x9f),'\x63\x69\x74\x48\x4b':_0x4faf34(0xcc)},_0x585579=_0x13a979?.[_0x1b14af[_0x4ccd99(0x8b)](_0x4faf34,0xe7)]??_0x175ae4?.[_0x4faf34(0xbd)](_0x4faf34(0xa4))??void 0x0;if(!_0x175ae4)return _0x13a979?.[_0x4faf34(0xe7)]?_0x4faf34(0xdb):void 0x0;if(_0x175ae4[_0x1b14af[_0x4ccd99(0x8b)](_0x4faf34,0xe8)](_0x1b14af[_0x4ccd99(0x8b)](_0x4faf34,0xc4))||_0x175ae4[_0x4faf34(0xe8)](_0x4faf34(0xd1))||_0x175ae4[_0x4ccd99(0x135)](_0x4faf34(0xbb)))return _0x4faf34(0xf1);if(_0x175ae4[_0x1b14af[_0x4ccd99(0xab)](_0x4faf34,0xe8)](_0x1b14af['\x50\x73\x4b\x73\x72'](_0x4faf34,0x94)))return _0x1b14af[_0x4ccd99(0x8b)](_0x4faf34,0xca);if(_0x585579?.[_0x4faf34(0xdf)](_0x4faf34(0xe0)))return _0x4faf34(0xdb);if(_0x585579){if(_0x585579[_0x1b14af['\x7a\x50\x42\x51\x56'](_0x4faf34,0xdf)]('\x2f\x70\x72\x6f\x6a\x65\x63\x74\x73')||_0x585579[_0x4faf34(0xdf)](_0x2b5de3[_0x4faf34(0xc0)])||_0x585579[_0x1b14af[_0x4ccd99(0xad)](_0x4faf34,0xdf)](_0x2b5de3[_0x1b14af[_0x4ccd99(0x8c)]]))return _0x1b14af['\x6e\x59\x70\x4c\x67'](_0x4faf34,0xca);return _0x2b5de3[_0x1b14af[_0x4ccd99(0xab)](_0x4faf34,0x9e)];}return _0x4faf34(0xc3);}function parseErrorResponse(_0x11a6b8,_0x39b1d8,_0x266e5c,_0x1b0494){const _0x2bf7ef=a0_0x576bf7,_0x44382a={'\x77\x5a\x62\x4b\x4f':function(_0x386988,_0x1b372d){return _0x386988===_0x1b372d;},'\x65\x6e\x4d\x62\x79':function(_0x58e303,_0x2780f5){return _0x58e303>_0x2780f5;},'\x6c\x69\x74\x74\x4a':function(_0x10d15a,_0x973ab6){return _0x10d15a(_0x973ab6);},'\x58\x50\x49\x6f\x62':_0x2bf7ef(0x110),'\x79\x48\x42\x6d\x73':_0x2bf7ef(0x131),'\x47\x47\x70\x48\x62':function(_0x206ddd,_0x312c77){return _0x206ddd(_0x312c77);},'\x70\x6d\x42\x64\x6c':'\x63\x5a\x46\x57\x54','\x71\x71\x47\x6f\x4c':function(_0x22e4ba,_0x1a2209){return _0x22e4ba(_0x1a2209);},'\x4c\x7a\x77\x76\x4b':_0x2bf7ef(0x6d),'\x76\x52\x66\x63\x72':function(_0x2e80ee,_0x455481){return _0x2e80ee(_0x455481);},'\x54\x68\x58\x67\x44':function(_0x4f1da1,_0xdad600){return _0x4f1da1(_0xdad600);},'\x6a\x6e\x7a\x4f\x44':function(_0x1486da,_0x352324){return _0x1486da(_0x352324);},'\x4f\x6a\x6c\x75\x79':function(_0x4aed6e,_0x1b789f){return _0x4aed6e!==_0x1b789f;},'\x79\x74\x70\x55\x49':function(_0x1e7331,_0x3784b2){return _0x1e7331(_0x3784b2);},'\x44\x61\x6d\x44\x65':_0x2bf7ef(0xa1),'\x78\x77\x44\x55\x74':function(_0x28fb54,_0xbb342f){return _0x28fb54+_0xbb342f;},'\x6c\x4f\x6a\x59\x63':_0x2bf7ef(0xa3),'\x4c\x6d\x73\x42\x6c':function(_0x3ad944,_0x2255c2,_0x1452c8){return _0x3ad944(_0x2255c2,_0x1452c8);},'\x79\x6a\x6b\x69\x53':function(_0x1ccb08,_0x2739df){return _0x1ccb08(_0x2739df);},'\x4c\x61\x42\x4b\x4e':function(_0x2efd4c,_0x58bba0){return _0x2efd4c(_0x58bba0);},'\x4b\x6e\x66\x53\x65':function(_0x44af66,_0x14123d){return _0x44af66(_0x14123d);},'\x6c\x77\x48\x47\x57':function(_0x20cddb,_0xc33298){return _0x20cddb(_0xc33298);},'\x6e\x47\x75\x51\x56':function(_0x46bbd6,_0x465a14){return _0x46bbd6(_0x465a14);},'\x55\x61\x52\x79\x59':function(_0xc1ff46,_0x40c857){return _0xc1ff46(_0x40c857);},'\x78\x78\x63\x54\x53':function(_0x46d097,_0x3094fe){return _0x46d097||_0x3094fe;},'\x71\x4e\x5a\x77\x70':'\x55\x4e\x4b\x4e\x4f\x57\x4e\x5f\x45\x52\x52\x4f\x52'},_0x1d5d45=a0_0x1c5d27,_0x2708e8={'\x4f\x64\x43\x43\x48':function(_0x847c4c,_0x57eb56){return _0x847c4c===_0x57eb56;},'\x4a\x6f\x41\x74\x49':_0x44382a['\x6c\x69\x74\x74\x4a'](_0x1d5d45,0xd8),'\x63\x5a\x46\x57\x54':function(_0x32018c,_0x49c601){return _0x32018c!==_0x49c601;},'\x57\x47\x68\x51\x5a':function(_0xf4989a,_0x120c3c){const _0x5edc20=_0x2bf7ef;return _0x44382a[_0x5edc20(0x132)](_0xf4989a,_0x120c3c);},'\x50\x67\x52\x71\x48':_0x44382a['\x6c\x69\x74\x74\x4a'](_0x1d5d45,0xa6),'\x76\x6c\x48\x66\x4f':function(_0x5e181d,_0x42f340){const _0x4abcc0=_0x2bf7ef;return _0x44382a[_0x4abcc0(0x12b)](_0x5e181d,_0x42f340);},'\x70\x70\x74\x67\x4e':function(_0x5148cb,_0x2b799a){const _0x3512c9=_0x2bf7ef;return _0x44382a[_0x3512c9(0x132)](_0x5148cb,_0x2b799a);},'\x54\x57\x61\x70\x77':function(_0x533a3f,_0xc16d77,_0x3d15f4){return _0x533a3f(_0xc16d77,_0x3d15f4);},'\x73\x75\x47\x75\x65':_0x2bf7ef(0xa5),'\x65\x4c\x6d\x6e\x4d':_0x44382a['\x58\x50\x49\x6f\x62'],'\x4e\x78\x69\x7a\x7a':_0x1d5d45(0xc4),'\x6d\x4a\x53\x6b\x63':_0x44382a['\x79\x48\x42\x6d\x73'],'\x4e\x77\x57\x6d\x7a':_0x2bf7ef(0xc8),'\x6c\x47\x53\x68\x5a':_0x44382a[_0x2bf7ef(0x124)](_0x1d5d45,0xc3),'\x6e\x73\x4c\x4e\x6e':_0x44382a[_0x2bf7ef(0xf0)](_0x1d5d45,0x97),'\x56\x50\x6a\x72\x72':function(_0x5cecc6,_0x395553){return _0x5cecc6>=_0x395553;}};let _0x49a456;try{_0x49a456=JSON[_0x1d5d45(0xb9)](_0x39b1d8);}catch{_0x49a456={'\x6d\x65\x73\x73\x61\x67\x65':_0x39b1d8};}const _0x3faa2d=_0x49a456[_0x1d5d45(0xa2)],_0x59d38a=_0x2708e8[_0x44382a['\x47\x47\x70\x48\x62'](_0x1d5d45,0xb1)](typeof _0x3faa2d,_0x2708e8['\x4a\x6f\x41\x74\x49'])&&_0x2708e8[_0x44382a[_0x2bf7ef(0x12d)]](_0x3faa2d,null)?_0x3faa2d[_0x1d5d45(0xbe)]:void 0x0,_0x2c3233=typeof _0x3faa2d===_0x1d5d45(0xd8)&&_0x2708e8[_0x2bf7ef(0xd9)](_0x3faa2d,null)?_0x3faa2d[_0x44382a['\x71\x71\x47\x6f\x4c'](_0x1d5d45,0xaa)]:void 0x0,_0x3ce614=_0x49a456[_0x44382a[_0x2bf7ef(0x10e)]]||_0x59d38a||(_0x2708e8[_0x1d5d45(0xf3)](typeof _0x3faa2d,_0x2708e8[_0x1d5d45(0x93)])?_0x3faa2d:void 0x0)||_0x39b1d8||_0x1d5d45(0xa1),_0x3c57dc=_0x44382a[_0x2bf7ef(0x132)](typeof _0x49a456[_0x44382a[_0x2bf7ef(0xf0)](_0x1d5d45,0xcd)],_0x44382a['\x76\x52\x66\x63\x72'](_0x1d5d45,0xa6))&&_0x2708e8[_0x2bf7ef(0xe9)](_0x49a456[_0x44382a[_0x2bf7ef(0x76)](_0x1d5d45,0xcd)][_0x44382a[_0x2bf7ef(0xcb)](_0x1d5d45,0xe2)]()[_0x1d5d45(0xc9)],0x0)?_0x49a456[_0x44382a[_0x2bf7ef(0x114)](_0x1d5d45,0xcd)][_0x1d5d45(0xe2)]():void 0x0,_0x4c9773=!!_0x3c57dc&&_0x44382a['\x4f\x6a\x6c\x75\x79'](_0x3c57dc,_0x3ce614)&&(_0x2708e8[_0x44382a[_0x2bf7ef(0xcb)](_0x1d5d45,0xd4)](_0x3ce614,_0x44382a[_0x2bf7ef(0xb8)](_0x1d5d45,0xa1))||/^failed\b/i[_0x1d5d45(0x9d)](_0x3ce614)||/^provision failed\b/i[_0x44382a['\x6c\x69\x74\x74\x4a'](_0x1d5d45,0x9d)](_0x3ce614)||/^deprovision failed\b/i[_0x44382a[_0x2bf7ef(0xb4)]](_0x3ce614)),_0x5aa708=_0x49a456[_0x1d5d45(0xaa)]||_0x2c3233,_0x4d53a1=''+(_0x266e5c?(_0x266e5c[_0x1d5d45(0xd3)]??'\x52\x45\x51\x55\x45\x53\x54')+'\x20'+(_0x266e5c[_0x1d5d45(0xe7)]??'')+'\x3a\x20':'')+(_0x4c9773?_0x44382a['\x78\x77\x44\x55\x74'](_0x3ce614,'\x3a\x20')+_0x3c57dc:_0x3ce614),_0x505ca9={'\x6f\x72\x69\x67\x69\x6e':_0x2708e8[_0x2bf7ef(0x79)](inferOrigin,_0x1b0494,_0x266e5c),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x266e5c?.[_0x2bf7ef(0xd1)]??_0x1b0494?.[_0x44382a[_0x2bf7ef(0xb8)](_0x1d5d45,0xbd)](_0x2708e8[_0x44382a[_0x2bf7ef(0x9a)]])??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':_0x44382a[_0x2bf7ef(0xc3)](parseRetryAfterMs,_0x1b0494?.[_0x1d5d45(0xbd)](_0x2708e8[_0x44382a[_0x2bf7ef(0xae)](_0x1d5d45,0x91)])??void 0x0,_0x49a456),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0x1b0494?.[_0x44382a[_0x2bf7ef(0xac)](_0x1d5d45,0xbd)](_0x2708e8[_0x1d5d45(0xb4)])??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0x1b0494?.[_0x1d5d45(0xbd)](_0x44382a[_0x2bf7ef(0xae)](_0x1d5d45,0xd1))??_0x1b0494?.[_0x44382a[_0x2bf7ef(0xcb)](_0x1d5d45,0xbd)](_0x2708e8[_0x44382a[_0x2bf7ef(0x124)](_0x1d5d45,0xab)])??void 0x0};switch(_0x11a6b8){case 0x190:return new ValidationError(_0x4d53a1,_0x49a456[_0x1d5d45(0xa0)],_0x505ca9);case 0x191:return new AuthError(_0x4d53a1,_0x505ca9);case 0x194:return new NotFoundError(_0x49a456[_0x44382a[_0x2bf7ef(0x129)](_0x1d5d45,0xe5)]||_0x2708e8[_0x44382a[_0x2bf7ef(0xb5)](_0x1d5d45,0xae)],_0x49a456[_0x1d5d45(0xb2)]||_0x2708e8[_0x44382a['\x6e\x47\x75\x51\x56'](_0x1d5d45,0xde)],_0x505ca9);case 0x198:return new TimeoutError(_0x49a456[_0x1d5d45(0xf0)]||0x7530,_0x4d53a1,_0x505ca9);case 0x199:return new StateError(_0x4d53a1,_0x49a456[_0x1d5d45(0xce)]||_0x44382a[_0x2bf7ef(0xcb)](_0x1d5d45,0xc3),_0x49a456[_0x1d5d45(0xe6)],_0x505ca9);case 0x1ad:return new QuotaError(_0x49a456[_0x1d5d45(0xd7)]||_0x2708e8[_0x44382a['\x55\x61\x52\x79\x59'](_0x1d5d45,0xd5)],_0x4d53a1,_0x49a456['\x63\x75\x72\x72\x65\x6e\x74'],_0x49a456[_0x2bf7ef(0x139)],_0x505ca9);case 0x1f5:return new SandboxError(_0x4d53a1,_0x5aa708||_0x44382a[_0x2bf7ef(0xb8)](_0x1d5d45,0xe3),_0x11a6b8,_0x505ca9);default:if(_0x2708e8[_0x2bf7ef(0xd5)](_0x11a6b8,0x1f4))return new ServerError(_0x4d53a1,_0x11a6b8,_0x505ca9);return new SandboxError(_0x4d53a1,_0x44382a[_0x2bf7ef(0xb2)](_0x5aa708,_0x44382a[_0x2bf7ef(0xb0)]),_0x11a6b8,_0x505ca9);}}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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as CreateSandboxOptions, n as SandboxInstance, t as HttpClient } from "./sandbox-
|
|
1
|
+
import { b as CreateSandboxOptions, n as SandboxInstance, t as HttpClient } from "./sandbox-BvZ0-Iv7.js";
|
|
2
2
|
|
|
3
3
|
//#region src/tangle/abi.d.ts
|
|
4
4
|
/**
|
|
@@ -148,7 +148,13 @@ declare const SandboxCreateParamTypes: readonly [{
|
|
|
148
148
|
readonly name: "disk_gb";
|
|
149
149
|
readonly type: "uint64";
|
|
150
150
|
}, {
|
|
151
|
-
readonly name: "
|
|
151
|
+
readonly name: "tee_required";
|
|
152
|
+
readonly type: "bool";
|
|
153
|
+
}, {
|
|
154
|
+
readonly name: "tee_type";
|
|
155
|
+
readonly type: "uint8";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "attestation_nonce";
|
|
152
158
|
readonly type: "string";
|
|
153
159
|
}];
|
|
154
160
|
declare const SandboxIdParamTypes: readonly [{
|
|
@@ -296,9 +302,7 @@ declare const TANGLE_MAINNET_RPC = "https://rpc.tangle.tools";
|
|
|
296
302
|
declare const TANGLE_JOBS_CONTRACT: "0x0000000000000000000000000000000000000808";
|
|
297
303
|
/** Job indices matching the blueprint's job IDs. */
|
|
298
304
|
declare const JOB_SANDBOX_CREATE = 0;
|
|
299
|
-
declare const
|
|
300
|
-
declare const JOB_SANDBOX_RESUME = 2;
|
|
301
|
-
declare const JOB_SANDBOX_DELETE = 3;
|
|
305
|
+
declare const JOB_SANDBOX_DELETE = 1;
|
|
302
306
|
interface TangleSandboxClientConfig {
|
|
303
307
|
/** Tangle service instance ID for the sandbox blueprint. */
|
|
304
308
|
serviceId: bigint;
|
|
@@ -316,12 +320,22 @@ interface TangleSandboxClientConfig {
|
|
|
316
320
|
jobTimeoutMs?: number;
|
|
317
321
|
/** Interval between job completion polls. Default: 5000 (5s). */
|
|
318
322
|
pollIntervalMs?: number;
|
|
323
|
+
/**
|
|
324
|
+
* Operator API base URL for routes that must be handled by the Blueprint
|
|
325
|
+
* operator rather than the sidecar directly, such as nonce-bound TEE
|
|
326
|
+
* attestation.
|
|
327
|
+
*/
|
|
328
|
+
operatorApiUrl?: string;
|
|
329
|
+
/** Bearer token for the operator API session. */
|
|
330
|
+
operatorApiToken?: string;
|
|
319
331
|
}
|
|
320
332
|
//#endregion
|
|
321
333
|
//#region src/tangle/client.d.ts
|
|
322
334
|
declare class TangleSandboxClient implements HttpClient {
|
|
323
335
|
private readonly chain;
|
|
324
336
|
private readonly sandboxes;
|
|
337
|
+
private readonly operatorApiUrl?;
|
|
338
|
+
private readonly operatorApiToken?;
|
|
325
339
|
constructor(config: TangleSandboxClientConfig);
|
|
326
340
|
/**
|
|
327
341
|
* Create a sandbox via on-chain job submission.
|
|
@@ -332,8 +346,8 @@ declare class TangleSandboxClient implements HttpClient {
|
|
|
332
346
|
*
|
|
333
347
|
* SandboxInstance calls this.client.fetch() for:
|
|
334
348
|
* - GET /v1/sandboxes/:id → return from local tracking
|
|
335
|
-
* - POST /v1/sandboxes/:id/stop →
|
|
336
|
-
* - POST /v1/sandboxes/:id/resume →
|
|
349
|
+
* - POST /v1/sandboxes/:id/stop → unsupported until blueprint exposes stop
|
|
350
|
+
* - POST /v1/sandboxes/:id/resume → unsupported until blueprint exposes resume
|
|
337
351
|
* - DELETE /v1/sandboxes/:id → on-chain JOB_SANDBOX_DELETE
|
|
338
352
|
*/
|
|
339
353
|
fetch(path: string, options?: RequestInit): Promise<Response>;
|
|
@@ -351,6 +365,7 @@ declare class TangleSandboxClient implements HttpClient {
|
|
|
351
365
|
totalSandboxes: number;
|
|
352
366
|
totalCapacity: number;
|
|
353
367
|
}>;
|
|
368
|
+
private fetchOperatorApi;
|
|
354
369
|
}
|
|
355
370
|
//#endregion
|
|
356
|
-
export {
|
|
371
|
+
export { TANGLE_JOBS_CONTRACT as a, AgentSandboxBlueprintAbi as c, SandboxCreateParamTypes as d, SandboxCreateResponseParamTypes as f, TANGLE_CHAIN_ID as i, ITangleJobsAbi as l, JOB_SANDBOX_CREATE as n, TANGLE_MAINNET_RPC as o, SandboxIdParamTypes as p, JOB_SANDBOX_DELETE as r, TangleSandboxClientConfig as s, TangleSandboxClient as t, JsonResponseParamTypes as u };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,77 @@
|
|
|
1
|
-
import { f as CollaborationAccess, m as IssueCollaborationTokenOptions,
|
|
2
|
-
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-
|
|
3
|
-
import { $ as Process, $t as
|
|
4
|
-
import { a as SandboxError, c as TimeoutError, d as InviteTeamMemberOptions, f as SandboxClient, h as TeamMember, i as QuotaError, l as ValidationError, m as TeamInvitation, n as NetworkError, o as ServerError, p as Team, r as NotFoundError, s as StateError, t as AuthError, u as CreateTeamOptions } from "./errors-
|
|
5
|
-
import {
|
|
1
|
+
import { f as CollaborationAccess, m as IssueCollaborationTokenOptions, p as CollaborationTokenPayload, u as AnyTokenPayload } from "./index-gA-oRjOi.js";
|
|
2
|
+
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-BuS8nl3b.js";
|
|
3
|
+
import { $ as Process, $t as AgentProfileResourceRef, A as ExecResult, At as StorageConfig, B as GitStatus, Bt as UpdateUserOptions, C as DownloadOptions, Ct as SearchMatch, D as DriverType, Dt as SnapshotInfo, E as DriverInfo, Et as SecretsManager, F as GitAuth, Ft as TeeAttestationReport, G as McpServerConfig, Gt as AgentProfile, H as InstalledTool, Ht as UploadProgress, I as GitBranch, It as TeeAttestationResponse, J as NetworkManager, Jt as AgentProfileFileMount, K as MkdirOptions, Kt as AgentProfileCapabilities, L as GitCommit, Lt as TeePublicKey, M as FileSystem, Mt as TaskOptions, N as ForkOptions, Nt as TaskResult, O as EventStreamOptions, Ot as SnapshotOptions, P as ForkResult, Pt as TeeAttestationOptions, Q as PreviewLinkManager, Qt as AgentProfilePrompt, R as GitConfig, Rt as TeePublicKeyResponse, S as DirectoryPermission, St as SandboxUser, T as DriverConfig, Tt as SecretInfo, U as ListOptions, Ut as UsageInfo, V as GpuType, Vt as UploadOptions, W as ListSandboxOptions, Wt as WaitForOptions, X as PermissionsManager, Xt as AgentProfileModelHints, Y as PermissionLevel, Yt as AgentProfileMcpServer, Z as PreviewLinkInfo, Zt as AgentProfilePermissionValue, _ as CheckpointOptions, _t as SandboxEvent, a as BackendCapabilities, an as defineGitHubResource, at as ProcessStatus, b as CreateSandboxOptions, bt as SandboxResources, c as BackendManager, ct as ProvisionEvent, d as BatchEvent, dt as ProvisionStep, en as AgentProfileResources, et as ProcessInfo, f as BatchOptions, ft as RunCodeOptions, g as CheckpointInfo, gt as SandboxEnvironment, h as BatchTaskResult, ht as SandboxConnection, i as AddUserOptions, in as defineAgentProfile, it as ProcessSpawnOptions, j as FileInfo, jt as SubscriptionInfo, k as ExecOptions, kt as SnapshotResult, l as BackendStatus, lt as ProvisionResult, m as BatchTask, mt as SandboxClientConfig, n as SandboxInstance, nn as AgentProfileValidationResult, nt as ProcessManager, o as BackendConfig, on as defineInlineResource, ot as PromptOptions, p as BatchResult, pt as SSHCredentials, q as NetworkConfig, qt as AgentProfileConfidential, r as AccessPolicyRule, rn as AgentSubagentProfile, rt as ProcessSignal, s as BackendInfo, sn as mergeAgentProfiles, st as PromptResult, tn as AgentProfileValidationIssue, tt as ProcessLogEntry, u as BackendType, ut as ProvisionStatus, v as CheckpointResult, vt as SandboxInfo, w as DownloadProgress, wt as SearchOptions, x as DeleteOptions, xt as SandboxStatus, y as CodeResult, yt as SandboxPermissionsConfig, z as GitDiff, zt as ToolsConfig } from "./sandbox-BvZ0-Iv7.js";
|
|
4
|
+
import { a as SandboxError, c as TimeoutError, d as InviteTeamMemberOptions, f as SandboxClient, h as TeamMember, i as QuotaError, l as ValidationError, m as TeamInvitation, n as NetworkError, o as ServerError, p as Team, r as NotFoundError, s as StateError, t as AuthError, u as CreateTeamOptions } from "./errors-AIT8qikt.js";
|
|
5
|
+
import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-t7xkzv0U.js";
|
|
6
6
|
|
|
7
|
+
//#region src/attestation-heartbeat.d.ts
|
|
8
|
+
interface TeeAttestationHeartbeatSample {
|
|
9
|
+
sequence: number;
|
|
10
|
+
nonce: string;
|
|
11
|
+
response: TeeAttestationResponse;
|
|
12
|
+
checkedAt: Date;
|
|
13
|
+
}
|
|
14
|
+
interface TeeAttestationHeartbeatOptions {
|
|
15
|
+
/** Cadence for automatic re-attestation. Default: 60 seconds. */
|
|
16
|
+
intervalMs?: number;
|
|
17
|
+
/** Abort signal used to stop the heartbeat. */
|
|
18
|
+
signal?: AbortSignal;
|
|
19
|
+
/** Start the first check immediately. Default: true. */
|
|
20
|
+
immediate?: boolean;
|
|
21
|
+
/** Keep running after a failed check. Default: false. */
|
|
22
|
+
continueOnFailure?: boolean;
|
|
23
|
+
/** Optional caller verification hook, e.g. tcloud-attestation policy checks. */
|
|
24
|
+
verify?: (sample: TeeAttestationHeartbeatSample) => void | Promise<void>;
|
|
25
|
+
onSuccess?: (sample: TeeAttestationHeartbeatSample) => void;
|
|
26
|
+
onFailure?: (error: unknown) => void;
|
|
27
|
+
}
|
|
28
|
+
interface TeeAttestationHeartbeat {
|
|
29
|
+
stop(): void;
|
|
30
|
+
ping(): Promise<TeeAttestationHeartbeatSample>;
|
|
31
|
+
readonly stopped: boolean;
|
|
32
|
+
readonly failures: number;
|
|
33
|
+
readonly latest: TeeAttestationHeartbeatSample | undefined;
|
|
34
|
+
readonly done: Promise<void>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Periodically requests nonce-bound TEE attestations for a running sandbox.
|
|
38
|
+
*
|
|
39
|
+
* This proves freshness/liveness of the attested sandbox endpoint. It does not
|
|
40
|
+
* by itself sign every computation result; callers that need result binding
|
|
41
|
+
* should include a result/session digest in the nonce preimage before asking
|
|
42
|
+
* the runtime for a quote.
|
|
43
|
+
*/
|
|
44
|
+
declare function startTeeAttestationHeartbeat(sandbox: Pick<SandboxInstance, "getTeeAttestation">, options?: TeeAttestationHeartbeatOptions): TeeAttestationHeartbeat;
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/confidential.d.ts
|
|
47
|
+
type SandboxCreator = {
|
|
48
|
+
create(options?: CreateSandboxOptions): Promise<SandboxInstance>;
|
|
49
|
+
};
|
|
50
|
+
type ConfidentialTeeType = NonNullable<AgentProfileConfidential["tee"]>;
|
|
51
|
+
interface CreateConfidentialSandboxOptions extends Omit<CreateSandboxOptions, "confidential"> {
|
|
52
|
+
confidential: AgentProfileConfidential & {
|
|
53
|
+
tee: ConfidentialTeeType;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Deploy-time attestation challenge. Use "auto" to generate a 32-byte nonce.
|
|
57
|
+
*/
|
|
58
|
+
attestationNonce?: string | "auto";
|
|
59
|
+
/**
|
|
60
|
+
* Require attestation evidence to be present before returning.
|
|
61
|
+
*
|
|
62
|
+
* Hardware-root verification is intentionally not performed here. Pass the
|
|
63
|
+
* returned attestation to a verifier such as `@tangle-network/tcloud/attestation`.
|
|
64
|
+
*/
|
|
65
|
+
requireAttestation?: boolean;
|
|
66
|
+
}
|
|
67
|
+
interface ConfidentialSandboxResult {
|
|
68
|
+
sandbox: SandboxInstance;
|
|
69
|
+
attestation?: TeeAttestationReport;
|
|
70
|
+
attestationNonce?: string;
|
|
71
|
+
}
|
|
72
|
+
declare function generateAttestationNonce(bytes?: number): string;
|
|
73
|
+
declare function createConfidentialSandbox(client: SandboxCreator, options: CreateConfidentialSandboxOptions): Promise<ConfidentialSandboxResult>;
|
|
74
|
+
//#endregion
|
|
7
75
|
//#region src/image.d.ts
|
|
8
76
|
/**
|
|
9
77
|
* Image Builder for Sandbox SDK
|
|
@@ -314,11 +382,24 @@ declare class ImageBuilder {
|
|
|
314
382
|
*/
|
|
315
383
|
toSpec(): ImageSpec;
|
|
316
384
|
/**
|
|
317
|
-
* Compute content-addressed ID for this spec.
|
|
385
|
+
* Compute the content-addressed ID for this spec.
|
|
386
|
+
*
|
|
387
|
+
* Uses Web Crypto when available (browsers and Node 22+), falling
|
|
388
|
+
* back to a lazy `import("node:crypto")` on older server runtimes.
|
|
389
|
+
* Works in every JavaScript environment the SDK supports.
|
|
390
|
+
*
|
|
391
|
+
* @returns SHA-256 hash of the normalized spec as a hex string.
|
|
318
392
|
*
|
|
319
|
-
*
|
|
393
|
+
* **Breaking change (v0.0.3):** `computeId()` was previously
|
|
394
|
+
* synchronous. Callers must now `await` the result. A Node-only sync
|
|
395
|
+
* variant was considered and dropped: it would have either required
|
|
396
|
+
* Node 22.3+ (breaking Node 18/20 consumers) or re-introduced the
|
|
397
|
+
* top-level `node:crypto` import that blanks every browser page
|
|
398
|
+
* transitively importing the SDK root. If you genuinely need the
|
|
399
|
+
* hash synchronously in a Node-only context, compute it yourself
|
|
400
|
+
* from `builder.toSpec()` with `JSON.stringify(spec, Object.keys(spec).sort())`.
|
|
320
401
|
*/
|
|
321
|
-
computeId(): string
|
|
402
|
+
computeId(): Promise<string>;
|
|
322
403
|
/**
|
|
323
404
|
* Configure client for API access.
|
|
324
405
|
* @internal
|
|
@@ -424,4 +505,4 @@ interface ParseSSEStreamOptions {
|
|
|
424
505
|
*/
|
|
425
506
|
declare function parseSSEStream(body: ReadableStream<Uint8Array> | null | undefined, options?: ParseSSEStreamOptions): AsyncGenerator<ParsedSSEEvent>;
|
|
426
507
|
//#endregion
|
|
427
|
-
export { type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildProgressEvent, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CreateSandboxOptions, type CreateTeamOptions, type DeleteOptions, type DirectoryPermission, type DownloadOptions, type DownloadProgress, type DriverConfig, type DriverInfo, type DriverType, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, Image, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListOptions, type ListSandboxOptions, type McpServerConfig, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, QuotaError, type RunCodeOptions, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxEvent, type SandboxInfo, SandboxInstance, type SandboxPermissionsConfig, type SandboxResources, type SandboxStatus, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, TimeoutError, type ToolsConfig, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, buildCollaborationDocumentId, defineAgentProfile, defineGitHubResource, defineInlineResource,
|
|
508
|
+
export { type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BuildProgressEvent, type CheckpointInfo, type CheckpointOptions, type CheckpointResult, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateSandboxOptions, type CreateTeamOptions, type DeleteOptions, type DirectoryPermission, type DownloadOptions, type DownloadProgress, type DriverConfig, type DriverInfo, type DriverType, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type ForkOptions, type ForkResult, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuType, Image, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListOptions, type ListSandboxOptions, type McpServerConfig, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, QuotaError, type RunCodeOptions, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxEvent, type SandboxInfo, SandboxInstance, type SandboxPermissionsConfig, type SandboxResources, type SandboxStatus, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type ToolsConfig, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, buildCollaborationDocumentId, createConfidentialSandbox, defineAgentProfile, defineGitHubResource, defineInlineResource, generateAttestationNonce, generateDockerfile, mergeAgentProfiles, normalizeCollaborationPath, parseCollaborationDocumentId, parseSSEStream, startTeeAttestationHeartbeat };
|