@pulumiverse/talos 0.1.7 → 0.2.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.
Files changed (36) hide show
  1. package/client/{configuration.d.ts → getConfiguration.d.ts} +13 -13
  2. package/client/{configuration.js → getConfiguration.js} +10 -10
  3. package/client/getConfiguration.js.map +1 -0
  4. package/client/index.d.ts +3 -3
  5. package/client/index.js +4 -4
  6. package/client/index.js.map +1 -1
  7. package/cluster/getHealth.d.ts +81 -0
  8. package/cluster/getHealth.js +29 -0
  9. package/cluster/getHealth.js.map +1 -0
  10. package/cluster/getKubeconfig.d.ts +95 -0
  11. package/cluster/{kubeconfig.js → getKubeconfig.js} +8 -8
  12. package/cluster/getKubeconfig.js.map +1 -0
  13. package/cluster/index.d.ts +6 -3
  14. package/cluster/index.js +7 -4
  15. package/cluster/index.js.map +1 -1
  16. package/machine/{configuration.d.ts → getConfiguration.d.ts} +13 -13
  17. package/machine/{configuration.js → getConfiguration.js} +10 -10
  18. package/machine/getConfiguration.js.map +1 -0
  19. package/machine/{disks.d.ts → getDisks.d.ts} +25 -25
  20. package/machine/{disks.js → getDisks.js} +12 -12
  21. package/machine/getDisks.js.map +1 -0
  22. package/machine/index.d.ts +6 -6
  23. package/machine/index.js +7 -7
  24. package/machine/index.js.map +1 -1
  25. package/machine/secrets.d.ts +2 -2
  26. package/package.json +1 -1
  27. package/types/input.d.ts +157 -304
  28. package/types/output.d.ts +93 -223
  29. package/utilities.d.ts +4 -0
  30. package/utilities.js +33 -1
  31. package/utilities.js.map +1 -1
  32. package/client/configuration.js.map +0 -1
  33. package/cluster/kubeconfig.d.ts +0 -89
  34. package/cluster/kubeconfig.js.map +0 -1
  35. package/machine/configuration.js.map +0 -1
  36. package/machine/disks.js.map +0 -1
package/types/output.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as outputs from "../types/output";
2
2
  export declare namespace client {
3
- interface ConfigurationClientConfiguration {
3
+ interface GetConfigurationClientConfiguration {
4
4
  /**
5
5
  * The client CA certificate
6
6
  */
@@ -16,7 +16,7 @@ export declare namespace client {
16
16
  }
17
17
  }
18
18
  export declare namespace cluster {
19
- interface KubeconfigClientConfiguration {
19
+ interface GetHealthClientConfiguration {
20
20
  /**
21
21
  * The client CA certificate
22
22
  */
@@ -30,7 +30,27 @@ export declare namespace cluster {
30
30
  */
31
31
  clientKey: string;
32
32
  }
33
- interface KubeconfigKubernetesClientConfiguration {
33
+ interface GetHealthTimeouts {
34
+ /**
35
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
36
+ */
37
+ read?: string;
38
+ }
39
+ interface GetKubeconfigClientConfiguration {
40
+ /**
41
+ * The client CA certificate
42
+ */
43
+ caCertificate: string;
44
+ /**
45
+ * The client certificate
46
+ */
47
+ clientCertificate: string;
48
+ /**
49
+ * The client key
50
+ */
51
+ clientKey: string;
52
+ }
53
+ interface GetKubeconfigKubernetesClientConfiguration {
34
54
  /**
35
55
  * The kubernetes CA certificate
36
56
  */
@@ -48,7 +68,7 @@ export declare namespace cluster {
48
68
  */
49
69
  host: string;
50
70
  }
51
- interface KubeconfigTimeouts {
71
+ interface GetKubeconfigTimeouts {
52
72
  /**
53
73
  * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
54
74
  */
@@ -76,134 +96,57 @@ export declare namespace machine {
76
96
  */
77
97
  create?: string;
78
98
  }
79
- interface ConfigurationApplyClientConfiguration {
80
- /**
81
- * The client CA certificate
82
- */
83
- caCertificate: string;
84
- /**
85
- * The client certificate
86
- */
87
- clientCertificate: string;
88
- /**
89
- * The client key
90
- */
91
- clientKey: string;
92
- }
93
- interface ConfigurationMachineSecrets {
94
- /**
95
- * The certs for the talos kubernetes cluster
96
- */
97
- certs: outputs.machine.ConfigurationMachineSecretsCerts;
98
- /**
99
- * The cluster secrets
100
- */
101
- cluster: outputs.machine.ConfigurationMachineSecretsCluster;
102
- /**
103
- * The secrets for the talos kubernetes cluster
104
- */
105
- secrets: outputs.machine.ConfigurationMachineSecretsSecrets;
106
- /**
107
- * The trustd info for the talos kubernetes cluster
108
- */
109
- trustdinfo: outputs.machine.ConfigurationMachineSecretsTrustdinfo;
110
- }
111
- interface ConfigurationMachineSecretsCerts {
112
- /**
113
- * The certificate and key pair
114
- */
115
- etcd: outputs.machine.ConfigurationMachineSecretsCertsEtcd;
116
- /**
117
- * The certificate and key pair
118
- */
119
- k8s: outputs.machine.ConfigurationMachineSecretsCertsK8s;
120
- /**
121
- * The certificate and key pair
122
- */
123
- k8sAggregator: outputs.machine.ConfigurationMachineSecretsCertsK8sAggregator;
124
- k8sServiceaccount: outputs.machine.ConfigurationMachineSecretsCertsK8sServiceaccount;
125
- /**
126
- * The certificate and key pair
127
- */
128
- os: outputs.machine.ConfigurationMachineSecretsCertsOs;
129
- }
130
- interface ConfigurationMachineSecretsCertsEtcd {
131
- /**
132
- * certificate data
133
- */
134
- cert: string;
135
- /**
136
- * key data
137
- */
138
- key: string;
139
- }
140
- interface ConfigurationMachineSecretsCertsK8s {
141
- /**
142
- * certificate data
143
- */
144
- cert: string;
145
- /**
146
- * key data
147
- */
148
- key: string;
149
- }
150
- interface ConfigurationMachineSecretsCertsK8sAggregator {
99
+ /**
100
+ * A Machine Secrets Certificate
101
+ */
102
+ interface Certificate {
151
103
  /**
152
- * certificate data
104
+ * Certificate
153
105
  */
154
106
  cert: string;
155
107
  /**
156
- * key data
157
- */
158
- key: string;
159
- }
160
- interface ConfigurationMachineSecretsCertsK8sServiceaccount {
161
- /**
162
- * key data
108
+ * Private Key
163
109
  */
164
110
  key: string;
165
111
  }
166
- interface ConfigurationMachineSecretsCertsOs {
167
- /**
168
- * certificate data
169
- */
170
- cert: string;
171
- /**
172
- * key data
173
- */
174
- key: string;
112
+ /**
113
+ * A complete Machine Secrets Certificates configuration
114
+ */
115
+ interface Certificates {
116
+ etcd: outputs.machine.Certificate;
117
+ k8s: outputs.machine.Certificate;
118
+ k8s_aggregator: outputs.machine.Certificate;
119
+ k8s_serviceaccount: outputs.machine.Key;
120
+ os: outputs.machine.Certificate;
175
121
  }
176
- interface ConfigurationMachineSecretsCluster {
122
+ /**
123
+ * A Machine Secrets Cluster Info
124
+ */
125
+ interface Cluster {
177
126
  /**
178
- * The cluster id
127
+ * Certificate
179
128
  */
180
129
  id: string;
181
130
  /**
182
- * The cluster secret
131
+ * Private Key
183
132
  */
184
133
  secret: string;
185
134
  }
186
- interface ConfigurationMachineSecretsSecrets {
187
- /**
188
- * The aescbc encryption secret for the talos kubernetes cluster
189
- */
190
- aescbcEncryptionSecret?: string;
135
+ interface ConfigurationApplyClientConfiguration {
191
136
  /**
192
- * The bootstrap token for the talos kubernetes cluster
137
+ * The client CA certificate
193
138
  */
194
- bootstrapToken: string;
139
+ caCertificate: string;
195
140
  /**
196
- * The secretbox encryption secret for the talos kubernetes cluster
141
+ * The client certificate
197
142
  */
198
- secretboxEncryptionSecret: string;
199
- }
200
- interface ConfigurationMachineSecretsTrustdinfo {
143
+ clientCertificate: string;
201
144
  /**
202
- * The trustd token for the talos kubernetes cluster
145
+ * The client key
203
146
  */
204
- token: string;
147
+ clientKey: string;
205
148
  }
206
- interface DisksClientConfiguration {
149
+ interface GetDisksClientConfiguration {
207
150
  /**
208
151
  * The client CA certificate
209
152
  */
@@ -217,7 +160,7 @@ export declare namespace machine {
217
160
  */
218
161
  clientKey: string;
219
162
  }
220
- interface DisksDisk {
163
+ interface GetDisksDisk {
221
164
  /**
222
165
  * The bus path of the disk
223
166
  */
@@ -255,7 +198,7 @@ export declare namespace machine {
255
198
  */
256
199
  wwid: string;
257
200
  }
258
- interface DisksFilters {
201
+ interface GetDisksFilters {
259
202
  /**
260
203
  * Filter disks by bus path
261
204
  */
@@ -293,138 +236,56 @@ export declare namespace machine {
293
236
  */
294
237
  wwid?: string;
295
238
  }
296
- interface DisksTimeouts {
239
+ interface GetDisksTimeouts {
297
240
  /**
298
241
  * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
299
242
  */
300
243
  read?: string;
301
244
  }
302
- interface SecretsClientConfiguration {
303
- /**
304
- * The client CA certificate
305
- */
306
- caCertificate: string;
307
- /**
308
- * The client certificate
309
- */
310
- clientCertificate: string;
311
- /**
312
- * The client key
313
- */
314
- clientKey: string;
315
- }
316
- interface SecretsMachineSecrets {
317
- certs: outputs.machine.SecretsMachineSecretsCerts;
318
- /**
319
- * The cluster secrets
320
- */
321
- cluster: outputs.machine.SecretsMachineSecretsCluster;
322
- /**
323
- * kubernetes cluster secrets
324
- */
325
- secrets: outputs.machine.SecretsMachineSecretsSecrets;
326
- /**
327
- * trustd secrets
328
- */
329
- trustdinfo: outputs.machine.SecretsMachineSecretsTrustdinfo;
330
- }
331
- interface SecretsMachineSecretsCerts {
332
- /**
333
- * The certificate and key pair
334
- */
335
- etcd: outputs.machine.SecretsMachineSecretsCertsEtcd;
245
+ /**
246
+ * A Machine Secrets Private Key
247
+ */
248
+ interface Key {
336
249
  /**
337
- * The certificate and key pair
338
- */
339
- k8s: outputs.machine.SecretsMachineSecretsCertsK8s;
340
- /**
341
- * The certificate and key pair
342
- */
343
- k8sAggregator: outputs.machine.SecretsMachineSecretsCertsK8sAggregator;
344
- /**
345
- * The service account secrets
346
- */
347
- k8sServiceaccount: outputs.machine.SecretsMachineSecretsCertsK8sServiceaccount;
348
- /**
349
- * The certificate and key pair
350
- */
351
- os: outputs.machine.SecretsMachineSecretsCertsOs;
352
- }
353
- interface SecretsMachineSecretsCertsEtcd {
354
- /**
355
- * certificate data
356
- */
357
- cert: string;
358
- /**
359
- * key data
250
+ * Private Key
360
251
  */
361
252
  key: string;
362
253
  }
363
- interface SecretsMachineSecretsCertsK8s {
364
- /**
365
- * certificate data
366
- */
367
- cert: string;
368
- /**
369
- * key data
370
- */
371
- key: string;
372
- }
373
- interface SecretsMachineSecretsCertsK8sAggregator {
374
- /**
375
- * certificate data
376
- */
377
- cert: string;
378
- /**
379
- * key data
380
- */
381
- key: string;
382
- }
383
- interface SecretsMachineSecretsCertsK8sServiceaccount {
384
- /**
385
- * key data
386
- */
387
- key: string;
388
- }
389
- interface SecretsMachineSecretsCertsOs {
390
- /**
391
- * certificate data
392
- */
393
- cert: string;
394
- /**
395
- * key data
396
- */
397
- key: string;
254
+ /**
255
+ * A complete Machine Secrets configuration
256
+ */
257
+ interface MachineSecrets {
258
+ certs: outputs.machine.Certificates;
259
+ cluster: outputs.machine.Cluster;
260
+ secrets: outputs.machine.Secrets;
261
+ trustdinfo: outputs.machine.TrustdInfo;
398
262
  }
399
- interface SecretsMachineSecretsCluster {
263
+ /**
264
+ * A Machine Secrets Bootstrap data
265
+ */
266
+ interface Secrets {
400
267
  /**
401
- * The cluster ID
268
+ * The bootstrap token for the talos kubernetes cluster
402
269
  */
403
- id: string;
270
+ bootstrap_token: string;
404
271
  /**
405
- * The cluster secret
272
+ * The secretbox encryption secret for the talos kubernetes cluster
406
273
  */
407
- secret: string;
274
+ secretbox_encryption_secret: string;
408
275
  }
409
- interface SecretsMachineSecretsSecrets {
410
- /**
411
- * The AES-CBC encryption secret
412
- */
413
- aescbcEncryptionSecret: string;
276
+ interface SecretsClientConfiguration {
414
277
  /**
415
- * The bootstrap token
278
+ * The client CA certificate
416
279
  */
417
- bootstrapToken: string;
280
+ caCertificate: string;
418
281
  /**
419
- * The secretbox encryption secret
282
+ * The client certificate
420
283
  */
421
- secretboxEncryptionSecret: string;
422
- }
423
- interface SecretsMachineSecretsTrustdinfo {
284
+ clientCertificate: string;
424
285
  /**
425
- * The trustd token
286
+ * The client key
426
287
  */
427
- token: string;
288
+ clientKey: string;
428
289
  }
429
290
  interface Timeout {
430
291
  /**
@@ -436,4 +297,13 @@ export declare namespace machine {
436
297
  */
437
298
  update?: string;
438
299
  }
300
+ /**
301
+ * A Machine Secrets Trust daemon info
302
+ */
303
+ interface TrustdInfo {
304
+ /**
305
+ * The trustd token for the talos kubernetes cluster
306
+ */
307
+ token: string;
308
+ }
439
309
  }
package/utilities.d.ts CHANGED
@@ -1,4 +1,8 @@
1
+ import * as pulumi from "@pulumi/pulumi";
1
2
  export declare function getEnv(...vars: string[]): string | undefined;
2
3
  export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
4
  export declare function getEnvNumber(...vars: string[]): number | undefined;
4
5
  export declare function getVersion(): string;
6
+ export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
7
+ property?: string;
8
+ }): Promise<T>;
package/utilities.js CHANGED
@@ -1,8 +1,18 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
4
13
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
14
+ exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
15
+ const runtime = require("@pulumi/pulumi/runtime");
6
16
  function getEnv(...vars) {
7
17
  for (const v of vars) {
8
18
  const value = process.env[v];
@@ -66,4 +76,26 @@ function lazyLoad(exports, props, loadModule) {
66
76
  }
67
77
  }
68
78
  exports.lazyLoad = lazyLoad;
79
+ function callAsync(tok, props, res, opts) {
80
+ return __awaiter(this, void 0, void 0, function* () {
81
+ const o = runtime.call(tok, props, res);
82
+ const value = yield o.promise(true /*withUnknowns*/);
83
+ const isKnown = yield o.isKnown;
84
+ const isSecret = yield o.isSecret;
85
+ const problem = !isKnown ? "an unknown value"
86
+ : isSecret ? "a secret value"
87
+ : undefined;
88
+ // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
89
+ if (problem) {
90
+ throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
91
+ "This is an error in the provider, please report this to the provider developer.");
92
+ }
93
+ // Extract a single property if requested.
94
+ if (opts && opts.property) {
95
+ return value[opts.property];
96
+ }
97
+ return value;
98
+ });
99
+ }
100
+ exports.callAsync = callAsync;
69
101
  //# sourceMappingURL=utilities.js.map
package/utilities.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QAC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AE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAqDD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -1,89 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../types/input";
3
- import * as outputs from "../types/output";
4
- /**
5
- * Retrieves the kubeconfig for a Talos cluster
6
- */
7
- export declare function kubeconfig(args: KubeconfigArgs, opts?: pulumi.InvokeOptions): Promise<KubeconfigResult>;
8
- /**
9
- * A collection of arguments for invoking Kubeconfig.
10
- */
11
- export interface KubeconfigArgs {
12
- /**
13
- * The client configuration data
14
- */
15
- clientConfiguration: inputs.cluster.KubeconfigClientConfiguration;
16
- /**
17
- * endpoint to use for the talosclient. if not set, the node value will be used
18
- */
19
- endpoint?: string;
20
- /**
21
- * controlplane node to retrieve the kubeconfig from
22
- */
23
- node: string;
24
- timeouts?: inputs.cluster.KubeconfigTimeouts;
25
- /**
26
- * Wait for the kubernetes api to be available
27
- */
28
- wait?: boolean;
29
- }
30
- /**
31
- * A collection of values returned by Kubeconfig.
32
- */
33
- export interface KubeconfigResult {
34
- /**
35
- * The client configuration data
36
- */
37
- readonly clientConfiguration: outputs.cluster.KubeconfigClientConfiguration;
38
- /**
39
- * endpoint to use for the talosclient. if not set, the node value will be used
40
- */
41
- readonly endpoint: string;
42
- /**
43
- * The ID of this resource.
44
- */
45
- readonly id: string;
46
- /**
47
- * The raw kubeconfig
48
- */
49
- readonly kubeconfigRaw: string;
50
- /**
51
- * The kubernetes client configuration
52
- */
53
- readonly kubernetesClientConfiguration: outputs.cluster.KubeconfigKubernetesClientConfiguration;
54
- /**
55
- * controlplane node to retrieve the kubeconfig from
56
- */
57
- readonly node: string;
58
- readonly timeouts?: outputs.cluster.KubeconfigTimeouts;
59
- /**
60
- * Wait for the kubernetes api to be available
61
- */
62
- readonly wait?: boolean;
63
- }
64
- /**
65
- * Retrieves the kubeconfig for a Talos cluster
66
- */
67
- export declare function kubeconfigOutput(args: KubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<KubeconfigResult>;
68
- /**
69
- * A collection of arguments for invoking Kubeconfig.
70
- */
71
- export interface KubeconfigOutputArgs {
72
- /**
73
- * The client configuration data
74
- */
75
- clientConfiguration: pulumi.Input<inputs.cluster.KubeconfigClientConfigurationArgs>;
76
- /**
77
- * endpoint to use for the talosclient. if not set, the node value will be used
78
- */
79
- endpoint?: pulumi.Input<string>;
80
- /**
81
- * controlplane node to retrieve the kubeconfig from
82
- */
83
- node: pulumi.Input<string>;
84
- timeouts?: pulumi.Input<inputs.cluster.KubeconfigTimeoutsArgs>;
85
- /**
86
- * Wait for the kubernetes api to be available
87
- */
88
- wait?: pulumi.Input<boolean>;
89
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubeconfig.js","sourceRoot":"","sources":["../../cluster/kubeconfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAA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