@swagger-api/apidom-ast 0.70.0 → 0.72.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 CHANGED
@@ -3,6 +3,22 @@
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.72.0](https://github.com/swagger-api/apidom/compare/v0.71.1...v0.72.0) (2023-07-17)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-ast
9
+
10
+
11
+
12
+
13
+
14
+ # [0.71.0](https://github.com/swagger-api/apidom/compare/v0.70.4...v0.71.0) (2023-07-13)
15
+
16
+ **Note:** Version bump only for package @swagger-api/apidom-ast
17
+
18
+
19
+
20
+
21
+
6
22
  # [0.70.0](https://github.com/swagger-api/apidom/compare/v0.69.3...v0.70.0) (2023-05-23)
7
23
 
8
24
  **Note:** Version bump only for package @swagger-api/apidom-ast
@@ -32,11 +32,10 @@ const Error = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPACK_IMPO
32
32
  value: null,
33
33
  isUnexpected: false
34
34
  },
35
- init() {
36
- let {
37
- value = null,
38
- isUnexpected = false
39
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
35
+ init({
36
+ value = null,
37
+ isUnexpected = false
38
+ } = {}) {
40
39
  this.value = value;
41
40
  this.isUnexpected = isUnexpected;
42
41
  }
@@ -65,10 +64,9 @@ const Literal = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPACK_IM
65
64
  props: {
66
65
  value: null
67
66
  },
68
- init() {
69
- let {
70
- value = null
71
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
67
+ init({
68
+ value = null
69
+ } = {}) {
72
70
  this.value = value;
73
71
  }
74
72
  });
@@ -94,15 +92,13 @@ const Node = stampit__WEBPACK_IMPORTED_MODULE_0___default()({
94
92
  children: []
95
93
  },
96
94
  // eslint-disable-next-line @typescript-eslint/default-param-last
97
- init() {
98
- let {
99
- children = [],
100
- position = null,
101
- isMissing = false
102
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
103
- let {
104
- stamp = {}
105
- } = arguments.length > 1 ? arguments[1] : undefined;
95
+ init({
96
+ children = [],
97
+ position = null,
98
+ isMissing = false
99
+ } = {}, {
100
+ stamp = {}
101
+ }) {
106
102
  this.type = stamp.type;
107
103
  this.isMissing = isMissing;
108
104
  this.children = children;
@@ -184,12 +180,11 @@ const Point = stampit__WEBPACK_IMPORTED_MODULE_0___default()({
184
180
  column: null,
185
181
  char: null
186
182
  },
187
- init() {
188
- let {
189
- row = null,
190
- column = null,
191
- char = null
192
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
183
+ init({
184
+ row = null,
185
+ column = null,
186
+ char = null
187
+ } = {}) {
193
188
  this.row = row;
194
189
  this.column = column;
195
190
  this.char = char;
@@ -204,11 +199,10 @@ const Position = stampit__WEBPACK_IMPORTED_MODULE_0___default()({
204
199
  start: null,
205
200
  end: null
206
201
  },
207
- init() {
208
- let {
209
- start = null,
210
- end = null
211
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
202
+ init({
203
+ start = null,
204
+ end = null
205
+ } = {}) {
212
206
  this.start = start;
213
207
  this.end = end;
214
208
  }
@@ -572,10 +566,9 @@ const JsonValue = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_JsonNode__WEBP
572
566
  props: {
573
567
  value: null
574
568
  },
575
- init() {
576
- let {
577
- value = null
578
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
569
+ init({
570
+ value = null
571
+ } = {}) {
579
572
  this.value = value;
580
573
  }
581
574
  });
@@ -701,17 +694,13 @@ const isNode = node => typeof getNodeType(node) === 'string';
701
694
  *
702
695
  * If a prior visitor edits a node, no following visitors will see that node.
703
696
  */
704
- const mergeAll = function (visitors) {
705
- let {
706
- visitFnGetter = getVisitFn,
707
- nodeTypeGetter = getNodeType
708
- } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
697
+ const mergeAll = (visitors, {
698
+ visitFnGetter = getVisitFn,
699
+ nodeTypeGetter = getNodeType
700
+ } = {}) => {
709
701
  const skipping = new Array(visitors.length);
710
702
  return {
711
- enter(node) {
712
- for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
713
- rest[_key - 1] = arguments[_key];
714
- }
703
+ enter(node, ...rest) {
715
704
  for (let i = 0; i < visitors.length; i += 1) {
716
705
  if (skipping[i] == null) {
717
706
  const fn = visitFnGetter(visitors[i], nodeTypeGetter(node), /* isLeaving */false);
@@ -729,10 +718,7 @@ const mergeAll = function (visitors) {
729
718
  }
730
719
  return undefined;
731
720
  },
732
- leave(node) {
733
- for (var _len2 = arguments.length, rest = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
734
- rest[_key2 - 1] = arguments[_key2];
735
- }
721
+ leave(node, ...rest) {
736
722
  for (let i = 0; i < visitors.length; i += 1) {
737
723
  if (skipping[i] == null) {
738
724
  const fn = visitFnGetter(visitors[i], nodeTypeGetter(node), /* isLeaving */true);
@@ -843,22 +829,21 @@ const mergeAll = function (visitors) {
843
829
  * @sig visit :: (Node, Visitor, Options)
844
830
  * @sig Options = { keyMap: Object, state: Object }
845
831
  */
846
- const visit = function (
832
+ const visit = (
847
833
  // @ts-ignore
848
834
  root,
849
835
  // @ts-ignore
850
- visitor) {
851
- let {
852
- keyMap = null,
853
- state = {},
854
- breakSymbol = BREAK,
855
- deleteNodeSymbol = null,
856
- skipVisitingNodeSymbol = false,
857
- visitFnGetter = getVisitFn,
858
- nodeTypeGetter = getNodeType,
859
- nodePredicate = isNode,
860
- detectCycles = true
861
- } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
836
+ visitor, {
837
+ keyMap = null,
838
+ state = {},
839
+ breakSymbol = BREAK,
840
+ deleteNodeSymbol = null,
841
+ skipVisitingNodeSymbol = false,
842
+ visitFnGetter = getVisitFn,
843
+ nodeTypeGetter = getNodeType,
844
+ nodePredicate = isNode,
845
+ detectCycles = true
846
+ } = {}) => {
862
847
  const visitorKeys = keyMap || {};
863
848
  let stack;
864
849
  let inArray = Array.isArray(root);
@@ -996,22 +981,21 @@ visitor) {
996
981
  * Asynchronous version of visit.
997
982
  */
998
983
  // @ts-ignore
999
- visit[Symbol.for('nodejs.util.promisify.custom')] = async function (
984
+ visit[Symbol.for('nodejs.util.promisify.custom')] = async (
1000
985
  // @ts-ignore
1001
986
  root,
1002
987
  // @ts-ignore
1003
- visitor) {
1004
- let {
1005
- keyMap = null,
1006
- state = {},
1007
- breakSymbol = BREAK,
1008
- deleteNodeSymbol = null,
1009
- skipVisitingNodeSymbol = false,
1010
- visitFnGetter = getVisitFn,
1011
- nodeTypeGetter = getNodeType,
1012
- nodePredicate = isNode,
1013
- detectCycles = true
1014
- } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
988
+ visitor, {
989
+ keyMap = null,
990
+ state = {},
991
+ breakSymbol = BREAK,
992
+ deleteNodeSymbol = null,
993
+ skipVisitingNodeSymbol = false,
994
+ visitFnGetter = getVisitFn,
995
+ nodeTypeGetter = getNodeType,
996
+ nodePredicate = isNode,
997
+ detectCycles = true
998
+ } = {}) => {
1015
999
  const visitorKeys = keyMap || {};
1016
1000
  let stack;
1017
1001
  let inArray = Array.isArray(root);
@@ -1167,10 +1151,9 @@ const YamlAlias = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPACK_
1167
1151
  props: {
1168
1152
  content: null
1169
1153
  },
1170
- init() {
1171
- let {
1172
- content = null
1173
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1154
+ init({
1155
+ content = null
1156
+ } = {}) {
1174
1157
  this.content = content;
1175
1158
  }
1176
1159
  });
@@ -1198,10 +1181,9 @@ const YamlAnchor = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPACK
1198
1181
  props: {
1199
1182
  name: null
1200
1183
  },
1201
- init() {
1202
- let {
1203
- name = null
1204
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1184
+ init({
1185
+ name = null
1186
+ } = {}) {
1205
1187
  this.name = name;
1206
1188
  }
1207
1189
  });
@@ -1247,10 +1229,9 @@ const YamlComment = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPAC
1247
1229
  props: {
1248
1230
  content: null
1249
1231
  },
1250
- init() {
1251
- let {
1252
- content = null
1253
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1232
+ init({
1233
+ content = null
1234
+ } = {}) {
1254
1235
  this.content = content;
1255
1236
  }
1256
1237
  });
@@ -1281,11 +1262,10 @@ const YamlDirective = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBP
1281
1262
  name: null,
1282
1263
  parameters: null
1283
1264
  },
1284
- init() {
1285
- let {
1286
- name = null,
1287
- parameters = {}
1288
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1265
+ init({
1266
+ name = null,
1267
+ parameters = {}
1268
+ } = {}) {
1289
1269
  this.name = name;
1290
1270
  this.parameters = (0,ramda__WEBPACK_IMPORTED_MODULE_1__.mergeRight)({
1291
1271
  version: null,
@@ -1423,13 +1403,12 @@ const YamlNode = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPACK_I
1423
1403
  style: null,
1424
1404
  styleGroup: null
1425
1405
  },
1426
- init() {
1427
- let {
1428
- anchor = null,
1429
- tag = null,
1430
- style = null,
1431
- styleGroup = null
1432
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1406
+ init({
1407
+ anchor = null,
1408
+ tag = null,
1409
+ style = null,
1410
+ styleGroup = null
1411
+ } = {}) {
1433
1412
  this.anchor = anchor;
1434
1413
  this.tag = tag;
1435
1414
  this.style = style;
@@ -1460,10 +1439,9 @@ const YamlScalar = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_YamlNode__WEB
1460
1439
  props: {
1461
1440
  content: ''
1462
1441
  },
1463
- init() {
1464
- let {
1465
- content
1466
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1442
+ init({
1443
+ content
1444
+ } = {}) {
1467
1445
  this.content = content;
1468
1446
  }
1469
1447
  });
@@ -1610,11 +1588,10 @@ const YamlTag = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Node__WEBPACK_IM
1610
1588
  explicitName: '',
1611
1589
  kind: null
1612
1590
  },
1613
- init() {
1614
- let {
1615
- explicitName,
1616
- kind
1617
- } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1591
+ init({
1592
+ explicitName,
1593
+ kind
1594
+ } = {}) {
1618
1595
  this.explicitName = explicitName;
1619
1596
  this.kind = kind;
1620
1597
  }
@@ -1896,10 +1873,9 @@ const GenericMapping = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEBP
1896
1873
  statics: {
1897
1874
  uri: 'tag:yaml.org,2002:map'
1898
1875
  },
1899
- init(args, _ref) {
1900
- let {
1901
- stamp
1902
- } = _ref;
1876
+ init(args, {
1877
+ stamp
1878
+ }) {
1903
1879
  this.tag = stamp.uri;
1904
1880
  },
1905
1881
  methods: {
@@ -1935,10 +1911,9 @@ const GenericSequence = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEB
1935
1911
  statics: {
1936
1912
  uri: 'tag:yaml.org,2002:seq'
1937
1913
  },
1938
- init(args, _ref) {
1939
- let {
1940
- stamp
1941
- } = _ref;
1914
+ init(args, {
1915
+ stamp
1916
+ }) {
1942
1917
  this.tag = stamp.uri;
1943
1918
  },
1944
1919
  methods: {
@@ -1972,10 +1947,9 @@ const GenericString = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEBPA
1972
1947
  statics: {
1973
1948
  uri: 'tag:yaml.org,2002:str'
1974
1949
  },
1975
- init(args, _ref) {
1976
- let {
1977
- stamp
1978
- } = _ref;
1950
+ init(args, {
1951
+ stamp
1952
+ }) {
1979
1953
  this.tag = stamp.uri;
1980
1954
  },
1981
1955
  methods: {
@@ -2051,8 +2025,7 @@ const FailsafeSchema = stampit__WEBPACK_IMPORTED_MODULE_0___default()({
2051
2025
  prefix: tagDirective.parameters.prefix
2052
2026
  });
2053
2027
  },
2054
- registerTag(tag) {
2055
- let beginning = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
2028
+ registerTag(tag, beginning = false) {
2056
2029
  if (beginning) {
2057
2030
  this.tags.unshift(tag);
2058
2031
  } else {
@@ -2114,10 +2087,9 @@ const Boolean = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEBPACK_IMP
2114
2087
  statics: {
2115
2088
  uri: 'tag:yaml.org,2002:bool'
2116
2089
  },
2117
- init(args, _ref) {
2118
- let {
2119
- stamp
2120
- } = _ref;
2090
+ init(args, {
2091
+ stamp
2092
+ }) {
2121
2093
  this.tag = stamp.uri;
2122
2094
  },
2123
2095
  methods: {
@@ -2153,10 +2125,9 @@ const FloatingPoint = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEBPA
2153
2125
  statics: {
2154
2126
  uri: 'tag:yaml.org,2002:float'
2155
2127
  },
2156
- init(args, _ref) {
2157
- let {
2158
- stamp
2159
- } = _ref;
2128
+ init(args, {
2129
+ stamp
2130
+ }) {
2160
2131
  this.tag = stamp.uri;
2161
2132
  },
2162
2133
  methods: {
@@ -2192,10 +2163,9 @@ const Integer = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEBPACK_IMP
2192
2163
  statics: {
2193
2164
  uri: 'tag:yaml.org,2002:int'
2194
2165
  },
2195
- init(args, _ref) {
2196
- let {
2197
- stamp
2198
- } = _ref;
2166
+ init(args, {
2167
+ stamp
2168
+ }) {
2199
2169
  this.tag = stamp.uri;
2200
2170
  },
2201
2171
  methods: {
@@ -2231,10 +2201,9 @@ const Null = stampit__WEBPACK_IMPORTED_MODULE_0___default()(_Tag__WEBPACK_IMPORT
2231
2201
  statics: {
2232
2202
  uri: 'tag:yaml.org,2002:null'
2233
2203
  },
2234
- init(args, _ref) {
2235
- let {
2236
- stamp
2237
- } = _ref;
2204
+ init(args, {
2205
+ stamp
2206
+ }) {
2238
2207
  this.tag = stamp.uri;
2239
2208
  },
2240
2209
  methods: {
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see apidom-ast.browser.min.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomAST=e():t.apidomAST=e()}(self,(()=>(()=>{var t={591:t=>{!function(){"use strict";var e,n,r,o,i,s="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",d="deepConfiguration",y="deepProps",g="deepStatics",h="deepConf",m="initializers",v="methods",b="composers",S="compose";function O(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function w(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var j=w.bind(0,(function(t,e){if(e)for(var n=O(e),r=0;r<n.length;r+=1)Object.defineProperty(t,n[r],Object.getOwnPropertyDescriptor(e,n[r]));return t}));function A(t){return"function"==typeof t}function x(t){return t&&"object"==typeof t||A(t)}function E(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var N=w.bind(0,(function t(n,r){if(r===e)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!E(r))return r;for(var o,i,s=O(r),c=0;c<s.length;)o=s[c++],(i=Object.getOwnPropertyDescriptor(r,o)).hasOwnProperty("value")?i.value!==e&&(n[o]=t(E(n[o])||Array.isArray(r[o])?n[o]:{},r[o])):Object.defineProperty(n,o,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(t,e,n){return A(t)&&n.indexOf(t)===e}))).length?n:e}function T(t,e){function r(n,r){x(e[n])&&(x(t[n])||(t[n]={}),(r||j)(t[n],e[n]))}function o(r){(n=P(t[r],e[r]))&&(t[r]=n)}return e&&x(e=e[S]||e)&&(r(v),r(s),r(c,N),r(a),r(u),r(l,N),r(f),r(p),r(d,N),o(m),o(b)),t}function M(){return function(t){return n=function t(n){var r,o,i=t[S]||{},u={__proto__:i[v]},l=i[m],f=Array.prototype.slice.apply(arguments),p=i[c];if(p&&N(u,p),(p=i[s])&&j(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(n===e&&(n={}),i=0;i<l.length;)A(r=l[i++])&&(u=(o=r.call(u,n,{instance:u,stamp:t,args:f}))===e?u:o);return u},(r=t[l])&&N(n,r),(r=t[u])&&j(n,r),(r=t[f])&&Object.defineProperties(n,r),r=A(n[S])?n[S]:M,j(n[S]=function(){return r.apply(this,arguments)},t),n}(Array.prototype.concat.apply([this],arguments).reduce(T,{}))}function k(t){return A(t)&&A(t[S])}var F={};function D(t,i){return function(){return(o={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[S]||r).call(n,o)}}F[v]=D(v,j),F[s]=F.props=D(s,j),F[m]=F.init=D(m,P),F[b]=D(b,P),F[c]=F[y]=D(c,N),F[u]=F.statics=D(u,j),F[l]=F[g]=D(l,N),F[p]=F.conf=D(p,j),F[d]=F[h]=D(d,N),F[a]=D(a,j),F[f]=D(f,j),r=F[S]=j((function(){for(var t,O,w=0,A=[],E=arguments,T=this;w<E.length;)x(t=E[w++])&&A.push(k(t)?t:((o={})[v]=(O=t)[v]||e,r=O.props,o[s]=x((n=O[s])||r)?j({},r,n):e,o[m]=P(O.init,O[m]),o[b]=P(O[b]),r=O[y],o[c]=x((n=O[c])||r)?N({},r,n):e,o[a]=O[a],r=O.statics,o[u]=x((n=O[u])||r)?j({},r,n):e,r=O[g],o[l]=x((n=O[l])||r)?N({},r,n):e,n=O[f],o[f]=x((r=O.name&&{name:{value:O.name}})||n)?j({},n,r):e,r=O.conf,o[p]=x((n=O[p])||r)?j({},r,n):e,r=O[h],o[d]=x((n=O[d])||r)?N({},r,n):e,o));if(t=M.apply(T||i,A),T&&A.unshift(T),Array.isArray(E=t[S][b]))for(w=0;w<E.length;)t=k(T=E[w++]({stamp:t,composables:A}))?T:t;return t}),F),F.create=function(){return this.apply(e,arguments)},(o={})[u]=F,i=M(o),r[S]=r.bind(),r.version="4.3.2","object"!=typeof e?t.exports=r:self.stampit=r}()},396:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(n=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[n.MalformedUnicode,"malformed Unicode character escape sequence"],[n.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[n.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[n.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[n.EndOfString,"malformed escape sequence at end of string"]])},770:(t,e,n)=>{"use strict";const r=n(396);function o(t,e,n){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==n&&n!==t.length)throw new SyntaxError(r.errorMessages.get(e));return o}function i(t,e){const n=o(t,r.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,r.ErrorType.MalformedUnicode,4);return String.fromCharCode(n,t)}return String.fromCharCode(n)}r.ErrorType,r.errorMessages;const s=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const c=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function a(t,e=!1){return t.replace(c,(function(t,n,c,a,u,l,f,p,d){if(void 0!==n)return"\\";if(void 0!==c)return function(t){const e=o(t,r.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(c);if(void 0!==a)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(r.errorMessages.get(r.ErrorType.MalformedUnicode));var e;const n=o(t.slice(1,-1),r.ErrorType.MalformedUnicode);try{return String.fromCodePoint(n)}catch(t){throw t instanceof RangeError?new SyntaxError(r.errorMessages.get(r.ErrorType.CodePointLimit)):t}}(a);if(void 0!==u)return i(u,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t,e=!1){if(e)throw new SyntaxError(r.errorMessages.get(r.ErrorType.OctalDeprecation));const n=parseInt(t,8);return String.fromCharCode(n)}(p,!e);if(void 0!==d)return y=d,s.get(y)||y;var y;throw new SyntaxError(r.errorMessages.get(r.ErrorType.EndOfString))}))}e.S6=a}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{BREAK:()=>ur,Error:()=>sr,JsonArray:()=>je,JsonDocument:()=>re,JsonEscapeSequence:()=>Pe,JsonFalse:()=>ke,JsonKey:()=>Ee,JsonNode:()=>i,JsonNull:()=>Fe,JsonNumber:()=>Te,JsonObject:()=>Oe,JsonProperty:()=>we,JsonString:()=>xe,JsonStringContent:()=>Ne,JsonTrue:()=>Me,JsonValue:()=>Ae,Literal:()=>rr,ParseResult:()=>cr,Point:()=>or,Position:()=>ir,YamlAlias:()=>De,YamlAnchor:()=>sn,YamlCollection:()=>qe,YamlComment:()=>Je,YamlDirective:()=>Ye,YamlDocument:()=>Ie,YamlFailsafeSchema:()=>Wn,YamlJsonSchema:()=>nr,YamlKeyValuePair:()=>Xe,YamlMapping:()=>Ze,YamlNode:()=>Ce,YamlNodeKind:()=>rn,YamlScalar:()=>tn,YamlSequence:()=>en,YamlStream:()=>nn,YamlStyle:()=>Ue,YamlStyleGroup:()=>_e,YamlTag:()=>on,getNodeType:()=>lr,getVisitFn:()=>ar,isJsonArray:()=>ge,isJsonDocument:()=>ue,isJsonEscapeSequence:()=>ve,isJsonFalse:()=>fe,isJsonKey:()=>Se,isJsonNull:()=>de,isJsonNumber:()=>ye,isJsonObject:()=>he,isJsonProperty:()=>be,isJsonString:()=>le,isJsonStringContent:()=>me,isJsonTrue:()=>pe,isLiteral:()=>ie,isNode:()=>fr,isParseResult:()=>ae,isPoint:()=>ce,isPosition:()=>se,isYamlAlias:()=>Qe,isYamlDirective:()=>He,isYamlDocument:()=>Le,isYamlKeyValuePair:()=>Be,isYamlMapping:()=>Ge,isYamlScalar:()=>Ke,isYamlSequence:()=>Ve,isYamlStream:()=>$e,isYamlTag:()=>ze,mergeAllVisitors:()=>pr,visit:()=>dr});var t=n(591),e=n.n(t);const o=e()({props:{type:null,position:null,children:[]},init(){let{children:t=[],position:e=null,isMissing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:r={}}=arguments.length>1?arguments[1]:void 0;this.type=r.type,this.isMissing=n,this.children=t,this.position=e},methods:{clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const n=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,n)})),t}}}),i=e()(o);function s(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function c(t){return function e(n){return 0===arguments.length||s(n)?e:t.apply(this,arguments)}}function a(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return s(n)?e:c((function(e){return t(n,e)}));default:return s(n)&&s(r)?e:s(n)?c((function(e){return t(e,r)})):s(r)?c((function(e){return t(n,e)})):t(n,r)}}}const u=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function l(t,e,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!u(r)){for(var o=0;o<t.length;){if("function"==typeof r[t[o]])return r[t[o]].apply(r,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(r))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}const f=function(){return this.xf["@@transducer/init"]()},p=function(t){return this.xf["@@transducer/result"](t)};function d(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function y(t,e,n){for(var r=0,o=n.length;r<o;){if(t(e,n[r]))return!0;r+=1}return!1}function g(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const h="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var m=Object.prototype.toString;const v=function(){return"[object Arguments]"===m.call(arguments)?function(t){return"[object Arguments]"===m.call(t)}:function(t){return g("callee",t)}}();var b=!{toString:null}.propertyIsEnumerable("toString"),S=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),w=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1};const j="function"!=typeof Object.keys||O?c((function(t){if(Object(t)!==t)return[];var e,n,r=[],o=O&&v(t);for(e in t)!g(e,t)||o&&"length"===e||(r[r.length]=e);if(b)for(n=S.length-1;n>=0;)g(e=S[n],t)&&!w(r,e)&&(r[r.length]=e),n-=1;return r})):c((function(t){return Object(t)!==t?[]:Object.keys(t)}));const A=c((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function x(t,e,n,r){var o=d(t);function i(t,e){return E(t,e,n.slice(),r.slice())}return!y((function(t,e){return!y(i,e,t)}),d(e),o)}function E(t,e,n,r){if(h(t,e))return!0;var o,i,s=A(t);if(s!==A(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!h(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!h(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===t)return r[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&x(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&x(t.values(),e.values(),n.concat([t]),r.concat([e]));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=j(t);if(a.length!==j(e).length)return!1;var u=n.concat([t]),l=r.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!g(f,e)||!E(e[f],t[f],u,l))return!1;c-=1}return!0}const N=a((function(t,e){return E(t,e,[],[])}));function P(t,e){return function(t,e,n){var r,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(r=1/e;n<t.length;){if(0===(o=t[n])&&1/o===r)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(o=t[n])&&o!=o)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(N(t[n],e))return n;n+=1}return-1}(e,t,0)>=0}function T(t,e){for(var n=0,r=e.length,o=Array(r);n<r;)o[n]=t(e[n]),n+=1;return o}function M(t){return'"'+t.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 k=function(t){return(t<10?"0":"")+t};const F="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+k(t.getUTCMonth()+1)+"-"+k(t.getUTCDate())+"T"+k(t.getUTCHours())+":"+k(t.getUTCMinutes())+":"+k(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function D(t,e,n){for(var r=0,o=n.length;r<o;)e=t(e,n[r]),r+=1;return e}var C=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f,t.prototype["@@transducer/result"]=p,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function q(t){return function(e){return new C(t,e)}}const J=a(l(["fantasy-land/filter","filter"],q,(function(t,e){return n=e,"[object Object]"===Object.prototype.toString.call(n)?D((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},j(e)):function(t,e){for(var n=0,r=e.length,o=[];n<r;)t(e[n])&&(o[o.length]=e[n]),n+=1;return o}(t,e);var n})));const Y=a((function(t,e){return J((n=t,function(){return!n.apply(this,arguments)}),e);var n}));function I(t,e){var n=function(n){var r=e.concat([t]);return P(n,r)?"<Circular>":I(n,r)},r=function(t,e){return T((function(e){return M(e)+": "+n(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+T(n,t).join(", ")+"))";case"[object Array]":return"["+T(n,t).concat(r(t,Y((function(t){return/^\d+$/.test(t)}),j(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):M(F(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+n(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":M(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+r(t,j(t)).join(", ")+"}"}}const U=c((function(t){return I(t,[])}));const _=a((function(t,e){if(t===e)return e;function n(t,e){if(t>e!=e>t)return e>t?e:t}var r=n(t,e);if(void 0!==r)return r;var o=n(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=U(t),s=n(i,U(e));return void 0!==s&&s===i?t:e}));var R=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f,t.prototype["@@transducer/result"]=p,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const $=function(t){return function(e){return new R(t,e)}};function L(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,o){return e.apply(this,arguments)};case 5:return function(t,n,r,o,i){return e.apply(this,arguments)};case 6:return function(t,n,r,o,i,s){return e.apply(this,arguments)};case 7:return function(t,n,r,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,n,r,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,n,r,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,n,r,o,i,s,c,a,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function G(t,e,n){return function(){for(var r=[],o=0,i=t,c=0;c<e.length||o<arguments.length;){var a;c<e.length&&(!s(e[c])||o>=arguments.length)?a=e[c]:(a=arguments[o],o+=1),r[c]=a,s(a)||(i-=1),c+=1}return i<=0?n.apply(this,r):L(i,G(t,r,n))}}const V=a((function(t,e){return 1===t?c(e):L(t,G(t,[],e))}));const B=a(l(["fantasy-land/map","map"],$,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return V(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return D((function(n,r){return n[r]=t(e[r]),n}),{},j(e));default:return T(t,e)}}))),z=Number.isInteger||function(t){return t<<0===t};function K(t){return"[object String]"===Object.prototype.toString.call(t)}const Q=a((function(t,e){var n=t<0?e.length+t:t;return K(e)?e.charAt(n):e[n]}));const H=a((function(t,e){if(null!=e)return z(t)?Q(t,e):e[t]}));const W=a((function(t,e){return B(H(t),e)}));function X(t){return function e(n,r,o){switch(arguments.length){case 0:return e;case 1:return s(n)?e:a((function(e,r){return t(n,e,r)}));case 2:return s(n)&&s(r)?e:s(n)?a((function(e,n){return t(e,r,n)})):s(r)?a((function(e,r){return t(n,e,r)})):c((function(e){return t(n,r,e)}));default:return s(n)&&s(r)&&s(o)?e:s(n)&&s(r)?a((function(e,n){return t(e,n,o)})):s(n)&&s(o)?a((function(e,n){return t(e,r,n)})):s(r)&&s(o)?a((function(e,r){return t(n,e,r)})):s(n)?c((function(e){return t(e,r,o)})):s(r)?c((function(e){return t(n,e,o)})):s(o)?c((function(e){return t(n,r,e)})):t(n,r,o)}}}const Z=c((function(t){return!!u(t)||!!t&&("object"==typeof t&&(!K(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var tt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function et(t,e,n){return function(r,o,i){if(Z(i))return t(r,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(r,o,i,"fantasy-land/reduce");if(null!=i[tt])return n(r,o,i[tt]());if("function"==typeof i.next)return n(r,o,i);if("function"==typeof i.reduce)return e(r,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function nt(t,e,n){for(var r=0,o=n.length;r<o;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}const rt=a((function(t,e){return L(t.length,(function(){return t.apply(e,arguments)}))}));function ot(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function it(t,e,n,r){return t["@@transducer/result"](n[r](rt(t["@@transducer/step"],t),e))}const st=et(nt,it,ot);var ct=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function at(t){return new ct(t)}const ut=X((function(t,e,n){return st("function"==typeof t?at(t):t,e,n)}));const lt=c((function(t){return function(){return t}}));const ft=c((function(t){return V(ut(_,0,W("length",t)),(function(){for(var e=0,n=t.length;e<n;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function pt(t,e){var n;e=e||[];var r=(t=t||[]).length,o=e.length,i=[];for(n=0;n<r;)i[i.length]=t[n],n+=1;for(n=0;n<o;)i[i.length]=e[n],n+=1;return i}function dt(t,e,n){for(var r=n.next();!r.done;)e=t(e,r.value),r=n.next();return e}function yt(t,e,n,r){return n[r](t,e)}const gt=et(D,yt,dt);const ht=a((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(n){return t(n)(e(n))}:gt((function(t,n){return pt(t,B(n,e))}),[],t)}));function mt(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const vt=a((function(t,e){return t&&e}));const bt=a((function(t,e){var n=V(t,e);return V(t,(function(){return D(ht,B(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const St=c((function(t){return bt(t.length,t)}));const Ot=a((function(t,e){return mt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:St(vt)(t,e)}));const wt=St(c((function(t){return!t})));function jt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function At(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return u(r)||"function"!=typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const xt=X(At("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));const Et=c(At("tail",xt(1,1/0)));function Nt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return L(arguments[0].length,ut(jt,arguments[0],Et(arguments)))}const Pt=c((function(t){return K(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Tt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Nt.apply(this,Pt(arguments))}const Mt=a((function(t,e){if(u(t)){if(u(e))return t.concat(e);throw new TypeError(U(e)+" is not an array")}if(K(t)){if(K(e))return t+e;throw new TypeError(U(e)+" is not a string")}if(null!=t&&mt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&mt(t.concat))return t.concat(e);throw new TypeError(U(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const kt=a((function(t,e){return V(ut(_,0,W("length",e)),(function(){var n=arguments,r=this;return t.apply(r,T((function(t){return t.apply(r,n)}),e))}))}));const Ft=c((function(t){return V(t.length,t)}));var Dt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f,t.prototype["@@transducer/result"]=p,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function Ct(t){return function(e){return new Dt(t,e)}}const qt=a(l(["dropWhile"],Ct,(function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return xt(n,1/0,e)})));const Jt=c((function(t){return V(t.length,(function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)}))}));const Yt=a((function(t,e){return t>e}));const It=Q(0);var Ut=function(t,e){switch(arguments.length){case 0:return Ut;case 1:return function e(n){return 0===arguments.length?e:h(t,n)};default:return h(t,e)}};const _t=Ut;function Rt(t){return t}const $t=c(Rt);const Lt=a(P);const Gt="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,r=arguments.length;n<r;){var o=arguments[n];if(null!=o)for(var i in o)g(i,o)&&(e[i]=o[i]);n+=1}return e};const Vt=a((function(t,e){return V(t+1,(function(){var n=arguments[t];if(null!=n&&mt(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(U(n)+' does not have a method named "'+e+'"')}))}));const Bt=Vt(1,"join");const zt=a((function(t,e){return t.map((function(t){for(var n,r=e,o=0;o<t.length;){if(null==r)return;n=t[o],r=z(n)?Q(n,r):r[n],o+=1}return r}))}));const Kt=a((function(t,e){return zt([t],e)[0]}));const Qt=a((function(t,e){return Gt({},t,e)}));const Ht=a((function(t,e){return null==e||e!=e?t:e}));const Wt=X((function(t,e,n){return Ht(t,Kt(e,n))}));const Xt=X((function(t,e,n){return n.replace(t,e)}));const Zt=Vt(1,"split");const te=V(4,(function(t,e,n,r){return st(t("function"==typeof e?at(e):e),n,r)}));var ee="\t\n\v\f\r                 \u2028\u2029\ufeff";const ne=c("function"==typeof String.prototype.trim&&!ee.trim()&&"​".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ee+"]["+ee+"]*"),n=new RegExp("["+ee+"]["+ee+"]*$");return t.replace(e,"").replace(n,"")});const re=e()(i,{statics:{type:"document"},methods:{get child(){return It(this.children)}}}),oe=(t,e)=>e?.type===t,ie=oe.bind(void 0,"literal"),se=oe.bind(void 0,"position"),ce=oe.bind(void 0,"point"),ae=oe.bind(void 0,"parseResult"),ue=oe.bind(void 0,"document"),le=oe.bind(void 0,"string"),fe=oe.bind(void 0,"false"),pe=oe.bind(void 0,"true"),de=oe.bind(void 0,"null"),ye=oe.bind(void 0,"number"),ge=oe.bind(void 0,"array"),he=oe.bind(void 0,"object"),me=oe.bind(void 0,"stringContent"),ve=oe.bind(void 0,"escapeSequence"),be=oe.bind(void 0,"property"),Se=oe.bind(void 0,"key"),Oe=e()(i,{statics:{type:"object"},methods:{get properties(){return this.children.filter(be)}}}),we=e()(i,{statics:{type:"property"},methods:{get key(){return this.children.find(Se)},get value(){return this.children.find((t=>fe(t)||pe(t)||de(t)||ye(t)||le(t)||ge(t)||he(t)))}}}),je=e()(i,{statics:{type:"array"},methods:{get items(){return this.children.filter((t=>fe(t)||pe(t)||de(t)||ye(t)||le(t)||ge(t)||he))}}}),Ae=e()(i,{statics:{type:"value"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),xe=e()(i,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((t=>me(t)||ve(t))).reduce(((t,e)=>t+e.value),"")}}}),Ee=e()(xe,{statics:{type:"key"}}),Ne=e()(Ae,{statics:{type:"stringContent"}}),Pe=e()(Ae,{statics:{type:"escapeSequence"}}),Te=e()(Ae,{statics:{type:"number"}}),Me=e()(Ae,{statics:{type:"true"}}),ke=e()(Ae,{statics:{type:"false"}}),Fe=e()(Ae,{statics:{type:"null"}}),De=e()(o,{statics:{type:"alias"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ce=e()(o,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:t=null,tag:e=null,style:n=null,styleGroup:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=t,this.tag=e,this.style=n,this.styleGroup=r}}),qe=e()(Ce,{}),Je=e()(o,{statics:{type:"comment"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ye=e()(o,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:t=null,parameters:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t,this.parameters=Qt({version:null,handle:null,prefix:null},e)}}),Ie=e()(o,{statics:{type:"document"}});let Ue=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),_e=function(t){return t.Flow="Flow",t.Block="Block",t}({});const Re=e()({props:{styleGroup:null,style:null}}),$e=oe.bind(void 0,"stream"),Le=oe.bind(void 0,"document"),Ge=oe.bind(void 0,"mapping"),Ve=oe.bind(void 0,"sequence"),Be=oe.bind(void 0,"keyValuePair"),ze=oe.bind(void 0,"tag"),Ke=oe.bind(void 0,"scalar"),Qe=oe.bind(void 0,"alias"),He=oe.bind(void 0,"directive"),We=oe.bind(void 0,"comment"),Xe=e()(o,Re,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>Ke(t)||Ge(t)||Ve(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>Ke(t)||Ge(t)||Ve(t)||Qe(t))(e)))[0]},enumerable:!0}}}),Ze=e()(qe,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Be):[]},enumerable:!0}}}),tn=e()(Ce,{statics:{type:"scalar"},props:{content:""},init(){let{content:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),en=e()(qe,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>Ve(t)||Ge(t)||Ke(t)||Qe(t))):[]},enumerable:!0}}}),nn=e()(o,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>Le(t)||We(t))):[]},enumerable:!0}}});let rn=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const on=e()(o,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:t,kind:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=t,this.kind=e}}),sn=e()(o,{statics:{type:"anchor"},props:{name:null},init(){let{name:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t}});const cn=N("");const an=V(1,Nt(A,_t("GeneratorFunction")));const un=V(1,Nt(A,_t("AsyncFunction")));const ln=ft([Nt(A,_t("Function")),an,un]);const fn=V(1,Nt(A,_t("Number")));var pn=Ot(fn,isFinite);var dn=V(1,pn);const yn=ln(Number.isFinite)?V(1,rt(Number.isFinite,Number)):dn;var gn=Ot(yn,kt(N,[Math.floor,$t]));var hn=V(1,gn);const mn=ln(Number.isInteger)?V(1,rt(Number.isInteger,Number)):hn;const vn=wt(yn);const bn=V(1,Ot(fn,Yt(0)));const Sn=function(t,e){var n=Number(e);if(n!==e&&(n=0),bn(n))throw new RangeError("repeat count must be non-negative");if(vn(n))throw new RangeError("repeat count must be less than infinity");if(n=Math.floor(n),0===t.length||0===n)return"";if(t.length*n>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var r=t.length*n;n=Math.floor(Math.log(n)/Math.log(2));for(var o=t;n;)o+=t,n-=1;return o+=o.substring(0,r-o.length)};var On=Ft(Sn),wn=Jt(Vt(1,"repeat"));const jn=ln(String.prototype.repeat)?wn:On;var An=lt(void 0);const xn=N(An());var En=Xt(/[\s\uFEFF\xA0]+$/,""),Nn=Vt(0,"trimEnd");const Pn=ln(String.prototype.trimEnd)?Nn:En;var Tn=Xt(/^[\s\uFEFF\xA0]+/,""),Mn=Vt(0,"trimStart");const kn=ln(String.prototype.trimStart)?Mn:Tn;const Fn=Jt(Lt);const Dn=Ft((function(t,e){return Nt(Zt(""),qt(Fn(t)),Bt(""))(e)}));const Cn=Jt(Mt);var qn=n(770);const Jn=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Yn=t=>{const e=(t=>{const e=t.match(Jn),n=Wt("",["groups","indentation"],e);return cn(n)?void 0:parseInt(n,10)})(t);if(mn(e))return jn(" ",e);const n=Wt("",[1],t.split("\n")),r=Wt(0,["groups","indentation","length"],n.match(/^(?<indentation>[ ]*)/));return jn(" ",r)},In=t=>{const e=t.match(Jn),n=Wt("",["groups","chomping"],e);return cn(n)?void 0:n},Un=(t,e)=>xn(t)?`${Pn(e)}\n`:"-"===t?Pn(e):e,_n=t=>t.replace(/\r\n/g,"\n"),Rn=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,n)=>e?t:` ${n.trimStart()}`)).replace(/[\n]{2}/g,"\n"),$n=Ft(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Ln=Nt(_n,ne,Rn,Zt("\n"),B(kn),Bt("\n")),Gn=Nt(_n,ne,$n("'"),Rn,Zt("\n"),B(kn),Bt("\n")),Vn=Nt(_n,ne,$n('"'),(t=>t.replace(/\\\n\s*/g,"")),Rn,qn.S6,Zt("\n"),B(kn),Bt("\n")),Bn=e()({methods:{test:t=>t.tag.kind===rn.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const n=t.clone();return t.style===Ue.Plain?e=Ln(t.content):t.style===Ue.SingleQuoted?e=Gn(t.content):t.style===Ue.DoubleQuoted?e=Vn(t.content):t.style===Ue.Literal?e=(t=>{const e=Yn(t),n=In(t),r=_n(t),o=Et(r.split("\n")),i=Tt(B(Dn(e)),B(Cn("\n"))),s=te(i,Mt,"",o);return Un(n,s)})(t.content):t.style===Ue.Folded&&(e=(t=>{const e=Yn(t),n=In(t),r=_n(t),o=Et(r.split("\n")),i=Tt(B(Dn(e)),B(Cn("\n"))),s=te(i,Mt,"",o),c=Rn(s);return Un(n,c)})(t.content)),n.content=e,n},resolve:t=>t}}),zn=e()(Bn,{props:{tag:""}}),Kn=e()(zn,{statics:{uri:"tag:yaml.org,2002:map"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>t.tag.kind===rn.Mapping,resolve:t=>t}}),Qn=e()(zn,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>t.tag.kind===rn.Sequence,resolve:t=>t}}),Hn=e()(zn,{statics:{uri:"tag:yaml.org,2002:str"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{resolve:t=>t}}),Wn=e()({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(Kn()),this.registerTag(Qn()),this.registerTag(Hn())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===rn.Scalar?e=Hn.uri:t.tag.kind===rn.Sequence?e=Qn.uri:t.tag.kind===rn.Mapping&&(e=Kn.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e},registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})},registerTag(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this.tags.unshift(t):this.tags.push(t),this},overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this},resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let n=t;t.tag.kind===rn.Scalar&&(n=Bn().canonicalFormat(t));const r=this.tags.find((t=>t?.tag===e));if(void 0===r)throw new Error(`Tag "${e}" couldn't be resolved`);if(!r.test(n))throw new Error(`Node couldn't be resolved against tag "${e}"`);return r.resolve(n)}}}),Xn=e()(zn,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,n=t.clone();return n.content=e,n}}}),Zn=e()(zn,{statics:{uri:"tag:yaml.org,2002:float"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content),resolve(t){const e=parseFloat(t.content),n=t.clone();return n.content=e,n}}}),tr=e()(zn,{statics:{uri:"tag:yaml.org,2002:int"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),n=t.clone();return n.content=e,n}}}),er=e()(zn,{statics:{uri:"tag:yaml.org,2002:null"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),nr=e()(Wn,{init(){this.registerTag(Xn(),!0),this.registerTag(Zn(),!0),this.registerTag(tr(),!0),this.registerTag(er(),!0)},methods:{toSpecificTagName(t){let e=Wn.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===rn.Sequence)e=Qn.uri;else if(t.tag.kind===rn.Mapping)e=Kn.uri;else if(t.tag.kind===rn.Scalar){const n=this.tags.find((e=>e.test(t)));e=n?.tag||"?"}return e}}}),rr=e()(o,{statics:{type:"literal"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),or=e()({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:t=null,column:e=null,char:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=t,this.column=e,this.char=n}}),ir=e()({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:t=null,end:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=t,this.end=e}}),sr=e()(o,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:t=null,isUnexpected:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t,this.isUnexpected=e}}),cr=e()(o,{statics:{type:"parseResult"},methods:{get rootNode(){return It(this.children)}}}),ar=(t,e,n)=>{const r=t[e];if(null!=r){if(!n&&"function"==typeof r)return r;const t=n?r.leave:r.enter;if("function"==typeof t)return t}else{const r=n?t.leave:t.enter;if(null!=r){if("function"==typeof r)return r;const t=r[e];if("function"==typeof t)return t}}return null},ur={},lr=t=>t?.type,fr=t=>"string"==typeof lr(t),pr=function(t){let{visitFnGetter:e=ar,nodeTypeGetter:n=lr}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new Array(t.length);return{enter(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];for(let i=0;i<t.length;i+=1)if(null==r[i]){const c=e(t[i],n(o),!1);if("function"==typeof c){const e=c.call(t[i],o,...s);if(!1===e)r[i]=o;else if(e===ur)r[i]=ur;else if(void 0!==e)return e}}},leave(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];for(let i=0;i<t.length;i+=1)if(null==r[i]){const c=e(t[i],n(o),!0);if("function"==typeof c){const e=c.call(t[i],o,...s);if(e===ur)r[i]=ur;else if(void 0!==e&&!1!==e)return e}}else r[i]===o&&(r[i]=null)}}},dr=function(t,e){let{keyMap:n=null,state:r={},breakSymbol:o=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const f=n||{};let p,d,y=Array.isArray(t),g=[t],h=-1,m=[];const v=[],b=[];let S=t;do{h+=1;const t=h===g.length;let n,O;const w=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),w){O=y?O.slice():Object.create(Object.getPrototypeOf(O),Object.getOwnPropertyDescriptors(O));let t=0;for(let e=0;e<m.length;e+=1){let n=m[e][0];const r=m[e][1];y&&(n-=t),y&&r===i?(O.splice(n,1),t+=1):O[n]=r}}h=p.index,g=p.keys,m=p.edits,y=p.inArray,p=p.prev}else{if(n=d?y?h:g[h]:void 0,O=d?d[n]:S,O===i||void 0===O)continue;d&&v.push(n)}if(b.includes(O))continue;let j;if(!Array.isArray(O)){if(!u(O))throw new Error(`Invalid AST Node: ${JSON.stringify(O)}`);if(l&&b.includes(O)){v.pop();continue}const i=c(e,a(O),t);if(i){for(const[t,n]of Object.entries(r))e[t]=n;if(j=i.call(e,O,n,d,v,b),j===o)break;if(j===s){if(!t){v.pop();continue}}else if(void 0!==j&&(m.push([n,j]),!t)){if(!u(j)){v.pop();continue}O=j}}}void 0===j&&w&&m.push([n,O]),t||(p={inArray:y,index:h,keys:g,edits:m,prev:p},y=Array.isArray(O),g=y?O:f[a(O)]||[],h=-1,m=[],d&&b.push(d),d=O)}while(void 0!==p);return 0!==m.length&&([,S]=m[m.length-1]),S};dr[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let{keyMap:n=null,state:r={},breakSymbol:o=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const f=n||{};let p,d,y=Array.isArray(t),g=[t],h=-1,m=[];const v=[],b=[];let S=t;do{h+=1;const t=h===g.length;let n,O;const w=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),w){O=y?O.slice():Object.create(Object.getPrototypeOf(O),Object.getOwnPropertyDescriptors(O));let t=0;for(let e=0;e<m.length;e+=1){let n=m[e][0];const r=m[e][1];y&&(n-=t),y&&r===i?(O.splice(n,1),t+=1):O[n]=r}}h=p.index,g=p.keys,m=p.edits,y=p.inArray,p=p.prev}else{if(n=d?y?h:g[h]:void 0,O=d?d[n]:S,O===i||void 0===O)continue;d&&v.push(n)}let j;if(!Array.isArray(O)){if(!u(O))throw new Error(`Invalid AST Node: ${JSON.stringify(O)}`);if(l&&b.includes(O)){v.pop();continue}const i=c(e,a(O),t);if(i){for(const[t,n]of Object.entries(r))e[t]=n;if(j=await i.call(e,O,n,d,v,b),j===o)break;if(j===s){if(!t){v.pop();continue}}else if(void 0!==j&&(m.push([n,j]),!t)){if(!u(j)){v.pop();continue}O=j}}}void 0===j&&w&&m.push([n,O]),t||(p={inArray:y,index:h,keys:g,edits:m,prev:p},y=Array.isArray(O),g=y?O:f[a(O)]||[],h=-1,m=[],d&&b.push(d),d=O)}while(void 0!==p);return 0!==m.length&&([,S]=m[m.length-1]),S}})(),r})()));
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomAST=e():t.apidomAST=e()}(self,(()=>(()=>{var t={591:t=>{!function(){"use strict";var e,n,r,o,i,s="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",d="deepConfiguration",y="deepProps",g="deepStatics",h="deepConf",m="initializers",v="methods",b="composers",S="compose";function O(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function j(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var w=j.bind(0,(function(t,e){if(e)for(var n=O(e),r=0;r<n.length;r+=1)Object.defineProperty(t,n[r],Object.getOwnPropertyDescriptor(e,n[r]));return t}));function A(t){return"function"==typeof t}function x(t){return t&&"object"==typeof t||A(t)}function E(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var N=j.bind(0,(function t(n,r){if(r===e)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!E(r))return r;for(var o,i,s=O(r),c=0;c<s.length;)o=s[c++],(i=Object.getOwnPropertyDescriptor(r,o)).hasOwnProperty("value")?i.value!==e&&(n[o]=t(E(n[o])||Array.isArray(r[o])?n[o]:{},r[o])):Object.defineProperty(n,o,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(t,e,n){return A(t)&&n.indexOf(t)===e}))).length?n:e}function T(t,e){function r(n,r){x(e[n])&&(x(t[n])||(t[n]={}),(r||w)(t[n],e[n]))}function o(r){(n=P(t[r],e[r]))&&(t[r]=n)}return e&&x(e=e[S]||e)&&(r(v),r(s),r(c,N),r(a),r(u),r(l,N),r(f),r(p),r(d,N),o(m),o(b)),t}function M(){return function(t){return n=function t(n){var r,o,i=t[S]||{},u={__proto__:i[v]},l=i[m],f=Array.prototype.slice.apply(arguments),p=i[c];if(p&&N(u,p),(p=i[s])&&w(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(n===e&&(n={}),i=0;i<l.length;)A(r=l[i++])&&(u=(o=r.call(u,n,{instance:u,stamp:t,args:f}))===e?u:o);return u},(r=t[l])&&N(n,r),(r=t[u])&&w(n,r),(r=t[f])&&Object.defineProperties(n,r),r=A(n[S])?n[S]:M,w(n[S]=function(){return r.apply(this,arguments)},t),n}(Array.prototype.concat.apply([this],arguments).reduce(T,{}))}function k(t){return A(t)&&A(t[S])}var F={};function D(t,i){return function(){return(o={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[S]||r).call(n,o)}}F[v]=D(v,w),F[s]=F.props=D(s,w),F[m]=F.init=D(m,P),F[b]=D(b,P),F[c]=F[y]=D(c,N),F[u]=F.statics=D(u,w),F[l]=F[g]=D(l,N),F[p]=F.conf=D(p,w),F[d]=F[h]=D(d,N),F[a]=D(a,w),F[f]=D(f,w),r=F[S]=w((function(){for(var t,O,j=0,A=[],E=arguments,T=this;j<E.length;)x(t=E[j++])&&A.push(k(t)?t:((o={})[v]=(O=t)[v]||e,r=O.props,o[s]=x((n=O[s])||r)?w({},r,n):e,o[m]=P(O.init,O[m]),o[b]=P(O[b]),r=O[y],o[c]=x((n=O[c])||r)?N({},r,n):e,o[a]=O[a],r=O.statics,o[u]=x((n=O[u])||r)?w({},r,n):e,r=O[g],o[l]=x((n=O[l])||r)?N({},r,n):e,n=O[f],o[f]=x((r=O.name&&{name:{value:O.name}})||n)?w({},n,r):e,r=O.conf,o[p]=x((n=O[p])||r)?w({},r,n):e,r=O[h],o[d]=x((n=O[d])||r)?N({},r,n):e,o));if(t=M.apply(T||i,A),T&&A.unshift(T),Array.isArray(E=t[S][b]))for(j=0;j<E.length;)t=k(T=E[j++]({stamp:t,composables:A}))?T:t;return t}),F),F.create=function(){return this.apply(e,arguments)},(o={})[u]=F,i=M(o),r[S]=r.bind(),r.version="4.3.2","object"!=typeof e?t.exports=r:self.stampit=r}()},396:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(n=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[n.MalformedUnicode,"malformed Unicode character escape sequence"],[n.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[n.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[n.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[n.EndOfString,"malformed escape sequence at end of string"]])},770:(t,e,n)=>{"use strict";const r=n(396);function o(t,e,n){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==n&&n!==t.length)throw new SyntaxError(r.errorMessages.get(e));return o}function i(t,e){const n=o(t,r.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,r.ErrorType.MalformedUnicode,4);return String.fromCharCode(n,t)}return String.fromCharCode(n)}r.ErrorType,r.errorMessages;const s=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const c=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function a(t,e=!1){return t.replace(c,(function(t,n,c,a,u,l,f,p,d){if(void 0!==n)return"\\";if(void 0!==c)return function(t){const e=o(t,r.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(c);if(void 0!==a)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(r.errorMessages.get(r.ErrorType.MalformedUnicode));var e;const n=o(t.slice(1,-1),r.ErrorType.MalformedUnicode);try{return String.fromCodePoint(n)}catch(t){throw t instanceof RangeError?new SyntaxError(r.errorMessages.get(r.ErrorType.CodePointLimit)):t}}(a);if(void 0!==u)return i(u,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t,e=!1){if(e)throw new SyntaxError(r.errorMessages.get(r.ErrorType.OctalDeprecation));const n=parseInt(t,8);return String.fromCharCode(n)}(p,!e);if(void 0!==d)return y=d,s.get(y)||y;var y;throw new SyntaxError(r.errorMessages.get(r.ErrorType.EndOfString))}))}e.S6=a}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{BREAK:()=>ar,Error:()=>ir,JsonArray:()=>je,JsonDocument:()=>ne,JsonEscapeSequence:()=>Ne,JsonFalse:()=>Me,JsonKey:()=>xe,JsonNode:()=>i,JsonNull:()=>ke,JsonNumber:()=>Pe,JsonObject:()=>Se,JsonProperty:()=>Oe,JsonString:()=>Ae,JsonStringContent:()=>Ee,JsonTrue:()=>Te,JsonValue:()=>we,Literal:()=>nr,ParseResult:()=>sr,Point:()=>rr,Position:()=>or,YamlAlias:()=>Fe,YamlAnchor:()=>on,YamlCollection:()=>Ce,YamlComment:()=>qe,YamlDirective:()=>Je,YamlDocument:()=>Ye,YamlFailsafeSchema:()=>Hn,YamlJsonSchema:()=>er,YamlKeyValuePair:()=>We,YamlMapping:()=>Xe,YamlNode:()=>De,YamlNodeKind:()=>nn,YamlScalar:()=>Ze,YamlSequence:()=>tn,YamlStream:()=>en,YamlStyle:()=>Ie,YamlStyleGroup:()=>Ue,YamlTag:()=>rn,getNodeType:()=>ur,getVisitFn:()=>cr,isJsonArray:()=>ye,isJsonDocument:()=>ae,isJsonEscapeSequence:()=>me,isJsonFalse:()=>le,isJsonKey:()=>be,isJsonNull:()=>pe,isJsonNumber:()=>de,isJsonObject:()=>ge,isJsonProperty:()=>ve,isJsonString:()=>ue,isJsonStringContent:()=>he,isJsonTrue:()=>fe,isLiteral:()=>oe,isNode:()=>lr,isParseResult:()=>ce,isPoint:()=>se,isPosition:()=>ie,isYamlAlias:()=>Ke,isYamlDirective:()=>Qe,isYamlDocument:()=>$e,isYamlKeyValuePair:()=>Ve,isYamlMapping:()=>Le,isYamlScalar:()=>ze,isYamlSequence:()=>Ge,isYamlStream:()=>Re,isYamlTag:()=>Be,mergeAllVisitors:()=>fr,visit:()=>pr});var t=n(591),e=n.n(t);const o=e()({props:{type:null,position:null,children:[]},init({children:t=[],position:e=null,isMissing:n=!1}={},{stamp:r={}}){this.type=r.type,this.isMissing=n,this.children=t,this.position=e},methods:{clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const n=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,n)})),t}}}),i=e()(o),s=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function c(t,e,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!s(r)){for(var o=0;o<t.length;){if("function"==typeof r[t[o]])return r[t[o]].apply(r,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(r))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}const a=function(){return this.xf["@@transducer/init"]()},u=function(t){return this.xf["@@transducer/result"](t)};function l(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function f(t){return function e(n){return 0===arguments.length||l(n)?e:t.apply(this,arguments)}}function p(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return l(n)?e:f((function(e){return t(n,e)}));default:return l(n)&&l(r)?e:l(n)?f((function(e){return t(e,r)})):l(r)?f((function(e){return t(n,e)})):t(n,r)}}}function d(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function y(t,e,n){for(var r=0,o=n.length;r<o;){if(t(e,n[r]))return!0;r+=1}return!1}function g(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const h="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var m=Object.prototype.toString;const v=function(){return"[object Arguments]"===m.call(arguments)?function(t){return"[object Arguments]"===m.call(t)}:function(t){return g("callee",t)}}();var b=!{toString:null}.propertyIsEnumerable("toString"),S=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),j=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1};const w="function"!=typeof Object.keys||O?f((function(t){if(Object(t)!==t)return[];var e,n,r=[],o=O&&v(t);for(e in t)!g(e,t)||o&&"length"===e||(r[r.length]=e);if(b)for(n=S.length-1;n>=0;)g(e=S[n],t)&&!j(r,e)&&(r[r.length]=e),n-=1;return r})):f((function(t){return Object(t)!==t?[]:Object.keys(t)}));const A=f((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function x(t,e,n,r){var o=d(t);function i(t,e){return E(t,e,n.slice(),r.slice())}return!y((function(t,e){return!y(i,e,t)}),d(e),o)}function E(t,e,n,r){if(h(t,e))return!0;var o,i,s=A(t);if(s!==A(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!h(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!h(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var c=n.length-1;c>=0;){if(n[c]===t)return r[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&x(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&x(t.values(),e.values(),n.concat([t]),r.concat([e]));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=w(t);if(a.length!==w(e).length)return!1;var u=n.concat([t]),l=r.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!g(f,e)||!E(e[f],t[f],u,l))return!1;c-=1}return!0}const N=p((function(t,e){return E(t,e,[],[])}));function P(t,e){return function(t,e,n){var r,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(r=1/e;n<t.length;){if(0===(o=t[n])&&1/o===r)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(o=t[n])&&o!=o)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(N(t[n],e))return n;n+=1}return-1}(e,t,0)>=0}function T(t,e){for(var n=0,r=e.length,o=Array(r);n<r;)o[n]=t(e[n]),n+=1;return o}function M(t){return'"'+t.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 k=function(t){return(t<10?"0":"")+t};const F="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+k(t.getUTCMonth()+1)+"-"+k(t.getUTCDate())+"T"+k(t.getUTCHours())+":"+k(t.getUTCMinutes())+":"+k(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function D(t,e,n){for(var r=0,o=n.length;r<o;)e=t(e,n[r]),r+=1;return e}var C=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function q(t){return function(e){return new C(t,e)}}const J=p(c(["fantasy-land/filter","filter"],q,(function(t,e){return n=e,"[object Object]"===Object.prototype.toString.call(n)?D((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},w(e)):function(t,e){for(var n=0,r=e.length,o=[];n<r;)t(e[n])&&(o[o.length]=e[n]),n+=1;return o}(t,e);var n})));const Y=p((function(t,e){return J((n=t,function(){return!n.apply(this,arguments)}),e);var n}));function I(t,e){var n=function(n){var r=e.concat([t]);return P(n,r)?"<Circular>":I(n,r)},r=function(t,e){return T((function(e){return M(e)+": "+n(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+T(n,t).join(", ")+"))";case"[object Array]":return"["+T(n,t).concat(r(t,Y((function(t){return/^\d+$/.test(t)}),w(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):M(F(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+n(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":M(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+r(t,w(t)).join(", ")+"}"}}const U=f((function(t){return I(t,[])}));const _=p((function(t,e){if(t===e)return e;function n(t,e){if(t>e!=e>t)return e>t?e:t}var r=n(t,e);if(void 0!==r)return r;var o=n(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=U(t),s=n(i,U(e));return void 0!==s&&s===i?t:e}));var R=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const $=function(t){return function(e){return new R(t,e)}};function L(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,o){return e.apply(this,arguments)};case 5:return function(t,n,r,o,i){return e.apply(this,arguments)};case 6:return function(t,n,r,o,i,s){return e.apply(this,arguments)};case 7:return function(t,n,r,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,n,r,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,n,r,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,n,r,o,i,s,c,a,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function G(t,e,n){return function(){for(var r=[],o=0,i=t,s=0;s<e.length||o<arguments.length;){var c;s<e.length&&(!l(e[s])||o>=arguments.length)?c=e[s]:(c=arguments[o],o+=1),r[s]=c,l(c)||(i-=1),s+=1}return i<=0?n.apply(this,r):L(i,G(t,r,n))}}const V=p((function(t,e){return 1===t?f(e):L(t,G(t,[],e))}));const B=p(c(["fantasy-land/map","map"],$,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return V(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return D((function(n,r){return n[r]=t(e[r]),n}),{},w(e));default:return T(t,e)}}))),z=Number.isInteger||function(t){return t<<0===t};function K(t){return"[object String]"===Object.prototype.toString.call(t)}const Q=p((function(t,e){var n=t<0?e.length+t:t;return K(e)?e.charAt(n):e[n]}));const H=p((function(t,e){if(null!=e)return z(t)?Q(t,e):e[t]}));const W=p((function(t,e){return B(H(t),e)}));function X(t){return function e(n,r,o){switch(arguments.length){case 0:return e;case 1:return l(n)?e:p((function(e,r){return t(n,e,r)}));case 2:return l(n)&&l(r)?e:l(n)?p((function(e,n){return t(e,r,n)})):l(r)?p((function(e,r){return t(n,e,r)})):f((function(e){return t(n,r,e)}));default:return l(n)&&l(r)&&l(o)?e:l(n)&&l(r)?p((function(e,n){return t(e,n,o)})):l(n)&&l(o)?p((function(e,n){return t(e,r,n)})):l(r)&&l(o)?p((function(e,r){return t(n,e,r)})):l(n)?f((function(e){return t(e,r,o)})):l(r)?f((function(e){return t(n,e,o)})):l(o)?f((function(e){return t(n,r,e)})):t(n,r,o)}}}const Z=f((function(t){return!!s(t)||!!t&&("object"==typeof t&&(!K(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var tt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function et(t,e,n){return function(r,o,i){if(Z(i))return t(r,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(r,o,i,"fantasy-land/reduce");if(null!=i[tt])return n(r,o,i[tt]());if("function"==typeof i.next)return n(r,o,i);if("function"==typeof i.reduce)return e(r,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function nt(t,e,n){for(var r=0,o=n.length;r<o;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}const rt=p((function(t,e){return L(t.length,(function(){return t.apply(e,arguments)}))}));function ot(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function it(t,e,n,r){return t["@@transducer/result"](n[r](rt(t["@@transducer/step"],t),e))}const st=et(nt,it,ot);var ct=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function at(t){return new ct(t)}const ut=X((function(t,e,n){return st("function"==typeof t?at(t):t,e,n)}));const lt=f((function(t){return function(){return t}}));const ft=f((function(t){return V(ut(_,0,W("length",t)),(function(){for(var e=0,n=t.length;e<n;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function pt(t,e,n){for(var r=n.next();!r.done;)e=t(e,r.value),r=n.next();return e}function dt(t,e,n,r){return n[r](t,e)}const yt=et(D,dt,pt);const gt=p((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(n){return t(n)(e(n))}:yt((function(t,n){return function(t,e){var n;e=e||[];var r=(t=t||[]).length,o=e.length,i=[];for(n=0;n<r;)i[i.length]=t[n],n+=1;for(n=0;n<o;)i[i.length]=e[n],n+=1;return i}(t,B(n,e))}),[],t)}));function ht(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const mt=p((function(t,e){return t&&e}));const vt=p((function(t,e){var n=V(t,e);return V(t,(function(){return D(gt,B(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const bt=f((function(t){return vt(t.length,t)}));const St=p((function(t,e){return ht(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:bt(mt)(t,e)}));const Ot=bt(f((function(t){return!t})));function jt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function wt(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return s(r)||"function"!=typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const At=X(wt("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));const xt=f(wt("tail",At(1,1/0)));function Et(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return L(arguments[0].length,ut(jt,arguments[0],xt(arguments)))}const Nt=f((function(t){return K(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Pt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Et.apply(this,Nt(arguments))}const Tt=p((function(t,e){if(s(t)){if(s(e))return t.concat(e);throw new TypeError(U(e)+" is not an array")}if(K(t)){if(K(e))return t+e;throw new TypeError(U(e)+" is not a string")}if(null!=t&&ht(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&ht(t.concat))return t.concat(e);throw new TypeError(U(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Mt=p((function(t,e){return V(ut(_,0,W("length",e)),(function(){var n=arguments,r=this;return t.apply(r,T((function(t){return t.apply(r,n)}),e))}))}));const kt=f((function(t){return V(t.length,t)}));var Ft=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function Dt(t){return function(e){return new Ft(t,e)}}const Ct=p(c(["dropWhile"],Dt,(function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return At(n,1/0,e)})));const qt=f((function(t){return V(t.length,(function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)}))}));const Jt=p((function(t,e){return t>e}));const Yt=Q(0);var It=function(t,e){switch(arguments.length){case 0:return It;case 1:return function e(n){return 0===arguments.length?e:h(t,n)};default:return h(t,e)}};const Ut=It;function _t(t){return t}const Rt=f(_t);const $t=p(P);const Lt="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,r=arguments.length;n<r;){var o=arguments[n];if(null!=o)for(var i in o)g(i,o)&&(e[i]=o[i]);n+=1}return e};const Gt=p((function(t,e){return V(t+1,(function(){var n=arguments[t];if(null!=n&&ht(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(U(n)+' does not have a method named "'+e+'"')}))}));const Vt=Gt(1,"join");const Bt=p((function(t,e){return t.map((function(t){for(var n,r=e,o=0;o<t.length;){if(null==r)return;n=t[o],r=z(n)?Q(n,r):r[n],o+=1}return r}))}));const zt=p((function(t,e){return Bt([t],e)[0]}));const Kt=p((function(t,e){return Lt({},t,e)}));const Qt=p((function(t,e){return null==e||e!=e?t:e}));const Ht=X((function(t,e,n){return Qt(t,zt(e,n))}));const Wt=X((function(t,e,n){return n.replace(t,e)}));const Xt=Gt(1,"split");const Zt=V(4,(function(t,e,n,r){return st(t("function"==typeof e?at(e):e),n,r)}));var te="\t\n\v\f\r                 \u2028\u2029\ufeff";const ee=f("function"==typeof String.prototype.trim&&!te.trim()&&"​".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+te+"]["+te+"]*"),n=new RegExp("["+te+"]["+te+"]*$");return t.replace(e,"").replace(n,"")});const ne=e()(i,{statics:{type:"document"},methods:{get child(){return Yt(this.children)}}}),re=(t,e)=>e?.type===t,oe=re.bind(void 0,"literal"),ie=re.bind(void 0,"position"),se=re.bind(void 0,"point"),ce=re.bind(void 0,"parseResult"),ae=re.bind(void 0,"document"),ue=re.bind(void 0,"string"),le=re.bind(void 0,"false"),fe=re.bind(void 0,"true"),pe=re.bind(void 0,"null"),de=re.bind(void 0,"number"),ye=re.bind(void 0,"array"),ge=re.bind(void 0,"object"),he=re.bind(void 0,"stringContent"),me=re.bind(void 0,"escapeSequence"),ve=re.bind(void 0,"property"),be=re.bind(void 0,"key"),Se=e()(i,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ve)}}}),Oe=e()(i,{statics:{type:"property"},methods:{get key(){return this.children.find(be)},get value(){return this.children.find((t=>le(t)||fe(t)||pe(t)||de(t)||ue(t)||ye(t)||ge(t)))}}}),je=e()(i,{statics:{type:"array"},methods:{get items(){return this.children.filter((t=>le(t)||fe(t)||pe(t)||de(t)||ue(t)||ye(t)||ge))}}}),we=e()(i,{statics:{type:"value"},props:{value:null},init({value:t=null}={}){this.value=t}}),Ae=e()(i,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((t=>he(t)||me(t))).reduce(((t,e)=>t+e.value),"")}}}),xe=e()(Ae,{statics:{type:"key"}}),Ee=e()(we,{statics:{type:"stringContent"}}),Ne=e()(we,{statics:{type:"escapeSequence"}}),Pe=e()(we,{statics:{type:"number"}}),Te=e()(we,{statics:{type:"true"}}),Me=e()(we,{statics:{type:"false"}}),ke=e()(we,{statics:{type:"null"}}),Fe=e()(o,{statics:{type:"alias"},props:{content:null},init({content:t=null}={}){this.content=t}}),De=e()(o,{props:{anchor:null,tag:null,style:null,styleGroup:null},init({anchor:t=null,tag:e=null,style:n=null,styleGroup:r=null}={}){this.anchor=t,this.tag=e,this.style=n,this.styleGroup=r}}),Ce=e()(De,{}),qe=e()(o,{statics:{type:"comment"},props:{content:null},init({content:t=null}={}){this.content=t}}),Je=e()(o,{statics:{type:"directive"},props:{name:null,parameters:null},init({name:t=null,parameters:e={}}={}){this.name=t,this.parameters=Kt({version:null,handle:null,prefix:null},e)}}),Ye=e()(o,{statics:{type:"document"}});let Ie=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),Ue=function(t){return t.Flow="Flow",t.Block="Block",t}({});const _e=e()({props:{styleGroup:null,style:null}}),Re=re.bind(void 0,"stream"),$e=re.bind(void 0,"document"),Le=re.bind(void 0,"mapping"),Ge=re.bind(void 0,"sequence"),Ve=re.bind(void 0,"keyValuePair"),Be=re.bind(void 0,"tag"),ze=re.bind(void 0,"scalar"),Ke=re.bind(void 0,"alias"),Qe=re.bind(void 0,"directive"),He=re.bind(void 0,"comment"),We=e()(o,_e,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>ze(t)||Le(t)||Ge(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>ze(t)||Le(t)||Ge(t)||Ke(t))(e)))[0]},enumerable:!0}}}),Xe=e()(Ce,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Ve):[]},enumerable:!0}}}),Ze=e()(De,{statics:{type:"scalar"},props:{content:""},init({content:t}={}){this.content=t}}),tn=e()(Ce,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>Ge(t)||Le(t)||ze(t)||Ke(t))):[]},enumerable:!0}}}),en=e()(o,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>$e(t)||He(t))):[]},enumerable:!0}}});let nn=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const rn=e()(o,{statics:{type:"tag"},props:{explicitName:"",kind:null},init({explicitName:t,kind:e}={}){this.explicitName=t,this.kind=e}}),on=e()(o,{statics:{type:"anchor"},props:{name:null},init({name:t=null}={}){this.name=t}});const sn=N("");const cn=V(1,Et(A,Ut("GeneratorFunction")));const an=V(1,Et(A,Ut("AsyncFunction")));const un=ft([Et(A,Ut("Function")),cn,an]);const ln=V(1,Et(A,Ut("Number")));var fn=St(ln,isFinite);var pn=V(1,fn);const dn=un(Number.isFinite)?V(1,rt(Number.isFinite,Number)):pn;var yn=St(dn,Mt(N,[Math.floor,Rt]));var gn=V(1,yn);const hn=un(Number.isInteger)?V(1,rt(Number.isInteger,Number)):gn;const mn=Ot(dn);const vn=V(1,St(ln,Jt(0)));const bn=function(t,e){var n=Number(e);if(n!==e&&(n=0),vn(n))throw new RangeError("repeat count must be non-negative");if(mn(n))throw new RangeError("repeat count must be less than infinity");if(n=Math.floor(n),0===t.length||0===n)return"";if(t.length*n>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var r=t.length*n;n=Math.floor(Math.log(n)/Math.log(2));for(var o=t;n;)o+=t,n-=1;return o+=o.substring(0,r-o.length)};var Sn=kt(bn),On=qt(Gt(1,"repeat"));const jn=un(String.prototype.repeat)?On:Sn;var wn=lt(void 0);const An=N(wn());var xn=Wt(/[\s\uFEFF\xA0]+$/,""),En=Gt(0,"trimEnd");const Nn=un(String.prototype.trimEnd)?En:xn;var Pn=Wt(/^[\s\uFEFF\xA0]+/,""),Tn=Gt(0,"trimStart");const Mn=un(String.prototype.trimStart)?Tn:Pn;const kn=qt($t);const Fn=kt((function(t,e){return Et(Xt(""),Ct(kn(t)),Vt(""))(e)}));const Dn=qt(Tt);var Cn=n(770);const qn=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Jn=t=>{const e=(t=>{const e=t.match(qn),n=Ht("",["groups","indentation"],e);return sn(n)?void 0:parseInt(n,10)})(t);if(hn(e))return jn(" ",e);const n=Ht("",[1],t.split("\n")),r=Ht(0,["groups","indentation","length"],n.match(/^(?<indentation>[ ]*)/));return jn(" ",r)},Yn=t=>{const e=t.match(qn),n=Ht("",["groups","chomping"],e);return sn(n)?void 0:n},In=(t,e)=>An(t)?`${Nn(e)}\n`:"-"===t?Nn(e):e,Un=t=>t.replace(/\r\n/g,"\n"),_n=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,n)=>e?t:` ${n.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Rn=kt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),$n=Et(Un,ee,_n,Xt("\n"),B(Mn),Vt("\n")),Ln=Et(Un,ee,Rn("'"),_n,Xt("\n"),B(Mn),Vt("\n")),Gn=Et(Un,ee,Rn('"'),(t=>t.replace(/\\\n\s*/g,"")),_n,Cn.S6,Xt("\n"),B(Mn),Vt("\n")),Vn=e()({methods:{test:t=>t.tag.kind===nn.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const n=t.clone();return t.style===Ie.Plain?e=$n(t.content):t.style===Ie.SingleQuoted?e=Ln(t.content):t.style===Ie.DoubleQuoted?e=Gn(t.content):t.style===Ie.Literal?e=(t=>{const e=Jn(t),n=Yn(t),r=Un(t),o=xt(r.split("\n")),i=Pt(B(Fn(e)),B(Dn("\n"))),s=Zt(i,Tt,"",o);return In(n,s)})(t.content):t.style===Ie.Folded&&(e=(t=>{const e=Jn(t),n=Yn(t),r=Un(t),o=xt(r.split("\n")),i=Pt(B(Fn(e)),B(Dn("\n"))),s=Zt(i,Tt,"",o),c=_n(s);return In(n,c)})(t.content)),n.content=e,n},resolve:t=>t}}),Bn=e()(Vn,{props:{tag:""}}),zn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:map"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>t.tag.kind===nn.Mapping,resolve:t=>t}}),Kn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>t.tag.kind===nn.Sequence,resolve:t=>t}}),Qn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:str"},init(t,{stamp:e}){this.tag=e.uri},methods:{resolve:t=>t}}),Hn=e()({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(zn()),this.registerTag(Kn()),this.registerTag(Qn())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===nn.Scalar?e=Qn.uri:t.tag.kind===nn.Sequence?e=Kn.uri:t.tag.kind===nn.Mapping&&(e=zn.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e},registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})},registerTag(t,e=!1){return e?this.tags.unshift(t):this.tags.push(t),this},overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this},resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let n=t;t.tag.kind===nn.Scalar&&(n=Vn().canonicalFormat(t));const r=this.tags.find((t=>t?.tag===e));if(void 0===r)throw new Error(`Tag "${e}" couldn't be resolved`);if(!r.test(n))throw new Error(`Node couldn't be resolved against tag "${e}"`);return r.resolve(n)}}}),Wn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,n=t.clone();return n.content=e,n}}}),Xn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:float"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content),resolve(t){const e=parseFloat(t.content),n=t.clone();return n.content=e,n}}}),Zn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:int"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),n=t.clone();return n.content=e,n}}}),tr=e()(Bn,{statics:{uri:"tag:yaml.org,2002:null"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),er=e()(Hn,{init(){this.registerTag(Wn(),!0),this.registerTag(Xn(),!0),this.registerTag(Zn(),!0),this.registerTag(tr(),!0)},methods:{toSpecificTagName(t){let e=Hn.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===nn.Sequence)e=Kn.uri;else if(t.tag.kind===nn.Mapping)e=zn.uri;else if(t.tag.kind===nn.Scalar){const n=this.tags.find((e=>e.test(t)));e=n?.tag||"?"}return e}}}),nr=e()(o,{statics:{type:"literal"},props:{value:null},init({value:t=null}={}){this.value=t}}),rr=e()({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:t=null,column:e=null,char:n=null}={}){this.row=t,this.column=e,this.char=n}}),or=e()({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:t=null,end:e=null}={}){this.start=t,this.end=e}}),ir=e()(o,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:t=null,isUnexpected:e=!1}={}){this.value=t,this.isUnexpected=e}}),sr=e()(o,{statics:{type:"parseResult"},methods:{get rootNode(){return Yt(this.children)}}}),cr=(t,e,n)=>{const r=t[e];if(null!=r){if(!n&&"function"==typeof r)return r;const t=n?r.leave:r.enter;if("function"==typeof t)return t}else{const r=n?t.leave:t.enter;if(null!=r){if("function"==typeof r)return r;const t=r[e];if("function"==typeof t)return t}}return null},ar={},ur=t=>t?.type,lr=t=>"string"==typeof ur(t),fr=(t,{visitFnGetter:e=cr,nodeTypeGetter:n=ur}={})=>{const r=new Array(t.length);return{enter(o,...i){for(let s=0;s<t.length;s+=1)if(null==r[s]){const c=e(t[s],n(o),!1);if("function"==typeof c){const e=c.call(t[s],o,...i);if(!1===e)r[s]=o;else if(e===ar)r[s]=ar;else if(void 0!==e)return e}}},leave(o,...i){for(let s=0;s<t.length;s+=1)if(null==r[s]){const c=e(t[s],n(o),!0);if("function"==typeof c){const e=c.call(t[s],o,...i);if(e===ar)r[s]=ar;else if(void 0!==e&&!1!==e)return e}}else r[s]===o&&(r[s]=null)}}},pr=(t,e,{keyMap:n=null,state:r={},breakSymbol:o=ar,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=cr,nodeTypeGetter:a=ur,nodePredicate:u=lr,detectCycles:l=!0}={})=>{const f=n||{};let p,d,y=Array.isArray(t),g=[t],h=-1,m=[];const v=[],b=[];let S=t;do{h+=1;const t=h===g.length;let n,O;const j=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),j){O=y?O.slice():Object.create(Object.getPrototypeOf(O),Object.getOwnPropertyDescriptors(O));let t=0;for(let e=0;e<m.length;e+=1){let n=m[e][0];const r=m[e][1];y&&(n-=t),y&&r===i?(O.splice(n,1),t+=1):O[n]=r}}h=p.index,g=p.keys,m=p.edits,y=p.inArray,p=p.prev}else{if(n=d?y?h:g[h]:void 0,O=d?d[n]:S,O===i||void 0===O)continue;d&&v.push(n)}if(b.includes(O))continue;let w;if(!Array.isArray(O)){if(!u(O))throw new Error(`Invalid AST Node: ${JSON.stringify(O)}`);if(l&&b.includes(O)){v.pop();continue}const i=c(e,a(O),t);if(i){for(const[t,n]of Object.entries(r))e[t]=n;if(w=i.call(e,O,n,d,v,b),w===o)break;if(w===s){if(!t){v.pop();continue}}else if(void 0!==w&&(m.push([n,w]),!t)){if(!u(w)){v.pop();continue}O=w}}}void 0===w&&j&&m.push([n,O]),t||(p={inArray:y,index:h,keys:g,edits:m,prev:p},y=Array.isArray(O),g=y?O:f[a(O)]||[],h=-1,m=[],d&&b.push(d),d=O)}while(void 0!==p);return 0!==m.length&&([,S]=m[m.length-1]),S};pr[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:n=null,state:r={},breakSymbol:o=ar,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=cr,nodeTypeGetter:a=ur,nodePredicate:u=lr,detectCycles:l=!0}={})=>{const f=n||{};let p,d,y=Array.isArray(t),g=[t],h=-1,m=[];const v=[],b=[];let S=t;do{h+=1;const t=h===g.length;let n,O;const j=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),j){O=y?O.slice():Object.create(Object.getPrototypeOf(O),Object.getOwnPropertyDescriptors(O));let t=0;for(let e=0;e<m.length;e+=1){let n=m[e][0];const r=m[e][1];y&&(n-=t),y&&r===i?(O.splice(n,1),t+=1):O[n]=r}}h=p.index,g=p.keys,m=p.edits,y=p.inArray,p=p.prev}else{if(n=d?y?h:g[h]:void 0,O=d?d[n]:S,O===i||void 0===O)continue;d&&v.push(n)}let w;if(!Array.isArray(O)){if(!u(O))throw new Error(`Invalid AST Node: ${JSON.stringify(O)}`);if(l&&b.includes(O)){v.pop();continue}const i=c(e,a(O),t);if(i){for(const[t,n]of Object.entries(r))e[t]=n;if(w=await i.call(e,O,n,d,v,b),w===o)break;if(w===s){if(!t){v.pop();continue}}else if(void 0!==w&&(m.push([n,w]),!t)){if(!u(w)){v.pop();continue}O=w}}}void 0===w&&j&&m.push([n,O]),t||(p={inArray:y,index:h,keys:g,edits:m,prev:p},y=Array.isArray(O),g=y?O:f[a(O)]||[],h=-1,m=[],d&&b.push(d),d=O)}while(void 0!==p);return 0!==m.length&&([,S]=m[m.length-1]),S}})(),r})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ast",
3
- "version": "0.70.0",
3
+ "version": "0.72.0",
4
4
  "description": "Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -42,7 +42,7 @@
42
42
  "homepage": "https://github.com/swagger-api/apidom#readme",
43
43
  "dependencies": {
44
44
  "@babel/runtime-corejs3": "^7.20.7",
45
- "@types/ramda": "~0.29.1",
45
+ "@types/ramda": "~0.29.3",
46
46
  "ramda": "~0.29.0",
47
47
  "ramda-adjunct": "^4.0.0",
48
48
  "stampit": "^4.3.2",
@@ -58,5 +58,5 @@
58
58
  "README.md",
59
59
  "CHANGELOG.md"
60
60
  ],
61
- "gitHead": "25950c495ea8dd2a3b822e28fb863bc66ae20c27"
61
+ "gitHead": "742be727f67e19c7e432e2f45b850d70de838c15"
62
62
  }