@tangle-network/sandbox 0.0.0-develop.20260519182220.e7047bf → 0.0.0-develop.20260530132002.87cf9f6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { $ as FleetExecDispatchOptions, $n as SshKeysManager, $t as SandboxClientConfig, A as CreateIntelligenceReportOptions, An as SandboxInfo, C as BatchResult, Dn as SandboxFleetWorkspaceReconcileResult, Ft as PromptInputPart, G as ExecOptions, Gn as SecretsManager, Gt as PublishPublicTemplateVersionOptions, Ht as PublicTemplateInfo, It as PromptOptions, Jt as ReconcileSandboxFleetsOptions, K as ExecResult, Kt as ReapExpiredSandboxFleetsOptions, Lt as PromptResult, M as CreateSandboxFleetTokenOptions, N as CreateSandboxFleetWithCoordinatorOptions, On as SandboxFleetWorkspaceRestoreResult, P as CreateSandboxOptions, Q as FleetDispatchStreamOptions, S as BatchOptions, Tn as SandboxFleetUsage, Ut as PublicTemplateVersionInfo, Wt as PublishPublicTemplateOptions, X as FleetDispatchResultBuffer, Y as FleetDispatchCancelResult, Yt as ReconcileSandboxFleetsResult, Z as FleetDispatchResultBufferOptions, _t as ListSandboxFleetOptions, a as TraceExportSink, an as SandboxFleetCostEstimate, bn as SandboxFleetToken, cn as SandboxFleetDriverCapability, et as FleetExecDispatchResult, gn as SandboxFleetManifest, ht as IntelligenceReportBudget, i as TraceExportResult, in as SandboxFleetArtifactSpec, j as CreateSandboxFleetOptions, kn as SandboxFleetWorkspaceSnapshotResult, lr as TokenRefreshHandler, m as AttachSandboxFleetMachineOptions, mn as SandboxFleetMachineRecord, mr as UsageInfo, mt as IntelligenceReport, n as SandboxInstance, nt as FleetPromptDispatchOptions, qt as ReapExpiredSandboxFleetsResult, rn as SandboxFleetArtifact, rt as FleetPromptDispatchResult, sn as SandboxFleetDispatchResponse, t as HttpClient, tn as SandboxEnvironment, tr as SubscriptionInfo, tt as FleetMachineId, un as SandboxFleetInfo, vn as SandboxFleetOperationsSummary, vt as ListSandboxOptions, w as BatchTask, wn as SandboxFleetTraceOptions, x as BatchEvent, xn as SandboxFleetTraceBundle } from "./sandbox-B7-dr4K1.js";
1
+ import { A as BatchTask, Ar as UsageInfo, Bn as SandboxFleetUsage, Cn as SandboxFleetDriverCapability, D as BatchEvent, Dt as IntelligenceReportCompareTo, Et as IntelligenceReportBudget, Fn as SandboxFleetToken, G as CreateSandboxOptions, Gn as SandboxInfo, H as CreateSandboxFleetOptions, Hn as SandboxFleetWorkspaceReconcileResult, In as SandboxFleetTraceBundle, Mt as ListSandboxFleetOptions, Nn as SandboxFleetOperationsSummary, Nt as ListSandboxOptions, O as BatchOptions, Qt as PromptResult, Sn as SandboxFleetDispatchResponse, Tn as SandboxFleetInfo, Tr as TokenRefreshHandler, Tt as IntelligenceReport, U as CreateSandboxFleetTokenOptions, Un as SandboxFleetWorkspaceRestoreResult, V as CreateIntelligenceReportOptions, W as CreateSandboxFleetWithCoordinatorOptions, Wn as SandboxFleetWorkspaceSnapshotResult, Xt as PromptInputPart, Zt as PromptOptions, _r as SubscriptionInfo, a as TraceExportSink, an as PublishPublicTemplateOptions, b as AttachSandboxFleetMachineOptions, bn as SandboxFleetCostEstimate, cn as ReapExpiredSandboxFleetsResult, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, ft as FleetMachineId, gn as SandboxEnvironment, hr as SshKeysManager, i as TraceExportResult, in as PublicTemplateVersionInfo, jn as SandboxFleetManifest, k as BatchResult, kn as SandboxFleetMachineRecord, kt as IntelligenceReportWindow, ln as ReconcileSandboxFleetsOptions, lt as FleetDispatchStreamOptions, mn as SandboxClientConfig, mt as FleetPromptDispatchResult, n as SandboxInstance, nt as ExecOptions, on as PublishPublicTemplateVersionOptions, or as SecretsManager, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, rn as PublicTemplateInfo, rt as ExecResult, sn as ReapExpiredSandboxFleetsOptions, st as FleetDispatchResultBuffer, t as HttpClient, un as ReconcileSandboxFleetsResult, ut as FleetExecDispatchOptions, vn as SandboxFleetArtifact, yn as SandboxFleetArtifactSpec, zn as SandboxFleetTraceOptions } from "./sandbox-CBmfYqMQ.js";
2
2
 
3
3
  //#region src/lib/sse-parser.d.ts
4
4
  /**
@@ -62,11 +62,27 @@ interface ParseSSEStreamOptions {
62
62
  declare function parseSSEStream(body: ReadableStream<Uint8Array> | null | undefined, options?: ParseSSEStreamOptions): AsyncGenerator<ParsedSSEEvent>;
63
63
  //#endregion
64
64
  //#region src/fleet.d.ts
65
+ /**
66
+ * The subset of `SandboxClient` the fleet classes drive. Declared here
67
+ * rather than importing the concrete class so `fleet.ts` stays a leaf of
68
+ * `client.ts` — `client.ts` constructs `SandboxFleetClient`, so the reverse
69
+ * import would form a cycle. `SandboxClient` satisfies this structurally.
70
+ */
71
+ interface FleetClientHost {
72
+ create(options?: CreateSandboxOptions): Promise<SandboxInstance>;
73
+ list(options?: ListSandboxOptions): Promise<SandboxInstance[]>;
74
+ get(id: string): Promise<SandboxInstance | null>;
75
+ fetch(path: string, options?: RequestInit): Promise<Response>;
76
+ readonly fleets: SandboxFleetClient;
77
+ readonly intelligence: {
78
+ createReport(options: CreateIntelligenceReportOptions): Promise<IntelligenceReport>;
79
+ };
80
+ }
65
81
  declare class SandboxFleet {
66
82
  private readonly client;
67
83
  readonly fleetId: string;
68
84
  readonly machines: ReadonlyMap<FleetMachineId, SandboxInfo>;
69
- constructor(client: SandboxClient, fleetId: string, machines: ReadonlyMap<FleetMachineId, SandboxInfo>);
85
+ constructor(client: FleetClientHost, fleetId: string, machines: ReadonlyMap<FleetMachineId, SandboxInfo>);
70
86
  get ids(): FleetMachineId[];
71
87
  get(machineId: FleetMachineId): SandboxInfo;
72
88
  sandbox(machineId: FleetMachineId): Promise<SandboxInstance>;
@@ -74,11 +90,9 @@ declare class SandboxFleet {
74
90
  exec(machineId: FleetMachineId, command: string, options?: ExecOptions): Promise<ExecResult>;
75
91
  dispatchExec(command: string, options?: FleetExecDispatchOptions): Promise<FleetExecDispatchResult[]>;
76
92
  dispatchExecDetailed(command: string, options?: FleetExecDispatchOptions): Promise<SandboxFleetDispatchResponse<FleetExecDispatchResult>>;
77
- dispatchExecWithInsights(command: string, options?: FleetExecDispatchOptions): Promise<SandboxFleetDispatchResponse<FleetExecDispatchResult>>;
78
93
  prompt(machineId: FleetMachineId, message: string | PromptInputPart[], options?: PromptOptions): Promise<PromptResult>;
79
94
  dispatchPrompt(message: string | PromptInputPart[], options?: FleetPromptDispatchOptions): Promise<FleetPromptDispatchResult[]>;
80
95
  dispatchPromptDetailed(message: string | PromptInputPart[], options?: FleetPromptDispatchOptions): Promise<SandboxFleetDispatchResponse<FleetPromptDispatchResult>>;
81
- dispatchPromptWithInsights(message: string | PromptInputPart[], options?: FleetPromptDispatchOptions): Promise<SandboxFleetDispatchResponse<FleetPromptDispatchResult>>;
82
96
  manifest(): Promise<SandboxFleetManifest>;
83
97
  attachMachine(machine: AttachSandboxFleetMachineOptions): Promise<SandboxFleetMachineRecord>;
84
98
  detachMachine(machineId: FleetMachineId): Promise<{
@@ -101,11 +115,17 @@ declare class SandboxFleet {
101
115
  mode?: "deterministic" | "agentic";
102
116
  acknowledgeCost?: boolean;
103
117
  budget?: IntelligenceReportBudget;
104
- metadata?: Record<string, unknown>;
118
+ metadata?: Record<string, unknown>; /** Narrow the analysis to a single dispatch within this fleet. */
119
+ dispatchId?: string; /** Bound the analysis to a time window. */
120
+ window?: IntelligenceReportWindow; /** Compare this fleet against a same-type baseline fleet. */
121
+ compareTo?: IntelligenceReportCompareTo;
105
122
  }): Promise<IntelligenceReport>;
106
123
  createAgenticIntelligenceReport(options: {
107
124
  maxUsd: number;
108
125
  metadata?: Record<string, unknown>;
126
+ dispatchId?: string;
127
+ window?: IntelligenceReportWindow;
128
+ compareTo?: IntelligenceReportCompareTo;
109
129
  }): Promise<IntelligenceReport>;
110
130
  exportTrace(sink: TraceExportSink): Promise<TraceExportResult>;
111
131
  cost(): Promise<SandboxFleetCostEstimate>;
@@ -114,7 +134,7 @@ declare class SandboxFleet {
114
134
  }
115
135
  declare class SandboxFleetClient {
116
136
  private readonly client;
117
- constructor(client: SandboxClient);
137
+ constructor(client: FleetClientHost);
118
138
  capabilities(): Promise<{
119
139
  drivers: SandboxFleetDriverCapability[];
120
140
  }>;
@@ -804,15 +824,54 @@ declare class SandboxClient implements HttpClient {
804
824
  * console warnings so one bad subscriber does not poison the rest. */
805
825
  _emitTokenRefresh(sandboxId: string, newToken: string): void;
806
826
  }
827
+ /**
828
+ * Client for the Intelligence Reports API.
829
+ *
830
+ * Two analysis modes:
831
+ *
832
+ * - `deterministic` (default): free, rule-based platform analysis over
833
+ * the subject's trace evidence. Returns immediately.
834
+ * - `agentic`: routes to the **Tangle Trace Analyst**, an LLM-driven
835
+ * reasoning loop that reads OTLP-shaped trace evidence and emits
836
+ * findings, evidence references, recommended actions, and a
837
+ * validation plan. Billed against `budget.maxUsd`; the platform
838
+ * never spends past the budget the caller sets.
839
+ *
840
+ * Subjects: `sandbox` or `fleet`. A fleet subject can be narrowed to
841
+ * a single coordinated command via `subject.dispatchId`.
842
+ */
807
843
  declare class IntelligenceClient {
808
844
  private readonly client;
809
845
  constructor(client: SandboxClient);
846
+ /**
847
+ * Create an intelligence report over the given subject.
848
+ *
849
+ * Use `mode: "agentic"` to engage the **Tangle Trace Analyst** with a
850
+ * spending budget. The budget is enforced server-side before billing
851
+ * fires — a request whose computed cost exceeds `budget.maxUsd`
852
+ * returns 402 without charging the customer.
853
+ */
810
854
  createReport(options: CreateIntelligenceReportOptions): Promise<IntelligenceReport>;
811
855
  createAgenticReport(options: {
812
856
  subject: CreateIntelligenceReportOptions["subject"];
813
857
  maxUsd: number;
814
858
  metadata?: Record<string, unknown>;
815
859
  }): Promise<IntelligenceReport>;
860
+ /**
861
+ * Estimate the cost of a prospective report without creating one.
862
+ * Verifies subject ownership the same way `createReport` does, so it
863
+ * never becomes an existence oracle for foreign subjects.
864
+ */
865
+ estimateReport(options: Pick<CreateIntelligenceReportOptions, "subject"> & {
866
+ mode?: "deterministic" | "agentic";
867
+ metadata?: Record<string, unknown>;
868
+ }): Promise<{
869
+ mode: "deterministic" | "agentic";
870
+ costUsd: number;
871
+ billable: boolean;
872
+ billedTo: "platform" | "customer";
873
+ reason: string;
874
+ }>;
816
875
  getReport(jobId: string): Promise<IntelligenceReport>;
817
876
  listReports(options?: {
818
877
  subjectType?: CreateIntelligenceReportOptions["subject"]["type"];
@@ -988,131 +1047,4 @@ declare class TeamsClient {
988
1047
  * Alias for SandboxClient for cleaner imports.
989
1048
  */
990
1049
  //#endregion
991
- //#region src/errors.d.ts
992
- /**
993
- * Sandbox SDK Errors
994
- *
995
- * Error classes for the Sandbox client SDK.
996
- */
997
- /**
998
- * Base error class for all Sandbox SDK errors.
999
- */
1000
- declare class SandboxError extends Error {
1001
- /** HTTP status code if applicable */
1002
- readonly status?: number;
1003
- /** Error code for programmatic handling */
1004
- readonly code: string;
1005
- /** Best-effort origin of the failing request */
1006
- readonly origin?: SandboxErrorOrigin;
1007
- /** Request path or endpoint when known */
1008
- readonly endpoint?: string;
1009
- /** Retry-after duration in ms when surfaced by the upstream */
1010
- readonly retryAfterMs?: number;
1011
- /** Sidecar version when the runtime emitted it */
1012
- readonly sidecarVersion?: string;
1013
- /** Sidecar image/tag/sha when the runtime emitted it */
1014
- readonly containerImage?: string;
1015
- constructor(message: string, code: string, status?: number, metadata?: SandboxErrorMetadata);
1016
- }
1017
- type SandboxErrorOrigin = "sidecar" | "sandbox-api" | "control-plane" | "runtime" | "unknown";
1018
- interface SandboxErrorMetadata {
1019
- origin?: SandboxErrorOrigin;
1020
- endpoint?: string;
1021
- retryAfterMs?: number;
1022
- sidecarVersion?: string;
1023
- containerImage?: string;
1024
- }
1025
- type SandboxErrorJson = string | number | boolean | null | {
1026
- [key: string]: SandboxErrorJson;
1027
- } | SandboxErrorJson[];
1028
- type SandboxFailureDetail = {
1029
- [key: string]: SandboxErrorJson;
1030
- };
1031
- /**
1032
- * Authentication failed or API key is invalid.
1033
- */
1034
- declare class AuthError extends SandboxError {
1035
- constructor(message?: string, metadata?: SandboxErrorMetadata);
1036
- }
1037
- /**
1038
- * The requested resource was not found.
1039
- */
1040
- declare class NotFoundError extends SandboxError {
1041
- /** The resource type that was not found */
1042
- readonly resourceType: string;
1043
- /** The resource ID that was not found */
1044
- readonly resourceId: string;
1045
- constructor(resourceType: string, resourceId: string, metadata?: SandboxErrorMetadata);
1046
- }
1047
- /**
1048
- * Account quota or rate limit exceeded.
1049
- */
1050
- declare class QuotaError extends SandboxError {
1051
- /** The type of quota that was exceeded */
1052
- readonly quotaType: string;
1053
- /** Current usage */
1054
- readonly current?: number;
1055
- /** Maximum allowed */
1056
- readonly limit?: number;
1057
- /** Suggested retry-after duration in ms */
1058
- readonly retryAfterMs?: number;
1059
- constructor(quotaType: string, message?: string, current?: number, limit?: number, metadata?: SandboxErrorMetadata, status?: number);
1060
- }
1061
- /**
1062
- * The requested capability is unavailable for the account, driver, or sandbox.
1063
- */
1064
- declare class CapabilityError extends SandboxError {
1065
- /** Capability or feature that was rejected when known */
1066
- readonly capability?: string;
1067
- constructor(message: string, code?: string, status?: number, metadata?: SandboxErrorMetadata, capability?: string);
1068
- }
1069
- /**
1070
- * A multi-resource operation failed for one or more branches.
1071
- */
1072
- declare class PartialFailureError extends SandboxError {
1073
- /** Per-resource failures returned by the API when available */
1074
- readonly failures?: SandboxFailureDetail[];
1075
- constructor(message: string, code?: string, status?: number, metadata?: SandboxErrorMetadata, failures?: SandboxFailureDetail[]);
1076
- }
1077
- /**
1078
- * The request was invalid or malformed.
1079
- */
1080
- declare class ValidationError extends SandboxError {
1081
- /** Field-level validation errors */
1082
- readonly fields?: Record<string, string>;
1083
- constructor(message: string, fields?: Record<string, string>, metadata?: SandboxErrorMetadata);
1084
- }
1085
- /**
1086
- * The sandbox is not in a valid state for the requested operation.
1087
- */
1088
- declare class StateError extends SandboxError {
1089
- /** Current state of the sandbox */
1090
- readonly currentState: string;
1091
- /** Required state for the operation */
1092
- readonly requiredState?: string;
1093
- constructor(message: string, currentState: string, requiredState?: string, metadata?: SandboxErrorMetadata);
1094
- }
1095
- /**
1096
- * The request timed out.
1097
- */
1098
- declare class TimeoutError extends SandboxError {
1099
- /** Timeout duration in milliseconds */
1100
- readonly timeoutMs: number;
1101
- constructor(timeoutMs: number, message?: string, metadata?: SandboxErrorMetadata);
1102
- }
1103
- /**
1104
- * A network or connection error occurred.
1105
- */
1106
- declare class NetworkError extends SandboxError {
1107
- /** The underlying error */
1108
- readonly cause?: Error;
1109
- constructor(message: string, causeOrMetadata?: Error | SandboxErrorMetadata, metadata?: SandboxErrorMetadata);
1110
- }
1111
- /**
1112
- * The server returned an unexpected error.
1113
- */
1114
- declare class ServerError extends SandboxError {
1115
- constructor(message: string, status?: number, metadata?: SandboxErrorMetadata);
1116
- }
1117
- //#endregion
1118
- export { IntegrationActionKind as A, TriggerWithSecret as B, CreateEndpointInput as C, EndpointWithSecret as D, EndpointInfo as E, IntegrationVerificationKind as F, parseSSEStream as G, SandboxFleetClient as H, IntegrationsManager as I, RecipeManifest as L, IntegrationPrincipalType as M, IntegrationProvider as N, InstallRecipeInput as O, IntegrationScope as P, TriggerInfo as R, CreateAutomationInput as S, DeliveryAttempt as T, ParseSSEStreamOptions as U, SandboxFleet as V, ParsedSSEEvent as W, Team as _, PartialFailureError as a, AutomationInfo as b, SandboxErrorJson as c, StateError as d, TimeoutError as f, SandboxClient as g, InviteTeamMemberOptions as h, NotFoundError as i, IntegrationDeliveryStatus as j, IntegrationAction as k, SandboxFailureDetail as l, CreateTeamOptions as m, CapabilityError as n, QuotaError as o, ValidationError as p, NetworkError as r, SandboxError as s, AuthError as t, ServerError as u, TeamInvitation as v, CreateTriggerInput as w, ConnectionInfo as x, TeamMember as y, TriggerRun as z };
1050
+ export { SandboxFleetClient as A, IntegrationVerificationKind as C, TriggerRun as D, TriggerInfo as E, ParsedSSEEvent as M, parseSSEStream as N, TriggerWithSecret as O, IntegrationScope as S, RecipeManifest as T, IntegrationAction as _, Team as a, IntegrationPrincipalType as b, AutomationInfo as c, CreateEndpointInput as d, CreateTriggerInput as f, InstallRecipeInput as g, EndpointWithSecret as h, SandboxClient as i, ParseSSEStreamOptions as j, SandboxFleet as k, ConnectionInfo as l, EndpointInfo as m, IntelligenceClient as n, TeamInvitation as o, DeliveryAttempt as p, InviteTeamMemberOptions as r, TeamMember as s, CreateTeamOptions as t, CreateAutomationInput as u, IntegrationActionKind as v, IntegrationsManager as w, IntegrationProvider as x, IntegrationDeliveryStatus as y };
@@ -1,2 +1,2 @@
1
- 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-CCsA3S0D.js";
1
+ 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-D7bwmNs8.js";
2
2
  export { CollaborationBootstrapRequest, CollaborationBootstrapResponse, CollaborationClient, CollaborationClientConfig, CollaborationDocumentAdapter, CollaborationDocumentChange, CollaborationDocumentRef, CollaborationFileBridge, CollaborationFileBridgeOptions, CollaborationFileEvent, CollaborationPermissions, CollaborationTokenRefreshRequest, CollaborationTokenRefreshResponse, CollaborationTransportConfig, SaveCollaborationSnapshotRequest, SaveCollaborationSnapshotResponse, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
@@ -1 +1 @@
1
- function a0_0xdcc9(){var _0x142a79=['\x6d\x74\x65\x33\x6e\x74\x6d\x59\x6d\x4d\x35\x69\x42\x30\x39\x51\x7a\x71','\x6d\x74\x4b\x34\x6e\x5a\x4b\x57\x75\x30\x39\x73\x76\x4e\x7a\x35','\x6d\x4a\x43\x5a\x6d\x74\x71\x30\x76\x4b\x72\x78\x7a\x67\x66\x57','\x6d\x74\x61\x30\x6e\x64\x4b\x59\x41\x4d\x54\x55\x42\x77\x4c\x33','\x6d\x5a\x62\x4b\x73\x76\x44\x65\x72\x65\x34','\x6d\x74\x48\x59\x74\x77\x4c\x73\x73\x32\x75','\x6d\x5a\x71\x33\x6e\x5a\x61\x59\x44\x32\x48\x53\x71\x32\x58\x6f','\x6d\x4a\x79\x58\x6e\x74\x61\x5a\x43\x4c\x6e\x52\x45\x75\x35\x33','\x6e\x5a\x47\x34\x6d\x4a\x61\x34\x75\x32\x6a\x48\x76\x66\x62\x52','\x6d\x4a\x4b\x57\x44\x4e\x6a\x67\x43\x32\x44\x52','\x6e\x30\x48\x6d\x43\x31\x6e\x6a\x41\x47'];a0_0xdcc9=function(){return _0x142a79;};return a0_0xdcc9();}function a0_0x9761(_0x26e380,_0x4762f9){_0x26e380=_0x26e380-0x86;var _0xdcc9a0=a0_0xdcc9();var _0x976174=_0xdcc9a0[_0x26e380];if(a0_0x9761['\x43\x57\x43\x62\x6a\x66']===undefined){var _0x1d857c=function(_0x380ef4){var _0x3f83e0='\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 _0x3d041b='',_0x1f3137='';for(var _0x2278e9=0x0,_0x3d1b03,_0x40a1f5,_0x9c62fe=0x0;_0x40a1f5=_0x380ef4['\x63\x68\x61\x72\x41\x74'](_0x9c62fe++);~_0x40a1f5&&(_0x3d1b03=_0x2278e9%0x4?_0x3d1b03*0x40+_0x40a1f5:_0x40a1f5,_0x2278e9++%0x4)?_0x3d041b+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3d1b03>>(-0x2*_0x2278e9&0x6)):0x0){_0x40a1f5=_0x3f83e0['\x69\x6e\x64\x65\x78\x4f\x66'](_0x40a1f5);}for(var _0x48d5c8=0x0,_0x3c0501=_0x3d041b['\x6c\x65\x6e\x67\x74\x68'];_0x48d5c8<_0x3c0501;_0x48d5c8++){_0x1f3137+='\x25'+('\x30\x30'+_0x3d041b['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x48d5c8)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1f3137);};a0_0x9761['\x65\x62\x61\x55\x44\x6f']=_0x1d857c,a0_0x9761['\x4a\x4d\x56\x4b\x64\x66']={},a0_0x9761['\x43\x57\x43\x62\x6a\x66']=!![];}var _0x540bba=_0xdcc9a0[0x0],_0x49467c=_0x26e380+_0x540bba,_0x275fa8=a0_0x9761['\x4a\x4d\x56\x4b\x64\x66'][_0x49467c];return!_0x275fa8?(_0x976174=a0_0x9761['\x65\x62\x61\x55\x44\x6f'](_0x976174),a0_0x9761['\x4a\x4d\x56\x4b\x64\x66'][_0x49467c]=_0x976174):_0x976174=_0x275fa8,_0x976174;}(function(_0xb32925,_0x596fd1){var _0x4f8183=a0_0x9761,_0x384c68=_0xb32925();while(!![]){try{var _0xefcb90=-parseInt(_0x4f8183(0x8b))/0x1+parseInt(_0x4f8183(0x86))/0x2+-parseInt(_0x4f8183(0x87))/0x3+parseInt(_0x4f8183(0x88))/0x4*(-parseInt(_0x4f8183(0x89))/0x5)+parseInt(_0x4f8183(0x90))/0x6*(parseInt(_0x4f8183(0x8f))/0x7)+parseInt(_0x4f8183(0x8d))/0x8*(-parseInt(_0x4f8183(0x8a))/0x9)+-parseInt(_0x4f8183(0x8e))/0xa*(-parseInt(_0x4f8183(0x8c))/0xb);if(_0xefcb90===_0x596fd1)break;else _0x384c68['push'](_0x384c68['shift']());}catch(_0x3d7845){_0x384c68['push'](_0x384c68['shift']());}}}(a0_0xdcc9,0x2ee9f));import{a as a0_0x3d041b,i as a0_0x1f3137,n as a0_0x2278e9,r as a0_0x3d1b03,t as a0_0x40a1f5}from'\x2e\x2e\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2d\x43\x52\x79\x62\x35\x65\x38\x46\x2e\x6a\x73';export{a0_0x3d041b as CollaborationClient,a0_0x40a1f5 as CollaborationFileBridge,a0_0x2278e9 as buildCollaborationDocumentId,a0_0x3d1b03 as normalizeCollaborationPath,a0_0x1f3137 as parseCollaborationDocumentId};
1
+ (function(_0x41e124,_0x40d07a){var _0x5a6f97=a0_0x3186,_0x207db4=_0x41e124();while(!![]){try{var _0x28b62b=-parseInt(_0x5a6f97(0x1e7))/0x1+parseInt(_0x5a6f97(0x1e2))/0x2+-parseInt(_0x5a6f97(0x1e6))/0x3+parseInt(_0x5a6f97(0x1df))/0x4*(-parseInt(_0x5a6f97(0x1e9))/0x5)+parseInt(_0x5a6f97(0x1e3))/0x6*(-parseInt(_0x5a6f97(0x1e1))/0x7)+parseInt(_0x5a6f97(0x1e4))/0x8*(parseInt(_0x5a6f97(0x1e0))/0x9)+-parseInt(_0x5a6f97(0x1e5))/0xa*(-parseInt(_0x5a6f97(0x1e8))/0xb);if(_0x28b62b===_0x40d07a)break;else _0x207db4['push'](_0x207db4['shift']());}catch(_0x5cfc7d){_0x207db4['push'](_0x207db4['shift']());}}}(a0_0x10ec,0x6efbb));function a0_0x10ec(){var _0x169116=['\x6d\x4a\x69\x32\x6d\x74\x79\x58\x6f\x75\x4c\x62\x41\x76\x6a\x54\x72\x61','\x6d\x5a\x79\x58\x6d\x74\x47\x31\x44\x66\x76\x51\x42\x76\x6a\x56','\x6d\x4a\x4b\x5a\x6d\x64\x72\x33\x74\x68\x66\x36\x77\x75\x30','\x6d\x74\x76\x33\x76\x33\x7a\x50\x42\x68\x71','\x6e\x5a\x43\x5a\x6d\x5a\x47\x57\x79\x4e\x4c\x76\x76\x4c\x50\x4a','\x6f\x77\x44\x53\x73\x4b\x39\x59\x45\x71','\x6d\x74\x71\x32\x6e\x74\x47\x33\x76\x67\x4c\x69\x75\x4e\x62\x51','\x6d\x74\x69\x5a\x6e\x4a\x47\x57\x6e\x4d\x50\x49\x79\x32\x76\x34\x76\x57','\x6d\x74\x69\x57\x76\x75\x39\x4d\x7a\x77\x6e\x31','\x6d\x5a\x75\x58\x6e\x4a\x47\x33\x6d\x4c\x6e\x75\x73\x4d\x72\x69\x41\x61','\x6e\x74\x79\x33\x6d\x66\x6e\x68\x7a\x30\x76\x6e\x44\x47'];a0_0x10ec=function(){return _0x169116;};return a0_0x10ec();}function a0_0x3186(_0x2613e1,_0x3c9ac0){_0x2613e1=_0x2613e1-0x1df;var _0x10ec7e=a0_0x10ec();var _0x3186a8=_0x10ec7e[_0x2613e1];if(a0_0x3186['\x6f\x63\x78\x76\x6e\x71']===undefined){var _0x1549ec=function(_0x154ce8){var _0x1fe3c9='\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 _0x3050a2='',_0x2e109e='';for(var _0x2502b8=0x0,_0xf1c4ab,_0xebbfd5,_0x259443=0x0;_0xebbfd5=_0x154ce8['\x63\x68\x61\x72\x41\x74'](_0x259443++);~_0xebbfd5&&(_0xf1c4ab=_0x2502b8%0x4?_0xf1c4ab*0x40+_0xebbfd5:_0xebbfd5,_0x2502b8++%0x4)?_0x3050a2+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0xf1c4ab>>(-0x2*_0x2502b8&0x6)):0x0){_0xebbfd5=_0x1fe3c9['\x69\x6e\x64\x65\x78\x4f\x66'](_0xebbfd5);}for(var _0x1cbf49=0x0,_0x501e68=_0x3050a2['\x6c\x65\x6e\x67\x74\x68'];_0x1cbf49<_0x501e68;_0x1cbf49++){_0x2e109e+='\x25'+('\x30\x30'+_0x3050a2['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1cbf49)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x2e109e);};a0_0x3186['\x67\x71\x75\x43\x43\x41']=_0x1549ec,a0_0x3186['\x77\x76\x46\x59\x74\x79']={},a0_0x3186['\x6f\x63\x78\x76\x6e\x71']=!![];}var _0x2adfd8=_0x10ec7e[0x0],_0x53f465=_0x2613e1+_0x2adfd8,_0x5d5cc1=a0_0x3186['\x77\x76\x46\x59\x74\x79'][_0x53f465];return!_0x5d5cc1?(_0x3186a8=a0_0x3186['\x67\x71\x75\x43\x43\x41'](_0x3186a8),a0_0x3186['\x77\x76\x46\x59\x74\x79'][_0x53f465]=_0x3186a8):_0x3186a8=_0x5d5cc1,_0x3186a8;}import{a as a0_0x3050a2,i as a0_0x2e109e,n as a0_0x2502b8,r as a0_0xf1c4ab,t as a0_0xebbfd5}from'\x2e\x2e\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2d\x43\x52\x79\x62\x35\x65\x38\x46\x2e\x6a\x73';export{a0_0x3050a2 as CollaborationClient,a0_0xebbfd5 as CollaborationFileBridge,a0_0x2502b8 as buildCollaborationDocumentId,a0_0xf1c4ab as normalizeCollaborationPath,a0_0x2e109e as parseCollaborationDocumentId};
@@ -1 +1 @@
1
- const a0_0x46120c=a0_0x5b00;(function(_0x1b89a0,_0x4be327){const _0x2a71c4=a0_0x5b00,_0xee0692=_0x1b89a0();while(!![]){try{const _0xb01e4b=-parseInt(_0x2a71c4(0x8b))/0x1*(parseInt(_0x2a71c4(0xc1))/0x2)+-parseInt(_0x2a71c4(0xa2))/0x3*(-parseInt(_0x2a71c4(0x86))/0x4)+parseInt(_0x2a71c4(0xc2))/0x5*(-parseInt(_0x2a71c4(0xa9))/0x6)+-parseInt(_0x2a71c4(0xa0))/0x7+parseInt(_0x2a71c4(0x94))/0x8+parseInt(_0x2a71c4(0xb4))/0x9*(parseInt(_0x2a71c4(0xbe))/0xa)+parseInt(_0x2a71c4(0xba))/0xb;if(_0xb01e4b===_0x4be327)break;else _0xee0692['push'](_0xee0692['shift']());}catch(_0x27464e){_0xee0692['push'](_0xee0692['shift']());}}}(a0_0x24aa,0x9df8a));import{f as a0_0x21b860,r as a0_0x1f068f,u as a0_0x1291ca}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x43\x6c\x6a\x69\x47\x52\x5f\x5f\x2e\x6a\x73';const DEFAULT_TIMEOUT_MS=0x7530;function normalizeBaseUrl(_0x118016){return _0x118016['\x72\x65\x70\x6c\x61\x63\x65'](/\/+$/,'');}var CollaborationClient=class{['\x62\x61\x73\x65\x55\x72\x6c'];[a0_0x46120c(0xbc)];['\x66\x65\x74\x63\x68\x49\x6d\x70\x6c'];[a0_0x46120c(0xc8)];constructor(_0x57a214){const _0x244c06=a0_0x46120c;this['\x62\x61\x73\x65\x55\x72\x6c']=normalizeBaseUrl(_0x57a214[_0x244c06(0x90)]),this[_0x244c06(0xbc)]=_0x57a214[_0x244c06(0xbc)]??DEFAULT_TIMEOUT_MS,this[_0x244c06(0x8c)]=_0x57a214[_0x244c06(0xa6)]??globalThis['\x66\x65\x74\x63\x68'][_0x244c06(0x84)](globalThis),this[_0x244c06(0xc8)]=_0x57a214[_0x244c06(0xc8)];}async['\x62\x6f\x6f\x74\x73\x74\x72\x61\x70'](_0x2cb33f){const _0x1e08b0=a0_0x46120c,_0x4e93d0={'\x50\x65\x42\x79\x57':'\x2f\x61\x70\x69\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2f\x62\x6f\x6f\x74\x73\x74\x72\x61\x70'};return this[_0x1e08b0(0x8d)](_0x4e93d0['\x50\x65\x42\x79\x57'],{'\x6d\x65\x74\x68\x6f\x64':_0x1e08b0(0x7f),'\x62\x6f\x64\x79':JSON[_0x1e08b0(0x9d)](_0x2cb33f)});}async[a0_0x46120c(0x91)](_0x108e57){const _0x3d3b82=a0_0x46120c,_0x67495a={'\x78\x62\x54\x42\x46':_0x3d3b82(0x93)};return this['\x72\x65\x71\x75\x65\x73\x74\x4a\x73\x6f\x6e'](_0x67495a[_0x3d3b82(0x9a)],{'\x6d\x65\x74\x68\x6f\x64':_0x3d3b82(0x7f),'\x62\x6f\x64\x79':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x108e57)});}async[a0_0x46120c(0xc0)](_0x42799a){const _0x2b8bc3=a0_0x46120c,_0x55191b={'\x49\x66\x43\x49\x56':_0x2b8bc3(0x7f)};return this[_0x2b8bc3(0x8d)]('\x2f\x61\x70\x69\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2f\x73\x6e\x61\x70\x73\x68\x6f\x74',{'\x6d\x65\x74\x68\x6f\x64':_0x55191b[_0x2b8bc3(0xb0)],'\x62\x6f\x64\x79':JSON[_0x2b8bc3(0x9d)](_0x42799a)});}async[a0_0x46120c(0x8d)](_0x2aebc0,_0x13f5c8){const _0x529acb=a0_0x46120c,_0x31b0b0={'\x71\x6f\x56\x49\x65':function(_0x39b359,_0x289ab5,_0x2015e3,_0x50edfb,_0x40a1e9){return _0x39b359(_0x289ab5,_0x2015e3,_0x50edfb,_0x40a1e9);},'\x43\x54\x4d\x50\x73':'\x63\x6f\x64\x65','\x41\x61\x70\x65\x47':function(_0x578136,_0xf31b10){return _0x578136 instanceof _0xf31b10;},'\x46\x5a\x64\x59\x73':function(_0x5bd5f7,_0x3a2194){return _0x5bd5f7(_0x3a2194);}},_0x4ba687=new AbortController(),_0x3e5cd2=setTimeout(()=>_0x4ba687[_0x529acb(0xc4)](),this[_0x529acb(0xbc)]);try{const _0x35b3dc=new Headers(await this[_0x529acb(0xb3)]());if(!_0x35b3dc[_0x529acb(0xc6)]('\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x54\x79\x70\x65'))_0x35b3dc[_0x529acb(0x97)](_0x529acb(0x6f),_0x529acb(0xad));const _0x1d0406=await this[_0x529acb(0x8c)](''+this[_0x529acb(0x90)]+_0x2aebc0,{..._0x13f5c8,'\x68\x65\x61\x64\x65\x72\x73':_0x35b3dc,'\x73\x69\x67\x6e\x61\x6c':_0x13f5c8[_0x529acb(0xc7)]??_0x4ba687['\x73\x69\x67\x6e\x61\x6c']});if(!_0x1d0406['\x6f\x6b']){const _0x588ea1=await _0x1d0406[_0x529acb(0x72)]();throw _0x31b0b0[_0x529acb(0xa3)](a0_0x21b860,_0x1d0406['\x73\x74\x61\x74\x75\x73'],_0x588ea1,{'\x6d\x65\x74\x68\x6f\x64':_0x13f5c8[_0x529acb(0xc9)],'\x70\x61\x74\x68':_0x2aebc0},_0x1d0406['\x68\x65\x61\x64\x65\x72\x73']);}return _0x1d0406[_0x529acb(0x71)]();}catch(_0x388110){if(_0x388110 instanceof Error&&_0x388110[_0x529acb(0x89)]===_0x529acb(0xbb))throw new a0_0x1291ca(this[_0x529acb(0xbc)]);if(_0x388110 instanceof Error&&_0x31b0b0[_0x529acb(0xb9)]in _0x388110)throw _0x388110;throw new a0_0x1f068f(_0x529acb(0xb7)+(_0x31b0b0[_0x529acb(0xb8)](_0x388110,Error)?_0x388110[_0x529acb(0x6e)]:String(_0x388110)),_0x388110 instanceof Error?_0x388110:void 0x0);}finally{_0x31b0b0[_0x529acb(0x80)](clearTimeout,_0x3e5cd2);}}async['\x72\x65\x73\x6f\x6c\x76\x65\x48\x65\x61\x64\x65\x72\x73'](){const _0xc2e2ff=a0_0x46120c,_0x62173d={'\x50\x41\x44\x50\x58':_0xc2e2ff(0x7c)};if(typeof this['\x68\x65\x61\x64\x65\x72\x73']===_0x62173d['\x50\x41\x44\x50\x58'])return this[_0xc2e2ff(0xc8)]();return this[_0xc2e2ff(0xc8)];}};const DOCUMENT_PREFIX=a0_0x46120c(0xbf),FILE_SEGMENT=a0_0x46120c(0x73);function assertValidWorkspaceId(_0x4f6368){const _0x3b399c=a0_0x46120c;if(!_0x4f6368)throw new Error('\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x49\x64\x20\x69\x73\x20\x72\x65\x71\x75\x69\x72\x65\x64');if(_0x4f6368[_0x3b399c(0x75)]('\x2f')||_0x4f6368[_0x3b399c(0x75)]('\x5c')||_0x4f6368[_0x3b399c(0x75)]('\x00'))throw new Error(_0x3b399c(0x85));}function normalizeCollaborationPath(_0x3efea8){const _0x4b401b=a0_0x46120c,_0x5b63cd={'\x51\x6a\x4c\x72\x4a':_0x4b401b(0x9b),'\x6b\x57\x41\x76\x6d':function(_0x369443,_0x5b691b){return _0x369443===_0x5b691b;},'\x4d\x5a\x43\x62\x42':function(_0x5c2568,_0x297ec8){return _0x5c2568===_0x297ec8;}};if(!_0x3efea8)throw new Error(_0x5b63cd[_0x4b401b(0x87)]);const _0x2db1ba=_0x3efea8[_0x4b401b(0xaa)](/\\/g,'\x2f')[_0x4b401b(0x70)]('\x2f')[_0x4b401b(0xcb)](_0x14da4e=>_0x14da4e[_0x4b401b(0xac)]>0x0&&_0x14da4e!=='\x2e');if(_0x5b63cd[_0x4b401b(0xb1)](_0x2db1ba[_0x4b401b(0xac)],0x0))throw new Error(_0x4b401b(0x76));for(const _0x1d95eb of _0x2db1ba){if(_0x5b63cd[_0x4b401b(0x83)](_0x1d95eb,'\x2e\x2e'))throw new Error('\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\x22\x2e\x2e\x22');if(_0x1d95eb[_0x4b401b(0x75)]('\x00'))throw new Error('\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');}return _0x2db1ba[_0x4b401b(0x6d)]('\x2f');}function buildCollaborationDocumentId(_0x42cdf4){const _0x2a26cd=a0_0x46120c,_0x1240ff={'\x6c\x74\x75\x63\x74':function(_0x33afa9,_0x5dada4){return _0x33afa9(_0x5dada4);}};_0x1240ff[_0x2a26cd(0x79)](assertValidWorkspaceId,_0x42cdf4[_0x2a26cd(0xb2)]);const _0x345bd6=normalizeCollaborationPath(_0x42cdf4[_0x2a26cd(0xc3)]);return''+DOCUMENT_PREFIX+_0x42cdf4[_0x2a26cd(0xb2)]+FILE_SEGMENT+_0x345bd6;}function parseCollaborationDocumentId(_0x3d3c84){const _0x3cc77e=a0_0x46120c,_0x5384c9={'\x7a\x48\x47\x41\x6d':function(_0x4ab753,_0x4ec1ee){return _0x4ab753===_0x4ec1ee;},'\x4a\x78\x7a\x52\x47':function(_0x1368a1,_0x3c8397){return _0x1368a1+_0x3c8397;},'\x75\x70\x6e\x4a\x55':function(_0x1d48c6,_0x5ad99f){return _0x1d48c6(_0x5ad99f);}};if(!_0x3d3c84['\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68'](DOCUMENT_PREFIX))return null;const _0x268ef1=_0x3d3c84[_0x3cc77e(0xa4)](FILE_SEGMENT,0xa);if(_0x5384c9['\x7a\x48\x47\x41\x6d'](_0x268ef1,-0x1))return null;const _0x154301=_0x3d3c84['\x73\x6c\x69\x63\x65'](0xa,_0x268ef1),_0x470e3c=_0x3d3c84[_0x3cc77e(0xbd)](_0x5384c9[_0x3cc77e(0x9f)](_0x268ef1,0x6));try{return _0x5384c9['\x75\x70\x6e\x4a\x55'](assertValidWorkspaceId,_0x154301),{'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x49\x64':_0x154301,'\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68':normalizeCollaborationPath(_0x470e3c)};}catch{return null;}}const DEFAULT_DEBOUNCE_MS=0x1f4,FILE_ORIGIN=a0_0x46120c(0x9c);function a0_0x5b00(_0x518579,_0x2d5018){_0x518579=_0x518579-0x6d;const _0x24aac9=a0_0x24aa();let _0x5b00f7=_0x24aac9[_0x518579];if(a0_0x5b00['\x72\x6d\x51\x78\x48\x78']===undefined){var _0x2e29da=function(_0x4c3401){const _0x18b42e='\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 _0x599c2d='',_0x95a216='';for(let _0x226cbd=0x0,_0x4fbe74,_0x54fc02,_0x2ccd02=0x0;_0x54fc02=_0x4c3401['\x63\x68\x61\x72\x41\x74'](_0x2ccd02++);~_0x54fc02&&(_0x4fbe74=_0x226cbd%0x4?_0x4fbe74*0x40+_0x54fc02:_0x54fc02,_0x226cbd++%0x4)?_0x599c2d+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x4fbe74>>(-0x2*_0x226cbd&0x6)):0x0){_0x54fc02=_0x18b42e['\x69\x6e\x64\x65\x78\x4f\x66'](_0x54fc02);}for(let _0x4e23af=0x0,_0x52b2d5=_0x599c2d['\x6c\x65\x6e\x67\x74\x68'];_0x4e23af<_0x52b2d5;_0x4e23af++){_0x95a216+='\x25'+('\x30\x30'+_0x599c2d['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x4e23af)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x95a216);};a0_0x5b00['\x78\x5a\x51\x44\x4a\x45']=_0x2e29da,a0_0x5b00['\x7a\x69\x5a\x71\x58\x63']={},a0_0x5b00['\x72\x6d\x51\x78\x48\x78']=!![];}const _0xf24a2c=_0x24aac9[0x0],_0x33f766=_0x518579+_0xf24a2c,_0x5682b6=a0_0x5b00['\x7a\x69\x5a\x71\x58\x63'][_0x33f766];return!_0x5682b6?(_0x5b00f7=a0_0x5b00['\x78\x5a\x51\x44\x4a\x45'](_0x5b00f7),a0_0x5b00['\x7a\x69\x5a\x71\x58\x63'][_0x33f766]=_0x5b00f7):_0x5b00f7=_0x5682b6,_0x5b00f7;}var CollaborationFileBridge=class{[a0_0x46120c(0xab)];[a0_0x46120c(0x77)];['\x61\x64\x61\x70\x74\x65\x72']=null;[a0_0x46120c(0x92)]=null;[a0_0x46120c(0x81)]=null;[a0_0x46120c(0xae)]=null;[a0_0x46120c(0x7d)]=![];['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68'];[a0_0x46120c(0xb5)]=null;constructor(_0x8ff1f5){const _0x3fccfa=a0_0x46120c;this['\x6f\x70\x74\x69\x6f\x6e\x73']=_0x8ff1f5,this[_0x3fccfa(0x78)]=_0x8ff1f5[_0x3fccfa(0xc3)],this[_0x3fccfa(0xab)]=_0x8ff1f5['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']??DEFAULT_DEBOUNCE_MS;}[a0_0x46120c(0x84)](_0x488c55){const _0x39a304=a0_0x46120c,_0x261a3f={'\x52\x44\x4e\x44\x69':function(_0x31f5c2,_0x52e6d7){return _0x31f5c2!==_0x52e6d7;},'\x76\x44\x45\x47\x41':function(_0x347347,_0x5d4043){return _0x347347===_0x5d4043;}};this[_0x39a304(0x82)](),this[_0x39a304(0x7d)]=![],this[_0x39a304(0x7a)]=_0x488c55,this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68']=this[_0x39a304(0x77)][_0x39a304(0xc3)],this[_0x39a304(0x92)]=_0x488c55[_0x39a304(0xa7)](_0x5c08eb=>{const _0x378401=_0x39a304;if(_0x5c08eb[_0x378401(0xcc)]===FILE_ORIGIN)return;if(_0x261a3f[_0x378401(0x99)](this[_0x378401(0xb5)],null)&&_0x261a3f[_0x378401(0xca)](_0x5c08eb[_0x378401(0x7e)],this[_0x378401(0xb5)]))return;this[_0x378401(0x9e)](_0x5c08eb[_0x378401(0x7e)]);}),this[_0x39a304(0x81)]=this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x39a304(0x95)](this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68'],_0xc52783=>{const _0x27f002=_0x39a304;this[_0x27f002(0xcd)](_0xc52783);});}async[a0_0x46120c(0xa5)](){const _0x464fb9=a0_0x46120c,_0x5e8b3a={'\x77\x61\x77\x57\x6e':function(_0x5ccaf6,_0x24bbd1){return _0x5ccaf6(_0x24bbd1);}};if(!this[_0x464fb9(0x7a)])return;this[_0x464fb9(0xae)]&&(_0x5e8b3a[_0x464fb9(0x8a)](clearTimeout,this[_0x464fb9(0xae)]),this[_0x464fb9(0xae)]=null);const _0x3502ca=this[_0x464fb9(0x7a)][_0x464fb9(0x74)]();await this['\x77\x72\x69\x74\x65'](_0x3502ca);}['\x67\x65\x74\x50\x61\x74\x68'](){const _0x1a77b9=a0_0x46120c;return this[_0x1a77b9(0x78)];}['\x64\x65\x73\x74\x72\x6f\x79'](){const _0x2e481c=a0_0x46120c,_0xa4ec8c={'\x7a\x75\x50\x63\x65':function(_0x3b0378,_0xe51f4d){return _0x3b0378(_0xe51f4d);}},_0x2e741b='\x36\x7c\x33\x7c\x31\x7c\x34\x7c\x30\x7c\x32\x7c\x35'[_0x2e481c(0x70)]('\x7c');let _0x59635b=0x0;while(!![]){switch(_0x2e741b[_0x59635b++]){case'\x30':this[_0x2e481c(0x81)]?.();continue;case'\x31':this[_0x2e481c(0x92)]?.();continue;case'\x32':this[_0x2e481c(0x81)]=null;continue;case'\x33':this[_0x2e481c(0xae)]&&(_0xa4ec8c['\x7a\x75\x50\x63\x65'](clearTimeout,this[_0x2e481c(0xae)]),this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']=null);continue;case'\x34':this[_0x2e481c(0x92)]=null;continue;case'\x35':this[_0x2e481c(0x7a)]=null;continue;case'\x36':this['\x64\x65\x73\x74\x72\x6f\x79\x65\x64']=!![];continue;}break;}}[a0_0x46120c(0x9e)](_0x27197f){const _0x4e78b9=a0_0x46120c,_0x257633={'\x52\x53\x67\x58\x58':function(_0x3e2a49,_0x1421ac){return _0x3e2a49(_0x1421ac);}};if(this[_0x4e78b9(0xae)])_0x257633[_0x4e78b9(0x88)](clearTimeout,this[_0x4e78b9(0xae)]);this[_0x4e78b9(0xae)]=setTimeout(()=>{const _0x221dd7=_0x4e78b9;this[_0x221dd7(0xae)]=null,this['\x77\x72\x69\x74\x65'](_0x27197f);},this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']);}async[a0_0x46120c(0x8e)](_0x2bca43){const _0x19753b=a0_0x46120c;if(this[_0x19753b(0x7d)])return;this[_0x19753b(0xb5)]=_0x2bca43,await this[_0x19753b(0x77)]['\x77\x72\x69\x74\x65\x46\x69\x6c\x65'](this[_0x19753b(0x78)],_0x2bca43);}['\x68\x61\x6e\x64\x6c\x65\x46\x69\x6c\x65\x45\x76\x65\x6e\x74'](_0x58f634){const _0x19f575=a0_0x46120c,_0x39f0bd={'\x63\x79\x4a\x6e\x4b':'\x34\x7c\x31\x7c\x30\x7c\x32\x7c\x33\x7c\x36\x7c\x35','\x54\x41\x49\x6b\x47':'\x72\x65\x6e\x61\x6d\x65\x64','\x4c\x70\x77\x52\x53':function(_0x2ea9a9,_0x4af1e0){return _0x2ea9a9!==_0x4af1e0;}},_0x25214a=_0x39f0bd['\x63\x79\x4a\x6e\x4b'][_0x19f575(0x70)]('\x7c');let _0x9924e4=0x0;while(!![]){switch(_0x25214a[_0x9924e4++]){case'\x30':if(_0x58f634[_0x19f575(0x98)]===_0x19f575(0x7b)){this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x19f575(0xa8)]?.(_0x58f634);return;}continue;case'\x31':if(_0x58f634[_0x19f575(0x98)]===_0x39f0bd[_0x19f575(0x8f)]&&_0x58f634[_0x19f575(0xb6)]){this[_0x19f575(0x78)]=_0x58f634['\x6e\x65\x78\x74\x50\x61\x74\x68'],this[_0x19f575(0x77)][_0x19f575(0x96)]?.(_0x58f634);return;}continue;case'\x32':if(_0x58f634[_0x19f575(0x98)]!==_0x19f575(0xa1)||typeof _0x58f634[_0x19f575(0x7e)]!==_0x19f575(0xaf))return;continue;case'\x33':if(_0x58f634[_0x19f575(0x7e)]===this[_0x19f575(0x7a)][_0x19f575(0x74)]())return;continue;case'\x34':if(!this['\x61\x64\x61\x70\x74\x65\x72']||this[_0x19f575(0x7d)])return;continue;case'\x35':this[_0x19f575(0x7a)][_0x19f575(0xc5)](_0x58f634[_0x19f575(0x7e)],{'\x6f\x72\x69\x67\x69\x6e':FILE_ORIGIN,'\x76\x65\x72\x73\x69\x6f\x6e':_0x58f634['\x76\x65\x72\x73\x69\x6f\x6e']});continue;case'\x36':if(_0x39f0bd['\x4c\x70\x77\x52\x53'](this['\x6c\x61\x73\x74\x57\x72\x69\x74\x74\x65\x6e\x43\x6f\x6e\x74\x65\x6e\x74'],null)&&_0x58f634[_0x19f575(0x7e)]===this[_0x19f575(0xb5)])return;continue;}break;}}};export{CollaborationClient as a,parseCollaborationDocumentId as i,buildCollaborationDocumentId as n,normalizeCollaborationPath as r,CollaborationFileBridge as t};function a0_0x24aa(){const _0x3e4b04=['\x75\x4c\x6e\x4e\x77\x66\x47','\x42\x4d\x66\x54\x7a\x71','\x44\x32\x66\x33\x76\x32\x34','\x6d\x5a\x6d\x35\x6d\x5a\x65\x35\x44\x68\x44\x4c\x7a\x67\x48\x51','\x7a\x4d\x76\x30\x79\x32\x48\x6a\x42\x78\x62\x53','\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x50\x5a\x42\x32\x34','\x44\x33\x6a\x50\x44\x67\x75','\x76\x65\x66\x6a\x41\x30\x43','\x79\x4d\x66\x5a\x7a\x76\x76\x59\x42\x61','\x43\x4d\x76\x4d\x43\x4d\x76\x5a\x41\x66\x72\x56\x41\x32\x76\x55','\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','\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','\x6e\x64\x71\x30\x6e\x64\x65\x57\x6e\x67\x6e\x62\x43\x76\x66\x74\x77\x71','\x43\x33\x76\x49\x43\x32\x6e\x59\x41\x77\x6a\x4c\x76\x67\x39\x67\x41\x77\x58\x4c\x72\x78\x7a\x4c\x42\x4e\x72\x5a','\x42\x32\x35\x67\x41\x77\x58\x4c\x75\x4d\x76\x55\x79\x77\x31\x4c\x7a\x61','\x43\x32\x76\x30','\x44\x68\x4c\x57\x7a\x71','\x75\x4b\x72\x6f\x72\x67\x4b','\x45\x67\x6a\x75\x71\x4b\x79','\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\x4e\x6a\x50\x7a\x67\x44\x4c\x6f\x4d\x7a\x50\x42\x67\x75','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x43\x32\x6e\x4f\x7a\x77\x72\x31\x42\x67\x76\x78\x43\x4d\x4c\x30\x7a\x71','\x73\x4e\x48\x36\x75\x4b\x43','\x6e\x5a\x79\x32\x6e\x4a\x79\x32\x6e\x4b\x4c\x30\x76\x66\x66\x74\x74\x57','\x44\x78\x62\x4b\x79\x78\x72\x4c\x7a\x61','\x6d\x74\x71\x58\x6f\x74\x6d\x32\x7a\x77\x72\x6b\x7a\x4b\x6a\x4e','\x43\x77\x39\x77\x73\x77\x75','\x41\x77\x35\x4b\x7a\x78\x48\x70\x7a\x47','\x7a\x4d\x58\x31\x43\x32\x47','\x7a\x4d\x76\x30\x79\x32\x47','\x43\x33\x76\x49\x43\x32\x6e\x59\x41\x77\x6a\x4c','\x42\x32\x35\x67\x41\x77\x58\x4c\x72\x67\x76\x53\x7a\x78\x72\x4c\x7a\x61','\x6f\x74\x4b\x32\x73\x77\x6e\x72\x41\x31\x7a\x53','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x79\x78\x62\x57\x42\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x56\x41\x4e\x6e\x56\x42\x47','\x43\x67\x76\x55\x7a\x67\x4c\x55\x7a\x31\x44\x59\x41\x78\x72\x4c\x76\x67\x4c\x54\x7a\x78\x69','\x43\x33\x72\x59\x41\x77\x35\x4e','\x73\x77\x7a\x64\x73\x76\x79','\x41\x31\x44\x62\x44\x4d\x30','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71','\x43\x4d\x76\x5a\x42\x32\x58\x32\x7a\x75\x48\x4c\x79\x77\x72\x4c\x43\x4e\x6d','\x6d\x74\x6d\x5a\x6f\x74\x6a\x64\x43\x32\x6a\x51\x73\x30\x43','\x42\x67\x66\x5a\x44\x66\x44\x59\x41\x78\x72\x30\x7a\x77\x35\x64\x42\x32\x35\x30\x7a\x77\x35\x30','\x42\x4d\x76\x34\x44\x66\x62\x48\x44\x67\x47','\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','\x71\x77\x66\x57\x7a\x75\x43','\x71\x31\x72\x6e\x75\x68\x6d','\x6d\x74\x79\x33\x6e\x64\x4b\x31\x6d\x64\x6a\x52\x73\x68\x50\x6e\x74\x77\x4b','\x71\x77\x6a\x56\x43\x4e\x72\x66\x43\x4e\x6a\x56\x43\x47','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x43\x32\x58\x50\x79\x32\x75','\x6d\x74\x71\x35\x6d\x67\x48\x51\x74\x33\x48\x4b\x76\x71','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6f\x47','\x43\x32\x66\x32\x7a\x76\x6e\x55\x79\x78\x62\x5a\x41\x67\x39\x30','\x6e\x4d\x50\x72\x71\x33\x66\x55\x73\x61','\x6d\x5a\x47\x31\x76\x77\x39\x77\x74\x77\x66\x6b','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f','\x79\x77\x6a\x56\x43\x4e\x71','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x75\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x71','\x41\x67\x66\x5a','\x43\x32\x4c\x4e\x42\x4d\x66\x53','\x41\x67\x76\x48\x7a\x67\x76\x59\x43\x57','\x42\x77\x76\x30\x41\x67\x39\x4b','\x44\x4b\x72\x66\x72\x30\x65','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x42\x33\x6a\x50\x7a\x32\x4c\x55','\x41\x67\x66\x55\x7a\x67\x58\x4c\x72\x4d\x4c\x53\x7a\x75\x76\x32\x7a\x77\x35\x30','\x41\x4d\x39\x50\x42\x47','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x71\x32\x39\x55\x44\x67\x76\x55\x44\x63\x31\x75\x45\x78\x62\x4c','\x43\x33\x62\x53\x41\x78\x71','\x41\x4e\x6e\x56\x42\x47','\x44\x67\x76\x34\x44\x61','\x6f\x4d\x7a\x50\x42\x67\x75\x36','\x7a\x32\x76\x30\x71\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\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','\x42\x33\x62\x30\x41\x77\x39\x55\x43\x57','\x79\x4d\x39\x31\x42\x4d\x72\x71\x79\x78\x72\x4f','\x42\x68\x72\x31\x79\x33\x71','\x79\x77\x72\x48\x43\x68\x72\x4c\x43\x47','\x7a\x67\x76\x53\x7a\x78\x72\x4c\x7a\x61','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x77\x76\x4b','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x75\x65\x39\x74\x76\x61','\x72\x4c\x50\x4b\x77\x78\x6d','\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','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x71','\x74\x76\x50\x64\x79\x4b\x69','\x79\x4d\x4c\x55\x7a\x61','\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','\x6e\x64\x62\x4d\x41\x67\x4c\x6a\x45\x65\x75','\x75\x77\x50\x6d\x43\x4b\x4f'];a0_0x24aa=function(){return _0x3e4b04;};return a0_0x24aa();}
1
+ const a0_0x3a8aeb=a0_0x2527;(function(_0x2c7503,_0x5a1736){const _0x36732a=a0_0x2527,_0x2e509c=_0x2c7503();while(!![]){try{const _0x44b1da=parseInt(_0x36732a(0xbd))/0x1+parseInt(_0x36732a(0xfc))/0x2+-parseInt(_0x36732a(0x10a))/0x3*(-parseInt(_0x36732a(0xbf))/0x4)+-parseInt(_0x36732a(0xd9))/0x5*(parseInt(_0x36732a(0xc9))/0x6)+-parseInt(_0x36732a(0xce))/0x7*(parseInt(_0x36732a(0xbb))/0x8)+parseInt(_0x36732a(0xf3))/0x9*(parseInt(_0x36732a(0xc0))/0xa)+-parseInt(_0x36732a(0xdd))/0xb*(parseInt(_0x36732a(0xfe))/0xc);if(_0x44b1da===_0x5a1736)break;else _0x2e509c['push'](_0x2e509c['shift']());}catch(_0x5e11f3){_0x2e509c['push'](_0x2e509c['shift']());}}}(a0_0x542f,0xaadcc));import{f as a0_0x36f2d2,r as a0_0x5a6f18,u as a0_0x420fef}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x43\x6c\x6a\x69\x47\x52\x5f\x5f\x2e\x6a\x73';const DEFAULT_TIMEOUT_MS=0x7530;function normalizeBaseUrl(_0x579bf7){return _0x579bf7['\x72\x65\x70\x6c\x61\x63\x65'](/\/+$/,'');}var CollaborationClient=class{[a0_0x3a8aeb(0xcb)];[a0_0x3a8aeb(0xb8)];['\x66\x65\x74\x63\x68\x49\x6d\x70\x6c'];['\x68\x65\x61\x64\x65\x72\x73'];constructor(_0x2f32d0){const _0x50b60e=a0_0x3a8aeb,_0x59e4cf={'\x41\x5a\x6a\x4a\x4c':function(_0x393498,_0x16ca58){return _0x393498(_0x16ca58);}};this[_0x50b60e(0xcb)]=_0x59e4cf[_0x50b60e(0xec)](normalizeBaseUrl,_0x2f32d0[_0x50b60e(0xcb)]),this['\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73']=_0x2f32d0[_0x50b60e(0xb8)]??DEFAULT_TIMEOUT_MS,this['\x66\x65\x74\x63\x68\x49\x6d\x70\x6c']=_0x2f32d0['\x66\x65\x74\x63\x68']??globalThis['\x66\x65\x74\x63\x68'][_0x50b60e(0xd6)](globalThis),this[_0x50b60e(0xdf)]=_0x2f32d0[_0x50b60e(0xdf)];}async[a0_0x3a8aeb(0x107)](_0x3c7e27){const _0x56bb53=a0_0x3a8aeb;return this[_0x56bb53(0xb2)](_0x56bb53(0xd8),{'\x6d\x65\x74\x68\x6f\x64':'\x50\x4f\x53\x54','\x62\x6f\x64\x79':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x3c7e27)});}async[a0_0x3a8aeb(0xd4)](_0x4d979e){const _0x434615=a0_0x3a8aeb,_0x28ba48={'\x47\x75\x41\x57\x4f':_0x434615(0xef),'\x63\x61\x6c\x79\x75':_0x434615(0xb1)};return this[_0x434615(0xb2)](_0x28ba48[_0x434615(0xc5)],{'\x6d\x65\x74\x68\x6f\x64':_0x28ba48[_0x434615(0x104)],'\x62\x6f\x64\x79':JSON[_0x434615(0x103)](_0x4d979e)});}async[a0_0x3a8aeb(0x109)](_0x1a2702){const _0x4fa3fc=a0_0x3a8aeb,_0x185b5e={'\x6c\x4b\x57\x50\x78':'\x2f\x61\x70\x69\x2f\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x2f\x73\x6e\x61\x70\x73\x68\x6f\x74'};return this[_0x4fa3fc(0xb2)](_0x185b5e[_0x4fa3fc(0xcc)],{'\x6d\x65\x74\x68\x6f\x64':_0x4fa3fc(0xb1),'\x62\x6f\x64\x79':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x1a2702)});}async[a0_0x3a8aeb(0xb2)](_0x39fad2,_0x1f90d9){const _0xeef43a=a0_0x3a8aeb,_0x31dd14={'\x54\x51\x56\x46\x6e':_0xeef43a(0x112),'\x4c\x54\x67\x63\x76':function(_0xdc221d,_0x2eb2a3,_0x1cd226,_0x3fdf34,_0x7ef68a){return _0xdc221d(_0x2eb2a3,_0x1cd226,_0x3fdf34,_0x7ef68a);},'\x46\x4d\x46\x6d\x51':_0xeef43a(0xf5),'\x48\x42\x6a\x4b\x65':function(_0x1ce614,_0x1f876d){return _0x1ce614(_0x1f876d);}},_0x295b8a=new AbortController(),_0x489c1f=setTimeout(()=>_0x295b8a[_0xeef43a(0xf8)](),this[_0xeef43a(0xb8)]);try{const _0x38c5b3=new Headers(await this['\x72\x65\x73\x6f\x6c\x76\x65\x48\x65\x61\x64\x65\x72\x73']());if(!_0x38c5b3[_0xeef43a(0x108)](_0x31dd14[_0xeef43a(0xc7)]))_0x38c5b3[_0xeef43a(0xc4)](_0xeef43a(0x112),_0xeef43a(0xb4));const _0x45617f=await this[_0xeef43a(0xe1)](''+this['\x62\x61\x73\x65\x55\x72\x6c']+_0x39fad2,{..._0x1f90d9,'\x68\x65\x61\x64\x65\x72\x73':_0x38c5b3,'\x73\x69\x67\x6e\x61\x6c':_0x1f90d9[_0xeef43a(0x10d)]??_0x295b8a[_0xeef43a(0x10d)]});if(!_0x45617f['\x6f\x6b']){const _0x1aafc4=await _0x45617f['\x74\x65\x78\x74']();throw _0x31dd14['\x4c\x54\x67\x63\x76'](a0_0x36f2d2,_0x45617f[_0xeef43a(0xde)],_0x1aafc4,{'\x6d\x65\x74\x68\x6f\x64':_0x1f90d9['\x6d\x65\x74\x68\x6f\x64'],'\x70\x61\x74\x68':_0x39fad2},_0x45617f[_0xeef43a(0xdf)]);}return _0x45617f[_0xeef43a(0xe5)]();}catch(_0x135e36){if(_0x135e36 instanceof Error&&_0x135e36[_0xeef43a(0xc8)]===_0xeef43a(0xcf))throw new a0_0x420fef(this[_0xeef43a(0xb8)]);if(_0x135e36 instanceof Error&&_0x31dd14[_0xeef43a(0xb7)]in _0x135e36)throw _0x135e36;throw new a0_0x5a6f18('\x46\x61\x69\x6c\x65\x64\x20\x74\x6f\x20\x63\x6f\x6e\x6e\x65\x63\x74\x20\x74\x6f\x20\x63\x6f\x6c\x6c\x61\x62\x6f\x72\x61\x74\x69\x6f\x6e\x20\x41\x50\x49\x3a\x20'+(_0x135e36 instanceof Error?_0x135e36[_0xeef43a(0xdc)]:_0x31dd14['\x48\x42\x6a\x4b\x65'](String,_0x135e36)),_0x135e36 instanceof Error?_0x135e36:void 0x0);}finally{clearTimeout(_0x489c1f);}}async[a0_0x3a8aeb(0x100)](){const _0x1e228f=a0_0x3a8aeb,_0x299180={'\x65\x4b\x5a\x6d\x56':'\x66\x75\x6e\x63\x74\x69\x6f\x6e'};if(typeof this[_0x1e228f(0xdf)]===_0x299180['\x65\x4b\x5a\x6d\x56'])return this[_0x1e228f(0xdf)]();return this['\x68\x65\x61\x64\x65\x72\x73'];}};function a0_0x2527(_0x51d5b3,_0x39787a){_0x51d5b3=_0x51d5b3-0xb1;const _0x542f7a=a0_0x542f();let _0x25277d=_0x542f7a[_0x51d5b3];if(a0_0x2527['\x6e\x59\x4c\x4c\x64\x44']===undefined){var _0x176991=function(_0x191ac3){const _0x142d77='\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 _0x509e4d='',_0x271803='';for(let _0x3c9881=0x0,_0x3e95be,_0x34b555,_0x298c3c=0x0;_0x34b555=_0x191ac3['\x63\x68\x61\x72\x41\x74'](_0x298c3c++);~_0x34b555&&(_0x3e95be=_0x3c9881%0x4?_0x3e95be*0x40+_0x34b555:_0x34b555,_0x3c9881++%0x4)?_0x509e4d+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3e95be>>(-0x2*_0x3c9881&0x6)):0x0){_0x34b555=_0x142d77['\x69\x6e\x64\x65\x78\x4f\x66'](_0x34b555);}for(let _0x2d1a3d=0x0,_0x573374=_0x509e4d['\x6c\x65\x6e\x67\x74\x68'];_0x2d1a3d<_0x573374;_0x2d1a3d++){_0x271803+='\x25'+('\x30\x30'+_0x509e4d['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2d1a3d)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x271803);};a0_0x2527['\x6c\x76\x6b\x79\x61\x58']=_0x176991,a0_0x2527['\x77\x62\x6a\x54\x4a\x4e']={},a0_0x2527['\x6e\x59\x4c\x4c\x64\x44']=!![];}const _0xd3dc6b=_0x542f7a[0x0],_0x37629e=_0x51d5b3+_0xd3dc6b,_0x33dd89=a0_0x2527['\x77\x62\x6a\x54\x4a\x4e'][_0x37629e];return!_0x33dd89?(_0x25277d=a0_0x2527['\x6c\x76\x6b\x79\x61\x58'](_0x25277d),a0_0x2527['\x77\x62\x6a\x54\x4a\x4e'][_0x37629e]=_0x25277d):_0x25277d=_0x33dd89,_0x25277d;}const DOCUMENT_PREFIX=a0_0x3a8aeb(0x10f),FILE_SEGMENT=a0_0x3a8aeb(0xba);function assertValidWorkspaceId(_0x2458b1){const _0x4c6f8c=a0_0x3a8aeb,_0x2df297={'\x61\x71\x5a\x4f\x72':_0x4c6f8c(0xe2)};if(!_0x2458b1)throw new Error(_0x2df297[_0x4c6f8c(0xc3)]);if(_0x2458b1[_0x4c6f8c(0xe6)]('\x2f')||_0x2458b1[_0x4c6f8c(0xe6)]('\x5c')||_0x2458b1[_0x4c6f8c(0xe6)]('\x00'))throw new Error(_0x4c6f8c(0xbc));}function a0_0x542f(){const _0x491a6b=['\x79\x32\x39\x4b\x7a\x71','\x79\x77\x72\x48\x43\x68\x72\x4c\x43\x47','\x79\x4d\x39\x31\x42\x4d\x72\x71\x79\x78\x72\x4f','\x79\x77\x6a\x56\x43\x4e\x71','\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','\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','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6d\x5a\x61\x5a\x6f\x64\x61\x34\x44\x31\x72\x52\x42\x4d\x44\x53','\x73\x66\x62\x55\x76\x65\x4f','\x6d\x5a\x69\x32\x6d\x74\x7a\x4e\x43\x4b\x39\x64\x74\x77\x65','\x72\x4e\x72\x5a\x7a\x76\x6d','\x43\x4d\x76\x5a\x42\x32\x58\x32\x7a\x75\x48\x4c\x79\x77\x72\x4c\x43\x4e\x6d','\x45\x4c\x6e\x67\x73\x4b\x34','\x42\x33\x62\x30\x41\x77\x39\x55\x43\x57','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x79\x32\x66\x53\x45\x78\x75','\x44\x33\x6a\x50\x44\x67\x76\x67\x41\x77\x58\x4c','\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\x42\x4e\x76\x53\x42\x63\x62\x49\x45\x78\x72\x4c\x43\x57','\x79\x4d\x39\x56\x44\x68\x6e\x30\x43\x4d\x66\x57','\x41\x67\x66\x5a','\x43\x32\x66\x32\x7a\x76\x6e\x55\x79\x78\x62\x5a\x41\x67\x39\x30','\x6e\x5a\x47\x35\x6d\x30\x76\x73\x76\x33\x48\x71\x77\x71','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x43\x67\x76\x55\x7a\x67\x4c\x55\x7a\x31\x44\x59\x41\x78\x72\x4c\x76\x67\x4c\x54\x7a\x78\x69','\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\x4c\x5a\x69\x68\x6a\x4c\x43\x78\x76\x50\x43\x4d\x76\x4b','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6f\x47','\x6d\x4e\x57\x5a\x46\x64\x62\x38\x6e\x68\x57\x31\x46\x64\x7a\x38\x6d\x71','\x71\x31\x4c\x64\x71\x4b\x71','\x71\x32\x39\x55\x44\x67\x76\x55\x44\x63\x31\x75\x45\x78\x62\x4c','\x75\x65\x39\x74\x76\x61','\x43\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x50\x5a\x42\x32\x34','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x73\x77\x71','\x79\x78\x62\x57\x42\x67\x4c\x4a\x79\x78\x72\x50\x42\x32\x34\x56\x41\x4e\x6e\x56\x42\x47','\x42\x32\x35\x67\x41\x77\x58\x4c\x72\x67\x76\x53\x7a\x78\x72\x4c\x7a\x61','\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','\x72\x4b\x31\x67\x42\x76\x65','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x65\x31\x5a','\x7a\x67\x76\x53\x7a\x78\x72\x4c\x7a\x61','\x6f\x4d\x7a\x50\x42\x67\x75\x36','\x6d\x74\x7a\x48\x42\x68\x44\x6e\x75\x67\x79','\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','\x6d\x74\x61\x31\x6d\x5a\x43\x31\x6d\x33\x50\x4a\x45\x65\x72\x5a\x72\x47','\x71\x77\x31\x59\x77\x77\x75','\x6e\x64\x71\x57\x73\x65\x72\x52\x42\x67\x76\x4a','\x6d\x74\x62\x56\x7a\x65\x6e\x6e\x75\x4b\x75','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x71','\x43\x33\x62\x53\x41\x78\x71','\x79\x78\x66\x41\x74\x33\x69','\x43\x32\x76\x30','\x72\x33\x76\x62\x76\x30\x38','\x43\x32\x6e\x4f\x7a\x77\x72\x31\x42\x67\x76\x78\x43\x4d\x4c\x30\x7a\x71','\x76\x66\x66\x77\x72\x4d\x34','\x42\x4d\x66\x54\x7a\x71','\x6d\x4a\x43\x58\x6e\x64\x43\x57\x41\x4c\x7a\x5a\x7a\x68\x7a\x33','\x43\x32\x58\x50\x79\x32\x75','\x79\x4d\x66\x5a\x7a\x76\x76\x59\x42\x61','\x42\x65\x54\x78\x75\x68\x47','\x43\x33\x76\x49\x43\x32\x6e\x59\x41\x77\x6a\x4c','\x6d\x4a\x47\x34\x6e\x74\x4b\x32\x42\x31\x4c\x6f\x45\x68\x72\x77','\x71\x77\x6a\x56\x43\x4e\x72\x66\x43\x4e\x6a\x56\x43\x47','\x7a\x32\x76\x30\x75\x67\x66\x30\x41\x61','\x7a\x32\x76\x30\x71\x32\x39\x55\x44\x67\x76\x55\x44\x61','\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','\x41\x4d\x39\x50\x42\x47','\x43\x4d\x76\x4d\x43\x4d\x76\x5a\x41\x66\x72\x56\x41\x32\x76\x55','\x44\x68\x4c\x57\x7a\x71','\x79\x4d\x4c\x55\x7a\x61','\x43\x33\x72\x59\x41\x77\x35\x4e','\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','\x6d\x74\x76\x6b\x73\x33\x72\x62\x74\x66\x69','\x44\x78\x62\x4b\x79\x78\x72\x4c\x7a\x61','\x7a\x67\x76\x5a\x44\x68\x6a\x56\x45\x77\x76\x4b','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x6d\x4a\x75\x58\x6f\x76\x6a\x75\x74\x68\x50\x66\x41\x71','\x43\x33\x72\x48\x44\x68\x76\x5a','\x41\x67\x76\x48\x7a\x67\x76\x59\x43\x57','\x72\x32\x39\x70\x75\x66\x79','\x7a\x4d\x76\x30\x79\x32\x48\x6a\x42\x78\x62\x53','\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','\x79\x4e\x6a\x50\x7a\x67\x44\x4c\x6f\x4d\x7a\x50\x42\x67\x75','\x44\x33\x6a\x50\x44\x67\x75','\x41\x4e\x6e\x56\x42\x47','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x43\x4d\x76\x53\x79\x78\x72\x50\x44\x4d\x76\x71\x79\x78\x72\x4f','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x42\x67\x66\x5a\x44\x66\x44\x59\x41\x78\x72\x30\x7a\x77\x35\x64\x42\x32\x35\x30\x7a\x77\x35\x30','\x76\x32\x31\x78\x76\x4c\x69','\x71\x76\x50\x51\x73\x4b\x57','\x42\x32\x35\x67\x41\x77\x58\x4c\x75\x4d\x76\x55\x79\x77\x31\x4c\x7a\x61','\x7a\x4d\x58\x31\x43\x32\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\x33\x72\x56\x41\x32\x76\x55','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x43\x76\x72\x77\x71\x78\x75','\x6e\x64\x61\x34\x6e\x74\x47\x59\x41\x76\x66\x68\x43\x65\x31\x49','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71'];a0_0x542f=function(){return _0x491a6b;};return a0_0x542f();}function normalizeCollaborationPath(_0x42c2d2){const _0x121997=a0_0x3a8aeb,_0x4a1883={'\x71\x54\x56\x41\x75':_0x121997(0x10e),'\x6d\x61\x44\x45\x52':function(_0x4c7b42,_0x7d55ae){return _0x4c7b42===_0x7d55ae;},'\x46\x74\x73\x65\x53':_0x121997(0xd2),'\x7a\x53\x46\x4a\x4e':_0x121997(0x106)};if(!_0x42c2d2)throw new Error(_0x4a1883[_0x121997(0xf2)]);const _0x363617=_0x42c2d2[_0x121997(0xf4)](/\\/g,'\x2f')['\x73\x70\x6c\x69\x74']('\x2f')[_0x121997(0xe7)](_0x3ddfa6=>_0x3ddfa6[_0x121997(0xfb)]>0x0&&_0x3ddfa6!=='\x2e');if(_0x4a1883['\x6d\x61\x44\x45\x52'](_0x363617[_0x121997(0xfb)],0x0))throw new Error(_0x4a1883[_0x121997(0xff)]);for(const _0x568e51 of _0x363617){if(_0x568e51==='\x2e\x2e')throw new Error(_0x121997(0xf9));if(_0x568e51[_0x121997(0xe6)]('\x00'))throw new Error(_0x4a1883[_0x121997(0x101)]);}return _0x363617[_0x121997(0xd3)]('\x2f');}function buildCollaborationDocumentId(_0x469164){const _0x15e6b0=a0_0x3a8aeb;assertValidWorkspaceId(_0x469164[_0x15e6b0(0xb3)]);const _0x37f41e=normalizeCollaborationPath(_0x469164[_0x15e6b0(0xe8)]);return''+DOCUMENT_PREFIX+_0x469164['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x49\x64']+FILE_SEGMENT+_0x37f41e;}function parseCollaborationDocumentId(_0x5d97fe){const _0x288117=a0_0x3a8aeb,_0x23e288={'\x57\x6d\x57\x56\x52':function(_0x437f5d,_0x5385b2){return _0x437f5d(_0x5385b2);}};if(!_0x5d97fe[_0x288117(0x10b)](DOCUMENT_PREFIX))return null;const _0x35c268=_0x5d97fe['\x69\x6e\x64\x65\x78\x4f\x66'](FILE_SEGMENT,0xa);if(_0x35c268===-0x1)return null;const _0x166999=_0x5d97fe[_0x288117(0xca)](0xa,_0x35c268),_0x5257dd=_0x5d97fe[_0x288117(0xca)](_0x35c268+0x6);try{return assertValidWorkspaceId(_0x166999),{'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x49\x64':_0x166999,'\x72\x65\x6c\x61\x74\x69\x76\x65\x50\x61\x74\x68':_0x23e288[_0x288117(0xeb)](normalizeCollaborationPath,_0x5257dd)};}catch{return null;}}const DEFAULT_DEBOUNCE_MS=0x1f4,FILE_ORIGIN=a0_0x3a8aeb(0xe3);var CollaborationFileBridge=class{[a0_0x3a8aeb(0xe9)];[a0_0x3a8aeb(0x102)];['\x61\x64\x61\x70\x74\x65\x72']=null;[a0_0x3a8aeb(0xfa)]=null;[a0_0x3a8aeb(0xb6)]=null;[a0_0x3a8aeb(0x10c)]=null;[a0_0x3a8aeb(0xdb)]=![];[a0_0x3a8aeb(0xf7)];[a0_0x3a8aeb(0xea)]=null;constructor(_0x2a9011){const _0x59e17a=a0_0x3a8aeb;this[_0x59e17a(0x102)]=_0x2a9011,this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68']=_0x2a9011[_0x59e17a(0xe8)],this[_0x59e17a(0xe9)]=_0x2a9011['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']??DEFAULT_DEBOUNCE_MS;}[a0_0x3a8aeb(0xd6)](_0x9cbb0d){const _0x451416=a0_0x3a8aeb,_0x34049c={'\x43\x59\x43\x42\x44':function(_0x533fa2,_0x2d4bf5){return _0x533fa2===_0x2d4bf5;}};this[_0x451416(0xc1)](),this[_0x451416(0xdb)]=![],this[_0x451416(0xf6)]=_0x9cbb0d,this[_0x451416(0xf7)]=this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x451416(0xe8)],this[_0x451416(0xfa)]=_0x9cbb0d[_0x451416(0xcd)](_0x55843a=>{const _0x4e1dcf=_0x451416;if(_0x55843a['\x6f\x72\x69\x67\x69\x6e']===FILE_ORIGIN)return;if(this[_0x4e1dcf(0xea)]!==null&&_0x34049c[_0x4e1dcf(0x111)](_0x55843a[_0x4e1dcf(0xf0)],this[_0x4e1dcf(0xea)]))return;this[_0x4e1dcf(0xc6)](_0x55843a['\x63\x6f\x6e\x74\x65\x6e\x74']);}),this[_0x451416(0xb6)]=this[_0x451416(0x102)]['\x73\x75\x62\x73\x63\x72\x69\x62\x65\x54\x6f\x46\x69\x6c\x65\x45\x76\x65\x6e\x74\x73'](this[_0x451416(0xf7)],_0x5cab7e=>{this['\x68\x61\x6e\x64\x6c\x65\x46\x69\x6c\x65\x45\x76\x65\x6e\x74'](_0x5cab7e);});}async[a0_0x3a8aeb(0xee)](){const _0x2e9452=a0_0x3a8aeb,_0x47e1fe={'\x47\x6f\x4f\x50\x56':function(_0x43fedb,_0x466a50){return _0x43fedb(_0x466a50);}};if(!this[_0x2e9452(0xf6)])return;this[_0x2e9452(0x10c)]&&(_0x47e1fe[_0x2e9452(0xe0)](clearTimeout,this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']),this[_0x2e9452(0x10c)]=null);const _0x1b123d=this[_0x2e9452(0xf6)]['\x67\x65\x74\x43\x6f\x6e\x74\x65\x6e\x74']();await this['\x77\x72\x69\x74\x65'](_0x1b123d);}[a0_0x3a8aeb(0xd0)](){return this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68'];}[a0_0x3a8aeb(0xc1)](){const _0x44ed5d=a0_0x3a8aeb,_0x519b84=_0x44ed5d(0x110)[_0x44ed5d(0xc2)]('\x7c');let _0x2969ad=0x0;while(!![]){switch(_0x519b84[_0x2969ad++]){case'\x30':this['\x75\x6e\x73\x75\x62\x73\x63\x72\x69\x62\x65\x44\x6f\x63\x75\x6d\x65\x6e\x74']?.();continue;case'\x31':this[_0x44ed5d(0xf6)]=null;continue;case'\x32':this['\x64\x65\x73\x74\x72\x6f\x79\x65\x64']=!![];continue;case'\x33':this[_0x44ed5d(0x10c)]&&(clearTimeout(this[_0x44ed5d(0x10c)]),this[_0x44ed5d(0x10c)]=null);continue;case'\x34':this[_0x44ed5d(0xfa)]=null;continue;case'\x35':this[_0x44ed5d(0xb6)]?.();continue;case'\x36':this[_0x44ed5d(0xb6)]=null;continue;}break;}}[a0_0x3a8aeb(0xc6)](_0x3bc763){const _0x28c5f3=a0_0x3a8aeb,_0x4424e8={'\x41\x6d\x72\x59\x65':function(_0x873e4d,_0x70f7d1,_0x49ca7e){return _0x873e4d(_0x70f7d1,_0x49ca7e);}};if(this[_0x28c5f3(0x10c)])clearTimeout(this[_0x28c5f3(0x10c)]);this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']=_0x4424e8[_0x28c5f3(0xbe)](setTimeout,()=>{const _0x2db74e=_0x28c5f3;this['\x70\x65\x6e\x64\x69\x6e\x67\x57\x72\x69\x74\x65\x54\x69\x6d\x65\x72']=null,this[_0x2db74e(0xe4)](_0x3bc763);},this[_0x28c5f3(0xe9)]);}async['\x77\x72\x69\x74\x65'](_0x5c7b27){const _0x5e15e5=a0_0x3a8aeb;if(this[_0x5e15e5(0xdb)])return;this[_0x5e15e5(0xea)]=_0x5c7b27,await this[_0x5e15e5(0x102)][_0x5e15e5(0x105)](this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68'],_0x5c7b27);}['\x68\x61\x6e\x64\x6c\x65\x46\x69\x6c\x65\x45\x76\x65\x6e\x74'](_0x4aff8){const _0x1953cd=a0_0x3a8aeb,_0x1f00ef={'\x50\x4b\x74\x58\x4f':function(_0xa4c9cb,_0x495ae8){return _0xa4c9cb===_0x495ae8;},'\x64\x74\x4c\x66\x77':_0x1953cd(0xda),'\x48\x50\x6e\x54\x4a':function(_0x258cf2,_0x171580){return _0x258cf2!==_0x171580;}};if(!this[_0x1953cd(0xf6)]||this['\x64\x65\x73\x74\x72\x6f\x79\x65\x64'])return;if(_0x4aff8[_0x1953cd(0xd5)]==='\x72\x65\x6e\x61\x6d\x65\x64'&&_0x4aff8['\x6e\x65\x78\x74\x50\x61\x74\x68']){this['\x62\x6f\x75\x6e\x64\x50\x61\x74\x68']=_0x4aff8['\x6e\x65\x78\x74\x50\x61\x74\x68'],this[_0x1953cd(0x102)][_0x1953cd(0xed)]?.(_0x4aff8);return;}if(_0x1f00ef['\x50\x4b\x74\x58\x4f'](_0x4aff8[_0x1953cd(0xd5)],_0x1953cd(0xb9))){this[_0x1953cd(0x102)][_0x1953cd(0xb5)]?.(_0x4aff8);return;}if(_0x4aff8['\x74\x79\x70\x65']!==_0x1f00ef['\x64\x74\x4c\x66\x77']||typeof _0x4aff8['\x63\x6f\x6e\x74\x65\x6e\x74']!==_0x1953cd(0xd7))return;if(_0x4aff8['\x63\x6f\x6e\x74\x65\x6e\x74']===this[_0x1953cd(0xf6)][_0x1953cd(0xd1)]())return;if(_0x1f00ef[_0x1953cd(0xfd)](this[_0x1953cd(0xea)],null)&&_0x4aff8[_0x1953cd(0xf0)]===this[_0x1953cd(0xea)])return;this['\x61\x64\x61\x70\x74\x65\x72']['\x72\x65\x70\x6c\x61\x63\x65\x43\x6f\x6e\x74\x65\x6e\x74'](_0x4aff8[_0x1953cd(0xf0)],{'\x6f\x72\x69\x67\x69\x6e':FILE_ORIGIN,'\x76\x65\x72\x73\x69\x6f\x6e':_0x4aff8[_0x1953cd(0xf1)]});}};export{CollaborationClient as a,parseCollaborationDocumentId as i,buildCollaborationDocumentId as n,normalizeCollaborationPath as r,CollaborationFileBridge as t};
package/dist/core.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- import { a as PartialFailureError, c as SandboxErrorJson, d as StateError, f as TimeoutError, g as SandboxClient, 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-DiKmk2CM.js";
2
- import { $t as SandboxClientConfig, An as SandboxInfo, Dt as PreviewLinkManager, Et as PreviewLinkInfo, G as ExecOptions, K as ExecResult, P as CreateSandboxOptions, Pn as SandboxStatus, St as NetworkConfig, n as SandboxInstance } from "./sandbox-B7-dr4K1.js";
1
+ import { G as CreateSandboxOptions, Gn as SandboxInfo, Ht as PreviewLinkManager, Lt as NetworkConfig, Vt as PreviewLinkInfo, Yn as SandboxStatus, mn as SandboxClientConfig, n as SandboxInstance, nt as ExecOptions, rt as ExecResult } from "./sandbox-CBmfYqMQ.js";
2
+ import { i as SandboxClient } from "./client-DM2pIli7.js";
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";
3
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(_0x9d02db,_0x2bdddf){var _0xeafe38=a0_0x691e,_0x82ef67=_0x9d02db();while(!![]){try{var _0x3e40f5=-parseInt(_0xeafe38(0x6a))/0x1*(parseInt(_0xeafe38(0x6d))/0x2)+parseInt(_0xeafe38(0x72))/0x3+-parseInt(_0xeafe38(0x6e))/0x4+parseInt(_0xeafe38(0x6f))/0x5*(-parseInt(_0xeafe38(0x6c))/0x6)+-parseInt(_0xeafe38(0x6b))/0x7+-parseInt(_0xeafe38(0x70))/0x8+parseInt(_0xeafe38(0x71))/0x9;if(_0x3e40f5===_0x2bdddf)break;else _0x82ef67['push'](_0x82ef67['shift']());}catch(_0xf073bf){_0x82ef67['push'](_0x82ef67['shift']());}}}(a0_0x2d5b,0xbf743));import{a as a0_0x4d2de2,c as a0_0x1c4edb,d as a0_0x136760,i as a0_0x136a2b,l as a0_0x45f68f,n as a0_0x554d46,o as a0_0xc726ff,r as a0_0x14c1fa,s as a0_0x4f94ba,t as a0_0x174f25,u as a0_0x268be8}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x43\x6c\x6a\x69\x47\x52\x5f\x5f\x2e\x6a\x73';function a0_0x691e(_0x41df05,_0x5b2261){_0x41df05=_0x41df05-0x6a;var _0x2d5be0=a0_0x2d5b();var _0x691eda=_0x2d5be0[_0x41df05];if(a0_0x691e['\x54\x53\x4e\x57\x45\x55']===undefined){var _0x235d17=function(_0x430f22){var _0x30c354='\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 _0x4d2de2='',_0x1c4edb='';for(var _0x136760=0x0,_0x136a2b,_0x45f68f,_0x554d46=0x0;_0x45f68f=_0x430f22['\x63\x68\x61\x72\x41\x74'](_0x554d46++);~_0x45f68f&&(_0x136a2b=_0x136760%0x4?_0x136a2b*0x40+_0x45f68f:_0x45f68f,_0x136760++%0x4)?_0x4d2de2+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x136a2b>>(-0x2*_0x136760&0x6)):0x0){_0x45f68f=_0x30c354['\x69\x6e\x64\x65\x78\x4f\x66'](_0x45f68f);}for(var _0xc726ff=0x0,_0x14c1fa=_0x4d2de2['\x6c\x65\x6e\x67\x74\x68'];_0xc726ff<_0x14c1fa;_0xc726ff++){_0x1c4edb+='\x25'+('\x30\x30'+_0x4d2de2['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xc726ff)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x1c4edb);};a0_0x691e['\x6f\x57\x56\x57\x79\x41']=_0x235d17,a0_0x691e['\x4d\x6c\x6e\x55\x6b\x4f']={},a0_0x691e['\x54\x53\x4e\x57\x45\x55']=!![];}var _0x126142=_0x2d5be0[0x0],_0x5e7fbc=_0x41df05+_0x126142,_0x10ee0c=a0_0x691e['\x4d\x6c\x6e\x55\x6b\x4f'][_0x5e7fbc];return!_0x10ee0c?(_0x691eda=a0_0x691e['\x6f\x57\x56\x57\x79\x41'](_0x691eda),a0_0x691e['\x4d\x6c\x6e\x55\x6b\x4f'][_0x5e7fbc]=_0x691eda):_0x691eda=_0x10ee0c,_0x691eda;}function a0_0x2d5b(){var _0x8a644a=['\x6d\x74\x48\x54\x45\x77\x6e\x57\x76\x66\x79','\x6d\x74\x43\x32\x45\x75\x35\x74\x41\x76\x4c\x6c','\x6d\x74\x69\x31\x6e\x74\x6a\x73\x74\x67\x7a\x48\x42\x4c\x61','\x6f\x74\x4b\x5a\x6e\x4a\x76\x6d\x7a\x66\x6a\x56\x44\x68\x71','\x6e\x4a\x4b\x5a\x6d\x64\x61\x57\x41\x65\x39\x54\x45\x76\x44\x5a','\x6d\x4a\x65\x59\x6d\x64\x43\x59\x6e\x5a\x7a\x48\x42\x67\x72\x69\x79\x75\x75','\x6e\x4a\x61\x32\x6e\x64\x69\x32\x45\x4d\x6a\x77\x74\x66\x4c\x6b','\x6d\x5a\x71\x32\x6d\x76\x50\x4c\x7a\x67\x66\x79\x73\x57','\x6f\x74\x69\x30\x6d\x4a\x75\x59\x6e\x33\x6e\x32\x44\x76\x48\x58\x76\x61'];a0_0x2d5b=function(){return _0x8a644a;};return a0_0x2d5b();}import{t as a0_0x18ae3a}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x43\x48\x73\x48\x74\x6d\x6a\x78\x2e\x6a\x73';import{t as a0_0x6029ff}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x44\x46\x46\x71\x7a\x45\x66\x33\x2e\x6a\x73';export{a0_0x174f25 as AuthError,a0_0x554d46 as CapabilityError,a0_0x14c1fa as NetworkError,a0_0x136a2b as NotFoundError,a0_0x4d2de2 as PartialFailureError,a0_0xc726ff as QuotaError,a0_0x6029ff as Sandbox,a0_0x6029ff as SandboxClient,a0_0x4f94ba as SandboxError,a0_0x18ae3a as SandboxInstance,a0_0x1c4edb as ServerError,a0_0x45f68f as StateError,a0_0x268be8 as TimeoutError,a0_0x136760 as ValidationError};
1
+ (function(_0x3e23ff,_0x21f36e){var _0x3dd97e=a0_0x5550,_0x52f297=_0x3e23ff();while(!![]){try{var _0x5333fb=parseInt(_0x3dd97e(0xfd))/0x1+parseInt(_0x3dd97e(0x103))/0x2+parseInt(_0x3dd97e(0x101))/0x3+parseInt(_0x3dd97e(0xff))/0x4+-parseInt(_0x3dd97e(0x100))/0x5+-parseInt(_0x3dd97e(0xfe))/0x6+parseInt(_0x3dd97e(0x104))/0x7*(-parseInt(_0x3dd97e(0x102))/0x8);if(_0x5333fb===_0x21f36e)break;else _0x52f297['push'](_0x52f297['shift']());}catch(_0x59cbdc){_0x52f297['push'](_0x52f297['shift']());}}}(a0_0x1315,0x1a9b9));function a0_0x5550(_0x4c3740,_0x2ccb46){_0x4c3740=_0x4c3740-0xfd;var _0x131580=a0_0x1315();var _0x5550ca=_0x131580[_0x4c3740];if(a0_0x5550['\x44\x63\x54\x78\x6b\x71']===undefined){var _0x35d740=function(_0x132577){var _0x50f6c8='\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 _0x374bc9='',_0x3595e8='';for(var _0x2db2ba=0x0,_0x225c60,_0x1ab929,_0x501133=0x0;_0x1ab929=_0x132577['\x63\x68\x61\x72\x41\x74'](_0x501133++);~_0x1ab929&&(_0x225c60=_0x2db2ba%0x4?_0x225c60*0x40+_0x1ab929:_0x1ab929,_0x2db2ba++%0x4)?_0x374bc9+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x225c60>>(-0x2*_0x2db2ba&0x6)):0x0){_0x1ab929=_0x50f6c8['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1ab929);}for(var _0x128a51=0x0,_0x33e3a8=_0x374bc9['\x6c\x65\x6e\x67\x74\x68'];_0x128a51<_0x33e3a8;_0x128a51++){_0x3595e8+='\x25'+('\x30\x30'+_0x374bc9['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x128a51)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x3595e8);};a0_0x5550['\x45\x6a\x55\x47\x57\x59']=_0x35d740,a0_0x5550['\x5a\x79\x54\x4a\x5a\x63']={},a0_0x5550['\x44\x63\x54\x78\x6b\x71']=!![];}var _0x2b12c8=_0x131580[0x0],_0x607ceb=_0x4c3740+_0x2b12c8,_0x48a958=a0_0x5550['\x5a\x79\x54\x4a\x5a\x63'][_0x607ceb];return!_0x48a958?(_0x5550ca=a0_0x5550['\x45\x6a\x55\x47\x57\x59'](_0x5550ca),a0_0x5550['\x5a\x79\x54\x4a\x5a\x63'][_0x607ceb]=_0x5550ca):_0x5550ca=_0x48a958,_0x5550ca;}import{a as a0_0x374bc9,c as a0_0x3595e8,d as a0_0x2db2ba,i as a0_0x225c60,l as a0_0x1ab929,n as a0_0x501133,o as a0_0x128a51,r as a0_0x33e3a8,s as a0_0x3a8553,t as a0_0x4a38fd,u as a0_0x3f4e7c}from'\x2e\x2f\x65\x72\x72\x6f\x72\x73\x2d\x43\x6c\x6a\x69\x47\x52\x5f\x5f\x2e\x6a\x73';import{t as a0_0x2a01fc}from'\x2e\x2f\x73\x61\x6e\x64\x62\x6f\x78\x2d\x44\x54\x75\x70\x32\x6a\x7a\x7a\x2e\x6a\x73';function a0_0x1315(){var _0x31e6a2=['\x6d\x5a\x47\x33\x6f\x64\x61\x33\x79\x77\x4c\x74\x71\x32\x44\x31','\x6d\x74\x7a\x78\x74\x77\x48\x58\x74\x30\x53','\x6e\x5a\x43\x33\x6e\x4a\x48\x52\x41\x66\x72\x6b\x76\x4d\x34','\x6e\x74\x75\x31\x6e\x4a\x75\x5a\x74\x66\x50\x4f\x7a\x67\x54\x51','\x6e\x74\x4b\x58\x6d\x4a\x66\x6c\x77\x4e\x6a\x62\x41\x31\x43','\x6d\x74\x47\x32\x6d\x64\x43\x59\x73\x67\x66\x58\x43\x4e\x6a\x6b','\x6e\x64\x69\x5a\x6e\x5a\x65\x59\x71\x4d\x7a\x4e\x71\x75\x48\x69','\x6d\x74\x43\x59\x6d\x4a\x6d\x31\x7a\x65\x66\x66\x72\x4e\x66\x35'];a0_0x1315=function(){return _0x31e6a2;};return a0_0x1315();}import{n as a0_0x5414db}from'\x2e\x2f\x63\x6c\x69\x65\x6e\x74\x2d\x43\x79\x67\x6a\x7a\x46\x33\x76\x2e\x6a\x73';export{a0_0x4a38fd as AuthError,a0_0x501133 as CapabilityError,a0_0x33e3a8 as NetworkError,a0_0x225c60 as NotFoundError,a0_0x374bc9 as PartialFailureError,a0_0x128a51 as QuotaError,a0_0x5414db as Sandbox,a0_0x5414db as SandboxClient,a0_0x3a8553 as SandboxError,a0_0x2a01fc as SandboxInstance,a0_0x3595e8 as ServerError,a0_0x1ab929 as StateError,a0_0x3f4e7c as TimeoutError,a0_0x2db2ba as ValidationError};
@@ -0,0 +1,128 @@
1
+ //#region src/errors.d.ts
2
+ /**
3
+ * Sandbox SDK Errors
4
+ *
5
+ * Error classes for the Sandbox client SDK.
6
+ */
7
+ /**
8
+ * Base error class for all Sandbox SDK errors.
9
+ */
10
+ declare class SandboxError extends Error {
11
+ /** HTTP status code if applicable */
12
+ readonly status?: number;
13
+ /** Error code for programmatic handling */
14
+ readonly code: string;
15
+ /** Best-effort origin of the failing request */
16
+ readonly origin?: SandboxErrorOrigin;
17
+ /** Request path or endpoint when known */
18
+ readonly endpoint?: string;
19
+ /** Retry-after duration in ms when surfaced by the upstream */
20
+ readonly retryAfterMs?: number;
21
+ /** Sidecar version when the runtime emitted it */
22
+ readonly sidecarVersion?: string;
23
+ /** Sidecar image/tag/sha when the runtime emitted it */
24
+ readonly containerImage?: string;
25
+ constructor(message: string, code: string, status?: number, metadata?: SandboxErrorMetadata);
26
+ }
27
+ type SandboxErrorOrigin = "sidecar" | "sandbox-api" | "control-plane" | "runtime" | "unknown";
28
+ interface SandboxErrorMetadata {
29
+ origin?: SandboxErrorOrigin;
30
+ endpoint?: string;
31
+ retryAfterMs?: number;
32
+ sidecarVersion?: string;
33
+ containerImage?: string;
34
+ }
35
+ type SandboxErrorJson = string | number | boolean | null | {
36
+ [key: string]: SandboxErrorJson;
37
+ } | SandboxErrorJson[];
38
+ type SandboxFailureDetail = {
39
+ [key: string]: SandboxErrorJson;
40
+ };
41
+ /**
42
+ * Authentication failed or API key is invalid.
43
+ */
44
+ declare class AuthError extends SandboxError {
45
+ constructor(message?: string, metadata?: SandboxErrorMetadata);
46
+ }
47
+ /**
48
+ * The requested resource was not found.
49
+ */
50
+ declare class NotFoundError extends SandboxError {
51
+ /** The resource type that was not found */
52
+ readonly resourceType: string;
53
+ /** The resource ID that was not found */
54
+ readonly resourceId: string;
55
+ constructor(resourceType: string, resourceId: string, metadata?: SandboxErrorMetadata);
56
+ }
57
+ /**
58
+ * Account quota or rate limit exceeded.
59
+ */
60
+ declare class QuotaError extends SandboxError {
61
+ /** The type of quota that was exceeded */
62
+ readonly quotaType: string;
63
+ /** Current usage */
64
+ readonly current?: number;
65
+ /** Maximum allowed */
66
+ readonly limit?: number;
67
+ /** Suggested retry-after duration in ms */
68
+ readonly retryAfterMs?: number;
69
+ constructor(quotaType: string, message?: string, current?: number, limit?: number, metadata?: SandboxErrorMetadata, status?: number);
70
+ }
71
+ /**
72
+ * The requested capability is unavailable for the account, driver, or sandbox.
73
+ */
74
+ declare class CapabilityError extends SandboxError {
75
+ /** Capability or feature that was rejected when known */
76
+ readonly capability?: string;
77
+ constructor(message: string, code?: string, status?: number, metadata?: SandboxErrorMetadata, capability?: string);
78
+ }
79
+ /**
80
+ * A multi-resource operation failed for one or more branches.
81
+ */
82
+ declare class PartialFailureError extends SandboxError {
83
+ /** Per-resource failures returned by the API when available */
84
+ readonly failures?: SandboxFailureDetail[];
85
+ constructor(message: string, code?: string, status?: number, metadata?: SandboxErrorMetadata, failures?: SandboxFailureDetail[]);
86
+ }
87
+ /**
88
+ * The request was invalid or malformed.
89
+ */
90
+ declare class ValidationError extends SandboxError {
91
+ /** Field-level validation errors */
92
+ readonly fields?: Record<string, string>;
93
+ constructor(message: string, fields?: Record<string, string>, metadata?: SandboxErrorMetadata);
94
+ }
95
+ /**
96
+ * The sandbox is not in a valid state for the requested operation.
97
+ */
98
+ declare class StateError extends SandboxError {
99
+ /** Current state of the sandbox */
100
+ readonly currentState: string;
101
+ /** Required state for the operation */
102
+ readonly requiredState?: string;
103
+ constructor(message: string, currentState: string, requiredState?: string, metadata?: SandboxErrorMetadata);
104
+ }
105
+ /**
106
+ * The request timed out.
107
+ */
108
+ declare class TimeoutError extends SandboxError {
109
+ /** Timeout duration in milliseconds */
110
+ readonly timeoutMs: number;
111
+ constructor(timeoutMs: number, message?: string, metadata?: SandboxErrorMetadata);
112
+ }
113
+ /**
114
+ * A network or connection error occurred.
115
+ */
116
+ declare class NetworkError extends SandboxError {
117
+ /** The underlying error */
118
+ readonly cause?: Error;
119
+ constructor(message: string, causeOrMetadata?: Error | SandboxErrorMetadata, metadata?: SandboxErrorMetadata);
120
+ }
121
+ /**
122
+ * The server returned an unexpected error.
123
+ */
124
+ declare class ServerError extends SandboxError {
125
+ constructor(message: string, status?: number, metadata?: SandboxErrorMetadata);
126
+ }
127
+ //#endregion
128
+ export { PartialFailureError as a, SandboxErrorJson as c, StateError as d, TimeoutError as f, NotFoundError as i, SandboxFailureDetail as l, CapabilityError as n, QuotaError as o, ValidationError as p, NetworkError as r, SandboxError as s, AuthError as t, ServerError as u };