@redocly/openapi-core 0.0.0-snapshot.1769415576 → 0.0.0-snapshot.1769418409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/config/config.d.ts +5 -2
- package/lib/config/config.d.ts.map +1 -1
- package/lib/config/config.js +34 -1
- package/lib/config/config.js.map +1 -1
- package/lib/config/load.d.ts +4 -2
- package/lib/config/load.d.ts.map +1 -1
- package/lib/config/load.js +41 -2
- package/lib/config/load.js.map +1 -1
- package/lib/config/types.d.ts +5 -0
- package/lib/config/types.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/oas-types.d.ts +0 -190
- package/lib/oas-types.d.ts.map +1 -1
- package/lib/ref-utils.d.ts +2 -0
- package/lib/ref-utils.d.ts.map +1 -1
- package/lib/ref-utils.js +16 -1
- package/lib/ref-utils.js.map +1 -1
- package/lib/types/arazzo.d.ts.map +1 -1
- package/lib/types/arazzo.js +44 -210
- package/lib/types/arazzo.js.map +1 -1
- package/lib/types/asyncapi2.d.ts.map +1 -1
- package/lib/types/asyncapi2.js +57 -385
- package/lib/types/asyncapi2.js.map +1 -1
- package/lib/types/asyncapi3.d.ts.map +1 -1
- package/lib/types/asyncapi3.js +47 -228
- package/lib/types/asyncapi3.js.map +1 -1
- package/lib/types/index.d.ts +2 -18
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +2 -4
- package/lib/types/index.js.map +1 -1
- package/lib/types/oas2.d.ts +0 -22
- package/lib/types/oas2.d.ts.map +1 -1
- package/lib/types/oas3.d.ts +0 -44
- package/lib/types/oas3.d.ts.map +1 -1
- package/lib/types/oas3.js +70 -345
- package/lib/types/oas3.js.map +1 -1
- package/lib/types/oas3_1.d.ts +0 -46
- package/lib/types/oas3_1.d.ts.map +1 -1
- package/lib/types/oas3_1.js +29 -38
- package/lib/types/oas3_1.js.map +1 -1
- package/lib/types/oas3_2.d.ts +0 -46
- package/lib/types/oas3_2.d.ts.map +1 -1
- package/lib/types/oas3_2.js +23 -101
- package/lib/types/oas3_2.js.map +1 -1
- package/lib/types/openrpc.d.ts +0 -32
- package/lib/types/openrpc.d.ts.map +1 -1
- package/lib/types/openrpc.js +46 -215
- package/lib/types/openrpc.js.map +1 -1
- package/lib/types/overlay.d.ts.map +1 -1
- package/lib/types/overlay.js +7 -34
- package/lib/types/overlay.js.map +1 -1
- package/lib/types/redocly-yaml.d.ts +1 -1
- package/lib/types/redocly-yaml.d.ts.map +1 -1
- package/lib/types/redocly-yaml.js +38 -150
- package/lib/types/redocly-yaml.js.map +1 -1
- package/package.json +1 -1
package/lib/types/oas3_2.js
CHANGED
|
@@ -5,57 +5,31 @@ const Root = {
|
|
|
5
5
|
...Oas3_1Types.Root,
|
|
6
6
|
properties: {
|
|
7
7
|
...Oas3_1Types.Root.properties,
|
|
8
|
-
$self: {
|
|
9
|
-
type: 'string',
|
|
10
|
-
description: 'This string MUST be in the form of a URI reference as defined by [RFC3986] Section 4.1. The $self field provides the self-assigned URI of this document, which also serves as its base URI in accordance with [RFC3986] Section 5.1.1. Implementations MUST support identifying the targets of API description URIs using the URI defined by this field when it is present. See Establishing the Base URI for the base URI behavior when $self is absent or relative, and see Appendix F for examples of using $self to resolve references.',
|
|
11
|
-
},
|
|
8
|
+
$self: { type: 'string' },
|
|
12
9
|
},
|
|
13
|
-
documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object',
|
|
14
10
|
};
|
|
15
11
|
const Tag = {
|
|
16
12
|
...Oas3_1Types.Tag,
|
|
17
13
|
properties: {
|
|
18
14
|
...Oas3_1Types.Tag.properties,
|
|
19
|
-
kind: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
parent: {
|
|
24
|
-
type: 'string',
|
|
25
|
-
description: 'The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references between parent and child tags MUST NOT be used.',
|
|
26
|
-
},
|
|
27
|
-
summary: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
description: 'A short summary of the tag, used for display purposes.',
|
|
30
|
-
},
|
|
15
|
+
kind: { type: 'string' },
|
|
16
|
+
parent: { type: 'string' },
|
|
17
|
+
summary: { type: 'string' },
|
|
31
18
|
},
|
|
32
|
-
documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#tag-object',
|
|
33
|
-
description: 'Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.',
|
|
34
19
|
};
|
|
35
20
|
const Server = {
|
|
36
21
|
...Oas3_1Types.Server,
|
|
37
22
|
properties: {
|
|
38
23
|
...Oas3_1Types.Server.properties,
|
|
39
|
-
name: {
|
|
40
|
-
type: 'string',
|
|
41
|
-
description: 'An optional unique string to refer to the host designated by the URL.',
|
|
42
|
-
},
|
|
24
|
+
name: { type: 'string' },
|
|
43
25
|
},
|
|
44
|
-
documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#server-object',
|
|
45
|
-
description: 'An object representing a Server.',
|
|
46
26
|
};
|
|
47
27
|
const SecurityScheme = {
|
|
48
28
|
...Oas3_1Types.SecurityScheme,
|
|
49
29
|
properties: {
|
|
50
30
|
...Oas3_1Types.SecurityScheme.properties,
|
|
51
|
-
deprecated: {
|
|
52
|
-
|
|
53
|
-
description: 'Declares this security scheme to be deprecated. Consumers SHOULD refrain from usage of the declared scheme. Default value is false.',
|
|
54
|
-
}, // added in OAS 3.2
|
|
55
|
-
oauth2MetadataUrl: {
|
|
56
|
-
type: 'string',
|
|
57
|
-
description: 'URL to the OAuth2 authorization server metadata [RFC8414]. TLS is required.',
|
|
58
|
-
}, // added in OAS 3.2
|
|
31
|
+
deprecated: { type: 'boolean' }, // added in OAS 3.2
|
|
32
|
+
oauth2MetadataUrl: { type: 'string' }, // added in OAS 3.2
|
|
59
33
|
},
|
|
60
34
|
allowed(value) {
|
|
61
35
|
switch (value?.type) {
|
|
@@ -148,8 +122,6 @@ const SecurityScheme = {
|
|
|
148
122
|
];
|
|
149
123
|
}
|
|
150
124
|
},
|
|
151
|
-
documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object',
|
|
152
|
-
description: 'Defines a security scheme that can be used by the operations.',
|
|
153
125
|
};
|
|
154
126
|
const OAuth2Flows = {
|
|
155
127
|
...Oas3_1Types.OAuth2Flows,
|
|
@@ -160,25 +132,13 @@ const OAuth2Flows = {
|
|
|
160
132
|
};
|
|
161
133
|
const DeviceAuthorization = {
|
|
162
134
|
properties: {
|
|
163
|
-
deviceAuthorizationUrl: {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
tokenUrl: {
|
|
168
|
-
type: 'string',
|
|
169
|
-
description: 'REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
170
|
-
},
|
|
171
|
-
refreshUrl: {
|
|
172
|
-
type: 'string',
|
|
173
|
-
description: 'The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.',
|
|
174
|
-
},
|
|
175
|
-
scopes: mapOf('string', {
|
|
176
|
-
description: 'REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.',
|
|
177
|
-
}),
|
|
135
|
+
deviceAuthorizationUrl: { type: 'string' },
|
|
136
|
+
tokenUrl: { type: 'string' },
|
|
137
|
+
refreshUrl: { type: 'string' },
|
|
138
|
+
scopes: mapOf('string'),
|
|
178
139
|
},
|
|
179
140
|
required: ['deviceAuthorizationUrl', 'tokenUrl', 'scopes'],
|
|
180
141
|
extensionsPrefix: 'x-',
|
|
181
|
-
description: 'Configuration for the OAuth Device Authorization flow.',
|
|
182
142
|
};
|
|
183
143
|
const PathItem = {
|
|
184
144
|
...Oas3Types.PathItem,
|
|
@@ -192,20 +152,14 @@ const Parameter = {
|
|
|
192
152
|
...Oas3_1Types.Parameter,
|
|
193
153
|
properties: {
|
|
194
154
|
...Oas3_1Types.Parameter.properties,
|
|
195
|
-
in: {
|
|
196
|
-
description: 'REQUIRED. The location of the parameter. Possible values are "query", "querystring", "header", "path" or "cookie".',
|
|
197
|
-
enum: ['query', 'header', 'path', 'cookie', 'querystring'],
|
|
198
|
-
},
|
|
155
|
+
in: { enum: ['query', 'header', 'path', 'cookie', 'querystring'] },
|
|
199
156
|
},
|
|
200
157
|
};
|
|
201
158
|
const Response = {
|
|
202
159
|
...Oas3_1Types.Response,
|
|
203
160
|
properties: {
|
|
204
161
|
...Oas3_1Types.Response.properties,
|
|
205
|
-
summary: {
|
|
206
|
-
type: 'string',
|
|
207
|
-
description: 'A short summary of the meaning of the response.',
|
|
208
|
-
},
|
|
162
|
+
summary: { type: 'string' },
|
|
209
163
|
},
|
|
210
164
|
};
|
|
211
165
|
const MediaType = {
|
|
@@ -213,9 +167,7 @@ const MediaType = {
|
|
|
213
167
|
properties: {
|
|
214
168
|
...Oas3_1Types.MediaType.properties,
|
|
215
169
|
itemSchema: 'Schema',
|
|
216
|
-
prefixEncoding: listOf('Encoding',
|
|
217
|
-
description: 'A map between a property name and its encoding information, as defined under Encoding By Name. The encoding field SHALL only apply when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. This field MUST NOT be present if prefixEncoding or itemEncoding are present.',
|
|
218
|
-
}),
|
|
170
|
+
prefixEncoding: listOf('Encoding'),
|
|
219
171
|
itemEncoding: 'Encoding',
|
|
220
172
|
},
|
|
221
173
|
};
|
|
@@ -223,57 +175,27 @@ const Discriminator = {
|
|
|
223
175
|
...Oas3_1Types.Discriminator,
|
|
224
176
|
properties: {
|
|
225
177
|
...Oas3_1Types.Discriminator.properties,
|
|
226
|
-
defaultMapping: {
|
|
227
|
-
type: 'string',
|
|
228
|
-
description: 'The schema name or URI reference to a schema that is expected to validate the structure of the model when the discriminating property is not present in the payload or contains a value for which there is no explicit or implicit mapping.',
|
|
229
|
-
},
|
|
178
|
+
defaultMapping: { type: 'string' },
|
|
230
179
|
},
|
|
231
180
|
};
|
|
232
181
|
const Example = {
|
|
233
182
|
...Oas3_1Types.Example,
|
|
234
183
|
properties: {
|
|
235
184
|
...Oas3_1Types.Example.properties,
|
|
236
|
-
dataValue: {
|
|
237
|
-
|
|
238
|
-
description: 'An example of the data structure that MUST be valid according to the relevant Schema Object. If this field is present, value MUST be absent.',
|
|
239
|
-
},
|
|
240
|
-
serializedValue: {
|
|
241
|
-
type: 'string',
|
|
242
|
-
description: 'An example of the serialized form of the value, including encoding and escaping as described under Validating Examples. If dataValue is present, then this field SHOULD contain the serialization of the given data. Otherwise, it SHOULD be the valid serialization of a data value that itself MUST be valid as described for dataValue. This field SHOULD NOT be used if the serialization format is JSON, as the data form is easier to work with. If this field is present, value, and externalValue MUST be absent.',
|
|
243
|
-
},
|
|
185
|
+
dataValue: { resolvable: false },
|
|
186
|
+
serializedValue: { type: 'string' },
|
|
244
187
|
},
|
|
245
188
|
};
|
|
246
189
|
const Xml = {
|
|
247
190
|
properties: {
|
|
248
|
-
nodeType: {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
},
|
|
253
|
-
|
|
254
|
-
type: 'string',
|
|
255
|
-
description: 'Sets the name of the element/attribute corresponding to the schema, replacing the name that was inferred as described under XML Node Names. This field SHALL be ignored if the nodeType is text, cdata, or none.',
|
|
256
|
-
},
|
|
257
|
-
namespace: {
|
|
258
|
-
type: 'string',
|
|
259
|
-
description: 'The IRI ([RFC3987]) of the namespace definition. Value MUST be in the form of a non-relative IRI.',
|
|
260
|
-
},
|
|
261
|
-
prefix: {
|
|
262
|
-
type: 'string',
|
|
263
|
-
description: 'The prefix to be used for the name.',
|
|
264
|
-
},
|
|
265
|
-
attribute: {
|
|
266
|
-
type: 'boolean',
|
|
267
|
-
description: 'Declares whether the property definition translates to an attribute instead of an element. Default value is false. If nodeType is present, this field MUST NOT be present.Deprecated: Use nodeType: "attribute" instead of attribute: true.',
|
|
268
|
-
},
|
|
269
|
-
wrapped: {
|
|
270
|
-
type: 'boolean',
|
|
271
|
-
description: 'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). If nodeType is present, this field MUST NOT be present. Deprecated: Use nodeType: "element" instead of wrapped: true.',
|
|
272
|
-
}, // Deprecated in OAS 3.2: Use nodeType: "element" instead
|
|
191
|
+
nodeType: { type: 'string', enum: ['element', 'attribute', 'text', 'cdata', 'none'] },
|
|
192
|
+
name: { type: 'string' },
|
|
193
|
+
namespace: { type: 'string' },
|
|
194
|
+
prefix: { type: 'string' },
|
|
195
|
+
attribute: { type: 'boolean' }, // Deprecated in OAS 3.2: Use nodeType: "attribute" instead
|
|
196
|
+
wrapped: { type: 'boolean' }, // Deprecated in OAS 3.2: Use nodeType: "element" instead
|
|
273
197
|
},
|
|
274
198
|
extensionsPrefix: 'x-',
|
|
275
|
-
documentationLink: 'https://spec.openapis.org/oas/v3.2.0.html#xml-object',
|
|
276
|
-
description: 'A metadata object that allows for more fine-tuned XML model definitions. When using a Schema Object with XML, if no XML Object is present, the behavior is determined by the XML Object’s default field values.',
|
|
277
199
|
};
|
|
278
200
|
// based on draft-2020-12
|
|
279
201
|
const Schema = {
|
package/lib/types/oas3_2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oas3_2.js","sourceRoot":"","sources":["../../src/types/oas3_2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAiB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,IAAI,GAAa;IACrB,GAAG,WAAW,CAAC,IAAI;IACnB,UAAU,EAAE;QACV,GAAG,WAAW,CAAC,IAAI,CAAC,UAAU;QAC9B,KAAK,E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yDAAyD;KACxF;IACD,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEF,yBAAyB;AACzB,MAAM,MAAM,GAAa;IACvB,GAAG,WAAW,CAAC,MAAM;IACrB,UAAU,EAAE;QACV,GAAG,WAAW,CAAC,MAAM,CAAC,UAAU;QAChC,GAAG,EAAE,KAAK;KACX;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,GAAG,WAAW;IACd,IAAI;IACJ,GAAG;IACH,MAAM;IACN,cAAc;IACd,WAAW;IACX,mBAAmB;IACnB,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,SAAS;IACT,aAAa;IACb,OAAO;IACP,GAAG;IACH,MAAM;CACE,CAAC"}
|
package/lib/types/openrpc.d.ts
CHANGED
|
@@ -6,64 +6,48 @@ export declare const OpenRpcTypes: {
|
|
|
6
6
|
readonly License: NodeType;
|
|
7
7
|
readonly Server: NodeType;
|
|
8
8
|
readonly ServerList: {
|
|
9
|
-
description?: string;
|
|
10
|
-
documentationLink?: string;
|
|
11
9
|
name: string;
|
|
12
10
|
properties: {};
|
|
13
11
|
items: string;
|
|
14
12
|
};
|
|
15
13
|
readonly ServerVariable: NodeType;
|
|
16
14
|
readonly ServerVariablesMap: {
|
|
17
|
-
description?: string;
|
|
18
|
-
documentationLink?: string;
|
|
19
15
|
name: string;
|
|
20
16
|
properties: {};
|
|
21
17
|
additionalProperties: () => string;
|
|
22
18
|
};
|
|
23
19
|
readonly Method: NodeType;
|
|
24
20
|
readonly MethodList: {
|
|
25
|
-
description?: string;
|
|
26
|
-
documentationLink?: string;
|
|
27
21
|
name: string;
|
|
28
22
|
properties: {};
|
|
29
23
|
items: string;
|
|
30
24
|
};
|
|
31
25
|
readonly ContentDescriptor: NodeType;
|
|
32
26
|
readonly ContentDescriptorList: {
|
|
33
|
-
description?: string;
|
|
34
|
-
documentationLink?: string;
|
|
35
27
|
name: string;
|
|
36
28
|
properties: {};
|
|
37
29
|
items: string;
|
|
38
30
|
};
|
|
39
31
|
readonly ExamplePairing: NodeType;
|
|
40
32
|
readonly ExamplePairingList: {
|
|
41
|
-
description?: string;
|
|
42
|
-
documentationLink?: string;
|
|
43
33
|
name: string;
|
|
44
34
|
properties: {};
|
|
45
35
|
items: string;
|
|
46
36
|
};
|
|
47
37
|
readonly Example: NodeType;
|
|
48
38
|
readonly ExampleList: {
|
|
49
|
-
description?: string;
|
|
50
|
-
documentationLink?: string;
|
|
51
39
|
name: string;
|
|
52
40
|
properties: {};
|
|
53
41
|
items: string;
|
|
54
42
|
};
|
|
55
43
|
readonly Link: NodeType;
|
|
56
44
|
readonly LinkList: {
|
|
57
|
-
description?: string;
|
|
58
|
-
documentationLink?: string;
|
|
59
45
|
name: string;
|
|
60
46
|
properties: {};
|
|
61
47
|
items: string;
|
|
62
48
|
};
|
|
63
49
|
readonly ErrorObject: NodeType;
|
|
64
50
|
readonly ErrorList: {
|
|
65
|
-
description?: string;
|
|
66
|
-
documentationLink?: string;
|
|
67
51
|
name: string;
|
|
68
52
|
properties: {};
|
|
69
53
|
items: string;
|
|
@@ -71,8 +55,6 @@ export declare const OpenRpcTypes: {
|
|
|
71
55
|
readonly Components: NodeType;
|
|
72
56
|
readonly Tag: NodeType;
|
|
73
57
|
readonly TagList: {
|
|
74
|
-
description?: string;
|
|
75
|
-
documentationLink?: string;
|
|
76
58
|
name: string;
|
|
77
59
|
properties: {};
|
|
78
60
|
items: string;
|
|
@@ -84,50 +66,36 @@ export declare const OpenRpcTypes: {
|
|
|
84
66
|
readonly DiscriminatorMapping: NodeType;
|
|
85
67
|
readonly Discriminator: NodeType;
|
|
86
68
|
readonly NamedContentDescriptors: {
|
|
87
|
-
description?: string;
|
|
88
|
-
documentationLink?: string;
|
|
89
69
|
name: string;
|
|
90
70
|
properties: {};
|
|
91
71
|
additionalProperties: () => string;
|
|
92
72
|
};
|
|
93
73
|
readonly NamedSchemas: {
|
|
94
|
-
description?: string;
|
|
95
|
-
documentationLink?: string;
|
|
96
74
|
name: string;
|
|
97
75
|
properties: {};
|
|
98
76
|
additionalProperties: () => string;
|
|
99
77
|
};
|
|
100
78
|
readonly NamedExamples: {
|
|
101
|
-
description?: string;
|
|
102
|
-
documentationLink?: string;
|
|
103
79
|
name: string;
|
|
104
80
|
properties: {};
|
|
105
81
|
additionalProperties: () => string;
|
|
106
82
|
};
|
|
107
83
|
readonly NamedLinks: {
|
|
108
|
-
description?: string;
|
|
109
|
-
documentationLink?: string;
|
|
110
84
|
name: string;
|
|
111
85
|
properties: {};
|
|
112
86
|
additionalProperties: () => string;
|
|
113
87
|
};
|
|
114
88
|
readonly NamedErrors: {
|
|
115
|
-
description?: string;
|
|
116
|
-
documentationLink?: string;
|
|
117
89
|
name: string;
|
|
118
90
|
properties: {};
|
|
119
91
|
additionalProperties: () => string;
|
|
120
92
|
};
|
|
121
93
|
readonly NamedExamplePairingObjects: {
|
|
122
|
-
description?: string;
|
|
123
|
-
documentationLink?: string;
|
|
124
94
|
name: string;
|
|
125
95
|
properties: {};
|
|
126
96
|
additionalProperties: () => string;
|
|
127
97
|
};
|
|
128
98
|
readonly NamedTags: {
|
|
129
|
-
description?: string;
|
|
130
|
-
documentationLink?: string;
|
|
131
99
|
name: string;
|
|
132
100
|
properties: {};
|
|
133
101
|
additionalProperties: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openrpc.d.ts","sourceRoot":"","sources":["../../src/types/openrpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"openrpc.d.ts","sourceRoot":"","sources":["../../src/types/openrpc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AA6L1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCf,CAAC"}
|