@cloudfleet/sdk 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,UAAU,cAAc;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;IAChC,IAAI,SAAwB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kEAAkE;IAClE,IAAI,EAAE,OAAO,CAAC;gBAEF,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc;CAazE;AAED,yDAAyD;AACzD,qBAAa,sBAAuB,SAAQ,KAAK;IACpC,IAAI,SAA4B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;gBAEA,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc;CAMpD;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GAAI,QAAQ,MAAM,KAAG,MACP,CAAC"}
package/dist/errors.js ADDED
@@ -0,0 +1,83 @@
1
+ const REQUEST_ID_HEADERS = ["x-request-id", "x-cf-request-id"];
2
+ /**
3
+ * Non-2xx response, from the Cloudfleet API (`code`, `message`) or the Kubernetes proxy
4
+ * (`Status` with `code`, `reason`, `message`). `message` can contain personal data, so
5
+ * title telemetry by `method`, `path` and `status`.
6
+ */
7
+ export class CloudfleetApiError extends Error {
8
+ name = "CloudfleetApiError";
9
+ status;
10
+ method;
11
+ /** Route template without IDs, e.g. `/clusters/{cluster_id}`. */
12
+ path;
13
+ url;
14
+ requestId;
15
+ code;
16
+ /** Kubernetes `Status.reason`, e.g. `NotFound`. */
17
+ reason;
18
+ /** Parsed JSON body, or the response text when it is not JSON. */
19
+ body;
20
+ constructor(response, body, context) {
21
+ const fields = isRecord(body) ? body : {};
22
+ super(messageFrom(response, body, fields));
23
+ this.status = response.status;
24
+ this.method = context.method;
25
+ this.path = context.path;
26
+ this.url = context.url;
27
+ this.requestId = requestIdFrom(response.headers);
28
+ this.code = fields.code;
29
+ this.reason =
30
+ typeof fields.reason === "string" ? fields.reason : undefined;
31
+ this.body = body;
32
+ }
33
+ }
34
+ /** No response: DNS, connection, CORS or TLS failure. */
35
+ export class CloudfleetNetworkError extends Error {
36
+ name = "CloudfleetNetworkError";
37
+ method;
38
+ path;
39
+ url;
40
+ constructor(cause, context) {
41
+ super(cause.message, { cause });
42
+ this.method = context.method;
43
+ this.path = context.path;
44
+ this.url = context.url;
45
+ }
46
+ }
47
+ /**
48
+ * Makes the client throw {@link CloudfleetApiError} and {@link CloudfleetNetworkError}.
49
+ * Aborts and validation errors pass through unchanged. The default `client` is registered
50
+ * in `index.ts`; call this for clients from `createClient`.
51
+ */
52
+ export const registerCloudfleetErrors = (client) => client.interceptors.error.use(errorInterceptor);
53
+ const errorInterceptor = (error, response, request, options) => {
54
+ if (!request)
55
+ return error;
56
+ const context = {
57
+ method: request.method,
58
+ path: options.url,
59
+ url: request.url,
60
+ };
61
+ // For non-2xx responses the generated client throws the body, never an Error.
62
+ if (response && !response.ok && !(error instanceof Error)) {
63
+ return new CloudfleetApiError(response, error, context);
64
+ }
65
+ // fetch reports network failures as TypeError; aborts are DOMExceptions.
66
+ if (!response && error instanceof TypeError) {
67
+ return new CloudfleetNetworkError(error, context);
68
+ }
69
+ return error;
70
+ };
71
+ const messageFrom = (response, body, fields) => {
72
+ if (typeof fields.message === "string" && fields.message) {
73
+ return fields.message;
74
+ }
75
+ if (typeof body === "string" && body.trim()) {
76
+ return body.trim();
77
+ }
78
+ return `${response.status} ${response.statusText}`.trim();
79
+ };
80
+ const requestIdFrom = (headers) => REQUEST_ID_HEADERS.map((name) => headers.get(name)).find(Boolean) ??
81
+ undefined;
82
+ const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
83
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAEA,MAAM,kBAAkB,GAAG,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAChC,IAAI,GAAG,oBAAoB,CAAC;IACrC,MAAM,CAAS;IACf,MAAM,CAAS;IACf,iEAAiE;IACjE,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,SAAS,CAAU;IACnB,IAAI,CAAW;IACf,mDAAmD;IACnD,MAAM,CAAU;IAChB,kEAAkE;IAClE,IAAI,CAAU;IAEd,YAAY,QAAkB,EAAE,IAAa,EAAE,OAAuB;QAClE,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1C,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,GAAG,GAAG,OAA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
  export * from "./client.gen";
2
+ export * from "./errors";
2
3
  export * from "./schemas.gen";
3
4
  export * from "./sdk.gen";
4
5
  export * from "./services/kubernetes";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,8 @@
1
+ import { client } from "./client.gen";
2
+ import { registerCloudfleetErrors } from "./errors";
3
+ registerCloudfleetErrors(client);
1
4
  export * from "./client.gen";
5
+ export * from "./errors";
2
6
  export * from "./schemas.gen";
3
7
  export * from "./sdk.gen";
4
8
  export * from "./services/kubernetes";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAEjC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
@@ -137,130 +137,6 @@ export declare const BillingCreditsSchema: {
137
137
  readonly required: readonly ["type", "date_start", "code", "value_total"];
138
138
  readonly additionalProperties: false;
139
139
  };
140
- export declare const ChartCreateInputSchema: {
141
- readonly type: "object";
142
- readonly properties: {
143
- readonly values: {
144
- readonly type: "string";
145
- readonly description: "Values to be used in the chart encoded as a JSON string.";
146
- };
147
- readonly version_channel: {
148
- readonly type: "string";
149
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
150
- readonly description: "Desired version range or channel for the chart.";
151
- readonly example: "2.x.x-cfke.x";
152
- };
153
- readonly name: {
154
- readonly type: "string";
155
- readonly maxLength: 63;
156
- readonly minLength: 1;
157
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
158
- readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
159
- readonly example: "postgresql-0";
160
- };
161
- readonly namespace: {
162
- readonly type: "string";
163
- readonly maxLength: 63;
164
- readonly minLength: 1;
165
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
166
- readonly description: "Namespace of the chart deployment";
167
- readonly example: "default";
168
- };
169
- readonly chart: {
170
- readonly type: "string";
171
- readonly maxLength: 63;
172
- readonly minLength: 1;
173
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
174
- readonly description: "Name of the chart listing";
175
- readonly example: "postgresql";
176
- };
177
- };
178
- readonly required: readonly ["values", "version_channel", "name", "namespace", "chart"];
179
- readonly additionalProperties: false;
180
- };
181
- export declare const ChartSchema: {
182
- readonly type: "object";
183
- readonly properties: {
184
- readonly values: {
185
- readonly type: "string";
186
- readonly description: "Values to be used in the chart encoded as a JSON string.";
187
- };
188
- readonly version_channel: {
189
- readonly type: "string";
190
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
191
- readonly description: "Desired version range or channel for the chart.";
192
- readonly example: "2.x.x-cfke.x";
193
- };
194
- readonly name: {
195
- readonly type: "string";
196
- readonly maxLength: 63;
197
- readonly minLength: 1;
198
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
199
- readonly description: "Unique identifier of the chart deployment aka name of the helm release.";
200
- readonly example: "postgresql-0";
201
- };
202
- readonly namespace: {
203
- readonly type: "string";
204
- readonly maxLength: 63;
205
- readonly minLength: 1;
206
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
207
- readonly description: "Namespace of the chart deployment";
208
- readonly example: "default";
209
- };
210
- readonly chart: {
211
- readonly type: "string";
212
- readonly maxLength: 63;
213
- readonly minLength: 1;
214
- readonly pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$";
215
- readonly description: "Name of the chart listing";
216
- readonly example: "postgresql";
217
- };
218
- readonly status: {
219
- readonly type: "string";
220
- readonly description: "Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).";
221
- readonly example: "InstallSucceeded";
222
- };
223
- readonly version_current: {
224
- readonly type: "string";
225
- readonly description: "Current version of the chart deployment.";
226
- readonly example: "2.1.33-cfke.11";
227
- };
228
- readonly created_at: {
229
- readonly type: "string";
230
- readonly description: "Creation date and time of the chart deployment.";
231
- readonly example: "2024-09-12T09:11:27Z";
232
- };
233
- readonly updated_at: {
234
- readonly type: "string";
235
- readonly description: "Last update date and time of the chart deployment.";
236
- readonly example: "2024-09-12T09:11:27Z";
237
- };
238
- readonly ready: {
239
- readonly type: "boolean";
240
- readonly description: "Indicates if the chart deployment is ready to be used.";
241
- readonly example: true;
242
- };
243
- };
244
- readonly required: readonly ["values", "version_channel", "name", "namespace", "chart", "status", "version_current", "created_at", "updated_at", "ready"];
245
- readonly additionalProperties: false;
246
- };
247
- export declare const ChartUpdateInputSchema: {
248
- readonly type: "object";
249
- readonly properties: {
250
- readonly values: {
251
- readonly type: "string";
252
- readonly description: "Values to be used in the chart encoded as a JSON string.";
253
- };
254
- readonly version_channel: {
255
- readonly type: "string";
256
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
257
- readonly description: "Desired version range or channel for the chart.";
258
- readonly example: "2.x.x-cfke.x";
259
- };
260
- };
261
- readonly required: readonly ["values", "version_channel"];
262
- readonly additionalProperties: false;
263
- };
264
140
  export declare const ClusterCreateInputSchema: {
265
141
  readonly type: "object";
266
142
  readonly properties: {
@@ -1509,144 +1385,6 @@ export declare const InvoiceSchema: {
1509
1385
  readonly required: readonly ["created", "period_start", "period_end"];
1510
1386
  readonly additionalProperties: false;
1511
1387
  };
1512
- export declare const MarketplaceListingFilesSchema: {
1513
- readonly type: "object";
1514
- readonly properties: {
1515
- readonly chartYaml: {
1516
- readonly type: "string";
1517
- readonly description: "Raw Chart.yaml content from the Helm chart";
1518
- readonly example: "apiVersion: v2\nname: nginx-ingress\nversion: 1.18.2-cfke.45\nappVersion: 1.9.4";
1519
- };
1520
- readonly valuesYaml: {
1521
- readonly type: "string";
1522
- readonly description: "Raw values.yaml content from the Helm chart";
1523
- readonly example: "replicaCount: 1\nimage:\n repository: nginx\n tag: latest";
1524
- };
1525
- readonly valuesSchemaJson: {
1526
- readonly type: "string";
1527
- readonly description: "JSON schema for values.yaml as a string";
1528
- readonly example: "{\"type\":\"object\",\"properties\":{\"replicaCount\":{\"type\":\"number\"}}}";
1529
- };
1530
- };
1531
- readonly additionalProperties: false;
1532
- };
1533
- export declare const MarketplaceListingSchema: {
1534
- readonly type: "object";
1535
- readonly properties: {
1536
- readonly name: {
1537
- readonly type: "string";
1538
- readonly description: "Name of the chart";
1539
- readonly example: "nginx-ingress";
1540
- };
1541
- readonly versions: {
1542
- readonly type: "array";
1543
- readonly items: {
1544
- readonly type: "string";
1545
- readonly pattern: "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1546
- readonly description: "Specific version of the chart";
1547
- readonly example: "1.18.2-cfke.45";
1548
- };
1549
- readonly description: "Available versions of the chart";
1550
- };
1551
- readonly version_channels: {
1552
- readonly type: "array";
1553
- readonly items: {
1554
- readonly type: "string";
1555
- readonly pattern: "^(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)\\.(x|X|0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$";
1556
- readonly description: "Version channel pattern";
1557
- readonly example: "1.18.x-cfke.x";
1558
- };
1559
- readonly description: "Version channels for the chart";
1560
- };
1561
- readonly latestVersion: {
1562
- readonly type: "string";
1563
- readonly description: "Latest version of the chart";
1564
- readonly example: "1.18.2-cfke.45";
1565
- };
1566
- readonly metadata: {
1567
- readonly type: "object";
1568
- readonly properties: {
1569
- readonly name: {
1570
- readonly type: "string";
1571
- readonly description: "Chart name from metadata";
1572
- readonly example: "nginx-ingress";
1573
- };
1574
- readonly version: {
1575
- readonly type: "string";
1576
- readonly description: "Chart version from metadata";
1577
- readonly example: "1.18.2-cfke.45";
1578
- };
1579
- readonly description: {
1580
- readonly type: "string";
1581
- readonly description: "Chart description";
1582
- readonly example: "NGINX Ingress Controller for Kubernetes";
1583
- };
1584
- readonly appVersion: {
1585
- readonly type: "string";
1586
- readonly description: "Application version";
1587
- readonly example: "1.9.4";
1588
- };
1589
- readonly apiVersion: {
1590
- readonly type: "string";
1591
- readonly description: "Helm API version";
1592
- readonly example: "v2";
1593
- };
1594
- readonly keywords: {
1595
- readonly type: "array";
1596
- readonly items: {
1597
- readonly type: "string";
1598
- };
1599
- readonly description: "Chart keywords";
1600
- readonly example: readonly ["ingress", "nginx", "load-balancer"];
1601
- };
1602
- readonly home: {
1603
- readonly type: "string";
1604
- readonly description: "Chart home URL";
1605
- readonly example: "https://kubernetes.github.io/ingress-nginx/";
1606
- };
1607
- readonly icon: {
1608
- readonly type: "string";
1609
- readonly description: "A URL to an SVG or PNG image to be used as an icon";
1610
- readonly example: "https://cloudfleet.ai/images/marketplace/icons/ingress-nginx.png";
1611
- };
1612
- readonly sources: {
1613
- readonly type: "array";
1614
- readonly items: {
1615
- readonly type: "string";
1616
- };
1617
- readonly description: "Chart source URLs";
1618
- readonly example: readonly ["https://github.com/kubernetes/ingress-nginx"];
1619
- };
1620
- readonly maintainers: {
1621
- readonly type: "array";
1622
- readonly items: {
1623
- readonly type: "object";
1624
- readonly properties: {
1625
- readonly name: {
1626
- readonly type: "string";
1627
- readonly description: "Maintainer name";
1628
- readonly example: "NGINX Team";
1629
- };
1630
- readonly email: {
1631
- readonly type: "string";
1632
- readonly description: "Maintainer email";
1633
- readonly example: "support@nginx.org";
1634
- };
1635
- };
1636
- readonly required: readonly ["name"];
1637
- readonly additionalProperties: false;
1638
- };
1639
- readonly description: "Chart maintainers";
1640
- };
1641
- };
1642
- readonly required: readonly ["name", "version"];
1643
- readonly additionalProperties: false;
1644
- readonly description: "Chart metadata";
1645
- };
1646
- };
1647
- readonly required: readonly ["name", "versions", "version_channels", "latestVersion"];
1648
- readonly additionalProperties: false;
1649
- };
1650
1388
  export declare const OrganizationCreateInputSchema: {
1651
1389
  readonly type: "object";
1652
1390
  readonly properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyOvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Ed,CAAC;AAEX,eAAO,MA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