@swagger-api/apidom-ns-json-schema-draft-7 0.76.2 → 0.77.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.
- package/CHANGELOG.md +4 -0
- package/cjs/elements/JSONSchema.cjs +1 -2
- package/cjs/elements/LinkDescription.cjs +1 -2
- package/cjs/media-types.cjs +1 -2
- package/cjs/namespace.cjs +1 -2
- package/cjs/predicates.cjs +3 -5
- package/cjs/refractor/index.cjs +1 -2
- package/cjs/refractor/plugins/replace-empty-element.cjs +7 -9
- package/cjs/refractor/specification.cjs +1 -2
- package/cjs/refractor/toolbox.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/$commentVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/ContentEncodingVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/ContentMediaTypeVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/WriteOnlyVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/index.cjs +2 -3
- package/cjs/refractor/visitors/json-schema/link-description/$commentVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/AnchorPointerVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/AnchorVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/DescriptionVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/SubmissionMediaTypeVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/TargetHintsVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/TargetMediaTypeVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/TemplatePointersVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/TemplateRequiredVisitor.cjs +1 -2
- package/cjs/refractor/visitors/json-schema/link-description/index.cjs +1 -2
- package/cjs/traversal/visitor.cjs +2 -3
- package/dist/apidom-ns-json-schema-draft-7.browser.js +1 -1
- package/es/refractor/plugins/replace-empty-element.mjs +7 -8
- package/es/refractor/visitors/json-schema/index.mjs +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.77.0](https://github.com/swagger-api/apidom/compare/v0.76.2...v0.77.0) (2023-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-7
|
|
9
|
+
|
|
6
10
|
## [0.76.2](https://github.com/swagger-api/apidom/compare/v0.76.1...v0.76.2) (2023-09-08)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
|
@@ -102,5 +102,4 @@ class LinkDescription extends _apidomNsJsonSchemaDraft.LinkDescriptionElement {
|
|
|
102
102
|
this.set('submissionMediaType', submissionMediaType);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
var _default = LinkDescription;
|
|
106
|
-
exports.default = _default;
|
|
105
|
+
var _default = exports.default = LinkDescription;
|
package/cjs/media-types.cjs
CHANGED
|
@@ -20,5 +20,4 @@ class JSONSchemaDraft7MediaTypes extends _apidomCore.MediaTypes {
|
|
|
20
20
|
}
|
|
21
21
|
exports.JSONSchemaDraft7MediaTypes = JSONSchemaDraft7MediaTypes;
|
|
22
22
|
const mediaTypes = new JSONSchemaDraft7MediaTypes('application/schema;version=draft-07', 'application/schema+json;version=draft-07', 'application/schema+yaml;version=draft-07');
|
|
23
|
-
var _default = mediaTypes;
|
|
24
|
-
exports.default = _default;
|
|
23
|
+
var _default = exports.default = mediaTypes;
|
package/cjs/namespace.cjs
CHANGED
package/cjs/predicates.cjs
CHANGED
|
@@ -8,19 +8,17 @@ var _JSONSchema = _interopRequireDefault(require("./elements/JSONSchema.cjs"));
|
|
|
8
8
|
var _LinkDescription = _interopRequireDefault(require("./elements/LinkDescription.cjs"));
|
|
9
9
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
10
10
|
exports.isJSONReferenceElement = _apidomNsJsonSchemaDraft.isJSONReferenceElement;
|
|
11
|
-
const isJSONSchemaElement = (0, _apidomCore.createPredicate)(({
|
|
11
|
+
const isJSONSchemaElement = exports.isJSONSchemaElement = (0, _apidomCore.createPredicate)(({
|
|
12
12
|
hasBasicElementProps,
|
|
13
13
|
isElementType,
|
|
14
14
|
primitiveEq
|
|
15
15
|
}) => {
|
|
16
16
|
return element => element instanceof _JSONSchema.default || hasBasicElementProps(element) && isElementType('JSONSchemaDraft7', element) && primitiveEq('object', element);
|
|
17
17
|
});
|
|
18
|
-
exports.
|
|
19
|
-
const isLinkDescriptionElement = (0, _apidomCore.createPredicate)(({
|
|
18
|
+
const isLinkDescriptionElement = exports.isLinkDescriptionElement = (0, _apidomCore.createPredicate)(({
|
|
20
19
|
hasBasicElementProps,
|
|
21
20
|
isElementType,
|
|
22
21
|
primitiveEq
|
|
23
22
|
}) => {
|
|
24
23
|
return element => element instanceof _LinkDescription.default || hasBasicElementProps(element) && isElementType('linkDescription', element) && primitiveEq('object', element);
|
|
25
|
-
});
|
|
26
|
-
exports.isLinkDescriptionElement = isLinkDescriptionElement;
|
|
24
|
+
});
|
package/cjs/refractor/index.cjs
CHANGED
|
@@ -193,9 +193,8 @@ const schema = {
|
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
const findElementFactory = (ancestor, keyName) => {
|
|
196
|
-
var _ancestor$classes$fir;
|
|
197
196
|
const elementType = (0, _visitor.getNodeType)(ancestor); // @ts-ignore
|
|
198
|
-
const keyMapping = schema[elementType] || schema[(
|
|
197
|
+
const keyMapping = schema[elementType] || schema[(0, _apidomCore.toValue)(ancestor.classes.first)];
|
|
199
198
|
return typeof keyMapping === 'undefined' ? undefined : Object.prototype.hasOwnProperty.call(keyMapping, '[key: *]') ? keyMapping['[key: *]'] : keyMapping[keyName];
|
|
200
199
|
};
|
|
201
200
|
const plugin = () => () => {
|
|
@@ -205,20 +204,20 @@ const plugin = () => () => {
|
|
|
205
204
|
// no empty Element, continue with next one
|
|
206
205
|
if (!isEmptyElement(element.value)) return undefined;
|
|
207
206
|
const [,,, ancestors] = rest;
|
|
208
|
-
const ancestor = ancestors
|
|
209
|
-
const elementFactory = findElementFactory(ancestor, element.key
|
|
207
|
+
const ancestor = ancestors.at(-1);
|
|
208
|
+
const elementFactory = findElementFactory(ancestor, (0, _apidomCore.toValue)(element.key));
|
|
210
209
|
|
|
211
210
|
// no element factory found
|
|
212
211
|
if (typeof elementFactory === 'undefined') return undefined;
|
|
213
212
|
const originalValue = element.value;
|
|
214
213
|
return new _apidomCore.MemberElement(element.key, elementFactory.call({
|
|
215
214
|
context: ancestor
|
|
216
|
-
}, undefined, originalValue.meta
|
|
215
|
+
}, undefined, (0, _apidomCore.cloneDeep)(originalValue.meta), (0, _apidomCore.cloneDeep)(originalValue.attributes)), (0, _apidomCore.cloneDeep)(element.meta), (0, _apidomCore.cloneDeep)(element.attributes));
|
|
217
216
|
},
|
|
218
217
|
StringElement(element, ...rest) {
|
|
219
218
|
if (!isEmptyElement(element)) return undefined;
|
|
220
219
|
const [,,, ancestors] = rest;
|
|
221
|
-
const ancestor = ancestors
|
|
220
|
+
const ancestor = ancestors.at(-1);
|
|
222
221
|
|
|
223
222
|
// we're only interested in empty elements in ArrayElements
|
|
224
223
|
if (!(0, _apidomCore.isArrayElement)(ancestor)) return undefined;
|
|
@@ -228,10 +227,9 @@ const plugin = () => () => {
|
|
|
228
227
|
if (typeof elementFactory === 'undefined') return undefined;
|
|
229
228
|
return elementFactory.call({
|
|
230
229
|
context: element
|
|
231
|
-
}, undefined, element.meta
|
|
230
|
+
}, undefined, (0, _apidomCore.cloneDeep)(element.meta), (0, _apidomCore.cloneDeep)(element.attributes));
|
|
232
231
|
}
|
|
233
232
|
}
|
|
234
233
|
};
|
|
235
234
|
};
|
|
236
|
-
var _default = plugin;
|
|
237
|
-
exports.default = _default;
|
|
235
|
+
var _default = exports.default = plugin;
|
|
@@ -23,5 +23,4 @@ const specification = (0, _ramda.pipe)(
|
|
|
23
23
|
(0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', '$visitor'], _index.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', '$comment'], _$commentVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'if'], _apidomNsJsonSchemaDraft.specificationObj.visitors.JSONSchemaOrJSONReferenceVisitor), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'then'], _apidomNsJsonSchemaDraft.specificationObj.visitors.JSONSchemaOrJSONReferenceVisitor), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'else'], _apidomNsJsonSchemaDraft.specificationObj.visitors.JSONSchemaOrJSONReferenceVisitor), (0, _ramda.dissocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'media']), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'contentEncoding'], _ContentEncodingVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'contentMediaType'], _ContentMediaTypeVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'JSONSchema', 'fixedFields', 'writeOnly'], _WriteOnlyVisitor.default),
|
|
24
24
|
// Link Description object modifications
|
|
25
25
|
(0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', '$visitor'], _index2.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'anchor'], _AnchorVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'anchorPointer'], _AnchorPointerVisitor.default), (0, _ramda.dissocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'mediaType']), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'targetMediaType'], _TargetMediaTypeVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'targetHints'], _TargetHintsVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'description'], _DescriptionVisitor.default), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', '$comment'], _$commentVisitor2.default), (0, _ramda.dissocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'submissionEncType']), (0, _ramda.assocPath)(['visitors', 'document', 'objects', 'LinkDescription', 'fixedFields', 'submissionMediaType'], _SubmissionMediaTypeVisitor.default))(_apidomNsJsonSchemaDraft.specificationObj);
|
|
26
|
-
var _default = specification;
|
|
27
|
-
exports.default = _default;
|
|
26
|
+
var _default = exports.default = specification;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const $commentVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = $commentVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = $commentVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const ContentEncodingVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = ContentEncodingVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = ContentEncodingVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const ContentMediaTypeVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = ContentMediaTypeVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = ContentMediaTypeVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const ContentEncodingVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = ContentEncodingVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = ContentEncodingVisitor;
|
|
@@ -20,11 +20,10 @@ const JSONSchemaVisitor = (0, _stampit.default)(_apidomNsJsonSchemaDraft.FixedFi
|
|
|
20
20
|
return _apidomNsJsonSchemaDraft.FixedFieldsVisitor.compose.methods.ObjectElement.call(this, objectElement);
|
|
21
21
|
},
|
|
22
22
|
BooleanElement(booleanElement) {
|
|
23
|
-
this.element =
|
|
23
|
+
this.element = (0, _apidomCore.cloneDeep)(booleanElement);
|
|
24
24
|
this.element.classes.push('boolean-json-schema');
|
|
25
25
|
return _apidomCore.BREAK;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
var _default = JSONSchemaVisitor;
|
|
30
|
-
exports.default = _default;
|
|
29
|
+
var _default = exports.default = JSONSchemaVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const $commentVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = $commentVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = $commentVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const AnchorPointerVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = AnchorPointerVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = AnchorPointerVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const AnchorVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = AnchorVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = AnchorVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const DescriptionVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = DescriptionVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = DescriptionVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const SubmissionMediaTypeVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = SubmissionMediaTypeVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = SubmissionMediaTypeVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const TargetHintsVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = TargetHintsVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = TargetHintsVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const TargetMediaTypeVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = TargetMediaTypeVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = TargetMediaTypeVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const TemplatePointersVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = TemplatePointersVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = TemplatePointersVisitor;
|
|
@@ -4,5 +4,4 @@ exports.__esModule = true;
|
|
|
4
4
|
exports.default = void 0;
|
|
5
5
|
var _apidomNsJsonSchemaDraft = require("@swagger-api/apidom-ns-json-schema-draft-6");
|
|
6
6
|
const TemplateRequiredVisitor = _apidomNsJsonSchemaDraft.FallbackVisitor;
|
|
7
|
-
var _default = TemplateRequiredVisitor;
|
|
8
|
-
exports.default = _default;
|
|
7
|
+
var _default = exports.default = TemplateRequiredVisitor;
|
|
@@ -15,5 +15,4 @@ const LinkDescriptionVisitor = (0, _stampit.default)(_apidomNsJsonSchemaDraft.Fi
|
|
|
15
15
|
this.element = new _LinkDescription.default();
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var _default = LinkDescriptionVisitor;
|
|
19
|
-
exports.default = _default;
|
|
18
|
+
var _default = exports.default = LinkDescriptionVisitor;
|
|
@@ -11,10 +11,9 @@ const getNodeType = element => {
|
|
|
11
11
|
return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
|
|
12
12
|
};
|
|
13
13
|
exports.getNodeType = getNodeType;
|
|
14
|
-
const keyMap = {
|
|
14
|
+
const keyMap = exports.keyMap = {
|
|
15
15
|
JSONSchemaDraft7Element: ['content'],
|
|
16
16
|
JSONReferenceElement: ['content'],
|
|
17
17
|
LinkDescriptionElement: ['content'],
|
|
18
18
|
..._apidomCore.keyMap
|
|
19
|
-
};
|
|
20
|
-
exports.keyMap = keyMap;
|
|
19
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft7=t():e.apidomNsJSONSchemaDraft7=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{var r=n(5846);e.exports=r},6791:(e,t,n)=>{n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{e.exports=n(3028)},3028:(e,t,n)=>{n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,n)=>{var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,n)=>{var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=r(t),u=i(c),l=s(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];r(e,p)||n&&r(n,p)||c(e,p,u(t,p))}}},4635:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var r,s,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{var r=n(4120),s=Error,i=r("".replace),o=String(s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},8266:(e,t,n)=>{var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},274:(e,t,n)=>{var r=n(6192),s=n(774);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),h=n(4500),f=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,m,d,y,v,b,g,O,j=e.target,S=e.global,E=e.stat,x=e.proto,w=S?r:E?r[j]:(r[j]||{}).prototype,A=S?u:u[j]||p(u,j,{})[j],k=A.prototype;for(d in t)s=!(n=c(S?d:j+(E?".":"#")+d,e.forced))&&w&&h(w,d),v=A[d],s&&(b=e.dontCallGetSet?(O=a(w,d))&&O.value:w[d]),y=s&&b?b:t[d],s&&typeof v==typeof y||(g=e.bind&&s?l(y,r):e.wrap&&s?f(y):x&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&p(g,"sham",!0),p(A,d,g),x&&(h(u,m=j+"Prototype")||p(u,m,{}),p(u[m],d,y),e.real&&k&&(n||!k[d])&&p(k,d,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{var r=n(4696),s=n(5037),i=n(5646),o=n(7771),a=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{var r=n(8922),s=n(6235),i=n(1138),o=n(9288),a=n(8703),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(s(n))return i(r(n,e));throw c(o(e)+" is not iterable")}},5037:(e,t,n)=>{var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var r=n(4120),s=n(6192),i=n(9272),o=Object,a=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},2643:(e,t,n)=>{var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,a;return i&&r(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},273:(e,t,n)=>{var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{var r,s,i,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),p=n(6434),h=n(9766),f=n(4535),m="Object already initialized",d=a.TypeError,y=a.WeakMap;if(o||p.state){var v=p.state||(p.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw d(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=h("state");f[b]=!0,r=function(e,t){if(l(e,b))throw d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==l||n!=u&&(s(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var r=n(150),s=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,a(e))}},3442:(e,t,n)=>{var r=n(8043),s=n(8922),i=n(1138),o=n(9288),a=n(6109),c=n(4104),u=n(8902),l=n(1669),p=n(8703),h=n(6639),f=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,n){var y,v,b,g,O,j,S,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),P=r(t,E),_=function(e){return y&&h(y,"normal",e),new m(!0,e)},N=function(e){return x?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(w)y=e.iterator;else if(A)y=e;else{if(!(v=p(e)))throw f(o(e)+" is not iterable");if(a(v)){for(b=0,g=c(e);g>b;b++)if((O=N(e[b]))&&u(d,O))return O;return new m(!1)}y=l(e,v)}for(j=w?e.next:y.next;!(S=s(j,y)).done;){try{O=N(S.value)}catch(e){h(y,"throw",e)}if("object"==typeof O&&O&&u(d,O))return O}return new m(!1)}},6639:(e,t,n)=>{var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),h=n(8711),f=n(9362),m=n(8182),d=n(7771),y=n(4413),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,O=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),S="keys",E="values",x="entries",w=function(){return this};e.exports=function(e,t,n,o,m,y,A){c(n,t,o);var k,P,_,N=function(e){if(e===m&&D)return D;if(!O&&e in R)return R[e];switch(e){case S:case E:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",M=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],D=!O&&F||N(m),J="Array"==t&&R.entries||F;if(J&&(k=u(J.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):a(k[j])||f(k,j,w)),p(k,T,!0,!0),i&&(d[T]=w)),v&&m==E&&F&&F.name!==E&&(!i&&b?h(R,"name",E):(M=!0,D=function(){return s(F,this)})),m)if(P={values:N(E),keys:y?D:N(S),entries:N(x)},A)for(_ in P)(O||M||!(_ in R))&&f(R,_,P[_]);else r({target:t,proto:!0,forced:O||M},P);return i&&!A||R[j]===D||f(R,j,D,{name:m}),d[t]=D,P}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),p=n(9362),h=n(8182),f=n(5546),m=h("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!c(r)||o((function(){var e={};return r[m].call(e)!==e}))?r={}:f&&(r=u(r)),a(r[m])||p(r,m,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{var r,s=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),p="prototype",h="script",f=l("IE_PROTO"),m=function(){},d=function(e){return"<"+h+">"+e+"</"+h+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete v[p][o[s]];return v()};a[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[p]=s(e),n=new m,m[p]=null,n[f]=e):n=v(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var r=n(69),s=n(9600),i=n(2454),o=n(1138),a=n(101),c=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{var r=n(69),s=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",f="writable";t.f=r?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var r=n(69),s=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var r=n(4500),s=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(a,n)&&s(r,n)&&c(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!i(a=r(n,e)))return a;if(s(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!i(a=r(n,e)))return a;throw o("Can't convert object to primitive value")}},3011:(e,t,n)=>{var r=n(150),s=n(4120),i=n(2092),o=n(4750),a=n(1138),c=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},7545:e=>{e.exports={}},7656:(e,t,n)=>{var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw s("Can't call method on "+e);return e}},1284:(e,t,n)=>{var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},9766:(e,t,n)=>{var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var r=n(4120),s=n(1941),i=n(4845),o=n(3209),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),h=s(n),f=p.length;return h<0||h>=f?e?"":void 0:(r=c(p,h))<55296||r>56319||h+1===f||(l=c(p,h+1))<56320||l>57343?e?a(p,h):r:e?u(p,h,h+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{var r=n(8922),s=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!s(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{var r=n(8576),s=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=r.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),a=n(4469),c=n(7987),u=n(7656),l=n(2643),p=n(6016),h=n(273),f=n(8266),m=n(69),d=n(5546);e.exports=function(e,t,n,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),O=g[g.length-1],j=r.apply(null,g);if(j){var S=j.prototype;if(!d&&s(S,"cause")&&delete S.cause,!n)return j;var E=r("Error"),x=t((function(e,t){var n=p(y?t:e,void 0),r=y?new j(e):new j;return void 0!==n&&i(r,"message",n),f(r,x,r.stack,2),this&&o(S,this)&&l(r,this,x),arguments.length>b&&h(r,arguments[b]),r}));if(x.prototype=S,"Error"!==O?a?a(x,E):c(x,E,{name:!0}):m&&v in j&&(u(x,j,v),u(x,j,"prepareStackTrace")),c(x,j),!d)try{S.name!==O&&i(S,"name",O),S.constructor=x}catch(e){}return x}}},4016:(e,t,n)=>{var r=n(3085),s=n(150),i=n(6298),o=n(6192),a=n(426),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),a=n(7987),c=n(2853),u=n(8711),l=n(774),p=n(273),h=n(8266),f=n(3442),m=n(6016),d=n(8182)("toStringTag"),y=Error,v=[].push,b=function(e,t){var n,r=s(g,this);o?n=o(y(),r?i(this):g):(n=r?this:c(g),u(n,d,"Error")),void 0!==t&&u(n,"message",m(t)),h(n,b,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return f(e,v,{that:a}),u(n,"errors",a),n};o?o(b,y):a(b,y,{name:!0});var g=b.prototype=c(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(e,t,n)=>{n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),a=n(2454).f,c=n(5297),u=n(7271),l=n(5546),p=n(69),h="Array Iterator",f=o.set,m=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){f(this,{type:h,target:r(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{var r=n(3085),s=n(8576),i=n(6298),o=n(426),a="WebAssembly",c=s[a],u=7!==Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?a(void 0,!0):(e=r(n,s),t.index+=e.length,a(e,!1))}))},2752:(e,t,n)=>{n(4242)},162:(e,t,n)=>{n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},5846:(e,t,n)=>{n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&c(e),f=n||l||p||h,m=f?r(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||f&&("length"==y||p&&("offset"==y||"parent"==y)||h&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,d))||m.push(y);return m}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,a))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",h="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,v){var b=c(e),g=c(t),O=b?h:a(e),j=g?h:a(t),S=(O=O==p?f:O)==f,E=(j=j==p?f:j)==f,x=O==j;if(x&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(x&&!S)return v||(v=new r),b||l(e)?s(e,t,n,d,y,v):i(e,t,O,n,d,y,v);if(!(1&n)){var w=S&&m.call(e,"__wrapped__"),A=E&&m.call(t,"__wrapped__");if(w||A){var k=w?e.value():e,P=A?t.value():t;return v||(v=new r),y(k,P,n,d,v)}}return!!x&&(v||(v=new r),o(e,t,n,d,y,v))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),f=c.get(t);if(h&&f)return h==t&&f==e;var m=-1,d=!0,y=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,c):o(v,b,m,e,t,c);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||a(v,e,n,o,c)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!a(v,b,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var m=1&r;if(f||(f=c),e.size!=t.size&&!m)return!1;var d=h.get(e);if(d)return d==t;r|=2,h.set(e,t);var y=o(f(e),f(t),r,u,p,h);return h.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:s.call(t,h)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var d=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<l;){var v=e[h=u[p]],b=t[h];if(i)var g=c?i(b,v,h,t,e,a):i(v,b,h,e,t,a);if(!(void 0===g?v===b||o(v,b,n,i,a):g)){d=!1;break}y||(y="constructor"==h)}if(d&&!y){var O=e.constructor,j=t.constructor;O==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof j&&j instanceof j||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[a]=n:delete e[a]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",h="[object Set]",f="[object WeakMap]",m="[object DataView]",d=u(r),y=u(s),v=u(i),b=u(o),g=u(a),O=c;(r&&O(new r(new ArrayBuffer(1)))!=m||s&&O(new s)!=l||i&&O(i.resolve())!=p||o&&O(new o)!=h||a&&O(new a)!=f)&&(O=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return m;case y:return l;case v:return p;case b:return h;case g:return f}return t}),e.exports=O},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?s(o):r;e.exports=a},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),f=n(1178),m=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=h,r.prototype.MemberElement=u,r.prototype.refract=y,f.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:y,ArraySlice:f,ObjectSlice:m,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,n(3026),s.ArraySlice,s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",f="deepConfiguration",m="deepProps",d="deepStatics",y="deepConf",v="initializers",b="methods",g="composers",O="compose";function j(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function S(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=S.bind(0,(function(e,t){if(t)for(var n=j(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function x(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||x(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var k=S.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!A(r))return r;for(var s,i,o=j(r),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(A(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return x(e)&&n.indexOf(e)===t}))).length?n:t}function _(e,t){function r(n,r){w(t[n])&&(w(e[n])||(e[n]={}),(r||E)(e[n],t[n]))}function s(r){(n=P(e[r],t[r]))&&(e[r]=n)}return t&&w(t=t[O]||t)&&(r(b),r(o),r(a,k),r(c),r(u),r(l,k),r(p),r(h),r(f,k),s(v),s(g)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[O]||{},u={__proto__:i[b]},l=i[v],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&k(u,h),(h=i[o])&&E(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)x(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&k(n,r),(r=e[u])&&E(n,r),(r=e[p])&&Object.defineProperties(n,r),r=x(n[O])?n[O]:N,E(n[O]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function T(e){return x(e)&&x(e[O])}var M={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[O]||r).call(n,s)}}M[b]=R(b,E),M[o]=M.props=R(o,E),M[v]=M.init=R(v,P),M[g]=R(g,P),M[a]=M[m]=R(a,k),M[u]=M.statics=R(u,E),M[l]=M[d]=R(l,k),M[h]=M.conf=R(h,E),M[f]=M[y]=R(f,k),M[c]=R(c,E),M[p]=R(p,E),r=M[O]=E((function(){for(var e,j,S=0,x=[],A=arguments,_=this;S<A.length;)w(e=A[S++])&&x.push(T(e)?e:((s={})[b]=(j=e)[b]||t,r=j.props,s[o]=w((n=j[o])||r)?E({},r,n):t,s[v]=P(j.init,j[v]),s[g]=P(j[g]),r=j[m],s[a]=w((n=j[a])||r)?k({},r,n):t,s[c]=j[c],r=j.statics,s[u]=w((n=j[u])||r)?E({},r,n):t,r=j[d],s[l]=w((n=j[l])||r)?k({},r,n):t,n=j[p],s[p]=w((r=j.name&&{name:{value:j.name}})||n)?E({},n,r):t,r=j.conf,s[h]=w((n=j[h])||r)?E({},r,n):t,r=j[y],s[f]=w((n=j[f])||r)?k({},r,n):t,s));if(e=N.apply(_||i,x),_&&x.unshift(_),Array.isArray(A=e[O][g]))for(S=0;S<A.length;)e=T(_=A[S++]({stamp:e,composables:x}))?_:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=N(s),r[O]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>us,FallbackVisitor:()=>ar,FixedFieldsVisitor:()=>hr,JSONReferenceElement:()=>Zn,JSONSchemaDraft7MediaTypes:()=>xn,JSONSchemaElement:()=>Bs,LinkDescriptionElement:()=>qs,MapVisitor:()=>Lr,ParentSchemaAwareVisitor:()=>xr,PatternedFieldsVisitor:()=>Jr,SpecificationVisitor:()=>pr,createRefractor:()=>di,default:()=>zs,getNodeType:()=>Us,isArrayElement:()=>Gt,isBooleanElement:()=>zt,isElement:()=>Ct,isJSONReferenceElement:()=>vs,isJSONReferenceLikeElement:()=>wr,isJSONSchemaElement:()=>pi,isLinkDescriptionElement:()=>hi,isLinkElement:()=>Kt,isMemberElement:()=>Ht,isNullElement:()=>qt,isNumberElement:()=>Bt,isObjectElement:()=>Ut,isRefElement:()=>Wt,isStringElement:()=>$t,keyMap:()=>Gs,mediaTypes:()=>wn,refract:()=>yi,refractorPluginReplaceEmptyElement:()=>Qs,specificationObj:()=>li});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>tn,includesClasses:()=>rn,includesSymbols:()=>nn,isAnnotationElement:()=>Qt,isArrayElement:()=>Gt,isBooleanElement:()=>zt,isCommentElement:()=>Yt,isElement:()=>Ct,isLinkElement:()=>Kt,isMemberElement:()=>Ht,isNullElement:()=>qt,isNumberElement:()=>Bt,isObjectElement:()=>Ut,isParseResultElement:()=>Xt,isPrimitiveElement:()=>en,isRefElement:()=>Wt,isSourceMapElement:()=>Zt,isStringElement:()=>$t});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>vs,isJSONSchemaElement:()=>ys,isLinkDescriptionElement:()=>gs,isMediaElement:()=>bs});var s={};n.r(s),n.d(s,{isJSONReferenceElement:()=>vs,isJSONSchemaElement:()=>Js,isLinkDescriptionElement:()=>Ls,isMediaElement:()=>bs});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>vs,isJSONSchemaElement:()=>pi,isLinkDescriptionElement:()=>hi});var o=n(7952);const a=function(){return!1};const c=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function p(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:l((function(t){return e(n,t)}));default:return u(n)&&u(r)?t:u(n)?l((function(t){return e(t,r)})):u(r)?l((function(t){return e(n,t)})):e(n,r)}}}const h=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function f(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!h(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const d=function(){return this.xf["@@transducer/init"]()},y=function(e){return this.xf["@@transducer/result"](e)};var v=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=m(this.xf["@@transducer/step"](e,!1))),e},e}();function b(e){return function(t){return new v(e,t)}}const g=p(f(["all"],b,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function O(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function j(e,t,n){return function(){for(var r=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var a;o<t.length&&(!u(t[o])||s>=arguments.length)?a=t[o]:(a=arguments[s],s+=1),r[o]=a,u(a)||(i-=1),o+=1}return i<=0?n.apply(this,r):O(i,j(e,r,n))}}const S=p((function(e,t){return 1===e?l(t):O(e,j(e,[],t))}));function E(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function x(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function w(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const A="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var k=Object.prototype.toString;const P=function(){return"[object Arguments]"===k.call(arguments)?function(e){return"[object Arguments]"===k.call(e)}:function(e){return w("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const R="function"!=typeof Object.keys||T?l((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=T&&P(e);for(t in e)!w(t,e)||s&&"length"===t||(r[r.length]=t);if(_)for(n=N.length-1;n>=0;)w(t=N[n],e)&&!M(r,t)&&(r[r.length]=t),n-=1;return r})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const F=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function D(e,t,n,r){var s=E(e);function i(e,t){return J(e,t,n.slice(),r.slice())}return!x((function(e,t){return!x(i,t,e)}),E(t),s)}function J(e,t,n,r){if(A(e,t))return!0;var s,i,o=F(e);if(o!==F(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!A(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!A(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&D(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&D(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=R(e);if(c.length!==R(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!w(p,t)||!J(t[p],e[p],u,l))return!1;a-=1}return!0}const L=p((function(e,t){return J(e,t,[],[])}));function V(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(L(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function I(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}function C(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var $=function(e){return(e<10?"0":"")+e};const B="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+$(e.getUTCMonth()+1)+"-"+$(e.getUTCDate())+"T"+$(e.getUTCHours())+":"+$(e.getUTCMinutes())+":"+$(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function q(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}var U=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function G(e){return function(t){return new U(e,t)}}const H=p(f(["fantasy-land/filter","filter"],G,(function(e,t){return z(t)?q((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},R(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const K=p((function(e,t){return H((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function W(e,t){var n=function(n){var r=t.concat([e]);return V(n,r)?"<Circular>":W(n,r)},r=function(e,t){return I((function(t){return C(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+I(n,e).join(", ")+"))";case"[object Array]":return"["+I(n,e).concat(r(e,K((function(e){return/^\d+$/.test(e)}),R(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):C(B(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":C(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,R(e)).join(", ")+"}"}}const Q=l((function(e){return W(e,[])}));const Y=p((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Q(e),o=n(i,Q(t));return void 0!==o&&o===i?e:t}));var X=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Z=p(f(["fantasy-land/map","map"],(function(e){return function(t){return new X(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return S(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return q((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return I(e,t)}}))),ee=Number.isInteger||function(e){return e<<0===e};function te(e){return"[object String]"===Object.prototype.toString.call(e)}const ne=p((function(e,t){var n=e<0?t.length+e:e;return te(t)?t.charAt(n):t[n]}));const re=p((function(e,t){if(null!=t)return ee(e)?ne(e,t):t[e]}));const se=p((function(e,t){return Z(re(e),t)}));function ie(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t,r){return e(n,t,r)}));case 2:return u(n)&&u(r)?t:u(n)?p((function(t,n){return e(t,r,n)})):u(r)?p((function(t,r){return e(n,t,r)})):l((function(t){return e(n,r,t)}));default:return u(n)&&u(r)&&u(s)?t:u(n)&&u(r)?p((function(t,n){return e(t,n,s)})):u(n)&&u(s)?p((function(t,n){return e(t,r,n)})):u(r)&&u(s)?p((function(t,r){return e(n,t,r)})):u(n)?l((function(t){return e(t,r,s)})):u(r)?l((function(t){return e(n,t,s)})):u(s)?l((function(t){return e(n,r,t)})):e(n,r,s)}}}const oe=l((function(e){return!!h(e)||!!e&&("object"==typeof e&&(!te(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ae="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ce(e,t,n){return function(r,s,i){if(oe(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[ae])return n(r,s,i[ae]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const le=p((function(e,t){return O(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function he(e,t,n,r){return e["@@transducer/result"](n[r](le(e["@@transducer/step"],e),t))}const fe=ce(ue,he,pe);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const de=ie((function(e,t,n){return fe("function"==typeof e?new me(e):e,t,n)}));const ye=l((function(e){return S(de(Y,0,se("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const ve=l((function(e){return function(){return e}}));const be=l((function(e){return S(de(Y,0,se("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ge(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Oe(e,t,n,r){return n[r](e,t)}const je=ce(q,Oe,ge);const Se=p((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:je((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,Z(n,t))}),[],e)}));const Ee=p((function(e,t){return e.apply(this,t)}));const xe=l((function(e){return null==e}));const we=ie((function e(t,n,r){if(0===t.length)return n;var s=t[0];if(t.length>1){var i=!xe(r)&&w(s,r)&&"object"==typeof r[s]?r[s]:ee(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(ee(e)&&h(n)){var r=[].concat(n);return r[e]=t,r}var s={};for(var i in n)s[i]=n[i];return s[e]=t,s}(s,n,r)}));const Ae=ie((function(e,t,n){return we([e],t,n)}));function ke(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Pe=p((function(e,t){return e&&t}));const _e=p((function(e,t){var n=S(e,t);return S(e,(function(){return q(Se,Z(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ne=l((function(e){return _e(e.length,e)}));const Te=p((function(e,t){return ke(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ne(Pe)(e,t)}));const Me=l((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Re=Ne(l((function(e){return!e})));function Fe(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function De(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return h(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const Je=ie(De("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Le=l(De("tail",Je(1,1/0)));function Ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return O(arguments[0].length,de(Fe,arguments[0],Le(arguments)))}const Ie=l((function(e){return S(e.length,e)}));const Ce=p((function(e,t){return null==t||t!=t?e:t}));var $e=ie((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}));const Be=$e;const qe=p((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(ee(e)&&h(t))return Be(e,1,t);var n={};for(var r in t)n[r]=t[r];return delete n[e],n}(t[0],n);default:var r=t[0],s=Array.prototype.slice.call(t,1);return null==n[r]?function(e,t){if(ee(e)&&h(t))return[].concat(t);var n={};for(var r in t)n[r]=t[r];return n}(r,n):Ae(r,e(s,n[r]),n)}}));var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Ue(e){return function(t){return new ze(e,t)}}const Ge=p(f(["dropWhile"],Ue,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Je(n,1/0,t)})));const He=p((function(e,t){return e||t}));const Ke=p((function(e,t){return ke(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ne(He)(e,t)}));var We=l((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():h(e)?[]:te(e)?"":z(e)?{}:P(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Qe=We;const Ye=l((function(e){return S(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));const Xe=p((function(e,t){if(0===e.length||xe(t))return!1;for(var n=t,r=0;r<e.length;){if(xe(n)||!w(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));const Ze=p((function(e,t){return Xe([e],t)}));const et=p((function(e,t){return!xe(t)&&e in t}));const tt=ne(0);var nt=function(e,t){switch(arguments.length){case 0:return nt;case 1:return function t(n){return 0===arguments.length?t:A(e,n)};default:return A(e,t)}};const rt=nt;const st=ie((function(e,t,n){return S(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const it=p(V);const ot=Je(0,-1);"function"==typeof Object.assign&&Object.assign;const at=p((function(e,t){return S(e+1,(function(){var n=arguments[e];if(null!=n&&ke(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Q(n)+' does not have a method named "'+t+'"')}))}));const ct=l((function(e){return null!=e&&L(e,Qe(e))}));const ut=at(1,"join");const lt=ne(-1);const pt=p((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=ee(n)?ne(n,r):r[n],s+=1}return r}))}));const ht=p((function(e,t){return pt([e],t)[0]}));const ft=p((function(e,t){return q((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const mt=ie((function(e,t,n){return e(ht(t,n))}));const dt=p((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}));const yt=ie((function(e,t,n){return Ce(e,re(t,n))}));const vt=ie((function(e,t,n){return e(re(t,n))}));const bt=l(m);var gt=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Ot=gt;const jt=at(1,"split");var St="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;const Et=Ye(it);class xt extends o.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const wt=xt;class At extends o.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const kt=At;const Pt=ve(void 0);const _t=L(Pt());class Nt extends o.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(_t(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Tt=Nt;class Mt extends o.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),n=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Rt=Mt,Ft=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Dt=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Jt=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},Lt=(e,t)=>{var n,r;return(null==t||null===(n=t.classes)||void 0===n||null===(r=n.includes)||void 0===r?void 0:r.call(n,e))||!1},Vt=(e,t)=>(null==t?void 0:t.element)===e,It=e=>e({hasMethod:Ft,hasBasicElementProps:Dt,primitiveEq:Jt,isElementType:Vt,hasClass:Lt}),Ct=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.W_||e(n)&&t(void 0,n))),$t=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.RP||e(n)&&t("string",n))),Bt=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.VL||e(n)&&t("number",n))),qt=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.zr||e(n)&&t("null",n))),zt=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.hh||e(n)&&t("boolean",n))),Ut=It((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),Gt=It((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.ON&&!(r instanceof o.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),Ht=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.c6||e(r)&&t("member",r)&&n(void 0,r))),Kt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.EA||e(r)&&t("link",r)&&n(void 0,r))),Wt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.tK||e(r)&&t("ref",r)&&n(void 0,r))),Qt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof wt||e(r)&&t("annotation",r)&&n("array",r))),Yt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof kt||e(r)&&t("comment",r)&&n("string",r))),Xt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tt||e(r)&&t("parseResult",r)&&n("array",r))),Zt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rt||e(r)&&t("sourceMap",r)&&n("array",r))),en=e=>Vt("object",e)||Vt("array",e)||Vt("boolean",e)||Vt("number",e)||Vt("string",e)||Vt("null",e)||Vt("member",e),tn=e=>{var t,n;return Zt(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},nn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Gt(n)&&g(Et(n.toValue()),e)},rn=(e,t)=>0===e.length||g(Et(t.classes.toValue()),e);const sn=L(null);const on=Re(sn);function an(e){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(e)}const cn=function(e){return"object"===an(e)};const un=S(1,Te(on,cn));const ln=S(1,Ve(F,rt("GeneratorFunction")));const pn=S(1,Ve(F,rt("AsyncFunction")));const hn=be([Ve(F,rt("Function")),ln,pn]);var fn=Ve(F,rt("Object")),mn=Ve(Q,L(Q(Object))),dn=mt(Te(hn,mn),["constructor"]);const yn=S(1,(function(e){if(!un(e)||!fn(e))return!1;var t=Object.getPrototypeOf(e);return!!sn(t)||dn(t)}));var vn=n(1427);const bn=class extends vn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,yn(n)&&et("cause",n)&&!et("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&et("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class gn extends Error{static[Symbol.hasInstance](e){return Function.prototype[Symbol.hasInstance].call(gn,e)||Function.prototype[Symbol.hasInstance].call(bn,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,yn(t)&&et("cause",t)&&!et("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&et("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const On=gn;const jn=class extends On{};const Sn=class extends jn{};const En=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Sn('"filterByFormat" method is not implemented.')}findBy(){throw new Sn('"findBy" method is not implemented.')}latest(){throw new Sn('"latest" method is not implemented.')}};class xn extends En{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-07",t="generic"){const n="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return lt(this.filterByFormat(e))}}const wn=new xn("application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07");const An=Re(hn);const kn=S(1,hn(Array.isArray)?Array.isArray:Ve(F,rt("Array")));const Pn=Te(kn,ct);const _n=S(3,(function(e,t,n){var r=ht(e,n),s=ht(ot(e),n);if(!An(r)&&!Pn(e)){var i=le(r,s);return Ee(i,t)}}));class Nn extends o.lS{constructor(){super(),this.register("annotation",wt),this.register("comment",kt),this.register("parseResult",Tt),this.register("sourceMap",Rt)}}const Tn=new Nn,Mn=e=>{const t=new Nn;return yn(e)&&t.use(e),t},Rn=Tn,Fn=()=>({predicates:{...e},namespace:Rn});var Dn=n(6591),Jn=n.n(Dn);const Ln=S(1,Ve(F,rt("String"))),Vn=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},In={},Cn=e=>null==e?void 0:e.type,$n=e=>"string"==typeof Cn(e),Bn=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=In,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Vn,nodeTypeGetter:c=Cn,nodePredicate:u=$n,detectCycles:l=!0}={})=>{const p=n||{};let h,f,m=Array.isArray(e),d=[e],y=-1,v=[];const b=[],g=[];let O=e;do{y+=1;const e=y===d.length;let n,j;const S=e&&0!==v.length;if(e){if(n=0===g.length?void 0:b.pop(),j=f,f=g.pop(),S){j=m?j.slice():Object.create(Object.getPrototypeOf(j),Object.getOwnPropertyDescriptors(j));let e=0;for(let t=0;t<v.length;t+=1){let n=v[t][0];const r=v[t][1];m&&(n-=e),m&&r===i?(j.splice(n,1),e+=1):j[n]=r}}y=h.index,d=h.keys,v=h.edits,m=h.inArray,h=h.prev}else{if(n=f?m?y:d[y]:void 0,j=f?f[n]:O,j===i||void 0===j)continue;f&&b.push(n)}if(g.includes(j))continue;let E;if(!Array.isArray(j)){if(!u(j))throw new On(`Invalid AST Node: ${JSON.stringify(j)}`);if(l&&g.includes(j)){b.pop();continue}const i=a(t,c(j),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;if(E=i.call(t,j,n,f,b,g),E===s)break;if(E===o){if(!e){b.pop();continue}}else if(void 0!==E&&(v.push([n,E]),!e)){if(!u(E)){b.pop();continue}j=E}}}void 0===E&&S&&v.push([n,j]),e||(h={inArray:m,index:y,keys:d,edits:v,prev:h},m=Array.isArray(j),d=m?j:p[c(j)]||[],y=-1,v=[],f&&g.push(f),f=j)}while(void 0!==h);return 0!==v.length&&([,O]=v[v.length-1]),O};Bn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=In,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Vn,nodeTypeGetter:c=Cn,nodePredicate:u=$n,detectCycles:l=!0}={})=>{const p=n||{};let h,f,m=Array.isArray(e),d=[e],y=-1,v=[];const b=[],g=[];let O=e;do{y+=1;const e=y===d.length;let n,j;const S=e&&0!==v.length;if(e){if(n=0===g.length?void 0:b.pop(),j=f,f=g.pop(),S){j=m?j.slice():Object.create(Object.getPrototypeOf(j),Object.getOwnPropertyDescriptors(j));let e=0;for(let t=0;t<v.length;t+=1){let n=v[t][0];const r=v[t][1];m&&(n-=e),m&&r===i?(j.splice(n,1),e+=1):j[n]=r}}y=h.index,d=h.keys,v=h.edits,m=h.inArray,h=h.prev}else{if(n=f?m?y:d[y]:void 0,j=f?f[n]:O,j===i||void 0===j)continue;f&&b.push(n)}let E;if(!Array.isArray(j)){if(!u(j))throw new On(`Invalid AST Node: ${JSON.stringify(j)}`);if(l&&g.includes(j)){b.pop();continue}const i=a(t,c(j),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;if(E=await i.call(t,j,n,f,b,g),E===s)break;if(E===o){if(!e){b.pop();continue}}else if(void 0!==E&&(v.push([n,E]),!e)){if(!u(E)){b.pop();continue}j=E}}}void 0===E&&S&&v.push([n,j]),e||(h={inArray:m,index:y,keys:d,edits:v,prev:h},m=Array.isArray(j),d=m?j:p[c(j)]||[],y=-1,v=[],f&&g.push(f),f=j)}while(void 0!==h);return 0!==v.length&&([,O]=v[v.length-1]),O};const qn=e=>Ut(e)?"ObjectElement":Gt(e)?"ArrayElement":Ht(e)?"MemberElement":$t(e)?"StringElement":zt(e)?"BooleanElement":Bt(e)?"NumberElement":qt(e)?"NullElement":Kt(e)?"LinkElement":Wt(e)?"RefElement":void 0,zn=Ve(qn,Ln),Un={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Gn=(Dn({props:{result:[],predicate:a,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=Un,...r}={})=>Bn(e,t,{keyMap:n,nodeTypeGetter:qn,nodePredicate:zn,...r}));Gn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=Un,...r}={})=>Bn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:qn,nodePredicate:zn,...r});const Hn=(e,t,n={})=>{if(0===t.length)return e;const r=yt(Fn,"toolboxCreator",n),s=yt({},"visitorOptions",n),i=yt(qn,"nodeTypeGetter",s),o=r(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=Vn,nodeTypeGetter:n=Cn}={})=>{const r=new Array(e.length);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null==r[o]){const a=t(e[o],n(s),!1);if("function"==typeof a){const t=a.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===In)r[o]=In;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null==r[o]){const a=t(e[o],n(s),!0);if("function"==typeof a){const t=a.call(e[o],s,...i);if(t===In)r[o]=In;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(a.map(yt({},"visitor")),{nodeTypeGetter:i});a.forEach(_n(["pre"],[]));const u=Gn(e,c,s);return a.forEach(_n(["post"],[])),u},Kn=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return Hn(r,n,{toolboxCreator:Fn,visitorOptions:{nodeTypeGetter:qn}})},Wn=e=>(t,n={})=>Kn(t,{...n,Type:e});o.Sb.refract=Wn(o.Sb),o.ON.refract=Wn(o.ON),o.RP.refract=Wn(o.RP),o.hh.refract=Wn(o.hh),o.zr.refract=Wn(o.zr),o.VL.refract=Wn(o.VL),o.EA.refract=Wn(o.EA),o.tK.refract=Wn(o.tK),wt.refract=Wn(wt),kt.refract=Wn(kt),Tt.refract=Wn(Tt),Rt.refract=Wn(Rt);class Qn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Yn=Qn;class Xn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Zn=Xn;class er extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const tr=er;class nr extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const rr=nr;const sr=Ie((function(e,t){return Ve(jt(""),Ge(Et(e)),ut(""))(t)})),ir=(e,t)=>{const n=Ce(e,t);return ft((e=>{if(yn(e)&&Ze("$ref",e)&&vt(Ln,"$ref",e)){const t=ht(["$ref"],e),r=sr("#/",t);return ht(r.split("/"),n)}return yn(e)?ir(e,n):e}),e)},or=Dn({props:{element:null},methods:{copyMetaAndAttributes(e,t){tn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),ar=Dn(or,{methods:{enter(e){return this.element=e.clone(),In}}});const cr=ve(Pt()),ur=e=>{if(Ct(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},lr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Un},pr=Dn(or,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return dt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ve(ht(["visitors",...e,"fixedFields"]),R)(this.specObj)},retrieveVisitor(e){return mt(hn,["visitors",...e],this.specObj)?ht(["visitors",...e],this.specObj):ht(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return _t(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Gn(t,r,{keyMap:lr,nodeTypeGetter:ur,...n}),r.element)}}}),hr=Dn(pr,{props:{specPath:cr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if($t(r)&&n.includes(r.toValue())&&!this.ignoredFields.includes(r.toValue())){const n=this.toRefractedElement([...t,"fixedFields",r.toValue()],e),i=new o.c6(r.clone(),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(r.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),In}}}),fr=Dn(hr,ar,{props:{specPath:ve(["document","objects","JSONSchema"])},init(){this.element=new Yn}}),mr=ar,dr=ar,yr=ar,vr=ar,br=ar,gr=ar,Or=ar,jr=ar,Sr=ar,Er=ar,xr=Dn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),wr=e=>Ut(e)&&e.hasKey("$ref"),Ar=Dn(pr,xr,ar,{methods:{ObjectElement(e){const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),In},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),kr=ar,Pr=ar,_r=ar,Nr=ar,Tr=ar,Mr=Dn(ar,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),In}}});const Rr=Re(S(1,Te(on,Ke(cn,hn))));const Fr=Re(ct);const Dr=ye([Ln,Rr,Fr]),Jr=Dn(pr,{props:{fieldPatternPredicate:a,specPath:cr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(t.clone(),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),In}}}),Lr=Dn(Jr,{props:{fieldPatternPredicate:Dr}}),Vr=Dn(Lr,xr,ar,{props:{specPath:e=>wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),Ir=Dn(Lr,xr,ar,{props:{specPath:e=>wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),Cr=Dn(Lr,xr,ar,{props:{specPath:e=>wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),$r=Dn(ar,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),In}}}),Br=Dn(ar,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),In},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),In}}}),qr=Dn(pr,xr,ar,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),zr=Dn(pr,xr,ar,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),Ur=Dn(pr,xr,ar,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),Gr=Dn(Lr,xr,ar,{props:{specPath:e=>wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),Hr=ar,Kr=ar,Wr=ar,Qr=ar,Yr=ar,Xr=Dn(pr,xr,ar,{init(){this.element=new o.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),In}}}),Zr=ar,es=Dn(hr,ar,{props:{specPath:ve(["document","objects","JSONReference"])},init(){this.element=new Zn},methods:{ObjectElement(e){const t=hr.compose.methods.ObjectElement.call(this,e);return $t(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ts=Dn(ar,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),In}}});const ns=Re(xe);const rs=Te(kn,Fr);function ss(e){return function(e){if(Array.isArray(e))return is(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return is(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return is(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function is(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var os=Ve(Ot(Me((function(e,t){return e.length>t.length}))),tt,re("length")),as=Ie((function(e,t,n){var r=n.apply(void 0,ss(e));return ns(r)?bt(r):t}));const cs=st(rs,(function(e){var t=os(e);return S(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return de(as(n),void 0,e)}))}),Pt),us=Dn(pr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>st(e,ve(t),Pt))),n=cs(t)(e);return this.element=this.toRefractedElement(n,e),In}}}),ls=Dn(us,{props:{alternator:[{predicate:wr,specPath:["document","objects","JSONReference"]},{predicate:c,specPath:["document","objects","JSONSchema"]}]}}),ps=Dn(hr,ar,{props:{specPath:ve(["document","objects","Media"])},init(){this.element=new tr}}),hs=ar,fs=ar,ms=Dn(hr,ar,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new rr}}),ds={visitors:{value:ar,JSONSchemaOrJSONReferenceVisitor:ls,document:{objects:{JSONSchema:{$visitor:fr,fixedFields:{id:mr,$schema:dr,multipleOf:yr,maximum:vr,exclusiveMaximum:br,minimum:gr,exclusiveMinimum:Or,maxLength:jr,minLength:Sr,pattern:Er,additionalItems:ls,items:Ar,maxItems:kr,minItems:Pr,uniqueItems:_r,maxProperties:Nr,minProperties:Tr,required:Mr,properties:Vr,additionalProperties:ls,patternProperties:Ir,dependencies:Cr,enum:$r,type:Br,allOf:qr,anyOf:zr,oneOf:Ur,not:ls,definitions:Gr,title:Hr,description:Kr,default:Wr,format:Qr,base:Yr,links:Xr,media:{$ref:"#/visitors/document/objects/Media"},readOnly:Zr}},JSONReference:{$visitor:es,fixedFields:{$ref:ts}},Media:{$visitor:ps,fixedFields:{binaryEncoding:hs,type:fs}},LinkDescription:{$visitor:ms,fixedFields:{href:ar,rel:ar,title:ar,targetSchema:ls,mediaType:ar,method:ar,encType:ar,schema:ls}}}}}},ys=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Yn||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),vs=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Zn||e(r)&&t("JSONReference",r)&&n("object",r))),bs=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof tr||e(r)&&t("media",r)&&n("object",r))),gs=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof rr||e(r)&&t("linkDescription",r)&&n("object",r))),Os={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Yn),t.register("jSONReference",Zn),t.register("media",tr),t.register("linkDescription",rr),t}},js=()=>{const e=Mn(Os);return{predicates:{...t,isStringElement:$t},namespace:e}},Ss=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=ds}={})=>{const s=(0,o.Qc)(e),i=ir(r),a=_n(t,[],i);return Gn(s,a,{state:{specObj:i}}),Hn(a.element,n,{toolboxCreator:js,visitorOptions:{keyMap:lr,nodeTypeGetter:ur}})},Es=e=>(t,n={})=>Ss(t,{specPath:e,...n});Yn.refract=Es(["visitors","document","objects","JSONSchema","$visitor"]),Zn.refract=Es(["visitors","document","objects","JSONReference","$visitor"]),tr.refract=Es(["visitors","document","objects","Media","$visitor"]),rr.refract=Es(["visitors","document","objects","LinkDescription","$visitor"]);const xs=class extends Yn{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new jn("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new jn("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const ws=class extends rr{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new jn("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new jn("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new jn("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new jn("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new jn("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new jn("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},As=Dn(hr,ar,{props:{specPath:ve(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new xs,hr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),In}}}),ks=ar,Ps=Dn(pr,xr,ar,{methods:{ObjectElement(e){const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),In},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=wr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),In}}}),_s=ar,Ns=Dn(ar,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),In}}}),Ts=Dn(hr,ar,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new ws}}),Ms=ar,Rs=Ve(we(["visitors","document","objects","JSONSchema","$visitor"],As),qe(["visitors","document","objects","JSONSchema","fixedFields","id"]),we(["visitors","document","objects","JSONSchema","fixedFields","$id"],ks),we(["visitors","document","objects","JSONSchema","fixedFields","contains"],ds.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","items"],Ps),we(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ds.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","const"],_s),we(["visitors","document","objects","JSONSchema","fixedFields","examples"],Ns),we(["visitors","document","objects","LinkDescription","$visitor"],Ts),we(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ds.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","schema"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ds.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","method"]),qe(["visitors","document","objects","LinkDescription","fixedFields","encType"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ms))(ds),Fs=e=>{if(Ct(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ds={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Un},Js=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof xs||e(r)&&t("JSONSchemaDraft6",r)&&n("object",r))),Ls=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ws||e(r)&&t("linkDescription",r)&&n("object",r))),Vs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",xs),t.register("jSONReference",Zn),t.register("media",tr),t.register("linkDescription",ws),t}},Is=()=>{const e=Mn(Vs);return{predicates:{...s,isStringElement:$t},namespace:e}},Cs=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Rs}={})=>{const s=(0,o.Qc)(e),i=ir(r),a=_n(t,[],i);return Gn(s,a,{state:{specObj:i}}),Hn(a.element,n,{toolboxCreator:Is,visitorOptions:{keyMap:Ds,nodeTypeGetter:Fs}})},$s=e=>(t,n={})=>Cs(t,{specPath:e,...n});xs.refract=$s(["visitors","document","objects","JSONSchema","$visitor"]),ws.refract=$s(["visitors","document","objects","LinkDescription","$visitor"]);const Bs=class extends xs{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new jn('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new jn('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const qs=class extends ws{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get mediaType(){throw new jn("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new jn("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get submissionEncType(){throw new jn("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new jn("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},zs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",Bs),t.register("jSONReference",Zn),t.register("linkDescription",qs),t}},Us=e=>{if(Ct(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Gs={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...Un},Hs=e=>$t(e)&&rn(["yaml-e-node","yaml-e-scalar"],e),Ks={JSONSchemaDraft7Element:{additionalItems:(...e)=>new Bs(...e),items:(...e)=>new Bs(...e),contains:(...e)=>new Bs(...e),required(...e){const t=new o.ON(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new Bs(...e),patternProperties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new Bs(...e),enum(...e){const t=new o.ON(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-oneOf"),t},if:(...e)=>new Bs(...e),then:(...e)=>new Bs(...e),else:(...e)=>new Bs(...e),not:(...e)=>new Bs(...e),definitions(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new o.ON(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new o.ON(...e);return t.classes.push("json-schema-links"),t}},LinkDescriptionElement:{hrefSchema:(...e)=>new Bs(...e),targetSchema:(...e)=>new Bs(...e),submissionSchema:(...e)=>new Bs(...e),templatePointers:(...e)=>new o.Sb(...e),templateRequired:(...e)=>new o.ON(...e),targetHints:(...e)=>new o.Sb(...e)},"json-schema-properties":{"[key: *]":function(...e){return new Bs(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new Bs(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new Bs(...e)}},"json-schema-allOf":{"<*>":function(...e){return new Bs(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new Bs(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new Bs(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new Bs(...e)}},"json-schema-links":{"<*>":function(...e){return new qs(...e)}}},Ws=(e,t)=>{const n=Us(e),r=Ks[n]||Ks[e.classes.first?.toValue?.()];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},Qs=()=>()=>({visitor:{MemberElement(e,...t){if(!Hs(e.value))return;const[,,,n]=t,r=n[n.length-1],s=Ws(r,e.key.toValue());if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:r},void 0,i.meta.clone(),i.attributes.clone()),e.meta.clone(),e.attributes.clone())},StringElement(e,...t){if(!Hs(e))return;const[,,,n]=t,r=n[n.length-1];if(!Gt(r))return;const s=Ws(r,"<*>");return void 0!==s?s.call({context:e},void 0,e.meta.clone(),e.attributes.clone()):void 0}}}),Ys=Jn()(hr,ar,{props:{specPath:ve(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Bs,hr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),In}}}),Xs=ar,Zs=ar,ei=ar,ti=ar,ni=Jn()(hr,ar,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new qs}}),ri=ar,si=ar,ii=ar,oi=ar,ai=ar,ci=ar,ui=ar,li=Ve(we(["visitors","document","objects","JSONSchema","$visitor"],Ys),we(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Xs),we(["visitors","document","objects","JSONSchema","fixedFields","if"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","then"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","else"],Rs.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","JSONSchema","fixedFields","media"]),we(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],Zs),we(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],ei),we(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],ti),we(["visitors","document","objects","LinkDescription","$visitor"],ni),we(["visitors","document","objects","LinkDescription","fixedFields","anchor"],ri),we(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],si),qe(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),we(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],ii),we(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],oi),we(["visitors","document","objects","LinkDescription","fixedFields","description"],ai),we(["visitors","document","objects","LinkDescription","fixedFields","$comment"],ci),qe(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],ui))(Rs),pi=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Bs||e(r)&&t("JSONSchemaDraft7",r)&&n("object",r))),hi=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof qs||e(r)&&t("linkDescription",r)&&n("object",r))),fi=()=>{const e=Mn(zs);return{predicates:{...i,isStringElement:$t},namespace:e}},mi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=li}={})=>{const s=(0,o.Qc)(e),i=ir(r),a=_n(t,[],i);return Gn(s,a,{state:{specObj:i}}),Hn(a.element,n,{toolboxCreator:fi,visitorOptions:{keyMap:Gs,nodeTypeGetter:Us}})},di=e=>(t,n={})=>mi(t,{specPath:e,...n}),yi=mi})(),r})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft7=t():e.apidomNsJSONSchemaDraft7=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{var r=n(5846);e.exports=r},6791:(e,t,n)=>{n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{e.exports=n(3028)},3028:(e,t,n)=>{n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,n)=>{var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,n)=>{var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var c,a=r(t),u=i(a),l=s(o,u);if(e&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("toStringTag"),c=Object,a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?n:a?i(t):"Object"==(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var p=c[l];r(e,p)||n&&r(n,p)||a(e,p,u(t,p))}}},4635:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var r,s,i=n(8576),o=n(8989),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{var r=n(4120),s=Error,i=r("".replace),o=String(s("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},8266:(e,t,n)=>{var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,c){i&&(o?o(e,t):r(e,"stack",s(n,c)))}},274:(e,t,n)=>{var r=n(6192),s=n(774);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),c=n(5141).f,a=n(9245),u=n(7545),l=n(8043),p=n(8711),f=n(4500),h=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,m,d,y,v,b,g,O,j=e.target,S=e.global,E=e.stat,x=e.proto,w=S?r:E?r[j]:(r[j]||{}).prototype,A=S?u:u[j]||p(u,j,{})[j],k=A.prototype;for(d in t)s=!(n=a(S?d:j+(E?".":"#")+d,e.forced))&&w&&f(w,d),v=A[d],s&&(b=e.dontCallGetSet?(O=c(w,d))&&O.value:w[d]),y=s&&b?b:t[d],s&&typeof v==typeof y||(g=e.bind&&s?l(y,r):e.wrap&&s?h(y):x&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&p(g,"sham",!0),p(A,d,g),x&&(f(u,m=j+"Prototype")||p(u,m,{}),p(u[m],d,y),e.real&&k&&(n||!k[d])&&p(k,d,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},6419:(e,t,n)=>{var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{var r=n(4696),s=n(5037),i=n(5646),o=n(7771),c=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{var r=n(8922),s=n(6235),i=n(1138),o=n(9288),c=n(8703),a=TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(s(n))return i(r(n,e));throw a(o(e)+" is not iterable")}},5037:(e,t,n)=>{var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var r=n(4120),s=n(6192),i=n(9272),o=Object,c=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):o(e)}:o},2643:(e,t,n)=>{var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,c;return i&&r(o=t.constructor)&&o!==n&&s(c=o.prototype)&&c!==n.prototype&&i(e,c),e}},273:(e,t,n)=>{var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{var r,s,i,o=n(5278),c=n(8576),a=n(5744),u=n(8711),l=n(4500),p=n(6434),f=n(9766),h=n(4535),m="Object already initialized",d=c.TypeError,y=c.WeakMap;if(o||p.state){var v=p.state||(p.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw d(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var b=f("state");h[b]=!0,r=function(e,t){if(l(e,b))throw d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=s(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=a[c(e)];return n==l||n!=u&&(s(t)?r(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var r=n(150),s=n(6447),i=n(8902),o=n(615),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,c(e))}},3442:(e,t,n)=>{var r=n(8043),s=n(8922),i=n(1138),o=n(9288),c=n(6109),a=n(4104),u=n(8902),l=n(1669),p=n(8703),f=n(6639),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,n){var y,v,b,g,O,j,S,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),P=r(t,E),_=function(e){return y&&f(y,"normal",e),new m(!0,e)},N=function(e){return x?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(w)y=e.iterator;else if(A)y=e;else{if(!(v=p(e)))throw h(o(e)+" is not iterable");if(c(v)){for(b=0,g=a(e);g>b;b++)if((O=N(e[b]))&&u(d,O))return O;return new m(!1)}y=l(e,v)}for(j=w?e.next:y.next;!(S=s(j,y)).done;){try{O=N(S.value)}catch(e){f(y,"throw",e)}if("object"==typeof O&&O&&u(d,O))return O}return new m(!1)}},6639:(e,t,n)=>{var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw n;if(c)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),c=n(7771),a=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),c[l]=a,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),c=n(6447),a=n(5695),u=n(9341),l=n(4469),p=n(1284),f=n(8711),h=n(9362),m=n(8182),d=n(7771),y=n(4413),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,O=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),S="keys",E="values",x="entries",w=function(){return this};e.exports=function(e,t,n,o,m,y,A){a(n,t,o);var k,P,_,N=function(e){if(e===m&&D)return D;if(!O&&e in R)return R[e];switch(e){case S:case E:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",M=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],D=!O&&F||N(m),J="Array"==t&&R.entries||F;if(J&&(k=u(J.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):c(k[j])||h(k,j,w)),p(k,T,!0,!0),i&&(d[T]=w)),v&&m==E&&F&&F.name!==E&&(!i&&b?f(R,"name",E):(M=!0,D=function(){return s(F,this)})),m)if(P={values:N(E),keys:y?D:N(S),entries:N(x)},A)for(_ in P)(O||M||!(_ in R))&&h(R,_,P[_]);else r({target:t,proto:!0,forced:O||M},P);return i&&!A||R[j]===D||h(R,j,D,{name:m}),d[t]=D,P}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),c=n(6447),a=n(5744),u=n(2853),l=n(9341),p=n(9362),f=n(8182),h=n(5546),m=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!a(r)||o((function(){var e={};return r[m].call(e)!==e}))?r={}:h&&(r=u(r)),c(r[m])||p(r,m,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{var r,s=n(1138),i=n(1187),o=n(2952),c=n(4535),a=n(7403),u=n(7449),l=n(9766),p="prototype",f="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+f+">"+e+"</"+f+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+f+":",t.style.display="none",a.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete v[p][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[p]=s(e),n=new m,m[p]=null,n[h]=e):n=v(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var r=n(69),s=n(9600),i=n(2454),o=n(1138),c=n(101),a=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{var r=n(69),s=n(188),i=n(9600),o=n(1138),c=n(77),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";t.f=r?i?function(e,t,n){if(o(e),t=c(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=l(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=c(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var r=n(69),s=n(8922),i=n(6007),o=n(774),c=n(101),a=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=c(e),t=a(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var r=n(4500),s=n(6447),i=n(1795),o=n(9766),c=n(4635),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,a))return t[a];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,c=n(4535),a=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(c,n)&&s(r,n)&&a(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||a(l,n));return l}},7653:(e,t,n)=>{var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&s(n=e.toString)&&!i(c=r(n,e)))return c;if(s(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&s(n=e.toString)&&!i(c=r(n,e)))return c;throw o("Can't convert object to primitive value")}},3011:(e,t,n)=>{var r=n(150),s=n(4120),i=n(2092),o=n(4750),c=n(1138),a=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=o.f;return n?a(t,n(e)):t}},7545:e=>{e.exports={}},7656:(e,t,n)=>{var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw s("Can't call method on "+e);return e}},1284:(e,t,n)=>{var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),c=n(158),a=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!r&&i(l,"toString",c)}}},9766:(e,t,n)=>{var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var r=n(4120),s=n(1941),i=n(4845),o=n(3209),c=r("".charAt),a=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),f=s(n),h=p.length;return f<0||f>=h?e?"":void 0:(r=a(p,f))<55296||r>56319||f+1===h||(l=a(p,f+1))<56320||l>57343?e?c(p,f):r:e?u(p,f,f+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{var r=n(8922),s=n(5744),i=n(3236),o=n(5037),c=n(380),a=n(8182),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,a=o(e,l);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!s(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},77:(e,t,n)=>{var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{var r=n(8576),s=n(8717),i=n(4500),o=n(2759),c=n(6770),a=n(615),u=r.Symbol,l=s("wks"),p=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),c=n(4469),a=n(7987),u=n(7656),l=n(2643),p=n(6016),f=n(273),h=n(8266),m=n(69),d=n(5546);e.exports=function(e,t,n,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),O=g[g.length-1],j=r.apply(null,g);if(j){var S=j.prototype;if(!d&&s(S,"cause")&&delete S.cause,!n)return j;var E=r("Error"),x=t((function(e,t){var n=p(y?t:e,void 0),r=y?new j(e):new j;return void 0!==n&&i(r,"message",n),h(r,x,r.stack,2),this&&o(S,this)&&l(r,this,x),arguments.length>b&&f(r,arguments[b]),r}));if(x.prototype=S,"Error"!==O?c?c(x,E):a(x,E,{name:!0}):m&&v in j&&(u(x,j,v),u(x,j,"prepareStackTrace")),a(x,j),!d)try{S.name!==O&&i(S,"name",O),S.constructor=x}catch(e){}return x}}},4016:(e,t,n)=>{var r=n(3085),s=n(150),i=n(6298),o=n(6192),c=n(426),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),c=n(7987),a=n(2853),u=n(8711),l=n(774),p=n(273),f=n(8266),h=n(3442),m=n(6016),d=n(8182)("toStringTag"),y=Error,v=[].push,b=function(e,t){var n,r=s(g,this);o?n=o(y(),r?i(this):g):(n=r?this:a(g),u(n,d,"Error")),void 0!==t&&u(n,"message",m(t)),f(n,b,n.stack,1),arguments.length>2&&p(n,arguments[2]);var c=[];return h(e,v,{that:c}),u(n,"errors",c),n};o?o(b,y):c(b,y,{name:!0});var g=b.prototype=a(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(e,t,n)=>{n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),c=n(2454).f,a=n(5297),u=n(7271),l=n(5546),p=n(69),f="Array Iterator",h=o.set,m=o.getterFor(f);e.exports=a(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{var r=n(3085),s=n(8576),i=n(6298),o=n(426),c="WebAssembly",a=s[c],u=7!==Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(a&&a[e]){var n={};n[e]=o(c+"."+e,t,u),r({target:c,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),c=n(7271),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?c(void 0,!0):(e=r(n,s),t.index+=e.length,c(e,!1))}))},2752:(e,t,n)=>{n(4242)},162:(e,t,n)=>{n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),c=n(7771),a=n(8182)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==a&&o(p,a,u),c[u]=c.Array}},5846:(e,t,n)=>{n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),c=n(7942);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),c=n(4769);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),c=n(4150);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),c=n(8605),a=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),c=n(9045),a=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),f=!n&&!l&&!p&&a(e),h=n||l||p||f,m=h?r(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||m.push(y);return m}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),c=n(940),a=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,v){var b=a(e),g=a(t),O=b?f:c(e),j=g?f:c(t),S=(O=O==p?h:O)==h,E=(j=j==p?h:j)==h,x=O==j;if(x&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(x&&!S)return v||(v=new r),b||l(e)?s(e,t,n,d,y,v):i(e,t,O,n,d,y,v);if(!(1&n)){var w=S&&m.call(e,"__wrapped__"),A=E&&m.call(t,"__wrapped__");if(w||A){var k=w?e.value():e,P=A?t.value():t;return v||(v=new r),y(k,P,n,d,v)}}return!!x&&(v||(v=new r),o(e,t,n,d,y,v))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?f:c).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,c,a){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=-1,d=!0,y=2&n?new r:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,a):o(v,b,m,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||c(v,e,n,o,a)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!c(v,b,n,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),c=n(5179),a=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=c;case"[object Set]":var m=1&r;if(h||(h=a),e.size!=t.size&&!m)return!1;var d=f.get(e);if(d)return d==t;r|=2,f.set(e,t);var y=o(h(e),h(t),r,u,p,f);return f.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var a=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!a)return!1;for(var p=l;p--;){var f=u[p];if(!(a?f in t:s.call(t,f)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++p<l;){var v=e[f=u[p]],b=t[f];if(i)var g=a?i(b,v,f,t,e,c):i(v,b,f,e,t,c);if(!(void 0===g?v===b||o(v,b,n,i,c):g)){d=!1;break}y||(y="constructor"==f)}if(d&&!y){var O=e.constructor,j=t.constructor;O==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof j&&j instanceof j||(d=!1)}return c.delete(e),c.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[c]=n:delete e[c]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),c=n(3215),a=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(r),y=u(s),v=u(i),b=u(o),g=u(c),O=a;(r&&O(new r(new ArrayBuffer(1)))!=m||s&&O(new s)!=l||i&&O(i.resolve())!=p||o&&O(new o)!=f||c&&O(new c)!=h)&&(O=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return m;case y:return l;case v:return p;case b:return f;case g:return h}return t}),e.exports=O},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,c=o?s(o):r;e.exports=c},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),c=n(9259),a=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(c,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),c=n(3312),a=n(1641),u=n(8858),l=n(3860),p=n(5202),f=n(2320),h=n(1178),m=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=f,r.prototype.MemberElement=u,r.prototype.refract=y,h.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),c=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",m="deepProps",d="deepStatics",y="deepConf",v="initializers",b="methods",g="composers",O="compose";function j(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function S(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=S.bind(0,(function(e,t){if(t)for(var n=j(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function x(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||x(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var k=S.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!A(r))return r;for(var s,i,o=j(r),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(A(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return x(e)&&n.indexOf(e)===t}))).length?n:t}function _(e,t){function r(n,r){w(t[n])&&(w(e[n])||(e[n]={}),(r||E)(e[n],t[n]))}function s(r){(n=P(e[r],t[r]))&&(e[r]=n)}return t&&w(t=t[O]||t)&&(r(b),r(o),r(c,k),r(a),r(u),r(l,k),r(p),r(f),r(h,k),s(v),s(g)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[O]||{},u={__proto__:i[b]},l=i[v],p=Array.prototype.slice.apply(arguments),f=i[c];if(f&&k(u,f),(f=i[o])&&E(u,f),(f=i[a])&&Object.defineProperties(u,f),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)x(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&k(n,r),(r=e[u])&&E(n,r),(r=e[p])&&Object.defineProperties(n,r),r=x(n[O])?n[O]:N,E(n[O]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function T(e){return x(e)&&x(e[O])}var M={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[O]||r).call(n,s)}}M[b]=R(b,E),M[o]=M.props=R(o,E),M[v]=M.init=R(v,P),M[g]=R(g,P),M[c]=M[m]=R(c,k),M[u]=M.statics=R(u,E),M[l]=M[d]=R(l,k),M[f]=M.conf=R(f,E),M[h]=M[y]=R(h,k),M[a]=R(a,E),M[p]=R(p,E),r=M[O]=E((function(){for(var e,j,S=0,x=[],A=arguments,_=this;S<A.length;)w(e=A[S++])&&x.push(T(e)?e:((s={})[b]=(j=e)[b]||t,r=j.props,s[o]=w((n=j[o])||r)?E({},r,n):t,s[v]=P(j.init,j[v]),s[g]=P(j[g]),r=j[m],s[c]=w((n=j[c])||r)?k({},r,n):t,s[a]=j[a],r=j.statics,s[u]=w((n=j[u])||r)?E({},r,n):t,r=j[d],s[l]=w((n=j[l])||r)?k({},r,n):t,n=j[p],s[p]=w((r=j.name&&{name:{value:j.name}})||n)?E({},n,r):t,r=j.conf,s[f]=w((n=j[f])||r)?E({},r,n):t,r=j[y],s[h]=w((n=j[h])||r)?k({},r,n):t,s));if(e=N.apply(_||i,x),_&&x.unshift(_),Array.isArray(A=e[O][g]))for(S=0;S<A.length;)e=T(_=A[S++]({stamp:e,composables:x}))?_:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=N(s),r[O]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>Ps,FallbackVisitor:()=>gr,FixedFieldsVisitor:()=>Tr,JSONReferenceElement:()=>pr,JSONSchemaDraft7MediaTypes:()=>wn,JSONSchemaElement:()=>ci,LinkDescriptionElement:()=>ai,MapVisitor:()=>ns,ParentSchemaAwareVisitor:()=>qr,PatternedFieldsVisitor:()=>ts,SpecificationVisitor:()=>Nr,createRefractor:()=>Fi,default:()=>ui,getNodeType:()=>li,isArrayElement:()=>Ht,isBooleanElement:()=>Ut,isElement:()=>$t,isJSONReferenceElement:()=>Js,isJSONReferenceLikeElement:()=>zr,isJSONSchemaElement:()=>Ni,isLinkDescriptionElement:()=>Ti,isLinkElement:()=>Wt,isMemberElement:()=>Kt,isNullElement:()=>zt,isNumberElement:()=>qt,isObjectElement:()=>Gt,isRefElement:()=>Qt,isStringElement:()=>Bt,keyMap:()=>pi,mediaTypes:()=>An,refract:()=>Di,refractorPluginReplaceEmptyElement:()=>di,specificationObj:()=>_i});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>nn,includesClasses:()=>sn,includesSymbols:()=>rn,isAnnotationElement:()=>Yt,isArrayElement:()=>Ht,isBooleanElement:()=>Ut,isCommentElement:()=>Xt,isElement:()=>$t,isLinkElement:()=>Wt,isMemberElement:()=>Kt,isNullElement:()=>zt,isNumberElement:()=>qt,isObjectElement:()=>Gt,isParseResultElement:()=>Zt,isPrimitiveElement:()=>tn,isRefElement:()=>Qt,isSourceMapElement:()=>en,isStringElement:()=>Bt});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Js,isJSONSchemaElement:()=>Ds,isLinkDescriptionElement:()=>Vs,isMediaElement:()=>Ls});var s={};n.r(s),n.d(s,{isJSONReferenceElement:()=>Js,isJSONSchemaElement:()=>ti,isLinkDescriptionElement:()=>ni,isMediaElement:()=>Ls});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>Js,isJSONSchemaElement:()=>Ni,isLinkDescriptionElement:()=>Ti});var o=n(7952);const c=function(){return!1};const a=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function p(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:l((function(t){return e(n,t)}));default:return u(n)&&u(r)?t:u(n)?l((function(t){return e(t,r)})):u(r)?l((function(t){return e(n,t)})):e(n,r)}}}const f=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function h(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!f(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const d=function(){return this.xf["@@transducer/init"]()},y=function(e){return this.xf["@@transducer/result"](e)};var v=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=m(this.xf["@@transducer/step"](e,!1))),e},e}();function b(e){return function(t){return new v(e,t)}}const g=p(h(["all"],b,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function O(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,c,a,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function j(e,t,n){return function(){for(var r=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var c;o<t.length&&(!u(t[o])||s>=arguments.length)?c=t[o]:(c=arguments[s],s+=1),r[o]=c,u(c)||(i-=1),o+=1}return i<=0?n.apply(this,r):O(i,j(e,r,n))}}const S=p((function(e,t){return 1===e?l(t):O(e,j(e,[],t))}));function E(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function x(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function w(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const A="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var k=Object.prototype.toString;const P=function(){return"[object Arguments]"===k.call(arguments)?function(e){return"[object Arguments]"===k.call(e)}:function(e){return w("callee",e)}}();var _=!{toString:null}.propertyIsEnumerable("toString"),N=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=function(){return arguments.propertyIsEnumerable("length")}(),M=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const R="function"!=typeof Object.keys||T?l((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=T&&P(e);for(t in e)!w(t,e)||s&&"length"===t||(r[r.length]=t);if(_)for(n=N.length-1;n>=0;)w(t=N[n],e)&&!M(r,t)&&(r[r.length]=t),n-=1;return r})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const F=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function D(e,t,n,r){var s=E(e);function i(e,t){return J(e,t,n.slice(),r.slice())}return!x((function(e,t){return!x(i,t,e)}),E(t),s)}function J(e,t,n,r){if(A(e,t))return!0;var s,i,o=F(e);if(o!==F(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!A(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!A(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===e)return r[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&D(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&D(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=R(e);if(a.length!==R(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!w(p,t)||!J(t[p],e[p],u,l))return!1;c-=1}return!0}const L=p((function(e,t){return J(e,t,[],[])}));function V(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(L(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function C(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}function I(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var $=function(e){return(e<10?"0":"")+e};const B="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+$(e.getUTCMonth()+1)+"-"+$(e.getUTCDate())+"T"+$(e.getUTCHours())+":"+$(e.getUTCMinutes())+":"+$(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function q(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}var U=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function G(e){return function(t){return new U(e,t)}}const H=p(h(["fantasy-land/filter","filter"],G,(function(e,t){return z(t)?q((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},R(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const K=p((function(e,t){return H((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function W(e,t){var n=function(n){var r=t.concat([e]);return V(n,r)?"<Circular>":W(n,r)},r=function(e,t){return C((function(t){return I(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+C(n,e).join(", ")+"))";case"[object Array]":return"["+C(n,e).concat(r(e,K((function(e){return/^\d+$/.test(e)}),R(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):I(B(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":I(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,R(e)).join(", ")+"}"}}const Q=l((function(e){return W(e,[])}));const Y=p((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Q(e),o=n(i,Q(t));return void 0!==o&&o===i?e:t}));var X=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Z=p(h(["fantasy-land/map","map"],(function(e){return function(t){return new X(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return S(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return q((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return C(e,t)}}))),ee=Number.isInteger||function(e){return e<<0===e};function te(e){return"[object String]"===Object.prototype.toString.call(e)}const ne=p((function(e,t){var n=e<0?t.length+e:e;return te(t)?t.charAt(n):t[n]}));const re=p((function(e,t){if(null!=t)return ee(e)?ne(e,t):t[e]}));const se=p((function(e,t){return Z(re(e),t)}));function ie(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t,r){return e(n,t,r)}));case 2:return u(n)&&u(r)?t:u(n)?p((function(t,n){return e(t,r,n)})):u(r)?p((function(t,r){return e(n,t,r)})):l((function(t){return e(n,r,t)}));default:return u(n)&&u(r)&&u(s)?t:u(n)&&u(r)?p((function(t,n){return e(t,n,s)})):u(n)&&u(s)?p((function(t,n){return e(t,r,n)})):u(r)&&u(s)?p((function(t,r){return e(n,t,r)})):u(n)?l((function(t){return e(t,r,s)})):u(r)?l((function(t){return e(n,t,s)})):u(s)?l((function(t){return e(n,r,t)})):e(n,r,s)}}}const oe=l((function(e){return!!f(e)||!!e&&("object"==typeof e&&(!te(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ae(e,t,n){return function(r,s,i){if(oe(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[ce])return n(r,s,i[ce]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ue(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const le=p((function(e,t){return O(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function fe(e,t,n,r){return e["@@transducer/result"](n[r](le(e["@@transducer/step"],e),t))}const he=ae(ue,fe,pe);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const de=ie((function(e,t,n){return he("function"==typeof e?new me(e):e,t,n)}));const ye=l((function(e){return S(de(Y,0,se("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const ve=l((function(e){return function(){return e}}));const be=l((function(e){return S(de(Y,0,se("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ge(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Oe(e,t,n,r){return n[r](e,t)}const je=ae(q,Oe,ge);const Se=p((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:je((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,Z(n,t))}),[],e)}));const Ee=p((function(e,t){return e.apply(this,t)}));const xe=l((function(e){return null==e}));const we=ie((function e(t,n,r){if(0===t.length)return n;var s=t[0];if(t.length>1){var i=!xe(r)&&w(s,r)&&"object"==typeof r[s]?r[s]:ee(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(ee(e)&&f(n)){var r=[].concat(n);return r[e]=t,r}var s={};for(var i in n)s[i]=n[i];return s[e]=t,s}(s,n,r)}));const Ae=ie((function(e,t,n){return we([e],t,n)}));function ke(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Pe=p((function(e,t){return e&&t}));const _e=p((function(e,t){var n=S(e,t);return S(e,(function(){return q(Se,Z(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ne=l((function(e){return _e(e.length,e)}));const Te=p((function(e,t){return ke(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ne(Pe)(e,t)}));const Me=l((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Re=Ne(l((function(e){return!e})));function Fe(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function De(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return f(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const Je=ie(De("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Le=l(De("tail",Je(1,1/0)));function Ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return O(arguments[0].length,de(Fe,arguments[0],Le(arguments)))}const Ce=l((function(e){return S(e.length,e)}));const Ie=p((function(e,t){return null==t||t!=t?e:t}));var $e=ie((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}));const Be=$e;const qe=p((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(ee(e)&&f(t))return Be(e,1,t);var n={};for(var r in t)n[r]=t[r];return delete n[e],n}(t[0],n);default:var r=t[0],s=Array.prototype.slice.call(t,1);return null==n[r]?function(e,t){if(ee(e)&&f(t))return[].concat(t);var n={};for(var r in t)n[r]=t[r];return n}(r,n):Ae(r,e(s,n[r]),n)}}));var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Ue(e){return function(t){return new ze(e,t)}}const Ge=p(h(["dropWhile"],Ue,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Je(n,1/0,t)})));const He=p((function(e,t){return e||t}));const Ke=p((function(e,t){return ke(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ne(He)(e,t)}));var We=l((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():f(e)?[]:te(e)?"":z(e)?{}:P(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Qe=We;const Ye=l((function(e){return S(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));const Xe=p((function(e,t){if(0===e.length||xe(t))return!1;for(var n=t,r=0;r<e.length;){if(xe(n)||!w(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));const Ze=p((function(e,t){return Xe([e],t)}));const et=p((function(e,t){return!xe(t)&&e in t}));const tt=ne(0);var nt=function(e,t){switch(arguments.length){case 0:return nt;case 1:return function t(n){return 0===arguments.length?t:A(e,n)};default:return A(e,t)}};const rt=nt;const st=ie((function(e,t,n){return S(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const it=p(V);const ot=Je(0,-1);"function"==typeof Object.assign&&Object.assign;const ct=p((function(e,t){return S(e+1,(function(){var n=arguments[e];if(null!=n&&ke(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Q(n)+' does not have a method named "'+t+'"')}))}));const at=l((function(e){return null!=e&&L(e,Qe(e))}));const ut=ct(1,"join");const lt=ne(-1);const pt=p((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=ee(n)?ne(n,r):r[n],s+=1}return r}))}));const ft=p((function(e,t){return pt([e],t)[0]}));const ht=p((function(e,t){return q((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const mt=p((function(e,t){for(var n={},r={},s=0,i=e.length;s<i;)r[e[s]]=1,s+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}));const dt=ie((function(e,t,n){return e(ft(t,n))}));const yt=p((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}));const vt=ie((function(e,t,n){return Ie(e,re(t,n))}));const bt=ie((function(e,t,n){return e(re(t,n))}));const gt=l(m);var Ot=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const jt=Ot;const St=ct(1,"split");var Et="\t\n\v\f\r \u2028\u2029\ufeff";String.prototype.trim;const xt=Ye(it);class wt extends o.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const At=wt;class kt extends o.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Pt=kt;const _t=ve(void 0);const Nt=L(_t());class Tt extends o.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(Nt(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Mt=Tt;class Rt extends o.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),n=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Ft=Rt,Dt=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Jt=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Lt=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},Vt=(e,t)=>{var n,r;return(null==t||null===(n=t.classes)||void 0===n||null===(r=n.includes)||void 0===r?void 0:r.call(n,e))||!1},Ct=(e,t)=>(null==t?void 0:t.element)===e,It=e=>e({hasMethod:Dt,hasBasicElementProps:Jt,primitiveEq:Lt,isElementType:Ct,hasClass:Vt}),$t=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.W_||e(n)&&t(void 0,n))),Bt=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.RP||e(n)&&t("string",n))),qt=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.VL||e(n)&&t("number",n))),zt=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.zr||e(n)&&t("null",n))),Ut=It((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.hh||e(n)&&t("boolean",n))),Gt=It((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),Ht=It((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.ON&&!(r instanceof o.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),Kt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.c6||e(r)&&t("member",r)&&n(void 0,r))),Wt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.EA||e(r)&&t("link",r)&&n(void 0,r))),Qt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.tK||e(r)&&t("ref",r)&&n(void 0,r))),Yt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof At||e(r)&&t("annotation",r)&&n("array",r))),Xt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Pt||e(r)&&t("comment",r)&&n("string",r))),Zt=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Mt||e(r)&&t("parseResult",r)&&n("array",r))),en=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ft||e(r)&&t("sourceMap",r)&&n("array",r))),tn=e=>Ct("object",e)||Ct("array",e)||Ct("boolean",e)||Ct("number",e)||Ct("string",e)||Ct("null",e)||Ct("member",e),nn=e=>{var t,n;return en(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},rn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Ht(n)&&g(xt(n.toValue()),e)},sn=(e,t)=>0===e.length||g(xt(t.classes.toValue()),e);const on=L(null);const cn=Re(on);function an(e){return an="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},an(e)}const un=function(e){return"object"===an(e)};const ln=S(1,Te(cn,un));const pn=S(1,Ve(F,rt("GeneratorFunction")));const fn=S(1,Ve(F,rt("AsyncFunction")));const hn=be([Ve(F,rt("Function")),pn,fn]);var mn=Ve(F,rt("Object")),dn=Ve(Q,L(Q(Object))),yn=dt(Te(hn,dn),["constructor"]);const vn=S(1,(function(e){if(!ln(e)||!mn(e))return!1;var t=Object.getPrototypeOf(e);return!!on(t)||yn(t)}));var bn=n(1427);const gn=class extends bn{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,vn(n)&&et("cause",n)&&!et("cause",this)){const{cause:e}=n;this.cause=e,e instanceof Error&&et("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}};class On extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(gn,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,vn(t)&&et("cause",t)&&!et("cause",this)){const{cause:e}=t;this.cause=e,e instanceof Error&&et("stack",e)&&(this.stack=`${this.stack}\nCAUSE: ${null==e?void 0:e.stack}`)}}}const jn=On;const Sn=class extends jn{};const En=class extends Sn{};const xn=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new En('"filterByFormat" method is not implemented.')}findBy(){throw new En('"findBy" method is not implemented.')}latest(){throw new En('"latest" method is not implemented.')}};class wn extends xn{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-07",t="generic"){const n="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return lt(this.filterByFormat(e))}}const An=new wn("application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07");const kn=Re(hn);const Pn=S(1,hn(Array.isArray)?Array.isArray:Ve(F,rt("Array")));const _n=Te(Pn,at);const Nn=S(3,(function(e,t,n){var r=ft(e,n),s=ft(ot(e),n);if(!kn(r)&&!_n(e)){var i=le(r,s);return Ee(i,t)}}));class Tn extends o.lS{constructor(){super(),this.register("annotation",At),this.register("comment",Pt),this.register("parseResult",Mt),this.register("sourceMap",Ft)}}const Mn=new Tn,Rn=e=>{const t=new Tn;return vn(e)&&t.use(e),t},Fn=Mn,Dn=()=>({predicates:{...e},namespace:Fn});var Jn=n(6591),Ln=n.n(Jn);const Vn=S(1,Ve(F,rt("String"))),Cn=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},In={},$n=e=>null==e?void 0:e.type,Bn=e=>"string"==typeof $n(e),qn=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),zn=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=In,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=Cn,nodeTypeGetter:a=$n,nodePredicate:u=Bn,nodeCloneFn:l=qn,detectCycles:p=!0}={})=>{const f=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const E=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),E)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}if(j.includes(g))continue;let x;if(!Array.isArray(g)){if(!u(g))throw new jn(`Invalid AST Node: ${JSON.stringify(g)}`);if(p&&j.includes(g)){O.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var S;if(void 0===x&&E&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(S=f[a(g)])&&void 0!==S?S:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e};zn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=In,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=Cn,nodeTypeGetter:a=$n,nodePredicate:u=Bn,nodeCloneFn:l=qn,detectCycles:p=!0}={})=>{const f=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const E=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),E)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}let x;if(!Array.isArray(g)){if(!u(g))throw new jn(`Invalid AST Node: ${JSON.stringify(g)}`);if(p&&j.includes(g)){O.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=await i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var S;if(void 0===x&&E&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(S=f[a(g)])&&void 0!==S?S:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e};const Un=class extends jn{constructor(e,t){super(e,t),void 0!==t&&Object.assign(this,mt(["cause"],t))}};const Gn=class extends Un{};const Hn=class extends Gn{};const Kn=class extends Gn{},Wn=e=>"function"==typeof(null==e?void 0:e.clone)?e.clone():e,Qn=e=>{if(e instanceof o.rm){const t=[...e].map(Wn);return new o.rm(t)}if(e instanceof o.O4){const t=[...e].map(Wn);return new o.O4(t)}if("function"==typeof(null==e?void 0:e.clone))return e.clone();throw new Hn("Value provided to cloneDeep function couldn't be cloned",{value:e})};Qn.safe=e=>{try{return Qn(e)}catch{return e}};const Yn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},Xn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=Qn(e.meta)),e.attributes.length>0&&(t._attributes=Qn(e.attributes)),$t(e.content)){const n=e.content;t.content=Xn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=Yn(e.content):t.content=e.content;return t},Zn=e=>{if(e instanceof o.KeyValuePair)return Yn(e);if(e instanceof o.rm)return(e=>{const t=[...e];return new o.rm(t)})(e);if(e instanceof o.O4)return(e=>{const t=[...e];return new o.O4(t)})(e);if($t(e))return Xn(e);throw new Kn("Value provided to cloneShallow function couldn't be cloned",{value:e})};Zn.safe=e=>{try{return Zn(e)}catch{return e}};const er=e=>Gt(e)?"ObjectElement":Ht(e)?"ArrayElement":Kt(e)?"MemberElement":Bt(e)?"StringElement":Ut(e)?"BooleanElement":qt(e)?"NumberElement":zt(e)?"NullElement":Wt(e)?"LinkElement":Qt(e)?"RefElement":void 0,tr=e=>$t(e)?Zn(e):qn(e),nr=Ve(er,Vn),rr={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},sr=(Jn({props:{result:[],predicate:c,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=rr,...r}={})=>zn(e,t,{keyMap:n,nodeTypeGetter:er,nodePredicate:nr,nodeCloneFn:tr,...r}));sr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=rr,...r}={})=>zn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:er,nodePredicate:nr,nodeCloneFn:tr,...r});const ir=(e,t,n={})=>{if(0===t.length)return e;const r=vt(Dn,"toolboxCreator",n),s=vt({},"visitorOptions",n),i=vt(er,"nodeTypeGetter",s),o=r(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=Cn,nodeTypeGetter:n=$n}={})=>{const r=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const c=t(e[o],n(s),!1);if("function"==typeof c){const t=c.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===In)r[o]=In;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const c=t(e[o],n(s),!0);if("function"==typeof c){const t=c.call(e[o],s,...i);if(t===In)r[o]=In;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(c.map(vt({},"visitor")),{nodeTypeGetter:i});c.forEach(Nn(["pre"],[]));const u=sr(e,a,s);return c.forEach(Nn(["post"],[])),u},or=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return ir(r,n,{toolboxCreator:Dn,visitorOptions:{nodeTypeGetter:er}})},cr=e=>(t,n={})=>or(t,{...n,Type:e});o.Sb.refract=cr(o.Sb),o.ON.refract=cr(o.ON),o.RP.refract=cr(o.RP),o.hh.refract=cr(o.hh),o.zr.refract=cr(o.zr),o.VL.refract=cr(o.VL),o.EA.refract=cr(o.EA),o.tK.refract=cr(o.tK),At.refract=cr(At),Pt.refract=cr(Pt),Mt.refract=cr(Mt),Ft.refract=cr(Ft);class ar extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const ur=ar;class lr extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const pr=lr;class fr extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const hr=fr;class mr extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const dr=mr;const yr=Ce((function(e,t){return Ve(St(""),Ge(xt(e)),ut(""))(t)})),vr=(e,t)=>{const n=Ie(e,t);return ht((e=>{if(vn(e)&&Ze("$ref",e)&&bt(Vn,"$ref",e)){const t=ft(["$ref"],e),r=yr("#/",t);return ft(r.split("/"),n)}return vn(e)?vr(e,n):e}),e)},br=Jn({props:{element:null},methods:{copyMetaAndAttributes(e,t){nn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),gr=Jn(br,{methods:{enter(e){return this.element=Qn(e),In}}});const Or=ve(_t()),jr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:er(e),Sr={EphemeralObject:["content"],EphemeralArray:["content"],...rr},Er=(e,t,{keyMap:n=Sr,...r}={})=>sr(e,t,{keyMap:n,nodeTypeGetter:jr,nodePredicate:a,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});Er[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=Sr,...n}={})=>sr[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:jr,nodePredicate:a,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const xr=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const wr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},Ar=Jn.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new wr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new xr(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),kr=e=>$t(e)?Bt(e)||qt(e)||Ut(e)||zt(e)?e.toValue():Er(e,Ar()):e,Pr=e=>{if($t(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},_r={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...rr},Nr=Jn(br,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return yt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ve(ft(["visitors",...e,"fixedFields"]),R)(this.specObj)},retrieveVisitor(e){return dt(hn,["visitors",...e],this.specObj)?ft(["visitors",...e],this.specObj):ft(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return Nt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?Qn(t):(sr(t,r,{keyMap:_r,nodeTypeGetter:Pr,...n}),r.element)}}}),Tr=Jn(Nr,{props:{specPath:Or,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(Bt(r)&&n.includes(kr(r))&&!this.ignoredFields.includes(kr(r))){const n=this.toRefractedElement([...t,"fixedFields",kr(r)],e),i=new o.c6(Qn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(kr(r))||this.element.content.push(Qn(s))})),this.copyMetaAndAttributes(e,this.element),In}}}),Mr=Jn(Tr,gr,{props:{specPath:ve(["document","objects","JSONSchema"])},init(){this.element=new ur}}),Rr=gr,Fr=gr,Dr=gr,Jr=gr,Lr=gr,Vr=gr,Cr=gr,Ir=gr,$r=gr,Br=gr,qr=Jn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),zr=e=>Gt(e)&&e.hasKey("$ref"),Ur=Jn(Nr,qr,gr,{methods:{ObjectElement(e){const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),In},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),Gr=gr,Hr=gr,Kr=gr,Wr=gr,Qr=gr,Yr=Jn(gr,{methods:{ArrayElement(e){return this.element=Qn(e),this.element.classes.push("json-schema-required"),In}}});const Xr=Re(S(1,Te(cn,Ke(un,hn))));const Zr=Re(at);const es=ye([Vn,Xr,Zr]),ts=Jn(Nr,{props:{fieldPatternPredicate:c,specPath:Or,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(kr(t))&&this.fieldPatternPredicate(kr(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(Qn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(kr(t))||this.element.content.push(Qn(n))})),this.copyMetaAndAttributes(e,this.element),In}}}),ns=Jn(ts,{props:{fieldPatternPredicate:es}}),rs=Jn(ns,qr,gr,{props:{specPath:e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),ss=Jn(ns,qr,gr,{props:{specPath:e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),is=Jn(ns,qr,gr,{props:{specPath:e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),os=Jn(gr,{methods:{ArrayElement(e){return this.element=Qn(e),this.element.classes.push("json-schema-enum"),In}}}),cs=Jn(gr,{methods:{StringElement(e){return this.element=Qn(e),this.element.classes.push("json-schema-type"),In},ArrayElement(e){return this.element=Qn(e),this.element.classes.push("json-schema-type"),In}}}),as=Jn(Nr,qr,gr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),us=Jn(Nr,qr,gr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),ls=Jn(Nr,qr,gr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In}}}),ps=Jn(ns,qr,gr,{props:{specPath:e=>zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),fs=gr,hs=gr,ms=gr,ds=gr,ys=gr,vs=Jn(Nr,qr,gr,{init(){this.element=new o.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),In}}}),bs=gr,gs=Jn(Tr,gr,{props:{specPath:ve(["document","objects","JSONReference"])},init(){this.element=new pr},methods:{ObjectElement(e){const t=Tr.compose.methods.ObjectElement.call(this,e);return Bt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Os=Jn(gr,{methods:{StringElement(e){return this.element=Qn(e),this.element.classes.push("reference-value"),In}}});const js=Re(xe);const Ss=Te(Pn,Zr);function Es(e){return function(e){if(Array.isArray(e))return xs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xs(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ws=Ve(jt(Me((function(e,t){return e.length>t.length}))),tt,re("length")),As=Ce((function(e,t,n){var r=n.apply(void 0,Es(e));return js(r)?gt(r):t}));const ks=st(Ss,(function(e){var t=ws(e);return S(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return de(As(n),void 0,e)}))}),_t),Ps=Jn(Nr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>st(e,ve(t),_t))),n=ks(t)(e);return this.element=this.toRefractedElement(n,e),In}}}),_s=Jn(Ps,{props:{alternator:[{predicate:zr,specPath:["document","objects","JSONReference"]},{predicate:a,specPath:["document","objects","JSONSchema"]}]}}),Ns=Jn(Tr,gr,{props:{specPath:ve(["document","objects","Media"])},init(){this.element=new hr}}),Ts=gr,Ms=gr,Rs=Jn(Tr,gr,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new dr}}),Fs={visitors:{value:gr,JSONSchemaOrJSONReferenceVisitor:_s,document:{objects:{JSONSchema:{$visitor:Mr,fixedFields:{id:Rr,$schema:Fr,multipleOf:Dr,maximum:Jr,exclusiveMaximum:Lr,minimum:Vr,exclusiveMinimum:Cr,maxLength:Ir,minLength:$r,pattern:Br,additionalItems:_s,items:Ur,maxItems:Gr,minItems:Hr,uniqueItems:Kr,maxProperties:Wr,minProperties:Qr,required:Yr,properties:rs,additionalProperties:_s,patternProperties:ss,dependencies:is,enum:os,type:cs,allOf:as,anyOf:us,oneOf:ls,not:_s,definitions:ps,title:fs,description:hs,default:ms,format:ds,base:ys,links:vs,media:{$ref:"#/visitors/document/objects/Media"},readOnly:bs}},JSONReference:{$visitor:gs,fixedFields:{$ref:Os}},Media:{$visitor:Ns,fixedFields:{binaryEncoding:Ts,type:Ms}},LinkDescription:{$visitor:Rs,fixedFields:{href:gr,rel:gr,title:gr,targetSchema:_s,mediaType:gr,method:gr,encType:gr,schema:_s}}}}}},Ds=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ur||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),Js=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof pr||e(r)&&t("JSONReference",r)&&n("object",r))),Ls=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof hr||e(r)&&t("media",r)&&n("object",r))),Vs=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof dr||e(r)&&t("linkDescription",r)&&n("object",r))),Cs={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",ur),t.register("jSONReference",pr),t.register("media",hr),t.register("linkDescription",dr),t}},Is=()=>{const e=Rn(Cs);return{predicates:{...t,isStringElement:Bt},namespace:e}},$s=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Fs}={})=>{const s=(0,o.Qc)(e),i=vr(r),c=Nn(t,[],i);return sr(s,c,{state:{specObj:i}}),ir(c.element,n,{toolboxCreator:Is,visitorOptions:{keyMap:_r,nodeTypeGetter:Pr}})},Bs=e=>(t,n={})=>$s(t,{specPath:e,...n});ur.refract=Bs(["visitors","document","objects","JSONSchema","$visitor"]),pr.refract=Bs(["visitors","document","objects","JSONReference","$visitor"]),hr.refract=Bs(["visitors","document","objects","Media","$visitor"]),dr.refract=Bs(["visitors","document","objects","LinkDescription","$visitor"]);const qs=class extends ur{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Sn("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Sn("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const zs=class extends dr{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Sn("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Sn("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Sn("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Sn("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Sn("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Sn("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Us=Jn(Tr,gr,{props:{specPath:ve(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new qs,Tr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=Qn(e),this.element.classes.push("boolean-json-schema"),In}}}),Gs=gr,Hs=Jn(Nr,qr,gr,{methods:{ObjectElement(e){const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),In},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=zr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),In},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),In}}}),Ks=gr,Ws=Jn(gr,{methods:{ArrayElement(e){return this.element=Qn(e),this.element.classes.push("json-schema-examples"),In}}}),Qs=Jn(Tr,gr,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new zs}}),Ys=gr,Xs=Ve(we(["visitors","document","objects","JSONSchema","$visitor"],Us),qe(["visitors","document","objects","JSONSchema","fixedFields","id"]),we(["visitors","document","objects","JSONSchema","fixedFields","$id"],Gs),we(["visitors","document","objects","JSONSchema","fixedFields","contains"],Fs.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","items"],Hs),we(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Fs.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","const"],Ks),we(["visitors","document","objects","JSONSchema","fixedFields","examples"],Ws),we(["visitors","document","objects","LinkDescription","$visitor"],Qs),we(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Fs.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","schema"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Fs.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","LinkDescription","fixedFields","method"]),qe(["visitors","document","objects","LinkDescription","fixedFields","encType"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ys))(Fs),Zs=e=>{if($t(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ei={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...rr},ti=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof qs||e(r)&&t("JSONSchemaDraft6",r)&&n("object",r))),ni=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof zs||e(r)&&t("linkDescription",r)&&n("object",r))),ri={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",qs),t.register("jSONReference",pr),t.register("media",hr),t.register("linkDescription",zs),t}},si=()=>{const e=Rn(ri);return{predicates:{...s,isStringElement:Bt},namespace:e}},ii=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Xs}={})=>{const s=(0,o.Qc)(e),i=vr(r),c=Nn(t,[],i);return sr(s,c,{state:{specObj:i}}),ir(c.element,n,{toolboxCreator:si,visitorOptions:{keyMap:ei,nodeTypeGetter:Zs}})},oi=e=>(t,n={})=>ii(t,{specPath:e,...n});qs.refract=oi(["visitors","document","objects","JSONSchema","$visitor"]),zs.refract=oi(["visitors","document","objects","LinkDescription","$visitor"]);const ci=class extends qs{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Sn('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Sn('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const ai=class extends zs{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get mediaType(){throw new Sn("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Sn("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get submissionEncType(){throw new Sn("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Sn("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},ui={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",ci),t.register("jSONReference",pr),t.register("linkDescription",ai),t}},li=e=>{if($t(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},pi={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...rr},fi=e=>Bt(e)&&sn(["yaml-e-node","yaml-e-scalar"],e),hi={JSONSchemaDraft7Element:{additionalItems:(...e)=>new ci(...e),items:(...e)=>new ci(...e),contains:(...e)=>new ci(...e),required(...e){const t=new o.ON(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new ci(...e),patternProperties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new ci(...e),enum(...e){const t=new o.ON(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-oneOf"),t},if:(...e)=>new ci(...e),then:(...e)=>new ci(...e),else:(...e)=>new ci(...e),not:(...e)=>new ci(...e),definitions(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new o.ON(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new o.ON(...e);return t.classes.push("json-schema-links"),t}},LinkDescriptionElement:{hrefSchema:(...e)=>new ci(...e),targetSchema:(...e)=>new ci(...e),submissionSchema:(...e)=>new ci(...e),templatePointers:(...e)=>new o.Sb(...e),templateRequired:(...e)=>new o.ON(...e),targetHints:(...e)=>new o.Sb(...e)},"json-schema-properties":{"[key: *]":function(...e){return new ci(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new ci(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new ci(...e)}},"json-schema-allOf":{"<*>":function(...e){return new ci(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new ci(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new ci(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new ci(...e)}},"json-schema-links":{"<*>":function(...e){return new ai(...e)}}},mi=(e,t)=>{const n=li(e),r=hi[n]||hi[kr(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},di=()=>()=>({visitor:{MemberElement(e,...t){if(!fi(e.value))return;const[,,,n]=t,r=n.at(-1),s=mi(r,kr(e.key));if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:r},void 0,Qn(i.meta),Qn(i.attributes)),Qn(e.meta),Qn(e.attributes))},StringElement(e,...t){if(!fi(e))return;const[,,,n]=t,r=n.at(-1);if(!Ht(r))return;const s=mi(r,"<*>");return void 0!==s?s.call({context:e},void 0,Qn(e.meta),Qn(e.attributes)):void 0}}}),yi=Ln()(Tr,gr,{props:{specPath:ve(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new ci,Tr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=Qn(e),this.element.classes.push("boolean-json-schema"),In}}}),vi=gr,bi=gr,gi=gr,Oi=gr,ji=Ln()(Tr,gr,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new ai}}),Si=gr,Ei=gr,xi=gr,wi=gr,Ai=gr,ki=gr,Pi=gr,_i=Ve(we(["visitors","document","objects","JSONSchema","$visitor"],yi),we(["visitors","document","objects","JSONSchema","fixedFields","$comment"],vi),we(["visitors","document","objects","JSONSchema","fixedFields","if"],Xs.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","then"],Xs.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","else"],Xs.visitors.JSONSchemaOrJSONReferenceVisitor),qe(["visitors","document","objects","JSONSchema","fixedFields","media"]),we(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],bi),we(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],gi),we(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],Oi),we(["visitors","document","objects","LinkDescription","$visitor"],ji),we(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Si),we(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Ei),qe(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),we(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],xi),we(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],wi),we(["visitors","document","objects","LinkDescription","fixedFields","description"],Ai),we(["visitors","document","objects","LinkDescription","fixedFields","$comment"],ki),qe(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Pi))(Xs),Ni=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ci||e(r)&&t("JSONSchemaDraft7",r)&&n("object",r))),Ti=It((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ai||e(r)&&t("linkDescription",r)&&n("object",r))),Mi=()=>{const e=Rn(ui);return{predicates:{...i,isStringElement:Bt},namespace:e}},Ri=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=_i}={})=>{const s=(0,o.Qc)(e),i=vr(r),c=Nn(t,[],i);return sr(s,c,{state:{specObj:i}}),ir(c.element,n,{toolboxCreator:Mi,visitorOptions:{keyMap:pi,nodeTypeGetter:li}})},Fi=e=>(t,n={})=>Ri(t,{specPath:e,...n}),Di=Ri})(),r})()));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MemberElement, ArrayElement, ObjectElement, isStringElement, includesClasses, isArrayElement } from '@swagger-api/apidom-core';
|
|
1
|
+
import { MemberElement, ArrayElement, ObjectElement, isStringElement, includesClasses, isArrayElement, cloneDeep, toValue } from '@swagger-api/apidom-core';
|
|
2
2
|
/**
|
|
3
3
|
* JSON Schema Draft 7 specification elements.
|
|
4
4
|
*/
|
|
@@ -186,9 +186,8 @@ const schema = {
|
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
const findElementFactory = (ancestor, keyName) => {
|
|
189
|
-
var _ancestor$classes$fir, _ancestor$classes$fir2;
|
|
190
189
|
const elementType = getNodeType(ancestor); // @ts-ignore
|
|
191
|
-
const keyMapping = schema[elementType] || schema[(
|
|
190
|
+
const keyMapping = schema[elementType] || schema[toValue(ancestor.classes.first)];
|
|
192
191
|
return typeof keyMapping === 'undefined' ? undefined : Object.prototype.hasOwnProperty.call(keyMapping, '[key: *]') ? keyMapping['[key: *]'] : keyMapping[keyName];
|
|
193
192
|
};
|
|
194
193
|
const plugin = () => () => {
|
|
@@ -198,20 +197,20 @@ const plugin = () => () => {
|
|
|
198
197
|
// no empty Element, continue with next one
|
|
199
198
|
if (!isEmptyElement(element.value)) return undefined;
|
|
200
199
|
const [,,, ancestors] = rest;
|
|
201
|
-
const ancestor = ancestors
|
|
202
|
-
const elementFactory = findElementFactory(ancestor, element.key
|
|
200
|
+
const ancestor = ancestors.at(-1);
|
|
201
|
+
const elementFactory = findElementFactory(ancestor, toValue(element.key));
|
|
203
202
|
|
|
204
203
|
// no element factory found
|
|
205
204
|
if (typeof elementFactory === 'undefined') return undefined;
|
|
206
205
|
const originalValue = element.value;
|
|
207
206
|
return new MemberElement(element.key, elementFactory.call({
|
|
208
207
|
context: ancestor
|
|
209
|
-
}, undefined, originalValue.meta
|
|
208
|
+
}, undefined, cloneDeep(originalValue.meta), cloneDeep(originalValue.attributes)), cloneDeep(element.meta), cloneDeep(element.attributes));
|
|
210
209
|
},
|
|
211
210
|
StringElement(element, ...rest) {
|
|
212
211
|
if (!isEmptyElement(element)) return undefined;
|
|
213
212
|
const [,,, ancestors] = rest;
|
|
214
|
-
const ancestor = ancestors
|
|
213
|
+
const ancestor = ancestors.at(-1);
|
|
215
214
|
|
|
216
215
|
// we're only interested in empty elements in ArrayElements
|
|
217
216
|
if (!isArrayElement(ancestor)) return undefined;
|
|
@@ -221,7 +220,7 @@ const plugin = () => () => {
|
|
|
221
220
|
if (typeof elementFactory === 'undefined') return undefined;
|
|
222
221
|
return elementFactory.call({
|
|
223
222
|
context: element
|
|
224
|
-
}, undefined, element.meta
|
|
223
|
+
}, undefined, cloneDeep(element.meta), cloneDeep(element.attributes));
|
|
225
224
|
}
|
|
226
225
|
}
|
|
227
226
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import stampit from 'stampit';
|
|
2
2
|
import { always } from 'ramda';
|
|
3
|
-
import { BREAK } from '@swagger-api/apidom-core';
|
|
3
|
+
import { BREAK, cloneDeep } from '@swagger-api/apidom-core';
|
|
4
4
|
import { FixedFieldsVisitor, FallbackVisitor } from '@swagger-api/apidom-ns-json-schema-draft-6';
|
|
5
5
|
import JSONSchemaElement from "../../../elements/JSONSchema.mjs";
|
|
6
6
|
const JSONSchemaVisitor = stampit(FixedFieldsVisitor, FallbackVisitor, {
|
|
@@ -15,7 +15,7 @@ const JSONSchemaVisitor = stampit(FixedFieldsVisitor, FallbackVisitor, {
|
|
|
15
15
|
return FixedFieldsVisitor.compose.methods.ObjectElement.call(this, objectElement);
|
|
16
16
|
},
|
|
17
17
|
BooleanElement(booleanElement) {
|
|
18
|
-
this.element = booleanElement
|
|
18
|
+
this.element = cloneDeep(booleanElement);
|
|
19
19
|
this.element.classes.push('boolean-json-schema');
|
|
20
20
|
return BREAK;
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-ns-json-schema-draft-7",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "JSON Schema Draft 7 namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
45
|
-
"@swagger-api/apidom-core": "^0.
|
|
46
|
-
"@swagger-api/apidom-error": "^0.
|
|
47
|
-
"@swagger-api/apidom-ns-json-schema-draft-6": "^0.
|
|
45
|
+
"@swagger-api/apidom-core": "^0.77.0",
|
|
46
|
+
"@swagger-api/apidom-error": "^0.77.0",
|
|
47
|
+
"@swagger-api/apidom-ns-json-schema-draft-6": "^0.77.0",
|
|
48
48
|
"@types/ramda": "~0.29.3",
|
|
49
49
|
"ramda": "~0.29.0",
|
|
50
50
|
"ramda-adjunct": "^4.1.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "cd8a9d7d2ea8bb8c335c23cd4632830a79c426c9"
|
|
64
64
|
}
|