@tangle-network/sandbox 0.4.4 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +90 -3
- package/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-DNRk-fYq.js +1 -0
- package/dist/{client-DMkVWoYk.d.ts → client-DRbtd2hi.d.ts} +2 -357
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -0
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -0
- package/dist/{index-C-XX8Q_j.d.ts → index-Bl4L_Cpm.d.ts} +1 -1
- package/dist/index.d.ts +26 -26
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/{sandbox-Dyf07Ckv.d.ts → sandbox-BQbq1EGP.d.ts} +218 -2
- package/dist/sandbox-d6iLJeH2.js +1 -0
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-BrobUtQo.js +1 -0
- package/package.json +1 -1
- package/dist/client-BYIDON4d.js +0 -1
- package/dist/collaboration-CRyb5e8F.js +0 -1
- package/dist/errors-CljiGR__.js +0 -1
- package/dist/sandbox-B4HyvZga.js +0 -1
- package/dist/tangle-DvKC4_jP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as BatchEvent, An as SandboxFleetDriverCapability, Bn as SandboxFleetOperationsSummary, Bt as ListSandboxOptions, C as AttachSandboxFleetMachineOptions, Cn as SandboxEnvironment, Dn as SandboxFleetCostEstimate, En as SandboxFleetArtifactSpec, G as CreateRequestOptions, Hn as SandboxFleetToken, In as SandboxFleetMachineRecord, It as IntelligenceReportWindow, J as CreateSandboxFleetWithCoordinatorOptions, K as CreateSandboxFleetOptions, Kn as SandboxFleetTraceOptions, M as BatchResult, Mn as SandboxFleetInfo, Mr as TokenRefreshHandler, Mt as IntelligenceReport, N as BatchTask, Nt as IntelligenceReportBudget, Pt as IntelligenceReportCompareTo, Qn as SandboxInfo, Rn as SandboxFleetManifest, Rr as UsageInfo, Sr as SshKeysManager, Tn as SandboxFleetArtifact, Un as SandboxFleetTraceBundle, W as CreateIntelligenceReportOptions, Xn as SandboxFleetWorkspaceRestoreResult, Y as CreateSandboxOptions, Yn as SandboxFleetWorkspaceReconcileResult, Zn as SandboxFleetWorkspaceSnapshotResult, _n as ReconcileSandboxFleetsResult, _t as FleetExecDispatchOptions, a as TraceExportSink, an as PromptResult, bt as FleetPromptDispatchOptions, dn as PublicTemplateVersionInfo, fn as PublishPublicTemplateOptions, gn as ReconcileSandboxFleetsOptions, gt as FleetDispatchStreamOptions, hn as ReapExpiredSandboxFleetsResult, ht as FleetDispatchResultBufferOptions, i as TraceExportResult, in as PromptOptions, j as BatchOptions, kn as SandboxFleetDispatchResponse, lt as ExecOptions, mn as ReapExpiredSandboxFleetsOptions, mt as FleetDispatchResultBuffer, n as SandboxInstance, pn as PublishPublicTemplateVersionOptions, pr as SecretsManager, pt as FleetDispatchCancelResult, q as CreateSandboxFleetTokenOptions, qn as SandboxFleetUsage, rn as PromptInputPart, t as HttpClient, un as PublicTemplateInfo, ut as ExecResult, vt as FleetExecDispatchResult, wr as SubscriptionInfo, xn as SandboxClientConfig, xt as FleetPromptDispatchResult, yt as FleetMachineId, zt as ListSandboxFleetOptions } from "./sandbox-BQbq1EGP.js";
|
|
2
2
|
|
|
3
3
|
//#region src/lib/sse-parser.d.ts
|
|
4
4
|
/**
|
|
@@ -185,327 +185,6 @@ declare class SandboxFleetClient {
|
|
|
185
185
|
private listBySandboxMetadata;
|
|
186
186
|
}
|
|
187
187
|
//#endregion
|
|
188
|
-
//#region src/integrations.d.ts
|
|
189
|
-
type IntegrationPrincipalType = "customer" | "team";
|
|
190
|
-
type IntegrationProvider = "generic" | "github" | "generic_oauth2";
|
|
191
|
-
type IntegrationVerificationKind = "none" | "hmac_shared_secret" | "provider:github";
|
|
192
|
-
type IntegrationActionKind = "sandbox.create" | "sandbox.dispatch" | "sandbox.event" | "sandbox.respond_inline";
|
|
193
|
-
type IntegrationDeliveryStatus = "pending" | "delivered" | "failed" | "disabled";
|
|
194
|
-
/**
|
|
195
|
-
* Opaque JSON value flowing through an integration. Tied to whichever
|
|
196
|
-
* trigger/endpoint shape is on the wire — the SDK doesn't introspect
|
|
197
|
-
* it. Aliased instead of using bare `unknown` so call sites read as
|
|
198
|
-
* "this came from JSON" rather than "this is genuinely any type".
|
|
199
|
-
*/
|
|
200
|
-
type IntegrationJsonValue = unknown;
|
|
201
|
-
interface IntegrationAction {
|
|
202
|
-
kind: IntegrationActionKind;
|
|
203
|
-
config: IntegrationJsonValue;
|
|
204
|
-
mappings?: Record<string, string>;
|
|
205
|
-
}
|
|
206
|
-
interface IntegrationScope {
|
|
207
|
-
sandboxIds?: string[];
|
|
208
|
-
sessionIds?: string[];
|
|
209
|
-
teamId?: string;
|
|
210
|
-
}
|
|
211
|
-
interface ConnectionInfo {
|
|
212
|
-
id: string;
|
|
213
|
-
ownerType: IntegrationPrincipalType;
|
|
214
|
-
ownerId: string;
|
|
215
|
-
provider: IntegrationProvider;
|
|
216
|
-
externalId: string;
|
|
217
|
-
displayName: string | null;
|
|
218
|
-
authKind: "oauth2" | "api_key" | "signing_only";
|
|
219
|
-
metadata: Record<string, unknown> | null;
|
|
220
|
-
status: "active" | "revoked" | "error";
|
|
221
|
-
installedAt: string;
|
|
222
|
-
}
|
|
223
|
-
interface AutomationInfo {
|
|
224
|
-
id: string;
|
|
225
|
-
ownerType: IntegrationPrincipalType;
|
|
226
|
-
ownerId: string;
|
|
227
|
-
connectionId: string | null;
|
|
228
|
-
name: string;
|
|
229
|
-
description: string | null;
|
|
230
|
-
recipeId: string | null;
|
|
231
|
-
enabled: boolean;
|
|
232
|
-
createdAt: string;
|
|
233
|
-
updatedAt: string;
|
|
234
|
-
}
|
|
235
|
-
interface EndpointInfo {
|
|
236
|
-
id: string;
|
|
237
|
-
automationId: string | null;
|
|
238
|
-
ownerType: IntegrationPrincipalType;
|
|
239
|
-
ownerId: string;
|
|
240
|
-
connectionId: string | null;
|
|
241
|
-
url: string | null;
|
|
242
|
-
events: string[];
|
|
243
|
-
scope: IntegrationScope | null;
|
|
244
|
-
description: string | null;
|
|
245
|
-
enabled: boolean;
|
|
246
|
-
ephemeralForSandboxId: string | null;
|
|
247
|
-
consecutiveFailures: number;
|
|
248
|
-
disabledReason: string | null;
|
|
249
|
-
disabledAt: string | null;
|
|
250
|
-
createdAt: string;
|
|
251
|
-
updatedAt: string;
|
|
252
|
-
}
|
|
253
|
-
interface EndpointWithSecret extends EndpointInfo {
|
|
254
|
-
/** Returned only at create / rotate. Save it on your end. */
|
|
255
|
-
secret: string;
|
|
256
|
-
}
|
|
257
|
-
interface TriggerInfo {
|
|
258
|
-
id: string;
|
|
259
|
-
automationId: string | null;
|
|
260
|
-
ownerType: IntegrationPrincipalType;
|
|
261
|
-
ownerId: string;
|
|
262
|
-
connectionId: string | null;
|
|
263
|
-
urlToken: string;
|
|
264
|
-
/** Public URL the third party POSTs to. */
|
|
265
|
-
publicUrl: string;
|
|
266
|
-
verificationKind: IntegrationVerificationKind;
|
|
267
|
-
eventFilter: Record<string, unknown> | null;
|
|
268
|
-
action: IntegrationAction;
|
|
269
|
-
rateLimitRpm: number;
|
|
270
|
-
allowIps: string[] | null;
|
|
271
|
-
description: string | null;
|
|
272
|
-
enabled: boolean;
|
|
273
|
-
ephemeralForSandboxId: string | null;
|
|
274
|
-
createdAt: string;
|
|
275
|
-
updatedAt: string;
|
|
276
|
-
}
|
|
277
|
-
interface TriggerWithSecret extends TriggerInfo {
|
|
278
|
-
/** Returned only at create. Null when verificationKind === "none". */
|
|
279
|
-
secret: string | null;
|
|
280
|
-
}
|
|
281
|
-
interface DeliveryAttempt {
|
|
282
|
-
id: string;
|
|
283
|
-
endpointId: string;
|
|
284
|
-
automationId: string | null;
|
|
285
|
-
type: string;
|
|
286
|
-
payload: IntegrationJsonValue;
|
|
287
|
-
status: IntegrationDeliveryStatus;
|
|
288
|
-
attempts: number;
|
|
289
|
-
lastAttemptAt: string | null;
|
|
290
|
-
nextAttemptAt: string | null;
|
|
291
|
-
lastResponseStatus: number | null;
|
|
292
|
-
lastResponseBodyExcerpt: string | null;
|
|
293
|
-
createdAt: string;
|
|
294
|
-
deliveredAt: string | null;
|
|
295
|
-
}
|
|
296
|
-
interface TriggerRun {
|
|
297
|
-
id: string;
|
|
298
|
-
triggerId: string;
|
|
299
|
-
automationId: string | null;
|
|
300
|
-
requestId: string;
|
|
301
|
-
requestHeaders: Record<string, string>;
|
|
302
|
-
requestBody: string;
|
|
303
|
-
requestIp: string | null;
|
|
304
|
-
verificationStatus: "ok" | "bad_signature" | "expired" | "filtered_out" | "rate_limited";
|
|
305
|
-
actionStatus: "queued" | "running" | "succeeded" | "failed" | "rate_limited" | "skipped";
|
|
306
|
-
actionResult: Record<string, unknown> | null;
|
|
307
|
-
errorMessage: string | null;
|
|
308
|
-
createdAt: string;
|
|
309
|
-
completedAt: string | null;
|
|
310
|
-
}
|
|
311
|
-
interface RecipeManifest {
|
|
312
|
-
id: string;
|
|
313
|
-
title: string;
|
|
314
|
-
description: string;
|
|
315
|
-
icon?: string;
|
|
316
|
-
requiresConnection?: IntegrationProvider;
|
|
317
|
-
userInputs?: Array<{
|
|
318
|
-
key: string;
|
|
319
|
-
label: string;
|
|
320
|
-
type?: "text" | "select";
|
|
321
|
-
default?: string;
|
|
322
|
-
options?: string[];
|
|
323
|
-
required?: boolean;
|
|
324
|
-
}>;
|
|
325
|
-
automation: {
|
|
326
|
-
name: string;
|
|
327
|
-
description?: string;
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
interface CreateAutomationInput {
|
|
331
|
-
teamId?: string;
|
|
332
|
-
name: string;
|
|
333
|
-
description?: string;
|
|
334
|
-
connectionId?: string;
|
|
335
|
-
recipeId?: string;
|
|
336
|
-
enabled?: boolean;
|
|
337
|
-
triggers?: Array<{
|
|
338
|
-
verificationKind: IntegrationVerificationKind;
|
|
339
|
-
connectionId?: string;
|
|
340
|
-
eventFilter?: Record<string, unknown>;
|
|
341
|
-
action: IntegrationAction;
|
|
342
|
-
rateLimitRpm?: number;
|
|
343
|
-
allowIps?: string[];
|
|
344
|
-
description?: string;
|
|
345
|
-
}>;
|
|
346
|
-
endpoints?: Array<{
|
|
347
|
-
url?: string;
|
|
348
|
-
connectionId?: string;
|
|
349
|
-
events: string[];
|
|
350
|
-
scope?: IntegrationScope;
|
|
351
|
-
description?: string;
|
|
352
|
-
}>;
|
|
353
|
-
}
|
|
354
|
-
interface CreateEndpointInput {
|
|
355
|
-
teamId?: string;
|
|
356
|
-
automationId?: string;
|
|
357
|
-
connectionId?: string;
|
|
358
|
-
url?: string;
|
|
359
|
-
events: string[];
|
|
360
|
-
scope?: IntegrationScope;
|
|
361
|
-
description?: string;
|
|
362
|
-
}
|
|
363
|
-
interface CreateTriggerInput {
|
|
364
|
-
teamId?: string;
|
|
365
|
-
automationId?: string;
|
|
366
|
-
connectionId?: string;
|
|
367
|
-
verificationKind: IntegrationVerificationKind;
|
|
368
|
-
eventFilter?: Record<string, unknown>;
|
|
369
|
-
action: IntegrationAction;
|
|
370
|
-
rateLimitRpm?: number;
|
|
371
|
-
allowIps?: string[];
|
|
372
|
-
description?: string;
|
|
373
|
-
}
|
|
374
|
-
interface InstallRecipeInput {
|
|
375
|
-
teamId?: string;
|
|
376
|
-
connectionId?: string;
|
|
377
|
-
inputs?: Record<string, string>;
|
|
378
|
-
}
|
|
379
|
-
declare class IntegrationsManager {
|
|
380
|
-
private readonly client;
|
|
381
|
-
constructor(client: HttpClient);
|
|
382
|
-
readonly automations: {
|
|
383
|
-
list: (opts?: {
|
|
384
|
-
teamId?: string;
|
|
385
|
-
}) => Promise<AutomationInfo[]>;
|
|
386
|
-
get: (id: string, opts?: {
|
|
387
|
-
teamId?: string;
|
|
388
|
-
}) => Promise<{
|
|
389
|
-
automation: AutomationInfo;
|
|
390
|
-
triggers: TriggerInfo[];
|
|
391
|
-
endpoints: EndpointInfo[];
|
|
392
|
-
}>;
|
|
393
|
-
create: (input: CreateAutomationInput) => Promise<{
|
|
394
|
-
automation: AutomationInfo;
|
|
395
|
-
triggers: TriggerInfo[];
|
|
396
|
-
endpoints: EndpointInfo[];
|
|
397
|
-
}>;
|
|
398
|
-
update: (id: string, patch: {
|
|
399
|
-
teamId?: string;
|
|
400
|
-
name?: string;
|
|
401
|
-
description?: string;
|
|
402
|
-
enabled?: boolean;
|
|
403
|
-
connectionId?: string | null;
|
|
404
|
-
}) => Promise<AutomationInfo>;
|
|
405
|
-
delete: (id: string, opts?: {
|
|
406
|
-
teamId?: string;
|
|
407
|
-
}) => Promise<void>;
|
|
408
|
-
/**
|
|
409
|
-
* Unified inbound + outbound timeline for an automation.
|
|
410
|
-
* Returns the most recent N rows (default 100). Pagination is
|
|
411
|
-
* by `since` ISO8601 timestamp.
|
|
412
|
-
*/
|
|
413
|
-
logs: (id: string, opts?: {
|
|
414
|
-
teamId?: string;
|
|
415
|
-
since?: string;
|
|
416
|
-
limit?: number;
|
|
417
|
-
}) => Promise<{
|
|
418
|
-
deliveries: DeliveryAttempt[];
|
|
419
|
-
runs: TriggerRun[];
|
|
420
|
-
}>;
|
|
421
|
-
/**
|
|
422
|
-
* Install an automation from a recipe manifest. The recipe defines
|
|
423
|
-
* what gets created (one Automation, plus underlying triggers /
|
|
424
|
-
* endpoints) and which inputs the user must supply.
|
|
425
|
-
*/
|
|
426
|
-
installFromRecipe: (recipeId: string, input?: InstallRecipeInput) => Promise<{
|
|
427
|
-
automation: AutomationInfo;
|
|
428
|
-
triggers: TriggerInfo[];
|
|
429
|
-
endpoints: EndpointInfo[];
|
|
430
|
-
}>;
|
|
431
|
-
};
|
|
432
|
-
/**
|
|
433
|
-
* Iterate all log entries for an automation, paging through
|
|
434
|
-
* deliveries+runs in 200-row batches. Use this to power export
|
|
435
|
-
* scripts or dashboards. Defined on the manager (not under
|
|
436
|
-
* .automations) because async generators can't reference an
|
|
437
|
-
* enclosing object literal's other methods through `this` cleanly.
|
|
438
|
-
*/
|
|
439
|
-
iterateAutomationLogs(id: string, opts?: {
|
|
440
|
-
teamId?: string;
|
|
441
|
-
since?: string;
|
|
442
|
-
}): AsyncGenerator<{
|
|
443
|
-
deliveries: DeliveryAttempt[];
|
|
444
|
-
runs: TriggerRun[];
|
|
445
|
-
}>;
|
|
446
|
-
readonly recipes: {
|
|
447
|
-
list: () => Promise<RecipeManifest[]>;
|
|
448
|
-
get: (id: string) => Promise<RecipeManifest>;
|
|
449
|
-
};
|
|
450
|
-
readonly connections: {
|
|
451
|
-
list: (opts?: {
|
|
452
|
-
teamId?: string;
|
|
453
|
-
}) => Promise<ConnectionInfo[]>;
|
|
454
|
-
delete: (id: string, opts?: {
|
|
455
|
-
teamId?: string;
|
|
456
|
-
}) => Promise<void>;
|
|
457
|
-
};
|
|
458
|
-
readonly endpoints: {
|
|
459
|
-
list: (opts?: {
|
|
460
|
-
teamId?: string;
|
|
461
|
-
}) => Promise<EndpointInfo[]>;
|
|
462
|
-
create: (input: CreateEndpointInput) => Promise<EndpointWithSecret>;
|
|
463
|
-
update: (id: string, patch: {
|
|
464
|
-
teamId?: string;
|
|
465
|
-
url?: string;
|
|
466
|
-
events?: string[];
|
|
467
|
-
scope?: IntegrationScope;
|
|
468
|
-
description?: string;
|
|
469
|
-
enabled?: boolean;
|
|
470
|
-
}) => Promise<EndpointInfo>;
|
|
471
|
-
delete: (id: string, opts?: {
|
|
472
|
-
teamId?: string;
|
|
473
|
-
}) => Promise<void>;
|
|
474
|
-
rotateSecret: (id: string, opts?: {
|
|
475
|
-
teamId?: string;
|
|
476
|
-
}) => Promise<EndpointWithSecret>;
|
|
477
|
-
listDeliveries: (id: string, opts?: {
|
|
478
|
-
teamId?: string;
|
|
479
|
-
since?: string;
|
|
480
|
-
status?: IntegrationDeliveryStatus;
|
|
481
|
-
limit?: number;
|
|
482
|
-
}) => Promise<DeliveryAttempt[]>;
|
|
483
|
-
};
|
|
484
|
-
readonly triggers: {
|
|
485
|
-
list: (opts?: {
|
|
486
|
-
teamId?: string;
|
|
487
|
-
}) => Promise<TriggerInfo[]>;
|
|
488
|
-
create: (input: CreateTriggerInput) => Promise<TriggerWithSecret>;
|
|
489
|
-
update: (id: string, patch: {
|
|
490
|
-
teamId?: string;
|
|
491
|
-
eventFilter?: Record<string, unknown> | null;
|
|
492
|
-
action?: IntegrationAction;
|
|
493
|
-
rateLimitRpm?: number;
|
|
494
|
-
allowIps?: string[] | null;
|
|
495
|
-
description?: string;
|
|
496
|
-
enabled?: boolean;
|
|
497
|
-
}) => Promise<TriggerInfo>;
|
|
498
|
-
delete: (id: string, opts?: {
|
|
499
|
-
teamId?: string;
|
|
500
|
-
}) => Promise<void>;
|
|
501
|
-
listRuns: (id: string, opts?: {
|
|
502
|
-
teamId?: string;
|
|
503
|
-
since?: string;
|
|
504
|
-
limit?: number;
|
|
505
|
-
}) => Promise<TriggerRun[]>;
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
//#endregion
|
|
509
188
|
//#region src/client.d.ts
|
|
510
189
|
/**
|
|
511
190
|
* Client for the Tangle Sandbox platform.
|
|
@@ -539,7 +218,6 @@ declare class SandboxClient implements HttpClient {
|
|
|
539
218
|
private readonly trustLocalCliAuth;
|
|
540
219
|
private _secrets;
|
|
541
220
|
private _sshKeys;
|
|
542
|
-
private _integrations;
|
|
543
221
|
private _fleets;
|
|
544
222
|
private _intelligence;
|
|
545
223
|
constructor(config: SandboxClientConfig);
|
|
@@ -576,39 +254,6 @@ declare class SandboxClient implements HttpClient {
|
|
|
576
254
|
*/
|
|
577
255
|
get secrets(): SecretsManager;
|
|
578
256
|
get sshKeys(): SshKeysManager;
|
|
579
|
-
/**
|
|
580
|
-
* Access the integrations manager — webhooks (inbound + outbound),
|
|
581
|
-
* automations, connections to managed connectors, and recipes.
|
|
582
|
-
*
|
|
583
|
-
* Spec: specs/sandbox-integrations.md.
|
|
584
|
-
*
|
|
585
|
-
* @example
|
|
586
|
-
* ```typescript
|
|
587
|
-
* // Outbound: get pinged when a sandbox fails
|
|
588
|
-
* const ep = await client.integrations.endpoints.create({
|
|
589
|
-
* url: "https://example.com/hook",
|
|
590
|
-
* events: ["sandbox.failed", "sandbox.permanently_dead"],
|
|
591
|
-
* });
|
|
592
|
-
* console.log(ep.secret); // shown once — store it
|
|
593
|
-
*
|
|
594
|
-
* // Inbound: a public URL that, when POSTed to, runs an action
|
|
595
|
-
* const trg = await client.integrations.triggers.create({
|
|
596
|
-
* verificationKind: "hmac_shared_secret",
|
|
597
|
-
* action: {
|
|
598
|
-
* kind: "sandbox.create",
|
|
599
|
-
* config: { template: "node-22", prompt: "Run: ${body.prompt}" },
|
|
600
|
-
* },
|
|
601
|
-
* });
|
|
602
|
-
* console.log(trg.publicUrl);
|
|
603
|
-
*
|
|
604
|
-
* // One-click recipe install
|
|
605
|
-
* const auto = await client.integrations.automations.installFromRecipe(
|
|
606
|
-
* "github.pr-review",
|
|
607
|
-
* { connectionId: "ic_…", inputs: { template: "node-22" } },
|
|
608
|
-
* );
|
|
609
|
-
* ```
|
|
610
|
-
*/
|
|
611
|
-
get integrations(): IntegrationsManager;
|
|
612
257
|
private _environments;
|
|
613
258
|
/**
|
|
614
259
|
* Access available development environments.
|
|
@@ -1058,4 +703,4 @@ declare class TeamsClient {
|
|
|
1058
703
|
* Alias for SandboxClient for cleaner imports.
|
|
1059
704
|
*/
|
|
1060
705
|
//#endregion
|
|
1061
|
-
export {
|
|
706
|
+
export { Team as a, SandboxFleet as c, ParsedSSEEvent as d, parseSSEStream as f, SandboxClient as i, SandboxFleetClient as l, IntelligenceClient as n, TeamInvitation as o, InviteTeamMemberOptions as r, TeamMember as s, CreateTeamOptions as t, ParseSSEStreamOptions as u };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x740448,_0x3eab31){var _0x135f12=a0_0xb300,_0x5f389f=_0x740448();while(!![]){try{var _0x271172=-parseInt(_0x135f12(0x114))/0x1*(parseInt(_0x135f12(0x115))/0x2)+parseInt(_0x135f12(0x11e))/0x3+parseInt(_0x135f12(0x119))/0x4*(parseInt(_0x135f12(0x116))/0x5)+parseInt(_0x135f12(0x117))/0x6*(-parseInt(_0x135f12(0x11d))/0x7)+parseInt(_0x135f12(0x11c))/0x8*(-parseInt(_0x135f12(0x11a))/0x9)+-parseInt(_0x135f12(0x11b))/0xa+parseInt(_0x135f12(0x118))/0xb*(parseInt(_0x135f12(0x11f))/0xc);if(_0x271172===_0x3eab31)break;else _0x5f389f['push'](_0x5f389f['shift']());}catch(_0x50c47b){_0x5f389f['push'](_0x5f389f['shift']());}}}(a0_0xc64c,0xe9875));function a0_0xb300(_0x972a32,_0x5dd16b){_0x972a32=_0x972a32-0x114;var _0xc64c1e=a0_0xc64c();var _0xb30083=_0xc64c1e[_0x972a32];if(a0_0xb300['\x72\x51\x73\x63\x7a\x66']===undefined){var _0xe4b6fd=function(_0x246705){var _0x5a9321='\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';var _0x2938bc='',_0x39819a='';for(var _0x47a331=0x0,_0x41fffa,_0x36401f,_0x5ac30f=0x0;_0x36401f=_0x246705['\x63\x68\x61\x72\x41\x74'](_0x5ac30f++);~_0x36401f&&(_0x41fffa=_0x47a331%0x4?_0x41fffa*0x40+_0x36401f:_0x36401f,_0x47a331++%0x4)?_0x2938bc+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x41fffa>>(-0x2*_0x47a331&0x6)):0x0){_0x36401f=_0x5a9321['\x69\x6e\x64\x65\x78\x4f\x66'](_0x36401f);}for(var _0x144ea6=0x0,_0x436084=_0x2938bc['\x6c\x65\x6e\x67\x74\x68'];_0x144ea6<_0x436084;_0x144ea6++){_0x39819a+='\x25'+('\x30\x30'+_0x2938bc['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x144ea6)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x39819a);};a0_0xb300['\x77\x6b\x6a\x77\x6a\x61']=_0xe4b6fd,a0_0xb300['\x55\x79\x41\x4a\x59\x50']={},a0_0xb300['\x72\x51\x73\x63\x7a\x66']=!![];}var _0x4da782=_0xc64c1e[0x0],_0x344a2d=_0x972a32+_0x4da782,_0x1a7375=a0_0xb300['\x55\x79\x41\x4a\x59\x50'][_0x344a2d];return!_0x1a7375?(_0xb30083=a0_0xb300['\x77\x6b\x6a\x77\x6a\x61'](_0xb30083),a0_0xb300['\x55\x79\x41\x4a\x59\x50'][_0x344a2d]=_0xb30083):_0xb30083=_0x1a7375,_0xb30083;}import{a as a0_0x2938bc,i as a0_0x39819a,n as a0_0x47a331,r as a0_0x41fffa,t as a0_0x36401f}from'\x2e\x2e\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2d\x42\x78\x6c\x66\x5a\x32\x55\x68\x2e\x6a\x73';export{a0_0x2938bc as CollaborationClient,a0_0x36401f as CollaborationFileBridge,a0_0x47a331 as buildCollaborationDocumentId,a0_0x41fffa as normalizeCollaborationPath,a0_0x39819a as parseCollaborationDocumentId};function a0_0xc64c(){var _0x21e157=['\x6d\x74\x76\x4c\x41\x75\x31\x79\x76\x77\x65','\x6e\x4a\x4b\x57\x6e\x4c\x6e\x49\x73\x30\x66\x76\x42\x57','\x6e\x4a\x69\x33\x7a\x68\x48\x6c\x79\x33\x62\x4d','\x6e\x74\x71\x35\x6d\x64\x47\x30\x41\x30\x66\x30\x45\x78\x72\x36','\x6d\x5a\x6d\x33\x6e\x5a\x75\x59\x6f\x75\x44\x6d\x45\x66\x7a\x49\x75\x57','\x6e\x74\x69\x32\x6e\x4a\x6d\x59\x6d\x65\x44\x6c\x45\x76\x50\x74\x79\x47','\x6f\x67\x72\x66\x72\x65\x48\x70\x72\x61','\x6d\x5a\x61\x31\x6f\x75\x76\x70\x41\x4b\x6e\x72\x71\x57','\x6d\x4a\x6d\x32\x6f\x74\x4b\x30\x6d\x30\x50\x4d\x74\x4d\x4c\x73\x72\x57','\x6e\x64\x43\x31\x6e\x64\x69\x34\x76\x4e\x7a\x31\x76\x33\x72\x34','\x6d\x76\x6e\x75\x45\x4b\x48\x32\x7a\x47','\x6d\x4a\x65\x35\x6e\x5a\x69\x34\x6f\x66\x62\x74\x71\x78\x66\x77\x7a\x61'];a0_0xc64c=function(){return _0x21e157;};return a0_0xc64c();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a0_0x44de13=a0_0x51fc;(function(_0x328f67,_0xc14304){const _0x2bf0a1=a0_0x51fc,_0x69d288=_0x328f67();while(!![]){try{const _0x282f5c=parseInt(_0x2bf0a1(0xe2))/0x1*(parseInt(_0x2bf0a1(0xfd))/0x2)+parseInt(_0x2bf0a1(0x11e))/0x3+-parseInt(_0x2bf0a1(0xeb))/0x4+-parseInt(_0x2bf0a1(0xcf))/0x5*(-parseInt(_0x2bf0a1(0x122))/0x6)+parseInt(_0x2bf0a1(0xd7))/0x7+parseInt(_0x2bf0a1(0xc9))/0x8*(-parseInt(_0x2bf0a1(0xc8))/0x9)+-parseInt(_0x2bf0a1(0xd6))/0xa*(parseInt(_0x2bf0a1(0xd0))/0xb);if(_0x282f5c===_0xc14304)break;else _0x69d288['push'](_0x69d288['shift']());}catch(_0x44178d){_0x69d288['push'](_0x69d288['shift']());}}}(a0_0x5044,0x95b1d));import{f as a0_0x1c163f,r as a0_0x520cc3,u as a0_0x5c2729}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x44\x5a\x73\x66\x4a\x55\x75\x63\x2e\x6a\x73';function a0_0x5044(){const _0x250fd9=['\x6c\x32\x66\x57\x41\x73\x39\x4a\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55\x6c\x33\x6e\x55\x79\x78\x62\x5a\x41\x67\x39\x30','\x79\x32\x39\x4b\x7a\x71','\x41\x67\x76\x48\x7a\x67\x76\x59\x43\x57','\x43\x32\x4c\x4e\x42\x4d\x66\x53','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x31\x31\x43\x33\x71\x47\x42\x4d\x39\x30\x69\x67\x6e\x56\x42\x4e\x72\x48\x41\x77\x34\x47\x69\x49\x34\x55\x69\x47','\x6c\x32\x66\x57\x41\x73\x39\x4a\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55\x6c\x32\x6a\x56\x42\x33\x72\x5a\x44\x68\x6a\x48\x43\x61','\x79\x78\x62\x57\x42\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x56\x41\x4e\x6e\x56\x42\x47','\x7a\x67\x76\x53\x7a\x78\x72\x4c\x7a\x61','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x77\x76\x4b','\x44\x76\x72\x6f\x41\x65\x71','\x74\x75\x6e\x30\x76\x76\x4f','\x79\x4d\x39\x31\x42\x4d\x72\x71\x79\x78\x72\x4f','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x42\x33\x62\x30\x41\x77\x39\x55\x43\x57','\x6e\x5a\x47\x32\x6d\x4a\x79\x30\x72\x66\x44\x4c\x42\x68\x72\x51','\x6c\x32\x66\x57\x41\x73\x39\x4a\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55\x6c\x33\x72\x56\x41\x32\x76\x55','\x7a\x4d\x76\x30\x79\x32\x48\x6a\x42\x78\x62\x53','\x42\x4d\x76\x34\x44\x66\x62\x48\x44\x67\x47','\x6d\x74\x79\x59\x6e\x4d\x66\x4d\x41\x30\x66\x69\x45\x47','\x7a\x32\x76\x30\x75\x67\x66\x30\x41\x61','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71\x47\x41\x78\x6d\x47\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x71','\x72\x4d\x66\x50\x42\x67\x76\x4b\x69\x68\x72\x56\x69\x67\x6e\x56\x42\x4d\x35\x4c\x79\x33\x71\x47\x44\x67\x38\x47\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x49\x62\x62\x75\x65\x4b\x36\x69\x61','\x79\x4d\x66\x5a\x7a\x76\x76\x59\x42\x61','\x44\x77\x35\x5a\x44\x77\x6a\x5a\x79\x33\x6a\x50\x79\x4d\x76\x65\x42\x32\x6e\x31\x42\x77\x76\x55\x44\x61','\x44\x33\x6a\x50\x44\x67\x75','\x41\x67\x66\x5a','\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x50\x5a\x42\x32\x34','\x6d\x4a\x71\x59\x6d\x74\x4b\x31\x6e\x68\x62\x34\x74\x33\x72\x4a\x43\x47','\x6f\x67\x50\x50\x44\x77\x35\x6b\x44\x47','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71','\x44\x33\x6a\x50\x44\x67\x76\x67\x41\x77\x58\x4c','\x45\x75\x7a\x30\x74\x77\x4f','\x44\x77\x35\x5a\x44\x77\x6a\x5a\x79\x33\x6a\x50\x79\x4d\x76\x67\x41\x77\x58\x4c\x72\x78\x7a\x4c\x42\x4e\x72\x5a','\x6d\x74\x65\x31\x6e\x74\x76\x73\x76\x68\x48\x6d\x74\x77\x53','\x6d\x5a\x61\x31\x6d\x64\x6d\x33\x6e\x30\x4c\x30\x79\x75\x39\x50\x41\x47','\x44\x68\x4c\x57\x7a\x71','\x79\x77\x6a\x56\x43\x4e\x71','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x79\x4e\x48\x31\x75\x75\x57','\x44\x78\x62\x4b\x79\x78\x72\x4c\x7a\x61','\x6d\x5a\x62\x50\x79\x31\x72\x52\x44\x78\x61','\x6d\x4a\x61\x34\x6f\x74\x6d\x30\x6e\x4b\x31\x68\x42\x30\x76\x71\x73\x57','\x43\x32\x76\x30','\x7a\x4d\x76\x30\x79\x32\x47','\x7a\x75\x44\x67\x42\x65\x71','\x74\x76\x72\x4e\x44\x67\x34','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x43\x32\x58\x50\x79\x32\x75','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x74\x30\x54\x68\x71\x78\x65','\x41\x4c\x66\x30\x77\x66\x4b','\x6d\x74\x6e\x32\x7a\x76\x76\x54\x75\x77\x69','\x41\x67\x39\x4a\x73\x31\x61','\x75\x75\x50\x54\x7a\x4c\x4f','\x43\x32\x66\x32\x7a\x76\x6e\x55\x79\x78\x62\x5a\x41\x67\x39\x30','\x79\x4d\x4c\x55\x7a\x61','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6f\x47','\x73\x78\x6e\x56\x76\x4c\x71','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x42\x67\x66\x5a\x44\x66\x44\x59\x41\x78\x72\x30\x7a\x77\x35\x64\x42\x32\x35\x30\x7a\x77\x35\x30','\x6d\x74\x6d\x58\x6e\x64\x69\x32\x6d\x66\x7a\x73\x42\x30\x35\x55\x42\x47','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x41\x4e\x76\x68\x41\x32\x47','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x71','\x43\x4d\x76\x5a\x42\x32\x58\x32\x7a\x75\x48\x4c\x79\x77\x72\x4c\x43\x4e\x6d','\x45\x78\x6e\x4f\x77\x4c\x75','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71\x47\x42\x78\x76\x5a\x44\x63\x62\x55\x42\x33\x71\x47\x79\x32\x39\x55\x44\x67\x66\x50\x42\x49\x62\x57\x79\x78\x72\x4f\x69\x68\x6e\x4c\x43\x67\x66\x59\x79\x78\x72\x56\x43\x4e\x6d\x47\x42\x33\x69\x47\x42\x4e\x76\x53\x42\x63\x62\x49\x45\x78\x72\x4c\x43\x57','\x71\x77\x6a\x56\x43\x4e\x72\x66\x43\x4e\x6a\x56\x43\x47','\x42\x65\x4c\x6e\x71\x76\x61','\x41\x67\x66\x55\x7a\x67\x58\x4c\x72\x4d\x4c\x53\x7a\x75\x76\x32\x7a\x77\x35\x30','\x77\x78\x44\x76\x44\x78\x4f','\x42\x77\x76\x30\x41\x67\x39\x4b','\x71\x32\x39\x55\x44\x67\x76\x55\x44\x63\x31\x75\x45\x78\x62\x4c','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x75\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x71','\x73\x4c\x4c\x6b\x75\x66\x47','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x41\x4d\x39\x50\x42\x47','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x6d\x74\x6d\x58\x6e\x4a\x43\x32\x75\x65\x50\x4a\x71\x4c\x6e\x7a','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x31\x31\x43\x33\x71\x47\x42\x4d\x39\x30\x69\x67\x6a\x4c\x69\x67\x76\x54\x43\x68\x72\x35','\x6f\x4d\x7a\x50\x42\x67\x75\x36','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f\x69\x67\x4c\x5a\x69\x68\x6a\x4c\x43\x78\x76\x50\x43\x4d\x76\x4b','\x79\x77\x72\x48\x43\x68\x72\x4c\x43\x47','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x7a\x4d\x58\x31\x43\x32\x47','\x43\x32\x6e\x4f\x7a\x77\x72\x31\x42\x67\x76\x78\x43\x4d\x4c\x30\x7a\x71','\x42\x4d\x66\x54\x7a\x71','\x43\x33\x72\x48\x44\x68\x76\x5a','\x43\x67\x76\x55\x7a\x67\x4c\x55\x7a\x31\x44\x59\x41\x78\x72\x4c\x76\x67\x4c\x54\x7a\x78\x69','\x43\x30\x35\x72\x42\x30\x79','\x43\x33\x62\x53\x41\x78\x71','\x7a\x32\x76\x30\x71\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x7a\x75\x7a\x30\x45\x67\x6d','\x71\x77\x44\x4c\x71\x77\x65','\x76\x75\x44\x4d\x72\x32\x47','\x79\x4e\x6a\x50\x7a\x67\x44\x4c\x6f\x4d\x7a\x50\x42\x67\x75','\x75\x65\x39\x74\x76\x61'];a0_0x5044=function(){return _0x250fd9;};return a0_0x5044();}const DEFAULT_TIMEOUT_MS=0x7530;function a0_0x51fc(_0x4058cd,_0x1a5b92){_0x4058cd=_0x4058cd-0xc0;const _0x50446a=a0_0x5044();let _0x51fc37=_0x50446a[_0x4058cd];if(a0_0x51fc['\x41\x58\x79\x73\x55\x47']===undefined){var _0x20779f=function(_0x1c9857){const _0x4839bc='\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 _0x4cf21f='',_0xc4b1c7='';for(let _0x47b835=0x0,_0x202fd9,_0x5d5e5b,_0x70fc2d=0x0;_0x5d5e5b=_0x1c9857['\x63\x68\x61\x72\x41\x74'](_0x70fc2d++);~_0x5d5e5b&&(_0x202fd9=_0x47b835%0x4?_0x202fd9*0x40+_0x5d5e5b:_0x5d5e5b,_0x47b835++%0x4)?_0x4cf21f+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x202fd9>>(-0x2*_0x47b835&0x6)):0x0){_0x5d5e5b=_0x4839bc['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5d5e5b);}for(let _0x397685=0x0,_0x329cbb=_0x4cf21f['\x6c\x65\x6e\x67\x74\x68'];_0x397685<_0x329cbb;_0x397685++){_0xc4b1c7+='\x25'+('\x30\x30'+_0x4cf21f['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x397685)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0xc4b1c7);};a0_0x51fc['\x6e\x4c\x4d\x6b\x6f\x54']=_0x20779f,a0_0x51fc['\x70\x45\x70\x4a\x67\x6a']={},a0_0x51fc['\x41\x58\x79\x73\x55\x47']=!![];}const _0x4ae7c6=_0x50446a[0x0],_0x107531=_0x4058cd+_0x4ae7c6,_0xf899cb=a0_0x51fc['\x70\x45\x70\x4a\x67\x6a'][_0x107531];return!_0xf899cb?(_0x51fc37=a0_0x51fc['\x6e\x4c\x4d\x6b\x6f\x54'](_0x51fc37),a0_0x51fc['\x70\x45\x70\x4a\x67\x6a'][_0x107531]=_0x51fc37):_0x51fc37=_0xf899cb,_0x51fc37;}function normalizeBaseUrl(_0x3aac20){return _0x3aac20['\x72\x65\x70\x6c\x61\x63\x65'](/\/+$/,'');}var CollaborationClient=class{['\x62\x61\x73\x65\x55\x72\x6c'];[a0_0x44de13(0xd3)];[a0_0x44de13(0x120)];[a0_0x44de13(0x112)];constructor(_0x1bf6a2){const _0x2eb65e=a0_0x44de13;this[_0x2eb65e(0xc3)]=normalizeBaseUrl(_0x1bf6a2[_0x2eb65e(0xc3)]),this[_0x2eb65e(0xd3)]=_0x1bf6a2['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']??DEFAULT_TIMEOUT_MS,this[_0x2eb65e(0x120)]=_0x1bf6a2['\x66\x65\x74\x63\x68']??globalThis[_0x2eb65e(0xd9)]['\x62\x69\x6e\x64'](globalThis),this['\x68\x65\x61\x64\x65\x72\x73']=_0x1bf6a2[_0x2eb65e(0x112)];}async['\x62\x6f\x6f\x74\x73\x74\x72\x61\x70'](_0x419e58){const _0x45af97=a0_0x44de13,_0xcccee1={'\x51\x4a\x6d\x66\x5a':_0x45af97(0x115)};return this['\x72\x65\x71\x75\x65\x73\x74\x4a\x73\x6f\x6e'](_0xcccee1[_0x45af97(0xe4)],{'\x6d\x65\x74\x68\x6f\x64':_0x45af97(0x10f),'\x62\x6f\x64\x79':JSON[_0x45af97(0xdc)](_0x419e58)});}async['\x72\x65\x66\x72\x65\x73\x68\x54\x6f\x6b\x65\x6e'](_0x4029ba){const _0x215ada=a0_0x44de13;return this['\x72\x65\x71\x75\x65\x73\x74\x4a\x73\x6f\x6e'](_0x215ada(0x11f),{'\x6d\x65\x74\x68\x6f\x64':'\x50\x4f\x53\x54','\x62\x6f\x64\x79':JSON[_0x215ada(0xdc)](_0x4029ba)});}async[a0_0x44de13(0xe5)](_0x2e3b4e){const _0xfe41b5=a0_0x44de13,_0x40f4d4={'\x41\x67\x65\x41\x61':_0xfe41b5(0x10f)};return this['\x72\x65\x71\x75\x65\x73\x74\x4a\x73\x6f\x6e'](_0xfe41b5(0x110),{'\x6d\x65\x74\x68\x6f\x64':_0x40f4d4[_0xfe41b5(0x10c)],'\x62\x6f\x64\x79':JSON[_0xfe41b5(0xdc)](_0x2e3b4e)});}async[a0_0x44de13(0xc7)](_0x5c58e1,_0xf615a7){const _0x239e8c=a0_0x44de13,_0x2620b6={'\x6a\x51\x74\x58\x59':function(_0x37b1bd,_0x37dae1,_0x25299f){return _0x37b1bd(_0x37dae1,_0x25299f);},'\x4f\x4b\x47\x41\x71':_0x239e8c(0xf7),'\x4a\x59\x4a\x50\x58':function(_0x2f8189,_0x3a2ea6){return _0x2f8189===_0x3a2ea6;},'\x62\x78\x75\x51\x4c':function(_0x281228,_0x235bc4){return _0x281228 instanceof _0x235bc4;},'\x77\x51\x65\x63\x73':_0x239e8c(0x111),'\x56\x74\x4b\x75\x43':function(_0x103698,_0x300e42){return _0x103698(_0x300e42);},'\x6c\x49\x4d\x41\x50':function(_0x1e9035,_0x486a97){return _0x1e9035 instanceof _0x486a97;}},_0x219cba=new AbortController(),_0x37605b=_0x2620b6[_0x239e8c(0xe1)](setTimeout,()=>_0x219cba[_0x239e8c(0xd2)](),this['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']);try{const _0x3e2727=new Headers(await this['\x72\x65\x73\x6f\x6c\x76\x65\x48\x65\x61\x64\x65\x72\x73']());if(!_0x3e2727[_0x239e8c(0xc6)](_0x2620b6[_0x239e8c(0xe0)]))_0x3e2727[_0x239e8c(0xd8)](_0x239e8c(0xf7),_0x239e8c(0x116));const _0x3ab8e0=await this[_0x239e8c(0x120)](''+this[_0x239e8c(0xc3)]+_0x5c58e1,{..._0xf615a7,'\x68\x65\x61\x64\x65\x72\x73':_0x3e2727,'\x73\x69\x67\x6e\x61\x6c':_0xf615a7[_0x239e8c(0x113)]??_0x219cba['\x73\x69\x67\x6e\x61\x6c']});if(!_0x3ab8e0['\x6f\x6b']){const _0x6b8643=await _0x3ab8e0['\x74\x65\x78\x74']();throw a0_0x1c163f(_0x3ab8e0[_0x239e8c(0x106)],_0x6b8643,{'\x6d\x65\x74\x68\x6f\x64':_0xf615a7[_0x239e8c(0xf6)],'\x70\x61\x74\x68':_0x5c58e1},_0x3ab8e0[_0x239e8c(0x112)]);}return _0x3ab8e0['\x6a\x73\x6f\x6e']();}catch(_0x424efd){if(_0x424efd instanceof Error&&_0x2620b6[_0x239e8c(0xf9)](_0x424efd[_0x239e8c(0x105)],_0x239e8c(0xf2)))throw new a0_0x5c2729(this['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']);if(_0x2620b6[_0x239e8c(0xd4)](_0x424efd,Error)&&_0x2620b6['\x77\x51\x65\x63\x73']in _0x424efd)throw _0x424efd;throw new a0_0x520cc3(_0x239e8c(0xc2)+(_0x424efd instanceof Error?_0x424efd[_0x239e8c(0x11c)]:_0x2620b6['\x56\x74\x4b\x75\x43'](String,_0x424efd)),_0x2620b6[_0x239e8c(0xf3)](_0x424efd,Error)?_0x424efd:void 0x0);}finally{_0x2620b6['\x56\x74\x4b\x75\x43'](clearTimeout,_0x37605b);}}async[a0_0x44de13(0xef)](){const _0x37bb31=a0_0x44de13,_0x267574={'\x4c\x6d\x50\x68\x4c':function(_0x31183c,_0x3fa865){return _0x31183c===_0x3fa865;}};if(_0x267574['\x4c\x6d\x50\x68\x4c'](typeof this[_0x37bb31(0x112)],'\x66\x75\x6e\x63\x74\x69\x6f\x6e'))return this[_0x37bb31(0x112)]();return this['\x68\x65\x61\x64\x65\x72\x73'];}};const DOCUMENT_PREFIX=a0_0x44de13(0xe7),FILE_SEGMENT=a0_0x44de13(0xff);function assertValidWorkspaceId(_0x5bb8b8){const _0x5e9502=a0_0x44de13,_0xb1bfa={'\x6a\x75\x47\x6b\x68':_0x5e9502(0xf1)};if(!_0x5bb8b8)throw new Error(_0x5e9502(0xc1));if(_0x5bb8b8[_0x5e9502(0xec)]('\x2f')||_0x5bb8b8[_0x5e9502(0xec)]('\x5c')||_0x5bb8b8[_0x5e9502(0xec)]('\x00'))throw new Error(_0xb1bfa[_0x5e9502(0xed)]);}function normalizeCollaborationPath(_0x2226a6){const _0x8ae886=a0_0x44de13,_0x37586c={'\x79\x75\x4b\x79\x72':function(_0x27f11a,_0x154878){return _0x27f11a===_0x154878;},'\x65\x47\x46\x6c\x44':_0x8ae886(0xfe),'\x59\x77\x55\x75\x7a':_0x8ae886(0x114),'\x79\x46\x74\x4d\x6a':'\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68\x20\x6d\x75\x73\x74\x20\x6e\x6f\x74\x20\x63\x6f\x6e\x74\x61\x69\x6e\x20\x6e\x75\x6c\x6c\x20\x62\x79\x74\x65\x73'};if(!_0x2226a6)throw new Error(_0x8ae886(0x100));const _0x2a6e9b=_0x2226a6['\x72\x65\x70\x6c\x61\x63\x65'](/\\/g,'\x2f')[_0x8ae886(0x109)]('\x2f')[_0x8ae886(0xe9)](_0x27869d=>_0x27869d[_0x8ae886(0xde)]>0x0&&_0x27869d!=='\x2e');if(_0x37586c['\x79\x75\x4b\x79\x72'](_0x2a6e9b[_0x8ae886(0xde)],0x0))throw new Error(_0x37586c[_0x8ae886(0xda)]);for(const _0x4ac0c8 of _0x2a6e9b){if(_0x4ac0c8==='\x2e\x2e')throw new Error(_0x37586c[_0x8ae886(0xf5)]);if(_0x4ac0c8[_0x8ae886(0xec)]('\x00'))throw new Error(_0x37586c[_0x8ae886(0xcd)]);}return _0x2a6e9b[_0x8ae886(0xfb)]('\x2f');}function buildCollaborationDocumentId(_0x34a565){const _0x2de3cc=a0_0x44de13,_0x260265={'\x55\x47\x66\x47\x68':function(_0x196378,_0x421903){return _0x196378(_0x421903);}};_0x260265[_0x2de3cc(0x10d)](assertValidWorkspaceId,_0x34a565[_0x2de3cc(0xcb)]);const _0x538c79=normalizeCollaborationPath(_0x34a565['\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68']);return''+DOCUMENT_PREFIX+_0x34a565[_0x2de3cc(0xcb)]+FILE_SEGMENT+_0x538c79;}function parseCollaborationDocumentId(_0x567188){const _0x3879b5=a0_0x44de13,_0x1a59c3={'\x4d\x43\x74\x55\x5a':function(_0x4d0836,_0x2c159d){return _0x4d0836(_0x2c159d);}};if(!_0x567188['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](DOCUMENT_PREFIX))return null;const _0x5e8d3b=_0x567188['\x69\x6e\x64\x65\x78\x4f\x66'](FILE_SEGMENT,0xa);if(_0x5e8d3b===-0x1)return null;const _0x286ea5=_0x567188[_0x3879b5(0xdd)](0xa,_0x5e8d3b),_0x57dca3=_0x567188[_0x3879b5(0xdd)](_0x5e8d3b+0x6);try{return _0x1a59c3['\x4d\x43\x74\x55\x5a'](assertValidWorkspaceId,_0x286ea5),{'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x49\x64':_0x286ea5,'\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68':_0x1a59c3[_0x3879b5(0x11a)](normalizeCollaborationPath,_0x57dca3)};}catch{return null;}}const DEFAULT_DEBOUNCE_MS=0x1f4,FILE_ORIGIN=a0_0x44de13(0x10e);var CollaborationFileBridge=class{[a0_0x44de13(0xfc)];[a0_0x44de13(0x11d)];['\x61\x64\x61\x70\x74\x65\x72']=null;[a0_0x44de13(0xc4)]=null;[a0_0x44de13(0xce)]=null;[a0_0x44de13(0x107)]=null;['\x64\x65\x73\x74\x72\x6f\x79\x65\x64']=![];[a0_0x44de13(0x11b)];['\x6c\x61\x73\x74\x57\x72\x69\x74\x74\x65\x6e\x43\x6f\x6e\x74\x65\x6e\x74']=null;constructor(_0x3caa73){const _0x3cff63=a0_0x44de13;this[_0x3cff63(0x11d)]=_0x3caa73,this[_0x3cff63(0x11b)]=_0x3caa73[_0x3cff63(0xca)],this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']=_0x3caa73[_0x3cff63(0xfc)]??DEFAULT_DEBOUNCE_MS;}[a0_0x44de13(0xe6)](_0xe4a4b8){const _0x195893=a0_0x44de13,_0x44603f={'\x73\x4e\x51\x6f\x46':function(_0x24c386,_0x3a914f){return _0x24c386!==_0x3a914f;},'\x75\x54\x4e\x68\x44':function(_0x12f978,_0x25141d){return _0x12f978===_0x25141d;}};this[_0x195893(0xee)](),this[_0x195893(0x118)]=![],this[_0x195893(0x101)]=_0xe4a4b8,this[_0x195893(0x11b)]=this[_0x195893(0x11d)][_0x195893(0xca)],this[_0x195893(0xc4)]=_0xe4a4b8['\x73\x75\x62\x73\x63\x72\x69\x62\x65'](_0x4e500a=>{const _0x53cbe6=_0x195893;if(_0x4e500a[_0x53cbe6(0xfa)]===FILE_ORIGIN)return;if(_0x44603f[_0x53cbe6(0x108)](this[_0x53cbe6(0xea)],null)&&_0x44603f[_0x53cbe6(0x119)](_0x4e500a[_0x53cbe6(0x102)],this[_0x53cbe6(0xea)]))return;this[_0x53cbe6(0x104)](_0x4e500a['\x63\x6f\x6e\x74\x65\x6e\x74']);}),this[_0x195893(0xce)]=this[_0x195893(0x11d)]['\x73\x75\x62\x73\x63\x72\x69\x62\x65\x54\x6f\x46\x69\x6c\x65\x45\x76\x65\x6e\x74\x73'](this[_0x195893(0x11b)],_0x10010c=>{const _0x3e2f89=_0x195893;this[_0x3e2f89(0xf4)](_0x10010c);});}async[a0_0x44de13(0x103)](){const _0x48f1f4=a0_0x44de13;if(!this[_0x48f1f4(0x101)])return;this[_0x48f1f4(0x107)]&&(clearTimeout(this[_0x48f1f4(0x107)]),this[_0x48f1f4(0x107)]=null);const _0x3f8815=this[_0x48f1f4(0x101)][_0x48f1f4(0x10a)]();await this[_0x48f1f4(0xc5)](_0x3f8815);}[a0_0x44de13(0xc0)](){const _0x57609f=a0_0x44de13;return this[_0x57609f(0x11b)];}[a0_0x44de13(0xee)](){const _0x2e4523=a0_0x44de13,_0x4cf9ea={'\x49\x73\x6f\x56\x54':function(_0x3d774c,_0x46ecab){return _0x3d774c(_0x46ecab);}};this[_0x2e4523(0x118)]=!![],this[_0x2e4523(0x107)]&&(_0x4cf9ea[_0x2e4523(0xe8)](clearTimeout,this[_0x2e4523(0x107)]),this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']=null),this[_0x2e4523(0xc4)]?.(),this['\x75\x6e\x73\x75\x62\x73\x63\x72\x69\x62\x65\x44\x6f\x63\x75\x6d\x65\x6e\x74']=null,this[_0x2e4523(0xce)]?.(),this['\x75\x6e\x73\x75\x62\x73\x63\x72\x69\x62\x65\x46\x69\x6c\x65\x45\x76\x65\x6e\x74\x73']=null,this[_0x2e4523(0x101)]=null;}[a0_0x44de13(0x104)](_0x4cbb2a){const _0x5f40d0=a0_0x44de13,_0x2592c2={'\x65\x46\x74\x78\x63':function(_0x51fd0e,_0x2cd896){return _0x51fd0e(_0x2cd896);}};if(this[_0x5f40d0(0x107)])_0x2592c2[_0x5f40d0(0x10b)](clearTimeout,this[_0x5f40d0(0x107)]);this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']=setTimeout(()=>{const _0x281997=_0x5f40d0;this[_0x281997(0x107)]=null,this[_0x281997(0xc5)](_0x4cbb2a);},this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']);}async[a0_0x44de13(0xc5)](_0x455b08){const _0x560bc8=a0_0x44de13;if(this[_0x560bc8(0x118)])return;this[_0x560bc8(0xea)]=_0x455b08,await this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x560bc8(0xcc)](this[_0x560bc8(0x11b)],_0x455b08);}[a0_0x44de13(0xf4)](_0x5543a7){const _0x18ff14=a0_0x44de13,_0xbc427f={'\x68\x6f\x63\x4b\x50':'\x33\x7c\x32\x7c\x34\x7c\x35\x7c\x36\x7c\x31\x7c\x30','\x4a\x6e\x47\x57\x73':function(_0x303b5b,_0x75604d){return _0x303b5b!==_0x75604d;},'\x44\x41\x48\x42\x69':function(_0x1be9d4,_0x5a48d4){return _0x1be9d4===_0x5a48d4;},'\x4d\x54\x67\x74\x6e':_0x18ff14(0x117),'\x79\x73\x68\x5a\x55':function(_0x238862,_0x29522f){return _0x238862===_0x29522f;}},_0x4a1435=_0xbc427f[_0x18ff14(0xe3)][_0x18ff14(0x109)]('\x7c');let _0x4c7009=0x0;while(!![]){switch(_0x4a1435[_0x4c7009++]){case'\x30':this[_0x18ff14(0x101)][_0x18ff14(0xf8)](_0x5543a7[_0x18ff14(0x102)],{'\x6f\x72\x69\x67\x69\x6e':FILE_ORIGIN,'\x76\x65\x72\x73\x69\x6f\x6e':_0x5543a7[_0x18ff14(0xdf)]});continue;case'\x31':if(_0xbc427f['\x4a\x6e\x47\x57\x73'](this[_0x18ff14(0xea)],null)&&_0x5543a7[_0x18ff14(0x102)]===this[_0x18ff14(0xea)])return;continue;case'\x32':if(_0x5543a7['\x74\x79\x70\x65']==='\x72\x65\x6e\x61\x6d\x65\x64'&&_0x5543a7['\x6e\x65\x78\x74\x50\x61\x74\x68']){this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68']=_0x5543a7[_0x18ff14(0x121)],this[_0x18ff14(0x11d)]['\x6f\x6e\x46\x69\x6c\x65\x52\x65\x6e\x61\x6d\x65\x64']?.(_0x5543a7);return;}continue;case'\x33':if(!this[_0x18ff14(0x101)]||this[_0x18ff14(0x118)])return;continue;case'\x34':if(_0xbc427f['\x44\x41\x48\x42\x69'](_0x5543a7['\x74\x79\x70\x65'],_0xbc427f[_0x18ff14(0xdb)])){this[_0x18ff14(0x11d)]['\x6f\x6e\x46\x69\x6c\x65\x44\x65\x6c\x65\x74\x65\x64']?.(_0x5543a7);return;}continue;case'\x35':if(_0xbc427f['\x4a\x6e\x47\x57\x73'](_0x5543a7[_0x18ff14(0xd1)],_0x18ff14(0xd5))||typeof _0x5543a7['\x63\x6f\x6e\x74\x65\x6e\x74']!=='\x73\x74\x72\x69\x6e\x67')return;continue;case'\x36':if(_0xbc427f[_0x18ff14(0xf0)](_0x5543a7[_0x18ff14(0x102)],this[_0x18ff14(0x101)]['\x67\x65\x74\x43\x6f\x6e\x74\x65\x6e\x74']()))return;continue;}break;}}};export{CollaborationClient as a,parseCollaborationDocumentId as i,buildCollaborationDocumentId as n,normalizeCollaborationPath as r,CollaborationFileBridge as t};
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as SandboxClient } from "./client-
|
|
1
|
+
import { Jt as PreviewLinkInfo, Qn as SandboxInfo, Wt as NetworkConfig, Y as CreateSandboxOptions, Yt as PreviewLinkManager, lt as ExecOptions, n as SandboxInstance, nr as SandboxStatus, ut as ExecResult, xn as SandboxClientConfig } from "./sandbox-BQbq1EGP.js";
|
|
2
|
+
import { i as SandboxClient } from "./client-DRbtd2hi.js";
|
|
3
3
|
import { a as PartialFailureError, c as SandboxErrorJson, d as StateError, f as TimeoutError, i as NotFoundError, l as SandboxFailureDetail, n as CapabilityError, o as QuotaError, p as ValidationError, r as NetworkError, s as SandboxError, t as AuthError, u as ServerError } from "./errors-1Se5ATyZ.js";
|
|
4
4
|
export { AuthError, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, QuotaError, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError };
|
package/dist/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x4abc21,_0x5570f9){var _0x1f064b=a0_0x4ab2,_0x955731=_0x4abc21();while(!![]){try{var _0x5e8f9f=parseInt(_0x1f064b(0x7c))/0x1+parseInt(_0x1f064b(0x7b))/0x2+parseInt(_0x1f064b(0x7e))/0x3+parseInt(_0x1f064b(0x74))/0x4*(parseInt(_0x1f064b(0x79))/0x5)+-parseInt(_0x1f064b(0x76))/0x6*(parseInt(_0x1f064b(0x7a))/0x7)+parseInt(_0x1f064b(0x78))/0x8*(-parseInt(_0x1f064b(0x7d))/0x9)+-parseInt(_0x1f064b(0x75))/0xa*(parseInt(_0x1f064b(0x77))/0xb);if(_0x5e8f9f===_0x5570f9)break;else _0x955731['push'](_0x955731['shift']());}catch(_0x2d2ddb){_0x955731['push'](_0x955731['shift']());}}}(a0_0x401e,0x452be));import{t as a0_0x37d1f6}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x64\x36\x69\x4c\x4a\x65\x48\x32\x2e\x6a\x73';import{a as a0_0x911cac,c as a0_0xe0f19c,d as a0_0x30e5bb,i as a0_0x3e5d64,l as a0_0x101057,n as a0_0x3ee7d4,o as a0_0x59f5b7,r as a0_0x24e461,s as a0_0x898559,t as a0_0x4d7d86,u as a0_0x25c742}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x44\x5a\x73\x66\x4a\x55\x75\x63\x2e\x6a\x73';function a0_0x4ab2(_0x20392a,_0x564f31){_0x20392a=_0x20392a-0x74;var _0x401eb9=a0_0x401e();var _0x4ab21d=_0x401eb9[_0x20392a];if(a0_0x4ab2['\x71\x73\x55\x54\x6c\x4d']===undefined){var _0x445d82=function(_0x2b3d94){var _0x5e5c59='\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';var _0x37d1f6='',_0x911cac='';for(var _0xe0f19c=0x0,_0x30e5bb,_0x3e5d64,_0x101057=0x0;_0x3e5d64=_0x2b3d94['\x63\x68\x61\x72\x41\x74'](_0x101057++);~_0x3e5d64&&(_0x30e5bb=_0xe0f19c%0x4?_0x30e5bb*0x40+_0x3e5d64:_0x3e5d64,_0xe0f19c++%0x4)?_0x37d1f6+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x30e5bb>>(-0x2*_0xe0f19c&0x6)):0x0){_0x3e5d64=_0x5e5c59['\x69\x6e\x64\x65\x78\x4f\x66'](_0x3e5d64);}for(var _0x3ee7d4=0x0,_0x59f5b7=_0x37d1f6['\x6c\x65\x6e\x67\x74\x68'];_0x3ee7d4<_0x59f5b7;_0x3ee7d4++){_0x911cac+='\x25'+('\x30\x30'+_0x37d1f6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3ee7d4)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x911cac);};a0_0x4ab2['\x6c\x6a\x52\x61\x62\x43']=_0x445d82,a0_0x4ab2['\x71\x4d\x4a\x58\x61\x4d']={},a0_0x4ab2['\x71\x73\x55\x54\x6c\x4d']=!![];}var _0x5233f8=_0x401eb9[0x0],_0x316de9=_0x20392a+_0x5233f8,_0x251cb1=a0_0x4ab2['\x71\x4d\x4a\x58\x61\x4d'][_0x316de9];return!_0x251cb1?(_0x4ab21d=a0_0x4ab2['\x6c\x6a\x52\x61\x62\x43'](_0x4ab21d),a0_0x4ab2['\x71\x4d\x4a\x58\x61\x4d'][_0x316de9]=_0x4ab21d):_0x4ab21d=_0x251cb1,_0x4ab21d;}function a0_0x401e(){var _0x24bd61=['\x6e\x64\x4b\x34\x6e\x74\x6d\x58\x71\x30\x48\x68\x71\x4c\x76\x76','\x6e\x4a\x69\x59\x6d\x5a\x76\x69\x41\x30\x48\x6a\x77\x4b\x43','\x6d\x74\x75\x34\x6d\x64\x61\x31\x6d\x4b\x31\x33\x7a\x78\x6e\x68\x44\x47','\x6e\x64\x62\x4e\x77\x4b\x35\x59\x42\x4c\x69','\x6f\x74\x69\x59\x6d\x4a\x61\x33\x6d\x67\x50\x50\x75\x30\x50\x6a\x76\x61','\x6d\x74\x4b\x34\x75\x68\x7a\x79\x71\x76\x76\x69','\x6d\x74\x66\x50\x71\x78\x50\x36\x71\x77\x4b','\x6d\x4a\x69\x30\x79\x76\x48\x41\x71\x78\x7a\x64','\x6d\x74\x47\x34\x6d\x4a\x6d\x57\x77\x66\x48\x41\x77\x65\x50\x73','\x6d\x74\x65\x59\x6d\x4a\x47\x33\x43\x4b\x50\x67\x74\x77\x7a\x65','\x6d\x74\x61\x31\x6d\x5a\x79\x32\x6d\x4d\x76\x78\x43\x31\x48\x57\x74\x57'];a0_0x401e=function(){return _0x24bd61;};return a0_0x401e();}import{n as a0_0x626541}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x44\x4e\x52\x6b\x2d\x66\x59\x71\x2e\x6a\x73';export{a0_0x4d7d86 as AuthError,a0_0x3ee7d4 as CapabilityError,a0_0x24e461 as NetworkError,a0_0x3e5d64 as NotFoundError,a0_0x911cac as PartialFailureError,a0_0x59f5b7 as QuotaError,a0_0x626541 as Sandbox,a0_0x626541 as SandboxClient,a0_0x898559 as SandboxError,a0_0x37d1f6 as SandboxInstance,a0_0xe0f19c as ServerError,a0_0x101057 as StateError,a0_0x25c742 as TimeoutError,a0_0x30e5bb as ValidationError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a0_0x44b389=a0_0x398e;function a0_0x8caf(){const _0x240561=['\x75\x30\x76\x73\x76\x4b\x76\x73\x78\x30\x76\x73\x75\x4b\x39\x73','\x71\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x75\x76\x59\x43\x4d\x39\x59','\x73\x4b\x6e\x49\x79\x4d\x53','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x72\x4e\x44\x66\x44\x33\x71','\x71\x76\x76\x75\x73\x66\x39\x66\x75\x4c\x6a\x70\x75\x47','\x74\x4b\x76\x75\x76\x30\x39\x73\x73\x31\x39\x66\x75\x4c\x6a\x70\x75\x47','\x75\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x75','\x76\x65\x66\x62\x79\x76\x6d','\x77\x77\x6e\x30\x76\x4b\x71','\x42\x33\x72\x56\x75\x4b\x69','\x41\x78\x6e\x6f\x79\x75\x34','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x4c\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x76\x75\x35\x6c\x74\x4b\x39\x78\x74\x4c\x39\x66\x75\x4c\x6a\x70\x75\x47','\x6d\x74\x7a\x77\x71\x4c\x44\x53\x41\x66\x61','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x76\x71\x75\x4b\x39\x77\x73\x76\x6e\x6a\x74\x30\x35\x46\x72\x4b\x66\x6a\x74\x65\x76\x65','\x71\x30\x66\x71\x71\x75\x6a\x6a\x74\x65\x4c\x75\x77\x76\x39\x6f\x74\x31\x72\x46\x72\x75\x35\x62\x71\x4b\x58\x66\x72\x61','\x7a\x77\x35\x4b\x43\x67\x39\x50\x42\x4e\x71','\x41\x77\x58\x4c\x45\x4c\x4b','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x76\x76\x35\x73\x30\x38','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x41\x31\x72\x50\x72\x4d\x65','\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','\x75\x78\x6e\x6c\x79\x76\x79','\x71\x78\x76\x30\x41\x65\x76\x59\x43\x4d\x39\x59','\x41\x65\x44\x6d\x45\x67\x43','\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x6e\x74\x75\x34\x6d\x74\x69\x58\x6e\x78\x62\x77\x41\x77\x54\x79\x41\x71','\x42\x30\x6a\x34\x45\x76\x65','\x6d\x4e\x57\x5a\x46\x64\x76\x38\x6e\x68\x57\x58\x46\x64\x61','\x43\x33\x72\x59\x41\x77\x35\x4e','\x41\x78\x6e\x67\x41\x77\x35\x50\x44\x67\x75','\x6d\x74\x66\x78\x42\x66\x6e\x5a\x42\x30\x75','\x41\x65\x44\x48\x43\x4c\x61','\x42\x77\x4c\x35\x42\x65\x38','\x7a\x77\x35\x4b\x43\x31\x44\x50\x44\x67\x47','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x6a\x7a\x61','\x78\x31\x66\x76\x74\x31\x72\x62\x78\x30\x76\x79\x71\x30\x76\x66\x72\x65\x76\x65','\x74\x68\x6e\x4b\x71\x77\x6d','\x7a\x4b\x31\x49\x79\x31\x79','\x44\x67\x76\x5a\x44\x61','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x66\x6e\x30\x79\x78\x72\x4c','\x41\x33\x4c\x6e\x75\x32\x75','\x6e\x5a\x43\x35\x6f\x74\x75\x34\x6f\x76\x44\x77\x79\x30\x4c\x6f\x71\x57','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x31\x48\x43\x67\x4b','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4c\x43\x4e\x6a\x56\x43\x47','\x43\x76\x72\x69\x76\x66\x61','\x6d\x74\x6d\x33\x6d\x74\x7a\x58\x76\x4d\x6a\x77\x75\x30\x43','\x43\x4d\x76\x30\x43\x4e\x4b\x54\x79\x77\x7a\x30\x7a\x78\x69','\x75\x78\x76\x56\x44\x67\x65\x47\x7a\x78\x48\x4a\x7a\x77\x76\x4b\x7a\x77\x71\x36\x69\x61','\x43\x33\x44\x6b\x74\x4e\x6d','\x75\x30\x48\x62\x75\x4b\x76\x65\x78\x31\x44\x70\x75\x4b\x54\x74\x75\x65\x66\x64\x72\x76\x39\x76\x74\x4c\x6e\x76\x75\x66\x62\x70\x75\x4c\x72\x66\x72\x61','\x72\x77\x48\x55\x73\x32\x43','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x74\x4d\x39\x30\x72\x4d\x39\x31\x42\x4d\x72\x66\x43\x4e\x6a\x56\x43\x47','\x75\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x76\x59\x43\x4d\x39\x59','\x45\x4e\x4c\x55\x42\x65\x53','\x71\x33\x62\x71\x43\x32\x6d','\x6d\x74\x79\x31\x6d\x74\x71\x57\x6d\x68\x50\x54\x72\x75\x44\x6c\x44\x61','\x6d\x4a\x6d\x34\x6e\x64\x65\x34\x6e\x30\x35\x56\x41\x32\x39\x50\x74\x47','\x43\x67\x66\x59\x43\x32\x75','\x75\x4b\x76\x72\x76\x75\x76\x74\x76\x61','\x43\x75\x48\x68\x72\x68\x4b','\x43\x4e\x76\x55\x44\x67\x4c\x54\x7a\x71','\x74\x31\x66\x56\x7a\x4b\x65','\x72\x4b\x58\x66\x72\x76\x72\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x43\x78\x76\x56\x44\x67\x66\x75\x45\x78\x62\x4c','\x7a\x67\x76\x30\x79\x77\x4c\x53\x43\x57','\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\x4e\x72\x72\x73\x75\x43','\x43\x32\x4c\x4b\x7a\x77\x6e\x48\x43\x47','\x41\x4b\x35\x4d\x76\x65\x34','\x43\x67\x66\x30\x41\x61','\x77\x4e\x76\x41\x73\x4b\x4b','\x44\x75\x39\x5a\x76\x4b\x57','\x45\x63\x31\x5a\x41\x77\x72\x4c\x79\x32\x66\x59\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x32\x34','\x75\x32\x76\x73\x74\x77\x30','\x42\x75\x6e\x58\x74\x65\x34','\x42\x4d\x66\x54\x7a\x71','\x75\x76\x76\x70\x76\x65\x66\x46\x72\x76\x48\x64\x72\x75\x76\x65\x72\x75\x71','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x43\x4c\x72\x62\x73\x4e\x61','\x6c\x33\x62\x59\x42\x32\x50\x4c\x79\x33\x72\x5a','\x43\x4d\x76\x30\x43\x4e\x4c\x62\x7a\x4e\x72\x4c\x43\x4b\x31\x5a','\x79\x32\x66\x31\x43\x32\x75','\x44\x68\x6a\x50\x42\x71','\x76\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x76\x59\x43\x4d\x39\x59','\x75\x78\x76\x56\x44\x67\x66\x66\x43\x4e\x6a\x56\x43\x47','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x75\x45\x78\x62\x4c','\x42\x68\x62\x71\x7a\x76\x79','\x71\x33\x62\x7a\x44\x32\x65','\x43\x33\x72\x48\x44\x68\x76\x5a','\x76\x4b\x48\x6e\x41\x4e\x61','\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\x62\x53\x41\x78\x71','\x79\x32\x39\x55\x44\x67\x66\x50\x42\x4d\x76\x59\x73\x77\x31\x48\x7a\x32\x75','\x6d\x74\x6d\x5a\x6e\x64\x6d\x32\x6d\x5a\x62\x75\x42\x32\x39\x41\x76\x68\x6d','\x76\x4d\x66\x53\x41\x77\x72\x48\x44\x67\x4c\x56\x42\x4b\x76\x59\x43\x4d\x39\x59','\x6d\x5a\x76\x6f\x73\x76\x6a\x73\x75\x67\x47','\x6c\x33\x6e\x50\x7a\x67\x76\x4a\x79\x78\x6a\x5a','\x6d\x74\x79\x31\x6e\x4a\x71\x57\x6d\x4d\x4c\x75\x41\x75\x50\x63\x44\x47','\x79\x32\x39\x4b\x7a\x71','\x69\x67\x35\x56\x44\x63\x62\x4d\x42\x33\x76\x55\x7a\x64\x4f\x47','\x42\x67\x4c\x54\x41\x78\x71','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x45\x71','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x73\x75\x35\x77\x71\x75\x58\x6a\x72\x66\x39\x74\x76\x65\x66\x75\x72\x71','\x75\x33\x72\x48\x44\x67\x76\x66\x43\x4e\x6a\x56\x43\x47','\x6c\x32\x4c\x55\x43\x33\x72\x48\x42\x4d\x6e\x4c\x43\x57','\x42\x77\x66\x34','\x43\x32\x44\x78\x75\x67\x57','\x7a\x4d\x4c\x4c\x42\x67\x72\x5a','\x79\x32\x39\x55\x44\x68\x6a\x56\x42\x63\x31\x57\x42\x67\x66\x55\x7a\x71','\x74\x30\x6e\x52\x79\x30\x47','\x71\x4e\x6a\x50\x43\x33\x71','\x7a\x78\x6a\x59\x42\x33\x69','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x6e\x67\x7a\x4e\x74\x4e\x7a\x6f\x42\x71','\x7a\x32\x76\x30','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x72\x4b\x58\x66\x72\x76\x72\x46\x72\x65\x4c\x74\x75\x65\x66\x75\x71\x30\x48\x46\x75\x65\x66\x73\x76\x65\x4c\x62\x74\x66\x39\x67\x71\x75\x4c\x6d\x76\x76\x6a\x66','\x76\x65\x4c\x67\x7a\x77\x71','\x42\x77\x76\x30\x41\x67\x39\x4b','\x43\x4d\x76\x58\x44\x77\x4c\x59\x7a\x77\x72\x74\x44\x67\x66\x30\x7a\x71','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x74\x4b\x39\x75\x78\x30\x4c\x6e\x75\x65\x58\x66\x74\x75\x76\x6f\x76\x65\x76\x65','\x7a\x4d\x66\x50\x42\x68\x76\x59\x7a\x78\x6d','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x61','\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','\x41\x67\x66\x5a'];a0_0x8caf=function(){return _0x240561;};return a0_0x8caf();}(function(_0x1a51f2,_0x57fc70){const _0x707be8=a0_0x398e,_0x5438a3=_0x1a51f2();while(!![]){try{const _0x3e514b=-parseInt(_0x707be8(0xb9))/0x1+-parseInt(_0x707be8(0x8f))/0x2+-parseInt(_0x707be8(0x90))/0x3+-parseInt(_0x707be8(0xcb))/0x4*(-parseInt(_0x707be8(0xf5))/0x5)+-parseInt(_0x707be8(0x109))/0x6*(-parseInt(_0x707be8(0xb7))/0x7)+-parseInt(_0x707be8(0xe7))/0x8*(-parseInt(_0x707be8(0x105))/0x9)+parseInt(_0x707be8(0xb5))/0xa*(parseInt(_0x707be8(0xfa))/0xb);if(_0x3e514b===_0x57fc70)break;else _0x5438a3['push'](_0x5438a3['shift']());}catch(_0x576369){_0x5438a3['push'](_0x5438a3['shift']());}}}(a0_0x8caf,0xe03af));var SandboxError=class extends Error{[a0_0x44b389(0xb0)];[a0_0x44b389(0xba)];[a0_0x44b389(0x10f)];[a0_0x44b389(0xea)];[a0_0x44b389(0xa8)];[a0_0x44b389(0xe4)];[a0_0x44b389(0xb4)];constructor(_0x22de5d,_0x47ba50,_0x23b52f,_0x24d356){const _0x454462=a0_0x44b389;super(_0x22de5d),this[_0x454462(0xa3)]=_0x454462(0x8c),this[_0x454462(0xba)]=_0x47ba50,this[_0x454462(0xb0)]=_0x23b52f,this[_0x454462(0x10f)]=_0x24d356?.[_0x454462(0x10f)],this[_0x454462(0xea)]=_0x24d356?.[_0x454462(0xea)],this[_0x454462(0xa8)]=_0x24d356?.[_0x454462(0xa8)],this[_0x454462(0xe4)]=_0x24d356?.[_0x454462(0xe4)],this[_0x454462(0xb4)]=_0x24d356?.[_0x454462(0xb4)];}},AuthError=class extends SandboxError{constructor(_0x14727e=a0_0x44b389(0xd6),_0x24e97c){const _0x5ca7fc=a0_0x44b389,_0x3a03ee={'\x66\x48\x56\x48\x46':_0x5ca7fc(0xdd),'\x52\x55\x42\x68\x56':_0x5ca7fc(0xf2)};super(_0x14727e,_0x3a03ee['\x66\x48\x56\x48\x46'],0x191,_0x24e97c),this[_0x5ca7fc(0xa3)]=_0x3a03ee['\x52\x55\x42\x68\x56'];}},NotFoundError=class extends SandboxError{[a0_0x44b389(0xad)];[a0_0x44b389(0xfe)];constructor(_0x19ab4e,_0x306afa,_0xb5f5ad){const _0xf882a4=a0_0x44b389,_0x4f8c8b={'\x73\x67\x57\x50\x6c':'\x4e\x4f\x54\x5f\x46\x4f\x55\x4e\x44'};super(_0x19ab4e+_0xf882a4(0xbb)+_0x306afa,_0x4f8c8b[_0xf882a4(0xc4)],0x194,_0xb5f5ad),this[_0xf882a4(0xa3)]=_0xf882a4(0x110),this[_0xf882a4(0xad)]=_0x19ab4e,this[_0xf882a4(0xfe)]=_0x306afa;}},QuotaError=class extends SandboxError{[a0_0x44b389(0x97)];[a0_0x44b389(0xd5)];['\x6c\x69\x6d\x69\x74'];[a0_0x44b389(0xa8)];constructor(_0x35be79,_0x5f1c7d,_0x162f3e,_0x5106a8,_0x52ef81,_0x39beea=0x1ad){const _0x258fea=a0_0x44b389,_0xc14783=_0x258fea(0xf7)[_0x258fea(0xb3)]('\x7c');let _0x1a741b=0x0;while(!![]){switch(_0xc14783[_0x1a741b++]){case'\x30':this['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73']=_0x52ef81?.['\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73'];continue;case'\x31':this[_0x258fea(0xbc)]=_0x5106a8;continue;case'\x32':super(_0x5f1c7d??_0x258fea(0x10b)+_0x35be79,_0x258fea(0xa4),_0x39beea,_0x52ef81);continue;case'\x33':this[_0x258fea(0xa3)]=_0x258fea(0xac);continue;case'\x34':this[_0x258fea(0xd5)]=_0x162f3e;continue;case'\x35':this[_0x258fea(0x97)]=_0x35be79;continue;}break;}}},CapabilityError=class extends SandboxError{['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x79'];constructor(_0x20d4a9,_0x5eff8e='\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44',_0x2edf39=0x190,_0x5ef5b7,_0x4d6ab9){const _0x4a47c7=a0_0x44b389;super(_0x20d4a9,_0x5eff8e,_0x2edf39,_0x5ef5b7),this['\x6e\x61\x6d\x65']=_0x4a47c7(0xd9),this[_0x4a47c7(0xbe)]=_0x4d6ab9;}},PartialFailureError=class extends SandboxError{[a0_0x44b389(0xd4)];constructor(_0x44218f,_0x56accd=a0_0x44b389(0xf4),_0x1a912c=0x1f6,_0x53930b,_0xf66008){const _0x1d6c3c=a0_0x44b389;super(_0x44218f,_0x56accd,_0x1a912c,_0x53930b),this[_0x1d6c3c(0xa3)]='\x50\x61\x72\x74\x69\x61\x6c\x46\x61\x69\x6c\x75\x72\x65\x45\x72\x72\x6f\x72',this[_0x1d6c3c(0xd4)]=_0xf66008;}},ValidationError=class extends SandboxError{[a0_0x44b389(0xc5)];constructor(_0xa328a2,_0xa56b0b,_0x158b56){const _0xce232b=a0_0x44b389;super(_0xa328a2,'\x56\x41\x4c\x49\x44\x41\x54\x49\x4f\x4e\x5f\x45\x52\x52\x4f\x52',0x190,_0x158b56),this[_0xce232b(0xa3)]=_0xce232b(0xb6),this[_0xce232b(0xc5)]=_0xa56b0b;}},StateError=class extends SandboxError{['\x63\x75\x72\x72\x65\x6e\x74\x53\x74\x61\x74\x65'];[a0_0x44b389(0xd1)];constructor(_0x1ce2dc,_0xb9bf0e,_0x3080d1,_0x30ead0){const _0x5e030e=a0_0x44b389,_0x197902={'\x41\x77\x70\x4d\x4e':_0x5e030e(0xc0),'\x72\x54\x41\x4a\x70':_0x5e030e(0xc1)};super(_0x1ce2dc,_0x197902['\x41\x77\x70\x4d\x4e'],0x199,_0x30ead0),this['\x6e\x61\x6d\x65']=_0x197902[_0x5e030e(0xa6)],this['\x63\x75\x72\x72\x65\x6e\x74\x53\x74\x61\x74\x65']=_0xb9bf0e,this[_0x5e030e(0xd1)]=_0x3080d1;}},TimeoutError=class extends SandboxError{['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73'];constructor(_0x5e7345,_0x4be938,_0x4e7672){const _0x2217c9=a0_0x44b389,_0x6ba6fd={'\x53\x56\x67\x4d\x66':'\x54\x49\x4d\x45\x4f\x55\x54','\x6a\x4e\x66\x54\x4e':_0x2217c9(0xab)};super(_0x4be938??_0x2217c9(0xb2)+_0x5e7345+'\x6d\x73',_0x6ba6fd['\x53\x56\x67\x4d\x66'],0x198,_0x4e7672),this[_0x2217c9(0xa3)]=_0x6ba6fd[_0x2217c9(0x9c)],this[_0x2217c9(0xdb)]=_0x5e7345;}},NetworkError=class extends SandboxError{[a0_0x44b389(0xa9)];constructor(_0x1b2da9,_0x3830a7,_0x4fee7e){const _0x290508=a0_0x44b389,_0x1d6366={'\x4f\x43\x6b\x63\x48':function(_0xd3434c,_0x37a2d2){return _0xd3434c instanceof _0x37a2d2;},'\x4d\x4b\x6b\x61\x4f':'\x4e\x65\x74\x77\x6f\x72\x6b\x45\x72\x72\x6f\x72'},_0x2aa027=_0x3830a7 instanceof Error?_0x3830a7:void 0x0,_0x50ee40=_0x1d6366[_0x290508(0xc7)](_0x3830a7,Error)?_0x4fee7e:_0x3830a7??_0x4fee7e;super(_0x1b2da9,_0x290508(0xde),void 0x0,_0x50ee40),this[_0x290508(0xa3)]=_0x1d6366['\x4d\x4b\x6b\x61\x4f'],this['\x63\x61\x75\x73\x65']=_0x2aa027;}},ServerError=class extends SandboxError{constructor(_0x1aec50,_0x23237b=0x1f4,_0x1645c9){const _0x16bee6=a0_0x44b389,_0x3600f2={'\x71\x48\x47\x44\x79':_0x16bee6(0xd8),'\x6d\x69\x79\x6c\x4f':'\x53\x65\x72\x76\x65\x72\x45\x72\x72\x6f\x72'};super(_0x1aec50,_0x3600f2[_0x16bee6(0x93)],_0x23237b,_0x1645c9),this[_0x16bee6(0xa3)]=_0x3600f2[_0x16bee6(0xfc)];}};function parseRetryAfterMs(_0x312bab,_0x65a8c2){const _0xff325a=a0_0x44b389,_0x295c9a={'\x59\x63\x74\x56\x44':_0xff325a(0xbd)};if(typeof _0x65a8c2[_0xff325a(0xa8)]===_0x295c9a[_0xff325a(0xe1)]&&Number[_0xff325a(0xf9)](_0x65a8c2[_0xff325a(0xa8)]))return Math['\x6d\x61\x78'](0x0,_0x65a8c2[_0xff325a(0xa8)]);if(!_0x312bab)return void 0x0;const _0x382911=_0x312bab[_0xff325a(0xaa)]();if(!_0x382911)return void 0x0;const _0x2f8d7e=Number(_0x382911);if(Number[_0xff325a(0xf9)](_0x2f8d7e))return Math[_0xff325a(0xc3)](0x0,_0x2f8d7e)*0x3e8;const _0x5798f8=Date[_0xff325a(0x91)](_0x382911);if(!Number[_0xff325a(0xe3)](_0x5798f8))return Math[_0xff325a(0xc3)](0x0,_0x5798f8-Date['\x6e\x6f\x77']());}function inferOrigin(_0x4e503c,_0xa980ef){const _0x297d5b=a0_0x44b389,_0x8abe2a={'\x71\x54\x48\x54\x50':_0x297d5b(0x99),'\x56\x48\x4d\x6a\x70':_0x297d5b(0xa0),'\x44\x46\x4e\x79\x5a':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65','\x6c\x70\x50\x65\x56':_0x297d5b(0xf0),'\x73\x77\x4a\x4e\x73':_0x297d5b(0x9b),'\x4f\x51\x6f\x66\x41':_0x297d5b(0xc6),'\x66\x4d\x62\x63\x56':'\x2f\x76\x31\x2f','\x6b\x79\x4d\x53\x65':_0x297d5b(0xa7),'\x7a\x79\x6e\x6c\x4b':_0x297d5b(0xb8),'\x6f\x42\x78\x79\x51':'\x75\x6e\x6b\x6e\x6f\x77\x6e'},_0x555679=_0xa980ef?.[_0x297d5b(0x9d)]??_0x4e503c?.['\x67\x65\x74'](_0x8abe2a[_0x297d5b(0x108)])??void 0x0;if(!_0x4e503c)return _0xa980ef?.['\x70\x61\x74\x68']?_0x297d5b(0x106):void 0x0;if(_0x4e503c[_0x297d5b(0xd7)](_0x8abe2a[_0x297d5b(0xb1)])||_0x4e503c[_0x297d5b(0xd7)](_0x8abe2a['\x44\x46\x4e\x79\x5a'])||_0x4e503c[_0x297d5b(0xd7)](_0x8abe2a[_0x297d5b(0xae)]))return _0x8abe2a[_0x297d5b(0x10c)];if(_0x4e503c[_0x297d5b(0xd7)]('\x78\x2d\x6f\x72\x63\x68\x65\x73\x74\x72\x61\x74\x6f\x72\x2d\x76\x65\x72\x73\x69\x6f\x6e'))return _0x8abe2a[_0x297d5b(0x95)];if(_0x555679?.['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x8abe2a[_0x297d5b(0x101)]))return'\x73\x61\x6e\x64\x62\x6f\x78\x2d\x61\x70\x69';if(_0x555679){if(_0x555679['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](_0x8abe2a[_0x297d5b(0x104)])||_0x555679[_0x297d5b(0xee)](_0x8abe2a[_0x297d5b(0x8d)])||_0x555679[_0x297d5b(0xee)](_0x297d5b(0xc2)))return _0x297d5b(0xc6);return _0x297d5b(0x94);}return _0x8abe2a[_0x297d5b(0xf6)];}function isQuotaCode(_0x3e9cb6){const _0x18ed5c=a0_0x44b389,_0x52bb4a={'\x61\x6e\x5a\x43\x67':_0x18ed5c(0xa4)};return _0x3e9cb6===_0x52bb4a['\x61\x6e\x5a\x43\x67']||_0x3e9cb6?.[_0x18ed5c(0xfd)](_0x18ed5c(0xff))===!![];}function isCapabilityCode(_0x4f9091){const _0x3fa93b=a0_0x44b389,_0x3a0aef={'\x54\x49\x46\x65\x64':_0x3fa93b(0xe9),'\x58\x63\x73\x4c\x57':function(_0x489820,_0x24f0c4){return _0x489820===_0x24f0c4;},'\x42\x72\x69\x73\x74':'\x46\x4c\x45\x45\x54\x5f\x53\x48\x41\x52\x45\x44\x5f\x57\x4f\x52\x4b\x53\x50\x41\x43\x45\x5f\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44'};return _0x4f9091===_0x3a0aef[_0x3fa93b(0xcf)]||_0x4f9091==='\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59\x5f\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44'||_0x4f9091==='\x55\x4e\x53\x55\x50\x50\x4f\x52\x54\x45\x44\x5f\x43\x41\x50\x41\x42\x49\x4c\x49\x54\x59'||_0x3a0aef['\x58\x63\x73\x4c\x57'](_0x4f9091,_0x3a0aef[_0x3fa93b(0xc8)])||_0x4f9091===_0x3fa93b(0x10d);}function isPartialFailureCode(_0x1f104c){const _0x1c65a0=a0_0x44b389,_0x414dd0={'\x4a\x43\x62\x62\x6b':function(_0x959f57,_0x63539){return _0x959f57===_0x63539;}};return _0x414dd0[_0x1c65a0(0xda)](_0x1f104c,_0x1c65a0(0xf4))||_0x1f104c===_0x1c65a0(0x96)||_0x1f104c===_0x1c65a0(0xce)||_0x1f104c===_0x1c65a0(0xe8);}function asString(_0x33d257){const _0x1b01b1=a0_0x44b389,_0xeb01ed={'\x6b\x54\x69\x46\x61':_0x1b01b1(0xf8),'\x69\x6c\x51\x53\x7a':function(_0x4082ae,_0x1d515b){return _0x4082ae>_0x1d515b;}};return typeof _0x33d257===_0xeb01ed[_0x1b01b1(0xef)]&&_0xeb01ed['\x69\x6c\x51\x53\x7a'](_0x33d257[_0x1b01b1(0xaa)]()[_0x1b01b1(0xec)],0x0)?_0x33d257:void 0x0;}function isFailureDetail(_0x1795e5){const _0x2cbd03=a0_0x44b389,_0x9c6f26={'\x54\x41\x41\x61\x53':function(_0x4ca35f,_0x14a4cc){return _0x4ca35f===_0x14a4cc;}};return _0x9c6f26[_0x2cbd03(0xe0)](typeof _0x1795e5,'\x6f\x62\x6a\x65\x63\x74')&&_0x1795e5!==null&&!Array[_0x2cbd03(0xe5)](_0x1795e5);}function readCapability(_0x1ea081,_0x239281){const _0xcc10ac=a0_0x44b389,_0x1c3a07={'\x69\x55\x79\x4b\x4f':function(_0xc477c8,_0x5952cf){return _0xc477c8===_0x5952cf;},'\x62\x68\x65\x41\x50':function(_0x1b36b1,_0x50667e){return _0x1b36b1!==_0x50667e;},'\x68\x47\x61\x72\x50':function(_0x1306bd,_0x3e2b36){return _0x1306bd(_0x3e2b36);}},_0xb08270=_0x1c3a07[_0xcc10ac(0xed)](typeof _0x239281,_0xcc10ac(0xca))&&_0x1c3a07['\x62\x68\x65\x41\x50'](_0x239281,null)?asString(_0x239281[_0xcc10ac(0xbe)]):void 0x0;return _0x1c3a07[_0xcc10ac(0xfb)](asString,_0x1ea081[_0xcc10ac(0xbe)])??_0xb08270;}function a0_0x398e(_0x24be32,_0x3a9cf2){_0x24be32=_0x24be32-0x8c;const _0x8caf4c=a0_0x8caf();let _0x398ed8=_0x8caf4c[_0x24be32];if(a0_0x398e['\x6f\x69\x4b\x61\x71\x57']===undefined){var _0x1ccc3a=function(_0x192511){const _0x277b5a='\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 _0x405276='',_0x3ca62b='';for(let _0x35ca1e=0x0,_0x87d5b4,_0x5b1e6d,_0x2a9096=0x0;_0x5b1e6d=_0x192511['\x63\x68\x61\x72\x41\x74'](_0x2a9096++);~_0x5b1e6d&&(_0x87d5b4=_0x35ca1e%0x4?_0x87d5b4*0x40+_0x5b1e6d:_0x5b1e6d,_0x35ca1e++%0x4)?_0x405276+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x87d5b4>>(-0x2*_0x35ca1e&0x6)):0x0){_0x5b1e6d=_0x277b5a['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5b1e6d);}for(let _0x30dc3d=0x0,_0x462a34=_0x405276['\x6c\x65\x6e\x67\x74\x68'];_0x30dc3d<_0x462a34;_0x30dc3d++){_0x3ca62b+='\x25'+('\x30\x30'+_0x405276['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x30dc3d)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x3ca62b);};a0_0x398e['\x59\x44\x4f\x4a\x72\x54']=_0x1ccc3a,a0_0x398e['\x44\x6a\x59\x47\x4a\x51']={},a0_0x398e['\x6f\x69\x4b\x61\x71\x57']=!![];}const _0x2b4fb5=_0x8caf4c[0x0],_0x299222=_0x24be32+_0x2b4fb5,_0x577fea=a0_0x398e['\x44\x6a\x59\x47\x4a\x51'][_0x299222];return!_0x577fea?(_0x398ed8=a0_0x398e['\x59\x44\x4f\x4a\x72\x54'](_0x398ed8),a0_0x398e['\x44\x6a\x59\x47\x4a\x51'][_0x299222]=_0x398ed8):_0x398ed8=_0x577fea,_0x398ed8;}function readFailures(_0x40125f,_0x32d129){const _0x3b66a2=a0_0x44b389,_0x380dbc={'\x73\x6e\x62\x77\x41':function(_0x2d279e,_0x1fe346){return _0x2d279e===_0x1fe346;}};if(Array[_0x3b66a2(0xe5)](_0x40125f[_0x3b66a2(0xd4)]))return _0x40125f[_0x3b66a2(0xd4)][_0x3b66a2(0xcd)](isFailureDetail);if(Array[_0x3b66a2(0xe5)](_0x40125f[_0x3b66a2(0xd2)])){const _0x3550bc=_0x40125f['\x72\x65\x73\x75\x6c\x74\x73'][_0x3b66a2(0xcd)](_0x2e369f=>typeof _0x2e369f==='\x6f\x62\x6a\x65\x63\x74'&&_0x2e369f!==null&&_0x2e369f['\x6f\x6b']===![]);if(_0x3550bc['\x6c\x65\x6e\x67\x74\x68']>0x0)return _0x3550bc[_0x3b66a2(0xcd)](isFailureDetail);}if(_0x380dbc['\x73\x6e\x62\x77\x41'](typeof _0x32d129,_0x3b66a2(0xca))&&_0x32d129!==null&&Array[_0x3b66a2(0xe5)](_0x32d129[_0x3b66a2(0xd4)]))return _0x32d129[_0x3b66a2(0xd4)][_0x3b66a2(0xcd)](isFailureDetail);}function parseErrorResponse(_0x348ebc,_0x2550e6,_0x3d07e4,_0xca845){const _0x1bc13=a0_0x44b389,_0x15b99c={'\x43\x70\x59\x77\x61':_0x1bc13(0xca),'\x51\x73\x4b\x61\x56':function(_0x9e1e79,_0x8cf0d5){return _0x9e1e79!==_0x8cf0d5;},'\x75\x4f\x73\x56\x4c':function(_0x2ba104,_0x504194){return _0x2ba104===_0x504194;},'\x43\x70\x50\x73\x63':function(_0x65d06f,_0xe192d7){return _0x65d06f>_0xe192d7;},'\x69\x6a\x74\x65\x51':_0x1bc13(0x107),'\x53\x65\x52\x4d\x6d':function(_0x25807f,_0x415acc,_0x754be0){return _0x25807f(_0x415acc,_0x754be0);},'\x68\x47\x4c\x78\x67':function(_0x318449,_0x235a2f,_0x52ec01){return _0x318449(_0x235a2f,_0x52ec01);},'\x45\x68\x6e\x4b\x67':_0x1bc13(0x10a),'\x4c\x73\x64\x41\x63':_0x1bc13(0xa0),'\x6f\x74\x6f\x52\x42':'\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65','\x6d\x43\x71\x4c\x4e':function(_0x11607f,_0x5244d4){return _0x11607f(_0x5244d4);},'\x69\x6c\x65\x7a\x59':'\x72\x61\x74\x65\x5f\x6c\x69\x6d\x69\x74','\x5a\x75\x5a\x4a\x49':function(_0x4f2f5d,_0x32b9d3){return _0x4f2f5d(_0x32b9d3);},'\x6e\x74\x51\x49\x47':function(_0x35e495,_0x5737cc){return _0x35e495||_0x5737cc;},'\x46\x77\x45\x77\x74':_0x1bc13(0xe6)};let _0x887889;try{_0x887889=JSON[_0x1bc13(0x91)](_0x2550e6);}catch{_0x887889={'\x6d\x65\x73\x73\x61\x67\x65':_0x2550e6};}const _0xfc7a6f=_0x887889[_0x1bc13(0xc9)],_0x5433c7=typeof _0xfc7a6f===_0x15b99c[_0x1bc13(0xaf)]&&_0x15b99c[_0x1bc13(0xf1)](_0xfc7a6f,null)?_0xfc7a6f[_0x1bc13(0xa5)]:void 0x0,_0x49db36=typeof _0xfc7a6f===_0x15b99c[_0x1bc13(0xaf)]&&_0xfc7a6f!==null?_0xfc7a6f[_0x1bc13(0xba)]:void 0x0,_0x263be6=_0x887889[_0x1bc13(0xa5)]||_0x5433c7||(typeof _0xfc7a6f===_0x1bc13(0xf8)?_0xfc7a6f:void 0x0)||_0x2550e6||'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x65\x72\x72\x6f\x72',_0x5c7ff3=_0x15b99c[_0x1bc13(0x9f)](typeof _0x887889[_0x1bc13(0x98)],_0x1bc13(0xf8))&&_0x15b99c[_0x1bc13(0x8e)](_0x887889[_0x1bc13(0x98)][_0x1bc13(0xaa)]()['\x6c\x65\x6e\x67\x74\x68'],0x0)?_0x887889[_0x1bc13(0x98)][_0x1bc13(0xaa)]():void 0x0,_0x4851cf=!!_0x5c7ff3&&_0x5c7ff3!==_0x263be6&&(_0x15b99c[_0x1bc13(0x9f)](_0x263be6,_0x15b99c['\x69\x6a\x74\x65\x51'])||/^failed\b/i[_0x1bc13(0x102)](_0x263be6)||/^provision failed\b/i[_0x1bc13(0x102)](_0x263be6)||/^deprovision failed\b/i[_0x1bc13(0x102)](_0x263be6)),_0x14e7c7=_0x887889[_0x1bc13(0xba)]||_0x49db36,_0xb21d39=''+(_0x3d07e4?(_0x3d07e4[_0x1bc13(0xd0)]??_0x1bc13(0x92))+'\x20'+(_0x3d07e4[_0x1bc13(0x9d)]??'')+'\x3a\x20':'')+(_0x4851cf?_0x263be6+'\x3a\x20'+_0x5c7ff3:_0x263be6),_0x5953d8={'\x6f\x72\x69\x67\x69\x6e':_0x15b99c[_0x1bc13(0xa1)](inferOrigin,_0xca845,_0x3d07e4),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':_0x3d07e4?.[_0x1bc13(0x9d)]??_0xca845?.[_0x1bc13(0xcc)](_0x1bc13(0x99))??void 0x0,'\x72\x65\x74\x72\x79\x41\x66\x74\x65\x72\x4d\x73':_0x15b99c[_0x1bc13(0xf3)](parseRetryAfterMs,_0xca845?.[_0x1bc13(0xcc)](_0x15b99c[_0x1bc13(0x10e)])??void 0x0,_0x887889),'\x73\x69\x64\x65\x63\x61\x72\x56\x65\x72\x73\x69\x6f\x6e':_0xca845?.[_0x1bc13(0xcc)](_0x15b99c[_0x1bc13(0x100)])??void 0x0,'\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x49\x6d\x61\x67\x65':_0xca845?.['\x67\x65\x74'](_0x15b99c[_0x1bc13(0xe2)])??_0xca845?.[_0x1bc13(0xcc)]('\x78\x2d\x73\x69\x64\x65\x63\x61\x72\x2d\x69\x6d\x61\x67\x65\x2d\x74\x61\x67')??void 0x0};if(_0x15b99c[_0x1bc13(0xa2)](isQuotaCode,_0x14e7c7))return new QuotaError(_0x887889[_0x1bc13(0x97)]||_0x15b99c[_0x1bc13(0xeb)],_0xb21d39,_0x887889[_0x1bc13(0xd5)],_0x887889[_0x1bc13(0xbc)],_0x5953d8,_0x348ebc);if(_0x15b99c[_0x1bc13(0x9e)](isCapabilityCode,_0x14e7c7))return new CapabilityError(_0xb21d39,_0x14e7c7,_0x348ebc,_0x5953d8,readCapability(_0x887889,_0xfc7a6f));if(_0x15b99c[_0x1bc13(0x9e)](isPartialFailureCode,_0x14e7c7))return new PartialFailureError(_0xb21d39,_0x14e7c7,_0x348ebc,_0x5953d8,readFailures(_0x887889,_0xfc7a6f));switch(_0x348ebc){case 0x190:return new ValidationError(_0xb21d39,_0x887889['\x66\x69\x65\x6c\x64\x73'],_0x5953d8);case 0x191:return new AuthError(_0xb21d39,_0x5953d8);case 0x194:return new NotFoundError(_0x887889[_0x1bc13(0xad)]||_0x1bc13(0xdf),_0x887889[_0x1bc13(0xfe)]||_0x1bc13(0xbf),_0x5953d8);case 0x198:return new TimeoutError(_0x887889[_0x1bc13(0xdb)]||0x7530,_0xb21d39,_0x5953d8);case 0x199:return new StateError(_0xb21d39,_0x887889[_0x1bc13(0x103)]||'\x75\x6e\x6b\x6e\x6f\x77\x6e',_0x887889[_0x1bc13(0xd1)],_0x5953d8);case 0x1ad:return new QuotaError(_0x887889[_0x1bc13(0x97)]||_0x15b99c['\x69\x6c\x65\x7a\x59'],_0xb21d39,_0x887889[_0x1bc13(0xd5)],_0x887889[_0x1bc13(0xbc)],_0x5953d8);case 0x1f5:return new SandboxError(_0xb21d39,_0x15b99c[_0x1bc13(0x9a)](_0x14e7c7,_0x1bc13(0xd3)),_0x348ebc,_0x5953d8);default:if(_0x348ebc>=0x1f4)return new ServerError(_0xb21d39,_0x348ebc,_0x5953d8);return new SandboxError(_0xb21d39,_0x14e7c7||_0x15b99c[_0x1bc13(0xdc)],_0x348ebc,_0x5953d8);}}export{PartialFailureError as a,ServerError as c,ValidationError as d,parseErrorResponse as f,NotFoundError as i,StateError as l,CapabilityError as n,QuotaError as o,NetworkError as r,SandboxError as s,AuthError as t,TimeoutError as u};
|