@qawolf/run-globals-ios 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -16
  3. package/dist/apple-pay.d.ts +16 -0
  4. package/dist/apple-pay.d.ts.map +1 -0
  5. package/dist/apple-pay.js +17 -0
  6. package/dist/apple-pay.js.map +1 -0
  7. package/dist/audio.d.ts +2 -2
  8. package/dist/audio.d.ts.map +1 -1
  9. package/dist/audio.js +13 -8
  10. package/dist/audio.js.map +1 -1
  11. package/dist/barcode.d.ts +8 -8
  12. package/dist/barcode.d.ts.map +1 -1
  13. package/dist/barcode.js +3 -1
  14. package/dist/barcode.js.map +1 -1
  15. package/dist/beacon.d.ts +4 -4
  16. package/dist/beacon.d.ts.map +1 -1
  17. package/dist/beacon.js +2 -3
  18. package/dist/beacon.js.map +1 -1
  19. package/dist/configuration-profile.d.ts +1 -1
  20. package/dist/configuration-profile.d.ts.map +1 -1
  21. package/dist/configuration-profile.js +4 -2
  22. package/dist/configuration-profile.js.map +1 -1
  23. package/dist/gateway.d.ts +110 -110
  24. package/dist/gateway.d.ts.map +1 -1
  25. package/dist/gateway.js +78 -74
  26. package/dist/gateway.js.map +1 -1
  27. package/dist/index.d.ts +12 -11
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +13 -9
  30. package/dist/index.js.map +1 -1
  31. package/dist/injectionHelpers.d.ts +1 -1
  32. package/dist/injectionHelpers.d.ts.map +1 -1
  33. package/dist/injectionHelpers.js +11 -4
  34. package/dist/injectionHelpers.js.map +1 -1
  35. package/dist/media.d.ts +6 -6
  36. package/dist/media.d.ts.map +1 -1
  37. package/dist/media.js +4 -6
  38. package/dist/media.js.map +1 -1
  39. package/dist/photo.d.ts +15 -15
  40. package/dist/photo.d.ts.map +1 -1
  41. package/dist/photo.js +18 -18
  42. package/dist/photo.js.map +1 -1
  43. package/dist/typings.d.ts +292 -278
  44. package/dist/webview.d.ts.map +1 -1
  45. package/dist/webview.js.map +1 -1
  46. package/package.json +36 -39
package/dist/gateway.d.ts CHANGED
@@ -15,56 +15,56 @@ export declare const TunnelStatusSchema: z.ZodEnum<{
15
15
  }>;
16
16
  export type TunnelStatus = z.infer<typeof TunnelStatusSchema>;
17
17
  export declare const TunnelStateSchema: z.ZodObject<{
18
+ error: z.ZodOptional<z.ZodString>;
19
+ interface: z.ZodOptional<z.ZodString>;
18
20
  status: z.ZodEnum<{
19
21
  down: "down";
20
22
  starting: "starting";
21
23
  up: "up";
22
24
  error: "error";
23
25
  }>;
24
- interface: z.ZodOptional<z.ZodString>;
25
- error: z.ZodOptional<z.ZodString>;
26
26
  }, z.core.$strip>;
27
27
  export type TunnelState = z.infer<typeof TunnelStateSchema>;
28
28
  export declare const TunnelStatusMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
29
+ error: z.ZodOptional<z.ZodString>;
30
+ interface: z.ZodOptional<z.ZodString>;
29
31
  status: z.ZodEnum<{
30
32
  down: "down";
31
33
  starting: "starting";
32
34
  up: "up";
33
35
  error: "error";
34
36
  }>;
35
- interface: z.ZodOptional<z.ZodString>;
36
- error: z.ZodOptional<z.ZodString>;
37
37
  }, z.core.$strip>>;
38
38
  export type TunnelStatusMap = z.infer<typeof TunnelStatusMapSchema>;
39
39
  export declare const HttpProxyTunnelSchema: z.ZodObject<{
40
- type: z.ZodLiteral<"http-proxy">;
41
40
  host: z.ZodString;
41
+ password: z.ZodOptional<z.ZodString>;
42
42
  port: z.ZodNumber;
43
+ type: z.ZodLiteral<"http-proxy">;
43
44
  username: z.ZodOptional<z.ZodString>;
44
- password: z.ZodOptional<z.ZodString>;
45
45
  }, z.core.$strip>;
46
46
  export type HttpProxyTunnel = z.infer<typeof HttpProxyTunnelSchema>;
47
47
  export declare const WireGuardTunnelSchema: z.ZodObject<{
48
- type: z.ZodLiteral<"wireguard">;
49
48
  configPath: z.ZodString;
49
+ type: z.ZodLiteral<"wireguard">;
50
50
  }, z.core.$strip>;
51
51
  export type WireGuardTunnel = z.infer<typeof WireGuardTunnelSchema>;
52
52
  export declare const OpenVPNTunnelSchema: z.ZodObject<{
53
- type: z.ZodLiteral<"openvpn">;
54
53
  configPath: z.ZodString;
54
+ type: z.ZodLiteral<"openvpn">;
55
55
  }, z.core.$strip>;
56
56
  export type OpenVPNTunnel = z.infer<typeof OpenVPNTunnelSchema>;
57
57
  export declare const RelayTunnelSchema: z.ZodObject<{
58
- type: z.ZodLiteral<"relay">;
59
- host: z.ZodString;
60
- port: z.ZodNumber;
61
- username: z.ZodString;
62
- password: z.ZodString;
63
58
  dialer: z.ZodOptional<z.ZodEnum<{
64
59
  tls: "tls";
65
60
  tcp: "tcp";
66
61
  }>>;
62
+ host: z.ZodString;
63
+ password: z.ZodString;
64
+ port: z.ZodNumber;
67
65
  secure: z.ZodOptional<z.ZodBoolean>;
66
+ type: z.ZodLiteral<"relay">;
67
+ username: z.ZodString;
68
68
  }, z.core.$strip>;
69
69
  export type RelayTunnel = z.infer<typeof RelayTunnelSchema>;
70
70
  export declare const DirectTunnelSchema: z.ZodObject<{
@@ -74,62 +74,62 @@ export type DirectTunnel = z.infer<typeof DirectTunnelSchema>;
74
74
  export declare const TunnelConfigSchema: z.ZodUnion<readonly [z.ZodObject<{
75
75
  type: z.ZodLiteral<"direct">;
76
76
  }, z.core.$strip>, z.ZodObject<{
77
- type: z.ZodLiteral<"http-proxy">;
78
77
  host: z.ZodString;
78
+ password: z.ZodOptional<z.ZodString>;
79
79
  port: z.ZodNumber;
80
+ type: z.ZodLiteral<"http-proxy">;
80
81
  username: z.ZodOptional<z.ZodString>;
81
- password: z.ZodOptional<z.ZodString>;
82
82
  }, z.core.$strip>, z.ZodObject<{
83
- type: z.ZodLiteral<"wireguard">;
84
83
  configPath: z.ZodString;
84
+ type: z.ZodLiteral<"wireguard">;
85
85
  }, z.core.$strip>, z.ZodObject<{
86
- type: z.ZodLiteral<"openvpn">;
87
86
  configPath: z.ZodString;
87
+ type: z.ZodLiteral<"openvpn">;
88
88
  }, z.core.$strip>, z.ZodObject<{
89
- type: z.ZodLiteral<"relay">;
90
- host: z.ZodString;
91
- port: z.ZodNumber;
92
- username: z.ZodString;
93
- password: z.ZodString;
94
89
  dialer: z.ZodOptional<z.ZodEnum<{
95
90
  tls: "tls";
96
91
  tcp: "tcp";
97
92
  }>>;
93
+ host: z.ZodString;
94
+ password: z.ZodString;
95
+ port: z.ZodNumber;
98
96
  secure: z.ZodOptional<z.ZodBoolean>;
97
+ type: z.ZodLiteral<"relay">;
98
+ username: z.ZodString;
99
99
  }, z.core.$strip>]>;
100
100
  export type TunnelConfig = z.infer<typeof TunnelConfigSchema>;
101
101
  export declare const RouteTrafficConfigSchema: z.ZodObject<{
102
102
  apps: z.ZodArray<z.ZodString>;
103
103
  domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
104
+ inspect: z.ZodOptional<z.ZodBoolean>;
105
+ socksHost: z.ZodOptional<z.ZodString>;
106
+ socksPort: z.ZodOptional<z.ZodNumber>;
104
107
  tunnel: z.ZodUnion<readonly [z.ZodObject<{
105
108
  type: z.ZodLiteral<"direct">;
106
109
  }, z.core.$strip>, z.ZodObject<{
107
- type: z.ZodLiteral<"http-proxy">;
108
110
  host: z.ZodString;
111
+ password: z.ZodOptional<z.ZodString>;
109
112
  port: z.ZodNumber;
113
+ type: z.ZodLiteral<"http-proxy">;
110
114
  username: z.ZodOptional<z.ZodString>;
111
- password: z.ZodOptional<z.ZodString>;
112
115
  }, z.core.$strip>, z.ZodObject<{
113
- type: z.ZodLiteral<"wireguard">;
114
116
  configPath: z.ZodString;
117
+ type: z.ZodLiteral<"wireguard">;
115
118
  }, z.core.$strip>, z.ZodObject<{
116
- type: z.ZodLiteral<"openvpn">;
117
119
  configPath: z.ZodString;
120
+ type: z.ZodLiteral<"openvpn">;
118
121
  }, z.core.$strip>, z.ZodObject<{
119
- type: z.ZodLiteral<"relay">;
120
- host: z.ZodString;
121
- port: z.ZodNumber;
122
- username: z.ZodString;
123
- password: z.ZodString;
124
122
  dialer: z.ZodOptional<z.ZodEnum<{
125
123
  tls: "tls";
126
124
  tcp: "tcp";
127
125
  }>>;
126
+ host: z.ZodString;
127
+ password: z.ZodString;
128
+ port: z.ZodNumber;
128
129
  secure: z.ZodOptional<z.ZodBoolean>;
130
+ type: z.ZodLiteral<"relay">;
131
+ username: z.ZodString;
129
132
  }, z.core.$strip>]>;
130
- socksHost: z.ZodOptional<z.ZodString>;
131
- socksPort: z.ZodOptional<z.ZodNumber>;
132
- inspect: z.ZodOptional<z.ZodBoolean>;
133
133
  }, z.core.$strip>;
134
134
  export type RouteTrafficConfig = z.infer<typeof RouteTrafficConfigSchema>;
135
135
  export declare const RoutingTablesSchema: z.ZodObject<{
@@ -138,27 +138,27 @@ export declare const RoutingTablesSchema: z.ZodObject<{
138
138
  }, z.core.$strip>;
139
139
  export type RoutingTables = z.infer<typeof RoutingTablesSchema>;
140
140
  export declare const RouteStatsSchema: z.ZodObject<{
141
- packets: z.ZodNumber;
142
141
  bytes: z.ZodNumber;
142
+ packets: z.ZodNumber;
143
143
  }, z.core.$strip>;
144
144
  export type RouteStats = z.infer<typeof RouteStatsSchema>;
145
145
  export declare const InterfaceStatsSchema: z.ZodObject<{
146
- rxPackets: z.ZodNumber;
147
- txPackets: z.ZodNumber;
148
146
  rxBytes: z.ZodNumber;
147
+ rxPackets: z.ZodNumber;
149
148
  txBytes: z.ZodNumber;
149
+ txPackets: z.ZodNumber;
150
150
  }, z.core.$strip>;
151
151
  export type InterfaceStats = z.infer<typeof InterfaceStatsSchema>;
152
152
  export declare const TrafficStatsSchema: z.ZodObject<{
153
- routes: z.ZodRecord<z.ZodString, z.ZodObject<{
154
- packets: z.ZodNumber;
155
- bytes: z.ZodNumber;
156
- }, z.core.$strip>>;
157
153
  interfaces: z.ZodRecord<z.ZodString, z.ZodObject<{
158
- rxPackets: z.ZodNumber;
159
- txPackets: z.ZodNumber;
160
154
  rxBytes: z.ZodNumber;
155
+ rxPackets: z.ZodNumber;
161
156
  txBytes: z.ZodNumber;
157
+ txPackets: z.ZodNumber;
158
+ }, z.core.$strip>>;
159
+ routes: z.ZodRecord<z.ZodString, z.ZodObject<{
160
+ bytes: z.ZodNumber;
161
+ packets: z.ZodNumber;
162
162
  }, z.core.$strip>>;
163
163
  }, z.core.$strip>;
164
164
  export type TrafficStats = z.infer<typeof TrafficStatsSchema>;
@@ -170,95 +170,95 @@ export declare const NetworkStatusSchema: z.ZodObject<{
170
170
  openvpn: "openvpn";
171
171
  relay: "relay";
172
172
  }>;
173
- tunnels: z.ZodRecord<z.ZodString, z.ZodObject<{
174
- status: z.ZodEnum<{
175
- down: "down";
176
- starting: "starting";
177
- up: "up";
178
- error: "error";
179
- }>;
180
- interface: z.ZodOptional<z.ZodString>;
181
- error: z.ZodOptional<z.ZodString>;
182
- }, z.core.$strip>>;
173
+ routedApps: z.ZodArray<z.ZodString>;
174
+ routedDomains: z.ZodArray<z.ZodString>;
183
175
  routingTables: z.ZodOptional<z.ZodObject<{
184
176
  activeTable: z.ZodString;
185
177
  tables: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
186
178
  }, z.core.$strip>>;
187
179
  traffic: z.ZodOptional<z.ZodObject<{
188
- routes: z.ZodRecord<z.ZodString, z.ZodObject<{
189
- packets: z.ZodNumber;
190
- bytes: z.ZodNumber;
191
- }, z.core.$strip>>;
192
180
  interfaces: z.ZodRecord<z.ZodString, z.ZodObject<{
193
- rxPackets: z.ZodNumber;
194
- txPackets: z.ZodNumber;
195
181
  rxBytes: z.ZodNumber;
182
+ rxPackets: z.ZodNumber;
196
183
  txBytes: z.ZodNumber;
184
+ txPackets: z.ZodNumber;
185
+ }, z.core.$strip>>;
186
+ routes: z.ZodRecord<z.ZodString, z.ZodObject<{
187
+ bytes: z.ZodNumber;
188
+ packets: z.ZodNumber;
197
189
  }, z.core.$strip>>;
198
190
  }, z.core.$strip>>;
191
+ tunnels: z.ZodRecord<z.ZodString, z.ZodObject<{
192
+ error: z.ZodOptional<z.ZodString>;
193
+ interface: z.ZodOptional<z.ZodString>;
194
+ status: z.ZodEnum<{
195
+ down: "down";
196
+ starting: "starting";
197
+ up: "up";
198
+ error: "error";
199
+ }>;
200
+ }, z.core.$strip>>;
199
201
  vpnApp: z.ZodObject<{
200
202
  bundleId: z.ZodString;
201
203
  installed: z.ZodBoolean;
202
204
  pid: z.ZodOptional<z.ZodNumber>;
203
205
  }, z.core.$strip>;
204
- routedApps: z.ZodArray<z.ZodString>;
205
- routedDomains: z.ZodArray<z.ZodString>;
206
206
  }, z.core.$strip>;
207
207
  export type NetworkStatus = z.infer<typeof NetworkStatusSchema>;
208
208
  export declare const NetworkConditionConfigSchema: z.ZodObject<{
209
209
  bandwidthKbps: z.ZodOptional<z.ZodNumber>;
210
- latencyMs: z.ZodOptional<z.ZodNumber>;
211
210
  jitterMs: z.ZodOptional<z.ZodNumber>;
211
+ latencyMs: z.ZodOptional<z.ZodNumber>;
212
212
  packetLossPercent: z.ZodOptional<z.ZodNumber>;
213
213
  }, z.core.$strip>;
214
214
  export type NetworkConditionConfig = z.infer<typeof NetworkConditionConfigSchema>;
215
215
  /** 2G EDGE: ~240 Kbps, 300ms latency, high jitter */
216
216
  export declare const NETWORK_2G_EDGE: {
217
217
  readonly bandwidthKbps: 240;
218
- readonly latencyMs: 300;
219
218
  readonly jitterMs: 100;
219
+ readonly latencyMs: 300;
220
220
  readonly packetLossPercent: 1.5;
221
221
  };
222
222
  /** 3G: ~1.8 Mbps, 100ms latency */
223
223
  export declare const NETWORK_3G: {
224
224
  readonly bandwidthKbps: 1800;
225
- readonly latencyMs: 100;
226
225
  readonly jitterMs: 30;
226
+ readonly latencyMs: 100;
227
227
  readonly packetLossPercent: 0.5;
228
228
  };
229
229
  /** 4G LTE: ~12 Mbps, 30ms latency */
230
230
  export declare const NETWORK_4G_LTE: {
231
231
  readonly bandwidthKbps: 12000;
232
- readonly latencyMs: 30;
233
232
  readonly jitterMs: 10;
233
+ readonly latencyMs: 30;
234
234
  readonly packetLossPercent: 0.1;
235
235
  };
236
236
  /** 5G: ~100 Mbps, 10ms latency */
237
237
  export declare const NETWORK_5G: {
238
238
  readonly bandwidthKbps: 100000;
239
- readonly latencyMs: 10;
240
239
  readonly jitterMs: 3;
240
+ readonly latencyMs: 10;
241
241
  readonly packetLossPercent: 0.01;
242
242
  };
243
243
  /** Satellite: ~5 Mbps, 600ms latency */
244
244
  export declare const NETWORK_SATELLITE: {
245
245
  readonly bandwidthKbps: 5000;
246
- readonly latencyMs: 600;
247
246
  readonly jitterMs: 50;
247
+ readonly latencyMs: 600;
248
248
  readonly packetLossPercent: 1;
249
249
  };
250
250
  /** Congested WiFi: ~2 Mbps, 50ms latency, high jitter and packet loss */
251
251
  export declare const NETWORK_WIFI_CONGESTED: {
252
252
  readonly bandwidthKbps: 2000;
253
- readonly latencyMs: 50;
254
253
  readonly jitterMs: 40;
254
+ readonly latencyMs: 50;
255
255
  readonly packetLossPercent: 3;
256
256
  };
257
257
  /** Very bad network: ~100 Kbps, 500ms latency, extreme jitter and packet loss */
258
258
  export declare const NETWORK_VERY_BAD: {
259
259
  readonly bandwidthKbps: 100;
260
- readonly latencyMs: 500;
261
260
  readonly jitterMs: 200;
261
+ readonly latencyMs: 500;
262
262
  readonly packetLossPercent: 10;
263
263
  };
264
264
  /** Offline: 100% packet loss — drops all packets to simulate no connectivity */
@@ -266,13 +266,13 @@ export declare const NETWORK_OFFLINE: {
266
266
  readonly packetLossPercent: 100;
267
267
  };
268
268
  export declare const NetworkConditionStatusSchema: z.ZodObject<{
269
- enabled: z.ZodBoolean;
270
269
  config: z.ZodOptional<z.ZodObject<{
271
270
  bandwidthKbps: z.ZodOptional<z.ZodNumber>;
272
- latencyMs: z.ZodOptional<z.ZodNumber>;
273
271
  jitterMs: z.ZodOptional<z.ZodNumber>;
272
+ latencyMs: z.ZodOptional<z.ZodNumber>;
274
273
  packetLossPercent: z.ZodOptional<z.ZodNumber>;
275
274
  }, z.core.$strip>>;
275
+ enabled: z.ZodBoolean;
276
276
  interface: z.ZodOptional<z.ZodString>;
277
277
  }, z.core.$strip>;
278
278
  export type NetworkConditionStatus = z.infer<typeof NetworkConditionStatusSchema>;
@@ -285,62 +285,62 @@ export type NetworkConditionStatus = z.infer<typeof NetworkConditionStatusSchema
285
285
  */
286
286
  export declare function getNetworkStatus(): Promise<NetworkStatus>;
287
287
  /** A recorded network entry from GOST MITM inspection */
288
- export interface RecordedEntry {
289
- service: string;
290
- network: string;
291
- remote?: string;
292
- local?: string;
288
+ export type RecordedEntry = {
289
+ dns?: {
290
+ answer: string;
291
+ cached: boolean;
292
+ class: string;
293
+ id: number;
294
+ name: string;
295
+ question: string;
296
+ type: string;
297
+ };
298
+ duration: number;
293
299
  host?: string;
294
- proto?: string;
295
300
  http?: {
296
301
  host: string;
297
302
  method: string;
298
303
  proto: string;
299
- scheme: string;
300
- uri: string;
301
- statusCode: number;
302
304
  request?: {
305
+ body: string | null;
303
306
  contentLength: number;
304
307
  header: Record<string, string[]>;
305
- body: string | null;
306
308
  };
307
309
  response?: {
310
+ body: string | null;
308
311
  contentLength: number;
309
312
  header: Record<string, string[]>;
310
- body: string | null;
311
313
  };
314
+ scheme: string;
315
+ statusCode: number;
316
+ uri: string;
317
+ };
318
+ local?: string;
319
+ network: string;
320
+ proto?: string;
321
+ remote?: string;
322
+ service: string;
323
+ sid: string;
324
+ time: string;
325
+ tls?: {
326
+ cipherSuite: string;
327
+ proto?: string;
328
+ serverName: string;
329
+ version: string;
312
330
  };
313
331
  websocket?: {
314
- from: string;
315
332
  fin: boolean;
316
- rsv1: boolean;
317
- rsv2: boolean;
318
- rsv3: boolean;
319
- opcode: number;
333
+ from: string;
334
+ length: number;
320
335
  masked: boolean;
321
336
  maskKey: number;
322
- length: number;
337
+ opcode: number;
323
338
  payload: string;
339
+ rsv1: boolean;
340
+ rsv2: boolean;
341
+ rsv3: boolean;
324
342
  };
325
- tls?: {
326
- serverName: string;
327
- cipherSuite: string;
328
- version: string;
329
- proto?: string;
330
- };
331
- dns?: {
332
- id: number;
333
- name: string;
334
- class: string;
335
- type: string;
336
- question: string;
337
- answer: string;
338
- cached: boolean;
339
- };
340
- sid: string;
341
- time: string;
342
- duration: number;
343
- }
343
+ };
344
344
  /**
345
345
  * Route traffic from specific apps through the gateway.
346
346
  *
@@ -390,10 +390,10 @@ export interface RecordedEntry {
390
390
  * ```
391
391
  */
392
392
  type NetworkLogHandler = (entry: RecordedEntry) => void;
393
- export interface NetworkLogSubscription {
394
- on(handler: NetworkLogHandler): void;
393
+ export type NetworkLogSubscription = {
395
394
  close(): void;
396
- }
395
+ on(handler: NetworkLogHandler): void;
396
+ };
397
397
  /**
398
398
  * Subscribe to real-time network entries streamed via SSE from the
399
399
  * Appium plugin. Requires `routeTraffic()` to have been called first
@@ -1 +1 @@
1
- {"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../src/gateway.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,eAAe;;;;;;EAMjB,CAAC;AACZ,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,kBAAkB;;;;;EAAuD,CAAC;AACvF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,iBAAiB;;;;;;;;;iBAI5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,qBAAqB;;;;;;;;;kBAA0C,CAAC;AAC7E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAcpE,eAAO,MAAM,qBAAqB;;;;;;iBAMhC,CAAC;AACH,MAAM,MAAM,eAAe,GAA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